/* InteriorX V2.3 — bilingual storefront + customer account polish */
:root{--ix-red:#e30613;--ix-ink:#101828;--ix-muted:#667085;--ix-line:#e7eaf0;--ix-soft:#f7f8fb;--ix-success:#079455;--ix-shadow:0 18px 55px rgba(16,24,40,.09)}
body.locale-en{font-family:Inter,"Hind Siliguri",sans-serif}body.locale-bn{font-family:"Hind Siliguri",Inter,sans-serif}
.language-switcher{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid #e4e7ec;border-radius:999px;background:#fff;box-shadow:0 4px 16px rgba(16,24,40,.05)}
.language-switcher form{margin:0}.language-switcher button{border:0;background:transparent;min-width:38px;padding:6px 10px;border-radius:999px;font:inherit;font-size:12px;font-weight:800;color:#667085;cursor:pointer}.language-switcher button.active{background:#101828;color:#fff}.language-switcher.compact button{padding:5px 8px;min-width:34px}
.header-actions .language-switcher{margin-left:6px}.mobile-language-row{display:none}

/* V2.3.2 — responsive language control */
.topbar-in>div{align-items:center;flex-wrap:nowrap;white-space:nowrap}
.top-language{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;margin-left:2px;padding:3px;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:rgba(255,255,255,.13);line-height:1}
.top-language form{display:inline-flex;margin:0}
.top-language button{display:inline-flex;align-items:center;justify-content:center;min-height:27px;min-width:39px;padding:5px 10px;border:0;border-radius:999px;background:transparent;color:#fff;font:inherit;font-size:11px;font-weight:800;line-height:1;white-space:nowrap;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.top-language button:hover{background:rgba(255,255,255,.18)}
.top-language button.active{background:#fff;color:#c8000c;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.top-language button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:1100px) and (min-width:801px){.topbar-in{gap:10px}.topbar-in>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-in>div{gap:12px}.top-language{margin-left:0}.top-language button{min-width:35px;padding-inline:8px}}
@media(max-width:900px) and (min-width:801px){.topbar-in>div>span:nth-child(2){display:none}}
@media(max-width:800px){.top-language{display:none}.mobile-language-row{display:flex;align-items:center;justify-content:center;padding:7px 10px;background:#fff;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid #eef0f3}.mobile-language-row .language-switcher{max-width:100%;flex-wrap:nowrap}.mobile-language-row .language-switcher button{min-width:68px;padding:6px 12px;white-space:nowrap}}
@media(max-width:380px){.mobile-language-row{padding-inline:6px}.mobile-language-row .language-switcher button{min-width:62px;padding-inline:9px;font-size:11px}}

/* Professional customer area */
.account-shell{padding:38px 0 70px;background:linear-gradient(180deg,#f8fafc 0,#fff 45%)}
.account-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;padding:28px;border:1px solid var(--ix-line);border-radius:24px;background:linear-gradient(135deg,#111827,#222b3a 70%,#3b1520);color:#fff;box-shadow:var(--ix-shadow);overflow:hidden;position:relative}
.account-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-70px;top:-120px;background:rgba(227,6,19,.28);filter:blur(2px)}
.account-profile-intro{display:flex;align-items:center;gap:16px;position:relative;z-index:1}.account-avatar{width:66px;height:66px;border-radius:20px;display:grid;place-items:center;background:#fff;color:#111827;font-size:25px;font-weight:900;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.account-profile-intro h1{margin:0 0 4px;font-size:clamp(24px,3vw,35px)}.account-profile-intro p{margin:0;color:#d0d5dd}.verified-pill{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:5px 9px;border-radius:999px;background:rgba(18,183,106,.16);color:#a6f4c5;font-size:12px;font-weight:700}
.account-hero-actions{display:flex;align-items:center;gap:10px;position:relative;z-index:1}.account-hero-actions a,.account-hero-actions button{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;padding:10px 14px;border-radius:12px;font-weight:700;cursor:pointer;text-decoration:none}
.account-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.account-stat{padding:19px;border:1px solid var(--ix-line);border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(16,24,40,.04)}.account-stat small{display:block;color:var(--ix-muted);margin-bottom:7px}.account-stat strong{display:block;font-size:24px;color:var(--ix-ink)}.account-stat span{font-size:12px;color:#98a2b3}
.account-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:24px}.account-card{border:1px solid var(--ix-line);border-radius:22px;background:#fff;box-shadow:0 10px 35px rgba(16,24,40,.05);overflow:hidden}.account-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 22px;border-bottom:1px solid var(--ix-line)}.account-card-head h2{margin:0;font-size:21px}.account-card-head small{color:var(--ix-muted)}
.account-order-list{padding:0 22px}.account-order-row{display:grid;grid-template-columns:1.1fr .8fr .7fr .75fr 36px;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #eef0f4}.account-order-row:last-child{border-bottom:0}.account-order-row b{color:var(--ix-ink)}.account-order-row small{display:block;color:var(--ix-muted);margin-top:4px}.account-order-row .status-pill{justify-self:start}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:12px;font-weight:800}.status-pill.delivered,.status-pill.paid{background:#ecfdf3;color:#067647}.status-pill.cancelled,.status-pill.failed{background:#fef3f2;color:#b42318}.status-pill.shipped,.status-pill.processing{background:#eff8ff;color:#175cd3}.account-order-row>a{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--ix-line);text-decoration:none;color:#344054}.account-empty{padding:52px 24px;text-align:center;color:var(--ix-muted)}.account-empty span{font-size:38px;display:block;margin-bottom:12px}
.account-profile-form{padding:22px}.account-profile-form .form-grid{grid-template-columns:1fr 1fr;gap:13px}.account-profile-form label{font-size:13px;font-weight:700;color:#344054}.account-profile-form input,.account-profile-form textarea{margin-top:7px;width:100%;border:1px solid #d0d5dd;border-radius:11px;padding:11px 12px;font:inherit;background:#fff}.account-profile-form textarea{min-height:88px;resize:vertical}.account-profile-form .full{grid-column:1/-1}.account-profile-form .btn{width:100%;margin-top:14px}.profile-security-note{margin:0 22px 22px;padding:12px 14px;border-radius:12px;background:#f0fdf4;color:#166534;font-size:12px}
.account-pagination{padding:0 22px 20px}.account-order-page{padding:34px 0 70px}.order-detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.order-detail-top h1{margin:6px 0 3px}.order-detail-top p{margin:0;color:var(--ix-muted)}.order-detail-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.7fr);gap:22px}.order-detail-card{border:1px solid var(--ix-line);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(16,24,40,.05)}.order-detail-card h2{font-size:18px;margin:0;padding:19px 20px;border-bottom:1px solid var(--ix-line)}.order-item-line{display:grid;grid-template-columns:1fr 100px 60px 110px;gap:12px;padding:14px 20px;border-bottom:1px solid #f0f2f5;align-items:center}.order-item-line.head{font-size:12px;font-weight:800;color:var(--ix-muted);background:#fafbfc}.order-summary-side{padding:18px 20px}.order-summary-side>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0}.order-summary-side .grand{font-size:18px;border-top:1px dashed #d0d5dd;margin-top:7px;padding-top:15px}.courier-track-box{margin:0 20px 20px;padding:14px;border:1px solid #d1fadf;background:#ecfdf3;border-radius:14px}.courier-track-box small{color:#067647}.courier-track-box b{display:block;margin-top:5px}.customer-info-list{padding:15px 20px}.customer-info-list div{padding:8px 0;border-bottom:1px solid #f0f2f5}.customer-info-list div:last-child{border-bottom:0}.customer-info-list small{display:block;color:var(--ix-muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.customer-info-list b{display:block;margin-top:3px;font-weight:600;word-break:break-word}

/* Bilingual UI details */
.locale-en .hero-copy h1,.locale-en h1,.locale-en h2,.locale-en h3{letter-spacing:-.025em}.catalog-hero p,.product-info .lead{white-space:pre-line}.translated-note{font-size:12px;color:#667085}.lang-inline{display:inline-flex;gap:6px;align-items:center}.lang-inline a{font-weight:700}

@media(max-width:1000px){.account-grid,.order-detail-grid{grid-template-columns:1fr}.account-stats{grid-template-columns:repeat(2,1fr)}.account-profile-form .form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.header-actions .language-switcher{display:none}.mobile-language-row{display:flex;justify-content:center;padding:7px 10px;border-top:1px solid rgba(0,0,0,.05)}.account-shell{padding:18px 0 90px}.account-hero{padding:20px;border-radius:18px;align-items:flex-start}.account-hero-actions{position:absolute;right:14px;top:14px}.account-hero-actions a{display:none}.account-hero-actions button{padding:7px 10px;font-size:12px}.account-avatar{width:54px;height:54px;border-radius:16px}.account-profile-intro{padding-right:64px}.account-profile-intro h1{font-size:23px}.account-stats{gap:9px}.account-stat{padding:14px;border-radius:14px}.account-stat strong{font-size:20px}.account-grid{gap:15px}.account-card{border-radius:17px}.account-card-head{padding:16px}.account-order-list{padding:0 16px}.account-order-row{grid-template-columns:1fr auto;gap:7px;padding:15px 0}.account-order-row .order-date,.account-order-row .order-total{font-size:12px}.account-order-row .order-date{grid-column:1}.account-order-row .status-pill{grid-column:2;grid-row:1}.account-order-row .order-total{grid-column:1}.account-order-row>a{grid-column:2;grid-row:2/4;align-self:center}.account-profile-form{padding:16px}.account-profile-form .form-grid{grid-template-columns:1fr}.account-profile-form .full{grid-column:auto}.profile-security-note{margin:0 16px 16px}.account-order-page{padding:20px 0 90px}.order-detail-top{display:block}.order-detail-top .btn{margin-top:12px}.order-item-line{grid-template-columns:1fr auto;padding:13px 15px}.order-item-line.head{display:none}.order-item-line .item-price,.order-item-line .item-qty{font-size:12px;color:var(--ix-muted)}.order-detail-card h2{padding:16px}.order-summary-side,.customer-info-list{padding:15px}.courier-track-box{margin:0 15px 15px}}
@media(max-width:520px){.account-stats{grid-template-columns:1fr 1fr}.account-stat small{font-size:11px}.account-stat strong{font-size:18px}.language-switcher{box-shadow:none}.account-profile-intro p{font-size:12px}.verified-pill{font-size:11px}}
