/* =========================================
   SUPER VALUE STORE - RESPONSIVE CSS
   Cleaned & Updated
========================================= */

/* =========================================
   HEADER + HERO SPACING
========================================= */

.site-header {
  margin-bottom: 0;
}

body .hero {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);

  height: 500px;
  min-height: 0;
  overflow: hidden;
}

/* Hero top label */
body .hero__index {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 28px;
}

/* Hero left content */
body .hero__content {
  min-width: 0;
  padding: 28px 36px;
  gap: 12px;
  justify-content: center;
}

/* Hero heading */
body .hero__content h1 {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(38px, 3vw, 48px) !important;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 100%;
  margin: 0;
}

/* Hero description */
body .hero__text {
  font-size: 16px;
  line-height: 1.55;
  max-width: 48ch;
  margin: 0;
}

/* Hero image */
body .hero__media {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

body .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero caption */
body .hero__caption {
  left: 16px;
  bottom: 16px;
}

/* Red marquee attached to hero */
body .marquee {
  margin-top: 0;
  margin-bottom: 0;
}

/* =========================================
   LARGE TABLETS - 1180px
========================================= */

@media (max-width: 1180px) {

  .editorial-feature,
  .gift-edit__grid,
  .product-detail__hero,
  .cart-layout,
  .support-grid,
  .checkout-demo,
  .site-footer__top,
  .site-footer__links {
    grid-template-columns: 1fr;
  }

  body .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: 460px;
  }

  body .hero__content {
    padding: 24px;
    gap: 10px;
  }

  body .hero__content h1 {
    font-size: clamp(32px, 3.5vw, 42px) !important;
  }

  .product-grid,
  .product-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid--tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogue-browse,
  .search-overlay__results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail__summary {
    padding: 8px 0 0;
  }
}

/* =========================================
   TABLETS - 920px
========================================= */

@media (max-width: 920px) {

  .site-nav,
  .site-nav__collections-panel {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header__bar {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .site-header__utility {
    width: 100%;
    justify-content: flex-end;
  }

  .collection-dropdown {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-nav a {
    color: var(--cream);
  }

  .collection-rail,
  .collection-dropdown {
    grid-auto-columns: 78%;
  }

  .gift-edit__products,
  .catalogue-filters,
  .product-detail__variants,
  .product-grid,
  .product-grid--tight,
  .product-grid--compact,
  .catalogue-browse,
  .search-overlay__results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-view-modal__panel {
    grid-template-columns: 1fr;
  }

  body .hero {
    height: auto;
    min-height: 400px;
    grid-template-rows: auto auto;
  }

  body .hero__content {
    padding: 24px 20px;
  }

  body .hero__content h1 {
    font-size: 34px !important;
  }

  body .hero__media {
    height: auto;
    min-height: 400px;
  }
}

/* =========================================
   MOBILE - 720px
========================================= */

@media (max-width: 720px) {

  .site-header__utility,
  .catalogue-hero,
  .section-heading,
  .section-heading--split,
  .cart-line,
  .cart-drawer__item,
  .search-overlay__bar {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-line,
  .cart-drawer__item {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .product-grid--tight,
  .product-grid--compact,
  .gift-edit__products,
  .catalogue-browse,
  .catalogue-filters,
  .search-overlay__results,
  .site-footer__links,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  /* Mobile hero */
  body .hero {
    width: min(100vw - 16px, 100%);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 260px;
    height: auto;
    min-height: 0;
  }

  body .hero__index {
    padding: 12px 18px;
  }

  body .hero__content {
    padding: 28px 20px;
    gap: 12px;
  }

  body .hero__content h1 {
    font-size: clamp(30px, 7vw, 36px) !important;
    line-height: 1.15;
  }

  body .hero__text {
    font-size: 14px;
    line-height: 1.5;
  }

  body .hero__media {
    height: 260px;
    min-height: 0;
  }

  body .hero__caption {
    left: 12px;
    bottom: 12px;
    padding: 10px;
  }

  .section,
  .catalogue-page,
  .cart-page,
  .support-page,
  .product-detail,
  .site-footer,
  .site-header {
    width: min(100vw - 16px, 100%);
  }

  .catalogue-page,
  .cart-page,
  .support-page {
    padding-inline: 0;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cart-line img,
  .cart-drawer__item img {
    width: 100%;
    height: 220px;
  }

  .search-overlay__panel,
  .quick-view-modal__panel {
    width: calc(100vw - 16px);
  }
}






/* REMOVE HEADER & HERO OUTER GAPS */

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

/* Header full width */
body .site-header {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Hero full width */
body .hero {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Remove gap between hero and red bar */
body .marquee {
  margin: 0 !important;
}


/* =====================================
   DESKTOP HEADER - 3 COLUMN LAYOUT
===================================== */

@media (min-width: 921px) {

  body .site-header {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    width: 100% !important;
    min-height: 100px;
    padding: 0 30px;
    margin: 0 !important;
  }

  /* Allow logo and buttons to occupy grid cells */
  body .site-header__bar {
    display: contents;
  }

  body .site-header__navwrap {
    display: contents;
  }

  /* LEFT - Logo */
  body .wordmark {
    grid-column: 1;
    justify-self: start;
    flex-shrink: 0;
  }

  /* CENTER - Navigation */
  body .site-nav {
    grid-column: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 0;
    margin: 0;
    white-space: nowrap;
  }

  body .site-nav a,
  body .site-nav__collections-button {
    padding: 10px 8px;
    font-size: 0.75rem;
  }

  /* RIGHT - Currency, Search, Cart */
  body .site-header__utility {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: auto;
    justify-self: end;
  }
}



/* =========================================
   FINAL DESKTOP HEADER ALIGNMENT
========================================= */

@media (min-width: 921px) {

  body .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: 90px;
    align-items: center;
    column-gap: 20px;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 90px;
    height: 90px;
    margin: 0 !important;
    padding: 0 30px;
  }

  /* Make header wrappers transparent to grid */
  body .site-header__bar,
  body .site-header__navwrap {
    display: contents !important;
  }

  /* Logo - Left */
  body .site-header .wordmark {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    margin: 0;
  }

  /* Navigation - Center */
  body .site-header .site-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: max-content;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
  }

  body .site-header .site-nav a,
  body .site-header .site-nav__collections-button {
    white-space: nowrap;
    padding: 8px 6px;
    font-size: 0.72rem;
  }

  /* Currency, Search, Bag - Right */
  body .site-header .site-header__utility {
    grid-column: 3;
    grid-row: 1;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 10px;
    width: auto;
    margin: 0;
    padding: 0;
  }

  body .site-header .currency-switcher select {
    min-width: 150px;
  }
}







/* =========================================
   HEADER BUTTONS & CURRENCY DROPDOWN FIX
========================================= */

@media (min-width: 921px) {

  /* Right-side utility buttons */
  body .site-header__utility {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  /* Currency dropdown container */
  body .currency-switcher {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  /* Currency dropdown */
  body .currency-switcher select {
    width: 190px !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 32px 0 12px !important;
    margin: 0 !important;

    background-color: #171512 !important;
    color: #f6f0e6 !important;
    border: 1px solid rgba(243, 236, 223, 0.35) !important;
    border-radius: 0 !important;

    font-family: 'Outfit', sans-serif;
    font-size: 14px !important;
    font-weight: 500;

    cursor: pointer;
    outline-offset: 3px;
  }

  /* Dropdown options - browser support varies */
  body .currency-switcher select option {
    background: #171512;
    color: #f6f0e6;
    font-size: 14px;
    padding: 8px;
  }

  /* Search and Bag buttons */
  body .site-header__utility .icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(243, 236, 223, 0.35);
    background: #171512;
    color: #f6f0e6;
    border-radius: 0;
    white-space: nowrap;
  }

  /* Search button */
  body .site-header__utility .icon-button:not(.icon-button--cart) {
    width: 44px;
    padding: 0 !important;
  }

  /* Bag button */
  body .site-header__utility .icon-button--cart {
    gap: 10px;
    padding: 0 12px !important;
  }

  /* Cart count */
  body .site-header__utility [data-cart-count] {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    background: #f0b429;
    color: #0c0b09;
    font-size: 12px;
  }

  /* Hover */
  body .site-header__utility .icon-button:hover,
  body .currency-switcher select:hover {
    border-color: #f0b429 !important;
  }
}

/* =========================================
   MOBILE / TABLET BUTTONS
========================================= */

@media (max-width: 920px) {

  body .site-header__utility {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  body .currency-switcher select {
    width: 160px;
    min-width: 0;
    height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }

  body .site-header__utility .icon-button {
    min-height: 44px;
  }
}






/* ==========================================
   SEARCH OVERLAY - COMPACT DROPDOWN FIX
========================================== */

body .search-overlay:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;

  padding: 110px 20px 30px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  overflow-y: auto !important;
}

/* Search popup container */
body .search-overlay__panel {
  position: relative !important;
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  max-height: calc(100dvh - 140px);
  margin: 0 auto !important;
  overflow-y: auto !important;

  background: #f3ecdf !important;
  border: 1px solid #f0b429 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Search input and close button */
body .search-overlay__bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 18px !important;
}

/* Input */
body .search-overlay__bar input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 48px !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  background: #fffdf8 !important;
  color: #1a1612 !important;
  border: 1px solid #b7ad9f !important;
}

/* Close button */
body .search-overlay__bar button {
  flex-shrink: 0;
  min-height: 48px !important;
  padding: 0 18px !important;
  background: #f0b429 !important;
  color: #0c0b09 !important;
  border: 1px solid #f0b429 !important;
}

/* Search results */
body .search-overlay__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 18px 18px;
}

/* Mobile */
@media (max-width: 720px) {
  body .search-overlay:not([hidden]) {
    padding: 75px 12px 20px !important;
  }

  body .search-overlay__panel {
    width: 100% !important;
    max-height: calc(100dvh - 95px);
  }

  body .search-overlay__bar {
    padding: 12px !important;
    gap: 8px !important;
  }

  body .search-overlay__bar input {
    height: 44px !important;
    font-size: 14px !important;
  }

  body .search-overlay__bar button {
    min-height: 44px !important;
    padding: 0 10px !important;
    font-size: 12px;
  }

  body .search-overlay__results {
    grid-template-columns: 1fr;
    padding: 0 12px 12px;
  }
}

/* SEARCH POPUP VISIBILITY FIX */

body .search-overlay:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 110px 16px 24px !important;
  background: rgba(0, 0, 0, 0.75) !important;
  overflow-y: auto !important;
}

body .search-overlay:not([hidden]) .search-overlay__panel {
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  flex: 0 1 760px;
  width: 100% !important;
  max-width: 760px !important;
  max-height: calc(100dvh - 135px);
  margin: 0 auto !important;
  overflow-y: auto !important;
  background: #f3ecdf !important;
  color: #1a1612 !important;
  border: 1px solid #f0b429 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

body .search-overlay__bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 18px !important;
}

body .search-overlay__bar input {
  flex: 1;
  min-width: 0;
  height: 48px;
}

body .search-overlay__bar button {
  flex-shrink: 0;
  min-height: 48px;
  background: #f0b429;
  color: #0c0b09;
}

@media (max-width: 720px) {
  body .search-overlay:not([hidden]) {
    padding-top: 75px !important;
  }

  body .search-overlay__bar {
    padding: 12px !important;
  }
}




/* ==========================================
   SEARCH OVERLAY - STACKING & POSITION FIX
========================================== */

/* Keep page sections below the search */
body #site-shell,
body #main-content {
  z-index: auto !important;
}

/* Search overlay */
body .search-overlay:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;

  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;

  padding: 100px 16px 24px !important;
  margin: 0 !important;

  background: rgba(0, 0, 0, 0.75) !important;
  overflow-y: auto !important;
}

/* Search panel */
body .search-overlay:not([hidden]) .search-overlay__panel {
  position: relative !important;
  z-index: 2 !important;

  display: block !important;
  flex: 0 1 760px;

  width: 100% !important;
  max-width: 760px !important;
  max-height: calc(100dvh - 125px);

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

  background: #f3ecdf !important;
  color: #171512 !important;

  border: 2px solid #f0b429 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

  overflow-y: auto !important;
}

/* Search input row */
body .search-overlay__bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;

  gap: 10px !important;
  padding: 18px !important;
}

body .search-overlay__bar input {
  flex: 1;
  min-width: 0;
  height: 48px !important;
  padding: 0 14px !important;
  font-size: 15px !important;
}

/* Close button */
body .search-overlay__bar button {
  flex-shrink: 0;
  min-height: 48px !important;
  padding: 0 18px !important;

  background: #f0b429 !important;
  color: #0c0b09 !important;
}

/* Mobile */
@media (max-width: 720px) {
  body .search-overlay:not([hidden]) {
    padding: 70px 12px 20px !important;
  }

  body .search-overlay:not([hidden]) .search-overlay__panel {
    max-height: calc(100dvh - 90px);
  }

  body .search-overlay__bar {
    padding: 12px !important;
  }
}




/* =====================================
   COMPACT SEARCH DROPDOWN
===================================== */

/* Search container - no fullscreen overlay */
body .search-overlay:not([hidden]) {
  position: fixed !important;
  top: 90px !important;
  right: 70px !important;
  bottom: auto !important;
  left: auto !important;

  width: min(360px, calc(100vw - 24px)) !important;
  height: auto !important;
  min-height: 0 !important;

  display: block !important;
  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  backdrop-filter: none !important;
  overflow: visible !important;

  z-index: 999999 !important;
}

/* Small dropdown panel */
body .search-overlay:not([hidden]) .search-overlay__panel {
  position: relative !important;
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;
  max-height: 380px !important;

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

  background: #f3ecdf !important;
  border: 1px solid #f0b429 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);

  overflow-y: auto !important;
}

/* Input row */
body .search-overlay__bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
}

/* Input */
body .search-overlay__bar input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 42px !important;
  padding: 0 10px !important;

  background: #fff !important;
  color: #171512 !important;
  border: 1px solid #c9bfb0 !important;
  font-size: 13px !important;
}

/* Close button */
body .search-overlay__bar button {
  flex-shrink: 0;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 10px !important;

  background: #f0b429 !important;
  color: #171512 !important;
  font-size: 11px !important;
}

/* Search results */
body .search-overlay__results {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 8px;
  padding: 10px 0 0 !important;
}

/* Hide empty state until search */
body .search-overlay__results:has(.empty-state) {
  display: none !important;
}

/* Mobile */
@media (max-width: 720px) {
  body .search-overlay:not([hidden]) {
    top: 75px !important;
    right: 12px !important;
    width: min(340px, calc(100vw - 24px)) !important;
  }
}


/* Hide Header Search Button */
.site-header__utility .icon-button:not(.icon-button--cart) {
  display: none !important;
}

/* Hide Search Popup */
.search-overlay {
  display: none !important;
}





/* ==========================================
   FEATURED COLLECTIONS - FULL WIDTH FIX
========================================== */

/* Remove outer section spacing */
body .section--collections {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 35px 24px !important;
  box-sizing: border-box;
}

/* Section heading */
body .section--collections .section-heading {
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
}

/* Collection grid */
body .section--collections .collection-rail {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;

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

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

  overflow: visible !important;
  scroll-snap-type: none !important;
}

/* Each collection item */
body .section--collections .collection-rail__item {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 100%;
}

/* Collection cards */
body .section--collections .collection-card {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;
  min-width: 0;

  box-sizing: border-box;
}

/* Images */
body .section--collections .collection-card__media {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

body .section--collections .collection-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card content */
body .section--collections .collection-card__body {
  flex: 1;
  padding: 16px 12px;
}

body .section--collections .collection-card__body h3 {
  font-size: clamp(17px, 1.3vw, 23px);
  line-height: 1.2;
  overflow-wrap: break-word;
}

body .section--collections .collection-card__body p {
  font-size: 13px;
  line-height: 1.5;
}

/* ==========================================
   SMALL DESKTOP / TABLET
========================================== */

@media (max-width: 1180px) {
  body .section--collections {
    padding: 30px 18px !important;
  }

  body .section--collections .collection-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body .section--collections .collection-card__media {
    height: 260px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 720px) {
  body .section--collections {
    padding: 24px 12px !important;
  }

  body .section--collections .section-heading {
    margin-bottom: 18px;
  }

  body .section--collections .section-heading h2 {
    font-size: clamp(25px, 6vw, 34px);
    line-height: 1.15;
  }

  body .section--collections .collection-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body .section--collections .collection-card__media {
    height: 190px;
  }

  body .section--collections .collection-card__body {
    padding: 12px 10px;
  }

  body .section--collections .collection-card__body h3 {
    font-size: 17px;
  }

  body .section--collections .collection-card__body p {
    font-size: 12px;
  }
}

/* ==========================================
   EXTRA SMALL MOBILE
========================================== */

@media (max-width: 420px) {
  body .section--collections {
    padding: 20px 10px !important;
  }

  body .section--collections .collection-rail {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body .section--collections .collection-card__media {
    height: 240px;
  }

  body .section--collections .collection-card__body {
    padding: 16px;
  }

  body .section--collections .collection-card__body h3 {
    font-size: 21px;
  }

  body .section--collections .collection-card__body p {
    font-size: 14px;
  }
}





/* ==========================================
   FEATURED COLLECTIONS - RESPONSIVE FIX
========================================== */

@media (max-width: 900px) {

  body .section--collections {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 12px !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Heading */
  body .section--collections .section-heading {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100%;
    margin-bottom: 20px !important;
  }

  body .section--collections .section-heading h2 {
    font-size: clamp(26px, 4vw, 36px) !important;
    line-height: 1.15 !important;
    max-width: 100%;
  }

  body .section--collections .section-heading__text {
    width: 100%;
    max-width: 100%;
  }

  body .section--collections .section-heading__text p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Replace horizontal slider with responsive grid */
  body .section--collections .collection-rail {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-columns: auto !important;
    grid-auto-flow: row !important;
    gap: 14px !important;

    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    transform: none !important;
    scroll-snap-type: none !important;
  }

  /* Remove old slider sizing */
  body .section--collections .collection-rail__item {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    scroll-snap-align: none !important;
  }

  /* Card */
  body .section--collections .collection-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }

  /* Image */
  body .section--collections .collection-card__media {
    width: 100% !important;
    height: 220px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body .section--collections .collection-card__media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Card content */
  body .section--collections .collection-card__body {
    flex: 1;
    padding: 14px !important;
  }

  body .section--collections .collection-card__body h3 {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body .section--collections .collection-card__body p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}

/* ==========================================
   MOBILE - ONE CARD PER ROW
========================================== */

@media (max-width: 600px) {

  body .section--collections {
    padding: 20px 12px !important;
  }

  body .section--collections .section-heading h2 {
    font-size: 28px !important;
  }

  body .section--collections .collection-rail {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  body .section--collections .collection-rail__item {
    width: 100% !important;
    min-width: 0 !important;
  }

  body .section--collections .collection-card__media {
    height: 240px !important;
  }

  body .section--collections .collection-card__body {
    padding: 16px !important;
  }

  body .section--collections .collection-card__body h3 {
    font-size: 22px !important;
  }

  body .section--collections .collection-card__body p {
    font-size: 14px !important;
  }
}











/* ==========================================
   BEST SELLERS - FULL WIDTH RESPONSIVE FIX
========================================== */

body .section--best-sellers {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 35px 20px !important;
  box-sizing: border-box;
}

/* Section heading */
body .section--best-sellers .section-heading {
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px !important;
  gap: 20px;
}

body .section--best-sellers .section-heading h2 {
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1.12;
}

/* Product grid - 4 cards per row */
body .section--best-sellers .product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 14px !important;

  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Product cards */
body .section--best-sellers .product-card {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  min-width: 0 !important;
  height: 100%;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Image container */
body .section--best-sellers .product-card__media-wrap {
  position: relative;
  width: 100%;
  height: 260px !important;
  min-height: 0 !important;
  overflow: hidden;
}

/* Image link */
body .section--best-sellers .product-card__media {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Product images */
body .section--best-sellers .product-card__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
}

/* Product details */
body .section--best-sellers .product-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px !important;
  gap: 10px;
}

body .section--best-sellers .product-card__title {
  font-size: 19px !important;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Keep buttons aligned at bottom */
body .section--best-sellers .product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

body .section--best-sellers .product-card__actions .button {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

/* ==========================================
   TABLET - 3 CARDS
========================================== */

@media (max-width: 1180px) {

  body .section--best-sellers {
    padding: 28px 16px !important;
  }

  body .section--best-sellers .product-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .section--best-sellers .product-card__media-wrap {
    height: 240px !important;
  }
}

/* ==========================================
   SMALL TABLET - 2 CARDS
========================================== */

@media (max-width: 800px) {

  body .section--best-sellers {
    padding: 24px 12px !important;
  }

  body .section--best-sellers .product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .section--best-sellers .product-card__media-wrap {
    height: 220px !important;
  }

  body .section--best-sellers .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  body .section--best-sellers .section-heading h2 {
    font-size: 30px;
  }
}

/* ==========================================
   MOBILE - 2 CARDS
========================================== */

@media (max-width: 600px) {

  body .section--best-sellers {
    padding: 20px 10px !important;
  }

  body .section--best-sellers .product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body .section--best-sellers .product-card__media-wrap {
    height: 175px !important;
  }

  body .section--best-sellers .product-card__content {
    padding: 10px !important;
    gap: 8px;
  }

  body .section--best-sellers .product-card__title {
    font-size: 15px !important;
  }

  body .section--best-sellers .section-heading h2 {
    font-size: 26px !important;
  }

  body .section--best-sellers .product-card__actions {
    flex-direction: column;
  }

  body .section--best-sellers .product-card__actions .button {
    width: 100%;
    font-size: 11px;
    padding: 10px 6px;
  }

  body .section--best-sellers .badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  body .section--best-sellers .badge {
    font-size: 9px;
    padding: 5px;
  }
}

/* ==========================================
   EXTRA SMALL MOBILE - 1 CARD
========================================== */

@media (max-width: 380px) {

  body .section--best-sellers .product-grid {
    grid-template-columns: 1fr !important;
  }

  body .section--best-sellers .product-card__media-wrap {
    height: 260px !important;
  }

  body .section--best-sellers .product-card__title {
    font-size: 19px !important;
  }

  body .section--best-sellers .product-card__actions {
    flex-direction: row;
  }
}






/* TEST - BEST SELLERS */
body .section--best-sellers .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body .section--best-sellers .product-card__media-wrap {
  height: 220px !important;
  aspect-ratio: auto !important;
}

body .section--best-sellers .product-card__media {
  height: 100% !important;
  aspect-ratio: auto !important;
}






/* SEASONAL / GIFT EDIT - FINAL LAYOUT */

body .section--gift-edit,
body .gift-edit {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  box-sizing: border-box;
}

/* Remove outer section gaps */
body .section--gift-edit {
  padding-inline: 0 !important;
}

body .gift-edit {
  padding: 20px 24px !important;
}

/* Main image + product cards */
body .gift-edit__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px !important;
  align-items: stretch;
}

/* Main image */
body .gift-edit__media,
body .gift-edit__image {
  min-width: 0;
  height: 500px !important;
  min-height: 0 !important;
  overflow: hidden;
}

body .gift-edit__media img,
body .gift-edit__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Four product cards */
body .gift-edit__products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  min-width: 0;
}

body .gift-edit__products .product-card {
  min-width: 0;
  height: auto;
}

body .gift-edit__products .product-card__media,
body .gift-edit__products .product-card__media-wrap {
  height: 170px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}

body .gift-edit__products .product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tablet */
@media (max-width: 1180px) {
  body .gift-edit__grid {
    grid-template-columns: 1fr !important;
  }

  body .gift-edit__media,
  body .gift-edit__image {
    height: 300px !important;
  }

  body .gift-edit__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 720px) {
  body .gift-edit {
    padding: 14px 12px !important;
  }

  body .gift-edit__grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body .gift-edit__media,
  body .gift-edit__image {
    height: 220px !important;
  }

  body .gift-edit__products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .gift-edit__products .product-card__media,
  body .gift-edit__products .product-card__media-wrap {
    height: 140px !important;
  }
}

@media (max-width: 420px) {
  body .gift-edit__products {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================
   GIFT EDIT - COMPACT PRODUCT CARDS
========================================= */

body .gift-edit__products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-content: start !important;
  align-items: start !important;
}

/* Remove stretched card heights */
body .gift-edit__products .product-card {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
  margin: 0 !important;
}

/* Compact image size */
body .gift-edit__products .product-card__media-wrap {
  height: 155px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex: none !important;
  overflow: hidden !important;
}

body .gift-edit__products .product-card__media {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}

body .gift-edit__products .product-card__image,
body .gift-edit__products .product-card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Compact content */
body .gift-edit__products .product-card__content {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 12px !important;
  gap: 8px !important;
}

/* Product title */
body .gift-edit__products .product-card__title {
  font-size: 16px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

/* Price */
body .gift-edit__products .product-card__price {
  margin: 0 !important;
  font-size: 17px !important;
}

/* Actions */
body .gift-edit__products .product-card__actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  margin-top: 4px !important;
}

body .gift-edit__products .product-card__actions .button {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 10px 6px !important;
  font-size: 11px !important;
}

/* Tablet */
@media (max-width: 1180px) {
  body .gift-edit__products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .gift-edit__products .product-card__media-wrap {
    height: 180px !important;
  }
}

/* Mobile */
@media (max-width: 720px) {
  body .gift-edit__products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .gift-edit__products .product-card__media-wrap {
    height: 135px !important;
  }

  body .gift-edit__products .product-card__content {
    padding: 10px !important;
    gap: 6px !important;
  }

  body .gift-edit__products .product-card__title {
    font-size: 14px !important;
  }
}

/* Very small screens */
@media (max-width: 420px) {
  body .gift-edit__products {
    grid-template-columns: 1fr !important;
  }

  body .gift-edit__products .product-card__media-wrap {
    height: 190px !important;
  }
}

/* =========================================
   GIFT EDIT - FINAL BALANCED LAYOUT
========================================= */

body .gift-edit__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: stretch !important;
  height: 540px !important;
  min-height: 0 !important;
}

/* LEFT MAIN IMAGE */
body .gift-edit__media,
body .gift-edit__image {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 540px !important;
  overflow: hidden !important;
}

body .gift-edit__media img,
body .gift-edit__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* RIGHT PRODUCT GRID */
body .gift-edit__products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* PRODUCT CARDS */
body .gift-edit__products .product-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* PRODUCT IMAGES */
body .gift-edit__products .product-card__media-wrap {
  width: 100% !important;
  height: 105px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

body .gift-edit__products .product-card__media {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body .gift-edit__products .product-card__image,
body .gift-edit__products .product-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* PRODUCT CONTENT */
body .gift-edit__products .product-card__content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-height: 0 !important;
  padding: 9px !important;
  gap: 5px !important;
}

body .gift-edit__products .product-card__title {
  font-size: 13px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

body .gift-edit__products .product-card__price {
  font-size: 15px !important;
  margin: 0 !important;
}

/* BUTTONS */
body .gift-edit__products .product-card__actions {
  display: flex !important;
  gap: 6px !important;
  margin-top: auto !important;
}

body .gift-edit__products .product-card__actions .button {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 8px 4px !important;
  font-size: 10px !important;
}

/* TABLET */
@media (max-width: 1180px) {
  body .gift-edit__grid {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  body .gift-edit__media,
  body .gift-edit__image {
    height: 300px !important;
  }

  body .gift-edit__products {
    height: auto !important;
    grid-template-rows: auto !important;
  }

  body .gift-edit__products .product-card {
    height: auto !important;
    min-height: 245px !important;
  }

  body .gift-edit__products .product-card__media-wrap {
    height: 140px !important;
  }
}

/* MOBILE */
@media (max-width: 720px) {
  body .gift-edit__grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body .gift-edit__media,
  body .gift-edit__image {
    height: 210px !important;
  }

  body .gift-edit__products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body .gift-edit__products .product-card {
    min-height: 0 !important;
  }

  body .gift-edit__products .product-card__media-wrap {
    height: 120px !important;
  }

  body .gift-edit__products .product-card__actions {
    flex-direction: column !important;
  }
}

@media (max-width: 420px) {
  body .gift-edit__products {
    grid-template-columns: 1fr !important;
  }

  body .gift-edit__products .product-card__media-wrap {
    height: 170px !important;
  }
}

/* GIFT EDIT - FINAL HEIGHT & IMAGE FIX */

@media (min-width: 1181px) {

  body .gift-edit__grid {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr !important;
    height: 760px !important;
    min-height: 760px !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  /* LEFT MAIN IMAGE */
  body .gift-edit__media {
    height: 760px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body .gift-edit__media img,
  body .gift-edit__image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* RIGHT PRODUCT GRID */
  body .gift-edit__products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    height: 100% !important;
    gap: 12px !important;
    padding: 12px !important;
    min-height: 0 !important;
  }

  /* PRODUCT CARDS */
  body .gift-edit__products .product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  /* PRODUCT IMAGES */
  body .gift-edit__products .product-card__media-wrap {
    height: 190px !important;
    min-height: 190px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }

  body .gift-edit__products .product-card__media-wrap img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  /* CARD CONTENT */
  body .gift-edit__products .product-card__content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important;
    padding: 14px !important;
    gap: 10px !important;
  }

  /* CARD BUTTONS */
  body .gift-edit__products .product-card__actions {
    margin-top: auto !important;
  }
}

/* GIFT EDIT - PRODUCT IMAGE FIT FIX */

@media (min-width: 1181px) {

  /* Product image container */
  body .gift-edit__products .product-card__media-wrap {
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  /* Image fills complete card width */
  body .gift-edit__products .product-card__media-wrap img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Remove unwanted image spacing */
  body .gift-edit__products .product-card {
    overflow: hidden !important;
  }

  /* Keep product content aligned */
  body .gift-edit__products .product-card__content {
    flex: 1 !important;
    padding: 14px !important;
  }
}

/* ==========================================================
   SHOP / COLLECTION PAGE — FINAL COMPACT + RESPONSIVE LAYOUT
   ========================================================== */
body[data-page="shop"] .catalogue-page,
body[data-page="collection"] .catalogue-page {
  width: 100% !important;
  max-width: 1380px !important;
  margin-inline: auto !important;
  padding: 24px clamp(12px, 3vw, 28px) 48px !important;
  box-sizing: border-box !important;
}

body[data-page="shop"] .catalogue-results .product-grid,
body[data-page="collection"] .catalogue-results .product-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 0 !important;
}

body[data-page="shop"] .catalogue-results .product-card,
body[data-page="collection"] .catalogue-results .product-card {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
}

body[data-page="shop"] .catalogue-results .product-card__media-wrap,
body[data-page="collection"] .catalogue-results .product-card__media-wrap {
  height: auto !important;
  min-height: 0 !important;
}

body[data-page="shop"] .catalogue-results .product-card__media,
body[data-page="collection"] .catalogue-results .product-card__media {
  display: block !important;
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

body[data-page="shop"] .catalogue-results .product-card__image,
body[data-page="collection"] .catalogue-results .product-card__image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body[data-page="shop"] .catalogue-results .product-card__content,
body[data-page="collection"] .catalogue-results .product-card__content {
  padding: 10px 12px 12px !important;
  gap: 6px !important;
}

body[data-page="shop"] .catalogue-results .product-card__title,
body[data-page="collection"] .catalogue-results .product-card__title {
  font-size: 0.95rem !important;
  line-height: 1.25 !important;
  min-height: 2.5em !important;
}

body[data-page="shop"] .catalogue-results .product-card__meta,
body[data-page="collection"] .catalogue-results .product-card__meta {
  font-size: 0.66rem !important;
}

body[data-page="shop"] .catalogue-results .product-card__actions .button,
body[data-page="collection"] .catalogue-results .product-card__actions .button {
  min-height: 36px !important;
  font-size: 0.64rem !important;
  padding: 6px 6px !important;
}

body[data-page="shop"] .catalogue-results .product-card__wish,
body[data-page="collection"] .catalogue-results .product-card__wish {
  width: 32px !important;
  min-height: 32px !important;
  top: 8px !important;
  right: 8px !important;
}

body[data-page="shop"] .catalogue-filters,
body[data-page="collection"] .catalogue-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body[data-page="shop"] .catalogue-filters input,
body[data-page="shop"] .catalogue-filters select,
body[data-page="collection"] .catalogue-filters input,
body[data-page="collection"] .catalogue-filters select {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body[data-page="shop"] .catalogue-filters__actions,
body[data-page="collection"] .catalogue-filters__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

@media (max-width: 1180px) {
  body[data-page="shop"] .catalogue-results .product-grid,
  body[data-page="collection"] .catalogue-results .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 920px) {
  body[data-page="shop"] .catalogue-results .product-grid,
  body[data-page="collection"] .catalogue-results .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body[data-page="shop"] .catalogue-filters,
  body[data-page="collection"] .catalogue-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body[data-page="shop"] .catalogue-page,
  body[data-page="collection"] .catalogue-page {
    padding: 16px 12px 36px !important;
  }
  body[data-page="shop"] .catalogue-hero,
  body[data-page="collection"] .catalogue-hero {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  body[data-page="shop"] .catalogue-hero p,
  body[data-page="collection"] .catalogue-hero p {
    font-size: 0.85rem !important;
  }
  body[data-page="shop"] .catalogue-hero__meta,
  body[data-page="collection"] .catalogue-hero__meta {
    min-width: 84px !important;
    padding: 8px 10px !important;
  }
  body[data-page="shop"] .catalogue-results .product-grid,
  body[data-page="collection"] .catalogue-results .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body[data-page="shop"] .catalogue-results .product-card__actions,
  body[data-page="collection"] .catalogue-results .product-card__actions {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  body[data-page="shop"] .catalogue-filters__actions .button,
  body[data-page="collection"] .catalogue-filters__actions .button {
    flex: 1 1 140px !important;
  }
}

@media (max-width: 420px) {
  body[data-page="shop"] .catalogue-filters,
  body[data-page="collection"] .catalogue-filters {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  body[data-page="shop"] .catalogue-filters label:first-child,
  body[data-page="collection"] .catalogue-filters label:first-child {
    grid-column: 1 / -1 !important;
  }
  body[data-page="shop"] .catalogue-results .product-grid,
  body[data-page="collection"] .catalogue-results .product-grid {
    gap: 8px !important;
  }
  body[data-page="shop"] .catalogue-results .product-card__content,
  body[data-page="collection"] .catalogue-results .product-card__content {
    padding: 8px !important;
  }
  body[data-page="shop"] .catalogue-results .product-card__title,
  body[data-page="collection"] .catalogue-results .product-card__title {
    font-size: 0.85rem !important;
  }
}

/* SHOP / COLLECTION — FULL WIDTH (edge to edge like header) */
body[data-page="shop"] .catalogue-page,
body[data-page="collection"] .catalogue-page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  padding-inline: clamp(12px, 3vw, 36px) !important;
}


/* =========================================
   COLLECTIONS DROPDOWN FIX
========================================= */

body .site-nav__collections-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, 92vw);
  padding: 16px;
  background: #f3ecdf;
  border: 1px solid #0c0b09;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  z-index: 200;
}

body .site-nav__collections-panel[hidden] {
  display: none;
}

body .collection-dropdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body .site-header .site-nav .collection-dropdown__link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px;
  min-height: 92px;
  background: #fffdf8;
  color: #1a1612;
  border: 1px solid #0c0b09;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: normal;
  line-height: 1.25;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body .site-header .site-nav .collection-dropdown__link span {
  color: #1a1612;
}

body .site-header .site-nav .collection-dropdown__link img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

body .site-header .site-nav .collection-dropdown__link:hover {
  background: #f0b429;
  border-color: #0c0b09;
}

@media (max-width: 920px) {
  body .collection-dropdown {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================
   PRODUCT PAGE - FULL WIDTH ECOMMERCE LAYOUT
========================================= */

body[data-page="product"] .product-detail {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 24px 32px 48px;
  background: #f3ecdf;
  color: #1a1612;
}

body[data-page="product"] .breadcrumbs {
  margin-bottom: 22px;
  color: #5b5247;
}

body[data-page="product"] .breadcrumbs a {
  color: #1a1612;
  border-bottom: 1px solid #d9381e;
}

body[data-page="product"] .product-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}

body[data-page="product"] .product-gallery {
  display: grid;
  gap: 12px;
}

body[data-page="product"] .product-gallery__main {
  aspect-ratio: 1 / 1;
  max-height: 640px;
  width: 100%;
  overflow: hidden;
  border: 1px solid #0c0b09;
  background: #ddd2c0;
}

body[data-page="product"] .product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

body[data-page="product"] .product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 84px);
  gap: 10px;
}

body[data-page="product"] .product-gallery__thumb {
  width: 84px;
  height: 84px;
  padding: 0;
  border: 1px solid #0c0b09;
  background: #ddd2c0;
  overflow: hidden;
  cursor: pointer;
}

body[data-page="product"] .product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body[data-page="product"] .product-detail__summary {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 0;
}

body[data-page="product"] .product-detail__category {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d9381e;
}

body[data-page="product"] .product-detail__summary h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  font-weight: 600;
}

body[data-page="product"] .product-detail__summary .price-block__current {
  font-size: 1.9rem;
}

body[data-page="product"] .product-detail__description {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3b342c;
}

body[data-page="product"] .product-detail__stock {
  margin: 0;
  display: inline-block;
  width: fit-content;
  padding: 6px 12px;
  background: #0c0b09;
  color: #f0b429;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-page="product"] .product-detail__variants {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 14px;
}

body[data-page="product"] .product-detail__variants select,
body[data-page="product"] .product-detail__variants input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  background: #fffdf8;
  color: #1a1612;
  border: 1px solid #0c0b09;
  font: inherit;
}

body[data-page="product"] .product-detail__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

body[data-page="product"] .product-detail__actions .button {
  min-height: 52px;
  width: 100%;
}

body[data-page="product"] .product-detail__actions [data-product-add-to-cart] {
  grid-column: 1 / -1;
}

body[data-page="product"] .product-detail__facts {
  display: grid;
  gap: 0;
  margin-top: 6px;
  border: 1px solid #0c0b09;
  background: #fffdf8;
}

body[data-page="product"] .product-detail__facts > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(12, 11, 9, 0.15);
}

body[data-page="product"] .product-detail__facts > div:last-child {
  border-bottom: 0;
}

body[data-page="product"] .product-detail__accordions {
  margin-top: 40px;
  padding: 0;
  display: grid;
  gap: 10px;
}

body[data-page="product"] .product-detail__related {
  margin-top: 48px;
  padding: 0;
}

body[data-page="product"] .product-detail__related .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  body[data-page="product"] .product-detail__related .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body[data-page="product"] .product-detail {
    padding: 18px 16px 36px;
  }

  body[data-page="product"] .product-detail__hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body[data-page="product"] .product-gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  body[data-page="product"] .product-gallery__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 520px) {
  body[data-page="product"] .product-detail__related .product-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================================
   GLOBAL RESPONSIVE HARDENING  (final layer - all pages, all screens)
===================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video {
  max-width: 100%;
}

img {
  height: auto;
}

/* images that are meant to fill their frame keep filling it */
.hero__media img,
.product-card__image,
.product-gallery__main img,
.product-gallery__thumb img,
.collection-card__media img,
.collection-dropdown__link img,
.editorial-feature__media img,
.gift-edit__feature img,
.cart-line img,
.cart-drawer__item img,
.quick-view-modal__media img {
  height: 100%;
  object-fit: cover;
}

.collection-dropdown__link img,
.cart-line img,
.cart-drawer__item img {
  height: auto;
}

body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

main,
#main-content {
  min-width: 0;
}

h1, h2, h3, p, a, span, li {
  overflow-wrap: anywhere;
}

/* ---------- Large desktops: keep content from stretching too far ---------- */
@media (min-width: 1700px) {
  body .section,
  body .site-footer__top,
  body .site-footer__links {
    max-width: 1500px;
  }
}

/* ---------- Laptops / small desktops ---------- */
@media (max-width: 1280px) {
  body .section {
    padding-inline: 20px;
  }
}

/* ---------- Tablets & below: mobile menu actually opens ---------- */
@media (max-width: 920px) {
  body .site-header {
    position: relative;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body .site-header__bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 14px !important;
  }

  body .site-header__navwrap {
    display: none !important;
  }

  body .site-header .wordmark {
    flex-shrink: 0;
  }

  body .site-header__utility {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    gap: 8px;
  }

  body .currency-switcher {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 190px;
  }

  body .currency-switcher select {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px;
    font-size: 13px;
  }

  body .menu-toggle {
    display: inline-flex !important;
    flex-shrink: 0;
  }

  body .site-header__mobile:not([hidden]) {
    display: block;
    border-top: 1px solid rgba(243, 236, 223, 0.14);
    background: #0c0b09;
  }

  body .mobile-nav {
    display: grid;
  }

  body .mobile-nav a {
    display: block;
    padding: 15px 18px;
    color: #f6f0e6;
  }

  body .mobile-nav a:hover {
    color: #f0b429;
    background: rgba(240, 180, 41, 0.08);
  }

  body .site-nav__collections-panel {
    display: none !important;
  }
}

/* ---------- Tablets ---------- */
@media (max-width: 920px) {
  body .section,
  body .support-page,
  body .cart-page,
  body .catalogue-page {
    padding-inline: 16px;
  }

  body .section {
    margin-top: 20px;
    padding-top: 22px;
  }

  body .editorial-feature,
  body .gift-edit__grid {
    grid-template-columns: 1fr;
  }

  body .editorial-feature__media,
  body .gift-edit__feature,
  body .editorial-feature__media img,
  body .gift-edit__feature img {
    min-height: 260px;
    max-height: 380px;
  }

  body .editorial-feature__content {
    padding: 22px 18px;
  }

  body .section-heading,
  body .section-heading--split {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  body .section-heading h2 {
    max-width: 100%;
  }

  body .section-heading__text {
    max-width: 100%;
  }

  body .cart-layout {
    grid-template-columns: 1fr;
  }

  body .site-footer {
    padding-inline: 18px;
  }

  body .quick-view-modal__panel {
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }

  body .quick-view-modal__media {
    min-height: 260px;
  }

  body .quick-view-modal__content {
    padding: 22px 18px;
  }
}

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  /* stop iOS auto-zoom on form focus */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  body .section,
  body .support-page,
  body .cart-page,
  body .about-page {
    padding-inline: 14px;
    width: 100% !important;
    max-width: 100% !important;
  }

  body .product-grid,
  body .product-grid--tight,
  body .product-grid--compact,
  body .gift-edit__products,
  body .search-overlay__results,
  body .catalogue-browse {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body .product-card__content {
    padding: 10px;
    gap: 6px;
  }

  body .product-card__title {
    font-size: 0.95rem;
    min-height: 2.3em;
  }

  body .product-card__meta {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  body .price-block__current {
    font-size: 1.05rem;
  }

  body .product-card__actions {
    grid-template-columns: 1fr !important;
    gap: 6px;
  }

  body .product-card__wish {
    width: 34px;
    min-height: 34px;
  }

  body .badge-row {
    top: 8px;
    left: 8px;
    flex-wrap: wrap;
  }

  body .catalogue-browse__item {
    min-height: 84px;
    padding: 10px;
  }

  body .catalogue-browse__item strong {
    font-size: 1.5rem;
  }

  body .collection-rail {
    grid-auto-columns: 82%;
  }

  body .catalogue-hero {
    gap: 12px;
  }

  body .cart-line {
    grid-template-columns: 1fr !important;
    padding: 14px;
  }

  body .cart-line img {
    width: 100%;
    height: 220px;
  }

  body .cart-lines__actions {
    display: grid;
    gap: 10px;
  }

  body .cart-lines__actions .button {
    width: 100%;
  }

  body .cart-drawer {
    width: 100vw;
    border-left-width: 4px;
  }

  body .toast-stack {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  body .site-footer__top,
  body .site-footer__links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body .hero__actions .button {
    width: 100%;
  }

  body .hero__notes {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  body .support-form,
  body .support-card {
    padding: 18px;
  }

  body .checkout-demo,
  body .support-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="product"] .product-detail__actions {
    grid-template-columns: 1fr;
  }

  body[data-page="product"] .product-detail__facts > div {
    grid-template-columns: 90px 1fr;
  }

  body[data-page="product"] .product-detail__variants {
    grid-template-columns: 1fr 110px;
  }

  body[data-page="product"] .product-detail__related .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  body .site-header__bar {
    padding: 8px 10px !important;
    gap: 6px;
  }

  body .wordmark small {
    font-size: 0.6rem;
  }

  body .wordmark span {
    font-size: 1.15rem;
  }

  body .currency-switcher {
    max-width: 118px;
  }

  body .currency-switcher select {
    padding: 0 22px 0 8px !important;
    font-size: 12px !important;
  }

  body .site-header__utility .icon-button {
    padding: 0 10px !important;
    min-width: 40px;
  }

  body .menu-toggle {
    padding: 0 10px;
    font-size: 0.7rem;
  }

  body .product-card__title {
    font-size: 0.85rem;
  }

  body .product-card__content {
    padding: 8px;
  }

  body .product-card__actions .button {
    min-height: 38px;
    font-size: 0.62rem;
  }

  body .collection-rail {
    grid-auto-columns: 88%;
  }

  body .section-heading h2,
  body .catalogue-hero h1,
  body .support-page h1 {
    font-size: 1.35rem;
  }
}

/* ---------- Very small phones ---------- */
@media (max-width: 360px) {
  body .product-grid,
  body .product-grid--tight,
  body .product-grid--compact,
  body .gift-edit__products,
  body .search-overlay__results {
    grid-template-columns: 1fr !important;
  }

  body .currency-switcher {
    max-width: 96px;
  }
}

/* ---------- Landscape phones: avoid oversized heroes ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  body .hero,
  body .hero__media {
    min-height: 0 !important;
    height: auto !important;
  }

  body .search-overlay:not([hidden]) {
    padding-top: 20px !important;
  }
}

/* ---------- Touch devices: no sticky hover effects ---------- */
@media (hover: none) {
  .product-card:hover .product-card__image--primary {
    opacity: 1;
  }

  .product-card:hover .product-card__image--secondary {
    opacity: 0;
    transform: none;
  }
}


/* =========================================
   MOBILE HEADER BUTTONS - ONE CLEAN ROW
========================================= */
@media (max-width: 920px) {
  body .site-header__bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  body .site-header__utility {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0;
    gap: 6px !important;
  }

  body .currency-switcher {
    flex: 1 1 110px !important;
    min-width: 0 !important;
    max-width: 170px !important;
  }

  body .site-header__utility .icon-button,
  body .site-header__utility .menu-toggle {
    flex: 0 0 auto !important;
    width: auto !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 0.7rem !important;
    white-space: nowrap;
  }

  body .site-header__utility .icon-button:not(.icon-button--cart) {
    width: 40px !important;
    padding: 0 !important;
    font-size: 1.1rem !important;
  }

  body .currency-switcher select {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 22px 0 10px !important;
    font-size: 12px !important;
  }

  body .wordmark span {
    font-size: 1.2rem;
  }
}

@media (max-width: 400px) {
  body .wordmark small {
    display: none;
  }

  body .currency-switcher {
    flex-basis: 80px !important;
    max-width: 100px !important;
  }
}
