/* Unique Design System & Variables */
:root {
    --primary: #1b4d3e;
    --primary-light: #2e7d32;
    --accent: #ff6f00;
    --bg-color: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.5;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-only {
    display: inline-block;
}



/* =========================================================
   H2J STORE - PREMIUM CINEMATIC HERO SLIDER
========================================================= */

.hero-section {
    padding: 22px 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
    border-radius: 24px;
    background: #12372a;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   SLIDE
========================================================= */

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    padding: 60px 8%;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.6s ease, visibility 0.6s ease;

    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   IMAGE - DESKTOP
   Image fills the RIGHT SIDE completely
========================================================= */

.hero-slide img {
    position: absolute;

    top: 0;
    right: 0;

    width: 52%;
    height: 100%;

    object-fit: cover;

    z-index: 1;

    transition: transform 7s ease;
}

.hero-slide.active img {
    transform: scale(1.06);
}


/* =========================================================
   IMAGE BLENDING
========================================================= */

.hero-slide::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            var(--slide-bg, #12372a) 0%,
            var(--slide-bg, #12372a) 38%,
            rgba(18, 55, 42, 0.92) 46%,
            rgba(18, 55, 42, 0.45) 58%,
            transparent 76%
        );
}


/* =========================================================
   CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 5;

    width: 48%;
    max-width: 560px;

    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 16px;

    margin-bottom: 18px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.14);

    border: 1px solid rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(10px);

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-content h2 {
    margin: 0 0 16px;

    font-size: clamp(38px, 4vw, 62px);

    line-height: 1.05;

    font-weight: 850;

    letter-spacing: -2px;

    color: #ffffff;
}

.hero-content p {
    margin-bottom: 28px;

    max-width: 480px;

    font-size: 16px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.85);
}


/* =========================================================
   BUTTON
========================================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 26px;

    border-radius: 12px;

    background: #ffffff;

    color: #12372a;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

    transition: all 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);

    background: var(--accent);

    color: #ffffff;
}


/* =========================================================
   SLIDER CONTROLS
========================================================= */

.slider-btn {
    position: absolute;

    top: 50%;

    z-index: 20;

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(10px);

    color: #ffffff;

    cursor: pointer;

    transition: all 0.25s ease;

    transform: translateY(-50%);
}

.slider-btn:hover {
    background: #ffffff;

    color: #12372a;

    transform: translateY(-50%) scale(1.08);
}

.prev-btn {
    left: 22px;
}

.next-btn {
    right: 22px;
}


/* =========================================================
   DOTS
========================================================= */

.slider-dots {
    position: absolute;

    z-index: 20;

    left: 8%;
    bottom: 28px;

    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.45);

    cursor: pointer;

    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;

    background: #ffffff;
}


/* =========================================================
   MOBILE
   FULL IMAGE AS BACKGROUND
========================================================= */

@media (max-width: 768px) {

    .hero-section {
        padding: 12px 0;
    }

    .hero-section .container {
        padding: 0 10px;
    }

    .hero-slider {
        height: 500px;
        border-radius: 20px;
    }

    .hero-slide {
        display: flex;

        align-items: flex-end;

        padding: 32px 24px 55px;

        background: #111;
    }


    /* FULL BACKGROUND IMAGE */

    .hero-slide img {
        display: block !important;

        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: cover;

        object-position: center;

        z-index: 1;

        transform: none !important;
    }


    /* DARK OVERLAY */

    .hero-slide::after {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.05) 0%,
                rgba(0, 0, 0, 0.15) 35%,
                rgba(0, 0, 0, 0.88) 100%
            );

        z-index: 2;
    }


    .hero-content {
        width: 100%;
        max-width: 100%;

        position: relative;

        z-index: 5;
    }

    .hero-badge {
        font-size: 9px;

        padding: 6px 12px;

        margin-bottom: 12px;

        background: rgba(255, 255, 255, 0.15);
    }

    .hero-content h2 {
        font-size: 34px;

        line-height: 1.08;

        letter-spacing: -1px;

        margin-bottom: 10px;

        color: #ffffff;

        text-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
    }

    .hero-content p {
        font-size: 13px;

        line-height: 1.6;

        margin-bottom: 18px;

        max-width: 95%;

        color: rgba(255, 255, 255, 0.9);
    }

    .btn-primary {
        padding: 12px 20px;

        font-size: 12px;

        border-radius: 10px;
    }

    .slider-btn {
        display: none;
    }

    .slider-dots {
        left: 24px;

        bottom: 20px;

        z-index: 10;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 24px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .hero-slider {
        height: 460px;
    }

    .hero-slide {
        padding: 25px 20px 50px;
    }

    .hero-content h2 {
        font-size: 29px;
    }

    .hero-content p {
        font-size: 12px;
    }

}
/* Daraz Style Category & Product Rows */
.category-section {
    margin: 30px 0;
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.category-header h3 {
    font-size: 22px;
    color: var(--text-dark);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-header h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 20px;
    background: var(--accent);
    border-radius: 3px;
}

.category-header a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s;
}

.category-header a:hover {
    color: var(--accent);
}

.product-row-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.product-slider-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px;
    width: 100%;
    scrollbar-width: none;
}

.product-slider-row::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 210px;
    max-width: 210px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.255s ease;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.product-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #f1f5f9;
}

.product-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}

.product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
}

.product-rating {
    font-size: 11px;
    color: #d97706;
    font-weight: 600;
}

.row-nav-btn {
    position: absolute;
    z-index: 10;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.row-nav-btn:hover {
    background: var(--bg-color);
    transform: scale(1.05);
}

.row-prev { left: -20px; }
.row-next { right: -20px; }

/* =========================================
   H2J STORE - MODERN FOOTER
========================================= */

.site-footer {
    margin-top: 70px;
    background: #0b1620;
    color: #94a3b8;
}

/* Top Section */
.footer-top {
    padding: 65px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

/* Footer Logo */
.footer-logo {
    display: inline-block;
    text-decoration: none;
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.footer-logo span {
    color: var(--accent);
}

/* Footer Headings */
.footer-col h4 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
}

.footer-col h4::after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background: var(--accent);
    border-radius: 10px;
    margin-top: 8px;
}

/* Text */
.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 22px;
}

/* Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 14px;
    transition: 0.25s ease;
}

.footer-links a i {
    font-size: 12px;
    color: var(--primary-light);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links a:hover i {
    color: var(--accent);
}

/* Contact */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 17px;
    font-size: 14px;
    color: #94a3b8;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 4px;
    width: 16px;
}

/* Social Media */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);

    color: #ffffff;
    text-decoration: none;

    transition: all 0.25s ease;
}

.social-links a:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    width: 100%;
    background: #13212d;
    border: 1px solid #263746;
    border-radius: 10px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;

    background: transparent;
    border: none;
    outline: none;

    color: #ffffff;
    padding: 13px 14px;

    font-size: 13px;
}

.newsletter-form input::placeholder {
    color: #64748b;
}

.newsletter-form button {
    width: 50px;
    border: none;
    cursor: pointer;

    background: var(--primary-light);
    color: #ffffff;

    font-size: 15px;

    transition: 0.25s ease;
}

.newsletter-form button:hover {
    background: var(--accent);
}

/* Newsletter Message */
.newsletter-message {
    display: block;
    margin-top: 10px;
    color: #86efac;
    font-size: 12px;
}

/* Bottom Footer */
.footer-bottom {
    padding: 22px 0;
    background: #081018;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: #64748b;
}

.footer-bottom strong {
    color: #ffffff;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.footer-bottom-links span {
    color: #334155;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .footer-top {
        padding: 50px 0 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

}

/* 📱 Mobile Responsive Media Queries */
@media (max-width: 992px) {
    .search-bar {
        width: 40%;
    }
    .hero-slider {
        height: 350px;
    }
    .hero-content h2 {
        font-size: 32px;
    }
    .hero-slide img {
        max-height: 240px;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block;
    }
    .search-bar {
        display: none;
    }
    .main-header .container {
        justify-content: space-between;
    }
    .nav-bar {
        display: none;
        background: #fff;
        border-top: 1px solid var(--border-color);
    }
    .nav-bar.mobile-active {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }
    .nav-links li a {
        padding: 10px 15px;
        border-bottom: none;
    }
    .hero-slider {
        height: 300px;
        border-radius: 12px;
    }
    .hero-slide {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
    }
    .hero-slide img {
        display: none;
    }
    .hero-badge {
        top: 15px;
        left: 20px;
    }
    .hero-content h2 {
        font-size: 26px;
    }
    .hero-content p {
        font-size: 14px;
    }
    .row-nav-btn {
        display: none;
    }
    .category-section {
        padding: 16px;
        margin: 20px 0;
    }
}

/* --- Enhanced Product Card & Action Buttons --- */
.product-card {
    min-width: 210px;
    max-width: 210px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    flex-shrink: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

/* Discount and Promo Badges */
.discount-badge, .product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-img-wrapper {
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    overflow: hidden;
}

.product-img-wrapper img, .product-card > img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrapper img, 
.product-card:hover > img {
    transform: scale(1.05);
}

.product-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-title {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    margin-bottom: 4px;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    color: var(--accent);
    font-weight: 800;
    font-size: 16px;
}

.product-rating {
    font-size: 11px;
    color: #d97706;
    font-weight: 600;
}

/* Stunning Add to Cart Button for Cards */
.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-top: 8px;
    box-shadow: 0 2px 4px rgba(46, 125, 50, 0.2);
}

.add-to-cart-btn:hover {
    opacity: 0.95;
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.35);
    transform: translateY(-1px);
}

/* --- Footer Section Styles --- */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-col h3 {
    font-size: 24px;
    font-weight: 800;
}

.footer-col h3 span {
    color: var(--accent);
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #334155;
    background: #1e293b;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: white;
    outline: none;
    font-size: 14px;
}

.newsletter-form button {
    background: var(--primary-light);
    border: none;
    color: white;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--accent);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    font-size: 13px;
    color: #64748b;
}

/* --- Fully Optimized Responsive Media Queries --- */
@media (max-width: 992px) {
    .search-bar {
        width: 40%;
    }
    .hero-slider {
        height: 350px;
    }
    .hero-content h2 {
        font-size: 32px;
    }
    .hero-slide img {
        max-height: 240px;
    }
}

@media (max-width: 768px) {
    .search-bar {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .desktop-only {
        display: none !important;
    }
    .main-header .container {
        justify-content: space-between;
    }
    .nav-bar {
        display: none;
        background: #fff;
        border-top: 1px solid var(--border-color);
    }
    .nav-bar.mobile-active {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }
    .nav-links li a {
        padding: 10px 15px;
        border-bottom: none;
    }
    .hero-slider {
        height: 300px;
        border-radius: 12px;
    }
    .hero-slide {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
    }
    .hero-slide img {
        display: none;
    }
    .hero-badge {
        top: 15px;
        left: 20px;
    }
    .hero-content h2 {
        font-size: 26px;
    }
    .hero-content p {
        font-size: 14px;
    }
    .row-nav-btn {
        display: none;
    }
    .category-section {
        padding: 16px;
        margin: 20px 0;
    }
}




/* =========================================
   SKELETON LOADING
========================================= */

.skeleton {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 8px;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.7),
        transparent
    );
    animation: skeleton-loading 1.3s infinite;
}

@keyframes skeleton-loading {
    100% {
        left: 150%;
    }
}


/* HERO SKELETON */

.hero-skeleton {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    padding: 60px;
    display: flex;
    align-items: center;
}

.skeleton-content {
    width: 50%;
}

.skeleton-line {
    height: 18px;
    width: 100%;
    margin-bottom: 15px;
}

.skeleton-line.title {
    height: 45px;
    width: 85%;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-button {
    width: 140px;
    height: 45px;
    margin-top: 25px;
    border-radius: 50px;
}


/* PRODUCT SKELETON */

.skeleton-product-card {
    min-width: 210px;
    max-width: 210px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    flex-shrink: 0;
}

.skeleton-image {
    width: 100%;
    height: 160px;
    margin-bottom: 15px;
}

.skeleton-category-title {
    width: 200px;
    height: 28px;
}


/* EMPTY STATE */

.empty-store-message {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
    background: #fff;
    border-radius: 12px;
    margin: 30px 0;
}


/* MOBILE SKELETON */

@media (max-width: 768px) {

    .hero-skeleton {
        min-height: 300px;
        padding: 30px;
    }

    .skeleton-content {
        width: 100%;
    }

    .skeleton-line.title {
        height: 35px;
    }
}



/* ================================
   FLOATING WHATSAPP BUTTON
================================ */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #ffffff;

    border-radius: 50%;

    text-decoration: none;
    font-size: 30px;

    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);

    z-index: 9999;

    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Outer Pulse */
.whatsapp-float::before {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    background: rgba(37, 211, 102, 0.4);

    animation: whatsappPulse 2s infinite;

    z-index: -1;
}

/* Hover */
.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);

    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* Pulse Animation */
@keyframes whatsappPulse {

    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}


/* Tooltip */

.whatsapp-tooltip {
    position: absolute;

    right: 70px;

    background: #0f172a;

    color: white;

    padding: 9px 14px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    opacity: 0;

    visibility: hidden;

    transform: translateX(10px);

    transition: all 0.3s ease;

    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;

    visibility: visible;

    transform: translateX(0);
}


/* Mobile */

@media (max-width: 768px) {

    .whatsapp-float {
        width: 52px;
        height: 52px;

        right: 18px;
        bottom: 18px;

        font-size: 27px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}



/* ================================
   CLICKABLE PRODUCT CARD
================================ */

.product-card {
    position: relative;
}

.product-view-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-img-wrapper {
    overflow: hidden;
}

.product-img-wrapper img {
    transition: transform 0.3s ease;
}

.product-view-link:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.product-title {
    transition: color 0.2s ease;
}

.product-view-link:hover .product-title {
    color: var(--primary-light, #2e7d32);
}

.product-card-bottom {
    padding: 0 15px 15px;
}

.original-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 12px;
    margin-left: 5px;
}

.wishlist-heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: #64748b;
    transition: 0.2s;
}

.wishlist-heart-btn:hover {
    transform: scale(1.1);
    color: #e53935;
}


/* =====================================================
   H2J STORE - PRODUCT CARDS
   DESKTOP = 5 PRODUCTS
   TABLET = 4 PRODUCTS
   MOBILE = 2 PRODUCTS
===================================================== */


/* ==============================
   PRODUCT ROW WRAPPER
================================ */

.product-row-wrapper {
    position: relative;
    width: 100%;
}


/* ==============================
   PRODUCT SLIDER ROW
================================ */

.product-slider-row {

    display: grid;

    grid-auto-flow: column;

    /* DESKTOP - 5 PRODUCTS */
    grid-auto-columns:
        calc((100% - 72px) / 5);

    gap: 18px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scroll-snap-type: x proximity;

    padding: 8px 2px 12px;

    scrollbar-width: none;
}


.product-slider-row::-webkit-scrollbar {
    display: none;
}


/* ==============================
   PRODUCT CARD
================================ */

.product-card {

    width: 100%;

    min-width: 0;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    overflow: hidden;

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    scroll-snap-align: start;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

}


.product-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.10);

    border-color: #d1d5db;

}


/* ==============================
   PRODUCT CLICKABLE LINK
================================ */

.product-view-link {

    display: block;

    text-decoration: none;

    color: inherit;

}


/* ==============================
   PRODUCT IMAGE
================================ */

.product-img-wrapper {

    width: 100%;

    aspect-ratio: 1 / 1;

    background: #f8fafc;

    overflow: hidden;

}


.product-img-wrapper img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.3s ease;

}


.product-card:hover
.product-img-wrapper img {

    transform: scale(1.05);

}


/* ==============================
   DISCOUNT BADGE
================================ */

.discount-badge {

    position: absolute;

    top: 8px;

    left: 8px;

    z-index: 5;

    background: #ff6f00;

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

    padding: 4px 7px;

    border-radius: 4px;

    line-height: 1;

}


/* ==============================
   WISHLIST HEART
================================ */

.wishlist-heart-btn {

    position: absolute;

    top: 8px;

    right: 8px;

    z-index: 10;

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    color: #64748b;

    cursor: pointer;

    box-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.12);

    transition:
        transform 0.2s ease,
        color 0.2s ease;

}


.wishlist-heart-btn:hover {

    color: #e53935;

    transform: scale(1.08);

}


/* ==============================
   PRODUCT INFORMATION
================================ */

.product-info {

    padding: 10px;

}


.product-title {

    font-size: 13px;

    font-weight: 600;

    color: #1f2937;

    line-height: 1.4;

    margin: 0 0 8px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    min-height: 36px;

}


/* ==============================
   PRICE + RATING
================================ */

.product-price-row {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 6px;

}


/* ==============================
   PRICE CONTAINER
================================ */

.product-price-container {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 2px;

    min-width: 0;

}


/* ==============================
   ORIGINAL PRICE - TOP
================================ */

.original-price {

    display: block;

    color: #94a3b8;

    font-size: 11px;

    font-weight: 600;

    text-decoration: line-through;

    line-height: 1.2;

    white-space: nowrap;

}


/* ==============================
   DISCOUNT / ACTUAL PRICE - BELOW
================================ */

.product-price {

    display: block;

    color: #ff6f00;

    font-size: 16px;

    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;

}


/* ==============================
   PRODUCT RATING
================================ */

.product-rating {

    display: flex;

    align-items: center;

    gap: 3px;

    color: #d97706;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;

}


.product-rating i {

    font-size: 10px;

}


/* ==============================
   ADD TO CART
================================ */

.product-card-bottom {

    padding:
        0
        10px
        10px;

}


.add-to-cart-btn {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            var(--primary)
        );

    color: #ffffff;

    border: none;

    border-radius: 6px;

    padding: 9px 6px;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;

}


.add-to-cart-btn:hover {

    opacity: 0.92;

    transform: translateY(-1px);

}


/* ==============================
   DESKTOP NAVIGATION BUTTONS
================================ */

.row-nav-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    color: #1b4d3e;

    cursor: pointer;

    box-shadow:
        0 4px 15px
        rgba(0, 0, 0, 0.15);

    transition: 0.2s;

}


.row-nav-btn:hover {

    background: #1b4d3e;

    color: #ffffff;

}


.row-prev {

    left: -20px;

}


.row-next {

    right: -20px;

}


/* =====================================================
   TABLET
   SHOW 4 PRODUCTS
===================================================== */

@media (max-width: 1100px) {

    .product-slider-row {

        grid-auto-columns:
            calc((100% - 48px) / 4);

        gap: 16px;

    }

}


/* =====================================================
   MOBILE
   SHOW EXACTLY 2 PRODUCTS
===================================================== */

@media (max-width: 768px) {

    .category-section {

        margin: 12px 0;

        padding: 12px;

        border-radius: 10px;

    }


    .category-header {

        padding-bottom: 10px;

        margin-bottom: 10px;

    }


    .category-header h3 {

        font-size: 16px;

    }


    .category-header h3::before {

        width: 4px;

        height: 17px;

    }


    .category-header a {

        font-size: 12px;

    }


    /* HIDE DESKTOP ARROWS */

    .row-nav-btn {

        display: none;

    }


    /* EXACTLY 2 PRODUCTS */

    .product-slider-row {

        grid-auto-columns:
            calc((100% - 10px) / 2);

        gap: 10px;

        padding:
            4px
            0
            8px;

    }


    .product-card {

        border-radius: 8px;

    }


    .discount-badge {

        top: 6px;

        left: 6px;

        font-size: 9px;

        padding: 3px 6px;

    }


    .wishlist-heart-btn {

        width: 28px;

        height: 28px;

        top: 6px;

        right: 6px;

        font-size: 10px;

    }


    .product-info {

        padding: 8px;

    }


    .product-title {

        font-size: 11px;

        line-height: 1.35;

        min-height: 30px;

        margin-bottom: 6px;

    }


    .product-price-row {

        gap: 4px;

    }


    .original-price {

        font-size: 9px;

    }


    .product-price {

        font-size: 13px;

    }


    .product-rating {

        font-size: 9px;

    }


    .product-rating i {

        font-size: 8px;

    }


    .product-card-bottom {

        padding:
            0
            8px
            8px;

    }


    .add-to-cart-btn {

        padding: 8px 4px;

        font-size: 9px;

        gap: 4px;

    }

}


/* =====================================================
   SMALL MOBILE
   STILL EXACTLY 2 PRODUCTS
===================================================== */

@media (max-width: 400px) {

    .category-section {

        padding: 8px;

    }


    .product-slider-row {

        /* STILL 2 PRODUCTS */

        grid-auto-columns:
            calc((100% - 8px) / 2);

        gap: 8px;

    }


    .product-info {

        padding: 7px;

    }


    .product-title {

        font-size: 10px;

        min-height: 28px;

    }


    .original-price {

        font-size: 8px;

    }


    .product-price {

        font-size: 12px;

    }


    .add-to-cart-btn {

        font-size: 8px;

        padding: 7px 3px;

    }

}




/* ================================
   SKELETON LOADING
================================ */

.skeleton-wrapper {
    width: 100%;
    padding: 20px 0;
}

.skeleton-category {
    width: 100%;
    margin-bottom: 30px;
}

/* Category Header */

.skeleton-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.skeleton-title {
    width: 180px;
    height: 28px;
    border-radius: 6px;
}

.skeleton-view-all {
    width: 90px;
    height: 18px;
    border-radius: 5px;
}


/* Products Grid */

.skeleton-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


/* Product Card */

.skeleton-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.skeleton-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.skeleton-product-info {
    padding: 14px;
}

.skeleton-product-title {
    width: 100%;
    height: 16px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.skeleton-product-title.small {
    width: 65%;
}


/* Price + Rating */

.skeleton-product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

.skeleton-price {
    width: 75px;
    height: 18px;
    border-radius: 5px;
}

.skeleton-rating {
    width: 40px;
    height: 18px;
    border-radius: 5px;
}


/* Add Cart Button */

.skeleton-cart-btn {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    margin-top: 18px;
}


/* Skeleton Animation */

.skeleton {
    position: relative;
    overflow: hidden;
    background: #e9e9e9;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.65),
        transparent
    );

    animation: skeletonLoading 1.4s infinite;
}

@keyframes skeletonLoading {
    100% {
        left: 150%;
    }
}


/* Tablet */

@media (max-width: 900px) {

    .skeleton-products {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* Mobile */

@media (max-width: 600px) {

    .skeleton-wrapper {
        padding: 12px 0;
    }

    .skeleton-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .skeleton-product-info {
        padding: 10px;
    }

    .skeleton-title {
        width: 130px;
        height: 24px;
    }

    .skeleton-view-all {
        width: 65px;
    }

}


