/* =========================================
   DESIGN SYSTEM & VARIABLES
========================================= */
:root {
    /* Colors */
    --color-primary: #0066FF;
    /* Vibrant Blue */
    --color-primary-hover: #0052cc;
    --color-primary-light: #e6f0ff;

    --color-surface: #ffffff;
    --color-surface-alt: #f8f9fa;
    --color-background: #ffffff;

    --color-text-main: #111111;
    --color-text-muted: #666666;
    --color-text-light: #999999;

    --color-border: #eaeaea;
    --color-dark: #000000;

    --color-sale: #FF3B30;
    /* Red for discounts */

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --padding-section: 5rem;
    --container-max-width: 1280px;
}

/* =========================================
   RESET & BASE STYLES
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    background-color: var(--color-background);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: var(--padding-section) 5%;
}

/* =========================================
   TYPOGRAPHY
========================================= */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all var(--transition-normal);
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-text-main);
    background-color: var(--color-surface-alt);
}

.btn-dark {
    background-color: var(--color-dark);
    color: white;
}

.btn-dark:hover {
    background-color: #222;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--color-text-main);
    color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.announcement-bar {
    background-color: var(--color-dark);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    background-color: var(--color-text-main);
    color: white;
    font-weight: 700;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border-radius: 4px;
    /* Slight rounding for a premium 'FC' box */
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Nav Links */
.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

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

.nav-link.active {
    color: var(--color-text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

/* Icons */
.header-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.icon-btn {
    font-size: 1.2rem;
    color: var(--color-text-main);
    transition: color var(--transition-fast), transform var(--transition-fast);
    position: relative;
}

.icon-btn:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--color-text-main);
}

/* Search Drawer */
.search-drawer {
    display: none;
    /* Hidden by default, toggled via JS */
    background-color: var(--color-primary);
    padding: 1rem 5%;
}

.search-drawer.active {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.search-icon {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

#search-input {
    flex-grow: 1;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    outline: none;
    font-family: var(--font-family);
}

.close-search-btn {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.close-search-btn:hover {
    color: var(--color-sale);
}

/* =========================================
   MOBILE NAVIGATION
========================================= */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    /* Hidden by default */
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: left var(--transition-normal);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.mobile-nav-drawer.active {
    left: 0;
}

.close-mobile-nav {
    align-self: flex-end;
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 2rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-main);
    text-transform: uppercase;
}

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

.mobile-nav-footer {
    margin-top: auto;
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 5%;

    /* Premium dark image placeholder, ideally load from JS or update CSS */
    background-image: url('hero-shoe.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
}

.hero-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* =========================================
   CATEGORY SHOWCASE GRID
========================================= */
.category-showcase {
    background-color: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: white;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
}

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

.category-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.category-card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
}

.category-card-name {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.category-card-offer {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.category-card-cta {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.85;
    margin-top: 0.3rem;
}

/* "All Products" special card with gradient background */
.category-card-all {
    background: linear-gradient(135deg, var(--color-primary) 0%, #8b5cf6 50%, #ec4899 100%);
    justify-content: center;
    align-items: center;
}

.category-card-all .category-card-overlay {
    display: none;
}

.category-card-all .category-card-content {
    align-items: center;
    text-align: center;
}

.category-card-all .category-card-name {
    font-size: 1.2rem;
}

.category-card-all .category-card-offer {
    font-size: 1.8rem;
}

/* =========================================
   PRODUCT GRID
========================================= */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.product-link-overlay {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid transparent;
}

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

.product-img-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--color-surface-alt);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: #fff;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-img {
    transform: scale(1.05);
    /* Gentle zoom on hover */
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-sale);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    z-index: 2;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    /* Hidden initially */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    transition: bottom var(--transition-normal);
    z-index: 2;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.btn-card {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 0.6rem 0.3rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 6px rgba(0, 102, 255, 0.2);
}

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

.btn-whatsapp-card {
    background-color: #25D366;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-card:hover {
    background-color: #128C7E;
}

.btn-buynow-card {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.25);
}

.btn-buynow-card:hover {
    background: linear-gradient(135deg, #d97706, #dc2626);
}

.product-info {
    padding: 1.2rem 1rem;
}

.product-brand {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
    /* Truncate text */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.product-price {
    font-weight: 700;
    font-size: 1.1rem;
}

.product-price-original {
    color: var(--color-text-light);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.view-all-container {
    text-align: center;
    margin-top: 3rem;
}

/* =========================================
   FEATURED BANNER
========================================= */
.featured-banner {
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1522312346375-d1a52e2b99b3?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin: var(--padding-section) 0;
}

.featured-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.featured-content {
    position: relative;
    z-index: 2;
}

.featured-content h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.featured-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background-color: var(--color-dark);
    color: white;
    padding-top: var(--padding-section);
}

.footer-top {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.links-col ul li {
    margin-bottom: 0.8rem;
}

.links-col a,
.contact-info li {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.links-col a:hover {
    color: white;
    padding-left: 5px;
    /* Gentle nudge effect */
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.contact-info i {
    margin-top: 4px;
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

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

@media (max-width: 768px) {
    :root {
        --padding-section: 3rem;
    }

    .desktop-nav {
        display: none;
        /* Hide on mobile, needs mobile menu logic */
    }

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

    .hero-title {
        font-size: 3rem;
    }

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

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .category-card {
        aspect-ratio: 3 / 4;
    }

    .category-card-offer {
        font-size: 1.1rem;
    }

    .category-card-all .category-card-offer {
        font-size: 1.3rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* =========================================
   PRODUCT DETAILS PAGE
========================================= */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem 5%;
}

.pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-main-image-container {
    background-color: var(--color-surface-alt);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pd-main-image {
    width: 100%;
    max-width: 500px;
    mix-blend-mode: darken;
}

.pd-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pd-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 2px solid transparent;
    border-radius: 2px;
    padding: 0.5rem;
    background-color: var(--color-surface-alt);
    cursor: pointer;
    transition: var(--transition-fast);
}

.pd-thumbnail.active,
.pd-thumbnail:hover {
    border-color: var(--color-primary);
}

.pd-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: darken;
}

.pd-info {
    display: flex;
    flex-direction: column;
}

.pd-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    line-height: 1.2;
}

.pd-price-block {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pd-current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.pd-original-price {
    font-size: 1.2rem;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.pd-discount {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 500;
}

.pd-meta-row {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pd-in-stock {
    color: var(--color-primary);
}

.pd-wishlist-btn {
    color: var(--color-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pd-wishlist-btn:hover {
    text-decoration: underline;
}

.pd-separator {
    height: 1px;
    background-color: var(--color-border);
    margin-bottom: 2rem;
    width: 100%;
}

.pd-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pd-option-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.8rem;
}

.size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.size-btn {
    border: 1px solid var(--color-border);
    background-color: transparent;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--color-text-main);
    background-color: var(--color-text-main);
    color: white;
}

.pd-quantity-selector {
    display: flex;
    flex-direction: column;
}

.pd-qty-input {
    width: 60px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.pd-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pd-btn-full {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    justify-content: center;
    text-transform: uppercase;
}

.pd-btn-cart {
    background-color: var(--color-primary);
    color: white;
}

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

.pd-btn-buy {
    background-color: var(--color-dark);
    color: white;
}

.pd-btn-buy:hover {
    background-color: #222;
}


@media (max-width: 768px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pd-title {
        font-size: 1.8rem;
    }
}

/* =========================================
   CATEGORY HERO BANNERS
========================================= */
.category-hero {
    padding: 5rem 5% 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-hero-content {
    position: relative;
    z-index: 2;
}

.category-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.category-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto;
}

.category-hero-men {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d9488 100%);
}

.category-hero-women {
    background: linear-gradient(135deg, #4a1942 0%, #c94b8c 50%, #f472b6 100%);
}

.category-hero-all {
    background: linear-gradient(135deg, var(--color-primary) 0%, #8b5cf6 50%, #ec4899 100%);
}

@media (max-width: 768px) {
    .category-hero h1 {
        font-size: 2rem;
    }

    .category-hero p {
        font-size: 0.95rem;
    }

    .category-hero {
        padding: 3rem 5% 2.5rem;
    }
}

/* =========================================
   CHECKOUT PAGE
========================================= */
.checkout-page {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.checkout-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.checkout-title i {
    color: #28a745;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: start;
}

.checkout-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.checkout-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.checkout-card h2 i {
    color: var(--color-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* --- Order Summary Items --- */
.checkout-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border);
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.checkout-item-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.checkout-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* --- Totals --- */
.checkout-totals {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.checkout-grand-total {
    font-size: 1.15rem;
    font-weight: 800;
    border-top: 2px solid var(--color-primary);
    margin-top: 0.5rem;
    padding-top: 0.8rem;
}

.shipping-free {
    color: #28a745;
    font-weight: 700;
}

/* --- Payment Options --- */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 1rem 0 1.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.payment-option:hover {
    border-color: var(--color-text-muted);
}

.payment-option.active {
    border-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.02);
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-option-content div {
    display: flex;
    flex-direction: column;
}

.payment-option-content strong {
    font-size: 0.95rem;
}

.payment-option-content small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --- Place Order Button --- */
.checkout-place-order {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* --- Trust Badges --- */
.trust-badges {
    display: flex;
    justify-content: space-around;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.trust-badge i {
    font-size: 1.3rem;
    color: #28a745;
}

/* --- Order Success Modal --- */
.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.order-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.order-success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.order-modal-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.order-id {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

.order-detail-msg {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* =========================================
   ACCOUNT / PROFILE PAGE
========================================= */
.account-page {
    min-height: 70vh;
    max-width: 900px;
    margin: 0 auto;
}

/* --- Auth Card --- */
.auth-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 460px;
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
}

.auth-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.02);
}

.auth-form {
    padding: 2rem;
}

.auth-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.auth-subtitle {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    background: var(--color-surface);
    color: var(--color-text-main);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.auth-submit {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.auth-error {
    color: #dc3545;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    min-height: 1.2rem;
}

.auth-success {
    color: #28a745;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    min-height: 1.2rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.2rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    background: white;
    color: #333;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.google-btn:hover {
    background: #f8f9fa;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* --- Profile Section --- */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.profile-email {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.profile-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.profile-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.profile-card h3 i {
    color: var(--color-primary);
}

/* --- Quick Actions --- */
.quick-actions-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text-main);
    transition: background var(--transition-normal);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    width: 100%;
    text-align: left;
}

.quick-action-item:hover {
    background: var(--color-surface-alt);
}

.quick-action-item i:first-child {
    width: 20px;
    text-align: center;
    color: var(--color-text-muted);
}

.quick-action-item span {
    flex: 1;
}

.quick-action-item i:last-child {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.logout-action {
    color: #dc3545;
}

.logout-action i:first-child {
    color: #dc3545 !important;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   CART DRAWER
========================================= */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

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

.cart-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.close-cart-btn {
    font-size: 1.5rem;
    color: var(--color-text-main);
    transition: color var(--transition-fast);
}

.close-cart-btn:hover {
    color: var(--color-sale);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    background-color: var(--color-surface-alt);
}

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

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.cart-item-remove {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-decoration: underline;
}

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

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-surface-alt);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
}