/** Shopify CDN: Minification failed

Line 6516:0 Expected "}" to go with "{"

**/
/* =========================================================
   REVAINE THEME
   CLEAN MASTER STYLESHEET
   ========================================================= */


/* =========================================================
   FONTS
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("archivo-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("archivo-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("archivo-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --bg: #f5f2ed;
  --card: #fcfaf6;
  --ink: #091019;
  --muted: #615d56;
  --border: #dbd7d0;

  --accent: #091019;
  --accent-fg: #fcfaf6;

  --racing-red: #d40000;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --max: 1400px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  background: var(--bg);
  color: var(--ink);

  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;

  padding: .6rem 1rem;

  background: var(--ink);
  color: #fff;

  border-radius: 999px;
}


/* =========================================================
   GENERAL LAYOUT
   ========================================================= */

.wrap {
  width: 100%;
  max-width: var(--max);

  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.section {
  padding-top: 64px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 16px;
  margin-bottom: 20px;
}

.display {
  margin: 0;

  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;

  letter-spacing: -.03em;
  line-height: .95;

  text-transform: uppercase;
}

h1.display {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
}

h2.display {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.eyebrow {
  font-size: .68rem;
  font-weight: 600;

  letter-spacing: .18em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: .5rem;

  border: 1px solid var(--ink);
  border-radius: 999px;

  background: var(--ink);
  color: #fff;

  padding: .7rem 1.4rem;

  font-size: .85rem;
  font-weight: 600;

  transition:
    opacity .2s ease,
    transform .2s ease,
    background .2s ease;
}

.btn:hover {
  opacity: .85;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--full {
  width: 100%;
}

.btn[disabled] {
  opacity: .45;
}


/* =========================================================
   HEADER
   REVAINE FLOATING GLASS NAV
   ========================================================= */

.header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;

  z-index: 40;

  padding: 0 12px;
}

.header__spacer {
  height: 4.5rem;
}

.header__inner {
  position: relative;

  width: 100%;
  max-width: var(--max);

  height: 56px;

  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 40% 20% 40%;

  align-items: center;

  border: 1px solid color-mix(
    in srgb,
    var(--border) 70%,
    transparent
  );

  border-radius: 999px;

  background: color-mix(
    in srgb,
    var(--bg) 70%,
    transparent
  );

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  box-shadow:
    0 8px 32px color-mix(
      in srgb,
      var(--ink) 8%,
      transparent
    );
}

.header__left {
  position: relative;

  display: flex;
  align-items: center;

  height: 100%;
  min-width: 0;

  padding-left: 52px;
}


/* =========================================================
   HEADER CIRCULAR MARK
   ========================================================= */

.header__mark {
  position: absolute;

  left: -14px;
  top: 50%;

  width: 46px;
  height: 46px;

  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;

  border-radius: 50%;
  overflow: hidden;

  background: #06182b;

  z-index: 30;
}

.header__mark img {
  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;

  border-radius: 50%;
}


/* =========================================================
   HEADER NAVIGATION
   ========================================================= */

.header__nav {
  display: flex;
  align-items: center;

  gap: 20px;

  margin: 0;
  padding: 0;

  white-space: nowrap;
}

.header__nav a {
  display: inline-flex;
  align-items: center;

  padding: 0;
  margin: 0;

  color: color-mix(
    in srgb,
    var(--ink) 75%,
    transparent
  );

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

  line-height: 1;
  white-space: nowrap;

  transition: color .2s ease;
}

.header__nav a:hover {
  color: var(--ink);
}


/* =========================================================
   HEADER CENTER LOGO
   ========================================================= */

.header__logo {
  grid-column: 2;

  justify-self: center;
  align-self: center;

  display: flex;
  align-items: center;
  justify-content: center;

  width: max-content;

  margin: 0;
  padding: 0;

  z-index: 5;
}

.header__logo img {
  display: block;

  width: auto;
  height: 32px;

  max-width: 130px;

  object-fit: contain;
}

.header__logo-text {
  font-family: "Archivo", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;

  letter-spacing: .12em;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header__actions {
  grid-column: 3;

  justify-self: end;

  display: flex;
  align-items: center;

  gap: 8px;

  height: 100%;

  margin: 0;
  padding: 0;
}

.icon-btn {
  position: relative;

  width: 32px;
  height: 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background: transparent;
  color: var(--ink);
}

.icon-btn:hover {
  background: rgba(0,0,0,.06);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}


/* =========================================================
   CART BUBBLE
   ========================================================= */

.cart-bubble {
  position: absolute;

  top: -3px;
  right: -3px;

  min-width: 15px;
  height: 15px;

  padding: 0 3px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: var(--ink);
  color: #fff;

  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.lg-hide {
  display: none;
}


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

.mobile-nav {
  display: none;
}

.mobile-nav.is-open {
  position: absolute;

  top: 66px;

  right: max(
    20px,
    calc((100vw - 1400px) / 2)
  );

  left: auto;

  width: 230px;
  max-width: calc(100vw - 24px);

  display: flex;
  flex-direction: column;

  padding: 9px 16px;

  background: rgba(245,242,237,.58);

  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;

  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);

  box-shadow:
    0 16px 40px rgba(9,16,25,.12),
    inset 0 1px 0 rgba(255,255,255,.7);

  z-index: 9999;
}

.mobile-nav.is-open a {
  display: block;
  width: 100%;

  padding: 11px 3px;

  color: var(--ink);

  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;

  border-bottom: 1px solid rgba(9,16,25,.1);
}

.mobile-nav.is-open a:last-child {
  border-bottom: 0;
}

.mobile-nav.is-open a:hover {
  color: var(--racing-red);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  width: 100%;
  max-width: var(--max);

  margin: 12px auto 0;
  padding: 0 12px;
}

.hero__frame {
  position: relative;

  height: 420px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.hero__slide {
  display: none;
  height: 100%;
}

.hero__slide.is-active {
  display: grid;
  grid-template-columns: 1fr;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 32px 28px;

  background: var(--card);
}

.hero__media {
  display: grid;

  gap: 1px;

  background: #fff;
}

.hero__media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top;
}

.hero__media--two {
  grid-template-columns: 1fr 1fr;
}

.hero__slide--racing .hero__copy {
  background: #0b0b0b;
  color: #fff;
}

.hero__slide--racing .hero__media {
  background: #0b0b0b;
}

.hero__slide--racing .eyebrow {
  color: var(--racing-red);
}

.hero__slide--racing .muted {
  color: rgba(255,255,255,.7);
}

.hero__slide--racing .btn {
  background: var(--racing-red);
  border-color: var(--racing-red);
}

.hero__bar {
  width: 48px;
  height: 3px;

  margin-bottom: 18px;

  background: var(--racing-red);
}

.hero__arrow {
  position: absolute;

  top: 50%;

  width: 38px;
  height: 38px;

  transform: translateY(-50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: rgba(255,255,255,.9);
}

.hero__arrow--prev {
  left: 12px;
}

.hero__arrow--next {
  right: 12px;
}

.hero__dots {
  position: absolute;

  bottom: 14px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  gap: 6px;
}

.hero__dot {
  width: 18px;
  height: 5px;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background: rgba(0,0,0,.25);
}

.hero__dot.is-active {
  width: 26px;
  background: var(--ink);
}

.hero__frame.is-racing .hero__arrow {
  background: rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.hero__frame.is-racing .hero__dot {
  background: rgba(255,255,255,.4);
}

.hero__frame.is-racing .hero__dot.is-active {
  background: var(--racing-red);
}


/* =========================================================
   SEARCH BAR
   ========================================================= */

.searchbar {
  display: flex;
  align-items: center;

  gap: 12px;

  width: 100%;
  max-width: 560px;

  margin: 0 auto;

  padding: 0 20px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--card);
}

.searchbar input {
  flex: 1;

  width: 100%;
  height: 48px;

  border: 0;
  outline: 0;

  background: transparent;

  font-size: .9rem;
}

.searchbar button {
  border: 0;
  background: transparent;

  font-size: .72rem;
  font-weight: 700;

  letter-spacing: .1em;
  text-transform: uppercase;
}


/* =========================================================
   SEARCH DIALOG
   ========================================================= */

.search-dialog {
  position: fixed;
  inset: 0;

  z-index: 80;
}

.search-dialog__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,.45);
}

.search-dialog__panel {
  position: relative;

  width: min(900px, calc(100vw - 40px));

  max-height: 70vh;

  margin: 12vh auto 0;
  padding: 32px;

  overflow-y: auto;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);
}

.search-dialog__panel .searchbar {
  width: 100%;
  max-width: none;

  min-height: 72px;

  padding: 0 18px;

  gap: 16px;
}

.search-dialog__panel .searchbar svg {
  width: 30px !important;
  height: 30px !important;

  min-width: 30px !important;
  min-height: 30px !important;
}

.search-dialog__panel .searchbar input[type="search"] {
  flex: 1;

  width: 100%;
  min-width: 0;

  height: 48px;

  padding: 0;

  border: 0 !important;
  outline: 0 !important;

  background: transparent;
  color: var(--ink);

  font-size: 14px;
}

.search-dialog__panel .searchbar input[type="search"]::placeholder {
  color: var(--muted);
}

.search-dialog__panel .searchbar button[type="submit"] {
  height: 40px;

  padding: 0 18px;

  border: 0;
  border-radius: 999px;

  background: var(--ink);
  color: var(--card);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-dialog__close {
  position: absolute;

  top: 18px;
  right: 22px;

  width: 32px;
  height: 32px;

  padding: 0;

  border: 0;

  background: transparent;
  color: var(--ink);

  font-size: 1.2rem;
  line-height: 1;
}

.search-dialog__results {
  margin-top: 18px;
}

.search-result {
  display: flex;
  align-items: center;

  gap: 12px;

  padding: 10px 6px;

  border-top: 1px solid var(--border);
}

.search-result img {
  width: 48px;
  height: 48px;

  object-fit: cover;

  border-radius: var(--radius-sm);
}

.search-result__title {
  margin: 0;

  font-size: .85rem;
  font-weight: 600;
}

.search-result__meta {
  margin: 2px 0 0;

  color: var(--muted);

  font-size: .75rem;
}

.search-dialog__empty {
  padding: 20px 6px;

  color: var(--muted);

  font-size: .85rem;
}


/* =========================================================
   GRIDS
   ========================================================= */

.grid {
  display: grid;

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

  gap: 16px;
}

@media (min-width: 768px) {
  .grid--4 {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }

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

@media (min-width: 1024px) {
  .grid--trust {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}


/* =========================================================
   GENERAL CARDS
   ========================================================= */

.card {
  background: var(--card);

  border: 1px solid var(--border);

  border-radius: var(--radius-md);
}


/* =========================================================
   STANDARD PRODUCT CARD
   ========================================================= */

.product-card__media {
  aspect-ratio: 4 / 5;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: var(--card);
}

.product-card__media img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .7s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__meta {
  display: flex;
  justify-content: space-between;

  gap: 12px;

  margin-top: 12px;
}

.product-card__title {
  margin: 0;

  font-size: .88rem;
  font-weight: 600;
}

.product-card__type {
  margin: 2px 0 0;

  color: var(--muted);

  font-size: .75rem;
}

.product-card__price {
  white-space: nowrap;

  font-size: .88rem;
  font-weight: 600;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.revaine-category-section {
  padding-top: 42px;
  padding-bottom: 0;
}

.revaine-category-section .section-head {
  margin-bottom: 22px;
}

.revaine-category-section .section-head .display {
  margin: 0;

  font-family: "Archivo", sans-serif;

  font-size: 30px;
  font-weight: 800;

  line-height: 1;
  letter-spacing: -.045em;

  text-transform: uppercase;
}

.revaine-category-section .category-strip {
  display: grid;

  grid-template-columns: repeat(5,minmax(0,1fr));

  gap: 10px;

  width: 100%;
}

.revaine-category-section .category-card {
  display: block;

  min-width: 0;

  color: var(--ink);
}

.revaine-category-section .category-card__image {
  position: relative;

  width: 100%;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  border: 1px solid #dedad4;
  border-radius: 14px;

  background: #eeeae3;
}

.revaine-category-section .category-card__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform .45s ease;
}

.revaine-category-section .category-card:hover
.category-card__image img {
  transform: scale(1.025);
}

.revaine-category-section .category-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 8px;

  padding: 9px 3px 0;
}

.revaine-category-section .category-card__title {
  font-family: "DM Sans", sans-serif;

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

  line-height: 1.3;
}

.revaine-category-section .category-card__arrow {
  flex-shrink: 0;

  font-size: 15px;

  transition: transform .2s ease;
}

.revaine-category-section .category-card:hover
.category-card__arrow {
  transform: translateX(3px);
}


/* =========================================================
   BANNERS
   ========================================================= */

.banner {
  position: relative;

  overflow: hidden;

  padding: 56px 28px;

  border-radius: var(--radius-lg);

  background: var(--ink);
  color: #fff;
}

.banner__bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: .45;
}

.banner__inner {
  position: relative;
}

.banner h2 {
  font-size: clamp(2rem,5vw,3.6rem);
}


/* =========================================================
   TRUST CARDS
   ========================================================= */

.trust-card {
  padding: 20px;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: var(--card);
}

.trust-card__icon {
  display: block;

  width: 16px;
  height: 16px;
}

.trust-card__icon svg {
  width: 16px;
  height: 16px;
}

.trust-card h3 {
  margin: 14px 0 4px;

  font-size: .85rem;
}

.trust-card p {
  margin: 0;

  color: var(--muted);

  font-size: .78rem;
}


/* =========================================================
   MANIFESTO
   ========================================================= */

.manifesto {
  overflow: hidden;

  padding: 64px 28px;

  border-radius: var(--radius-lg);

  background: var(--ink);
  color: var(--accent-fg);
}

.manifesto h2 {
  max-width: 780px;

  font-size: clamp(2rem,5vw,3.75rem);
}

.manifesto h2 span {
  display: block;

  color: rgba(255,255,255,.45);
}

.manifesto p {
  max-width: 540px;

  margin: 24px 0 0;

  color: rgba(255,255,255,.7);

  font-size: .9rem;
}


/* =========================================================
   NEWSLETTER
   ========================================================= */

.newsletter {
  padding: 44px 28px;

  border-radius: var(--radius-lg);

  background: var(--ink);
  color: #fff;
}

.newsletter form {
  display: flex;

  gap: 8px;

  width: 100%;
  max-width: 420px;

  margin-top: 20px;
}

.newsletter input {
  flex: 1;

  height: 44px;

  padding: 0 20px;

  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;

  outline: none;

  background: transparent;
  color: #fff;
}

.newsletter button {
  height: 44px;

  padding: 0 24px;

  border: 0;
  border-radius: 999px;

  background: #fff;
  color: var(--ink);

  font-weight: 700;
}


/* =========================================================
   BEST PRODUCT / SIGNATURE PIECE
   ========================================================= */

.revaine-best-product {
  width: 100%;
  padding: 0 22px;
}

.revaine-best-product__inner {
  width: 100%;
  max-width: 1400px;

  min-height: 560px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);
}

.revaine-best-product__media {
  position: relative;

  display: block;

  min-height: 560px;

  overflow: hidden;

  background: #eeeae3;
}

.revaine-best-product__media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform .7s ease;
}

.revaine-best-product__media:hover img {
  transform: scale(1.025);
}

.revaine-best-product__content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 70px 72px;
}

.revaine-best-product__eyebrow {
  margin: 0 0 18px;

  color: var(--muted);

  font-size: 11px;
  font-weight: 500;

  letter-spacing: .22em;

  text-transform: uppercase;
}

.revaine-best-product__title {
  max-width: 620px;

  margin: 0;

  font-family: "Archivo", sans-serif;

  font-size: clamp(38px,4.2vw,64px);
  font-weight: 800;

  line-height: .94;
  letter-spacing: -.055em;

  text-transform: uppercase;
}

.revaine-best-product__description {
  max-width: 500px;

  margin: 24px 0 0;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.6;
}

.revaine-best-product__price {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-top: 26px;
}

.revaine-best-product__current-price {
  font-size: 17px;
  font-weight: 700;
}

.revaine-best-product__compare-price {
  color: var(--muted);

  font-size: 13px;

  text-decoration: line-through;
}

.revaine-best-product__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;

  gap: 14px;

  margin-top: 28px;

  padding: 13px 21px;

  border-radius: 999px;

  background: var(--ink);
  color: #fff;

  font-size: 12px;
  font-weight: 700;

  transition:
    transform .2s ease,
    background .2s ease;
}

.revaine-best-product__button:hover {
  transform: translateY(-1px);

  background: var(--racing-red);
}

.revaine-best-product__button span {
  font-size: 16px;
}

.revaine-best-product__empty {
  grid-column: 1 / -1;

  min-height: 400px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--muted);

  font-size: 14px;
}


/* =========================================================
   LOOKBOOK
   1 WIDE TOP + 2 BOTTOM
   ========================================================= */

.revaine-lookbook {
  width: 100%;

  padding: 56px 20px 0;
}

.revaine-lookbook__inner {
  width: 100%;
  max-width: 1400px;

  margin: 0 auto;
}

.revaine-lookbook__heading {
  margin: 0 0 16px;

  color: var(--ink);

  font-family: "Archivo", sans-serif;

  font-size: clamp(24px,2.5vw,32px);
  font-weight: 800;

  line-height: 1;
  letter-spacing: -.045em;

  text-transform: uppercase;
}

.revaine-lookbook__grid {
  display: grid;

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

  gap: 12px;

  width: 100%;
}

.revaine-lookbook__item {
  display: block;

  width: 100%;

  overflow: hidden;

  border-radius: 14px;
}

.revaine-lookbook__item--large {
  grid-column: 1 / -1;

  aspect-ratio: 16 / 7;
}

.revaine-lookbook__item:not(.revaine-lookbook__item--large) {
  aspect-ratio: 4 / 5;
}

.revaine-lookbook__item img {
  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;
  object-position: center;

  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}

.revaine-lookbook__item:hover img {
  transform: scale(1.025);
}


/* =========================================================
   PRODUCT PAGE
   ========================================================= */

.product {
  display: grid;

  gap: 32px;

  padding-top: 40px;
}

.product__gallery {
  display: grid;

  gap: 12px;
}

.product__main-image {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);
}

.product__thumbs {
  display: flex;

  gap: 10px;

  flex-wrap: wrap;
}

.product__thumbs button {
  width: 74px;

  padding: 0;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-sm);

  background: none;
}

.product__thumbs button[aria-current="true"] {
  border-color: var(--ink);
}

.option {
  margin-top: 20px;
}

.option__label {
  font-size: .72rem;
  font-weight: 600;

  letter-spacing: .12em;
  text-transform: uppercase;
}

.option__values {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-top: 8px;
}

.option__values label {
  padding: .45rem 1rem;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--card);

  font-size: .8rem;

  cursor: pointer;
}

.option__values input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.option__values label:has(input:checked) {
  border-color: var(--ink);

  background: var(--ink);
  color: #fff;
}

.qty {
  display: inline-flex;
  align-items: center;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--card);
}

.qty button {
  width: 38px;
  height: 40px;

  border: 0;

  background: transparent;
}

.qty input {
  width: 44px;
  height: 40px;

  border: 0;

  outline: 0;

  background: transparent;

  text-align: center;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion details {
  border-bottom: 1px solid var(--border);
}

.accordion summary {
  padding: 14px 0;

  font-size: .88rem;
  font-weight: 600;

  cursor: pointer;

  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion__body {
  padding-bottom: 16px;

  color: var(--muted);

  font-size: .85rem;
}


/* =========================================================
   CART
   ========================================================= */

.cart-table {
  width: 100%;

  border-collapse: collapse;
}

.cart-table th {
  padding-bottom: 12px;

  color: var(--muted);

  text-align: left;

  font-size: .7rem;

  letter-spacing: .12em;
  text-transform: uppercase;
}

.cart-table td {
  padding: 16px 0;

  border-top: 1px solid var(--border);

  vertical-align: middle;
}

.cart-line {
  display: flex;
  align-items: center;

  gap: 14px;
}

.cart-line img {
  width: 72px;

  border-radius: var(--radius-sm);
}


/* =========================================================
   DRAWER
   ========================================================= */

.drawer {
  position: fixed;
  inset: 0;

  z-index: 60;

  display: none;
}

.drawer.is-open {
  display: block;
}

.drawer__overlay {
  position: absolute;
  inset: 0;

  width: 100%;

  border: 0;

  background: rgba(0,0,0,.45);
}

.drawer__panel {
  position: absolute;

  top: 0;
  right: 0;
  bottom: 0;

  width: min(420px,92vw);

  display: flex;
  flex-direction: column;

  padding: 20px;

  border-left: 1px solid var(--border);

  background: var(--bg);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  margin-top: 80px;

  border-top: 1px solid var(--border);

  background: var(--card);
}

.footer__inner {
  width: 100%;
  max-width: var(--max);

  margin: 0 auto;

  padding: 48px 20px;

  display: grid;

  gap: 32px;
}

.footer h3 {
  margin: 0 0 12px;

  font-size: .7rem;
  letter-spacing: .14em;

  text-transform: uppercase;
}

.footer ul {
  list-style: none;

  margin: 0;
  padding: 0;

  display: grid;

  gap: 8px;
}

.footer a {
  color: var(--muted);

  font-size: .85rem;
}

.footer a:hover {
  color: var(--ink);
}

.footer__tagline {
  max-width: 340px;

  margin: 16px 0 0;

  font-size: .85rem;
}

.footer__social {
  display: flex;

  gap: 8px;

  margin-top: 20px;
}

.footer__social a,
.footer__social span {
  width: 36px;
  height: 36px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: 50%;
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  width: 100%;
  max-width: var(--max);

  margin: 0 auto;

  padding: 18px 20px;

  display: flex;
  flex-direction: column;

  gap: 8px;

  border-top: 1px solid var(--border);

  color: var(--muted);

  font-size: .75rem;
}


/* =========================================================
   GENERAL PAGES
   ========================================================= */

.page-body {
  max-width: 760px;
}

.page-body h2 {
  margin-top: 28px;

  font-size: 1.1rem;
}

.rte img {
  border-radius: var(--radius-md);
}

.size-table {
  width: 100%;

  margin-top: 12px;

  border-collapse: collapse;

  font-size: .85rem;
}

.size-table th,
.size-table td {
  padding: 8px 12px;

  border: 1px solid var(--border);

  text-align: left;
}

.empty {
  padding: 64px 24px;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  color: var(--muted);

  text-align: center;

  font-size: .9rem;
}


/* =========================================================
   STANDARD PAGINATION
   ========================================================= */

.pagination {
  display: flex;
  justify-content: center;

  gap: 8px;

  padding: 40px 0;
}

.pagination a,
.pagination span {
  padding: .4rem .9rem;

  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: .8rem;
}

.pagination .current {
  border-color: var(--ink);

  background: var(--ink);
  color: #fff;
}


/* =========================================================
   =========================================================
   REVAINE COLLECTION PAGE
   =========================================================
   ========================================================= */

.revaine-collection {
  width: 100%;

  background: var(--bg);
  color: var(--ink);
}


/* =========================================================
   COLLECTION HERO
   ========================================================= */

.revaine-collection__hero {
  position: relative;

  width: 100%;

  min-height: 570px;

  margin: 0 0 70px;

  overflow: hidden;

  border-radius: 0 0 28px 28px;

  background: #111820;
}

.revaine-collection__hero-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.revaine-collection__hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(9,16,25,.78) 0%,
      rgba(9,16,25,.42) 48%,
      rgba(9,16,25,.10) 100%
    );
}

.revaine-collection__hero-content {
  position: relative;

  z-index: 2;

  width: min(1400px,calc(100% - 64px));

  min-height: 570px;

  margin: 0 auto;

  padding-bottom: 70px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  color: #fff;
}

.revaine-collection__breadcrumb {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 26px;

  font-size: 12px;
}

.revaine-collection__breadcrumb a {
  color: rgba(255,255,255,.68);
}

.revaine-collection__breadcrumb span {
  color: rgba(255,255,255,.65);
}

.revaine-collection__breadcrumb span:last-child {
  color: #fff;
}

.revaine-collection__eyebrow {
  margin: 0 0 14px;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: .16em;

  text-transform: uppercase;
}

.revaine-collection__hero-content h1 {
  max-width: 1000px;

  margin: 0;

  font-family: "Archivo", sans-serif;

  font-size: clamp(54px,8vw,110px);
  font-weight: 800;

  line-height: .88;
  letter-spacing: -.06em;

  text-transform: uppercase;
}

.revaine-collection__hero-description {
  max-width: 500px;

  margin: 22px 0 0;

  color: rgba(255,255,255,.78);

  font-size: 14px;
  line-height: 1.65;
}

.revaine-collection__hero-side {
  position: absolute;

  right: 38px;
  bottom: 68px;

  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;

  color: #fff;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: .12em;

  writing-mode: vertical-rl;
}

.revaine-collection__hero-side i {
  display: block;

  width: 1px;
  height: 48px;

  margin-top: 12px;

  background: rgba(255,255,255,.65);
}


/* =========================================================
   COLLECTION CONTAINER
   ========================================================= */

.revaine-collection__container {
  width: min(1400px,calc(100% - 64px));

  margin: 0 auto;
}


/* =========================================================
   COLLECTION MAIN LAYOUT
   ========================================================= */

.revaine-collection__layout {
  display: grid;

  grid-template-columns: 220px minmax(0,1fr);

  gap: 42px;

  align-items: start;
}


/* =========================================================
   COLLECTION SIDEBAR
   ========================================================= */

.revaine-collection__sidebar {
  position: sticky;

  top: 100px;
}

.revaine-collection__filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 18px;

  border-bottom: 1px solid var(--border);
}

.revaine-collection__filter-header h2 {
  margin: 0;

  font-family: "Archivo", sans-serif;

  font-size: 15px;
  font-weight: 800;

  text-transform: uppercase;
}

.revaine-collection__filter-header a {
  font-size: 10px;

  text-decoration: underline;
  text-underline-offset: 3px;
}

.revaine-collection__filter-close {
  display: none;
}


/* =========================================================
   COLLECTION FILTER
   ========================================================= */

.revaine-filter {
  border-bottom: 1px solid var(--border);
}

.revaine-filter summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 0;

  cursor: pointer;

  list-style: none;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: .04em;

  text-transform: uppercase;
}

.revaine-filter summary::-webkit-details-marker {
  display: none;
}

.revaine-filter__arrow {
  font-size: 17px;

  transition: transform .25s ease;
}

.revaine-filter[open]
.revaine-filter__arrow {
  transform: rotate(45deg);
}

.revaine-filter__content {
  padding-bottom: 18px;
}


/* =========================================================
   FILTER OPTIONS
   ========================================================= */

.revaine-filter-option {
  position: relative;

  min-height: 30px;

  display: flex;
  align-items: center;

  gap: 9px;

  cursor: pointer;

  font-size: 12px;
}

.revaine-filter-option input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.revaine-checkbox {
  width: 15px;
  height: 15px;

  flex: 0 0 15px;

  border: 1px solid #999;
  border-radius: 4px;
}

.revaine-filter-option input:checked
+ .revaine-checkbox {
  border-color: var(--ink);

  background: var(--ink);

  box-shadow:
    inset 0 0 0 3px var(--bg);
}

.revaine-filter-count {
  margin-left: auto;

  color: #999;

  font-size: 10px;
}


/* =========================================================
   SIZE FILTER
   ========================================================= */

.revaine-filter-option--size {
  display: inline-flex;

  margin: 0 5px 7px 0;
}

.revaine-filter-option--size
.revaine-size-box {
  min-width: 40px;

  padding: 8px 10px;

  border: 1px solid var(--border);
  border-radius: 999px;

  text-align: center;

  font-size: 10px;
  font-weight: 600;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.revaine-filter-option--size input:checked
+ .revaine-size-box {
  border-color: var(--ink);

  background: var(--ink);
  color: #fff;
}


/* =========================================================
   COLOR FILTER
   ========================================================= */

.revaine-filter-option--color {
  gap: 9px;
}

.revaine-color-dot {
  width: 17px;
  height: 17px;

  flex: 0 0 17px;

  border: 1px solid rgba(0,0,0,.18);

  border-radius: 50%;

  background: var(--revaine-swatch);
}

.revaine-filter-option--color input:checked
+ .revaine-color-dot {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}


/* =========================================================
   PRICE FILTER
   ========================================================= */

.revaine-price-range {
  position: relative;

  height: 22px;

  margin-bottom: 14px;
}

.revaine-price-line {
  position: absolute;

  top: 10px;
  left: 0;
  right: 0;

  height: 2px;

  background: var(--border);
}

.revaine-price-line span {
  position: absolute;
  inset: 0;

  background: var(--ink);
}

.revaine-price-knobs {
  position: absolute;
  inset: 0;
}

.revaine-price-knobs i {
  position: absolute;

  top: 5px;

  width: 12px;
  height: 12px;

  border: 2px solid var(--ink);
  border-radius: 50%;

  background: var(--bg);
}

.revaine-price-knobs i:first-child {
  left: 0;
}

.revaine-price-knobs i:last-child {
  right: 0;
}

.revaine-price-fields {
  display: flex;
  align-items: center;

  gap: 7px;
}

.revaine-price-field {
  width: 100%;
  height: 36px;

  display: flex;
  align-items: center;

  padding: 0 10px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--bg);
}

.revaine-price-field span {
  font-size: 10px;
}

.revaine-price-field input {
  width: 100%;
  min-width: 0;

  padding-left: 4px;

  border: 0;
  outline: 0;

  background: transparent;

  font-size: 11px;
}

.revaine-price-to {
  color: var(--muted);

  font-size: 10px;
}

.revaine-price-apply {
  width: 100%;

  margin-top: 10px;

  padding: 10px;

  border: 1px solid var(--ink);
  border-radius: 999px;

  background: var(--ink);
  color: #fff;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: .08em;
}


/* =========================================================
   COLLECTION TOOLBAR
   ========================================================= */

.revaine-collection__toolbar {
  min-height: 48px;

  margin-bottom: 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--border);
}

.revaine-collection__count {
  margin: 0;

  color: var(--muted);

  font-size: 11px;
}

.revaine-collection__toolbar-right {
  display: flex;
  align-items: center;

  gap: 18px;
}

.revaine-sort {
  min-width: 160px;

  padding: 7px 22px 7px 0;

  border: 0;
  outline: 0;

  background: transparent;

  color: var(--ink);

  font-size: 11px;
}

.revaine-view-buttons {
  display: flex;

  gap: 2px;
}

.revaine-view-button {
  width: 30px;
  height: 30px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: transparent;

  color: #999;
}

.revaine-view-button.is-active {
  color: var(--ink);

  background: rgba(9,16,25,.06);
}

.revaine-view-button svg {
  width: 15px;
  height: 15px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.5;
}


/* =========================================================
   COLLECTION MOBILE TOOLBAR
   ========================================================= */

.revaine-collection__mobile-toolbar {
  display: none;
}

.revaine-mobile-filter-button,
.revaine-mobile-sort-form select {
  border-radius: 999px;
}


/* =========================================================
   COLLECTION PRODUCT GRID
   ========================================================= */

.revaine-product-grid {
  display: grid;

  grid-template-columns: repeat(4,minmax(0,1fr));

  gap: 36px 14px;
}

.revaine-product-card {
  min-width: 0;
}


/* =========================================================
   COLLECTION PRODUCT IMAGE
   ========================================================= */

.revaine-product-card__media {
  position: relative;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--card);

  isolation: isolate;
}

.revaine-product-card__image {
  position: absolute;
  inset: 0;

  display: block;

  overflow: hidden;

  border-radius: inherit;
}

.revaine-product-card__image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform .7s cubic-bezier(.22,.61,.36,1),
    opacity .45s ease;
}

.revaine-product-card__image-hover {
  position: absolute !important;

  inset: 0;

  opacity: 0;

  border-radius: inherit;

  transition: opacity .45s ease;
}

.revaine-product-card:hover
.revaine-product-card__image-hover {
  opacity: 1;
}

.revaine-product-card:hover
.revaine-product-card__image > img:first-child {
  transform: scale(1.035);
}


/* =========================================================
   COLLECTION PRODUCT BADGE
   ========================================================= */

.revaine-product-card__badge {
  position: absolute;

  top: 12px;
  left: 12px;

  z-index: 3;

  padding: 6px 10px;

  border-radius: 999px;

  background: var(--ink);
  color: #fff;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .08em;
}


/* =========================================================
   COLLECTION WISHLIST
   ========================================================= */

.revaine-product-card__wishlist {
  position: absolute;

  top: 10px;
  right: 10px;

  z-index: 3;

  width: 35px;
  height: 35px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: rgba(255,255,255,.88);

  color: var(--ink);

  backdrop-filter: blur(10px);
}

.revaine-product-card__wishlist svg {
  width: 17px;
  height: 17px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.5;
}

.revaine-product-card__wishlist.is-active svg {
  fill: currentColor;
}


/* =========================================================
   COLLECTION PRODUCT INFO
   ========================================================= */

.revaine-product-card__info {
  padding-top: 12px;
}

.revaine-product-card__title {
  display: block;

  color: var(--ink);

  font-size: 12px;
  font-weight: 600;

  line-height: 1.35;
}

.revaine-product-card__price {
  margin-top: 5px;

  font-size: 12px;
  font-weight: 600;
}

.revaine-product-card__price s {
  margin-left: 5px;

  color: #999;

  font-size: 10px;
}

.revaine-product-card__sale-price {
  font-weight: 700;
}


/* =========================================================
   COLLECTION SWATCHES
   ========================================================= */

.revaine-product-card__swatches {
  display: flex;

  gap: 5px;

  margin-top: 9px;
}

.revaine-product-card__swatch {
  width: 13px;
  height: 13px;

  display: block;

  border: 1px solid rgba(0,0,0,.15);

  border-radius: 50%;

  background: var(--product-swatch);
}


/* =========================================================
   COLLECTION LARGE VIEW
   ========================================================= */

.revaine-product-grid[data-view="large"] {
  grid-template-columns: repeat(2,minmax(0,1fr));

  gap: 40px 18px;
}


/* =========================================================
   COLLECTION LIST VIEW
   ========================================================= */

.revaine-product-grid[data-view="list"] {
  grid-template-columns: 1fr;

  gap: 22px;
}

.revaine-product-grid[data-view="list"]
.revaine-product-card {
  display: grid;

  grid-template-columns: 190px minmax(0,1fr);

  gap: 24px;
}

.revaine-product-grid[data-view="list"]
.revaine-product-card__info {
  align-self: center;
}


/* =========================================================
   COLLECTION PAGINATION
   ========================================================= */

.revaine-pagination {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  margin: 60px 0 90px;
}

.revaine-pagination a,
.revaine-pagination span {
  min-width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 8px;

  border: 1px solid transparent;
  border-radius: 999px;

  color: var(--ink);

  font-size: 11px;
}

.revaine-pagination a:hover,
.revaine-pagination span.is-current {
  border-color: var(--border);
}


/* =========================================================
   COLLECTION EMPTY
   ========================================================= */

.revaine-collection__empty {
  padding: 90px 20px;

  border: 1px solid var(--border);
  border-radius: 20px;

  text-align: center;
}

.revaine-collection__empty h2 {
  margin: 0;

  font-family: "Archivo", sans-serif;

  font-size: 28px;

  text-transform: uppercase;
}

.revaine-collection__empty p {
  margin: 10px 0 20px;

  color: var(--muted);

  font-size: 13px;
}

.revaine-collection__empty a {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* =========================================================
   COLLECTION MOBILE FILTER DRAWER
   ========================================================= */

.revaine-collection__filter-overlay {
  display: none;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (min-width: 768px) {

  .header {
    top: 16px;

    padding-left: 20px;
    padding-right: 20px;
  }

  .header__spacer {
    height: 5rem;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__frame {
    height: 540px;
  }

  .hero__slide.is-active {
    grid-template-columns: 1fr 1fr;
  }

  .hero__copy {
    padding: 48px;
  }

  .banner {
    padding: 88px 64px;
  }

  .manifesto {
    padding: 88px 64px;
  }

  .newsletter {
    padding: 52px 56px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
  }

  .newsletter form {
    margin-top: 0;
  }

  .product {
    grid-template-columns: 1.1fr .9fr;

    gap: 48px;
  }

  .footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;

    padding: 56px 32px;
  }

  .footer__bottom {
    padding-left: 32px;
    padding-right: 32px;

    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .revaine-category-section .category-strip {
    grid-template-columns: repeat(5,minmax(0,1fr));
  }

}


/* =========================================================
   RESPONSIVE — HEADER / TABLET
   ========================================================= */

@media (max-width: 1023px) {

  .header__inner {
    grid-template-columns: 1fr auto;

    padding-left: 16px;
    padding-right: 16px;
  }

  .header__left {
    display: none;
  }

  .header__logo {
    position: absolute;

    left: 50%;
    top: 50%;

    grid-column: auto;

    transform: translate(-50%,-50%);
  }

  .lg-hide {
    display: inline-flex;
  }

  .mobile-nav.is-open {
    right: 12px;

    top: 66px;
  }

}


/* =========================================================
   RESPONSIVE — COLLECTION TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .revaine-collection__layout {
    grid-template-columns: 190px minmax(0,1fr);

    gap: 28px;
  }

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

}


/* =========================================================
   RESPONSIVE — CATEGORY
   ========================================================= */

@media (max-width: 900px) {

  .revaine-category-section .category-strip {
    grid-template-columns: repeat(3,minmax(0,1fr));

    gap: 10px;
  }

  .revaine-best-product {
    padding-left: 16px;
    padding-right: 16px;
  }

  .revaine-best-product__content {
    padding: 50px 40px;
  }

  .revaine-best-product__title {
    font-size: 42px;
  }

  .revaine-lookbook {
    padding: 48px 16px 0;
  }

  .revaine-lookbook__grid {
    gap: 10px;
  }

  .revaine-lookbook__item--large {
    aspect-ratio: 16 / 7;
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .revaine-best-product {
    padding: 40px 10px 0;
  }

  .revaine-best-product__inner {
    display: flex;
    flex-direction: column;

    min-height: 0;

    border-radius: var(--radius-md);
  }

  .revaine-best-product__media {
    width: 100%;

    min-height: 430px;
    height: 430px;
  }

  .revaine-best-product__content {
    padding: 38px 24px 42px;
  }

  .revaine-best-product__eyebrow {
    margin-bottom: 13px;

    font-size: 9px;
  }

  .revaine-best-product__title {
    font-size: clamp(34px,11vw,48px);
  }

  .revaine-best-product__description {
    margin-top: 18px;

    font-size: 12px;
  }

  .revaine-best-product__price {
    margin-top: 20px;
  }

  .revaine-best-product__button {
    margin-top: 22px;
  }

}


/* =========================================================
   RESPONSIVE — LOOKBOOK MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .header__inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 56px;

    padding-left: 14px;
    padding-right: 14px;
  }

  .header__left {
    display: none;
  }

  .header__logo {
    position: static;

    order: 1;

    transform: none;

    margin: 0;
  }

  .header__logo img {
    height: 28px;

    max-width: 130px;
  }

  .header__actions {
    order: 2;

    margin-left: auto;

    display: flex;

    gap: 0;
  }

  .header__actions > .icon-btn:not([data-menu-toggle]) {
    display: none;
  }

  .header__actions > [data-menu-toggle] {
    display: inline-flex;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 1px solid rgba(9,16,25,.18);
    border-radius: 50%;

    background: transparent;
  }

  .header__actions > [data-menu-toggle] svg {
    width: 17px;
    height: 17px;
  }

  .mobile-nav.is-open {
    top: calc(100% + 8px);

    right: 0;
    left: auto;

    width: 215px;

    padding: 8px 15px;

    border-radius: 16px;

    background: rgba(245,242,237,.62);

    border: 1px solid rgba(255,255,255,.65);

    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);

    box-shadow:
      0 14px 35px rgba(9,16,25,.12),
      inset 0 1px 0 rgba(255,255,255,.7);
  }

  .mobile-nav.is-open a {
    padding: 10px 3px;

    font-size: 12px;
  }


  /* CATEGORY */

  .revaine-category-section {
    padding-top: 30px;
  }

  .revaine-category-section .section-head {
    margin-bottom: 16px;
  }

  .revaine-category-section .section-head .display {
    font-size: 23px;
  }

  .revaine-category-section .category-strip {
    grid-template-columns: repeat(2,minmax(0,1fr));

    gap: 9px;
  }

  .revaine-category-section .category-card__image {
    border-radius: 11px;
  }

  .revaine-category-section .category-card__footer {
    padding-top: 7px;
  }

  .revaine-category-section .category-card__title {
    font-size: 11px;
  }


  /* LOOKBOOK */

  .revaine-lookbook {
    padding: 38px 10px 0;
  }

  .revaine-lookbook__heading {
    margin-bottom: 12px;

    font-size: 23px;
  }

  .revaine-lookbook__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));

    gap: 8px;
  }

  .revaine-lookbook__item--large {
    grid-column: 1 / -1;

    aspect-ratio: 16 / 8;

    border-radius: 10px;
  }

  .revaine-lookbook__item:not(.revaine-lookbook__item--large) {
    aspect-ratio: 4 / 5;

    border-radius: 10px;
  }


  /* COLLECTION */

  .revaine-collection__hero {
    min-height: 470px;

    margin-bottom: 42px;

    border-radius: 0 0 20px 20px;
  }

  .revaine-collection__hero-content {
    width: calc(100% - 30px);

    min-height: 470px;

    padding-bottom: 40px;
  }

  .revaine-collection__hero-content h1 {
    font-size: clamp(44px,13vw,70px);
  }

  .revaine-collection__hero-description {
    max-width: 330px;

    font-size: 12px;
  }

  .revaine-collection__hero-side {
    right: 14px;

    bottom: 42px;
  }

  .revaine-collection__container {
    width: calc(100% - 24px);
  }

  .revaine-collection__mobile-toolbar {
    display: flex;

    gap: 8px;

    margin-bottom: 20px;
  }

  .revaine-mobile-filter-button,
  .revaine-mobile-sort-form {
    flex: 1;
  }

  .revaine-mobile-filter-button {
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: transparent;
    color: var(--ink);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .08em;
  }

  .revaine-mobile-sort-form select {
    width: 100%;
    height: 42px;

    padding: 0 12px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: transparent;
    color: var(--ink);

    font-size: 10px;
  }

  .revaine-collection__layout {
    display: block;
  }

  .revaine-collection__toolbar {
    display: none;
  }

  .revaine-collection__sidebar {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 100;

    width: min(340px,88vw);
    height: 100dvh;

    overflow-y: auto;

    padding: 24px 22px 40px;

    background: var(--bg);

    transform: translateX(-105%);

    transition:
      transform .35s cubic-bezier(.22,.61,.36,1);
  }

  .revaine-collection__sidebar.is-open {
    transform: translateX(0);
  }

  .revaine-collection__filter-close {
    display: block;

    border: 0;

    background: transparent;
    color: var(--ink);

    font-size: 25px;
    line-height: 1;
  }

  .revaine-collection__filter-overlay {
    position: fixed;
    inset: 0;

    z-index: 90;

    display: block;

    background: rgba(0,0,0,.4);

    opacity: 0;

    pointer-events: none;

    transition: opacity .3s ease;
  }

  .revaine-collection__filter-overlay.is-open {
    opacity: 1;

    pointer-events: auto;
  }

  html.revaine-filter-open {
    overflow: hidden;
  }

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

    gap: 26px 8px;
  }

  .revaine-product-card__media {
    border-radius: 12px;
  }

  .revaine-product-card__wishlist {
    width: 30px;
    height: 30px;

    top: 7px;
    right: 7px;
  }

  .revaine-product-card__title {
    font-size: 11px;
  }

  .revaine-product-card__price {
    font-size: 11px;
  }

  .revaine-product-grid[data-view="large"] {
    grid-template-columns: 1fr;
  }

  .revaine-product-grid[data-view="list"]
  .revaine-product-card {
    grid-template-columns: 115px minmax(0,1fr);

    gap: 14px;
  }

}


/* =========================================================
   RESPONSIVE — SMALL PHONE
   ========================================================= */

@media (max-width: 480px) {

  .mobile-nav.is-open {
    right: 8px;

    top: 64px;

    width: 215px;

    padding: 8px 15px;

    border-radius: 16px;
  }

  .mobile-nav.is-open a {
    padding: 10px 3px;

    font-size: 12px;
  }

  .revaine-collection__hero {
    min-height: 420px;
  }

  .revaine-collection__hero-content {
    width: calc(100% - 24px);

    min-height: 420px;

    padding-bottom: 30px;
  }

  .revaine-collection__hero-side {
    display: none;
  }

  .revaine-collection__breadcrumb {
    margin-bottom: 18px;

    font-size: 10px;
  }

  .revaine-collection__eyebrow {
    font-size: 9px;
  }

  .revaine-collection__hero-content h1 {
    font-size: 43px;
  }

  .revaine-product-grid {
    gap: 24px 7px;
  }

  .revaine-best-product__media {
    min-height: 360px;
    height: 360px;
  }

  .revaine-best-product__content {
    padding: 32px 20px 36px;
  }

}


/* =========================================================
   SMALL PHONE — 400px
   ========================================================= */

@media (max-width: 400px) {

  .revaine-lookbook {
    padding-left: 10px;
    padding-right: 10px;
  }

  .revaine-lookbook__grid {
    gap: 7px;
  }

  .revaine-lookbook__heading {
    font-size: 21px;
  }

}

/* =========================================================
   REVAINE — FINAL MOBILE LAYER
   FIXED HEADER + CLEAN PRODUCT GRID
   ========================================================= */

@media (max-width: 749px) {

  /* =======================================================
     FIXED FLOATING HEADER
     Header stays permanently above page content while
     the website scrolls underneath it.
     ======================================================= */

  .header {
    position: fixed !important;
    top: 12px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 12px !important;
    z-index: 999999 !important;
    transform: none !important;
  }

  .header__inner {
    position: relative !important;
    z-index: 1000000 !important;
  }

  /* Keep page content below the floating header */
  .header__spacer {
    display: block !important;
    height: 80px !important;
  }

  /* =======================================================
     MOBILE MENU
     Opens from the header and remains above all content.
     ======================================================= */

  .mobile-nav.is-open {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 1000001 !important;
  }

  /* =======================================================
     ALL PAGE CONTENT STAYS BELOW HEADER
     ======================================================= */

  .revaine-hero,
  .revaine-hero *,
  .featured-collection,
  .best-product,
  .trust-cards,
  .category-strip,
  .mindset-banner,
  .lookbook,
  .newsletter {
    position: relative;
    z-index: 1;
  }

  /* Hero controls never create a higher stacking level */
  .revaine-hero button,
  .revaine-hero__arrow,
  .revaine-hero__dots {
    z-index: 2;
  }

  /* =======================================================
     MOBILE PRODUCT GRID
     ======================================================= */

  .featured-collection .grid--4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px 10px;
  }

  .featured-collection .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
  }

  /* Same image proportions for every product */
  .featured-collection .product-card__image {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    border-radius: 18px;
    flex-shrink: 0;
  }

  .featured-collection .product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Product information fills the remaining card height */
  .featured-collection .product-card__info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  /* Equal title area for every product */
  .featured-collection .product-card__title,
  .featured-collection .product-card h3,
  .featured-collection .product-card h2 {
    height: 60px;
    min-height: 60px;
    margin-bottom: 0;
    overflow: hidden;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  /* Equal metadata area */
  .featured-collection .product-card__meta {
    min-height: 24px;
    height: 24px;
    overflow: hidden;
    flex-shrink: 0;
  }

  /* All Add to bag buttons sit at exactly the same level */
  .featured-collection .product-card .btn,
  .featured-collection .product-card [data-add-button] {
    width: 100%;
    min-height: 48px;
    height: 48px;
    margin-top: auto;
    flex-shrink: 0;
  }

  /* Prevent button text from wrapping */
  .featured-collection .product-card .btn {
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
  }
}

/* =========================================================
   EXTRA SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

  .header {
    top: 8px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .header__spacer {
    height: 74px !important;
  }

  .featured-collection .grid--4 {
    gap: 18px 8px;
  }

  .featured-collection .product-card__title,
  .featured-collection .product-card h3,
  .featured-collection .product-card h2 {
    height: 58px;
    min-height: 58px;
  }

  .featured-collection .product-card .btn,
  .featured-collection .product-card [data-add-button] {
    min-height: 46px;
    height: 46px;
    font-size: 12px;
  }
}


/* =========================================================
   REVAINE — PRODUCT CARD ALIGNMENT FINAL OVERRIDE
   Correct selectors for the actual product-card markup
   ========================================================= */

@media (max-width: 749px) {

  /* Two-column product grid stays perfectly even */
  .grid.grid--4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    column-gap: 10px;
    row-gap: 18px;
  }

  /* Every product card fills its grid row */
  .grid.grid--4 > .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
  }

  /* Identical image box for every product */
  .grid.grid--4 > .product-card .product-card__media {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 18px;
  }

  .grid.grid--4 > .product-card .product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* IMPORTANT:
     Give every product information block the same height.
     This prevents long names from pushing Add to bag down. */
  .grid.grid--4 > .product-card .product-card__meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-height: 145px;
    height: 145px;
    margin-top: 12px;
    flex: 0 0 145px;
  }

  /* Product name: maximum 3 lines, same area for every card */
  .grid.grid--4 > .product-card .product-card__title {
    min-height: 72px;
    height: 72px;
    margin: 0;
    overflow: hidden;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  /* Category/type always occupies the same position */
  .grid.grid--4 > .product-card .product-card__type {
    height: 24px;
    min-height: 24px;
    margin: 4px 0 0;
    overflow: hidden;
    line-height: 1.5;
  }

  /* Price never changes the card height */
  .grid.grid--4 > .product-card .product-card__price {
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1.35;
  }

  /* Add-to-bag area is always at the bottom of the card */
  .grid.grid--4 > .product-card form.ajax-cart {
    width: 100%;
    margin-top: auto;
    flex: 0 0 48px;
  }

  /* Every Add to bag button has identical dimensions */
  .grid.grid--4 > .product-card form.ajax-cart .btn,
  .grid.grid--4 > .product-card form.ajax-cart button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0 10px;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1;
  }
}

/* =========================================================
   EXTRA SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

  .grid.grid--4 {
    column-gap: 8px;
    row-gap: 18px;
  }

  .grid.grid--4 > .product-card .product-card__meta {
    min-height: 140px;
    height: 140px;
    flex-basis: 140px;
  }

  .grid.grid--4 > .product-card .product-card__title {
    min-height: 68px;
    height: 68px;
  }

  .grid.grid--4 > .product-card form.ajax-cart,
  .grid.grid--4 > .product-card form.ajax-cart .btn,
  .grid.grid--4 > .product-card form.ajax-cart button {
    height: 46px;
    min-height: 46px;
  }

  

  /* =========================================================
   REVAINE HOMEPAGE — CONSISTENT SECTION SPACING ONLY
   Do not change layout, sizing, typography or content.
   ========================================================= */

/* Category Strip */
.revaine-category-section {
  padding-bottom: 0 !important;
}


/* Limited Drop */
.revaine-limited-drop {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}


/* Best Product */
.rv-best-product {
  margin-top: 32px !important;
  padding-top: 0 !important;
  margin-bottom: 32px !important;
}


/* Mindset Banner */
.rv-mindset {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}


/* Trust Cards */
.rv-trust-section {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}


/* Lookbook */
.rv-editorial-lookbook {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}


/* New Arrivals */
.rv-new-arrivals {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}


/* =========================================================
   REVAINE — HOMEPAGE SECTION SPACING FIX
   ONLY controls the space BETWEEN homepage sections.
   Does not change card/image/text sizing.
   ========================================================= */

/* Remove Shopify's outer spacing around these sections */
.shopify-section:has(.rv-best-product),
.shopify-section:has(.revaine-limited-drop),
.shopify-section:has(.rv-mindset),
.shopify-section:has(.rv-trust-section),
.shopify-section:has(.rv-editorial-lookbook),
.shopify-section:has(.rv-new-arrivals) {
  margin: 0 !important;
  padding: 0 !important;
}


/* =========================================================
   CATEGORY → LIMITED DROP
   ========================================================= */

.shopify-section:has(.revaine-category-section) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.shopify-section:has(.revaine-limited-drop) {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* =========================================================
   LIMITED DROP → BEST PRODUCT
   ========================================================= */

.shopify-section:has(.rv-best-product) {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* =========================================================
   BEST PRODUCT → MINDSET
   ========================================================= */

.shopify-section:has(.rv-mindset) {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* =========================================================
   MINDSET → TRUST
   ========================================================= */

.shopify-section:has(.rv-trust-section) {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* =========================================================
   TRUST → LOOKBOOK
   ========================================================= */

.shopify-section:has(.rv-editorial-lookbook) {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* =========================================================
   LOOKBOOK → NEW ARRIVALS
   ========================================================= */

.shopify-section:has(.rv-new-arrivals) {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* =========================================================
   REVAINE — RELATED PRODUCT CARD
   Correct aspect ratio for product-card.liquid
   ========================================================= */

.product-card {
  min-width: 0;
}

.product-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
}

.product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}

.product-card:hover .product-card__image img {
  transform: scale(1.035);
}

.product-card__info {
  min-width: 0;
}

.product-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.product-card__title {
  display: block;
  min-width: 0;
}

.product-card__price {
  flex-shrink: 0;
  white-space: nowrap;
}

.product-card__swatches {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}

.product-card__swatch {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 50%;
  background: var(--product-swatch);
}

@media (max-width: 749px) {
  .product-card__image {
    aspect-ratio: 4 / 5;
    border-radius: 14px;
  }

  .product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* =========================================================
   REVAINE PRODUCT PAGE
   RELATED PRODUCT CARD — FINAL FIX
   ========================================================= */

.rv-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.rv-related-grid > .product-card {
  width: 100%;
  min-width: 0;
}

/* FIX THE ACTUAL IMAGE BOX */
.rv-related-grid .product-card__image {
  display: block !important;
  position: relative !important;

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

  aspect-ratio: 4 / 5 !important;

  overflow: hidden !important;

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

  border-radius: 18px !important;
}

/* FIX THE ACTUAL PRODUCT IMAGE */
.rv-related-grid .product-card__image img {
  display: block !important;

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

  max-width: none !important;
  max-height: none !important;

  object-fit: cover !important;
  object-position: center !important;

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

/* PRODUCT INFORMATION */
.rv-related-grid .product-card__info {
  width: 100%;
  min-width: 0;
}

.rv-related-grid .product-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  width: 100%;
  gap: 12px;

  margin-top: 12px;
}

.rv-related-grid .product-card__title {
  display: block;
  min-width: 0;

  margin: 0;

  font-size: .88rem;
  line-height: 1.35;
  font-weight: 600;
}

.rv-related-grid .product-card__type {
  margin: 3px 0 0;

  font-size: .75rem;
  line-height: 1.4;

  color: var(--muted);
}

.rv-related-grid .product-card__price {
  flex-shrink: 0;

  white-space: nowrap;

  font-size: .88rem;
  line-height: 1.35;
  font-weight: 600;
}

/* SWATCHES */
.rv-related-grid .product-card__swatches {
  display: flex;
  gap: 5px;

  margin-top: 9px;
}

.rv-related-grid .product-card__swatch {
  display: block;

  width: 13px;
  height: 13px;

  flex: 0 0 13px;

  border: 1px solid rgba(0,0,0,.15);
  border-radius: 50%;

  background: var(--product-swatch);
}

/* ADD TO BAG */
.rv-related-grid .product-card form {
  width: 100%;
  margin-top: 14px;
}

.rv-related-grid .product-card .btn,
.rv-related-grid .product-card [data-add-button] {
  display: flex;
  align-items: center;
  justify-content: center;

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

  padding: 0 12px;

  white-space: nowrap;
}

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

@media (max-width: 900px) {
  .rv-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 600px) {
  .rv-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .rv-related-grid .product-card__image {
    aspect-ratio: 4 / 5 !important;
    border-radius: 14px !important;
  }

  .rv-related-grid .product-card__meta {
    gap: 7px;
    margin-top: 10px;
  }

  .rv-related-grid .product-card__title {
    font-size: .82rem;
  }

  .rv-related-grid .product-card__price {
    font-size: .82rem;
  }

  .rv-related-grid .product-card .btn,
  .rv-related-grid .product-card [data-add-button] {
    height: 44px;
    min-height: 44px;
    font-size: 12px;
  }
}


/* =========================================================
   REVAINE PRODUCT PAGE
   RELATED PRODUCT CARD — FINAL FIX
   ========================================================= */

.rv-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.rv-related-grid > .product-card {
  width: 100%;
  min-width: 0;
}

/* FIX THE ACTUAL IMAGE BOX */
.rv-related-grid .product-card__image {
  display: block !important;
  position: relative !important;

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

  aspect-ratio: 4 / 5 !important;

  overflow: hidden !important;

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

  border-radius: 18px !important;
}

/* FIX THE ACTUAL PRODUCT IMAGE */
.rv-related-grid .product-card__image img {
  display: block !important;

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

  max-width: none !important;
  max-height: none !important;

  object-fit: cover !important;
  object-position: center !important;

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

/* PRODUCT INFORMATION */
.rv-related-grid .product-card__info {
  width: 100%;
  min-width: 0;
}

.rv-related-grid .product-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  width: 100%;
  gap: 12px;

  margin-top: 12px;
}

.rv-related-grid .product-card__title {
  display: block;
  min-width: 0;

  margin: 0;

  font-size: .88rem;
  line-height: 1.35;
  font-weight: 600;
}

.rv-related-grid .product-card__type {
  margin: 3px 0 0;

  font-size: .75rem;
  line-height: 1.4;

  color: var(--muted);
}

.rv-related-grid .product-card__price {
  flex-shrink: 0;

  white-space: nowrap;

  font-size: .88rem;
  line-height: 1.35;
  font-weight: 600;
}

/* SWATCHES */
.rv-related-grid .product-card__swatches {
  display: flex;
  gap: 5px;

  margin-top: 9px;
}

.rv-related-grid .product-card__swatch {
  display: block;

  width: 13px;
  height: 13px;

  flex: 0 0 13px;

  border: 1px solid rgba(0,0,0,.15);
  border-radius: 50%;

  background: var(--product-swatch);
}

/* ADD TO BAG */
.rv-related-grid .product-card form {
  width: 100%;
  margin-top: 14px;
}

.rv-related-grid .product-card .btn,
.rv-related-grid .product-card [data-add-button] {
  display: flex;
  align-items: center;
  justify-content: center;

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

  padding: 0 12px;

  white-space: nowrap;
}

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

@media (max-width: 900px) {
  .rv-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 600px) {
  .rv-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .rv-related-grid .product-card__image {
    aspect-ratio: 4 / 5 !important;
    border-radius: 14px !important;
  }

  .rv-related-grid .product-card__meta {
    gap: 7px;
    margin-top: 10px;
  }

  .rv-related-grid .product-card__title {
    font-size: .82rem;
  }

  .rv-related-grid .product-card__price {
    font-size: .82rem;
  }

  .rv-related-grid .product-card .btn,
  .rv-related-grid .product-card [data-add-button] {
    height: 44px;
    min-height: 44px;
    font-size: 12px;
  }
}

/* =========================================================
   REVAINE — GLOBAL MOTION SYSTEM
   Smooth, premium, minimal animations
   ========================================================= */

/* Scroll reveal */
.rv-auto-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .75s cubic-bezier(.22,.61,.36,1),
    transform .75s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

.rv-auto-reveal.rv-is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.rv-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s cubic-bezier(.22,.61,.36,1),
    transform .65s cubic-bezier(.22,.61,.36,1);
}

.rv-stagger.rv-is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.rv-stagger.rv-is-visible > *:nth-child(1) { transition-delay: .04s; }
.rv-stagger.rv-is-visible > *:nth-child(2) { transition-delay: .09s; }
.rv-stagger.rv-is-visible > *:nth-child(3) { transition-delay: .14s; }
.rv-stagger.rv-is-visible > *:nth-child(4) { transition-delay: .19s; }
.rv-stagger.rv-is-visible > *:nth-child(5) { transition-delay: .24s; }
.rv-stagger.rv-is-visible > *:nth-child(6) { transition-delay: .29s; }

/* Image entrance */
.rv-image-reveal {
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity .9s ease,
    transform 1s cubic-bezier(.22,.61,.36,1);
}

.rv-image-reveal.rv-is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Premium card hover */
.rv-motion-card {
  transition:
    transform .35s cubic-bezier(.22,.61,.36,1),
    box-shadow .35s ease;
  will-change: transform;
}

.rv-motion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(9,16,25,.08);
}

/* Premium button hover */
.rv-motion-button {
  transition:
    transform .25s cubic-bezier(.22,.61,.36,1),
    opacity .2s ease,
    background .2s ease;
}

.rv-motion-button:hover {
  transform: translateY(-2px);
}

.rv-motion-button .rv-motion-arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
}

.rv-motion-button:hover .rv-motion-arrow {
  transform: translate(3px,-2px);
}

/* Image hover */
.rv-hover-image {
  overflow: hidden;
}

.rv-hover-image img {
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}

.rv-hover-image:hover img {
  transform: scale(1.035);
}

/* Header scroll state */
.header.rv-header-scrolled .header__inner {
  box-shadow:
    0 12px 36px rgba(9,16,25,.12),
    inset 0 1px 0 rgba(255,255,255,.7);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
}

/* Page entrance */
html.rv-page-loading body {
  opacity: 0;
}

html.rv-page-ready body {
  opacity: 1;
  transition: opacity .45s ease;
}

/* Never animate Shopify theme editor controls */
.shopify-design-mode .rv-auto-reveal,
.shopify-design-mode .rv-stagger > *,
.shopify-design-mode .rv-image-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rv-auto-reveal,
  .rv-stagger > *,
  .rv-image-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .rv-motion-card,
  .rv-motion-button,
  .rv-hover-image img {
    transition: none !important;
  }
}

/* Mobile: keep motion lighter */
@media (max-width: 749px) {
  .rv-auto-reveal {
    transform: translateY(18px);
    transition-duration: .6s;
  }

  .rv-motion-card:hover {
    transform: none;
    box-shadow: none;
  }
}
/* =========================================================
   REVAINE — GLOBAL RESPONSIVE LAYOUT SYSTEM
   v1.0

   PURPOSE:
   - One global page width system
   - One global responsive gutter system
   - Fluid spacing
   - Fluid typography
   - Prevent horizontal overflow
   - Better desktop / tablet / mobile scaling

   IMPORTANT:
   Existing section-specific sizing is NOT removed.
   Custom section/card heights remain functional.
========================================================= */


/* =========================================================
   GLOBAL RESPONSIVE VARIABLES
========================================================= */

:root {

  /* -----------------------------------------
     PAGE WIDTH
  ----------------------------------------- */

  --rv-global-page-max: 1440px;


  /* -----------------------------------------
     PAGE SIDE GUTTER
  ----------------------------------------- */

  --rv-global-gutter-desktop: 40px;
  --rv-global-gutter-tablet: 28px;
  --rv-global-gutter-mobile: 16px;


  /* -----------------------------------------
     GLOBAL SECTION SPACING
  ----------------------------------------- */

  --rv-global-section-space-desktop: 80px;
  --rv-global-section-space-tablet: 64px;
  --rv-global-section-space-mobile: 42px;


  /* -----------------------------------------
     CONTENT WIDTHS
  ----------------------------------------- */

  --rv-global-content-wide: 1440px;
  --rv-global-content-standard: 1200px;
  --rv-global-content-narrow: 900px;


  /* -----------------------------------------
     GLOBAL GAPS
  ----------------------------------------- */

  --rv-global-gap-large: 40px;
  --rv-global-gap-medium: 24px;
  --rv-global-gap-small: 16px;


  /* -----------------------------------------
     GLOBAL FLUID TYPE
  ----------------------------------------- */

  --rv-global-title-xl:
    clamp(38px, 5vw, 82px);

  --rv-global-title-lg:
    clamp(30px, 3.8vw, 58px);

  --rv-global-title-md:
    clamp(24px, 2.6vw, 40px);

  --rv-global-body:
    clamp(13px, 1vw, 16px);


  /* -----------------------------------------
     SAFE BOTTOM SPACE
     For mobile bottom navigation
  ----------------------------------------- */

  --rv-mobile-bottom-safe-area: 88px;
}


/* =========================================================
   GLOBAL HTML / BODY SAFETY
========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  overflow-x: clip;
}


/*
  Fallback for browsers that do not support clip.
*/
@supports not (overflow: clip) {

  html,
  body {
    overflow-x: hidden;
  }

}


/* =========================================================
   GLOBAL MEDIA SAFETY
========================================================= */

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

img,
video {
  height: auto;
}


/* =========================================================
   GLOBAL TEXT SAFETY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
p {
  max-width: 100%;
  overflow-wrap: break-word;
}


/* =========================================================
   GLOBAL FLEX / GRID SAFETY
========================================================= */

main,
section,
article,
div,
header,
footer {
  min-width: 0;
}

.flex,
.grid,
[class*="grid"],
[class*="flex"] {
  min-width: 0;
}


/* =========================================================
   GLOBAL PAGE CONTAINER
========================================================= */

.wrap {

  width: 100%;

  max-width:
    var(--rv-global-page-max);

  margin-left: auto;
  margin-right: auto;

  padding-left:
    var(--rv-global-gutter-desktop);

  padding-right:
    var(--rv-global-gutter-desktop);

  box-sizing: border-box;
}


/* =========================================================
   STANDARD CONTAINER ALIASES

   These allow future sections to use the same
   responsive system without creating their own
   container logic.
========================================================= */

.rv-container,
.rv-global-container {

  width: 100%;

  max-width:
    var(--rv-global-page-max);

  margin-left: auto;
  margin-right: auto;

  padding-left:
    var(--rv-global-gutter-desktop);

  padding-right:
    var(--rv-global-gutter-desktop);

  box-sizing: border-box;
}


/* =========================================================
   WIDE CONTAINER
========================================================= */

.rv-container--wide {

  width: 100%;

  max-width:
    var(--rv-global-content-wide);

  margin-left: auto;
  margin-right: auto;

  padding-left:
    var(--rv-global-gutter-desktop);

  padding-right:
    var(--rv-global-gutter-desktop);

  box-sizing: border-box;
}


/* =========================================================
   STANDARD CONTAINER
========================================================= */

.rv-container--standard {

  width: 100%;

  max-width:
    var(--rv-global-content-standard);

  margin-left: auto;
  margin-right: auto;

  padding-left:
    var(--rv-global-gutter-desktop);

  padding-right:
    var(--rv-global-gutter-desktop);

  box-sizing: border-box;
}


/* =========================================================
   NARROW CONTAINER
========================================================= */

.rv-container--narrow {

  width: 100%;

  max-width:
    var(--rv-global-content-narrow);

  margin-left: auto;
  margin-right: auto;

  padding-left:
    var(--rv-global-gutter-desktop);

  padding-right:
    var(--rv-global-gutter-desktop);

  box-sizing: border-box;
}


/* =========================================================
   GLOBAL SECTION SYSTEM

   Only applies to sections that are using the
   generic .section class.

   Special/custom sections remain untouched.
========================================================= */

.section {

  width: 100%;

  padding-top:
    var(--rv-global-section-space-desktop);

  box-sizing: border-box;
}


/* =========================================================
   GLOBAL SECTION HEAD
========================================================= */

.section-head {

  width: 100%;

  min-width: 0;

  gap:
    var(--rv-global-gap-small);

  margin-bottom:
    clamp(16px, 2vw, 24px);

}


/* =========================================================
   GLOBAL DISPLAY TYPOGRAPHY
========================================================= */

.display {

  font-size:
    clamp(24px, 2.6vw, 40px);

  max-width: 100%;

}


/* =========================================================
   GLOBAL BUTTON SAFETY
========================================================= */

button,
.btn,
.button,
a.button {

  max-width: 100%;

  box-sizing: border-box;

}


/* =========================================================
   GLOBAL INPUT SAFETY
========================================================= */

input,
textarea,
select {

  max-width: 100%;

  box-sizing: border-box;

}


/* =========================================================
   GLOBAL TABLE SAFETY
========================================================= */

table {

  max-width: 100%;

}

.table-wrap,
.table-responsive {

  width: 100%;

  max-width: 100%;

  overflow-x: auto;

  -webkit-overflow-scrolling: touch;

}


/* =========================================================
   DESKTOP
   1200px+
========================================================= */

@media (min-width: 1200px) {

  .wrap,
  .rv-container,
  .rv-global-container,
  .rv-container--wide,
  .rv-container--standard,
  .rv-container--narrow {

    padding-left:
      var(--rv-global-gutter-desktop);

    padding-right:
      var(--rv-global-gutter-desktop);

  }

}


/* =========================================================
   LARGE TABLET / SMALL DESKTOP
   1024px — 1199px
========================================================= */

@media (max-width: 1199px) {

  :root {

    --rv-global-page-max: 1400px;

    --rv-global-section-space-desktop: 72px;

  }


  .wrap,
  .rv-container,
  .rv-global-container,
  .rv-container--wide,
  .rv-container--standard,
  .rv-container--narrow {

    padding-left:
      var(--rv-global-gutter-tablet);

    padding-right:
      var(--rv-global-gutter-tablet);

  }


  .section {

    padding-top:
      var(--rv-global-section-space-tablet);

  }


  /*
    Prevent large desktop grids from becoming
    too compressed.
  */

  .section-head {

    gap: 20px;

  }

}


/* =========================================================
   TABLET
   768px — 1023px
========================================================= */

@media (max-width: 1023px) {

  :root {

    --rv-global-page-max: 1200px;

    --rv-global-gutter-tablet: 24px;

    --rv-global-section-space-tablet: 60px;

    --rv-global-gap-large: 32px;

  }


  .wrap,
  .rv-container,
  .rv-global-container,
  .rv-container--wide,
  .rv-container--standard,
  .rv-container--narrow {

    padding-left:
      var(--rv-global-gutter-tablet);

    padding-right:
      var(--rv-global-gutter-tablet);

  }


  /*
    Generic two-column layouts become
    safer at tablet sizes.
  */

  .grid-2,
  .two-column,
  .two-col {

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

  }


  /*
    Prevent fixed desktop gaps from
    making layouts overflow.
  */

  .grid-2,
  .two-column,
  .two-col,
  .grid {

    gap:
      clamp(
        18px,
        3vw,
        32px
      );

  }


  .display {

    font-size:
      clamp(26px, 4vw, 40px);

  }

}


/* =========================================================
   MOBILE
   750px AND BELOW
========================================================= */

@media (max-width: 749px) {

  :root {

    --rv-global-page-max: 100%;

    --rv-global-gutter-mobile: 16px;

    --rv-global-section-space-mobile: 42px;

    --rv-global-gap-large: 24px;

    --rv-global-gap-medium: 18px;

    --rv-global-gap-small: 12px;

  }


  /*
    GLOBAL MOBILE CONTAINER
  */

  .wrap,
  .rv-container,
  .rv-global-container,
  .rv-container--wide,
  .rv-container--standard,
  .rv-container--narrow {

    width: 100%;

    max-width: 100%;

    padding-left:
      var(--rv-global-gutter-mobile);

    padding-right:
      var(--rv-global-gutter-mobile);

    margin-left: auto;
    margin-right: auto;

  }


  /*
    GENERIC SECTION
  */

  .section {

    width: 100%;

    padding-top:
      var(--rv-global-section-space-mobile);

  }


  /*
    SECTION HEAD
  */

  .section-head {

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 16px;

  }


  /*
    Generic grid safety
  */

  .grid-2,
  .two-column,
  .two-col {

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

  }


  /*
    Generic multi-column layout
    becomes flexible rather than overflowing.
  */

  .grid {

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

  }


  /*
    Typography
  */

  .display {

    font-size:
      clamp(
        22px,
        7vw,
        32px
      );

    line-height: .95;

  }


  body {

    font-size:
      14px;

  }


  /*
    Prevent desktop-style fixed widths
    from creating horizontal overflow.
  */

  [style*="width: 100vw"],
  [style*="width:100vw"] {

    max-width: 100%;

  }


  /*
    Safe image behavior
  */

  img {

    max-width: 100%;

  }


  /*
    Long links / product titles / prices
  */

  a,
  span,
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {

    overflow-wrap:
      anywhere;

  }

}


/* =========================================================
   SMALL MOBILE
   480px AND BELOW
========================================================= */

@media (max-width: 480px) {

  :root {

    --rv-global-gutter-mobile: 14px;

    --rv-global-section-space-mobile: 36px;

  }


  .wrap,
  .rv-container,
  .rv-global-container,
  .rv-container--wide,
  .rv-container--standard,
  .rv-container--narrow {

    padding-left:
      var(--rv-global-gutter-mobile);

    padding-right:
      var(--rv-global-gutter-mobile);

  }


  .section {

    padding-top:
      var(--rv-global-section-space-mobile);

  }


  .section-head {

    margin-bottom: 14px;

  }

}


/* =========================================================
   VERY SMALL DEVICES
   390px AND BELOW
========================================================= */

@media (max-width: 390px) {

  :root {

    --rv-global-gutter-mobile: 12px;

    --rv-global-section-space-mobile: 32px;

  }


  .wrap,
  .rv-container,
  .rv-global-container,
  .rv-container--wide,
  .rv-container--standard,
  .rv-container--narrow {

    padding-left:
      12px;

    padding-right:
      12px;

  }


  .display {

    font-size:
      clamp(
        21px,
        7vw,
        28px
      );

  }

}


/* =========================================================
   MOBILE BOTTOM NAV SAFE SPACE

   IMPORTANT:
   Does NOT control the navigation.
   Only prevents content from being hidden behind it.
========================================================= */

@media (max-width: 749px) {

  main {

    padding-bottom:
      env(
        safe-area-inset-bottom,
        0px
      );

  }


  /*
    Only add a small safe area to the
    actual page content if the bottom
    navigation exists.
  */

  body:has([data-rv-mobile-bottom-nav]) main {

    padding-bottom:
      max(
        12px,
        env(
          safe-area-inset-bottom,
          12px
        )
      );

  }

}


/* =========================================================
   GLOBAL OVERFLOW PROTECTION
========================================================= */

main,
#MainContent,
.shopify-section {

  min-width: 0;

  max-width: 100%;

}


/*
  Shopify sections should never create
  horizontal page overflow by themselves.
*/

.shopify-section {

  width: 100%;

  min-width: 0;

}


/* =========================================================
   COMMON RESPONSIVE IMAGE WRAPPERS
========================================================= */

.media,
.image-wrapper,
.image-wrap,
.media-wrapper {

  min-width: 0;

  max-width: 100%;

}


/* =========================================================
   COMMON CARD SAFETY
========================================================= */

.card,
.product-card,
.collection-card {

  min-width: 0;

  max-width: 100%;

}


/* =========================================================
   MOBILE PRODUCT / COLLECTION SAFETY
========================================================= */

@media (max-width: 749px) {

  .product,
  .collection,
  .product-grid,
  .collection-grid {

    min-width: 0;

    max-width: 100%;

  }


  .product-grid,
  .collection-grid {

    width: 100%;

  }

}


/* =========================================================
   FLUID SPACING HELPERS

   Future sections can use these classes
   without creating new responsive CSS.
========================================================= */

.rv-space-section {

  padding-top:
    clamp(
      var(--rv-global-section-space-mobile),
      5vw,
      var(--rv-global-section-space-desktop)
    );

}


.rv-space-small {

  gap:
    clamp(
      12px,
      1.5vw,
      20px
    );

}


.rv-space-medium {

  gap:
    clamp(
      18px,
      2.5vw,
      32px
    );

}


.rv-space-large {

  gap:
    clamp(
      24px,
      4vw,
      56px
    );

}


/* =========================================================
   FLUID WIDTH HELPERS
========================================================= */

.rv-fluid {

  width: 100%;

  max-width: 100%;

  min-width: 0;

}


.rv-content-wide {

  width: 100%;

  max-width:
    var(--rv-global-content-wide);

  margin-left: auto;
  margin-right: auto;

}


.rv-content-standard {

  width: 100%;

  max-width:
    var(--rv-global-content-standard);

  margin-left: auto;
  margin-right: auto;

}


.rv-content-narrow {

  width: 100%;

  max-width:
    var(--rv-global-content-narrow);

  margin-left: auto;
  margin-right: auto;

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {

    scroll-behavior: auto;

  }

}
/* =========================================================
   REVAINE — LIMITED DROP MOBILE FLOW FIX
   Prevent section overlap on mobile
========================================================= */

@media (max-width: 749px) {

  .rvld-section {

    width: 100% !important;

    /*
      IMPORTANT:
      Let the section grow according to its content.
      Do not use a fixed mobile outer height.
    */

    height: auto !important;

    min-height: 0 !important;

    box-sizing: border-box;

    overflow: visible !important;

    margin-top: 0 !important;

    margin-bottom: 0 !important;

  }


  .rvld-section .rvld-block-wrap {

    width: 100% !important;

    height: auto !important;

    min-height: 0 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-sizing: border-box;

  }


  .rvld-section .rvld-card {

    position: relative !important;

    flex: 0 0 auto !important;

    max-width: 100% !important;

    box-sizing: border-box;

  }

}


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

@media (max-width: 480px) {

  .rvld-section {

    height: auto !important;

    min-height: 0 !important;

  }

}
/* =========================================================
   REVAINE — GLOBAL RESPONSIVE SYSTEM
   Website-wide responsive safety layer
   ========================================================= */


/* ---------------------------------------------------------
   01 — UNIVERSAL BOX SIZING
--------------------------------------------------------- */

html {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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


/* ---------------------------------------------------------
   02 — PREVENT HORIZONTAL WEBSITE OVERFLOW
--------------------------------------------------------- */

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

main,
#MainContent,
.shopify-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}


/* ---------------------------------------------------------
   03 — RESPONSIVE MEDIA
--------------------------------------------------------- */

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

img,
video {
  height: auto;
}

picture {
  display: block;
}

iframe {
  max-width: 100%;
}


/* ---------------------------------------------------------
   04 — FLEX / GRID CHILDREN
   Prevents content from forcing containers wider
--------------------------------------------------------- */

.flex,
[class*="flex"],
.grid,
[class*="grid"],
.shopify-section > div {
  min-width: 0;
}

.flex > *,
[class*="flex"] > *,
.grid > *,
[class*="grid"] > * {
  min-width: 0;
}


/* ---------------------------------------------------------
   05 — TEXT SAFETY
--------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li {
  max-width: 100%;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  word-break: normal;
}


/* ---------------------------------------------------------
   06 — TABLES
--------------------------------------------------------- */

table {
  max-width: 100%;
}

.table-wrapper,
.rte table {
  max-width: 100%;
  overflow-x: auto;
}


/* ---------------------------------------------------------
   07 — COMMON SHOPIFY CONTAINERS
--------------------------------------------------------- */

.page-width,
.page-width-desktop,
.shopify-section,
.section,
.section-inner,
.container {
  max-width: 100%;
}


/* ---------------------------------------------------------
   08 — BUTTON SAFETY
--------------------------------------------------------- */

button,
.button,
.btn,
input[type="submit"],
input[type="button"] {
  max-width: 100%;
}

button span,
.button span,
.btn span {
  max-width: 100%;
}


/* =========================================================
   TABLET
   <= 1024px
   ========================================================= */

@media screen and (max-width: 1024px) {

  /* Prevent oversized fixed widths */

  [style*="width:"] {
    max-width: 100%;
  }

  /* Large content blocks */

  .page-width,
  .page-width-desktop {
    width: 100%;
    max-width: 100%;
  }

  /* Images */

  img {
    max-width: 100%;
  }

  /* Headings */

  h1 {
    font-size: clamp(32px, 5vw, 64px);
  }

  h2 {
    font-size: clamp(28px, 4vw, 52px);
  }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   <= 900px
   ========================================================= */

@media screen and (max-width: 900px) {

  /* Global grid protection */

  .grid,
  [class*="grid"] {
    max-width: 100%;
  }

  /* Prevent fixed-width children from escaping */

  .grid > *,
  [class*="grid"] > *,
  .flex > *,
  [class*="flex"] > * {
    max-width: 100%;
  }

  /* Large typography */

  h1 {
    font-size: clamp(30px, 6vw, 52px);
  }

  h2 {
    font-size: clamp(26px, 5vw, 44px);
  }

  h3 {
    font-size: clamp(18px, 3vw, 30px);
  }

}


/* =========================================================
   MOBILE
   <= 749px
   ========================================================= */

@media screen and (max-width: 749px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }


  /* -------------------------------------------------------
     GLOBAL WIDTH
  ------------------------------------------------------- */

  main,
  #MainContent,
  .shopify-section {
    width: 100%;
    max-width: 100%;
  }


  /* -------------------------------------------------------
     COMMON CONTAINERS
  ------------------------------------------------------- */

  .page-width,
  .page-width-desktop,
  .container,
  .section-inner {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }


  /* -------------------------------------------------------
     IMAGES
  ------------------------------------------------------- */

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


  /* -------------------------------------------------------
     HEADINGS
  ------------------------------------------------------- */

  h1 {
    font-size: clamp(28px, 9vw, 48px);
    line-height: 0.95;
  }

  h2 {
    font-size: clamp(25px, 8vw, 42px);
    line-height: 1;
  }

  h3 {
    font-size: clamp(18px, 5vw, 28px);
  }


  /* -------------------------------------------------------
     TEXT
  ------------------------------------------------------- */

  p {
    max-width: 100%;
  }


  /* -------------------------------------------------------
     BUTTONS
  ------------------------------------------------------- */

  button,
  .button,
  .btn {
    max-width: 100%;
  }


  /* -------------------------------------------------------
     FIXED WIDTH ELEMENTS
  ------------------------------------------------------- */

  [style*="width:"] {
    max-width: 100%;
  }


  /* -------------------------------------------------------
     FIXED HEIGHT MEDIA
  ------------------------------------------------------- */

  img[style*="height"],
  video[style*="height"] {
    max-height: 100%;
  }


  /* -------------------------------------------------------
     FLEX SAFETY
  ------------------------------------------------------- */

  .flex,
  [class*="flex"] {
    min-width: 0;
    max-width: 100%;
  }


  /* -------------------------------------------------------
     GRID SAFETY
  ------------------------------------------------------- */

  .grid,
  [class*="grid"] {
    min-width: 0;
    max-width: 100%;
  }


  /* -------------------------------------------------------
     LONG WORDS / PRODUCT TITLES
  ------------------------------------------------------- */

  .product-title,
  .product__title,
  .card__heading,
  .card-title {
    overflow-wrap: anywhere;
  }

}


/* =========================================================
   SMALL MOBILE
   <= 480px
   ========================================================= */

@media screen and (max-width: 480px) {

  h1 {
    font-size: clamp(26px, 10vw, 42px);
  }

  h2 {
    font-size: clamp(24px, 9vw, 38px);
  }

  h3 {
    font-size: clamp(17px, 6vw, 25px);
  }


  .page-width,
  .page-width-desktop {
    padding-left: 16px;
    padding-right: 16px;
  }

}


/* =========================================================
   VERY SMALL PHONES
   <= 360px
   ========================================================= */

@media screen and (max-width: 360px) {

  .page-width,
  .page-width-desktop {
    padding-left: 12px;
    padding-right: 12px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 25px;
  }

}
