:root {
  --srpan-bg: #f6efe5;
  --srpan-panel: #fffaf4;
  --srpan-panel-soft: #f1e4d4;
  --srpan-line: rgba(76, 53, 31, 0.14);
  --srpan-line-strong: rgba(76, 53, 31, 0.24);
  --srpan-text: #20150f;
  --srpan-muted: #725a46;
  --srpan-accent: #b98042;
  --srpan-accent-soft: #4d3522;
  --srpan-fresh: #6f8560;
  --srpan-shadow: 0 24px 70px rgba(54, 34, 19, 0.12);
  --srpan-font-body: "DM Sans", sans-serif;
  --srpan-font-display: "Fraunces", Georgia, serif;
  --srpan-font-mono: "JetBrains Mono", monospace;
  --srpan-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --srpan-ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Entrance animations ─────────────────────────────────────────── */

@keyframes srpan-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes srpan-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes srpan-slide-up {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes srpan-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes srpan-slide-in-right {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes srpan-text-reveal {
  from {
    opacity: 0;
    transform: translateY(40px) skewY(3deg);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0) skewY(0);
    filter: blur(0);
  }
}

@keyframes srpan-word-pop {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.7) rotate(-4deg);
    filter: blur(8px);
  }

  55% {
    opacity: 1;
    transform: translateY(-6px) scale(1.05) rotate(1deg);
    filter: blur(0);
  }

  75% {
    transform: translateY(3px) scale(0.98) rotate(-0.5deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes srpan-scale-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes srpan-photo-reveal {
  from {
    opacity: 0;
    transform: translateY(80px) scale(1.02);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-fade-up {
  animation: srpan-fade-up 0.8s var(--srpan-ease-out-expo) both;
}

.animate-fade-in {
  animation: srpan-fade-in 0.6s ease-out both;
}

.animate-slide-up {
  animation: srpan-slide-up 0.9s var(--srpan-ease-out-expo) both;
}

.animate-slide-in-left {
  animation: srpan-slide-in-left 0.8s var(--srpan-ease-out-expo) both;
}

.animate-slide-in-right {
  animation: srpan-slide-in-right 0.8s var(--srpan-ease-out-expo) both;
}

.animate-text-reveal {
  animation: srpan-text-reveal 1s var(--srpan-ease-out-expo) both;
}

.animate-word-pop {
  opacity: 0;
  animation: srpan-word-pop 0.9s var(--srpan-ease-pop) both;
}

.animate-scale-in {
  animation: srpan-scale-in 0.7s var(--srpan-ease-out-expo) both;
}

.animate-photo-reveal {
  animation: srpan-photo-reveal 1.1s var(--srpan-ease-out-expo) both;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }
.delay-900 { animation-delay: 900ms; }
.delay-1000 { animation-delay: 1000ms; }
.delay-1100 { animation-delay: 1100ms; }
.delay-1200 { animation-delay: 1200ms; }

.hero-heading-word {
  display: inline-block;
}

.srpan-on-scroll {
  animation-play-state: paused;
}

.srpan-on-scroll.is-inview {
  animation-play-state: running;
}

.product-grid .product-card.srpan-on-scroll:nth-child(3n + 1) {
  animation-delay: 100ms;
}

.product-grid .product-card.srpan-on-scroll:nth-child(3n + 2) {
  animation-delay: 200ms;
}

.product-grid .product-card.srpan-on-scroll:nth-child(3n) {
  animation-delay: 300ms;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body.srpan-landing {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--srpan-text);
  background:
    radial-gradient(circle at top left, rgba(185, 128, 66, 0.14), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(111, 133, 96, 0.1), transparent 20%),
    linear-gradient(180deg, #fbf6ef 0%, #f3e8db 52%, #f6efe5 100%);
  font-family: var(--srpan-font-body);
}

body.srpan-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(77, 53, 34, 0.03) 1px, transparent 1px);
  background-size: 100% 6px;
  opacity: 0.35;
}

img {
  max-width: 100%;
  height: auto;
}

p,
h1,
h2,
h3,
dl,
dd,
dt {
  margin: 0;
}

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

button {
  font: inherit;
}

.landing-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 48px;
}

.landing-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 248, 240, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.nav-menu {
  display: contents;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--srpan-line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--srpan-text);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.landing-nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.landing-nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.landing-nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-action-stack {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 16px;
}

.hero-action-stack .hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
  justify-content: unset;
}

.hero-action-stack .hero-trust-item--wide {
  grid-column: 1 / -1;
}

.hero-action-stack .hero-trust-item--location a,
.hero-action-stack .hero-trust-item--wide a {
  width: 100%;
  justify-content: center;
}

.hero-action-stack .hero-cta-primary--large {
  width: 100%;
  margin-top: 0;
  align-self: stretch;
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.landing-nav--hero {
  margin-bottom: clamp(24px, 5vh, 48px);
}

.landing-nav--hero .brand-mark strong,
.landing-nav--hero .brand-mark small {
  color: var(--srpan-text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-mark span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-mark strong {
  font-family: var(--srpan-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.eyebrow,
.status-pill,
.product-meta span,
.workflow-list span,
.hero-metrics dd,
.mini-tile small,
.section-note,
.hero-trust-bar,
.hero-category-chip small,
.gallery-label {
  font-family: var(--srpan-font-mono);
}

.brand-mark small {
  color: var(--srpan-muted);
  font-size: 0.74rem;
}

.nav-links,
.nav-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a,
.ghost-action,
.solid-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nav-links {
  justify-content: center;
}

.nav-links--pill {
  justify-self: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(77, 53, 34, 0.08);
}

.nav-links a {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--srpan-muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--srpan-text);
  background: rgba(185, 128, 66, 0.14);
}

.nav-links a.is-active {
  font-weight: 600;
}

.nav-links a:hover,
.ghost-action:hover,
.solid-action:hover {
  transform: translateY(-2px);
}

.ghost-action {
  border: 1px solid var(--srpan-line-strong);
  color: var(--srpan-text);
  background: rgba(77, 53, 34, 0.03);
}

.ghost-action:hover {
  border-color: rgba(77, 53, 34, 0.32);
  background: rgba(77, 53, 34, 0.07);
}

.solid-action {
  border: 1px solid transparent;
  color: #fff8f0;
  background: linear-gradient(135deg, #241710 0%, #4d3522 50%, #7f5734 100%);
  box-shadow: 0 12px 28px rgba(54, 34, 19, 0.18);
}

.solid-action:hover {
  color: #fff8f0;
}

.story-grid,
.product-grid,
.workflow-list,
.cta-band,
.featured-rail,
.faq-grid {
  display: grid;
}

.story-grid article,
.product-card,
.workflow-list article,
.cta-band {
  border: 1px solid var(--srpan-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96) 0%, rgba(248, 239, 229, 0.98) 100%);
  box-shadow: var(--srpan-shadow);
}

.hero-fullbleed {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 920px);
  display: flex;
  overflow: hidden;
}

.hero-fullbleed-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fullbleed-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  filter: saturate(1.06) contrast(1.03);
}

.hero-fullbleed-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 12, 9, 0.28) 0%, rgba(18, 12, 9, 0.42) 38%, rgba(18, 12, 9, 0.88) 100%),
    radial-gradient(circle at 50% 80%, rgba(18, 12, 9, 0.2), transparent 55%);
}

.hero-fullbleed-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  min-height: inherit;
}

.hero-fullbleed-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 6vh, 64px) 16px;
  color: #fff7ef;
}

.hero-eyebrow {
  color: #f1c892;
  margin-bottom: 14px;
}

.hero-cta-primary,
button.hero-cta-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #1a100a;
  font-weight: 700;
  background: linear-gradient(135deg, #d69d56 0%, #b98042 52%, #9a6830 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  color: #1a100a;
}

.hero-cta-primary--large {
  min-height: 54px;
  padding: 0 30px;
  margin-top: 28px;
  font-size: 1.02rem;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--srpan-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.hero-fullbleed-content h1,
.section-heading h2,
.cta-band h2,
.hero-categories-heading h2,
.social-proof-card h3,
.faq-card h3,
.story-grid h3,
.product-card h3,
.workflow-list h3 {
  font-family: var(--srpan-font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-fullbleed-content h1,
.section-heading h2,
.cta-band h2 {
  margin: 0;
  line-height: 1.06;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
}

.hero-fullbleed-content h1 {
  max-width: 18ch;
  color: #fff3e5;
  font-style: italic;
  text-wrap: balance;
  hyphens: manual;
}

.hero-word-reveal {
  display: inline-block;
  position: relative;
  top: 0.07em;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: baseline;
  color: inherit;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-word-reveal__surface {
  display: inline-block;
  color: inherit;
  line-height: inherit;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-word-reveal__surface--enter {
  opacity: 0;
  animation: srpan-word-surface-in 0.7s var(--srpan-ease-out-expo) both;
}

@keyframes srpan-word-surface-in {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-word-reveal__surface.is-swapping {
  opacity: 0;
  transform: translateY(0.35em);
}

.hero-word-reveal__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-word-reveal,
  .hero-word-reveal__surface {
    transition: none;
  }

  .hero-word-reveal__surface.is-swapping {
    opacity: 1;
    transform: none;
  }

  .hero-word-reveal__surface--enter {
    opacity: 1;
    animation: none;
  }
}

.hero-text,
.section-note,
.story-grid p,
.product-card p,
.workflow-list p,
.cta-band p {
  color: var(--srpan-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-text {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(255, 243, 229, 0.82);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 400;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 240, 0.14);
  background: rgba(255, 248, 240, 0.08);
  color: rgba(255, 243, 229, 0.88);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-trust-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.hero-trust-bar a:hover {
  color: #fff3e5;
}

.hero-trust-bar i {
  font-size: 0.95rem;
  color: #f1c892;
}

.category-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 20px;
}

.category-ribbon span,
.featured-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: var(--srpan-font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.category-ribbon span {
  color: #f1c892;
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid rgba(241, 200, 146, 0.18);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-metrics--bar {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 240, 0.12);
}

.hero-metrics div {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid rgba(255, 248, 240, 0.08);
  border-radius: 8px;
  background: rgba(255, 248, 240, 0.05);
}

.hero-metrics dt {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  color: #fff3e5;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 243, 229, 0.68);
  font-size: 0.78rem;
  line-height: 1.5;
}

.hero-categories-band {
  padding: 48px 0 8px;
}

.hero-categories-heading {
  text-align: center;
  margin-bottom: 22px;
}

.hero-categories-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.hero-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.hero-category-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid var(--srpan-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96) 0%, rgba(248, 239, 229, 0.98) 100%);
  box-shadow: 0 10px 24px rgba(54, 34, 19, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-category-chip:hover {
  transform: translateY(-2px);
  border-color: var(--srpan-line-strong);
}

.hero-category-chip strong {
  font-size: 1rem;
  line-height: 1.1;
}

.hero-category-chip strong {
  font-family: var(--srpan-font-display);
  font-weight: 600;
}

.hero-category-chip small {
  color: var(--srpan-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-panel {
  width: 100%;
  padding: clamp(20px, 3vw, 30px);
  position: relative;
  overflow: hidden;
}

.brand-panel-top,
.brand-panel-grid,
.section-heading.split {
  display: flex;
}

.brand-panel-top,
.section-heading.split {
  justify-content: space-between;
  gap: 12px;
}

.pastry-crown {
  position: absolute;
  inset: 18px 18px auto 18px;
  height: 120px;
  pointer-events: none;
}

.crown-piece,
.crown-stick {
  position: absolute;
  display: block;
}

.crown-piece {
  top: 0;
  border-radius: 999px 999px 28px 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.42), transparent 35%),
    linear-gradient(180deg, #d69d56 0%, #c88339 48%, #6a3e1f 100%);
  box-shadow: 0 18px 32px rgba(106, 62, 31, 0.16);
}

.crown-piece-lg {
  left: 4%;
  width: 28%;
  height: 84px;
  transform: rotate(-8deg);
}

.crown-piece-md {
  left: 34%;
  width: 30%;
  height: 92px;
  transform: translateY(-6px) rotate(2deg);
}

.crown-piece-sm {
  right: 4%;
  width: 24%;
  height: 78px;
  transform: rotate(9deg);
}

.crown-stick {
  top: 18px;
  width: 88px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b522f 0%, #b37a42 50%, #7b522f 100%);
  opacity: 0.7;
}

.crown-stick-left {
  left: 18%;
  transform: rotate(-32deg);
}

.crown-stick-right {
  right: 14%;
  transform: rotate(31deg);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--srpan-accent-soft);
  border: 1px solid rgba(77, 53, 34, 0.14);
  background: rgba(185, 128, 66, 0.08);
  font-size: 0.72rem;
}

.status-pill.soft {
  color: var(--srpan-fresh);
  border-color: rgba(111, 133, 96, 0.18);
  background: rgba(140, 160, 122, 0.08);
}

.hero-media {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid rgba(255, 248, 240, 0.14);
  background: rgba(255, 250, 244, 0.06);
  box-shadow:
    0 0 0 1px rgba(255, 248, 240, 0.06),
    0 28px 70px rgba(0, 0, 0, 0.38);
}

.hero-media-primary {
  width: min(100%, 400px);
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px 24px 24px;
}

.hero-media-primary img,
.hero-floating-card img,
.product-image-real,
.gallery-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-placeholder,
.product-image-placeholder,
.gallery-slot {
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(77, 53, 34, 0.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.68) 0%, rgba(244,229,213,0.9) 100%);
}

.hero-placeholder::before,
.product-image-placeholder::before,
.gallery-slot::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(77, 53, 34, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.hero-placeholder-primary {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  box-shadow: 0 26px 60px rgba(77, 53, 34, 0.12);
}

.hero-placeholder-primary::after,
.product-image-placeholder::after,
.gallery-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 47%, rgba(77, 53, 34, 0.08) 48%, rgba(77, 53, 34, 0.08) 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(77, 53, 34, 0.08) 48%, rgba(77, 53, 34, 0.08) 52%, transparent 53%);
  background-size: 28px 28px;
  opacity: 0.8;
}

.placeholder-badge,
.gallery-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  width: fit-content;
  font-family: var(--srpan-font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--srpan-accent-soft);
  background: rgba(255, 250, 244, 0.92);
  border: 1px solid rgba(77, 53, 34, 0.1);
}

.placeholder-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.placeholder-copy strong,
.gallery-slot strong {
  font-size: 1.15rem;
  line-height: 1.1;
}

.placeholder-copy span,
.gallery-slot small,
.product-image-placeholder small {
  color: var(--srpan-muted);
  line-height: 1.5;
}

.hero-floating-card {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 248, 240, 0.16);
  background: rgba(255, 250, 244, 0.92);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.hero-floating-card-left {
  left: 0;
  bottom: 8%;
  width: clamp(108px, 28%, 148px);
  aspect-ratio: 1;
}

.hero-floating-card-right {
  right: 2%;
  top: 18%;
  width: clamp(112px, 30%, 156px);
  aspect-ratio: 1;
}

.brand-panel-grid {
  flex-wrap: wrap;
  gap: 12px;
}

.mini-tile {
  flex: 1 1 180px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(77, 53, 34, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.mini-tile small,
.product-meta span {
  display: block;
  color: var(--srpan-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.mini-tile strong,
.product-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.section-band {
  padding: 64px 0 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2,
.cta-band h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
  overflow-wrap: break-word;
}

.intro-band .section-heading h2,
.workflow-band .section-heading h2,
.cta-band h2 {
  max-width: 20ch;
}

.section-note {
  max-width: 38ch;
  margin: 0;
  font-size: 0.8rem;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-grid article,
.product-card,
.workflow-list article {
  padding: 22px;
}

.story-grid i,
.product-meta i {
  font-size: 1.3rem;
  color: var(--srpan-accent-soft);
}

.story-grid h3,
.product-card h3,
.workflow-list h3 {
  margin: 16px 0 10px;
  font-size: 1.35rem;
}

.product-image-frame {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(77, 53, 34, 0.1);
  background: rgba(255, 255, 255, 0.65);
}

.product-card .product-image-real {
  transition: transform 0.35s ease;
}

.product-card:hover .product-image-real {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .product-card .product-image-real {
    transition: none;
  }

  .product-card:hover .product-image-real {
    transform: none;
  }
}

.product-image-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  text-align: center;
  padding: 20px;
}

.product-image-placeholder span {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--srpan-font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--srpan-accent-soft);
}

.product-image-placeholder small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
}

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

.product-card.is-category-hidden,
.product-card.is-catalog-extra-hidden {
  display: none;
}

.catalog-show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.catalog-show-more-btn {
  min-height: 48px;
  padding: 0 24px;
  cursor: pointer;
  font: inherit;
}

.featured-rail {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.featured-pill {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid rgba(77, 53, 34, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.66) 0%, rgba(245,232,217,0.9) 100%);
  box-shadow: 0 10px 24px rgba(54, 34, 19, 0.06);
}

.featured-pill strong {
  font-family: var(--srpan-font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  font-weight: 600;
}

.featured-pill small {
  margin-top: 6px;
  color: var(--srpan-muted);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workflow-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.workflow-list span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  color: #fff8f0;
  background: linear-gradient(135deg, #241710 0%, #4d3522 100%);
  font-size: 0.88rem;
  font-weight: 700;
}

.cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  margin-top: 64px;
}

.cta-band p {
  max-width: 54ch;
  margin: 16px 0 0;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-card {
  padding: 22px;
  border: 1px solid rgba(77, 53, 34, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96) 0%, rgba(248, 239, 229, 0.98) 100%);
  box-shadow: var(--srpan-shadow);
}

.faq-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.social-proof-card {
  padding: 24px;
  border: 1px solid var(--srpan-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96) 0%, rgba(248, 239, 229, 0.98) 100%);
  box-shadow: var(--srpan-shadow);
}

.social-proof-card > i {
  font-size: 1.4rem;
  color: var(--srpan-accent);
}

.social-proof-card h3 {
  margin: 14px 0 10px;
  font-size: 1.3rem;
}

.social-proof-card p {
  margin: 0;
  color: var(--srpan-muted);
  line-height: 1.65;
}

.social-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--srpan-accent-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.social-proof-link:hover {
  color: var(--srpan-accent);
}

.location-map-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.location-inline-link,
.faq-inline-link {
  color: var(--srpan-accent-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-inline-link:hover,
.faq-inline-link:hover {
  color: var(--srpan-accent);
}

.landing-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--srpan-line);
}

.landing-footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.landing-footer-credit {
  width: 100%;
  margin: 0;
  color: var(--srpan-muted);
  font-size: 0.78rem;
  text-align: center;
}

.landing-footer-credit a {
  color: var(--srpan-accent-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-footer-credit a:hover {
  color: var(--srpan-accent);
}

.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-footer-brand strong {
  display: block;
  font-family: var(--srpan-font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.landing-footer-brand small {
  display: block;
  color: var(--srpan-muted);
  font-size: 0.82rem;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--srpan-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.landing-footer-links a:hover {
  color: var(--srpan-text);
}

.faq-card p {
  margin: 0;
  color: var(--srpan-muted);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-slot {
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
}

.gallery-slot-feature {
  min-height: 320px;
}

.gallery-slot img {
  position: absolute;
  inset: 0;
}

.gallery-slot::after {
  background:
    linear-gradient(180deg, rgba(18, 12, 9, 0.06) 0%, rgba(18, 12, 9, 0.74) 100%),
    linear-gradient(45deg, transparent 47%, rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0.04) 52%, transparent 53%);
  background-size: auto, 28px 28px;
  opacity: 1;
}

.gallery-slot strong,
.gallery-slot small,
.gallery-label {
  position: relative;
  z-index: 1;
}

.gallery-slot strong {
  margin-top: auto;
  color: #fff5ea;
  font-family: var(--srpan-font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.gallery-slot small {
  margin-top: 8px;
  max-width: 28ch;
  color: rgba(255, 245, 234, 0.78);
}

body.nav-menu-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .landing-nav {
    grid-template-columns: 1fr auto;
    align-items: center;
    border-radius: 14px;
  }

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

  .nav-menu {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
  }

  .landing-nav.is-open .nav-menu {
    display: flex;
  }

  .nav-links--pill {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    mask-image: none;
    padding: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
    border-radius: 10px;
  }

  .nav-actions {
    width: auto;
  }

  .nav-actions .hero-cta-primary {
    width: auto;
    min-width: 0;
  }

  .section-heading.split,
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: nowrap;
  }

  .story-grid,
  .workflow-list,
  .cta-band,
  .faq-grid,
  .gallery-grid,
  .social-proof-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-fullbleed {
    min-height: min(88vh, 780px);
  }

  .hero-fullbleed-inner {
    width: min(100% - 20px, 1200px);
  }
}

@media (max-width: 767.98px) {
  body.srpan-landing::before {
    display: none;
  }

  .landing-shell,
  .hero-fullbleed-inner {
    width: min(100% - 24px, 1200px);
  }

  .landing-shell {
    padding-top: 8px;
  }

  .hero-fullbleed {
    min-height: auto;
  }

  .hero-fullbleed-inner {
    padding: 12px 0 20px;
  }

  .landing-nav {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    backdrop-filter: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .landing-nav--hero {
    margin-bottom: 16px;
  }

  .brand-mark img {
    width: 40px;
    height: 40px;
  }

  .brand-mark strong {
    font-size: 0.95rem;
  }

  .brand-mark small {
    font-size: 0.68rem;
  }

  .nav-links a {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero-fullbleed-photo {
    filter: none;
  }

  .hero-fullbleed-content {
    padding: 16px 4px 20px;
  }

  .hero-eyebrow {
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
    text-wrap: balance;
  }

  .hero-fullbleed-content h1,
  .section-heading h2,
  .cta-band h2,
  .hero-categories-heading h2 {
    max-width: none;
    font-size: clamp(1.75rem, 7.8vw, 2.35rem);
    line-height: 1.18;
    font-style: normal;
    hyphens: none;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-text {
    max-width: none;
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.6;
    text-wrap: pretty;
  }

  .hero-action-stack {
    width: 100%;
    max-width: 100%;
  }

  .hero-trust-bar {
    gap: 8px;
  }

  .hero-trust-bar li {
    justify-content: center;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .hero-trust-item--wide {
    grid-column: 1 / -1;
    min-height: 40px;
    justify-content: center;
  }

  .hero-trust-item--wide a {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-item--location a {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-bar a,
  .hero-trust-bar li {
    min-width: 0;
  }

  .hero-trust-bar span {
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-action-stack .hero-cta-primary--large {
    min-height: 40px;
    font-size: 0.98rem;
  }

  .hero-metrics--bar {
    padding-top: 14px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-metrics div {
    padding: 10px 6px;
  }

  .hero-metrics dt {
    font-size: 1.2rem;
  }

  .hero-metrics dd {
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .hero-categories-band {
    padding: 32px 0 4px;
  }

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

  .hero-category-chip {
    min-height: 64px;
    padding: 12px 14px;
  }

  .section-band {
    padding-top: 40px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-heading.split {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .section-note {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .story-grid article,
  .product-card,
  .workflow-list article,
  .cta-band,
  .social-proof-card,
  .faq-card {
    padding: 16px;
  }

  .story-grid h3,
  .product-card h3,
  .workflow-list h3,
  .social-proof-card h3,
  .faq-card h3 {
    font-size: 1.15rem;
    overflow-wrap: break-word;
  }

  .product-card h3,
  .product-card p,
  .product-card strong {
    overflow-wrap: break-word;
  }

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

  .featured-pill {
    min-height: 72px;
    padding: 12px;
  }

  .gallery-slot {
    min-height: 220px;
    padding: 16px;
  }

  .gallery-slot-feature {
    min-height: 240px;
  }

  .gallery-slot small {
    max-width: none;
  }

  .cta-band {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-band p {
    max-width: none;
    margin-top: 12px;
    font-size: 0.95rem;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-action-stack .hero-cta-primary--large,
  .ghost-action,
  .solid-action {
    width: 100%;
  }

  .social-proof-link {
    font-size: 0.88rem;
    flex-wrap: wrap;
  }

  .landing-footer {
    margin-top: 24px;
    padding-top: 18px;
  }

  .landing-footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-footer-links {
    gap: 12px;
  }

  .landing-footer-links a {
    font-size: 0.88rem;
  }

  .landing-footer-brand small {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .landing-footer-credit {
    font-size: 0.74rem;
    line-height: 1.5;
    padding: 0 4px;
  }
}

@media (max-width: 479.98px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359.98px) {
  .hero-trust-bar li {
    font-size: 0.58rem;
    padding: 6px 8px;
  }

  .hero-categories,
  .featured-rail {
    grid-template-columns: 1fr;
  }
}

.hero-category-chip,
.featured-pill {
  cursor: pointer;
  font: inherit;
  text-align: left;
  appearance: none;
  color: inherit;
}

.hero-category-chip.is-active,
.featured-pill.is-active {
  border-color: rgba(185, 128, 66, 0.45);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98) 0%, rgba(241, 228, 212, 0.98) 100%);
  box-shadow: 0 12px 28px rgba(54, 34, 19, 0.1);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.product-card-footer--no-price {
  justify-content: flex-end;
}

.product-price {
  margin: 0;
  font-size: 1.05rem;
}

.product-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.product-add-btn,
.product-qty-btn,
.srpan-nav-bag-btn,
.srpan-bag-bar__open,
.srpan-bag-close {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.product-add-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff8f0;
  font-weight: 700;
  font-size: 0.88rem;
  background: linear-gradient(135deg, #241710 0%, #4d3522 100%);
  box-shadow: 0 8px 20px rgba(54, 34, 19, 0.14);
}

.product-add-btn:hover {
  transform: translateY(-1px);
}

.product-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--srpan-line);
  background: rgba(255, 255, 255, 0.72);
}

.product-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--srpan-accent-soft);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--srpan-line);
  font-size: 1.1rem;
  font-weight: 700;
}

.product-qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.product-card.is-in-bag {
  border-color: rgba(185, 128, 66, 0.34);
}

.product-image-placeholder {
  background: linear-gradient(145deg, rgba(255, 250, 244, 0.95) 0%, rgba(241, 228, 212, 0.98) 100%);
}

.product-image-placeholder span {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--srpan-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--srpan-accent-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--srpan-line);
}

.srpan-bag-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff8f0;
  background: var(--srpan-fresh);
}

.srpan-nav-bag-btn {
  position: relative;
}

.srpan-nav-bag-btn .srpan-bag-badge {
  position: absolute;
  top: -6px;
  right: -4px;
}

.srpan-bag-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77, 53, 34, 0.14);
  background: rgba(255, 250, 244, 0.96);
  box-shadow: 0 18px 40px rgba(54, 34, 19, 0.18);
  backdrop-filter: blur(10px);
}

.srpan-bag-bar__open {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff8f0;
  font-weight: 700;
  background: linear-gradient(135deg, #241710 0%, #4d3522 100%);
}

.srpan-bag-bar__total {
  font-size: 1rem;
  padding-right: 8px;
}

.srpan-bag-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.srpan-bag-drawer.is-open {
  pointer-events: auto;
}

.srpan-bag-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 9, 0.42);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.srpan-bag-drawer.is-open .srpan-bag-backdrop {
  opacity: 1;
}

.srpan-bag-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: linear-gradient(180deg, #fffaf4 0%, #f3e8db 100%);
  border-left: 1px solid var(--srpan-line);
  box-shadow: -20px 0 60px rgba(54, 34, 19, 0.16);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.srpan-bag-drawer.is-open .srpan-bag-panel {
  transform: translateX(0);
}

.srpan-bag-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.srpan-bag-header h2 {
  margin: 6px 0 0;
  font-size: 1.8rem;
}

.srpan-bag-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--srpan-accent-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--srpan-line);
}

.srpan-bag-items {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 12px;
  align-content: start;
}

.srpan-bag-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--srpan-line);
  background: rgba(255, 255, 255, 0.72);
  align-self: start;
}

.srpan-bag-item-info strong {
  display: block;
  font-size: 1rem;
}

.srpan-bag-item-info span {
  display: block;
  margin-top: 4px;
  color: var(--srpan-muted);
  font-size: 0.82rem;
}

.srpan-bag-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.srpan-bag-item-subtotal {
  margin-left: auto;
  font-size: 0.95rem;
}

.srpan-bag-empty {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  color: var(--srpan-muted);
}

.srpan-bag-empty[hidden],
.srpan-bag-bar[hidden],
.srpan-bag-toast[hidden],
.catalog-show-more-wrap[hidden],
.product-add-btn[hidden],
.product-qty-stepper[hidden] {
  display: none !important;
}

.srpan-bag-empty i {
  font-size: 2rem;
  color: var(--srpan-accent);
}

.srpan-bag-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--srpan-line);
  display: grid;
  gap: 12px;
}

.srpan-bag-location {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.srpan-bag-location legend {
  margin-bottom: 4px;
  font-weight: 700;
}

.srpan-bag-location-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--srpan-line);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.srpan-bag-location-option input {
  margin-top: 2px;
}

.srpan-bag-location-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.srpan-bag-location-name {
  font-size: 0.92rem;
  line-height: 1.3;
}

.srpan-bag-location-address {
  color: var(--srpan-muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.srpan-bag-location-option:has(input:checked) {
  border-color: rgba(185, 128, 66, 0.45);
  background: rgba(255, 250, 244, 0.98);
}

.srpan-bag-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.srpan-bag-total-row strong {
  font-size: 1.2rem;
}

.srpan-bag-total-row strong.is-pending-store,
.srpan-bag-bar__total.is-pending-store {
  font-size: 0.92rem;
  color: var(--srpan-muted);
}

.srpan-bag-item.is-unavailable .srpan-bag-item-info span {
  color: #9a4f3f;
}

.srpan-bag-disclaimer {
  margin: 0;
  color: var(--srpan-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.srpan-bag-checkout {
  width: 100%;
  justify-content: center;
  opacity: 0.55;
  pointer-events: none;
}

.srpan-bag-checkout.is-ready {
  opacity: 1;
  pointer-events: auto;
}

.srpan-bag-toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff8f0;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(36, 23, 16, 0.92);
  box-shadow: 0 12px 28px rgba(54, 34, 19, 0.2);
}

body.bag-drawer-open {
  overflow: hidden;
}

body.has-bag-items .landing-footer {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 992px) {
  .srpan-bag-bar {
    left: auto;
    right: 24px;
    width: min(360px, calc(100% - 48px));
  }
}

@media (max-width: 767.98px) {
  .srpan-bag-bar {
    backdrop-filter: none;
  }

  .srpan-bag-panel {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--srpan-line);
    top: auto;
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }

  .srpan-bag-drawer.is-open .srpan-bag-panel {
    transform: translateY(0);
  }

  .product-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card-actions {
    justify-content: stretch;
  }

  .product-add-btn,
  .product-qty-stepper {
    width: 100%;
    justify-content: center;
  }

  .srpan-bag-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .srpan-bag-item-info {
    flex: 1;
    min-width: 0;
  }

  .srpan-bag-item-info strong {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .srpan-bag-item-info span {
    margin-top: 2px;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .srpan-bag-item-actions {
    flex-shrink: 0;
    gap: 6px;
  }

  .srpan-bag-item .product-qty-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .srpan-bag-item .product-qty-value {
    min-width: 20px;
    font-size: 0.9rem;
  }

  .srpan-bag-item-subtotal {
    font-size: 0.88rem;
    white-space: nowrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-word-pop,
  .animate-fade-up,
  .animate-fade-in,
  .animate-slide-up,
  .animate-slide-in-left,
  .animate-slide-in-right,
  .animate-text-reveal,
  .animate-scale-in,
  .animate-photo-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
