.fahima-storefront {
  --paper: #fff8f2;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 70% 31rem at 96% 0, #ffc58c65, transparent 100%),
    radial-gradient(ellipse 60% 35rem at 0 24rem, #ffdecb70, transparent 100%);
  background-repeat: no-repeat;
}

.catalogue-page.fahima-catalogue {
  --fahima-accent: #a0360d;
  --fahima-orange: #ff580c;
  --paper: #fff8f2;
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent;
}

.fahima-catalogue .site-header {
  background: #fffaf3b8;
  border-color: #ffffffde;
  box-shadow: 0 10px 32px #76320f0c;
}

.brand-filters { position: absolute; pointer-events: none; }

.catalogue-page.fahima-catalogue main > section[hidden] { display: none; }

.catalogue-page.fahima-catalogue .topline { overflow: hidden; direction: ltr; }
.announcement-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.announcement-track {
  display: flex;
  direction: ltr;
  width: max-content;
  animation: announcement-slide 18s linear infinite;
}
.announcement-track > div {
  display: flex;
  min-width: 100vw;
  justify-content: space-around;
}
.catalogue-page.fahima-catalogue .announcement-track span {
  white-space: nowrap;
  padding-inline: 1.2rem;
  color: #71391f;
}
@keyframes announcement-slide { to { transform: translateX(-50%); } }

.catalogue-page.fahima-catalogue .site-header .brand {
  width: 42px;
  height: 42px;
}
.catalogue-page.fahima-catalogue .site-header .brand img {
  width: 83.58px;
  height: 83.58px;
  left: -20.79px;
  top: -12.85px;
}

.raffle-section {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
  margin-block: 22px 42px;
  padding: 28px 18px 36px;
  border: 1px solid white;
  border-radius: 28px;
  background: radial-gradient(ellipse at 50% 72%, #ffe0c5, #fffaf3 72%);
}
.raffle-section h2 { margin: 0; font-size: clamp(28px, 5vw, 44px); }
.raffle-headline { margin: 3px 0 0; color: #a0360d; font-weight: 700; }
.raffle-display {
  position: relative;
  display: block;
  width: min(72vw, 300px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.raffle-display:disabled { opacity: 1; }
.raffle-wheel {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 7px solid #fff9ed;
  border-radius: 50%;
  background: repeating-conic-gradient(from -15deg, #ffbc83 0deg 29deg, #fff4e5 29deg 30deg, #b94a21 30deg 59deg, #fff4e5 59deg 60deg);
  box-shadow: 0 15px 30px #823b262b, 0 0 0 2px #ca764c;
}
.raffle-wheel > span {
  display: grid;
  place-items: center;
  width: 23%;
  aspect-ratio: 1;
  border: 2px solid #ffd9bb;
  border-radius: 50%;
  background: #fffaf1;
  color: #a0360d;
  font-size: clamp(22px, 5vw, 34px);
}
.raffle-pointer {
  position: absolute;
  z-index: 1;
  top: -9px;
  left: calc(50% - 13px);
  border-inline: 13px solid transparent;
  border-top: 24px solid #773019;
}

.hero-sparkles { position: absolute; inset: 12% 3% 6% 48%; pointer-events: none; }
.hero-sparkles i {
  position: absolute;
  color: #c76a39;
  font-style: normal;
  opacity: .55;
  animation: sparkle-drift 7s ease-in-out infinite alternate;
}
.hero-sparkles i:empty { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; }
.hero-sparkles i:nth-child(1) { top: 20%; left: 14%; font-size: 20px; }
.hero-sparkles i:nth-child(2) { top: 33%; right: 13%; animation-delay: -4s; }
.hero-sparkles i:nth-child(3) { bottom: 24%; right: 9%; font-size: 26px; animation-delay: -2s; }
.hero-sparkles i:nth-child(4) { bottom: 23%; left: 16%; animation-delay: -3s; }
.hero-sparkles i:nth-child(5) { top: 13%; right: 21%; font-size: 12px; animation-delay: -5s; }
@keyframes sparkle-drift { to { transform: translate(6px, -10px); opacity: .8; } }

@media (prefers-reduced-motion: reduce) {
  .announcement-track, .hero-sparkles i { animation: none; }
  .announcement-track { display: none; }
  .announcement-text { position: static; width: auto; height: auto; clip-path: none; }
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 1vw, 10px);
}

.header-brand-name {
  color: var(--ink);
  font-size: clamp(14px, 2.8vw, 18px);
  font-weight: 700;
  white-space: nowrap;
}
.catalogue-page.fahima-catalogue .header-actions .icon-button {
  color: #634433;
}
.catalogue-page.fahima-catalogue :is(.header-actions .icon-button, #close-detail, #close-cart, #close-checkout) {
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}
.catalogue-page.fahima-catalogue :is(.header-actions .icon-button, #close-detail, #close-cart, #close-checkout):focus-visible {
  outline: 0;
  box-shadow: inset 0 -2px var(--fahima-accent);
}
.catalogue-page.fahima-catalogue #cart-items .empty-state { padding-block: 26px; }
.catalogue-page.fahima-catalogue .cart-dialog .cart-note[hidden] { display: none; }
.header-actions .favorite-count:empty { display: none; }

.catalogue-page.fahima-catalogue .site-header .brand img {
  mix-blend-mode: normal;
  filter: url(#brand-paper-knockout);
}

.fahima-catalogue .catalogue-hero {
  background: linear-gradient(135deg, #fffdf7d9 15%, #ffcca7 100%);
  border: 1px solid #fff9;
}

.catalogue-hero::before {
  content: "";
  position: absolute;
  inset: 15% 3% 2% 42%;
  background: radial-gradient(ellipse, #ff913e50, transparent 69%);
  pointer-events: none;
  animation: catalogue-halo 7s ease-in-out 2 alternate both;
}

@keyframes catalogue-halo {
  from { transform: translate(-8%, 8%) scale(.84); opacity: .55; }
  to { transform: translate(8%, -8%) scale(1.18); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .catalogue-hero::before { animation: none; }
}

.fahima-catalogue .catalogue-tools .search-box {
  min-height: 48px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: #fffcf99e;
  color: #a0360d;
  box-shadow: 0 5px 18px #682c120a;
}

.fahima-catalogue .catalogue-tools .search-box svg { flex: none; }

.fahima-catalogue .catalogue-tools .tab {
  min-height: 44px;
  color: #5e4134;
  border-radius: 14px;
  background: #fffaf5de;
  border: 1px solid #fff;
}

.fahima-catalogue .catalogue-tools .tab.selected {
  color: #fff;
  background: #a93b10;
  border-color: #a93b10;
}

.catalogue-page.fahima-catalogue .result-line #sort {
  min-height: 44px;
  min-width: 9.5rem;
  align-items: center;
  padding-inline: 12px;
  border: 1px solid #e8d9cc;
  border-radius: 13px;
  background: #fffaf5;
  color: #623a27;
  font-size: 13px;
  line-height: 1.35;
}
.catalogue-page.fahima-catalogue .result-line label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.catalogue-page.fahima-catalogue .result-line {
  align-items: center;
  gap: 8px 16px;
  margin-block: 8px 10px;
}
.catalogue-page.fahima-catalogue .catalogue-tools .search-box {
  flex: 1 1 16rem;
  max-width: 24rem;
}
.catalogue-page.fahima-catalogue .catalogue-tools .search-box input {
  width: 100%;
  font-size: 14px;
}
.catalogue-page.fahima-catalogue .product-badges .badge:not(.rent):not(.offer-badge) {
  background: #ffe3cd;
  color: #8e310e;
}
.catalogue-page.fahima-catalogue .product-badges .badge.rent {
  background: #dcedde;
  color: #175b37;
}
.catalogue-page.fahima-catalogue #detail-title:focus { outline: none; }
.catalogue-page.fahima-catalogue .button.onsite-order {
  background: #ac380b;
  border-color: #ac380b;
  color: #fff;
}
.catalogue-page.fahima-catalogue .button.onsite-order:hover {
  background: #8d2e0b;
  border-color: #8d2e0b;
}
.catalogue-page.fahima-catalogue :is(dialog, .detail-info, .detail-thumbs) {
  scrollbar-width: thin;
  scrollbar-color: #b98e76 transparent;
}
.catalogue-page.fahima-catalogue #detail-rental-field[hidden] { display: none; }
.detail-gallery-next {
  position: absolute;
  z-index: 3;
  inset-inline-start: 8px;
  top: 50%;
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #fffaf1c9;
  color: #734632;
  font-size: 27px;
  line-height: 1;
}
.detail-gallery-next:focus-visible { outline: 0; box-shadow: inset 0 -2px #bb6e43; }
.detail-gallery-dots {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 12px;
  background: #fffaf3d9;
}
.detail-gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: #baa99b; }
.detail-gallery-dots .is-current { background: #a0360d; }
.detail-mode-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
  padding: 5px;
  border-radius: 16px;
  background: #eddfd16b;
}
.detail-mode-choice button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #fffcf7c9;
  color: #653b28;
  font-weight: 600;
}
.detail-mode-choice button[aria-pressed="true"] { background: #a43e16; color: #fff; }
.detail-order-fields[hidden] { display: none; }
.catalogue-page.fahima-catalogue .result-line #sort {
  border-color: transparent;
  box-shadow: none;
}
.catalogue-page.fahima-catalogue .result-line #sort:focus-visible {
  outline: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@supports (appearance: base-select) {
  .catalogue-page.fahima-catalogue .result-line #sort,
  .catalogue-page.fahima-catalogue .result-line #sort::picker(select) {
    appearance: base-select;
  }
  .catalogue-page.fahima-catalogue .result-line #sort::picker(select) {
    margin-block-start: 5px;
    padding: 4px;
    border: 1px solid #e8d9cc;
    border-radius: 13px;
    background: #fffaf5;
    color: #623a27;
    font-size: 13px;
    box-shadow: 0 8px 24px #77371521;
  }
  .catalogue-page.fahima-catalogue .result-line #sort option {
    padding: 9px 12px;
    border-radius: 8px;
  }
  .catalogue-page.fahima-catalogue .result-line #sort option:is(:hover, :focus, :checked) {
    background: #ffe8d6;
  }
}

.catalogue-page.fahima-catalogue :is(.catalogue-tools, .campaign-card, .contact-band, .story, .reel-journey article) {
  background: linear-gradient(145deg, #fffdf9d9, #fff3e7b8);
  border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px #7737150d;
}

.catalogue-page.fahima-catalogue :is(.product-dialog, .cart-dialog) {
  background: linear-gradient(145deg, #fffdf7f0, #ffeadbf0);
  border: 1px solid #fff;
}

.catalogue-page.fahima-catalogue .detail-info {
  background: transparent;
}

.catalogue-page.fahima-catalogue :is(.product-dialog, .cart-dialog, .catalogue-tools) :is(input, select, textarea):focus-visible {
  outline: 0;
  box-shadow: inset 0 -2px #bb6e43;
}

.catalogue-page.fahima-catalogue .product-card {
  background: #fffaf4dd;
  border-color: #fff;
  box-shadow: 0 8px 26px #7737150d;
}

.catalogue-page.fahima-catalogue .product-meta { background: transparent; }
.catalogue-page.fahima-catalogue .card-detail-link { color: #9b350d; }
.catalogue-page.fahima-catalogue .card-favorite[aria-pressed=true] { color: #aa370c; }
.glass-dock { display: none; }

@media (max-width: 700px) {
  .catalogue-page.fahima-catalogue .site-header {
    padding: 6px 12px;
  }
  .catalogue-page.fahima-catalogue .header-actions { gap: 7px; }
  .hero-sparkles { inset: 25% 6% 9%; }
  .catalogue-page.fahima-catalogue .site-header .main-nav {
    display: none;
  }

  .catalogue-page.fahima-catalogue {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .fahima-catalogue .catalogue-hero { min-height: 0; margin-block: 12px 22px; }
  .catalogue-hero::before { inset: 19% 0 1%; }
  .fahima-catalogue .catalogue-hero-copy { padding: 20px; }
  .fahima-catalogue .catalogue-hero h1 { font-size: clamp(22px, 7cqw, 38px); }
  .fahima-catalogue .catalogue-hero-photo { padding-block: 0 14px; }
  .fahima-catalogue .catalogue-phone-stage { width: clamp(172px, 53vw, 240px); }

  .fahima-catalogue .catalogue-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .fahima-catalogue .catalogue-tools .search-box { grid-row: 1; width: 100%; max-width: none; }
  .fahima-catalogue .catalogue-tools .search-box input { min-width: 0; font-size: 16px; }
  .fahima-catalogue .catalogue-tools .tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .catalogue-page.fahima-catalogue .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .glass-dock {
    position: fixed;
    z-index: 15;
    inset-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom));
    max-width: 460px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 8px 13px 9px;
    border: 1px solid #ffffffc9;
    border-radius: 32px;
    background: #fff0e4;
    box-shadow: inset 0 1px 1px #fff9, 0 6px 22px #712d1d1c;
  }

  @supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
    .glass-dock {
      background: linear-gradient(180deg, #fff8eed1, #ffe0cbbd);
      -webkit-backdrop-filter: blur(14px) saturate(115%);
      backdrop-filter: blur(14px) saturate(115%);
    }
  }

  .glass-dock > :is(a, button) {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    min-height: 48px;
    padding: 3px 2px;
    border: 0;
    border-radius: 24px;
    background: transparent;
    color: #632a16;
    font-size: 12px;
    font-weight: 700;
  }

  .glass-dock > :is(:active, :focus-visible, [aria-pressed=true]) {
    background: #fff9;
  }

  .glass-dock svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
