/* ============================================================================
   MiniSite_v41 — فروشگاه آنلاین (E-commerce)
   ARCHITECTURE: sticky side-index rail (nav spine) + scrolling content stream.
   Palette: white surface + electric blue (#1d4ed8 / #2563eb) + amber accent (#f59e0b).
   ============================================================================ */

@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazir-FD-WOL.woff') format('woff'); font-weight: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazir-Bold-FD-WOL.woff') format('woff'); font-weight: bold; font-display: swap; }

.shopx-shell {
    --sx-blue: #2563eb;
    --sx-blue-dk: #1d4ed8;
    --sx-blue-50: #eff4ff;
    --sx-amber: #f59e0b;
    --sx-amber-dk: #d97706;
    --sx-ink: #0f1b33;
    --sx-muted: #5a6782;
    --sx-line: #e6ebf3;
    --sx-bg: #f6f8fc;
    --sx-card: #ffffff;
    --sx-rail-w: 286px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: var(--sx-ink);
    background: var(--sx-bg);
    direction: rtl;
    line-height: 1.85;
    display: grid;
    grid-template-columns: var(--sx-rail-w) 1fr;
    align-items: start;
    min-height: 100vh;
}

.shopx-shell *, .shopx-shell *::before, .shopx-shell *::after { box-sizing: border-box; }
.shopx-shell h1, .shopx-shell h2, .shopx-shell h3, .shopx-shell h4 { margin: 0; line-height: 1.5; font-weight: 800; }
.shopx-shell p { margin: 0; }
.shopx-shell img { max-width: 100%; display: block; }

/* ─────────────────────────── STICKY SIDE-INDEX RAIL ─────────────────────────── */
.shopx-rail {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    border-inline-start: 1px solid var(--sx-line);
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: -1px 0 0 var(--sx-line) inset;
    z-index: 40;
    overflow: hidden;
}
.shopx-rail-inner {
    height: 100%;
    overflow-y: auto;
    padding: 26px 18px 26px 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.shopx-rail-inner::-webkit-scrollbar { width: 6px; }
.shopx-rail-inner::-webkit-scrollbar-thumb { background: #d7deec; border-radius: 8px; }

.shopx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--sx-ink); padding: 6px 8px; }
.shopx-brand-mark {
    width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.25rem; color: #fff;
    background: linear-gradient(135deg, var(--sx-blue), var(--sx-blue-dk));
    box-shadow: 0 8px 18px rgba(37,99,235,.32);
}
.shopx-brand-text { display: flex; flex-direction: column; line-height: 1.4; }
.shopx-brand-text strong { font-size: 1.12rem; font-weight: 800; }
.shopx-brand-text small { color: var(--sx-muted); font-size: .76rem; }

.shopx-index { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; }
.shopx-index-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 11px;
    text-decoration: none; color: var(--sx-muted);
    font-size: .92rem; font-weight: 700;
    transition: background .2s, color .2s, transform .2s;
    position: relative;
}
.shopx-index-link i { font-size: .92rem; width: 18px; text-align: center; color: #97a3bd; transition: color .2s; }
.shopx-index-link .sx-dot {
    position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%) scaleY(0);
    width: 3px; height: 60%; border-radius: 4px;
    background: linear-gradient(180deg, var(--sx-blue), var(--sx-amber));
    transition: transform .25s;
}
.shopx-index-link:hover { background: var(--sx-blue-50); color: var(--sx-blue-dk); }
.shopx-index-link:hover i { color: var(--sx-blue); }
.shopx-index-link.is-active {
    background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(245,158,11,.08));
    color: var(--sx-blue-dk);
}
.shopx-index-link.is-active i { color: var(--sx-blue); }
.shopx-index-link.is-active .sx-dot { transform: translateY(-50%) scaleY(1); }

.shopx-rail-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 14px; border-radius: 13px; text-decoration: none;
    font-weight: 800; font-size: .95rem; color: #fff;
    background: linear-gradient(135deg, var(--sx-amber), var(--sx-amber-dk));
    box-shadow: 0 10px 22px rgba(245,158,11,.32);
    transition: transform .2s, box-shadow .2s;
}
.shopx-rail-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(245,158,11,.42); }
.shopx-rail-phone {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; color: var(--sx-blue-dk); font-weight: 700; font-size: .92rem;
    padding: 8px; border-radius: 11px; border: 1px solid var(--sx-line);
}

/* ─────────────────────────── MOBILE TOP BAR ─────────────────────────── */
.shopx-mobilebar { display: none; }

/* ─────────────────────────── CONTENT STREAM ─────────────────────────── */
.shopx-stream { min-width: 0; padding: 30px clamp(16px, 4vw, 54px) 0; }
.shopx-block { max-width: 1080px; margin: 0 auto 64px; scroll-margin-top: 24px; }

.shopx-head { text-align: center; margin-bottom: 30px; }
.shopx-eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .3px;
    color: var(--sx-blue); background: var(--sx-blue-50);
    padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
.shopx-head h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
.shopx-head p { color: var(--sx-muted); margin-top: 8px; max-width: 620px; margin-inline: auto; }
.shopx-head--amber .shopx-eyebrow { color: var(--sx-amber-dk); background: #fff5e6; }

/* Buttons */
.shopx-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 22px; border-radius: 13px; border: 0; cursor: pointer;
    font-family: inherit; font-weight: 800; font-size: .96rem; text-decoration: none;
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.shopx-btn-sm { padding: 9px 16px; font-size: .88rem; }
.shopx-btn-primary { background: linear-gradient(135deg, var(--sx-blue), var(--sx-blue-dk)); color: #fff; box-shadow: 0 10px 22px rgba(37,99,235,.30); }
.shopx-btn-amber { background: linear-gradient(135deg, var(--sx-amber), var(--sx-amber-dk)); color: #fff; box-shadow: 0 10px 22px rgba(245,158,11,.30); }
.shopx-btn-light { background: #fff; color: var(--sx-blue-dk); box-shadow: 0 10px 22px rgba(15,27,51,.16); }
.shopx-btn:hover { transform: translateY(-2px); filter: brightness(1.03); }

/* ── HERO ── */
.shopx-hero-card {
    background: linear-gradient(135deg, #0c1a3a 0%, #16306b 55%, #1d4ed8 100%);
    border-radius: 26px; padding: clamp(24px, 4vw, 48px);
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center;
    color: #fff; position: relative; overflow: hidden;
    box-shadow: 0 22px 50px rgba(12,26,58,.28);
}
.shopx-hero-card::after {
    content: ''; position: absolute; inset-inline-end: -90px; top: -90px;
    width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.35), transparent 70%);
}
.shopx-hero-text { position: relative; z-index: 1; }
.shopx-pill {
    display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 800;
    background: rgba(255,255,255,.14); color: #ffd99b; padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.shopx-hero-text h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.45; }
.shopx-hero-text p { color: #cdd9f4; margin-top: 14px; font-size: 1.02rem; }
.shopx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.shopx-hero-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: .86rem; color: #b9c7e8; }
.shopx-hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.shopx-hero-trust i { color: var(--sx-amber); }
.shopx-hero-media { position: relative; z-index: 1; }
.shopx-hero-media img { width: 100%; height: 320px; object-fit: cover; border-radius: 20px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.shopx-hero-tag {
    position: absolute; inset-block-end: -14px; inset-inline-start: 18px;
    background: #fff; color: var(--sx-amber-dk); font-weight: 800; font-size: .9rem;
    padding: 10px 16px; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.18);
    display: inline-flex; align-items: center; gap: 8px;
}

/* stats bar */
.shopx-statsbar {
    margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px;
}
.shopx-stat {
    background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 16px;
    padding: 18px 14px; text-align: center;
}
.shopx-stat > i { font-size: 1.3rem; color: var(--sx-blue); }
.shopx-stat-num { font-size: 1.5rem; font-weight: 800; margin-top: 6px; color: var(--sx-ink); }
.shopx-stat-lbl { font-size: .84rem; color: var(--sx-muted); }

/* ── CATEGORIES ── */
.shopx-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.shopx-cat-card {
    background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 16px;
    padding: 22px 14px; text-align: center; text-decoration: none; color: var(--sx-ink);
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.shopx-cat-card:hover { transform: translateY(-4px); border-color: var(--sx-blue); box-shadow: 0 14px 28px rgba(37,99,235,.14); }
.shopx-cat-ic {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem;
    color: var(--sx-blue); background: var(--sx-blue-50);
}
.shopx-cat-name { font-weight: 800; font-size: .98rem; }
.shopx-cat-count { font-size: .8rem; color: var(--sx-muted); }

/* ── PRODUCTS GRID (the commerce backbone) ── */
.shopx-prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 18px; }
.shopx-prod {
    background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 18px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.shopx-prod:hover { transform: translateY(-5px); border-color: var(--sx-blue); box-shadow: 0 18px 34px rgba(15,27,51,.12); }
.shopx-prod-media { position: relative; aspect-ratio: 1 / 1; background: #f1f4fa; overflow: hidden; }
.shopx-prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shopx-prod:hover .shopx-prod-media img { transform: scale(1.06); }
.shopx-prod-badge {
    position: absolute; inset-block-start: 10px; inset-inline-start: 10px;
    background: linear-gradient(135deg, var(--sx-amber), var(--sx-amber-dk)); color: #fff;
    font-size: .76rem; font-weight: 800; padding: 4px 11px; border-radius: 50px;
}
.shopx-prod-fav {
    position: absolute; inset-block-start: 10px; inset-inline-end: 10px;
    width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.92); color: #94a3b8; display: grid; place-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.12); transition: color .2s, transform .2s;
}
.shopx-prod-fav.is-fav { color: #ef4444; transform: scale(1.08); }
.shopx-prod-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.shopx-prod-body h3 { font-size: 1rem; }
.shopx-prod-desc { color: var(--sx-muted); font-size: .85rem; line-height: 1.7; flex: 1; }
.shopx-prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.shopx-prod-price { display: flex; flex-direction: column; line-height: 1.4; }
.shopx-prod-price del { color: #aeb7c9; font-size: .78rem; }
.shopx-prod-price span { font-weight: 800; color: var(--sx-blue-dk); font-size: 1.02rem; }
.shopx-prod-add {
    width: 42px; height: 42px; flex: 0 0 42px; border: 0; cursor: pointer; border-radius: 12px;
    background: linear-gradient(135deg, var(--sx-blue), var(--sx-blue-dk)); color: #fff; font-size: 1rem;
    display: grid; place-items: center; transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 14px rgba(37,99,235,.30);
}
.shopx-prod-add:hover { transform: translateY(-2px) scale(1.05); }

/* ── DEALS ── */
.shopx-deals .shopx-deal-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.shopx-deal {
    display: flex; gap: 14px; background: var(--sx-card);
    border: 1px solid #fde6c2; border-radius: 18px; padding: 14px;
    box-shadow: 0 8px 20px rgba(245,158,11,.08);
}
.shopx-deal-media { flex: 0 0 110px; }
.shopx-deal-media img { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; }
.shopx-deal-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.shopx-deal-body h4 { font-size: 1rem; }
.shopx-deal-price { display: flex; align-items: baseline; gap: 8px; }
.shopx-deal-price span { font-weight: 800; color: var(--sx-amber-dk); font-size: 1.05rem; }
.shopx-deal-price del { color: #b6bfd0; font-size: .82rem; }
.shopx-deal-note { font-size: .8rem; color: var(--sx-muted); display: inline-flex; align-items: center; gap: 6px; }
.shopx-deal .shopx-btn { margin-top: auto; align-self: flex-start; }

/* ── FEATURES / WHY ── */
.shopx-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.shopx-feat {
    display: flex; gap: 14px; background: var(--sx-card); border: 1px solid var(--sx-line);
    border-radius: 16px; padding: 20px;
}
.shopx-feat-ic {
    flex: 0 0 50px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
    font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--sx-blue), var(--sx-blue-dk));
}
.shopx-feat h4 { font-size: 1.02rem; }
.shopx-feat p { color: var(--sx-muted); font-size: .88rem; margin-top: 5px; }

/* ── BRANDS ── */
.shopx-brands { text-align: center; }
.shopx-brands-title { color: var(--sx-muted); font-weight: 700; margin-bottom: 18px; }
.shopx-brands-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px; }
.shopx-brand-item { opacity: .75; transition: opacity .2s; }
.shopx-brand-item:hover { opacity: 1; }
.shopx-brand-item img { height: 40px; width: auto; object-fit: contain; filter: grayscale(1); }
.shopx-brand-item:hover img { filter: grayscale(0); }
.shopx-brand-item span { font-weight: 800; color: var(--sx-muted); font-size: 1.05rem; }

/* ── ORDER / WIDGET ── */
.shopx-order {
    background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 22px;
    padding: clamp(22px, 4vw, 40px); box-shadow: 0 14px 34px rgba(15,27,51,.06);
}
.shopx-order-head { text-align: center; margin-bottom: 24px; }
.shopx-order-ic {
    width: 60px; height: 60px; border-radius: 18px; display: inline-grid; place-items: center; font-size: 1.5rem;
    color: #fff; background: linear-gradient(135deg, var(--sx-blue), var(--sx-blue-dk));
    box-shadow: 0 10px 22px rgba(37,99,235,.32); margin-bottom: 14px;
}
.shopx-order-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.shopx-order-head p { color: var(--sx-muted); margin-top: 8px; }
.shopx-widget-shell {
    background: var(--sx-bg); border: 1px solid var(--sx-line); border-radius: 16px;
    padding: 14px; overflow: hidden;
}

/* ── PROCESS ── */
.shopx-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: step; }
.shopx-step {
    background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 16px; padding: 24px 18px; text-align: center; position: relative;
}
.shopx-step-num {
    width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 13px; font-weight: 800; font-size: 1.1rem;
    color: var(--sx-blue-dk); background: var(--sx-blue-50); margin-bottom: 12px;
}
.shopx-step h4 { font-size: 1.02rem; }
.shopx-step p { color: var(--sx-muted); font-size: .88rem; margin-top: 6px; }

/* ── ABOUT ── */
.shopx-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center;
    background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 22px; padding: clamp(20px, 3vw, 34px); }
.shopx-about-img img { width: 100%; height: 340px; object-fit: cover; border-radius: 18px; }
.shopx-about-text h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 8px; }
.shopx-about-text p { color: var(--sx-muted); margin-top: 14px; }
.shopx-about-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shopx-about-list li { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .92rem; }
.shopx-about-list i { color: var(--sx-blue); }

/* ── REVIEWS ── */
.shopx-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.shopx-review { background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 18px; padding: 22px; }
.shopx-review-stars { color: var(--sx-amber); display: flex; gap: 3px; margin-bottom: 10px; }
.shopx-review-text { color: #45506b; line-height: 1.9; font-size: .94rem; }
.shopx-review-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.shopx-review-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.shopx-review-av--ph { display: grid; place-items: center; background: var(--sx-blue-50); color: var(--sx-blue); }
.shopx-review-name { font-weight: 800; }
.shopx-review-role { font-size: .82rem; color: var(--sx-muted); }

/* ── FAQ ── */
.shopx-faq { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.shopx-faq-item { background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 14px; overflow: hidden; }
.shopx-faq-q {
    width: 100%; text-align: start; border: 0; background: transparent; cursor: pointer;
    font-family: inherit; font-weight: 700; font-size: .98rem; color: var(--sx-ink);
    padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.shopx-faq-q i { transition: transform .25s; color: var(--sx-blue); }
.shopx-faq-item.is-open .shopx-faq-q i { transform: rotate(180deg); }
.shopx-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--sx-muted); padding: 0 18px; }
.shopx-faq-item.is-open .shopx-faq-a { max-height: 320px; padding: 0 18px 16px; }

/* ── CONTACT ── */
.shopx-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shopx-ct-card { background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 18px; padding: 24px; }
.shopx-ct-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.shopx-ct-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--sx-line); }
.shopx-ct-row:last-of-type { border-bottom: 0; }
.shopx-ct-row > i { color: var(--sx-blue); font-size: 1.05rem; margin-top: 4px; width: 20px; text-align: center; }
.shopx-ct-lbl { font-size: .8rem; color: var(--sx-muted); }
.shopx-ct-val { font-weight: 700; font-size: .94rem; }
.shopx-ct-val a { color: var(--sx-blue-dk); text-decoration: none; }
.shopx-hours { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sx-line); }
.shopx-hours h4 { font-size: .92rem; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--sx-blue-dk); }
.shopx-h-row { display: flex; justify-content: space-between; font-size: .88rem; padding: 4px 0; color: var(--sx-muted); }
.shopx-ct-socials { display: flex; gap: 10px; margin-top: 16px; }
.shopx-soc {
    width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; text-decoration: none;
    color: var(--sx-blue-dk); background: var(--sx-blue-50); transition: background .2s, color .2s, transform .2s;
}
.shopx-soc:hover { background: var(--sx-blue); color: #fff; transform: translateY(-2px); }
.shopx-map { border-radius: 18px; overflow: hidden; border: 1px solid var(--sx-line); min-height: 320px; }
.shopx-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ── CTA ── */
.shopx-cta { }
.shopx-cta-inner {
    background: linear-gradient(135deg, var(--sx-blue), var(--sx-blue-dk));
    border-radius: 24px; padding: clamp(28px, 4vw, 48px); text-align: center; color: #fff;
    box-shadow: 0 20px 44px rgba(37,99,235,.30);
}
.shopx-cta-inner h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.shopx-cta-inner p { color: #d7e2ff; margin-top: 10px; }
.shopx-cta-inner .shopx-btn { margin-top: 20px; }

/* ── FOOTER ── */
.shopx-footer { background: #0c1a3a; color: #c4cfe6; border-radius: 24px 24px 0 0; padding: 36px clamp(22px, 4vw, 44px) 0; margin-top: 12px; }
.shopx-footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.shopx-footer-brand h3 { color: #fff; font-size: 1.2rem; }
.shopx-footer-brand p { margin-top: 10px; font-size: .9rem; color: #9fb0d2; }
.shopx-footer-social { display: flex; gap: 10px; margin-top: 14px; }
.shopx-footer-social .shopx-soc { background: rgba(255,255,255,.08); color: #fff; }
.shopx-footer-social .shopx-soc:hover { background: var(--sx-amber); }
.shopx-footer-news h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.shopx-footer-news p { font-size: .86rem; color: #9fb0d2; }
.shopx-news-form { display: flex; gap: 8px; margin-top: 12px; }
.shopx-news-form input {
    flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 11px;
    padding: 11px 14px; color: #fff; font-family: inherit; font-size: .9rem;
}
.shopx-news-form input::placeholder { color: #8093b8; }
.shopx-news-btn { border: 0; cursor: pointer; border-radius: 11px; padding: 0 16px; color: #fff; background: linear-gradient(135deg, var(--sx-amber), var(--sx-amber-dk)); }
.shopx-footer-bottom { text-align: center; padding: 18px 0; font-size: .82rem; color: #8093b8; }

/* ── FAB stack ── */
.shopx-fab-stack { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 60; }
.shopx-fab { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.2rem; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.22); transition: transform .2s; }
.shopx-fab:hover { transform: translateY(-3px) scale(1.05); }
.shopx-fab-wa { background: #25d366; }
.shopx-fab-call { background: var(--sx-blue); }
.shopx-fab-cart { background: linear-gradient(135deg, var(--sx-amber), var(--sx-amber-dk)); }

/* ── Mobile backdrop ── */
.shopx-rail-backdrop { display: none; }

/* ─────────────────────────── RESPONSIVE ─────────────────────────── */
@media (max-width: 1180px) {
    .shopx-shell { --sx-rail-w: 240px; }
    .shopx-hero-card { grid-template-columns: 1fr; }
    .shopx-hero-media img { height: 240px; }
    .shopx-about { grid-template-columns: 1fr; }
    .shopx-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .shopx-shell { grid-template-columns: 1fr; }
    .shopx-mobilebar {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: sticky; top: 0; z-index: 45; background: #fff; border-bottom: 1px solid var(--sx-line);
        padding: 12px 16px;
    }
    .shopx-mb-toggle, .shopx-mb-cart {
        width: 42px; height: 42px; border-radius: 12px; border: 0; cursor: pointer; display: grid; place-items: center;
        font-size: 1.1rem; color: var(--sx-blue-dk); background: var(--sx-blue-50); text-decoration: none;
    }
    .shopx-mb-cart { background: linear-gradient(135deg, var(--sx-amber), var(--sx-amber-dk)); color: #fff; }
    .shopx-mb-brand { font-weight: 800; display: inline-flex; align-items: center; gap: 8px; color: var(--sx-ink); }
    .shopx-mb-brand i { color: var(--sx-blue); }

    .shopx-rail {
        position: fixed; inset-block: 0; inset-inline-end: 0; height: 100vh; width: 300px; max-width: 86vw;
        transform: translateX(100%); transition: transform .3s ease; box-shadow: -8px 0 30px rgba(0,0,0,.18);
    }
    .shopx-rail.is-open { transform: translateX(0); }
    .shopx-rail-backdrop { display: block; position: fixed; inset: 0; background: rgba(8,15,33,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 44; }
    .shopx-rail-backdrop.is-open { opacity: 1; visibility: visible; }
    .shopx-stream { padding: 18px 16px 0; }
    .shopx-block { margin-bottom: 48px; }
    .shopx-footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .shopx-prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .shopx-prod-add { width: 38px; height: 38px; flex-basis: 38px; }
    .shopx-about-list { grid-template-columns: 1fr; }
    .shopx-deal { flex-direction: column; }
    .shopx-deal-media, .shopx-deal-media img { width: 100%; }
    .shopx-deal-media img { height: 160px; }
}


/* ===== Appointment widget — modal/calendar z-index over template layers ===== */
#bookingModal { z-index: 10050 !important; }
.modal-backdrop { z-index: 10040 !important; }
body .popover { z-index: 10060 !important; }
