@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --primary-color: #FF3838;
    --primary-hover: #E02424;
    --secondary-color: #FFBE1A;
    --secondary-hover: #E0A40F;
    --dark-color: #1A1A1A;
    --light-color: #F8F9FA;
    --grey-color: #7E7E7E;
    --light-grey-color: #EAEAEA;
    --green-color: #2ECC71;
    --transition-fast: all 0.2s ease-in-out;
    --transition-slow: all 0.4s ease-in-out;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark-color);
    background-color: #FFFDF9;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Animations */
@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}
.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition-fast);
}
.top-bar a:hover {
    color: var(--secondary-color);
}

/* Header */
.navbar-brand {
    font-weight: 800;
    font-size: 26px;
    color: var(--primary-color) !important;
}
.navbar-brand span {
    color: var(--secondary-color);
}
.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    font-size: 16px;
    padding: 10px 16px !important;
    transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}
.header-actions .btn-action {
    position: relative;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--dark-color);
    padding: 8px;
    margin-left: 8px;
    transition: var(--transition-fast);
}
.header-actions .btn-action:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}
.header-actions .badge-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 50%;
    font-weight: 700;
}

/* Hero Slider */
.hero-slider {
    background-color: #FFF6E3;
}
.hero-slider .carousel-item {
    height: calc(100vh - 120px);
    min-height: 500px;
}
/* Custom Carousel Controls */
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(255, 56, 56, 0.15);
    z-index: 10;
}
.hero-slider .carousel-control-prev:hover, .hero-slider .carousel-control-next:hover {
    background: var(--primary-color);
    color: white;
    opacity: 1;
    box-shadow: 0 8px 20px rgba(255, 56, 56, 0.35);
}
.hero-slider .carousel-control-prev { left: 40px; }
.hero-slider .carousel-control-next { right: 40px; }

@media (max-width: 767.98px) {
    .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .hero-slider .carousel-control-prev { left: 15px; }
    .hero-slider .carousel-control-next { right: 15px; }
}

.hero-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-color);
}
.hero-desc {
    color: var(--grey-color);
    font-size: 18px;
}
.hero-img-container img {
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(10px 15px 30px rgba(0, 0, 0, 0.15));
    animation: bounceSlow 3s ease-in-out infinite alternate;
}

@keyframes bounceSlow {
    from { transform: translateY(0); }
    to { transform: translateY(-15px); }
}

/* Category Carousel Card */
.category-card {
    background: #FFF;
    border-radius: 50%;
    width: 130px;
    height: 130px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    border: 3px solid transparent;
    transition: var(--transition-slow);
    cursor: pointer;
    text-decoration: none;
    color: var(--dark-color);
}
.category-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: var(--transition-fast);
}
.category-card span {
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}
.category-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 190, 26, 0.2);
}
.category-card:hover img {
    transform: scale(1.15);
}
.category-carousel-wrapper {
    position: relative;
    padding: 20px 0;
}

/* Product Card */
.product-grid-card {
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition-slow);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.product-img-wrapper {
    position: relative;
    background: #FFFBF5;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    overflow: hidden;
}
.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}
.product-grid-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}
.product-badge-group {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}
.badge-custom {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
}
.badge-hot { background-color: var(--primary-color); color: #fff; }
.badge-veg { background-color: var(--green-color); color: #fff; }
.badge-nonveg { background-color: #8E44AD; color: #fff; }

.product-action-hover {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-slow);
    opacity: 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
    z-index: 3;
}
.product-grid-card:hover .product-action-hover {
    bottom: 0;
    opacity: 1;
}
.btn-action-round {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--light-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition-fast);
}
.btn-action-round:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.product-info-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-info-cat {
    color: var(--grey-color);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}
.product-info-title {
    font-size: 17px;
    font-weight: 700;
    margin: 5px 0 10px 0;
}
.product-info-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition-fast);
}
.product-info-title a:hover {
    color: var(--primary-color);
}
.rating-stars {
    color: var(--secondary-color);
    font-size: 13px;
}
.rating-stars span {
    color: var(--grey-color);
    font-size: 12px;
    margin-left: 5px;
}
.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
}
.price-current {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}
.price-old {
    font-size: 14px;
    color: var(--grey-color);
    text-decoration: line-through;
    margin-left: 8px;
}
.btn-add-cart-text {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}
.btn-add-cart-text:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hover Cloud Zoom Module */
.zoom-wrapper {
    position: relative;
    border: 1px solid var(--light-grey-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 450px;
    cursor: zoom-in;
}
.zoom-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.zoom-lens {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px dashed var(--secondary-color);
    background-color: rgba(255, 190, 26, 0.15);
    display: none;
    pointer-events: none;
    z-index: 10;
    border-radius: 8px;
}
/* Side Zoom Preview Panel */
.zoom-preview-panel {
    position: absolute;
    top: 0;
    left: calc(100% + 20px);
    width: 480px;
    height: 480px;
    border: 1px solid var(--light-grey-color);
    background-color: #fff;
    background-repeat: no-repeat;
    display: none;
    z-index: 1000;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

@media (max-width: 991.98px) {
    .zoom-preview-panel {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.thumb-item {
    width: 70px;
    height: 70px;
    border: 2px solid var(--light-grey-color);
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    background: white;
    transition: var(--transition-fast);
}
.thumb-item.active, .thumb-item:hover {
    border-color: var(--primary-color);
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Sidebar Filters */
.filter-card {
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 20px;
    box-shadow: var(--box-shadow);
}
.filter-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--light-grey-color);
    padding-bottom: 8px;
}
.filter-group {
    margin-bottom: 20px;
}

/* Sticky Action Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--green-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    z-index: 1000;
    transition: var(--transition-fast);
    animation: pulseGreen 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(255, 56, 56, 0.3);
    z-index: 1000;
    transition: var(--transition-slow);
    opacity: 0;
    visibility: hidden;
    border: none;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-5px);
}

/* Product Detail Options */
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--light-grey-color);
    border-radius: 8px;
    width: 120px;
    height: 45px;
    overflow: hidden;
}
.qty-btn {
    width: 40px;
    height: 100%;
    background: var(--light-color);
    border: none;
    font-weight: 700;
    transition: var(--transition-fast);
}
.qty-btn:hover {
    background: var(--light-grey-color);
}
.qty-input {
    width: 40px;
    border: none;
    text-align: center;
    font-weight: 700;
}

/* Tab details */
.nav-tabs-custom {
    border-bottom: 2px solid var(--light-grey-color);
}
.nav-tabs-custom .nav-link {
    border: none !important;
    font-weight: 600;
    border-bottom: 3px solid transparent !important;
}
.nav-tabs-custom .nav-link.active {
    border-bottom-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Toast Notifications Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

/* Compare Modal Grid styling */
.compare-grid-header {
    font-weight: 700;
    background-color: var(--light-color);
}

/* Interactive Banner */
.banner-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #D11A1A 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 50px;
    position: relative;
    overflow: hidden;
}
.banner-pattern {
    position: absolute;
    top: -50px;
    right: -50px;
    opacity: 0.15;
    font-size: 300px;
    transform: rotate(-15deg);
}

/* Colors and elements */
.text-primary-color { color: var(--primary-color); }
.text-secondary-color { color: var(--secondary-color); }
.bg-primary-color { background-color: var(--primary-color); }
.bg-secondary-color { background-color: var(--secondary-color); }

/* Quick View Modal Custom styling */
.modal-quick-view .modal-content {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: none;
}

/* Checkout & Payments */
.payment-method-card {
    border: 2px solid var(--light-grey-color);
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.payment-method-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}
.payment-method-card.active {
    border-color: var(--primary-color);
    background-color: rgba(255, 56, 56, 0.02);
}
.payment-method-card input[type="radio"] {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}
.payment-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.payment-easypaisa { color: #1abc9c; }
.payment-jazzcash { color: #e67e22; }
.payment-bank { color: #34495e; }
.payment-cod { color: #2ecc71; }

.payment-details-box {
    background-color: #FFFBF5;
    border: 1px solid var(--light-grey-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 15px;
    animation: fadeInUp 0.3s ease-in-out;
}

/* Progress Tracker */
.track-step-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
}
.track-step-container::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--light-grey-color);
    z-index: 1;
}
.track-step-progress {
    position: absolute;
    top: 15px;
    left: 0;
    height: 4px;
    background-color: var(--green-color);
    z-index: 2;
    transition: width 1s ease-in-out;
}
.track-step {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 25%;
}
.track-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--light-grey-color);
    color: var(--grey-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    font-size: 14px;
    font-weight: bold;
    transition: var(--transition-slow);
    border: 3px solid #fff;
}
.track-step.active .track-icon {
    background-color: var(--green-color);
    color: white;
}
.track-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-color);
}
.track-step.active .track-text {
    color: var(--dark-color);
    font-weight: 700;
}

/* Footer White Text Overrides */
footer, footer p, footer a, footer ul, footer li, footer span, footer .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}
footer h5, footer h6, footer .navbar-brand {
    color: #ffffff !important;
}
footer a:hover, footer .hover-link:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline !important;
}

/* Infinite Scroll Marquee */
.marquee-wrapper {
    background: linear-gradient(90deg, var(--primary-color) 0%, #D11A1A 100%);
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
    box-shadow: 0 5px 15px rgba(255, 56, 56, 0.15);
    width: 100%;
    border-top: 3px solid var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
}
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeAnim 22s linear infinite;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.marquee-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 18px;
}
@keyframes marqueeAnim {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Combo Builder */
.combo-choice-card {
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid var(--light-grey-color);
    background: #fff;
    border-radius: var(--border-radius);
    padding: 15px;
    height: 100%;
    position: relative;
}
.combo-choice-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}
.combo-choice-card.active {
    border-color: var(--primary-color);
    background-color: rgba(255, 56, 56, 0.03);
}
.combo-badge-active {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}
.combo-choice-card.active .combo-badge-active {
    display: flex;
}

/* Delivery Guarantees */
.guarantee-card {
    border: none;
    box-shadow: var(--box-shadow);
    transition: var(--transition-fast);
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    height: 100%;
}
.guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.guarantee-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 56, 56, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Counter Statistics */
.stat-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0,0,0,0.03);
}
.stat-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 56, 56, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 15px auto;
}

/* Phone App Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    border: 12px solid #333;
    border-radius: 36px;
    background-color: #fff;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    overflow: hidden;
    margin: 0 auto;
}
.phone-notch {
    width: 120px;
    height: 18px;
    background-color: #333;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}
.phone-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #FFFBF5;
    padding: 25px 15px 15px 15px;
    overflow-y: hidden;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}
.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

/* Accordion FAQs */
.accordion-custom .accordion-item {
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: var(--box-shadow);
}
.accordion-custom .accordion-button:not(.collapsed) {
    background-color: rgba(255, 56, 56, 0.05);
    color: var(--primary-color);
    font-weight: 700;
}
.accordion-custom .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

