/*
 * شاپور — لایهٔ shop.css
 * شبکهٔ فروشگاه و آرشیو محصول
 * منبع: فاز ۲ مهاجرت از style.css مرجع (خطوط 1339-3249)
 * ترتیب بارگذاری لایه‌ها = ترتیب کسکید اصلی؛ هرگز ترتیب را تغییر ندهید.
 */

/* ============================================
   PRODUCTS PAGE (grid)
   ============================================ */
.products-section { padding: 60px 0 80px; }.product-card-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-red);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.product-card-actions .btn { flex: 1; }

.products-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.12);
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition);
}
.products-pagination .page-numbers:hover,
.products-pagination .page-numbers.current { background: var(--accent-green); border-color: var(--accent-green); color: white; }/* ============================================
   CALCULATOR
   ============================================ */
.calculator { padding: 80px 0; background: var(--bg-secondary); }
.calc-wrapper { max-width: 900px; margin: 0 auto; }
.calc-form { display: flex; flex-direction: column; gap: 28px; }

.calc-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(30, 58, 95, 0.1);
}.calc-label { display: block; font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; }

.calc-crops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }

.crop-btn {
    padding: 12px 8px;
    background: rgba(30, 58, 95, 0.09);
    border: 2px solid rgba(30, 58, 95, 0.12);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.crop-btn:hover { border-color: rgba(37, 99, 235, 0.3); color: var(--text-primary); }
.crop-btn.selected { border-color: var(--accent-green); background: rgba(37, 99, 235, 0.1); color: var(--accent-green); font-weight: 600; }.calc-input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
}
.calc-input::placeholder { color: var(--text-muted); }.calc-toggle-group { display: flex; gap: 12px; }

.toggle-btn {
    flex: 1;
    padding: 12px 16px;
    background: rgba(30, 58, 95, 0.09);
    border: 2px solid rgba(30, 58, 95, 0.12);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}
.toggle-btn:hover { border-color: rgba(37, 99, 235, 0.3); }
.toggle-btn.active { border-color: var(--accent-green); background: rgba(37, 99, 235, 0.1); color: var(--accent-green); font-weight: 600; }

/* Calculator Result */
.calc-result {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.05);
}
.calc-result-header { text-align: center; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(30, 58, 95, 0.12); }
.calc-result-header h3 { font-size: 1.4rem; margin-bottom: 8px; }
.calc-result-header h3 span { color: var(--accent-green); }
.calc-result-header p { color: var(--text-secondary); font-size: 0.95rem; }.calc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.calc-table th { background: rgba(37, 99, 235, 0.1); color: var(--accent-green); padding: 14px 16px; text-align: right; font-weight: 600; border-bottom: 2px solid rgba(37, 99, 235, 0.2); font-size: 0.85rem; white-space: nowrap; }
.calc-table td { padding: 14px 16px; border-bottom: 1px solid rgba(30, 58, 95, 0.09); color: var(--text-secondary); font-size: 0.85rem; }
.calc-table tr:hover td { background: rgba(30, 58, 95, 0.06); }
.calc-table .td-total { font-weight: 700; color: var(--accent-green); }
.calc-table .td-time { font-size: 0.8rem; color: var(--text-muted); }

.calc-result-tips { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.calc-tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: rgba(30, 58, 95, 0.07); border-radius: 12px; border-right: 3px solid var(--accent-green); }
.calc-tip-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.calc-tip p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.calc-tip strong { color: var(--accent-green); }

.calc-result-cta { text-align: center; padding: 28px; background: rgba(37, 99, 235, 0.05); border-radius: 16px; margin-bottom: 20px; }
.calc-result-cta p { color: var(--text-secondary); margin-bottom: 20px; }
.calc-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.calc-restart { margin-top: 8px; }

/* ============================================
   GALLERY
   ============================================ */
.gallery-section { padding: 80px 0; background: var(--bg-primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 280px;
    cursor: pointer;
}
.gallery-image { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.gallery-card:hover .gallery-image { transform: scale(1.1); }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 24px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}
.gallery-card:hover .gallery-overlay { transform: translateY(0); opacity: 1; }
.gallery-title { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 4px; }
.gallery-desc { font-size: 0.85rem; color: var(--text-secondary); }

/* ============================================
   SHIPPING
   ============================================ */
.shipping-section { padding: 80px 0; background: var(--bg-secondary); }

.shipping-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 50px; }
.shipping-stat {
    text-align: center;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px 20px;
    border: 1px solid rgba(30, 58, 95, 0.1);
    transition: var(--transition);
}
.shipping-stat:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.2); }/* ============================================
   CONTACT (front-page & contact page)
   ============================================ */
.contact { padding: 80px 0; background: var(--bg-primary); }

.contact-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    border: 1px solid rgba(30, 58, 95, 0.1);
    transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.2); }

.contact-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.contact-card-title { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 8px; font-weight: 700; }
.contact-card-text { font-size: 0.9rem; color: var(--text-secondary); }
.contact-card-note { font-size: 0.85rem; color: var(--accent-gold); margin-top: 8px; }

/* Contact page cards */
.contact-cards-section { padding: 60px 0; }
.contact-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.contact-card-main {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(30, 58, 95, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}
.contact-card-main:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.2); }

/* Contact form */
.contact-form-section { padding: 60px 0; }
.contact-form-wrapper { max-width: 700px; margin: 0 auto; }
.contact-form-header { text-align: center; margin-bottom: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }

/* v2.24.4 — باگ صفحه تسویه/ارسال رفع شد:
   این قانون قبلاً سراسری بود (.form-row) و چون ووکامرس برای «هر فیلد» هم
   کلاس form-row می‌گذارد، لیبل و اینپوت هر فیلد کنار هم می‌افتادند و فرم
   تسویه/ارسال به‌هم می‌ریخت. حالا فقط فرم تماس (جای اصلی مصرفش). */
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }

.form-input, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(30, 58, 95, 0.09);
    border: 1px solid rgba(30, 58, 95, 0.14);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent-green); outline: none; }
.form-textarea { resize: vertical; min-height: 120px; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story-section { padding: 80px 0; }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-story-content p { color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }
.story-image { width: 100%; border-radius: 16px; }

.about-stats-section { padding: 80px 0; background: var(--bg-secondary); }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about-stat-card {
    text-align: center;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px 20px;
    border: 1px solid rgba(30, 58, 95, 0.1);
}
.about-stat-card .stat-icon { font-size: 2rem; margin-bottom: 12px; }
.about-stat-card .stat-value { font-size: 2rem; font-weight: 900; color: var(--accent-green); display: block; margin-bottom: 8px; }
.about-stat-card .stat-label { font-size: 0.85rem; color: var(--text-secondary); }

.about-values-section { padding: 80px 0; }
.about-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about-value-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    border: 1px solid rgba(30, 58, 95, 0.1);
    transition: var(--transition);
}
.about-value-card:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.2); }
.about-value-card .value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.about-value-card .value-title { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 8px; }
.about-value-card .value-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; }

.about-cta-section { padding: 80px 0; background: var(--bg-secondary); }
.about-cta-content { text-align: center; max-width: 700px; margin: 0 auto; }
.about-cta-content h2 { font-size: 2rem; margin-bottom: 16px; }
.about-cta-content p { color: var(--text-secondary); margin-bottom: 32px; }
.about-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   SINGLE PRODUCT — Desktop (premium e-commerce design)
   ============================================ */
.single-product-page { padding-bottom: 60px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 24px 0 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--accent-green); }
.breadcrumb-sep { color: var(--text-muted); }
.breadcrumb-current { color: var(--text-primary); font-weight: 600; }

/* ====== Gallery ====== */

.thumb-item.active { border-color: var(--accent-green); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25); }

/* ====== Product Info Card ====== */

.stock-in, .stock-out {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}
.stock-out { color: #dc2626; background: rgba(239, 68, 68, 0.12); }

.qty-btn {
    width: 48px; height: 56px;
    background: none; border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.qty-btn:hover { background: rgba(37, 99, 235, 0.14); color: var(--accent-green); }
.qty-input {
    width: 56px; height: 56px;
    text-align: center;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    border-right: 1px solid rgba(30, 58, 95, 0.1);
    border-left: 1px solid rgba(30, 58, 95, 0.1);
}
.qty-input:focus { outline: none; }

/* ====== Product Tabs — card-style content ====== */
.product-tab-btn.active { color: var(--accent-green); }
.product-tab-btn.active::after { transform: scaleX(1); }

.product-tab-content.active { display: block; }

/* Related Products — uses the unified .product-card design (v1.9).
   The grid here just handles the responsive layout. */
.related-products-section { padding: 50px 0; border-top: 1px solid rgba(30, 58, 95, 0.1); }
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {}
@media (max-width: 768px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
    .related-grid { grid-template-columns: 1fr; }
}.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }/* Hide floating buttons when mobile menu is open (prevents them from poking through overlay) */
body.menu-open .whatsapp-btn,
body.menu-open .back-to-top,
body.menu-open .whatsapp-sticky-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(30, 58, 95, 0.14);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease, bottom 0.3s ease;
    border: 1px solid rgba(30, 58, 95, 0.14);
    cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-green); border-color: var(--accent-green); }/* ============================================
   SCROLL REVEAL
   ============================================ */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero .container { flex-direction: column; }
    .hero-title { font-size: 2.5rem; }
    .hero-lottie { display: none; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .about-story-grid { grid-template-columns: 1fr; }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-values-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .nav-link { padding: 8px 12px; font-size: 0.9rem; }
    .nav-cta { padding: 8px 16px !important; font-size: 0.85rem; }
}

@media (max-width: 900px) {
    /* ====== Mobile drawer (right-side slide-in) ====== */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 86vw;
        height: 100vh;
        background: var(--bg-secondary);
        z-index: 1100;
        transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 18px 18px 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        box-shadow: -8px 0 40px rgba(23, 43, 77, 0.16);
        overflow-y: auto;
    }
    .main-nav.active { right: 0; }

    /* Show in-drawer elements only on mobile */
    .main-nav .drawer-head { display: flex; }
    .main-nav .drawer-footer { display: flex; }
    .main-nav .nav-link-cart { display: flex; }

    .main-nav .nav-link {
        display: flex;
        align-items: center;
        padding: 14px 14px;
        border-bottom: 1px solid rgba(30, 58, 95, 0.09);
        font-size: 1rem;
        width: 100%;
        border-radius: 0;
        text-align: right;
        position: relative;
    }
    /* Small arrow indicator before each nav link on mobile */
    .main-nav .nav-link::before {
        content: '‹';
        margin-left: 12px;
        color: var(--text-muted);
        font-size: 1.3rem;
        line-height: 1;
        transition: color 0.2s ease, transform 0.2s ease;
        flex-shrink: 0;
    }
    .main-nav .nav-link:hover::before,
    .main-nav .nav-link.active::before {
        color: var(--accent-green);
        transform: translateX(-3px);
    }
    .main-nav .nav-link.active {
        background: rgba(37, 99, 235, 0.08);
        color: var(--accent-green);
    }
    .main-nav .nav-link.active::after { display: none; }
    .main-nav .nav-link:hover {
        background: rgba(30, 58, 95, 0.08);
    }

    /* Cart link inside drawer — keep the arrow / clean row look */
    .main-nav .nav-link-cart::before {
        content: '';
        margin-left: 12px;
    }

    .main-nav .nav-cta {
        margin-top: 14px;
        margin-right: 0;
        width: 100%;
        padding: 14px !important;
        font-size: 0.98rem;
        border-radius: 14px !important;
        justify-content: center;
    }

    .menu-toggle { display: flex; }

    /* Hide bottom-nav when drawer is open so the drawer looks clean */
    body.menu-open .bottom-nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(100%);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.3s ease;
    }

    /* General */
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 20px; }
    .brands-grid { grid-template-columns: 1fr; }    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .shipping-stats { grid-template-columns: repeat(2, 1fr); }
    .calc-crops { grid-template-columns: repeat(3, 1fr); }
    .calc-toggle-group { flex-direction: column; }
    .calc-result { padding: 24px; }
    .page-title { font-size: 2rem; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .product-detail-title { font-size: 1.5rem; }
    .product-detail-price { font-size: 1.5rem; }
    .product-detail-cart { flex-direction: column; }
    .product-detail-contact { flex-direction: column; }
    .related-grid { grid-template-columns: 1fr; }

    /* Bottom Nav */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        justify-content: space-around;
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(30, 58, 95, 0.12);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.3s ease;
    }
    /* Hide bottom-nav on cart & checkout pages — those pages have their own
       sticky CTAs at the bottom that would overlap and conflict. */
    body.woocommerce-cart .bottom-nav,
    body.woocommerce-checkout .bottom-nav {
        display: none !important;
    }
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        color: var(--text-muted);
        font-size: 0.7rem;
        text-decoration: none;
        padding: 4px 8px;
        transition: color 0.3s ease;
        position: relative;
    }
    .bottom-nav-item.active { color: var(--accent-green); }
    .bottom-nav-icon { font-size: 1.3rem; line-height: 1; }
    .bottom-nav-label { font-size: 0.65rem; }

    /* Cart badge in bottom-nav */
    .bottom-nav-cart-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .bottom-nav-cart-badge {
        position: absolute;
        top: -4px;
        left: -6px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 8px;
        background: var(--accent-green);
        color: #ffffff;
        font-size: 0.6rem;
        font-weight: 800;
        display: none;
        align-items: center;
        justify-content: center;
        line-height: 1;
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.5);
    }
    .bottom-nav-cart-badge.has-items { display: flex; }

    body { padding-bottom: 70px; }    .back-to-top {
        bottom: 156px;
        left: 22px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; }    .contact-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .calc-crops { grid-template-columns: repeat(2, 1fr); }
    .calc-step { flex-direction: column; gap: 12px; padding: 20px; }
    .about-stats-grid { grid-template-columns: 1fr; }
    .about-values-grid { grid-template-columns: 1fr; }
    .product-thumbnails { overflow-x: auto; padding-bottom: 8px; }    .page-title { font-size: 1.6rem; }
    .header-container { padding: 0 16px; }
    .logo-title { font-size: 1.1rem; }
    .logo-sub { font-size: 0.65rem; }
    .logo-icon { width: 36px; height: 36px; font-size: 1.2rem; }
}

/* ============================================
   SHOP / ARCHIVE PRODUCT PAGE
   ============================================ */
.shop-page { min-height: 100vh; }

.shop-breadcrumb {
    padding: 16px 0 0;
}
.shop-breadcrumb .woocommerce-breadcrumb,
.shop-breadcrumb nav {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.shop-breadcrumb a {
    color: var(--accent-green);
    transition: color 0.2s ease;
}
.shop-breadcrumb a:hover { color: var(--text-primary); }
.shop-breadcrumb .breadcrumb-sep {
    margin: 0 8px;
    color: var(--text-muted);
}

.shop-notices { padding: 16px 0 0; }
.shop-notices .woocommerce-message,
.shop-notices .woocommerce-info {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--accent-green);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.shop-section { padding: 30px 0 80px; }

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.shop-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.12);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.filter-chip:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(30, 58, 95, 0.19);
}

.filter-chip.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.shop-result-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ============================================
   SHOP CARD — v2.1 PREMIUM REDESIGN
   Mirrors the .product-card v2.0 design so cards
   look consistent across home swiper, related
   products, and the shop page grid.
   ============================================ */
.shop-card {
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, transparent 35%),
        linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.11);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.45s ease,
                border-color 0.45s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
}

/* Top accent ribbon — same as .product-card */
.shop-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-green) 30%,
        var(--accent-emerald) 50%,
        var(--accent-green) 70%,
        transparent 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    z-index: 4;
    transition: background-position 0.8s ease;
    opacity: 0.55;
}

/* Hover spotlight that follows the cursor */
.shop-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%),
                rgba(37, 99, 235, 0.16), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.shop-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(37, 99, 235, 0.18),
        0 0 36px rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.32);
}
.shop-card:hover::before {
    background-position: 0 0;
    opacity: 1;
}
.shop-card:hover::after {
    opacity: 1;
}

.shop-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.shop-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.12), transparent 55%),
        radial-gradient(circle at 75% 80%, rgba(29, 78, 216, 0.06), transparent 50%),
        linear-gradient(180deg, var(--bg-secondary), var(--bg-card));
}

/* Dotted texture overlay on the image area */
.shop-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(30, 58, 95, 0.07) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 26px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
    position: relative;
    z-index: 1;
}

.shop-card:hover .shop-card-image img {
    transform: scale(1.1) rotate(-2deg);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 20px rgba(37, 99, 235, 0.18));
}

.shop-card-brand {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(10, 10, 10, 0.88);
    color: var(--accent-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.35);
    box-shadow: 0 4px 14px rgba(23, 43, 77, 0.12);
    z-index: 3;
    letter-spacing: 0.3px;
}

.shop-card-sale {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
    z-index: 3;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    animation: salePulse 2.2s ease-in-out infinite;
}

.shop-card-out {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 15, 15, 0.9);
    color: #dc2626;
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.45);
    box-shadow: 0 8px 24px rgba(23, 43, 77, 0.12);
    z-index: 4;
    pointer-events: none;
    letter-spacing: 0.5px;
}

.shop-card-view {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translate(-50%, 12px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(101, 163, 13, 0.98));
    color: #ffffff;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
    z-index: 3;
    white-space: nowrap;
}

.shop-card:hover .shop-card-view {
    opacity: 1;
    transform: translate(-50%, 0);
}

.shop-card-body {
    padding: 20px 22px 14px;
}

.shop-card-title {
    font-size: 1.04rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    transition: color 0.25s ease;
}

.shop-card:hover .shop-card-title { color: var(--accent-green); }

.shop-card-price {
    color: var(--accent-green);
    font-size: 1.26rem;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    text-shadow: 0 0 24px rgba(37, 99, 235, 0.2);
}

.shop-card-price del {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-left: 0;
    font-weight: 400;
    text-decoration: line-through;
    order: 2;
}

.shop-card-price ins { text-decoration: none; order: 1; }

.shop-card-actions {
    padding: 10px 22px 22px;
    display: flex;
    gap: 8px;
    margin-top: auto;
    border-top: 1px dashed rgba(30, 58, 95, 0.1);
    position: relative;
    z-index: 1;
}

.shop-card-btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--accent-green), #1d4ed8);
    color: #ffffff;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255,255,255,0.22);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.shop-card-btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}
.shop-card-btn-primary:hover::after { left: 100%; }

.shop-card-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.45);
    color: #ffffff;
    filter: brightness(1.08);
}

.shop-card-btn-wa {
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.06);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.32);
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-card-btn-wa:hover {
    background: rgba(37, 211, 102, 0.16);
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
}

.shop-pagination {
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.shop-pagination .page-numbers {
    display: inline-flex;
    gap: 6px;
    list-style: none;
}

.shop-pagination .page-numbers li { display: inline-block; }

.shop-pagination a,
.shop-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(30, 58, 95, 0.09);
}

.shop-pagination a:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(37, 99, 235, 0.3);
}

.shop-pagination .current {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.shop-pagination .dots {
    background: transparent;
    border: none;
}

.shop-empty {
    text-align: center;
    padding: 80px 20px;
}

.shop-empty-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.shop-empty h2 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.8rem;
}

.shop-empty p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Help CTA section */
.shop-help {
    padding: 60px 0 80px;
    background: var(--bg-secondary);
}

.shop-help-card {
    background: var(--bg-card);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.shop-help-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-help-content {
    flex: 1;
    min-width: 250px;
}

.shop-help-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 800;
}

.shop-help-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.shop-help-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

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

@media (max-width: 768px) {
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .shop-toolbar { flex-direction: column; align-items: flex-start; }
    .shop-help-card { flex-direction: column; text-align: center; padding: 30px 20px; }
    .shop-help-icon { margin: 0 auto; }
}

@media (max-width: 480px) {}

/* ============================================
   SINGLE PRODUCT — PREMIUM MOBILE STYLING v2
   More refined typography, gradient accents,
   elegant cards, beautiful add-to-cart area.
   ============================================ */

@media (max-width: 768px) {
    /* ---- Breadcrumb ---- */
    .single-product-page .breadcrumb {
        padding: 14px 0 14px;
        font-size: 0.78rem;
        gap: 6px;
    }
    .single-product-page .breadcrumb-sep { margin: 0 2px; color: var(--text-muted); }
    .single-product-page .breadcrumb a { font-size: 0.78rem; color: var(--text-secondary); }
    .single-product-page .breadcrumb-current { color: var(--accent-green); font-weight: 600; }

    /* ---- Section spacing ---- */
    .single-product-page .product-detail-section { padding: 0 0 28px; }
    .single-product-page .product-detail-grid { gap: 24px; }
    .single-product-page .product-tabs-section { padding: 4px 0 32px; }
    .single-product-page .related-products-section { padding: 36px 0 80px; }

    /* ---- Gallery — elevated main image with subtle accent ring ---- */
    .single-product-page .product-gallery { gap: 12px; }
    .single-product-page .product-main-image {
        aspect-ratio: 1 / 1;
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(23, 43, 77, 0.12);
        border: 1px solid rgba(37, 99, 235, 0.18);
        position: relative;
    }
    .single-product-page .product-main-image::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 18px;
        pointer-events: none;
        box-shadow: inset 0 0 0 1px rgba(30, 58, 95, 0.08);
    }
    .single-product-page .product-main-image img {
        object-fit: contain;
        padding: 18px;
    }
    .single-product-page .product-thumbnails {
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .single-product-page .product-thumbnails::-webkit-scrollbar { display: none; }
    .single-product-page .thumb-item {
        width: 64px;
        height: 64px;
        border-radius: 12px;
        border-width: 2px;
    }
    .single-product-page .thumb-item.active {
        border-color: var(--accent-green);
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    }

    /* ---- Product info card — premium look with gradient top accent ---- */
    .single-product-page .product-detail-info {
        gap: 18px;
        background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, var(--bg-card) 30%);
        border: 1px solid rgba(30, 58, 95, 0.1);
        border-radius: 22px;
        padding: 24px 20px;
        box-shadow: 0 10px 28px rgba(23, 43, 77, 0.12);
        position: relative;
        overflow: hidden;
    }
    .single-product-page .product-detail-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent-green), var(--accent-gold, #f59e0b), var(--accent-green));
        opacity: 0.7;
    }

    /* Brand badge — pill with subtle gradient */
    .single-product-page .product-detail-brand {
        padding: 6px 16px;
        font-size: 0.78rem;
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.08));
        border: 1px solid rgba(37, 99, 235, 0.25);
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    /* Title — big, bold, tight */
    .single-product-page .product-detail-title {
        font-size: 1.42rem;
        line-height: 1.45;
        font-weight: 800;
        letter-spacing: -0.4px;
        margin: 0;
        color: var(--text-primary);
    }

    /* Excerpt — readable, soft */
    .single-product-page .product-detail-excerpt {
        font-size: 0.93rem;
        line-height: 1.95;
        color: #51637a;
        font-weight: 400;
    }

    /* ---- Price + stock row — premium pricing block ---- */
    .single-product-page .product-detail-price-row {
        padding: 14px 16px;
        gap: 10px;
        border-radius: 14px;
    }
    .single-product-page .product-detail-price-row .product-detail-price {
        font-size: 1.55rem;
        line-height: 1;
        font-weight: 900;
        color: var(--accent-green);
    }
    .single-product-page .product-detail-price del {
        font-size: 1rem;
        margin-right: 0;
        opacity: 0.55;
        color: var(--text-muted);
        font-weight: 500;
    }
    .single-product-page .product-detail-price ins {
        font-weight: 900;
        text-decoration: none;
    }

    /* Stock badge */
    .single-product-page .product-detail-stock { font-size: 0.88rem; }
    .single-product-page .stock-in,
    .single-product-page .stock-out {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 10px;
        font-size: 0.78rem;
        font-weight: 600;
    }
    .single-product-page .stock-in {
        background: rgba(29, 78, 216, 0.14);
        color: #34d399;
    }
    .single-product-page .stock-out {
        background: rgba(239, 68, 68, 0.14);
        color: #dc2626;
    }

    /* ---- Cart row — premium quantity + add-to-cart (v1.8 unified heights) ---- */
    .single-product-page .product-detail-cart {
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
    }
    .single-product-page .quantity-selector {
        border-radius: 14px;
        background: rgba(30, 58, 95, 0.08);
        border: 1px solid rgba(30, 58, 95, 0.16);
    }
    .single-product-page .qty-btn {
        width: 50px;
        height: 56px;
        transition: background 0.2s ease, color 0.2s ease;
    }
    .single-product-page .qty-btn:hover {
        background: rgba(37, 99, 235, 0.16);
        color: var(--accent-green);
    }
    .single-product-page .qty-input {
        width: 58px;
        height: 56px;
        font-size: 1.15rem;
        font-weight: 700;
    }
    .single-product-page .product-add-btn {
        flex: 1;
        min-width: 0;
        height: 56px;
        padding: 0 18px !important;
        font-size: 0.95rem !important;
        font-weight: 800;
        border-radius: 14px !important;
    }
    .single-product-page .product-add-btn:active {
        transform: translateY(1px);
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    }

    /* ---- Contact buttons — outline style (v1.8 uses .btn-contact) ---- */
    .single-product-page .product-detail-contact {
        flex-direction: row;
        gap: 8px;
    }
    .single-product-page .btn-contact {
        flex: 1;
        min-width: 0;
        height: 50px;
        padding: 0 12px !important;
        font-size: 0.86rem;
        font-weight: 600;
        border-radius: 12px !important;
    }
    .single-product-page .btn-contact:active {
        background: rgba(37, 99, 235, 0.1);
        border-color: rgba(37, 99, 235, 0.3);
    }

    /* ---- Buy now (mobile) ---- */
    .single-product-page .product-buy-now-btn {
        padding: 14px 18px !important;
        font-size: 0.92rem;
        border-radius: 14px !important;
    }

    .single-product-page .product-trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .single-product-page .trust-badge {
        padding: 10px 11px;
        gap: 8px;
        border-radius: 11px;
    }
    .single-product-page .trust-badge-icon {
        font-size: 1.15rem;
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }
    .single-product-page .trust-badge-text strong { font-size: 0.78rem; }
    .single-product-page .trust-badge-text span { font-size: 0.7rem; }

    /* Meta top row */
    .single-product-page .product-detail-meta-top { gap: 8px; }
    .single-product-page .product-detail-sku { font-size: 0.75rem; }

    /* ---- Tabs — premium pill style ---- */
    .single-product-page .product-tab-btns {
        gap: 6px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-bottom: 1px solid rgba(30, 58, 95, 0.12);
        margin: 0 -4px 22px;
        padding: 4px;
    }
    .single-product-page .product-tab-btns::-webkit-scrollbar { display: none; }
    .single-product-page .product-tab-btn {
        padding: 11px 20px;
        font-size: 0.92rem;
        font-weight: 700;
        flex-shrink: 0;
        border-radius: 12px;
        transition: background 0.25s ease, color 0.25s ease;
    }
    .single-product-page .product-tab-btn.active {
        background: rgba(37, 99, 235, 0.14);
        color: var(--accent-green);
    }
    .single-product-page .product-tab-btn::after { display: none; }

    /* Tab content card */
    .single-product-page .product-tab-content {
        font-size: 0.93rem;
        line-height: 2.05;
        color: #d0d0d0;
        background: var(--bg-card);
        border: 1px solid rgba(30, 58, 95, 0.09);
        border-radius: 16px;
        padding: 20px 18px;
    }
    .single-product-page .product-tab-content h2 {
        font-size: 1.22rem;
        margin: 4px 0 12px;
        color: var(--text-primary);
        line-height: 1.45;
        font-weight: 800;
        padding-right: 12px;
        border-right: 3px solid var(--accent-green);
    }
    .single-product-page .product-tab-content h3 {
        font-size: 1.08rem;
        margin: 18px 0 8px;
        color: var(--text-primary);
        line-height: 1.45;
        font-weight: 700;
    }
    .single-product-page .product-tab-content p {
        margin-bottom: 14px;
        color: #51637a;
    }
    .single-product-page .product-tab-content ul,
    .single-product-page .product-tab-content ol {
        padding-right: 22px;
        margin: 0 0 14px;
    }
    .single-product-page .product-tab-content li {
        margin-bottom: 8px;
        line-height: 1.9;
        color: #51637a;
    }
    .single-product-page .product-tab-content strong {
        color: var(--text-primary);
        font-weight: 700;
    }

    /* Specs table — premium stacked cards */
    .single-product-page .specs-table {
        border-radius: 14px;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.15);
    }
    .single-product-page .specs-table th,
    .single-product-page .specs-table td {
        padding: 10px 16px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        text-align: right;
    }
    .single-product-page .specs-table th {
        background: transparent;
        color: var(--accent-green);
        font-weight: 700;
        padding-bottom: 2px;
        border-bottom: none;
        font-size: 0.8rem;
        text-transform: none;
        letter-spacing: 0;
    }
    .single-product-page .specs-table td {
        color: var(--text-primary);
        padding-top: 2px;
        border-bottom: 1px solid rgba(30, 58, 95, 0.1);
        font-weight: 500;
    }
    .single-product-page .specs-table tr {
        display: block;
        padding: 10px 4px;
        border-bottom: 1px solid rgba(30, 58, 95, 0.1);
    }
    .single-product-page .specs-table tr:last-child { border-bottom: none; }

    /* ---- Related products — premium 2-col cards ---- */
    .single-product-page .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .single-product-page .related-card {
        border-radius: 16px;
        overflow: hidden;
    }
    .single-product-page .related-card-image {
        height: 140px;
        background: var(--bg-card);
    }
    .single-product-page .related-card-body {
        padding: 14px;
    }
    .single-product-page .related-card-body h3 {
        font-size: 0.9rem;
        line-height: 1.45;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 40px;
        font-weight: 700;
    }
    .single-product-page .related-price {
        font-size: 0.98rem;
        font-weight: 800;
    }

    /* ---- Section header adjustments ---- */
    .single-product-page .section-header {
        margin-bottom: 22px;
        text-align: right;
    }
    .single-product-page .section-title {
        font-size: 1.45rem;
        font-weight: 800;
        position: relative;
        padding-right: 14px;
    }
    .single-product-page .section-title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 22px;
        background: linear-gradient(180deg, var(--accent-green), #1d4ed8);
        border-radius: 4px;
    }
}

/* Even smaller screens (≤ 380px) — extra tightening */
@media (max-width: 380px) {
    .single-product-page .product-detail-title { font-size: 1.25rem; }
    .single-product-page .product-detail-price { font-size: 1.45rem; }
    .single-product-page .product-detail-info { padding: 20px 16px; }
    .single-product-page .btn-contact { font-size: 0.78rem; }
    .single-product-page .qty-btn { width: 44px; height: 52px; }
    .single-product-page .qty-input { width: 48px; height: 52px; }
    .single-product-page .related-grid { gap: 10px; }
    .single-product-page .product-add-btn { font-size: 0.88rem !important; }
    .single-product-page .product-add-btn-text { font-size: 0.88rem; }
}

/* ============================================
   STICKY MOBILE ADD-TO-CART BAR — premium look
   ============================================ */
.sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.96), rgba(8, 8, 8, 0.98));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(37, 99, 235, 0.25);
    box-shadow: 0 -8px 28px rgba(23, 43, 77, 0.16);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.sticky-add-to-cart.visible {
    transform: translateY(0);
}

.sticky-atc-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.sticky-atc-price {
    color: var(--accent-green);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}
.sticky-atc-price del {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 6px;
}
.sticky-atc-price ins { text-decoration: none; }

.sticky-atc-stock {
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.sticky-atc-actions {
    flex-shrink: 0;
}

.sticky-atc-btn {
    padding: 13px 26px !important;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--accent-green), #1d4ed8) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

/* Hide sticky bar on desktop */
@media (min-width: 769px) {
    .sticky-add-to-cart { display: none !important; }
}

/* On mobile, add padding to body so content isn't covered by sticky bar */
@media (max-width: 768px) {}

/* ============================================
   MOBILE POLISH — About & Contact pages
   Refined hero, premium cards, better form.
   ============================================ */
@media (max-width: 768px) {
    /* Page hero — tighter, badge-style title */
    .page-hero {
        padding: 28px 0 36px;
        background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
        text-align: right;
        position: relative;
        overflow: hidden;
    }
    .page-hero::before {
        content: '';
        position: absolute;
        top: -60px;
        left: -40px;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
        pointer-events: none;
    }
    .page-hero-content { position: relative; z-index: 1; }
    .page-badge {
        padding: 5px 14px;
        font-size: 0.75rem;
        border-radius: 16px;
        margin-bottom: 12px;
        background: rgba(37, 99, 235, 0.14);
        border: 1px solid rgba(37, 99, 235, 0.25);
        font-weight: 700;
    }
    .page-title {
        font-size: 1.7rem;
        font-weight: 800;
        line-height: 1.4;
        margin-bottom: 10px;
        letter-spacing: -0.3px;
    }
    .page-desc {
        font-size: 0.93rem;
        line-height: 1.85;
        margin: 0;
        max-width: 100%;
    }

    /* About story section */
    .about-story-section { padding: 44px 0; }
    .about-story-grid { gap: 28px; }
    .about-story-text .section-title {
        font-size: 1.4rem;
        font-weight: 800;
        margin-bottom: 6px;
        position: relative;
        padding-right: 14px;
    }
    .about-story-text .section-title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 22px;
        background: linear-gradient(180deg, var(--accent-green), #1d4ed8);
        border-radius: 4px;
    }
    .about-story-text .section-subtitle {
        font-size: 0.88rem;
        color: var(--text-muted);
        margin-bottom: 18px;
    }
    .about-story-content p {
        font-size: 0.92rem;
        line-height: 1.95;
        margin-bottom: 14px;
    }    .story-image { border-radius: 0; }

    /* About stats — premium 2x2 cards */
    .about-stats-section { padding: 44px 0; }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .about-stat-card {
        padding: 22px 16px;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), var(--bg-card) 50%);
        border: 1px solid rgba(30, 58, 95, 0.1);
        position: relative;
        overflow: hidden;
    }
    .about-stat-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-green), transparent);
    }
    .about-stat-card .stat-icon { font-size: 1.6rem; margin-bottom: 8px; }
    .about-stat-card .stat-value {
        font-size: 1.5rem;
        margin-bottom: 4px;
        letter-spacing: -0.5px;
    }
    .about-stat-card .stat-label {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    /* About values — premium cards */
    .about-values-section { padding: 44px 0; }
    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .about-value-card {
        padding: 22px 20px;
        border-radius: 16px;
        text-align: right;
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }
    .about-value-card .value-icon {
        font-size: 1.8rem;
        margin-bottom: 0;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(37, 99, 235, 0.1);
        border-radius: 14px;
    }
    .about-value-card .value-title {
        font-size: 1rem;
        margin-bottom: 4px;
        font-weight: 700;
    }
    .about-value-card .value-desc {
        font-size: 0.86rem;
        line-height: 1.8;
    }

    /* About CTA */
    .about-cta-section { padding: 44px 0; }
    .about-cta-content h2 { font-size: 1.45rem; line-height: 1.5; }
    .about-cta-content p {
        font-size: 0.92rem;
        line-height: 1.85;
        margin-bottom: 24px;
    }
    .about-cta-buttons { gap: 10px; }
    .about-cta-buttons .btn { width: 100%; }

    /* Contact cards — premium stacked */
    .contact-cards-section { padding: 36px 0; }
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .contact-card-main {
        padding: 24px 20px;
        border-radius: 18px;
        text-align: right;
        gap: 10px;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), var(--bg-card) 50%);
    }
    .contact-card-main::before {
        content: '';
        position: absolute;
        top: 0; right: 0;
        width: 80px; height: 80px;
        background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 70%);
        pointer-events: none;
    }
    .contact-card-icon {
        font-size: 1.8rem;
        width: 54px;
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(37, 99, 235, 0.12);
        border-radius: 14px;
        margin-bottom: 4px;
    }
    .contact-card-title {
        font-size: 1.05rem;
        font-weight: 700;
    }
    .contact-card-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    .contact-card-text strong { color: var(--text-primary); font-weight: 700; }
    .contact-card-note {
        font-size: 0.8rem;
        margin-top: 4px;
    }

    /* Contact form — premium inputs */
    .contact-form-section { padding: 36px 0 60px; }
    .contact-form-wrapper {
        background: var(--bg-card);
        border: 1px solid rgba(30, 58, 95, 0.1);
        border-radius: 20px;
        padding: 24px 18px;
        box-shadow: 0 10px 28px rgba(23, 43, 77, 0.12);
    }
    .contact-form-header { margin-bottom: 22px; }
    .contact-form-header .section-title {
        font-size: 1.3rem;
        font-weight: 800;
        position: relative;
        padding-right: 14px;
        display: inline-block;
    }
    .contact-form-header .section-title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 22px;
        background: linear-gradient(180deg, var(--accent-green), #1d4ed8);
        border-radius: 4px;
    }
    .contact-form-header .section-subtitle {
        font-size: 0.88rem;
        color: var(--text-secondary);
        margin-top: 8px;
    }
    .contact-form { gap: 16px; }
    .form-group label {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-primary);
    }
    .form-input, .form-textarea {
        padding: 13px 14px;
        font-size: 0.92rem;
        border-radius: 12px;
        background: rgba(30, 58, 95, 0.08);
        border: 1px solid rgba(30, 58, 95, 0.14);
        transition: border-color 0.2s ease, background 0.2s ease;
    }
    .form-input:focus, .form-textarea:focus {
        border-color: var(--accent-green);
        background: rgba(37, 99, 235, 0.05);
    }
    .contact-form .btn-primary {
        background: linear-gradient(135deg, var(--accent-green), #1d4ed8) !important;
        border-radius: 14px !important;
        padding: 14px !important;
        font-weight: 700;
        box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
    }
}

