/* === BABURHASHIBD — Storefront & admin styles === */
/* The brand palette and logo rules live in css/brand.css, which every
   layout links ahead of this file. Kept separate so the standalone auth,
   admin-login and error pages share one palette with the shop. */

* { box-sizing: border-box; }

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background: var(--cream);
    overflow-x: hidden;
}

/* === TOP BAR === */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar-text { opacity: 0.9; }
.top-bar-link {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.top-bar-link:hover { color: var(--accent); }

/* === NAVBAR === */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
    z-index: 1050;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.brand-icon { font-size: 2rem; }
.brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.brand-highlight { color: var(--accent); }

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: rgba(var(--primary-rgb), 0.06);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-cart-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition);
}
.nav-cart-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-dark);
    color: white;
    font-size: 0.65rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}
.cart-badge.show {
    opacity: 1;
    transform: scale(1);
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 55%, var(--primary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 8s ease-in-out infinite;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 6s ease-in-out infinite reverse;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-title span { color: var(--accent-gold); }
.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--dark);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}
.hero-btn:hover {
    background: var(--accent-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.4);
}
.hero-btn i { font-size: 1.2rem; }
.hero-image-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: heroImgFloat 4s ease-in-out infinite;
}
@keyframes heroImgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
}
.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* === HERO SLIDER === */
/* Above the two decorative circles the section paints behind everything. */
.hero-carousel {
    position: relative;
    z-index: 2;
    /* Room under the panel for the dots, so they never sit on the stats. */
    padding-bottom: 46px;
}
.hero-carousel .carousel-item {
    /* Bootstrap animates transform here; the floating image animates its own. */
    transition: transform 0.6s ease-in-out;
}
.hero-slider-arrow {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 1.3rem;
    opacity: 1;
    transition: var(--transition);
}
.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
}
.carousel-control-prev.hero-slider-arrow { left: 16px; }
.carousel-control-next.hero-slider-arrow { right: 16px; }
.hero-slider-dots {
    margin-bottom: 0;
    bottom: 0;
}
.hero-slider-dots [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    margin: 0 5px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: var(--transition);
}
.hero-slider-dots .active {
    width: 28px;
    border-radius: 50px;
    background: var(--accent-gold);
}
@media (max-width: 991px) {
    /* Nothing to press around centred text — the panel still swipes. */
    .hero-slider-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-carousel .carousel-item { transition: none; }
}

/* === SECTION STYLES === */
.section { padding: 70px 0; }
.section-alt { background: var(--white); }
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.section-subtitle {
    color: var(--gray-500);
    font-size: 1.05rem;
}

/* === PRODUCT CARD === */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--gray-100);
}
.product-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img {
    transform: scale(1.08);
}
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.badge-sale {
    background: var(--danger);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-preorder {
    background: var(--accent);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}
.badge-outofstock {
    background: var(--gray-500);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}
.badge-combo {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* === COMBO CONTENTS (product detail) === */
.combo-contents {
    margin-top: 26px;
    padding: 22px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}
.combo-contents-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
}
.combo-contents-count {
    margin-left: auto;
    padding: 2px 10px;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
}
.combo-parts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.combo-part {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-200);
}
.combo-part:last-child { border-bottom: 0; }
.combo-part-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: white;
    flex-shrink: 0;
}
.combo-part-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.combo-part-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--dark);
}
.combo-part-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.combo-part-name a:hover { color: var(--primary); }
.combo-part-measure {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.combo-part-qty {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--primary-dark);
    white-space: nowrap;
}
.combo-part-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    white-space: nowrap;
    min-width: 72px;
    text-align: right;
}
.combo-totals {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-200);
}
.combo-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--gray-500);
}
.combo-total-struck { text-decoration: line-through; }
.combo-total-row-final {
    margin-top: 4px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.combo-savings {
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
}
.combo-savings span { font-weight: 600; opacity: 0.8; }

.product-quick-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}
.product-card:hover .product-quick-actions {
    opacity: 1;
    transform: translateX(0);
}
.quick-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.quick-action-btn:hover {
    background: var(--primary);
    color: white;
}

.product-card-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-category {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.product-name a:hover { color: var(--primary); }

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.price-original {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-decoration: line-through;
}
.price-range {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.product-card-footer {
    padding: 0 16px 16px;
    margin-top: auto;
}
.btn-add-cart {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
}
.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
}
.btn-add-cart:disabled {
    background: var(--gray-200);
    color: var(--gray-500);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* === CATEGORY CARDS === */
.category-promo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
    background-size: cover;
    background-position: center;
}
.category-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    /* A deep-green scrim rather than a neutral black one: it ties the cards to
       the brand and, being carried further up the card, keeps the white
       heading legible over pale artwork and placeholders alike. */
    background: linear-gradient(to top, rgba(20, 48, 1, 0.88) 0%, rgba(20, 48, 1, 0.55) 55%, rgba(20, 48, 1, 0.18) 100%);
    z-index: 1;
}
.category-promo:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.category-promo-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: white;
    width: 100%;
}
.category-promo-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.category-promo-content p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 16px;
}
.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: var(--dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}
.promo-btn:hover {
    background: white;
    color: var(--primary-dark);
}

/* Category color overlays */
.cat-green { background: linear-gradient(135deg, var(--primary), var(--primary-brand)); }
.cat-brown { background: linear-gradient(135deg, #6b4423, #8b6914); }
.cat-gold { background: linear-gradient(135deg, #b5651d, #e6a817); }

/* === CART PAGE === */
.cart-table { border-radius: var(--radius); overflow: hidden; }
.cart-table th {
    background: var(--primary-dark);
    color: white;
    font-weight: 600;
    padding: 14px 16px;
    border: none;
}
.cart-table td {
    padding: 16px;
    vertical-align: middle;
    border-color: var(--gray-200);
}
.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.qty-control {
    display: inline-flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--dark);
}
.qty-btn:hover { background: var(--primary); color: white; }
.qty-value {
    width: 45px;
    text-align: center;
    font-weight: 600;
    border: none;
    background: transparent;
    font-size: 1rem;
}
.cart-remove {
    color: var(--danger);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}
.cart-remove:hover { transform: scale(1.2); }

.cart-summary {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.cart-summary h4 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
}
.summary-row.total {
    border-top: 2px solid var(--primary);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-dark);
}
.free-delivery-badge {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* === CHECKOUT === */
.checkout-form .form-label { font-weight: 600; color: var(--dark); }
.checkout-form .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: var(--transition);
}
.checkout-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

/* === SHOP PAGE === */
.shop-sidebar {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.sidebar-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}
.category-filter-list { list-style: none; padding: 0; }
.category-filter-list li { margin-bottom: 4px; }
.category-filter-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    color: var(--dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 500;
}
.category-filter-list a:hover,
.category-filter-list a.active {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}
.category-count {
    background: var(--gray-200);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.sort-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-weight: 500;
    transition: var(--transition);
}
.sort-select:focus { border-color: var(--primary); }

/* === PRODUCT DETAIL ===
   Quiet by design: white ground, thin grey rules, and green used only where it
   carries meaning — the price, the chosen size, the buy button. The photo and
   the price are meant to be the only loud things on the page. */
.product-detail { padding: 28px 0 70px; }

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.product-breadcrumb a {
    color: var(--gray-500);
    text-decoration: none;
    transition: var(--transition);
}
.product-breadcrumb a:hover { color: var(--primary); }
.product-breadcrumb [aria-current] { color: var(--dark); font-weight: 600; }

/* Sticky only where there is room beside it to scroll. */
@media (min-width: 992px) {
    .product-gallery-col {
        position: sticky;
        top: 96px;
    }
}

.product-gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    aspect-ratio: 1;
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: var(--transition);
}
.product-eyebrow:hover { color: var(--primary); }

.product-title {
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
    margin: 0 0 12px;
}
.product-blurb {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 52ch;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--gray-200);
}
.product-detail-price .price-original { font-size: 1.1rem; font-weight: 600; }
.product-detail-price .price-off {
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.variant-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.variant-btn {
    min-width: 96px;
    padding: 10px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}
.variant-btn:hover { border-color: var(--primary-light); }
.variant-btn.active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary-dark);
    box-shadow: inset 0 0 0 1px var(--primary);
}
.variant-btn .variant-name { display: block; font-size: 0.9rem; }
.variant-btn .variant-price {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-top: 2px;
}
.variant-btn.active .variant-price { color: var(--primary); }

/* === PRE-ORDER ============================================================
   A sold-out thing the admin still takes orders for. Amber throughout — it is
   neither the green of "in stock" nor the grey of "you cannot have this", and
   the shopper has to notice they are agreeing to wait. */

/* The terms themselves, wherever they appear: product page, dialog, checkout.
   Plain text on its own lines, so an admin writing three bullet points gets
   three lines rather than one run-on paragraph. */
.preorder-terms {
    white-space: pre-line;
    background: #fff8e6;
    border: 1px solid #ffe2a8;
    border-left: 3px solid #e8a33d;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #5c4008;
    max-height: 260px;
    overflow-y: auto;
}
.preorder-callout {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius);
    background: #fffdf7;
    border: 1px solid #ffe9c2;
}
.preorder-callout h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #8a6413;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.preorder-callout__lead {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0 0 10px;
}

/* The buy button when what it buys has not arrived yet. */
.btn-add-cart.is-preorder,
.btn-primary-custom.is-preorder {
    background: linear-gradient(135deg, #e8a33d, #d98324);
    border-color: transparent;
    color: #fff;
}
.btn-add-cart.is-preorder:hover,
.btn-primary-custom.is-preorder:hover {
    background: linear-gradient(135deg, #d98324, #bf6f18);
}

/* Which options on the product page are on the shelf and which are not. */
.variant-btn .variant-preorder,
.variant-btn .variant-soldout {
    display: block;
    margin-top: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.variant-btn .variant-preorder { color: #b8791c; }
.variant-btn .variant-soldout { color: var(--gray-500); }

/* Cart line badge, matching the coupon flag beside it. */
.cart-preorder-flag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    background: #fff3d6;
    color: #8a6413;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Labels above the size and quantity pickers. Block, or the quantity stepper
   would sit on the same line as its own label. */
.product-detail-info .form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.product-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--gray-200);
    font-size: 0.9rem;
    color: var(--gray-500);
}
.product-facts li { display: inline-flex; align-items: center; gap: 7px; }
.product-facts a { color: inherit; text-decoration: none; }
.product-facts a:hover { color: var(--primary); }
.product-facts .is-good { color: var(--primary); font-weight: 600; }
.product-facts .is-bad { color: var(--danger); font-weight: 600; }
.product-facts .is-note { color: var(--accent-text); font-weight: 600; }

/* Long-form blocks below the fold — description today, anything similar later. */
.product-panel {
    margin-top: 56px;
    padding: 32px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}
.product-panel-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-200);
}
/* Capped so a long description keeps a readable line rather than running the
   full width of the panel. */
.product-prose { max-width: 72ch; color: var(--gray-500); line-height: 1.85; }
.product-prose :where(h1, h2, h3, h4) { color: var(--dark); font-size: 1.05rem; margin: 22px 0 10px; }
.product-prose :where(p, ul, ol) { margin-bottom: 14px; }
.product-prose :where(ul, ol) { padding-left: 20px; }
.product-prose img { border-radius: var(--radius-sm); }
.product-prose table { width: 100%; }

/* Reviews on the product page. Shown in full, not clamped like the home
   carousel: Google reads the markup against what is visible here. */
.product-review-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.product-review-summary .pc-review-stars { margin-bottom: 2px; }
.product-review-average { font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--dark); }
.product-review-count { font-size: 0.85rem; color: var(--gray-500); }
.product-review-list { list-style: none; margin: 0; padding: 0; max-width: 72ch; }
.product-review { padding: 18px 0; border-top: 1px solid var(--gray-200); }
.product-review-body { color: #555; font-size: 0.92rem; line-height: 1.7; margin-bottom: 12px; white-space: pre-line; }

/* A quieter heading than the home page's centred banners — this is a footnote
   to the product above it, not a section of its own. */
.product-related { margin-top: 64px; }
.product-related .section-header {
    text-align: left;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-200);
}
.product-related .section-badge { display: none; }
.product-related .section-title { font-size: 1.15rem; margin-bottom: 0; }

/* A product with no photo of its own falls back to the brand mark, which is
   wide — cropping it to a square would slice the logo in half. */
.product-gallery-col.is-placeholder .product-gallery-main img {
    object-fit: contain;
    padding: 18%;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
}
.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
    transform: translateY(-2px);
}
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    /* Bootstrap underlines every <a> by default, and this class is used on
       anchors as often as on buttons — without this the link-shaped ones came
       out with a line under the label. */
    text-decoration: none;
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(135deg, var(--primary-dark), #122e01);
    color: white;
    padding: 60px 0 0;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.footer-brand .brand-icon { font-size: 2.5rem; }
.footer-brand .brand-text { font-size: 1.8rem; font-weight: 700; color: white; }
.footer-brand .brand-highlight { color: var(--accent); }
.footer-desc { color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }

.footer-title {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.footer-contact i { color: var(--accent); font-size: 1.1rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* === FLOATING CHAT BUTTONS === */
.chat-float {
    position: fixed;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}
.chat-float--right { right: 30px; align-items: flex-end; }
.chat-float--left { left: 30px; align-items: flex-start; }

.chat-float__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}
.chat-float__btn:hover { transform: scale(1.1); color: #fff; }

.chat-float__btn--whatsapp {
    background: #25d366;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    animation: chatFloatPulse 2s infinite;
}
.chat-float__btn--whatsapp:hover { box-shadow: 0 8px 30px rgba(37,211,102,0.5); }

.chat-float__btn--messenger {
    background: linear-gradient(45deg, #0084ff, #a033ff);
    box-shadow: 0 6px 20px rgba(0,132,255,0.35);
}
.chat-float__btn--messenger:hover { box-shadow: 0 8px 30px rgba(0,132,255,0.45); }

/* The name slides out on hover, and is read out to screen readers regardless. */
.chat-float__label {
    position: absolute;
    white-space: nowrap;
    background: rgba(33,37,41,0.9);
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.chat-float--right .chat-float__label { right: 72px; }
.chat-float--left .chat-float__label { left: 72px; }
.chat-float__btn:hover .chat-float__label,
.chat-float__btn:focus-visible .chat-float__label { opacity: 1; }

@keyframes chatFloatPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
}
@media (prefers-reduced-motion: reduce) {
    .chat-float__btn--whatsapp { animation: none; }
    .chat-float__btn:hover { transform: none; }
}

/* === ORDER SUCCESS === */
.success-page {
    padding: 80px 0;
    text-align: center;
}
.success-icon {
    width: 120px;
    height: 120px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 3rem;
    color: var(--primary);
    animation: successBounce 0.6s ease;
}
@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* === BREADCRUMB === */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 40px 0;
    color: white;
}
/* The layout sets a dark colour on bare h1, which would otherwise win here and
   leave the title unreadable against the green band. */
.page-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.breadcrumb-custom { display: flex; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0; }
.breadcrumb-custom a { color: var(--accent-light); text-decoration: none; }
.breadcrumb-custom span { color: rgba(255,255,255,0.5); }

/* === ANIMATIONS === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === ADMIN STYLES === */
.admin-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: none;
    transition: var(--transition);
}
.admin-card:hover { box-shadow: var(--shadow-md); }
.admin-stat-card {
    padding: 24px;
    border-radius: var(--radius);
    color: white;
    position: relative;
    overflow: hidden;
}
.admin-stat-card::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.admin-stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.3;
    position: absolute;
    right: 20px;
    top: 20px;
}
.admin-stat-card .stat-value { font-size: 2rem; font-weight: 700; }
.admin-stat-card .stat-label { font-size: 0.85rem; opacity: 0.8; }
/* Stat-card fills. Each stays dark enough at its lightest stop for the white
   numerals to keep clear of the background. */
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary-darker), var(--primary)); }
.bg-gradient-warning { background: linear-gradient(135deg, var(--accent-text), var(--accent-dark)); }
/* The one non-brand stat card, muted to a slate-teal so it reads as a distinct
   metric without Bootstrap blue shouting next to the greens. */
.bg-gradient-info { background: linear-gradient(135deg, #2f4858, #3d6b7d); }
.bg-gradient-success { background: linear-gradient(135deg, var(--primary-dark), var(--primary-brand)); }

/* === ADMIN LIST PAGES ===
   One look for every table in the panel: the filter bar above it, the header
   row, the click-to-sort columns, and the pager underneath. Individual index
   views should carry no table styling of their own. */

/* --- Filter / search bar ------------------------------------------------- */
.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 14px 16px;
    margin-bottom: 20px;
}
/* Inside a card header the toolbar is already on a white panel, so it drops
   its own card chrome and keeps only the layout. */
.admin-toolbar--flush {
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
    background: transparent;
    padding-left: 16px;
    padding-right: 16px;
}
/* Tab-style filters: the review status tabs, the storefront block groups.
   The storefront navbar's own .nav-link rule further up carries !important and
   reaches in here too, which painted the active tab's label the same violet as
   the pill behind it — the label simply vanished. These take it back, and drop
   the little underline the navbar draws under its current page. */
.admin-content .nav-pills { margin: 0; }
.admin-content .nav-pills .nav-link {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--gray-500) !important;
}
.admin-content .nav-pills .nav-link:hover {
    background: var(--gray-100);
    color: var(--primary) !important;
}
.admin-content .nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-brand));
    color: #fff !important;
}
.admin-content .nav-pills .nav-link.active::after { display: none; }

/* The filters group tight together on the left; actions are pushed right. */
.admin-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}
.admin-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.admin-toolbar__title {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-toolbar__count {
    background: var(--gray-100);
    color: var(--gray-500);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}
/* Left to themselves the selects stretch to their widest option and the row
   comes out ragged, so each filter gets the same footprint. */
.admin-toolbar .form-select,
.admin-toolbar .form-control {
    font-size: 0.875rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background-color: #fff;
    color: #333;
}
.admin-toolbar .form-select { width: auto; min-width: 148px; padding-right: 2rem; }
.admin-toolbar .form-control { min-width: 180px; }
.admin-toolbar__search {
    flex: 1 1 240px;
    max-width: 340px;
    min-width: 200px;
}
.admin-toolbar .input-group-text {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-right: 0;
    color: var(--gray-500);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.admin-toolbar .input-group .form-control {
    border-left: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.admin-toolbar .form-select:focus,
.admin-toolbar .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}
.admin-toolbar .input-group:focus-within .input-group-text { border-color: var(--primary-light); }
/* Marks a filter that is actually narrowing the list, so it is obvious why the
   table looks short. */
.admin-toolbar .form-select.is-filtering,
.admin-toolbar .form-control.is-filtering {
    border-color: var(--primary-light);
    background-color: rgba(var(--primary-rgb), 0.04);
    font-weight: 600;
    color: var(--primary-dark);
}

/* --- Table --------------------------------------------------------------- */
.admin-table { margin-bottom: 0; }
.admin-table > thead > tr > th {
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 13px 16px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}
.admin-table > tbody > tr > td {
    padding: 14px 16px;
    vertical-align: middle;
    border-color: var(--gray-200);
}
.admin-table > tbody > tr:last-child > td { border-bottom: 0; }
.admin-table.table-hover > tbody > tr:hover > * {
    background-color: rgba(var(--primary-rgb), 0.035);
    --bs-table-accent-bg: transparent;
}
/* Bootstrap rounds the card but the table corners stay square underneath. */
.admin-card > .card-body > .table-responsive { border-radius: var(--radius); }
.admin-table__empty {
    text-align: center;
    color: var(--gray-500);
    padding: 44px 16px !important;
}
.admin-table__empty i { font-size: 1.9rem; display: block; margin-bottom: 8px; opacity: 0.4; }

/* --- Row action buttons -------------------------------------------------- */
/* A delete or duplicate action has to be a <form>, so in a .btn-group it sits
   between the group and its button. Bootstrap's rules only reach a direct .btn
   child, so that button kept full-size padding and rounded corners beside its
   btn-sm neighbour. These hand the wrapped button what the group would have
   given it directly; the radius rules come last so they beat the sizing. */
.btn-group > form { display: flex; }
.btn-group > form > .btn { position: relative; flex: 1 1 auto; }
.btn-group-sm > form > .btn {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}
.btn-group > form:not(:first-child) > .btn {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.btn-group > form:not(:last-child) > .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
/* The pressed/hovered button has to rise above the 1px it shares with its
   neighbour, or its border looks clipped on one side. */
.btn-group > form > .btn:hover,
.btn-group > form > .btn:focus,
.btn-group > form > .btn:active { z-index: 1; }

/* --- Sortable headers ---------------------------------------------------- */
/* The anchor carries the cell padding so the whole header is a click target. */
.admin-table > thead > tr > th.admin-th-sort { padding: 0; }
.admin-th-sort > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 16px;
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.admin-th-sort.text-end > a { justify-content: flex-end; }
.admin-th-sort.text-center > a { justify-content: center; }
.admin-th-sort > a > i {
    font-size: 0.8em;
    opacity: 0.35;
    transition: opacity 0.15s ease;
}
.admin-th-sort > a:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
}
.admin-th-sort > a:hover > i { opacity: 0.8; }
.admin-th-sort.is-sorted > a { color: var(--primary); }
.admin-th-sort.is-sorted > a > i { opacity: 1; }
.admin-th-sort > a:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: -2px;
}

/* --- Pager --------------------------------------------------------------- */
.admin-pager { margin-top: 18px; }
.admin-pager nav { gap: 12px; }
.admin-pager .pagination { margin-bottom: 0; gap: 4px; flex-wrap: wrap; }
/* A border rather than a shadow, so the buttons read the same on the grey page
   background and inside a white card footer. */
.admin-pager .page-link {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    min-width: 38px;
    padding: 0.4rem 0.7rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    background: #fff;
    transition: var(--transition);
}
.admin-pager .page-link:hover {
    background: var(--gray-100);
    border-color: var(--primary-light);
    color: var(--primary);
}
.admin-pager .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-brand));
    border-color: transparent;
    color: #fff;
}
.admin-pager .page-item.disabled .page-link {
    background: transparent;
    border-color: transparent;
    opacity: 0.45;
}
/* The "…" gap is a label, not a destination. */
.admin-pager .page-item.disabled .page-link[aria-disabled="true"]:not([rel]) { cursor: default; }
.admin-pager .page-link:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

@media (max-width: 767px) {
    .admin-toolbar { padding: 12px; }
    .admin-toolbar__filters { width: 100%; }
    .admin-toolbar .form-select,
    .admin-toolbar .form-control { flex: 1 1 140px; min-width: 0; }
    .admin-toolbar__actions { margin-left: 0; width: 100%; }
    .admin-toolbar__search { max-width: none; }
    .admin-table > thead > tr > th,
    .admin-table > tbody > tr > td { padding: 11px 12px; }
    .admin-th-sort > a { padding: 11px 12px; }
}

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state-icon {
    font-size: 4rem;
    color: var(--gray-200);
    margin-bottom: 16px;
}
.empty-state h3 { color: var(--gray-500); }

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .hero-section { padding: 50px 0; min-height: auto; }
    .hero-stats { gap: 20px; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 767px) {
    .top-bar-text { display: none; }
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 1rem; }
    .hero-stats { gap: 15px; }
    .hero-stat-num { font-size: 1.3rem; }
    .section { padding: 40px 0; }
    .section-title { font-size: 1.5rem; }
    .product-detail { padding: 20px 0 50px; }
    .product-breadcrumb { margin-bottom: 20px; font-size: 0.8rem; }
    .product-detail-price { font-size: 1.7rem; }
    .product-panel { margin-top: 40px; padding: 22px; }
    .product-related { margin-top: 48px; }
    .combo-contents { padding: 16px; }
    /* Two buttons will not sit side by side on a phone without one of them
       being clipped, so each takes a full row. */
    .product-detail-info .btn-primary-custom,
    .product-detail-info .btn-whatsapp {
        flex: 1 1 100%;
        justify-content: center;
    }
    .chat-float { bottom: 80px; gap: 10px; }
    .chat-float--right { right: 16px; }
    .chat-float--left { left: 16px; }
    .chat-float__btn { width: 50px; height: 50px; font-size: 1.4rem; }
    .chat-float__label { display: none; }
    .cart-table { font-size: 0.85rem; }
    .cart-item-img { width: 50px; height: 50px; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 1.5rem; }
    .hero-btn { padding: 12px 24px; font-size: 1rem; }
    .product-card-body { padding: 12px; }
    .product-name { font-size: 0.9rem; }
    .price-current { font-size: 1rem; }
}
