/* ── Reset / Global ──────────────────────────────────────── */
body {
    padding-top: 70px; /* spațiu pentru navbar fixed */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #1a1a2e; /* contrast ≥ 10:1 pe #f8f9fa */
}

/* ── Navbar link style (personalizabil) ──────────────────── */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff;
}

/* ── LCP / CLS fixes ──────────────────────────────────── */
#mainImage { aspect-ratio: 1 / 1; width: 100%; height: auto; }
.product-card img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: contain; }

/* ── Accessibility fixes ───────────────────────────────── */
.text-muted { color: #4a5568 !important; }
.breadcrumb-item.active { color: #4a5568 !important; }
.breadcrumb-item a { color: #2b6cb0 !important; }
a:not(.btn) { color: #0056b3; }                     /* contrast 7:1 on #f8f9fa */
a:not(.btn):hover { color: #003d80; }
.site-footer a { color: #63b3ed !important; }
.site-footer .text-muted { color: #a0aec0 !important; }
.support-contact { display: inline-block; padding: 8px 4px; min-height: 44px; line-height: 1.4; }
.badge-success { background-color: #1e7e34 !important; }
.btn-primary { background-color: #0056b3 !important; border-color: #0056b3 !important; }
.btn-outline-primary { color: #0056b3 !important; border-color: #0056b3 !important; }
.btn-outline-primary:hover { background-color: #0056b3 !important; color: #fff !important; }
.btn-outline-secondary { color: #4a5568 !important; border-color: #4a5568 !important; }
.btn-outline-secondary:hover { background-color: #4a5568 !important; color: #fff !important; }
.site-footer .text-muted { color: #a0aec0 !important; }
.support-contact { display: inline-block; padding: 8px 4px; min-height: 44px; line-height: 1.4; }

.main-content {
    min-height: 60vh;
    padding: 30px 0;
}

/* ── Section Headers ────────────────────────────────────── */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
}

.section-spacer {
    padding: 40px 0;
}

/* ── Hero Slider ────────────────────────────────────────── */
.hero-slider {
    margin-top: -30px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.hero-slider .carousel-item {
    background-color: #fff;
    line-height: 0;
}

.hero-slider .slider-img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slider .slider-placeholder {
    width: 100%;
    height: 650px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.hero-slider .slider-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .slider-caption-minimal {
    background: none;
    padding: 0;
    bottom: 30px;
    left: 5%;
    right: 5%;
    text-align: center;
}

.hero-slider .slider-caption-minimal p {
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    margin: 0;
    padding: 8px 16px;
    display: inline-block;
    border-radius: 6px;
}

/* Săgeți peste imagine */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.hero-slider .carousel-control-prev {
    left: 20px;
}

.hero-slider .carousel-control-next {
    right: 20px;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 25px;
    background-size: 55%;
    transition: background-color 0.2s;
}

.hero-slider .carousel-control-prev-icon:hover,
.hero-slider .carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

/* ── Product Card ───────────────────────────────────────── */
.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    background: #fff;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.product-card .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f0f0f0;
}

.product-card .card-body {
    padding: 15px;
}

.product-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 40px;
}

.product-card .card-title a {
    color: #333;
    text-decoration: none;
}

.product-card .card-title a:hover {
    color: #007bff;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e7e34; /* contrast 5.5:1 */
}

.product-price .old-price {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666; /* contrast 5:1 */
    text-decoration: line-through;
    margin-left: 8px;
}

.product-card .badge-stock {
    position: absolute;
    top: 10px;
    right: 10px;
}

.product-card .badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.85rem;
    padding: 5px 10px;
    z-index: 2;
}

/* ── Category Carousel ──────────────────────────────────── */
.category-carousel .carousel-item .row {
    justify-content: center;
}

.category-card {
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease;
    display: block;
    color: #333;
    text-decoration: none;
}

.category-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #007bff;
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    background: #f0f0f0;
    margin-bottom: 10px;
}

.category-card .category-name {
    font-weight: 600;
    font-size: 1rem;
}

/* ── Placeholder ────────────────────────────────────────── */
.placeholder-img {
    width: 100%;
    height: 220px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 2.5rem;
}

.category-card .placeholder-img {
    height: 180px;
}

/* ── Product Detail Page ────────────────────────────────── */
.product-gallery {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Colțul miniaturilor verticale */
.gallery-thumbs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.thumb-scroll {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 64px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    font-size: 0.8rem;
    transition: background 0.2s, color 0.2s;
    padding: 0;
}

.thumb-scroll:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.thumb-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 420px;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.gallery-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.gallery-thumb:hover {
    opacity: 1;
    border-color: #999;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #007bff;
}

/* Imagine principală */
.gallery-main {
    flex: 1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
}

.gallery-main img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

/* Fallback placeholder (când nu există imagini) */
.product-detail-img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 10px;
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e7e34; /* contrast ~5.5:1 on white */
}

.product-detail-price .old-price {
    font-size: 1.2rem;
    color: #666; /* contrast ~5:1 on white */
    text-decoration: line-through;
    margin-left: 12px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-slider .slider-placeholder {
        height: 250px;
    }
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 36px;
        height: 36px;
    }
    .hero-slider .carousel-control-prev {
        left: 8px;
    }
    .hero-slider .carousel-control-next {
        right: 8px;
    }
    .hero-slider .carousel-control-prev-icon,
    .hero-slider .carousel-control-next-icon {
        padding: 14px;
    }
    .hero-slider {
        border-radius: 0;
        box-shadow: none;
    }
    .hero-slider .slider-img {
        height: 300px;
    }
    .hero-slider .slider-placeholder {
        height: 300px;
    }
    .hero-slider .slider-caption-minimal {
        bottom: 15px;
    }
    .hero-slider .slider-caption-minimal p {
        font-size: 0.85rem;
        padding: 4px 12px;
    }
    .product-card .card-img-top {
        height: 180px;
    }

    /* Product gallery responsive */
    .product-gallery {
        flex-direction: column-reverse;
        align-items: center;
    }

    .gallery-thumbs {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        max-width: 100%;
    }

    .thumb-list {
        flex-direction: row;
        max-height: none;
        overflow-y: visible;
        overflow-x: auto;
    }

    .gallery-thumb {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
    }

    .thumb-scroll {
        width: 28px;
        height: 56px;
    }

    .gallery-main {
        min-height: 280px;
        width: 100%;
    }

    .gallery-main img {
        max-height: 350px;
    }
}

/* ── Two-Tier Menu: Roots + Mega Columns ────────────────── */
/* Hover activation for the top-level dropdown */
.dropdown-hover:hover > .dropdown-menu {
    display: block;
}

/* First level: root categories dropdown */
.dropdown-roots {
    min-width: 260px;
    padding: 8px 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin-top: 0 !important;
}

.dropdown-roots .dropdown-item {
    padding: 8px 18px;
    font-weight: 500;
    color: #333;
    transition: background 0.12s;
}

.dropdown-roots .dropdown-item:hover {
    background: #eef4ff;
    color: #0056b3;
}

.dropdown-roots .dropdown-item small {
    font-weight: 400;
    font-size: 0.75rem;
}

.dropdown-roots .dropdown-item .fa-chevron-right {
    font-size: 0.7rem;
    line-height: 1.4;
    opacity: 0.5;
}

/* Root item wrapper for submenu positioning */
.root-item {
    position: relative;
}

/* Invisible bridge so mouse can travel from root to mega menu */
.root-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    width: 12px;
    height: 100%;
    z-index: 1001;
}

/* Hover on a root → show its mega menu panel */
.root-item:hover > .mega-menu {
    display: block;
}

/* Mega menu panel (second level) */
.mega-menu {
    position: absolute;
    top: -8px;
    left: 100%;
    width: 660px;
    padding: 0 !important;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    background: #fff;
    display: none;
    z-index: 1000;
}

.mega-menu .container {
    padding: 14px 10px;
}

.mega-menu .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
}

.mega-menu .menu-col {
    flex: 1 1 0%;
    min-width: 0;
    padding: 0 12px;
    border-right: 1px solid #eee;
}

.mega-menu .menu-col:last-child {
    border-right: none;
}

.mega-menu .mega-group {
    margin-bottom: 16px;
    break-inside: avoid;
}

.mega-menu .mega-heading {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #007bff;
    padding: 4px 0;
    margin-bottom: 2px;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}

.mega-menu .mega-heading:hover {
    color: #0056b3;
    text-decoration: underline;
}

.mega-menu .mega-link {
    display: block;
    font-size: 0.88rem;
    color: #555;
    padding: 3px 0 3px 8px;
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
    white-space: nowrap;
}

.mega-menu .mega-link:hover {
    color: #007bff;
    padding-left: 14px;
    text-decoration: none;
}

/* Mobile: collapse to stacked */
@media (max-width: 991.98px) {
    .dropdown-hover:hover > .dropdown-menu {
        display: none;
    }
    .dropdown-hover.show > .dropdown-menu {
        display: block;
    }

    .dropdown-roots {
        min-width: auto;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .root-item {
        position: static;
    }

    .root-item:hover > .mega-menu {
        display: none;
    }

    .mega-menu {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        left: auto !important;
        top: auto !important;
        border-radius: 0;
        box-shadow: none;
        margin-left: 1rem;
        border-left: 2px solid #007bff;
    }

    .mega-menu .container {
        padding: 10px 0;
    }

    .mega-menu .row {
        flex-wrap: wrap;
    }

    .mega-menu .menu-col {
        flex: 0 0 100%;
        max-width: 100%;
        border-right: none;
        padding: 0;
        white-space: normal;
    }

    .mega-menu .mega-group {
        margin-bottom: 12px;
    }

    .mega-menu .mega-link {
        padding-left: 16px;
        white-space: normal;
    }

    .mega-menu .mega-heading {
        white-space: normal;
    }
}

/* ── Filter Sidebar ──────────────────────────────────────── */
.filter-sidebar {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.filter-sidebar .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 16px;
}

.filter-sidebar .card-header h5 {
    font-size: 1rem;
    font-weight: 600;
}

.filter-group {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 16px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-checkbox-list {
    max-height: 220px;
    overflow-y: auto;
}

.filter-checkbox {
    margin-bottom: 4px;
}

.filter-checkbox .custom-control-label {
    font-size: 0.875rem;
    cursor: pointer;
    padding-top: 1px;
}

.filter-count {
    color: #888;
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 2px;
}

/* ── Category Tree in Filter Sidebar ────────────────────── */
.category-tree-list {
    padding: 2px 0;
}
/* ── Level 0 (direct children) ── */
.category-tree-item {
    position: relative;
    padding: 2px 0 2px 20px;
    margin-left: 8px;
}
.category-tree-item .filter-checkbox {
    margin: 0;
    padding: 2px 0;
    width: 100%;
}
.category-tree-item .custom-control-label {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.12s ease;
    cursor: pointer;
}
.category-tree-item .custom-control-label:hover {
    background: #f0f7ff;
}
.category-tree-name {
    font-size: 0.88rem;
    font-weight: 500;
}
.category-tree-count {
    font-size: 0.78rem;
    color: #888;
    white-space: nowrap;
    margin-left: 6px;
}

/* ── Tree connector lines ── */
.tree-level-0 {
    padding-left: 20px;
}
.tree-level-1 {
    padding-left: 40px;
}
.tree-level-2 {
    padding-left: 60px;
}
.tree-level-3 {
    padding-left: 80px;
}
.tree-level-4 {
    padding-left: 100px;
}

.filter-checkbox .custom-control-label:hover {
    color: #007bff;
}

.filter-range .form-control-sm {
    font-size: 0.8rem;
}

/* Product card enhancements */
.product-col {
    margin-bottom: 20px;
}

/* Sort dropdown styling */
select.form-control-sm {
    font-size: 0.8rem;
    padding: 4px 8px;
    cursor: pointer;
}

/* ── Cart / Checkout Styles ───────────────────────────────── */

/* Cart count badge in navbar */
.cart-count-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    vertical-align: super;
    margin-left: 2px;
}

/* Cart item rows (card-based) */
.cart-item-row .card-body {
    padding: 16px;
}

.cart-item-row:hover {
    border-color: #cce5ff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.08);
}

.cart-item-img-fluid {
    width: 100%;
    max-width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    background: #f0f0f0;
}

.cart-item-img-placeholder {
    width: 100%;
    max-width: 100px;
    height: 80px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 1.5rem;
    border-radius: 6px;
}

.cart-item-name {
    font-size: 0.95rem;
    line-height: 1.3;
}

.cart-item-name a {
    color: #333;
    font-weight: 600;
}

.cart-item-name a:hover {
    color: #007bff;
    text-decoration: none;
}

.cart-item-price {
    font-size: 0.85rem;
    color: #888;
}

.cart-item-total {
    font-size: 1rem;
}

/* Quantity group */
.qty-group .form-control {
    width: 50px;
    min-width: 50px;
    text-align: center;
}

.qty-group .btn {
    font-size: 0.85rem;
    padding: 2px 10px;
}

/* Cart summary card */
.cart-summary .card-header {
    background: #f8f9fa;
    font-weight: 600;
}

.cart-summary .card-body {
    padding: 20px;
}

.cart-summary .h5 {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Checkout items list */
.checkout-items .list-group-item {
    padding: 12px 16px;
    font-size: 0.9rem;
}

/* Add to Cart section on product detail page */
.add-to-cart-section {
    padding: 10px 0;
}

.qty-group-lg .form-control {
    width: 70px;
    min-width: 70px;
    text-align: center;
    font-size: 1.1rem;
    height: 48px;
}

.qty-group-lg .btn {
    font-size: 1.2rem;
    padding: 8px 16px;
    height: 48px;
}

.btn-add-to-cart {
    height: 48px;
    font-size: 1.1rem;
    padding: 8px 24px;
}

/* Add to Cart button on product cards */
.btn-add-to-cart-card {
    font-size: 0.82rem;
    padding: 6px 10px;
    transition: all 0.15s ease;
}

.btn-add-to-cart-card:hover {
    background: #007bff;
    color: #fff;
}

/* Success message on checkout */
.text-success {
    color: #28a745 !important;
}

/* ── Categories carousel → grid (desktop) ────────────── */
@media (min-width: 992px) {
    .hp-widget-categories .carousel-inner {
        overflow: visible;
    }
    .hp-widget-categories .carousel-item {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
    }
    .hp-widget-categories .carousel-control-prev,
    .hp-widget-categories .carousel-control-next,
    .hp-widget-categories .carousel-indicators {
        display: none !important;
    }
}

/* ── Categories widget: cleaner cards (no white borders) ── */
.hp-cat-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.hp-cat-img {
    aspect-ratio: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
    border-radius: 0 !important;
}
.hp-cat-img img {
    object-fit: contain !important;
    max-width: 100% !important;
    height: auto !important;
    background: transparent;
}
.hp-cat-name {
    padding: 4px 0;
}

/* ═══════════════════════════════════════════════════════════
   Live Search (migrated from header.php inline)
   ═══════════════════════════════════════════════════════════ */
.live-search-inline {
    position: relative;
}
.live-search-inline form {
    width: auto;
}
.live-search-inline input {
    min-width: 200px;
}
.live-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 580px;
    max-height: none;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 6px;
}
.live-search-results.show {
    display: block;
}
.live-search-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 8px 16px !important;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
}
.live-search-item:last-child {
    border-bottom: none;
}
.live-search-item:hover {
    background-color: #f8f9fa;
}
.live-search-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #f1f1f1;
}
.live-search-item .ls-info {
    flex: 1;
    min-width: 0;
}
.live-search-item .ls-name {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}
.live-search-item .ls-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: #28a745;
}
.live-search-item .ls-price s {
    font-weight: 400;
    color: #999;
    margin-left: 4px;
}
.live-search-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════
   Footer Styles (migrated from footer.php)
   ═══════════════════════════════════════════ */
.site-footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.7;
    padding: 0;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-newsletter {
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.newsletter-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.newsletter-input-group {
    display: flex;
    width: 100%;
    max-width: 480px;
    gap: 0;
}
.newsletter-input {
    flex: 1;
    padding: 12px 18px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 2px solid #fff;
    border-right: none;
    border-radius: 8px 0 0 8px;
    outline: none;
}
.newsletter-input:focus {
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.15);
}
.newsletter-btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #007bff;
    border: 2px solid #007bff;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    white-space: nowrap;
}
.newsletter-btn:hover {
    background: #0056b3;
    border-color: #0056b3;
}
.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 480px;
    cursor: pointer;
}
.newsletter-consent a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 40px 0 32px;
}
.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-block;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}
.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}
.footer-contact-info li i {
    width: 16px;
    text-align: center;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.4);
}
.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #007bff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
}
.footer-contact-btn:hover {
    background: #0056b3;
    color: #fff;
    text-decoration: none;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.footer-brand-icon {
    font-size: 28px;
    color: #007bff;
}
.footer-brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.footer-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 16px;
}
.footer-payment-icons {
    display: flex;
    gap: 12px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.4);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
}
.footer-sep {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}
.footer-platform a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 500;
}
.footer-platform a:hover {
    color: #fff;
}
/* Footer widget overrides */
.site-footer .hp-widget {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.site-footer .hp-widget .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
}
.site-footer .hp-widget .row { margin: 0; }
.site-footer .hp-widget-text-content { color: rgba(255, 255, 255, 0.8); }
.site-footer .hp-footer-col-title { color: #fff; font-size: 16px; margin: 0 0 16px 0; padding: 0; }
.site-footer .hp-footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.site-footer .hp-footer-links a:hover { color: #fff; padding-left: 4px; }
.site-footer .hp-nav-menu { background: transparent !important; padding: 0 !important; }
.site-footer .hp-nav-menu a { color: rgba(255, 255, 255, 0.7); }
.site-footer .hp-nav-menu a:hover { color: #fff; }
.site-footer .hp-widget-text { padding: 40px 0 32px !important; }
.site-footer .hp-widget-text-title { margin: 0 0 16px !important; }
.site-footer .hp-widget-custom-html { padding: 40px 0 32px !important; color: rgba(255, 255, 255, 0.8); }
.site-footer .hp-widget-custom-html h2 { margin: 0 0 16px; }
.site-footer .hp-widget-divider { padding: 0 !important; }
.site-footer .hp-widget-divider hr { border-color: rgba(255, 255, 255, 0.1) !important; }
.site-footer .hp-widget-banner { background: transparent !important; padding: 0 !important; border: none !important; }
.site-footer .hp-widget-footer-links { padding: 40px 0 32px !important; }
.site-footer .hp-widget-footer-links .container { max-width: 100%; padding: 0; margin: 0; background: transparent; }
.site-footer .hp-widget-footer-links .row { margin: 0; }
.site-footer .hp-widget-footer-links [class*="col-"] { padding: 0; }
/* Footer responsive */
@media (max-width: 992px) {
    .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 576px) {
    .footer-newsletter { padding: 36px 0 28px; }
    .newsletter-title { font-size: 20px; }
    .newsletter-input-group { flex-direction: column; gap: 8px; }
    .newsletter-input { border-radius: 8px; border-right: 2px solid #fff; }
    .newsletter-btn { border-radius: 8px; width: 100%; }
    .footer-columns { grid-template-columns: 1fr; gap: 28px; padding: 28px 0 20px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }
    .footer-sep { display: none; }
}

/* ── Checkout Progress Stepper ─────────────────────────── */
.checkout-progress { margin-bottom: 1.5rem; }
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.checkout-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    cursor: default;
}
.checkout-step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e9ecef;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
}
.checkout-step-item.active .checkout-step-circle {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0,123,255,0.2);
}
.checkout-step-item.completed .checkout-step-circle {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}
.checkout-step-item.completed .step-num { display: none; }
.checkout-step-item.completed .step-check { display: inline !important; }
.checkout-step-label {
    font-size: 12px;
    margin-top: 6px;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}
.checkout-step-item.active .checkout-step-label { color: #007bff; font-weight: 600; }
.checkout-step-item.completed .checkout-step-label { color: #28a745; }
.checkout-step-line {
    flex: 1;
    min-width: 40px;
    max-width: 80px;
    height: 3px;
    background: #dee2e6;
    margin: 0 4px;
    position: relative;
    top: -14px;
    transition: background 0.3s ease;
}
.checkout-step-line.completed { background: #28a745; }
.checkout-step-line.active { background: #007bff; }
@media (max-width: 576px) {
    .checkout-step-circle { width: 32px; height: 32px; font-size: 14px; }
    .checkout-step-label { font-size: 10px; }
    .checkout-step-line { min-width: 20px; max-width: 40px; }
}
