/* ============HOME PAGE STARTS====== */

/* Hero Section */

.hero {
    position: relative;
    max-height: 80vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 60px;
    background: url('/images/enhanced-comp.webp') center center / cover no-repeat;
    overflow: hidden;
    isolation: isolate;
}

/* Dark overlay with gradient */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(26, 26, 26, 0.80) 30%,
        rgba(26, 26, 26, 0.55) 60%,
        rgba(26, 26, 26, 0.30) 100%
    );
    z-index: 1;
}

/* Orange glow accent */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(255, 153, 0, 0.08), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Bottom gradient fade */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #FFFFFF, transparent);
    z-index: 2;
    pointer-events: none;
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
}

/* Hero Content */
.hero-content {
    max-width: 950px;
    animation: heroFadeIn 1s ease;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 153, 0, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 153, 0, 0.25);
    padding: 10px 22px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #FF9900;
    margin-bottom: 28px;
    animation: badgePulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-badge i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-badge i:first-child {
    animation: truckMove 2.5s ease-in-out infinite;
}

.hero-badge i:last-child {
    animation: giftPop 2.5s ease-in-out infinite 0.5s;
}

/* Badge Animations */
@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px 5px rgba(255, 153, 0, 0.08);
        transform: scale(1.02);
    }
}

@keyframes truckMove {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(6px); }
}

@keyframes giftPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Hero Title */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: #FF9900;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF9900, #e68a00);
    border-radius: 2px;
    opacity: 0.3;
}

.hero-title .amp {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    margin: 0 4px;
}

/* Hero Subtitle */
.hero-subtitle {
    font-family: 'Google Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(246, 246, 248, 0.964);
    line-height: 1.4;
    max-width: 520px;
    margin-bottom: 35px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Primary Button */
.hero-btn.primary {
    background: linear-gradient(135deg, #FF9900, #e68a00);
    color: #1A1A1A;
    border: none;
    box-shadow: 0 4px 25px rgba(255, 153, 0, 0.3);
}



.hero-btn.primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 40px rgba(255, 153, 0, 0.45);
    color: #2e2c34 !important;
}

.hero-btn.primary:hover::before {
    opacity: 1;
}

.hero-btn.primary:hover i {
    transform: translateX(-3px);
}

.hero-btn.primary span,
.hero-btn.primary i {
    position: relative;
    z-index: 1;
}

/* Secondary Button */
.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-btn.secondary:hover {
    border-color: #FF9900;
    color: #FF9900;
    transform: translateY(-4px);
    background: rgba(255, 153, 0, 0.08);
    box-shadow: 0 4px 25px rgba(255, 153, 0, 0.1);
}

.hero-btn.secondary:hover i {
    transform: translateX(4px);
}

.hero-btn:active {
    transform: scale(0.95);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 80px 5% 50px;
        background-position: 70% center;
        align-items: center;
        margin-top: -50px;
    }

    .hero-overlay {
        background: linear-gradient(
            160deg,
            rgba(26, 26, 26, 0.95) 0%,
            rgba(26, 26, 26, 0.88) 40%,
            rgba(26, 26, 26, 0.75) 70%,
            rgba(26, 26, 26, 0.60) 100%
        );
    }

    .hero::before {
        right: -50%;
        width: 100%;
        height: 80%;
        top: -30%;
    }

    .hero-container {
        text-align: center;
        padding: 0;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
        gap: 8px;
        margin-bottom: 20px;
        justify-content: center;
        width: auto;
        max-width: 100%;
        white-space: nowrap;
    }

    .hero-badge i {
        font-size: 13px;
    }

    .hero-title {
        font-size: 32px;
        text-align: center;
    }

    .hero-title br {
        display: none;
    }

    .hero-title .highlight::after {
        height: 3px;
        bottom: 2px;
    }

    .hero-title .amp {
        display: inline-block;
        margin: 0 2px;
    }

    .hero-subtitle {
        font-size: 15px;
        max-width: 100%;
        text-align: center;
        margin-bottom: 28px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    .hero-btn.primary {
        box-shadow: 0 4px 25px rgba(255, 153, 0, 0.25);
    }

    .hero::after {
        height: 80px;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
        padding: 70px 4% 40px;
        background-position: 60% center;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 12px;
        gap: 6px;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }

    .hero-badge i {
        font-size: 11px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.15;
    }

    .hero-title .highlight {
        display: inline;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 5px;
    }

    .hero-btn {
        max-width: 280px;
        padding: 12px 20px;
        font-size: 13px;
    }

    .hero-btn i {
        font-size: 13px;
    }
}

/* Responsive Design - Extra Small */
@media (max-width: 360px) {
    .hero {
        padding: 60px 3% 30px;
        min-height: 85vh;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-badge {
        font-size: 9px;
        padding: 5px 10px;
        gap: 4px;
    }

    .hero-badge i {
        font-size: 10px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-btn {
        padding: 10px 16px;
        font-size: 12px;
        max-width: 240px;
    }
}

/* Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for children */
.hero-badge {
    animation: heroFadeIn 0.7s ease 0.1s both, badgePulse 3s ease-in-out infinite 0.8s;
}

.hero-title {
    animation: heroFadeIn 0.7s ease 0.2s both;
}

.hero-subtitle {
    animation: heroFadeIn 0.7s ease 0.3s both;
}

.hero-buttons {
    animation: heroFadeIn 0.7s ease 0.4s both;
}

/* Smooth scroll for entire page */
html {
    scroll-behavior: smooth;
}



/* PRODUCTS SECTION */

/* Top Products Section - Redesigned */

.top-products-section {
    padding: 70px 5%;
    background: radial-gradient(ellipse at 40% 30%, #fbfbfb 0%, #f9f9f9 50%, #e9eaed 100%);
    position: relative;
    overflow: hidden;
}

/* Simple ruled lines - like notebook paper */
.top-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 30px,
            rgba(180, 180, 195, 0.06) 30px,
            rgba(180, 180, 195, 0.06) 31px
        );
    pointer-events: none;
    z-index: 0;
}

/* Tiny decorative dot pattern */
.top-products-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(180, 180, 195, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.top-products-container {
    position: relative;
    z-index: 1;
}

.top-products-container {
    max-width: 1300px;
    margin: 0 auto;
}

.top-products-header {
    text-align: center;
    margin-bottom: 45px;
}

.top-products-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #FF9900;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: inline-block;
    background: rgba(255, 153, 0, 0.1);
    padding: 6px 22px;
    border-radius: 50px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 153, 0, 0.1);
}

.top-products-title {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.top-products-title .top-products-highlight {
    color: #FF9900;
    position: relative;
    letter-spacing: -0.5px;
}

.top-products-title .top-products-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 10px;
    border-radius: 50%;
    border-bottom: 4px solid #FF9900;
    opacity: 0.3;
    
}

.top-products-description {
    font-family: 'Google Sans', sans-serif;
    font-size: 16px;
    color: #2e384b;
    margin-top: 4px;
}

/* Products Grid */
.top-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.top-products-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Google Sans', sans-serif;
    color: #888;
}

.top-products-loading i {
    font-size: 36px;
    color: #FF9900;
    display: block;
    margin-bottom: 12px;
}

/* Product Card - Unique Design */
.top-product-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    position: relative;
}

/* Card top accent color */
.top-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #FF9900, #e68a00);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.top-product-card:hover::before {
    opacity: 1;
}

.top-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 45px rgba(255, 153, 0, 0.08);
    border-color: rgba(255, 153, 0, 0.08);
}

/* Product Image - LARGER */
.top-product-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 15px;
}

.top-product-card:hover .top-product-card-image img {
    transform: scale(1.06);
}

/* Image overlay gradient */
.top-product-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.03), transparent);
    pointer-events: none;
}

/* Badges */
.top-product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    background: #FF9900;
    color: #1A1A1A;
    z-index: 2;
    letter-spacing: 0.5px;
}

.top-product-card-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: #1A1A1A;
    backdrop-filter: blur(4px);
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* Quick view overlay */
.top-product-card-quick-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #1A1A1A;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    border: 1px solid rgba(255, 153, 0, 0.1);
}

.top-product-card:hover .top-product-card-quick-view {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.top-product-card-body {
    padding: 18px 20px 20px;
    background: #FFFFFF;
}

.top-product-card-name {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.top-product-card:hover .top-product-card-name {
    color: #FF9900;
}

.top-product-card-sku {
    font-family: 'Google Sans', sans-serif;
    font-size: 11px;
    color: #bbb;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.top-product-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.top-product-card-price .current {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
}

.top-product-card-price .original {
    font-family: 'Google Sans', sans-serif;
    font-size: 14px;
    color: #bbb;
    text-decoration: line-through;
}

.top-product-card-price .sale-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #FFFFFF;
    background: #e74c3c;
    padding: 2px 12px;
    border-radius: 50px;
}

.top-product-card-actions {
    display: flex;
    gap: 8px;
}

.top-product-card-actions .add-to-cart-btn {
    flex: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    padding: 10px 14px;
    background: #1A1A1A;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.top-product-card-actions .add-to-cart-btn:hover {
    background: linear-gradient(135deg, #FF9900, #e68a00);
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 153, 0, 0.25);
}

.top-product-card-actions .view-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fafafa;
    color: #888;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.top-product-card-actions .view-btn:hover {
    border-color: #FF9900;
    color: #FF9900;
    background: rgba(255, 153, 0, 0.04);
    transform: translateY(-2px);
}

/* Footer */
.top-products-footer {
    text-align: center;
    margin-top: 45px;
}

.top-products-view-all-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 40px;
    background: #1A1A1A;
    color: #FFFFFF;
    border: 2px solid #1A1A1A;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.top-products-view-all-btn:hover {
    background: transparent;
    color: #1A1A1A;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.top-products-view-all-btn i {
    transition: transform 0.3s ease;
}

.top-products-view-all-btn:hover i {
    transform: translateX(6px);
}

/* Responsive */
@media (max-width: 1200px) {
    .top-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

@media (max-width: 1024px) {
    .top-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .top-product-card-image {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .top-products-section {
        padding: 50px 4%;
    }

    .top-products-title {
        font-size: 26px;
    }

    .top-products-description {
        font-size: 14px;
    }

    .top-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .top-product-card-image {
        height: 280px;
    }

    .top-product-card-name {
        font-size: 15px;
    }

    .top-product-card-price .current {
        font-size: 17px;
    }

    .top-product-card-quick-view {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-products-section {
        padding: 35px 3%;
    }

    .top-products-title {
        font-size: 22px;
    }

    .top-products-badge {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .top-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .top-product-card-image {
        height: 200px;
    }

    .top-product-card-image img {
        padding: 10px;
    }

    .top-product-card-body {
        padding: 12px 14px 14px;
    }

    .top-product-card-name {
        font-size: 13px;
    }

    .top-product-card-sku {
        font-size: 10px;
    }

    .top-product-card-price .current {
        font-size: 15px;
    }

    .top-product-card-price .original {
        font-size: 12px;
    }

    .top-product-card-actions .add-to-cart-btn {
        font-size: 12px;
        padding: 8px 10px;
    }

    .top-product-card-actions .add-to-cart-btn i {
        display: none;
    }

    .top-product-card-actions .view-btn {
        width: 34px;
        height: 34px;
        font-size: 12px;
        border-radius: 6px;
    }

    .top-products-view-all-btn {
        font-size: 13px;
        padding: 12px 28px;
    }

    .top-product-card-featured {
        font-size: 12px;
        padding: 2px 10px;
        top: 8px;
        right: 8px;
    }

    .top-product-card-badge {
        font-size: 8px;
        padding: 2px 10px;
        top: 8px;
        left: 8px;
    }
}