/* ============================
   Spwendlex Group of Companies
   Brand: #331BAB (Purple) + #FFCB2D (Gold) + White
   ============================ */

:root {
    --bg: #ffffff;
    --bg-alt: #f7f5ff;
    --surface: #efebfd;
    --surface-hover: #e4ddfb;
    --border: #d5cdf2;
    --white: #ffffff;
    --text: #1a1233;
    --text-secondary: #5a507a;
    --text-muted: #9890b8;
    --primary: #331BAB;
    --primary-light: #4a35c0;
    --primary-dark: #240e8a;
    --primary-bg: rgba(51, 27, 171, 0.08);
    --primary-border: rgba(51, 27, 171, 0.25);
    --gold: #FFCB2D;
    --gold-light: #ffd84d;
    --gold-dark: #e6a800;
    --gold-bg: rgba(255, 203, 45, 0.12);
    --gold-border: rgba(255, 203, 45, 0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
    --font: "SF Pro Text", "SF Pro", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
    --font-display: "SF Pro Display", "SF Pro", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.alt-bg {
    background: var(--bg-alt);
}

/* ---- Typography ---- */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-label.center { text-align: center; }

.section-heading {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 48px;
    text-align: center;
}

.section-heading.left {
    text-align: left;
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.gold { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-gold {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 203, 45, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary-border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background: #1fb855;
    border-color: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
}

/* =====================
   ANNOUNCEMENT BAR
   ===================== */
.announcement-bar {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.announcement-bar a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: underline;
}

.announcement-bar a:hover {
    opacity: 0.8;
}

.announcement-bar i {
    margin-right: 4px;
}

.ann-sep {
    margin: 0 6px;
    color: rgba(255,255,255,0.5);
}

/* =====================
   NAVIGATION
   ===================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(51, 27, 171, 0.08);
    transition: var(--transition);
}

#header.scrolled {
    border-bottom-color: var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-logo.sm {
    width: 30px;
    height: 30px;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a i {
    font-size: 0.6rem;
    transition: var(--transition);
}

/* Nav Actions (search + cart + hamburger) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.nav-icon-btn:hover {
    border-color: var(--primary-border);
    color: var(--primary);
    background: var(--primary-bg);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--gold);
    color: var(--bg);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.cart-count.show {
    opacity: 1;
    transform: scale(1);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary) !important;
}

.dropdown-menu a:hover {
    background: var(--surface-hover);
    color: var(--white) !important;
}

.dropdown-menu a i {
    color: var(--gold);
    width: 18px;
    text-align: center;
    font-size: 0.85rem !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(10px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-10px); }

/* =====================
   SEARCH OVERLAY
   ===================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.search-overlay.open,
.search-overlay.active {
    transform: translateY(0);
    opacity: 1;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 20px;
}

.search-bar i {
    color: var(--text-muted);
    font-size: 1rem;
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--primary);
}

.search-results {
    margin-top: 16px;
    max-height: 320px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--surface);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-result-item .sr-info h4 {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 2px;
}

.search-result-item .sr-info span {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
}

/* =====================
   CART DRAWER
   ===================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.open,
.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    z-index: 1300;
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-drawer-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-drawer-header h3 i {
    color: var(--gold);
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--white);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 0;
    text-align: center;
}

.cart-empty i {
    font-size: 2.5rem;
    color: var(--text-muted);
}

.cart-empty p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-info .cart-item-variant {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.cart-item-info .cart-item-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-control button {
    width: 30px;
    height: 30px;
    background: var(--surface);
    border: none;
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-control button:hover {
    background: var(--surface-hover);
    color: var(--gold);
}

.qty-control span {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: var(--white);
}

.qty-control-lg button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.qty-control-lg span {
    width: 48px;
    height: 40px;
    font-size: 0.95rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 2px;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total span:first-child {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cart-total span:last-child {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
}

.cart-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* =====================
   CONTROL ZONE (replaces hero — "What do you need today?")
   ===================== */
.control-zone {
    margin-top: 72px;
    padding: 48px 0 32px;
    background: url('../assets/images/hero.jpg') center/cover no-repeat;
    border-bottom: 1px solid var(--gold-border);
    position: relative;
    overflow: hidden;
}

.control-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(51, 27, 171, 0.80);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.control-zone .container {
    position: relative;
    z-index: 1;
}

.control-heading {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 20px;
}

.control-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 20px;
    max-width: 560px;
    margin: 0 auto 20px;
    transition: border-color 0.25s ease;
}

.control-search:focus-within {
    border-color: var(--gold);
}

.control-search i {
    color: var(--text-muted);
    font-size: 1rem;
}

.control-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
}

.control-search input::placeholder {
    color: var(--text-muted);
}

.control-search-results {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.control-search-results .search-dropdown {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-top: 4px;
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
}

.control-search-results .search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s ease;
}

.control-search-results .search-item:hover {
    background: var(--surface-hover);
}

.control-search-results .search-item img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
}

.control-search-results .search-item-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.control-search-results .search-item-info span {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
}

.control-cats {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.control-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.control-cat-pill:hover {
    border-color: var(--gold-border);
    color: var(--gold);
    background: var(--gold-bg);
}

.control-cat-pill i {
    font-size: 0.75rem;
    color: var(--gold);
}

.control-triggers {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.trigger-deals {
    background: rgba(200, 168, 78, 0.12);
    color: var(--gold);
    border: 1px solid var(--gold-border);
}

.trigger-deals:hover {
    background: var(--gold);
    color: var(--bg);
}

.trigger-trending {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.trigger-trending:hover {
    background: #ef4444;
    color: #fff;
}

.trigger-new {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.trigger-new:hover {
    background: #3b82f6;
    color: #fff;
}

/* =====================
   CATEGORY PILL STRIP
   ===================== */
.cat-strip {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 0;
    position: sticky;
    top: 72px;
    z-index: 50;
}

.cat-strip-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 24px;
}
.cat-strip-scroll::-webkit-scrollbar { display: none; }

.cat-pill {
    flex-shrink: 0;
    padding: 14px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-pill:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.cat-pill.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* =====================
   PRODUCT SCROLL ROWS (Amazon-style)
   ===================== */
.product-row {
    padding: 20px 0 12px;
}

.row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.row-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.row-title i {
    color: var(--gold);
    font-size: 1rem;
}

.row-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.row-link:hover {
    gap: 10px;
    color: var(--gold-light);
}

.row-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline-start: 24px;
    padding: 4px 24px 16px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.row-scroll:active { cursor: grabbing; }
.row-scroll::-webkit-scrollbar { display: none; }

/* Row product card — compact, scroll-optimized */
.row-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.25s ease;
    position: relative;
}

.row-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    border-color: var(--gold-border);
    z-index: 2;
}

.row-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.row-card-img {
    height: 180px;
    background: var(--bg-alt);
    overflow: hidden;
    position: relative;
}

.row-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.row-card:hover .row-card-img img {
    transform: scale(1.08);
}

.row-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--gold);
    color: var(--bg);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Quick order overlay on hover */
.row-card-quick {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.95), rgba(10,10,10,0.7), transparent);
    padding: 32px 10px 10px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 3;
}

.row-card:hover .row-card-quick {
    opacity: 1;
    transform: translateY(0);
}

.row-card-quick .btn-quick-wa,
.row-card-quick .btn-quick-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: var(--transition);
    text-decoration: none;
}

.btn-quick-wa {
    background: #25d366;
    color: #fff;
}
.btn-quick-wa:hover { background: #1fb855; }

.btn-quick-cart {
    background: var(--gold);
    color: var(--bg);
}
.btn-quick-cart:hover { background: var(--gold-light); }

.row-card-body {
    padding: 12px 12px 14px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.row-card-body:hover {
    text-decoration: none;
}

.row-card-cat {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold);
    margin-bottom: 4px;
}

.row-card-body h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row-card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
}

/* =====================
   CONTEXT STRIPS (between rows)
   ===================== */
.context-strip {
    background: var(--gold-bg);
    border-top: 1px solid var(--gold-border);
    border-bottom: 1px solid var(--gold-border);
    padding: 10px 0;
}

.context-strip .container {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.context-strip i {
    font-size: 0.7rem;
}

/* =====================
   COMPACT ABOUT / TRUST
   ===================== */
.section-compact {
    padding: 56px 0;
}

.trust-grid-compact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.trust-content-compact h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.trust-content-compact p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.trust-points-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.trust-points-compact span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
}

.trust-points-compact i {
    color: var(--gold);
    font-size: 0.8rem;
}

.trust-card-compact {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.trust-card-compact img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.trust-card-info {
    padding: 20px 24px;
    text-align: center;
}

.trust-card-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.trust-card-info .social-row {
    padding: 0;
}

/* =====================
   CATEGORY BLOCK (big visual cards between rows)
   ===================== */
.cat-block {
    padding: 28px 0;
}

.cat-block-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cat-block-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cat-block-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.cat-block-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cat-block-card:hover img {
    transform: scale(1.06);
}

.cat-block-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 60%, transparent 100%);
    pointer-events: none;
}

.cat-block-info {
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 100%;
}

.cat-block-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.cat-block-info span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =====================
   TRUST BLOCK (short bullet points only)
   ===================== */
.trust-block {
    padding: 48px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.trust-block-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 28px;
}

.trust-block-list {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trust-bullet {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--text);
}

.trust-bullet i {
    color: var(--gold);
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.trust-bullet span {
    font-weight: 500;
}

/* =====================
   FINAL CTA ("Ready to order?")
   ===================== */
.final-cta {
    padding: 56px 0;
    text-align: center;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.final-cta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background: #1fb855;
    border-color: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp.btn-sm {
    padding: 8px 20px;
    font-size: 0.78rem;
}

/* =====================
   STICKY BOTTOM BAR (replaces WA float)
   ===================== */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--gold-border);
    padding: 10px 0;
    z-index: 90;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-bottom-bar.visible {
    transform: translateY(0);
}

.sticky-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sticky-bottom-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-bottom-text i {
    color: #25d366;
    font-size: 1.1rem;
}

/* =====================
   WHATSAPP FLOAT (REMOVED — sticky bar replaces it)
   ===================== */
/* kept for product.html and products.html pages */

/* Keep old category styles for catalog page */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.cat-card:hover {
    border-color: var(--gold-border);
    background: var(--surface-hover);
    transform: translateY(-4px);
}

.cat-img {
    height: 180px;
    overflow: hidden;
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cat-card:hover .cat-img img {
    transform: scale(1.05);
}

.cat-icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--bg);
    margin: -24px 0 16px 28px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.cat-card:hover .cat-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.cat-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    padding: 0 28px;
}

.cat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    padding: 0 28px;
}

.cat-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    padding: 0 28px 28px;
}

.cat-card:hover .cat-link {
    gap: 10px;
}

/* =====================
   PRODUCT CARDS (Shared)
   ===================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.product-card-link {
    display: block;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--bg);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
}

.product-img {
    height: 220px;
    background: linear-gradient(135deg, var(--surface-hover), var(--bg-alt));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-muted);
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.product-info {
    padding: 20px;
    flex: 1;
}

.product-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 8px;
}

.product-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.product-variants {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
}

.product-action,
.btn-add-cart,
.btn-view {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font);
}

.btn-add-cart {
    background: transparent;
    color: var(--gold);
    border-right: 1px solid var(--border);
}

.btn-add-cart:hover {
    background: var(--gold);
    color: var(--bg);
}

.btn-view {
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
}

.btn-view:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.product-action {
    color: var(--text-secondary);
    background: transparent;
}

.product-action:hover {
    background: var(--gold);
    color: var(--bg);
    border-top-color: var(--gold);
}

/* =====================
   BREADCRUMB BAR
   ===================== */
.breadcrumb-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 80px 0 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    color: var(--text-muted);
}

.page-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}

.page-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =====================
   CATALOG PAGE
   ===================== */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 40px 0 100px;
}

.catalog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.filter-check:hover {
    background: var(--surface);
    color: var(--text);
}

.filter-check input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.filter-check input[type="radio"]:checked {
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: inset 0 0 0 3px var(--bg);
}

.sort-select {
    width: 100%;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.sort-select:focus {
    border-color: var(--gold);
}

.catalog-main {
    min-width: 0;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-toggle:hover {
    border-color: var(--gold-border);
}

.view-buttons {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.view-btn.active,
.view-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-bg);
}

.catalog-empty {
    text-align: center;
    padding: 60px 20px;
}

.catalog-empty i {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.catalog-empty h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
}

.catalog-empty p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---- Catalog Sort Bar (new row-based) ---- */
.catalog-cat-strip {
    margin-top: 72px;
}

.catalog-sort-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.catalog-search-wrap {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 14px 0 18px;
}

.catalog-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.catalog-search:focus-within {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 1px var(--gold-border);
}

.catalog-search > i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.catalog-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--font);
}

.catalog-search input::placeholder {
    color: var(--text-muted);
}

.catalog-search-clear {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.catalog-search-clear.visible {
    opacity: 1;
    visibility: visible;
}

.catalog-search-clear:hover {
    color: var(--white);
    border-color: var(--gold-border);
}

.catalog-sort-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.catalog-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-select-mini {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 6px 12px;
    font-size: 0.78rem;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
}

.sort-select-mini:focus {
    border-color: var(--gold-border);
    outline: none;
}

.row-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.catalog-empty-row {
    text-align: center;
    padding: 80px 20px;
}

.catalog-empty-row i {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.catalog-empty-row h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
}

.catalog-empty-row p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.catalog-grid-section {
    padding: 20px 0 60px;
}

.catalog-dense-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
}

/* List view */
.products-grid.list-view {
    grid-template-columns: 1fr;
}

.list-view .product-card {
    flex-direction: row;
}

.list-view .product-img {
    width: 200px;
    height: auto;
    min-height: 180px;
    flex-shrink: 0;
}

.list-view .product-info {
    padding: 24px;
}

.list-view .product-info h4 {
    font-size: 1.1rem;
}

.list-view .product-actions {
    border-top: none;
    border-left: 1px solid var(--border);
    flex-direction: column;
    width: 140px;
    flex-shrink: 0;
}

.list-view .btn-add-cart {
    border-right: none;
    border-bottom: 1px solid var(--border);
}

/* =====================
   PRODUCT DETAIL PAGE
   ===================== */
.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 0;
    align-items: start;
}

.pdp-not-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.pdp-not-found i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pdp-not-found h2 {
    color: var(--primary);
    margin-bottom: 8px;
}

.pdp-not-found p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pdp-gallery {
    position: sticky;
    top: 100px;
}

.pdp-main-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

.pdp-main-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.pdp-thumbs {
    display: flex;
    gap: 8px;
}

.pdp-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    padding: 0;
}

.pdp-thumb:hover,
.pdp-thumb.active {
    border-color: var(--gold);
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-info {
    padding-top: 8px;
}

.pdp-breadcrumb-tag {
    margin-bottom: 8px;
}

.pdp-breadcrumb-tag a {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
}

.pdp-breadcrumb-tag a:hover {
    color: var(--gold-light);
}

.pdp-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.pdp-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 12px;
}

.pdp-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.pdp-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.pdp-variant {
    margin-bottom: 20px;
}

.pdp-variant label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-btn {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.variant-btn:hover {
    border-color: var(--primary-border);
    color: var(--primary);
}

.variant-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-bg);
}

.pdp-qty {
    margin-bottom: 24px;
}

.pdp-qty label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.pdp-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pdp-features {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.pdp-features h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.pdp-features ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pdp-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pdp-features li i {
    color: var(--gold);
    font-size: 0.75rem;
}

.pdp-trust-signals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.pdp-trust-signals div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pdp-trust-signals div i {
    color: var(--gold);
    width: 16px;
    text-align: center;
}

/* Related Products */
.related-section {
    padding: 60px 0 100px;
}

.related-section h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 28px;
}

/* =====================
/* =====================
   TRUST SECTION (legacy — kept for compact variant)
   ===================== */
.trust-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.trust-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 32px;
}

.trust-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text);
}

.trust-point i {
    color: var(--gold);
    width: 18px;
    text-align: center;
}

.trust-phones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-phones a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.trust-phones a i {
    color: var(--gold);
}

.trust-phones a:hover {
    color: var(--gold);
}

.trust-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
}

.trust-store-img {
    height: 200px;
    overflow: hidden;
}

.trust-store-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    padding: 24px 36px 0;
}

.trust-card > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding: 0 36px;
}

.social-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 0 36px 28px;
}

.social-row a {
    width: 42px;
    height: 42px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.social-row a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg);
    transform: translateY(-2px);
}

/* =====================
   FOOTER (4-column)
   ===================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 4px 0;
}

.footer-col a i {
    color: var(--gold);
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
    padding: 0;
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--white);
    background: var(--primary);
}

.footer-wa {
    font-weight: 600 !important;
    color: #25d366 !important;
}

.footer-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.footer-location i {
    color: var(--gold);
    width: 16px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-bottom: 48px; /* space for sticky bottom bar */
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =====================
   WHATSAPP FLOAT
   ===================== */
.wa-float-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.wa-float {
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.wa-float-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #25d366;
    pointer-events: none;
}

/* =====================
   ADMIN DASHBOARD
   ===================== */
.admin-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(255, 203, 45, 0.24), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7f5ff 52%, #efeafd 100%);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.admin-topbar-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user-pill {
    position: relative;
}

.admin-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .15s;
}

.admin-profile-btn:hover {
    background: rgba(51, 27, 171, 0.12);
}

.admin-profile-btn .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform .2s;
}

.admin-user-pill.open .fa-chevron-down {
    transform: rotate(180deg);
}

.admin-profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(51, 27, 171, 0.14);
    min-width: 180px;
    padding: 6px;
    z-index: 200;
}

.admin-user-pill.open .admin-profile-dropdown {
    display: block;
}

.admin-profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    color: var(--text);
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
}

.admin-profile-link:hover {
    background: var(--bg-soft, #f5f5fa);
}

/* ---- Save Changes FAB ---- */
.admin-fab {
    position: fixed;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    right: 20px;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: var(--gold, #ffcb2d);
    color: #1a1200;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(255, 203, 45, 0.55);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}

.admin-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 203, 45, 0.65);
}

/* ---- Muted / system action button ---- */
.btn-muted {
    background: none;
    border: 1.5px solid #d0d0da;
    color: var(--text-secondary, #777);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s, border-color .15s;
    font-family: inherit;
}

.btn-muted:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: #b0b0ba;
}

/* ---- Status live dot ---- */
.status-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2a9656;
    margin-left: 6px;
    vertical-align: middle;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.75); }
}

/* ---- Badge tag on product list items ---- */
.admin-product-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--gold, #ffcb2d);
    color: #1a1200;
    vertical-align: middle;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ---- Delete confirm-pending state ---- */
.admin-danger.confirm-pending {
    background: #c0392b !important;
    border-color: #c0392b !important;
    color: #fff !important;
}

.admin-auth-shell {
    padding: 48px 0 12px;
}

.admin-auth-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(51, 27, 171, 0.14);
    box-shadow: 0 28px 80px rgba(51, 27, 171, 0.12);
    text-align: center;
}

.admin-auth-card h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: var(--primary);
    margin: 10px 0 14px;
}

.admin-auth-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.admin-auth-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 12px;
    flex-wrap: wrap;
}

.admin-auth-note {
    font-size: 0.88rem;
}

/* =====================
   ADMIN CMS LAYOUT
   ===================== */
.admin-shell {
    height: calc(100dvh - 80px);
    overflow: hidden;
    padding: 0;
}

.admin-cms {
    display: flex;
    height: 100%;
}

/* ---- Sidebar ---- */
.admin-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-right: 1px solid var(--border);
    overflow: hidden;
}

.admin-sidebar-top {
    padding: 18px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.admin-sidebar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-sidebar-row .sort-select-mini {
    flex: 1;
    min-width: 0;
}

.admin-count-pill {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted, #999);
    white-space: nowrap;
}

.admin-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-sidebar-actions .btn {
    width: 100%;
    justify-content: center;
}

.admin-product-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-sidebar-foot {
    padding: 10px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.admin-sidebar-foot .btn-muted {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.8rem;
    border-radius: 12px;
}

/* ---- Compact backend status in sidebar ---- */
.admin-status-compact {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg-soft, #f8f8fc);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-status-compact[data-tone="success"] { border-color: rgba(42, 150, 86, 0.3); background: rgba(42, 150, 86, 0.06); }
.admin-status-compact[data-tone="warning"] { border-color: rgba(255, 203, 45, 0.5); background: rgba(255, 203, 45, 0.07); }
.admin-status-compact[data-tone="error"]   { border-color: rgba(220, 56, 72, 0.3);  background: rgba(220, 56, 72, 0.06); }

.admin-status-compact-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-status-compact-row strong {
    font-size: 0.82rem;
    color: var(--text);
}

.admin-status-compact-sub {
    font-size: 0.72rem;
    color: var(--text-secondary, #777);
    margin: 0;
    line-height: 1.4;
}

/* Reposition live dot inside the compact row */
.admin-status-compact .status-live-dot {
    margin-left: 0;
}

/* ---- Editor panel ---- */
.admin-editor-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 32px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.admin-editor-header h2 {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0;
}

.admin-editor-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px 56px;
}

/* ---- Product items ---- */

.admin-product-item {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 18px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.admin-product-item:hover,
.admin-product-item.active {
    border-color: rgba(51, 27, 171, 0.24);
    background: var(--primary-bg);
    transform: translateY(-1px);
}

.admin-product-item img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.admin-product-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.admin-product-copy strong,
.admin-product-copy small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-product-copy strong {
    color: var(--text);
    font-size: 0.92rem;
}

.admin-product-copy small {
    color: var(--text-secondary);
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-field span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--primary);
}

.admin-field input,
.admin-field textarea,
.admin-field select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    background: var(--white);
    color: var(--text);
    font: inherit;
    resize: vertical;
    outline: none;
    transition: var(--transition);
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
    border-color: rgba(51, 27, 171, 0.34);
    box-shadow: 0 0 0 4px rgba(51, 27, 171, 0.08);
}

.admin-field-wide {
    grid-column: 1 / -1;
}

/* =====================
   VARIANT BUILDER
   ===================== */
.admin-variants-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.variant-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.variant-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 0.5rem;
    align-items: center;
    background: var(--bg-soft, #f8f8fc);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.6rem 0.75rem;
}

.variant-row input {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.45rem 0.65rem;
    font-size: 0.88rem;
    background: #fff;
    color: var(--text);
    width: 100%;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.variant-row input:focus {
    border-color: rgba(51, 27, 171, 0.34);
    box-shadow: 0 0 0 4px rgba(51, 27, 171, 0.08);
}

.variant-row input::placeholder {
    color: #aaa;
}

.btn-remove-variant {
    background: none;
    border: none;
    color: #c0392b;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.3rem 0.4rem;
    border-radius: var(--radius);
    line-height: 1;
    transition: background .15s;
}

.btn-remove-variant:hover {
    background: rgba(192, 57, 43, 0.08);
}

.btn-add-variant {
    align-self: flex-start;
    background: none;
    border: 1.5px dashed var(--primary, #331bab);
    color: var(--primary, #331bab);
    border-radius: var(--radius);
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    margin-top: 0.15rem;
}

.btn-add-variant:hover {
    background: rgba(51, 27, 171, 0.06);
}

/* =====================
   IMAGE UPLOAD WIDGET
   ===================== */
.img-upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition);
    background: var(--bg-alt);
}

.img-upload-zone.drag-over {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.img-upload-preview {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    overflow: hidden;
}

.img-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.img-upload-placeholder i {
    font-size: 2rem;
    opacity: 0.4;
}

.img-upload-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.img-upload-btn {
    flex-shrink: 0;
    cursor: pointer;
    padding: 8px 14px;
    font-size: 0.82rem;
}

.img-url-input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 14px;
    font: inherit;
    font-size: 0.82rem;
    color: var(--text);
    background: var(--bg-alt);
    outline: none;
    transition: var(--transition);
}

.img-url-input:focus {
    border-color: var(--primary-border);
    box-shadow: 0 0 0 3px var(--primary-bg);
    background: var(--white);
}

.img-upload-progress {
    height: 4px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.img-upload-progress-bar {
    height: 100%;
    background: var(--primary);
    transition: width 0.2s ease;
    border-radius: 0 2px 2px 0;
}

/* Additional images gallery */
.img-gallery-zone {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    background: var(--bg-alt);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    min-height: 80px;
    transition: border-color var(--transition);
}

.img-gallery-zone.drag-over {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.img-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.img-gallery-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
}

.img-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-gallery-thumb-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(20, 10, 50, 0.75);
    border: none;
    color: #fff;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.15s;
}

.img-gallery-thumb:hover .img-gallery-thumb-remove {
    opacity: 1;
}

.img-gallery-add {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    border: 2px dashed var(--border);
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    transition: var(--transition);
    flex-shrink: 0;
}

.img-gallery-add:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.img-gallery-add i {
    font-size: 1.1rem;
}

.img-gallery-add input { display: none; }

.img-urls-textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    background: var(--white);
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.75rem;
    resize: vertical;
    outline: none;
    transition: var(--transition);
    margin-top: 8px;
}

.img-urls-textarea:focus {
    border-color: var(--primary-border);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.admin-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.admin-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-weight: 600;
}

.admin-danger {
    border-color: rgba(220, 56, 72, 0.2);
    color: #b53345;
}

.admin-danger:hover {
    background: rgba(220, 56, 72, 0.08);
    color: #9a1f31;
}

.admin-flash {
    position: sticky;
    bottom: 20px;
    margin-top: 24px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 600;
    z-index: 20;
}

.admin-flash.info {
    background: rgba(51, 27, 171, 0.08);
    border-color: rgba(51, 27, 171, 0.14);
    color: var(--primary);
}

.admin-flash.success {
    background: rgba(42, 150, 86, 0.1);
    border-color: rgba(42, 150, 86, 0.2);
    color: #1d7440;
}

.admin-flash.error {
    background: rgba(220, 56, 72, 0.1);
    border-color: rgba(220, 56, 72, 0.18);
    color: #9a1f31;
}

/* =====================
   BRAND LOGO — circular crop for JPEG logo
   ===================== */
.brand-logo {
    border-radius: 50%;
    object-fit: cover;
}

/* =====================
   MOBILE BOTTOM TAB BAR
   ===================== */
.mobile-tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* Base height + iOS safe area inset */
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 950;
    box-shadow: 0 -4px 20px rgba(51, 27, 171, 0.10);
}

.mobile-tab-bar-inner {
    display: flex;
    height: 64px; /* fixed inner height, safe area handled by padding */
    width: 100%;
}

.mob-tab {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px 6px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.2;
    transition: color 0.18s ease, background 0.18s ease;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font);
    -webkit-tap-highlight-color: transparent;
    border-radius: 12px;
    margin: 4px 2px;
}

.mob-tab i {
    font-size: 1.25rem;
    line-height: 1;
    display: block;
}

.mob-tab span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.mob-tab.active {
    color: var(--primary);
    background: var(--primary-bg);
}

.mob-tab:hover {
    color: var(--primary);
}

.mob-tab .mob-cart-badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 18px);
    width: 17px;
    height: 17px;
    background: var(--gold);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 0.58rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: 0.2s ease;
}

.mob-tab .mob-cart-badge.show {
    opacity: 1;
    transform: scale(1);
}

/* =====================
   REVEAL ANIMATION
   ===================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .section-heading { font-size: 2.2rem; }
    .cat-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-dense-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .trust-grid { grid-template-columns: 1fr; gap: 40px; }
    .trust-grid-compact { grid-template-columns: 1fr; gap: 32px; }
    .catalog-layout { grid-template-columns: 220px 1fr; gap: 24px; }
    .pdp-layout { gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .cat-block-grid { grid-template-columns: repeat(3, 1fr); }
    .admin-sidebar { width: 260px; }
}

/* =====================
   TABLET / MOBILE  ≤ 768px
   ===================== */
@media (max-width: 768px) {

    /* ---- Body padding for tab bar ---- */
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

    /* ---- Show tab bar ---- */
    .mobile-tab-bar { display: flex; }

    /* ---- Hide sticky bottom bar on mobile (tab bar replaces it) ---- */
    .sticky-bottom-bar { display: none !important; }

    /* ---- Sections ---- */
    .section { padding: 56px 0; }
    .section-compact { padding: 36px 0; }

    /* ---- Announcement bar ---- */
    .announcement-bar {
        font-size: 0.7rem;
        padding: 7px 12px;
    }

    /* ---- Navbar ---- */
    #header {
        background: rgba(255,255,255,0.98);
    }

    .nav { height: 60px; }

    .brand-name { font-size: 1rem; }

    .brand-logo { width: 34px; height: 34px; }

    /* ---- Mobile nav drawer ---- */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 85vw);
        height: 100vh;
        background: var(--white);
        border-left: 1px solid var(--border);
        flex-direction: column;
        z-index: 999;
        transition: right 0.3s ease;
        gap: 0;
        overflow-y: auto;
    }

    /* Drawer header with brand */
    .nav-links::before {
        content: '';
        display: block;
        height: 72px;
        background: var(--primary);
        flex-shrink: 0;
    }

    .nav-links.open { right: 0; }
    .nav-links li { width: 100%; }

    .nav-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 24px;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text) !important;
        border-bottom: 1px solid var(--border);
    }

    .nav-links a.active {
        color: var(--primary) !important;
        background: var(--primary-bg);
    }

    .nav-links a:hover {
        color: var(--primary) !important;
        background: var(--primary-bg);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        background: transparent;
        min-width: 0;
    }

    .hamburger { display: flex; }

    /* ---- Hero / Control Zone ---- */
    .control-zone {
        padding: 32px 0 28px;
        margin-top: 60px;
    }

    .control-heading {
        font-size: 1.45rem;
        font-weight: 800;
        margin-bottom: 16px;
        padding: 0 4px;
    }

    .control-search {
        padding: 13px 16px;
        border-radius: var(--radius);
        margin-bottom: 16px;
    }

    .control-search input {
        font-size: 0.9rem;
    }

    .control-cats {
        gap: 8px;
        justify-content: flex-start;
        padding-bottom: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .control-cats::-webkit-scrollbar { display: none; }

    .control-cat-pill {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    .control-triggers {
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    .control-triggers::-webkit-scrollbar { display: none; }

    .trigger-btn {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    /* ---- Product Rows ---- */
    .product-row { padding: 20px 0 8px; }

    .row-header {
        padding: 0 16px;
        margin-bottom: 12px;
    }

    .row-title {
        font-size: 1.1rem;
    }

    .row-scroll {
        gap: 12px;
        padding: 4px 16px 16px;
    }

    .row-card {
        flex: 0 0 168px;
    }

    .row-card-img { height: 150px; }

    .row-card-body {
        padding: 10px 10px 12px;
    }

    .row-card-body h4 {
        font-size: 0.82rem;
    }

    .row-card-price {
        font-size: 0.9rem;
        font-weight: 700;
    }

    /* ---- Category Block ---- */
    .cat-block { padding: 16px 0 24px; }

    .cat-block-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cat-block-card {
        min-height: 130px;
        border-radius: var(--radius-sm);
    }

    .cat-block-info h3 { font-size: 0.95rem; }
    .cat-block-info span { font-size: 0.72rem; }

    /* ---- Section headings ---- */
    .section-heading { font-size: 1.7rem; }

    /* ---- Products grid ---- */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* ---- Trust Block ---- */
    .trust-block { padding: 32px 0; }
    .trust-block-heading { font-size: 1.2rem; margin-bottom: 20px; }
    .trust-bullet { font-size: 0.88rem; gap: 12px; }
    .trust-bullet i { font-size: 0.95rem; }

    /* ---- Trust compact ---- */
    .trust-grid-compact { grid-template-columns: 1fr; }

    /* ---- Final CTA ---- */
    .final-cta { padding: 40px 0; }
    .final-cta h2 { font-size: 1.45rem; }
    .final-cta p { font-size: 0.9rem; }

    /* ---- Footer ---- */
    .footer { padding: 40px 0 20px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
    }

    /* Footer accordion */
    .footer-col {
        border-bottom: 1px solid var(--border);
        padding: 0;
    }

    .footer-col:first-child {
        padding: 0 0 20px;
        margin-bottom: 4px;
    }

    .footer-col h4 {
        cursor: pointer;
        padding: 16px 0;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        user-select: none;
    }

    .footer-col h4::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.85rem;
        color: var(--text-muted);
        transition: transform 0.25s ease;
    }

    .footer-col.open h4::after {
        transform: rotate(180deg);
    }

    .footer-col-body {
        display: none;
        padding-bottom: 16px;
    }

    .footer-col.open .footer-col-body {
        display: block;
    }

    /* Brand col always visible */
    .footer-col:first-child .footer-col-body {
        display: block;
    }

    .footer-col:first-child h4::after {
        display: none;
    }

    .footer-bottom {
        padding-top: 20px;
        padding-bottom: 16px;
        border-top: 1px solid var(--border);
        margin-top: 4px;
    }

    /* ---- Catalog ---- */
    .catalog-cat-strip { margin-top: 60px; }
    .catalog-dense-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .catalog-search-wrap { padding: 10px 0 14px; }
    .catalog-search { padding: 10px 14px; }
    .catalog-search input { font-size: 0.88rem; }

    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .catalog-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        border-right: 1px solid var(--border);
        z-index: 1100;
        padding: 24px;
        overflow-y: auto;
        transition: left 0.3s ease;
    }

    .catalog-sidebar.open { left: 0; }
    .filter-toggle { display: flex; }

    /* ---- PDP ---- */
    .breadcrumb-bar { padding: 74px 0 24px; }

    .pdp-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pdp-gallery { position: static; }
    .pdp-main-img img { height: 280px; }
    .pdp-title { font-size: 1.5rem; }
    .page-title { font-size: 1.5rem; }

    /* ---- List view ---- */
    .list-view .product-card { flex-direction: column; }
    .list-view .product-img { width: 100%; min-height: 180px; }
    .list-view .product-actions { border-left: none; border-top: 1px solid var(--border); flex-direction: row; width: 100%; }
    .list-view .btn-add-cart { border-right: 1px solid var(--border); border-bottom: none; }

    /* ---- Steps ---- */
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); padding: 0; }

    /* ---- WA float (product pages) ---- */
    .wa-float-wrap { bottom: 74px; }

    /* ---- Admin ---- */
    .admin-shell { height: auto; overflow: visible; }
    .admin-topbar-inner { min-height: 64px; }
    .admin-topbar-inner,
    .admin-form-footer { flex-direction: column; align-items: stretch; }
    .admin-topbar-actions { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
    .admin-user-pill { position: relative; }
    .admin-profile-btn { font-size: 0.75rem; padding: 7px 12px; }
    .admin-cms { flex-direction: column; }
    .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
    .admin-sidebar-top { padding: 14px 14px 12px; }
    .admin-product-list { flex: none; max-height: 220px; }
    .admin-editor-header { padding: 16px; flex-wrap: wrap; }
    .admin-editor-header > div { flex: 1; min-width: 0; }
    .admin-editor-body { padding: 20px 16px 48px; }
    .admin-form-grid { grid-template-columns: 1fr; }
    .admin-search { min-width: 0; width: 100%; }
    .variant-row { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
    .variant-row .variant-name { grid-column: 1; }
    .variant-row .variant-values { grid-column: 1; }
    .variant-row .btn-remove-variant { grid-row: 1 / 3; grid-column: 2; align-self: center; }
}

/* =====================
   SMALL PHONES  ≤ 480px
   ===================== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .control-zone { padding: 24px 0 20px; }
    .control-heading { font-size: 1.25rem; }

    .row-card { flex: 0 0 152px; }
    .row-card-img { height: 135px; }

    .cat-block-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .catalog-dense-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    .section-header { flex-direction: column; align-items: flex-start; }

    .pdp-title { font-size: 1.35rem; }
    .pdp-main-img img { height: 220px; }

    .pdp-buttons { flex-direction: column; }

    .footer-col:first-child { padding-bottom: 16px; }

    .admin-topbar-actions .btn,
    .admin-form-footer .btn { width: 100%; }
    .admin-topbar-actions { grid-template-columns: 1fr; }
    .admin-product-list { max-height: 160px; }
    .admin-editor-body { padding: 16px 14px 40px; }
}

/* ============================
   ADMIN LIST PAGE
   ============================ */
.admin-list-shell {
    padding: 32px 0 80px;
}

.admin-list-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-list-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 4px;
}

.admin-count-text {
    font-size: 0.85rem;
    color: var(--text-muted, #999);
}

.admin-filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-filter-bar .admin-search {
    flex: 1;
    min-width: 200px;
}

.admin-table-wrap {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted, #999);
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft, #f8f8fc);
}

.admin-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.1s;
}

.admin-table tbody tr:last-child {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: var(--primary-bg, #f4f2ff);
}

.admin-table td {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 0.88rem;
    color: var(--text);
}

.admin-table-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.admin-table-name {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.admin-table-name:hover {
    color: var(--primary);
}

.admin-table-cat {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.admin-table-muted {
    color: var(--text-muted, #bbb);
}

.admin-star-icon {
    color: var(--gold, #ffcb2d);
}

.admin-table-empty {
    text-align: center;
    padding: 56px 16px;
    color: var(--text-muted);
}

.admin-table-empty a {
    color: var(--primary);
}

.col-img {
    width: 72px;
}

.col-actions {
    width: 80px;
    text-align: right;
}

.col-featured {
    width: 80px;
    text-align: center;
}

.admin-util-bar {
    margin-top: 14px;
    display: flex;
    gap: 12px;
}

.admin-util-btn {
    background: none;
    border: none;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    font-family: inherit;
    transition: color 0.15s;
}

.admin-util-btn:hover {
    color: var(--text);
}

.admin-util-btn-danger:hover {
    color: #b53345;
}

/* ============================
   ADMIN EDIT PAGE
   ============================ */
.admin-edit-shell {
    padding: 40px 0 80px;
}

.admin-edit-container {
    max-width: 800px;
    margin: 0 auto;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.admin-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.15s;
}

.admin-back-btn:hover {
    color: var(--primary);
}

.admin-topbar-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    flex-shrink: 0;
}

.admin-edit-page-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-form-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.admin-form-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 20px;
}

.admin-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px 24px;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-form-footer-actions {
    display: flex;
    gap: 10px;
}

/* ============================
   RESPONSIVE � list + edit
   ============================ */
@media (max-width: 768px) {
    .admin-list-shell { padding: 20px 0 40px; }
    .admin-list-header-row { flex-direction: column; align-items: flex-start; }
    .admin-filter-bar { flex-direction: column; align-items: stretch; }
    .admin-filter-bar .admin-search { min-width: unset; }
    .admin-table thead { display: none; }
    .admin-table td { display: block; padding: 6px 16px; }
    .admin-table td:first-child { padding-top: 12px; }
    .admin-table td:last-child { padding-bottom: 12px; text-align: left; }
    .admin-table-wrap { border-radius: 16px; }
    .admin-edit-shell { padding: 20px 0 40px; }
    .admin-form-section { padding: 18px 16px; }
    .admin-form-footer { flex-direction: column; align-items: stretch; }
    .admin-form-footer-actions { flex-direction: column; }
    .admin-form-footer-actions .btn { width: 100%; justify-content: center; }
    .admin-topbar-left { min-width: 0; }
    .admin-edit-page-title { font-size: 0.88rem; }
}

@media (max-width: 480px) {
    .admin-list-title { font-size: 1.5rem; }
    .col-featured, .col-actions { display: none; }
}
