/* ============================================
   WrapWale - Main Stylesheet
   Modern E-commerce Design
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #bf2f2f;
    --primary-dark: #9c2626;
    --secondary-color: #09609b;
    --text-color: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #f2f2f2;
    --bg-white: #ffffff;
    --bg-dark: #121212;
    --border-color: #e5e5e5;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-family: 'Barlow', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --header-height: 70px;
    --container-width: 1400px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background: var(--bg-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
}

.announcement-slider {
    display: flex;
    animation: slide 15s linear infinite;
}

.announcement-item {
    white-space: nowrap;
    padding: 0 50px;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    position: relative; /* Base for mega menu */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    position: relative; /* Alternative base if header isn't enough */
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
}
.footer .logo-text {
    color: var(--border-color);
}

.logo-accent {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-item.has-mega-menu {
    position: static;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    height: var(--header-height);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link i {
    font-size: 10px;
    transition: var(--transition);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-link-highlight {
    color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(10px);
    z-index: 1000;
    pointer-events: none;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; /* Optimized column widths */
    gap: 40px;
    padding: 0 40px;
}

.mega-menu-column {
    position: relative;
}

/* Add vertical dividers between columns */
.mega-menu-column:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.05), transparent);
}

.mega-menu-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-title i {
    color: var(--primary-color);
    font-size: 14px;
}

/* Standard List */
.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-list a {
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.2s ease;
    padding: 4px 0;
    display: inline-block;
    font-weight: 500;
}

.mega-menu-list a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.mega-menu-list.compact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 15px;
}

/* Grid Layout for Phone Skins */
.mega-menu-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mega-menu-grid-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mega-menu-grid-list a:hover {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.mega-menu-grid-list a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
    width: 100%;
}

.view-all-link:hover {
    color: var(--primary-color);
}

/* Promo Column */
.promo-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mega-menu-promo {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.mega-menu-promo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.mega-menu-promo-img {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.mega-menu-promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mega-menu-promo:hover .mega-menu-promo-img img {
    transform: scale(1.08);
}

.promo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.mega-menu-promo-content {
    padding: 18px;
    text-align: left;
}

.mega-menu-promo-content h5 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-color);
}

.mega-menu-promo-content p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.btn-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.collab-box {
    margin-top: auto;
    padding-top: 20px;
}

.collab-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.collab-links {
    display: flex;
    gap: 10px;
}

.collab-links a {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    background: #f1f3f5;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.collab-links a:hover {
    background: var(--text-color);
    color: #fff;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    min-width: 220px;
    padding: 15px 0;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-list a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-light);
}

.dropdown-list a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-action-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-color);
    border-radius: 50%;
    transition: var(--transition);
}

.header-action-btn:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.action-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Bar */
.search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-bar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-form {
    flex: 1;
    display: flex;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-submit {
    padding: 12px 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.search-close {
    width: 44px;
    height: 44px;
    font-size: 18px;
    color: var(--text-light);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.mobile-menu-search {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-search form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mobile-menu-search input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.mobile-menu-search button {
    padding: 12px 15px;
    background: var(--primary-color);
    color: #fff;
}

.mobile-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-nav-item.highlight .mobile-nav-link {
    color: var(--primary-color);
}

.mobile-submenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10;
    display: none;
    flex-direction: column;
}

.mobile-nav-item.open > .mobile-submenu {
    display: flex;
    animation: slideInRight 0.3s forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.mobile-submenu li {
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    font-size: 14px;
}

.submenu-back {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-color);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--primary-color);
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

.submenu-title {
    display: block !important;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 16px;
    background: var(--bg-white);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-action-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    background: var(--bg-color);
    border-radius: var(--radius-md);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-md);
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1200;
    transform: translateX(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-drawer-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.cart-item-count {
    font-weight: 400;
    color: var(--text-light);
}

.cart-drawer-close {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-muted);
}

.cart-empty h4 {
    margin-bottom: 10px;
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.cart-item-variant {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-value {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 14px;
}

.cart-item-remove:hover {
    color: var(--danger-color);
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.promo-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.promo-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
}

.promo-btn {
    padding: 10px 20px;
    background: var(--text-color);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.cart-totals {
    margin-bottom: 20px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.cart-total-row.total-row {
    font-size: 18px;
    font-weight: 700;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 10px;
}

.cart-discount {
    color: var(--success-color);
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-actions .btn {
    flex: 1;
}

.cart-note {
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
}

.cart-note i {
    color: var(--success-color);
    margin-right: 5px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--text-color);
    color: #fff;
}

.btn-secondary:hover {
    background: #333;
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-outline:hover {
    background: var(--text-color);
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-section {
    background: var(--bg-white);
}

.hero-slider {
    position: relative;
}

.hero-slide {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    color: #fff;
}

.hero-slide-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.hero-slide-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-slide-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
    opacity: 0.9;
}

/* Progress Pagination */
.hero-progress-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.progress-dot {
    width: 36px;
    height: 36px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.progress-dot:hover {
    transform: scale(1.1);
}

.progress-dot svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-dot .progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 3;
}

.progress-dot .progress-bar {
    fill: none;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 3;
    stroke-dasharray: 100.53;
    stroke-dashoffset: 100.53;
    stroke-linecap: round;
}

.progress-dot.active .progress-bar {
    stroke: #fff;
}

.progress-dot.completed .progress-bar {
    stroke: var(--primary-color);
    stroke-dashoffset: 0;
}

.progress-dot .dot-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.progress-dot.active .dot-number,
.progress-dot.completed .dot-number {
    color: #fff;
}

@keyframes progressFill {
    from {
        stroke-dashoffset: 100.53;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    white-space: nowrap;
    padding: 0 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-item i {
    margin-right: 10px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 60px 0;
    overflow: hidden; /* Prevent overflow */
    max-width: 100vw; /* Ensure it fits viewport */
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
}

.section-bg-white {
    background: var(--bg-white);
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.category-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-card-image img {
    transform: scale(1.1);
}

.category-card-content {
    padding: 20px;
    text-align: center;
}

.category-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.category-card-count {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.badge-new {
    background: var(--secondary-color);
    color: #fff;
}

.badge-sale {
    background: var(--primary-color);
    color: #fff;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.action-btn.wishlist-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.action-btn.wishlist-btn.active i {
    color: #fff;
}

.add-to-cart-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    transform: translateY(100%);
    transition: var(--transition);
}

.product-card:hover .add-to-cart-btn {
    transform: translateY(0);
}

.add-to-cart-btn:hover {
    background: var(--primary-color);
}

.product-info {
    padding: 20px;
}

.product-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-title:hover {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
    font-size: 12px;
}

.review-count {
    font-size: 12px;
    color: var(--text-light);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ============================================
   PRODUCTS SLIDER
   ============================================ */
.products-slider {
    padding: 0 40px;
}

.products-slider .swiper-button-prev,
.products-slider .swiper-button-next {
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.products-slider .swiper-button-prev::after,
.products-slider .swiper-button-next::after {
    font-size: 16px;
    color: var(--text-color);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    background: var(--bg-white);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   BANNER SECTION
   ============================================ */
.banner-section {
    padding: 40px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.banner-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
}

.banner-card-image {
    position: absolute;
    inset: 0;
}

.banner-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.banner-card-content {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    color: #fff;
}

.banner-card-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.banner-card-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: #fdfdfd;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-about {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-payment {
    margin-top: 25px;
}

.footer-payment h5 {
    font-size: 14px;
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 24px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-legal a:hover {
    color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-column:first-child {
        grid-column: span 3;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-slide {
        height: 400px;
    }

    .hero-slide-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero-slide {
        height: 350px;
    }

    .hero-slide-title {
        font-size: 28px;
    }

    .hero-slide-text {
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .banner-card {
        height: 250px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column:first-child {
        grid-column: span 2;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cart-drawer {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 13px;
    }

    .price-current {
        font-size: 16px;
    }

    .categories-grid {
        gap: 15px;
    }

    .category-card-content {
        padding: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column:first-child {
        grid-column: span 1;
    }
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-color);
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-white);
    width: 500px;
    max-width: 90vw;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    font-size: 20px;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: 20px;
}


/* ============================================
   MODERN HOME PAGE STYLES (REVISED)
   ============================================ */

/* Hero Section Base */
.modern-hero {
    position: relative;
    height: 650px;
    overflow: hidden;
    background: #f8f9fa;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(#e5e5e5 1px, transparent 1px),
        radial-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.5;
    z-index: 0;
}

/* Split Layout */
.hero-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 40px;
}

/* Text Column */
.hero-content {
    max-width: 600px;
    padding-left: 20px;
}

.hero-badge-wrapper {
    margin-bottom: 25px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(191, 47, 47, 0.1);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
}

.hero-badge.badge-dark {
    background: #1a1a1a;
    color: #fff;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-color);
    letter-spacing: -1px;
}

.hero-title .text-stroke {
    -webkit-text-stroke: 2px var(--text-color);
    color: transparent;
}

.hero-title .text-highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 480px;
}

/* Hero Buttons */
.hero-cta {
    display: flex;
    gap: 15px;
}

.btn-hero {
    padding: 15px 35px;
    font-size: 16px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(191, 47, 47, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(191, 47, 47, 0.3);
}

.btn-hero-secondary {
    padding: 15px 35px;
    font-size: 16px;
    border: 2px solid #e5e5e5;
    color: var(--text-color);
    border-radius: 50px;
    font-weight: 600;
}

.btn-hero-secondary:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.btn-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Visual Column */
.hero-visual-col {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fcebeb 0%, #fff 100%);
    border-radius: 50%;
    z-index: 0;
    transform: scale(0.9);
}

.visual-backdrop.backdrop-secondary {
    background: linear-gradient(135deg, #ebf5fc 0%, #fff 100%);
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 120%;
    max-width: 650px;
    transform: rotate(-10deg) translateX(20px);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    transition: transform 0.5s ease;
}

.swiper-slide-active .hero-image {
    animation: floatImage 6s ease-in-out infinite;
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,0.05);
}

.float-card i {
    color: var(--success-color);
    font-size: 18px;
}

.card-1 {
    top: 20%;
    left: -20px;
}

.card-2 {
    bottom: 25%;
    right: 0;
}

/* Animations */
@keyframes floatImage {
    0%, 100% { transform: rotate(-10deg) translateY(0); }
    50% { transform: rotate(-8deg) translateY(-20px); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,0,0,0.1); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0,0,0,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

.animate-slide-right {
    opacity: 0;
    animation: slideRight 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Navigation & Pagination */
.hero-nav-buttons {
    position: absolute;
    bottom: 40px;
    left: 80px; /* Aligned with content */
    z-index: 10;
    display: flex;
    gap: 15px;
}

.hero-nav-prev, .hero-nav-next {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
    position: static; /* Override default absolute */
    transform: none;
}

.hero-nav-prev:hover, .hero-nav-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(191, 47, 47, 0.3);
}

.hero-pagination-wrapper {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-pagination {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 5px 0;
    transition: all 0.3s;
}

.hero-pagination .swiper-pagination-bullet-active {
    height: 25px;
    background: var(--primary-color);
    border-radius: 10px;
}

/* Modern Categories Grid (Keep from previous) */
.categories-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.modern-cat-card {
    position: relative;
    padding: 30px;
    border-radius: 15px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 180px;
    display: flex;
    align-items: flex-end;
}

.modern-cat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.cat-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.cat-icon {
    font-size: 32px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.modern-cat-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.cat-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: inline-block;
}

.modern-cat-card:hover .cat-link {
    opacity: 1;
    transform: translateX(0);
}

.cat-pattern {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.1;
    z-index: 1;
    transform: rotate(-15deg);
    transition: transform 0.3s ease;
}

.modern-cat-card:hover .cat-pattern {
    transform: rotate(0deg) scale(1.1);
}

/* Collection Layout */
.collection-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}

.collection-slider {
    min-width: 0; /* CRITICAL for Swiper inside CSS Grid */
}

.swiper {
    width: 100%;
    max-width: 100%;
}

.swiper-wrapper {
    box-sizing: border-box;
}

.collection-info .sub-title {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.collection-info .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.collection-info .description {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Promotional Banner */
.promo-banner-section {
    padding: 80px 0;
}

.promo-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.promo-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.promo-tag {
    background: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.promo-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.promo-content p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 450px;
}

.promo-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.promo-image img {
    max-height: 300px;
    transform: rotate(-15deg);
    transition: transform 0.5s ease;
}

.promo-banner:hover .promo-image img {
    transform: rotate(0deg) scale(1.05);
}

/* Features Section Modern */
.features-section-modern {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: transparent;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(191, 47, 47, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-box:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
}

.feature-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Center Aligned Headers */
.section-header.center-aligned {
    text-align: center;
    margin-bottom: 50px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-title { font-size: 52px; }
}

@media (max-width: 992px) {
    .modern-hero { height: auto; min-height: 700px; padding: 40px 0; }
    .hero-split-layout { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-content { padding-left: 0; max-width: 100%; margin: 0 auto; }
    .hero-cta { justify-content: center; }
    .hero-visual-wrapper { margin: 0 auto; }
    .hero-pagination-wrapper { right: 20px; }
    .hero-nav-buttons { left: 50%; transform: translateX(-50%); bottom: 10px; }
    .float-card { display: none; }
    
    .collection-layout { grid-template-columns: 1fr; text-align: center; }
    .categories-modern-grid { grid-template-columns: repeat(2, 1fr); }
    .features-wrapper { grid-template-columns: repeat(2, 1fr); }
    .promo-banner { grid-template-columns: 1fr; text-align: center; }
    .promo-content p { margin: 0 auto 30px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 36px; }
    .categories-modern-grid { grid-template-columns: 1fr; }
    .features-wrapper { grid-template-columns: 1fr; }
    .promo-banner { padding: 30px; }
    .promo-content h2 { font-size: 28px; }
}


/* Fix for Hero Image Overflow on Mobile */
@media (max-width: 992px) {
    .hero-image {
        width: 100%; /* Reset from 120% */
        max-width: 100%;
        transform: none; /* Remove transform that might push it out */
    }
    .hero-visual-col {
        overflow: hidden; /* Ensure clipping */
    }
}

/* Fix for Products Slider Overflow on Mobile */
@media (max-width: 576px) {
    .products-slider {
        padding: 0; /* Remove side padding */
    }
    .products-slider .swiper-button-prev,
    .products-slider .swiper-button-next {
        display: none; /* Hide nav buttons on mobile if space is tight */
    }
}


/* ============================================
   DESIGN SYSTEM OVERRIDES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #E31E24; /* Brand Red */
    --primary-dark: #c0151a;
    --secondary-color: #1A1A1A; /* Deep Black/Grey */
    --text-color: #1A1A1A;
    --text-light: #666666;
    --bg-color: #f8f9fa;
    --bg-white: #FFFFFF; /* Clean White */
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
}

/* Category Glassmorphism */
.categories-glass-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.glass-cat-card {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.glass-cat-card:hover {
    transform: translateY(-5px);
}

.cat-bg-image {
    position: absolute;
    inset: 0;
}

.cat-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.glass-cat-card:hover .cat-bg-image img {
    transform: scale(1.1);
}

.cat-glass-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.cat-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cat-count {
    font-size: 12px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.cat-arrow {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.glass-cat-card:hover .cat-arrow {
    transform: translateX(0);
    opacity: 1;
}

/* Product Card Redesign */
.product-card {
    border: none;
    box-shadow: none;
    padding: 15px; /* More padding */
    transition: all 0.3s ease;
    border-radius: 12px;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); /* Lifted effect */
}

.product-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 1 / 1; /* Consistent aspect ratio */
}

.product-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-info {
    text-align: left; /* Left align */
    padding: 0;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.product-rating-row {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.stars {
    font-size: 12px;
    color: #FFC107;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Customization Section */
.custom-design-section {
    background: #000;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.custom-design-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.custom-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.custom-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.custom-design-content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.custom-actions {
    display: flex;
    gap: 20px;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
}

.btn-outline-white:hover {
    background: #fff;
    color: #000;
}

.design-preview-card {
    position: relative;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.preview-img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.upload-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-indicator:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: var(--primary-color);
}

/* Features Minimal */
.features-section-minimal {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.features-minimal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-minimal {
    text-align: left;
}

.icon-minimal {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-minimal h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.feature-minimal p {
    font-size: 14px;
    color: var(--text-light);
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .categories-glass-grid { grid-template-columns: repeat(2, 1fr); }
    .custom-design-wrapper { grid-template-columns: 1fr; text-align: center; }
    .custom-design-content p { margin: 0 auto 30px; }
    .custom-actions { justify-content: center; }
}

@media (max-width: 576px) {
    .categories-glass-grid { grid-template-columns: 1fr; }
    .features-minimal-grid { grid-template-columns: 1fr; gap: 40px; }
    .custom-title { font-size: 36px; }
}

