/* Apsara Attire — "luxe" layer, v3 (29 Oct 2026). Loaded after app.css; later rules win.
   White header with the gold logo; section grounds now vary (champagne, maroon, emerald, blush) so the
   page is no longer all beige; every saree still sits on a white or ivory box, where silk reads best.
   Gilda Display for headings, Manrope for UI and every price. Sharp corners, gold hairlines, no glow. */

:root {
	--ivory: #FBF8F2;
	--champagne: #F2E8D6;
	--blush: #F4E4DC;
	--maroon: #5C1B2B;
	--maroon-2: #46141F;
	--emerald: #12483A;
	--royal: #15100C;
	--royal-2: #211812;
	--royal-3: #2E231A;
	--footer: #2A1118;
	--gold: #C8963E;
	--gold-2: #E3C88C;
	--gold-3: #8A6A2E;
	--ink: #1E1916;
	--panel: #F6F0E6;
	--paper: var(--ivory);
	--paper-2: #F6F0E6;
	--paper-3: #FFFFFF;
	--line-gold: rgba(200, 150, 62, .35);
	--line-gold-2: rgba(200, 150, 62, .6);
	--lift: 0 24px 44px -28px rgba(70, 20, 31, .5);
}
body { background: var(--ivory); }

/* ---------- top line + header: white, gold rule, gold logo ---------- */
.aps-announce { background: var(--maroon); color: var(--gold-2); border-bottom: 0; }
.aps-announce p { padding-block: .62rem; font-size: .64rem; letter-spacing: .28em; }

.aps-header,
.aps-home .aps-header,
.aps-home .aps-header.is-solid,
.aps-home .aps-header.has-panel {
	position: sticky; top: 0; left: auto; right: auto;
	background: #FFFFFF; color: var(--ink); border-bottom: 1px solid var(--line-gold);
	backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* scrolled: a touch translucent with blur — never dark */
.aps-header.is-solid, .aps-home .aps-header.is-solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -24px rgba(30, 25, 22, .35); }
.aps-header__row { height: 84px; }
.aps-wordmark__mark { height: 54px; filter: none; }
.aps-wordmark__word { width: 186px; }
.aps-nav__list > li > a, .aps-nav__list > li > button { color: var(--ink); transition: color .4s; }
.aps-nav__list > li > a:hover, .aps-nav__list > li > button:hover, .aps-nav__list button[aria-expanded="true"] { color: var(--maroon); }
.aps-nav__list > li > a::after, .aps-nav__list > li > button::after { background: var(--gold); height: 1.5px; }
.aps-header__icon { color: var(--ink); }
.aps-header__icon:hover { color: var(--maroon); }
.aps-header__count { background: var(--maroon); color: var(--ivory); }
.aps-panel { background: #FFFFFF; color: var(--ink); border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold); box-shadow: 0 24px 40px -30px rgba(30, 25, 22, .4); }
.aps-panel__num { color: var(--gold-3); }
.aps-panel__img { background: var(--panel); }
.aps-panel__name { color: var(--ink); }

.aps-drawer { background: #FFFFFF; color: var(--ink); }
.aps-drawer__top, .aps-drawer__occ, .aps-drawer__more { border-color: var(--line-gold); }
.aps-drawer__all { color: var(--maroon); }
.aps-drawer__occ span { color: var(--gold-3); }
.aps-drawer__more a { color: var(--ink-2); }
.aps-drawer .aps-link { color: var(--maroon); }
.aps-drawer__foot { border-top: 1px solid var(--line-gold); padding-top: 1.4rem; }
.aps-search { background: #FFFFFF; border-color: var(--line-gold); box-shadow: 0 20px 40px -30px rgba(30, 25, 22, .4); }
.aps-search input { color: var(--ink); border-color: var(--line-gold-2); }
.aps-search input::placeholder { color: var(--ink-3); }
.aps-search input:focus { border-color: var(--gold); }

/* ---------- buttons + headings ---------- */
.aps-btn { border-radius: 0; letter-spacing: .22em; }
.aps-btn--gold { background: var(--gold); color: var(--royal); border: 1px solid var(--gold); font-weight: 600; }
.aps-btn--gold::before { background: var(--ivory); }
.aps-btn--gold:hover { color: var(--royal); border-color: var(--ivory); }
.aps-btn--solid { background: var(--maroon); border-color: var(--maroon); color: var(--ivory); }
.aps-btn--solid::before { background: var(--gold); }
.aps-btn--solid:hover { color: var(--royal); border-color: var(--gold); }
.aps-btn--outline { border-color: var(--line-gold-2); color: var(--ink); }
.aps-btn--outline:hover { border-color: var(--maroon); color: var(--ivory); }
.aps-btn--outline::before { background: var(--maroon); }

.aps-orn { display: flex; align-items: center; justify-content: center; gap: .7rem; color: var(--gold); margin-bottom: 1rem; }
.aps-orn i { width: 3.6rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.aps-orn i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.aps-sechead { margin-bottom: clamp(2rem, 4.5vw, 3.2rem); }
.aps-sechead--center { text-align: center; }
.aps-kicker { color: var(--gold-3); }
.aps-kicker::before { background: var(--gold); }
.aps-kicker--gold { color: var(--gold-2); }
.aps-kicker--gold::before { background: var(--gold); }
.aps-center { text-align: center; margin: 2.8rem 0 0; }

/* ---------- hero: maroon veil, gold word, gold button ---------- */
.aps-hero { height: calc(100vh - 118px); height: calc(100svh - 118px); min-height: 540px; background: var(--maroon-2); }
.aps-hero__deva { color: var(--gold-2); }
.aps-hero__title { text-shadow: none; color: var(--ivory); }
.aps-hero__sub { color: rgba(251, 248, 242, .9); margin-bottom: 1rem; }
.aps-hero__est { margin: 0 0 2.2rem; font: 500 .7rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
.aps-hero__est i { font-style: normal; padding-inline: .35em; color: var(--gold); }
.aps-hero::after { background: linear-gradient(90deg, rgba(70, 20, 31, .86) 0%, rgba(70, 20, 31, .52) 36%, rgba(70, 20, 31, 0) 68%), linear-gradient(0deg, rgba(70, 20, 31, .5) 0%, rgba(70, 20, 31, 0) 40%); }
.aps-hero__warp i { background: var(--ivory); box-shadow: inset -1px 0 0 rgba(200, 150, 62, .4); }
.aps-hero__toggle { color: var(--ivory); border-color: rgba(227, 200, 140, .6); }

/* ---------- section grounds ---------- */
.aps-occs, .aps-fabrics { background: var(--champagne); }
.aps-newin, .aps-silk, .aps-follow { background: var(--ivory); }
.aps-colours { background: var(--emerald); color: var(--ivory); }
.aps-prices { background: var(--blush); }
.aps-occs, .aps-newin, .aps-fabrics, .aps-colours, .aps-prices, .aps-silk { padding-block: clamp(3.8rem, 8vw, 6.5rem); }


/* ---------- occasion + fabric box cards (arch inner frame kept) ---------- */
.aps-occs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; max-width: 76rem; margin-inline: auto; }
@media (min-width: 600px) { .aps-occs__grid { gap: 1.25rem; } }
@media (min-width: 900px) { .aps-occs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; } }
.aps-occ, .aps-fabric {
	display: grid; align-content: start; gap: .45rem; text-align: center; position: relative;
	background: #FFFFFF; border: 1px solid var(--line-gold); padding: clamp(.55rem, 1.2vw, .9rem) clamp(.55rem, 1.2vw, .9rem) clamp(1rem, 2vw, 1.4rem);
	transition: transform .8s var(--ease), box-shadow .8s var(--ease), border-color .8s var(--ease);
}
.aps-occ__img, .aps-fabric__img { display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; padding: 5px; border: 1px solid var(--gold); background: var(--ivory); overflow: hidden; }
.aps-occ__img img, .aps-fabric__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; transition: transform 1.6s var(--ease); }
.aps-occ__name, .aps-fabric__name { font: 400 clamp(1.05rem, 2.1vw, 1.45rem)/1.2 var(--serif); margin-top: .55rem; color: var(--ink); }
.aps-occ__count, .aps-fabric__count { font: 500 .62rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-3); }
@media (hover: hover) {
	.aps-occ:hover, .aps-fabric:hover { transform: translateY(-6px); box-shadow: var(--lift); border-color: var(--line-gold-2); }
	.aps-occ:hover .aps-occ__img img, .aps-fabric:hover .aps-fabric__img img { transform: scale(1.04); }
}
.aps-fabrics__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.6rem); max-width: 64rem; margin-inline: auto; }

/* ---------- product grid + BOX cards ---------- */
.aps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
@media (min-width: 600px) { .aps-grid { gap: 1.25rem; } }
@media (min-width: 900px) { .aps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1300px) { .aps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aps-grid--home { padding-bottom: 0; }
@media (min-width: 900px) { .aps-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1000px) { .aps-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aps-grid__cell { display: flex; min-width: 0; }
.aps-grid__cell > .aps-card { flex: 1; min-width: 0; }

.aps-card { position: relative; background: #FFFFFF; border: 1px solid var(--line-gold); border-radius: 0; transition: transform .8s var(--ease), box-shadow .8s var(--ease), border-color .8s var(--ease); }
.aps-card::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .8s var(--ease); pointer-events: none; }
.aps-card__link { display: flex; flex-direction: column; height: 100%; }
.aps-card__media { background: var(--panel); border: 0; border-bottom: 1px solid var(--line-gold); aspect-ratio: 4 / 5; }
.aps-card__media img { transition: transform 1.6s var(--ease), opacity .8s var(--ease); }
.aps-card.is-flat .aps-card__media img { object-fit: contain; padding: 6%; }
.aps-card__body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem .9rem 1.15rem; }
.aps-card__weave { margin: 0 0 .5rem; color: var(--gold-3); font: 600 .6rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.aps-card__name { font: 400 1.15rem/1.3 var(--serif); color: var(--ink); margin: 0 0 .7rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aps-card__price { margin: auto 0 0; font: 600 .98rem/1 var(--sans); color: var(--ink); letter-spacing: .02em; }
.aps-card__flag { background: #FFFFFF; border: 1px solid var(--line-gold); color: var(--maroon); }
@media (hover: hover) {
	.aps-card:hover { transform: translateY(-4px); box-shadow: var(--lift); border-color: var(--line-gold-2); }
	.aps-card:hover::after { transform: scaleX(1); }
	.aps-card:hover .aps-card__media img { transform: scale(1.04); }
}
@media (max-width: 520px) {
	.aps-card__body { padding: .8rem .55rem .95rem; }
	.aps-card__name { font-size: 1rem; }
	.aps-card__weave { font-size: .56rem; letter-spacing: .14em; }
	.aps-card__price { font-size: .92rem; }
}

/* rails (related, etc.) use the same box card */
.aps-rail { border-top: 1px solid var(--line-gold); }
.aps-rail__track { align-items: stretch; padding-block: .5rem 1.8rem; gap: 1.25rem; }
.aps-card--rail { flex: 0 0 clamp(14rem, 24vw, 19rem); }

/* ---------- the Banarasi edit: maroon band, saree on an ivory panel ---------- */
.aps-royal { display: grid; background: var(--maroon); color: var(--ivory); position: relative; }
.aps-royal::before, .aps-royal::after { content: ""; position: absolute; left: 0; right: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 9px); opacity: .6; }
.aps-royal::before { top: 0; } .aps-royal::after { bottom: 0; }
.aps-royal__media { margin: clamp(2.4rem, 5vw, 3.5rem) var(--gutter) 0; min-height: 0; aspect-ratio: 4 / 5; background: var(--ivory); border: 1px solid var(--gold); padding: clamp(.5rem, 1.2vw, .9rem); justify-self: center; width: calc(100% - var(--gutter) * 2); max-width: 34rem; }
.aps-royal__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #FFFFFF; }
.aps-royal__text { padding: clamp(2.6rem, 6vw, 5.5rem) var(--gutter); max-width: 38rem; }
.aps-royal__text .aps-orn { justify-content: flex-start; }
.aps-royal__text .aps-h2 { color: var(--ivory); }
.aps-royal__text > p:not(.aps-kicker) { color: rgba(251, 248, 242, .82); margin: 1.4rem 0 2rem; }
.aps-royal__mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-bottom: 2.2rem; }
.aps-royal__mini a { display: grid; gap: .55rem; text-align: center; background: #FFFFFF; border: 1px solid var(--gold); padding: .4rem .4rem .7rem; transition: transform .7s var(--ease); }
.aps-royal__mini a:hover { transform: translateY(-4px); }
.aps-royal__mini img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--panel); border: 0; }
.aps-royal__mini span { font: 600 .85rem/1 var(--sans); color: var(--ink); }
@media (min-width: 960px) {
	.aps-royal { grid-template-columns: 1fr 1fr; align-items: center; }
	.aps-royal__media { margin: 4rem 0 4rem var(--gutter); width: min(calc(100% - var(--gutter)), calc(82vh * .8)); max-width: none; justify-self: end; }
	.aps-royal__text { padding-left: clamp(3rem, 6vw, 6rem); }
}

/* ---------- shop by colour: emerald ---------- */
.aps-colours .aps-h2 { color: var(--ivory); }
.aps-colours__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: 1.6rem .6rem; max-width: 62rem; margin: 0 auto; }
.aps-swatch { display: grid; justify-items: center; gap: .65rem; }
.aps-swatch__dot { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--emerald), 0 0 0 5.5px rgba(251, 248, 242, .9); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.aps-swatch:hover .aps-swatch__dot { transform: scale(1.08); box-shadow: 0 0 0 4px var(--emerald), 0 0 0 6px var(--gold); }
.aps-swatch__name { font: 400 .98rem/1.2 var(--serif); color: var(--ivory); }
.aps-swatch:hover .aps-swatch__name { color: var(--gold-2); }

/* ---------- shop by price: blush ---------- */
.aps-prices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.6rem); max-width: 64rem; margin-inline: auto; }
.aps-prices__grid a { display: grid; gap: .55rem; justify-items: center; text-align: center; padding: clamp(1.4rem, 4vw, 2.6rem) .6rem; border: 1px solid var(--gold); background: #FFFFFF; position: relative; transition: background .5s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease); }
.aps-prices__grid a::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-gold); pointer-events: none; }
.aps-prices__grid span { font: 600 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-3); }
.aps-prices__grid strong { font: 600 clamp(.92rem, 2.4vw, 1.3rem)/1.25 var(--sans); color: var(--ink); }
.aps-prices__grid a:hover { background: var(--maroon); transform: translateY(-4px); box-shadow: var(--lift); }
.aps-prices__grid a:hover strong { color: var(--ivory); }
.aps-prices__grid a:hover span { color: var(--gold-2); }

/* ---------- Silk City story band ---------- */
.aps-silk__grid { display: grid; gap: 3rem; align-items: center; }
.aps-silk__media { margin: 0 1.2rem 1.2rem 0; position: relative; isolation: isolate; }
.aps-silk__media::before { content: ""; position: absolute; inset: 0; transform: translate(1.2rem, 1.2rem); border: 1px solid var(--gold); z-index: -1; }
.aps-silk__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.aps-silk__text .aps-h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); max-width: 14ch; }
.aps-silk__text p:not(.aps-kicker) { color: var(--ink-2); max-width: 42ch; margin: 1.2rem 0 0; font-size: 1.04rem; }
.aps-silk__text .aps-link { margin-top: 2rem; color: var(--maroon); }
@media (min-width: 900px) { .aps-silk__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 6vw, 6rem); } }

/* ---------- our promise: maroon band ---------- */
.aps-promise { background: var(--maroon); color: var(--ivory); border-block: 1px solid var(--line-gold); }
.aps-promise__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 2.6rem; gap: 1.8rem 1rem; }
.aps-promise__grid div { display: grid; gap: .35rem; text-align: center; }
.aps-promise__grid strong { font: 400 1.22rem/1.2 var(--serif); color: var(--gold-2); }
.aps-promise__grid span { font-size: .82rem; color: rgba(251, 248, 242, .78); }
@media (min-width: 900px) {
	.aps-promise__grid { grid-template-columns: repeat(4, 1fr); padding-block: 3.2rem; }
	.aps-promise__grid div + div { border-left: 1px solid var(--line-gold); }
}

/* ---------- follow ---------- */
.aps-follow__item { border: 1px solid var(--line-gold); padding: 5px; background: #FFFFFF; }
.aps-follow .aps-h2 a:hover { color: var(--maroon); }

/* ---------- ordering ---------- */
.aps-order { border-top: 0; }
.aps-order__steps { margin-top: 1.8rem; }
.aps-order__steps em { color: var(--gold-3); }

/* ---------- archive ---------- */
.aps-archive { background: var(--ivory); }
.aps-filters { border-color: var(--line-gold); }
.aps-filters__chips a { border-color: var(--line-gold-2); background: #FFFFFF; }
.aps-filters__chips a:hover { border-color: var(--maroon); }
.aps-filters__chips a.is-on { background: var(--maroon); border-color: var(--maroon); color: var(--gold-2); }

/* ---------- product page ---------- */
.aps-product { background: var(--ivory); }
.aps-product__price { font: 600 1.45rem/1 var(--sans); color: var(--ink); }
.aps-product__weave { color: var(--gold-3); }
.aps-product__gallery { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; background: #FFFFFF; gap: 0; }
.aps-product__gallery::-webkit-scrollbar { display: none; }
.aps-product__shot { flex: 0 0 100%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; background: #FFFFFF; scroll-snap-align: start; cursor: zoom-in; }
.aps-product__shot img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.aps-product__shot.is-zoom img { transform: scale(1.8); }
.aps-pgal { position: relative; min-width: 0; }
.aps-pgal__main { position: relative; min-width: 0; border-bottom: 1px solid var(--line-gold); }
.aps-pgal__thumbs { display: none; }
.aps-product__dots { position: absolute; left: 0; right: 0; bottom: .9rem; margin: 0; width: auto; display: flex; justify-content: center; gap: 6px; padding: 0; pointer-events: none; }
.aps-product__dots i { width: 20px; height: 2px; background: rgba(30, 25, 22, .22); }
.aps-product__dots i.is-on { background: var(--maroon); }
.aps-pgal__note { margin: .5rem auto 0; max-width: 34rem; text-align: center; font: 400 .74rem/1.5 var(--sans); color: var(--ink-3); }
.aps-pgal__hint { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .7rem 0 0; font: 500 .66rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.aps-pgal__h { display: none; }
@media (hover: hover) and (pointer: fine) { .aps-pgal__h { display: inline; } .aps-pgal__t { display: none; } }
@media (min-width: 900px) {
	.aps-product { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
	.aps-pgal { position: sticky; top: calc(var(--head) + 3rem); align-self: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1rem; padding: 2.4rem 0 2.4rem var(--gutter); }
	.aps-pgal.has-thumbs { grid-template-columns: 78px minmax(0, 1fr); }
	.aps-pgal__thumbs { display: flex; flex-direction: column; gap: .6rem; max-height: calc(100vh - 12rem); overflow-y: auto; scrollbar-width: none; grid-row: 1; }
	.aps-pgal__thumbs::-webkit-scrollbar { display: none; }
	.aps-pgal__thumb { flex: none; width: 78px; aspect-ratio: 4 / 5; padding: 3px; background: #FFFFFF; border: 1px solid var(--line-gold); opacity: .72; transition: opacity .4s, border-color .4s; }
	.aps-pgal__thumb img { width: 100%; height: 100%; object-fit: contain; }
	.aps-pgal__thumb:hover { opacity: 1; }
	.aps-pgal__thumb.is-on { opacity: 1; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
	.aps-pgal__main { grid-row: 1; width: min(100%, calc((100vh - 10rem) * .8)); justify-self: center; border: 1px solid var(--line-gold); }
	.aps-pgal__hint, .aps-pgal__note { grid-column: -2; }
	.aps-product__gallery { display: flex; }
	.aps-product__dots { display: none; }
}

.aps-specs { margin: 2.2rem 0 0; background: #FFFFFF; border: 1px solid var(--line-gold); padding: .2rem 1.2rem; }
.aps-specs div { border-color: var(--line-gold); }
.aps-specs div:last-child { border-bottom: 0; }
.aps-accordion details { border-color: var(--line-gold); }

/* lightbox (built by app.js) */
.aps-lb { position: fixed; inset: 0; z-index: 100; background: rgba(251, 248, 242, .985); display: grid; place-items: center; }
.aps-lb__stage { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: calc(4.5rem + env(safe-area-inset-top)) 5rem calc(3.5rem + env(safe-area-inset-bottom)); }
.aps-lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #FFFFFF; border: 1px solid var(--line-gold); }
.aps-lb__btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; background: #FFFFFF; border: 1px solid var(--line-gold-2); color: var(--ink); transition: background .4s, color .4s; }
.aps-lb__btn:hover { background: var(--maroon); color: var(--ivory); border-color: var(--maroon); }
.aps-lb__close { top: calc(1rem + env(safe-area-inset-top)); right: 1rem; }
.aps-lb__prev, .aps-lb__next { top: 50%; transform: translateY(-50%); }
.aps-lb__prev { left: 1rem; } .aps-lb__next { right: 1rem; }
.aps-lb__count { position: absolute; left: 0; right: 0; bottom: calc(1.1rem + env(safe-area-inset-bottom)); margin: 0; text-align: center; font: 500 .74rem/1 var(--sans); letter-spacing: .22em; color: var(--ink-2); }
@media (max-width: 700px) {
	.aps-lb__stage { padding: calc(4.4rem + env(safe-area-inset-top)) .6rem calc(4.6rem + env(safe-area-inset-bottom)); }
	.aps-lb__prev, .aps-lb__next { top: auto; bottom: calc(.6rem + env(safe-area-inset-bottom)); transform: none; }
	.aps-lb__count { bottom: calc(1.6rem + env(safe-area-inset-bottom)); }
}

/* sticky WhatsApp bar (phones) — unchanged */
.aps-stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: .8rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: var(--royal); border-top: 1px solid var(--line-gold); color: var(--paper); transform: translateY(110%); transition: transform .6s var(--ease); }
.aps-stickybuy.is-on { transform: none; }
.aps-stickybuy__info { flex: 1; min-width: 0; display: grid; gap: .15rem; }
.aps-stickybuy__name { font: 400 .92rem/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(248, 243, 234, .85); }
.aps-stickybuy__info strong { font: 600 1rem/1 var(--sans); color: var(--gold-2); }
.aps-btn--wa-solid { background: linear-gradient(135deg, #E2C487, #C29A50 55%, #A9843F); color: var(--royal); border: 0; min-height: 2.9rem; padding: 0 1.1rem; font-weight: 600; letter-spacing: .14em; }
.aps-btn--wa-solid::before { background: var(--paper); }
/* desktop: the bar stays, as a slim centred strip (see "Raya pass" block below) */

/* ---------- footer: deep maroon-black ---------- */
.aps-footer { background: var(--footer); color: rgba(251, 248, 242, .8); }
.aps-footer__loom { height: 8px; background: repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 9px), var(--maroon); opacity: 1; }
.aps-footer__lead, .aps-footer__base { border-color: rgba(200, 150, 62, .22); }
.aps-footer__h { color: var(--gold); }
.aps-footer__logo { width: 170px; filter: none; }
.aps-footer__line { color: var(--ivory); }
.aps-footer__est { margin: .9rem 0 0; font: 500 .68rem/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.aps-footer__est i { font-style: normal; padding-inline: .3em; color: var(--gold); }
.aps-footer li a:hover, .aps-footer__base a:hover { color: var(--gold-2); }
.aps-footer__mark { -webkit-text-stroke-color: rgba(200, 150, 62, .3); }

/* ---------- story page ---------- */
.aps-story__hero::after { background: linear-gradient(0deg, rgba(70, 20, 31, .82), rgba(70, 20, 31, 0) 62%); }
.aps-story__title .aps-kicker { color: var(--gold-2); }
.aps-story__title .aps-kicker::before { background: var(--gold); }
.aps-prose blockquote { border-left-color: var(--gold); }
.aps-prose a { color: var(--maroon); }

@media (max-width: 959px) {
	.aps-header__row { height: 68px; }
	.aps-wordmark__mark { height: 40px; }
	.aps-wordmark__word { width: 132px; }
	.aps-hero { height: calc(100vh - 98px); height: calc(100svh - 98px); min-height: 520px; }
	.aps-hero::after { background: linear-gradient(0deg, rgba(70, 20, 31, .9) 0%, rgba(70, 20, 31, .5) 45%, rgba(70, 20, 31, .12) 100%); }
	.aps-hero__toggle { top: 1rem; bottom: auto; }
	.aps-hero__est { font-size: .66rem; letter-spacing: .2em; }
	.aps-prices__grid strong { font-size: .9rem; }
	.aps-fabric__img, .aps-occ__img { padding: 4px; }
	.aps-fabric__count { font-size: .56rem; letter-spacing: .12em; }
	body.single-product { padding-bottom: 4.6rem; }
}
@media (max-width: 600px) {
	.aps-fabrics__grid { gap: .5rem; }
	.aps-fabric { padding: .4rem .4rem .8rem; }
	.aps-fabric__name { font-size: .98rem; }
	.aps-occ__name { font-size: 1.05rem; }
}

/* ---------- consent box, enquiry error, cookie banner (unchanged) ---------- */
.aps-consent { margin: .4rem 0 1rem; }
.aps-consent label { display: flex !important; gap: .7rem; align-items: flex-start; font: 400 .88rem/1.5 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink-2) !important; cursor: pointer; }
.aps-consent input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--royal); flex: none; }
.aps-consent a { color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }
.aps-enquiry__err { padding: .9rem 1.1rem; background: #F6E3DE; border-left: 2px solid var(--kumkum); color: var(--ink); }
.aps-cookie { position: fixed; z-index: 95; left: max(1rem, env(safe-area-inset-left)); right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); max-width: 34rem; margin-inline: auto; background: var(--royal); color: var(--paper); border: 1px solid var(--line-gold); padding: 1.2rem 1.3rem; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.aps-cookie p { margin: 0 0 1rem; font-size: .88rem; line-height: 1.55; color: rgba(248, 243, 234, .85); }
.aps-cookie a { color: var(--gold-2); text-decoration: underline; }
.aps-cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.aps-cookie .aps-btn { min-height: 2.8rem; padding: 0 1rem; }
.aps-cookie .aps-btn--outline { color: var(--paper); border-color: var(--line-gold); }
.aps-cookie .aps-btn--solid { background: var(--gold); color: var(--royal); border-color: var(--gold); }
.single-product .aps-cookie { bottom: calc(5.4rem + env(safe-area-inset-bottom)); }

/* announce line sits inside the header */
.aps-header .aps-announce { border-bottom: 0; }
@media (max-width: 600px) {
	.aps-announce p { font-size: .6rem; letter-spacing: .16em; padding-block: .52rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* contact list never wider than the phone; card kicker shows only the type on phones */
.aps-contact, .aps-contact__text { min-width: 0; }
.aps-contact__list a, .aps-contact__list p { overflow-wrap: anywhere; }
@media (max-width: 600px) {
	.aps-contact__list li { grid-template-columns: 1fr; gap: .25rem; }
	.aps-contact__list a, .aps-contact__list p { font-size: 1.1rem; }
	.aps-wl-p { display: none; }
}

/* ---------- guides ---------- */
.aps-guide__hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: var(--paper); background: var(--maroon-2); overflow: hidden; }
.aps-guide__media { position: absolute; inset: 0; margin: 0; }
.aps-guide__media img { width: 100%; height: 100%; object-fit: cover; }
.aps-guide__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(70, 20, 31, .88), rgba(70, 20, 31, .15) 65%); }
.aps-guide__title { position: relative; z-index: 2; padding-block: 8rem clamp(2rem, 5vw, 3.5rem); max-width: 60rem; }
.aps-guide__title .aps-crumbs { color: var(--gold-2); }
.aps-guide__title .aps-h1 { color: var(--paper); font-size: clamp(2.1rem, 5vw, 4rem); }
.aps-guide__lede { margin: 1.2rem 0 0; font-size: 1.08rem; color: rgba(251, 248, 242, .88); max-width: 46rem; }
.aps-guide__meta { margin: 1rem 0 0; font: 500 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.aps-guide__layout { display: grid; gap: 2.4rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.aps-guide__toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-gold); }
.aps-guide__toc li { border-bottom: 1px solid var(--line); }
.aps-guide__toc a { display: block; padding: .7rem 0; font: 400 1rem/1.35 var(--serif); }
.aps-guide__toc a:hover { color: var(--gold-3); }
.aps-guide__body { max-width: 46rem; }
.aps-guide__body h2 { scroll-margin-top: 7rem; }
.aps-guide__body img { margin: 1.6rem 0; }
.aps-guide__cta { margin-top: 3rem; padding: 1.8rem; background: var(--champagne); border-left: 2px solid var(--gold); }
.aps-guide__cta p { margin: 0 0 1.2rem; color: var(--ink); }
@media (min-width: 1000px) {
	.aps-guide__layout { grid-template-columns: 16rem minmax(0, 46rem); justify-content: center; gap: 4.5rem; }
	.aps-guide__toc { position: sticky; top: 7.5rem; align-self: start; }
}
.aps-faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.aps-faq summary { cursor: pointer; font: 400 1.12rem/1.4 var(--serif); color: var(--ink); }
.aps-faq p { margin: .7rem 0 0; color: var(--ink-2); }
.aps-termcopy { max-width: 46rem; margin: 0 auto; padding: 1rem 0 clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line-gold); }
.aps-termcopy .aps-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.6rem 0 1rem; }
.aps-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.6rem; padding-bottom: clamp(4rem, 8vw, 6rem); }
.aps-guidecard { display: grid; align-content: start; gap: .7rem; background: #FFFFFF; border: 1px solid var(--line-gold); padding: .7rem .7rem 1.3rem; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.aps-guidecard:hover { transform: translateY(-4px); box-shadow: var(--lift); }
.aps-guidecard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.aps-guidecard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.aps-guidecard:hover img { transform: scale(1.04); }
.aps-guidecard__t { font: 400 1.35rem/1.25 var(--serif); padding-inline: .3rem; }
.aps-guidecard__x { color: var(--ink-2); font-size: .92rem; padding-inline: .3rem; }

/* ---------- product promise under the price ---------- */
.aps-product__promise { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: -.6rem 0 1.4rem; font: 500 .74rem/1.3 var(--sans); color: var(--leaf); }
.aps-product__promise span::before { content: "✓ "; color: var(--gold-3); }

/* ---------- v3 QA fixes ---------- */
.aps-rail__track { scroll-padding-inline: var(--gutter); }
.aps-colours__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem .4rem; }
.aps-swatch { flex: 0 0 5.6rem; }
@media (min-width: 900px) {
	.aps-pgal__main { width: min(100%, calc((100vh - 8.5rem) * .8)); justify-self: start; }
	.aps-pgal__hint { justify-content: flex-start; }
}
.aps-page__head .aps-orn { justify-content: flex-start; }
@media (max-width: 600px) {
	.aps-colours__grid { gap: 1.2rem .3rem; }
	.aps-swatch { flex-basis: 4.1rem; gap: .45rem; }
	.aps-swatch__dot { width: 2.7rem; height: 2.7rem; box-shadow: 0 0 0 3px var(--emerald), 0 0 0 4.5px rgba(251, 248, 242, .9); }
	.aps-swatch__name { font-size: .86rem; }
}
/* lightbox: opaque ground, picture always fits the screen */
.aps-lb { background: var(--ivory); }
.aps-lb__stage { display: flex; align-items: center; justify-content: center; }
.aps-lb__stage img { max-width: 100%; max-height: calc(100vh - 8.5rem); max-height: calc(100dvh - 8.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
@media (max-width: 700px) { .aps-lb__stage img { max-height: calc(100vh - 9.6rem); max-height: calc(100dvh - 9.6rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); } }

/* ---------- Raya pass (30 Oct): wishlist, offer, tax line, desktop sticky bar, bag coupon ---------- */
.aps-wish { position: absolute; top: .6rem; right: .6rem; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 1px solid var(--line-gold); color: var(--maroon, #5C1B2B); cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.aps-wish:hover { transform: scale(1.08); }
.aps-wish.is-on { background: var(--maroon, #5C1B2B); color: #fff; border-color: var(--maroon, #5C1B2B); }
.aps-wish.is-on svg path { fill: currentColor; }
.aps-wish.is-pop { animation: aps-pop .4s var(--ease); }
@keyframes aps-pop { 50% { transform: scale(1.25); } }
.aps-wish--inline { position: static; flex: none; width: 44px; height: 44px; }
.aps-product__titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.aps-product__tax { margin: -1rem 0 .9rem; font: 400 .74rem/1.3 var(--sans); color: var(--ink-3); }
.aps-product__offer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: 0 0 1.2rem; padding: .6rem .85rem; background: #FBF1E3; border: 1px dashed var(--gold); font: 400 .9rem/1.3 var(--sans); color: var(--ink); }
.aps-product__offer span { font-weight: 600; color: var(--maroon, #5C1B2B); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.aps-product__offer strong { font: 600 1rem/1 var(--sans); }
.aps-product__offer code { font: 600 .82rem/1 var(--sans); letter-spacing: .1em; background: #fff; border: 1px solid var(--line-gold); padding: .3rem .45rem; }
.aps-header__wish { position: relative; }

.aps-wishlist { position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(420px, 100%); background: #fff; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35); display: flex; flex-direction: column; padding: 0 1.4rem calc(1.4rem + env(safe-area-inset-bottom)); }
.aps-wishlist__top { display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 1px solid var(--line-gold); }
.aps-wishlist__h { margin: 0; font: 400 1.4rem/1 var(--serif); }
.aps-wishlist__list { list-style: none; margin: 0; padding: .6rem 0; overflow-y: auto; flex: 1; }
.aps-wishlist__list li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.aps-wishlist__list a { display: flex; align-items: center; gap: .9rem; flex: 1; min-width: 0; }
.aps-wishlist__list img { width: 64px; height: 80px; object-fit: cover; background: #F6F0E6; flex: none; }
.aps-wishlist__list span { display: grid; gap: .3rem; min-width: 0; }
.aps-wishlist__list strong { font: 400 1rem/1.25 var(--serif); }
.aps-wishlist__list em { font: 600 .9rem/1 var(--sans); font-style: normal; }
.aps-wishlist__list button { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; font-size: 1.2rem; cursor: pointer; }
.aps-wishlist__empty { color: var(--ink-2); padding: 2rem 0; }

.aps-stickybuy__img { flex: none; width: 46px; height: 46px; overflow: hidden; border: 1px solid var(--line-gold); }
.aps-stickybuy__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
	.aps-stickybuy { left: 50%; right: auto; width: min(760px, calc(100% - 2rem)); bottom: 1rem; transform: translate(-50%, 140%); border: 1px solid var(--line-gold); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); }
	.aps-stickybuy.is-on { transform: translate(-50%, 0); }
}

/* bag: the coupon box is visible (the "update" button stays hidden — quantities are fixed at one) */
.woocommerce td.actions { display: table-cell !important; padding-top: 1.2rem; }
.woocommerce td.actions button[name="update_cart"] { display: none !important; }
.woocommerce .coupon { display: flex; gap: .5rem; flex-wrap: wrap; }
.woocommerce .coupon label { display: none; }
.woocommerce .coupon input.input-text { min-height: 3rem; padding: 0 .9rem; border: 1px solid var(--line-2); font: 500 .9rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* Terms line above the order button (31 Oct) */
.aps-terms-line { margin: .2rem 0 1rem; font: 400 .82rem/1.55 var(--sans); color: var(--ink-2); }
.aps-terms-line a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* City links in the footer (1 Nov) */
.aps-footer__cities { margin: 2rem 0 0; font: 400 .82rem/1.9 var(--sans); color: rgba(255,255,255,.62); }
.aps-footer__cities a { color: rgba(255,255,255,.85); text-decoration: none; }
.aps-footer__cities a:hover { color: var(--gold-2); }
.aps-footer__cities span { color: var(--gold-2); }

/* Tissue rail on home (1 Nov) */
.aps-rail--tissue { background: var(--champagne, #F2E8D6); }
.aps-rail__ctl { display: flex; align-items: center; gap: .6rem; }
.aps-rail__btn { width: 2.75rem; height: 2.75rem; border: 1px solid var(--gold, #C8963E); border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.aps-rail__btn[data-rail-prev] svg { transform: rotate(180deg); }
.aps-rail__btn:hover { background: var(--gold, #C8963E); color: #fff; }
.aps-rail__ctl .aps-link { margin-left: .6rem; }
@media (max-width: 700px) { .aps-rail__btn { display: none; } }

/* Price line with flat offer (1 Nov): struck price, selling price, "₹500 off" — plain sans */
.aps-price { font-family: var(--sans); display: inline-flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: .15rem .5rem; }
.aps-price del { color: #8f8578; font-weight: 400; font-size: .82em; text-decoration-thickness: 1px; }
.aps-price ins { text-decoration: none; }
.aps-price__off { font-style: normal; font-weight: 600; font-size: .62em; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon, #5C1B2B); background: #F4E4DC; padding: .3em .55em; border-radius: 2px; }
.aps-product__price .aps-price { justify-content: flex-start; }
