:root {
  color-scheme: light;
  --paper: #fcfbf8;
  --white: #fff;
  --ink: #201a2d;
  --muted: #61596b;
  --purple: #5b35bc;
  --purple-dark: #41268a;
  --lavender: #eee7fc;
  --line: #e8e2ec;
  --green: #236447;
  --red: #a0373c;
  --display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-family: Aptos, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-block-size: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
main:focus { outline: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
img { display: block; max-inline-size: 100%; }
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1, h2 { font-family: var(--display-font); font-weight: 600; letter-spacing: -.035em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.65rem); }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.2rem); }
:focus-visible { outline: 3px solid #9869ff; outline-offset: 3px; }
.container { width: min(100% - 32px, 1240px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: fixed; inset-inline-start: 1rem; inset-block-start: 1rem; background: white; padding: .6rem 1rem; z-index: 10; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

@media (prefers-reduced-motion: no-preference) {
  .store-opening[hidden] {
    position: fixed;
    inset: 0;
    z-index: 12;
    display: grid;
    place-items: center;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    background: radial-gradient(ellipse at 50% 48%, #f2e8ff 0, #faf6ff 42%, #fcfbf8 72%);
    animation: opening-reveal 1.05s cubic-bezier(.46,.04,.32,1);
  }
  body:focus-within .store-opening[hidden] { opacity: 0 !important; visibility: hidden !important; }
  .opening-lockup {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 24px;
  }
  .opening-mark { width: clamp(64px, 12vw, 94px); height: auto; overflow: visible; }
  .opening-mark .brand-page { animation: marvi-unfold 525ms cubic-bezier(.22,.8,.24,1) backwards; }
  .opening-ribbon { animation: marvi-bookmark 365ms 180ms cubic-bezier(.22,.8,.24,1) backwards; }
  .opening-name {
    font: 700 clamp(1.75rem, 5vw, 3.1rem)/1.1 var(--display-font);
    letter-spacing: -.035em;
    color: var(--ink);
    animation: opening-wordmark 500ms 90ms ease-out backwards;
  }
  @keyframes opening-wordmark {
    from { opacity: 0; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes opening-reveal {
    0%, 60% { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); }
    100% { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); }
  }
}

#header { background: var(--white); border-block-end: 1px solid var(--line); }
.announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #39256b;
  background: linear-gradient(115deg, #e9e0f9c7, #ffffffb8 50%, #e4daffc9), #eee7fa;
  backdrop-filter: blur(14px) saturate(135%);
  border-block-end: 1px solid #d6c8eb;
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px #41268a0e;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .025em;
}
.announcement svg { width: 17px; height: 17px; }
.header-main { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding-block: 14px 8px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display-font); font-size: 1.43rem; letter-spacing: -.035em; font-weight: 700; width: fit-content; white-space: nowrap; }
.brand-mark { flex: none; overflow: visible; }
.brand-page { transform-box: view-box; transform-origin: 32px 31px; }
.brand-page-left { --page-tilt: 10deg; --hover-tilt: -4deg; --page-offset: 2px; }
.brand-page-right { --page-tilt: -10deg; --hover-tilt: 4deg; --page-offset: -2px; }

@media (prefers-reduced-motion: no-preference) {
  .brand-page, .brand-ribbon { transition: transform 250ms cubic-bezier(.22,.72,.25,1); }
  .brand-intro .brand-page { animation: marvi-unfold 680ms cubic-bezier(.22,.8,.24,1) backwards; }
  .brand-intro .brand-ribbon { animation: marvi-bookmark 410ms 230ms cubic-bezier(.22,.8,.24,1) backwards; }
  .brand:focus-visible .brand-page { transform: rotate(var(--hover-tilt)); }
  .brand:focus-visible .brand-ribbon { transform: translateY(-2px); }
  @media (hover: hover) {
    .brand:hover .brand-page { transform: rotate(var(--hover-tilt)); }
    .brand:hover .brand-ribbon { transform: translateY(-2px); }
  }
  @keyframes marvi-unfold {
    from { transform: translate(var(--page-offset), 3px) rotate(var(--page-tilt)) scaleX(.64); opacity: .4; }
    78% { transform: rotate(var(--hover-tilt)); opacity: 1; }
  }
  @keyframes marvi-bookmark {
    from { transform: translateY(-7px); opacity: 0; }
    72% { transform: translateY(1px); opacity: 1; }
  }
}
.search { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: stretch; min-width: 0; background: #f8f6fb; border: 1px solid var(--line); border-radius: 10px; }
.search input { padding: 9px 12px; inline-size: 100%; min-width: 0; background: transparent; border: 0; font-size: 1rem; color: var(--ink); border-radius: 10px; }
.search button { display: grid; place-items: center; color: var(--purple-dark); background: transparent; border: 0; min-width: 46px; min-height: 44px; border-radius: 9px; }
.search button:hover { background: var(--lavender); }
.header-actions { display: flex; align-items: center; gap: clamp(7px, 1.4vw, 16px); justify-self: end; }
.cart-link, .account-link { min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; gap: 5px; font-weight: 700; font-size: .875rem; white-space: nowrap; }
.cart-link svg, .account-link svg { color: var(--purple-dark); }
.account-link:is(:hover, [aria-current]) { color: var(--purple-dark); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 429px) {
  .cart-label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 359px) {
  .account-link svg { display: none; }
}
.count { display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 5px; border-radius: 20px; background: var(--lavender); color: var(--purple-dark); }
.nav { display: flex; flex-wrap: wrap; gap: 0 15px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; border-block-end: 2px solid transparent; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--purple); border-color: var(--purple); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 9px; min-height: 46px; padding: 10px 18px; text-align: center; font-weight: 750; line-height: 1.25; transition: background-color .18s, box-shadow .18s, translate .18s; }
.button.primary { color: white; background: var(--purple); }
.button.primary:hover:not(:disabled) { background: var(--purple-dark); }
.button.secondary { background: #f5efff; color: var(--purple-dark); border-color: #e9ddfd; }
.button.secondary:hover:not(:disabled) { background: #e8dcff; }
.button:active:not(:disabled) { translate: 0 1px; }
.button.small { font-size: .875rem; min-height: 44px; padding-inline: 8px; }
.text-link { color: var(--purple-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
button.text-link { background: transparent; border: 0; padding: 8px 0; }

.home { padding-block: 20px 44px; }
.hero { display: grid; overflow: hidden; border-radius: 20px; background: #eee7fb; }
.hero-copy { padding: clamp(25px, 5.35vw, 74px); align-self: center; }
.hero-label { color: var(--purple-dark); font-size: .8125rem; font-weight: 780; letter-spacing: .07em; margin-block-end: 12px; }
.hero h1 { font-size: clamp(2.55rem, 7.3vw, 5.2rem); line-height: .99; letter-spacing: -.052em; }
.hero h1 em { color: var(--purple); font-weight: 500; }
.hero-copy > p:not(.hero-label) { color: var(--muted); max-width: 32ch; margin-block: 15px 19px; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 15px 2px; border-block-end: 1px solid var(--line); }
.benefits > div { display: flex; align-items: center; gap: 8px; }
.benefits svg { color: var(--purple); flex-shrink: 0; }
.benefits strong, .benefits strong + span { display: block; font-size: .875rem; }
.benefits strong + span { color: var(--muted); }
.home-section { margin-block-start: 34px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block-end: 16px; }
.section-heading .text-link { font-size: .875rem; }
.categories { display: grid; gap: 10px; }
.category-card { display: grid; grid-template-columns: 1fr minmax(92px, 31%); align-items: stretch; min-height: 120px; border-radius: 13px; overflow: hidden; transition: box-shadow .15s; }
.category-card:hover { box-shadow: 0 0 0 2px var(--purple); }
.category-card > div { padding: 14px 10px 14px 16px; align-self: center; }
.category-card h3 { font-size: 1.18rem; margin-block: 4px; }
.category-card p { color: var(--muted); font-size: .875rem; }
.category-icon { color: var(--purple-dark); display: inline-flex; }
.category-icon svg { width: 20px; height: 20px; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.peach { background: #f8e0d5; }
.lilac { background: #ede4fb; }
.mint { background: #e1f0e9; }
.butter { background: #faedd4; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { min-width: 0; display: flex; flex-direction: column; isolation: isolate; background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .23s, border-color .23s; }
.product-card:focus-within { outline: 2px solid var(--purple); }
.product-photo { display: block; overflow: hidden; background: #f2edf6; }
.product-photo img { height: auto; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .2s; }
.product-card-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 10px; }
.product-category { color: var(--purple-dark); font-size: .8125rem; font-weight: 700; }
.product-card h3 { font-size: clamp(1rem, 2vw, 1.25rem); margin-block-end: 1px; overflow-wrap: anywhere; }
.product-card h3 a:hover { text-decoration: underline; }
.book-author { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; margin-block-start: auto; }
.card-meta strong { font-size: 1.075rem; }
.stock { color: var(--green); font-weight: 700; font-size: .875rem; }
.stock.out { color: var(--red); }
.product-card .button { width: 100%; }
bdi[lang="ur"] { font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif; letter-spacing: normal; }

.inner { padding-block: 24px 60px; }
.inner h1 { margin-block-end: 16px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; margin-block-end: 11px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.shop-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin-block: 16px 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 30px; background: white; padding: 7px 11px; min-height: 44px; font-size: .875rem; font-weight: 650; }
.filter[aria-current], .filter:hover { background: var(--lavender); color: var(--purple-dark); border-color: #d8cbf3; }
.book-collections { margin-block-end: 12px; }
.stock-filter { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: .875rem; }
input[type="checkbox"], input[type="radio"] { width: 17px; height: 17px; accent-color: var(--purple); margin: 0; }
.result-count { color: var(--muted); font-size: .875rem; margin-block-end: 12px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 14px; padding: clamp(15px, 3.3vw, 28px); }
.empty { text-align: center; padding-block: 40px; }
.empty p { color: var(--muted); margin: 12px auto 0; max-width: 48ch; }
.empty .button { margin-block-start: 20px; }
.product-detail { display: grid; gap: clamp(20px, 5vw, 64px); align-items: start; }
.detail-photo { background: #f2edf6; border-radius: 17px; overflow: hidden; }
.detail-photo img { width: 100%; height: auto; }
.detail-content h1 { margin-block: 5px 8px; }
.detail-content > p { color: var(--muted); margin-block: 13px 20px; }
.detail-price { font-size: 1.5rem; font-weight: 780; }
#product-form label, .checkout-form label:not(.payment) { display: block; font-weight: 700; font-size: .9375rem; }
#product-form .stock { margin-block: 12px; }
.product-buy { display: flex; align-items: end; gap: 10px; }
.product-buy input { width: 76px; }
.product-buy button { flex: 1; max-width: 270px; }
input:not([type="checkbox"], [type="radio"], [type="search"]), select, textarea { display: block; width: 100%; border: 1px solid #dcd3e6; border-radius: 8px; min-height: 46px; padding: 9px 11px; margin-block-start: 5px; background: white; color: var(--ink); font-size: 1rem; font-weight: 400; }
.product-buy input:not([type="search"]) { width: 76px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--purple) 50%), linear-gradient(135deg, var(--purple) 50%, transparent 50%); background-position: right 15px center, right 10px center; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 30px; }
[dir="rtl"] select { background-position: left 10px center, left 15px center; }
textarea { resize: vertical; }
.detail-heading { margin-block: 24px 9px; font-size: 1.35rem; }
.specs > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 9px 0; border-block-end: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 650; overflow-wrap: anywhere; }
.order-layout { display: grid; gap: 15px; align-items: start; }
.cart-items { padding-block: 4px; }
.cart-row { display: grid; grid-template-columns: 62px 1fr; gap: 9px 12px; padding-block: 14px; }
.cart-row + .cart-row { border-block-start: 1px solid var(--line); }
.cart-photo img { width: 100%; height: auto; border-radius: 8px; }
.cart-row h2 { font-size: 1.1rem; margin-block-end: 4px; }
.cart-row p { font-size: .875rem; }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: 5px; }
.cart-actions .text-link { font-size: .875rem; min-height: 44px; }
.stepper { display: inline-flex; align-items: center; background: #f8f5fc; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; }
.stepper button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--purple-dark); font-size: 1.2rem; }
.stepper span { min-width: 16px; text-align: center; }
.line-total { grid-column: 2; }
.summary h2, .checkout-form h2, .contact-panel h2 { font-size: 1.45rem; margin-block-end: 12px; }
.summary-row, .summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 9px; border-block-end: 1px solid var(--line); }
.summary strong { text-align: end; white-space: nowrap; }
.summary .button { display: flex; width: 100%; margin-block: 14px 8px; }
.summary .continue { display: block; text-align: center; }
.summary-total { border: 0; font-weight: 800; }
.summary .muted { margin-block-start: 8px; }
.callout { border-radius: 9px; padding: 12px 15px; margin-block-end: 14px; background: var(--lavender); color: var(--purple-dark); }
.checkout-form { display: grid; gap: 12px; }
.checkout-form h2 { margin: 0; }
.checkout-form small { margin-block-start: -9px; color: var(--muted); font-size: .875rem; }
.field-pair { display: grid; gap: 12px; }
.checkout-form fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0; padding: 9px 12px; }
.checkout-form legend { font-weight: 700; }
.checkout-form .payment-methods { display: grid; gap: 8px; min-inline-size: 0; padding: 8px 10px 10px; }
.payment-methods > p { color: var(--muted); font-size: .875rem; }
.payment { display: flex; align-items: center; gap: 9px; min-height: 56px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; cursor: pointer; }
.payment:has(input:checked) { border-color: #a787e9; background-color: #f5efff; }
.payment input[type="radio"] { flex: none; }
.payment-icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; color: var(--purple-dark); background-color: var(--lavender); }
.payment-icon svg { width: 18px; height: 18px; }
.payment strong, .payment-description { display: block; font-size: .875rem; }
.payment-description { color: var(--muted); }
.account-page { max-inline-size: 740px; }
.account-form { display: grid; gap: 15px; max-inline-size: 455px; }
.account-form label { font-size: .9375rem; font-weight: 650; }
.account-form .muted { font-size: .875rem; }
.account-profile, .history-heading { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 8px 15px; }
.account-profile p { overflow-wrap: anywhere; }
.account-history { margin-block-start: 16px; }
.history-heading h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.history-order { border-block-start: 1px solid var(--line); padding-block: 14px; margin-block-start: 12px; }
.history-order ul { margin-block: 5px 0; padding-inline-start: 1.25rem; }
.history-empty { padding-block: 14px 0; }
.form-error { color: var(--red); font-weight: 650; }
.form-error:empty { margin: 0; height: 0; }
.confirmation-mark { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 50%; background: var(--lavender); color: var(--purple); }
.contact-grid { display: grid; gap: 15px; }
.contact-panel > svg { color: var(--purple); margin-block-end: 9px; }
.contact-panel p { margin-block-end: 8px; overflow-wrap: anywhere; }

#footer {
  color: #faf6ff;
  background: radial-gradient(ellipse at top right, #382849, transparent 65%), #23192f;
  border-block-start: 1px solid #483656;
}
.footer-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: 28px 20px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { max-inline-size: 32ch; margin-block-start: 8px; color: #d4c9de; font-size: .875rem; }
.footer-heading { margin-block-end: 4px; font-size: .875rem; font-weight: 750; color: #faf6ff; }
.footer-links a { display: flex; align-items: center; min-block-size: 44px; inline-size: fit-content; color: #e0d5e9; font-size: .875rem; }
.footer-links a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding-block: 14px; border-block-start: 1px solid #554361; color: #d4c9de; font-size: .8125rem; }
.footer-bottom strong { color: #faf6ff; font-weight: 650; }
.footer-region { display: flex; align-items: center; gap: 6px; }
.footer-region svg { width: 15px; height: 15px; }
@media (min-width: 700px) {
  .footer-content { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 34px 24px; }
  .footer-brand { grid-column: auto; }
  .footer-links a { min-block-size: 30px; }
}
#notice { position: fixed; z-index: 2; inset-inline-end: 16px; inset-block-end: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 13px; max-width: calc(100% - 32px); padding: 8px 13px; color: white; background: var(--purple-dark); border-radius: 10px; opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .18s, translate .18s, visibility .18s; }
#notice:is(.visible, :focus-within) { opacity: 1; visibility: visible; translate: 0 0; box-shadow: 0 5px 18px #201a2d42; }
#notice a:not([hidden]) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 580px) {
  .container { width: min(100% - 48px, 1240px); }
  .header-main { grid-template-columns: auto minmax(180px, 520px) auto; justify-content: space-between; }
  .search { grid-column: 2; grid-row: 1; }
  .nav { gap: 21px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: clamp(24px, 4.5vw, 67px); }
  .hero h1 { font-size: clamp(2.25rem, 5.85vw, 5.2rem); }
  .benefits { padding: 18px 8px; }
  .benefits > div { justify-content: center; }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card { grid-template-columns: 1fr; }
  .category-card img { height: 105px; }
  .product-grid { gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-card-body { padding: 14px; }
  .product-detail { grid-template-columns: 1fr 1fr; }
  .cart-row { grid-template-columns: 69px 1fr auto; }
  .line-total { grid-column: 3; }
  .field-pair, .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .container { width: min(100% - 80px, 1240px); }
  .header-main { padding-block: 16px 7px; grid-template-columns: 1fr minmax(300px, 530px) 1fr; }
  .nav { gap: 27px; }
  .nav a { padding-block: 10px 12px; }
  .home { padding-block-start: 26px; }
  .hero { grid-template-columns: 49% 51%; min-height: 390px; }
  .benefits { padding-block: 18px; }
  .home-section { margin-block-start: 33px; }
  .categories { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
  .category-card { grid-template-columns: 1fr 34%; min-height: 118px; }
  .category-card img { height: 100%; }
  .category-card > div { padding-inline-start: 20px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .order-layout { grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 24px; }
  .inner { padding-block-start: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Editorial imagery and motion use local photos and stay out of the shopping forms. */
.hero { background: #eee6fc; }
.hero-copy { position: relative; z-index: 1; }
.hero-stage {
  display: grid;
  place-items: center;
  position: relative;
  min-width: 0;
  min-height: 230px;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 76% 32%, #e8d0ff 0 25%, transparent 25.5%),
    repeating-linear-gradient(135deg, #cab4f3 0 34px, #d1bcf6 34px 68px);
}
.hero-frame {
  width: 79%;
  margin-block: 24px;
  overflow: hidden;
  border: 5px solid #fcf6ff;
  border-radius: 15px;
  box-shadow: 0 12px 40px #40256c42;
  transform: rotate(-5deg);
}
.hero-frame img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.hero-snapshot {
  position: absolute;
  width: clamp(54px, 17%, 112px);
  height: auto;
  border: 4px solid #fff7ed;
  border-radius: 8px;
  box-shadow: 0 7px 22px #3f235a42;
}
.snapshot-books { inset-block-start: 9%; inset-inline-end: 5%; transform: rotate(12deg); }
.snapshot-toys { inset-block-end: 8%; inset-inline-start: 4%; transform: rotate(-14deg); }
.featured { background: #f1eafa; padding: 17px 15px 12px; border-radius: 17px; }
.featured-track { display: flex; --card-width: 76%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding: 3px 3px 10px; scrollbar-color: #ad8cdb transparent; }
.featured-track .product-card { flex: 0 0 var(--card-width); scroll-snap-align: start; }
.rail-controls { display: flex; justify-content: end; gap: 8px; margin-block-start: 6px; }
.rail-button { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid #d7c6ef; background: white; color: var(--purple-dark); }
.rail-button[aria-disabled="true"] { opacity: .45; cursor: default; }
.rail-button:not([aria-disabled="true"]):hover { background: var(--purple); color: white; }
.rail-button.previous svg { transform: rotate(180deg); }
[dir="rtl"] .rail-button svg { rotate: 180deg; }
.home-faq { display: grid; gap: clamp(12px, 2.8vw, 32px); padding: clamp(10px, 2.3vw, 26px); border: 1px solid #e7ddef; background: #fbf8fd; border-radius: 20px; }
.help-intro {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  padding: clamp(16px, 3.8vw, 44px);
  border: 1px solid #e3d5f6;
  border-radius: 14px;
  background:
    repeating-radial-gradient(circle at 110% 115%, transparent 0 19px, #7653b516 20px 21px, transparent 22px 29px),
    linear-gradient(135deg, #f4ecfc, #e7d8fb);
}
.help-intro h2 { max-inline-size: 14ch; }
.help-mark { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border: 1px solid #dfcef3; border-radius: 12px; background: #fbf6ff; color: var(--purple-dark); }
.questions { display: grid; gap: 8px; align-content: center; }
.questions details { background: white; border: 1px solid #e8dff0; border-radius: 11px; transition: border-color .18s, box-shadow .18s; }
.questions details:is(:hover, [open]) { border-color: #c9b6e6; box-shadow: 0 2px 8px #4328740d; }
.questions summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; cursor: pointer; min-block-size: 56px; padding: 7px 10px; font-size: .9375rem; font-weight: 700; list-style: none; border-radius: 10px; }
.questions summary::-webkit-details-marker { display: none; }
.question-icon, .question-toggle { display: grid; place-items: center; color: var(--purple-dark); }
.question-icon { inline-size: 32px; block-size: 32px; border-radius: 8px; background: #f3ecfb; }
.question-icon svg { inline-size: 17px; block-size: 17px; }
.question-toggle { position: relative; inline-size: 20px; block-size: 20px; }
.question-toggle::before, .question-toggle::after { content: ""; position: absolute; inline-size: 10px; block-size: 1.5px; border-radius: 1px; background: currentColor; }
.question-toggle::after { transform: rotate(90deg); transition: transform .18s; }
.questions details[open] .question-toggle::after { transform: rotate(0); }
.questions p { padding: 0 13px 12px; color: var(--muted); font-size: .9375rem; }

@media (min-width: 580px) {
  .featured { padding: 20px 18px 12px; }
  .featured-track { --card-width: 40%; }
  .questions p { padding-inline-start: 51px; }
}
@media (min-width: 700px) {
  .home-faq { grid-template-columns: minmax(0, .95fr) minmax(0, 1.55fr); }
}
@media (min-width: 900px) {
  .hero-frame { width: 78%; margin-block: 48px; }
  .featured { padding: 22px 22px 12px; }
  .featured-track { --card-width: 29%; gap: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: content-enter 360ms ease-out both; }
  .hero-frame { animation: photo-enter 610ms cubic-bezier(.2,.7,.2,1) both; }
  .hero-snapshot { animation: snapshot-enter 550ms 110ms cubic-bezier(.2,.7,.2,1) both; }
  .inner, .revealed { animation: content-enter 300ms ease-out both; }
  .detail-photo img { animation: image-enter 480ms ease-out both; }
  .confirmation-mark { animation: success-enter 380ms cubic-bezier(.2,.75,.3,1.25) both; }
  .questions details[open] p { animation: content-enter 220ms ease-out both; }
  @keyframes content-enter {
    from { opacity: .55; translate: 0 10px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes photo-enter {
    from { opacity: .75; transform: translateY(20px) rotate(-10deg) scale(.96); }
    to { opacity: 1; transform: rotate(-5deg); }
  }
  @keyframes snapshot-enter {
    from { opacity: 0; translate: 0 18px; scale: .85; }
    to { opacity: 1; translate: 0 0; scale: 1; }
  }
  @keyframes image-enter {
    from { opacity: .8; scale: 1.025; }
    to { opacity: 1; scale: 1; }
  }
  @keyframes success-enter {
    from { opacity: .7; scale: .7; }
    to { opacity: 1; scale: 1; }
  }
}
@media (hover: hover) {
  .product-card:hover { border-color: #d7c5ef; box-shadow: 0 5px 14px #57368b19; }
  .product-photo:hover img, .category-card:hover img { transform: scale(1.045); }
}
@media (prefers-reduced-motion: reduce) {
  .product-photo:hover img, .category-card:hover img { transform: none; }
  .button:active:not(:disabled) { translate: none; }
}
