/** Shopify CDN: Minification failed

Line 224:0 Unexpected "}"
Line 872:0 Unexpected "}"

**/
/*
  RAYS BY KEEMTI — styles for all Rays sections (sections/rays-*.liquid)
  Responsive / optimised version of rays.css

  Loaded from layout/theme.liquid, only on pages that contain a Rays section.

  Each section's rules are scoped with :is(.shopify-section--rays-xxx, #rays-scope). The class matches the section's
  wrapper; "#rays-scope" never exists in the page and is only there to give the selector the strength of an ID, so the
  Rays overrides keep winning over the product card styles in keemti-card.css (which use a lot of !important).

  Values that come from section settings (spacing, labels, columns) are set as CSS variables in a small <style> block
  inside each section.

  ── Breakpoints ──────────────────────────────────────────────────────────────────────────────────────────────────────
     < 700px        mobile           (unchanged from the original file)
     700 – 999px    tablet           (mobile layout, 32px side padding, a few headings scale up)
     1000 – 1585px  laptop / desktop (fluid: fonts and spacing scale with the screen width, side padding 50 → 72px)
     ≥ 1586px       large desktop    (every token reaches its original design value → looks exactly as before)

  ── How the fluid tokens work ────────────────────────────────────────────────────────────────────────────────────────
     --rays-fs-36 is "the design's 36px font": it is 36px at ≥1586px, ~32.6px at 1440px, ~30.8px at 1366px and never
     goes below its floor (26px here, the mobile size). Same idea for --rays-sp-* (spacing), --rays-h-* (control heights)
     and --rays-icon-*. To tune the whole desktop scale, only edit the :root block below.
*/

/* ==================================================================================================================
   Design tokens
   ================================================================================================================== */

:root {
  --text-font-family-rays: 'Red Hat Display';
  --rays-gutter: 16px; /* side padding of every Rays container */
}

@media screen and (min-width: 700px) {
  :root {
    --rays-gutter: 32px;
  }
}

@media screen and (min-width: 1000px) {
  :root {
    /* 50px @1000 → 68px @1366 → 72px from 1440 to 1585 */
    --rays-gutter: clamp(48px, 5vw, 72px);

    /* Font sizes — name = size on large desktop (≥1586px) */
    --rays-fs-13: clamp(12px, 6.262px + 0.4248vw, 13px);
    --rays-fs-14: clamp(12px, 6.744px + 0.4575vw, 14px);
    --rays-fs-15: clamp(12px, 7.225px + 0.4902vw, 15px);
    --rays-fs-16: clamp(13px, 7.707px + 0.5229vw, 16px);
    --rays-fs-17: clamp(13.5px, 8.189px + 0.5556vw, 17px);
    --rays-fs-18: clamp(14.5px, 8.671px + 0.5882vw, 18px);
    --rays-fs-19: clamp(14px, 4.228px + 0.9314vw, 19px);
    --rays-fs-20: clamp(14.5px, 4.451px + 0.9804vw, 20px);
    --rays-fs-21: clamp(15px, 4.674px + 1.0294vw, 21px);
    --rays-fs-22: clamp(15.5px, 4.896px + 1.0784vw, 22px);
    --rays-fs-25: clamp(18px, 5.564px + 1.2255vw, 25px);
    --rays-fs-28: clamp(20px, -1.025px + 1.8301vw, 28px);
    --rays-fs-34: clamp(24px, -1.244px + 2.2222vw, 34px);
    --rays-fs-36: clamp(26px, -1.318px + 2.3529vw, 36px);
    --rays-fs-44: clamp(28px, -1.610px + 2.8758vw, 44px);
    --rays-fs-48: clamp(30px, -1.757px + 3.1373vw, 48px);

    /* Spacing (gaps, paddings, margins) */
    --rays-sp-18: clamp(12px, 1.207px + 1.0588vw, 18px);
    --rays-sp-22: clamp(14px, 1.475px + 1.2941vw, 22px);
    --rays-sp-24: clamp(16px, 1.609px + 1.4118vw, 24px);
    --rays-sp-28: clamp(18px, 1.878px + 1.6471vw, 28px);
    --rays-sp-30: clamp(20px, 2.012px + 1.7647vw, 30px);
    --rays-sp-32: clamp(20px, 2.146px + 1.8824vw, 32px);
    --rays-sp-34: clamp(20px, 2.280px + 2.0000vw, 34px);
    --rays-sp-35: clamp(24px, 2.347px + 2.0588vw, 35px);
    --rays-sp-38: clamp(24px, 2.548px + 2.2353vw, 38px);
    --rays-sp-42: clamp(24px, 2.816px + 2.4706vw, 42px);
    --rays-sp-60: clamp(40px, 4.024px + 3.5294vw, 60px);
    --rays-sp-90: clamp(48px, 6.035px + 5.2941vw, 90px);
    --rays-sp-100: clamp(48px, 6.706px + 5.8824vw, 100px);

    /* Control heights and icons */
    --rays-h-40: clamp(34px, 2.682px + 2.3529vw, 40px);
    --rays-h-52: clamp(42px, 3.487px + 3.0588vw, 52px);
    --rays-h-54: clamp(42px, 3.621px + 3.1765vw, 54px);
    --rays-h-58: clamp(46px, 3.889px + 3.4118vw, 58px);
    --rays-icon-24: clamp(20px, 1.609px + 1.4118vw, 24px);
    --rays-icon-28: clamp(18px, 1.878px + 1.6471vw, 28px);
    --rays-icon-40: clamp(30px, 2.682px + 2.3529vw, 40px);

    /* Product cards: rating line sits 14px above the Add to bag button, card keeps room for both */
    --rays-atc-h: var(--rays-h-58);
    --rays-rating-bottom: calc(var(--rays-atc-h) + 20px);
    --rays-card-pb: calc(var(--rays-atc-h) + 44px);
  }
}

@media screen and (min-width: 1586px) {
  :root {
    --rays-gutter: 35px; /* original large-desktop padding */
  }
}

body.template-page-rays-by-keemti {
  font-family: var(--text-font-family-rays);
}

/* Theme containers on the Rays page follow the same side padding as the Rays sections */
@media screen and (min-width: 1000px) {
  .container {
    max-width: unset;
    padding-inline: var(--rays-gutter) !important;
  }
}

/* ==================================================================================================================
   Product list ("Just dropped") — sections/rays-product-list.liquid
   ================================================================================================================== */

:is(.shopify-section--rays-product-list, #rays-scope) {
  --rays-pl-text: #0c1b46;
  --rays-pl-muted: #4a5470;
  --rays-pl-accent: #1d3fa8;
  --rays-pl-image-bg: #edf0f6;
  --rays-pl-font: 'Red Hat Display', var(--text-font-family, sans-serif);

  padding-block: var(--rays-padding-top-mobile) var(--rays-padding-bottom-mobile);
  background: #ffffff;
  color: var(--rays-pl-text);
  font-family: var(--rays-pl-font);
}

:is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__inner {
  margin-inline: auto;
  padding-inline: var(--rays-gutter);
}

/* ── Header ── */
:is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: 1.5rem;
}

:is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--rays-pl-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

:is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__heading {
  margin: 0;
  color: var(--rays-pl-text);
  font-family: inherit;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
}

:is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__subheading {
  margin: 0.6rem 0 0;
  color: var(--rays-pl-muted);
  font-size: 15px;
}

:is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__view-all {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: #002496;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

/* ── Grid: 2 columns on mobile, 4 columns on desktop ── */
:is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__grid li,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-pl__grid li {
  padding-inline: 0;
}

/* ── Card layout: image → swatches → title → spec → price → rating → button (desktop) ── */
:is(.shopify-section--rays-product-list, #rays-scope) .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Figure is made static so badge, wishlist and button position against the whole card */
:is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure {
  position: static;
  overflow: visible;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-slider {
  border-radius: 18px;
  /* background: var(--rays-pl-image-bg); */
  border: 1px solid var(--rays-pl-image-bg);
  isolation: isolate;
}

/* :is(.shopify-section--rays-product-list, #rays-scope) .kc-slider::before {
  padding-top: 100%; /* square, as design */
} */

:is(.shopify-section--rays-product-list, #rays-scope) .kc-slide-img {
  object-fit: cover;
}

/* Elements of the card that are not part of this design */
:is(.shopify-section--rays-product-list, #rays-scope) .kc-bar,
:is(.shopify-section--rays-product-list, #rays-scope) .kc-save,
:is(.shopify-section--rays-product-list, #rays-scope) .kc-discount-chip-wrap {
  display: none !important;
}


:is(.shopify-section--rays-product-list, #rays-scope) .kc-specifications-wrap,
:is(.shopify-section--rays-product-list, #rays-scope) .kc-spec {
  color: #3D4E75 !important;
  font-size: 16px;
  order: 3;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-specifications-wrap,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-spec {
  order: 2;
  font-size: 16px;
  color: #3D4E75 !important;
}

/* Badge → white pill, top left */
:is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-slider {
  top: 12px;
  left: 12px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--rays-pl-text);
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-window,
:is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-text {
  height: 28px;
  flex-basis: 28px;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-text {
  font-size: 12px;
  font-weight: 600;
}

/* Actions wrapper is dissolved: wishlist goes top right, add to cart goes to the bottom of the card */
:is(.shopify-section--rays-product-list, #rays-scope) .kc-actions {
  display: contents;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgb(255 255 255 / 0.85) !important;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] .st-wishlist-icon {
  width: 20px;
  height: 20px;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 46px !important;
  padding: 0 1rem !important;
  border: 1px solid var(--rays-pl-text) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--rays-pl-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease !important;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc svg {
  display: none;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc::after {
  content: var(--rays-pl-atc-label);
  font-family: var(--rays-pl-font);
  font-size: 16px;
  font-weight: 400;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc:hover,
:is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc.loading {
  background: var(--rays-pl-text) !important;
  color: #ffffff;
}

/* Rating chip → plain "★ 4.5 · 210 reviews" line, just above the Add to bag button */
:is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-rating-chip {
  top: auto;
  bottom: 72px;
  left: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: #3D4E75;
  font-size: 16px;
  font-weight: 600;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-rcount,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-rating-inner .kc-rcount {
  color: #3D4E75;
  font-size: 16px;
  font-weight: 600;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-rating-inner {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-rating-inner .kc-star {
  order: -1;
  color: #3D4E75;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-rating-inner .kc-pipe {
  display: none;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-rating-inner .kc-rcount::before,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-rating-inner .kc-rcount::before {
  content: "· ";
  margin-left: -8px;
  margin-right: 2px;
  font-size: 16px;
  line-height: 1;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-rating-inner .kc-rcount::after {
  content: var(--rays-pl-reviews-label);
}

/* Info: re-ordered to swatches → title → spec → price */
:is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__info {
  padding: 0 !important;
  gap: 0 !important;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-meta {
  order: 1;
  margin-bottom: 10px;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-swatches {
  gap: 9px;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-swatch {
  background-image: none !important;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-swatch--active,
:is(.shopify-section--rays-product-list, #rays-scope) .kc-swatch:hover {
  box-shadow: 0 0 0 1px var(--rays-pl-text) !important;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-name {
  order: 2;
  color: var(--rays-pl-text) !important;
  font-family: var(--rays-pl-font);
  font-size: 17px !important;
  text-transform: capitalize;
  font-weight: 500 !important;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card__info > .kc-spec {
  order: 3;
  margin-top: 5px;
  color: var(--rays-pl-muted) !important;
  font-size: 13px;
  white-space: normal;
}

:is(.shopify-section--rays-product-list, #rays-scope) .kc-price-wrap {
  order: 4;
  margin-top: 10px;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card price-list {
  gap: 12px;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card sale-price {
  color: var(--rays-pl-text) !important;
  font-family: var(--rays-pl-font);
  font-size: 17px !important;
  font-weight: 600 !important;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card compare-at-price {
  color: #5B6A8C !important;
  font-family: var(--rays-pl-font);
  font-size: 13px !important;
}

/* ── Mobile + tablet: image, title, price and rating (as design) ── */
@media screen and (max-width: 999.98px) {
  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__header {
    flex-wrap: nowrap;
    margin-bottom: 14px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__heading {
    margin: 0 !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__view-all {
    font-size: 14px;
    font-weight: 500;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__subheading,
  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__label--desktop,
  :is(.shopify-section--rays-product-list, #rays-scope) .product-card__info > .kc-spec,
  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__grid > .rays-pl__item--mobile-hidden {
    display: none !important;
  }

  /* Add to cart → bag icon at the bottom right of the image, like the theme product cards */
  :is(.shopify-section--rays-product-list, #rays-scope) .product-card,
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card {
    padding-bottom: 22px; /* room for the rating line */
    container-type: inline-size; /* 100cqw = card width = height of the square image */
    gap: 10px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-rating-chip {
    bottom: 4px;
    font-size: 12px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-rcount,
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .kc-rcount {
    font-size: 12px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc {
    top: calc(130cqw - 34px);
    right: 6px;
    bottom: auto;
    left: auto;
    z-index: 3;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgb(255 255 255 / 0.85) !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc svg {
    display: block;
    width: 14px;
    height: 14px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc svg path {
    stroke: currentColor;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc::after {
    content: none;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-slider {
    border-radius: 12px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-slider {
    top: 8px;
    left: 8px;
    height: 22px;
    padding: 0 8px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-window,
  :is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-text {
    height: 22px;
    flex-basis: 22px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-text {
    font-size: 11px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .st-wishlist-button[data-type=product-card],
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] .st-wishlist-icon,
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] .st-wishlist-icon {
    width: 15px !important;
    height: 15px !important;
    min-height: unset !important;
    min-width: unset !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-name {
    font-size: 15px !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-price-wrap {
    margin-top: 4px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card price-list {
    gap: 8px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card sale-price,
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card sale-price {
    font-size: 16px !important;
    line-height: 1;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card compare-at-price {
    font-size: 12px !important;
  }
}

@media screen and (min-width: 700px) and (max-width: 999.98px) {
  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__grid {
    gap: 28px 20px;
  }
}

/* ── Desktop (fluid between 1000px and 1586px) ── */
@media screen and (min-width: 1000px) {
  :is(.shopify-section--rays-product-list, #rays-scope) {
    padding-block: var(--rays-padding-top) var(--rays-padding-bottom);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__header {
    margin-bottom: 1.4rem;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__eyebrow {
    font-size: var(--rays-fs-15);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__heading {
    font-size: var(--rays-fs-36);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__subheading {
    margin-top: 0.9rem;
    font-size: var(--rays-fs-19);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__view-all {
    font-size: var(--rays-fs-18);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__label--mobile,
  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__grid > .rays-pl__item--desktop-hidden {
    display: none;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .rays-pl__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem var(--rays-sp-30);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card {
    gap: var(--rays-sp-18);
    padding-bottom: var(--rays-card-pb); /* room for the rating line + Add to bag button */
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-slider {
    top: 17px;
    left: 17px;
    height: 32px;
    padding: 0 13px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-window,
  :is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-text {
    height: 32px;
    flex-basis: 32px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-badge-text {
    font-size: var(--rays-fs-15);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] {
    display: flex !important;
    width: var(--rays-h-54) !important;
    height: var(--rays-h-54) !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] .st-wishlist-icon {
    width: var(--rays-icon-24);
    height: var(--rays-icon-24);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc {
    height: var(--rays-atc-h) !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc::after {
    font-size: var(--rays-fs-18);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-rating-chip {
    bottom: var(--rays-rating-bottom);
    font-size: var(--rays-fs-16);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-rating-chip,
  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-rcount,
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-rating-inner .kc-rcount {
    font-weight: 400;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-rcount,
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-rating-inner .kc-rcount,
  :is(.shopify-section--rays-product-list, #rays-scope) .kc-rating-inner .kc-rcount::before,
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-rating-inner .kc-rcount::before {
    font-size: var(--rays-fs-16);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-meta {
    margin-bottom: 14px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-swatch {
    width: 20px !important;
    height: 20px !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card .kc-name {
    font-size: var(--rays-fs-22) !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card__info > .kc-spec {
    margin-top: 8px;
    font-size: var(--rays-fs-16);
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .kc-price-wrap {
    margin-top: 0;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card price-list {
    gap: 16px;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card sale-price {
    font-size: var(--rays-fs-22) !important;
  }

  :is(.shopify-section--rays-product-list, #rays-scope) .product-card compare-at-price {
    font-size: var(--rays-fs-17) !important;
  }
}

/* ==================================================================================================================
   Tabbed collections ("Featured collections") — sections/rays-tabbed-collections.liquid
   ================================================================================================================== */

:is(.shopify-section--rays-tabbed-collections, #rays-scope) {
  --rays-tc-text: #0B1A41;
  --rays-tc-muted: #3D4E75;
  --rays-tc-accent: #1d3fa8;
  --rays-tc-border: #c9cfdc;
  --rays-tc-image-bg: #edf0f6;
  --rays-tc-font: 'Red Hat Display', var(--text-font-family, sans-serif);

  padding-block: var(--rays-padding-top-mobile) var(--rays-padding-bottom-mobile);
  background: #ffffff;
  color: var(--rays-tc-text);
  font-family: var(--rays-tc-font);
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__inner {
  margin-inline: auto;
  padding-inline: var(--rays-gutter);
}

/* ── Header: titles + link (mobile), tabs below on mobile / right on desktop ── */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__header {
  display: grid;
  grid-template-areas: "titles link" "tabs tabs";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px 1rem;
  margin-bottom: 14px;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__titles {
  grid-area: titles;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--rays-tc-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__heading {
  margin: 0 !important;
  color: #0B1A41;
  font-family: inherit;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__view-all {
  grid-area: link;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--rays-tc-accent);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

/* Tabs and the product row scroll edge to edge on mobile/tablet: negative margin = the container padding */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__tabs {
  grid-area: tabs;
  display: flex;
  gap: 8px;
  margin: 0 calc(-1 * var(--rays-gutter));
  padding: 0 var(--rays-gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__tabs::-webkit-scrollbar,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__grid::-webkit-scrollbar {
  display: none;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__tab {
  flex: none;
  height: 34px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--rays-tc-border);
  border-radius: 999px;
  background: transparent;
  color: var(--rays-tc-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__tab:hover {
  border-color: var(--rays-tc-text);
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__tab[aria-selected="true"] {
  border-color: var(--rays-tc-text);
  background: var(--rays-tc-text);
  color: #ffffff;
}

/* ── Grid: swipe row on mobile, 4 columns on desktop ── */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 47%;
  gap: 10px;
  margin: 0 calc(-1 * var(--rays-gutter));
  padding: 0 var(--rays-gutter);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rays-gutter);
  scrollbar-width: none;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__grid > li {
  scroll-snap-align: start;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__panel[hidden] {
  display: none;
}

/* ── Card layout: image → title → spec → price → rating → add to cart ── */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Figure is made static so badge, wishlist, rating and button position against the whole card */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure {
  position: static;
  overflow: visible;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-slider {
  border-radius: 12px;
  /* background: var(--rays-tc-image-bg); */
  border: 1px solid var(--rays-tc-image-bg);
  isolation: isolate;
}

/* :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-slider::before {
  padding-top: 100%; /* square, as design */
} */

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-slide-img {
  object-fit: cover;
}

/* Elements of the card that are not part of this design */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-bar,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-save,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-discount-chip-wrap {
  display: none !important;
}

/* Badge → navy pill, top left */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-badge-slider {
  top: 8px;
  left: 8px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--rays-tc-text);
  color: #ffffff;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-badge-window,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-badge-text {
  height: 22px;
  flex-basis: 22px;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-badge-text {
  font-size: 10px;
  font-weight: 500;
}

/* Actions wrapper is dissolved: wishlist goes top right, add to cart goes to the bottom of the card */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-actions {
  display: contents;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  padding: 0 1rem !important;
  border: 1px solid var(--rays-tc-text) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--rays-tc-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease !important;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc svg {
  display: none;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc::after {
  content: var(--rays-tc-atc-label);
  font-family: var(--rays-tc-font);
  font-weight: 400;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc:hover,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc.loading {
  background: var(--rays-tc-text) !important;
  color: #ffffff;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  z-index: 3 !important;
  display: flex !important;
  place-items: center;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgb(255 255 255 / 0.85) !important;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] .st-wishlist-icon {
  width: 15px;
  height: 15px;
}

/* Rating chip → plain "★ 4.5 · 210 reviews" line, just above the Add to bag button */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .kc-rating-chip {
  top: auto;
  bottom: 0;
  left: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: #3d4e75;
  font-size: 12px;
  font-weight: 600;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-rating-inner {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-rating-inner .kc-star {
  order: -1;
  color: #3d4e75;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-rating-inner .kc-pipe {
  display: none;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-rating-inner .kc-rcount::after {
  content: var(--rays-tc-reviews-label);
}

/* Info: title → spec → price */
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__info {
  padding: 10px 0 0 !important;
  gap: 0 !important;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .kc-name {
  order: 1;
  color: var(--rays-tc-text) !important;
  font-family: var(--rays-tc-font);
  font-size: 15px !important;
  font-weight: 500 !important;
  text-transform: capitalize;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card__info > .kc-spec {
  order: 2;
  display: none;
  margin-top: 6px;
  color: var(--rays-tc-muted) !important;
  font-size: 16px;
  white-space: normal;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-price-wrap {
  order: 3;
  margin-top: 8px;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card price-list {
  gap: 8px;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card sale-price {
  color: var(--rays-tc-text) !important;
  font-family: var(--rays-tc-font);
  font-size: 16px !important;
  font-weight: 600 !important;
}

:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card compare-at-price {
  color: var(--rays-tc-muted) !important;
  font-family: var(--rays-tc-font);
  font-size: 11px !important;
}

/* Mobile + tablet: add to cart → bag icon at the bottom right of the image, like the theme product cards */
@media screen and (max-width: 999.98px) {
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc {
    top: calc(130cqw - 34px);
    right: 6px;
    bottom: auto;
    left: auto;
    z-index: 3;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgb(255 255 255 / 0.85) !important;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc svg {
    display: block;
    width: 14px;
    height: 14px;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc svg path {
    stroke: currentColor;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc::after {
    content: none;
  }
}

@media screen and (min-width: 700px) and (max-width: 999.98px) {
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__grid {
    grid-auto-columns: 31%;
    gap: 16px;
  }
}

/* ── Desktop (fluid between 1000px and 1586px) ── */
@media screen and (min-width: 1000px) {
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) {
    padding-block: var(--rays-padding-top) var(--rays-padding-bottom);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__header {
    grid-template-areas: "titles tabs";
    gap: 1rem 2rem;
    margin-bottom: var(--rays-sp-30);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__view-all {
    display: none;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__eyebrow {
    margin-bottom: 1.1rem;
    font-size: var(--rays-fs-15);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__heading {
    font-size: var(--rays-fs-36);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__tabs {
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__tab {
    height: var(--rays-h-52);
    padding: 0 var(--rays-sp-30);
    font-size: var(--rays-fs-18);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem var(--rays-sp-30);
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card {
    padding-bottom: var(--rays-card-pb); /* room for the rating line + Add to bag button */
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc {
    height: var(--rays-atc-h) !important;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__figure button.kc-btn.kc-btn--atc::after {
    font-size: var(--rays-fs-18);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-slider {
    border-radius: 18px;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-badge-slider {
    top: 17px;
    left: 17px;
    height: 32px;
    padding: 0 12px;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-badge-window,
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-badge-text {
    height: 32px;
    flex-basis: 32px;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-badge-text {
    font-size: var(--rays-fs-15);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] {
    width: var(--rays-h-54) !important;
    height: var(--rays-h-54) !important;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .st-wishlist-button[data-type=product-card] .st-wishlist-icon {
    width: var(--rays-icon-24);
    height: var(--rays-icon-24);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .kc-rating-chip {
    bottom: var(--rays-rating-bottom);
    font-size: var(--rays-fs-15);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .product-card__info {
    padding-top: 0 !important;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .kc-name {
    font-size: var(--rays-fs-22) !important;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card__info > .kc-spec {
    display: block;
    font-size: var(--rays-fs-16);
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-price-wrap {
    margin-top: 0;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card price-list {
    gap: 16px;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card sale-price {
    font-size: var(--rays-fs-22) !important;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card compare-at-price {
    font-size: var(--rays-fs-17) !important;
  }
}

@media screen and (min-width: 1586px) {
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .rays-tc__inner {
    padding-inline: var(--rays-gutter); /* original large-desktop value for this section */
  }
}

/* ==================================================================================================================
   Icons with text — sections/rays-icon-text.liquid
   ================================================================================================================== */

:is(.shopify-section--rays-icon-text, #rays-scope) {
  --rays-it-text: #0c1b46;
  --rays-it-muted: #4a5470;
  --rays-it-border: #eceef2;

  background: #ffffff;
  border-bottom: 1px solid #DFE5EE;
  color: var(--rays-it-text);
  font-family: 'Red Hat Display', var(--text-font-family, sans-serif);
}

:is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__list {
  display: flex;
  gap: 24px;
  margin: 0 auto;
  padding: 14px 20px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

:is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__list::-webkit-scrollbar {
  display: none;
}

:is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__item {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

:is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--rays-it-text);
}

:is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__icon svg,
:is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

:is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__title {
  margin: 0;
  color: var(--rays-it-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

:is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__text {
  display: none;
  margin: 2px 0 0;
  color: #3D4E75;
  font-size: 16px;
  line-height: 1.35;
}

@media screen and (min-width: 1000px) {
  :is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__list {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px var(--rays-sp-32);
    padding: 20px var(--rays-gutter);
    overflow: visible;
  }

  :is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__list li {
    padding-inline: 0;
  }

  :is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__item {
    flex: 0 1 auto;
    gap: var(--rays-sp-18);
  }

  :is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__icon {
    width: var(--rays-icon-40);
    height: var(--rays-icon-40);
  }

  :is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__title {
    font-size: var(--rays-fs-19);
  }

  :is(.shopify-section--rays-icon-text, #rays-scope) .rays-it__text {
    display: block;
    font-size: var(--rays-fs-16);
  }
}

/* ==================================================================================================================
   Theme sections used on the Rays page — collection list, image with text, multi column, rich text, gifting
   ================================================================================================================== */

/* ── Shared section headings ── */
:is(.shopify-section--collection-list, #rays-scope) .h6,
:is(.shopify-section--collection-list, #rays-scope) .h2,
:is(.shopify-section--multi-column, #rays-scope) .section-header .h6,
:is(.shopify-section--multi-column, #rays-scope) .section-header .h2 {
  font-family: var(--text-font-family-rays);
}

.rays-gifting-section .h6,
.rays-gifting-section .h2,
:is(.shopify-section--rich-text, #rays-scope) .h6,
:is(.shopify-section--rich-text, #rays-scope) .h4 {
  font-family: var(--text-font-family-rays) !important;
}

:is(.shopify-section--collection-list, #rays-scope) > .section-spacing .h6,
:is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose .h6 {
  color: #3D4E75;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
}

.rays-gifting-section .h6,
:is(.shopify-section--multi-column, #rays-scope) .section-header .h6,
:is(.shopify-section--rich-text, #rays-scope) .h6 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}

:is(.shopify-section--collection-list, #rays-scope) > .section-spacing h2,
:is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose .h4 {
  color: #0B1A41;
  font-size: 26px;
  font-weight: 400;
  margin: 0 !important;
  text-transform: none;
  letter-spacing: 0;
}

.rays-gifting-section .h2,
:is(.shopify-section--multi-column, #rays-scope) .section-header .h2,
:is(.shopify-section--rich-text, #rays-scope) .h4 {
  margin: 0 !important;
  font-size: 26px;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* ── Collection list ── */
:is(.shopify-section--collection-list, #rays-scope) > .section-spacing {
  font-family: var(--text-font-family-rays);
  padding-block: 40px 10px;
}

:is(.shopify-section--collection-list, #rays-scope) > .section-spacing .section-stack {
  gap: 10px;
}

:is(.shopify-section--collection-list, #rays-scope) > .section-spacing .content-over-media {
  min-height: unset;
}

:is(.shopify-section--collection-list, #rays-scope) > .section-spacing .collection-card__content {
  display: none;
}

:is(.shopify-section--collection-list, #rays-scope) > .section-spacing .content-over-media--sm {
  --content-over-media-height: unset;
}

:is(.shopify-section--collection-list, #rays-scope) > .section-spacing .section-stack img {
  aspect-ratio: 753 / 851;
  border-radius: 16px;
}

:is(.shopify-section--collection-list, #rays-scope) > .section-spacing .collection-list {
  --collection-list-gap: 12px;
}

/* ── Image with text ── */
:is(.shopify-section--image-with-text, #rays-scope) img {
  width: 100%;
  display: block;
}

:is(.shopify-section--image-with-text, #rays-scope) image-with-text {
  background-color: #EDF0F4;
}

:is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose {
  margin-block: 30px 45px;
  text-align: left;
  font-family: var(--text-font-family-rays);
}

:is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose .h6,
:is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose .h4 {
  font-family: var(--text-font-family-rays);
}

:is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose div > p {
  font-size: 15px;
  color: #1C2B52;
  line-height: 1.5;
}

:is(.shopify-section--image-with-text, #rays-scope) image-with-text .prose :is(.button, .button-group:has(.button)) {
  display: flex;
  width: 130px;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #0B1A41;
  background: #0B1A41;
  color: #FFF;
  font-family: "Red Hat Display";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
}

/* ── Multi column (incl. "fine prints") ── */
:is(.shopify-section--multi-column, #rays-scope) .section-stack {
  gap: 10px;
}

:is(.shopify-section--multi-column, #rays-scope) .multi-column {
  --rays-mc-gap: 12px;
  display: flex;
  gap: var(--rays-mc-gap);
  padding-block-end: 0;
  margin: 0;
  padding-inline: 0;
}

:is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item {
  width: calc(50% - 6px);
  background: #EDF0F4;
  padding: 20px 16px;
  border-radius: 16px;
}

:is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item:nth-child(even) {
  background: #A5D7FC;
}

:is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item .h3 {
  font-size: 24px;
  font-family: var(--text-font-family-rays);
  letter-spacing: 0;
  color: #0B1A41;
  line-height: 1;
}

:is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item a.link {
  margin-top: 14px;
  font-size: 14px;
  font-family: var(--text-font-family-rays);
  letter-spacing: 0;
  color: #0B1A41;
  text-decoration: none !important;
  font-weight: 600;
  border: 0;
  background: unset;
}

.section-stack.rays-fine-prints multi-column {
  flex-wrap: wrap;
  margin-top: 12px;
}

:is(.shopify-section--multi-column, #rays-scope) .rays-fine-prints .multi-column {
  margin-block-end: 0;
  padding-block-end: 0;
}

:is(.shopify-section--multi-column, #rays-scope) .rays-fine-prints .multi-column .multi-column__item {
  gap: 0;
}

:is(.shopify-section--multi-column, #rays-scope) .rays-fine-prints .multi-column .multi-column__item:nth-child(2n) {
  background: #edf0f4;
}

:is(.shopify-section--multi-column, #rays-scope) .rays-fine-prints .multi-column .multi-column__item div > img {
  max-width: 45px;
  margin-bottom: 12px;
}

:is(.shopify-section--multi-column, #rays-scope) .rays-fine-prints .multi-column .multi-column__item p {
  font-family: 'Red Hat Display';
  margin: 0;
  color: #3D4E75;
  font-size: 13px;
}

:is(.shopify-section--multi-column, #rays-scope) .rays-fine-prints .multi-column .multi-column__item .h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 10px;
}

/* ── Gifting ── */
.rays-gifting-section .section-header.justify-self-center.text-center {
  text-align: left;
  justify-self: start;
}

.rays-gifting-section .section-stack {
  gap: 10px;
}

.rays-gifting-section h2 {
  color: #0B1A41;
}

.rays-gifting-section h2.h2 + p {
  display: none;
}

/* ── Image slider dots ── */
.kslider {
  position: relative;
}

.kslider__dots {
  position: absolute;
  bottom: 40px;
  padding: 0;
  width: 100%;
  gap: 6px;
}

.kslider__dots button.kslider__dot {
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: rgba(11, 26, 65, 0.30);
  transition: all 0.3s ease-out;
}

.kslider__dots button.kslider__dot[aria-current="true"] {
  width: 24px;
  background-color: #0B1A41;
}

.shopify-section-group-footer-group.shopify-section--apps {
  display: none;
}

:is(.shopify-section--rays-product-list, #rays-scope) .product-card .st-wishlist-button[data-type=product-card].st-is-added svg,
:is(.shopify-section--rays-tabbed-collections, #rays-scope) .product-card .st-wishlist-button[data-type=product-card].st-is-added svg {
  color: #0B1A41 !important;
}

@media only screen and (max-width: 768px) {
  .rays-gifting-section .media-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    width: calc(100% + 30px);
    margin: 0 -15px;
    padding: 0 15px;
  }

  .rays-gifting-section .media-grid .media-grid__item {
    min-width: 270px;
  }

  .keemti-image-slider button.kslider__arrow {
    display: none !important;
  }
}

/* ── Tablet: let the big display headings grow a little towards their desktop size ── */
@media screen and (min-width: 700px) and (max-width: 999.98px) {
  :is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item .h3 {
    font-size: clamp(24px, 10px + 2vw, 30px);
  }

  :is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose .h4 {
    font-size: clamp(26px, 16.667px + 1.3333vw, 30px);
  }
}

/* ── Desktop (fluid between 1000px and 1586px) ── */
@media screen and (min-width: 1000px) {
  :is(.shopify-section--collection-list, #rays-scope) > .section-spacing .h6,
  :is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose .h6,
  .rays-gifting-section .h6,
  :is(.shopify-section--multi-column, #rays-scope) .section-header .h6,
  :is(.shopify-section--rich-text, #rays-scope) .h6 {
    font-size: var(--rays-fs-15);
    color: #3D4E75;
  }

  :is(.shopify-section--collection-list, #rays-scope) > .section-spacing h2,
  :is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose .h4,
  .rays-gifting-section .h2,
  :is(.shopify-section--multi-column, #rays-scope) .section-header .h2,
  :is(.shopify-section--rich-text, #rays-scope) .h4 {
    font-size: var(--rays-fs-36);
    color: #0B1A41;
  }

  /* Collection list */
  :is(.shopify-section--collection-list, #rays-scope) > .section-spacing {
    padding-block: 50px;
  }

  :is(.shopify-section--collection-list, #rays-scope) > .section-spacing .section-stack {
    gap: 20px;
  }

  :is(.shopify-section--collection-list, #rays-scope) > .section-spacing .section-stack img {
    aspect-ratio: 157 / 95;
  }

  :is(.shopify-section--collection-list, #rays-scope) > .section-spacing .content-over-media--sm {
    border-radius: 16px;
  }

  :is(.shopify-section--collection-list, #rays-scope) > .section-spacing .collection-list {
    --collection-list-gap: var(--rays-sp-30);
  }

  /* Image with text */
  :is(.shopify-section--image-with-text, #rays-scope) image-with-text {
    padding: var(--rays-sp-60) var(--rays-gutter);
    margin: 20px 0 0;
  }

  :is(.shopify-section--image-with-text, #rays-scope) image-with-text picture {
    border-radius: 25px;
    overflow: hidden;
  }

  :is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose {
    max-width: 500px;
  }

  :is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose .h4 {
    font-size: var(--rays-fs-48);
  }

  :is(.shopify-section--image-with-text, #rays-scope) image-with-text > .prose div > p {
    font-size: var(--rays-fs-21);
    line-height: 1.6;
  }

  :is(.shopify-section--image-with-text, #rays-scope) image-with-text .prose :is(.button, .button-group:has(.button)) {
    width: 150px;
    font-size: var(--rays-fs-19);
  }

  /* Multi column */
  :is(.shopify-section--multi-column, #rays-scope) .section-stack {
    gap: var(--rays-sp-30);
  }

  :is(.shopify-section--multi-column, #rays-scope) .multi-column {
    --rays-mc-gap: var(--rays-sp-30);
  }

  :is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item {
    padding: var(--rays-sp-35);
  }

  :is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item .h3 {
    font-size: var(--rays-fs-48);
  }

  :is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item a.link {
    font-size: var(--rays-fs-22);
    margin-top: var(--rays-sp-30);
  }

  /* Fine prints: 4 per row (3 gaps shared by 4 items; -0.5px guards against sub-pixel wrapping) */
  :is(.shopify-section--multi-column, #rays-scope) .rays-fine-prints .multi-column .multi-column__item {
    width: calc(25% - var(--rays-mc-gap) * 0.75 - 0.5px);
  }

  :is(.shopify-section--multi-column, #rays-scope) .rays-fine-prints .multi-column .multi-column__item .h5 {
    font-size: var(--rays-fs-25);
    color: #0B1A41;
  }

  :is(.shopify-section--multi-column, #rays-scope) .rays-fine-prints .multi-column .multi-column__item p {
    font-size: var(--rays-fs-19);
    color: #3D4E75;
    margin-top: var(--rays-sp-18);
  }

  /* Gifting */
  .rays-gifting-section .section-stack {
    gap: 20px;
  }

  .rays-gifting-section h2.h2 + p {
    display: block;
    margin: 10px 0 0;
    color: #3D4E75;
    font-size: var(--rays-fs-20);
  }

  .rays-gifting-section .media-grid {
    --media-grid-column-count: 3;
    display: grid;
    grid: auto-flow dense auto / repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: var(--media-grid-gap);
  }

  .rays-gifting-section .media-grid__item {
    height: auto;
    grid-area: unset;
  }

  .rays-gifting-section .content-over-media {
    aspect-ratio: 514 / 425;
    width: 100%;
    border-radius: 25px;
  }
}

/* ==================================================================================================================
   Offer tabs — sections/rays-offer-tabs.liquid
   ================================================================================================================== */

:is(.shopify-section--rays-offer-tabs, #rays-scope) {
  --rays-ot-text: #0c1b46;
  --rays-ot-image-bg: #edf0f6;

  padding-block: 30px;
  background: #ffffff;
  color: var(--rays-ot-text);
  font-family: 'Red Hat Display', var(--text-font-family, sans-serif);
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 12px) / 1.5); /* 1.5 cards visible */
  gap: 20px;
  margin: 0 auto;
  padding: 0 var(--rays-gutter);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rays-gutter);
  scrollbar-width: none;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__list::-webkit-scrollbar {
  display: none;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  aspect-ratio: 497 / 265;
  padding: 14px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--rays-ot-image-bg);
  scroll-snap-align: start;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__heading,
:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__text,
:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code {
  position: relative;
  z-index: 1;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__heading {
  margin: 0;
  color: var(--rays-ot-text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__text {
  max-width: 85%;
  margin: 8px 0 0;
  color: var(--rays-ot-text);
  font-size: 13px;
  line-height: 1.4;
}

/* Coupon code pill — click copies the code and shows "Copied!" for a moment */
:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  margin: auto 0 0;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--rays-ot-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code svg {
  flex: none;
  width: 16px;
  height: 16px;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code-copied,
:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__icon-check,
:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code.is-copied .rays-ot__code-label,
:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code.is-copied .rays-ot__icon-copy {
  display: none;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code.is-copied {
  background: var(--rays-ot-text);
  color: #ffffff;
}

:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code.is-copied .rays-ot__code-copied,
:is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code.is-copied .rays-ot__icon-check {
  display: block;
}

@media screen and (min-width: 700px) {
  /* Let the card grow instead of cutting off the code pill when the text needs more room.
     overflow: clip still rounds the image corners but, unlike hidden, keeps aspect-ratio as a minimum height. */
  :is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__card {
    overflow: clip;
  }
}

@media screen and (min-width: 700px) and (max-width: 999.98px) {
  :is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__list {
    grid-auto-columns: calc((100% - 32px) / 2.5);
    gap: 16px;
  }
}

@media screen and (min-width: 1000px) {
  :is(.shopify-section--rays-offer-tabs, #rays-scope) {
    padding-block: 32px;
  }

  :is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__list {
    grid-auto-flow: row;
    grid-template-columns: repeat(var(--rays-ot-columns), minmax(0, 1fr));
    gap: var(--rays-sp-34);
    overflow: visible;
  }

  :is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__card {
    padding: var(--rays-sp-32) 20px 20px;
    border-radius: 14px;
  }

  :is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__heading {
    font-size: var(--rays-fs-28);
  }

  :is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__text {
    margin-top: var(--rays-sp-18);
    font-size: var(--rays-fs-17);
  }

  :is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code {
    gap: 10px;
    height: var(--rays-h-58);
    padding: 0 var(--rays-sp-24);
    font-size: var(--rays-fs-17);
  }

  :is(.shopify-section--rays-offer-tabs, #rays-scope) .rays-ot__code svg {
    width: 18px;
    height: 18px;
  }
}

/* ==================================================================================================================
   Lookbook ("Ways to wear it" / "Tap a reel, shop the look") — sections/rays-lookbook.liquid
   Layouts: .rays-lb--lookbook (large, tall and stacked cards) and .rays-lb--reels (equal portrait cards)
   ================================================================================================================== */

:is(.shopify-section--rays-lookbook, #rays-scope) {
  --rays-lb-text: #0c1b46;
  --rays-lb-muted: #4a5470;
  --rays-lb-accent: #1d3fa8;
  --rays-lb-image-bg: #edf0f6;

  padding-block: var(--rays-padding-top-mobile, 32px) var(--rays-padding-bottom-mobile, 40px);
  background: #ffffff;
  color: var(--rays-lb-text);
  font-family: 'Red Hat Display', var(--text-font-family, sans-serif);
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__inner {
  margin-inline: auto;
}

:is(.shopify-section--rays-lookbook, #rays-scope) ul li {
  padding: 0;
}

/* ── Header ── */
:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: 0.9rem;
  padding-inline: var(--rays-gutter);
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__eyebrow {
  margin: 0;
  color: var(--rays-lb-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__heading {
  margin: 0 !important;
  color: var(--rays-lb-text);
  font-family: inherit;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__desktop-only {
  display: none;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__view-all {
  display: none; /* Lookbook layout: desktop only */
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: #002496;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__view-all {
  display: block;
}

/* ── Cards: swipe row on mobile ── */
:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 52%;
  gap: 10px;
  margin: 0;
  padding: 0 var(--rays-gutter);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rays-gutter);
  scrollbar-width: none;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__grid {
  grid-auto-columns: 48%;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__grid::-webkit-scrollbar {
  display: none;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  padding: 14px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--rays-lb-image-bg);
  color: #ffffff;
  text-decoration: none;
  scroll-snap-align: start;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__card {
  aspect-ratio: 9 / 16;
  padding: 12px;
}

/* Image, video (<video-media> from the theme media snippet) or placeholder, filling the card */
:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__placeholder {
  background: var(--rays-lb-image-bg);
  fill: #b9c4da;
}

/* Dark fade at the bottom so the white text stays readable */
:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(12 27 70 / 0.55), rgb(12 27 70 / 0) 50%);
  pointer-events: none;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__title,
:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__text,
:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__button {
  position: relative;
  z-index: 1;
  margin: 0;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__title,
:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__text {
  color: #ffffff;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__title {
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__text,
:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__title {
  display: none; /* desktop only */
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__text {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
}

/* "Shop the look" pill */
:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__button {
  display: inline-flex;
  align-items: center;
  height: 36px;
  margin-top: 12px;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--rays-lb-text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

:is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__button {
  margin-top: 0;
}

@media screen and (min-width: 700px) and (max-width: 999.98px) {
  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__grid {
    grid-auto-columns: 31%;
    gap: 16px;
  }
}

/* ── Desktop (fluid between 1000px and 1586px) ── */
@media screen and (min-width: 1000px) {
  :is(.shopify-section--rays-lookbook, #rays-scope) {
    padding-block: var(--rays-padding-top, 48px) var(--rays-padding-bottom, 64px);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__inner {
    padding-inline: var(--rays-gutter);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__header {
    margin-bottom: 1.4rem;
    padding-inline: 0;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__eyebrow {
    font-size: var(--rays-fs-15);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__heading {
    font-size: var(--rays-fs-36);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__desktop-only {
    display: inline;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__mobile-only {
    display: none;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__view-all,
  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__text,
  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__title {
    display: block;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__view-all {
    font-size: var(--rays-fs-18);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__text {
    font-size: var(--rays-fs-17);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__grid {
    grid-auto-flow: row;
    gap: var(--rays-sp-30);
    padding: 0;
    overflow: visible;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__card:hover .rays-lb__image {
    transform: scale(1.03);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__card:hover .rays-lb__button {
    background: var(--rays-lb-text);
    color: #ffffff;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb__button {
    height: var(--rays-h-40);
    margin-top: var(--rays-sp-18);
    padding: 0 20px;
    font-size: var(--rays-fs-14);
  }

  /* Lookbook: large card, tall card, two stacked cards */
  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--lookbook .rays-lb__grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    aspect-ratio: 1560 / 662;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--lookbook .rays-lb__grid > li:nth-child(-n + 2) {
    grid-row: span 2;
  }

  /* The layout holds 4 cards; any extra cards show on mobile only */
  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--lookbook .rays-lb__grid > li:nth-child(n + 5) {
    display: none;
  }

  /* Only 3 cards: the last one fills the right column */
  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--lookbook .rays-lb__grid > li:nth-child(3):last-child {
    grid-row: span 2;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--lookbook .rays-lb__grid > li {
    min-height: 0;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--lookbook .rays-lb__card {
    height: 100%;
    aspect-ratio: auto;
    padding: var(--rays-sp-28) var(--rays-sp-24);
    border-radius: 18px;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--lookbook .rays-lb__grid > li:first-child .rays-lb__card {
    padding: var(--rays-sp-32) var(--rays-sp-38);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--lookbook .rays-lb__title {
    font-size: var(--rays-fs-28);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--lookbook .rays-lb__grid > li:first-child .rays-lb__title {
    font-size: var(--rays-fs-34);
  }

  /* Reels: equal portrait cards, 4 per row */
  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--rays-sp-22);
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__card {
    aspect-ratio: 300 / 478;
    padding: 16px;
    border-radius: 18px;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__title {
    max-width: 260px;
    margin: 0 0 var(--rays-sp-30);
    font-size: var(--rays-fs-36);
    line-height: 1.3;
  }

  :is(.shopify-section--rays-lookbook, #rays-scope) .rays-lb--reels .rays-lb__button {
    font-size: var(--rays-fs-18);
    padding-block: 24px;
  }
}

/* ==================================================================================================================
   Marquee — sections/rays-marquee.liquid
   ================================================================================================================== */

:is(.shopify-section--rays-marquee, #rays-scope) {
  --rays-mq-text: #0c1b46;
  --rays-mq-bg: #97b9e1;
  --scrolling-content-content-gap: 18px;

  background: var(--rays-mq-bg);
  color: var(--rays-mq-text);
  font-family: 'Red Hat Display', var(--text-font-family, sans-serif);
}

:is(.shopify-section--rays-marquee, #rays-scope) .rays-mq {
  padding-block: 10px;
}

:is(.shopify-section--rays-marquee, #rays-scope) .rays-mq__text {
  margin: 0;
  color: var(--rays-mq-text);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
}

:is(.shopify-section--rays-marquee, #rays-scope) .rays-mq .scrolling-content__item {
  gap: 10px;
}

:is(.shopify-section--rays-marquee, #rays-scope) .rays-mq .scrolling-content .scrolling-content__item {
  margin-inline: 5px;
}

:is(.shopify-section--rays-marquee, #rays-scope) .rays-mq__star {
  display: block;
  flex: none;
  width: 10px;
  height: 10px;
}

/* Tablet: 20px → 28px text so it meets the desktop size at 1000px */
@media screen and (min-width: 700px) and (max-width: 999.98px) {
  :is(.shopify-section--rays-marquee, #rays-scope) {
    --scrolling-content-content-gap: 32px;
  }

  :is(.shopify-section--rays-marquee, #rays-scope) .rays-mq {
    padding-block: 14px;
  }

  :is(.shopify-section--rays-marquee, #rays-scope) .rays-mq__text {
    font-size: clamp(20px, 1.333px + 2.6667vw, 28px);
  }

  :is(.shopify-section--rays-marquee, #rays-scope) .rays-mq__star {
    width: 16px;
    height: 16px;
  }
}

@media screen and (min-width: 1000px) {
  :is(.shopify-section--rays-marquee, #rays-scope) {
    --scrolling-content-content-gap: var(--rays-sp-90);
  }

  :is(.shopify-section--rays-marquee, #rays-scope) .rays-mq {
    padding-block: var(--rays-sp-22);
  }

  :is(.shopify-section--rays-marquee, #rays-scope) .rays-mq__text {
    font-size: var(--rays-fs-44);
  }

  :is(.shopify-section--rays-marquee, #rays-scope) .rays-mq__star {
    width: var(--rays-icon-28);
    height: var(--rays-icon-28);
  }
}

/* ==================================================================================================================
   FAQ ("The ones we hear most") — sections/rays-faq.liquid
   ================================================================================================================== */

:is(.shopify-section--rays-faq, #rays-scope) {
  --rays-faq-text: #0c1b46;
  --rays-faq-muted: #4a5470;
  --rays-faq-accent: #1d3fa8;
  --rays-faq-border: #dbe3f0;

  padding-block: var(--rays-padding-top-mobile) var(--rays-padding-bottom-mobile);
  background: #ffffff;
  color: var(--rays-faq-text);
  font-family: 'Red Hat Display', var(--text-font-family, sans-serif);
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq {
  display: grid;
  grid-template-areas: "header" "list" "link";
  margin-inline: auto;
  padding-inline: var(--rays-gutter);
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__header {
  grid-area: header;
  margin-bottom: 22px;
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--rays-faq-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__heading {
  margin: 0 !important;
  color: var(--rays-faq-text);
  font-family: inherit;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__link {
  grid-area: link;
  justify-self: start;
  margin-top: 22px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: #002496;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__link[hidden],
:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__label--desktop {
  display: none;
}

/* ── Questions: theme accordion, restyled ── */
:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list {
  grid-area: list;
  border-top: 1px solid #C6D4EA;
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .accordion {
  border-width: 0 0 1px;
  border-color: #C6D4EA;
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .accordion__toggle {
  padding-block: 15px;
  color: var(--rays-faq-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.rays-faq__list details summary {
  position: relative;
}

.rays-faq__list details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
}

.rays-faq__list details summary span.text-with-icon {
  color: #0B1A41;
  font-weight: 500;
}

/* + when closed, − when open */
:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .animated-plus {
  --animated-plus-size: 12px;
  flex: none;
  color: var(--rays-faq-accent);
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .animated-plus::before,
:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .animated-plus::after {
  background-color: currentColor;
  opacity: 1;
  transform: translate(-50%, -50%);
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .animated-plus::before {
  width: var(--animated-plus-size);
  height: 1.5px;
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .animated-plus::after {
  width: 1.5px;
  height: var(--animated-plus-size);
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list details[aria-expanded="true"] .animated-plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .accordion__content {
  margin-top: 0;
  padding: 0 0 18px;
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__answer,
:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__answer p {
  margin: 0;
  color: var(--rays-faq-muted);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
}

:is(.shopify-section--rays-faq, #rays-scope) .rays-faq__answer p + p {
  margin-top: 0.75em;
}

.kc-meta {
  margin-bottom: 8px;
}

/* Tablet: heading grows 26px → 30px to meet the desktop size at 1000px */
@media screen and (min-width: 700px) and (max-width: 999.98px) {
  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__heading {
    font-size: clamp(26px, 16.667px + 1.3333vw, 30px);
  }
}

/* ── Desktop: heading + link on the left, questions on the right ── */
@media screen and (min-width: 1000px) {
  :is(.shopify-section--rays-faq, #rays-scope) {
    padding-block: var(--rays-padding-top) var(--rays-padding-bottom);
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq {
    grid-template-areas: "header list" "link list";
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto 1fr;
    column-gap: var(--rays-sp-30);
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__header {
    max-width: 300px;
    margin-bottom: 0;
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__eyebrow {
    margin-bottom: 1.1rem;
    font-size: var(--rays-fs-13);
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__heading {
    font-size: var(--rays-fs-48);
    font-weight: 300;
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__link {
    align-self: start;
    margin-top: var(--rays-sp-42);
    font-size: var(--rays-fs-15);
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__label--desktop {
    display: inline;
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__label--mobile {
    display: none;
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .accordion__toggle {
    padding-block: 20px;
    font-size: var(--rays-fs-22);
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__list .accordion__content {
    padding-right: var(--rays-sp-100);
    padding-bottom: var(--rays-sp-22);
  }

  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__answer,
  :is(.shopify-section--rays-faq, #rays-scope) .rays-faq__answer p {
    font-size: var(--rays-fs-20);
  }
}

@media screen and (max-width : 768px) {
  :is(.shopify-section--rays-product-list, #rays-scope) .kc-specifications-wrap,
  :is(.shopify-section--rays-product-list, #rays-scope) .kc-spec {
    font-size: 14px;
  }

  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-specifications-wrap,
  :is(.shopify-section--rays-tabbed-collections, #rays-scope) .kc-spec {
    font-size: 14px;
  } 
}
@media screen and (max-width : 400px) {
  :is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item .h3 {
    font-size: 18px !important;
  }
}
@media screen and (max-width : 340px) {
  :is(.shopify-section--multi-column, #rays-scope) .multi-column .multi-column__item .h3 {
    font-size: 16px !important;
  }
}


html:has(.template-product-rays-product-page) header,
:is(header, #rays-scope) { 
  position: relative !important;
}


/* :is(.shopify-section--header, #rays-scope)  x-header {
    background: #0b1a41;
}

:is(.vanishing-announcement-bar, #rays-scope) {
    background: #97b9e1 !important;
    color: #0b1a41 !important;
}

:is(.vanishing-announcement-bar, #rays-scope) .vanishing-announcement-bar__card:after {
    background: #0b1a41;
} */