/* ─── WPFrontend Theme CSS ─────────────────────────────────────── */

/* GSAP: hide elements before reveal */
.gsap-reveal {
    visibility: hidden;
}

body.gsap-ready .gsap-reveal {
    visibility: hidden;
}

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

/* Product card hover zoom */
.product-card .product-img-wrap {
    overflow: hidden;
}
.product-card .product-img-wrap img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}

/* Product card lift */
.product-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Blog card hover */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* Retailer card */
.retailer-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.retailer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Red accent underline for headings */
.accent-underline {
    position: relative;
    display: inline-block;
}
.accent-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #dc2626;
}

/* Nav active state */
.nav-link.active {
    color: #dc2626 !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f3f4f6;
}
::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
}

/* Hero gradient overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.6) 100%);
}

/* Section divider */
.section-divider {
    width: 60px;
    height: 3px;
    background: #dc2626;
}

/* Form focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Category filter pills */
.filter-pill {
    transition: all 0.2s ease;
}
.filter-pill.active,
.filter-pill:hover {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
}

/* Loading shimmer for images */
.img-placeholder {
    background: linear-gradient(110deg, #e5e7eb 8%, #f3f4f6 18%, #e5e7eb 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer {
    to { background-position: -200% 0; }
}

/* Page hero banner */
.page-hero {
    min-height: 320px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Spec table */
.spec-table tr:nth-child(even) {
    background-color: #f9fafb;
}
.spec-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #e5e7eb;
}
.spec-table td:first-child {
    font-weight: 600;
    color: #1a1a1a;
    width: 40%;
}

/* Contact form success/error */
.form-message {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
