:root {
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-soft: rgba(148, 163, 184, 0.22);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}
body {
    background: radial-gradient(circle at top, #eff6ff 0%, #f8fafc 38%, #f8fafc 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
}
.app-navbar {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.brand-badge {
    width: 34px; height: 34px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #60a5fa, #2563eb); color: #fff; box-shadow: 0 10px 20px rgba(59,130,246,.35);
}
.navbar-brand { font-weight: 800; letter-spacing: .1px; }
.nav-link-accent { color: #bfdbfe !important; }
.app-shell { min-height: calc(100vh - 170px); }
.card {
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    background: rgba(255,255,255,.96);
}
.shadow-sm { box-shadow: var(--shadow-soft) !important; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    box-shadow: 0 10px 18px rgba(59,130,246,.2);
}
.btn-primary:hover { opacity: .95; transform: translateY(-1px); }
.btn, .form-control, .form-select { border-radius: 14px; }
.form-control, .form-select {
    border: 1px solid rgba(148,163,184,.28);
    box-shadow: none;
}
.form-control:focus, .form-select:focus {
    border-color: rgba(59,130,246,.45);
    box-shadow: 0 0 0 .25rem rgba(59,130,246,.12);
}
.home-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 48%, #60a5fa 100%);
    box-shadow: 0 14px 34px rgba(37,99,235,.18);
}
.home-hero::before, .home-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
}
.home-hero::before { width: 180px; height: 180px; right: -52px; top: -52px; }
.home-hero::after { width: 120px; height: 120px; left: 9%; bottom: -64px; }
.home-hero h1 { font-size: clamp(1.6rem, 3vw, 2.55rem); line-height: 1.18; letter-spacing: -.02em; max-width: 860px; margin-left: auto; margin-right: auto; }
.home-hero .lead { font-size: clamp(.9rem, 1.55vw, 1rem); opacity: .92; font-weight: 400; }
.hero-search-box {
    max-width: 720px; margin: .95rem auto 0; background: rgba(255,255,255,.14); padding: 8px; border-radius: 16px;
    border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px);
}
.section-card { padding: 1rem; }
.product-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    border-radius: 22px; overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(15,23,42,.12) !important; border-color: rgba(59,130,246,.22); }
.product-card-modern { border-radius: 22px; }
.product-thumb-wrap { background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%); }
.product-thumb {
    height: 200px; width: 100%; object-fit: cover; border-radius: 18px; border: 2px solid #e9f2ff;
    box-shadow: 0 10px 20px rgba(78,115,223,.10);
}
.product-card .card-title a { color: var(--text-main); }
.product-meta-chip {
    display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 999px;
    background: #f8fafc; color: var(--text-muted); font-size: .78rem; border: 1px solid var(--border-soft);
}
.filter-card { padding: 1rem; }
.empty-state {
    padding: 2.4rem 1.25rem; text-align: center; color: var(--text-muted); background: var(--surface-soft);
    border-radius: 20px; border: 1px dashed rgba(148,163,184,.35);
}
.list-group-item.active { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); border-color: transparent; }
.admin-sidebar-list .list-group-item { border-left: 0; border-right: 0; }
.badge { font-weight: 700; }
.table th { font-weight: 700; text-transform: uppercase; font-size: .78rem; color: #64748b; }
.live-pulse-badge { position: relative; box-shadow: 0 0 0 0 rgba(220,53,69,.45); animation: livePulse 1.7s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(220,53,69,.45); } 70% { box-shadow: 0 0 0 10px rgba(220,53,69,0); } 100% { box-shadow: 0 0 0 0 rgba(220,53,69,0); } }
.footer { background: linear-gradient(135deg, #0f172a, #1e293b); }
.support-fab-wrap { position: fixed; right: 18px; bottom: 24px; z-index: 1035; }
.support-fab-btn {
    border: 0; border-radius: 999px; padding: .78rem 1rem; background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .55rem; box-shadow: 0 18px 35px rgba(34,197,94,.28);
}
.support-fab-btn.active { transform: translateY(-1px); }
.support-panel {
    width: min(320px, calc(100vw - 32px)); margin-bottom: .75rem; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--border-soft); background: rgba(255,255,255,.98); box-shadow: 0 18px 40px rgba(15,23,42,.18);
}
.support-panel-header { padding: .95rem 1rem; font-weight: 800; background: #eff6ff; border-bottom: 1px solid rgba(148,163,184,.18); }
.support-panel-body { padding: .65rem; display: grid; gap: .45rem; }
.support-link-item {
    display: flex; align-items: center; gap: .7rem; padding: .8rem .85rem; border-radius: 14px; text-decoration: none; color: var(--text-main);
    border: 1px solid rgba(148,163,184,.18); background: #fff;
}
.support-link-item:hover { background: #f8fbff; }
.report-thread-box, .report-thread { background: linear-gradient(180deg, rgba(248,249,250,.95), #fff); }
.report-bubble { border-radius: 18px !important; }
.report-attachment-link { display: inline-block; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); background: #fff; }
.report-attachment-thumb { display: block; width: 96px; height: 96px; object-fit: cover; }
@media (max-width: 991px) { .product-thumb { height: 180px; } }
@media (max-width: 767px) {
    .home-hero { border-radius: 22px; }
    .product-thumb { height: 170px; }
    .support-fab-wrap { right: 14px; bottom: 16px; }
    .table-responsive { font-size: .92rem; }
}


.purchase-card { position: relative; }
.purchase-card-focus {
    border: 1px solid rgba(59,130,246,.28);
    box-shadow: 0 22px 44px rgba(37,99,235,.16) !important;
}
.buy-flow-notice {
    display: flex; align-items: center; gap: .55rem;
    padding: .85rem 1rem; border-radius: 16px;
    background: linear-gradient(135deg, rgba(219,234,254,.95), rgba(239,246,255,.98));
    border: 1px solid rgba(96,165,250,.28); color: #1e3a8a;
}
.support-fab-wrap { position: fixed; right: 18px; bottom: 24px; z-index: 1035; display: flex; flex-direction: column; align-items: flex-end; }
.support-fab-btn {
    min-width: 188px; border: 0; border-radius: 22px; padding: .82rem .95rem;
    background: linear-gradient(135deg, #0f172a, #1e3a8a 55%, #2563eb);
    color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .75rem;
    box-shadow: 0 20px 40px rgba(37,99,235,.28);
    border: 1px solid rgba(255,255,255,.12); position: relative; overflow: hidden;
}
.support-fab-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,.16), rgba(255,255,255,0));
    pointer-events: none;
}
.support-fab-btn:hover, .support-fab-btn.active { transform: translateY(-2px); }
.support-fab-dot { width: 10px; height: 10px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 6px rgba(34,197,94,.12); flex: 0 0 auto; }
.support-fab-icon { width: 40px; height: 40px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); font-size: 1.05rem; }
.support-fab-copy { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.support-fab-copy strong { font-size: .84rem; font-weight: 700; }
.support-fab-copy small { font-size: .66rem; color: rgba(255,255,255,.78); }
.support-fab-chevron { margin-left: auto; opacity: .85; transition: transform .25s ease; }
.support-fab-btn.active .support-fab-chevron { transform: rotate(180deg); }
.support-panel {
    width: min(310px, calc(100vw - 24px)); margin-bottom: .6rem; border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(148,163,184,.18); background: rgba(255,255,255,.98); box-shadow: 0 24px 48px rgba(15,23,42,.22);
}
.support-panel-header {
    padding: .85rem; background: linear-gradient(135deg, #eff6ff, #dbeafe 55%, #f8fbff);
    border-bottom: 1px solid rgba(148,163,184,.14);
}
.support-panel-title-row { display: flex; align-items: center; gap: .85rem; }
.support-panel-icon { width: 38px; height: 38px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 12px 24px rgba(37,99,235,.2); }
.support-panel-title { font-size: .88rem; font-weight: 800; color: #0f172a; }
.support-panel-subtitle { font-size: .7rem; color: #475569; margin-top: .15rem; }
.support-panel-body { padding: .65rem; display: grid; gap: .45rem; }
.support-link-item {
    display: flex; align-items: center; gap: .65rem; padding: .72rem; border-radius: 14px; text-decoration: none; color: var(--text-main);
    border: 1px solid rgba(148,163,184,.14); background: linear-gradient(180deg, #ffffff, #f8fbff);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.support-link-item:hover {
    background: linear-gradient(180deg, #ffffff, #eff6ff); border-color: rgba(59,130,246,.22);
    transform: translateY(-1px); box-shadow: 0 14px 26px rgba(59,130,246,.08);
}
.support-link-icon { width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #eff6ff; color: #2563eb; flex: 0 0 auto; }
.support-link-text { display: flex; flex-direction: column; line-height: 1.1; }
.support-link-text strong { font-size: .84rem; }
.support-link-text small { margin-top: .12rem; font-size: .66rem; color: #64748b; }
.support-link-arrow { margin-left: auto; color: #94a3b8; font-size: .82rem; }
@media (max-width: 767px) {
    .support-fab-wrap { right: 12px; left: 12px; bottom: 14px; align-items: stretch; }
    .support-fab-btn { min-width: 0; width: 100%; }
    .support-panel { width: 100%; }
    .support-fab-copy small { display: none; }
}

.hero-mini-badge { font-size: .75rem; font-weight: 700; }
.hero-subcopy { max-width: 760px; margin-left: auto; margin-right: auto; }
.message-channel-chip { display:inline-flex; align-items:center; gap:.55rem; padding:.85rem 1rem; border-radius:16px; width:100%; border:1px solid rgba(148,163,184,.24); background:#f8fafc; font-weight:600; }
.message-channel-chip.telegram { color:#1d4ed8; background:linear-gradient(180deg,#eff6ff,#f8fbff); }
.message-channel-chip.email { color:#047857; background:linear-gradient(180deg,#ecfdf5,#f8fafc); }
.message-tip-box { border:1px dashed rgba(148,163,184,.35); border-radius:16px; padding:.9rem 1rem; background:#f8fafc; }

.campaign-status-bar {
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:.65rem;
    padding:.8rem;
    border:1px solid rgba(148,163,184,.18);
    border-radius:16px;
    background:linear-gradient(180deg,#ffffff,#f8fafc);
}
.campaign-status-item {
    border-radius:14px;
    padding:.7rem .8rem;
    background:#f8fbff;
    border:1px solid rgba(191,219,254,.55);
}
.campaign-status-item small { display:block; color:#64748b; margin-bottom:.18rem; }
.campaign-status-item strong { font-size:.9rem; color:#0f172a; }
.campaign-detail-row td { border-top:0; }
.campaign-detail-box {
    border:1px solid rgba(148,163,184,.18);
    border-radius:16px;
    padding:.9rem 1rem;
    background:#fff;
}
.campaign-detail-grid {
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:1rem;
}
.campaign-thumb-preview {
    max-width:220px;
    width:100%;
    border-radius:14px;
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 10px 24px rgba(15,23,42,.08);
}
@media (max-width: 767px) {
    .campaign-status-bar,
    .campaign-detail-grid { grid-template-columns: 1fr; }
}

/* phase15 hotfix: compact hero, cleaner font, smaller CSKH widget */
body {
    font-family: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.navbar-brand, .btn, h1, h2, h3, h4, h5, h6 { letter-spacing: -0.01em; }
.home-hero {
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(37,99,235,.14);
}
.home-hero::before { width: 150px; height: 150px; right: -48px; top: -48px; }
.home-hero::after { width: 92px; height: 92px; left: 10%; bottom: -46px; }
.home-hero-inner { max-width: 980px; }
.home-hero h1,
.home-hero-title {
    font-size: clamp(1.3rem, 2.2vw, 2.05rem);
    line-height: 1.16;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: .55rem !important;
    font-weight: 800;
}
.home-hero .lead,
.hero-subcopy {
    font-size: clamp(.84rem, 1.15vw, .96rem);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}
.hero-mini-badge {
    font-size: .68rem;
    padding: .42rem .8rem !important;
    margin-bottom: .55rem !important;
}
.hero-search-box,
.hero-search-box-compact {
    max-width: 660px;
    margin-top: .8rem !important;
    padding: 6px;
    border-radius: 14px;
}
.hero-search-input {
    min-height: 44px;
    font-size: 1rem;
    border-radius: 12px !important;
}
.hero-search-submit {
    min-height: 44px;
    font-size: 1rem;
    border-radius: 12px !important;
    padding-left: 1rem;
    padding-right: 1rem;
}
.support-fab-wrap {
    right: 16px;
    bottom: 18px;
}
.support-fab-btn {
    min-width: 150px;
    padding: .6rem .75rem;
    border-radius: 18px;
    gap: .55rem;
    box-shadow: 0 14px 26px rgba(37,99,235,.2);
}
.support-fab-dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}
.support-fab-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    font-size: .9rem;
}
.support-fab-copy strong { font-size: .76rem; }
.support-fab-copy small {
    font-size: .6rem;
    line-height: 1;
}
.support-fab-chevron { font-size: .7rem; }
.support-panel {
    width: min(272px, calc(100vw - 28px));
    margin-bottom: .5rem;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(15,23,42,.16);
}
.support-panel-header { padding: .7rem .75rem; }
.support-panel-title-row { gap: .65rem; }
.support-panel-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    font-size: .9rem;
}
.support-panel-title { font-size: .8rem; }
.support-panel-subtitle {
    font-size: .63rem;
    line-height: 1.3;
}
.support-panel-body {
    padding: .5rem;
    gap: .35rem;
}
.support-link-item {
    gap: .55rem;
    padding: .58rem .62rem;
    border-radius: 12px;
}
.support-link-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: .82rem;
}
.support-link-text strong { font-size: .76rem; }
.support-link-text small {
    font-size: .6rem;
    margin-top: .08rem;
}
.support-link-arrow { font-size: .72rem; }
@media (max-width: 767px) {
    .home-hero { border-radius: 18px; }
    .home-hero h1,
    .home-hero-title { font-size: 1.22rem; max-width: 100%; }
    .hero-search-box,
    .hero-search-box-compact { max-width: 100%; padding: 5px; }
    .hero-search-input,
    .hero-search-submit { min-height: 40px; font-size: .95rem; }
    .support-fab-wrap { right: 12px; bottom: 12px; left: auto; }
    .support-panel { width: min(252px, calc(100vw - 24px)); }
    .support-fab-btn { min-width: 134px; }
}


/* phase16 refined compact hero + compact cskh */
.home-hero {
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(37,99,235,.12);
}
.home-hero .container,
.home-hero-inner { max-width: 900px; }
.home-hero h1,
.home-hero-title {
    font-size: clamp(1.45rem, 2.2vw, 2.15rem) !important;
    line-height: 1.18;
    font-weight: 800;
    max-width: 760px;
}
.home-hero .lead,
.hero-subcopy {
    font-size: .95rem !important;
    max-width: 690px;
}
.hero-search-box,
.hero-search-box-compact {
    max-width: 630px !important;
    padding: 6px !important;
    margin-top: .75rem !important;
}
.hero-search-input {
    min-height: 42px;
    font-size: .95rem;
}
.hero-search-submit {
    min-height: 42px;
    font-size: .95rem;
}
.support-fab-wrap {
    right: 14px !important;
    bottom: 18px !important;
}
.support-fab-btn {
    min-width: 148px !important;
    border-radius: 18px !important;
    padding: .58rem .7rem !important;
    gap: .55rem !important;
}
.support-fab-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    font-size: .9rem !important;
}
.support-fab-copy strong { font-size: .74rem !important; }
.support-fab-copy small { font-size: .62rem !important; }
.support-panel {
    width: min(270px, calc(100vw - 20px)) !important;
    border-radius: 16px !important;
    margin-bottom: .45rem !important;
}
.support-panel-header { padding: .62rem .72rem !important; }
.support-panel-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 11px !important;
}
.support-panel-title { font-size: .78rem !important; }
.support-panel-subtitle { font-size: .64rem !important; }
.support-panel-body { padding: .5rem !important; gap: .38rem !important; }
.support-link-item {
    padding: .55rem .58rem !important;
    border-radius: 12px !important;
}
.support-link-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 10px !important;
}
.support-link-text strong { font-size: .74rem !important; }
.support-link-text small { font-size: .62rem !important; }
body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 14.5px;
}
@media (max-width: 767px) {
    .home-hero h1,
    .home-hero-title { font-size: 1.35rem !important; }
    .hero-search-box,
    .hero-search-box-compact { max-width: 100% !important; }
    .support-panel { width: min(260px, calc(100vw - 20px)) !important; }
}


/* phase17 popup notice */
.popup-editor-card { border-color: rgba(148,163,184,.22) !important; }
.popup-editor-toolbar { background: #f8fafc; }
.popup-editor-toolbar .btn,
.popup-editor-toolbar .form-select { border-radius: 10px; }
.popup-editor-toolbar .btn { min-width: 36px; }
#popupContentEditor {
    min-height: 240px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    line-height: 1.55;
    resize: vertical;
}
#popupContentEditor.popup-editor-code-mode {
    background: #0f172a;
    color: #e2e8f0;
}
body.popup-opened { overflow: hidden; }
.home-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.home-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(4px);
}
.home-popup-modal {
    position: relative;
    width: min(620px, calc(100vw - 28px));
    max-height: min(82vh, 760px);
    overflow: auto;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
    border: 1px solid rgba(148,163,184,.24);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
    padding: 20px 20px 16px;
    z-index: 1;
}
.home-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #eef2ff;
    color: #334155;
}
.home-popup-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 44px;
    margin-bottom: 14px;
}
.home-popup-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 14px 30px rgba(37,99,235,.24);
}
.home-popup-eyebrow {
    font-size: .74rem;
    font-weight: 800;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .18rem;
}
.home-popup-content {
    border-radius: 18px;
    padding: 14px 15px;
    background: #fff;
    border: 1px solid rgba(148,163,184,.16);
    color: #0f172a;
    line-height: 1.65;
}
.home-popup-content p:last-child { margin-bottom: 0; }
.home-popup-content a { color: #2563eb; font-weight: 600; }
.home-popup-content ul,
.home-popup-content ol { padding-left: 1.15rem; margin-bottom: .6rem; }
.home-popup-content .popup-highlight-box {
    padding: .8rem .9rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #f8fbff);
    border: 1px solid rgba(96,165,250,.22);
}
.home-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 14px;
}
@media (max-width: 767px) {
    .home-popup-modal {
        padding: 16px 16px 14px;
        border-radius: 20px;
    }
    .home-popup-head {
        gap: 10px;
        margin-bottom: 12px;
    }
    .home-popup-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1rem;
    }
    .home-popup-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    .home-popup-actions .btn { width: 100%; }
}

.community-fab-wrap{position:fixed;right:22px;bottom:110px;z-index:1030}.community-fab-btn{display:flex;align-items:center;gap:12px;padding:12px 18px;border-radius:22px;background:linear-gradient(135deg,#6f42c1,#4f46e5);color:#fff;text-decoration:none;box-shadow:0 18px 35px rgba(79,70,229,.28)}.community-fab-btn:hover{color:#fff;transform:translateY(-1px)}.community-fab-icon{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:18px}.community-fab-copy{display:flex;flex-direction:column;line-height:1.1}.community-fab-copy small{opacity:.85}
.community-page{padding-bottom:2rem}.community-hero,.community-card{background:#fff;border-radius:24px;border:1px solid rgba(15,23,42,.08);box-shadow:0 20px 40px rgba(15,23,42,.06);padding:24px}.community-hero{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;align-items:start}.community-hero-badge{display:inline-flex;align-items:center;gap:8px;background:#eef2ff;color:#4f46e5;padding:8px 14px;border-radius:999px;font-weight:700;margin-bottom:12px}.community-notification-box{background:#f8fafc;border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:16px}.community-notify-item{padding:12px 14px;border-radius:16px;background:#fff;border:1px solid rgba(15,23,42,.06);margin-bottom:10px}.community-notify-item.unread{border-color:#c7d2fe;background:#eef2ff}.community-pinned-strip{background:#fff;border-radius:24px;border:1px solid rgba(15,23,42,.08);box-shadow:0 20px 40px rgba(15,23,42,.05);padding:24px}.community-pinned-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.community-pinned-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid rgba(15,23,42,.08);border-radius:18px;text-decoration:none;color:inherit;background:#fafafa}.community-pinned-item:hover{border-color:#4f46e5}.community-pinned-thumb{width:72px;height:72px;border-radius:18px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#eef2ff;color:#4f46e5;flex:0 0 auto}.community-pinned-thumb img{width:100%;height:100%;object-fit:cover}.community-pinned-text{display:flex;flex-direction:column;gap:4px;min-width:0}.community-pinned-text span{font-size:13px;color:#64748b}
.community-post-form .community-post-textarea{border-radius:20px;min-height:130px;padding:18px}.community-file-input{max-width:340px}.community-feed-list{display:flex;flex-direction:column;gap:18px}.community-post-card{border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:22px;background:linear-gradient(180deg,#fff,#fcfcff)}.community-author{text-decoration:none;font-weight:700;color:#0f172a}.community-author:hover{color:#4f46e5}.community-post-meta{font-size:13px;color:#64748b}.community-post-content{font-size:15px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.community-post-image-wrap{border-radius:22px;overflow:hidden;border:1px solid rgba(15,23,42,.08);background:#f8fafc}.community-post-image{width:100%;display:block;max-height:520px;object-fit:cover}.community-post-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid rgba(15,23,42,.08);padding-top:16px}.community-reaction-group,.community-share-group{display:flex;flex-wrap:wrap;gap:8px}.community-react-btn{border:1px solid rgba(15,23,42,.12);background:#fff;border-radius:999px;padding:8px 12px;font-size:13px}.community-react-btn.active{background:#eef2ff;border-color:#818cf8;color:#4338ca}.community-comment-item{padding:14px;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.06);margin-bottom:10px}.community-featured-list{display:flex;flex-direction:column;gap:12px}.community-featured-item{display:block;text-decoration:none;color:inherit;padding:16px;border-radius:18px;border:1px solid rgba(15,23,42,.08);background:#fafafa}.community-featured-item:hover{border-color:#4f46e5}.community-featured-head,.community-featured-meta{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#64748b}.community-featured-body{margin:8px 0;font-size:14px;color:#0f172a}.community-sidebar-card{overflow:hidden;position:static}.community-admin-notice{display:flex;gap:12px;padding:12px;border-radius:18px;background:linear-gradient(180deg,#fff7ed,#ffffff);border:1px solid rgba(251,146,60,.28);margin-bottom:12px}.community-admin-notice-image{width:84px;flex:0 0 auto}.community-admin-notice-image img{width:100%;height:84px;object-fit:cover;border-radius:16px;border:1px solid rgba(15,23,42,.08)}.community-admin-notice-title{font-weight:700;color:#9a3412;margin-bottom:4px}.community-admin-notice-text{font-size:13px;color:#7c2d12;line-height:1.5}
@media (max-width:991.98px){.community-hero{grid-template-columns:1fr}.community-fab-wrap{bottom:86px;right:14px}.community-fab-btn{padding:10px 14px;border-radius:18px}.community-fab-copy small{display:none}}@media (max-width:767.98px){.community-card,.community-hero,.community-pinned-strip{padding:18px;border-radius:20px}.community-post-card{padding:16px;border-radius:18px}.community-post-actions{flex-direction:column;align-items:stretch}.community-reaction-group,.community-share-group{width:100%}.community-react-btn,.community-share-btn,.community-toggle-comments{flex:1}}

/* community v3 mobile/pc experience refinements */
.community-main-grid{align-items:start}
.community-main-col{order:2}
.community-side-col{order:1}
.community-featured-card{position:static!important;top:auto!important}
.community-notification-summary-card{background:linear-gradient(180deg,#f8fafc,#ffffff);border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:16px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.community-notification-summary-card:hover{transform:translateY(-1px);box-shadow:0 16px 32px rgba(15,23,42,.08)}.community-notify-summary-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.community-notify-summary-title{font-weight:800;color:#0f172a;margin-bottom:4px}.community-notify-summary-text{font-size:13px;color:#64748b;line-height:1.55}
.community-notification-overlay{position:fixed;inset:0;background:rgba(15,23,42,.34);z-index:1050}.community-notification-popup{position:fixed;top:90px;right:24px;width:min(420px,calc(100vw - 24px));max-height:min(72vh,680px);background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:24px;box-shadow:0 30px 70px rgba(15,23,42,.18);z-index:1055;display:flex;flex-direction:column;overflow:hidden}.community-notification-popup-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 18px 14px;border-bottom:1px solid rgba(15,23,42,.08);background:#f8fafc}.community-notification-popup-body{padding:16px;overflow:auto}.community-notification-open{overflow:hidden}
.community-compose-shell{padding:0!important;overflow:hidden;background:linear-gradient(135deg,#0f172a,#1e3a8a 58%,#2563eb);color:#fff;border:none;box-shadow:0 25px 60px rgba(30,64,175,.24)}.community-compose-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;background:none;border:none;color:#fff;text-align:left}.community-compose-toggle-copy{display:flex;flex-direction:column;gap:4px}.community-compose-toggle-copy strong{font-size:1.1rem;font-weight:800}.community-compose-toggle-copy small{font-size:.92rem;color:rgba(255,255,255,.82)}.community-compose-toggle-icon{width:52px;height:52px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16);font-size:1.1rem}.community-compose-panel{display:none;background:#fff;color:#0f172a;padding:24px;border-top:1px solid rgba(255,255,255,.14)}.community-compose-panel.is-open{display:block}.community-compose-panel-head{margin-bottom:14px}.community-post-form .community-post-textarea{background:#f8fafc}
.community-feed-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.community-feed-list>.text-muted{grid-column:1/-1}.community-post-card{height:100%}
.community-fab-wrap{transition:transform .22s ease,bottom .22s ease,opacity .22s ease}.support-panel-open .community-fab-wrap{transform:translateY(calc(-1 * var(--support-open-shift, 220px)));opacity:.98}
@media (min-width:1200px){.community-main-col{order:1}.community-side-col{order:2}}
@media (max-width:1199.98px){.community-feed-list{grid-template-columns:1fr}}
@media (max-width:991.98px){.community-main-col{order:2}.community-side-col{order:1}.community-notification-popup{top:auto;right:12px;bottom:132px;width:min(420px,calc(100vw - 24px));max-height:58vh}.community-fab-wrap{bottom:86px;right:14px}.support-panel-open .community-fab-wrap{transform:translateY(calc(-1 * var(--support-open-shift, 250px)))}}
@media (max-width:767.98px){.community-hero{grid-template-columns:1fr!important}.community-side-col{order:1}.community-main-col{order:2}.community-card,.community-hero,.community-pinned-strip{padding:18px;border-radius:20px}.community-notification-summary-card{padding:14px;border-radius:18px}.community-notify-summary-head{align-items:flex-start;flex-wrap:wrap}.community-notification-popup{left:12px;right:12px;width:auto;bottom:128px;top:auto;border-radius:20px;max-height:60vh}.community-compose-toggle{padding:18px}.community-compose-toggle-copy strong{font-size:1rem}.community-compose-toggle-copy small{font-size:.85rem}.community-compose-toggle-icon{width:46px;height:46px;border-radius:16px}.community-compose-panel{padding:16px}.community-feed-list{grid-template-columns:1fr}.community-fab-wrap{bottom:88px;right:12px;z-index:1030}.support-panel-open .community-fab-wrap{transform:translateY(calc(-1 * var(--support-open-shift, 290px)))}}


/* v13 compact refresh */
.page-home .container, .page-community .container, .page-user .container, .page-admin .container {max-width: 1320px;}
@media (min-width: 1500px){.page-home .container, .page-community .container, .page-user .container, .page-admin .container{max-width:1360px;}}

.hero-v2-compact{padding:28px 0 18px!important;}
.hero-v2-compact .container>.row{background:linear-gradient(135deg,#0f172a,#1d4ed8 72%,#2563eb);border-radius:28px;padding:34px 34px 28px;box-shadow:0 22px 50px rgba(15,23,42,.14);align-items:stretch;position:relative;overflow:hidden}
.hero-v2-compact .hero-title{font-size:clamp(2rem,3.8vw,3.3rem);line-height:1.05;margin-bottom:14px}
.hero-v2-compact .hero-subtitle{font-size:1.02rem;max-width:720px;margin-bottom:18px}
.hero-v2-compact .search-container{max-width:640px;margin-bottom:14px!important}
.hero-v2-compact .search-input{height:58px;font-size:15px}
.hero-v2-compact .btn.btn-mmo-primary{height:50px;border-radius:16px}
.hero-v2-compact .badge-mmo{margin-bottom:14px!important}
.hero-v2-compact .home-hero-sidecard{margin:10px 0 0 auto;max-width:420px;border-radius:24px;background:rgba(255,255,255,.9)!important;backdrop-filter:blur(10px)}
.stats-grid-compact{margin-top:-34px;position:relative;z-index:2;gap:18px}
.stats-grid-compact .stat-card{padding:20px 18px;border-radius:20px;box-shadow:0 18px 40px rgba(15,23,42,.08)}
.stats-grid-compact .stat-value{font-size:2rem}
.home-products-shell{padding-top:2rem!important}.home-products-shell .row.g-4{--bs-gutter-x:1.15rem;--bs-gutter-y:1.15rem}
.home-product-grid .product-card-v2{height:100%;padding:14px;border-radius:22px;box-shadow:0 16px 36px rgba(15,23,42,.07)}
.home-product-grid .product-img-wrapper{height:150px;border-radius:16px;overflow:hidden}.home-product-grid .product-img-wrapper img{width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.home-product-grid .product-card-v2:hover .product-img-wrapper img{transform:scale(1.05)}
.home-product-grid .product-title{font-size:1rem;line-height:1.35;min-height:2.7em;margin:10px 0 8px}
.home-product-grid .product-meta{font-size:12px;gap:10px}.home-product-grid .price-tag{font-size:1.1rem}.home-product-grid .btn{padding:.5rem .9rem;font-size:.88rem}
.home-product-grid .home-product-col{display:flex}.home-product-grid .home-product-col>div{width:100%}
.product-related-grid .product-card-v2,.related-products .product-card-v2,.product-related-list .product-card-v2{padding:12px;border-radius:20px;transition:transform .25s ease, box-shadow .25s ease}.product-related-grid .product-card-v2:hover,.related-products .product-card-v2:hover,.product-related-list .product-card-v2:hover{transform:translateY(-6px);box-shadow:0 18px 38px rgba(15,23,42,.12)}
.product-related-grid .product-img-wrapper img,.related-products .product-img-wrapper img,.product-related-list .product-img-wrapper img{transition:transform .28s ease}.product-related-grid .product-card-v2:hover .product-img-wrapper img,.related-products .product-card-v2:hover .product-img-wrapper img,.product-related-list .product-card-v2:hover .product-img-wrapper img{transform:scale(1.06)}
.home-why-compact{padding-top:1.5rem!important;padding-bottom:1rem!important}.home-why-card{padding:32px!important;border-radius:26px!important}.home-why-card h2{font-size:2rem}.home-why-card .d-grid{gap:1.2rem!important}

.page-community .community-page{max-width:1320px;margin:0 auto;padding:0 12px 1.8rem}.page-community .community-hero{grid-template-columns:minmax(0,1.5fr) 340px;gap:18px;padding:22px 24px;border-radius:24px}.page-community .community-hero h2{font-size:clamp(2rem,2.8vw,2.7rem);line-height:1.1;margin-bottom:10px}.page-community .community-notification-summary-card{padding:14px 16px;border-radius:18px}.page-community .community-pinned-strip{padding:18px 20px;border-radius:22px}.page-community .community-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.page-community .community-main-col,.page-community .community-side-col{width:100%;max-width:none}.page-community .community-main-col{order:1}.page-community .community-side-col{order:2}.page-community .community-card{padding:18px 20px;border-radius:22px;box-shadow:0 14px 30px rgba(15,23,42,.06)}.page-community .community-compose-shell{padding:0!important;border-radius:22px}.page-community .community-compose-toggle{padding:18px 20px}.page-community .community-compose-toggle-copy strong{font-size:1rem}.page-community .community-compose-toggle-copy small{font-size:.86rem}.page-community .community-compose-toggle-icon{width:44px;height:44px;border-radius:14px}.page-community .community-featured-card,.page-community .community-rules-card{position:sticky;top:96px}.page-community .community-rules-card{margin-top:16px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;box-shadow:0 18px 36px rgba(37,99,235,.22)}.page-community .community-rules-card .text-muted{color:rgba(255,255,255,.82)!important}.page-community .community-rule-list{padding-left:0;list-style:none;display:grid;gap:14px}.page-community .community-rule-list li{position:relative;padding-left:26px;line-height:1.55}.page-community .community-rule-list li:before{content:"";position:absolute;left:0;top:.45rem;width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 0 0 4px rgba(255,255,255,.12)}.page-community .community-feed-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.page-community .community-post-card{padding:16px 16px 14px;border-radius:18px}.page-community .community-post-content{font-size:14px;line-height:1.6}.page-community .community-post-image{max-height:320px}.page-community .community-featured-item{padding:14px;border-radius:16px}.page-community .community-featured-body{font-size:13px}.page-community .community-feed-tools{gap:10px}.page-community .community-feed-search-wrap{max-width:320px}.page-community .community-feed-search-input{height:40px}.page-community .community-card.community-compose-shell + .community-card{margin-top:14px}.page-community .community-pinned-item{padding:10px;border-radius:16px}.page-community .community-pinned-thumb{width:54px;height:54px;border-radius:14px}

.page-admin .container,.page-user .container{max-width:1360px}.page-admin .row.g-4,.page-user .row.g-4{--bs-gutter-x:1.2rem;--bs-gutter-y:1.2rem}.page-admin .admin-sidebar,.page-user .user-sidebar,.page-admin .card,.page-user .card{border-radius:22px}.page-admin .card,.page-user .card{box-shadow:0 14px 32px rgba(15,23,42,.06)}

.page-home .product-card,.page-home .product-card-v2,.page-products .product-card,.page-products .product-card-v2{box-shadow:0 12px 28px rgba(15,23,42,.06);border-radius:20px}.page-products .all-products-grid{--bs-gutter-x:1rem;--bs-gutter-y:1rem}.page-products .all-product-col{display:flex}.page-products .all-product-col>.card{width:100%}.page-products .product-thumb-wrap{padding:10px!important}.page-products .product-thumb{height:148px!important;object-fit:cover;border-radius:14px}.page-products .product-card{padding:0;border:1px solid rgba(15,23,42,.07)}.page-products .product-card .card-body{padding:14px}.page-products .product-card h6{font-size:.98rem;line-height:1.35;min-height:2.7em}.page-products .product-meta-chip{font-size:11px;padding:.35rem .55rem}.page-products .btn{font-size:.86rem}
@media (min-width:1200px){.page-products .col-xl-custom-5{flex:0 0 auto;width:20%}.page-home .home-product-grid .home-product-col{flex:0 0 auto;width:33.333%}}

.footer-v2 .footer-social-links a:hover{transform:translateY(-2px)}

@media (max-width:1199.98px){.page-community .community-main-grid{grid-template-columns:1fr}.page-community .community-featured-card,.page-community .community-rules-card{position:static}.page-community .community-feed-list{grid-template-columns:1fr 1fr}.hero-v2-compact .container>.row{padding:28px 26px 22px}}
@media (max-width:991.98px){.hero-v2-compact .container>.row{padding:24px 18px 20px}.hero-v2-compact .hero-title{font-size:2.2rem}.stats-grid-compact{margin-top:-22px;gap:12px}.home-why-card{padding:24px!important}.page-community .community-hero{grid-template-columns:1fr;padding:18px}.page-community .community-feed-list{grid-template-columns:1fr}.page-home .home-product-grid .home-product-col{width:50%}.page-products .col-xl-custom-5{width:33.333%}}
@media (max-width:767.98px){.hero-v2-compact{padding:16px 0 10px!important}.hero-v2-compact .container>.row{padding:18px 14px 18px;border-radius:22px}.hero-v2-compact .hero-title{font-size:1.8rem}.hero-v2-compact .search-input{height:50px;font-size:14px}.stats-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.stats-grid-compact .stat-card{padding:16px 12px;border-radius:18px}.home-why-card h2{font-size:1.5rem}.page-home .home-product-grid .home-product-col,.page-products .col-xl-custom-5{width:50%}.page-home .home-products-shell .col-lg-3{order:2}.page-home .home-products-shell .col-lg-9{order:1}.page-home .home-products-shell .card{padding:16px!important}.page-community .community-page{padding:0 8px 1rem}.page-community .community-hero h2{font-size:1.8rem}.page-community .community-card,.page-community .community-pinned-strip{padding:14px 14px}.page-community .community-compose-toggle{padding:15px}.page-community .community-pinned-strip .d-flex{margin-bottom:10px!important}.page-community .community-feed-search-wrap{max-width:none;width:100%}.footer-v2 .row.g-4{row-gap:1.25rem!important}.footer-v2 .col-lg-4,.footer-v2 .col-lg-3{width:100%}}

.page-products .purchase-card{padding:1.5rem!important;border-radius:24px!important;box-shadow:0 16px 34px rgba(15,23,42,.08)}
.page-products .purchase-card h1{font-size:clamp(2rem,3.2vw,2.9rem);line-height:1.12;margin-bottom:1rem!important}.page-products .purchase-card .fs-1{font-size:2rem!important}.page-products .purchase-card .bg-light{padding:1rem!important;border-radius:18px!important}.page-products .card-img-top{max-height:420px!important;border-radius:24px;object-fit:cover}.page-products section.mt-5{margin-top:2.2rem!important}.page-products section.mt-5 .row.g-3{--bs-gutter-x:.9rem;--bs-gutter-y:.9rem}.page-products section.mt-5 .card{transition:transform .24s ease,box-shadow .24s ease}.page-products section.mt-5 .card:hover{transform:translateY(-6px);box-shadow:0 18px 34px rgba(15,23,42,.12)}.page-products section.mt-5 .card img{transition:transform .28s ease}.page-products section.mt-5 .card:hover img{transform:scale(1.05)}
@media (max-width:767.98px){.page-products .purchase-card{padding:1rem!important}.page-products .purchase-card h1{font-size:1.55rem}.page-products .purchase-card .fs-1{font-size:1.55rem!important}.page-products .card-img-top{max-height:280px!important}}

/* v15 mobile + home polish */
.why-logo-frame{max-width:420px;min-height:230px;display:flex;align-items:center;justify-content:center;padding:22px 26px;border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(241,245,249,.92));border:1px solid rgba(255,255,255,.3);box-shadow:0 22px 40px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.5)}
.why-logo-image{width:100%;max-width:360px;max-height:150px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(15,23,42,.10))}
.home-mobile-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-shortcut-card{border:1px solid rgba(148,163,184,.18);background:#fff;border-radius:18px;padding:14px 14px;display:flex;align-items:center;gap:12px;box-shadow:0 10px 24px rgba(15,23,42,.06);width:100%;text-align:left}
.home-shortcut-card .shortcut-icon{width:38px;height:38px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex:0 0 38px}
.home-shortcut-card .shortcut-label{font-weight:800;font-size:.96rem;flex:1;color:#0f172a}.home-shortcut-card .shortcut-chevron{font-size:12px;color:#64748b}
.home-mobile-panel{padding:14px!important}
.home-mobile-panel .list-group-item{font-size:.92rem}
@media (min-width:992px){.home-mobile-shortcuts,.home-mobile-panel{display:none!important}}
@media (max-width:991.98px){
  .navbar-brand{font-size:2rem!important}
  .navbar .container{position:relative}
  .navbar-collapse{padding:12px 0 14px}
  .navbar .dropdown{width:100%}
  .navbar .dropdown > .btn{width:100%;justify-content:space-between;border-radius:18px;padding:10px 14px}
  .navbar .dropdown-menu{position:static!important;inset:auto!important;transform:none!important;width:100%;min-width:100%!important;margin-top:.75rem!important;border-radius:20px!important;box-shadow:0 18px 36px rgba(15,23,42,.14)!important}
  .navbar .dropdown-menu .dropdown-item{white-space:normal}
  .hero-v2-compact .container>.row{border-radius:0 0 26px 26px;padding:12px 14px 16px}
  .hero-v2-compact .badge-mmo{padding:.35rem .8rem!important;font-size:.68rem!important;margin-bottom:10px!important}
  .hero-v2-compact .hero-title{font-size:1.55rem!important;line-height:1.12;margin-bottom:10px}
  .hero-v2-compact .hero-subtitle{font-size:.92rem;line-height:1.55;margin-bottom:12px}
  .hero-v2-compact .search-container{background:rgba(255,255,255,.10);padding:8px;border:1px solid rgba(255,255,255,.15);border-radius:20px}
  .hero-v2-compact .search-input{height:46px;font-size:14px;border-radius:14px}
  .hero-v2-compact .btn.btn-mmo-primary{height:44px;border-radius:14px;font-size:14px;padding-left:18px!important;padding-right:18px!important}
  .hero-v2-compact .d-flex.flex-wrap.gap-4{gap:.75rem 1.1rem!important;margin-top:8px!important}
  .stats-grid-compact{margin-top:10px;gap:10px}
  .stats-grid-compact .stat-card{padding:14px 10px;border-radius:16px;box-shadow:0 10px 22px rgba(15,23,42,.06)}
  .stats-grid-compact .stat-value{font-size:1.6rem!important}
  .home-products-shell{padding-top:1.15rem!important}
  .page-home .home-products-shell .col-lg-9{order:1}.page-home .home-products-shell .col-lg-3{order:2}
  .page-home .home-products-shell .home-product-grid{margin-top:.25rem}
  .home-why-card{padding:18px!important;border-radius:22px!important}
  .home-why-card h2{font-size:1.45rem!important;margin-bottom:1rem!important}
  .home-why-card .d-grid{gap:1rem!important}
  .why-logo-frame{max-width:100%;min-height:auto;padding:14px 16px;border-radius:22px;margin-top:14px}
  .why-logo-image{max-width:280px;max-height:110px}
}
@media (max-width:767.98px){
  .navbar-brand{font-size:1.5rem!important;max-width:calc(100vw - 120px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hero-v2-compact{padding-top:0!important}
  .hero-v2-compact .container{max-width:none;padding-left:0;padding-right:0}
  .hero-v2-compact .container>.row{box-shadow:none}
  .hero-v2-compact .hero-title{font-size:1.38rem!important}
  .hero-v2-compact .hero-subtitle{font-size:.84rem}
  .hero-v2-compact .search-container .btn{width:100%;margin-top:8px}
  .hero-v2-compact .search-container{margin-bottom:10px!important}
  .home-shortcut-card{padding:12px 12px;border-radius:16px}
  .home-shortcut-card .shortcut-icon{width:34px;height:34px;border-radius:12px}
  .home-shortcut-card .shortcut-label{font-size:.9rem}
  .home-mobile-panel{padding:12px!important}
}


/* v17: complaint flow + compact product detail */
.page-products .product-detail-layout{max-width:1280px;margin-inline:auto;--bs-gutter-x:1rem;--bs-gutter-y:1rem}
.page-products .product-detail-media-card{max-width:560px;margin-inline:auto;border-radius:24px!important}
.page-products .product-detail-main-image{max-height:360px;object-fit:cover;width:100%}
.page-products .product-detail-summary-card{max-width:760px;margin-inline:auto}
.page-products .purchase-card{padding:1.25rem!important;border-radius:22px!important}
.page-products .purchase-card h1{font-size:clamp(1.7rem,2.6vw,2.6rem)!important;line-height:1.12;margin-bottom:.85rem!important}
.page-products .purchase-card .fs-1{font-size:clamp(1.6rem,2.2vw,2.2rem)!important}
.page-products .purchase-card .bg-light{padding:.85rem!important;border-radius:16px!important}
.page-products .purchase-card .btn-lg,.page-products .purchase-card .form-control-lg{height:48px;font-size:1rem}
.page-products .related-products-section{max-width:1280px;margin-inline:auto}
.page-products .related-products-grid{--bs-gutter-x:.8rem;--bs-gutter-y:.8rem}
.page-products .related-product-card{border-radius:20px!important;transition:transform .22s ease,box-shadow .22s ease}
.page-products .related-product-card:hover{transform:translateY(-5px);box-shadow:0 16px 28px rgba(15,23,42,.12)}
.page-products .related-product-image{height:130px;object-fit:cover;transition:transform .25s ease}
.page-products .related-product-card:hover .related-product-image{transform:scale(1.04)}
.page-products .related-product-card .card-body{padding:.8rem!important}
.page-products .related-product-card .fw-semibold{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4em}
@media (max-width:991.98px){
  .page-products .product-detail-main-image{max-height:300px}
  .page-products .purchase-card h1{font-size:1.55rem!important}
}
@media (max-width:767.98px){
  .page-products .product-detail-layout{--bs-gutter-x:.75rem}
  .page-products .product-detail-media-card{max-width:100%;margin-bottom:.5rem!important}
  .page-products .product-detail-main-image{max-height:240px;border-radius:18px}
  .page-products .purchase-card{padding:1rem!important}
  .page-products .purchase-card .btn-lg,.page-products .purchase-card .form-control-lg{height:44px;font-size:.95rem}
  .page-products .related-products-section h3{font-size:1.35rem}
  .page-products .related-product-image{height:105px}
  .page-products .related-product-card .card-body{padding:.7rem!important}
}
