/* ==========================================================================
   COMFY STOP — MASTER SHOP STYLESHEET
   ========================================================================== */

:root {
  --cs-bg: #F6F2EC;
  --cs-ink: #171717;
  --cs-accent: #8a6a3b;
  --cs-muted: #45413c;
  --cs-line: #ded9d1;
  --cs-soft: #f4f1ec;
  --cs-white: #ffffff;
}

/* --------------------------------------------------------------------------
   1. GLOBAL RESET & PAGE WRAPPER (FORCING WIDE LAYOUT)
   -------------------------------------------------------------------------- */
body.woocommerce-shop {
  background-color: var(--cs-bg) !important;
  color: var(--cs-ink) !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
}

/* HIDE THE DEFAULT "SHOP" TITLE COMPLETELY */
.woocommerce-products-header,
.woocommerce-products-header__title.page-title {
  display: none !important;
}

/* MAKE CONTAINERS STRETCH 100% EDGE-TO-EDGE */
body.woocommerce-shop #page,
body.woocommerce-shop .site,
body.woocommerce-shop .site-content,
body.woocommerce-shop .content-area,
body.woocommerce-shop main.site-main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* --------------------------------------------------------------------------
   2. HERO SPLIT BANNER (COMPACT HEIGHT & STRICT OVERRIDE)
   -------------------------------------------------------------------------- */
.cs-hero-split-banner {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  height: 280px !important; 
  min-height: 280px !important;
  max-height: 280px !important;
  margin: 0 0 25px 0 !important;
  background-color: #f5f5f5 !important;
  overflow: hidden !important;
}

.cs-hero-left {
  display: flex !important;
  flex: 1 1 50% !important;
  width: 50% !important;
  height: 100% !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important; 
  text-align: center !important;
  box-sizing: border-box !important;
  padding: 30px 50px !important; 
  background-color: #f5f5f5 !important;
}

.cs-hero-heading {
  margin: 0 0 6px 0 !important;
  color: var(--cs-ink) !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 32px !important; 
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
}

.cs-hero-subtext {
  margin: 0 !important;
  color: var(--cs-ink) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  max-width: 420px !important;
}

.cs-hero-right {
  flex: 1 1 50% !important;
  width: 50% !important;
  height: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}


.cs-hero-right img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* --------------------------------------------------------------------------
   3. SHOP LAYOUT (SIDEBAR + MAIN CONTENT)
   -------------------------------------------------------------------------- */
.cs-shop-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 36px !important;
  width: 100% !important;
  max-width: 100% !important; 
  margin: 0 !important;
  padding: 0 80px 80px 80px !important; 
  box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   4. SIDEBAR FILTERS
   -------------------------------------------------------------------------- */
.cs-shop-filters {
  flex: 0 0 240px !important;
  width: 240px !important;
  min-width: 240px !important;
  position: sticky !important;
  top: 40px !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.cs-filter-group {
  border-top: 1px solid var(--cs-line);
  margin-top: 26px;
  padding-top: 16px;
}

.cs-filter-group:first-of-type {
  margin-top: 0 !important;
  border-color: transparent !important; 
  padding-top: 0 !important;
}

.cs-filter-group h2 {
  margin: 0 0 16px;
  color: var(--cs-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Hierarchical Categories Styling */
.cs-filter-category-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  color: #171717 !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cs-filter-category-parent:hover,
.cs-filter-category-parent.is-active {
  color: #171717 !important;
  opacity: 0.7;
}

/* The Arrow Icon (Chevron) matching concept */
.cs-arrow-icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-right: 5px;
  transition: transform 0.2s ease;
}

.cs-filter-category-parent:hover .cs-arrow-icon {
  transform: rotate(45deg) translateX(3px);
}

/* Child Categories */
.cs-filter-children {
  display: flex;
  flex-direction: column;
  padding-left: 18px;
  margin-top: 4px;
  margin-bottom: 10px;
  border-left: 1px solid var(--cs-line);
}

.cs-filter-category-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  color: #171717 !important;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cs-filter-category-child:hover,
.cs-filter-category-child.is-active {
  color: #171717 !important;
  opacity: 0.7;
}

.cs-filter-category-child span:last-child {
  color: #171717 !important;
  font-size: 11px;
  opacity: 0.6;
}

/* Price Filter */
.cs-price-filter input[type="range"] {
  width: 100%;
  height: 38px;
  accent-color: #171717 !important;
  cursor: pointer;
}

.cs-price-filter > div {
  display: flex;
  justify-content: space-between;
  color: var(--cs-muted);
  font-size: 12.5px;
  font-weight: 400;
}

.cs-price-filter > div strong {
  color: var(--cs-ink);
  font-weight: 600;
}

.cs-price-filter button,
.cs-clear-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  margin-top: 18px;
  border: 1px solid var(--cs-line);
  border-radius: 0;
  background: transparent;
  color: var(--cs-ink);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cs-price-filter button:hover,
.cs-clear-filters:hover {
  border-color: #171717 !important;
  background: #171717 !important;
  color: var(--cs-white) !important;
}

/* Checkbox Filters */
.cs-check-filters a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  color: var(--cs-ink);
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
}

.cs-check-filters a span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #aaa298;
}

.cs-check-filters a.is-active span {
  border-color: #171717 !important;
  background: #171717 !important;
}

.cs-check-filters a.is-active span::after {
  content: "✓";
  color: var(--cs-white);
  font-size: 11px;
}

/* Bespoke Callout */
.cs-bespoke-callout {
  margin-top: 34px;
  background: var(--cs-soft);
  padding: 22px 20px;
}

.cs-bespoke-callout > strong {
  color: var(--cs-accent);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cs-bespoke-callout p {
  margin: 10px 0 16px;
  color: #38342f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

.cs-bespoke-callout a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid var(--cs-ink);
  color: var(--cs-ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. MAIN CONTENT AREA (ALIGNMENT & GAP BELOW DROPDOWN MATCH)
   -------------------------------------------------------------------------- */
.cs-shop-main {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
}

/* Top Control Bar Layout with Gap Below */
.cs-shop-main .woocommerce-ordering,
.cs-shop-main form.woocommerce-ordering {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 0 24px 0 !important; /* Creates exact gap above product grid */
  float: none !important;
}

.cs-shop-main .woocommerce-result-count {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  margin: 0 0 24px 0 !important; /* Aligns vertically with sorting margin */
  float: none !important;
  color: #171717 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* Styled Select Dropdown Box */
.cs-shop-main .woocommerce-ordering select,
.cs-shop-main form.woocommerce-ordering select.orderby {
  box-sizing: border-box !important;
  display: inline-block !important;
  height: 38px !important;
  min-height: 38px !important;
  border: 1px solid #ded9d1 !important;
  border-radius: 0 !important;
  background-color: #ffffff !important;
  color: #171717 !important;
  padding: 0 36px 0 14px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23171717' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 10px 6px !important;
  transition: border-color 0.2s ease !important;
}

.cs-shop-main .woocommerce-ordering select:hover,
.cs-shop-main .woocommerce-ordering select:focus {
  border-color: #171717 !important;
}

/* Remove unwanted pseudo divider line */
.cs-shop-main::after {
  display: none !important;
}

/* --------------------------------------------------------------------------
   6. PRODUCT GRID (EXACTLY 3 COLUMNS)
   -------------------------------------------------------------------------- */
.woocommerce-shop .cs-shop-main ul.products,
.cs-shop-main ul.products {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-shop .cs-shop-main ul.products::before,
.woocommerce-shop .cs-shop-main ul.products::after {
  display: none !important;
}

.woocommerce-shop .cs-shop-main ul.products li.product {
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-shop ul.products li.product .woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  text-decoration: none;
  color: var(--cs-ink);
}

.woocommerce-shop ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  background: var(--cs-soft);
  margin: 0 0 8px 0 !important;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.woocommerce-shop ul.products li.product .woocommerce-loop-product__link:hover img {
  transform: scale(1.03);
}

/* Sale Badge */
.woocommerce-shop ul.products li.product .onsale {
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: var(--cs-accent) !important;
  padding: 6px 10px !important;
  color: var(--cs-white) !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

/* Title & Price */
.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--cs-ink) !important;   
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

.woocommerce-shop ul.products li.product .price {
  margin: 4px 0 0 0 !important;
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.woocommerce-shop ul.products li.product .price del {
  color: #57514a !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

.woocommerce-shop ul.products li.product .price ins {
  color: var(--cs-accent) !important;
  text-decoration: none !important;
}

/* Add to Cart Button */
.woocommerce-shop ul.products li.product .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 40px !important;
  width: 100% !important;
  margin: 10px 0 0 0 !important;
  border: 1px solid var(--cs-ink) !important;
  border-radius: 6px !important;
  background: var(--cs-ink) !important;
  color: var(--cs-white) !important;
  padding: 12px !important;
  font-family: inherit !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.woocommerce-shop ul.products li.product .button:hover {
  background: #333333 !important;
  border-color: #333333 !important;
  color: var(--cs-white) !important;
}

/* --------------------------------------------------------------------------
   7. PAGINATION
   -------------------------------------------------------------------------- */
.woocommerce-shop .woocommerce-pagination {
  grid-column: 1 / -1 !important;
  margin-top: 50px !important;
  display: flex !important;
  justify-content: center !important;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers {
  display: flex !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: 0 !important;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers a,
.woocommerce-shop .woocommerce-pagination ul.page-numbers span {
  display: grid !important;
  place-items: center !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border: 1px solid #e6e1d9 !important;
  background: var(--cs-white) !important;
  color: var(--cs-ink) !important;
  font-size: 12px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers .current,
.woocommerce-shop .woocommerce-pagination ul.page-numbers a:hover {
  border-color: var(--cs-ink) !important;
  background: var(--cs-ink) !important;
  color: var(--cs-white) !important;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE SHOP LAYOUT
   -------------------------------------------------------------------------- */

/* Desktop: filter button is not needed */
.cs-filter-open,
.cs-filter-drawer-head,
.cs-filter-overlay {
  display: none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .cs-shop-layout {
    gap: 30px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .cs-shop-filters {
    flex: 0 0 200px !important;
    width: 200px !important;
    min-width: 200px !important;
  }

  .woocommerce-shop .cs-shop-main ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}


/* =========================================================
   MOBILE — 820px
   ========================================================= */

@media (max-width: 820px) {

  /* -------------------------------------------------------
     HIDE DESKTOP HERO
     ------------------------------------------------------- */

  .cs-hero-split-banner {
    display: none !important;
  }


  /* -------------------------------------------------------
     MAIN SHOP LAYOUT
     
     Desktop = row
     Mobile = vertical stack
     ------------------------------------------------------- */

  .cs-shop-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 16px 50px !important;
    box-sizing: border-box !important;
  }


  /* -------------------------------------------------------
     CATEGORIES TOGGLE
     ------------------------------------------------------- */

  .cs-filter-open {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 48px !important;

    margin: 0 0 0 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-bottom: 1px solid #ded9d1 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: #171717 !important;

    font-family: Poppins, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    cursor: pointer !important;
    box-shadow: none !important;
  }


  /* Hide original + character.
     JS already hides it, but this guarantees it. */

  .cs-filter-open span[aria-hidden="true"] {
    display: none !important;
  }


  /* CSS chevron */

  .cs-filter-open::after {
    content: "" !important;

    width: 8px !important;
    height: 8px !important;

    border-right: 1.5px solid #171717 !important;
    border-bottom: 1.5px solid #171717 !important;

    transform: rotate(45deg) !important;

    transition: transform 0.25s ease !important;

    flex: 0 0 auto !important;
  }

  .cs-filter-open[aria-expanded="true"]::after {
    transform: rotate(225deg) !important;
  }


  /* -------------------------------------------------------
     MOBILE CATEGORY AREA
     ------------------------------------------------------- */

  .cs-shop-filters {
    position: static !important;

    display: none !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 14px 0 20px !important;

    background: transparent !important;

    box-shadow: none !important;
    transform: none !important;

    box-sizing: border-box !important;
  }


  .cs-shop-filters.is-open {
    display: block !important;
  }


  /* Remove desktop drawer heading */

  .cs-filter-drawer-head {
    display: none !important;
  }


  /* -------------------------------------------------------
     CATEGORY SECTION
     ------------------------------------------------------- */

  .cs-filter-group.cs-filter-categories {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }


  .cs-filter-group.cs-filter-categories > h2 {
    display: none !important;
  }


  /* -------------------------------------------------------
     CATEGORY PARENT
     ------------------------------------------------------- */

  .cs-filter-category-parent {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    color: #171717 !important;

    font-family: Poppins, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;

    line-height: 1.4 !important;
    text-decoration: none !important;

    box-sizing: border-box !important;
  }


  .cs-filter-category-parent:hover,
  .cs-filter-category-parent.is-active {
    color: #171717 !important;
    opacity: 1 !important;
  }


  /* Parent arrow */

  .cs-arrow-icon {
    display: inline-block !important;

    width: 7px !important;
    height: 7px !important;

    margin: 0 5px 0 0 !important;

    border-top: 1.5px solid #171717 !important;
    border-right: 1.5px solid #171717 !important;

    transform: rotate(45deg) !important;

    flex: 0 0 auto !important;
  }


  /* -------------------------------------------------------
     CHILD CATEGORIES
     ------------------------------------------------------- */

  .cs-filter-children {
    display: flex !important;
    flex-direction: column !important;

    margin: 0 !important;
    padding: 0 0 6px 16px !important;

    border-left: 0 !important;
  }


  .cs-filter-category-child {
    display: block !important;

    width: 100% !important;
    min-height: 34px !important;

    margin: 0 !important;
    padding: 4px 0 !important;

    color: #171717 !important;

    font-family: Poppins, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;

    line-height: 1.4 !important;
    text-decoration: none !important;
  }


  .cs-filter-category-child:hover,
  .cs-filter-category-child.is-active {
    color: #171717 !important;
    opacity: .65 !important;
  }


  /* Hide product counts on mobile */

  .cs-filter-category-child span:last-child {
    display: none !important;
  }


  /* -------------------------------------------------------
     PRICE / EXTRA FILTERS
     
     Keep them functional, but visually secondary.
     ------------------------------------------------------- */

  .cs-price-filter,
  .cs-check-filters,
  .cs-clear-filters,
  .cs-bespoke-callout {
    display: none !important;
  }


  /* -------------------------------------------------------
     MAIN PRODUCT AREA
     ------------------------------------------------------- */

  .cs-shop-main {
    display: grid !important;

    grid-template-columns: auto 1fr !important;

    align-items: center !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* -------------------------------------------------------
     SORTING
     ------------------------------------------------------- */

  .cs-shop-main .woocommerce-ordering,
  .cs-shop-main form.woocommerce-ordering {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: auto !important;

    margin: 0 0 18px 0 !important;

    float: none !important;
  }


  .cs-shop-main .woocommerce-result-count {
    display: none !important;
  }


  .cs-shop-main .woocommerce-ordering select,
  .cs-shop-main form.woocommerce-ordering select.orderby {
    display: block !important;

    width: auto !important;
    min-width: 140px !important;

    height: 38px !important;
    min-height: 38px !important;

    padding: 0 34px 0 10px !important;

    border: 1px solid #ded9d1 !important;
    border-radius: 0 !important;

    background-color: #fff !important;

    color: #171717 !important;

    font-family: Poppins, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;

    box-shadow: none !important;
  }


  /* -------------------------------------------------------
     PRODUCT GRID
     ------------------------------------------------------- */

  .woocommerce-shop .cs-shop-main ul.products,
  .cs-shop-main ul.products {
    grid-column: 1 / -1 !important;

    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 24px 10px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  .woocommerce-shop .cs-shop-main ul.products li.product {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
  }


  /* -------------------------------------------------------
     PRODUCT IMAGE
     ------------------------------------------------------- */

  .woocommerce-shop ul.products li.product img {
    display: block !important;

    width: 100% !important;

    aspect-ratio: 1 / 1 !important;

    object-fit: cover !important;

    margin: 0 0 8px 0 !important;
  }


  /* -------------------------------------------------------
     PRODUCT TITLE
     ------------------------------------------------------- */

  .woocommerce-shop ul.products li.product
  .woocommerce-loop-product__title {
    margin: 0 !important;
    padding: 0 !important;

    color: #171717 !important;

    font-size: 12px !important;
    font-weight: 500 !important;

    line-height: 1.3 !important;

    word-break: normal !important;
    overflow-wrap: break-word !important;
  }


  /* -------------------------------------------------------
     PRODUCT PRICE
     ------------------------------------------------------- */

  .woocommerce-shop ul.products li.product .price {
    margin: 4px 0 0 0 !important;

    color: #171717 !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    line-height: 1.4 !important;

    white-space: nowrap !important;
  }


  /* -------------------------------------------------------
     HIDE ADD TO CART
     ------------------------------------------------------- */

  .woocommerce-shop ul.products li.product .button {
    display: none !important;
  }


  /* -------------------------------------------------------
     SALE BADGE
     ------------------------------------------------------- */

  .woocommerce-shop ul.products li.product .onsale {
    position: absolute !important;

    top: 8px !important;
    right: 8px !important;

    z-index: 10 !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;

    padding: 5px 7px !important;

    border-radius: 0 !important;

    background: #171717 !important;
    color: #fff !important;

    font-size: 8px !important;
    font-weight: 600 !important;

    line-height: 1 !important;
  }

}


/* =========================================================
   SMALL MOBILE — 560px
   ========================================================= */

@media (max-width: 560px) {

  body.woocommerce-shop main.site-main {
    padding: 0 !important;
  }

  .cs-shop-layout {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

}


/* =========================================================
   VERY SMALL MOBILE — 380px
   ========================================================= */

@media (max-width: 380px) {

  .cs-shop-layout {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .cs-filter-open {
    font-size: 14px !important;
  }

  .cs-filter-category-parent {
    font-size: 14px !important;
  }

  .cs-filter-category-child {
    font-size: 13px !important;
  }

  .woocommerce-shop .cs-shop-main ul.products {
    column-gap: 8px !important;
  }

}

/* ==========================================================================
   SINGLE PRODUCT PAGE STYLES (UNTOUCHED FROM YOUR ORIGINAL)
   ========================================================================== */

/* =========================================================
   19. SINGLE PRODUCT — PAGE
   ========================================================= */

body.single-product {
  background: #F6F2EC;
  color: var(--cs-ink);
  font-family: Poppins, Arial, sans-serif;
}

body.single-product main.site-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 40px) clamp(48px, 7vw, 88px);
  color: var(--cs-ink);
  font-family: Poppins, Arial, sans-serif;
}

/* =========================================================
   20. SINGLE PRODUCT — REMOVE PINK LINKS
   ========================================================= */

body.single-product main.site-main a {
  color: var(--cs-ink);
}

body.single-product main.site-main a:hover {
  color: var(--cs-accent);
}

/* =========================================================
   22. SINGLE PRODUCT — CATEGORY EYEBROW
   ========================================================= */

body.single-product .cs-single-category {
  display: inline-block;
  margin: 0 0 8px;
  color: #625a50;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.single-product .cs-single-category:hover {
  color: var(--cs-accent);
}

/* =========================================================
   23. SINGLE PRODUCT — TITLE
   ========================================================= */

body.single-product .product_title {
  margin: 0 0 12px;
  color: var(--cs-ink) !important;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.08;
}

/* =========================================================
   24. SINGLE PRODUCT — PRICE
   ========================================================= */

body.single-product .summary .price {
  margin: 0 0 20px;
  color: var(--cs-accent) !important;
  font-family: Poppins, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700 !important;
  line-height: 1.4;
}

body.single-product .summary .price bdi,
body.single-product .summary .price .amount {
  color: var(--cs-accent) !important;
  font-weight: 700 !important;
}

body.single-product .summary .price del {
  color: #57514a !important;
  font-size: 14px;
  font-weight: 500;
  opacity: 1;
}

body.single-product .summary .price ins {
  color: var(--cs-accent) !important;
  font-weight: 700 !important;
  text-decoration: none;
}

/* =========================================================
   25. SINGLE PRODUCT — DESCRIPTION
   ========================================================= */

body.single-product .woocommerce-product-details__short-description {
  color: #45413c;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.75;
}

body.single-product .woocommerce-product-details__short-description p {
  margin: 0 0 6px;
}

/* =========================================================
   26. SINGLE PRODUCT — QUANTITY SELECTOR WITH - AND +
   ========================================================= */

body.single-product .quantity input[type="number"]::-webkit-inner-spin-button,
body.single-product .quantity input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
body.single-product .quantity input[type="number"] {
  -moz-appearance: textfield !important;
}

body.single-product .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #ded9d1 !important;
  background: #ffffff !important;
  height: 48px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  vertical-align: middle !important;
}

body.single-product .quantity .qty {
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: auto !important;
  width: 44px !important;
  border: none !important;
  background: transparent !important;
  color: #000000 !important;
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 0 !important;
}

body.single-product .quantity .qty:focus {
  outline: none !important;
}

body.single-product .quantity .minus,
body.single-product .quantity .plus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: background 0.2s ease !important;
}

body.single-product .quantity .minus:hover,
body.single-product .quantity .plus:hover {
  background: #f4f1ec !important;
}

/* =========================================================
   27. SINGLE PRODUCT — ADD TO CART & VIEW CART IN SAME LINE
   ========================================================= */

body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 20px !important;
  clear: both !important;
}

body.single-product .woocommerce-variation-price,
body.single-product .single_variation {
  display: block !important;
  width: 100% !important;
  margin-bottom: 15px !important;
  clear: both !important;
}

body.single-product .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 28px !important;
  margin: 0 !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 0px !important;
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  white-space: nowrap !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease !important;
}

body.single-product .single_add_to_cart_button:hover,
body.single-product .single_add_to_cart_button:focus {
  background: #222222 !important;
  border-color: #222222 !important;
  color: #ffffff !important;
}

body.single-product .added_to_cart,
body.single-product .wc-forward {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border: 1px solid #000000 !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  transition: background .25s ease, color .25s ease !important;
}

body.single-product .added_to_cart:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

/* =========================================================
   28. SINGLE PRODUCT — SALE BADGE
   ========================================================= */

body.single-product .onsale {
  border-radius: 0;
  background: var(--cs-accent) !important;
  color: #fff !important;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* =========================================================
   29. SINGLE PRODUCT — STOCK
   ========================================================= */

body.single-product .stock {
  color: #108548 !important;
  font-size: 12px;
  font-weight: 600;
}

/* =========================================================
   30. SINGLE PRODUCT — PRODUCT META
   ========================================================= */

body.single-product .product_meta {
  border-top: 1px solid var(--cs-line);
  margin-top: 22px;
  padding-top: 16px;
  color: #625c54;
  font-size: 11px;
  line-height: 1.8;
}

body.single-product .product_meta .sku,
body.single-product .product_meta .posted_in,
body.single-product .product_meta .tagged_as {
  color: #45413c;
}

body.single-product .product_meta a {
  color: var(--cs-ink);
}

body.single-product .product_meta a:hover {
  color: var(--cs-accent);
}

/* =========================================================
   31. SINGLE PRODUCT — TABS
   ========================================================= */

body.single-product .woocommerce-tabs {
  margin-top: 50px;
}

body.single-product .woocommerce-tabs ul.tabs {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--cs-line);
}

body.single-product .woocommerce-tabs ul.tabs::before {
  border-bottom-color: var(--cs-line);
}

body.single-product .woocommerce-tabs ul.tabs li {
  border: 0;
  border-radius: 0;
  background: transparent;
  margin: 0 24px 0 0;
  padding: 0 0 12px;
}

body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  padding: 0;
  color: #625c54;
  font-family: Poppins, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--cs-ink);
}

body.single-product .woocommerce-Tabs-panel {
  color: #45413c;
  font-size: 13.5px;
  line-height: 1.75;
}

body.single-product .woocommerce-Tabs-panel h2 {
  color: var(--cs-ink);
  font-size: 18px;
  font-weight: 500;
}

/* =========================================================
   32. SINGLE PRODUCT — RELATED PRODUCTS
   ========================================================= */

body.single-product .related.products,
body.single-product .upsells.products {
  margin-top: 60px;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
  margin-bottom: 24px;
  color: var(--cs-ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -.02em;
}

/* =========================================================
   33. SINGLE PRODUCT — RELATED PRODUCT CARDS
   ========================================================= */

body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 34px) clamp(12px, 2vw, 26px);
}

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
body.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
  color: var(--cs-ink);
  font-size: 14px;
  font-weight: 500;
}

body.single-product .related.products ul.products li.product .price,
body.single-product .upsells.products ul.products li.product .price {
  color: var(--cs-accent) !important;
  font-weight: 700 !important;
}

/* =========================================================
   34. SINGLE PRODUCT — COLOR SWATCHES
   ========================================================= */

body.single-product .cs-color-selection {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  text-align: left;
}

body.single-product .cs-color-swatches {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 13px;
  width: 100%;
  margin: 0;
}

body.single-product .cs-color-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}

body.single-product .cs-color-swatch {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: var(--cs-swatch-color) !important;
  box-shadow: 0 0 0 1px #d6d0c7;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

body.single-product .cs-color-swatch:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px #bdb5aa, 0 4px 10px rgba(23, 23, 23, .10);
}

body.single-product .cs-color-swatch:focus-visible {
  outline: 2px solid var(--cs-accent);
  outline-offset: 4px;
}

body.single-product .cs-color-swatch.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--cs-accent);
}

body.single-product .cs-color-swatch::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 45%);
  pointer-events: none;
}

body.single-product .cs-color-swatch:disabled {
  opacity: .28;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 0 0 1px #d6d0c7;
}

body.single-product .cs-selected-color {
  display: block;
  margin-top: 11px;
  min-height: 18px;
  color: #625c54;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
  text-align: left;
  text-transform: uppercase;
}

body.single-product .variations td.value {
  width: 100%;
  min-width: 0;
  text-align: left;
}

body.single-product .variations tr:has(select[name="attribute_footstool"]) .label,
body.single-product .variations tr:has(select[name="attribute_fabric"]) .label,
body.single-product .variations tr:has(select[name="attribute_color"]) .label {
  display: none !important;
}

body.single-product .cs-color-swatch-other {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 76px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid #bdb5aa !important;
  border-radius: 20px !important;
  background: #f4f1ec !important;
  color: #171717 !important;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

body.single-product .cs-color-swatch-other:hover {
  transform: translateY(-1px);
  border-color: #8a8176 !important;
  color: #171717 !important;
  box-shadow: 0 3px 9px rgba(23, 23, 23, .12);
}

body.single-product .cs-color-swatch-other:focus-visible {
  outline: 2px solid var(--cs-accent);
  outline-offset: 3px;
}

body.single-product .cs-color-swatch-other::after {
  display: none;
}

body.single-product .cs-color-whatsapp-note {
  display: block;
  width: 100%;
  margin-top: 15px;
  padding: 11px 14px;
  border: 1px solid #e2ddd5;
  border-radius: 6px;
  background: #faf8f5;
  color: #514c46;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
}

body.single-product .cs-color-whatsapp-note a {
  color: #171717 !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

body.single-product .cs-color-whatsapp-note a:hover {
  opacity: .7;
}

@media (max-width: 600px) {
  body.single-product .cs-color-selection { margin-bottom: 8px; }
  body.single-product .cs-color-swatches { gap: 11px; }
  body.single-product .cs-color-swatch { width: 35px; height: 35px; flex-basis: 35px; }
  body.single-product .cs-color-swatch-other { min-width: 72px; height: 35px; padding: 0 13px; font-size: 11px !important; letter-spacing: .07em; }
  body.single-product .cs-selected-color { margin-top: 10px; font-size: 11px; line-height: 1.5; }
  body.single-product .cs-color-whatsapp-note { margin-top: 14px; padding: 10px 12px; font-size: 12px; line-height: 1.6; }
  body.single-product .cs-color-whatsapp-note a { white-space: normal; }
}

@media (max-width: 380px) {
  body.single-product .cs-color-swatches { gap: 9px; }
  body.single-product .cs-color-swatch { width: 33px; height: 33px; flex-basis: 33px; }
  body.single-product .cs-color-swatch-other { min-width: 68px; height: 33px; padding: 0 11px; font-size: 10px !important; }
  body.single-product .cs-color-whatsapp-note { padding: 10px; font-size: 11.5px; }
}

/* =========================================================
   FOOTSTOOL SELECTOR
   ========================================================= */

body.single-product .cs-footstool-selection {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  text-align: left;
}

body.single-product .cs-footstool-label,
body.single-product .cs-color-label {
  display: block;
  margin: 0 0 6px;
  color: #171717;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.single-product .cs-footstool-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

body.single-product .cs-footstool-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #d0cbc3 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #34312e !important;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.single-product .cs-footstool-option:hover {
  border-color: #8a8176 !important;
  background: #f7f4ef !important;
}

body.single-product .cs-footstool-option.is-active {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
  box-shadow: 0 2px 7px rgba(23, 23, 23, .12);
}

body.single-product .cs-footstool-option:disabled {
  opacity: .35;
  cursor: not-allowed;
}

body.single-product .cs-footstool-option:focus-visible {
  outline: 2px solid var(--cs-accent);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  body.single-product .cs-footstool-selection { margin-bottom: 16px; }
  body.single-product .cs-footstool-label,
  body.single-product .cs-color-label { margin-bottom: 9px; font-size: 12px; }
  body.single-product .cs-footstool-options { gap: 8px; }
  body.single-product .cs-footstool-option { min-width: 0; min-height: 40px; padding: 8px 13px; font-size: 11px !important; }
}

@media (max-width: 380px) {
  body.single-product .cs-footstool-options { gap: 7px; }
  body.single-product .cs-footstool-option { flex: 1 1 auto; min-width: 0; padding: 8px 9px; font-size: 10px !important; }
}

/* =========================================================
   FABRIC SELECTOR
   ========================================================= */

body.single-product .cs-fabric-selection {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  text-align: left;
}

body.single-product .cs-fabric-label {
  display: block;
  margin: 0 0 6px;
  color: #171717;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.single-product .cs-fabric-custom-select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 42px 10px 14px;
  border: 1px solid #d0cbc3 !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  color: #34312e !important;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.4;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: auto;
}

body.single-product .cs-fabric-custom-select:hover {
  border-color: #aaa39a !important;
}

body.single-product .cs-fabric-custom-select:focus {
  outline: none;
  border-color: #171717 !important;
  box-shadow: 0 0 0 1px #171717;
}

body.single-product .cs-fabric-custom-select:disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  body.single-product .cs-fabric-selection { margin-bottom: 16px; }
  body.single-product .cs-fabric-custom-select { min-height: 42px; font-size: 13px !important; }
}

/* =========================================================
   34. RESPONSIVE — CATEGORY
   ========================================================= */

@media (max-width: 1024px) {
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   35. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 560px) {
 body.single-product main.site-main {
    padding-top: 18px;
  }

  body.single-product .product_title {
    font-size: 30px;
  }

  body.single-product .single_add_to_cart_button {
    min-height: 46px;
    width: 100%;
  }

  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
}



/* =========================================================
   38. SINGLE PRODUCT — GALLERY NAVIGATION
   ========================================================= */

body.single-product .cs-product-navigation {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--cs-line);
}

body.single-product .cs-product-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 48%;
  padding: 12px 0;
  color: var(--cs-ink) !important;
  text-decoration: none !important;
}

body.single-product .cs-product-nav--next {
  margin-left: auto;
  text-align: right;
}

body.single-product .cs-product-nav__arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cs-ink);
  background: #fff;
  color: var(--cs-ink);
  font-size: 17px;
  line-height: 1;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

body.single-product .cs-product-nav:hover .cs-product-nav__arrow {
  border-color: var(--cs-accent);
  background: var(--cs-accent);
  color: #fff;
}

body.single-product .cs-product-nav__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

body.single-product .cs-product-nav__label {
  color: #625c54;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.single-product .cs-product-nav__title {
  display: block;
  overflow: hidden;
  max-width: 220px;
  color: var(--cs-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.single-product .cs-product-nav:hover .cs-product-nav__title {
  color: var(--cs-accent);
}

/* =========================================================
   39. SINGLE PRODUCT — ADD TO CART AREA (OVERRIDE RESET)
   ========================================================= */

body.single-product form.cart.variations_form {
  display: block !important;
  width: 100% !important;
}

body.single-product form.cart .quantity {
  margin: 0 !important;
}

body.single-product form.cart .quantity .qty {
  min-height: 48px;
}

body.single-product form.cart .single_add_to_cart_button {
  margin: 0 !important;
}

/* =========================================================
   41. RELATED + UPSELL PRODUCTS — COMPLETE CARD STYLE
   ========================================================= */

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
  display: flex;
  flex-direction: column;
  color: var(--cs-ink);
}

body.single-product .related.products ul.products li.product
.woocommerce-loop-product__link,
body.single-product .upsells.products ul.products li.product
.woocommerce-loop-product__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  color: var(--cs-ink) !important;
}

body.single-product .related.products ul.products li.product
.woocommerce-loop-product__link:hover,
body.single-product .upsells.products ul.products li.product
.woocommerce-loop-product__link:hover {
  color: var(--cs-ink) !important;
}

body.single-product .related.products ul.products li.product img,
body.single-product .upsells.products ul.products li.product img {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 0 12px;
  background: var(--cs-soft);
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

body.single-product .related.products ul.products li.product
.woocommerce-loop-product__link:hover img,
body.single-product .upsells.products ul.products li.product
.woocommerce-loop-product__link:hover img {
  transform: scale(1.025);
}

body.single-product .related.products ul.products li.product
.woocommerce-loop-product__title,
body.single-product .upsells.products ul.products li.product
.woocommerce-loop-product__title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--cs-ink) !important;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

body.single-product .related.products ul.products li.product .price,
body.single-product .upsells.products ul.products li.product .price {
  margin: 8px 0 0 !important;
  color: var(--cs-accent) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.45;
}

body.single-product .related.products ul.products li.product .price bdi,
body.single-product .related.products ul.products li.product .price .amount,
body.single-product .upsells.products ul.products li.product .price bdi,
body.single-product .upsells.products ul.products li.product .price .amount {
  color: var(--cs-accent) !important;
  font-weight: 700 !important;
}

body.single-product .related.products ul.products li.product .price del,
body.single-product .upsells.products ul.products li.product .price del {
  color: #57514a !important;
  font-size: 12px;
  font-weight: 500;
  opacity: 1;
}

body.single-product .related.products ul.products li.product .price ins,
body.single-product .upsells.products ul.products li.product .price ins {
  color: var(--cs-accent) !important;
  font-weight: 700 !important;
  text-decoration: none;
}

/* =========================================================
   42. RELATED + UPSELL — ADD TO CART BUTTON
   ========================================================= */

body.single-product .related.products ul.products li.product .button,
body.single-product .upsells.products ul.products li.product .button,
body.single-product .related.products ul.products li.product a.button,
body.single-product .upsells.products ul.products li.product a.button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  min-height: 46px;
  width: 100%;
  margin: 14px 0 0 !important;
  border: 1px solid var(--cs-ink) !important;
  border-radius: 6px !important;
  background: var(--cs-ink) !important;
  color: var(--cs-white) !important;
  padding: 10px 12px;
  font-family: Poppins, Arial, sans-serif;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .16em;
  line-height: 1 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

body.single-product .related.products ul.products li.product .button:hover,
body.single-product .related.products ul.products li.product .button:focus,
body.single-product .related.products ul.products li.product a.button:hover,
body.single-product .related.products ul.products li.product a.button:focus,
body.single-product .upsells.products ul.products li.product .button:hover,
body.single-product .upsells.products ul.products li.product .button:focus,
body.single-product .upsells.products ul.products li.product a.button:hover,
body.single-product .upsells.products ul.products li.product a.button:focus {
  border-color: #333333 !important;
  background: #333333 !important;
  color: #fff !important;
}

/* =========================================================
   43. RELATED / UPSELL — SALE BADGE
   ========================================================= */

body.single-product .related.products ul.products li.product .onsale,
body.single-product .upsells.products ul.products li.product .onsale {
  top: 10px;
  right: 10px;
  left: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--cs-accent) !important;
  color: #fff !important;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
}

/* =========================================================
   44. MOBILE — SINGLE PRODUCT
   ========================================================= */

@media (max-width: 560px) {
  body.single-product .woocommerce-variation-add-to-cart,
  body.single-product form.cart:not(.variations_form) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.single-product .quantity {
    flex: 0 0 auto !important;
  }

  body.single-product .single_add_to_cart_button {
    flex: 1 1 auto !important;
    padding: 0 16px !important;
    font-size: 12px !important;
  }

  body.single-product .added_to_cart {
    width: 100% !important;
    text-align: center !important;
  }
}

/* =========================================================
   45. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  body.single-product .cs-product-nav__arrow,
  body.single-product .cs-buy-now-button,
  body.single-product .related.products ul.products li.product img,
  body.single-product .upsells.products ul.products li.product img {
    transition: none;
  }
}

/* =========================================================
   46. SINGLE PRODUCT — FLEXSLIDER GALLERY ARROWS
   ========================================================= */

body.single-product .woocommerce-product-gallery {
  position: relative !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  pointer-events: none !important;
  z-index: 20 !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav li {
  position: absolute !important;
  top: 50% !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
  pointer-events: auto !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-nav-prev {
  left: 10px !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-nav-next {
  right: 10px !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--cs-accent) !important;
  opacity: 1 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  transition: color .25s ease, transform .25s ease, opacity .25s ease;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav a::before {
  display: none !important;
  content: none !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav a {
  font-size: 0 !important;
  line-height: 0 !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev::after {
  content: "" !important;
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  border-left: 2px solid #000000;
  border-bottom: 2px solid #000000;
  transform: rotate(45deg) !important;
  transition: border-color .25s ease, transform .25s ease;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next::after {
  content: "" !important;
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  border-top: 2px solid #000000;
  border-right: 2px solid #000000;
  transform: rotate(45deg) !important;
  transition: border-color .25s ease, transform .25s ease;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev:hover {
  background: transparent !important;
  color: #000000;
  transform: translateX(-3px) !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next:hover {
  background: transparent !important;
  color: #000000 !important;
  transform: translateX(3px) !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev:hover::after {
  border-color: #000000 !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next:hover::after {
  border-color: #000000 !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-disabled {
  opacity: .30 !important;
  cursor: default !important;
  pointer-events: none !important;
}

@media (max-width: 560px) {
  body.single-product .woocommerce-product-gallery .flex-direction-nav li {
    width: 46px !important;
    height: 46px !important;
  }
  body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-nav-prev {
    left: 4px !important;
  }
  body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-nav-next {
    right: 4px !important;
  }
  body.single-product .woocommerce-product-gallery .flex-direction-nav a {
    width: 46px !important;
    height: 46px !important;
  }
  body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev::after,
  body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next::after {
    width: 13px !important;
    height: 13px !important;
  }
}

/* =========================================================
   48. SINGLE PRODUCT — ADD TO CART + BUY NOW TYPOGRAPHY
   ========================================================= */

body.single-product .single_add_to_cart_button,
body.single-product a.cs-buy-now-button {
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

/* =========================================================
   49. SINGLE PRODUCT — GALLERY THUMBNAIL SLIDER
   ========================================================= */

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  list-style: none !important;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 0 0 86px !important;
  width: 86px !important;
  min-width: 86px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
  display: block !important;
  width: 86px !important;
  height: 86px !important;
  object-fit: cover !important;
  margin: 0 !important;
  border: 1px solid transparent;
  opacity: .65;
  cursor: pointer;
  transition: opacity .25s ease, border-color .25s ease;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
  border-color: #000000 !important;
  opacity: 1 !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
  border-color: #000000 !important;
  opacity: 1 !important;
}

@media (max-width: 560px) {
  body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    gap: 8px !important;
    margin-top: 10px !important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 68px !important;
    width: 68px !important;
    min-width: 68px !important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 68px !important;
    height: 68px !important;
  }
}

/* =========================================================
   51. SINGLE PRODUCT — RELATED PRODUCTS GRID
   ========================================================= */

body.single-product section.related.products {
  width: 100% !important;
  clear: both !important;
}

body.single-product section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 32px 24px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product section.related.products ul.products::before,
body.single-product section.related.products ul.products::after {
  display: none !important;
  content: none !important;
}

body.single-product section.related.products ul.products li.product,
body.single-product section.related.products ul.products li.product.first,
body.single-product section.related.products ul.products li.product.last {
  float: none !important;
  clear: none !important;
  position: relative !important;

  display: flex !important;
  flex-direction: column !important;

  height: 100% !important;
  min-height: 100% !important;

  visibility: visible !important;
  opacity: 1 !important;

  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}


body.single-product section.related.products ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;

  width: 100% !important;
  height: 100% !important;

  margin: 0 !important;
  padding: 0 !important;
}

body.single-product section.related.products ul.products li.product img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 16px !important;
}

body.single-product section.related.products ul.products li.product .woocommerce-loop-product__title {
  margin: 0 !important;
}

body.single-product section.related.products ul.products li.product .price {
  margin-top: 8px !important;
}

body.single-product section.related.products ul.products li.product > .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 46px !important;

  margin-top: auto !important;
}

@media (max-width: 900px) {
  body.single-product section.related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 18px !important;
  }
}

@media (max-width: 560px) {
  body.single-product section.related.products ul.products {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* =========================================================
   REMOVE BACKGROUND FROM VARIATIONS SECTION & FORM
   ========================================================= */

body.single-product table.variations,
body.single-product table.variations tbody,
body.single-product table.variations tr,
body.single-product table.variations td,
body.single-product table.variations th,
body.single-product .cs-color-selection,
body.single-product .cs-footstool-selection,
body.single-product .cs-fabric-selection {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body.single-product table.variations tr:hover,
body.single-product table.variations tr:hover td,
body.single-product table.variations tr:hover th,
body.single-product table.variations td:hover {
  background: transparent !important;
  background-color: transparent !important;
}

