/* ==========================================================================
   Store theme: the 90s toy aisle. Loaded after Oscar's own stylesheet, so
   anything here wins.

   The idea: a 90s toy commercial or packaging card. Loud teal, grape, hot
   pink and lime; confetti squiggles and triangles; chunky type with a thick
   outline and a hard drop shadow. To rebrand, change the values in the first
   block; everything else reads from them.
   ========================================================================== */

@font-face {
  font-family: "Lilita One";
  src: url("../fonts/lilita-latin.2adcc4cb9219.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bungee";
  src: url("../fonts/bungee-latin.b042a684510e.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-latin.f280f1e37b84.woff") format("woff");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1b1238;          /* text and outlines */
  --muted: #554c72;        /* secondary text */
  --paper: #fffaf2;        /* page */
  --card: #ffffff;
  --line: #eadff5;         /* borders on the page */
  --pink: #ff4fa3;         /* hot pink for shadows and accents */
  --red: #d6136e;          /* button pink: dark enough for white text (the name is kept for older rules) */
  --red-deep: #ad0c57;
  --yellow: #ffd60a;
  --lime: #b6f000;
  --orange: #ff7a1a;
  --teal: #00a3a6;         /* bright teal */
  --teal-deep: #007579;    /* dark enough for white text */
  --sky: #5ec8ff;
  --purple: #6a25d9;       /* grape */
  --purple-deep: #3d1488;
  --tint: #d6136e;         /* fallback card tint; each product overrides it */

  /* Three-color candy stripes, used for small accents. */
  --stripes: linear-gradient(180deg, var(--pink) 0 33.3%, var(--yellow) 33.3% 66.6%, var(--teal) 66.6% 100%);
  /* Little printed dots behind product pictures. */
  --halftone: radial-gradient(rgba(27, 18, 56, .12) 1.2px, transparent 1.6px);
  /* Memphis-style confetti: squiggles, triangles, rings and crosses. */
  --confetti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round' opacity='0.42'%3E%3Cpath d='M18 40 q10 -14 20 0 t20 0 t20 0' stroke='%23ff4fa3' stroke-width='5'/%3E%3Cpath d='M150 30 l18 30 h-36z' stroke='%23ffd60a' stroke-width='5'/%3E%3Ccircle cx='200' cy='110' r='11' stroke='%232ee6d6' stroke-width='5'/%3E%3Cpath d='M60 150 v22 M49 161 h22' stroke='%23b6f000' stroke-width='5'/%3E%3Cpath d='M120 120 l26 -10' stroke='%235ec8ff' stroke-width='6'/%3E%3Cpath d='M150 200 q10 -14 20 0 t20 0' stroke='%232ee6d6' stroke-width='5'/%3E%3Cpath d='M30 210 l14 -24 l14 24z' stroke='%23ff4fa3' stroke-width='5'/%3E%3Ccircle cx='100' cy='70' r='4' fill='%23ffffff' stroke='none'/%3E%3Ccircle cx='220' cy='200' r='4' fill='%23ffd60a' stroke='none'/%3E%3Ccircle cx='20' cy='110' r='4' fill='%235ec8ff' stroke='none'/%3E%3Cpath d='M190 160 l12 12 M202 160 l-12 12' stroke='%23ffd60a' stroke-width='4'/%3E%3C/g%3E%3C/svg%3E");
  --confetti-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round' opacity='0.3'%3E%3Cpath d='M18 40 q10 -14 20 0 t20 0 t20 0' stroke='%23ff4fa3' stroke-width='5'/%3E%3Cpath d='M150 30 l18 30 h-36z' stroke='%23ffd60a' stroke-width='5'/%3E%3Ccircle cx='200' cy='110' r='11' stroke='%23ffffff' stroke-width='5'/%3E%3Cpath d='M60 150 v22 M49 161 h22' stroke='%23b6f000' stroke-width='5'/%3E%3Cpath d='M120 120 l26 -10' stroke='%235ec8ff' stroke-width='6'/%3E%3Cpath d='M150 200 q10 -14 20 0 t20 0' stroke='%23ffffff' stroke-width='5'/%3E%3Cpath d='M30 210 l14 -24 l14 24z' stroke='%23ff4fa3' stroke-width='5'/%3E%3Ccircle cx='100' cy='70' r='4' fill='%23ffffff' stroke='none'/%3E%3Ccircle cx='220' cy='200' r='4' fill='%23ffd60a' stroke='none'/%3E%3Ccircle cx='20' cy='110' r='4' fill='%235ec8ff' stroke='none'/%3E%3Cpath d='M190 160 l12 12 M202 160 l-12 12' stroke='%23ffd60a' stroke-width='4'/%3E%3C/g%3E%3C/svg%3E");
  --confetti-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round' opacity='0.22'%3E%3Cpath d='M18 40 q10 -14 20 0 t20 0 t20 0' stroke='%23e0177a' stroke-width='5'/%3E%3Cpath d='M150 30 l18 30 h-36z' stroke='%23e0a800' stroke-width='5'/%3E%3Ccircle cx='200' cy='110' r='11' stroke='%2300a3a6' stroke-width='5'/%3E%3Cpath d='M60 150 v22 M49 161 h22' stroke='%236aa800' stroke-width='5'/%3E%3Cpath d='M120 120 l26 -10' stroke='%232e8fe0' stroke-width='6'/%3E%3Cpath d='M150 200 q10 -14 20 0 t20 0' stroke='%2300a3a6' stroke-width='5'/%3E%3Cpath d='M30 210 l14 -24 l14 24z' stroke='%23e0177a' stroke-width='5'/%3E%3Ccircle cx='100' cy='70' r='4' fill='%237b2ff7' stroke='none'/%3E%3Ccircle cx='220' cy='200' r='4' fill='%23e0a800' stroke='none'/%3E%3Ccircle cx='20' cy='110' r='4' fill='%232e8fe0' stroke='none'/%3E%3Cpath d='M190 160 l12 12 M202 160 l-12 12' stroke='%23e0a800' stroke-width='4'/%3E%3C/g%3E%3C/svg%3E");
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16'%3E%3Cpath d='M3 8 q7.5 -10 15 0 t15 0 t15 0 t15 0 t15 0 t15 0 t15 0 t15 0' fill='none' stroke='%23e0177a' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  --display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --arcade: "Bungee", "Impact", "Arial Black", sans-serif;
  --font: "Rubik", "Trebuchet MS", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 2.2vw, 40px);
  --radius: 16px;
  --header-h: 90px;
  --ticker-h: clamp(52px, 4.2vw, 70px);
}
@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(--red); }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--purple); 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.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); }
/* Big headings use the chunky display face. */
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; line-height: 1.02; text-wrap: balance; }

/* Words wrapped in *stars* in the hero headline. */
.sf-grad { color: var(--yellow); }

/* The candy stripe band. */
.sf-rainbow { height: 14px; background: var(--stripes); }

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

.sf-btn, .btn {
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.66rem 1.4rem;
  transition: background-color .15s ease, color .15s ease, transform .1s ease, box-shadow .1s ease;
}
.sf-btn { display: inline-block; border: 3px solid var(--ink); text-decoration: none; cursor: pointer; font-size: 1rem; line-height: 1.2; }
/* Printed offset shadow; the button presses into it. */
.sf-btn, .btn-primary, .btn-secondary, .btn-info, .btn-outline-secondary { box-shadow: 4px 4px 0 var(--ink); border: 3px solid var(--ink); }
.sf-btn:hover, .btn:hover { text-decoration: none; }
.sf-btn:hover, .btn-primary:hover, .btn-secondary:hover { transform: translate(-1px, -1px); }
.sf-btn:active, .btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-lg { padding: 0.86rem 1.9rem; font-size: 1.0625rem; }
.sf-btn--xl { padding: .85em 1.6em; font-size: clamp(1.05rem, 1.2vw, 1.25rem); box-shadow: 5px 5px 0 var(--ink); }

.sf-btn--primary, .btn-primary { background: var(--red); border-color: var(--ink); color: #fff; }
.sf-btn--primary:hover, .btn-primary:hover, .btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active { background: var(--red-deep); border-color: var(--ink); color: #fff; }
.sf-btn--outline, .sf-btn--ghost, .btn-secondary, .btn-info, .btn-outline-secondary { background: #fff; border-color: var(--ink); color: var(--ink); }
.sf-btn--outline:hover, .sf-btn--ghost:hover, .btn-secondary:hover, .btn-info:hover, .btn-outline-secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-sm { padding: 0.4rem 1rem; font-size: .9375rem; }
.btn-link { box-shadow: none; border: 0; }

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

.form-control, .sf-newsletter input[type="email"], .sf-searchbar input, .sf-drawer__search input {
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
}
.form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(106, 37, 217, .3); }
label { font-weight: 600; }

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

.sf-announce { background: var(--yellow); color: var(--ink); text-align: center; font-size: .9375rem; font-weight: 700; padding: 8px var(--gutter); position: relative; z-index: 41; border-bottom: 3px solid var(--ink); }
.sf-announce a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sf-announce a:hover { color: var(--red); }

/* ---- Header: a grape-purple toy shelf with a zigzag edge ----------------- */

.sf-header {
  position: sticky; top: 0; z-index: 40;
  color: #fff;
  background-color: var(--purple-deep);
  background-image: var(--confetti);
  background-size: 240px 240px;
  border-bottom: 4px solid var(--ink);
  transition: box-shadow .3s ease;
}
/* Hot pink zigzag teeth hanging off the bottom edge. */
.sf-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none;
  background:
    linear-gradient(135deg, var(--pink) 33.4%, transparent 33.4%) 0 0 / 22px 14px repeat-x,
    linear-gradient(225deg, var(--pink) 33.4%, transparent 33.4%) 0 0 / 22px 14px repeat-x;
  filter: drop-shadow(0 3px 0 var(--ink));
}
.sf-header.is-stuck { box-shadow: 0 10px 24px rgba(27, 18, 56, .25); }

.sf-header__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  column-gap: clamp(18px, 2.6vw, 48px);
  height: var(--header-h);
  padding-inline: var(--gutter);
}
.sf-nav { display: flex; align-items: center; gap: clamp(6px, 1vw, 16px); min-width: 0; }
.sf-nav--left { justify-content: flex-end; }
.sf-nav--right { justify-content: flex-start; }
/* Chunky pill links that light up like toy-store buttons. */
.sf-nav a, .sf-nav summary, .sf-nav__icon {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-family: var(--display); font-size: clamp(1.05rem, 1.15vw, 1.3rem); line-height: 1; white-space: nowrap;
  letter-spacing: .02em; text-decoration: none; text-shadow: 2px 2px 0 var(--ink);
  padding: 10px 14px; border-radius: 999px; border: 2.5px solid transparent;
  background: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s cubic-bezier(.3, 1.6, .5, 1), border-color .15s ease;
}
.sf-nav a:hover, .sf-nav summary:hover, .sf-nav__icon:hover, .sf-nav a[aria-current="page"] {
  color: var(--ink); background: var(--yellow); border-color: var(--ink); text-shadow: none; transform: rotate(-3deg) scale(1.04);
}
.sf-nav .sf-icon { filter: drop-shadow(2px 2px 0 var(--ink)); }
.sf-nav a:hover .sf-icon, .sf-nav summary:hover .sf-icon, .sf-nav__icon:hover .sf-icon { filter: none; }

/* The round sticker logo, big and hanging over the zigzag. */
.sf-logo { display: block; align-self: start; margin-top: 6px; width: clamp(104px, 8vw, 138px); position: relative; z-index: 2; }
.sf-badge { display: block; width: 100%; height: auto; filter: drop-shadow(4px 5px 0 var(--ink)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.sf-logo:hover .sf-badge { transform: rotate(-12deg) scale(1.07); }
.sf-badge__name { font-family: var(--display); fill: #fff; }
.sf-badge__sub { font-family: var(--font); font-weight: 800; fill: var(--ink); letter-spacing: .14em; }

.sf-cart__count { background: var(--lime); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; min-width: 26px; height: 26px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font); font-size: .8125rem; font-weight: 800; 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% + 12px); background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 6px; min-width: 210px; box-shadow: 6px 6px 0 var(--pink); display: grid; z-index: 5; }
.sf-nav .sf-account__menu a { display: block; padding: 10px 14px; border-radius: 10px; border: 0; color: var(--ink); font-family: var(--font); font-size: 1rem; font-weight: 600; text-shadow: none; transform: none; }
.sf-nav .sf-account__menu a:hover { background: var(--yellow); color: var(--ink); transform: none; }
.sf-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.sf-menu-btn { display: none; border: 0; background: none; color: #fff; padding: 8px; margin-left: -8px; justify-self: start; filter: drop-shadow(2px 2px 0 var(--ink)); }
.sf-menu-btn .sf-icon { width: 30px; height: 30px; }
.sf-secure { justify-self: end; grid-column: 3; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 1rem; text-shadow: 2px 2px 0 var(--ink); }
.sf-header--checkout .sf-logo { grid-column: 2; }

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

@media (min-width: 1200px) and (max-width: 1439px) {
  .sf-header__row { column-gap: 18px; }
  .sf-nav { gap: 4px; }
  .sf-nav a, .sf-nav summary, .sf-nav__icon { font-size: 1rem; padding-inline: 10px; }
}
@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 { width: 88px; margin-top: 4px; }
  .sf-searchbar { display: none; }
}

/* Slide-in menu for small screens. */
.sf-drawer { position: fixed; inset: 0; z-index: 60; background-color: var(--teal); background-image: var(--confetti-soft); background-size: 240px 240px; color: var(--ink); padding: 18px var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; animation: sf-drawer-in .22s ease both; }
.sf-drawer[hidden] { display: none; }
@keyframes sf-drawer-in { from { opacity: 0; transform: translateY(-10px); } }
.sf-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.sf-drawer__title { font-family: var(--display); font-size: 1.8rem; line-height: 1; color: #fff; text-shadow: 3px 3px 0 var(--ink); }
.sf-drawer__close { border: 0; background: none; color: var(--ink); padding: 8px; margin-right: -8px; }
.sf-drawer__close .sf-icon { width: 30px; height: 30px; }
.sf-drawer__search { position: relative; display: flex; }
.sf-drawer__search input { width: 100%; padding: .7rem 48px .7rem 1.1rem; font-size: 1.0625rem; border-radius: 999px; }
.sf-drawer__search button { position: absolute; right: 8px; 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-family: var(--display); font-size: clamp(1.9rem, 7.5vw, 2.7rem); line-height: 1.1; padding: 10px 0; border-bottom: 3px dashed rgba(27, 18, 56, .35); text-shadow: 3px 3px 0 var(--ink); }
.sf-drawer nav a:hover { color: var(--yellow); }
body.sf-locked { overflow: hidden; }

/* ---- Hero: the toy commercial ------------------------------------------- */

.sf-hero {
  position: relative; overflow: hidden;
  background-color: var(--teal);
  background-image: var(--confetti-soft);
  background-size: 240px 240px;
  padding-block: clamp(58px, 7vw, 96px) clamp(44px, 5vw, 76px);
  border-bottom: 4px solid var(--ink);
}
.sf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 899px) { .sf-hero__grid { grid-template-columns: 1fr; } }

.sf-ribbon {
  display: inline-block; margin: 0 0 clamp(16px, 2.2vh, 26px);
  background: var(--ink); color: var(--lime);
  font-family: var(--arcade); font-size: clamp(.8rem, .95vw, 1rem); line-height: 1.25; letter-spacing: .02em;
  padding: .55em 1em; border-radius: 6px;
  box-shadow: 4px 4px 0 var(--pink);
  transform: rotate(-2deg);
}
.sf-hero h1 {
  font-size: clamp(3rem, 10.5vw, 4.6rem); line-height: 1; margin: 0 0 .3em;
  color: #fff;
  /* A thick ink outline, then a hot pink drop and an ink edge: the toy-box logo look. */
  text-shadow:
    -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink),
    0 3px 0 var(--ink), 3px 0 0 var(--ink),
    6px 6px 0 var(--pink), 8px 8px 0 var(--ink);
}
@media (min-width: 900px) { .sf-hero h1 { font-size: clamp(4.2rem, 6vw, 7rem); } }
.sf-hero .sf-grad { color: var(--yellow); }
.sf-hero__line { display: block; }
.sf-hero__line + .sf-hero__line { transform: rotate(-2deg); transform-origin: left; }
.sf-hero__body { font-size: clamp(1.0625rem, 1.3vw, 1.3rem); font-weight: 600; line-height: 1.45; max-width: 32em; margin: 0 0 clamp(22px, 3vh, 34px); color: var(--ink); }
.sf-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 0; }

/* The screen: your videos, framed like a chunky toy TV. */
.sf-hero__photo { position: relative; padding: 18px 18px 0 0; }
.sf-hero__frame {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: 22px;
  background: var(--ink);
  border: clamp(12px, 1.2vw, 18px) solid var(--yellow);
  outline: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--pink), 12px 12px 0 3px var(--ink);
  transform: rotate(2deg);
}
.sf-hero__media { position: absolute; inset: 0; z-index: -1; }
.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; }
/* Faint TV scan lines over the picture, including your own videos. */
.sf-hero__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 5px); }
.sf-hero__pause { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.sf-hero__pause[hidden] { display: none; }
.sf-hero__pause:hover { background: var(--lime); }
.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 starburst sticker on the corner of the screen. */
/* The wrapper carries the shadow, because the star's clip-path would cut a shadow off. */
.sf-burst-wrap { position: absolute; left: clamp(-26px, -1.6vw, -10px); top: clamp(-30px, -2vw, -14px); z-index: 3; filter: drop-shadow(4px 4px 0 var(--ink)); }
.sf-burst {
  width: clamp(122px, 11vw, 172px); aspect-ratio: 1; margin: 0;
  display: grid; place-items: center; text-align: center;
  padding: 23%;
  background: var(--lime); color: var(--ink);
  font-family: var(--arcade); font-size: clamp(.78rem, .9vw, .98rem); line-height: 1.1;
  clip-path: polygon(50.0% 0.0%, 57.1% 9.6%, 67.1% 3.0%, 70.5% 14.5%, 82.1% 11.7%, 81.4% 23.6%, 93.3% 25.0%, 88.5% 36.0%, 99.2% 41.3%, 91.0% 50.0%, 99.2% 58.7%, 88.5% 64.0%, 93.3% 75.0%, 81.4% 76.4%, 82.1% 88.3%, 70.5% 85.5%, 67.1% 97.0%, 57.1% 90.4%, 50.0% 100.0%, 42.9% 90.4%, 32.9% 97.0%, 29.5% 85.5%, 17.9% 88.3%, 18.6% 76.4%, 6.7% 75.0%, 11.5% 64.0%, 0.8% 58.7%, 9.0% 50.0%, 0.8% 41.3%, 11.5% 36.0%, 6.7% 25.0%, 18.6% 23.6%, 17.9% 11.7%, 29.5% 14.5%, 32.9% 3.0%, 42.9% 9.6%);
  transform: rotate(-12deg);
}

/* Opening the page: the headline bounces in, the screen is slapped down, the sticker pops on. Plays once. */
.js .sf-hero__copy > * { animation: sf-drop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.js .sf-hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .sf-hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .sf-hero__copy > :nth-child(4) { animation-delay: .24s; }
.js .sf-hero__frame { animation: sf-slap .55s cubic-bezier(.2, 1.3, .4, 1) .3s both; }
.js .sf-burst { animation: sf-pop .5s cubic-bezier(.3, 1.8, .5, 1) .8s both; }
@keyframes sf-drop { from { opacity: 0; transform: translateY(-26px); } }
@keyframes sf-slap { from { opacity: 0; transform: rotate(9deg) scale(1.12); } }
@keyframes sf-pop { from { opacity: 0; transform: rotate(-60deg) scale(0); } }

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

.sf-ticker {
  height: var(--ticker-h); overflow: hidden; display: flex; align-items: center; position: relative; z-index: 1;
  background: var(--ink); color: var(--lime);
  border-bottom: 4px solid var(--ink);
}
.sf-ticker::before, .sf-ticker::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-conic-gradient(#fff 0 25%, var(--ink) 0 50%) 0 0 / 12px 12px;
}
.sf-ticker::before { top: 0; }
.sf-ticker::after { bottom: 0; }
.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(20px, 2.4vw, 44px); padding-left: clamp(20px, 2.4vw, 44px); font-family: var(--arcade); font-size: clamp(1rem, 1.6vw, 1.6rem); line-height: 1.2; white-space: nowrap; }
.sf-ticker li:nth-child(3n+2) { color: var(--pink); }
.sf-ticker li:nth-child(3n) { color: var(--yellow); }
.sf-spark { width: .85em; height: .85em; fill: var(--sky); flex: none; }

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

.sf-section { padding-block: clamp(52px, 7vw, 108px); }
.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, 3vw, 42px); }
.sf-section h2, .sf-story h2, .sf-signup h2 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); margin: 0; }
.sf-section h2 { color: var(--purple); text-shadow: 3px 3px 0 var(--pink), 5px 5px 0 var(--ink); }
/* A hot pink squiggle under section titles. */
.sf-section__head h2::after { content: ""; display: block; width: 120px; height: 16px; margin-top: .25em; background: var(--squiggle) 0 0 / 120px 16px no-repeat; }
.sf-section__head p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.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, 3vw, 42px) clamp(14px, 2vw, 28px); }

/* ---- 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) 16%, #fff);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s ease;
}
.sf-card__media::before { content: ""; position: absolute; inset: 0; background-image: var(--halftone); background-size: 7px 7px; pointer-events: none; }
.sf-card__media img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.sf-card:hover .sf-card__media, .sf-card:focus-within .sf-card__media { transform: translate(-3px, -4px) rotate(-2deg); box-shadow: 9px 9px 0 var(--tint), 9px 9px 0 3px var(--ink); }
.sf-card__body { padding-top: 16px; display: flex; flex-direction: column; flex: 1; }
.sf-card h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.28; margin: 0 0 8px; }
.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; }
/* Prices sit on a little lime price sticker. */
.sf-card .price_color, .price_color {
  display: inline-block; color: var(--ink); font-family: var(--font); font-weight: 800; font-size: 1.25rem; line-height: 1;
  background: var(--lime); border: 2.5px solid var(--ink); border-radius: 8px; padding: .28em .5em;
  transform: rotate(-3deg); margin: 2px 0 8px; min-height: 0; box-shadow: 2px 2px 0 var(--ink);
}
.sf-card .availability { font-size: .9375rem; color: var(--muted); margin: 0 0 12px; }
.sf-card .availability.outofstock { color: var(--red); }
.sf-card .btn { width: 100%; }
.sf-card form p { margin: 0; }
.star-rating { color: #d9cdee; }
.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: var(--orange); }

/* ---- Category tiles: toy packaging cards -------------------------------- */

.sf-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(16px, 2vw, 26px); }
.sf-tile {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; overflow: hidden;
  min-height: clamp(200px, 19vw, 280px); padding: clamp(20px, 2.2vw, 30px);
  border-radius: var(--radius); border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink);
  background-color: var(--lid, var(--red)); background-image: var(--confetti-soft); background-size: 240px 240px;
  color: #fff; text-decoration: none;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s ease;
}
/* A big lime circle peeking in from the corner, like a price burst on a toy box. */
.sf-tile::before { content: ""; position: absolute; z-index: -1; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
.sf-tile--a { --lid: var(--red); } .sf-tile--b { --lid: var(--teal-deep); } .sf-tile--c { --lid: var(--purple); }
.sf-tile--d { --lid: #e2560b; } .sf-tile--e { --lid: #1f6fd1; } .sf-tile--f { --lid: var(--purple-deep); }
.sf-tile--b::before { background: var(--pink); } .sf-tile--c::before { background: var(--lime); } .sf-tile--d::before { background: var(--sky); }
.sf-tile:hover { color: #fff; text-decoration: none; transform: translate(-3px, -4px) rotate(-1.5deg); box-shadow: 10px 10px 0 var(--ink); }
.sf-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .3; mix-blend-mode: luminosity; }
.sf-tile__name { position: relative; font-family: var(--display); line-height: 1.02; font-size: clamp(1.9rem, 2.4vw, 2.7rem); text-shadow: 3px 3px 0 var(--ink); overflow-wrap: break-word; }
.sf-tile__go { position: relative; font-weight: 800; font-size: .9375rem; background: #fff; color: var(--ink); border: 2.5px solid var(--ink); border-radius: 999px; padding: .35em 1em; box-shadow: 2px 2px 0 var(--ink); }
.sf-tile:hover .sf-tile__go { background: var(--yellow); }

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

.sf-story { background-color: var(--purple); background-image: var(--confetti-soft); background-size: 240px 240px; color: #fff; padding-block: clamp(60px, 8vw, 124px); border-block: 4px solid var(--ink); }
.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.7rem, 5.4vw, 5.2rem); text-shadow: 4px 4px 0 var(--pink), 6px 6px 0 var(--ink); }
.sf-story p { font-size: clamp(1.0625rem, 1.25vw, 1.25rem); max-width: 46ch; color: #fff; }
.sf-story p:last-child { margin: 24px 0 0; }

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

.sf-signup { background-color: var(--red); background-image: var(--confetti-soft); background-size: 240px 240px; color: #fff; padding-block: clamp(48px, 6vw, 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: var(--yellow); text-shadow: 4px 4px 0 var(--ink); }
.sf-signup p { margin: 12px 0 0; max-width: 44ch; font-size: 1.125rem; font-weight: 500; }
.sf-signup :focus-visible { outline-color: #fff; }
@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.66rem 1.1rem; font-size: 1.0625rem; border-radius: 999px; }
.sf-newsletter__status { flex: 0 0 100%; margin: 0; min-height: 1.5em; font-weight: 600; }
.sf-signup .sf-newsletter__status.is-error, .sf-footer .sf-newsletter__status.is-error { color: var(--yellow); }
.sf-signup .sf-btn--primary { background: var(--yellow); color: var(--ink); }
.sf-signup .sf-btn--primary:hover { background: var(--lime); color: var(--ink); }

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

.sf-footer { position: relative; background: var(--ink); color: #e6dcfa; margin-top: 14px; }
/* Teal zigzag along the top edge. */
.sf-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px;
  background:
    linear-gradient(45deg, var(--ink) 33.4%, transparent 33.4%) 0 0 / 22px 14px repeat-x,
    linear-gradient(-45deg, var(--ink) 33.4%, transparent 33.4%) 0 0 / 22px 14px repeat-x;
}
.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, 5.5vw, 76px); }
.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(--lime); text-decoration: underline; text-underline-offset: 3px; }
.sf-footer h2 { font-size: 1.7rem; line-height: 1.1; margin: 0 0 6px; color: var(--lime); }
.sf-footer nav:nth-of-type(2) h2 { color: var(--pink); }
.sf-footer nav:nth-of-type(3) h2 { color: var(--sky); }
.sf-footer__logo { display: block; width: 116px; margin-bottom: 16px; }
.sf-footer__tagline { margin: 0; max-width: 36ch; }
.sf-footer__label { font-weight: 700; margin: 24px 0 10px; color: #fff; }
.sf-footer .sf-newsletter { max-width: 440px; }
.sf-footer .sf-newsletter input[type="email"] { border-color: transparent; }
.sf-footer .sf-btn { box-shadow: 3px 3px 0 var(--pink); }
.sf-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px; margin-top: clamp(30px, 5vw, 56px); border-top: 2px dashed rgba(255, 255, 255, .25); font-size: .9375rem; }
.sf-footer__base span { display: flex; align-items: center; gap: 8px; }
.sf-footer--checkout { margin-top: 62px; }
.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, 32px); padding: 0; }
.page-header h1, .sub-header h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin: 0; color: var(--purple); text-shadow: 3px 3px 0 var(--pink), 5px 5px 0 var(--ink); }
.page-header h1::after, .sub-header h1::after { content: ""; display: block; width: 120px; height: 16px; margin-top: .3em; background: var(--squiggle) 0 0 / 120px 16px no-repeat; }
.sub-header h2, .sub-header h3 { font-family: var(--font); font-weight: 700; font-size: 1.375rem; 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: var(--radius); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.alert .btn { margin: 8px 8px 2px 0; }
.alert-success { background: #e9fbc4; color: #23410a; }
.alert-info { background: #fff; color: var(--ink); }
.alert-warning { background: #fff0c4; color: #5a4200; }
.alert-danger, .alert-error { background: #fde0da; color: #7a220a; }
body.home #messages { max-width: var(--wrap); margin: 24px auto 0; padding-inline: var(--gutter); }
.side_categories.card { background: #fff !important; border: 2.5px solid var(--ink); border-radius: var(--radius); }
.side_categories a { color: var(--ink); }
.img-thumbnail { border: 0; border-radius: 8px; padding: 0; background: transparent; }
.product_main h1 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); }
.product_page .carousel-inner { border-radius: var(--radius); border: 3px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--pink), 8px 8px 0 3px var(--ink); }
#product_gallery img { border-radius: 0; border: 0; }
.product_page .price_color { font-size: 1.9rem; }
.table { color: var(--ink); }
.basket-title, .basket-items { border-color: var(--line); }
.card { border-radius: var(--radius); border-color: var(--line); background: #fff; }
.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: 600; font-size: .9375rem; }
.sf-steps li::before { content: counter(step) ". "; }
.sf-steps li.is-done { border-top-color: var(--teal-deep); color: var(--ink); }
.sf-steps li.is-current { border-top-color: var(--red); 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: 2px 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: 7px 16px; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; font-size: .9375rem; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.sf-chips a:hover { background: var(--lime); color: var(--ink); }
.sf-chips a[aria-current="page"] { background: var(--purple); border-color: var(--ink); color: #fff; }
.sf-sort { display: flex; align-items: center; gap: 10px; }
.sf-sort label { margin: 0; white-space: nowrap; }
.sf-sort select { width: auto; padding-inline: 12px; }
.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: #fff !important; }
.basket-items, .basket-items:nth-child(even) { background: none; border-bottom: 2px solid var(--line); }
/* In the cart, prices are plain figures lined up under their column headings, not stickers. */
.basket-items .price_color { display: block; background: none; border: 0; padding: 0; transform: none; margin: 4px 0 0; font-size: 1.125rem; text-align: right; }
.card.bg-light { background: #fff !important; }

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

@media (prefers-reduced-motion: reduce) {
  .sf-ticker__track, .sf-drawer, .js .sf-hero__copy > *, .js .sf-hero__frame, .js .sf-burst { animation: none !important; }
  .sf-btn, .btn, .sf-card__media, .sf-hero__video, .sf-tile, .sf-badge, .sf-nav a, .sf-nav summary, .sf-nav__icon { transition: none; }
  .sf-card:hover .sf-card__media, .sf-tile:hover, .sf-logo:hover .sf-badge, .sf-nav a:hover, .sf-nav summary:hover, .sf-nav__icon:hover, .sf-btn:hover { transform: none; }
}

/* ---- Cookie banner ---------------------------------------------------------
   Sits along the bottom without covering the page; "Reject" and "Accept" look
   the same so neither choice is nudged. */
.sf-consent { position: fixed; z-index: 1050; left: 12px; right: 12px; bottom: 12px; max-width: 1080px; margin-inline: auto;
  background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--pink), 7px 7px 0 3px var(--ink); animation: sf-consent-in .45s cubic-bezier(.2, 1.3, .4, 1) both; }
.sf-consent__inner { display: flex; gap: 20px 28px; align-items: center; padding: 18px 22px; }
.sf-consent__text { flex: 1 1 auto; }
.sf-consent h2 { font-family: var(--display); font-size: 1.4rem; margin: 0 0 6px; color: var(--purple); }
.sf-consent p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.sf-consent a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.sf-consent__gpc { margin-top: 6px !important; color: var(--muted); }
.sf-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 0 0 auto; margin: 0; }
.sf-btn--consent { background: var(--purple); color: #fff; padding: .7rem 1.2rem; }
.sf-btn--consent:hover { background: var(--purple-deep); color: #fff; }
.sf-consent__more { font-weight: 700; padding: .5rem .25rem; }
@keyframes sf-consent-in { from { opacity: 0; transform: translateY(24px) rotate(1deg); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .sf-consent { left: 8px; right: 14px; bottom: 14px; }
  .sf-consent__inner { flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; }
  .sf-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .sf-consent__actions .sf-btn--consent { text-align: center; }
  .sf-consent__more { grid-column: 1 / -1; text-align: center; }
}

/* ---- Legal pages: privacy, terms, cookies ---- */
.sf-legal { max-width: 880px; padding-block: clamp(36px, 6vw, 68px); }
.sf-legal .sf-eyebrow { display: inline-block; font-family: var(--arcade); font-size: .85rem; background: var(--ink); color: var(--lime); padding: .35em .8em; border-radius: 6px; transform: rotate(-2deg); margin: 0 0 14px; }
.sf-legal__head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 8px; color: var(--purple); text-shadow: 3px 3px 0 var(--pink), 5px 5px 0 var(--ink); }
.sf-legal__date { color: var(--muted); margin: 0 0 28px; font-weight: 600; }
.sf-legal__lead { font-size: 1.125rem; line-height: 1.6; }
.sf-legal__body h2 { font-size: 1.6rem; color: var(--ink); margin: 2.1em 0 .55em; scroll-margin-top: 120px; }
.sf-legal__body p, .sf-legal__body li { line-height: 1.65; }
.sf-legal__body li { margin-bottom: .45em; }
.sf-legal__body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.sf-legal__caps { font-size: .875rem; letter-spacing: .01em; }
.sf-legal__toc { background: #fff6c2; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--ink); padding: 18px 24px; margin: 24px 0; }
.sf-legal__toc h2 { font-size: 1.2rem !important; margin: 0 0 8px !important; }
.sf-legal__toc ol { columns: 2 220px; margin: 0; padding-left: 1.2em; }
.sf-legal__table { overflow-x: auto; margin: 1em 0 1.4em; border: 3px solid var(--ink); border-radius: 12px; }
.sf-legal__table table { width: 100%; border-collapse: collapse; font-size: .9375rem; background: #fff; }
.sf-legal__table th, .sf-legal__table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 2px solid var(--line); }
.sf-legal__table th { background: #ecfbb8; font-weight: 800; }
.sf-legal__related { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 48px; padding-top: 20px; border-top: 3px dashed var(--line); }
.sf-legal__related a { color: var(--purple); font-weight: 800; }
.sf-legal__staff { background: #fff6c2; border: 3px solid var(--ink); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; }
.sf-legal__settings { background: #d9f7f7; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--teal), 6px 6px 0 3px var(--ink); padding: 20px 24px; margin: 28px 0 36px; }
.sf-legal__settings h2 { margin-top: 0 !important; }
.sf-legal__settings fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.sf-toggle { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.sf-toggle input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--red); }
.sf-toggle label { margin: 0; line-height: 1.5; font-weight: 400; }
.sf-toggle__state { display: inline-block; margin-left: 6px; font-size: .8125rem; font-weight: 800; color: var(--teal-deep); }
.sf-terms-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; line-height: 1.5; font-weight: 400; }
.sf-terms-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); }
.sf-terms-check a { color: var(--red); text-decoration: underline; }
.sf-newsletter__fine { flex-basis: 100%; margin: 2px 0 0; font-size: .8125rem; opacity: .85; }
.sf-newsletter__fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sf-legal-note { font-size: .875rem; color: var(--muted); margin: 0 0 12px; font-weight: 400; }
.sf-legal-note a { color: var(--red); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .sf-consent { animation: none; } }
@media print {
  .sf-consent, .sf-header, .sf-footer, .sf-announce, .sf-legal__related, .sf-legal__settings form, .sf-skip { display: none !important; }
  .sf-header::after, .sf-footer::before { display: none; }
  .sf-legal { max-width: none; padding: 0; }
  .sf-legal__body a { color: inherit; }
}
