/* Suppress product-card colour dots, not actual product attributes or shop filters. */
.card__body > .swatches,
.card__body .swatches,
ul.products .card .swatches,
.woocommerce ul.products .swatches { display: none !important; }

/* Exactly one wishlist heart in the desktop header; mobile wishlist in bottom menu. */
.site-header__actions .cs-wishlist-header-link { display: inline-flex; align-items: center; justify-content: center; position: relative; text-decoration: none; width: 44px; height: 44px; flex: 0 0 44px; color: inherit; }
.cs-wishlist-header-link .cs-wishlist-heart { width: 24px; height: 24px; display: block; fill: none; stroke: currentColor; }
.cs-wishlist-header-link:hover .cs-wishlist-heart,
.cs-wishlist-header-link:focus-visible .cs-wishlist-heart { stroke: currentColor; }
.cs-wishlist-header-link.has-saved .cs-wishlist-heart { fill: currentColor; stroke: currentColor; }
.cs-wishlist-header-link .cs-wishlist-count { position: absolute; right: -2px; top: 1px; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 18px; font: 600 10px/17px system-ui, sans-serif; text-align: center; background: #7a4354; color: #fff; box-sizing: border-box; }
.cs-wishlist-header-link .cs-wishlist-count[hidden] { display: none; }
/* The same heart buttons already emitted by the Cotton Sutra theme get a clear saved state. */
[data-wishlist-toggle][aria-pressed="true"] .cs-icon--heart,
[data-wishlist-toggle][aria-pressed="true"] svg.cs-icon--heart { fill: #7a4354 !important; stroke: #7a4354 !important; }
[data-wishlist-toggle] { cursor: pointer; }

.cs-wishlist-app { max-width: 1160px; padding: 44px 22px 75px; margin: 0 auto; color: #29242b; }
.cs-wishlist-page-heading { text-align: center; margin-bottom: 32px; }
.cs-wishlist-eyebrow { color:#947c69; font-size:12px; letter-spacing:.20em; text-transform:uppercase; margin-bottom:10px; }
.cs-wishlist-page-heading h1 { font-family: Georgia,serif; font-size:clamp(32px,4vw,48px); font-weight:400; margin:0 0 12px; }
.cs-wishlist-page-heading > p:last-child { color:#777075; font-size:15px; margin-top:0; }
.cs-wishlist-loading { text-align:center; padding:30px; color:#756c70; }
.cs-wishlist-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.cs-wishlist-grid[hidden], .cs-wishlist-empty[hidden] { display:none !important; }
.cs-wishlist-card { min-width:0; position:relative; }
.cs-wishlist-product-image { display:block; overflow:hidden; border-radius:15px; aspect-ratio: 3 / 4; background:#f6f3f3; }
.cs-wishlist-product-image img { display:block; width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.cs-wishlist-product-image:hover img { transform:scale(1.035); }
.cs-wishlist-remove { position:absolute; right:12px; top:12px; z-index:2; display:flex; align-items:center; justify-content:center; border:0; background:#fff; box-shadow:0 1px 8px #0000001a; border-radius:50%; width:40px; height:40px; color:#7a4354; cursor:pointer; }
.cs-wishlist-remove svg { fill:#7a4354; stroke:#7a4354; }
.cs-wishlist-card h3 { font-family:Georgia,serif; font-size:19px; line-height:1.3; font-weight:400; text-align:center; margin:14px 0 8px; }
.cs-wishlist-card h3 a { color:inherit; text-decoration:none; }
.cs-wishlist-price { text-align:center; font-size:16px; margin:0 0 13px; }
.cs-wishlist-view { text-align:center; display:block; text-decoration:none; border:1px solid #8c6d7b; border-radius:28px; padding:10px 16px; color:#644051; font-size:13px; letter-spacing:.07em; text-transform:uppercase; }
.cs-wishlist-view:hover { background:#644051; color:white; }
.cs-wishlist-empty { max-width:430px; padding:42px 12px 30px; margin:0 auto; text-align:center; }
.cs-wishlist-empty svg { margin:auto; stroke:#8c6d7b; }
.cs-wishlist-empty h2 { font-size:25px; font-family:Georgia,serif; font-weight:400; margin:18px 0 9px; }
.cs-wishlist-empty p { color:#6d676c; }
.cs-wishlist-shop { display:inline-block; margin-top:14px; padding:13px 23px; background:#433039; border-radius:30px; color:white!important; text-decoration:none; font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
.cs-wishlist-browser-note { text-align:center; color:#837a7f; font-size:12px; margin-top:33px; }
@media (max-width: 900px) { .cs-wishlist-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; } }
@media (max-width: 600px) { .cs-wishlist-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; } .cs-wishlist-card h3 { font-size:15px; } .cs-wishlist-app { padding:27px 14px 60px; } .cs-wishlist-view { padding:9px 5px; font-size:11px; } }

/* Avoid the theme's duplicate breadcrumb title on the dedicated wishlist page. */
body.page-id-829 .page-head { display: none !important; }

/* The site theme gives header icons layout-specific visibility; guarantee the
   wishlist heart is visible at desktop and mobile breakpoints. */
.site-header__actions > a.cs-wishlist-header-link {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  position: relative !important;
  z-index: 5 !important;
  color: #f7f4f5 !important; /* match neighbouring search/account/cart icons */
}
.site-header__actions > a.cs-wishlist-header-link svg { display: block !important; width: 24px !important; height: 24px !important; }

/* The theme had its own duplicate desktop and mobile-header wishlist icons. */
.site-header__start > .site-header__wish-sm,
.site-header__actions > a.hide-sm[href*="/wishlist/"] { display:none !important; }
/* Keep the native desktop search and single desktop wishlist heart. */
.cs-wishlist-bottom-link .cs-wishlist-heart { width:24px; height:24px; display:block; fill:none; stroke:currentColor; }
.cs-wishlist-bottom-link.has-saved .cs-wishlist-heart { fill:#7a4354; stroke:#7a4354; }
@media (max-width: 767px) {
  /* No wishlist or search icons added to the upper mobile header. */
  .site-header__start .site-header__wish-sm,
  .site-header__actions > .cs-wishlist-header-link,
  .site-header__actions > a[href*="/wishlist/"],
  .site-header__actions > button.site-header__search-btn { display:none !important; }
  /* Match the other original five bottom navigation items. */
  .mobile-bottom-nav > .cs-wishlist-bottom-link { display:flex; flex-direction:column; align-items:center; justify-content:center; color:inherit; text-decoration:none; }
}


/* 1.0.9: Slightly larger desktop menu typography; preserves 1.0.8 single-row layout.
   1.0.8: Compact, single-row DESKTOP header. The original theme permits menu
   wrapping and gives the search/column gaps more room than six links allow.
   Mobile/tablet bottom navigation (<1024px) remains exactly as before. */
@media (min-width: 1024px) {
  .site-header:not(.site-header--minimal) .site-header__inner {
    align-items: center;
    column-gap: clamp(10px, 1.05vw, 18px);
  }
  .site-header:not(.site-header--minimal) .site-header__brand { min-width: 0; }
  .site-header:not(.site-header--minimal) .site-logo.site-logo--dark img {
    height: clamp(56px, 5.3vw, 72px);
    width: auto;
  }
  .site-header:not(.site-header--minimal) .primary-nav {
    min-width: 0;
    width: 100%;
  }
  .site-header:not(.site-header--minimal) .primary-nav__list {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    column-gap: clamp(8px, .95vw, 18px);
    row-gap: 0;
  }
  .site-header:not(.site-header--minimal) .primary-nav__list > li { flex: 0 0 auto; }
  .site-header:not(.site-header--minimal) .primary-nav__list > li > a {
    white-space: nowrap;
    font-size: clamp(12.5px, 1vw, 13.5px);
    letter-spacing: .085em;
  }
  .site-header:not(.site-header--minimal) .site-header__actions {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    column-gap: 0;
  }
}
@media (min-width: 1280px) {
  .site-header:not(.site-header--minimal) .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) minmax(130px, 162px) auto;
    grid-template-areas: "brand nav search actions";
  }
  .site-header:not(.site-header--minimal) .header-search {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 162px;
  }
  .site-header:not(.site-header--minimal) .header-search input[type="search"] {
    width: 100%;
    min-width: 0;
    padding-left: 0;
    font-size: 12px;
    letter-spacing: .02em;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header:not(.site-header--minimal) .site-header__inner {
    grid-template-columns: auto minmax(0,1fr) auto;
    grid-template-areas: "brand nav actions";
    column-gap: 12px;
  }
  .site-header:not(.site-header--minimal) .header-search { display: none; }
  .site-header:not(.site-header--minimal) .site-header__search-btn { display: inline-grid; }
  .site-header:not(.site-header--minimal) .primary-nav__list { column-gap: clamp(5px, .68vw, 10px); }
  .site-header:not(.site-header--minimal) .primary-nav__list > li > a {
    font-size: clamp(11.2px, 1vw, 12px);
    letter-spacing: .04em;
  }
}


/* 1.0.10: Desktop search as an icon-only action. The native #search-panel
   drawer opens on click; the earlier header input is hidden on desktop.
   Larger typography makes use of the reclaimed header space. */
@media (min-width: 1024px) {
  .site-header:not(.site-header--minimal) .site-header__inner {
    grid-template-columns: auto minmax(0,1fr) auto !important;
    grid-template-areas: "brand nav actions" !important;
    column-gap: clamp(12px, 1.2vw, 22px) !important;
    align-items: center;
  }
  .site-header:not(.site-header--minimal) > .site-header__inner > .header-search,
  .site-header:not(.site-header--minimal) .site-header__inner > .header-search {
    display: none !important;
  }
  .site-header:not(.site-header--minimal) .site-header__actions > button.site-header__search-btn {
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .site-header:not(.site-header--minimal) .primary-nav__list {
    flex-wrap: nowrap !important;
    column-gap: clamp(7px, .9vw, 18px);
  }
  .site-header:not(.site-header--minimal) .primary-nav__list > li > a {
    font-size: clamp(13px, 1.04vw, 16px);
    letter-spacing: .085em;
    white-space: nowrap;
  }
}
@media (min-width: 1280px) {
  .site-header:not(.site-header--minimal) .primary-nav__list > li > a {
    font-size: clamp(14px, 1.14vw, 16px);
    letter-spacing: .09em;
  }
}
@media (min-width: 1600px) {
  .site-header:not(.site-header--minimal) .primary-nav__list > li > a { font-size: 16px; }
}

/* Homepage mobile: three equal category quick buttons. Preserve the desktop
   navigation and the circular category shortcuts beneath them. */
@media (max-width: 767px) {
  .quick-nav > .pills {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 7px;
    row-gap: 0;
    overflow: visible;
    width: 100%;
  }
  .quick-nav > .pills > li { width: 100%; min-width: 0; }
  .quick-nav > .pills > li > a.pill {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0 !important;
    min-height: 46px;
    padding: 8px 4px;
    text-align: center;
    font-size: clamp(11px, 3.1vw, 13px);
    line-height: 1.18;
    letter-spacing: 0;
    white-space: normal;
  }
}


/* 1.0.12 — Mobile header: search icon replaces redundant upper cart,
   the native #search-panel drawer opens on click, and the search field
   under the centered Cotton Sutra logo is removed. The cart remains
   available in the bottom navigation, which is untouched. */
@media (max-width: 767px) {
  .site-header:not(.site-header--minimal) .site-header__inner {
    grid-template-areas: "start brand actions" !important;
    grid-template-rows: auto !important;
    row-gap: 0 !important;
    padding-block: 10px 12px !important;
    align-items: center;
  }
  .site-header:not(.site-header--minimal) .site-header__inner > .header-search {
    display: none !important;
  }
  .site-header:not(.site-header--minimal) .site-header__actions > a.icon-btn[href*="/cart/"] {
    display: none !important;
  }
  .site-header:not(.site-header--minimal) .site-header__actions > button.site-header__search-btn {
    display: inline-grid !important;
    place-items: center;
    position: relative;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    background: transparent !important;
  }
  .site-header:not(.site-header--minimal) .site-header__actions > button.site-header__search-btn svg {
    width: 24px;
    height: 24px;
  }
  .site-header:not(.site-header--minimal) .site-header__actions {
    margin: 0 !important;
    justify-content: flex-end;
    min-width: 44px;
  }
  .site-header:not(.site-header--minimal) .site-header__start { min-width: 44px; }
  .site-header:not(.site-header--minimal) .site-header__brand {
    justify-content: center;
    align-items: center;
  }
  .site-header:not(.site-header--minimal) .site-header__brand .site-logo.site-logo--dark img {
    height: 82px !important;
    width: auto !important;
    max-width: min(140px, 100%) !important;
    object-fit: contain;
  }
  .site-header.is-scrolled:not(.site-header--minimal) .site-header__brand .site-logo.site-logo--dark img {
    height: 70px !important;
  }
}
