/*
 * ELFER storefront finishing layer.
 * Loaded after the original TORBAT styles so its structure and visual identity stay intact.
 */
:root {
    --elfer-polish-gold: #d8ad6a;
    --elfer-polish-cream: #f8ead1;
    --elfer-polish-line: rgba(216, 173, 106, .2);
    --elfer-polish-glow: rgba(216, 173, 106, .16);
}

.lux-action-btn,
.lux-mobile-btn,
#back-to-top {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.lux-action-btn::before,
.lux-mobile-btn::before,
#back-to-top::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 15%, rgba(255, 240, 204, .2), transparent 52%);
    opacity: 0;
    transform: scale(.72);
    transition: opacity .25s ease, transform .25s ease;
}

.lux-action-btn:hover::before,
.lux-mobile-btn:hover::before,
#back-to-top:hover::before {
    opacity: 1;
    transform: scale(1);
}

.lux-action-btn:hover,
.lux-mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(0, 0, 0, .3), 0 0 0 3px rgba(216, 173, 106, .06);
}

.lux-action-btn .bi,
.lux-mobile-btn .bi {
    filter: drop-shadow(0 3px 8px rgba(216, 173, 106, .25));
}

/* Real scent photography and richer note tiles */
.mpage-pd-note-media,
.pd-nosetime .pd-note-tile-media,
.pd-note-media,
.pd-note-mini-media {
    position: relative;
    isolation: isolate;
    background: #16130f;
}

.mpage-pd-note-media::after,
.pd-nosetime .pd-note-tile-media::after,
.pd-note-media::after,
.pd-note-mini-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255,255,255,.09), transparent 38%),
        linear-gradient(0deg, rgba(8,7,5,.18), transparent 50%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.mpage-pd-note-media img,
.pd-nosetime .pd-note-tile-media img,
.pd-note-media img,
.pd-note-mini-media img {
    transition: transform .5s cubic-bezier(.2,.75,.2,1), filter .35s ease;
    filter: saturate(.96) contrast(1.04);
}

.mpage-pd-note-tile:active .mpage-pd-note-media img,
.pd-nosetime .pd-note-tile:hover .pd-note-tile-media img,
.pd-note-item:hover .pd-note-media img,
.pd-note-mini:hover .pd-note-mini-media img {
    transform: scale(1.07);
    filter: saturate(1.08) contrast(1.05);
}

body.has-mnative .mpage-pd-notes {
    position: relative;
    margin-inline: 10px;
    border: 1px solid rgba(216, 173, 106, .1);
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 0, rgba(216,173,106,.08), transparent 34%),
        linear-gradient(155deg, rgba(255,255,255,.025), rgba(255,255,255,.006));
}

body.has-mnative .mpage-pd-notes-grid {
    gap: 12px 8px;
}

body.has-mnative .mpage-pd-note-media {
    border-radius: 16px;
    border-color: rgba(216, 173, 106, .22);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
}

body.has-mnative .mpage-pd-note-label {
    color: rgba(255, 244, 226, .94);
    font-weight: 600;
}

body.has-mnative .mpage-pd-note-strength {
    display: inline-flex;
    margin-top: 4px;
    padding: 1px 7px;
    border: 1px solid rgba(216,173,106,.12);
    border-radius: 999px;
    background: rgba(216,173,106,.07);
}

/* Homepage fragrance families: individual imagery, icons, glow and depth */
.home-note-category-grid {
    gap: 16px !important;
}

.home-note-category {
    min-height: 154px !important;
    padding: 20px !important;
    border-radius: 22px !important;
    overflow: hidden;
    background-color: #0d0c0a !important;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.055);
    transition: transform .35s cubic-bezier(.2,.75,.2,1), border-color .3s ease, box-shadow .3s ease !important;
}

.home-note-category--0 { background-image: linear-gradient(105deg, rgba(7,7,6,.96), rgba(7,7,6,.64)), url("../images/notes/floral-rose.jpg") !important; }
.home-note-category--1 { background-image: linear-gradient(105deg, rgba(7,7,6,.96), rgba(7,7,6,.64)), url("../images/notes/wood-sandalwood.jpg") !important; }
.home-note-category--2 { background-image: linear-gradient(105deg, rgba(7,7,6,.96), rgba(7,7,6,.64)), url("../images/notes/other-vanilla.jpg") !important; }
.home-note-category--3 { background-image: linear-gradient(105deg, rgba(7,7,6,.96), rgba(7,7,6,.64)), url("../images/notes/citrus-bergamot.jpg") !important; }
.home-note-category--4 { background-image: linear-gradient(105deg, rgba(7,7,6,.96), rgba(7,7,6,.64)), url("../images/notes/other-sea-salt.jpg") !important; }
.home-note-category--5 { background-image: linear-gradient(105deg, rgba(7,7,6,.96), rgba(7,7,6,.64)), url("../images/notes/aromatic-lavender.jpg") !important; }

.home-note-category:hover {
    transform: translateY(-7px) !important;
    border-color: rgba(216,173,106,.48) !important;
    box-shadow: 0 28px 54px rgba(0,0,0,.4), 0 0 28px rgba(216,173,106,.08) !important;
}

.home-note-category__mark {
    width: 54px !important;
    height: 54px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(240,201,130,.32) !important;
    background: linear-gradient(145deg, rgba(216,173,106,.23), rgba(27,21,14,.72)) !important;
    box-shadow: 0 13px 25px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.12) !important;
    font-size: 23px !important;
    backdrop-filter: blur(10px);
}

.home-note-category__body span {
    color: #fff3dd !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.7);
}

.home-note-category__body small {
    color: #d8ad6a !important;
}

/* Fragrance-family library */
.lux-notes-page .lux-notes-hero {
    position: relative;
}

.lux-notes-page .lux-notes-hero::before {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d8ad6a, transparent);
    box-shadow: 0 0 18px rgba(216,173,106,.34);
}

.lux-note-card {
    position: relative;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at var(--glow-x, 80%) var(--glow-y, 0), rgba(216,173,106,.09), transparent 34%),
        linear-gradient(150deg, rgba(255,255,255,.045), rgba(255,255,255,.01)) !important;
    box-shadow: 0 20px 48px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
}

.lux-note-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 30px 64px rgba(0,0,0,.42), 0 0 34px rgba(216,173,106,.07) !important;
}

.lux-note-card__media {
    height: 216px !important;
}

.lux-note-card__thumb {
    overflow: hidden;
}

.lux-note-card__thumb + .lux-note-card__thumb {
    border-inline-start: 1px solid rgba(255,255,255,.08);
}

.lux-note-card__thumb img {
    transform: scale(1.015);
    filter: saturate(.92) contrast(1.04);
    transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .4s ease;
}

.lux-note-card:hover .lux-note-card__thumb img {
    transform: scale(1.1);
    filter: saturate(1.08) contrast(1.05);
}

.lux-note-card__media::after {
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), transparent 42%),
        linear-gradient(0deg, rgba(7,7,6,.64), transparent 58%) !important;
}

.lux-note-card__body {
    padding: 22px 22px 24px !important;
}

.lux-note-card__tag,
.lux-note-card__sample {
    backdrop-filter: blur(10px);
}

.lux-note-card__more {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 7px;
    padding-top: 8px;
    border-top: 1px solid rgba(216,173,106,.1);
}

/* Product detail controls */
.pd-nosetime .pd-actions button,
.pd-nosetime .pd-actions a,
.pd-nosetime .pd-purchase-row button,
.pd-nosetime .pd-purchase-row a {
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.pd-nosetime .pd-actions button:hover,
.pd-nosetime .pd-actions a:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgba(0,0,0,.18);
}

.pd-nosetime .pd-summary,
.pd-nosetime .pd-section {
    box-shadow: 0 22px 56px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.025);
}

/* Premium compact footer */
.lux-footer {
    position: relative;
    overflow: hidden;
}

.lux-footer::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -390px;
    left: calc(50% - 260px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216,173,106,.13), transparent 67%);
    pointer-events: none;
}

.lux-footer-signature {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
    padding: 22px 24px;
    border: 1px solid rgba(216,173,106,.18);
    border-radius: 22px;
    background: linear-gradient(120deg, rgba(216,173,106,.08), rgba(255,255,255,.018));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.lux-footer-monogram {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    transform: rotate(45deg);
    border: 1px solid rgba(216,173,106,.56);
    background: rgba(216,173,106,.06);
    color: #f3d7a5;
}

.lux-footer-monogram span {
    transform: rotate(-45deg);
    font: 700 25px/1 Georgia, serif;
}

.lux-footer-signature-copy strong {
    display: block;
    color: #fff0d2;
    font: 600 21px/1.2 Georgia, serif;
    letter-spacing: .16em;
}

.lux-footer-signature-copy strong em {
    color: #d8ad6a;
    font-size: 9px;
    font-style: normal;
    letter-spacing: .35em;
}

.lux-footer-signature-copy p {
    margin: 5px 0 0;
    color: rgba(245,234,218,.52);
    font-size: 12px;
}

.lux-footer-promise {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.lux-footer-promise span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(216,173,106,.13);
    border-radius: 999px;
    background: rgba(9,8,7,.36);
    color: rgba(245,234,218,.72);
    font: 10px/1 Arial, sans-serif;
    letter-spacing: .04em;
}

.lux-footer-promise i {
    color: #d8ad6a;
    font-size: 13px;
}

.lux-footer h3 {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lux-footer h3::before {
    content: "";
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, #d8ad6a, transparent);
}

.lux-footer li {
    line-height: 1.75;
}

.lux-footer-social a {
    width: 42px !important;
    height: 42px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 22px rgba(0,0,0,.22);
}

.lux-footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0,0,0,.32), 0 0 20px rgba(216,173,106,.08);
}

.elfer-ui-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .62s ease, transform .62s cubic-bezier(.2,.75,.2,1);
}

.elfer-ui-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 767px) {
    .lux-footer-signature {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 18px;
    }
    .lux-footer-promise {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
    .lux-footer-promise span:nth-child(n+3) {
        display: none;
    }
    .lux-footer-signature-copy strong {
        font-size: 17px;
    }
    .lux-note-card__media {
        height: 170px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elfer-ui-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .home-note-category,
    .lux-note-card,
    .lux-note-card__thumb img,
    .mpage-pd-note-media img {
        transition: none !important;
    }
}

/* Unified login roles and one-click checkout */
.elfer-login-roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: -8px 0 22px;
}
.elfer-login-roles span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 8px;
    border: 1px solid rgba(216,173,106,.18);
    border-radius: 999px;
    color: #d8c7ab;
    background: rgba(216,173,106,.055);
    font-size: 12px;
}
.elfer-login-roles span i { color: #e7bd73; }
.elfer-admin-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(216,173,106,.14);
    color: #c5ac82;
    font-size: 12px;
    letter-spacing: .03em;
}
.elfer-admin-entry:hover { color: #f0d19a; }
.pd-nosetime .pd-buy-actions {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 9px;
    min-width: 0;
}
.pd-nosetime .pd-buy-actions .pd-buy-btn { width: 100%; }
.pd-nosetime .pd-buy-btn--ghost {
    border: 1px solid rgba(216,173,106,.42) !important;
    background: rgba(216,173,106,.06) !important;
    color: #e9c987 !important;
}
.pd-nosetime .pd-buy-btn--primary {
    box-shadow: 0 12px 30px rgba(216,173,106,.18);
}
@media (max-width: 760px) {
    .elfer-login-roles { gap: 5px; margin-bottom: 16px; }
    .elfer-login-roles span { min-height: 34px; padding: 5px; font-size: 10px; }
    .pd-nosetime .pd-buy-actions { grid-template-columns: 1fr 1fr; width: 100%; }
}

/* 2026 storefront layout correction */
.elfer-product-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; max-width:1080px; margin:0 auto; }
.elfer-product-category-card { min-height:150px; display:flex; align-items:center; gap:18px; padding:24px; border:1px solid var(--lux-line); border-radius:20px; background:linear-gradient(135deg,rgba(216,173,106,.11),rgba(255,255,255,.025)); color:var(--lux-text); text-decoration:none; transition:.25s ease; }
.elfer-product-category-card:hover { transform:translateY(-4px); border-color:var(--lux-gold); box-shadow:0 18px 36px rgba(0,0,0,.25); }
.elfer-product-category-icon { width:58px; height:58px; flex:0 0 58px; display:grid; place-items:center; border-radius:16px; color:var(--lux-gold); font-size:26px; background:rgba(216,173,106,.14); }
.elfer-product-category-copy { display:flex; flex-direction:column; gap:7px; min-width:0; }
.elfer-product-category-copy strong { font:600 18px/1.3 Georgia,serif; color:var(--lux-heading); }
.elfer-product-category-copy small { color:var(--lux-muted); font-size:12px; line-height:1.6; }
.elfer-product-category-copy em { color:var(--lux-gold); font-size:11px; font-style:normal; }
.elfer-product-category-arrow { margin-inline-start:auto; color:var(--lux-gold); }
.elfer-category-subtitle { margin:6px 0 0; color:var(--lux-muted); font-size:13px; }
.elfer-about-page { max-width:1040px!important; }
.elfer-about-hero { padding:44px clamp(24px,5vw,72px); margin-bottom:24px; border:1px solid var(--lux-line); border-radius:26px; background:radial-gradient(circle at 15% 0,rgba(216,173,106,.2),transparent 45%),linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.01)); }
.elfer-about-hero span { color:var(--lux-gold); letter-spacing:.28em; font-size:11px; }
.elfer-about-hero h1 { margin:12px 0 8px; color:var(--lux-heading); font:600 clamp(28px,4vw,48px)/1.15 Georgia,serif; }
.elfer-about-hero p { margin:0; color:var(--lux-muted); font-size:14px; }
.elfer-about-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.elfer-about-card { position:relative; min-height:180px; padding:24px; border:1px solid var(--lux-line); border-radius:18px; background:rgba(255,255,255,.025); }
.elfer-about-card-num { color:var(--lux-gold); font-size:11px; letter-spacing:.15em; }
.elfer-about-card h2 { margin:18px 0 8px; color:var(--lux-heading); font-size:18px; }
.elfer-about-card p { margin:0; color:var(--lux-muted); line-height:1.8; font-size:13px; }
.pd-nosetime.pd-page { max-width:1180px; }
.pd-nosetime .pd-top { min-height:0!important; }
.pd-nosetime .pd-score-panel { display:flex; align-items:center; }
.pd-nosetime .pd-score { width:100%; }
.pd-nosetime .pd-layout { grid-template-columns:minmax(0,1fr) 260px!important; }
.pd-nosetime .pd-note-row { grid-template-columns:repeat(auto-fit,minmax(82px,1fr))!important; }
.pd-nosetime .pd-note-section { overflow:hidden; }
.pd-nosetime .pd-intro-layout { display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:24px; align-items:start; }
.pd-nosetime .pd-intro-poster { margin:0; max-height:300px; overflow:hidden; border-radius:14px; }
.pd-nosetime .pd-intro-poster img { width:100%; height:280px; object-fit:cover; }
.elfer-checkout-page .max-w-7xl { max-width:1180px; }
.elfer-checkout-page main { gap:20px!important; }
.elfer-checkout-page .rounded-2xl { border-radius:18px!important; }
@media (max-width:900px) {
 .elfer-product-category-grid,.elfer-about-grid { grid-template-columns:1fr; }
 .pd-nosetime .pd-layout,.pd-nosetime .pd-intro-layout { grid-template-columns:1fr!important; }
 .pd-nosetime .pd-intro-poster { max-width:320px; margin:0 auto; }
}
@media (max-width:560px) {
 .elfer-product-category-card { padding:18px; min-height:126px; }
 .elfer-product-category-icon { width:46px; height:46px; flex-basis:46px; font-size:20px; }
 .elfer-product-category-copy strong { font-size:16px; }
}

/* Cross-page typography, spacing and theme consistency pass. */
html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body.lang-ug,
body[dir="rtl"] { font-size: 14px; line-height: 1.7; }
body.lang-ug :is(button,input,select,textarea),
body[dir="rtl"] :is(button,input,select,textarea) { font: inherit; }
.lux-container { width:min(100% - 32px, 1376px); }
.lux-section-head h2 { font-size:clamp(21px,2.2vw,30px)!important; line-height:1.45!important; font-weight:600!important; }
.lux-section-head p { font-size:12px!important; line-height:1.65!important; }
.lux-nav a,.lux-footer,.lux-service-item,.torbat-filter-chips button { font-size:12px!important; }
.lux-cat-grid,.torbat-news-grid,.torbat-vip-grid,#productGrid { min-width:0; }
.torbat-news-grid { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:22px!important; }
.torbat-news-grid article { min-width:0; overflow:hidden; border-radius:18px!important; }
.torbat-news-grid article img { display:block; width:100%!important; height:auto!important; aspect-ratio:4/3; object-fit:cover!important; }
.torbat-news-grid article h3 { margin:0!important; padding:17px 18px 20px!important; font-size:15px!important; line-height:1.65!important; font-weight:500!important; }
.lux-product-card,.perfume-card,.note-card,.brand-card { min-width:0; overflow:hidden; }
.lux-product-card img,.perfume-card img { width:100%; height:auto; object-fit:contain; }
.pd-nosetime :is(h1,h2,h3) { overflow-wrap:anywhere; }
.pd-nosetime .pd-title { font-size:clamp(25px,3vw,38px)!important; line-height:1.35!important; }
.pd-nosetime .pd-description,.pd-nosetime .pd-intro-copy { font-size:13px!important; line-height:1.95!important; }
[data-elfer-theme="day"] body,
html[data-theme="light"] body { background:#f4f0e8; color:#39342e; }
[data-elfer-theme="day"] :is(.lux-section,.lux-footer,.pd-card,.elfer-product-category-card),
html[data-theme="light"] :is(.lux-section,.lux-footer,.pd-card,.elfer-product-category-card) { border-color:rgba(96,76,46,.15); }
[data-elfer-theme="day"] :is(.lux-section-head h2,.pd-nosetime h1,.pd-nosetime h2,.elfer-product-category-copy strong),
html[data-theme="light"] :is(.lux-section-head h2,.pd-nosetime h1,.pd-nosetime h2,.elfer-product-category-copy strong) { color:#302b25!important; }
[data-elfer-theme="day"] :is(.lux-section-head p,.pd-nosetime p,.elfer-product-category-copy small),
html[data-theme="light"] :is(.lux-section-head p,.pd-nosetime p,.elfer-product-category-copy small) { color:#6d655b!important; }
@media(max-width:900px){
  .lux-container { width:min(100% - 24px,1376px); }
  .torbat-news-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}
@media(max-width:620px){
  body.lang-ug,body[dir="rtl"] { fo…263 tokens truncated…w, 25px) !important; line-height: 1.45 !important; }
body.lang-ug .pd-nosetime .pd-title small,
html[lang="ug"] .pd-nosetime .pd-title small { font-size: 11px !important; }
body.lang-ug .pd-nosetime .pd-meta-row,
html[lang="ug"] .pd-nosetime .pd-meta-row,
body.lang-ug .pd-nosetime .pd-score,
html[lang="ug"] .pd-nosetime .pd-score { font-size: 11px !important; line-height: 1.7 !important; }
.pd-nosetime .pd-score-panel { align-items: flex-start !important; padding: 18px !important; }
.pd-nosetime .pd-score { min-height: 0 !important; }
.pd-nosetime .pd-score-num { font-size: 32px !important; line-height: 1 !important; }
.pd-nosetime .pd-rating-bars { margin-top: 12px !important; }
.pd-nosetime .pd-note-section { min-width: 0; }
.pd-nosetime .pd-note-row { align-items: stretch !important; }
.pd-nosetime .pd-note-tile { min-width: 0; }
.pd-nosetime .pd-note-tile-label { font-size: 11px !important; line-height: 1.5 !important; }
.pd-nosetime .pd-similar-scroll { min-width: 0; }
.pd-nosetime .pd-similar-card { min-width: 0 !important; }
.elfer-product-category-grid { align-items: stretch; }
.elfer-product-category-card { min-width: 0; }
.elfer-product-category-copy strong { font-size: 15px !important; font-weight: 450 !important; }
.elfer-product-category-copy small { font-size: 11px !important; }
.elfer-about-card h2 { font-size: 16px !important; font-weight: 450 !important; }
.elfer-about-card p { font-size: 12px !important; line-height: 1.75 !important; }
@media (max-width: 900px) {
    .pd-nosetime .pd-top { grid-template-columns: minmax(0, 1fr) !important; }
    .pd-nosetime .pd-image-col,
    .pd-nosetime .pd-info { border-inline-end: 0 !important; border-bottom: 1px solid var(--lux-line); padding: 0 0 16px !important; margin-bottom: 16px; }
    .pd-nosetime .pd-score-panel { padding: 0 !important; }
}
@media (max-width: 560px) {
    .elfer-product-category-grid { gap: 10px !important; }
    .elfer-product-category-card { gap: 11px !important; padding: 14px !important; border-radius: 14px !important; }
    .elfer-product-category-copy strong { font-size: 14px !important; }
    .elfer-product-category-copy small { font-size: 10px !important; line-height: 1.55 !important; }
}

/* 2026-08-02 structural refinement: keep the luxury shell compact and readable. */
html[dir="rtl"] body,
body.lang-ug { font-size: 13px !important; letter-spacing: 0 !important; }
.lux-container { width: min(1160px, calc(100% - 40px)) !important; }
.lux-header-row { min-height: 72px !important; gap: 24px !important; }
.lux-nav { gap: 18px !important; }
.lux-nav a, .lux-action-btn, .lux-lang-btn { font-size: 12px !important; font-weight: 400 !important; }
.lux-section { padding-block: 44px !important; }
.lux-section-head h2, .lux-section-head h3 { font-size: clamp(20px, 2.1vw, 27px) !important; font-weight: 450 !important; line-height: 1.35 !important; }
.lux-section-head p { font-size: 12px !important; line-height: 1.75 !important; max-width: 620px !important; }
.lux-cat-grid, .torbat-news-grid, .torbat-vip-grid { grid-auto-rows: 1fr !important; align-items: stretch !important; }
.lux-cat-grid > *, .torbat-news-grid > *, .torbat-vip-grid > * { min-width: 0 !important; }
.torbat-catalog-tools { min-height: 52px !important; margin-block: 18px !important; }
.torbat-catalog-tools input, .torbat-catalog-tools select { font-size: 12px !important; }
.torbat-news-grid article h3 { font-size: 14px !important; line-height: 1.6 !important; font-weight: 450 !important; }
.lux-footer { padding-block: 34px 22px !important; }
.lux-footer h3 { font-size: 14px !important; font-weight: 450 !important; }
.lux-footer li, .lux-footer a { font-size: 11px !important; line-height: 1.8 !important; }
.mhome-block-head h3 { font-size: 20px !important; font-weight: 450 !important; }
.mhome-block-head p, .mhome-more { font-size: 11px !important; }

/* Mobile touch targets: keep the visual typography compact while making the
   whole link comfortably tappable with a thumb. */
@media (max-width: 780px) {
  .mhome-more,
  .lux-logo {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .mhome-more { padding-block: 10px; }
}

/* Admin/control-center shell shares the storefront font but uses denser panels. */
.elfer-admin-shell, .elfer-control-shell, .control-shell, .admin-shell,
body.admin, body.admin-page { font-size: 13px !important; }
.elfer-admin-shell h1, .elfer-control-shell h1, .control-shell h1,
.admin-shell h1 { font-size: clamp(24px, 3vw, 38px) !important; line-height: 1.25 !important; font-weight: 450 !important; }
.elfer-admin-shell h2, .elfer-control-shell h2, .control-shell h2,
.admin-shell h2 { font-size: clamp(18px, 2vw, 26px) !important; line-height: 1.35 !important; font-weight: 450 !important; }
.elfer-admin-shell h3, .elfer-control-shell h3, .control-shell h3,
.admin-shell h3 { font-size: 15px !important; font-weight: 450 !important; }
.elfer-admin-shell p, .elfer-control-shell p, .control-shell p,
.admin-shell p, .elfer-admin-shell label, .elfer-control-shell label { font-size: 12px !important; line-height: 1.7 !important; }
@media (max-width: 900px) {
  .lux-container { width: min(100% - 24px, 760px) !important; }
  .lux-header-row { min-height: 62px !important; gap: 12px !important; }
  .lux-nav { gap: 10px !important; }
  .lux-nav a { font-size: 10px !important; }
  .lux-section { padding-block: 30px !important; }
}
.elfer-product-category-icon .bi-flask::before{content:"◆"!important;font-family:Georgia,serif!important;font-size:16px!important;line-height:1!important;color:currentColor!important}
/* 2026-08-02 deep structural pass: detail content uses its available space. */
.pd-nosetime .pd-note-section,.pd-nosetime .pd-intro-section,.pd-nosetime .pd-similar-section{height:auto!important;min-height:0!important;padding:24px 28px!important}
.pd-nosetime .pd-section-head{margin-bottom:18px!important;padding-bottom:14px!important}
.pd-nosetime .pd-section-head h2,.pd-nosetime .pd-section-head h3{font-size:19px!important;font-weight:450!important;line-height:1.45!important}
.pd-nosetime .pd-note-row{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(132px,1fr))!important;gap:14px!important;width:100%!important;height:auto!important;align-items:stretch!important}
.pd-nosetime .pd-note-tile{width:auto!important;min-width:0!important;min-height:154px!important;height:auto!important;padding:12px!important;border-radius:15px!important;background:linear-gradient(145deg,rgba(216,173,106,.055),rgba(255,255,255,.018))!important}
.pd-nosetime .pd-note-tile img{width:100%!important;height:90px!important;object-fit:cover!important;border-radius:11px!important}
.pd-nosetime .pd-note-tile strong{font-size:11px!important;font-weight:450!important;line-height:1.55!important}
.pd-nosetime .pd-note-tile small,.pd-nosetime .pd-note-tile em{font-size:9px!important}
.pd-nosetime .pd-intro-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 230px!important;gap:24px!important;align-items:stretch!important;height:auto!important;min-height:0!important}
.pd-nosetime .pd-intro-copy{min-width:0!important;min-height:230px!important;height:auto!important;padding:22px 24px!important;border:1px solid rgba(216,173,106,.12)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(216,173,106,.045),rgba(255,255,255,.012))!important;font-size:12px!important;line-height:2!important;text-align:right!important;align-content:start!important}
.pd-nosetime .pd-intro-copy p{margin:0!important;font-size:12px!important;line-height:2!important}
.pd-nosetime .pd-intro-poster{width:230px!important;height:230px!important;min-height:0!important;margin:0!important;border-radius:16px!important;overflow:hidden!important}
.pd-nosetime .pd-intro-poster img{width:100%!important;height:100%!important;object-fit:contain!important;padding:12px!important}
.pd-nosetime .pd-similar-scroll{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;width:100%!important;height:auto!important;overflow:visible!important;padding:0!important}
.pd-nosetime .pd-similar-card{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:280px!important;margin:0!important;padding:14px!important;display:grid!important;grid-template-rows:170px auto!important;align-content:start!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(216,173,106,.055),rgba(255,255,255,.015))!important}
.pd-nosetime .pd-similar-card img{width:100%!important;height:170px!important;object-fit:contain!important;border-radius:11px!important;background:#f5f1e9!important}
.pd-nosetime .pd-similar-card h3,.pd-nosetime .pd-similar-card strong{font-size:13px!important;font-weight:450!important;line-height:1.5!important}
.pd-nosetime .pd-similar-card small,.pd-nosetime .pd-similar-card span{font-size:9.5px!important}
.pd-nosetime .pd-side-card{border-radius:16px!important;background:linear-gradient(145deg,rgba(216,173,106,.045),rgba(255,255,255,.012))!important}
.pd-nosetime .pd-side-link{min-height:54px!important;padding:9px 10px!important;font-size:10px!important;line-height:1.55!important}
.pd-nosetime .pd-score-panel{padding:18px!important;border-radius:16px!important}
.pd-nosetime .pd-score{gap:18px!important;align-items:center!important}
@media(max-width:900px){
 .pd-nosetime .pd-note-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .pd-nosetime .pd-intro-layout{grid-template-columns:1fr!important}
 .pd-nosetime .pd-intro-poster{width:100%!important;height:260px!important}
 .pd-nosetime .pd-intro-copy{min-height:0!important}
 .pd-nosetime .pd-similar-scroll{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
 .pd-nosetime .pd-note-section,.pd-nosetime .pd-intro-section,.pd-nosetime .pd-similar-section{padding:18px!important}
 .pd-nosetime .pd-note-row,.pd-nosetime .pd-similar-scroll{grid-template-columns:1fr!important}
 .pd-nosetime .pd-similar-card{min-height:0!important;grid-template-rows:190px auto!important}
}

html body .pd-page.pd-nosetime .pd-section.pd-note-section .pd-note-row{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(138px,1fr))!important;grid-auto-columns:auto!important;gap:14px!important}
html body .pd-page.pd-nosetime .pd-section.pd-note-section .pd-note-row>.pd-note-tile{width:auto!important;max-width:none!important;min-width:0!important}

html body .pd-page.pd-nosetime .pd-similar-section .pd-similar-card{display:block!important;min-height:270px!important;height:auto!important;padding:12px!important}
html body .pd-page.pd-nosetime .pd-similar-section .pd-similar-card>a{display:grid!important;grid-template-rows:170px minmax(82px,auto)!important;width:100%!important;height:auto!important;min-height:252px!important;max-height:none!important;overflow:visible!important;text-decoration:none!important}
html body .pd-page.pd-nosetime .pd-similar-section .pd-similar-img{width:100%!important;height:170px!important;overflow:hidden!important;border-radius:11px!important}
html body .pd-page.pd-nosetime .pd-similar-section .pd-similar-img img{width:100%!important;height:170px!important;object-fit:contain!important}
html body .pd-page.pd-nosetime .pd-similar-section .pd-similar-body{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;min-height:82px!important;height:auto!important;padding:10px 8px 4px!important;overflow:visible!important;text-align:center!important}
html body .pd-page.pd-nosetime .pd-similar-section .pd-similar-brand{font-size:9px!important;line-height:1.4!important;color:#c79e5c!important}
html body .pd-page.pd-nosetime .pd-similar-section .pd-similar-name{font-size:12px!important;line-height:1.5!important;color:#f3eadb!important}
html body .pd-page.pd-nosetime .pd-similar-section .pd-similar-meta{font-size:9px!important;line-height:1.5!important;color:#b9ab97!important}
html body .pd-page.pd-nosetime .pd-intro-section .pd-intro-layout{grid-template-columns:minmax(0,1fr) 190px!important}
html body .pd-page.pd-nosetime .pd-intro-section .pd-intro-copy{min-height:190px!important}
html body .pd-page.pd-nosetime .pd-intro-section .pd-intro-poster{width:190px!important;height:190px!important}
@media(max-width:900px){html body .pd-page.pd-nosetime .pd-intro-section .pd-intro-layout{grid-template-columns:1fr!important}html body .pd-page.pd-nosetime .pd-intro-section .pd-intro-poster{width:100%!important;height:230px!important}}


/* ELFER precision product layout - 2026-08-03 */
@media (min-width:1101px){
.pd-nosetime .pd-top,.pd-top{display:grid!important;grid-template-columns:238px minmax(0,1fr) 306px!important;grid-template-areas:"score info image"!important;gap:18px!important;align-items:stretch!important;direction:ltr!important;padding:28px!important}
.pd-top>.pd-image-col{grid-area:image!important;direction:rtl!important;width:auto!important;min-width:0!important;height:100%!important;margin:0!important;padding:0!important}
.pd-top>.pd-info{grid-area:info!important;direction:rtl!important;width:auto!important;min-width:0!important;height:100%!important}
.pd-top>.pd-score-panel{grid-area:score!important;direction:rtl!important;width:auto!important;min-width:0!important;height:100%!important;margin:0!important;padding:16px!important;align-self:stretch!important;border-top:0!important;border-inline-end:1px solid var(--pd-line,rgba(202,158,84,.22))!important}
.pd-top .pd-score{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:13px!important;width:100%!important;height:100%!important;min-width:0!important}
.pd-top .pd-score>*{width:100%!important;min-width:0!important;margin:0!important}
.pd-top .pd-score-title{text-align:start!important;padding-bottom:8px!important;border-bottom:1px solid var(--pd-line,rgba(202,158,84,.18))!important}
.pd-top .pd-score-line{justify-content:flex-start!important;min-height:54px!important}
.pd-top .pd-rating-bars{width:100%!important;padding:12px 0!important;border-block:1px solid var(--pd-line,rgba(202,158,84,.16))!important}
.pd-top .pd-meta-item{width:100%!important;min-height:74px!important;padding:13px!important}
.pd-top .pd-main-image{width:100%!important;max-width:306px!important;height:320px!important;margin-inline:auto!important}
.pd-top .pd-main-image img{width:100%!important;height:100%!important;object-fit:contain!important}
.pd-top .pd-sku-list--top{grid-template-columns:repeat(var(--pd-sku-count,5),minmax(0,1fr))!important;gap:8px!important}
.pd-top .pd-sku{min-width:0!important;padding-inline:7px!important}
.pd-top .pd-buybar--top{grid-template-columns:auto 118px minmax(0,1fr)!important;gap:10px!important}
.pd-note-row{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
.pd-note-tile{width:auto!important;min-width:0!important;height:auto!important;min-height:146px!important;padding:7px!important;gap:6px!important}
.pd-note-tile-media{width:100%!important;height:auto!important;aspect-ratio:1/1!important;min-height:0!important}
.pd-note-tile-media img{width:100%!important;height:100%!important;object-fit:cover!important}
.pd-note-tile-label{width:100%!important;min-height:28px!important;font-size:11px!important;line-height:1.3!important;text-align:center!important;overflow-wrap:anywhere!important}
.pd-note-tile-strength{width:100%!important;font-size:10px!important}
}
@media (min-width:761px) and (max-width:1100px){
.pd-top{grid-template-columns:minmax(0,1fr) 290px!important;grid-template-areas:"info image" "score score"!important;direction:ltr!important}
.pd-top>*{direction:rtl!important}
.pd-note-row{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
}
@media (max-width:760px){
.pd-top{grid-template-columns:1fr!important;grid-template-areas:"image" "info" "score"!important;direction:rtl!important}
.pd-note-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.pd-note-tile{width:auto!important;min-width:0!important}
}


/* ELFER precision correction: stable detail grid + exact eight-note row */
@media (min-width:1101px){
.pd-page.pd-nosetime>.pd-card.pd-top{
 display:grid!important;
 grid-template-columns:minmax(320px,.95fr) minmax(0,1.8fr)!important;
 grid-template-areas:"image info" "score score"!important;
 gap:26px 28px!important;
 align-items:start!important;
 direction:rtl!important;
 padding:28px!important;
}
.pd-page.pd-nosetime>.pd-card.pd-top>.pd-image-col{
 grid-area:image!important;direction:rtl!important;width:auto!important;min-width:0!important;height:auto!important;align-self:start!important;
}
.pd-page.pd-nosetime>.pd-card.pd-top>.pd-info{
 grid-area:info!important;direction:rtl!important;width:auto!important;min-width:0!important;height:auto!important;
}
.pd-page.pd-nosetime>.pd-card.pd-top>.pd-score-panel{
 grid-area:score!important;direction:rtl!important;width:100%!important;min-width:0!important;height:auto!important;
 margin:0!important;padding:16px 18px!important;align-self:auto!important;border-top:1px solid var(--pd-line,rgba(202,158,84,.2))!important;border-inline-end:0!important;
}
.pd-page.pd-nosetime>.pd-card.pd-top .pd-score{
 display:grid!important;
 grid-template-columns:minmax(150px,.75fr) minmax(250px,1.35fr) repeat(2,minmax(150px,1fr))!important;
 align-items:center!important;gap:14px 18px!important;width:100%!important;height:auto!important;
}
.pd-page.pd-nosetime>.pd-card.pd-top .pd-score>*{width:auto!important;min-width:0!important;margin:0!important}
.pd-page.pd-nosetime>.pd-card.pd-top .pd-score-title{padding-bottom:0!important;border-bottom:0!important}
.pd-page.pd-nosetime>.pd-card.pd-top .pd-rating-bars{padding:0!important;border-block:0!important}
.pd-page.pd-nosetime>.pd-card.pd-top .pd-meta-item{width:auto!important;min-height:82px!important;padding:14px!important}
.pd-page.pd-nosetime>.pd-card.pd-top .pd-main-image{max-width:306px!important;height:320px!important}
.pd-page.pd-nosetime>.pd-card.pd-top .pd-sku-list--top{grid-template-columns:repeat(var(--pd-sku-count,5),minmax(0,1fr))!important}
.pd-page.pd-nosetime>.pd-card.pd-top .pd-buybar--top{grid-template-columns:auto 118px minmax(0,1fr)!important}
.pd-page.pd-nosetime .pd-note-section>.pd-note-row{
 display:grid!important;
 grid-template-columns:repeat(8,minmax(0,1fr))!important;
 gap:8px!important;
 align-items:stretch!important;
}
.pd-page.pd-nosetime .pd-note-section>.pd-note-row>.pd-note-tile{
 width:auto!important;min-width:0!important;height:auto!important;min-height:146px!important;padding:7px!important;gap:6px!important;
}
.pd-page.pd-nosetime .pd-note-section>.pd-note-row>.pd-note-tile>.pd-note-tile-media{
 width:100%!important;height:auto!important;aspect-ratio:1/1!important;min-height:0!important;
}
.pd-page.pd-nosetime .pd-note-section>.pd-note-row>.pd-note-tile .pd-note-tile-label{
 width:100%!important;min-height:28px!important;font-size:11px!important;line-height:1.3!important;text-align:center!important;
}
}

/* 2026-08-15 header audit: reserve independent space for nav and actions. */
@media (min-width:1281px){
    .lux-container.lux-header-row{
        width:min(1460px,calc(100% - 44px))!important;
        grid-template-columns:minmax(150px,.65fr) minmax(520px,2.1fr) minmax(300px,1fr)!important;
        gap:clamp(14px,1.35vw,26px)!important;
    }
    .lux-header-row .lux-nav{
        width:100%!important;
        min-width:0!important;
        gap:clamp(7px,.72vw,15px)!important;
        justify-content:center!important;
    }
    .lux-header-row .lux-nav a{
        min-width:0!important;
        padding-inline:2px!important;
        font-size:clamp(10px,.68vw,12px)!important;
        white-space:nowrap!important;
    }
    .lux-header-actions{min-width:300px!important;justify-content:flex-end!important;gap:clamp(7px,.6vw,12px)!important}
    .lux-lang{flex:0 0 auto!important}.lux-lang-btn{min-width:92px!important;justify-content:center!important}
}

html[lang="ug"] body.lang-ug,
html[lang="zh"] body.lang-zh,
html[lang="en"] body.lang-en{
    -webkit-text-size-adjust:100%!important;
    text-size-adjust:100%!important;
}

/* Audit corrections: semantic heading and mobile touch geometry. */
.elfer-visually-hidden {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}
.mall-stock-unavailable,
.mpage-pcard-stockout {
    display:flex;
    min-height:40px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(160,160,160,.2);
    border-radius:12px;
    color:rgba(245,234,218,.58);
    font-size:12px;
    background:rgba(255,255,255,.025);
}
.mpage-pcard-stockout { margin:0 10px 10px; }

@media (max-width: 767px) {
    .mpage-search-go,
    .qty-minus,
    .qty-plus,
    .qty-input { min-width:44px!important; min-height:44px!important; }
    .lux-agent-join-page :is(.btn-elfer,.btn-outline,a),
    .lux-filter-panel a,
    .lux-perfume-toolbar a,
    .lux-auth-card > .text-center a,
    .compare-page .btn-elfer {
        min-height:44px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
    }
}
