/* ═══════════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════════ */
:root {
    --primary: #4a0e8f;
    --primary-dark: #2d0a6e;
    --primary-light: #7b2cf0;
    --accent: #f5c518;
    --text: #222222;
    --text-light: #555555;
    --text-muted: #888888;
    --bg: #ffffff;
    --bg-light: #f6f6f6;
    --border: #e2e2e2;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
    --header-h: 64px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════
   SITE HEADER
═══════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

/* Logo */
.site-logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.site-logo .custom-logo {
    max-height: 48px;
    width: auto;
}

/* Search */
.header-search {
    flex: 1;
    max-width: 300px;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-light);
    transition: border-color var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary);
    background: var(--bg);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 16px;
    background: transparent;
    font-size: 14px;
    color: var(--text);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    border: none;
    background: transparent;
    padding: 8px 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transition: color var(--transition);
}

.search-btn:hover {
    color: var(--primary);
}

.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
    overflow: hidden;
    max-height: 360px;
    overflow-y: auto;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

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

.search-item:hover {
    background: var(--bg-light);
}

.search-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-price {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.search-empty {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════ */
.hero-section {
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Dark overlay on slides */
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 0, 80, 0.72) 0%, rgba(30, 0, 80, 0.28) 60%, transparent 100%);
    z-index: 0;
}

.slide-default {
    background: linear-gradient(135deg, #1a0050 0%, #3d0095 50%, #1a0050 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 40px 60px;
    max-width: 960px;
    margin: 0 auto;
}

.slide-text {
    max-width: 380px;
}

.slide-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
    line-height: 1.5;
}

.slide-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}

.slide-btn:hover {
    background: #ffffff;
    color: var(--primary-dark);
    border-color: #ffffff;
}

.slide-product-img {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(253, 96, 3, 0.15);
    border: 2px solid #fd6003;
    color: #fd6003;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}

.slider-arrow:hover {
    background: rgba(253, 96, 3, 0.35);
}

.slider-prev {
    left: 16px;
}

.slider-next {
    right: 16px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: #fd6003;
    width: 28px;
    border-radius: 5px;
}

/* Show All Button */
.slider-show-all {
    position: absolute;
    bottom: 14px;
    right: 16px;
    z-index: 10;
    background: #fd6003;
    color: #ffffff;
    border: 1.5px solid #ffffff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: all var(--transition);
    text-decoration: none;
}

.slider-show-all:hover {
    background: #0d182a;
    color: #ffffff;
    border-color: #ffffff;
}

/* ═══════════════════════════════════════════
   PRODUCTS SECTION
═══════════════════════════════════════════ */
.products-section {
    padding: 36px 0 48px;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
    transition: color var(--transition);
}

.cat-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2.5px;
    background: #fd6003;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition);
}

.cat-tab:hover {
    color: #fd6003;
}

.cat-tab.active {
    color: #fd6003;
}

.cat-tab.active::after {
    transform: scaleX(1);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg);
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.product-card.hidden {
    display: none;
}

.product-img-link {
    display: block;
}

.product-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.product-img-wrap img {
    width: 100%;
    height: calc(100% - 10px);
    object-fit: cover;
    object-position: center top;
    transition: transform 0.35s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-info {
    padding: 14px 16px 16px;
    background: #f6f6f6;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.product-price .woocommerce-Price-amount {
    color: var(--text);
}

.product-price ins {
    text-decoration: none;
}

.product-price del {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 4px;
}

.btn-view-details {
    display: inline-block;
    background: #fd6003;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background var(--transition);
}

.btn-view-details:hover {
    background: #0c1729;
}

.btn-view-details-loop {
    display: block;
    width: 100%;
    text-align: center;
    background: #fd6003;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background var(--transition);
    margin-top: 8px;
}

.btn-view-details-loop:hover {
    background: #0c1729;
    color: #ffffff !important;
}

/* No products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.no-filter-results {
    text-align: center;
    padding: 32px 20px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   ORDER REQUEST SECTION
═══════════════════════════════════════════ */
.order-request-section {
    padding: 0 0 56px;
}

.order-request-box {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg);
}

.order-textarea {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    resize: vertical;
    min-height: 95px;
    background: transparent;
    line-height: 1.6;
}

.order-textarea::placeholder {
    color: var(--text-muted);
}

.order-request-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
    flex-wrap: wrap;
    gap: 12px;
}

.btn-order-now {
    background: #fd6003;
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background var(--transition), transform var(--transition);
}

.btn-order-now:hover {
    background: #0c1729;
    transform: translateY(-1px);
}






/* COD Badge Styling */
.cod-badge-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 96, 3, 0.08);
    color: #0c1729;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid rgba(253, 96, 3, 0.2);
    animation: pulse-orange 2s infinite;
}

.cod-icon {
    font-size: 1.1rem;
}

@keyframes pulse-orange {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(253, 96, 3, 0.25);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 6px rgba(253, 96, 3, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(253, 96, 3, 0);
    }
}

/* ═══════════════════════════════════════════
   HEADER COD BADGE
═══════════════════════════════════════════ */
.header-cod-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #ff6a00 0%, #e84d00 100%);
    color: #fff;
    padding: 7px 18px 7px 13px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: default;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(253, 96, 3, 0.40);
    transition: transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

/* Shimmer sweep — idle state */
.header-cod-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    animation: cod-header-shimmer 3.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cod-header-shimmer {
    0% {
        left: -80%;
    }

    55% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

.header-cod-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(253, 96, 3, 0.55);
    background: linear-gradient(135deg, #ff7d1a 0%, #cc4200 100%);
}

/* Truck icon — idle sliding animation */
.cod-truck-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    animation: cod-truck-idle 2.8s ease-in-out infinite;
    transition: transform 0.26s ease;
}

@keyframes cod-truck-idle {

    0%,
    100% {
        transform: translateX(0px);
    }

    40% {
        transform: translateX(4px);
    }

    55% {
        transform: translateX(4px);
    }
}

/* On hover — truck speeds up */
.header-cod-badge:hover .cod-truck-icon {
    animation: cod-truck-go 0.55s ease forwards;
}

@keyframes cod-truck-go {
    0% {
        transform: translateX(0) scale(1);
    }

    35% {
        transform: translateX(5px) scale(1.15);
    }

    65% {
        transform: translateX(2px) scale(1.08);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

.cod-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.cod-badge-title {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.cod-badge-title-mobile {
    display: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cod-badge-sub {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.88;
    letter-spacing: 0.2px;
}

/* Mobile — show COD, hide long title + subtitle */
@media (max-width: 640px) {
    .header-search {
        max-width: 150px;
    }

    .header-cod-badge {
        padding: 6px 11px 6px 9px;
        gap: 5px;
    }

    .cod-badge-sub {
        display: none;
    }

    .cod-badge-title {
        display: none;
    }

    .cod-badge-title-mobile {
        display: inline;
    }
}

/* Very small — gap reduce */
@media (max-width: 360px) {
    .header-inner {
        gap: 8px;
    }

    .header-search {
        max-width: 110px;
    }

    .cod-truck-icon svg {
        width: 17px;
        height: 17px;
    }
}

/* ═══════════════════════════════════════════
   MODAL
═══════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    line-height: 1;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--text);
}

.modal-box h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Form */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.btn-submit {
    width: 100%;
    background: #fd6003;
    color: #ffffff;
    border: none;
    padding: 13px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 8px;
    transition: background var(--transition);
}

.btn-submit:hover {
    background: #0c1729;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-response {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.form-response.success {
    background: #f0fff4;
    color: #276749;
    border: 1px solid #9ae6b4;
}

.form-response.error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

/* ═══════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════ */
.site-footer {
    background: #0c1729;
    color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    font-size: 0.85rem;
}

/* Default: single centred line (no contact) */
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: center;
}

/* Split layout: copyright left — contact right */
.footer-inner--split {
    justify-content: space-between;
    text-align: left;
}

.footer-copy {
    margin: 0;
    line-height: 1.5;
}

.footer-copy a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copy a:hover {
    color: #fd6003;
}

/* Contact group */
.footer-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-contact-item:hover {
    color: #fd6003;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.85;
}

/* Responsive: stack on smaller screens */
@media (max-width: 640px) {
    .footer-inner--split {
        justify-content: center;
        text-align: center;
    }

    .footer-contact {
        justify-content: center;
        gap: 14px;
    }
}

@media (max-width: 400px) {
    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}


/* ═══════════════════════════════════════════
   BUTTONS (generic)
═══════════════════════════════════════════ */
.btn-primary {
    display: inline-block;
    background: #fd6003;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background var(--transition);
}

.btn-primary:hover {
    background: #0c1729;
}

/* ═══════════════════════════════════════════
   ALL BANNERS PAGE
═══════════════════════════════════════════ */
.all-banners-page {
    padding: 36px 0 56px;
}

.all-banners-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.all-banners-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.all-banners-back {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition);
}

.all-banners-back:hover {
    color: var(--primary-dark);
}

/* Banners Grid */
.banners-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.banner-card {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.banner-card:hover,
a.banner-card-linked:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

a.banner-card-linked {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.banner-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 0, 80, 0.75) 0%, rgba(26, 0, 80, 0.3) 60%, transparent 100%);
    z-index: 0;
}

.banner-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 40px 56px;
}

.banner-card-text {
    max-width: 420px;
}

.banner-card-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-card-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 22px;
    line-height: 1.5;
}

.banner-card-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}

.banner-card-btn:hover {
    background: #ffffff;
    color: var(--primary-dark);
}

.banner-card-product {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-card-product img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

/* Default banner bg when no image */
.banner-card:not([style*="background-image"]) {
    background: linear-gradient(135deg, #1a0050 0%, #3d0095 50%, #1a0050 100%);
}

.banners-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .banner-card {
        height: 220px;
    }

    .banner-card-inner {
        padding: 24px 24px;
    }

    .banner-card-title {
        font-size: 1.4rem;
    }

    .banner-card-product {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .banner-card {
        height: 180px;
    }

    .banner-card-product {
        display: none;
    }

    .banner-card-title {
        font-size: 1.2rem;
    }
}

/* ═══════════════════════════════════════════
   WOOCOMMERCE — SINGLE PRODUCT PAGE
═══════════════════════════════════════════ */
.single-product-page {
    padding: 36px 0 56px;
}

.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-gallery-main {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.product-gallery-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 4px;
    transition: border-color var(--transition);
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: var(--primary);
}

.single-product-info {
    padding-top: 8px;
}

.single-product-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.single-product-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.single-product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.single-product-price .woocommerce-Price-amount {
    color: var(--primary-dark);
}

.single-product-price ins {
    text-decoration: none;
}

.single-product-price del {
    color: var(--text-muted);
    font-size: 1rem;
    margin-right: 6px;
}

.single-product-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.product-attributes {
    margin-bottom: 20px;
}

.attribute-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.attribute-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    min-width: 60px;
}

.attribute-values {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.attr-swatch {
    padding: 5px 14px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg);
    color: var(--text);
}

.attr-swatch:hover,
.attr-swatch.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.single-product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-inquiry {
    flex: 1;
    background: #fd6003;
    color: #ffffff;
    border: none;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    transition: background var(--transition);
}

.btn-inquiry:hover {
    background: #0c1729;
    cursor: pointer;
}

/* ═══════════════════════════════════════════
   SEARCH HIGHLIGHT
   ═══════════════════════════════════════════ */
.product-card.search-hidden {
    display: none !important;
}

/* Sticky Mobile Order Button */
.sticky-mobile-order-btn-wrap {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 999;
    width: calc(100% - 32px);
    max-width: 480px;
    display: none;
    /* Hidden by default on desktop */
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.sticky-mobile-order-btn-wrap.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.btn-sticky-order {
    width: 100%;
    background: #fd6003;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(253, 96, 3, 0.3);
    cursor: pointer;
    text-align: center;
    transition: background var(--transition), transform 0.2s;
}

.btn-sticky-order:hover {
    background: #0c1729;
}

.btn-sticky-order:active {
    transform: scale(0.97);
}

/* ═══════════════════════════════════════════
   WOOCOMMERCE SHOP PAGE
   ═══════════════════════════════════════════ */
.woocommerce-page .site-main,
.woocommerce .site-main {
    padding: 30px 20px 50px;
}

/* Top bar: result count + ordering */
.woocommerce-result-count {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.woocommerce-ordering {
    margin-bottom: 20px;
}

.woocommerce-ordering select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-size: 0.875rem;
    color: var(--text);
    background: var(--bg);
    cursor: pointer;
    outline: none;
}

.woocommerce-ordering select:focus {
    border-color: var(--primary);
}

/* Product grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Product card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Product image */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Product info area */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    padding: 12px 14px 4px;
    background: var(--bg-light);
    margin: 0;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    display: block;
    padding: 0 14px 8px;
    background: var(--bg-light);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.82rem;
    margin-right: 4px;
}

.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
    text-decoration: none;
    color: var(--text);
}

/* Add to cart / View button */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    display: block;
    margin: 0 14px 14px;
    padding: 9px 16px;
    background: #fd6003;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    transition: background var(--transition);
    cursor: pointer;
    margin-top: auto;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    background: #e05500;
    color: #fff;
}

/* Pagination */
.woocommerce-pagination {
    margin-top: 36px;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    padding: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text);
    transition: all var(--transition);
}

.woocommerce-pagination ul li a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.woocommerce-pagination ul li span.current {
    background: #fd6003;
    border-color: #fd6003;
    color: #fff;
    font-weight: 700;
}

/* Notices */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.875rem;
    border-left: 4px solid #fd6003;
    background: #fff8f4;
    color: var(--text);
}

/* Shop responsive */
@media (max-width: 768px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 480px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-slider {
        height: 280px;
    }

    .slide-content {
        padding: 24px 20px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-subtitle {
        font-size: 0.85rem;
    }

    .slide-product-img {
        width: 140px;
        height: 140px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .single-product-layout {
        grid-template-columns: 1fr;
    }

    .modal-box {
        padding: 24px 20px;
    }

    .category-tabs {
        gap: 0;
    }

    .cat-tab {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .sticky-mobile-order-btn-wrap {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 220px;
    }

    .slide-product-img {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-info {
        padding: 10px 12px 12px;
    }

    .product-name {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .btn-view-details {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.3rem;
    }
}

/* ═══════════════════════════════════════════
   BLOG LISTING PAGE
═══════════════════════════════════════════ */
.blog-listing-page {
    padding: 48px 0 64px;
}

.blog-listing-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-listing-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.blog-listing-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.blog-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.blog-card-img-link {
    display: block;
}

.blog-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.04);
}

.blog-card-no-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.blog-card-no-img span {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

.blog-card-body {
    padding: 18px 20px 22px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.blog-cat-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
}

.blog-cat-badge:hover {
    background: var(--primary-dark);
    color: #fff;
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--text);
}

.blog-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fd6003;
    text-decoration: none;
    transition: color var(--transition);
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

.blog-pagination {
    display: flex;
    justify-content: center;
}

.blog-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: all var(--transition);
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    width: auto;
    padding: 0 14px;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* ═══════════════════════════════════════════
   SINGLE BLOG POST PAGE
═══════════════════════════════════════════ */
.single-post-page {
    padding-bottom: 64px;
}

.single-post-hero {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    margin-bottom: 0;
}

.single-post-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.45) 100%);
}

.single-post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 20px 0 0;
    flex-wrap: wrap;
}

.single-post-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.single-post-breadcrumb a:hover {
    text-decoration: underline;
}

.single-post-breadcrumb span {
    color: var(--text-muted);
}

.single-post-article {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 32px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.single-post-date,
.single-post-author {
    font-size: 13px;
    color: var(--text-muted);
}

.single-post-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 28px;
}

.single-post-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 36px;
}

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    font-weight: 700;
    color: var(--primary-dark);
    margin: 32px 0 12px;
    line-height: 1.3;
}

.single-post-content h2 { font-size: 1.4rem; }
.single-post-content h3 { font-size: 1.2rem; }
.single-post-content h4 { font-size: 1.05rem; }

.single-post-content img {
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.single-post-content ul,
.single-post-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.single-post-content ul { list-style: disc; }
.single-post-content ol { list-style: decimal; }

.single-post-content li {
    margin-bottom: 6px;
}

.single-post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--bg-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-light);
}

.single-post-content a {
    color: var(--primary);
    text-decoration: underline;
}

.single-post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 28px;
}

.tags-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.post-tag {
    display: inline-block;
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all var(--transition);
}

.post-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.single-post-nav {
    margin-bottom: 56px;
}

.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

.btn-back-blog:hover {
    color: var(--primary-dark);
}

.related-posts {
    border-top: 2px solid var(--border);
    padding-top: 48px;
}

.related-posts-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 28px;
}

/* ── Blog Responsive ────────────────────────── */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .blog-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-post-hero {
        height: 240px;
    }

    .single-post-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-grid,
    .blog-grid-3 {
        grid-template-columns: 1fr;
    }

    .single-post-hero {
        height: 200px;
    }

    .single-post-title {
        font-size: 1.3rem;
    }

    .single-post-article {
        padding-top: 20px;
    }
}