/* =====================================================================
   Adulttoysindia storefront v2
   Plum ink + brand rose, Bricolage Grotesque headings, Figtree body.
   Every class is prefixed .al- so it can live next to the old theme CSS.
   ===================================================================== */
:root {
  --al-ink: #2B1630;
  --al-ink-2: #4A3150;
  --al-rose: #E5194F;
  --al-rose-dk: #B8103C;
  --al-blush: #FDF1F4;
  --al-blush-2: #F8E3EA;
  --al-line: #EEDFE5;
  --al-mute: #6F5E72;
  --al-paper: #FFFFFF;
  --al-ok: #13795B;
  --al-warn: #A15C07;
  --al-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --al-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --al-r-sm: 8px;
  --al-r: 14px;
  --al-r-lg: 22px;
  --al-wrap: 1240px;
}

/* ---------- base for redesigned pages (body.al) ---------- */
body.al { margin: 0; background: var(--al-paper); color: var(--al-ink); font: 400 16px/1.6 var(--al-body); -webkit-font-smoothing: antialiased; }
body.al *, body.al *::before, body.al *::after { box-sizing: border-box; }
body.al img { max-width: 100%; height: auto; display: block; }
body.al a { color: inherit; }
body.al h1, body.al h2, body.al h3 { font-family: var(--al-display); line-height: 1.15; margin: 0; color: var(--al-ink); }
body.al p { margin: 0; }
body.al-lock { overflow: hidden; }
.al-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.al-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--al-ink); color: #fff; padding: 8px 14px; border-radius: var(--al-r-sm); }
.al-skip:focus { left: 8px; }
.al-wrap { width: 100%; max-width: var(--al-wrap); margin: 0 auto; padding: 0 20px; }
:where(.al-header, .al-footer, .al-drawer, body.al) :focus-visible { outline: 3px solid var(--al-rose); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons & forms ---------- */
.al-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--al-ink); background: transparent; color: var(--al-ink); font: 600 15px/1 var(--al-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.al-btn:hover { background: var(--al-ink); color: #fff; }
.al-btn--primary { background: var(--al-rose); border-color: var(--al-rose); color: #fff; }
.al-btn--primary:hover { background: var(--al-rose-dk); border-color: var(--al-rose-dk); color: #fff; }
.al-btn--block { width: 100%; }
.al-btn[disabled] { opacity: .5; cursor: not-allowed; }
.al-field { display: grid; gap: 6px; }
.al-field label { font-size: 14px; font-weight: 600; color: var(--al-ink-2); }
.al-input, body.al input[type=text], body.al input[type=email], body.al input[type=number], body.al input[type=tel], body.al input[type=password], body.al select, body.al textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--al-line); border-radius: var(--al-r-sm); background: #fff; font: 400 16px/1.4 var(--al-body); color: var(--al-ink); }
body.al textarea { min-height: 110px; }
body.al input:focus, body.al select:focus, body.al textarea:focus { border-color: var(--al-ink-2); outline: none; box-shadow: 0 0 0 3px rgba(229, 25, 79, .15); }
.al-alert { padding: 12px 16px; border-radius: var(--al-r-sm); font-size: 15px; margin-bottom: 16px; }
.al-alert--err { background: #FDECEF; color: #8E0F31; }
.al-alert--ok { background: #E7F5EF; color: var(--al-ok); }

/* ---------- announcement + header ---------- */
.al-announce { background: var(--al-ink); color: #F6E7EC; font: 500 13px/1.4 var(--al-body); }
.al-announce .al-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.al-announce p { margin: 0; }
.al-announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.al-header { background: #fff; border-bottom: 1px solid var(--al-line); position: sticky; top: 0; z-index: 60; font-family: var(--al-body); }
.al-header a { text-decoration: none; }
.al-header__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.al-header .al-header__menu { display: none; }
.al-logo img { width: 188px; height: auto; display: block; }
.al-iconbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 8px; border: 0; background: none; color: var(--al-ink); font: 600 14px/1 var(--al-body); cursor: pointer; border-radius: 10px; }
.al-iconbtn:hover { background: var(--al-blush); }
.al-iconbtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.al-actions { display: flex; align-items: center; gap: 4px; }
.al-cart { position: relative; }
.al-cart__count { position: absolute; top: 2px; left: 22px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--al-rose); color: #fff; font: 700 11px/19px var(--al-body); text-align: center; }
.al-search { position: relative; display: flex; max-width: 620px; width: 100%; justify-self: center; }
.al-search input { flex: 1; min-height: 46px; padding: 0 48px 0 18px; border: 1.5px solid var(--al-line); border-radius: 999px; background: var(--al-blush); font: 400 15px/1 var(--al-body); color: var(--al-ink); }
.al-search input:focus { outline: none; border-color: var(--al-ink-2); background: #fff; }
.al-search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--al-ink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.al-search button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.al-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-r); box-shadow: 0 18px 40px rgba(43, 22, 48, .16); max-height: 420px; overflow: auto; z-index: 80; padding: 6px; }
.al-suggest__row a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--al-ink); font-size: 14px; }
.al-suggest__row a:hover { background: var(--al-blush); }
.al-suggest__row img { width: 44px !important; height: 44px; object-fit: contain; background: var(--al-blush); border-radius: 8px; }
.al-nav { border-top: 1px solid var(--al-line); }
.al-nav__list { list-style: none; display: flex; gap: 4px; margin: 0 auto; padding-top: 0; padding-bottom: 0; flex-wrap: wrap; }
.al-nav__item { position: relative; }
.al-nav__item > a { display: block; padding: 12px 12px; color: var(--al-ink); font: 600 14px/1.2 var(--al-body); border-bottom: 2px solid transparent; }
.al-nav__item > a:hover, .al-nav__item:focus-within > a { border-bottom-color: var(--al-rose); }
.al-nav__sub { position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border: 1px solid var(--al-line); border-radius: 0 0 var(--al-r) var(--al-r); box-shadow: 0 18px 40px rgba(43, 22, 48, .12); padding: 8px; visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 70; }
.al-nav__item:hover .al-nav__sub, .al-nav__item:focus-within .al-nav__sub { visibility: visible; opacity: 1; transform: none; }
.al-nav__sub ul { list-style: none; margin: 0; padding: 0; }
.al-nav__sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--al-ink-2); font-size: 14px; }
.al-nav__sub a:hover { background: var(--al-blush); color: var(--al-ink); }

/* drawer (mobile menu) */
.al-drawer { position: fixed; inset: 0; background: rgba(43, 22, 48, .55); z-index: 200; font-family: var(--al-body); }
.al-drawer[hidden] { display: none; }
.al-drawer__panel { width: min(360px, 88vw); height: 100%; background: #fff; overflow-y: auto; display: flex; flex-direction: column; }
.al-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--al-line); }
.al-drawer__head img { width: 150px; }
.al-drawer__list { list-style: none; margin: 0; padding: 8px 0; flex: 1; }
.al-drawer__list > li > a, .al-drawer__list summary { display: block; padding: 14px 20px; font: 600 16px/1.2 var(--al-body); color: var(--al-ink); text-decoration: none; cursor: pointer; list-style: none; }
.al-drawer__list summary::-webkit-details-marker { display: none; }
.al-drawer__list summary::after { content: "+"; float: right; color: var(--al-mute); }
.al-drawer__list details[open] summary::after { content: "–"; }
.al-drawer__list details ul { list-style: none; margin: 0; padding: 0 0 8px 20px; }
.al-drawer__list details a { display: block; padding: 9px 20px; color: var(--al-ink-2); font-size: 15px; text-decoration: none; }
.al-drawer__foot { border-top: 1px solid var(--al-line); padding: 12px 20px 24px; display: grid; gap: 4px; }
.al-drawer__foot a { padding: 8px 0; color: var(--al-ink); font-weight: 600; text-decoration: none; }

/* ---------- section heading & rails ---------- */
.al-section { padding: 44px 0; }
.al-section--tight { padding: 28px 0; }
.al-section--blush { background: var(--al-blush); }
.al-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.al-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.01em; }
.al-head p { color: var(--al-mute); margin-top: 6px; font-size: 15px; }
.al-head__nav { display: flex; gap: 8px; }
.al-roundbtn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--al-line); background: #fff; color: var(--al-ink); cursor: pointer; display: grid; place-items: center; }
.al-roundbtn:hover { border-color: var(--al-ink); }
.al-roundbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.al-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.al-rail::-webkit-scrollbar { display: none; }
.al-rail > * { scroll-snap-align: start; }
.al-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.al-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- product card ---------- */
.al-card { display: flex; flex-direction: column; background: #fff; min-width: 0; font-family: var(--al-body); }
.al-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-r); overflow: hidden; }
.al-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .35s ease; }
.al-card:hover .al-card__media img { transform: scale(1.04); }
.al-card__off { position: absolute; left: 10px; top: 10px; background: var(--al-ink); color: #fff; font: 700 12px/1 var(--al-body); padding: 6px 9px; border-radius: 999px; }
.al-card__oos { position: absolute; right: 10px; top: 10px; background: #fff; color: var(--al-ink); font: 600 12px/1 var(--al-body); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--al-line); }
.al-card__body { padding: 12px 2px 0; display: grid; gap: 6px; }
.al-card__title { font: 500 15px/1.35 var(--al-body) !important; color: var(--al-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.al-card__title a { text-decoration: none; color: inherit; }
.al-card__title a:hover { color: var(--al-rose-dk); }
.al-card__price { display: flex; align-items: baseline; gap: 8px; font-size: 16px; }
.al-card__price strong { font-weight: 700; color: var(--al-ink); }
.al-card__price del { color: var(--al-mute); font-size: 14px; }
.al-card__rating { font-size: 13px; color: var(--al-warn); font-weight: 600; }

/* ---------- home: hero ---------- */
.al-hero { position: relative; border-radius: var(--al-r-lg); overflow: hidden; background: var(--al-blush); margin-top: 20px; }
.al-hero__track { position: relative; aspect-ratio: 1400 / 400; }
.al-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.al-hero__slide.is-on { opacity: 1; visibility: visible; }
.al-hero__slide a, .al-hero__slide picture, .al-hero__slide img { display: block; width: 100%; height: 100%; }
.al-hero__slide img { object-fit: cover; }
.al-hero__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.al-hero__dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; background: rgba(255, 255, 255, .4); padding: 0; cursor: pointer; }
.al-hero__dot[aria-current=true] { background: #fff; width: 26px; border-radius: 6px; }
.al-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--al-ink); cursor: pointer; display: grid; place-items: center; }
.al-hero__arrow[data-dir=prev] { left: 14px; }
.al-hero__arrow[data-dir=next] { right: 14px; }
.al-hero__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- home: category tiles ---------- */
.al-cats { display: grid; grid-template-columns: repeat(11, minmax(88px, 1fr)); gap: 14px; overflow-x: auto; scrollbar-width: none; }
.al-cats::-webkit-scrollbar { display: none; }
.al-cat { display: grid; justify-items: center; gap: 10px; text-decoration: none; text-align: center; color: var(--al-ink); font: 600 13px/1.3 var(--al-body); }
.al-cat__icon { width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; background: var(--al-blush); transition: border-radius .2s, background .2s; }
.al-cat:hover .al-cat__icon { border-radius: 50%; background: var(--al-blush-2); }
.al-cat__icon img { width: 52px !important; height: 52px; object-fit: contain; }

/* ---------- home: brand strip ---------- */
.al-brands { background: var(--al-ink); overflow: hidden; padding: 18px 0; }
.al-brands__track { display: flex; gap: 56px; width: max-content; animation: al-marquee 32s linear infinite; }
.al-brands__track img { height: 24px !important; width: auto !important; filter: brightness(0) invert(1); opacity: .85; }
@keyframes al-marquee { to { transform: translateX(-50%); } }

/* ---------- home: price tiles ---------- */
.al-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.al-tiles a { display: block; border-radius: var(--al-r); overflow: hidden; }
.al-tiles img { width: 100%; height: auto; transition: transform .3s; }
.al-tiles a:hover img { transform: scale(1.03); }

/* ---------- promise band ---------- */
.al-promise { background: var(--al-blush); border-top: 1px solid var(--al-line); font-family: var(--al-body); }
.al-promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.al-promise__item { display: flex; gap: 14px; align-items: flex-start; }
.al-promise__item svg { flex: 0 0 44px; width: 44px; height: 44px; fill: none; stroke: var(--al-rose); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.al-promise__item h3 { font: 700 16px/1.3 var(--al-display); color: var(--al-ink); margin: 0 0 4px; }
.al-promise__item p { font-size: 14px; line-height: 1.5; color: var(--al-mute); margin: 0; }

/* ---------- footer ---------- */
.al-footer { background: var(--al-ink); color: #E9DCE2; font: 400 15px/1.6 var(--al-body); }
.al-footer a { color: #fff; text-decoration: none; }
.al-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.al-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.al-footer h2 { font: 700 16px/1.2 var(--al-display); color: #fff; margin: 0 0 14px; }
.al-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.al-footer p { margin: 0 0 10px; color: #D9C8D0; }
.al-footer__brand img { width: 170px; height: auto; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.al-footer__company { font-size: 13px; color: #BFA9B4 !important; }
.al-footer__h2-gap { margin-top: 22px !important; }
.al-footer__pay { font-size: 14px; }
.al-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; padding-bottom: 22px; font-size: 13px; }
.al-footer__bottom p { margin: 0; color: #BFA9B4; }
.al-wa { position: fixed; right: 18px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; z-index: 90; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.al-wa svg { width: 30px; height: 30px; fill: currentColor; }
.al-devpop { position: fixed; inset: 0; background: rgba(43, 22, 48, .6); display: grid; place-items: center; z-index: 300; padding: 16px; font-family: var(--al-body); }
.al-devpop[hidden] { display: none; }
.al-devpop__box { position: relative; background: #fff; max-width: 420px; width: 100%; border-radius: var(--al-r-lg); padding: 32px 26px 26px; text-align: center; }
.al-devpop__box h3 { font: 700 22px/1.2 var(--al-display); color: var(--al-ink); margin: 0 0 8px; }
.al-devpop__box p { color: var(--al-mute); margin: 0; }
.al-devpop__close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; color: var(--al-mute); cursor: pointer; border-radius: 50%; }
.al-devpop__close:hover { background: var(--al-blush); color: var(--al-ink); }

/* ---------- breadcrumb + page head ---------- */
.al-crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 18px 0 0; font-size: 13px; color: var(--al-mute); }
.al-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--al-line); }
.al-crumbs a { color: var(--al-mute); text-decoration: none; }
.al-crumbs a:hover { color: var(--al-ink); }
.al-pagehead { padding: 18px 0 8px; }
.al-pagehead h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.015em; }
.al-pagehead p { color: var(--al-mute); margin-top: 8px; max-width: 68ch; }
.al-pagehead--img { position: relative; border-radius: var(--al-r-lg); overflow: hidden; background: var(--al-blush) center/cover no-repeat; padding: 48px 32px; margin-top: 14px; }
.al-pagehead--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .7) 55%, rgba(255, 255, 255, .2) 100%); }
.al-pagehead--img > * { position: relative; }
.al-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.al-chip { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--al-line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--al-ink-2); text-decoration: none; background: #fff; }
.al-chip:hover, .al-chip[aria-current=page] { border-color: var(--al-ink); color: var(--al-ink); }

/* ---------- listing (category / sub-category / search) ---------- */
.al-listing { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding: 26px 0 50px; }
.al-filters { position: sticky; top: 140px; align-self: start; border: 1px solid var(--al-line); border-radius: var(--al-r); padding: 18px; }
.al-filters h2 { font: 700 17px/1.2 var(--al-display); margin-bottom: 14px; }
.al-filters form { display: grid; gap: 12px; }
.al-filters .al-pr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.al-filters .al-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.al-filters .al-quick a { font-size: 13px; padding: 6px 10px; border-radius: 999px; background: var(--al-blush); color: var(--al-ink-2); text-decoration: none; }
.al-filters .al-quick a:hover { background: var(--al-blush-2); }
.al-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.al-toolbar p { color: var(--al-mute); font-size: 14px; }
.al-toolbar select { width: auto !important; min-height: 42px !important; }
.al-empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--al-line); border-radius: var(--al-r); }
.al-empty h2 { font-size: 22px; margin-bottom: 8px; }
.al-empty p { color: var(--al-mute); margin-bottom: 18px; }

/* ---------- long-form SEO text ---------- */
.al-prose { max-width: 78ch; color: var(--al-ink-2); font-size: 16px; line-height: 1.75; }
.al-prose h1, .al-prose h2 { font: 700 26px/1.25 var(--al-display) !important; color: var(--al-ink) !important; margin: 28px 0 10px !important; text-transform: none !important; text-align: left !important; }
.al-prose h3, .al-prose h4 { font: 700 19px/1.3 var(--al-display) !important; color: var(--al-ink) !important; margin: 20px 0 6px !important; text-transform: none !important; text-align: left !important; }
.al-prose p { margin: 0 0 14px; text-align: left !important; }
.al-prose a { color: var(--al-rose-dk); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.al-prose ul, .al-prose ol { padding-left: 22px; margin: 0 0 14px; }
.al-prose table { border-collapse: collapse; width: 100%; margin: 0 0 14px; }
.al-prose td, .al-prose th { border: 1px solid var(--al-line); padding: 8px 10px; text-align: left; }
.al-more[hidden] { display: none; }
.al-readmore { margin-top: 8px; }
.al-faq { max-width: 860px; }
.al-faq details { border-bottom: 1px solid var(--al-line); }
.al-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 600 17px/1.4 var(--al-body); color: var(--al-ink); }
.al-faq summary::-webkit-details-marker { display: none; }
.al-faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 24px; color: var(--al-rose); }
.al-faq details[open] summary::after { content: "–"; }
.al-faq details p { padding: 0 0 18px; color: var(--al-mute); }

/* ---------- product page ---------- */
.al-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; padding: 26px 0 40px; }
.al-gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "thumbs main"; gap: 14px; align-self: start; position: sticky; top: 140px; }
.al-gallery__main { grid-area: main; }
.al-gallery__thumbs { grid-area: thumbs; }
.al-gallery__main { min-width: 0; position: relative; background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-r-lg); aspect-ratio: 1 / 1; overflow: hidden; }
.al-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.al-gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.al-gallery__thumbs button { padding: 0; border: 2px solid var(--al-line); border-radius: 12px; background: #fff; aspect-ratio: 1 / 1; cursor: pointer; overflow: hidden; }
.al-gallery__thumbs button[aria-current=true] { border-color: var(--al-ink); }
.al-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.al-buy h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; letter-spacing: -.015em; }
.al-buy__meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 12px 0 0; font-size: 14px; color: var(--al-mute); }
.al-buy__meta b { color: var(--al-ink); font-weight: 600; }
.al-buy__rating { color: var(--al-warn); font-weight: 700; text-decoration: none; }
.al-buy__price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; flex-wrap: wrap; }
.al-buy__price strong { font: 700 36px/1 var(--al-display); color: var(--al-ink); }
.al-buy__price del { color: var(--al-mute); font-size: 18px; }
.al-buy__price .al-save { background: #E7F5EF; color: var(--al-ok); font-weight: 700; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.al-buy__tax { font-size: 13px; color: var(--al-mute); }
.al-stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; margin-top: 14px; }
.al-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--al-ok); }
.al-stock--out { color: #8E0F31; }
.al-stock--out::before { background: #8E0F31; }
.al-payopts { display: grid; gap: 10px; margin: 22px 0; }
.al-payopt { border: 1.5px solid var(--al-line); border-radius: var(--al-r); padding: 14px 16px; display: grid; gap: 2px; }
.al-payopt b { font-size: 15px; }
.al-payopt span { font-size: 14px; color: var(--al-mute); }
.al-qtyrow { display: flex; gap: 12px; align-items: stretch; margin: 6px 0 14px; }
.al-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--al-line); border-radius: 999px; overflow: hidden; }
.al-qty button { width: 44px; height: 46px; border: 0; background: #fff; font-size: 20px; cursor: pointer; color: var(--al-ink); }
.al-qty input { width: 46px !important; min-height: 46px !important; border: 0 !important; text-align: center; padding: 0 !important; font-weight: 700 !important; }
.al-qtyrow .al-btn { flex: 1; }
.al-pin { display: flex; gap: 8px; margin-top: 18px; }
.al-pin input { max-width: 200px; }
.al-pin__res { font-size: 14px; margin-top: 8px; }
.al-perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--al-ink-2); }
.al-perks li { display: flex; gap: 10px; }
.al-perks li::before { content: "✓"; color: var(--al-ok); font-weight: 700; }
.al-details { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--al-line); }
.al-details h2 { font-size: 24px; margin-bottom: 14px; }
.al-spec { color: var(--al-ink-2); font-size: 15px; line-height: 1.8; }
.al-spec table { width: 100%; border-collapse: collapse; }
.al-spec td, .al-spec th { border-bottom: 1px solid var(--al-line); padding: 8px 4px; text-align: left; vertical-align: top; }

/* reviews (product_reviews.php) */
.al-reviews { display: grid; grid-template-columns: 340px 1fr; gap: 36px; padding: 36px 0; border-top: 1px solid var(--al-line); }
.al-reviews h2 { font-size: 24px; margin-bottom: 12px; }
.al-reviews form { display: grid; gap: 10px; }
.al-reviews__score { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.al-reviews__score strong { font: 700 44px/1 var(--al-display); }
.al-reviews__list { display: grid; gap: 14px; }
.al-review { border: 1px solid var(--al-line); border-radius: var(--al-r); padding: 16px 18px; }
.al-review__top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--al-mute); }
.al-review__top b { color: var(--al-ink); }
.al-review__stars { color: var(--al-warn); letter-spacing: 2px; }
.al-review p { margin-top: 8px; color: var(--al-ink-2); }

/* ---------- payment pages & QR ---------- */
.al-qr { text-align: center; border: 1.5px solid var(--al-line); border-radius: var(--al-r-lg); padding: 22px 18px; background: #fff; max-width: 360px; margin: 0 auto; font-family: var(--al-body); }
.al-qr__title { font-weight: 700; color: var(--al-ink); margin: 0; }
.al-qr__amount { font: 700 32px/1.1 var(--al-display); color: var(--al-ink); margin: 6px 0 12px; }
.al-qr__code { width: 220px; height: 220px; margin: 0 auto; background: #fff; }
.al-qr__code svg { width: 100%; height: 100%; display: block; }
.al-qr__meta { font-size: 14px; color: var(--al-mute); margin: 12px 0; line-height: 1.5; }
.al-qr__meta span { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.al-qr__app { width: 100%; }
.al-qr__hint { font-size: 12px; color: var(--al-mute); margin: 10px 0 0; }
.al-qr--missing p { color: var(--al-mute); margin: 0; }
.al-thanks { max-width: 980px; margin: 0 auto; padding: 36px 20px 60px; display: grid; grid-template-columns: 1fr 380px; gap: 36px; }
.al-thanks h1 { font-size: clamp(28px, 4vw, 40px); }
.al-thanks__lead { color: var(--al-mute); margin: 10px 0 20px; font-size: 17px; }
.al-summary { border: 1px solid var(--al-line); border-radius: var(--al-r); padding: 18px; }
.al-summary h2 { font-size: 18px; margin-bottom: 12px; }
.al-summary__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--al-line); font-size: 14px; }
.al-summary__item img { width: 56px; height: 56px; object-fit: contain; background: var(--al-blush); border-radius: 10px; }
.al-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 14px 0 0; font-size: 15px; }
.al-summary dt { color: var(--al-mute); }
.al-summary dd { margin: 0; text-align: right; font-weight: 600; }
.al-summary .al-total { font-size: 18px; color: var(--al-ink); font-weight: 700; border-top: 1px solid var(--al-line); padding-top: 10px; }
.al-steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.al-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--al-ink-2); }
.al-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--al-ink); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }

/* checkout payment choice */
.al-paychoice { display: grid; gap: 12px; margin: 14px 0; }
.al-paychoice label { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; border: 1.5px solid var(--al-line); border-radius: var(--al-r); padding: 16px; cursor: pointer; background: #fff; }
.al-paychoice label:has(input:checked) { border-color: var(--al-ink); box-shadow: 0 0 0 3px rgba(43, 22, 48, .08); }
.al-paychoice input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--al-rose); }
.al-paychoice b { display: block; font-size: 16px; color: var(--al-ink); }
.al-paychoice small { display: block; color: var(--al-mute); font-size: 14px; margin-top: 2px; line-height: 1.45; }
.al-paychoice .al-amt { font: 700 18px/1.2 var(--al-display); color: var(--al-ink); white-space: nowrap; }
.al-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #E7F5EF; color: var(--al-ok); margin-left: 6px; vertical-align: middle; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .al-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .al-rail { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
  .al-footer__grid { grid-template-columns: 1fr 1fr; }
  .al-promise__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .al-header__bar { grid-template-columns: auto 1fr auto; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .al-header .al-header__menu { display: inline-flex; }
  .al-logo img { width: 148px; }
  .al-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .al-actions span { display: none; }
  .al-actions__track { display: none !important; }
  .al-nav { display: none; }
  .al-listing { grid-template-columns: 1fr; gap: 16px; }
  .al-filters { position: static; }
  .al-product { grid-template-columns: 1fr; gap: 26px; }
  .al-gallery { position: static; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "thumbs"; }
  .al-gallery__thumbs { grid-template-columns: repeat(5, 1fr); }
  .al-details, .al-reviews, .al-thanks { grid-template-columns: 1fr; }
  .al-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .al-wrap { padding: 0 16px; }
  .al-announce .al-wrap { flex-direction: column; gap: 2px; }
  .al-grid, .al-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .al-rail { grid-auto-columns: calc((100% - 12px) / 2.15); gap: 12px; }
  .al-section { padding: 32px 0; }
  .al-head__nav { display: none; }
  .al-hero { border-radius: var(--al-r); margin-top: 12px; }
  .al-hero__track { aspect-ratio: 1400 / 400; }
  .al-hero__arrow { display: none; }
  .al-cats { grid-template-columns: repeat(11, 78px); gap: 10px; }
  .al-cat__icon { width: 70px; height: 70px; border-radius: 22px; }
  .al-cat__icon img { width: 44px !important; height: 44px; }
  .al-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .al-promise__grid { grid-template-columns: 1fr; gap: 18px; }
  .al-card__title { font-size: 14px !important; }
  .al-buy__price strong { font-size: 30px; }
  .al-wa { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .al-brands__track { animation: none; }
  .al-hero__slide, .al-card__media img, .al-nav__sub { transition: none; }
}
.al-cart > span { margin-left: 8px; }
@media (max-width: 640px) { .al-formgrid { grid-template-columns: 1fr !important; } }

/* ---------- older pages (login, account, policies) - harmonise with v2 ---------- */
.al-announce p, .al-announce a { color: #F6E7EC !important; font-size: 13px !important; margin: 0 !important; }
.al-announce a { color: #fff !important; }
.al-footer p { color: #D9C8D0 !important; font-size: 15px !important; }
.al-footer__bottom p, .al-footer__company { color: #BFA9B4 !important; font-size: 13px !important; }
.al-footer h2, .al-promise h3 { text-transform: none !important; letter-spacing: 0 !important; }
.al-promise p { color: var(--al-mute) !important; font-size: 14px !important; }
body:not(.al) { font-family: var(--al-body) !important; color: var(--al-ink); }
body:not(.al) h1, body:not(.al) h2, body:not(.al) h3, body:not(.al) h4 { font-family: var(--al-display); color: var(--al-ink); }
body:not(.al) .page-title-area { background: var(--al-blush) !important; background-image: none !important; padding: 34px 0 24px !important; min-height: 0 !important; }
body:not(.al) .page-title-area::before, body:not(.al) .page-title-area::after { display: none !important; }
body:not(.al) .page-title-content { text-align: left !important; }
body:not(.al) .page-title-content h1, body:not(.al) .page-title-content .head, body:not(.al) .page-title-content h2 { font: 700 clamp(26px, 4vw, 40px)/1.15 var(--al-display) !important; color: var(--al-ink) !important; text-transform: none !important; margin: 0 0 8px !important; }
body:not(.al) .page-title-content ul { justify-content: flex-start !important; background: transparent !important; padding: 0 !important; margin: 0 !important; }
body:not(.al) .page-title-content ul li, body:not(.al) .page-title-content ul li a { color: var(--al-mute) !important; font-size: 14px !important; }
body:not(.al) .default-btn, body:not(.al) .buynowbtn { background: var(--al-rose) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 12px 24px !important; height: auto !important; line-height: 1.2 !important; font: 600 15px/1.2 var(--al-body) !important; box-shadow: none !important; }
body:not(.al) .default-btn:hover, body:not(.al) .buynowbtn:hover { background: var(--al-rose-dk) !important; }
body:not(.al) .form-control, body:not(.al) .unicase-form-control { border: 1.5px solid var(--al-line) !important; border-radius: var(--al-r-sm) !important; min-height: 46px; font-size: 16px; box-shadow: none !important; }
body:not(.al) .form-control:focus { border-color: var(--al-ink-2) !important; }
body:not(.al) a { color: var(--al-rose-dk); }
body:not(.al) .al-header a, body:not(.al) .al-drawer a { color: var(--al-ink); }
body:not(.al) .al-footer a { color: #fff; }
@media (max-width: 640px) {
  .al-announce a { display: none; }
  .al-announce p { font-size: 12px !important; line-height: 1.35 !important; }
}

/* Home: H1 intro and collapsible long article (text stays in the page for search engines) */
.al-intro { padding: 22px 0 4px; }
.al-intro h1 { font: 700 clamp(22px, 3.2vw, 32px)/1.2 var(--al-display); color: var(--al-ink); margin: 0 0 6px; letter-spacing: -0.01em; }
.al-intro p { margin: 0; color: var(--al-ink-2); max-width: 80ch; font-size: 15px; }
.al-clamp { max-height: 640px; overflow: hidden; position: relative; }
.al-clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255,255,255,0), var(--al-paper)); pointer-events: none; }
.al-clamp.is-open { max-height: none; }
.al-clamp.is-open::after { display: none; }
.al-prose ul li { margin-bottom: 6px; }
body.al .al-prose p { margin: 0 0 14px; }
body.al .al-prose ul { margin: 0 0 16px; }

/* Footer: original Adultlush layout, current colours */
.al-ft { background: var(--al-blush); color: var(--al-ink-2); border-top: 1px solid var(--al-line); padding: 34px 0 0; font: 400 14px/1.6 var(--al-body); }
.al-ft__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.al-ft h3 { font: 700 16px/1.25 var(--al-display) !important; color: var(--al-ink) !important; margin: 0 0 12px !important; text-transform: none !important; letter-spacing: 0 !important; }
.al-ft ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.al-ft li { margin: 0 0 7px !important; font-size: 14px; }
.al-ft p { margin: 0 0 8px !important; font-size: 14px !important; line-height: 1.6; color: var(--al-ink-2) !important; }
.al-ft a { color: var(--al-ink-2) !important; text-decoration: none !important; }
.al-ft a:hover { color: var(--al-rose) !important; }
.al-ft__company { font-weight: 700; color: var(--al-ink) !important; }
.al-ft__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.al-ft a.al-ft__btn { font-size: 13px; font-weight: 600; padding: 7px 12px; background: #fff; color: var(--al-rose) !important; border: 1px solid var(--al-rose); border-radius: 8px; }
.al-ft a.al-ft__btn:hover { background: var(--al-rose); color: #fff !important; }
.al-ft__news input { width: 100%; padding: 10px 12px; border: 1px solid var(--al-line); border-radius: 8px; margin: 6px 0; font: inherit; background: #fff; color: var(--al-ink); box-sizing: border-box; }
.al-ft__news input:focus { outline: 2px solid var(--al-rose); outline-offset: 1px; }
.al-ft__news button { width: 100%; padding: 10px; background: var(--al-rose); color: #fff; border: 0; border-radius: 8px; font: 600 14px var(--al-body); cursor: pointer; }
.al-ft__news button:hover { background: var(--al-rose-dk, #C3123F); }
.al-ft__news button:disabled { opacity: .6; }
.al-ft__msg { margin: 6px 0 0 !important; font-size: 13px !important; font-weight: 600; color: var(--al-ink) !important; min-height: 1em; }
.al-ft__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.al-ft__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.al-ft__pay img { width: 60px; height: auto; border-radius: 6px; border: 1px solid var(--al-line); background: #fff; display: block; }
.al-ft__paynote { margin-top: 10px !important; font-size: 13px !important; }
.al-ft__bottom { text-align: center; font-size: 13px; color: var(--al-mute, #7A6080); border-top: 1px solid var(--al-line); padding: 14px 0 18px; margin-top: 26px; }
@media (max-width: 767px) { .al-ft__grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; } .al-ft { padding-top: 28px; } }
@media (max-width: 360px) { .al-ft__grid { grid-template-columns: 1fr; } }

/* Logo option 3 */
.al-logo img { width: 200px !important; }
@media (max-width: 640px) { .al-logo img { width: 156px !important; } }
.al-ft a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ===== Slightly smaller type: home, category and product pages ===== */
body.al { font-size: 15px; }
.al-head h2 { font-size: clamp(20px, 2.4vw, 27px) !important; }
.al-head p { font-size: 14px !important; margin-top: 4px; }
.al-cat { font-size: 12px !important; }
.al-card__title { font-size: 14px !important; }
.al-card__price { font-size: 15px; }
.al-card__price del { font-size: 13px; }
.al-chip { font-size: 13px !important; padding: 7px 12px; }
.al-prose { font-size: 15px !important; line-height: 1.7 !important; }
.al-prose h1, .al-prose h2 { font-size: 22px !important; }
.al-prose h3, .al-prose h4 { font-size: 17px !important; }
.al-faq summary { font-size: 15.5px !important; padding: 15px 36px 15px 0 !important; }
.al-faq p { font-size: 14.5px !important; }
.al-pagehead h1 { font-size: clamp(22px, 2.3vw, 30px) !important; }
.al-pagehead p { font-size: 15px !important; }
.al-filters h2 { font-size: 16px !important; }
.al-toolbar p { font-size: 13px !important; }
.al-buy h1 { font-size: clamp(22px, 2.5vw, 30px) !important; }
.al-buy__price strong { font-size: 30px !important; }
.al-buy__price del { font-size: 16px !important; }
.al-payopt b { font-size: 14px !important; }
.al-payopt span, .al-perks, .al-buy__meta { font-size: 13px !important; }
.al-details h2, .al-reviews h2 { font-size: 21px !important; }
.al-spec { font-size: 14.5px !important; }
.al-reviews__score strong { font-size: 38px !important; }
@media (max-width: 640px) {
  body.al { font-size: 14.5px; }
  .al-head h2 { font-size: 20px !important; }
  .al-prose h1, .al-prose h2 { font-size: 20px !important; }
  .al-prose h3, .al-prose h4 { font-size: 16px !important; }
  .al-card__title { font-size: 13px !important; }
  .al-pagehead h1 { font-size: 23px !important; }
  .al-buy h1 { font-size: 21px !important; }
  .al-buy__price strong { font-size: 26px !important; }
  .al-faq summary { font-size: 15px !important; }
}