/* ============================================
   DAPPER - PREMIUM CSS DESIGN SYSTEM
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-orange: #FF4C1C;
    --primary-orange-dark: #E63E0F;
    --primary-orange-light: #FF6B3D;

    /* Neutral Colors */
    --bg-beige: #F9F9F7;
    --bg-white: #FFFFFF;
    --text-black: #1A1A1A;
    --text-gray: #666666;
    --text-light-gray: #999999;
    --border-gray: #E0E0E0;

    /* Accent Colors */
    --success-green: #28A745;
    --error-red: #DC3545;
    --warning-yellow: #FFC107;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 28px;
    --spacing-3xl: 34px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-black);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(32px, 5vw, 48px);
}

h2 {
    font-size: clamp(28px, 4vw, 36px);
}

h3 {
    font-size: clamp(24px, 3vw, 28px);
}

h4 {
    font-size: clamp(20px, 2.5vw, 24px);
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--text-black);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-orange);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 76, 28, 0.3);
}

.btn-secondary {
    background-color: var(--text-black);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-black);
    border: 2px solid var(--text-black);
}

.btn-outline:hover {
    background-color: var(--text-black);
    color: var(--bg-white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.announcement-bar {
    background-color: var(--primary-orange);
    color: var(--bg-white);
    padding: 10px 0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.announcement-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.main-header {
    background-color: #f5f7fa;
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-black);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-black);
    white-space: nowrap;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-black);
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.header-icon:hover {
    color: var(--primary-orange);
    background-color: rgba(255, 76, 28, 0.08);
}

.header-icon svg {
    display: block;
}

.icon-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--primary-orange);
    color: var(--bg-white);
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-black);
    transition: color var(--transition-fast);
}

.menu-toggle:hover {
    color: var(--primary-orange);
}

.menu-toggle svg {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transition: left var(--transition-normal);
    z-index: 1000;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-nav {
    padding: var(--spacing-lg);
}

.mobile-menu-nav a {
    display: block;
    padding: var(--spacing-md) 0;
    font-weight: 500;
    border-bottom: 1px solid var(--border-gray);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.product-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-image-wrapper {
    position: relative;
    display: block;
    padding-top: 110%;
    /* Shorter, modern ratio */
    overflow: hidden;
    background-color: var(--bg-beige);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background-color: var(--primary-orange);
    color: var(--bg-white);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.product-wishlist-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.8);
}

.product-card:hover .product-wishlist-btn {
    opacity: 1;
    transform: scale(1);
}

.product-wishlist-btn:hover {
    background-color: var(--primary-orange);
}

.product-wishlist-btn:hover svg {
    stroke: white;
    fill: white;
}

.product-wishlist-btn svg {
    transition: all 0.2s ease;
}

.product-info {
    padding: var(--spacing-md);
}

.product-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--text-black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black);
}

.price-original {
    font-size: 14px;
    color: var(--text-light-gray);
    text-decoration: line-through;
}

.price-discount {
    font-size: 13px;
    color: var(--primary-orange);
    font-weight: 600;
}

/* ============================================
   FILTERS SIDEBAR
   ============================================ */
.filter-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 1000;
    overflow-y: auto;
}

.filter-sidebar.active {
    right: 0;
}

.filter-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-header h3 {
    margin: 0;
}

.filter-close {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

.filter-group {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-gray);
}

.filter-group h4 {
    font-size: 16px;
    margin-bottom: var(--spacing-md);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option label {
    cursor: pointer;
    font-size: 14px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    padding: var(--spacing-md) 0;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--primary-orange);
}

.breadcrumb span {
    margin: 0 var(--spacing-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background-color: var(--text-black);
    color: var(--bg-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-column h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

.container-narrow {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.text-center {
    text-align: center;
}

.text-orange {
    color: var(--primary-orange);
}

.bg-beige {
    background-color: var(--bg-beige);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

/* ============================================
   FEATURED CATEGORIES CAROUSEL
   ============================================ */
.featured-categories-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-white);
    overflow: hidden;
}

.featured-categories-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    overflow: hidden;
}

/* Side Banners (NEW DROP / SALE) */
.side-banner {
    flex-shrink: 0;
    width: 80px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.side-banner-left {
    background: linear-gradient(135deg, #FF4C1C 0%, #FF6B3D 100%);
}

.side-banner-right {
    background: linear-gradient(135deg, #DC3545 0%, #FF4C1C 100%);
}

.side-banner-content {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.side-banner-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--bg-white);
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Categories Carousel Container */
.featured-categories-carousel {
    flex: 1;
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: var(--spacing-lg) var(--spacing-xl);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-orange) var(--bg-beige);
}

/* Hide scrollbar for cleaner look */
.featured-categories-carousel::-webkit-scrollbar {
    height: 6px;
}

.featured-categories-carousel::-webkit-scrollbar-track {
    background: var(--bg-beige);
    border-radius: 3px;
}

.featured-categories-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 3px;
}

.featured-categories-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange-dark);
}

/* Category Card */
.featured-category-card {
    flex-shrink: 0;
    width: 160px;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.featured-category-card:hover {
    transform: translateY(-8px);
}

.featured-category-image {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--bg-beige);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.featured-category-card:hover .featured-category-image {
    box-shadow: var(--shadow-lg);
}

.featured-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-category-card:hover .featured-category-image img {
    transform: scale(1.1);
}

.featured-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
}

.featured-category-name {
    margin-top: var(--spacing-sm);
    text-align: center;
}

.featured-category-name span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-black);
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.featured-category-card:hover .featured-category-name span {
    color: var(--primary-orange);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Featured Categories - Tablet */
    .featured-category-card {
        width: 140px;
    }

    .featured-category-image {
        height: 180px;
    }

    .side-banner {
        width: 60px;
    }

    .side-banner-text {
        font-size: 18px;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .filter-sidebar {
        width: 100%;
    }

    /* Featured Categories - Mobile */
    .featured-categories-section {
        padding: var(--spacing-2xl) 0;
    }

    .featured-category-card {
        width: 120px;
    }

    .featured-category-image {
        height: 150px;
    }

    .featured-category-name span {
        font-size: 11px;
    }

    .side-banner {
        width: 50px;
    }

    .side-banner-text {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .featured-categories-carousel {
        padding: var(--spacing-md) var(--spacing-lg);
        gap: var(--spacing-sm);
    }

    .product-wishlist-btn {
        opacity: 1;
        transform: scale(1);
        width: 32px;
        height: 32px;
    }

    .product-info {
        padding: var(--spacing-sm);
    }

    .product-name {
        font-size: 14px;
    }

    .price-current {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .header-container {
        padding: 0 var(--spacing-md);
        height: 60px;
    }

    .logo-text {
        font-size: 16px;
    }

    .header-icons {
        gap: var(--spacing-md);
    }

    .header-icon {
        padding: 6px;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .section-title h2 {
        font-size: 24px;
    }

    /* Featured Categories - Small Mobile */
    .featured-category-card {
        width: 100px;
    }

    .featured-category-image {
        height: 120px;
    }

    .featured-category-name span {
        font-size: 10px;
    }

    .side-banner {
        width: 35px;
    }

    .side-banner-text {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .featured-categories-carousel {
        padding: var(--spacing-sm) var(--spacing-sm);
    }
}

/* Mobile Submenu Styles */
.mobile-menu-item {
    position: relative;
    border-bottom: 1px solid var(--border-gray);
}

.mobile-menu-link {
    border-bottom: none !important;
    display: inline-block !important;
    width: 85%;
}

.mobile-submenu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 15%;
    height: 53px;
    /* Match link height roughly */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-gray);
}

.mobile-submenu {
    display: none;
    padding-left: 20px;
    background: #fafafa;
    border-top: 1px solid var(--border-gray);
}

.mobile-submenu a {
    border-bottom: 1px solid #eee;
    font-size: 14px;
    padding: 12px 0;
    display: block;
    color: #555;
}

.mobile-submenu a:last-child {
    border-bottom: none;
}

/* Desktop Navigation Styles */
.desktop-nav {
    display: block;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-gray);
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-black);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-orange);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    top: calc(100% - 2px);
}

.dropdown-item {
    display: block;
    padding: 10px 25px;
    font-size: 14px;
    color: var(--text-gray);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--bg-beige);
    color: var(--primary-orange);
    padding-left: 30px;
}

/* Responsive visibility */
.form-row {
    display: flex;
    gap: var(--spacing-md);
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column !important;
    }
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex !important;
    }
}

/* Responsive visibility utility classes */
.hide-mobile {
    display: block;
}

.hide-desktop {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .hide-desktop {
        display: block !important;
    }

    .header-icons {
        gap: var(--spacing-sm);
    }

    .header-icon {
        padding: 6px;
    }

    .social-icon {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .header-icons {
        gap: 4px;
    }

    .logo-image {
        height: 35px;
    }
}

/* ===================================
   NEW IN SECTION REDESIGN
   =================================== */
.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.new-in-section {
    padding: var(--spacing-xl) 0;
    width: 100%;
    margin-bottom: var(--spacing-3xl);
}

.new-in-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
}

.new-in-carousel {
    display: flex;
    flex-wrap: nowrap;
    /* Ensure items don't wrap */
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;

    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.new-in-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.carousel-btn:hover {
    background-color: var(--primary-orange);
    color: var(--bg-white);
    border-color: var(--primary-orange);
    opacity: 1;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-btn {
        display: none;
        /* Hide buttons on mobile, use touch swipe */
    }
}

.new-in-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    flex: 0 0 20%;
    /* 5 items visible by default */
    min-width: 200px;
    /* Ensure cards don't get too small */
    scroll-snap-align: start;
}

/* Adjust card width for smaller screens */
@media (max-width: 1400px) {
    .new-in-card {
        flex: 0 0 25%;
        /* 4 items */
    }
}

@media (max-width: 1100px) {
    .new-in-card {
        flex: 0 0 33.333%;
        /* 3 items */
    }
}

@media (max-width: 768px) {
    .new-in-card {
        flex: 0 0 50%;
        /* 2 items */
    }
}

@media (max-width: 480px) {
    .new-in-card {
        flex: 0 0 70%;
        /* Almost full width with peek */
    }
}

.new-in-image-wrapper {
    position: relative;
    width: 100%;
    /* Aspect Ratio 3:5 for very tall look */
    padding-top: 150%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.new-in-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.new-in-card:hover .new-in-image {
    transform: scale(1.05);
}

.new-in-no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.new-in-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 15px;
    text-align: center;
    z-index: 2;
}

.new-in-content h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.new-in-price {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.new-in-card:hover .new-in-content h3,
.new-in-card:hover .new-in-price {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient overlay on hover to make text readable */
.new-in-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.new-in-card:hover .new-in-image-wrapper::after {
    opacity: 1;
}

/* ============================================
   POLICY PAGES
   ============================================ */
.container-narrow {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Page Banner */
.page-banner {
    position: relative;
    width: 100%;
    margin-top: -80px;
    /* Pull banner under header */
}

.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Overlay for text readability */
}

.page-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 800px;
}

.page-banner h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.banner-breadcrumb {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.banner-breadcrumb a {
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s;
}

.banner-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s;
}

.banner-breadcrumb a:hover {
    opacity: 1;
}

.banner-breadcrumb a:hover::after {
    width: 100%;
}

.banner-breadcrumb .separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsiveness for Policy Pages */
@media (max-width: 768px) {
    .page-banner {
        margin-top: -60px;
        /* Adjust for smaller header if needed */
        height: 200px !important;
        /* Slightly smaller on mobile */
    }

    .page-banner .banner-content {
        width: 95%;
    }

    .page-banner h1 {
        font-size: 28px;
        /* Smaller heading */
        margin-bottom: 10px;
    }

    .banner-breadcrumb {
        font-size: 11px;
        /* Smaller breadcrumb */
        margin-bottom: 10px;
    }

    .container-narrow {
        padding: 0 20px;
    }

    /* Ensure content is readable */
    .policy-content {
        font-size: 14px;
        line-height: 1.6;
    }
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Header with Banner */
.main-header.has-banner {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* position: relative; Removed to keep sticky behavior if needed, or use absolute if intended to overlay */
    position: sticky;
    z-index: 1000;
}

.main-header.has-banner .logo-text,
.main-header.has-banner .nav-link,
.main-header.has-banner .header-icon,
.main-header.has-banner .menu-toggle {
    color: #fff;
}

.main-header.has-banner .logo-image {
    filter: brightness(0) invert(1);
}

.main-header.has-banner .announcement-bar {
    background: rgba(0, 0, 0, 0.2) !important;
}

/* Scrolled State for Transparent Header */
.main-header.has-banner.scrolled {
    background: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.main-header.has-banner.scrolled .logo-text,
.main-header.has-banner.scrolled .nav-link,
.main-header.has-banner.scrolled .header-icon,
.main-header.has-banner.scrolled .menu-toggle {
    color: var(--text-black);
}

.main-header.has-banner.scrolled .logo-image {
    filter: none;
}

.policy-content {
    background-color: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.policy-content h2 {
    font-size: 24px;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-black);
}

.policy-content p {
    margin-bottom: var(--spacing-md);
    color: #444;
    line-height: 1.8;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    color: #444;
}

.policy-content li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

/* Responsive Policy Page */
@media (max-width: 768px) {
    .policy-content {
        padding: var(--spacing-lg);
    }
}

/* ============================================
   CATEGORY & PAGE HEADERS
   ============================================ */
.category-header {
    background-color: var(--bg-beige);
    padding: var(--spacing-3xl) 0;
    margin-bottom: var(--spacing-xl);
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centering content vertically and horizontally if needed */
    color: var(--text-black);
}

.category-header.has-banner {
    color: var(--bg-white);
}

.category-header.has-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.category-header .container {
    position: relative;
    z-index: 2;
    width: 100%;
    /* Ensure container takes width */
}

.category-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .category-header {
        padding: var(--spacing-xl) 0;
        min-height: 180px;
    }
}

.category-header.has-banner .category-title {
    color: var(--bg-white);
}

/* Specific breadcrumb style for headers */
.category-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--spacing-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    /* Default for no banner */
}

.category-header.has-banner .breadcrumb {
    color: var(--bg-white);
}

.category-header.has-banner .breadcrumb a,
.category-header.has-banner .breadcrumb span {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.9;
}

.category-header.has-banner .breadcrumb a:hover {
    text-decoration: underline;
}

.category-header.has-banner .product-count {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Social Links (Global) */
.footer-social-icons {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 0;
    padding: 0;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0;
}

.footer-social-link:hover {
    background: #fff;
    color: var(--primary-orange);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* Mobile Devices */
@media (max-width: 768px) {

    /* Header & Nav */
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-container {
        padding: 0 var(--spacing-md);
        height: 60px;
    }

    .logo-image {
        height: 35px;
    }

    .logo-text {
        font-size: 18px;
    }

    /* Grids */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-column h4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-column h4 img {
        margin: 0 0 10px 0 !important;
    }

    /* Footer Social Icons centering on mobile */
    .footer-social-icons {
        justify-content: center;
    }

    /* Typography */
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .section-title {
        margin-bottom: var(--spacing-lg);
    }

    /* Spacing */
    .section {
        padding: var(--spacing-xl) 0;
    }

    /* Filter Sidebar */
    .filter-sidebar {
        width: 300px;
    }

    /* Product Card adjustments for mobile */
    .product-card .btn {
        padding: 10px 15px;
        font-size: 13px;
    }

    .product-info {
        padding: 10px;
    }

    .product-name {
        font-size: 14px;
    }

    .price-current {
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Keep 2 cols for products usually better for e-com */
        gap: 8px;
    }

    .header-icons {
        gap: 10px;
    }

    .header-icon {
        padding: 5px;
    }
}

/* ============================================
   CONTACT PAGE - SPLIT CARD DESIGN
   ============================================ */
.contact-wrapper {
    background-color: #f8f9fa;
    padding: 60px 24px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Soft, premium shadow */
    max-width: 1400px;
    /* Wider card */
    margin: 0 auto;
    width: 100%;
}

/* Left Panel - Brand Side */
.contact-info-panel {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    /* Dark premium background */
    color: #fff;
    padding: 50px;
    flex: 0 0 50%;
    /* Flexible 50% width */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Decorative Circle */
.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 76, 28, 0.1);
    /* Primary orange with low opacity */
    border-radius: 50%;
}

.contact-info-header h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-info-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.contact-details {
    margin: 40px 0;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    /* Circle icon background */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.contact-detail-item:hover .contact-icon-wrapper {
    background: var(--primary-orange);
    color: #fff;
}

.contact-detail-text h4 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail-text p,
.contact-detail-text a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.contact-detail-text a:hover {
    color: var(--primary-orange);
}

.contact-social-links {
    display: flex;
    gap: 15px;
}

.contact-social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: #fff;
    color: var(--primary-orange);
    border-color: #fff;
}

/* Right Panel - Form Side */
.contact-form-panel {
    flex: 1;
    /* Takes remaining space */
    padding: 50px;
    background: #fff;
}

.contact-form-header h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-input-modern {
    width: 100%;
    padding: 14px 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.form-input-modern:focus {
    background: #fff;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 76, 28, 0.1);
    outline: none;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-card {
        flex-direction: column;
        max-width: 600px;
    }

    .contact-info-panel {
        flex: none;
        width: 100%;
        padding: 40px;
    }

    .contact-form-panel {
        width: 100%;
        padding: 40px;
    }
}

@media (max-width: 480px) {

    .contact-info-panel,
    .contact-form-panel {
        padding: 30px 20px;
    }
}