/* ============================================
   AMORE MODERN FASHION THEME
   A premium, minimalist fashion e-commerce design
   ============================================ */

/* ============================================
   1. CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Colors */
    --amore-primary: #1a1a1a;
    --amore-primary-light: #333333;
    --amore-primary-dark: #000000;

    /* Accent Colors */
    --amore-accent: #c9a86c;
    --amore-accent-light: #d4bc8e;
    --amore-accent-dark: #a88b4a;

    /* Neutral Colors */
    --amore-white: #ffffff;
    --amore-off-white: #fafafa;
    --amore-light-gray: #f5f5f5;
    --amore-gray: #e0e0e0;
    --amore-mid-gray: #9e9e9e;
    --amore-dark-gray: #616161;
    --amore-charcoal: #424242;

    /* Semantic Colors */
    --amore-success: #2e7d32;
    --amore-warning: #f57c00;
    --amore-error: #c62828;
    --amore-info: #1976d2;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-slower: 500ms ease;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ============================================
   2. BASE STYLES & RESETS
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--amore-primary);
    background-color: var(--amore-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Prevent horizontal overflow on all elements */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* Fix Bootstrap row negative margins causing overflow */
.row {
    margin-left: 0;
    margin-right: 0;
}

.container,
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    overflow-x: hidden;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: var(--amore-primary);
}

.display-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.subtitle {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amore-mid-gray);
}

.body-text {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--amore-dark-gray);
}

.small-text {
    font-size: var(--text-sm);
    color: var(--amore-mid-gray);
}

/* ============================================
   4. MODERN BUTTONS
   ============================================ */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-primary-modern {
    background-color: var(--amore-primary);
    color: var(--amore-white);
}

.btn-primary-modern:hover {
    background-color: var(--amore-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-modern {
    background-color: transparent;
    color: var(--amore-primary);
    border: 1px solid var(--amore-primary);
}

.btn-outline-modern:hover {
    background-color: var(--amore-primary);
    color: var(--amore-white);
}

.btn-accent-modern {
    background-color: var(--amore-accent);
    color: var(--amore-primary);
}

.btn-accent-modern:hover {
    background-color: var(--amore-accent-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--amore-primary);
    padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
    background-color: var(--amore-light-gray);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ============================================
   5. MODERN HEADER & NAVIGATION
   ============================================ */
.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.header-modern.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--amore-gray);
    box-shadow: var(--shadow-sm);
}

.header-modern.header-transparent {
    background: transparent;
    backdrop-filter: none;
}

.header-modern.header-transparent.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

.nav-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .nav-modern {
        padding: var(--space-4) var(--space-6);
    }
}

@media (min-width: 1200px) {
    .nav-modern {
        padding: var(--space-5) var(--space-12);
    }
}

.nav-brand {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--amore-primary);
    text-decoration: none;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-8);
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link-modern {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--amore-primary);
    text-decoration: none;
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--amore-primary);
    transition: width var(--transition-base);
}

.nav-link-modern:hover::after,
.nav-link-modern.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: var(--amore-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-action-btn:hover {
    background-color: var(--amore-light-gray);
}

.nav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    color: var(--amore-white);
    background-color: var(--amore-primary);
    border-radius: var(--radius-full);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--amore-primary);
    transition: all var(--transition-fast);
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero-modern {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: var(--space-4);
    width: 100%;
}

@media (min-width: 768px) {
    .hero-content {
        padding: var(--space-8);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 400;
    color: var(--amore-white);
    margin-bottom: var(--space-4);
    line-height: 1.1;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    .hero-title {
        margin-bottom: var(--space-6);
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background-color: var(--amore-white);
    color: var(--amore-primary);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

@media (min-width: 768px) {
    .hero-cta {
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-sm);
    }
}

/* Hero Slider Navigation */
.hero-nav {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 20;
}

.hero-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-nav-dot.active,
.hero-nav-dot:hover {
    background-color: var(--amore-white);
    transform: scale(1.2);
}

/* ============================================
   7. CATEGORY CARDS
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-3);
    padding: var(--space-8) var(--space-4);
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
        padding: var(--space-12) var(--space-6);
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-6);
        padding: var(--space-16) var(--space-6);
    }
}

.category-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.category-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.category-card:hover .category-card-image {
    transform: scale(1.08);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    transition: background var(--transition-base);
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 70%);
}

.category-card-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--amore-white);
    margin-bottom: var(--space-2);
}

.category-card-link {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amore-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.category-card:hover .category-card-link {
    opacity: 1;
    transform: translateY(0);
}

.category-card-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.category-card-link:hover::after {
    transform: translateX(4px);
}

/* ============================================
   8. PRODUCT CARDS
   ============================================ */
.products-section {
    padding: var(--space-8) var(--space-4);
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .products-section {
        padding: var(--space-16) var(--space-6);
    }
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header .subtitle {
    margin-bottom: var(--space-3);
}

.section-header .section-heading {
    margin-bottom: var(--space-6);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.category-tab {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--amore-mid-gray);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.category-tab:hover {
    color: var(--amore-primary);
}

.category-tab.active {
    color: var(--amore-primary);
    background-color: var(--amore-light-gray);
    border-color: var(--amore-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .products-grid {
        gap: var(--space-4);
    }
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-6);
    }
}

/* Product card mobile adjustments */
.product-card-info {
    padding: var(--space-3);
    text-align: center;
}

@media (min-width: 768px) {
    .product-card-info {
        padding: var(--space-4);
    }
}

.product-card-title {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--amore-primary);
    margin-bottom: var(--space-1);
    text-decoration: none;
    display: block;
    transition: color var(--transition-fast);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .product-card-title {
        font-size: var(--text-base);
        margin-bottom: var(--space-2);
        white-space: normal;
    }
}

.product-price-current {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--amore-primary);
}

@media (min-width: 768px) {
    .product-price-current {
        font-size: var(--text-base);
    }
}

/* Hide quick actions on mobile for better UX */
@media (max-width: 767px) {
    .product-card-wishlist {
        opacity: 1;
        width: 32px;
        height: 32px;
    }

    .quick-view-btn {
        display: none;
    }

    .product-card-actions {
        display: none;
    }
}

/* ============================================
   9. FEATURES/BENEFITS SECTION
   ============================================ */
.features-section {
    background-color: var(--amore-light-gray);
    padding: var(--space-8) var(--space-4);
}

@media (min-width: 768px) {
    .features-section {
        padding: var(--space-12) var(--space-6);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-6);
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-3);
}

@media (min-width: 768px) {
    .feature-item {
        padding: var(--space-4);
    }
}

.feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: var(--space-3);
    color: var(--amore-primary);
}

@media (min-width: 768px) {
    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-4);
    }
}

/* ============================================
   10. NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    background-color: var(--amore-primary);
    padding: var(--space-10) var(--space-4);
}

@media (min-width: 768px) {
    .newsletter-section {
        padding: var(--space-16) var(--space-6);
    }
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--amore-white);
    margin-bottom: var(--space-3);
}

@media (min-width: 768px) {
    .newsletter-title {
        font-size: var(--text-3xl);
        margin-bottom: var(--space-4);
    }
}

.newsletter-desc {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-8);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: var(--space-4);
    font-size: var(--text-base);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--amore-white);
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    border-color: var(--amore-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--amore-accent);
    color: var(--amore-primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-btn:hover {
    background-color: var(--amore-accent-light);
}

/* ============================================
   11. MODERN FOOTER
   ============================================ */
.footer-modern {
    background-color: var(--amore-off-white);
    padding: var(--space-10) var(--space-4) var(--space-6);
}

@media (min-width: 768px) {
    .footer-modern {
        padding: var(--space-16) var(--space-6) var(--space-8);
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-8);
        margin-bottom: var(--space-12);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    grid-column: span 1;
}

@media (min-width: 640px) {
    .footer-brand {
        grid-column: span 2;
    }
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--amore-primary);
    text-decoration: none;
    margin-bottom: var(--space-4);
    display: block;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-desc {
    font-size: var(--text-sm);
    color: var(--amore-dark-gray);
    margin-bottom: var(--space-6);
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--amore-white);
    border-radius: var(--radius-full);
    color: var(--amore-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background-color: var(--amore-primary);
    color: var(--amore-white);
}

.footer-column-title {
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amore-primary);
    margin-bottom: var(--space-4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--amore-dark-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--amore-primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-8);
    border-top: 1px solid var(--amore-gray);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--amore-mid-gray);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: var(--amore-mid-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--amore-primary);
}

/* ============================================
   12. ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar-modern {
    background-color: var(--amore-primary);
    color: var(--amore-white);
    padding: var(--space-3) var(--space-4);
    text-align: center;
    position: relative;
}

.announcement-text {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.announcement-text a {
    color: var(--amore-accent);
    text-decoration: underline;
    margin-left: var(--space-2);
}

.announcement-close {
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--amore-white);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.announcement-close:hover {
    opacity: 1;
}

/* ============================================
   13. UTILITY CLASSES
   ============================================ */
.container-modern {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.py-8 {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

.py-16 {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.px-4 {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.px-6 {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.hidden {
    display: none;
}

.block {
    display: block;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:block {
        display: block;
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:block {
        display: block;
    }
}

/* ============================================
   14. ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-fade-in {
    animation: fadeIn var(--transition-slow) ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp var(--transition-slow) ease-out;
}

.animate-slide-in-right {
    animation: slideInRight var(--transition-slow) ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================
   15. SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--amore-light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--amore-mid-gray);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--amore-dark-gray);
}

/* ============================================
   16. LOADING SKELETON
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--amore-light-gray) 25%, var(--amore-gray) 50%, var(--amore-light-gray) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1em;
    border-radius: var(--radius-sm);
}

.skeleton-image {
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
}

/* ============================================
   17. QUICK VIEW BUTTON
   ============================================ */
.quick-view-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3);
    background: rgba(26, 26, 26, 0.9);
    color: var(--amore-white);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--transition-base);
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: var(--amore-primary);
}

/* ============================================
   18. MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background: var(--amore-white);
    z-index: 100001;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--amore-gray);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: var(--space-4);
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--amore-light-gray);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--amore-primary);
    text-decoration: none;
}

/* ============================================
   19. SWIPER/CAROUSEL FIXES
   ============================================ */
.swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

/* ============================================
   20. FORM ELEMENTS - MOBILE
   ============================================ */
input,
select,
textarea {
    font-size: 16px;
    /* Prevents iOS zoom on focus */
    max-width: 100%;
}

.form-control,
.form-select {
    font-size: 16px;
}

/* ============================================
   21. TABLE RESPONSIVE
   ============================================ */
.table-responsive-modern {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ============================================
   22. BREADCRUMB - MOBILE
   ============================================ */
.breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-2);
}

.breadcrumb::-webkit-scrollbar {
    display: none;
}

.breadcrumb-item {
    flex-shrink: 0;
}

/* ============================================
   23. MODAL FIXES - MOBILE
   ============================================ */
@media (max-width: 767px) {
    .modal-dialog {
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    .modal-content {
        border-radius: 0;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .modal-body {
        padding: var(--space-4);
    }
}

/* ============================================
   24. PREVENT HORIZONTAL SCROLL HELPERS
   ============================================ */
.no-overflow {
    overflow-x: hidden;
    max-width: 100vw;
}

.w-full {
    width: 100%;
}

.max-w-full {
    max-width: 100%;
}

/* Fix common Bootstrap overflow issues */
[class*="col-"] {
    max-width: 100%;
}

.row>* {
    max-width: 100%;
}

/* ============================================
   25. SAFE AREA INSETS (for notched phones)
   ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
    .header-modern {
        padding-top: env(safe-area-inset-top);
    }

    .footer-modern {
        padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom));
    }

    .mobile-menu-panel {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}