/* RESPONSIVE HEADER CSS - FULLY RESPONSIVE */
:root {
    --primary: #2c4569;
    --accent: #f3b725;
    --light-bg: #f8f8f8;
    --dark-text: #222;
    --hover-bg: #f9f9f9;
    --category-bg: #fff;
    --nav-bg: #3a544b;
    --nav-text: #fff;
    --flower-blue: #2c4569;
    --flower-light-blue: #e0f0f7;
    --flower-dark-blue: #2a6e93;
    --maroon: #7a0000;
    --gold: #d4af37;
    --light-bg: #fdf9f0;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Static Header */
.static-header {
    background: var(--flower-blue);
    color: white;
    text-align: center;
    padding: 6px 0;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    z-index: 1061;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Main Content Spacing */
.main-content {
    margin-top: 0px;
}

/* ==================== DESKTOP HEADER ==================== */
.desktop-header {
    display: block;
}

/* Top Bar */
.top-bar {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1000;
    margin-top: 32px;
}

.top-bar .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.deliver-to {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    background-color: var(--flower-light-blue);
    color: var(--flower-dark-blue);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.deliver-to:hover {
    background-color: #d1e6f2;
    transform: translateY(-2px);
}

.deliver-to .flag-icon {
    font-size: 18px;
}

.deliver-to .edit-icon {
    font-size: 12px;
    color: var(--flower-dark-blue);
}

/* Search Container */
.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-container form {
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f5f9fc;
}

.search-container input:focus {
    border-color: var(--flower-blue);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(62, 137, 181, 0.1);
}

.search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
}

.search-btn:hover {
    color: var(--flower-blue);
}

/* Top Right Icons */
.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    text-decoration: none;
    color: #555;
    font-size: 12px;
    min-width: 60px;
    position: relative;
    transition: all 0.2s ease;
    font-weight: 600;
}

.icon-item:hover {
    color: var(--flower-blue);
    transform: translateY(-2px);
}

.icon-item .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Main Navigation */
.main-nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    justify-self: center;
    width: 100%;
}

.main-nav .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 10px;
    gap: 20px;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-link {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--flower-blue);
    background-color: #f9f9f9;
}

.nav-link .arrow {
    font-size: 10px;
    margin-left: 4px;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 10px 0;
    z-index: 100;
    top: 75%;
    left: 0;
    margin-top: 8px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-content a {
    color: #333;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: var(--flower-blue);
    padding-left: 26px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* More Menu Dropdown */
#moreMenuDropdown {
    position: fixed;
    top: 100%;
    right: 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1001;
    display: none;
    min-width: 250px;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.more-menu-content {
    padding: 15px 0;
}

.more-menu-content a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.more-menu-content a:hover {
    background: #f9f9f9;
    color: var(--flower-blue);
    padding-left: 28px;
}

.more-menu-content a i {
    margin-right: 10px;
    width: 20px;
}

/* ==================== MOBILE HEADER ==================== */
.mobile-header {
    display: none;
    position: fixed;
    top: 45px;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
}

.mobile-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--flower-blue);
    cursor: pointer;
    padding: 5px;
}

.mobile-logo img {
    height: 35px;
    width: auto;
}

.mobile-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-icon {
    position: relative;
    color: var(--flower-blue);
    font-size: 20px;
    text-decoration: none;
}

.mobile-icon .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    border: 2px solid white;
}

/* ==================== MOBILE MENU ==================== */
#mobileMenuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    display: none;
    backdrop-filter: blur(4px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: white;
    z-index: 1051;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-logo img {
    height: 35px;
    width: auto;
}

.close-mobile-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

/* Mobile User Section */
.mobile-user-section {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    background: var(--flower-light-blue);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--flower-dark-blue);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
}

.user-profile i {
    font-size: 24px;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 0;
    margin-top: 10px;
}

.logout-btn i {
    font-size: 18px;
}

.login-btn {
    width: 100%;
    padding: 12px 15px;
    background: var(--flower-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    transition: background 0.2s;
}

.login-btn:hover {
    background: var(--flower-dark-blue);
}

/* Mobile Search */
.mobile-search-section {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
}

.mobile-search-section .input-group {
    position: relative;
}

.mobile-search-section input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    background-color: #f5f9fc;
    outline: none;
}

.mobile-search-section input:focus {
    border-color: var(--flower-blue);
    background-color: #fff;
}

.mobile-search-section .btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--flower-blue);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Mobile Categories */
.mobile-categories {
    padding: 15px;
    background: white;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
    padding-left: 5px;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-item {
    z-index: 10;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
}

.category-link:hover {
    /* background: #f9f9f9; */
    color: var(--flower-blue);
    padding-left: 15px;
}

.category-link i {
    font-size: 14px;
    color: #999;
}

.subcategories {
    display: none;
    padding-left: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.subcategories a {
    display: block;
    padding: 10px 10px 10px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s;
}

.subcategories a:hover {
    color: var(--flower-blue);
    background: white;
    padding-left: 5px;
}

.category-item.active .subcategories {
    display: block;
}

/* Mobile Quick Links */
.mobile-quick-links {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.links-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #555;
    text-decoration: none;
    font-size: 11px;
    text-align: center;
    padding: 10px 5px;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.links-grid a:hover {
    background: var(--flower-light-blue);
    color: var(--flower-blue);
}

.links-grid a i {
    font-size: 20px;
}

.links-grid a .link-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid white;
}

/* Mobile Footer Links */
.mobile-footer-links {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

.mobile-footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.mobile-footer-links a:hover {
    background: #f9f9f9;
    color: var(--flower-blue);
    padding-left: 15px;
}

.mobile-footer-links a:last-child {
    border-bottom: none;
}

.mobile-footer-links a i {
    font-size: 16px;
    width: 20px;
}

/* ==================== MOBILE BOTTOM NAVIGATION ==================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    justify-content: space-around;
    background: white;
    padding: 12px 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #eee;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #666;
    text-decoration: none;
    font-size: 11px;
    position: relative;
    padding: 5px 10px;
}

.mobile-bottom-nav .nav-item i {
    font-size: 20px;
}

.mobile-bottom-nav .nav-item.cart-icon {
    position: relative;
}

.mobile-bottom-nav .nav-item.cart-icon .cart-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--flower-blue);
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .top-bar .container-fluid {
        padding: 0 40px;
    }
    
    .main-nav .container-fluid {
        padding: 0 40px;
    }
}

/* Desktop (992px - 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
    .search-container {
        max-width: 500px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 4px 6px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .top-bar-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .top-right {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .icon-item span {
        font-size: 11px;
    }
    
    .nav-menu {
        gap: 15px;
        padding: 12px 0;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 4px 6px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .desktop-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    .main-content {
        margin-top: 75px;
        padding-bottom: 60px;
    }
    
    .mobile-search-section input {
        font-size: 13px;
    }
    
    .links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
    .desktop-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    .main-content {
        margin-top: 70px;
        padding-bottom: 60px;
        padding: 15px;
    }
    
    .static-header {
        font-size: 0.85rem;
        padding: 4px 0;
    }
    
    .mobile-top-bar {
        padding: 10px 12px;
    }
    
    .mobile-logo img {
        height: 30px;
    }
    
    .mobile-icon {
        font-size: 18px;
    }
    
    .mobile-icon .cart-badge {
        width: 16px;
        height: 16px;
        font-size: 8px;
        top: -3px;
        right: -3px;
    }
    
    .mobile-menu {
        width: 90%;
        max-width: 320px;
    }
    
    .mobile-search-section input {
        font-size: 13px;
        padding: 10px 40px 10px 12px;
    }
    
    .mobile-search-section .btn-search {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .category-link {
        font-size: 14px;
        padding: 10px 8px;
    }
    
    .subcategories a {
        font-size: 13px;
        padding: 8px 8px 8px 0;
    }
    
    .links-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .links-grid a {
        font-size: 10px;
        padding: 8px 3px;
    }
    
    .links-grid a i {
        font-size: 18px;
    }
    
    .links-grid a .link-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
    
    .mobile-footer-links a {
        font-size: 13px;
        padding: 10px 8px;
    }
    
    .mobile-bottom-nav .nav-item {
        font-size: 10px;
    }
    
    .mobile-bottom-nav .nav-item i {
        font-size: 18px;
    }
    
    .mobile-bottom-nav .nav-item.cart-icon .cart-badge {
        width: 18px;
        height: 18px;
        font-size: 9px;
        top: -6px;
        right: 12px;
    }
}

/* Extra Small Mobile (320px - 374px) */
@media (max-width: 374px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-bottom-nav .nav-item span {
        display: none;
    }
    
    .mobile-bottom-nav .nav-item i {
        font-size: 22px;
    }
}

/* BANNER CAROUSEL STYLES - WITHIN CONTAINER */
.banner-section {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.banner-section .container {
    padding-left: 0;
    padding-right: 0;
}

.banner-content {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}

.banner-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text overlay matching your screenshot exactly */
.banner-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 2;
}

.banner-text-container {
    max-width: 650px;
    color: #222;
    font-family: 'Playfair Display', serif;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8B4513;
    /* Brown color matching your screenshot */
}

.banner-subtitle {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.subtitle-part-1 {
    font-size: 2.2rem;
    font-weight: 400;
    color: #8B4513;
    /* Brown color matching your screenshot */
}

.subtitle-part-2 {
    font-size: 2.8rem;
    font-weight: 300;
    font-style: italic;
    color: #222;
    /* Black color for "can't" */
    position: relative;
}

.subtitle-part-2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #8B4513;
    transform: rotate(-15deg);
    transform-origin: left;
}

/* Responsive adjustments for exact match within container */
@media (max-width: 992px) {
    .banner-content {
        height: 450px;
    }
    
    .banner-title {
        font-size: 2.8rem;
    }
    
    .subtitle-part-1 {
        font-size: 1.8rem;
    }
    
    .subtitle-part-2 {
        font-size: 2.3rem;
    }
    
    .subtitle-part-2::after {
        bottom: -6px;
        height: 1.5px;
    }
}

@media (max-width: 768px) {
    .banner-content {
        height: 400px;
    }
    
    .banner-title {
        font-size: 2.3rem;
    }
    
    .subtitle-part-1 {
        font-size: 1.5rem;
    }
    
    .subtitle-part-2 {
        font-size: 2rem;
    }
    
    .subtitle-part-2::after {
        bottom: -5px;
        height: 1.2px;
    }
    
    .banner-text-overlay {
        padding: 0 3%;
    }
}

@media (max-width: 576px) {
    .banner-content {
        height: 350px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .subtitle-part-1 {
        font-size: 1.2rem;
    }
    
    .subtitle-part-2 {
        font-size: 1.6rem;
    }
    
    .subtitle-part-2::after {
        bottom: -4px;
        height: 1px;
    }
    
    .banner-text-overlay {
        padding: 0 2%;
    }
}

@media (max-width: 400px) {
    .banner-content {
        height: 300px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .subtitle-part-1 {
        font-size: 1rem;
    }
    
    .subtitle-part-2 {
        font-size: 1.3rem;
    }
    
    .subtitle-part-2::after {
        bottom: -3px;
        height: 0.8px;
    }
}

/* Carousel indicators - minimal style to match screenshot */
.carousel-indicators {
    position: absolute;
    bottom: 25px;
    right: 25px;
    z-index: 3;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 0;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.carousel-indicators button.active {
    background: #8B4513;
    opacity: 1;
    transform: scale(1.2);
}

/* Carousel controls - subtle styling to match screenshot */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    width: 18px;
    height: 18px;
}

.carousel-control-prev {
    left: 25px;
}

.carousel-control-next {
    right: 25px;
}

/* Ensure the banner has rounded corners like in your screenshot */
.banner-content {
    border-radius: 12px;
    overflow: hidden;
}

/* Add subtle shadow to match screenshot */
.banner-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    z-index: -1;
}

/* Fix container padding for mobile */
@media (max-width: 576px) {
    .banner-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* CATEGORY SECTION STYLES - EXACT MATCH TO SCREENSHOT */
.category-section {
    margin-top: 30px;
    padding-bottom: 20px;
}

.category-section .container {
    padding-left: 0;
    padding-right: 0;
}

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

.category-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
}

.category-carousel {
    position: relative;
    overflow: hidden;
}

.category-list {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

.category-item {
    flex: 0 0 auto;
    text-align: center;
}

.category-link {
    display: block;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
}

.category-link:hover {
    transform: translateY(-5px);
}

.category-image {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 12px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Category navigation arrows */
.category-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.category-nav svg {
    width: 18px;
    height: 18px;
    color: #666;
}

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

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .category-item {
        width: 120px;
    }
    
    .category-image {
        width: 120px;
        height: 120px;
    }
    
    .category-name {
        font-size: 0.85rem;
    }
    
    .category-nav {
        width: 36px;
        height: 36px;
    }
    
    .category-nav.prev {
        left: -15px;
    }
    
    .category-nav.next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .category-item {
        width: 100px;
    }
    
    .category-image {
        width: 100px;
        height: 100px;
    }
    
    .category-name {
        font-size: 0.8rem;
        min-height: 36px;
    }
    
    .category-nav {
        width: 32px;
        height: 32px;
    }
    
    .category-nav.prev {
        left: -10px;
    }
    
    .category-nav.next {
        right: -10px;
    }
}

@media (max-width: 576px) {
    .category-section {
        padding-bottom: 15px;
    }
    
    .category-header h2 {
        font-size: 1.3rem;
    }
    
    .category-item {
        width: 80px;
    }
    
    .category-image {
        width: 80px;
        height: 80px;
    }
    
    .category-name {
        font-size: 0.75rem;
        min-height: 32px;
    }
    
    .category-nav {
        width: 28px;
        height: 28px;
    }
    
    .category-nav.prev {
        left: -8px;
    }
    
    .category-nav.next {
        right: -8px;
    }
}

@media (max-width: 400px) {
    .category-item {
        width: 70px;
    }
    
    .category-image {
        width: 70px;
        height: 70px;
    }
    
    .category-name {
        font-size: 0.7rem;
        min-height: 28px;
    }
    
    .category-nav {
        width: 24px;
        height: 24px;
    }
    
    .category-nav.prev {
        left: -6px;
    }
    
    .category-nav.next {
        right: -6px;
    }
}

/* Add subtle shadow to match screenshot */
.category-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    z-index: -1;
}

/* Special styling for Valentine's Day item to match screenshot */
.category-item:first-child .category-image {
    border-radius: 12px;
    overflow: hidden;
}

.category-item:first-child .category-image img {
    border-radius: 12px;
}


/* VALENTINE'S DAY CATEGORIES STYLES - EXACT SCREENSHOT MATCH */
.valentines-categories {
    margin-top: 30px;
    padding-bottom: 40px;
}

.valentines-categories .container {
    padding-left: 0;
    padding-right: 0;
}

/* Main Valentine's Banner - Exact screenshot layout */
.valentines-banner {
    align-items: center;
    background: linear-gradient(135deg, #ffe6f0 0%, #fff0f5 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.15);
    height: 100%;
}



.banner-image {
    flex: 0 0 45%;
    position: relative;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.banner-text {
    flex: 1;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: none;
}

.banner-text p {
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 25px;
}

.banner-arrow {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* Subcategories Grid - Exact 2x4 layout as in screenshot */

.cate-sect{
    padding-left: 40px; padding-right: 40px;
}
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
}
.subcategories-grid1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    justify-content: center;
}
.subcategory-item {
    position: relative;
    text-align: center;
    justify-items: center;
}

.subcategory-link {
    display: block;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
}

.subcategory-link:hover {
    transform: translateY(-8px);
}

/* Date badge - exact match to screenshot */
.subcategory-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

/* Subcategory image - circular with pink background exactly like screenshot */
.subcategory-image {
    position: relative;
    overflow: hidden;
}

.subcategory-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.subcategory-image1 img {
    width: 100%;
    height: 225px;
    object-fit: fill;
    display: block;
    border-radius: 8px;
}

/* Category name - exact styling from screenshot */
.subcategory-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Responsive adjustments for exact screenshot match */
@media (max-width: 992px) {
    .valentines-banner {
        height: auto;
        flex-direction: column;
        text-align: center;
        /* padding: 30px 20px; */
    }
    
    .banner-image {
        flex: 0 0 auto;
        width: 100%;
        /* max-width: 300px; */
    }
    
    .banner-text {
        padding: 0;
        text-align: center;
    }
    
    .banner-text h2 {
        font-size: 2.2rem;
    }
    
    .banner-text p {
        font-size: 1.1rem;
    }
    
    .banner-arrow {
        position: static;
        margin-top: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .subcategory-image {
        width: 120px;
        height: 120px;
    }
    
    .subcategory-name {
        font-size: 0.85rem;
        min-height: 36px;
    }
}

@media (max-width: 768px) {
    .cate-sect{
    padding-left: 2px; padding-right: 2px;
}
    /* .valentines-banner {
        padding: 25px 15px;
    } */
    
    /* .banner-image {
        max-width: 250px;
    } */
    
    .banner-text h2 {
        font-size: 1.8rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .subcategory-image {
        width: 100px;
        height: 100px;
    }
    
    .subcategory-name {
        font-size: 0.8rem;
        min-height: 32px;
    }
}



.flower-category-section {
    padding: 0px 10px;
}

.flower-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 15px;
    color: #000;
}

/* Scroll Row */
.flower-scroll-row {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 10px 15px;
    scroll-behavior: smooth;
}

/* Hide Scrollbar */
.flower-scroll-row::-webkit-scrollbar {
    display: none;
}
.flower-scroll-row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.flower-item {
    flex: 0 0 auto;
    width: 220px;
    text-align: center;
}

.flower-link {
    text-decoration: none;
    color: #000;
}

/* Image Box */
.flower-img-box {
    width: 100%;
    height: 280px;
    border-radius: 25px;
    overflow: hidden;
    background: #f2f2f2;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.12);
}

.flower-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

/* Name */
.flower-name {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .flower-heading {
        font-size: 22px;
    }

    .flower-item {
        width: 170px;
    }

    .flower-img-box {
        height: 220px;
    }

    .flower-name {
        font-size: 16px;
    }
}



.occasions-relations-section .section-title {
 font-size: 2.25rem;
    line-height: 1.2;
}

.occasions-relations-section .section-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

.occasions-relations-section .occasion-card {
    display: block;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.occasions-relations-section .occasion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: #f0f0f0;
}

.occasions-relations-section .occasion-image-wrapper {
    /* Ensures arch effect via border-radius on wrapper + img */
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.occasions-relations-section .occasion-label {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: #333;
}

/* Responsive: 4 per row on md+, 2 on sm, 1 on xs */
@media (min-width: 768px) {
    .occasions-relations-section .col-md-3 {
        flex: 0 0 calc(25% - 1rem);
        max-width: calc(25% - 1rem);
    }
}

/* Optional: subtle hover lift + shadow */
.hover-shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-shadow:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}



/* .best-selling-section {
    background: #f7f7f7;
} */

.best-selling{
    justify-items: center;padding-left: 40px;padding-right: 40px;
}

.section-header h2 {
    font-weight: 700;
}

.section-header p {
    color: #777;
    margin-bottom: 0;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-img {
    position: relative;
    padding: 12px;
}

.product-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: 0.2s;
}

.wishlist:hover {
    transform: scale(1.1);
}

.product-content {
    padding: 12px 15px 16px;
}

.product-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.selling-price {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.mrp-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.offer {
    font-size: 13px;
    font-weight: 600;
    color: #ff7a00;
}

.delivery {
    font-size: 13px;
    margin-top: 6px;
    color: #666;
}

.delivery span {
    color: #0d6efd;
    font-weight: 600;
}

/* Mobile image height fix */
@media (max-width: 576px) {
    .product-img img {
        height: 160px;
    }
    .best-selling{
    justify-items: center;padding-left: 2px;padding-right: 2px;}
    .star-rating{
        font-size: 12px;
    }
    .delivery-dt{
        font-size: 12px;
    }
}



.offer-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.offer-scroll::-webkit-scrollbar {
  height: 6px;
}
.offer-scroll::-webkit-scrollbar {
  display: none;
}

.offer-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.offer-scroll {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.offer-card {
  scroll-snap-align: start;
}



.testimonial-section {
    background: #f8f9fc;
    padding: 50px 10px;
}

.testimonial-wrapper {
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.testimonial-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 40px 10px;
}

.testimonial-scroll::-webkit-scrollbar {
    height: 8px;
}

.testimonial-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.testimonial-card {
    min-width: 330px;
    max-width: 330px;
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.3s ease-in-out;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: -70px;
    border: 6px solid #fff;
    box-shadow: 0px 5px 12px rgba(0,0,0,0.15);
}

.testimonial-name {
    font-size: 22px;
    font-weight: 700;
    margin-top: 15px;
    color: #111;
}

.testimonial-role {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    padding: 0px 10px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 22px;
    margin-top: 10px;
}

.star {
    color: gold;
}

.star.empty {
    color: #ddd;
}

/* Arrow Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.scroll-btn:hover {
    background: #f2f2f2;
}

.scroll-left {
    left: -20px;
}

.scroll-right {
    right: -20px;
}

.scroll-btn svg {
    width: 22px;
    height: 22px;
    fill: #111;
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .scroll-left {
        left: 5px;
    }
    .scroll-right {
        right: 5px;
    }
    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
    }
}


/* ------------------------------------------------------------ */
/* Banner Scroll */
/* ------------------------------------------------------------ */

.banner-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

.banner-scroll::-webkit-scrollbar {
    height: 6px;
}

.banner-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.banner-item {
    min-width: 300px;
    flex-shrink: 0;
}

.banner-item img {
    width: 600px;
    border-radius: 10px;
}
#banner_scroll {
    cursor: grab;
}

#banner_scroll.active {
    cursor: grabbing;
}
.banner-scroll {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.banner-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
@media (min-width: 768px) and (max-width: 991px) {
    .banner-item img {
    width: 600px;
    border-radius: 10px;
}
}
@media (min-width: 576px) and (max-width: 767px) {.banner-item img {
    width: 600px;
    border-radius: 10px;
}}
@media (max-width: 575px) {.banner-item img {
    width: 300px;
    border-radius: 10px;
}}
@media (max-width: 374px) {.banner-item img {
    width: 300px;
    border-radius: 10px;
}}


.horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.scroll-item {
    min-width: 260px;
    flex: 0 0 auto;
}

/* Hide scrollbar */
.horizontal-scroll::-webkit-scrollbar {
    display: none;
}
.horizontal-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}



.subcategory-horizontal-scroll {
    display: flex;

    overflow-x: auto;
    scroll-behavior: smooth;

}

.subcategory-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 230px;
    flex: 0 0 auto;
}

/* Hide scrollbar */
.subcategory-horizontal-scroll::-webkit-scrollbar {
    display: none;
}
.subcategory-horizontal-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (min-width: 768px) and (max-width: 991px) {
    .subcategory-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 200px;
    flex: 0 0 auto;
}
}
@media (min-width: 576px) and (max-width: 767px) {
    .subcategory-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100px;
    flex: 0 0 auto;
}
}
@media (max-width: 575px) {
    .subcategory-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100px;
    flex: 0 0 auto;
}
}
@media (max-width: 374px) {.subcategory-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100px;
    flex: 0 0 auto;
} }
