/* ==========================================================================
   Store theme. Loaded after Oscar's own stylesheet, so anything here wins.

   To rebrand: change the values in the first block. Everything else reads
   from them. The moving colors are the two gradients at the end of the block.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.006eb3e84a9d.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15101c;          /* header, footer, dark bands, text */
  --muted: #5f5868;        /* secondary text */
  --paper: #ffffff;        /* page background */
  --wash: #f5f3f8;         /* pale panels */
  --line: #e6e1ec;         /* borders */
  --pink: #ff0a85;         /* the big hero button, glows, accents */
  --brand: #e0007a;        /* everyday buttons and links (dark enough for small white text) */
  --brand-deep: #b80064;   /* button hover */
  --orange: #ff7a1f;
  --yellow: #ffdf20;       /* the sparkles */
  --teal: #19c9c0;
  --violet: #7b2bd6;
  --tint: #ff0a85;         /* fallback card tint; each product overrides it */

  --font: "Outfit", "Avenir Next", "Century Gothic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 2.2vw, 40px);
  --radius: 26px;
  --header-h: 92px;
  --ticker-h: clamp(54px, 4.9vw, 92px);

  /* Color that drifts through headline words. Two full cycles, so the loop has no seam. */
  --grad-text: linear-gradient(90deg,
      #ff0a85, #ff7a1f, #b9c400, #36c84a, #19c9c0, #b59ad6,
      #ff0a85, #ff7a1f, #b9c400, #36c84a, #19c9c0, #b59ad6, #ff0a85);
  /* The rainbow behind the scrolling strip. Also two cycles. */
  --grad-band: linear-gradient(90deg,
      #f5241c, #ff8a00, #f2df10, #23a52a, #0a2bff, #7a14d6, #e0007a,
      #f5241c, #ff8a00, #f2df10, #23a52a, #0a2bff, #7a14d6, #e0007a, #f5241c);
}
@media (max-width: 1199px) { :root { --header-h: 68px; } }

/* ---- Base --------------------------------------------------------------- */

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
img { max-width: 100%; height: auto; }

.sf-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sf-skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 700; }
.sf-skip:focus { left: 8px; top: 8px; color: var(--ink); }
.sf-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--font); }
h1, h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }

/* Words that carry the moving color. */
.sf-grad { color: var(--pink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .sf-grad {
    background-image: var(--grad-text);
    background-size: 600% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding: 0 0.06em 0.1em 0;      /* keeps the last letter and any descender from being cut off */
    margin: 0 -0.06em -0.1em 0;
    animation: sf-hue 16s linear infinite;
  }
}
@keyframes sf-hue { to { background-position: 60% 0; } }

/* ---- Buttons ------------------------------------------------------------ */

.sf-btn, .btn {
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  padding: 0.68rem 1.5rem;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.sf-btn { display: inline-block; border: 2px solid transparent; text-decoration: none; cursor: pointer; font-size: 1rem; line-height: 1.2; }
.sf-btn:hover, .btn:hover { transform: translateY(-2px); text-decoration: none; }
.sf-btn:active, .btn:active { transform: translateY(0); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.0625rem; }
.sf-btn--xl { padding: 1.08em 1.95em; font-size: clamp(1rem, 1.2vw, 1.4rem); letter-spacing: -0.02em; }

.sf-btn--primary, .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.sf-btn--primary:hover, .btn-primary:hover, .btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active {
  background: var(--brand-deep); border-color: var(--brand-deep); color: #fff;
  box-shadow: 0 10px 24px rgba(224, 0, 122, .32);
}
.sf-btn--outline, .btn-secondary, .btn-info, .btn-outline-secondary { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.sf-btn--outline:hover, .btn-secondary:hover, .btn-info:hover, .btn-outline-secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.sf-btn--ghost { background: rgba(10, 6, 14, .28); border-color: #fff; color: #fff; }
.sf-btn--ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 0.4rem 1rem; font-size: .9375rem; }
.btn-link { text-transform: none; }

/* ---- Forms -------------------------------------------------------------- */

.form-control, .sf-newsletter input[type="email"], .sf-searchbar input, .sf-drawer__search input {
  border: 2px solid #c9c2d2;
  border-radius: 14px;
  color: var(--ink);
  font-family: var(--font);
}
.form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(25, 201, 192, .35); }
label { font-weight: 600; }

/* ---- Announcement bar --------------------------------------------------- */

.sf-announce { background: var(--brand); color: #fff; text-align: center; font-size: .9375rem; font-weight: 600; padding: 9px var(--gutter); position: relative; z-index: 41; }
.sf-announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Header ------------------------------------------------------------- */

.sf-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink); color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.sf-header.is-stuck { box-shadow: 0 6px 24px rgba(10, 6, 14, .28); }
/* On the home page the bar is see-through over the video until the page is scrolled. */
body.home .sf-header:not(.is-stuck):not(.is-open) { background: transparent; }
body.home .sf-header.is-stuck { background: rgba(21, 16, 28, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.home main { margin-top: calc(-1 * var(--header-h)); }

.sf-header__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  column-gap: clamp(20px, 3.4vw, 64px);
  height: var(--header-h);
  padding-inline: var(--gutter);
}
.sf-nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 52px); min-width: 0; }
.sf-nav--left { justify-content: flex-end; }
.sf-nav--right { justify-content: flex-start; }
.sf-nav a, .sf-nav summary, .sf-nav__icon {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(.95rem, 1.15vw, 1.3rem); line-height: 1; white-space: nowrap;
  text-decoration: none; text-shadow: 0 2px 6px rgba(0, 0, 0, .45);
  padding: 10px 0; background: none; border: 0; cursor: pointer;
  background-image: linear-gradient(var(--pink), var(--pink)); background-repeat: no-repeat;
  background-size: 0 3px; background-position: 0 100%;
  transition: background-size .22s ease;
}
.sf-nav a:hover, .sf-nav summary:hover, .sf-nav__icon:hover, .sf-nav a[aria-current="page"] { color: #fff; background-size: 100% 3px; }
.sf-nav .sf-icon { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }

/* The round logo hangs below the bar, as a sticker would. */
.sf-logo { display: block; align-self: start; margin-top: 8px; width: clamp(84px, 6.6vw, 116px); position: relative; z-index: 2; transition: width .3s ease; }
body.home .sf-header:not(.is-stuck) .sf-logo { width: clamp(108px, 8.8vw, 168px); }
.sf-badge { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); transition: transform .3s ease; }
.sf-logo:hover .sf-badge { transform: rotate(-6deg) scale(1.04); }
.sf-badge__name { font-family: var(--font); font-weight: 800; fill: #fff; letter-spacing: .04em; paint-order: stroke; stroke: rgba(21, 16, 28, .35); stroke-width: 2px; }
.sf-badge__sub { font-family: var(--font); font-weight: 700; fill: #15101c; letter-spacing: .2em; }

.sf-cart__count { background: var(--pink); color: #fff; border-radius: 999px; min-width: 24px; height: 24px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; letter-spacing: 0; text-shadow: none; }
.sf-cart__count.is-empty { display: none; }
.sf-account { position: relative; }
.sf-account summary { list-style: none; }
.sf-account summary::-webkit-details-marker { display: none; }
.sf-account__menu { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border-radius: 18px; padding: 8px; min-width: 210px; box-shadow: 0 18px 40px rgba(10, 6, 14, .28); display: grid; z-index: 5; }
.sf-nav .sf-account__menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-shadow: none; text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 600; background-image: none; }
.sf-nav .sf-account__menu a:hover { background: var(--wash); color: var(--ink); }
.sf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.sf-menu-btn { display: none; border: 0; background: none; color: #fff; padding: 8px; margin-left: -8px; justify-self: start; }
.sf-menu-btn .sf-icon { width: 28px; height: 28px; }
.sf-secure { justify-self: end; grid-column: 3; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9375rem; }
.sf-header--checkout .sf-logo { grid-column: 2; }

.sf-searchbar { display: flex; gap: 10px; padding: 14px var(--gutter) 18px; background: var(--ink); max-width: 760px; margin-inline: auto; }
.sf-searchbar[hidden] { display: none; }
.sf-searchbar input { flex: 1; min-width: 0; padding: .65rem 1.1rem; border-radius: 999px; border-color: transparent; font-size: 1.0625rem; }

/* Narrower laptops: same layout, tighter spacing so both sides still fit beside the logo. */
@media (min-width: 1200px) and (max-width: 1439px) {
  .sf-header__row { column-gap: 28px; }
  .sf-nav { gap: 20px; }
  .sf-nav a, .sf-nav summary, .sf-nav__icon { font-size: .875rem; }
}
@media (max-width: 1199px) {
  .sf-menu-btn { display: flex; }
  .sf-nav--left, .sf-nav .sf-nav__wide, .sf-nav .sf-cart__label { display: none; }
  .sf-nav--right { justify-content: flex-end; }
  .sf-logo, body.home .sf-header:not(.is-stuck) .sf-logo { width: 84px; margin-top: 6px; }
  body.home .sf-header:not(.is-stuck) .sf-logo { width: 96px; }
  .sf-searchbar { display: none; }
}

/* Slide-in menu for small screens */
.sf-drawer { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff; padding: 18px var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; animation: sf-drawer-in .28s ease both; }
.sf-drawer[hidden] { display: none; }
@keyframes sf-drawer-in { from { opacity: 0; transform: translateY(-12px); } }
.sf-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.sf-drawer__title { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.sf-drawer__close { border: 0; background: none; color: #fff; padding: 8px; margin-right: -8px; }
.sf-drawer__close .sf-icon { width: 28px; height: 28px; }
.sf-drawer__search { position: relative; display: flex; }
.sf-drawer__search input { width: 100%; padding: .7rem 48px .7rem 1.1rem; border-radius: 999px; border-color: transparent; font-size: 1.0625rem; }
.sf-drawer__search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--ink); padding: 8px; display: flex; }
.sf-drawer nav { display: grid; }
.sf-drawer nav a { color: #fff; text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.6rem, 7vw, 2.4rem); line-height: 1.1; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sf-drawer nav a:hover { color: var(--yellow); }
body.sf-locked { overflow: hidden; }

/* ---- Hero --------------------------------------------------------------- */

.sf-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: max(540px, calc(100vh - var(--ticker-h)));
  min-height: max(540px, calc(100svh - var(--ticker-h)));
  padding-top: var(--header-h);
  background: var(--ink); color: #fff;
}
/* With the announcement bar showing, leave room so the color strip still lands on the first screen. */
body:has(.sf-announce) .sf-hero { min-height: max(540px, calc(100svh - var(--ticker-h) - 42px)); }
.sf-hero__media { position: absolute; inset: 0; z-index: -2; }
.sf-hero__video, .sf-hero__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-hero__video { opacity: 0; transition: opacity 1.3s ease; }
.sf-hero__video.is-on { opacity: 1; }
/* Darkens the left side so the words stay readable over any footage. */
.sf-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 6, 14, .82) 0%, rgba(10, 6, 14, .58) 36%, rgba(10, 6, 14, .2) 68%, rgba(10, 6, 14, .3) 100%),
    linear-gradient(180deg, rgba(10, 6, 14, .55) 0%, rgba(10, 6, 14, 0) 28%, rgba(10, 6, 14, 0) 72%, rgba(10, 6, 14, .45) 100%);
}
.sf-hero__copy { padding: clamp(36px, 7vh, 88px) var(--gutter); max-width: 1180px; }
.sf-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(18px, 2.6vh, 30px);
  padding: .55em 1.25em; border: 1.5px solid rgba(255, 255, 255, .42); border-radius: 999px;
  background: rgba(10, 6, 14, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(.8rem, .95vw, 1.1rem); line-height: 1.2;
}
.sf-pill .sf-icon { width: 1.15em; height: 1.15em; color: var(--orange); }
.sf-hero h1 { font-size: clamp(2.7rem, 12vw, 4.6rem); line-height: .93; letter-spacing: -0.045em; margin: 0 0 .3em; color: #fff; text-shadow: 0 4px 30px rgba(10, 6, 14, .35); }
@media (min-width: 768px) { .sf-hero h1 { font-size: clamp(4.6rem, 6vw, 7.6rem); } }
.sf-hero__line { display: block; }
.sf-hero .sf-grad { text-shadow: none; }
.sf-hero__line:nth-child(2) .sf-grad { animation-delay: -8s; }
.sf-hero__body { font-size: clamp(1.05rem, 1.38vw, 1.65rem); font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.32; max-width: 33em; margin: 0 0 clamp(22px, 3.4vh, 40px); color: rgba(255, 255, 255, .94); text-shadow: 0 2px 10px rgba(10, 6, 14, .5); }
.sf-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 20px; margin: 0; }
.sf-hero .sf-btn--primary { background: var(--pink); border-color: var(--pink); box-shadow: 0 10px 34px rgba(255, 10, 133, .45); }
.sf-hero .sf-btn--primary:hover { background: #ff2a96; border-color: #ff2a96; box-shadow: 0 14px 40px rgba(255, 10, 133, .6); }
.sf-hero__pause { position: absolute; right: var(--gutter); bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(10, 6, 14, .4); color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; }
.sf-hero__pause[hidden] { display: none; }
.sf-hero__pause:hover { background: rgba(10, 6, 14, .7); }
.sf-hero__pause [data-when] { display: none; }
.sf-hero__pause[aria-pressed="false"] [data-when="playing"], .sf-hero__pause[aria-pressed="true"] [data-when="paused"] { display: grid; }

/* The words arrive one after another when the page opens. */
.sf-hero__copy > *, .sf-hero__line { animation: sf-rise .85s cubic-bezier(.2, .8, .2, 1) both; }
.sf-hero__copy > .sf-pill { animation-delay: .05s; }
.sf-hero__copy > h1 { animation: none; }
.sf-hero__line:nth-child(1) { animation-delay: .14s; }
.sf-hero__line:nth-child(2) { animation-delay: .26s; }
.sf-hero__line:nth-child(n+3) { animation-delay: .34s; }
.sf-hero__copy > .sf-hero__body { animation-delay: .42s; }
.sf-hero__copy > .sf-hero__actions { animation-delay: .54s; }
@keyframes sf-rise { from { opacity: 0; transform: translateY(34px); } }

/* ---- Scrolling strip ---------------------------------------------------- */

.sf-ticker, .sf-rainbow { background-image: var(--grad-band); background-size: 200% 100%; animation: sf-band 22s linear infinite; }
@keyframes sf-band { to { background-position: 100% 0; } }
.sf-ticker { height: var(--ticker-h); overflow: hidden; display: flex; align-items: center; color: #fff; position: relative; z-index: 1; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .28); }
.sf-ticker__track { display: flex; width: max-content; animation: sf-scroll 60s linear infinite; }
.sf-ticker--reverse .sf-ticker__track { animation-direction: reverse; }
.sf-ticker:hover .sf-ticker__track { animation-play-state: paused; }
@keyframes sf-scroll { to { transform: translateX(-50%); } }
.sf-ticker__group { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.sf-ticker li { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 54px); padding-left: clamp(22px, 2.8vw, 54px); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.1rem, 2.15vw, 2.55rem); line-height: 1; white-space: nowrap; text-shadow: 0 2px 5px rgba(0, 0, 0, .42); }
.sf-spark { width: .82em; height: .82em; fill: var(--yellow); flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); animation: sf-twinkle 2.6s ease-in-out infinite; }
.sf-ticker li:nth-child(2n) .sf-spark { animation-delay: -1.3s; }
@keyframes sf-twinkle { 50% { transform: scale(.72) rotate(45deg); } }
.sf-rainbow { height: 8px; }

/* ---- Sections ----------------------------------------------------------- */

.sf-section { padding-block: clamp(52px, 7.5vw, 112px); }
.sf-section--tight { padding-top: 0; }
.sf-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(24px, 3.4vw, 48px); }
.sf-section h2, .sf-story h2, .sf-signup h2 { font-size: clamp(2.1rem, 4.6vw, 4.4rem); margin: 0; }
.sf-empty { max-width: 60ch; }
.sf-empty h2 { margin-bottom: 14px; }

.sf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 42vw), 1fr)); gap: clamp(26px, 3.2vw, 44px) clamp(14px, 2.2vw, 30px); }

/* ---- Product card ------------------------------------------------------- */

.sf-card { display: flex; flex-direction: column; height: 100%; }
.sf-card__media {
  display: block; position: relative; overflow: hidden; aspect-ratio: 6 / 7; border-radius: var(--radius);
  background: color-mix(in srgb, var(--tint) 15%, #fff);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease;
}
.sf-card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: var(--tint); }
.sf-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.sf-card:hover .sf-card__media, .sf-card:focus-within .sf-card__media { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 22px 38px color-mix(in srgb, var(--tint) 34%, transparent); }
.sf-card:hover .sf-card__media img { transform: scale(1.06); }
.sf-card__body { padding-top: 16px; display: flex; flex-direction: column; flex: 1; }
.sf-card h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.22; letter-spacing: -0.015em; margin: 0 0 6px; }
.sf-card h3 a { color: var(--ink); text-decoration: none; }
.sf-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.sf-card .product_price { margin-top: auto; }
.sf-card .price_color, .price_color { color: var(--ink); font-weight: 800; font-size: 1.25rem; margin: 0 0 2px; min-height: 0; }
.sf-card .availability { font-size: .9375rem; color: var(--muted); margin: 0 0 12px; }
.sf-card .availability.outofstock { color: var(--brand); }
.sf-card .btn { width: 100%; }
.sf-card form p { margin: 0; }
.star-rating { color: #d9d2e0; }
.star-rating.One i:nth-child(-n+1), .star-rating.Two i:nth-child(-n+2), .star-rating.Three i:nth-child(-n+3),
.star-rating.Four i:nth-child(-n+4), .star-rating.Five i { color: #f0a800; }

/* ---- Category tiles ----------------------------------------------------- */

.sf-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(14px, 2vw, 26px); }
.sf-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; overflow: hidden; min-height: clamp(210px, 22vw, 320px); padding: clamp(20px, 2.4vw, 34px); border-radius: var(--radius); color: #fff; text-decoration: none; background-size: 160% 160%; background-position: 0 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), background-position .6s ease, box-shadow .28s ease; }
.sf-tile:hover { color: #fff; text-decoration: none; transform: translateY(-8px) rotate(-.8deg); background-position: 100% 100%; box-shadow: 0 24px 40px rgba(21, 16, 28, .22); }
.sf-tile--a { background-image: linear-gradient(135deg, #e0007a, #7b2bd6); }
.sf-tile--b { background-image: linear-gradient(135deg, #d9480f, #e0007a); }
.sf-tile--c { background-image: linear-gradient(135deg, #0b7f86, #1a34d6); }
.sf-tile--d { background-image: linear-gradient(135deg, #7b2bd6, #1a34d6); }
.sf-tile--e { background-image: linear-gradient(135deg, #1f8a2c, #0b7f86); }
.sf-tile--f { background-image: linear-gradient(135deg, #b80064, #d9480f); }
.sf-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: luminosity; }
.sf-tile__name { position: relative; font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: .95; font-size: clamp(1.9rem, 3.2vw, 3.2rem); text-shadow: 0 2px 14px rgba(10, 6, 14, .3); overflow-wrap: anywhere; }
.sf-tile__go { position: relative; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; padding: .5em 1.1em; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; }
.sf-tile:hover .sf-tile__go { background: #fff; color: var(--ink); }

/* ---- Story, facts, sign-up ---------------------------------------------- */

.sf-story { background: var(--ink); color: #fff; padding-block: clamp(60px, 9vw, 136px); }
.sf-story__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(22px, 5vw, 80px); align-items: end; }
.sf-story h2 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 5.6rem); }
.sf-story p { font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); max-width: 46ch; color: rgba(255, 255, 255, .86); }
.sf-story p:last-child { margin: 26px 0 0; }

.sf-facts { border-bottom: 1px solid var(--line); }
.sf-facts__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 26px; }
.sf-facts p { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; }
.sf-facts .sf-icon { color: var(--brand); }
.sf-facts a { color: var(--ink); }

.sf-signup { background: linear-gradient(120deg, #e0007a, #7b2bd6); color: #fff; padding-block: clamp(46px, 6.4vw, 88px); }
.sf-signup__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 72px); align-items: center; }
.sf-signup h2 { color: #fff; }
.sf-signup p { margin: 12px 0 0; max-width: 44ch; font-size: 1.125rem; }
@media (max-width: 767px) {
  .sf-story__grid, .sf-signup__grid { grid-template-columns: 1fr; }
}

.sf-newsletter { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.sf-newsletter input[type="email"] { flex: 1 1 220px; min-width: 0; padding: 0.7rem 1.15rem; border-radius: 999px; border-color: transparent; font-size: 1.0625rem; background: #fff; }
.sf-newsletter__status { flex: 0 0 100%; margin: 0; min-height: 1.5em; font-weight: 600; }
.sf-newsletter__status.is-error { color: var(--yellow); }
.sf-signup .sf-btn--primary, .sf-footer .sf-btn--primary { background: var(--ink); border-color: var(--ink); }
.sf-signup .sf-btn--primary:hover { background: #000; border-color: #000; box-shadow: 0 10px 24px rgba(10, 6, 14, .4); }
.sf-footer .sf-btn--primary { background: var(--brand); border-color: var(--brand); }
.sf-footer .sf-btn--primary:hover { background: var(--pink); border-color: var(--pink); }

/* ---- Footer ------------------------------------------------------------- */

.sf-footer { background: var(--ink); color: #d9d3e0; }
.sf-footer a { color: #fff; }
.sf-footer__grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: clamp(44px, 6vw, 80px); }
.sf-footer nav { display: grid; align-content: start; gap: 10px; }
.sf-footer nav a { text-decoration: none; overflow-wrap: anywhere; }
.sf-footer nav a:hover { color: var(--yellow); }
.sf-footer h2 { font-size: 1rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; margin: 0 0 8px; color: #fff; }
.sf-footer__logo { display: block; width: 112px; margin-bottom: 16px; }
.sf-footer__tagline { margin: 0; max-width: 34ch; }
.sf-footer__label { font-weight: 700; margin: 24px 0 10px; color: #fff; }
.sf-footer .sf-newsletter { max-width: 440px; }
.sf-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 24px; margin-top: clamp(30px, 5vw, 60px); border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9375rem; }
.sf-footer__base span { display: flex; align-items: center; gap: 8px; }
.sf-footer--checkout { margin-top: 48px; }
.sf-footer--checkout .sf-footer__base { margin-top: 0; border-top: 0; }
@media (max-width: 767px) {
  .sf-footer__grid { grid-template-columns: 1fr 1fr; }
  .sf-footer__brand { grid-column: 1 / -1; }
}

/* ---- Oscar's inner pages (category, product, basket, account) ----------- */

.container.page { max-width: var(--wrap); padding: clamp(44px, 5vw, 72px) var(--gutter) clamp(52px, 7vw, 96px); }
.page-header, .sub-header { border: 0; margin: 0 0 clamp(20px, 3vw, 34px); padding: 0; }
.page-header h1, .sub-header h1 { font-size: clamp(2.1rem, 4.4vw, 4rem); margin: 0; }
.page-header h1::after, .sub-header h1::after { content: ""; display: block; width: 104px; height: 8px; margin-top: .32em; border-radius: 999px; background-image: var(--grad-band); background-size: 200% 100%; }
.sub-header h2, .sub-header h3 { font-weight: 800; font-size: 1.375rem; text-transform: none; letter-spacing: -0.02em; line-height: 1.2; }
.breadcrumb { background: none; padding: 0; margin: 0 0 16px; font-size: .9375rem; }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item.active { color: var(--ink); }
.alert { border-radius: 18px; border-width: 0; }
.alert-success { background: #e2f6e4; color: #12471a; }
.alert-info { background: var(--wash); color: var(--ink); }
.alert-warning { background: #fff3c2; color: #5a4200; }
.alert-danger, .alert-error { background: #ffe0ef; color: #7a0040; }
body.home #messages { max-width: var(--wrap); margin: 24px auto 0; padding-inline: var(--gutter); }
.side_categories.card { background: var(--wash) !important; border: 0; border-radius: var(--radius); }
.side_categories a { color: var(--ink); }
.img-thumbnail { border: 0; border-radius: 16px; padding: 0; background: transparent; }
.product_main h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
#product_gallery img, .product_page .carousel-inner { border-radius: var(--radius); }
.product_page .price_color { font-size: 1.75rem; }
.table { color: var(--ink); }
.basket-title, .basket-items { border-color: var(--line); }
.card { border-radius: 20px; border-color: var(--line); }
.page-item.active .page-link { background: var(--ink); border-color: var(--ink); }
.page-link { color: var(--ink); }
.sf-tax-note { color: var(--muted); font-size: .9375rem; }

/* ---- Checkout ----------------------------------------------------------- */

.sf-checkout { max-width: 1000px; }
.sf-steps { list-style: none; counter-reset: step; display: flex; gap: 8px; padding: 0; margin: 0 0 30px; }
.sf-steps li { counter-increment: step; flex: 1; border-top: 6px solid var(--line); padding-top: 10px; color: var(--muted); font-weight: 700; font-size: .9375rem; }
.sf-steps li::before { content: counter(step) ". "; }
.sf-steps li.is-done { border-top-color: var(--ink); color: var(--ink); }
.sf-steps li.is-current { border-top-color: var(--pink); color: var(--ink); }
.sf-steps a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sf-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.sf-pay__note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); max-width: 46ch; }
@media (max-width: 575px) {
  .sf-steps li { font-size: .8125rem; }
  .sf-pay .btn { width: 100%; }
}

/* ---- Product listing ---------------------------------------------------- */

.sf-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chips a { padding: 8px 18px; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: .9375rem; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.sf-chips a:hover { background: var(--ink); color: #fff; }
.sf-chips a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.sf-sort { display: flex; align-items: center; gap: 10px; }
.sf-sort label { margin: 0; white-space: nowrap; }
.sf-sort select { width: auto; border-radius: 999px; padding-inline: 14px; }
.sf-count { color: var(--muted); margin-bottom: 22px; }
.sf-intro { max-width: 68ch; margin-bottom: 24px; }

/* Oscar wraps pages in a shadowed box; this theme lets content sit on the page. */
.page_inner, .page .page_inner { background: none; box-shadow: none; border: 0; padding: 0; margin: 0; }

/* Oscar colors prices green and totals yellow; keep both in the theme's palette. */
body .price_color { color: var(--ink) !important; }
body .total { background-color: var(--wash) !important; }
.basket-items, .basket-items:nth-child(even) { background: none; border-bottom: 1px solid var(--line); }
.card.bg-light { background: var(--wash) !important; }

/* ---- Reveal on scroll ---------------------------------------------------
   Applies only when scripts are running (the "js" class), so nothing stays
   hidden without them. theme.js adds "is-in" as each block enters the screen. */

.js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in, .js [data-reveal-group].is-in > * { opacity: 1; transform: none; }

/* ---- Visitors who ask for less motion get a still page ------------------ */

@media (prefers-reduced-motion: reduce) {
  .sf-grad, .sf-ticker, .sf-rainbow, .sf-ticker__track, .sf-spark, .sf-drawer,
  .sf-hero__copy > *, .sf-hero__line { animation: none; }
  .sf-btn, .btn, .sf-card__media, .sf-card__media img, .sf-tile, .sf-badge, .sf-hero__video, .sf-logo,
  .js [data-reveal], .js [data-reveal-group] > * { transition: none; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
  .sf-btn:hover, .btn:hover, .sf-card:hover .sf-card__media, .sf-tile:hover, .sf-logo:hover .sf-badge { transform: none; }
}
