/* =========================================================
   WHOLESALECONNECT — PRODUCTS PAGE
   Dedicated page stylesheet. Does not modify homepage CSS.
   Flexbox only; no CSS Grid.
   ========================================================= */

:root {
  --products-navy: #142945;
  --products-teal: #09aa8d;
  --products-teal-dark: #078a76;
  --products-text: #253e5b;
  --products-muted: #74859a;
  --products-border: #e1e8ef;
  --products-soft: #f5f8fb;
  --products-yellow: #f7b500;
  --products-white: #ffffff;
}

.padding-y{
  padding: 80px 0;
}

.products-container {
  width: 100%;
  max-width: 1503px;
  margin: 0 auto;
  padding-left: 2.65%;
  padding-right: 2.65%;
}

.products-hero {
  width: 100%;
  min-height: 130px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid #e0e7ee;
  padding: 30px 0;
}

/* .products-hero .products-container {
  padding-top: 17px;
  padding-bottom: 14px;
} */

.products-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  font-size: 14px;
}

.products-breadcrumb a {
  color: #17304d;
  text-decoration: none;
  font-weight: 600;
}

.products-breadcrumb a:hover {
  color: var(--products-teal-dark);
}

.products-breadcrumb i {
  color: #a0acb9;
  font-size: 10px;
}

.products-breadcrumb span {
  color: #6e7f94;
}

.products-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.products-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.products-hero-copy h1 {
  margin: 0;
  color: #122a4a;
  font-size: 29px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.55px;
}

.products-hero-copy h1 span {
  color: var(--products-teal);
}

.products-hero-copy p {
  margin: 5px 0 0;
  color: #6e8095;
  font-size: 14px;
  line-height: 1.4;
}

.products-hero-stats {
  flex: 0 0 520px;
  min-height: 83px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(224, 232, 239, 0.75);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(32, 57, 80, 0.06);
  backdrop-filter: blur(4px);
}

.hero-stat {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-stat + .hero-stat {
  border-left: 1px solid #d8e1e9;
  padding-left: 20px;
}

.hero-stat > i {
  flex: 0 0 auto;
  color: var(--products-teal);
  font-size: 27px;
}

.hero-stat > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-stat strong {
  color: #17304d;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

.hero-stat span {
  color: #718298;
  font-size: 14px;
  line-height: 1.25;
}

/* =========================================================
   MAIN LISTING
   ========================================================= */

.products-listing-section {
  width: 100%;
  background: #ffffff;
}

.products-main-layout {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Sidebar */
.products-filter {
  flex: 0 0 285px;
  width: 285px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding: 11px 14px 10px;
  border: 1px solid var(--products-border);
  border-radius: 9px;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #d5dfe8 transparent;
}

.products-filter::-webkit-scrollbar {
  width: 4px;
}

.products-filter::-webkit-scrollbar-thumb {
  background: #d5dfe8;
  border-radius: 20px;
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 11px;
}

.filter-heading h2 {
  margin: 0;
  color: #18304e;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.filter-heading button,
.show-more-btn,
.clear-filter-inline {
  padding: 0;
  color: var(--products-teal);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.filter-group {
  padding: 10px 0 12px;
  border-top: 1px solid #edf1f5;
}

.filter-group-title {
  width: 100%;
  min-height: 22px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1b3553;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.filter-group-title i {
  font-size: 11px;
}

.filter-group-content {
  padding-top: 9px;
}

.filter-search {
  height: 28px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  border: 1px solid #d9e2ea;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
}

.filter-search i {
  margin-left: 7px;
  color: #8292a4;
  font-size: 12px;
}

.filter-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 7px;
  border: 0;
  outline: 0;
  color: #2d4560;
  font-size: 14px;
}

.filter-search input::placeholder {
  color: #8493a4;
}

.check-row {
  min-height: 22px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #334d6b;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.check-row input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--products-teal);
  flex: 0 0 auto;
}

.check-row span {
  min-width: 0;
}

.check-row em {
  color: #7d8ca0;
  font-style: normal;
  font-size: 14px;
  white-space: nowrap;
}

.show-more-btn {
  margin-top: 5px;
  font-size: 14px;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 5px;
}

.price-inputs input {
  width: 0;
  flex: 1 1 0;
  height: 29px;
  padding: 0 8px;
  border: 1px solid #d9e2ea;
  border-radius: 5px;
  outline: 0;
  font-size: 14px;
}

.price-inputs > span {
  color: #9aa7b5;
  font-size: 14px;
}

.price-range {
  position: relative;
  height: 23px;
  margin-top: 6px;
}

.price-line {
  position: absolute;
  top: 9px;
  left: 5px;
  right: 5px;
  height: 4px;
  border-radius: 20px;
  background: #d7e6e5;
}

.price-line span {
  position: absolute;
  top: 0;
  height: 4px;
  background: var(--products-teal);
}

.price-line span:first-child {
  left: 0;
  width: 100%;
}

.price-dots {
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
}

.price-dots i {
  width: 14px;
  height: 14px;
  display: block;
  background: var(--products-teal);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #b8dcd7;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  color: #7b8b9d;
  font-size: 14px;
}

/* Product content */
.products-content {
  flex: 1 1 auto;
  min-width: 0;
}

.products-toolbar {
  min-height: 40px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.products-result-info {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.products-result-info > strong {
  color: #304963;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.active-filters {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.active-filters button:not(.clear-filter-inline) {
  height: 28px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #28506f;
  background: #eef7ff;
  border: 1px solid #c5ddf1;
  border-radius: 15px;
  font-size: 14px;
  cursor: pointer;
}

.active-filters button i {
  color: #7690a7;
}

.products-sort {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.products-sort > span {
  color: #65778d;
  font-size: 14px;
}

.products-sort select {
  width: 136px;
  height: 30px;
  padding: 0 8px;
  color: #263f5c;
  background: #ffffff;
  border: 1px solid #d8e1e9;
  border-radius: 5px;
  outline: 0;
  font-size: 14px;
}

.view-toggle {
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #526981;
  background: #ffffff;
  border: 1px solid #d8e1e9;
  border-radius: 5px;
  cursor: pointer;
}

.view-toggle.active {
  color: #ffffff;
  background: var(--products-teal);
  border-color: var(--products-teal);
}

/* Product cards — Flexbox, no CSS Grid */
.products-grid {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 9px;
}

.listing-product-card {
  flex: 0 0 calc((100% - 27px) / 4);
  width: calc((100% - 27px) / 4);
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e0e7ee;
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.listing-product-card:hover {
  border-color: #cddae4;
  box-shadow: 0 8px 18px rgba(25, 50, 73, .07);
  transform: translateY(-1px);
}

.listing-image-wrap {
  position: relative;
  width: 100%;
  height: 133px;
  flex: 0 0 133px;
  overflow: hidden;
  background: #f4f7fa;
}

.listing-image-link {
  width: 100%;
  height: 100%;
  display: block;
}

.listing-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}

.listing-product-card:hover .listing-image-wrap img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  min-height: 21px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.product-badge.orange {
  background: #ff7900;
}

.product-badge.teal {
  background: var(--products-teal);
}

.product-badge.red {
  background: #ef3842;
}

.product-wishlist {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #55708e;
  background: rgba(255,255,255,.96);
  border: 1px solid #d7e1ea;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
}

.product-wishlist:hover,
.product-wishlist.liked {
  color: #e64a56;
}

.listing-product-body {
  min-width: 0;
  padding: 7px 8px 8px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.listing-product-name {
  overflow: hidden;
  color: #17304e;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-product-name:hover {
  color: var(--products-teal-dark);
}

.listing-product-subtitle {
  min-height: 18px;
  margin: 2px 0 6px;
  overflow: hidden;
  color: #718399;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.seller-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.seller-avatar {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #09a78d;
  background: #f2f7f7;
  border: 1px solid #d8e7e6;
  border-radius: 50%;
  font-size: 14px;
}

.seller-info {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.seller-info strong {
  overflow: hidden;
  color: #23405f;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-info span {
  color: #7c8da1;
  font-size: 14px;
  line-height: 1.2;
}

.seller-rating {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.seller-rating i {
  color: var(--products-yellow);
  font-size: 12px;
}

.seller-rating strong,
.seller-rating span {
  color: #5b718a;
  font-size: 14px;
}

.seller-rating strong {
  font-weight: 700;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 5px;
}

.product-price strong {
  color: #142d4c;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}

.product-price span {
  color: #77889a;
  font-size: 14px;
}

.minimum-order {
  margin: 2px 0 6px;
  color: #77889a;
  font-size: 14px;
  line-height: 1.2;
}

.product-actions {
  margin-top: auto;
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.view-details-btn,
.send-enquiry-btn {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.view-details-btn {
  flex: 0.9 1 0;
  color: var(--products-teal-dark);
  background: #ffffff;
  border: 1px solid #65cbbd;
}

.view-details-btn:hover {
  color: #ffffff;
  background: var(--products-teal);
}

.send-enquiry-btn {
  flex: 1.1 1 0;
  gap: 5px;
  color: #ffffff;
  background: var(--products-teal);
  border: 1px solid var(--products-teal);
}

.send-enquiry-btn:hover {
  color: #ffffff;
  background: var(--products-teal-dark);
}

/* Pagination */
.products-pagination {
  min-height: 49px;
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.products-pagination > strong {
  color: #526b85;
  font-size: 14px;
  font-weight: 600;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pagination-controls button {
  min-width: 29px;
  height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #34516d;
  background: #ffffff;
  border: 1px solid #dce5ed;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}

.pagination-controls button:hover:not(:disabled),
.pagination-controls .active {
  color: #ffffff;
  background: var(--products-teal);
  border-color: var(--products-teal);
}

.pagination-controls button:disabled {
  color: #a8b4c0;
  cursor: default;
}

.pagination-controls > span {
  padding: 0 3px;
  color: #8b99a9;
  font-size: 14px;
}

.pagination-prev,
.pagination-next {
  gap: 5px;
}

.per-page {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #64778c;
  font-size: 14px;
}

.per-page select {
  width: 123px;
  height: 30px;
  padding: 0 8px;
  color: #29435f;
  background: #ffffff;
  border: 1px solid #d8e1e9;
  border-radius: 5px;
  font-size: 14px;
}

/* Mobile controls */
.mobile-filter-toolbar,
.filter-mobile-header,
.filter-backdrop {
  display: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1250px) {
  .products-container {
    padding-left: 2%;
    padding-right: 2%;
  }

  .padding-y{
    padding: 40px 0;
  }

  .products-filter {
    flex-basis: 260px;
    width: 260px;
  }

  .products-hero-stats {
    flex-basis: 470px;
  }
}

@media (max-width: 1050px) {
  .products-hero-stats {
    flex-basis: 430px;
    gap: 13px;
    padding-left: 13px;
    padding-right: 13px;
  }

  .hero-stat + .hero-stat {
    padding-left: 12px;
  }

  .hero-stat > i {
    font-size: 23px;
  }

  .products-filter {
    flex-basis: 245px;
    width: 245px;
  }

  .products-toolbar {
    align-items: flex-start;
  }

  .products-result-info {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 902px) {
  .products-hero-row {
    align-items: flex-start;
  }

  .products-hero-stats {
    flex-basis: 400px;
  }

  .products-main-layout {
    gap: 12px;
  }

  .products-filter {
    flex-basis: 230px;
    width: 230px;
  }

  .listing-product-card {
    flex-basis: calc((100% - 18px) / 3);
    width: calc((100% - 18px) / 3);
  }

  .products-sort > span {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .products-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .products-hero {
    min-height: auto;
  }

  /* .products-hero .products-container {
    padding-top: 13px;
    padding-bottom: 14px;
  } */

  .products-breadcrumb {
    margin-bottom: 10px;
  }

  .products-hero-row {
    flex-direction: column;
    gap: 14px;
  }

  .products-hero-copy h1 {
    font-size: 25px;
  }

  .products-hero-stats {
    width: 100%;
    flex-basis: auto;
    min-height: 67px;
    padding: 8px 12px;
  }

  .hero-stat > i {
    font-size: 21px;
  }

  .hero-stat + .hero-stat {
    padding-left: 10px;
  }

  .products-main-layout {
    display: block;
    padding-top: 10px;
  }

  .mobile-filter-toolbar {
    width: 100%;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-filter-btn,
  .mobile-sort-btn {
    min-height: 39px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #25415e;
    background: #ffffff;
    border: 1px solid #dbe4ec;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
  }

  .mobile-filter-btn {
    flex: 1 1 0;
  }

  .mobile-sort-btn {
    flex: 1 1 0;
  }

  .mobile-filter-btn b {
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--products-teal);
    border-radius: 10px;
    font-size: 14px;
  }

  .products-filter {
    position: fixed;
    z-index: 1300;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(330px, 88vw);
    max-height: none;
    padding: 14px;
    border: 0;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform .3s ease;
    box-shadow: 10px 0 30px rgba(20,41,69,.12);
  }

  .products-filter.is-open {
    transform: translateX(0);
  }

  .filter-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 11px;
    margin-bottom: 3px;
    border-bottom: 1px solid #e8edf2;
  }

  .filter-mobile-header strong {
    color: #17304e;
    font-size: 17px;
  }

  .filter-mobile-header button {
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #536b83;
    background: #ffffff;
    border: 1px solid #dbe4ec;
    border-radius: 6px;
  }

  .products-filter .filter-heading {
    display: none;
  }

  .filter-backdrop {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: block;
    background: rgba(11, 30, 50, .42);
  }

  .products-content {
    width: 100%;
  }

  .products-toolbar {
    display: flex;
    align-items: center;
    margin-bottom: 9px;
  }

  .products-result-info {
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: row;
    align-items: center;
  }

  .active-filters {
    display: none;
  }

  .products-sort {
    display: none;
  }

  .listing-product-card {
    flex-basis: calc((100% - 9px) / 2);
    width: calc((100% - 9px) / 2);
  }

  .listing-image-wrap {
    height: 145px;
    flex-basis: 145px;
  }

  .products-pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  .products-pagination > strong {
    width: 100%;
    text-align: center;
  }

  .per-page {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .products-hero-copy h1 {
    font-size: 23px;
  }

  .products-hero-copy p {
    font-size: 14px;
  }

  .products-hero-stats {
    gap: 7px;
  }

  .hero-stat {
    gap: 6px;
  }

  .hero-stat > i {
    font-size: 19px;
  }

  .hero-stat strong,
  .hero-stat span {
    font-size: 14px;
  }

  .hero-stat + .hero-stat {
    padding-left: 7px;
  }

  .listing-image-wrap {
    height: 125px;
    flex-basis: 125px;
  }

  .listing-product-body {
    padding: 7px;
  }

  .seller-rating {
    display: none;
  }

  .product-price strong {
    font-size: 16px;
  }

  .product-actions {
    flex-direction: column;
  }

  .view-details-btn,
  .send-enquiry-btn {
    width: 100%;
    min-height: 32px;
    flex-basis: auto;
  }

  .pagination-controls {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .pagination-prev,
  .pagination-next {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .products-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .products-hero-stats {
    padding-left: 7px;
    padding-right: 7px;
  }

  .hero-stat > i {
    display: none;
  }

  .listing-product-card {
    flex-basis: 100%;
    width: 100%;
  }

  .listing-image-wrap {
    height: 180px;
    flex-basis: 180px;
  }

  .products-pagination .pagination-number:nth-of-type(n + 4) {
    display: none;
  }
}


/* =========================================================
   PAGINATION RESPONSIVE FIX — 874px
   Keep the pagination controls intact and prevent the
   bottom row from breaking when the available width narrows.
   ========================================================= */

@media (max-width: 874px) and (min-width: 768px) {
  .products-pagination {
    min-height: auto;
    padding: 8px 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 9px;
    column-gap: 12px;
  }

  .products-pagination > strong {
    flex: 1 1 100%;
    width: 100%;
    text-align: left;
  }

  .pagination-controls {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .pagination-controls button,
  .pagination-controls > span {
    flex: 0 0 auto;
  }

  .pagination-controls .pagination-number:nth-of-type(5) {
    display: none;
  }

  .per-page {
    flex: 0 0 auto;
    margin-left: auto;
  }
}

/* Slightly tighter tablet layout so 3 cards + pagination remain stable. */
@media (max-width: 820px) and (min-width: 768px) {
  .products-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .products-pagination {
    align-items: center;
  }

  .pagination-controls {
    gap: 4px;
  }

  .pagination-controls button {
    min-width: 28px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .per-page select {
    width: 112px;
  }
}


/* =========================================================
   PRODUCT CARD BREAKPOINT
   1024px and below = 3 cards per row
   ========================================================= */
@media (max-width: 1024px) and (min-width: 903px) {
  .listing-product-card {
    flex-basis: calc((100% - 18px) / 3);
    width: calc((100% - 18px) / 3);
  }
}
