/* APPA's warm paper, arakku silk and restrained gold. All type stays offline. */
:root { --paper: #f6f3ee; --surface: #fffcf7; --ink: #352923; --muted: #756960; --line: #e2d8ca; --arakku: #8b1a4a; --arakku-dark: #641235; --zari: #b8862f; --radius: 3px; --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { font-size: 15px; line-height: 1.65; }
.wrap { max-width: 1280px; padding-inline: 48px; }
.note { background: #691735; font-size: 11px; letter-spacing: .12em; padding: 7px 16px; }
header.top { background: #f6f3eef5; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
header.top .wrap { min-height: 82px; }
.brand img { height: 57px; width: 104px; object-fit: contain; }
.header-note { color: var(--muted); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.cart-link { font-size: 12px; border-color: #c9b99f; padding: 7px 15px; }
.cart-link svg { width: 16px; height: 16px; }
.cart-link b { background: transparent; color: var(--arakku); min-width: 15px; padding: 0; }
.border-band { height: 3px; opacity: .72; background: repeating-linear-gradient(90deg, #b8862f 0 2px, transparent 2px 7px); }
main { padding: 0 0 72px; }
#view { outline: none; }
#view > .back, #view > .page-title { margin-top: 28px; }
.eyebrow { color: var(--arakku); font-size: 10px; font-weight: 600; letter-spacing: .21em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; position: relative; min-height: 630px; padding-block: 30px; gap: 30px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 20px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 25px; }
.hero-copy .eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--zari); }
.hero h1 { font-size: clamp(42px, 5.1vw, 71px); line-height: 1.08; letter-spacing: -.045em; }
.hero h1 em { font-weight: 400; color: var(--arakku); }
.hero-tagline { color: var(--muted); max-width: 32ch; font-size: 15px; margin: 24px 0 26px; line-height: 1.8; }
.hero .btn { gap: 26px; font-size: 12px; font-weight: 500; letter-spacing: .04em; min-height: 49px; }
.hero-footnote { display: flex; align-items: center; gap: 11px; font-size: 11px; color: var(--muted); margin-top: 28px; }
.hero-footnote span:first-child { color: var(--zari); font-size: 23px; line-height: 1; }
.hero-display { position: relative; min-width: 0; padding: 0 14px; }
.hero-display::before { content: ''; position: absolute; inset: 6px 32px 65px; border: 1px solid #cfb994; border-radius: 47% 47% 2px 2px; background: radial-gradient(ellipse at 55% 28%, #fffaf1 0%, #ede2d2 66%, #e4d4bd 100%); }
.hero-display::after { content: ''; position: absolute; top: 22px; right: 19px; height: 95px; width: 64px; border: 1px solid #b8862f55; border-radius: 50%; transform: rotate(-27deg); pointer-events: none; }
.hero-art-label { position: absolute; top: 34px; left: 47px; z-index: 2; font-size: 9px; line-height: 1.7; text-transform: uppercase; letter-spacing: .16em; color: #76614b; }
.hero-art-label b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: 0; }
.hero .saree-view { height: 510px; background: transparent; }
.hero-caption { position: relative; display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 8px 22px 0; padding-top: 16px; border-top: 1px solid #cbb79b; }
.hero-caption a { text-decoration: none; font-family: var(--font-display); font-size: 19px; line-height: 1.3; max-width: 29ch; }
.hero-caption a::after { content: ' ↗'; color: var(--arakku); white-space: nowrap; }
.hero-caption > span { color: var(--arakku); font-size: 13px; white-space: nowrap; }
.saree-view { position: relative; isolation: isolate; width: 100%; height: 590px; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #fffaf1, #ede2d2 75%); }
.saree-view > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 40px; transition: opacity .4s; }
.saree-view canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity .5s; }
.saree-view canvas.is-dragging { cursor: grabbing; }
.saree-view.is-ready canvas { opacity: 1; }
.saree-view.is-ready > img { opacity: 0; pointer-events: none; }
.viewer-hint { position: absolute; top: 18px; left: 0; width: 100%; text-align: center; color: #75614d; font-size: 10px; letter-spacing: .07em; z-index: 1; pointer-events: none; }
.hero .viewer-hint { display: none; }
.viewer-controls { position: absolute; bottom: 11px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 3px; border: 1px solid #c7b69b; border-radius: 99px; background: #fcf7edeb; padding: 2px 5px; white-space: nowrap; }
.viewer-controls button { border: none; border-radius: 99px; background: transparent; cursor: pointer; min-width: 44px; height: 40px; color: #5c4032; font-size: 21px; }
.viewer-controls button[data-pause] { font-size: 10px; padding-inline: 10px; letter-spacing: .02em; }
.viewer-controls button:hover { background: #e8dcca; }
.viewer-controls button:disabled { cursor: default; }
.is-fallback .viewer-hint { background: #f6f3eedb; }
.collection { padding-top: 42px; border-top: 1px solid var(--line); scroll-margin-top: 112px; }
.collection-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.collection-heading .eyebrow { margin: 0 0 8px; }
.collection-heading h2 { font-size: clamp(29px, 3vw, 39px); letter-spacing: -.025em; }
.collection-heading > p { margin: 0 0 3px; font-size: 12px; color: var(--muted); }
.chips { gap: 7px; margin-bottom: 28px; }
.chip { border-radius: 2px; background: transparent; padding: 7px 17px; font-size: 12px; }
.chip[aria-pressed="true"] { background: var(--arakku); border-color: var(--arakku); }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 23px; }
.card { gap: 8px; position: relative; }
.card .photo { background: #ebe3d7; aspect-ratio: 4 / 5; border-radius: 100px 100px 3px 3px; }
.card h3 { font-family: var(--font-display); font-size: 18px; line-height: 1.4; }
.card .category { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-top: 4px; }
.card .price strong { font-size: 13px; font-weight: 600; }
.card .price s { font-size: 12px; }
.card .price .off { font-size: 10px; font-weight: 400; }
.card-3d { position: absolute; bottom: 12px; left: 12px; background: #fffaf1e8; border: 1px solid #d7c5a9; border-radius: 99px; padding: 5px 9px; font-size: 9px; color: #6a4435; letter-spacing: .04em; }
.card .pill { top: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10px; }
.card-arrow { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--arakku); color: #fff; display: grid; place-items: center; }
.craft-note { margin-top: 56px; border-block: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 48px; }
.craft-note h2 { font-size: 30px; }
.craft-note p { color: var(--muted); margin: 0; font-size: 13px; max-width: 60ch; }
.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
.info { padding-top: 12px; gap: 20px; }
.info h1 { font-size: clamp(28px, 3.1vw, 40px); letter-spacing: -.025em; }
.info .price strong { color: var(--arakku); font-size: 25px; }
.info .price .off { font-weight: 400; }
.facts { font-size: 13px; gap: 10px 24px; padding-block: 20px; }
.desc { font-size: 14px; color: #65564c; }
.back { font-size: 12px; text-decoration: none; margin-bottom: 20px; }
.btn { border-radius: 2px; font-size: 13px; font-weight: 500; }
.buy .btn { flex: 1; }
.thumbs button { width: 58px; aspect-ratio: 1; border-radius: 2px; }
.thumbs .thumb-3d { background: #ede3d4; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--arakku); font-size: 11px; line-height: 1.3; }
.thumb-3d b { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.gallery-note { font-size: 10px; color: var(--muted); margin: 0; }
.colour-dot { display: inline-block; vertical-align: middle; width: 11px; height: 11px; border-radius: 50%; border: 1px solid #ffffff80; margin-right: 5px; }
.small { font-size: 12px; }
footer { background: #eee7dd; padding-block: 36px; }
footer h2 { color: var(--arakku); font-size: 19px; }
footer p { font-size: 12px; line-height: 1.9; }
.toast { background: #59132f; border: 1px solid #b8862f; border-radius: 3px; padding: 15px 22px; font-size: 13px; box-shadow: 0 8px 40px #3a152333; }
.toast::before { content: '✓'; color: #e8c886; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .view-enter { animation: view-in .4s ease both; }
  .hero-copy > * { animation: rise .8s both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--delay, 0ms), transform .65s var(--delay, 0ms); }
  .reveal.revealed { opacity: 1; transform: none; }
  .card .photo img { transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .65s; }
  .card:hover .photo img { transform: scale(1.055); filter: saturate(1.08); }
  .card-arrow { transition: transform .25s, background .25s; }
  .card:hover .card-arrow { transform: rotate(45deg); background: #59132f; }
  .btn, .chip, .cart-link, .thumbs button { transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 14px #8b1a4a22; }
  .btn:active { transform: translateY(0) scale(.98); }
  .toast:not([hidden]) { animation: toast-in .35s cubic-bezier(.2,.8,.2,1); }
  .cart-bump { animation: cart-bump .5s; }
  @keyframes view-in { from { opacity: .25; transform: translateY(7px); } to { opacity: 1; transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
  @keyframes toast-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  @keyframes cart-bump { 40% { transform: scale(1.1); background: #edddc3; } }
}
@media (max-width: 1000px) {
  .wrap { padding-inline: 28px; }
  .hero { gap: 8px; min-height: 590px; }
  .hero h1 { font-size: 55px; }
  .hero-art-label { left: 35px; }
  .grid { gap: 28px 16px; }
  .product { gap: 30px; }
  .saree-view { height: 530px; }
}
@media (max-width: 700px) {
  .wrap { padding-inline: 20px; }
  .note { font-size: 9px; letter-spacing: .06em; }
  header.top .wrap { min-height: 67px; }
  .brand img { width: 84px; height: 47px; }
  .header-note { display: none; }
  .cart-link { padding: 5px 12px; }
  .hero { grid-template-columns: 1fr; gap: 4px; padding-top: 32px; padding-bottom: 30px; }
  .hero-copy { padding: 0; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; margin-bottom: 17px; font-size: 9px; }
  .hero h1 { font-size: clamp(43px, 9.2vw, 60px); line-height: 1.07; }
  .hero h1 br:first-child { display: none; }
  .hero-tagline { margin: 16px auto 20px; font-size: 12px; max-width: 34ch; }
  .hero .btn { min-height: 45px; }
  .hero-footnote { display: none; }
  .hero-display { margin-top: 19px; padding: 0; }
  .hero-display::before { inset: 0 10px 61px; }
  .hero-display::after { right: 3px; top: 18px; width: 47px; height: 75px; }
  .hero .saree-view { height: 405px; }
  .hero-art-label { left: 24px; top: 36px; font-size: 8px; }
  .hero-art-label b { font-size: 21px; }
  .hero-caption { margin: 8px 7px 0; gap: 14px; padding-top: 13px; }
  .hero-caption a { font-size: 16px; }
  .hero-caption > span { font-size: 12px; }
  .collection { padding-top: 28px; scroll-margin-top: 90px; }
  .collection-heading { align-items: start; gap: 10px; margin-bottom: 19px; }
  .collection-heading h2 { font-size: 29px; }
  .collection-heading > p { max-width: 13ch; font-size: 10px; text-align: right; margin-top: 24px; }
  .chips { gap: 6px; margin-bottom: 22px; }
  .chip { padding: 7px 11px; font-size: 11px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 13px; }
  .card h3 { font-size: 16px; }
  .card .photo { border-radius: 65px 65px 2px 2px; }
  .card .price { gap: 3px 6px; }
  .card-3d { bottom: 9px; left: 7px; font-size: 8px; padding: 3px 6px; }
  .card-arrow { right: 8px; bottom: 8px; width: 24px; height: 24px; font-size: 12px; }
  .craft-note { margin-top: 34px; padding: 24px 0; gap: 14px; grid-template-columns: 1fr; }
  .craft-note h2 { font-size: 27px; }
  .product { grid-template-columns: 1fr; gap: 20px; }
  .info { padding-top: 0; gap: 17px; }
  .info h1 { font-size: 30px; }
  .saree-view { height: 450px; }
  .viewer-hint { top: 12px; }
  .back { margin-bottom: 14px; }
  #view > .back, #view > .page-title { margin-top: 20px; }
  .facts { gap: 9px 15px; font-size: 12px; }
  .toast { padding: 12px 15px; font-size: 12px; gap: 8px; }
  main { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
