/* premium-redesign.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-color: #14B8C4;
    --primary-hover: #0E929C;
    --secondary-color: #FF6B3D;
    --secondary-hover: #E5572C;
    --bg-light: #F7F9FC;
    --text-main: #222222;
    --text-muted: #717171;
    --card-bg: #FFFFFF;
    --border-color: #EBEBEB;
    --shadow-soft: 0 8px 28px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 36px rgba(0,0,0,0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* Hero Section */
.hero-slider {
    padding: 20px 0 !important;
}
.hero-slider .slide img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    width: calc(100% - 40px) !important;
    margin: 0 auto;
}

/* Product Cards */
.product-card {
    background: var(--card-bg) !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
    overflow: hidden !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow-soft) !important;
}

.product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: transparent !important;
}

.product-image-box, .p-img {
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    overflow: hidden !important;
    position: relative !important;
    background: var(--bg-light) !important;
}

.product-image-box img, .p-img img {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.product-card:hover .product-image-box img, .product-card:hover .p-img img {
    transform: scale(1.1) !important;
}

.product-name, .p-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    transition: color 0.3s ease !important;
}

.product-card:hover .product-name, .product-card:hover .p-title {
    color: var(--primary-color) !important;
}

.product-price, .p-price .main-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

/* Actions & Buttons */
.action-btn, .btn-primary, .round-btn {
    background: var(--secondary-color) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 14px rgba(255, 107, 61, 0.3) !important;
    transition: var(--transition) !important;
}

.action-btn:hover, .btn-primary:hover, .round-btn:hover {
    background: var(--secondary-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 61, 0.4) !important;
}

/* Cart Page */
.cart-items-list {
    background: var(--card-bg) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-soft) !important;
    padding: 24px !important;
    border: 1px solid var(--border-color) !important;
}

.cart-item {
    border-bottom: 1px solid var(--border-color) !important;
    padding: 20px 0 !important;
    transition: background 0.3s ease !important;
}

.cart-item:hover {
    background: #FAFAFA !important;
}

.cart-summary-box {
    background: var(--card-bg) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-soft) !important;
    padding: 30px !important;
    border: 1px solid var(--border-color) !important;
}

.btn-checkout {
    background: var(--primary-color) !important;
    box-shadow: 0 4px 14px rgba(255, 90, 95, 0.3) !important;
    border-radius: var(--radius-md) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.btn-checkout:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 90, 95, 0.4) !important;
}

/* Checkout Page */
.checkout-form-wrapper {
    background: var(--card-bg) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-soft) !important;
    border: 1px solid var(--border-color) !important;
}

.order-summary-box {
    background: var(--card-bg) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-soft) !important;
    border: 1px solid var(--border-color) !important;
}

.form-control {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
    padding: 12px 16px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.1) !important;
    outline: none !important;
}

/* Sections Global */
.section-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    position: relative !important;
}

.section-title::after {
    content: '' !important;
    display: block !important;
    width: 60px !important;
    height: 4px !important;
    background: var(--primary-color) !important;
    margin: 15px auto 0 !important;
    border-radius: 2px !important;
}

/* Custom Header Redesign */
body .main-nav-container,
.main-nav-container {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

#nav-belt {
    display: flex;
    align-items: center;
    background-color: #ffffff !important;
    padding: 15px 20px; /* Matched .container padding */
    color: #333;
    font-family: 'Inter', sans-serif;
    gap: 30px;
    max-width: 1200px; /* Perfectly aligned with .container width */
    margin: 0 auto;
}

#nav-belt a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

#nav-belt a:hover {
    color: var(--primary-color) !important;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px;
}

/* Fix Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu-list {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-list li a {
    display: block;
    padding: 10px 20px;
    color: #444 !important;
    font-size: 15px;
    font-weight: 500;
}

.dropdown-menu-list li a:hover {
    background: #f9f9f9;
    color: var(--primary-color) !important;
}

.nav-fill {
    flex-grow: 1;
    max-width: 1000px; /* Increased from 700px to allow a much wider search bar */
}

.nav-search-bar form {
    display: flex;
    height: 45px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #ddd;
}

#header-search-input {
    flex-grow: 1;
    border: none;
    padding: 0 15px;
    font-size: 15px;
    outline: none;
}

.nav-search-btn {
    background: #333;
    border: none;
    width: 55px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-search-btn:hover {
    background: #555;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cart {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333 !important;
}

.nav-cart-count-container {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-cart-count {
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 20px;
    position: absolute;
    top: -10px;
    right: -12px;
}

.nav-cart-icon {
    font-size: 26px;
    color: #333;
}

.cart-text {
    font-size: 15px;
    font-weight: 600;
    margin-top: 4px;
}

#nav-main {
    display: none !important;
}

/* Premium Hero Slider Redesign */
.hero-slider-wrapper {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 20px;
}

.hero-slider {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
    position: relative;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.slides-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.hero-slider .slide {
    min-width: 100%;
    flex: 0 0 100%;
    position: relative;
}

.hero-slider .slide img {
    border-radius: 20px !important;
    width: 100% !important;
    height: auto;
    display: block;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    color: #333 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--primary-color) !important;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        margin: 15px auto;
        padding: 0 15px;
    }
    .hero-slider {
        border-radius: 12px !important;
    }
    .hero-slider .slide img {
        border-radius: 12px !important;
    }
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .slider-nav.prev { left: 10px; }
    .slider-nav.next { right: 10px; }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    #nav-belt {
        flex-wrap: wrap;
        padding: 10px 15px;
        gap: 15px;
    }
    
    .nav-left {
        flex: 1;
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown {
        order: -1;
        margin-left: 0 !important;
        margin-right: 15px;
    }
    
    .nav-fill {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-right {
        order: 2;
    }
    
    .cart-text {
        display: none;
    }
    
    .nav-cart-icon {
        font-size: 24px;
    }
}

/* Premium Special Offers Design */
.special-offers {
    padding: 60px 0;
    background-color: #fcfcfc;
}

.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.offers-header .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.offers-header .shop-now-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.offers-header .shop-now-link:hover {
    color: #333;
    transform: translateX(5px);
}

.offers-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.bento-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.bento-wide {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
}

.bento-small {
    /* auto spans 1 cell */
}

.offer-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    background-color: #fff;
    cursor: pointer;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.offer-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

.offer-card:hover .offer-bg-img {
    transform: scale(1.08);
}

.offer-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0,0,0,0) 100%);
    box-sizing: border-box;
}

.offer-text {
    max-width: 70%;
}

.offer-badge {
    background: var(--primary-color);
    color: #fff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.offer-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.offer-btn {
    background: #fff;
    color: #333;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    align-self: flex-start;
    margin-top: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.offer-card:hover .offer-btn {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(10px);
}

/* Clean Layout from Screenshot */
.clean-category-section {
    padding: 50px 0 20px 0;
    background: #fff;
}

.clean-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.clean-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.clean-view-all {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

.clean-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.clean-product-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.clean-product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cp-img {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cp-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cp-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    min-height: 36px;
}

.cp-price-row {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-price-current {
    font-size: 16px;
    font-weight: 700;
    color: #000; /* Black brand color */
}

.cp-price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.cp-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.cp-btn-cart {
    flex: 1;
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.cp-btn-cart:hover {
    background: var(--primary-color);
    color: #fff;
}

.cp-btn-buy {
    flex: 1;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.cp-btn-buy:hover {
    background: var(--secondary-hover);
    box-shadow: 0 4px 10px rgba(255, 107, 61, 0.3);
}

@media (max-width: 1200px) {
    .clean-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (max-width: 768px) {
    .clean-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .clean-product-card {
        padding: 10px;
    }
    
    .cp-img {
        height: 140px;
    }
    
    .cp-actions {
        flex-direction: column;
        gap: 5px;
    }
    
    .offers-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-large, .bento-wide, .bento-small {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .offer-card {
        height: 250px;
    }
}
