/* Custom CSS for Django Ecommerce */

/* Global Styles – Momentum Veridian brand colors (emerald green + gold) */
:root {
    /* Deep forest green from the logo mark – headings, header brand, footer */
    --brand-blue: #157a5b;
    --brand-blue-dark: #0f4a37;
    --brand-blue-soft: #e4f2ec;
    /* Signature Momentum emerald – buttons, prices, primary CTAs */
    --brand-orange: #157a5b;
    --brand-orange-light: #1f9c73;
    --brand-orange-soft: #e4f2ec;
    /* Polished gold accent from the logo ring – highlights/badges */
    --brand-yellow: #cba85e;
    --brand-yellow-dark: #b0893f;
    --brand-yellow-gradient: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-yellow-dark) 100%);
    /* Deep forest → emerald gradient – section headers (cart/checkout) */
    --brand-green-gradient: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    --brand-grey: #4b4f57;
    --brand-grey-light: #6b7280;
    /* Brand aliases – kept for backwards-compatible references across templates */
    --veridian-green: var(--brand-blue);
    --veridian-green-dark: var(--brand-blue-dark);
    --veridian-gold: var(--brand-yellow);
    --eneva-navy: var(--brand-blue-dark);
    --eneva-blue: var(--brand-blue);
    --eneva-red: var(--brand-orange);
    --eneva-orange: var(--brand-orange);
    --eneva-orange-dark: #0d5a41;
    --eneva-green-dark: #059669;
    --primary-color: var(--brand-blue-dark);
    --secondary-color: var(--brand-orange);
    --accent-color: var(--brand-orange);
    --success-color: var(--eneva-green-dark);
    --warning-color: var(--brand-yellow-dark);
    --danger-color: #c73e4d;
    --dark-color: var(--brand-blue-dark);
    --light-color: #f6f9f7;
    --light-bg: #f4f8f6;
    --light-bg-warm: #f6faf8;
    --border-color: #e3ebe7;
    --text-primary: #1f2a26;
    --text-secondary: #6b7280;
    --text-muted: var(--brand-grey);
    --shadow: 0 2px 10px rgba(15, 74, 55, 0.06);
    --shadow-lg: 0 12px 28px rgba(15, 74, 55, 0.10);
    --btn-primary-bg: var(--brand-orange);
    --btn-primary-color: #fff;
    --btn-secondary-bg: transparent;
    --btn-secondary-color: var(--primary-color);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-muted);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base layout – navbar (loaded from base.html) */
.navbar {
    background: #f8f7f5;
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
    min-height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--brand-blue-dark) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 56px;
    width: auto;
    max-width: min(280px, 55vw);
    object-fit: contain;
    object-position: left center;
}

.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
    color: var(--brand-grey);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: var(--brand-grey) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--brand-blue-dark) !important;
    background: var(--brand-blue-soft);
    border-radius: 8px;
}

.main-content {
    padding: 1rem 0;
    flex: 1 0 auto;
    width: 100%;
}


@media (min-width: 768px) {
    .navbar-brand img {
        height: 64px;
        max-width: 320px;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
    .main-content {
        padding: 2rem 0;
    }
}

@media (min-width: 992px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Enhanced form styling */
.form-control:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 0.2rem rgba(21, 122, 91, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Enhanced button styling */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--eneva-orange-dark) 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-orange-light) 0%, var(--brand-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 122, 91, 0.25);
    color: #fff;
}

.btn-outline-primary {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
}

.btn-outline-primary:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: white;
    transform: translateY(-2px);
}

/* Card enhancements */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    color: white;
    border-radius: 15px 15px 0 0 !important;
}

/* Alert enhancements */
.alert {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid var(--warning-color);
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid var(--danger-color);
}

/* Navigation enhancements */
.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-orange-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

/* Dropdown enhancements */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
    transform: translateX(5px);
}

/* Badge enhancements */
.badge {
    border-radius: 20px;
    font-weight: 600;
    padding: 0.5em 0.75em;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

/* Keyframe animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--brand-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive utilities */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .product-card .product-card-actions .btn {
        margin-bottom: 0.5rem;
    }
    .product-card .product-card-actions .btn:last-child {
        margin-bottom: 0;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for keyboard navigation */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--brand-orange);
    outline-offset: 2px;
}

/* ========== Shop – Product list page ========== */
body.body-product-list {
    background-color: var(--light-bg);
}

.product-list-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-list-count {
    font-size: 0.85rem;
}

.hero-section {
    background: linear-gradient(135deg, var(--eneva-blue) 0%, var(--eneva-navy) 100%);
    color: white;
    padding: 1rem 0;
    margin-bottom: 0.5rem;
}

.hero-section h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-section p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.top-copywriting {
    background: linear-gradient(135deg, #fff6f6 0%, #ffffff 100%);
    border-bottom: 3px solid var(--eneva-orange);
    padding: 0.75rem 0;
    text-align: center;
    margin-bottom: 0.75rem;
}

.copywriting-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.copywriting-text .highlight {
    color: var(--eneva-orange);
    font-weight: 700;
}

.trust-strip {
    background: linear-gradient(135deg, var(--brand-orange-soft) 0%, #fff 100%);
    border-bottom: 2px solid var(--eneva-orange);
    padding: 0.75rem 0;
    margin-bottom: 0.75rem;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
}

.trust-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-strip-item i {
    color: var(--eneva-orange);
    font-size: 1.2rem;
}

.category-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.75rem 1rem;
    text-align: center;
    margin-bottom: 0.75rem;
}

.category-sidebar h5 {
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.category-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.category-item:hover {
    background: #fff6f6;
    color: var(--eneva-orange);
    border-color: var(--eneva-orange);
    text-decoration: none;
}

.category-item.active {
    background: var(--eneva-navy);
    color: white;
}

.urgency-badge {
    background: linear-gradient(135deg, var(--eneva-blue) 0%, var(--eneva-navy) 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.trust-badges-mobile {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.trust-badge-mobile {
    background: #fff6f6;
    border: 2px solid var(--eneva-orange);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-badge-mobile i {
    color: var(--eneva-orange);
}

.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--eneva-orange);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Product list: contain layout and keep buttons from shrinking */
.shop-product-list {
    max-width: 100%;
}

.shop-product-list .product-card .card-body .btn {
    flex-shrink: 0;
}

/* Product list: same size and white text for both action buttons */
.shop-product-list .product-card-actions .add-to-cart-btn,
.shop-product-list .product-card-actions .btn-order-now {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    min-height: 44px;
    width: 100%;
    color: #fff;
}

.shop-product-list .product-card-actions .add-to-cart-btn:hover,
.shop-product-list .product-card-actions .btn-order-now:hover {
    color: #fff;
}

.shop-product-list .row.g-3 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
}

/* Product list: image area sized for 1000×1000 source; square aspect ratio */
.product-image {
    width: 100%;
    aspect-ratio: 1;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--eneva-orange) 0%, var(--eneva-orange-dark) 100%);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-card .product-title {
    font-size: 0.95rem;
    line-height: 1.3;
    min-height: 2.6rem;
    color: var(--eneva-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card .product-category {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--eneva-orange);
    margin-bottom: 0.75rem;
}

.product-card .card-body {
    padding: 1.25rem !important;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.product-card .product-card-link {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.product-card .product-card-actions {
    padding: 0 1.25rem 1.25rem !important;
    flex-shrink: 0;
    border-top: 1px solid var(--border-color);
}

.btn-order-now {
    background: var(--veridian-green);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 0.95rem;
    min-height: 44px;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-order-now:hover {
    transform: translateY(-2px);
    background: var(--veridian-green-dark);
    box-shadow: 0 8px 25px rgba(21, 122, 91, 0.28);
    color: #ffffff;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.toast {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: none;
}

.toast-header {
    background: linear-gradient(135deg, var(--eneva-navy) 0%, #0f172a 100%);
    color: var(--eneva-orange);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.toast-header .btn-close {
    filter: invert(1);
}

.add-to-cart-success {
    background: #28a745 !important;
    color: white !important;
}

.add-to-cart-loading {
    background: #6c757d !important;
    color: white !important;
}

/* Order Now button feedback states (JS toggles classes, no inline styles).
   !important needed to beat the .deal-btn-cart overrides below. */
.btn-feedback-success {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--eneva-orange-dark) 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.btn-feedback-error {
    background: var(--danger-color) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.btn-feedback-loading {
    opacity: 0.7;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cart-badge.updated {
    animation: pulse 0.6s ease-in-out;
}

@media (max-width: 768px) {
    .hero-section { padding: 0.75rem 0; margin-bottom: 0.25rem; }
    .hero-section h1 { font-size: 1.25rem; margin-bottom: 0.25rem; }
    .hero-section p { font-size: 0.85rem; }
    .top-copywriting { padding: 0.5rem 0; margin-bottom: 0.5rem; }
    .trust-strip { padding: 0.5rem 0; margin-bottom: 0.5rem; }
    .trust-strip-item { font-size: 0.85rem; }
    .copywriting-text { font-size: 0.85rem; padding: 0 0.5rem; }
    .category-sidebar { padding: 0.75rem 0.5rem; margin-bottom: 0.5rem; }
    .category-sidebar h5 { font-size: 0.9rem; margin-bottom: 0.5rem; }
    .category-list { gap: 0.3rem; }
    .category-item { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
    .trust-badges-mobile { margin-bottom: 0.5rem; gap: 0.4rem; }
    .trust-badge-mobile { padding: 0.4rem 0.75rem; font-size: 0.75rem; }
    .urgency-badge { margin-bottom: 0.5rem; padding: 0.35rem 0.7rem; font-size: 0.75rem; }
    .product-card { margin-bottom: 1rem; }
    .product-image { aspect-ratio: 1; }
    .product-card .product-title { font-size: 1rem; margin-bottom: 0.4rem; }
    .product-price { font-size: 1.3rem; margin-bottom: 0.75rem; }
    body { padding-top: 0; }
    .text-center.mb-3 h2 { font-size: 1.1rem !important; }
    .text-center.mb-3 p { font-size: 0.8rem !important; }
}

/* ========== Shop – Product detail page ========== */
.breadcrumb {
    background: transparent;
    padding: 0.25rem 0;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--brand-orange);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--border-color);
}

/* Product detail: sticky mobile CTA */
.product-detail-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    z-index: 1020;
    padding: 0.75rem 0;
}

.product-detail-sticky-cta .sticky-cta-inner {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.product-detail-sticky-cta .sticky-btn-cart,
.product-detail-sticky-cta .sticky-btn-order {
    flex: 1;
    min-width: 140px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 10px;
    font-size: 0.95rem;
}

.product-detail-sticky-cta .sticky-btn-cart {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-color);
    border: 2px solid var(--eneva-orange);
}

.product-detail-sticky-cta .sticky-btn-order {
    background: var(--brand-orange);
    color: white;
    border: none;
}

.product-detail-sticky-cta .sticky-btn-cart:hover {
    background: var(--brand-orange-soft);
    color: var(--eneva-orange);
}

.product-detail-sticky-cta .sticky-btn-order:hover {
    color: white;
    opacity: 0.95;
}

@media (max-width: 991.98px) {
    .product-detail-sticky-cta { display: block; }
    body.product-detail-page .main-content { padding-bottom: 5.5rem; }
}

@media (min-width: 992px) {
    .product-detail-sticky-cta { display: none !important; }
}

.product-container {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 3rem;
}

.gallery-section {
    background: var(--light-bg);
    padding: 1.5rem;
    position: relative;
}

/* Product detail: main image for 1000×1000 source; square, max 600px for sharp display */
.main-image-container {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
    aspect-ratio: 1;
    max-width: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

.thumbnail-gallery {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: var(--eneva-orange);
    transform: scale(1.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info .product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--eneva-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-info .product-category {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-add-to-cart-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-add-to-cart-row .product-price {
    margin-bottom: 0;
}

/* Product detail: same design for কার্টে যোগ করুন and অর্ডার করুন, both full width */
.price-add-to-cart-row form.add-to-cart-inline {
    width: 100%;
    min-width: 0;
}

.price-add-to-cart-row .add-to-cart-btn,
.price-add-to-cart-row .btn-order-now {
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    min-height: 44px;
    border-radius: 10px;
    width: 100%;
    transition: all 0.3s ease;
}

.price-add-to-cart-row .add-to-cart-btn:hover,
.price-add-to-cart-row .btn-order-now:hover {
    color: #fff;
    transform: translateY(-2px);
}

.price-add-to-cart-row .add-to-cart-btn {
    margin-bottom: 0;
}

.add-to-cart-inline {
    margin: 0;
    display: inline-block;
}

.product-info .product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--eneva-orange);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-currency {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.product-description {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.quantity-section {
    margin-bottom: 2rem;
}

.quantity-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    max-width: 200px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: white;
    color: var(--eneva-orange);
    border: 2px solid var(--eneva-orange);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.quantity-btn:hover {
    background: var(--eneva-orange);
    color: white;
    transform: translateY(-2px);
}

.quantity-input {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: white;
    flex-grow: 1;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--eneva-orange);
    box-shadow: 0 0 0 3px rgba(21, 122, 91, 0.1);
}

.trust-badges-detail {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.trust-badge-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-badge-detail i {
    color: var(--eneva-orange);
    font-size: 1.1rem;
}

.urgency-banner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: white;
    border: 1px solid var(--brand-yellow);
    color: var(--text-primary);
    padding: 0.9rem 1.15rem;
    border-radius: 14px;
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.urgency-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--brand-yellow);
    color: white;
}

.urgency-icon .bi {
    display: block;
    line-height: 1;
    font-size: 1.35rem;
}

.add-to-cart-btn {
    background: var(--brand-orange);
    border: none;
    color: white;
    padding: 1.25rem 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21, 122, 91, 0.3);
    width: 100%;
    min-height: 56px;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(21, 122, 91, 0.3);
}

.product-meta {
    background: var(--light-bg);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.meta-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    color: var(--text-muted);
    font-weight: 500;
}

.meta-value {
    color: var(--text-primary);
    font-weight: 600;
}

.related-products {
    margin-top: 3rem;
}

.related-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.related-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-info {
    padding: 1.5rem;
}

.related-title {
    font-weight: 600;
    color: var(--eneva-navy);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-price {
    color: var(--eneva-orange);
    font-weight: 700;
    font-size: 1.1rem;
}

.related-link {
    text-decoration: none;
    color: inherit;
}

.related-link:hover {
    color: inherit;
}

@media (max-width: 767px) {
    .breadcrumb { margin-bottom: 1rem; font-size: 0.85rem; }
    .product-container { margin-bottom: 1.5rem; }
    .gallery-section { padding: 1rem; }
    .main-image-container { margin-bottom: 1rem; }
    .thumbnail { width: 60px; height: 60px; }
    .product-info { padding: 1.25rem; }
    .product-info .product-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
    .product-info .product-price { font-size: 1.75rem; margin-bottom: 1rem; }
    .product-description { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .quantity-controls { max-width: 100%; }
    .add-to-cart-section { margin-bottom: 5rem; }
}

@media (min-width: 768px) {
    .gallery-section, .product-info { padding: 2rem; }
    .product-info .product-title { font-size: 2.5rem; }
    .product-info .product-price { font-size: 2rem; }
    .thumbnail { width: 80px; height: 80px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .related-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== Cart page ========== */
.cart-page {
    padding: 1rem 0;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--eneva-navy);
    margin-bottom: 2rem;
    text-align: center;
}

.cart-container {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.cart-header {
    background: white;
    color: var(--brand-blue-dark);
    padding: 1.1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.15rem;
}

.cart-header h3 .bi {
    color: var(--brand-orange);
}

.cart-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-bg);
    flex-shrink: 0;
    align-self: center;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-page .no-image {
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
}

.item-details {
    flex-grow: 1;
    text-align: center;
}

.item-name {
    font-weight: 600;
    color: var(--eneva-navy);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.item-name a {
    color: inherit;
    text-decoration: none;
}

.item-name a:hover {
    color: var(--brand-orange);
}

.item-category {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.item-price {
    color: var(--eneva-orange);
    font-weight: 600;
    font-size: 1rem;
}

.item-quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.quantity-form {
    width: 100%;
    max-width: 200px;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
}

/* Checkout: read-only quantity (no +/- buttons) */
.quantity-input-group.justify-content-center .quantity-display {
    font-weight: 600;
    color: var(--text-primary);
}

.item-total {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.item-total .remove-btn {
    align-self: center;
    width: max-content;
}

.total-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--eneva-orange);
}

.remove-btn {
    background: transparent;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 0.45rem 0.9rem;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.remove-btn i,
.remove-btn span {
    display: inline-block;
    flex-shrink: 0;
    line-height: 1;
}

.remove-btn:hover {
    background: var(--danger-color);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.summary-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: fit-content;
}

.summary-header {
    background: white;
    color: var(--brand-blue-dark);
    padding: 1.1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.summary-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.15rem;
}

.summary-header h3 .bi {
    color: var(--brand-orange);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    background: var(--brand-blue-soft);
    margin: 0.5rem 1rem 1rem;
    border-radius: 10px;
    padding: 1rem;
    border-bottom: none;
}

.summary-row.total .summary-label,
.summary-row.total .summary-value {
    color: inherit;
    font-weight: 700;
}

.summary-actions {
    padding: 0 1.5rem 1.5rem;
}

.summary-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.continue-shopping-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-muted);
}

.continue-shopping-btn:hover {
    border-color: var(--eneva-orange);
    color: var(--eneva-orange);
    background: var(--brand-blue-soft);
    text-decoration: none;
}

.checkout-btn {
    background: var(--brand-orange);
    border: none;
    color: white;
    font-weight: 700;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(21, 122, 91, 0.3);
    color: white;
    text-decoration: none;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--eneva-navy);
    margin-bottom: 0.5rem;
}

.empty-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.start-shopping-btn {
    background: var(--brand-orange);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.start-shopping-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(21, 122, 91, 0.3);
    color: white;
    text-decoration: none;
}

@media (min-width: 768px) {
    .cart-item { flex-direction: row; align-items: center; text-align: left; }
    .item-details { text-align: left; }
    .item-quantity { align-items: flex-start; }
    .item-total { text-align: right; align-items: flex-end; }
    .page-title { font-size: 2.5rem; }
}

/* ========== Checkout page ========== */
.checkout-page {
    padding: 0.5rem 0;
}

.checkout-container {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.checkout-header {
    background: white;
    color: var(--brand-blue-dark);
    padding: 1.1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.checkout-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

.checkout-header h2 .bi {
    color: var(--brand-orange);
}

.checkout-header p {
    margin: 0.25rem 0 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-section {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section.form-section-warning {
    background: var(--brand-blue-soft);
    border-left: 4px solid var(--brand-blue);
}

.form-section .invalid-feedback {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

.payment-methods {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    flex: 1;
    min-width: 140px;
}

.payment-method:hover {
    border-color: var(--eneva-orange);
    background: var(--brand-blue-soft);
}

.payment-method.selected {
    border-color: var(--brand-orange);
    background: var(--brand-blue-soft);
    box-shadow: 0 0 0 1px var(--brand-orange) inset;
}

.payment-method input[type="radio"] {
    margin-right: 0.5rem;
    transform: scale(1.1);
}

.payment-method-label {
    font-weight: 500;
    color: var(--eneva-navy);
    cursor: pointer;
    flex-grow: 1;
    font-size: 0.9rem;
}

.payment-icon {
    color: var(--eneva-orange);
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

/* Checkout page: cart and summary synchronized with billing block */
.checkout-page .cart-container,
.checkout-page .summary-card {
    box-shadow: var(--shadow);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.checkout-page .cart-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-page .cart-item:last-child {
    border-bottom: none;
}

.checkout-page .cart-container .item-total {
    min-width: 100px;
    flex-shrink: 0;
}

.checkout-page .cart-container .remove-btn {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.checkout-page .cart-container .remove-btn i,
.checkout-page .cart-container .remove-btn span {
    display: inline-block;
    flex-shrink: 0;
    line-height: 1;
}

.checkout-page .summary-row {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-page .summary-row.total {
    margin: 0.5rem 1rem 1rem;
    padding: 1rem;
}

.order-summary {
    background: var(--light-bg);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.summary-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--eneva-navy);
    margin-bottom: 0.75rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--text-muted);
    font-weight: 500;
}

.summary-value {
    color: var(--text-primary);
    font-weight: 600;
}

.summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--eneva-navy);
    background: transparent;
    margin: 0.75rem 0 0;
    padding: 0.75rem 0;
    border-top: 2px solid var(--eneva-orange);
}

.summary-total .summary-label,
.summary-total .summary-value {
    color: var(--eneva-navy);
    font-weight: 700;
}

.submit-section {
    text-align: center;
    padding: 1.5rem;
    background: white;
}

.submit-btn {
    background: var(--brand-orange);
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21, 122, 91, 0.3);
    width: 100%;
    min-height: 52px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(21, 122, 91, 0.3);
    color: white;
}

.cod-message {
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

.checkout-trust-line {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.checkout-trust-line i {
    color: var(--success-color);
}

.spinner {
    display: none;
}

@media (max-width: 767px) {
    .checkout-container { margin-bottom: 1rem; }
    .checkout-header { padding: 0.85rem 1rem; }
    .checkout-header h2 { font-size: 1.1rem; }
    .form-section { padding: 1rem; }
    .payment-methods { flex-direction: column; }
    .payment-method { min-width: 100%; }
    .checkout-page .cart-container,
    .checkout-page .summary-card { margin-bottom: 1rem; }
    .checkout-page .cart-header,
    .checkout-page .summary-header { padding: 0.85rem 1rem; }
    .checkout-page .cart-header h3,
    .checkout-page .summary-header h3 { font-size: 1.1rem; }
    .checkout-page .cart-item { padding: 1rem; }
    .checkout-page .summary-row { padding: 1rem 1.5rem; }
    .checkout-page .summary-row.total { margin: 0.5rem 1rem 1rem; padding: 1rem; }
}

/* ========== Success page ========== */
.success-page {
    padding: 1rem 0;
}

.success-container {
    max-width: 800px;
    margin: 0 auto;
}

.success-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 3rem;
    color: var(--brand-orange);
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue-soft);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
    border: 1px solid var(--brand-orange);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--eneva-navy);
    margin-bottom: 1rem;
}

.success-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.order-details {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.details-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--eneva-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.details-title i {
    color: var(--eneva-orange);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.success-page .order-summary {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.success-page .summary-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--eneva-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.success-page .summary-title i {
    color: var(--eneva-orange);
}

.success-page .summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    background: var(--brand-blue-soft);
    margin: 0.75rem 0 0;
    padding: 1rem;
    border-radius: 10px;
    border-top: none;
}

.next-steps-lead {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--brand-orange-soft);
    border-radius: 10px;
    border-left: 4px solid var(--brand-yellow);
}

.next-steps {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.steps-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--eneva-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.steps-title i {
    color: var(--eneva-orange);
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    position: relative;
}

/* Vertical connector between step numbers — reads as a timeline */
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 56px;
    bottom: -8px;
    width: 2px;
    background: var(--border-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--brand-orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-title {
    font-weight: 600;
    color: var(--eneva-navy);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-info {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--eneva-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-title i {
    color: var(--eneva-orange);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    color: var(--eneva-orange);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.contact-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
}

a.contact-text:hover {
    color: var(--brand-orange);
}

.action-buttons {
    text-align: center;
    margin-bottom: 2rem;
}

.action-btn {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.primary-btn {
    background: var(--brand-orange);
    color: #fff;
    border: none;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(21, 122, 91, 0.3);
    color: #fff;
    text-decoration: none;
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange);
}

.secondary-btn:hover {
    border-color: var(--brand-orange);
    color: #fff;
    background: var(--brand-orange);
    text-decoration: none;
}

@media (min-width: 768px) {
    .success-page {
        padding: 2rem 0;
    }
    .success-title {
        font-size: 3rem;
    }
    .success-subtitle {
        font-size: 1.3rem;
    }
    .detail-row, .success-page .summary-item, .step-item, .contact-item {
        font-size: 1.1rem;
    }
    .step-title, .contact-text {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) {
    .success-container {
        max-width: 900px;
    }
}

/* ========== Ecomadmin ========== */

/* The storefront footer is not relevant inside the admin panel. */
.ecomadmin-body .footer {
    display: none;
}

/* --- Admin login page --- */
.admin-login-body .footer {
    display: none;
}

.admin-login {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem 1rem 3.5rem;
    min-height: 60vh;
}

.admin-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 12px 40px rgba(15, 74, 55, 0.10);
}

.admin-login-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.admin-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-orange-soft);
    color: var(--brand-blue-dark);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.admin-login-title {
    color: var(--brand-blue-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.admin-login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.admin-login-submit {
    min-height: 46px;
    font-weight: 600;
    margin-top: 0.25rem;
}

.admin-login-field-error {
    color: #b02a37;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

/* --- Admin shell layout (mobile-first: single column) --- */
.admin-layout {
    display: block;
    max-width: 1320px;
    margin: 0 auto;
    padding: 1rem;
}

.admin-sidebar {
    background: #fff;
    border-right: 1px solid var(--border-color);
}

.admin-sidebar-body {
    padding: 1rem 0.75rem;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-blue-dark);
    padding: 0.25rem 0.75rem 1rem;
}

.admin-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-nav-divider {
    margin: 0.75rem 0.5rem;
    border-color: var(--border-color);
    opacity: 1;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.15rem;
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.admin-sidebar-link i {
    font-size: 1.15rem;
    color: var(--brand-grey-light);
    transition: color 0.15s ease;
}

.admin-sidebar-link:hover {
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
}

.admin-sidebar-link:hover i {
    color: var(--brand-blue-dark);
}

.admin-sidebar-link.active {
    background: var(--brand-blue-dark);
    color: #fff;
}

.admin-sidebar-link.active i {
    color: #fff;
}

.admin-main {
    min-width: 0;
    padding-top: 0.5rem;
    /* Absorb the negative gutters of any Bootstrap .row inside so the admin
       content never triggers a horizontal scrollbar on small screens.
       clip (not hidden) keeps sticky descendants working. */
    overflow-x: clip;
}

.admin-menu-toggle {
    margin-bottom: 1rem;
}

/* Desktop: static two-column layout with a persistent sidebar */
@media (min-width: 992px) {
    .admin-layout {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .admin-sidebar {
        position: sticky;
        top: 1.5rem;
        align-self: start;
        background: #fff;
        border-radius: 14px;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow);
        max-height: calc(100vh - 3rem);
        overflow-y: auto;
    }

    /* Bootstrap's responsive offcanvas sets `.offcanvas-lg .offcanvas-body`
       to `display:flex` (row) at >=lg, which laid the brand and nav links
       side-by-side. Force the sidebar body back to a vertical stack. */
    .admin-sidebar .admin-sidebar-body {
        display: block;
        flex-grow: 1;
        padding: 1rem 0.75rem;
        overflow-y: auto;
    }

    .admin-main {
        padding-top: 0;
    }
}

.dashboard-card {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Equal-height only when the card is a direct child of a grid column.
   A standalone dashboard-card (e.g. Recent Orders) must size to its own
   content — otherwise height:100% balloons it to fill the admin column. */
.row > [class*="col"] > .dashboard-card {
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Compact stat cards */
.dashboard-card .card-body {
    padding: 1rem 0.75rem;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-icon {
    font-size: 1.6rem;
    opacity: 0.18;
    color: var(--brand-blue-dark);
}

.nav-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.2s ease;
    height: 100%;
}

.nav-card:hover {
    border-color: var(--brand-blue-dark);
    background: var(--brand-blue-soft);
    color: inherit;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.nav-icon {
    font-size: 2.5rem;
    color: var(--brand-blue-dark);
    margin-bottom: 1rem;
}

.revenue-card {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: white;
}

.revenue-card .stat-number,
.revenue-card .stat-label {
    color: white;
}

.revenue-card .stat-icon {
    color: rgba(255,255,255,0.3);
}

.ecomadmin-product-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.ecomadmin-product-thumb-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.ecomadmin-empty-icon {
    font-size: 3rem;
    color: var(--border-color);
}

.ecomadmin-img-preview {
    max-width: 200px;
    border-radius: 5px;
}

.ecomadmin-img-preview-sm {
    max-width: 100px;
    border-radius: 5px;
}

.ecomadmin-slider-thumb {
    width: 120px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.ecomadmin-slider-preview {
    max-width: 100%;
    width: 320px;
    border-radius: 8px;
}

.formset-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.formset-item.deleted {
    opacity: 0.5;
    background: #fff3cd;
}

.order-item-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.order-item-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.order-item-card.deleted {
    opacity: 0.5;
    background: #fff3cd;
}

.order-edit .summary-card {
    position: sticky;
    top: 80px;
}

.order-edit .form-control,
.order-edit .form-select {
    border-radius: 8px;
}

.btn-remove-item {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.btn-remove-item:hover {
    background: #c82333;
    color: white;
}

/* ========== Thank you page (standalone style) ========== */
body.thank-you-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    min-height: 100vh;
    padding: 2rem;
}

body.thank-you-page .main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.thank-you-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}

.thank-you-container .success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thank-you-container .success-icon i {
    font-size: 4rem;
    color: var(--text-primary);
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.thank-you-page .order-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.thank-you-page .order-id {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.thank-you-page .order-details {
    text-align: left;
    margin-top: 1rem;
}

.thank-you-page .order-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.thank-you-page .order-detail-item:last-child {
    border-bottom: none;
}

.thank-you-page .detail-label {
    font-weight: 600;
    color: #666;
}

.thank-you-page .detail-value {
    color: #333;
}

.thank-you-page .next-steps {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid #D4AF37;
}

.thank-you-page .next-steps h4 {
    color: #D4AF37;
    margin-bottom: 1rem;
}

.thank-you-page .next-steps ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.thank-you-page .next-steps li {
    padding: 0.5rem 0;
    color: #666;
}

.thank-you-page .next-steps li i {
    color: #D4AF37;
    margin-right: 0.5rem;
}

.thank-you-page .action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thank-you-page .btn {
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.thank-you-page .btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: var(--text-primary);
}

.thank-you-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
}

.thank-you-page .btn-secondary {
    background: #f8f9fa;
    color: #333;
}

.thank-you-page .btn-secondary:hover {
    background: #e9ecef;
    color: #333;
}

@media (max-width: 768px) {
    .thank-you-container {
        padding: 2rem 1.5rem;
    }
    .thank-you-title {
        font-size: 2rem;
    }
    .thank-you-page .action-buttons {
        flex-direction: column;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #800080;
        --text-primary: #000000;
        --text-secondary: #333333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== Homepage hero slider ========== */
.hero-slider {
    margin-bottom: 1.5rem;
}

.hero-slider .carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(15, 74, 55, 0.14);
    background: var(--brand-blue-soft);
}

.hero-slider .carousel-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hero-slider .carousel-indicators {
    /* Compensate the 17px transparent hit-area padding so the dots keep
       their original optical position */
    margin-bottom: calc(0.5rem - 17px);
}

.hero-slider .carousel-indicators [data-bs-target] {
    /* 10px visual dot + 17px transparent padding = 44px touch target */
    box-sizing: content-box;
    width: 10px;
    height: 10px;
    padding: 17px;
    border-radius: 50%;
    background-color: #fff;
    background-clip: content-box;
    opacity: 0.55;
    border: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-slider .carousel-indicators .active {
    opacity: 1;
    background-color: var(--eneva-red);
    transform: scale(1.15);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 12%;
}

/* ========== Mobile: two product cards per row ========== */
@media (max-width: 767.98px) {
    .shop-product-list .row.g-3 {
        --bs-gutter-x: 0.6rem;
        --bs-gutter-y: 0.6rem;
    }

    .product-card {
        border-radius: 12px;
        margin-bottom: 0;
    }

    .product-card .card-body {
        padding: 0.7rem !important;
    }

    .product-card .product-card-actions {
        padding: 0 0.7rem 0.7rem !important;
    }

    .product-card .product-title {
        font-size: 0.82rem;
        line-height: 1.25;
        min-height: 2.05rem;
        margin-bottom: 0.3rem;
    }

    .product-card .product-category {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .product-card .product-price {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .product-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.45rem;
        top: 6px;
        right: 6px;
        border-radius: 12px;
    }

    .shop-product-list .product-card-actions .add-to-cart-btn,
    .shop-product-list .product-card-actions .btn-order-now {
        padding: 0.5rem 0.35rem;
        font-size: 0.78rem;
        min-height: 44px;
    }

    .shop-product-list .product-card-actions .btn i {
        margin-right: 0.25rem !important;
    }

    .btn-order-now {
        margin-top: 0.4rem;
    }
}

/* ========== Momentum Veridian mockup redesign ========== */
.site-header {
    background: #ffffff;
    color: var(--brand-blue-dark);
    padding: 0.85rem 0 1rem;
    box-shadow: 0 2px 12px rgba(15, 74, 55, 0.07);
    border-bottom: 1px solid var(--border-color);
}

.site-header .container,
.main-content > .container,
.hero-slider .container {
    max-width: 1180px;
}

.site-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--brand-blue-dark);
    text-decoration: none;
    min-width: 0;
}

.brand:hover {
    color: var(--brand-blue-dark);
}

.brand-logo {
    width: 72px;
    height: 72px;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    flex: 0 0 auto;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Two-tier wordmark lockup: bold forest-green "Momentum" over a
   letterspaced gold "VERIDIAN" echoing the logo's gold ring. */
.brand-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    min-width: 0;
}

.brand-name-main {
    font-size: clamp(1.1rem, 2.2vw, 1.42rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1;
    color: var(--brand-blue-dark);
}

.brand-name-sub {
    font-size: clamp(0.68rem, 1.3vw, 0.82rem);
    font-weight: 700;
    text-transform: uppercase;
    /* Wide tracking gives the sub-line a premium wordmark feel; trailing
       tracking space is absorbed so both lines stay optically aligned. */
    letter-spacing: 0.34em;
    margin-right: -0.34em;
    line-height: 1;
    color: var(--brand-yellow-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.btn-cart,
.btn-logout {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: var(--brand-blue-dark);
    text-decoration: none;
    background: var(--brand-blue-soft);
    border: 1px solid var(--border-color);
    border-radius: 11px;
    font-weight: 800;
    box-shadow: none;
}

.btn-logout {
    padding: 0 1.05rem;
}

.btn-logout:hover {
    color: #fff;
    background: var(--eneva-red);
    border-color: var(--eneva-red);
}

.btn-cart {
    padding: 0 0.9rem;
    position: relative;
    font-size: 1.3rem;
}

.btn-cart-label {
    font-size: 0.95rem;
    font-weight: 800;
}

.btn-cart:hover {
    color: #fff;
    background: var(--eneva-red);
    border-color: var(--eneva-red);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--eneva-red);
    color: #fff;
    border: 2px solid #fff;
    font-size: 0.68rem;
    line-height: 16px;
    text-align: center;
    font-weight: 800;
}

/* Header primary nav: Categories dropdown + Get a Quote */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
}

.header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0 0.9rem;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--brand-blue-dark);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    white-space: nowrap;
}

.header-nav-link:hover,
.header-nav-link.active,
.header-nav-drop.show .header-nav-link {
    background: var(--brand-blue-soft);
    color: var(--eneva-red);
}

.header-nav-link:focus-visible {
    outline: 2px solid var(--eneva-red);
    outline-offset: 2px;
}

.header-dropdown {
    min-width: 250px;
    padding: 0.4rem;
    margin-top: 0.3rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(15, 74, 55, 0.14);
}

/* Invisible bridge so hover doesn't drop while crossing the toggle→panel gap */
.header-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.45rem;
    height: 0.45rem;
}

.header-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    font-weight: 600;
    color: var(--brand-blue-dark);
}

.header-dropdown .dropdown-item i {
    width: 1.5rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--eneva-red);
}

.header-dropdown .dropdown-item:hover,
.header-dropdown .dropdown-item:focus {
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
}

.header-dropdown .dropdown-item.active {
    background: var(--brand-blue-soft);
    color: var(--eneva-red);
}

.header-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.35rem 0.35rem 0.35rem 0;
    min-height: 52px;
    box-shadow: 0 4px 12px rgba(15, 74, 55, 0.08);
}

/* Keyboard/caret focus ring on the whole pill (the inner input has outline:0) */
.header-search:focus-within {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(21, 122, 91, 0.18);
}

.header-search-icon {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-left: 0.9rem;
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text-primary);
    font-weight: 700;
    background: transparent;
}

.header-search input::placeholder {
    color: var(--text-secondary);
    opacity: 1;
}

.header-search button {
    min-height: 44px;
    padding: 0 1.35rem;
    border: 0;
    border-radius: 10px;
    background: var(--eneva-red);
    color: #fff;
    font-weight: 800;
}

.header-search button:hover {
    background: var(--eneva-orange-dark);
}

/* Standalone search bar on the product list page (separate from the top bar) */
.list-search {
    margin: 0 0 1.5rem;
}

.main-content {
    padding: 1rem 0 2rem;
    background: var(--light-bg);
}

.hero-slide {
    display: block;
    color: #fff;
    text-decoration: none;
    position: relative;
}

.hero-slide-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hero-slide-gradient {
    min-height: 300px;
    padding: clamp(2.2rem, 6vw, 5.5rem) clamp(1.8rem, 7vw, 4.5rem);
    background: linear-gradient(115deg, var(--brand-blue-dark) 0%, var(--brand-blue) 62%, #1f9c73 100%);
}

.hero-title {
    max-width: 670px;
    font-size: clamp(2.3rem, 7vw, 5.4rem);
    line-height: 0.98;
    margin: 1.15rem 0 0.7rem;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-highlight {
    color: #fff;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 1.05rem;
    border-radius: 999px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
    font-weight: 900;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.45rem);
    margin-bottom: 1.35rem;
    font-weight: 700;
    opacity: 0.92;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 56px;
    padding: 0 1.8rem;
    border-radius: 10px;
    background: var(--eneva-red);
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 74, 55, 0.26);
}

.hero-btn:hover {
    color: #fff;
    background: var(--eneva-orange-dark);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    opacity: 1;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    background-size: 42% 42%;
    box-shadow: 0 8px 18px rgba(15, 74, 55, 0.18);
    filter: none;
}

.hero-slider .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f4a37'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.hero-slider .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f4a37'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.hero-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-slider .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--brand-yellow);
}

.trust-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.35rem;
    margin-bottom: 1.35rem;
    box-shadow: 0 8px 20px rgba(39, 43, 58, 0.08);
}

.trust-bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #292a3d;
}

.trust-bar-item i {
    color: var(--eneva-red);
    font-size: 1.45rem;
}

.trust-bar-item strong,
.trust-bar-item span {
    display: block;
}

.trust-bar-item strong {
    font-size: 1rem;
    line-height: 1.1;
}

.trust-bar-item span {
    color: #8b8e9a;
    font-size: 0.85rem;
    font-weight: 700;
}

.trust-bar-divider {
    width: 1px;
    height: 38px;
    background: #e7e9ef;
}

.section-block {
    margin-bottom: 1.5rem;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: var(--brand-blue-dark);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 900;
}

.section-link {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

/* Non-link counterpart of .section-link (e.g. "12 products" count) */
.section-count {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Align the empty-state Bootstrap button with the homepage button scale
   without touching the global .btn-primary */
.shop-product-list .btn-primary {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    font-weight: 800;
    min-height: 44px;
}

.category-scroller {
    display: grid;
    /* auto-fill instead of a fixed 10 columns so any category count fills
       the row without phantom empty tracks */
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 1rem;
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-muted);
    text-decoration: none;
    min-width: 0;
    font-weight: 900;
    font-size: 0.86rem;
    text-align: center;
}

.cat-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #fff;
    color: var(--brand-blue);
    box-shadow: 0 8px 20px rgba(15, 74, 55, 0.10);
    font-size: 2rem;
    overflow: hidden;
}

/* Uploaded category icon image – fills the rounded tile in place of the font icon */
.cat-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.cat-tile:hover,
.cat-tile.active {
    color: var(--eneva-red);
}

.cat-tile:hover .cat-icon,
.cat-tile.active .cat-icon {
    color: var(--eneva-red);
    transform: translateY(-2px);
}

.hot-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    min-height: 32px;
    padding: 0 0.85rem;
    margin-left: 0.5rem;
    border-radius: 999px;
    background: #ffdfe2;
    color: var(--eneva-red);
    font-size: 0.78rem;
    vertical-align: middle;
}

.deal-countdown {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 900;
    color: #7c8190;
}

.cd-box {
    min-width: 42px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--brand-blue);
    color: #fff;
    font-size: 1rem;
}

.cd-box-red {
    background: var(--eneva-red);
}

.shop-product-list .product-grid {
    align-items: stretch;
}

.shop-product-list .product-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 74, 55, 0.10);
    cursor: default;
}

.shop-product-list .product-card:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 74, 55, 0.14);
}

.shop-product-list .product-image {
    aspect-ratio: 1.2 / 1;
    background: var(--brand-blue-soft);
}

.shop-product-list .product-grid > div:nth-child(3n + 2) .product-image {
    background: #f6efdd;
}

.shop-product-list .product-grid > div:nth-child(3n) .product-image {
    background: var(--light-bg-warm);
}

.discount-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--eneva-red);
    color: #fff;
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 5px 12px rgba(21, 122, 91, 0.28);
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--brand-blue);
    font-size: clamp(4rem, 10vw, 8rem);
}

.shop-product-list .product-card .card-body {
    padding: 1.05rem 1.05rem 0.8rem !important;
}

.shop-product-list .product-card .product-category {
    color: var(--brand-blue);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.shop-product-list .product-card .product-title {
    color: var(--text-primary);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.35;
    min-height: 2.75rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.product-rating i {
    color: var(--brand-yellow-dark);
}

.rating-value {
    color: var(--text-muted);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
}

.shop-product-list .product-card .product-price {
    color: var(--eneva-red);
    font-size: 1.35rem;
    line-height: 1;
    margin: 0;
}

.old-price {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 0.95rem;
    font-weight: 700;
}

.shop-product-list .product-card .product-card-actions {
    display: grid;
    gap: 0.55rem;
    padding: 0 1.05rem 1.05rem !important;
    border-top: 0;
}

.deal-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    border: 2px solid var(--eneva-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.deal-btn:hover {
    transform: translateY(-1px);
}

.deal-btn-order {
    background: var(--veridian-green);
    color: #ffffff;
    border-color: var(--veridian-green);
    box-shadow: 0 7px 14px rgba(21, 122, 91, 0.22);
}

.deal-btn-cart {
    background: #fff;
    color: var(--eneva-red);
    border-color: var(--eneva-red);
}

.deal-btn-order:hover {
    color: #ffffff;
    background: var(--veridian-green-dark);
    border-color: var(--veridian-green-dark);
}

.deal-btn-cart:hover {
    color: #fff;
    background: var(--eneva-red);
    border-color: var(--eneva-red);
}

/* ===== Value props (home body section) ===== */
.value-props {
    padding: 0.25rem 0 2rem;
}

.value-props-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.value-prop-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--brand-orange-soft);
    /* Emerald icon — matches .feature-strip-icon so both 4-up rows read
       as the same component */
    color: var(--brand-blue);
    font-size: 1.35rem;
}

.value-prop-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.value-prop-text strong {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.98rem;
}

.value-prop-text span {
    color: var(--text-muted);
    font-size: 0.86rem;
}

/* On the about page the value props become self-contained cards so the
   "Why choose us" grid reads as deliberate proof, not a loose icon list. */
.about-page .value-props {
    padding: 0 0 2rem;
}

.about-page .value-prop {
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 1.35rem 1.25rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-page .value-prop:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(15, 74, 55, 0.12);
}

.about-page .value-prop-icon {
    width: 50px;
    height: 50px;
}

@media (min-width: 768px) {
    .value-props-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .about-page .value-props-grid {
        gap: 1.25rem;
    }
}

/* ===== Newsletter band (home body section) ===== */
.newsletter-section {
    padding: 0 0 2rem;
}

.newsletter-band {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.newsletter-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.newsletter-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.4rem;
}

.newsletter-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.1;
}

.newsletter-sub {
    color: rgba(255, 255, 255, 0.82);
    margin: 0.2rem 0 0;
    font-size: 0.92rem;
}

.newsletter-form {
    display: flex;
    gap: 0.6rem;
    width: 100%;
}

.newsletter-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 0.95rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(203, 168, 94, 0.25);
}

.newsletter-btn {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 1.5rem;
    border: none;
    border-radius: 10px;
    background: var(--brand-yellow);
    color: var(--brand-blue-dark);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-btn:hover {
    background: var(--brand-yellow-dark);
}

@media (min-width: 992px) {
    .newsletter-band {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 2rem;
    }

    .newsletter-form {
        width: auto;
        flex: 0 0 420px;
        max-width: 420px;
    }
}

/* ===== Main footer (light) ===== */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0 1rem;
    color: var(--text-muted);
    /* Sticky footer (body is a flex column) */
    margin-top: auto;
    overflow-x: hidden;
}

.footer-col {
    padding: 0.5rem 0;
}

.footer .container {
    max-width: 1180px;
}

.footer-logo {
    width: 56px;
    max-width: 100%;
    max-height: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.footer-brand {
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--brand-blue-dark);
}

.footer-tagline {
    max-width: 300px;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-top: 0.85rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff;
    color: var(--brand-blue-dark);
    border: 1px solid var(--border-color);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

.footer .footer-heading {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--brand-blue);
}

.footer-contact li,
.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    /* Long email/address must wrap instead of overflowing the column on
       narrow screens (was clipping past the viewport edge). */
    min-width: 0;
}

.footer-contact span,
.footer-contact a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-contact i {
    color: var(--brand-blue);
    font-size: 1.05rem;
    margin-top: 0.1rem;
    flex: 0 0 auto;
}

.footer-phone {
    color: var(--brand-blue-dark);
    font-weight: 700;
    font-size: 1.02rem;
}

.footer-phone-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 0.7rem;
}

.footer-phone-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.footer-phone-item a {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-phone-secondary {
    padding-left: calc(1.05rem + 0.7rem);
}

.footer-phone-secondary a {
    gap: 0;
    padding-left: 0;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1.75rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-bottom p {
    color: var(--text-muted);
}

.footer-credit {
    color: var(--text-muted);
}

.footer-credit a {
    color: var(--brand-blue);
    font-weight: 600;
}

.footer-credit a:hover {
    color: var(--brand-blue-dark);
}

.footer-payments {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.pay-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 0.65rem;
    border-radius: 5px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--brand-blue-dark);
    font-size: 0.8rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .newsletter-title {
        font-size: 1.25rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-payments {
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .category-scroller {
        display: flex;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scroll-snap-type: x mandatory;
    }

    .cat-tile {
        flex: 0 0 82px;
        scroll-snap-align: start;
    }

    .cat-icon {
        width: 66px;
        height: 66px;
        border-radius: 16px;
        font-size: 1.7rem;
    }
}

@media (max-width: 767.98px) {
    .site-header {
        padding: 0.7rem 0 0.85rem;
    }

    .site-header-top {
        margin-bottom: 0;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
    }

    .site-header-top {
        flex-wrap: wrap;
        row-gap: 0.15rem;
    }

    /* Nav drops to its own full-width row below brand + cart on small screens;
       wraps as a safety net so no item ever clips at 320px */
    .header-nav {
        order: 3;
        flex-basis: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .header-nav-link {
        padding: 0 0.55rem;
        font-size: 0.92rem;
    }

    .header-dropdown {
        min-width: 100%;
    }

    .btn-cart {
        padding: 0 0.7rem;
        min-height: 44px;
        font-size: 1.15rem;
    }

    .btn-cart-label {
        font-size: 0.88rem;
    }

    .header-search {
        min-height: 48px;
        border-radius: 11px;
        gap: 0.3rem;
    }

    .header-search button {
        min-height: 44px;
        padding: 0 0.9rem;
    }

    .main-content {
        padding-top: 0.75rem;
    }

    .trust-bar {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 0.9rem 1rem;
    }

    .trust-bar-divider {
        width: 100%;
        height: 1px;
    }

    .section-head {
        align-items: flex-start;
        /* Wrap the deal countdown below the title on very narrow phones (≈320px)
           so it never forces horizontal scroll; stays inline where it fits. */
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .deal-countdown {
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .cd-box {
        min-width: 32px;
        height: 31px;
        border-radius: 7px;
        font-size: 0.85rem;
    }

    .shop-product-list .product-image {
        aspect-ratio: 1 / 1;
    }

    .shop-product-list .product-card .product-title {
        font-size: 0.84rem;
        min-height: 2.25rem;
    }

    .product-rating,
    .old-price {
        font-size: 0.74rem;
    }

    .shop-product-list .product-card .product-price {
        font-size: 1.05rem;
    }

    .discount-badge {
        top: 8px;
        left: 8px;
        font-size: 0.62rem;
        border-radius: 6px;
        padding: 0.28rem 0.42rem;
    }

    .deal-btn {
        min-height: 44px;
        font-size: 0.78rem;
    }

}

/* Final product action overrides: older button rules also target .add-to-cart-btn. */
.shop-product-list .product-card-actions .deal-btn-cart.add-to-cart-btn {
    background: #fff !important;
    color: var(--eneva-red) !important;
    border-color: var(--eneva-red) !important;
}

.shop-product-list .product-card-actions .deal-btn-cart.add-to-cart-btn i,
.shop-product-list .product-card-actions .deal-btn-cart.add-to-cart-btn span {
    color: inherit !important;
}

.shop-product-list .product-card-actions .deal-btn-cart.add-to-cart-btn:hover {
    background: var(--eneva-red) !important;
    color: #fff !important;
    border-color: var(--eneva-red) !important;
}

.shop-product-list .product-grid {
    overflow: visible;
}

/* ========== Privacy policy / static legal pages ========== */
.policy-page {
    padding: 1rem 0 2rem;
}

.policy-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 1.25rem;
    max-width: 860px;
    margin: 0 auto;
    color: var(--text-primary);
    line-height: 1.7;
}

.policy-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.policy-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin: 1.75rem 0 0.75rem;
}

.policy-list {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.policy-list li {
    margin-bottom: 0.5rem;
}

.policy-card a {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .policy-card {
        padding: 2.5rem 3rem;
    }

    .policy-heading {
        font-size: 1.3rem;
    }
}

/* ===== About Us page ===== */
.about-page {
    padding: 1rem 0 2rem;
}

.about-page .section-title {
    margin-bottom: 1rem;
}

/* Hero — emerald field with the logo's gold-ring motif echoed as a soft
   radial glow behind the copy (the page's signature element). */
.about-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(120% 140% at 88% -10%, rgba(203, 168, 94, 0.28) 0%, rgba(203, 168, 94, 0) 42%),
        linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    border-radius: 22px;
    padding: 2.5rem 1.6rem 2.75rem;
    margin-bottom: 1.75rem;
    color: #fff;
    text-align: center;
}

/* Concentric gold rings, off the top-right corner — the brand ring, abstracted */
.about-hero::before {
    content: "";
    position: absolute;
    top: -95px;
    right: -95px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(203, 168, 94, 0.45);
    box-shadow:
        0 0 0 22px rgba(203, 168, 94, 0.06),
        inset 0 0 0 14px rgba(203, 168, 94, 0.10);
    z-index: -1;
    pointer-events: none;
}

.about-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.about-hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--brand-yellow);
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    position: relative;
}

.about-hero-eyebrow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-yellow);
}

.about-hero-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin: 0 auto 1rem;
}

.about-hero-text {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
    max-width: 600px;
    margin: 0 auto;
}

/* Section eyebrow + title header used across the about page */
.about-section-head {
    margin-bottom: 1.1rem;
}

.about-section-head--center {
    text-align: center;
}

.about-section-head--center .section-title {
    justify-content: center;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-yellow-dark);
    margin-bottom: 0.45rem;
}

.about-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-yellow);
}

.about-section-head--center .about-eyebrow::before {
    display: none;
}

/* Reset the inner card header spacing so the eyebrow hugs its title */
.about-card .about-section-head {
    margin-bottom: 1rem;
}
.about-card .about-section-head .section-title {
    margin-bottom: 0;
}

/* Stats — one unified band with hairline dividers instead of four floating
   boxes, so the numbers read as a single proof-point statement. */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.about-stat {
    padding: 1.35rem 0.85rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

/* Two-up grid: only the left column keeps a right divider */
.about-stat:nth-child(2n) {
    border-right: 0;
}
.about-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.about-stat-number {
    font-size: clamp(1.65rem, 5vw, 2.15rem);
    font-weight: 800;
    color: var(--brand-blue-dark);
    line-height: 1;
    letter-spacing: -0.02em;
    padding-bottom: 0.5rem;
    position: relative;
}

/* Gold underscore — the ring/gold accent tying stats to the hero */
.about-stat-number::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-yellow);
}

.about-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.about-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.about-card p {
    margin-bottom: 1rem;
}

.about-card .section-title + p {
    margin-top: 0;
}

/* Vision & Mission two-card grid */
.about-mv {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-mv-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1.75rem 1.5rem;
    color: var(--text-primary);
}

/* Emerald hairline down the leading edge; the Mission card switches to gold */
.about-mv-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--brand-blue);
}

.about-mv-card--mission::before {
    background: var(--brand-yellow);
}

.about-mv-card p {
    margin: 0;
    line-height: 1.7;
}

.about-mv-icon,
.about-pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
}

/* Mission card reads gold to pair with its accent edge */
.about-mv-card--mission .about-mv-icon {
    background: rgba(203, 168, 94, 0.16);
    color: var(--brand-yellow-dark);
}

.about-mv-icon .bi,
.about-pillar-icon .bi {
    display: block;
    line-height: 1;
}

.about-mv-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Core pillars three-card grid */
.about-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-pillar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--brand-yellow);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 1.5rem 1.25rem;
}

.about-pillar-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin-bottom: 0.4rem;
}

.about-pillar p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Product portfolio category pills */
.about-portfolio-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.about-portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    min-height: 44px;
    padding: 0 1.1rem;
    border-radius: 999px;
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.about-portfolio-link:hover,
.about-portfolio-link:focus {
    background: var(--brand-blue);
    color: #fff;
}

/* Tailored services numbered rows */
.about-service {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.about-service:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-service-num {
    flex: 0 0 auto;
    width: 2.9rem;
    height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(203, 168, 94, 0.12);
    box-shadow: inset 0 0 0 1.5px var(--brand-yellow);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-yellow-dark);
    line-height: 1;
}

.about-service-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin-bottom: 0.3rem;
}

.about-service p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Message from the CEO */
.ceo-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1.75rem 1.35rem 1.75rem;
    margin-bottom: 1.5rem;
}

.ceo-message-head {
    flex-shrink: 0;
}

.ceo-message-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.ceo-message-photo {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--brand-yellow), var(--shadow);
    background: var(--brand-blue-soft);
}

.ceo-message-caption {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ceo-message-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--brand-blue-dark);
    line-height: 1.2;
}

.ceo-message-role {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-yellow-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ceo-message-body {
    position: relative;
    color: var(--text-primary);
    line-height: 1.75;
}

.ceo-message-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--brand-yellow-dark);
    margin-bottom: 0.5rem;
}

.ceo-message-quote {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--brand-orange-soft);
    margin-bottom: 0.25rem;
}

.ceo-message-title {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin-bottom: 0.9rem;
}

.ceo-message-body p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.ceo-message-signoff {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.ceo-message-signoff-warm {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ceo-message-signoff-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--brand-blue-dark);
}

.ceo-message-signoff-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-blue);
}

@media (min-width: 768px) {
    .about-hero {
        padding: 3rem 2.5rem;
    }

    .ceo-message {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 2.25rem;
        padding: 2.5rem 2.5rem;
    }

    .ceo-message-head {
        position: sticky;
        top: 1.5rem;
    }

    .ceo-message-photo {
        width: 190px;
        height: 190px;
    }

    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    /* 4-up: every cell keeps its right divider except the last one */
    .about-stat {
        border-bottom: 0;
        padding: 1.75rem 1rem;
    }
    .about-stat:nth-child(2n) {
        border-right: 1px solid var(--border-color);
    }
    .about-stat:last-child {
        border-right: 0;
    }

    .about-card {
        padding: 2.25rem 2.5rem;
    }

    .about-mv {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .about-mv-card {
        padding: 2rem 1.75rem;
    }

    .about-pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* ========== Momentum Veridian – homepage sections ========== */

/* Feature strip (delivery / payments / returns / support) */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    margin: 0 0 1.5rem;
    box-shadow: var(--shadow);
}

.feature-strip-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-primary);
    min-width: 0;
}

.feature-strip-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
}

/* Collapse the icon-font line box so the glyph itself is centred in the tile
   (an uncollapsed line box would flex-centre as a tall block, pushing the
   glyph to the top-left corner). */
.feature-strip-icon .bi {
    display: block;
    line-height: 1;
    font-size: 1.35rem;
    color: inherit;
}

.feature-strip-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.feature-strip-item strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.feature-strip-item span {
    color: var(--text-muted);
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.25;
}

/* Bulk orders banner */
.bulk-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    background: linear-gradient(120deg, var(--brand-blue-soft) 0%, #d4ebe0 100%);
    border-radius: 16px;
    padding: 1.6rem 1.9rem;
    margin: 0 0 1.5rem;
}

.bulk-banner-body {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.bulk-banner-icon {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue-dark);
    font-size: 2.1rem;
}

.bulk-banner-title {
    margin: 0 0 0.2rem;
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    font-weight: 800;
    color: var(--brand-blue-dark);
}

.bulk-banner-text {
    margin: 0;
    max-width: 460px;
    color: #3f5a50;
    font-weight: 600;
}

.bulk-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0 1.6rem;
    border-radius: 10px;
    background: var(--brand-blue-dark);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 74, 55, 0.22);
}

.bulk-banner-btn:hover {
    color: #fff;
    background: var(--brand-blue);
}

/* Value proposition row */
@media (max-width: 767.98px) {
    .bulk-banner {
        padding: 1.4rem 1.25rem;
    }

    .bulk-banner-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .feature-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}
