/* ==========================================================================
   RackTurf — bootstrap-reskin.css
   โหลดหลัง bootstrap.min.css เสมอ
   แก้สีของทั้งระบบได้ที่ SECTION 1 จุดเดียว ส่วนอื่นอ้างอิงตัวแปรทั้งหมด
   ========================================================================== */

/* ===== SECTION 1 — COLOR TOKENS (แก้ที่นี่ที่เดียวต่อโปรเจกต์) ============ */
:root {
    /* แกนสี: เขียวหญ้าเข้ม + ส้มอิฐ บนกลางเทาอมเขียว */
    --rt-primary: #2E6B4E;
    --rt-primary-dark: #22523C;
    --rt-primary-soft: #E4EFE8;
    --rt-primary-line: #BBD6C6;

    --rt-accent: #C96A2B;
    --rt-accent-soft: #FBEBDF;

    --rt-gold: #D6A83A;

    --rt-sidebar: #16241E;
    --rt-sidebar-2: #1E332A;
    --rt-sidebar-text: #A9BDB2;
    --rt-sidebar-active: #FFFFFF;

    --rt-ink: #1B2721;
    --rt-body: #364740;
    --rt-muted: #6E8078;
    --rt-line: #DFE6E1;
    --rt-line-soft: #EDF2EE;
    --rt-bg: #F4F7F4;
    --rt-surface: #FFFFFF;
    --rt-head: #F1F6F2;

    --rt-ok: #2F7D4F;
    --rt-ok-soft: #E3F2E8;
    --rt-warn: #B57A12;
    --rt-warn-soft: #FBF0D8;
    --rt-danger: #B23A32;
    --rt-danger-soft: #FBE6E4;
    --rt-info: #2B6079;
    --rt-info-soft: #E2EEF4;

    --rt-radius: 12px;
    --rt-radius-sm: 8px;
    --rt-shadow: 0 1px 2px rgba(22, 36, 30, .06), 0 6px 18px rgba(22, 36, 30, .05);
    --rt-sidebar-w: 244px;
    --rt-topbar-h: 60px;
    --rt-font: 'Sarabun', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* map เข้าตัวแปรของ Bootstrap */
    --bs-primary: var(--rt-primary);
    --bs-primary-rgb: 46, 107, 78;
    --bs-body-color: var(--rt-body);
    --bs-body-bg: var(--rt-bg);
    --bs-border-color: var(--rt-line);
    --bs-link-color: var(--rt-primary);
    --bs-link-hover-color: var(--rt-primary-dark);
    --bs-font-sans-serif: var(--rt-font);
}

/* ===== SECTION 2 — BASE & TYPE ========================================== */
body {
    font-family: var(--rt-font);
    background: var(--rt-bg);
    color: var(--rt-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--rt-ink); font-weight: 600; }
a { text-decoration: none; }
::selection { background: var(--rt-primary-soft); }

:focus-visible {
    outline: 2px solid var(--rt-primary);
    outline-offset: 2px;
}

.text-muted { color: var(--rt-muted) !important; }
.rt-num { font-variant-numeric: tabular-nums; }

/* ===== SECTION 3 — APP SHELL ===========================================
   กติกา: sidebar/topbar เป็น position:fixed
   .rt-content ใช้ margin-left + padding-top + box-sizing เท่านั้น
   ห้าม display:flex บน wrapper และห้ามใส่ width:100%
   ====================================================================== */
.rt-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rt-sidebar-w);
    background: var(--rt-sidebar);
    overflow-y: auto;
    z-index: 1040;
}

.rt-brand {
    display: block;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.rt-brand-name { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .2px; }
.rt-brand-sub { color: var(--rt-sidebar-text); font-size: 11.5px; }

.rt-nav { padding: 10px 0 30px; }
.rt-nav-group {
    color: #7C9287;
    font-size: 10.5px;
    letter-spacing: .8px;
    padding: 16px 20px 6px;
}
.rt-nav a {
    display: block;
    position: relative;
    padding: 9px 20px 9px 20px;
    color: var(--rt-sidebar-text);
    font-size: 14.5px;
    border-left: 3px solid transparent;
}
.rt-nav a:hover { background: var(--rt-sidebar-2); color: #fff; }
.rt-nav a.active {
    background: var(--rt-sidebar-2);
    color: var(--rt-sidebar-active);
    border-left-color: var(--rt-gold);
    font-weight: 600;
}
.rt-nav a i { width: 22px; opacity: .9; }

.rt-topbar {
    position: fixed;
    top: 0;
    left: var(--rt-sidebar-w);
    right: 0;
    height: var(--rt-topbar-h);
    background: var(--rt-surface);
    border-bottom: 1px solid var(--rt-line);
    z-index: 1030;
    padding: 0 22px;
}
.rt-topbar-inner {
    height: var(--rt-topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.rt-topbar-title { color: var(--rt-ink); font-weight: 600; font-size: 15px; }
.rt-topbar-sub { color: var(--rt-muted); font-size: 12px; }

.rt-user { display: flex; align-items: center; gap: 10px; }
.rt-user-name { color: var(--rt-ink); font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.rt-user-role { color: var(--rt-muted); font-size: 11.5px; }
.rt-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rt-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 600;
}

.rt-content {
    margin-left: var(--rt-sidebar-w);
    padding-top: calc(var(--rt-topbar-h) + 22px);
    padding-left: 22px;
    padding-right: 22px;
    padding-bottom: 48px;
    box-sizing: border-box;
    min-height: 100vh;
}

.rt-burger { display: none; }

@media (max-width: 991.98px) {
    .rt-sidebar { transform: translateX(-100%); transition: transform .22s ease; }
    body.rt-nav-open .rt-sidebar { transform: translateX(0); }
    .rt-topbar { left: 0; padding: 0 14px; }
    .rt-content { margin-left: 0; padding-left: 14px; padding-right: 14px; }
    .rt-burger { display: inline-flex; }
    .rt-scrim {
        position: fixed; inset: 0; background: rgba(22, 36, 30, .45);
        z-index: 1035; display: none;
    }
    body.rt-nav-open .rt-scrim { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    .rt-sidebar { transition: none; }
}

/* ===== SECTION 4 — PAGE HEAD & STATS =================================== */
.rt-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.rt-page-title { font-size: 22px; font-weight: 700; color: var(--rt-ink); margin: 0; }
.rt-page-sub { color: var(--rt-muted); font-size: 13.5px; margin: 2px 0 0; }

.rt-stat {
    background: var(--rt-surface);
    border: 1px solid var(--rt-line);
    border-radius: var(--rt-radius);
    padding: 16px 18px;
    height: 100%;
}
.rt-stat-lbl { color: var(--rt-muted); font-size: 12.5px; }
.rt-stat-val { color: var(--rt-ink); font-size: 26px; font-weight: 700; line-height: 1.25; }
.rt-stat-unit { color: var(--rt-muted); font-size: 13px; font-weight: 400; margin-left: 4px; }

/* ===== SECTION 5 — CARDS & TABLES ====================================== */
.rt-card {
    background: var(--rt-surface);
    border: 1px solid var(--rt-line);
    border-radius: var(--rt-radius);
    box-shadow: var(--rt-shadow);
    margin-bottom: 20px;
    overflow: hidden;
}
.rt-card-head {
    background: var(--rt-head);
    border-bottom: 1px solid var(--rt-line);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.rt-card-title { font-size: 15px; font-weight: 600; color: var(--rt-ink); margin: 0; }
.rt-card-body { padding: 18px; }
.rt-card-body.p-0 { padding: 0; }
.payment-slip-upload-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    color: var(--rt-muted);
    background: var(--rt-head);
    font-size: 12px;
}
.payment-slip-upload-preview img {
    width: 58px;
    height: 72px;
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
}
.payment-slip-history {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    color: var(--rt-primary-dark);
    text-decoration: none;
    font-size: 12px;
}
.payment-slip-history img {
    width: 92px;
    height: 118px;
    border: 1px solid var(--rt-line);
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 3px 10px rgba(17, 48, 35, .08);
}
.payment-slip-history:hover img { border-color: var(--rt-primary); }

.table { --bs-table-bg: transparent; color: var(--rt-body); margin-bottom: 0; }
.table > thead > tr > th {
    background: var(--rt-head);
    color: var(--rt-ink);
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid var(--rt-line);
    padding: 11px 14px;
    white-space: nowrap;
}
.table > tbody > tr > td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--rt-line-soft);
    vertical-align: middle;
    font-size: 14px;
}
.table > tbody > tr:last-child > td { border-bottom: 0; }
.table-hover > tbody > tr:hover > * { background: var(--rt-primary-soft); }

.rt-empty { text-align: center; padding: 46px 20px; color: var(--rt-muted); }
.rt-empty i { font-size: 34px; opacity: .28; display: block; margin-bottom: 10px; }

/* ===== SECTION 6 — BADGES & BUTTONS ==================================== */
.rt-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}
.rt-pill.solid { background: var(--rt-primary); color: #fff; }
.rt-pill.soft { background: var(--rt-primary-soft); color: var(--rt-primary-dark); }
.rt-pill.line { background: transparent; color: var(--rt-primary-dark); border: 1px solid var(--rt-primary-line); }
.rt-pill.warn { background: var(--rt-warn-soft); color: var(--rt-warn); }
.rt-pill.danger { background: var(--rt-danger-soft); color: var(--rt-danger); }
.rt-pill.info { background: var(--rt-info-soft); color: var(--rt-info); }
.rt-pill.mute { background: var(--rt-line-soft); color: var(--rt-muted); }

.btn { border-radius: var(--rt-radius-sm); font-size: 14px; font-weight: 500; padding: 7px 15px; }
.btn-primary {
    background: var(--rt-primary);
    border-color: var(--rt-primary);
}
.btn-primary:hover, .btn-primary:focus { background: var(--rt-primary-dark); border-color: var(--rt-primary-dark); }
.btn-accent { background: var(--rt-accent); border-color: var(--rt-accent); color: #fff; }
.btn-accent:hover { background: #B15C23; border-color: #B15C23; color: #fff; }
.btn-outline-primary { color: var(--rt-primary); border-color: var(--rt-primary-line); }
.btn-outline-primary:hover { background: var(--rt-primary); border-color: var(--rt-primary); }
.btn-light-soft { background: var(--rt-line-soft); border-color: transparent; color: var(--rt-body); }
.btn-light-soft:hover { background: var(--rt-line); color: var(--rt-ink); }
.btn-sm { padding: 4px 10px; font-size: 13px; }
.btn-icon { padding: 4px 8px; line-height: 1; }

/* ===== SECTION 7 — FORMS =============================================== */
.form-label { font-size: 13.5px; font-weight: 500; color: var(--rt-ink); margin-bottom: 5px; }
.form-control, .form-select {
    border-radius: var(--rt-radius-sm);
    border-color: var(--rt-line);
    font-size: 14px;
    padding: 8px 12px;
    color: var(--rt-ink);
}
.form-control:focus, .form-select:focus {
    border-color: var(--rt-primary);
    box-shadow: 0 0 0 3px var(--rt-primary-soft);
}
.form-control::placeholder { color: #9DAEA5; }
.form-check-input:checked { background-color: var(--rt-primary); border-color: var(--rt-primary); }
.form-text { font-size: 12.5px; color: var(--rt-muted); }
.input-group-text { background: var(--rt-head); border-color: var(--rt-line); font-size: 13.5px; color: var(--rt-muted); }
.invalid-feedback { font-size: 12.5px; }

/* ===== SECTION 8 — TABS ================================================ */
.rt-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 1px solid var(--rt-line);
    margin-bottom: 20px;
    padding-bottom: 0;
}
.rt-tabs a {
    padding: 9px 15px;
    color: var(--rt-muted);
    font-size: 14px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.rt-tabs a:hover { color: var(--rt-ink); }
.rt-tabs a.active { color: var(--rt-primary-dark); font-weight: 600; border-bottom-color: var(--rt-primary); }
.rt-tabs a i { margin-right: 6px; }

/* ===== SECTION 9 — MODAL & TOAST ======================================= */
.modal-content { border: 0; border-radius: var(--rt-radius); box-shadow: 0 18px 50px rgba(22, 36, 30, .22); }
.modal-header { background: var(--rt-head); border-bottom: 1px solid var(--rt-line); padding: 14px 20px; }
.modal-title { font-size: 16px; font-weight: 600; color: var(--rt-ink); }
.modal-body { padding: 20px; }
.modal-footer { border-top: 1px solid var(--rt-line); padding: 12px 20px; }

#rtToast {
    position: fixed;
    top: 74px;
    right: 20px;
    z-index: 1090;
    display: grid;
    gap: 10px;
}
.rt-toast {
    background: var(--rt-surface);
    border: 1px solid var(--rt-line);
    border-left: 4px solid var(--rt-primary);
    border-radius: var(--rt-radius-sm);
    box-shadow: var(--rt-shadow);
    padding: 11px 16px;
    font-size: 14px;
    color: var(--rt-ink);
    min-width: 250px;
    max-width: 360px;
}
.rt-toast.err { border-left-color: var(--rt-danger); }
.rt-toast.warn { border-left-color: var(--rt-warn); }

/* ===== SECTION 10 — LOGIN ============================================== */
.rt-login {
    min-height: 100vh;
    background: var(--rt-sidebar);
    display: grid;
    place-items: center;
    padding: 24px;
}
.rt-login-card {
    width: 100%;
    max-width: 400px;
    background: var(--rt-surface);
    border-radius: 16px;
    padding: 34px 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.rt-login-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--rt-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 16px;
}

/* ===== SECTION 11 — PRINT ============================================== */
@media print {
    .rt-sidebar, .rt-topbar, .rt-scrim, #rtToast, .rt-no-print { display: none !important; }
    .rt-content { margin-left: 0; padding: 0; }
    body { background: #fff; font-size: 12pt; }
    #printArea { display: block !important; }
    .rt-card { box-shadow: none; border: 0; }
}
#printArea { display: none; }

/* ===== SECTION 12 — STOREFRONT ========================================= */
.shop-body { background: #fff; padding-bottom: 0; }

.shop-topbar {
    background: var(--rt-sidebar);
    color: var(--rt-sidebar-text);
    font-size: 11.5px;
    padding: 4px 0;
}
.shop-topbar a { color: #fff; }

.shop-header {
    background: #fff;
    border-bottom: 1px solid var(--rt-line);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.shop-header-inner {
    display: grid;
    grid-template-columns: auto minmax(220px, 330px) minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    min-height: 72px;
}
.shop-logo { font-size: 22px; font-weight: 700; color: var(--rt-primary-dark); white-space: nowrap; }
.shop-logo span { color: var(--rt-accent); }
.shop-search { min-width: 0; }
.shop-search .form-control,
.shop-search .btn { height: 38px; }
.shop-search .btn { display: grid; place-items: center; width: 42px; padding: 0; }

.shop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    min-width: 0;
    height: 72px;
    flex-wrap: nowrap;
    overflow: visible;
    padding: 0;
}
.shop-nav > a,
.shop-nav > .dropdown {
    flex: 0 0 auto;
}
.shop-nav > a,
.shop-nav > .dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 72px;
    padding: 0;
    color: var(--rt-body);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.shop-nav > a:hover,
.shop-nav > a.active,
.shop-nav > .dropdown > a:hover,
.shop-nav > .dropdown > a.show {
    color: var(--rt-primary-dark);
    border-bottom-color: var(--rt-primary);
}
.shop-nav a:focus-visible { outline-offset: -2px; }
.shop-nav .dropdown-menu { z-index: 1060; }
.shop-promotion-menu { min-width: 255px; padding: 6px; }
.shop-promotion-item { display: flex !important; align-items: center; gap: 10px; padding: 8px !important; border-radius: 7px; }
.shop-promotion-item:hover { background: var(--rt-bg); }
.shop-promotion-thumb { display: grid !important; flex: 0 0 54px !important; place-items: center; width: 54px !important; height: 44px !important; overflow: hidden; color: var(--rt-primary); background: var(--rt-line-soft); border-radius: 6px; }
.shop-promotion-thumb img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
.shop-promotion-thumb i { font-size: 18px; }
.shop-promotion-copy { display: flex !important; min-width: 0; flex-direction: column; gap: 2px; }
.shop-promotion-copy strong { color: var(--rt-ink); font-size: 13px; font-weight: 600; }
.shop-promotion-copy small { color: var(--rt-muted); font-size: 11px; line-height: 1.3; }
.shop-account-dropdown { flex: 0 0 auto; }
.shop-account-toggle {
    gap: 7px !important;
    max-width: 190px;
}
.shop-account-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--rt-primary-line);
    border-radius: 50%;
    color: var(--rt-primary-dark);
    background: var(--rt-primary-soft);
    font-size: 17px;
}
.shop-account-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-account-menu {
    min-width: 240px;
    padding: 7px 0;
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(17, 48, 35, .16);
}
.shop-account-menu-head {
    display: grid;
    gap: 2px;
    padding: 8px 16px 10px;
    color: var(--rt-ink);
}
.shop-account-menu-head strong { font-size: 14px; }
.shop-account-menu-head span { color: var(--rt-muted); font-size: 11px; }
.shop-account-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    color: var(--rt-body);
    font-size: 13.5px;
}
.shop-account-menu .dropdown-item i {
    width: 17px;
    color: var(--rt-muted);
    font-size: 16px;
    text-align: center;
}
.shop-account-menu .dropdown-item:hover,
.shop-account-menu .dropdown-item:focus {
    color: var(--rt-primary-dark);
    background: var(--rt-primary-soft);
}
.shop-account-menu .dropdown-item:hover i,
.shop-account-menu .dropdown-item:focus i { color: var(--rt-primary); }
.shop-account-menu .dropdown-divider { margin: 6px 0; border-color: var(--rt-line-soft); }
.shop-account-star { color: #f3b400 !important; }
.shop-account-logout { width: 100%; color: var(--rt-danger) !important; }
.shop-account-logout i { color: var(--rt-danger) !important; }

.shop-account-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.shop-account-sidebar {
    position: sticky;
    top: 104px;
    overflow: hidden;
    border: 1px solid var(--rt-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 48, 35, .06);
}
.shop-account-profile {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 24px 18px 22px;
    border-bottom: 1px solid var(--rt-line-soft);
    text-align: center;
}
.shop-account-profile-avatar {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 5px;
    border: 4px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--rt-primary), #2e83a0);
    box-shadow: 0 3px 12px rgba(17, 48, 35, .16);
    font-size: 31px;
    font-weight: 700;
}
.shop-account-profile strong { color: var(--rt-ink); font-size: 17px; }
.shop-account-profile > span:not(.shop-account-vip-badge) { color: var(--rt-muted); font-size: 12px; }
.shop-account-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 7px;
    padding: 4px 10px;
    border-radius: 99px;
    color: #fff;
    background: #efb323;
    font-size: 11px !important;
    font-weight: 600;
}
.shop-account-side-nav { padding: 8px 0; }
.shop-account-side-nav > a,
.shop-account-side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 45px;
    padding: 10px 18px;
    border: 0;
    border-left: 3px solid transparent;
    color: var(--rt-body);
    background: transparent;
    font: inherit;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
}
.shop-account-side-nav > a:hover,
.shop-account-side-nav > a.active {
    border-left-color: var(--rt-accent);
    color: var(--rt-accent);
    background: rgba(225, 25, 25, .055);
}
.shop-account-side-nav > a i,
.shop-account-side-link i { width: 18px; color: var(--rt-muted); font-size: 17px; text-align: center; }
.shop-account-side-nav > a small { margin-left: auto; color: var(--rt-muted); font-size: 11px; }
.shop-account-side-nav > a:hover i,
.shop-account-side-nav > a.active i { color: var(--rt-accent); }
.shop-account-side-link.is-disabled { color: var(--rt-muted); cursor: default; }
.shop-account-side-link.is-disabled small { margin-left: auto; color: var(--rt-muted); font-size: 10px; }
.shop-account-side-divider { height: 1px; margin: 8px 0; background: var(--rt-line); }
.shop-account-side-nav form { margin: 0; }
.shop-account-side-link.is-logout { color: var(--rt-danger); cursor: pointer; }
.shop-account-side-link.is-logout i { color: var(--rt-danger); }
.shop-account-main { min-width: 0; }
.shop-account-greeting { margin: 0 0 18px; }
.shop-account-greeting h1 { margin: 0; color: var(--rt-ink); font-size: 30px; font-weight: 700; }
.shop-account-greeting p { margin: 3px 0 0; color: var(--rt-muted); font-size: 15px; }
.shop-account-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 6px 0 22px; }
.shop-account-page-head h1 { margin: 0; color: var(--rt-ink); font-size: 28px; font-weight: 700; }
.shop-account-page-head h1 i { margin-right: 8px; color: var(--rt-accent); font-size: .85em; }
.shop-account-page-head p { margin: 5px 0 0; color: var(--rt-muted); font-size: 13px; }
.shop-account-page-head-wide { align-items: center; }
.shop-account-points-total { color: #efa900; font-size: 25px; }
.shop-account-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; padding: 1px; background: var(--rt-line-soft); }
.shop-account-detail-grid > div { display: grid; gap: 4px; padding: 17px 18px; background: #fff; }
.shop-account-detail-grid span { color: var(--rt-muted); font-size: 12px; }
.shop-account-detail-grid strong { color: var(--rt-ink); font-size: 15px; }
.shop-account-form-body { padding: 18px; }
.shop-account-summary { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; margin-bottom: 22px; }
.shop-account-level-card,
.shop-account-points-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 108px;
    padding: 20px;
    border-radius: 9px;
}
.shop-account-level-card {
    color: #fff;
    background: linear-gradient(135deg, #f5bc2e, #f29d22);
    box-shadow: 0 8px 18px rgba(240, 170, 35, .18);
}
.shop-account-level-card > i { font-size: 38px; }
.shop-account-level-card div,
.shop-account-points-card div { display: grid; gap: 1px; }
.shop-account-level-card span,
.shop-account-points-card span { font-size: 13px; }
.shop-account-level-card strong,
.shop-account-points-card strong { font-size: 22px; line-height: 1.25; }
.shop-account-level-card small,
.shop-account-points-card small { font-size: 11px; opacity: .85; }
.shop-account-points-card {
    border: 1px solid var(--rt-line-soft);
    background: #fff;
    box-shadow: 0 5px 18px rgba(17, 48, 35, .045);
}
.shop-account-points-card > i { color: #efa900; font-size: 37px; }
.shop-account-points-card span,
.shop-account-points-card small { color: var(--rt-muted); }
.shop-account-points-card strong { color: var(--rt-ink); }
.shop-account-panel {
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid var(--rt-line-soft);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(17, 48, 35, .045);
}
.shop-account-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--rt-line-soft);
    color: var(--rt-ink);
    font-size: 15px;
    font-weight: 700;
}
.shop-account-panel-title > i,
.shop-account-panel-title span > i { margin-right: 7px; color: var(--rt-accent); }
.shop-account-panel-link { color: var(--rt-accent); font-size: 12px; font-weight: 500; }
.shop-account-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 16px; }
.shop-account-tools a {
    display: grid;
    justify-items: center;
    gap: 9px;
    min-height: 92px;
    padding: 17px 8px;
    border-radius: 8px;
    color: var(--rt-ink);
    background: var(--rt-bg);
    text-align: center;
    text-decoration: none;
}
.shop-account-tools a:hover { color: var(--rt-primary-dark); background: var(--rt-primary-soft); }
.shop-account-tools a i { color: var(--rt-primary); font-size: 27px; }
.shop-account-tools a strong { font-size: 12px; }
.shop-account-orders-table { --bs-table-bg: transparent; }
.shop-account-orders-table th {
    padding: 11px 16px;
    border-bottom-color: var(--rt-line);
    color: var(--rt-body);
    font-size: 12px;
    white-space: nowrap;
}
.shop-account-orders-table td { padding: 13px 16px; border-bottom-color: var(--rt-line-soft); font-size: 13px; white-space: nowrap; }
.shop-account-orders-table tr:last-child td { border-bottom: 0; }
.shop-account-order-no { display: block; color: var(--rt-ink); font-weight: 700; text-decoration: none; }
.shop-account-order-no:hover { color: var(--rt-primary); }
.shop-account-orders-table td small { display: block; margin-top: 2px; color: var(--rt-muted); font-size: 11px; }
.shop-account-order-view {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--rt-line);
    border-radius: 6px;
    color: var(--rt-primary-dark);
    text-decoration: none;
}
.shop-account-order-view:hover { border-color: var(--rt-primary); background: var(--rt-primary-soft); }
.shop-account-address-body { padding: 16px 18px 18px; }
.shop-account-address-row { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 13px; margin-bottom: 14px; border-bottom: 1px solid var(--rt-line-soft); }
.shop-account-address-row strong { display: block; color: var(--rt-ink); font-size: 13px; }
.shop-account-address-row small { display: block; margin-top: 4px; color: var(--rt-muted); font-size: 12px; }
.shop-account-address-form { padding-top: 2px; }
.shop-account-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
}
.shop-account-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--rt-line-soft);
    border-radius: 10px;
    background: #fff;
}
.shop-account-product-media {
    display: grid;
    place-items: center;
    height: 140px;
    color: var(--rt-muted);
    background: var(--rt-bg);
    text-decoration: none;
}
.shop-account-product-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shop-account-product-media i { font-size: 28px; opacity: .5; }
.shop-account-product-copy { display: grid; gap: 5px; padding: 12px; }
.shop-account-product-name {
    display: -webkit-box;
    overflow: hidden;
    color: var(--rt-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.shop-account-product-name:hover { color: var(--rt-primary); }
.shop-account-product-cat { color: var(--rt-muted); font-size: 11px; }
.shop-account-product-copy > strong { color: var(--rt-primary); font-size: 15px; }
.shop-account-product-copy .btn { margin-top: 4px; font-size: 11px; }
.shop-account-referral-body {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 1.1fr);
    gap: 20px;
    align-items: center;
    padding: 18px;
}
.shop-account-referral-body > div:first-child { display: grid; gap: 5px; }
.shop-account-referral-body strong { color: var(--rt-ink); }
.shop-account-referral-body p { margin: 0; color: var(--rt-muted); font-size: 12px; line-height: 1.55; }
.shop-account-referral-body small { color: var(--rt-muted); }
.shop-account-referral-copy { display: flex; gap: 8px; }
.shop-account-referral-copy input { min-width: 0; color: var(--rt-body); font-size: 12px; }
.shop-account-referral-copy .btn { flex: 0 0 auto; white-space: nowrap; }
.shop-account-review-list { padding: 0 18px; }
.shop-account-review-row { display: flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--rt-line-soft); }
.shop-account-review-row:last-child { border-bottom: 0; }
.shop-account-review-media {
    display: grid;
    flex: 0 0 58px;
    place-items: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 8px;
    color: var(--rt-muted);
    background: var(--rt-bg);
}
.shop-account-review-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shop-account-review-copy { min-width: 0; }
.shop-account-review-copy > strong { display: block; overflow: hidden; color: var(--rt-ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.shop-account-review-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3px; color: var(--rt-muted); font-size: 11px; }
.shop-account-review-stars { color: var(--rt-gold); letter-spacing: 1px; }
.shop-account-review-copy p { margin: 6px 0 0; color: var(--rt-body); font-size: 12px; }
.product-save-button { border: 1px solid var(--rt-line) !important; color: var(--rt-primary-dark) !important; }
.product-save-button:hover { border-color: var(--rt-primary) !important; background: var(--rt-primary-soft) !important; }
.shop-social-divider { display: flex; align-items: center; gap: 10px; margin: 19px 0 13px; color: var(--rt-muted); font-size: 12px; }
.shop-social-divider::before,
.shop-social-divider::after { flex: 1; height: 1px; background: var(--rt-line-soft); content: ""; }
.shop-social-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shop-social-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--rt-line); border-radius: 7px; color: var(--rt-ink); background: #fff; font-weight: 600; text-decoration: none; }
.shop-social-button:hover { color: var(--rt-ink); background: var(--rt-bg); }
.shop-social-button.google i { color: #4285f4; }
.shop-social-button.line { color: #fff; border-color: #06c755; background: #06c755; }
.shop-social-button.line:hover { color: #fff; background: #05ad4c; }
.shop-admin-menu-item { color: var(--rt-primary) !important; font-weight: 600; }
.shop-admin-menu-item i { color: var(--rt-primary); }
.home-articles-intro { max-width: 900px; margin: 0 auto 42px; text-align: center; }
.home-articles-intro h2 { margin: 0 0 12px; color: var(--rt-ink); font-size: 27px; }
.home-articles-intro h2::after,
.home-articles-heading h2::after { display: block; width: 44px; height: 3px; margin: 12px auto 0; background: var(--rt-primary); content: ""; }
.home-articles-intro p { margin: 0; color: var(--rt-body); font-size: 14px; line-height: 1.75; }
.home-articles-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.home-articles-heading h2 { margin: 0; color: var(--rt-ink); font-size: 24px; }
.home-articles-heading h2::after { margin: 10px 0 0; }
.home-articles-heading p { margin: 7px 0 0; color: var(--rt-muted); font-size: 13px; }
.home-articles-empty { display: grid; min-height: 180px; place-items: center; padding: 28px; border: 1px dashed var(--rt-line); border-radius: 10px; background: #fff; color: var(--rt-muted); text-align: center; }
.home-articles-empty i { color: var(--rt-primary); font-size: 34px; line-height: 1; }
.home-articles-empty strong { margin-top: 12px; color: var(--rt-ink); font-size: 16px; }
.home-articles-empty p { margin: 6px 0 0; font-size: 12px; }
.article-page { background: #fff; }
.article-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 23px; color: var(--rt-muted); font-size: 12px; }
.article-breadcrumb a { color: var(--rt-primary); text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.article-main { min-width: 0; }
.article-cover { display: grid; min-height: 260px; place-items: center; overflow: hidden; border-radius: 10px; background: var(--rt-line-soft); }
.article-cover img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.article-cover.is-empty { color: var(--rt-primary); font-size: 62px; }
.article-main-meta { display: flex; flex-wrap: wrap; gap: 13px; margin: 18px 0 11px; color: var(--rt-muted); font-size: 11px; }
.article-main-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-main-meta i { color: var(--rt-primary); }
.article-title { margin: 0 0 23px; color: var(--rt-ink); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.32; }
.article-excerpt { margin: 0 0 25px; padding: 14px 17px; border-left: 3px solid var(--rt-primary); color: var(--rt-body); background: var(--rt-bg); font-size: 16px; line-height: 1.8; }
.article-body { color: var(--rt-body); font-size: 16px; line-height: 1.95; }
.article-body p { margin: 0 0 22px; }
.article-body h2, .article-body h3, .article-body h4 { margin: 30px 0 13px; color: var(--rt-ink); line-height: 1.4; }
.article-body h2 { font-size: 25px; }
.article-body h3 { font-size: 21px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body blockquote { margin: 22px 0; padding: 14px 18px; border-left: 3px solid var(--rt-primary); color: var(--rt-ink); background: var(--rt-bg); }
.article-body img { display: block; max-width: 100%; height: auto; margin: 22px auto; border-radius: 8px; }
.article-body a { color: var(--rt-primary); }
.article-editor { overflow: hidden; border: 1px solid var(--rt-line); border-radius: 7px; background: #fff; }
.article-editor-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 7px; border-bottom: 1px solid var(--rt-line); background: var(--rt-bg); }
.article-editor-toolbar button { min-width: 30px; height: 30px; padding: 4px 8px; border: 1px solid var(--rt-line); border-radius: 4px; color: var(--rt-ink); background: #fff; font-size: 12px; }
.article-editor-toolbar button:hover { border-color: var(--rt-primary); color: var(--rt-primary); }
.article-editor-canvas { min-height: 430px; padding: 15px; outline: 0; color: var(--rt-body); font-size: 15px; line-height: 1.85; white-space: normal; }
.article-editor-canvas:focus { box-shadow: inset 0 0 0 2px rgba(39, 111, 79, .16); }
.article-editor-canvas.is-readonly, .article-editor.is-readonly .article-editor-canvas { background: #f8faf8; }
.article-editor-canvas img { max-width: 100%; height: auto; }
.article-editor-canvas h2, .article-editor-canvas h3 { color: var(--rt-ink); }
.article-share { color: var(--rt-ink); }
.article-share h2 { margin: 0 0 13px; font-size: 15px; }
.article-share-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.article-share-button { display: inline-grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 5px; color: #fff; font-size: 16px; text-decoration: none; transition: transform .16s ease, opacity .16s ease; }
.article-share-button:hover { color: #fff; opacity: .86; transform: translateY(-1px); }
.article-share-button.facebook { background: #3d5c9a; }
.article-share-button.x { background: #050505; }
.article-share-button.line { background: #06c755; }
.article-share-button.mail { background: #111; }
.article-share-button.copy { cursor: pointer; background: var(--rt-primary); }
.article-share-button.copy.is-copied { background: #198754; }
.article-share-inline { display: flex; align-items: center; gap: 14px; margin-top: 33px; padding-top: 19px; border-top: 1px solid var(--rt-line-soft); }
.article-share-inline > span { color: var(--rt-ink); font-size: 13px; font-weight: 600; }
.article-author-card, .article-related, .article-share-sidebar, .article-cta { margin-bottom: 18px; border: 1px solid var(--rt-line); background: #fff; }
.article-author-card { padding: 24px 20px 21px; text-align: center; }
.article-author-avatar { display: grid; width: 82px; height: 82px; place-items: center; margin: 0 auto 11px; overflow: hidden; border-radius: 50%; color: #fff; background: var(--rt-primary); font-size: 25px; font-weight: 700; }
.article-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-author-label { color: var(--rt-muted); font-size: 11px; }
.article-author-card h2 { margin: 4px 0 8px; color: var(--rt-ink); font-size: 17px; }
.article-author-card p { margin: 0; color: var(--rt-body); font-size: 12px; line-height: 1.65; }
.article-share-sidebar { padding: 16px 14px; }
.article-related { overflow: hidden; }
.article-related h2 { margin: 0; padding: 15px 15px 11px; color: var(--rt-ink); font-size: 16px; }
.article-related-item { display: flex; gap: 10px; padding: 11px 13px; border-top: 1px solid var(--rt-line-soft); color: inherit; text-decoration: none; }
.article-related-item:hover { color: inherit; background: var(--rt-bg); }
.article-related-media { display: grid; flex: 0 0 94px; width: 94px; height: 70px; place-items: center; overflow: hidden; color: var(--rt-primary); background: var(--rt-line-soft); }
.article-related-media img { width: 100%; height: 100%; object-fit: cover; }
.article-related-media i { font-size: 24px; opacity: .5; }
.article-related-item h3 { display: -webkit-box; overflow: hidden; margin: 0 0 5px; color: var(--rt-ink); font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.article-related-item span { color: var(--rt-muted); font-size: 10px; }
.article-cta { padding: 18px 16px; }
.article-cta strong { display: block; color: var(--rt-ink); font-size: 14px; }
.article-cta p { margin: 7px 0 13px; color: var(--rt-muted); font-size: 12px; }
.home-articles-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 18px; }
.home-articles-layout.is-featured-only { display: block; }
.home-articles-layout.is-featured-only .home-articles-featured { max-width: 430px; grid-template-columns: minmax(0, 1fr); }
.home-articles-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-article-feature-card { overflow: hidden; border: 1px solid var(--rt-line); color: inherit; background: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.home-article-feature-card:hover { color: inherit; box-shadow: 0 10px 28px rgba(17, 48, 35, .1); transform: translateY(-2px); }
.home-article-feature-media { display: grid; place-items: center; height: 180px; overflow: hidden; color: var(--rt-primary); background: var(--rt-line-soft); }
.home-article-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.home-article-feature-media span { font-size: 42px; opacity: .45; }
.home-article-feature-copy { padding: 17px 18px 18px; }
.home-article-meta { color: var(--rt-muted); font-size: 11px; }
.home-article-feature-copy h3 { margin: 10px 0 12px; color: var(--rt-ink); font-size: 19px; line-height: 1.45; }
.home-article-feature-copy p { min-height: 47px; margin: 0 0 15px; color: var(--rt-body); font-size: 12px; line-height: 1.6; }
.home-article-read { color: var(--rt-primary); font-size: 12px; }
.home-articles-latest { overflow: hidden; border: 1px solid var(--rt-line); background: #fff; }
.home-article-latest-item { display: flex; gap: 10px; padding: 11px; border-bottom: 1px solid var(--rt-line-soft); color: inherit; text-decoration: none; }
.home-article-latest-item:last-child { border-bottom: 0; }
.home-article-latest-item:hover { background: var(--rt-bg); }
.home-article-latest-media { display: grid; flex: 0 0 82px; place-items: center; width: 82px; height: 66px; overflow: hidden; color: var(--rt-primary); background: var(--rt-line-soft); }
.home-article-latest-media img { width: 100%; height: 100%; object-fit: cover; }
.home-article-latest-media i { font-size: 23px; opacity: .45; }
.home-article-latest-copy { min-width: 0; }
.home-article-latest-copy h3 { display: -webkit-box; overflow: hidden; margin: 1px 0 6px; color: var(--rt-ink); font-size: 13px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-article-latest-copy span { color: var(--rt-muted); font-size: 11px; }
.shop-hot-badge {
    display: inline-block;
    padding: 2px 5px;
    color: #fff;
    background: #e11919;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
}
.shop-header-actions { display: flex; align-items: center; }
.shop-cart-wrap { position: relative; }
.shop-cart-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--rt-ink);
    font-size: 20px;
}
.shop-cart-link:hover { color: var(--rt-primary); }
.shop-cart-count {
    position: absolute;
    top: 1px;
    right: -1px;
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    color: #fff;
    background: var(--rt-gold);
    font-size: 10px;
    font-weight: 700;
}
.shop-mini-cart {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1080;
    width: 350px;
    overflow: hidden;
    border: 1px solid var(--rt-line);
    border-radius: 14px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 39, 29, .18);
    transform: translateY(-5px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    pointer-events: none;
}
.shop-cart-wrap::after {
    position: absolute;
    top: 100%;
    right: 0;
    width: 42px;
    height: 6px;
    content: "";
}
.shop-cart-wrap:hover .shop-mini-cart,
.shop-cart-wrap:focus-within .shop-mini-cart {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.shop-mini-cart::before {
    position: absolute;
    top: -7px;
    right: 17px;
    width: 14px;
    height: 14px;
    border-top: 1px solid var(--rt-line);
    border-left: 1px solid var(--rt-line);
    background: #fff;
    content: "";
    transform: rotate(45deg);
}
.shop-mini-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    border-bottom: 1px solid var(--rt-line-soft);
    color: var(--rt-ink);
    font-size: 13px;
}
.shop-mini-cart-head span { color: var(--rt-muted); font-size: 12px; }
.shop-mini-cart-list { max-height: 310px; overflow-y: auto; }
.shop-mini-cart-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--rt-line-soft);
    color: inherit;
}
.shop-mini-cart-item:hover { background: var(--rt-head); }
.shop-mini-cart-media {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 1px solid var(--rt-line-soft);
    border-radius: 9px;
    color: var(--rt-muted);
    background: #fff;
}
.shop-mini-cart-media img { width: 100%; height: 100%; object-fit: contain; }
.shop-mini-cart-copy { min-width: 0; }
.shop-mini-cart-copy strong,
.shop-mini-cart-copy small,
.shop-mini-cart-copy > span { display: block; }
.shop-mini-cart-copy strong {
    overflow: hidden;
    color: var(--rt-ink);
    font-size: 12.5px;
    line-height: 1.35;
}
.shop-mini-cart-copy small {
    margin: 2px 0;
    overflow: hidden;
    color: var(--rt-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-mini-cart-copy > span { color: var(--rt-primary-dark); font-size: 12px; font-weight: 600; }
.shop-mini-cart-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px 8px;
    color: var(--rt-body);
    font-size: 13px;
}
.shop-mini-cart-total strong { color: var(--rt-primary-dark); }
.shop-mini-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 15px 15px;
}
.shop-mini-cart-actions .btn { padding: 7px 10px; font-size: 12px; }
.shop-mini-cart-empty {
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 28px 15px;
    color: var(--rt-muted);
    font-size: 12px;
}
.shop-mini-cart-empty i { font-size: 28px; opacity: .45; }
.shop-mini-cart-more {
    padding: 7px 14px;
    color: var(--rt-muted);
    background: var(--rt-head);
    font-size: 11px;
    text-align: center;
}
.shop-mobile-menu-toggle {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--rt-body);
    font: inherit;
}
.shop-mobile-menu-toggle i { font-size: 25px; line-height: 1; }
.shop-announcement {
    color: #fff;
    background: var(--rt-primary-dark);
    font-size: 12px;
}
.shop-announcement-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    height: 28px;
    overflow: hidden;
    white-space: nowrap;
}
.shop-announcement a { color: #ffd84a; font-weight: 600; }
.shop-announcement i { margin-right: 4px; }

.shop-hero {
    background: linear-gradient(180deg, var(--rt-primary-soft), #fff);
    border-bottom: 1px solid var(--rt-line-soft);
}
.shop-hero h1 { font-size: 34px; line-height: 1.3; margin-bottom: 12px; }
.shop-hero p { font-size: 16px; color: var(--rt-body); max-width: 60ch; }
.shop-hero-carousel,
.shop-hero-slide { min-height: 360px; }
.shop-hero-slide {
    display: flex;
    align-items: center;
    padding: 42px 0;
    background-color: var(--rt-primary-soft);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.shop-hero-copy { max-width: 530px; }
.shop-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: var(--rt-primary-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
}
.shop-hero-kicker i { color: var(--rt-accent); }
.shop-hero-carousel .carousel-indicators { margin-bottom: 14px; }
.shop-hero-carousel .carousel-indicators [data-bs-target] {
    width: 26px;
    height: 4px;
    border: 0;
    border-radius: 99px;
    background-color: var(--rt-primary);
}
.shop-hero-carousel .carousel-control-prev,
.shop-hero-carousel .carousel-control-next { width: 7%; }
.shop-hero-carousel .carousel-control-prev-icon,
.shop-hero-carousel .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    padding: 6px;
    border-radius: 50%;
    background-color: rgba(34, 82, 60, .78);
    background-size: 55%;
}

.shop-promise {
    border: 1px solid var(--rt-line);
    border-radius: var(--rt-radius);
    padding: 14px 16px;
    height: 100%;
    background: #fff;
}
.shop-promise i { color: var(--rt-primary); font-size: 20px; }
.shop-promise-title { color: var(--rt-ink); font-weight: 600; font-size: 14.5px; margin-top: 6px; }
.shop-promise-sub { color: var(--rt-muted); font-size: 12.5px; }

.shop-advisor-section { padding: 28px 0 0; }
.home-advisor-card {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(480px, 1.6fr);
    gap: 18px 26px;
    padding: 20px 22px;
    border: 1px solid var(--rt-line);
    border-radius: var(--rt-radius);
    background: #fff;
    box-shadow: var(--rt-shadow);
}
.home-advisor-copy {
    display: flex;
    align-items: center;
    gap: 13px;
}
.home-advisor-copy h2 { margin: 0; font-size: 18px; }
.home-advisor-copy p { margin: 3px 0 0; color: var(--rt-muted); font-size: 12.5px; }
.home-advisor-icon {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--rt-primary);
    background: var(--rt-primary-soft);
    font-size: 21px;
}
.home-advisor-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(80px, 1fr)) auto;
    align-items: end;
    gap: 10px;
}
.home-advisor-fields .btn { height: 40px; white-space: nowrap; }
.home-advisor-result { grid-column: 1 / -1; }

.shop-section { padding: 40px 0; }
.shop-section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.shop-section-head h2 { font-size: 22px; margin: 0; }
.shop-section-head p { color: var(--rt-muted); font-size: 14px; margin: 3px 0 0; }
.home-showroom-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #f3f8f4 0%, #e9f2ec 100%); }
.home-showroom-section::before { position: absolute; top: -155px; right: -85px; width: 350px; height: 350px; border: 1px solid rgba(46, 107, 78, .12); border-radius: 50%; content: ''; box-shadow: 0 0 0 28px rgba(46, 107, 78, .035), 0 0 0 60px rgba(46, 107, 78, .02); pointer-events: none; }
.home-showroom-section > .container { position: relative; z-index: 1; }
.home-showroom-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.home-showroom-heading h2 { margin: 8px 0 4px; color: var(--rt-ink); font-size: clamp(24px, 2.8vw, 32px); }
.home-showroom-heading p { margin: 0; color: var(--rt-muted); font-size: 13px; }
.home-showroom-kicker { color: var(--rt-primary); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-showroom-kicker i { margin-right: 4px; }
.home-showroom-kicker.is-light { color: #bce8c8; }
.home-showroom-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(285px, .65fr); gap: 17px; }
.home-showroom-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.home-showroom-card { position: relative; overflow: hidden; min-height: 255px; padding: 22px; border: 1px solid var(--rt-line); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 9px 22px rgba(17, 48, 35, .06); }
.home-showroom-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--rt-primary), #8bc4a1); content: ''; }
.home-showroom-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-showroom-icon { position: relative; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: var(--rt-primary); background: var(--rt-primary-soft); font-size: 21px; }
.home-showroom-icon span { position: absolute; right: 4px; bottom: 4px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: #41a469; }
.home-showroom-status { color: var(--rt-primary); font-size: 10px; font-weight: 700; }
.home-showroom-status i { margin-right: 3px; color: #41a469; }
.home-showroom-card h3 { margin: 16px 0 6px; color: var(--rt-ink); font-size: 18px; }
.home-showroom-intro { min-height: 41px; margin: 0 0 14px; color: var(--rt-muted); font-size: 12px; line-height: 1.7; }
.home-showroom-detail { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; color: var(--rt-muted); font-size: 12px; line-height: 1.5; }
.home-showroom-detail i { flex: 0 0 15px; margin-top: 2px; color: var(--rt-primary); text-align: center; }
.home-showroom-detail a { color: var(--rt-primary-dark); text-decoration: none; }
.home-showroom-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--rt-line-soft); }
.home-showroom-visit { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 100%; padding: 28px; border-radius: 16px; color: #fff; background: linear-gradient(145deg, #173e2c 0%, #2e6b4e 100%); box-shadow: 0 10px 24px rgba(17, 48, 35, .13); }
.home-showroom-visit-icon { display: grid; width: 48px; height: 48px; margin-bottom: 17px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; color: #c3f0d1; background: rgba(255,255,255,.1); font-size: 22px; }
.home-showroom-visit h3 { max-width: 300px; margin: 9px 0; color: #fff; font-size: 21px; line-height: 1.35; }
.home-showroom-visit p { max-width: 350px; margin: 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.75; }
.home-showroom-points { display: grid; gap: 8px; margin: 18px 0 21px; color: rgba(255,255,255,.9); font-size: 12px; }
.home-showroom-points span { display: inline-flex; align-items: center; gap: 7px; }
.home-showroom-points i { color: #9ee0b1; }
.home-showroom-visit .btn { color: var(--rt-primary-dark); background: #fff; border-color: #fff; }
.home-showroom-visit .btn:hover { color: var(--rt-primary-dark); background: #e8f7ed; border-color: #e8f7ed; }
.home-showroom-empty { display: grid; min-height: 255px; place-items: center; padding: 25px; border: 1px dashed var(--rt-line); border-radius: 16px; color: var(--rt-muted); background: rgba(255,255,255,.8); text-align: center; }
.home-showroom-empty i { color: var(--rt-primary); font-size: 32px; }
.home-showroom-empty strong, .home-showroom-empty span { display: block; }
.home-showroom-empty strong { margin-top: 10px; color: var(--rt-ink); }
.home-showroom-empty span { margin-top: 4px; font-size: 12px; }

/* Shared public-page hero */
.shop-page-hero {
    position: relative;
    display: flex;
    min-height: 330px;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background-color: #153b2c;
    background-image: linear-gradient(90deg, rgba(13, 51, 36, .98) 0%, rgba(13, 51, 36, .9) 32%, rgba(13, 51, 36, .42) 62%, rgba(13, 51, 36, .08) 100%), var(--shop-page-hero-image);
    background-position: center;
    background-size: cover;
}
.shop-page-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    content: '';
    background: rgba(255,255,255,.16);
}
.shop-page-hero-copy { position: relative; z-index: 1; max-width: 610px; padding: 54px 0; }
.shop-page-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #b9ebcc; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.shop-page-hero-eyebrow i { color: var(--rt-accent); font-size: 14px; }
.shop-page-hero h1 { max-width: 620px; margin: 13px 0 11px; color: #fff; font-size: clamp(30px, 4vw, 47px); line-height: 1.18; }
.shop-page-hero p { max-width: 560px; margin: 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.8; }
.shop-page-hero-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 23px; color: var(--rt-primary-dark); background: #fff; border-color: #fff; }
.shop-page-hero-btn:hover { color: var(--rt-primary-dark); background: #e9f6ef; border-color: #e9f6ef; }
.shop-page-hero + .container { padding-top: 34px !important; }
.article-list-page .shop-section-head,
.public-page-content .shop-section-head { margin-bottom: 17px; }
.article-filter-bar { margin-bottom: 22px; }

/* Contact page */
.contact-page { background: var(--rt-bg); color: var(--rt-body); }
.contact-hero { padding: 28px 0 16px; }
.contact-hero-inner {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    overflow: hidden;
    border-radius: 22px;
    background-color: #153b2c;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 42px rgba(17, 48, 35, .16);
}
.contact-hero-copy { max-width: 555px; padding: 56px 58px; color: #fff; }
.contact-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #b8e7cb; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.contact-eyebrow-dark { color: var(--rt-primary); }
.contact-hero-copy h1 { margin: 14px 0 13px; color: #fff; font-size: clamp(30px, 4vw, 49px); line-height: 1.2; }
.contact-hero-copy p { max-width: 500px; margin: 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.85; }
.contact-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-btn-light { color: var(--rt-primary-dark); background: #fff; border-color: #fff; }
.contact-btn-light:hover { color: var(--rt-primary-dark); background: #e9f6ef; border-color: #e9f6ef; }
.contact-hero-badge { position: absolute; right: 40px; bottom: 32px; display: flex; align-items: center; gap: 11px; max-width: 270px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; color: #fff; background: rgba(13, 39, 29, .72); backdrop-filter: blur(7px); }
.contact-hero-badge > i { color: #a8e9bf; font-size: 24px; }
.contact-hero-badge strong, .contact-hero-badge small { display: block; }
.contact-hero-badge strong { font-size: 12px; }
.contact-hero-badge small { margin-top: 3px; color: rgba(255,255,255,.72); font-size: 10px; line-height: 1.4; }
.contact-section { padding: 58px 0; }
.contact-quick-section { background: #fff; }
.contact-section-heading { margin-bottom: 24px; }
.contact-section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.contact-section-heading h2 { margin: 8px 0 6px; color: var(--rt-ink); font-size: clamp(22px, 2.6vw, 30px); }
.contact-section-heading p { margin: 0; color: var(--rt-muted); font-size: 13px; }
.contact-channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.contact-channel-card { position: relative; display: flex; align-items: flex-start; gap: 13px; min-height: 125px; padding: 20px; border: 1px solid var(--rt-line); border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(17, 48, 35, .045); }
.contact-channel-icon, .contact-branch-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--rt-primary); background: #e5f3eb; font-size: 20px; }
.contact-channel-icon.is-line { color: #fff; background: #06c755; }
.contact-channel-icon.is-mail { color: #3973a3; background: #e7f0f8; }
.contact-channel-card span, .contact-channel-card strong, .contact-channel-card small { display: block; }
.contact-channel-card span { color: var(--rt-muted); font-size: 11px; }
.contact-channel-card strong { max-width: 235px; margin: 4px 0 4px; overflow-wrap: anywhere; color: var(--rt-ink); font-size: 16px; }
.contact-channel-card small { color: var(--rt-muted); font-size: 11px; line-height: 1.5; }
.contact-card-link { position: absolute; top: 16px; right: 16px; color: var(--rt-primary); font-size: 15px; }
.contact-branches-section { background: var(--rt-bg); }
.contact-branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-branch-card { padding: 22px; border: 1px solid var(--rt-line); border-radius: 15px; background: #fff; box-shadow: 0 7px 20px rgba(17, 48, 35, .045); }
.contact-branch-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact-branch-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; font-size: 18px; }
.contact-branch-label { color: var(--rt-primary); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.contact-branch-card h3 { margin: 14px 0 16px; color: var(--rt-ink); font-size: 17px; }
.contact-detail-line { display: flex; gap: 9px; margin-top: 10px; color: var(--rt-muted); font-size: 12px; line-height: 1.6; }
.contact-detail-line i { flex: 0 0 15px; color: var(--rt-primary); font-size: 14px; text-align: center; }
.contact-branch-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rt-line-soft); }
.contact-empty { display: grid; min-height: 180px; place-items: center; padding: 25px; border: 1px dashed var(--rt-line); border-radius: 14px; color: var(--rt-muted); background: #fff; text-align: center; }
.contact-empty i { color: var(--rt-primary); font-size: 32px; }
.contact-empty strong, .contact-empty span { display: block; }
.contact-empty strong { margin-top: 10px; color: var(--rt-ink); }
.contact-empty span { margin-top: 4px; font-size: 12px; }
.contact-company-section { padding-top: 10px; background: var(--rt-bg); }
.contact-company-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); overflow: hidden; border: 1px solid var(--rt-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(17, 48, 35, .06); }
.contact-company-copy { padding: 32px; }
.contact-company-copy h2 { margin: 9px 0 10px; color: var(--rt-ink); font-size: 23px; }
.contact-company-copy p { max-width: 680px; margin: 0; color: var(--rt-muted); font-size: 13px; line-height: 1.8; }
.contact-company-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 20px; }
.contact-company-meta span { display: inline-flex; align-items: flex-start; gap: 7px; color: var(--rt-body); font-size: 12px; }
.contact-company-meta i { color: var(--rt-primary); }
.contact-company-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px; color: #fff; background: linear-gradient(145deg, var(--rt-primary), #1e5b43); }
.contact-company-cta > i { margin-bottom: 12px; color: #b9edcd; font-size: 28px; }
.contact-company-cta strong { font-size: 16px; }
.contact-company-cta span { margin: 7px 0 18px; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.6; }
.contact-company-cta .btn { color: var(--rt-primary-dark); background: #fff; border-color: #fff; }
.contact-company-cta .btn:hover { color: var(--rt-primary-dark); background: #e9f6ef; border-color: #e9f6ef; }

/* About page */
.about-page { background: var(--rt-bg); color: var(--rt-body); }
.about-hero { display: flex; min-height: 430px; align-items: center; background-color: #153b2c; background-position: center; background-size: cover; }
.about-hero-copy { max-width: 570px; padding: 72px 0; color: #fff; }
.about-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #b8e7cb; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.about-eyebrow-dark { color: var(--rt-primary); }
.about-hero-copy h1 { margin: 15px 0 13px; color: #fff; font-size: clamp(31px, 4vw, 51px); line-height: 1.18; }
.about-hero-copy p { max-width: 500px; margin: 0 0 25px; color: rgba(255,255,255,.83); font-size: 16px; line-height: 1.8; }
.about-btn-light { color: var(--rt-primary-dark); background: #fff; border-color: #fff; }
.about-btn-light:hover { color: var(--rt-primary-dark); background: #e9f6ef; border-color: #e9f6ef; }
.about-section { padding: 68px 0; }
.about-story-section { background: #fff; }
.about-story-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 58px; align-items: center; }
.about-story-copy h2, .about-section-heading h2 { margin: 9px 0 13px; color: var(--rt-ink); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.about-story-copy p { max-width: 700px; margin: 0 0 13px; color: var(--rt-body); font-size: 14px; line-height: 1.9; }
.about-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 9px; color: var(--rt-primary); font-size: 13px; font-weight: 600; text-decoration: none; }
.about-text-link:hover { color: var(--rt-primary-dark); }
.about-story-highlight { padding: 29px; border-radius: 17px; color: #fff; background: linear-gradient(145deg, #173f2f, #286c4d); box-shadow: 0 15px 32px rgba(17, 48, 35, .15); }
.about-story-highlight-icon { display: grid; width: 46px; height: 46px; margin-bottom: 17px; place-items: center; border-radius: 13px; color: #194f37; background: #bceacb; font-size: 23px; }
.about-story-highlight strong, .about-story-highlight span { display: block; }
.about-story-highlight strong { max-width: 290px; font-size: 20px; line-height: 1.45; }
.about-story-highlight > span { margin-top: 9px; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.7; }
.about-story-highlight-line { width: 100%; height: 1px; margin: 22px 0 16px; background: rgba(255,255,255,.18); }
.about-mini-points { display: grid; gap: 9px; }
.about-mini-points span { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.88); font-size: 12px; }
.about-mini-points i { color: #bceacb; }
.about-values-section { background: var(--rt-bg); }
.about-section-heading { margin-bottom: 25px; }
.about-section-heading > p { margin: 0; color: var(--rt-muted); font-size: 13px; }
.about-section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.about-value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.about-value-card { padding: 22px; border: 1px solid var(--rt-line); border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(17, 48, 35, .045); }
.about-value-card > div { display: flex; align-items: center; gap: 12px; }
.about-value-card i { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; color: var(--rt-primary); background: #e5f3eb; font-size: 20px; }
.about-value-card span { color: var(--rt-ink); font-size: 16px; font-weight: 600; }
.about-value-card p { margin: 15px 0 0; color: var(--rt-muted); font-size: 12px; line-height: 1.7; }
.about-vision-section { padding-top: 15px; background: var(--rt-bg); }
.about-vision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-vision-card { min-height: 225px; padding: 27px; border-radius: 16px; }
.about-vision-card.is-vision { background: #e3f1e8; }
.about-vision-card.is-mission { color: #fff; background: linear-gradient(145deg, #194832, #2d7653); }
.about-vision-card.is-mission .about-eyebrow { color: #b8e7cb; }
.about-vision-icon { display: grid; width: 42px; height: 42px; margin-bottom: 17px; place-items: center; border-radius: 12px; color: var(--rt-primary); background: rgba(255,255,255,.72); font-size: 21px; }
.about-vision-card.is-mission .about-vision-icon { color: #1d563b; }
.about-vision-card h2 { margin: 8px 0 8px; font-size: 21px; }
.about-vision-card.is-vision h2 { color: var(--rt-ink); }
.about-vision-card p { max-width: 550px; margin: 0; color: inherit; opacity: .82; font-size: 13px; line-height: 1.85; }
.about-products-section { background: #fff; }
.about-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.about-product-card { overflow: hidden; border: 1px solid var(--rt-line); border-radius: 13px; color: inherit; background: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.about-product-card:hover { color: inherit; box-shadow: var(--rt-shadow); transform: translateY(-2px); }
.about-product-media { display: grid; height: 175px; place-items: center; overflow: hidden; color: var(--rt-primary); background: var(--rt-line-soft); }
.about-product-media img { width: 100%; height: 100%; object-fit: cover; }
.about-product-media i { font-size: 38px; opacity: .45; }
.about-product-copy { padding: 14px; }
.about-product-copy span, .about-product-copy strong, .about-product-copy small { display: block; }
.about-product-copy span { color: var(--rt-muted); font-size: 10px; }
.about-product-copy strong { min-height: 42px; margin: 5px 0 10px; color: var(--rt-ink); font-size: 13px; line-height: 1.6; }
.about-product-copy small { color: var(--rt-primary); font-size: 11px; }
.about-products-empty { display: grid; min-height: 180px; place-items: center; padding: 25px; border: 1px dashed var(--rt-line); border-radius: 14px; background: var(--rt-bg); color: var(--rt-muted); text-align: center; }
.about-products-empty i { color: var(--rt-primary); font-size: 34px; }
.about-products-empty strong, .about-products-empty span { display: block; }
.about-products-empty strong { margin-top: 10px; color: var(--rt-ink); }
.about-products-empty span { margin-top: 4px; font-size: 12px; }
.about-cta-section { padding: 0 0 68px; background: #fff; }
.about-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 31px 35px; border-radius: 17px; color: #fff; background: linear-gradient(110deg, #153b2c, #2d7653); }
.about-cta-card h2 { margin: 9px 0 7px; color: #fff; font-size: 24px; }
.about-cta-card p { margin: 0; color: rgba(255,255,255,.75); font-size: 12px; }

.pcard {
    border: 1px solid var(--rt-line);
    border-radius: var(--rt-radius);
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: block;
    color: inherit;
}
.pcard:hover { border-color: var(--rt-primary-line); box-shadow: var(--rt-shadow); }
.pcard-media { aspect-ratio: 1; background: var(--rt-line-soft); display: grid; place-items: center; overflow: hidden; }
.article-list-page .pcard-media { aspect-ratio: 16 / 9; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 12px 14px 14px; }
.pcard-cat { font-size: 11.5px; color: var(--rt-muted); }
.pcard-name { color: var(--rt-ink); font-size: 14.5px; font-weight: 500; line-height: 1.45; margin: 3px 0 8px; }
.pcard-price { color: var(--rt-primary-dark); font-size: 17px; font-weight: 700; }
.pcard-price s { color: var(--rt-muted); font-size: 13px; font-weight: 400; margin-left: 6px; }
.pcard-unit { color: var(--rt-muted); font-size: 12.5px; font-weight: 400; }
.pcard-colors {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    margin: 2px 0 7px;
}
.pcard-color-dot,
.opt-color-dot {
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--swatch-color);
    box-shadow: 0 0 0 1px #aeb8b2;
}
.pcard-color-dot { width: 19px; height: 19px; }

.cat-tile {
    display: block;
    border: 1px solid var(--rt-line);
    border-radius: var(--rt-radius);
    padding: 18px;
    height: 100%;
    background: #fff;
    color: inherit;
}
.cat-tile:hover { border-color: var(--rt-primary-line); background: var(--rt-primary-soft); }
.cat-tile-name { color: var(--rt-ink); font-weight: 600; }
.cat-tile-count { color: var(--rt-muted); font-size: 12.5px; }

.shop-category-showcase { background: var(--rt-bg); }
.shop-category-rail {
    position: sticky;
    top: 18px;
    background: #fff;
    border: 1px solid var(--rt-line);
    border-radius: var(--rt-radius);
    overflow: hidden;
    box-shadow: var(--rt-shadow);
}
.shop-category-rail-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 16px;
    color: var(--rt-ink);
    background: var(--rt-head);
    border-bottom: 1px solid var(--rt-line);
    font-weight: 600;
}
.shop-category-rail-head i { color: var(--rt-primary); font-size: 18px; }
.shop-category-rail-group { padding: 8px; }
.shop-category-rail-group + .shop-category-rail-group { border-top: 1px solid var(--rt-line-soft); }
.shop-category-rail-kind,
.shop-category-rail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 9px;
    border-left: 3px solid transparent;
    border-radius: var(--rt-radius-sm);
    color: var(--rt-body);
}
.shop-category-rail-kind:hover,
.shop-category-rail-item:hover {
    color: var(--rt-primary-dark);
    background: var(--rt-primary-soft);
    border-left-color: var(--rt-primary);
}
.shop-category-rail-kind strong { display: block; color: var(--rt-ink); font-weight: 600; }
.shop-category-rail-kind small { display: block; color: var(--rt-muted); font-size: 11.5px; line-height: 1.25; }
.shop-category-rail-item { font-size: 13.5px; }
.shop-category-rail-item > span:nth-child(2) { flex: 1; }
.shop-category-rail-item > small { color: var(--rt-muted); font-size: 11px; }
.shop-category-rail-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--rt-primary);
    background: var(--rt-primary-soft);
    font-size: 17px;
}
.shop-category-kind-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.shop-category-kind-head h3 { margin: 0; font-size: 20px; }
.shop-category-kind-head p { margin: 2px 0 0; color: var(--rt-muted); font-size: 13px; }
.shop-category-kind-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--rt-primary);
    background: var(--rt-primary-soft);
    font-size: 20px;
}
.cat-tile--icon { text-align: center; min-height: 142px; padding: 18px 12px; }
.cat-tile-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    border-radius: 50%;
    color: var(--rt-primary);
    background: var(--rt-primary-soft);
    font-size: 24px;
}

.home-category-sections { background: #fff; }
.home-category-block + .home-category-block {
    margin-top: 46px;
    padding-top: 42px;
    border-top: 1px solid var(--rt-line);
}
.home-category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}
.home-category-heading h2 {
    position: relative;
    margin: 0 0 14px;
    font-size: 27px;
}
.home-category-heading h2::after {
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 48px;
    height: 3px;
    background: var(--rt-primary);
    content: "";
}
.home-category-heading p { margin: 0; color: var(--rt-body); font-size: 14px; }
.home-category-heading > a {
    flex: 0 0 auto;
    color: var(--rt-primary-dark);
    font-size: 13px;
    font-weight: 600;
}
.home-category-layout {
    display: grid;
    grid-template-columns: minmax(230px, 285px) minmax(0, 1fr);
    gap: 16px;
}
.home-category-feature {
    position: relative;
    display: flex;
    min-height: 414px;
    overflow: hidden;
    align-items: flex-end;
    padding: 24px;
    color: #fff;
    background-color: var(--rt-sidebar);
    background-position: center;
    background-size: cover;
}
.home-category-feature:hover { color: #fff; }
.home-category-feature-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    font-size: 22px;
}
.home-category-feature strong { display: block; font-size: 26px; }
.home-category-feature small {
    display: block;
    max-width: 24ch;
    margin: 4px 0 14px;
    color: rgba(255,255,255,.86);
    font-size: 13px;
}
.home-category-feature div > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    background: #fff;
    color: var(--rt-ink);
    font-size: 13px;
    font-weight: 600;
}
.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.home-category-card {
    display: grid;
    min-width: 0;
    min-height: 198px;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 14px 10px;
    border: 1px solid var(--rt-line);
    background: #fff;
    color: inherit;
    text-align: center;
}
.home-category-card:hover {
    border-color: var(--rt-primary);
    box-shadow: var(--rt-shadow);
}
.home-category-card-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    color: var(--rt-primary);
    background: var(--rt-primary-soft);
    font-size: 35px;
}
.home-category-card strong {
    display: block;
    max-width: 100%;
    color: var(--rt-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}
.home-category-card small { color: var(--rt-muted); font-size: 11.5px; }

.shop-catalog-directory {
    padding: 20px;
    border: 1px solid var(--rt-line);
    border-radius: var(--rt-radius);
    background: var(--rt-bg);
}
.shop-catalog-directory .shop-section-head h2 { font-size: 20px; }
.shop-catalog-group + .shop-catalog-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--rt-line);
}
.shop-catalog-group-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--rt-ink);
}
.shop-catalog-group-title .shop-category-kind-icon {
    width: 34px;
    height: 34px;
    font-size: 17px;
}
.shop-catalog-group-title a {
    margin-left: auto;
    color: var(--rt-primary);
    font-size: 13px;
}
.shop-catalog-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    height: 100%;
    padding: 10px;
    border: 1px solid var(--rt-line);
    border-radius: var(--rt-radius-sm);
    background: #fff;
    color: inherit;
}
.shop-catalog-tile:hover {
    border-color: var(--rt-primary-line);
    background: var(--rt-primary-soft);
}
.shop-catalog-tile-icon {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--rt-primary);
    background: var(--rt-primary-soft);
    font-size: 17px;
}
.shop-catalog-tile-copy { min-width: 0; }
.shop-catalog-tile-copy strong {
    display: block;
    overflow: hidden;
    color: var(--rt-ink);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-catalog-tile-copy small {
    display: block;
    color: var(--rt-muted);
    font-size: 11.5px;
}

.filter-box { border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: 16px; }
.filter-title { font-size: 13px; font-weight: 600; color: var(--rt-ink); margin-bottom: 8px; }
.filter-group { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--rt-line-soft); }
.filter-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.category-filter-box { padding: 14px 12px; background: #fff; }
.category-filter-heading { display: flex; align-items: center; gap: 10px; padding: 2px 4px 13px; border-bottom: 1px solid var(--rt-line-soft); }
.category-filter-heading-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, var(--rt-primary), #4d9570); font-size: 16px; }
.category-filter-heading small { display: block; margin-top: 3px; color: var(--rt-muted); font-size: 10.5px; }
.category-filter-all { display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 7px 5px; margin-top: 11px; border: 1px solid var(--rt-line); border-radius: 9px; color: var(--rt-body); background: #fbfdfc; text-decoration: none; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.category-filter-all:hover, .category-filter-all.is-active { color: var(--rt-primary-dark); border-color: #aad9bb; background: #edf7f1; }
.category-filter-all-icon { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; border-radius: 8px; color: #fff; background: var(--rt-primary); font-size: 13px; }
.category-filter-all-copy { display: grid; flex: 1; gap: 1px; }
.category-filter-all-copy strong { font-size: 12.5px; line-height: 1.35; }
.category-filter-all-copy small { color: var(--rt-muted); font-size: 10px; }
.category-filter-all-arrow { color: var(--rt-primary); font-size: 12px; }
.category-filter-group { padding-top: 14px; }
.category-filter-group + .category-filter-group { margin-top: 13px; border-top: 1px solid var(--rt-line-soft); }
.category-filter-group-title { display: flex; align-items: center; gap: 8px; margin: 0 4px 7px; color: var(--rt-ink); font-size: 12px; font-weight: 700; }
.category-filter-group-title > a { display: inline-grid; width: 22px; height: 22px; margin-left: auto; place-items: center; border-radius: 6px; color: var(--rt-primary); background: var(--rt-primary-soft); font-size: 11px; text-decoration: none; }
.category-filter-group-title > a:hover { color: #fff; background: var(--rt-primary); }
.category-filter-group-icon { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border-radius: 8px; color: var(--rt-primary); background: var(--rt-primary-soft); font-size: 13px; }
.category-filter-item { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 5px 5px; border-left: 3px solid transparent; border-radius: 8px; color: var(--rt-body); text-decoration: none; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.category-filter-item:hover, .category-filter-item.is-active { color: var(--rt-primary-dark); background: #edf7f1; border-left-color: var(--rt-primary); }
.category-filter-item-icon { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border: 1px solid var(--rt-line); border-radius: 7px; color: var(--rt-muted); background: #fff; font-size: 12px; }
.category-filter-item:hover .category-filter-item-icon, .category-filter-item.is-active .category-filter-item-icon { border-color: #abd8bd; color: var(--rt-primary); background: #fff; }
.category-filter-item-name { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.35; }
.category-filter-item > small { min-width: 19px; color: var(--rt-muted); font-size: 10px; text-align: right; }
.category-filter-item-arrow { color: #b0bbb5; font-size: 10px; }
.category-filter-item:hover .category-filter-item-arrow, .category-filter-item.is-active .category-filter-item-arrow { color: var(--rt-primary); }

.variant-image-editor {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 82px;
}
.variant-image-editor > img,
.variant-image-placeholder {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    color: var(--rt-muted);
    background: var(--rt-head);
    object-fit: contain;
}
.variant-image-placeholder { font-size: 22px; }

.product-layout { align-items: start; }
.product-gallery { position: sticky; top: 92px; }
.product-detail { min-width: 0; }
.product-buy-card {
    padding: 24px;
    border: 1px solid var(--rt-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(17, 48, 35, .07);
}
.product-title {
    margin-bottom: 8px;
    color: var(--rt-ink);
    font-size: clamp(23px, 2.2vw, 31px);
    line-height: 1.32;
}
.product-meta {
    margin-bottom: 14px;
    color: var(--rt-muted);
    font-size: 13px;
}
.product-lead {
    max-width: 70ch;
    margin-bottom: 18px;
    color: var(--rt-body);
    line-height: 1.7;
}
.gallery-main {
    --zoom-x: 50%;
    --zoom-y: 50%;
    position: relative;
    border: 1px solid var(--rt-line);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #fff;
    box-shadow: 0 12px 34px rgba(17, 48, 35, .08);
}
.gallery-main.has-zoom { cursor: zoom-in; }
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: var(--zoom-x) var(--zoom-y);
    transition: transform .18s ease;
    will-change: transform;
}
.gallery-expand {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(24, 72, 52, .78);
    box-shadow: 0 6px 18px rgba(13, 42, 30, .18);
    backdrop-filter: blur(6px);
}
.gallery-expand:hover { background: var(--rt-primary); }
.gallery-hover-hint {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 3;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 42, 33, .72);
    font-size: 12px;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity .18s ease;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}
@media (hover: hover) and (pointer: fine) {
    .gallery-main.has-zoom.is-zooming img { transform: scale(2.15); }
    .gallery-main.has-zoom.is-zooming .gallery-hover-hint { opacity: 0; }
}
.gallery-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    height: 100%;
    padding: 24px;
    text-align: center;
    color: var(--rt-muted);
}
.gallery-placeholder strong { color: var(--rt-primary-dark); font-size: 16px; }
.gallery-placeholder > span:last-child { font-size: 13px; }
.gallery-placeholder-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 4px;
    border: 1px solid var(--rt-primary-line);
    border-radius: 24px;
    color: var(--rt-primary);
    background: rgba(255, 255, 255, .72);
    font-size: 34px;
}
.gallery-thumbs {
    display: grid;
    grid-auto-columns: minmax(78px, 1fr);
    grid-auto-flow: column;
    gap: 10px;
    margin-top: 12px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.gallery-thumb {
    position: relative;
    min-width: 0;
    padding: 0;
    border: 1px solid var(--rt-line);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    background: #fff;
}
.gallery-thumb.active {
    border-color: var(--rt-primary);
    box-shadow: 0 0 0 3px var(--rt-primary-soft);
}
.gallery-thumb.active::after {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--rt-primary);
    content: "✓";
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-help {
    margin-top: 9px;
    color: var(--rt-muted);
    font-size: 12px;
    text-align: center;
}
.gallery-help-touch { display: none; }
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    padding: 28px;
    background: rgba(9, 21, 16, .88);
    backdrop-filter: blur(8px);
}
.gallery-lightbox.is-open { display: grid; }
.gallery-lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 88vh;
    border-radius: 18px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
}
.gallery-lightbox-close {
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-size: 20px;
}
body.gallery-lightbox-open { overflow: hidden; }

.product-option-panel {
    padding: 18px;
    border: 1px solid var(--rt-line);
    border-radius: 16px;
    background: #fff;
}
.product-option-group + .product-option-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--rt-line-soft);
}
.product-option-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.product-option-head strong {
    color: var(--rt-ink);
    font-size: 14px;
}
.product-option-head span {
    overflow: hidden;
    color: var(--rt-primary);
    font-size: 12px;
    font-weight: 600;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-option-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.product-option-values.is-size { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-option-values.is-color {
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
}
.opt-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--rt-line);
    background: #fff;
    border-radius: 11px;
    padding: 9px 30px 9px 12px;
    font-size: 13px;
    color: var(--rt-body);
    line-height: 1.35;
    text-align: center;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.opt-btn i {
    position: absolute;
    top: 50%;
    right: 9px;
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--rt-primary);
    line-height: 18px;
    transform: translateY(-50%);
}
.opt-btn.has-thumb {
    justify-content: flex-start;
    min-height: 58px;
    padding: 6px 32px 6px 7px;
    text-align: left;
}
.opt-btn.has-color {
    justify-content: flex-start;
    min-height: 50px;
    padding-left: 12px;
}
.opt-color-dot {
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    margin-right: 10px;
}
.opt-btn.has-color.active .opt-color-dot {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rt-primary);
}
.opt-thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-right: 9px;
    overflow: hidden;
    border: 1px solid var(--rt-line-soft);
    border-radius: 8px;
    background: #fff;
}
.opt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.opt-label { min-width: 0; }
.opt-btn:hover:not(:disabled) {
    border-color: var(--rt-primary-line);
    box-shadow: 0 4px 12px rgba(26, 104, 72, .1);
}
.opt-btn.active {
    border-color: var(--rt-primary);
    background: var(--rt-primary-soft);
    color: var(--rt-primary-dark);
    box-shadow: inset 0 0 0 1px var(--rt-primary);
    font-weight: 650;
}
.opt-btn.active i { display: block; }
.opt-btn:disabled { opacity: .4; text-decoration: line-through; }
.product-selection-summary {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--rt-primary-dark);
    background: var(--rt-primary-soft);
    font-size: 12.5px;
}
.product-selection-summary i { margin-top: 1px; color: var(--rt-primary); }

.price-block {
    padding: 17px 18px;
    border: 1px solid var(--rt-primary-line);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--rt-primary-soft), #fff 72%);
}
.price-now { font-size: clamp(28px, 3vw, 36px); font-weight: 750; color: var(--rt-primary-dark); line-height: 1.15; }
.price-was { color: var(--rt-muted); text-decoration: line-through; font-size: 15px; }
.product-buy-box {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: end;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--rt-line);
    border-radius: 15px;
    background: var(--rt-head);
}
.product-qty { min-width: 0; }
.qty-stepper {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    height: 44px;
}
.qty-stepper button,
.qty-stepper input {
    height: 44px;
    border-color: var(--rt-line);
    border-radius: 0;
}
.qty-stepper button {
    border: 1px solid var(--rt-line);
    color: var(--rt-primary-dark);
    background: #fff;
    font-size: 18px;
}
.qty-stepper button:first-child { border-radius: 10px 0 0 10px; }
.qty-stepper button:last-child { border-radius: 0 10px 10px 0; }
.qty-stepper input {
    position: relative;
    z-index: 1;
    border-right: 0;
    border-left: 0;
}
.product-add-cart { min-height: 44px; font-weight: 700; }
.product-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-compare-points {
    padding: 22px;
    border: 1px solid var(--rt-primary-line);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--rt-primary-soft), #fff 70%);
}
.product-compare-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}
.product-compare-head h2 {
    margin: 4px 0 0;
    color: var(--rt-ink);
    font-size: 20px;
}
.product-compare-head > span {
    color: var(--rt-muted);
    font-size: 12px;
}
.product-compare-kicker {
    color: var(--rt-primary);
    font-size: 12px;
    font-weight: 700;
}
.product-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.product-compare-item {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--rt-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .92);
}
.product-compare-item > span {
    display: block;
    color: var(--rt-muted);
    font-size: 12px;
}
.product-compare-item strong {
    display: block;
    margin-top: 4px;
    color: var(--rt-primary-dark);
    font-size: 16px;
    line-height: 1.4;
}
.product-compare-item small {
    display: block;
    margin-top: 5px;
    color: var(--rt-muted);
    font-size: 11px;
}
.product-faq-list { padding-top: 4px; padding-bottom: 4px; }
.product-faq-item { border-bottom: 1px solid var(--rt-line-soft); }
.product-faq-item:last-child { border-bottom: 0; }
.product-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; color: var(--rt-ink); cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; }
.product-faq-item summary::-webkit-details-marker { display: none; }
.product-faq-item summary i { color: var(--rt-primary); font-size: 12px; transition: transform .16s ease; }
.product-faq-item[open] summary i { transform: rotate(180deg); }
.product-faq-item p { max-width: 850px; margin: -2px 26px 14px 2px; color: var(--rt-muted); font-size: 12px; line-height: 1.75; }

.product-mobile-cta { display: none; }
.product-compare-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-compare-actions .btn-light-soft { min-height: 40px; }
.product-compare-actions .btn-link { color: var(--rt-primary-dark); text-decoration: none; font-size: 13px; }

.compare-page { max-width: 1180px; }
.compare-scroll-wrap { overflow-x: auto; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); background: #fff; box-shadow: var(--rt-shadow); }
.compare-table { display: grid; grid-template-columns: minmax(125px, .75fr) repeat(var(--compare-columns), minmax(210px, 1fr)); min-width: 780px; }
.compare-label-column, .compare-product-column { min-width: 0; }
.compare-label-cell, .compare-value-cell { min-height: 54px; display: flex; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--rt-line-soft); font-size: 13px; }
.compare-label-cell { color: var(--rt-muted); font-weight: 600; background: var(--rt-head); }
.compare-label-head { min-height: 236px; align-items: flex-start; padding-top: 16px; color: var(--rt-ink); }
.compare-product-column { border-left: 1px solid var(--rt-line-soft); }
.compare-product-head { min-height: 236px; padding: 14px; border-bottom: 1px solid var(--rt-line-soft); }
.compare-product-image { display: flex; align-items: center; justify-content: center; height: 128px; margin-bottom: 10px; border-radius: 10px; background: var(--rt-bg); overflow: hidden; }
.compare-product-image img { width: 100%; height: 100%; object-fit: contain; }
.compare-product-image i { color: var(--rt-muted); font-size: 30px; }
.compare-product-name { display: block; color: var(--rt-ink); font-size: 14px; font-weight: 700; line-height: 1.45; text-decoration: none; }
.compare-product-name:hover { color: var(--rt-primary); }
.compare-product-code { display: block; margin-top: 3px; color: var(--rt-muted); font-size: 11px; }
.compare-remove-form { margin-top: 4px; }
.compare-remove-form .btn { padding: 0; color: var(--rt-danger); font-size: 11px; }
.compare-value-cell { color: var(--rt-ink); }
.compare-price { color: var(--rt-primary-dark); font-weight: 700; }
.compare-price small { margin-left: 3px; color: var(--rt-muted); font-size: 11px; font-weight: 400; }
.compare-note { color: var(--rt-muted); font-size: 12px; }
.compare-empty { box-shadow: var(--rt-shadow); }
.compare-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; color: var(--rt-primary); background: var(--rt-primary-soft); font-size: 28px; }

.calc-box { border: 1px dashed var(--rt-primary-line); border-radius: var(--rt-radius); padding: 16px; background: var(--rt-primary-soft); }
.calc-line { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.calc-line strong { color: var(--rt-primary-dark); }
.calc-total { border-top: 1px solid var(--rt-primary-line); margin-top: 8px; padding-top: 10px; font-size: 17px; }

.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--rt-line-soft); font-size: 14px; }
.spec-table td:first-child { color: var(--rt-muted); width: 42%; }

.shop-footer { background: var(--rt-sidebar); color: var(--rt-sidebar-text); padding: 36px 0 26px; margin-top: 40px; }
.shop-footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.shop-footer a { color: var(--rt-sidebar-text); font-size: 14px; }
.shop-footer a:hover { color: #fff; }

.shop-bottombar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--rt-line);
    display: none; z-index: 1030;
}
.shop-bottombar a {
    flex: 1; text-align: center; padding: 8px 0 6px;
    color: var(--rt-muted); font-size: 11px;
}
.shop-bottombar a i { display: block; font-size: 19px; margin-bottom: 1px; }
.shop-bottombar a.active { color: var(--rt-primary-dark); }

@media (max-width: 1199.98px) {
    .shop-header-inner {
        grid-template-columns: auto minmax(180px, 1fr) auto auto;
        gap: 12px;
        min-height: 66px;
    }
    .shop-logo { grid-column: 1; grid-row: 1; }
    .shop-search { grid-column: 2; grid-row: 1; }
    .shop-header-actions { grid-column: 3; grid-row: 1; }
    .shop-mobile-menu-toggle {
        display: grid;
        grid-column: 4;
        grid-row: 1;
    }
    .shop-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        height: auto;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 0 0 10px;
        border-top: 1px solid var(--rt-line-soft);
    }
    body.shop-mobile-nav-open .shop-nav { display: flex; }
    .shop-nav > a,
    .shop-nav > .dropdown > a {
        width: 100%;
        height: auto;
        justify-content: flex-start;
        padding: 12px 4px;
        border-bottom: 1px solid var(--rt-line-soft);
        font-size: 14px;
    }
    .shop-nav > .dropdown { width: 100%; }
    .shop-mini-cart { width: 330px; }
    .shop-nav .dropdown-menu {
        position: static !important;
        width: 100%;
        margin: 0 0 6px;
        transform: none !important;
        border: 0;
        border-radius: 0;
        background: var(--rt-bg);
        box-shadow: none;
    }
    .shop-nav .dropdown-item { padding: 10px 16px; font-size: 13px; }
}

@media (max-width: 767.98px) {
    .shop-topbar { display: none; }
    .shop-header-inner {
        grid-template-columns: auto minmax(0, 1fr) 38px 38px;
        gap: 8px;
        min-height: 60px;
    }
    .shop-logo { font-size: 18px; }
    .shop-logo img { max-width: 84px; height: auto; }
    .shop-search .form-control,
    .shop-search .btn { height: 36px; }
    .shop-search .form-control { padding: 6px 9px; font-size: 13px; }
    .shop-search .btn { width: 36px; }
    .shop-cart-link,
    .shop-mobile-menu-toggle { width: 38px; height: 38px; }
    .shop-cart-link { font-size: 19px; }
    .shop-mobile-menu-toggle i { font-size: 24px; }
    .shop-nav { padding-bottom: 8px; }
    .shop-nav > a,
    .shop-nav > .dropdown > a { padding: 12px 2px; }
    .shop-announcement-track {
        justify-content: flex-start;
        gap: 22px;
        height: 27px;
        font-size: 11px;
    }
    .shop-hero h1 { font-size: 25px; }
    .shop-hero p { font-size: 14px; }
    .shop-hero-carousel,
    .shop-hero-slide { min-height: 286px; }
    .shop-hero-slide {
        padding: 30px 0 42px;
        background-position: 60% center;
    }
    .shop-hero-copy { max-width: 74%; }
    .shop-hero-kicker { margin-bottom: 8px; font-size: 11.5px; }
    .shop-hero-copy .btn { padding: 6px 11px; font-size: 12.5px; }
    .shop-hero-carousel .carousel-control-prev,
    .shop-hero-carousel .carousel-control-next { display: none; }
    .shop-promise { padding: 12px; }
    .shop-promise-title { font-size: 13px; }
    .shop-promise-sub { font-size: 11.5px; }
    .home-advisor-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 16px;
    }
    .home-advisor-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-advisor-fields .btn { grid-column: 1 / -1; }
    .home-category-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .home-category-heading h2 { font-size: 23px; }
    .home-category-layout { grid-template-columns: 1fr; }
    .home-category-feature {
        min-height: 230px;
        background-position: center;
    }
    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .home-category-card { min-height: 142px; padding: 12px 8px; }
    .home-category-card-icon { width: 58px; height: 58px; font-size: 27px; }
    .home-category-card strong { font-size: 12.5px; }
    .home-category-block + .home-category-block {
        margin-top: 34px;
        padding-top: 30px;
    }
    .shop-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .shop-section-head > form,
    .shop-section-head > form .form-select { width: 100% !important; }
    .shop-catalog-directory { padding: 14px; }
}

@media (max-width: 991.98px) {
    .shop-category-rail { position: static; }
    .product-gallery { position: static; }
    .product-buy-card { padding: 20px; }
    .home-showroom-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .home-showroom-heading { align-items: flex-start; flex-direction: column; }
    .home-showroom-cards { grid-template-columns: 1fr; }
    .home-showroom-card { min-height: 0; padding: 20px; }
    .home-showroom-intro { min-height: 0; }
    .home-showroom-visit { min-height: 300px; padding: 24px; }
    .shop-body:has(.product-mobile-cta) { padding-bottom: 82px; }
    .product-mobile-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid var(--rt-line);
        box-shadow: 0 -6px 20px rgba(17, 48, 35, .08);
        backdrop-filter: blur(8px);
    }
    .product-mobile-cta-price { min-width: 0; color: var(--rt-ink); }
    .product-mobile-cta-price small { display: block; color: var(--rt-muted); font-size: 10px; line-height: 1.2; }
    .product-mobile-cta-price strong { display: block; color: var(--rt-primary-dark); font-size: 16px; white-space: nowrap; }
    .product-mobile-cta .btn { min-height: 42px; padding: 8px 13px; white-space: nowrap; }

    .product-layout { --bs-gutter-y: 18px; }
    .product-buy-card {
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(17, 48, 35, .06);
    }
    .product-title { font-size: 22px; }
    .product-lead { font-size: 14px; }
    .gallery-main { border-radius: 16px; }
    .gallery-expand {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }
    .gallery-hover-hint { display: none; }
    .gallery-thumbs {
        grid-auto-columns: 76px;
        justify-content: start;
    }
    .gallery-help { font-size: 11px; }
    .gallery-help-pointer { display: none; }
    .gallery-help-touch { display: inline; }
    .gallery-lightbox { padding: 14px; }
    .gallery-lightbox-close { top: 14px; right: 14px; }
    .price-block { padding: 15px; }
    .price-block .text-end { text-align: left !important; }
    .product-option-panel { padding: 14px; }
    .product-option-values,
    .product-option-values.is-size {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-option-values.is-color { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-option-values.is-size .opt-btn { min-height: 52px; }
    .opt-btn.has-thumb { min-height: 60px; }
    .opt-thumb {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        margin-right: 7px;
    }
    .opt-btn { padding-right: 28px; font-size: 12.5px; }
    .product-buy-box { grid-template-columns: 1fr; }
    .product-compare-actions { align-items: stretch; }
    .product-compare-actions .btn-light-soft { flex: 1 1 100%; }
    .product-compare-actions .btn-link { padding-left: 0; }
    .product-contact-actions .btn { flex: 1 1 calc(50% - 4px); }
    .product-compare-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    .product-compare-grid { grid-template-columns: 1fr; }
    .product-compare-points { padding: 16px; }
}

@media (max-width: 991.98px) {
    .shop-page-hero { min-height: 300px; background-position: 62% center; }
    .shop-page-hero-copy { max-width: 540px; padding: 48px 0; }
    .shop-page-hero h1 { font-size: clamp(29px, 5vw, 41px); }
    .contact-hero-inner { min-height: 360px; }
    .contact-hero-copy { max-width: 500px; padding: 45px 40px; }
    .contact-channel-grid,
    .contact-branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-company-card { grid-template-columns: 1fr; }
    .contact-company-cta { padding-top: 24px; padding-bottom: 25px; }
    .about-story-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .shop-page-hero { min-height: 410px; align-items: flex-end; background-position: 67% center; }
    .shop-page-hero-copy { padding: 30px 0 34px; }
    .shop-page-hero h1 { font-size: 31px; }
    .shop-page-hero p { font-size: 13px; }
    .shop-page-hero + .container { padding-top: 25px !important; }
    .contact-hero { padding-top: 14px; }
    .contact-hero-inner { min-height: 470px; align-items: flex-end; background-position: 62% center; }
    .contact-hero-copy { padding: 28px 24px 30px; }
    .contact-hero-copy h1 { font-size: 30px; }
    .contact-hero-copy p { font-size: 13px; }
    .contact-hero-badge { top: 20px; right: 20px; bottom: auto; max-width: 220px; }
    .contact-section { padding: 42px 0; }
    .contact-section-heading-row { align-items: flex-start; flex-direction: column; }
    .contact-channel-grid,
    .contact-branch-grid { grid-template-columns: 1fr; }
    .contact-company-copy { padding: 25px 22px; }
    .contact-company-cta { padding: 25px 22px; }
    .about-hero { min-height: 440px; background-position: 63% center; }
    .about-hero-copy { padding: 50px 0 45px; }
    .about-hero-copy h1 { font-size: 31px; }
    .about-hero-copy p { font-size: 14px; }
    .about-section { padding: 45px 0; }
    .about-section-heading-row { align-items: flex-start; flex-direction: column; }
    .about-value-grid,
    .about-vision-grid { grid-template-columns: 1fr; }
    .about-vision-card { min-height: 0; }
    .about-cta-section { padding-bottom: 45px; }
    .about-cta-card { align-items: flex-start; flex-direction: column; padding: 26px 22px; }
}

@media (max-width: 575.98px) {
    .shop-category-kind-head { align-items: flex-start; }
    .shop-category-kind-head h3 { font-size: 18px; }
    .shop-category-kind-head p { max-width: 26ch; }
    .shop-category-kind-head > .btn { flex: 0 0 auto; }
    .product-option-values,
    .product-option-values.is-size { grid-template-columns: 1fr 1fr; }
    .product-option-head span { max-width: 62%; }
    .product-contact-actions .btn { flex-basis: 100%; }
    .product-option-values.is-color { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px), (hover: none) {
    .shop-mini-cart { display: none; }
    .shop-cart-wrap::after { display: none; }
}

@media (max-width: 991.98px) {
    .shop-account-layout { grid-template-columns: 1fr; gap: 18px; }
    .shop-account-sidebar { position: static; }
    .shop-account-profile { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 12px; padding: 16px 18px; }
    .shop-account-profile-avatar { grid-row: span 3; width: 58px; height: 58px; margin: 0; font-size: 24px; }
    .shop-account-profile strong { align-self: end; }
    .shop-account-vip-badge { align-self: start; margin-top: 3px; }
    .shop-account-side-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-account-side-divider { grid-column: 1 / -1; }
    .shop-account-side-nav form { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .shop-account-greeting h1 { font-size: 25px; }
    .shop-account-page-head { margin-bottom: 16px; }
    .shop-account-page-head h1 { font-size: 23px; }
    .shop-account-page-head-wide { align-items: flex-start; flex-direction: column; gap: 8px; }
    .shop-account-points-total { font-size: 21px; }
    .shop-account-detail-grid { grid-template-columns: 1fr; }
    .shop-account-form-body { padding: 14px; }
    .shop-account-summary { grid-template-columns: 1fr; }
    .shop-account-level-card,
    .shop-account-points-card { min-height: 96px; padding: 16px; }
    .shop-account-level-card strong,
    .shop-account-points-card strong { font-size: 19px; }
    .shop-account-tools { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px; }
    .shop-account-tools a { min-height: 82px; padding: 13px 6px; }
    .shop-account-panel-title { padding: 13px 14px; }
    .shop-account-address-body { padding: 14px; }
    .shop-account-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
    .shop-account-product-media { height: 108px; }
    .shop-account-product-copy { padding: 10px; }
    .shop-account-referral-body { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
    .shop-account-referral-copy { flex-direction: column; }
    .shop-account-referral-copy .btn { width: 100%; }
    .shop-account-review-list { padding: 0 14px; }
    .home-articles-intro { margin-bottom: 30px; }
    .home-articles-intro h2 { font-size: 23px; }
    .home-articles-heading { align-items: flex-start; flex-direction: column; }
    .home-articles-heading h2 { font-size: 21px; }
    .home-articles-layout { grid-template-columns: 1fr; }
    .home-articles-featured { grid-template-columns: 1fr; }
    .home-article-feature-media { height: 175px; }
}

@media (max-width: 991.98px) {
    .article-layout { grid-template-columns: 1fr; gap: 24px; }
    .article-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
    .article-author-card, .article-related, .article-share-sidebar, .article-cta { margin-bottom: 0; }
    .article-related { grid-column: 1 / -1; }
    .article-cta { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .article-page .container { padding-right: 14px; padding-left: 14px; }
    .article-breadcrumb { gap: 5px; margin-bottom: 16px; font-size: 10px; }
    .article-cover { min-height: 190px; }
    .article-main-meta { gap: 7px 11px; }
    .article-title { font-size: 26px; }
    .article-excerpt { font-size: 14px; }
    .article-body { font-size: 15px; line-height: 1.85; }
    .article-share-inline { align-items: flex-start; flex-direction: column; gap: 9px; }
    .article-sidebar { display: block; }
    .article-author-card, .article-related, .article-share-sidebar, .article-cta { margin-bottom: 14px; }
}

/* iPad / tablet layout: keep cards readable while retaining a compact header */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .shop-section { padding-top: 34px; padding-bottom: 34px; }

    .shop-hero-slide {
        min-height: 330px;
        padding-top: 34px;
        padding-bottom: 44px;
    }
    .shop-hero-copy { max-width: 54%; }
    .shop-hero h1 { font-size: 30px; }
    .shop-hero p { font-size: 14px; }

    .home-advisor-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .home-advisor-fields { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }

    .home-category-heading h2 { font-size: 24px; }
    .home-category-heading p { font-size: 13px; }
    .home-category-layout { grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); }
    .home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .home-category-feature { min-height: 360px; padding: 20px; }
    .home-category-feature strong { font-size: 22px; }
    .home-category-feature small { font-size: 12px; }
    .home-category-card {
        min-height: 172px;
        gap: 8px;
        padding: 12px 8px;
    }
    .home-category-card-icon { width: 62px; height: 62px; font-size: 29px; }
    .home-category-card strong { font-size: 13px; }
    .home-category-card small { font-size: 11px; }

    .home-flash-grid > [class*="col-"],
    .home-featured-grid > [class*="col-"],
    .home-portfolio-grid > [class*="col-"],
    .shop-flash-grid > [class*="col-"],
    .shop-clearance-grid > [class*="col-"],
    .shop-category-products-grid > [class*="col-"],
    .shop-portfolio-grid > [class*="col-"] {
        flex: 0 0 auto;
        width: 50%;
    }
    .pcard-name { font-size: 14px; }
    .pcard-price { font-size: 16px; }

    .contact-channel-grid,
    .contact-branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
