/* ============================================
   Uladyu Brand Redesign - Main Stylesheet
   ============================================ */

/* ============================================
   Google Fonts Import
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */

:root {
    /* Color Palette */
    --white: #FFFFFF;
    --charcoal-black: #111111;
    --warm-taupe: #111111;

    /* Primary Background Colors */
    --primary-bg: #F5F3EF;
    --card-bg: #FFFFFF;

    /* Text Colors */
    --text-primary: #111111;
    --text-secondary: #6A6A6A;

    /* Accent Colors */
    --accent-primary: #111111;

    /* Spacing Tokens */
    --spacing-xs: 16px;
    --spacing-sm: 24px;
    --spacing-md: 40px;
    --spacing-lg: 120px;

    /* Border Radius Tokens */
    --radius-sharp: 2px;
    --radius-soft: 4px;
    --radius-pill: 30px;

    /* Typography Tokens */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;

    /* Shadow Tokens */
    --shadow-soft: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
}

/* ============================================
   UNIVERSAL IMAGE AUTO-FIT RULES
   Works on ALL devices, ALL servers, ALL images
   ============================================ */

/* Base image reset - ensures all images behave consistently */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
    -ms-interpolation-mode: bicubic;
    /* IE smooth scaling */
}

/* Universal container-based image fitting */
[class*="image"],
[class*="-image"],
[class*="img"],
.image-container,
.img-container {
    position: relative;
    overflow: hidden;
    display: block;
}

[class*="image"] img,
[class*="-image"] img,
[class*="img"] img,
.image-container img,
.img-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Specific fitting modes */
.image-contain img,
.img-contain img {
    object-fit: contain !important;
}

.image-fill img,
.img-fill img {
    object-fit: fill !important;
}

.image-scale-down img,
.img-scale-down img {
    object-fit: scale-down !important;
}

/* Position variants */
.image-top img {
    object-position: top !important;
}

.image-bottom img {
    object-position: bottom !important;
}

.image-left img {
    object-position: left !important;
}

.image-right img {
    object-position: right !important;
}

.image-center img {
    object-position: center !important;
}

/* Aspect ratio containers - auto-fit any image */
.aspect-ratio-16-9 {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    overflow: hidden;
}

.aspect-ratio-4-3 {
    position: relative;
    padding-bottom: 75%;
    /* 4:3 */
    overflow: hidden;
}

.aspect-ratio-1-1 {
    position: relative;
    padding-bottom: 100%;
    /* 1:1 Square */
    overflow: hidden;
}

.aspect-ratio-16-9 img,
.aspect-ratio-4-3 img,
.aspect-ratio-1-1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive image loading — browser handles native lazy loading */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* ============================================
   CSS Reset and Base Styles
   ============================================ */

/* Reset margins, paddings, and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

/* Base body styles */
body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reset list styles */
ul,
ol {
    list-style: none;
}

/* Reset link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Reset button styles */
button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

/* Reset input styles */
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Reset image styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reset table styles */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ============================================
   Typography System
   ============================================ */

/* Heading Styles - Playfair Display */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

/* Hero Headings (h1) - Desktop */
h1 {
    font-size: 4rem;
    /* 64px */
    letter-spacing: 0.02em;
}

/* Section Headings (h2) */
h2 {
    font-size: 2.25rem;
    /* 36px */
    letter-spacing: 0.02em;
}

/* Product Titles (h3) */
h3 {
    font-size: 1.125rem;
    /* 18px */
    letter-spacing: 0.02em;
}

/* Smaller Headings */
h4 {
    font-size: 1rem;
    /* 16px */
    letter-spacing: 0.02em;
}

h5 {
    font-size: 0.875rem;
    /* 14px */
    letter-spacing: 0.02em;
}

h6 {
    font-size: 0.75rem;
    /* 12px */
    letter-spacing: 0.02em;
}

/* Body Text Styles - Inter */
body,
p,
div,
span,
li,
td,
th {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    line-height: 1.6;
}

/* Labels and Metadata - Inter */
label,
.label,
.meta,
small,
.small-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    line-height: 1.5;
}

/* Button Text - Inter */
button,
.button,
.btn {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Input Text - Inter */
input,
textarea,
select {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    line-height: 1.5;
}

/* ============================================
   Responsive Typography - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Hero Headings - Mobile */
    h1 {
        font-size: 2.5rem;
        /* 40px */
    }

    /* Section Headings - Mobile */
    h2 {
        font-size: 1.75rem;
        /* 28px */
    }

    /* Product Titles - Mobile */
    h3 {
        font-size: 1rem;
        /* 16px */
    }
}

/* ============================================
   Navigation Bar Component
   ============================================ */

/* Navigation Container */
.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.nav-container {
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    align-items: center;
    position: relative;
}

/* Left side: Hamburger + Logo */
/* Hamburger styles are consolidated below in the Hamburger Menu section */

/* Logo Styling - stays on left with hamburger */
.nav-logo {
    flex-shrink: 0;
    margin-right: auto;
    /* Push everything else to the right */
}

.nav-logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
}

.nav-logo a {
    color: var(--text-primary);
    transition: color 0.2s ease;
}

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

/* Navigation Links - Absolutely centered on the page */
.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.nav-menu li {
    list-style: none;
}

/* Hide mobile-only items on desktop */
.mobile-only,
.mobile-only-divider {
    display: none;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

/* Hover Effect with Underline Animation */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:active {
    opacity: 0.8;
}

.nav-menu a.active {
    color: var(--accent-primary);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Navigation Icons - Right Side */
.nav-icons {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
    margin-left: auto;
    /* Push to the right */
}

.nav-icons i {
    font-size: 1.125rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-icons i:hover {
    color: var(--accent-primary);
}

.nav-icons i:active {
    color: var(--accent-primary);
    transform: scale(0.95);
}

/* Hide search icon */
.nav-icons .fa-search {
    display: none;
}

/* Cart and Wishlist Icon Links */
.cart-icon-link,
.wishlist-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.cart-icon-link:hover,
.wishlist-icon-link:hover {
    color: var(--accent-primary);
}

.cart-icon-link:active,
.wishlist-icon-link:active {
    color: var(--accent-primary);
    transform: scale(0.95);
}

.cart-count,
.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-primary);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    min-width: 18px;
    text-align: center;
}

/* User Account Dropdown */
.user-account-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    background-color: var(--white);
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-radius: 4px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2000;
}

.user-account-wrapper:hover .user-dropdown,
.user-account-wrapper.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-bottom: 1px solid #E8E8E8;
}

.dropdown-menu {
    padding: 8px 0;
}

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

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: background-color 0.2s ease, color 0.2s ease;
}

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

.dropdown-menu a:active {
    background-color: var(--accent-primary);
    color: var(--white);
}

.dropdown-menu i {
    font-size: 1rem;
    width: 20px;
}

/* Hamburger Menu - Visible on all screens to trigger sidebar */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    margin-right: 16px;
    order: -1;
    /* Place it first in the nav */
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background-color: var(--accent-primary);
}

.hamburger:active span {
    background-color: var(--accent-primary);
    transform: scaleX(0.9);
}

/* ============================================
   Responsive Navigation - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Adjust navbar height for mobile */
    .navbar {
        height: 60px;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
        order: 1;
    }

    /* Logo centered on mobile */
    .nav-logo {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-logo h1 {
        font-size: 1.5rem;
    }

    /* Icons on right */
    .nav-icons {
        order: 3;
        gap: var(--spacing-xs);
    }

    .nav-icons i {
        font-size: 1rem;
    }

    /* Hide navigation menu by default on mobile */
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-md) var(--spacing-sm);
        gap: var(--spacing-sm);
        transform: none;
        transition: left 0.3s ease;
        box-shadow: 2px 0 8px var(--shadow-soft);
    }

    /* Show menu when active */
    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid #E8E8E8;
    }

    .nav-menu a i {
        font-size: 1.125rem;
        width: 24px;
        color: var(--accent-primary);
    }

    /* Mobile-only menu items */
    .mobile-only {
        display: block !important;
    }

    .mobile-only-divider {
        height: 1px;
        background: #E8E8E8;
        margin: 16px 0;
        display: block !important;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid #E8E8E8;
    }

    /* Adjust underline animation for mobile */
    .nav-menu a::after {
        bottom: 12px;
    }

    /* Hamburger animation when active */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {
    .nav-menu {
        gap: var(--spacing-sm);
    }

    .nav-menu a {
        font-size: 0.8rem;
    }
}

/* ============================================
   Button Components
   ============================================ */

/* Primary Button Styles */
.cta-button,
.add-to-cart,
.shop-btn {
    background-color: var(--white);
    color: var(--text-primary);
    border: 1.5px solid var(--text-primary);
    border-radius: var(--radius-pill);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

/* Hover Effects */
.cta-button:hover,
.add-to-cart:hover,
.shop-btn:hover {
    background-color: var(--accent-primary);
    color: var(--white);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

/* Active/Click State */
.cta-button:active,
.add-to-cart:active,
.shop-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Focus State for Accessibility */
.cta-button:focus,
.add-to-cart:focus,
.shop-btn:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Disabled State */
.cta-button:disabled,
.add-to-cart:disabled,
.shop-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   Responsive Button Styles - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Full width buttons on mobile */
    .cta-button,
    .add-to-cart,
    .shop-btn {
        width: 100%;
        padding: 16px 24px;
    }
}

/* ============================================
   Product Card Component
   ============================================ */

/* Product Card Container */
.product-card {
    background: #FFFFFF;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: var(--radius-sharp);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 350px;
    width: 100%;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

/* Product Card Hover Effect - Lift */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
    border-color: rgba(17, 17, 17, 0.16);
}

.product-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-soft);
}

/* Product Image Container (div) - Portrait 4:5 Ratio — Matches 1080x1350 Photography */
.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: transparent;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

/* Product Inner Images */
.product-image img,
.product-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    display: block;
}

/* Main image fades out on hover (when hover-img exists) */
.product-image img.main-img,
.product-image a img.main-img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

/* Hover image — hidden by default, shown on card hover */
.product-image img.hover-img,
.product-image a img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    object-fit: cover;
    object-position: center top;
}



/* Product Info Section */
.product-info {
    padding: var(--spacing-xs);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Product Title */
.product-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    /* 18px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Product Price and Wishlist Row */
.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

/* Product Price */
.product-price {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
    color: var(--text-primary);
}

/* Wishlist Button in Product Card */
.product-wishlist-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 4px;
}

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

.product-wishlist-btn:active {
    color: var(--accent-primary);
    transform: scale(1.05);
}

.product-wishlist-btn.active {
    color: var(--accent-primary);
}

/* Add to Cart Button in Product Card */
.product-card .add-to-cart {
    width: 100%;
    padding: 16px 36px;
    font-size: 0.75rem;
    margin-top: auto;
}

/* Product Badge (New, Sale, etc.) */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent-primary);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.625rem;
    /* 10px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: var(--radius-sharp);
    z-index: 10;
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

/* ============================================
   Responsive Product Card - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Adjust image container for mobile — keep aspect-ratio, no fixed height override */
    .product-image {
        aspect-ratio: 4 / 5;
        height: auto !important;
    }

    /* Adjust product grid for mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    /* Smaller product title on mobile */
    .product-title {
        font-size: 1rem;
        /* 16px */
    }

    /* Smaller price on mobile */
    .product-price {
        font-size: 0.875rem;
        /* 14px */
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Desktop adjustments */
@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-md);
    }
}

/* ============================================
   Collection Card Component
   ============================================ */

/* Collection Card Container */
.collection-card {
    background-color: var(--card-bg);
    border: none;
    border-radius: 0;
    /* Sharp corners for modern aesthetic */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Collection Card Hover Effect - Lift */
.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-soft);
}

.collection-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-soft);
}

/* Collection Image Container — 3:4 Portrait Ratio (universal standard) */
.collection-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #F5F3EF;
}

/* Collection Image — matches product card 3:4 portrait */
.collection-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    display: block;
}

/* Image Scale on Hover */
.collection-card:hover .collection-image {
    transform: scale(1.05);
}

/* Collection Info Section */
.collection-info {
    padding: var(--spacing-sm);
    /* 24px padding for consistent spacing */
}

/* Collection Title */
.collection-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* 24px - larger than product titles */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px spacing */
    line-height: 1.3;
}

/* Collection Description */
.collection-description {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
    /* 16px spacing */
}

/* Collection Item Count */
.collection-item-count {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
    /* 16px spacing */
}

/* Shop Collection Button */
.collection-card .shop-btn {
    width: 100%;
    padding: 16px 36px;
    font-size: 0.75rem;
    margin-top: 8px;
}

/* Collection Grid Layout */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
    /* 40px gap */
    padding: var(--spacing-md) 0;
}

/* Collection Overlay (Optional) */
.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: var(--spacing-sm);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-card:hover .collection-overlay {
    opacity: 1;
}

.collection-overlay-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

/* ============================================
   Responsive Collection Card - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Adjust image container height for mobile */
    .collection-image-container {
        height: 240px;
    }

    /* Adjust collection grid for mobile */
    .collection-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        /* 24px gap on mobile */
    }

    /* Smaller collection title on mobile */
    .collection-title {
        font-size: 1.25rem;
        /* 20px */
    }

    /* Adjust padding on mobile */
    .collection-info {
        padding: var(--spacing-xs);
        /* 16px padding */
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Desktop adjustments */
@media (min-width: 1200px) {
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        /* 40px gap */
    }
}

/* ============================================
   Form Components - Input Fields
   ============================================ */

/* Input Field Base Styles */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="search"],
textarea,
select {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px - prevents mobile zoom */
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--white);
    border: 1.5px solid var(--text-primary);
    border-radius: 0;
    /* Sharp corners for modern aesthetic */
    padding: 12px 16px;
    width: 100%;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Textarea Specific Styles */
textarea {
    min-height: 120px;
    resize: vertical;
}

/* Select Specific Styles */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111111' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 40px;
    cursor: pointer;
}

/* Focus State */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

/* Hover State */
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
input[type="url"]:hover,
input[type="search"]:hover,
textarea:hover,
select:hover {
    border-color: var(--accent-primary);
}

/* Disabled State */
input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="password"]:disabled,
input[type="tel"]:disabled,
input[type="number"]:disabled,
input[type="url"]:disabled,
input[type="search"]:disabled,
textarea:disabled,
select:disabled {
    background-color: #F5F5F5;
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Placeholder Styles */
input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Input with Icon Container */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon input {
    padding-left: 44px;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Input Group (for inline labels or buttons) */
.input-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.input-group input {
    flex: 1;
}

.input-group button {
    flex-shrink: 0;
}

/* Checkbox and Radio Styles - SIMPLIFIED AND WORKING */
input[type="checkbox"],
input[type="radio"] {
    /* Reset all custom styling */
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;

    /* Basic sizing */
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;

    /* Make it clickable */
    cursor: pointer !important;
    pointer-events: auto !important;

    /* Brand color */
    accent-color: #111111 !important;

    /* Positioning */
    position: relative !important;
    margin: 0 !important;
    flex-shrink: 0 !important;

    /* Remove any blocking elements */
    z-index: 999 !important;
}

/* Remove all custom checkbox styling that might interfere */
input[type="checkbox"]::before,
input[type="checkbox"]::after,
input[type="radio"]::before,
input[type="radio"]::after {
    display: none !important;
}

/* Simple label styling */
.checkbox-label,
.radio-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    user-select: none !important;
}

.checkbox-label span,
.radio-label span {
    cursor: pointer !important;
}

/* ============================================
   Form Components - Labels and Validation
   ============================================ */

/* Form Group Container */
.form-group {
    margin-bottom: var(--spacing-sm);
    /* 24px spacing between form groups */
}

/* Form Label Styles */
label,
.form-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    /* Semibold */
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Required Field Indicator */
label.required::after,
.form-label.required::after {
    content: ' *';
    color: #D32F2F;
    /* Red for required indicator */
}

/* Optional Field Indicator */
label .optional,
.form-label .optional {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-left: 4px;
}

/* Form Validation Messages */
.validation-message,
.error-message,
.success-message,
.info-message {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    line-height: 1.5;
    margin-top: 6px;
    display: block;
}

/* Error Message - Red */
.validation-message.error,
.error-message {
    color: #D32F2F;
    /* Red for errors */
}

/* Success Message - Green */
.validation-message.success,
.success-message {
    color: #388E3C;
    /* Green for success */
}

/* Info Message - Blue */
.validation-message.info,
.info-message {
    color: #1976D2;
    /* Blue for info */
}

/* Warning Message - Orange */
.validation-message.warning {
    color: #F57C00;
    /* Orange for warnings */
}

/* Input Error State */
input.error,
textarea.error,
select.error {
    border-color: #D32F2F;
}

input.error:focus,
textarea.error:focus,
select.error:focus {
    border-color: #D32F2F;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Input Success State */
input.success,
textarea.success,
select.success {
    border-color: #388E3C;
}

input.success:focus,
textarea.success:focus,
select.success:focus {
    border-color: #388E3C;
    box-shadow: 0 0 0 3px rgba(56, 142, 60, 0.1);
}

/* Form Helper Text */
.form-helper-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 6px;
    display: block;
    line-height: 1.5;
}

/* Form Section Heading */
.form-section-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    /* 20px */
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
    padding-bottom: 8px;
    border-bottom: 1px solid #E8E8E8;
}

/* Form Row (for inline form fields) */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xs);
    /* 16px gap */
}

/* Form Actions (buttons container) */
.form-actions {
    display: flex;
    gap: var(--spacing-xs);
    /* 16px gap */
    margin-top: var(--spacing-sm);
    /* 24px top margin */
    justify-content: flex-start;
}

.form-actions.centered {
    justify-content: center;
}

.form-actions.right {
    justify-content: flex-end;
}

/* ============================================
   Responsive Form Styles - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Stack form rows on mobile */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Full width form actions on mobile */
    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
    }

    /* Adjust label size on mobile */
    label,
    .form-label {
        font-size: 0.8125rem;
        /* 13px */
    }
}

/* ============================================
   Authentication Pages (Signin/Signup)
   ============================================ */

.auth-section {
    min-height: calc(100vh - 80px);
    padding: 60px 24px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove container padding inside auth so card uses full allowed width */
.auth-section .container {
    padding: 0;
    width: 100%;
    max-width: 560px;
}

.auth-container {
    width: 100%;
    background: var(--card-bg);
    padding: 48px 44px;
    border-radius: var(--radius-soft);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-container h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
}

.required-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: center;
}

.required-star {
    color: #E74C3C;
    font-weight: 600;
}

.auth-form-wrapper {
    width: 100%;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

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

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    background: var(--primary-bg);
    border: 1.5px solid #E0E0E0;
    border-radius: var(--radius-soft);
    font-size: 15px;
    color: var(--text-primary);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.auth-form input::placeholder {
    color: var(--text-secondary);
}

.auth-form small {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.auth-button {
    width: 100%;
    padding: 15px 24px;
    background: var(--accent-primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-soft);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.28);
}

.auth-button:active {
    transform: translateY(0);
    opacity: 1;
}

.back-btn {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    border: 1.5px solid #E0E0E0;
    border-radius: var(--radius-soft);
    cursor: pointer;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.back-btn:hover {
    background: var(--primary-bg);
    border-color: var(--accent-primary);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.otp-info {
    background: var(--primary-bg);
    padding: 20px;
    border-radius: var(--radius-soft);
    margin-bottom: 24px;
}

.otp-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.otp-info p:last-child {
    margin-bottom: 0;
}

.otp-info i {
    color: var(--accent-primary);
}

.otp-note {
    background: var(--primary-bg);
    padding: 16px;
    border-radius: var(--radius-soft);
    border-left: 4px solid var(--accent-primary);
    margin-top: 12px;
}

.otp-note strong {
    color: var(--text-primary);
}

/* Responsive Auth */
@media (max-width: 768px) {
    .auth-section {
        padding: 40px 16px;
    }

    .auth-container {
        padding: 32px 24px;
    }

    .auth-container h1 {
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
    }
}

/* ============================================
   Hero Section - Homepage
   ============================================ */

/* Hero Premium Section */
.hero-premium {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px);
    max-height: 760px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--primary-bg);
    margin-top: 80px;
    /* Account for fixed navbar */
    overflow: hidden;
}

/* Hero Image Container */
.hero-premium-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.hero-premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 82% top;
    display: block;
    transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-premium-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #FFFFFF 0%,
        #FFFFFF 20%,
        rgba(255, 255, 255, 0.92) 35%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0.2) 70%,
        rgba(255, 255, 255, 0) 85%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-premium:hover .hero-premium-image img {
    transform: scale(1.02);
}

/* Hero Content Container */
.hero-premium-content {
    position: relative;
    width: 52%;
    margin-left: 0;
    padding: var(--spacing-lg) var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 600px;
    z-index: 10;
}

/* Hero Season Label */
.hero-season-label {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #111111;
    opacity: 0.55;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    animation: heroReveal 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.05s;
}

.hero-season-label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: #111111;
    opacity: 0.4;
    flex-shrink: 0;
}

/* Hero Heading */
.hero-premium-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    /* 64px */
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: var(--spacing-sm);
    max-width: 600px;
    animation: heroReveal 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.2s;
}

/* Hero Paragraph */
.hero-premium-content p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    /* 18px */
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    max-width: 500px;
    animation: heroReveal 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.45s;
}

/* Hero CTA Button */
.hero-premium-btn {
    background-color: var(--white);
    color: var(--text-primary);
    border: 1.5px solid var(--text-primary);
    border-radius: var(--radius-pill);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    animation: heroReveal 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.65s;
    position: relative;
    overflow: hidden;
}

.hero-premium-btn:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.hero-premium-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero-premium-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.22),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    pointer-events: none;
}

.hero-premium-btn:hover::after {
    left: 160%;
}

/* Hero Bar (Decorative Element) */
.hero-premium-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-primary);
}

/* ============================================
   Responsive Hero Section - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Stack hero layout on mobile */
    .hero-premium {
        flex-direction: column;
        min-height: auto;
        height: auto !important;
        margin-top: 60px;
        /* Account for smaller mobile navbar */
    }

    /* Full width image on mobile */
    .hero-premium-image {
        position: relative;
        width: 100%;
        height: 460px;
        min-height: 400px;
        background-color: #FAF9F6;
    }

    .hero-premium-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 65%,
            rgba(250, 249, 246, 0.45) 82%,
            #FAF9F6 100%
        );
        pointer-events: none;
        z-index: 1;
    }

    .hero-premium-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 74% top;
        display: block;
        image-rendering: -webkit-optimize-contrast;
    }

    /* Full width content on mobile */
    .hero-premium-content {
        width: 100%;
        margin-left: 0;
        padding: 36px 20px;
        min-height: auto;
        align-items: center;
        text-align: center;
    }

    /* Smaller hero heading on mobile */
    .hero-premium-content h1 {
        font-size: 2.2rem;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    /* Adjust paragraph on mobile */
    .hero-premium-content p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    /* Full width button on mobile */
    .hero-premium-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
    }
}

/* Explore Collections Responsive Grid & Luxury Overlay Cards */
.explore-collections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.explore-card {
    text-decoration: none;
    display: block;
    position: relative !important;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 520px;
    /* Rock-solid height for desktop */
    background: #0A0A0A;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s ease !important;
}

.explore-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28) !important;
}

.explore-card img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.explore-card:hover img {
    transform: scale(1.06);
}

.explore-card-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.05) 75%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.explore-card-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 32px 28px !important;
    z-index: 2 !important;
    color: #FFFFFF !important;
    text-align: left;
}

.explore-card-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #C6A96A;
    /* Luxury Gold Tag */
    margin-bottom: 8px;
}

.explore-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.2;
}

.explore-card-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 22px;
    line-height: 1.5;
    max-width: 440px;
}

.explore-card-cta {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFFFFF;
    border-bottom: 1.5px solid #C6A96A;
    padding-bottom: 4px;
    display: inline-block;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.explore-card:hover .explore-card-cta {
    color: #C6A96A;
    border-color: #FFFFFF;
}

@media (max-width: 768px) {
    .explore-collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .explore-card {
        height: 440px !important;
        /* Rock-solid height for mobile phones */
        border-radius: 6px;
    }

    .explore-card-content {
        padding: 24px 20px !important;
    }

    .explore-card-title {
        font-size: 1.75rem;
        margin-bottom: 6px;
    }

    .explore-card-desc {
        font-size: 13px;
        margin-bottom: 16px;
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.9);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .explore-card-cta {
        font-size: 11px;
    }

    /* Mobile Product Grid & Cards Refinements */
    .products .product-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        padding: 0 4px;
    }

    .product-card {
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .product-info {
        padding: 12px 10px !important;
    }

    .product-info h3 {
        font-size: 0.9rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }

    .product-category {
        font-size: 10px !important;
        letter-spacing: 1px !important;
        margin-bottom: 2px !important;
    }

    .product-description {
        display: none !important;
        /* Hide long description on mobile grid to keep cards compact & sleek */
    }

    .price-wishlist .price {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
    }

    .add-to-cart {
        padding: 8px 12px !important;
        font-size: 11px !important;
        margin-top: 8px !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {
    .hero-premium-content h1 {
        font-size: 3rem;
        /* 48px */
    }

    .hero-premium-content {
        padding: var(--spacing-md);
    }
}

/* ============================================
   Product Showcase Section - New Arrivals
   ============================================ */

/* Products Section Container */
.products {
    padding: var(--spacing-md) 0;
    /* 40px top and bottom */
    background-color: var(--primary-bg);
}

/* Container for Content */
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    /* 24px horizontal padding */
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    /* 40px spacing */
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    /* 36px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Product Grid - 4 Columns Desktop */
.products .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    /* 40px gap */
    padding: 0;
}

/* Product Category Label */
.product-category {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

/* Product Description */
.product-description {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

/* Price and Wishlist Row */
.price-wishlist {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

/* Price Styling */
.price {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 600;
    color: var(--text-primary);
}

/* Add to Wishlist Button */
.add-to-wishlist {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 4px;
}

.add-to-wishlist:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.add-to-wishlist:active {
    color: var(--accent-primary);
    transform: scale(1.05);
}

.add-to-wishlist.active {
    color: var(--accent-primary);
}

/* Product Badge Variants */
.product-badge.bestseller {
    background-color: var(--accent-primary);
}

.product-badge.limited {
    background-color: var(--text-primary);
}

/* ============================================
   Responsive Product Grid - Tablet & Mobile
   ============================================ */

@media (max-width: 768px) {

    /* 2 columns on mobile */
    .products .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        /* 24px gap on mobile */
    }

    /* Adjust section spacing on mobile */
    .products {
        padding: var(--spacing-md) 0;
        /* 40px top and bottom */
    }

    .section-header {
        margin-bottom: var(--spacing-md);
        /* 40px spacing */
    }

    .section-header h2 {
        font-size: 1.75rem;
        /* 28px */
    }

    /* Keep aspect-ratio on mobile — no height override */
    .product-image {
        aspect-ratio: 4 / 5;
        height: auto !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {

    /* 3 columns on tablet */
    .products .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Large desktop adjustments */
@media (min-width: 1920px) {
    .container {
        padding: 0 var(--spacing-md);
        /* 40px horizontal padding */
    }
}

/* ============================================
   Brand Philosophy Section (About)
   ============================================ */

/* Brand Philosophy Section Container */
.brand-philosophy {
    padding: var(--spacing-md) 0;
    /* 40px top and bottom */
    background-color: var(--white);
}

/* Philosophy Content - Two Column Layout */
.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    /* 120px gap */
    align-items: center;
}

/* Philosophy Text Column */
.philosophy-text {
    padding-right: var(--spacing-md);
    /* 40px right padding */
}

.philosophy-text h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    /* 36px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
    letter-spacing: 0.02em;
}

/* Philosophy Tagline */
.philosophy-tagline {
    font-family: var(--font-body);
    font-size: 1.125rem;
    /* 18px */
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
    letter-spacing: 0.05em;
    position: relative;
}

.philosophy-tagline::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: #111111;
    margin-bottom: 18px;
    opacity: 0.3;
}

.philosophy-text p {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    /* 24px */
}

/* Philosophy Values Grid */
.philosophy-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    /* 24px gap */
    margin: var(--spacing-md) 0;
    /* 40px top and bottom */
}

.philosophy-value {
    text-align: center;
    padding: var(--spacing-sm);
    /* 24px padding */
}

.philosophy-value i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

.philosophy-value h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.philosophy-value p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Philosophy Button */
.philosophy-btn {
    background-color: var(--white);
    color: var(--text-primary);
    border: 1.5px solid var(--text-primary);
    border-radius: var(--radius-pill);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-top: var(--spacing-sm);
    /* 24px */
    position: relative;
    overflow: hidden;
}

.philosophy-btn:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.philosophy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.philosophy-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.18),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    pointer-events: none;
}

.philosophy-btn:hover::after {
    left: 160%;
}

/* Philosophy Image Column */
.philosophy-image {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 600px;
    object-fit: contain !important;
    object-position: center;
    border-radius: 8px;
    display: block !important;
}

/* ============================================
   Newsletter Section
   ============================================ */

/* Newsletter Section Container */
.newsletter-section {
    padding: var(--spacing-lg) 0;
    /* 120px top and bottom */
    background-color: var(--primary-bg);
    text-align: center;
}

.newsletter-section h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    /* 36px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
    letter-spacing: 0.02em;
}

.newsletter-section p {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    /* 40px */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Newsletter Form */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-xs);
    /* 16px gap */
    align-items: stretch;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 16px 24px;
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    border: 1.5px solid var(--text-primary);
    border-radius: var(--radius-pill);
    background-color: var(--white);
    color: var(--text-primary);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

.newsletter-form button {
    flex-shrink: 0;
    background-color: var(--text-primary);
    color: var(--white);
    border: 1.5px solid var(--text-primary);
    border-radius: var(--radius-pill);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.newsletter-form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ============================================
   Responsive About & Newsletter - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Stack philosophy content on mobile */
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        /* 40px gap */
    }

    .philosophy-text {
        padding-right: 0;
    }

    .philosophy-text h2 {
        font-size: 1.75rem;
        /* 28px */
    }

    /* Stack philosophy values on mobile */
    .philosophy-values {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        /* 24px gap */
    }

    /* Adjust philosophy image on mobile */
    .philosophy-image {
        min-height: 300px;
        order: -1;
        /* Move image above text */
        background-color: #f5f5f5;
    }

    .philosophy-image img {
        object-fit: contain;
        /* Shows FULL image on mobile */
        object-position: center;
    }

    /* Adjust newsletter on mobile */
    .newsletter-section h2 {
        font-size: 1.75rem;
        /* 28px */
    }

    /* Stack newsletter form on mobile */
    .newsletter-form {
        flex-direction: column;
        gap: var(--spacing-xs);
        /* 16px gap */
    }

    .newsletter-form button {
        width: 100%;
    }

    /* Adjust section spacing on mobile */
    .brand-philosophy,
    .newsletter-section {
        padding: var(--spacing-md) 0;
        /* 40px top and bottom */
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {
    .philosophy-content {
        gap: var(--spacing-md);
        /* 40px gap */
    }

    .philosophy-values {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Footer Section
   ============================================ */

/* Footer Container */
.footer {
    background-color: var(--charcoal-black);
    /* #111111 */
    color: var(--white);
    padding: 48px 0 var(--spacing-sm) 0;
    /* Reduced top padding from 120px to 48px */
    border-top: 1px solid rgba(17, 17, 17, 0.1);
}

/* Footer Content - Multi-Column Layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    /* 40px gap */
    margin-bottom: var(--spacing-md);
    /* 40px bottom margin */
}

/* Footer Section */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* 24px */
    font-weight: 400;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    /* 24px */
    letter-spacing: 0.05em;
}

.footer-section h4 {
    font-family: var(--font-heading);
    /* Use heading font for consistency */
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

.footer-section p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 400;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
    /* 16px */
    opacity: 0.8;
}

/* Footer Links */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-section ul li a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0.8;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
    opacity: 1;
}

.footer-section ul li a:active {
    color: var(--accent-primary);
    opacity: 0.8;
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-xs);
    /* 16px gap */
    margin-top: var(--spacing-xs);
    /* 16px top margin */
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 60px;
    height: auto;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1.125rem;
    transition: all 0.2s ease;
    text-decoration: none;
    gap: 6px;
}

.social-links a i {
    font-size: 24px;
}

.social-links a .social-label {
    font-size: 11px;
    font-family: var(--font-body);
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
}

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

.social-links a:active {
    background-color: var(--accent-primary);
    transform: translateY(0);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-sm);
    /* 24px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    color: var(--white);
    opacity: 0.6;
    margin: 0;
}

/* ============================================
   Responsive Footer - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Horizontal 2-Column Footer Layout on Mobile */
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px 20px !important;
        text-align: left !important;
    }

    /* Adjust footer padding on mobile */
    .footer {
        padding: var(--spacing-md) 0 var(--spacing-sm) 0;
    }

    /* Left-align footer sections on mobile */
    .footer-section {
        text-align: left !important;
        align-items: flex-start !important;
    }

    /* Brand and social section spans full top width */
    .footer-section:first-child {
        grid-column: span 2;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 4px;
    }

    .footer-section h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .footer-section h4 {
        font-size: 0.8rem;
        margin-bottom: 14px;
        color: var(--accent-primary);
    }

    /* Left-align social links on mobile */
    .social-links {
        justify-content: flex-start !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {

    /* 2 columns on tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        /* 40px gap */
    }
}

/* ============================================
   Global Responsive Layout Adjustments
   ============================================ */

/* Ensure body accounts for fixed navbar */
body {
    padding-top: 0;
}

/* Prevent horizontal scroll on mobile */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* Container responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-xs);
        /* 16px horizontal padding on mobile */
    }
}

/* Smooth scrolling for all pages */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Skip to main content link (accessibility) */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-main:focus {
    top: 0;
}

/* ============================================
   Collections Page - Product Grid
   ============================================ */

/* Products Grid Container (for collections.html) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns desktop */
    gap: var(--spacing-md);
    /* 40px gap */
    padding: var(--spacing-md) 0;
}

/* Collections Section Styling */
.collections-section {
    min-height: auto;
    padding-top: 100px;
    /* Account for fixed navbar */
    padding-bottom: var(--spacing-lg);
}

.collections-section h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    /* 48px */
    font-weight: 400;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    /* 24px */
    letter-spacing: 0.02em;
}

.collections-section>.container>p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    /* 18px */
    font-weight: 400;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    /* 120px */
    line-height: 1.6;
}

/* ============================================
   Responsive Collections Grid
   ============================================ */

/* Tablet - 2 columns */
@media (min-width: 769px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns tablet */
        gap: 30px;
    }

    .collections-section h1 {
        font-size: 2.5rem;
        /* 40px */
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        /* 1 column mobile */
        gap: var(--spacing-md);
        /* 40px gap on mobile */
    }

    .collections-section {
        padding-top: 80px;
        /* Account for smaller mobile navbar */
    }

    .collections-section h1 {
        font-size: 2rem;
        /* 32px */
    }

    .collections-section>.container>p {
        font-size: 1rem;
        /* 16px */
        margin-bottom: var(--spacing-md);
        /* 40px */
    }
}

/* Large Desktop - 3 columns (default) */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns desktop */
        gap: var(--spacing-md);
        /* 40px gap */
    }
}

/* ============================================
   Collections Page - Product Card Enhancements
   ============================================ */

/* Ensure product images maintain portrait aspect ratio in collections and grids */
.product-grid .product-image,
.products-grid .product-image {
    aspect-ratio: 4 / 5;
    width: 100%;
    background-color: transparent;
}

.product-grid .product-image a,
.products-grid .product-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-grid .product-image img,
.products-grid .product-image img,
.product-grid .product-image a img,
.products-grid .product-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ============================================
   Product Detail Page - Two-Column Layout
   ============================================ */

/* Product Details Section Container */
.product-details-section {
    min-height: auto;
    padding-top: 100px;
    /* Account for fixed navbar */
    padding-bottom: var(--spacing-lg);
    /* 120px */
    background-color: var(--primary-bg);
}

/* Breadcrumb Navigation */
.breadcrumb {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--accent-primary);
}

.breadcrumb a:active {
    color: var(--accent-primary);
    opacity: 0.8;
}

.breadcrumb span {
    color: var(--text-primary);
}

/* Product Details Container - Two Column Layout */
.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50/50 split */
    gap: var(--spacing-lg);
    /* 120px gap */
    margin-bottom: var(--spacing-lg);
    /* 120px */
}

/* Product Images - Left Column */
.product-images {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    /* 24px */
    max-width: 600px;
    /* Prevent images from being too large */
}

/* Main Product Image - 4:5 Aspect Ratio */
.main-image {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding-bottom: 125%;
    /* 4:5 aspect ratio (5/4 = 1.25) */
    overflow: hidden;
    background-color: #E8E8E8;
    /* Neutral background */
    border-radius: 8px;
}

.main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Thumbnail Images - Small Round Style */
.thumbnail-images {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 50%;
    /* Makes it round */
    transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    background-color: #E8E8E8;
    display: block;
}

.thumbnail:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail:active {
    border-color: var(--accent-primary);
    transform: scale(1.0);
}

.thumbnail.active {
    border-color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Product Details Info - Right Column */
.product-details-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    /* 24px */
}

.product-details-info h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    /* 36px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

/* Product Price Section */
.product-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-xs);
    /* 16px */
    border-bottom: 1px solid #E8E8E8;
}

.product-price {
    font-family: var(--font-body);
    font-size: 1.75rem;
    /* 28px */
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.wishlist-btn-large {
    background: none;
    border: 1.5px solid var(--text-primary);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishlist-btn-large:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--white);
}

.wishlist-btn-large:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--white);
    transform: scale(0.98);
}

.wishlist-btn-large.active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--white);
}

/* Product Description */
.product-description {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

/* Size Selection */
.size-selection h3,
.color-selection h3,
.quantity-selection h3 {
    font-family: var(--font-heading);
    /* Use heading font for consistency */
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.size-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.size-btn {
    min-width: 50px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--white);
    border: 1.5px solid var(--text-primary);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-btn:hover {
    background-color: var(--primary-bg);
    border-color: var(--accent-primary);
}

.size-btn:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--white);
    transform: scale(0.98);
}

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

.size-guide-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    color: var(--accent-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.size-guide-link:hover {
    color: var(--text-primary);
}

.size-guide-link:active {
    color: var(--text-primary);
    opacity: 0.8;
}

/* Color Selection */
.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

/* Add border for light colored buttons so they're visible */
.color-btn.light-color {
    border-color: #ddd;
}

.color-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px var(--shadow-soft);
}

.color-btn:active {
    transform: scale(1.05);
    box-shadow: 0 1px 4px var(--shadow-soft);
}

.color-btn.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--text-primary);
}

.color-btn.active::after {
    content: '\f00c';
    /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 0.875rem;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

/* Dark checkmark for light colored buttons */
.color-btn.light-color.active::after {
    color: var(--text-primary);
    text-shadow: none;
}

/* Quantity Selection */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    font-family: var(--font-body);
    font-size: 1.25rem;
    /* 20px */
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--white);
    border: 1.5px solid var(--text-primary);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.qty-btn:active {
    background-color: var(--text-primary);
    color: var(--white);
    transform: scale(0.95);
}

.qty-display {
    font-family: var(--font-body);
    font-size: 1.125rem;
    /* 18px */
    font-weight: 500;
    color: var(--text-primary);
    min-width: 40px;
    text-align: center;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: var(--spacing-xs);
    /* 16px */
    margin-top: var(--spacing-sm);
    /* 24px */
}

.add-to-cart-btn,
.buy-now-btn {
    flex: 1;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn {
    background-color: var(--white);
    color: var(--text-primary);
    border: 1.5px solid var(--text-primary);
}

.add-to-cart-btn:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.buy-now-btn {
    background-color: var(--accent-primary);
    color: var(--white);
    border: 1.5px solid var(--accent-primary);
}

.buy-now-btn:hover {
    background-color: #9F7554;
    /* Darker shade of warm-taupe */
    border-color: #9F7554;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.buy-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xs);
    /* 16px */
    margin-top: var(--spacing-md);
    /* 40px */
    padding-top: var(--spacing-sm);
    /* 24px */
    border-top: 1px solid #E8E8E8;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.feature-item strong {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.feature-item p {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   Product Tabs - Description Sections
   ============================================ */

/* Product Tabs Container */
.product-tabs {
    margin-top: var(--spacing-lg);
    /* 120px */
    background-color: var(--white);
    border-radius: 0;
    overflow: hidden;
}

/* Tab Buttons */
.tab-buttons {
    display: flex;
    border-bottom: 1px solid #E8E8E8;
}

.tab-btn {
    flex: 1;
    padding: var(--spacing-xs) var(--spacing-sm);
    /* 16px 24px */
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    background-color: var(--primary-bg);
}

.tab-btn:active {
    color: var(--text-primary);
    background-color: var(--accent-primary);
    opacity: 0.3;
}

.tab-btn.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent-primary);
}

/* Tab Buttons - Mobile Scroll */
@media (max-width: 768px) {
    .tab-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
    }
    .tab-buttons::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 14px 18px;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }
}

/* Tab Content */
.tab-content {
    padding: var(--spacing-md);
    /* 40px */
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* 24px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
    letter-spacing: 0.02em;
}

.tab-pane p {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

.tab-pane ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0;
    /* 24px */
}

.tab-pane ul li {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.tab-pane ul li::before {
    content: '\2022';
    /* Bullet point */
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 1.25rem;
    line-height: 1.4;
}

/* Specifications Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-sm);
    /* 24px */
}

.specs-table tr {
    border-bottom: 1px solid #E8E8E8;
}

.specs-table td {
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.6;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--text-secondary);
    width: 60%;
}

/* ============================================
   Responsive Product Detail Page - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Adjust section padding for mobile */
    .product-details-section {
        padding-top: 80px;
        /* Account for smaller mobile navbar */
        padding-bottom: var(--spacing-md);
        /* 40px */
    }

    /* Stack product details container on mobile */
    .product-details-container {
        grid-template-columns: 1fr;
        /* Single column */
        gap: var(--spacing-md);
        /* 40px gap */
        margin-bottom: var(--spacing-md);
        /* 40px */
    }

    /* Images above details on mobile */
    .product-images {
        order: 1;
    }

    .product-details-info {
        order: 2;
    }

    /* Adjust main image aspect ratio for mobile */
    .main-image {
        padding-bottom: 125%;
        /* Maintain 4:5 aspect ratio */
    }

    /* Adjust thumbnail size for mobile - keep round */
    .thumbnail-images {
        gap: 8px;
        justify-content: center;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    /* Smaller product title on mobile */
    .product-details-info h1 {
        font-size: 1.75rem;
        /* 28px */
    }

    /* Stack price section on mobile */
    .product-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
        /* 16px */
    }

    .product-price {
        font-size: 1.5rem;
        /* 24px */
    }

    .wishlist-btn-large {
        width: 100%;
        justify-content: center;
    }


    /* Stack product actions on mobile */
    .product-actions {
        flex-direction: column;
        gap: 12px;
    }

    .add-to-cart-btn,
    .buy-now-btn {
        width: 100%;
    }

    /* Adjust tab content padding on mobile */
    .tab-content {
        padding: var(--spacing-sm);
        /* 24px */
    }

    .tab-pane h3 {
        font-size: 1.25rem;
        /* 20px */
    }

    /* Adjust specs table on mobile */
    .specs-table td {
        font-size: 0.8125rem;
        /* 13px */
        padding: 10px 0;
    }

    .specs-table td:first-child {
        width: 45%;
    }

    .specs-table td:last-child {
        width: 55%;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {

    /* Adjust gap for tablet */
    .product-details-container {
        gap: var(--spacing-md);
        /* 40px gap */
    }

    /* Smaller product title on tablet */
    .product-details-info h1 {
        font-size: 2rem;
        /* 32px */
    }

    .product-price {
        font-size: 1.5rem;
        /* 24px */
    }
}

/* ============================================
   Cart Page - Two-Column Layout
   ============================================ */

/* Cart Section Container */
.cart-section {
    min-height: auto;
    padding-top: 100px;
    /* Account for fixed navbar */
    padding-bottom: var(--spacing-lg);
    /* 120px */
    background-color: var(--primary-bg);
}

/* Cart Content - Two Column Layout */
.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 2/3 items, 1/3 summary */
    gap: var(--spacing-md);
    /* 40px gap */
    margin-bottom: var(--spacing-sm);
    /* 24px */
}

/* Cart Items Column */
.cart-items {
    background-color: var(--white);
    padding: var(--spacing-md);
    /* 40px */
    border-radius: 0;
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    /* 120px 40px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 0;
    /* Remove gap to control spacing precisely */
}

.empty-cart i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
    opacity: 0.5;
    display: block;
}

.empty-cart h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    /* 28px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
    margin-top: 0;
    text-align: center !important;
    display: block;
    width: 100%;
}

.empty-cart p {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    /* 40px */
    margin-top: 0;
}

.empty-cart .cta-button {
    margin-top: 8px;
}

/* Continue Shopping Button (used in profile and other empty states) */
.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background-color: var(--text-primary);
    color: var(--white);
    border-radius: var(--radius-soft);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.continue-shopping:hover {
    background-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.3);
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    /* 24px */
}

/* Individual Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    /* Image | Details | Quantity | Total/Remove */
    gap: var(--spacing-sm);
    /* 24px */
    padding: var(--spacing-sm);
    /* 24px */
    border-bottom: 1px solid #E8E8E8;
    align-items: center;
}

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

/* Cart Item Image - 4:5 Aspect Ratio */
.cart-item-image {
    width: 120px;
    height: 150px;
    /* 4:5 aspect ratio */
    overflow: hidden;
    background-color: #E8E8E8;
    /* Neutral background */
    flex-shrink: 0;
}

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

/* Cart Item Details */
.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    /* 18px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cart-item-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-item-title a:hover {
    color: var(--accent-primary);
}

.cart-item-title a:active {
    color: var(--accent-primary);
    opacity: 0.8;
}

.cart-item-meta {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.cart-item-price {
    font-family: var(--font-body);
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 8px;
}

/* Cart Item Actions */
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

/* Quantity Controls in Cart */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary-bg);
    padding: 8px 12px;
    border-radius: var(--radius-pill);
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--white);
    border: 1.5px solid var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    background-color: var(--text-primary);
    color: var(--white);
}

.cart-qty-btn:active {
    background-color: var(--text-primary);
    color: var(--white);
    transform: scale(0.95);
}

.cart-qty-display {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
    color: var(--text-primary);
    min-width: 30px;
    text-align: center;
}

/* Remove Item Button */
.remove-item-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.125rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 8px;
}

.remove-item-btn:hover {
    color: #D32F2F;
    /* Red for delete */
    transform: scale(1.1);
}

.remove-item-btn:active {
    color: #D32F2F;
    transform: scale(1.05);
}

/* Cart Summary Column */
.cart-summary {
    background-color: var(--white);
    padding: var(--spacing-md);
    /* 40px */
    border-radius: 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    /* Stick below navbar */
}

.cart-summary h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* 24px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
    letter-spacing: 0.02em;
}

/* Summary Rows */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    color: var(--text-secondary);
}

.summary-row span:last-child {
    font-weight: 500;
    color: var(--text-primary);
}

.summary-divider {
    height: 1px;
    background-color: #E8E8E8;
    margin: var(--spacing-xs) 0;
    /* 16px */
}

.summary-row.total {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    color: var(--text-primary);
    padding-top: var(--spacing-xs);
    /* 16px */
}

.summary-row.total span {
    color: var(--text-primary);
}

/* Checkout Button - #111111 Background, 30px Border-Radius */
.checkout-btn {
    width: 100%;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background-color: var(--accent-primary);
    /* #111111 */
    color: var(--white);
    border: 1.5px solid var(--accent-primary);
    border-radius: var(--radius-pill);
    /* 30px border-radius */
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: var(--spacing-sm);
    /* 24px */
}

.checkout-btn:hover {
    background-color: #9F7554;
    /* Darker shade */
    border-color: #9F7554;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.checkout-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Promo Code Section */
.promo-code {
    display: flex;
    gap: 8px;
    margin-top: var(--spacing-sm);
    /* 24px */
}

.promo-code input {
    flex: 1;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    border: 1.5px solid var(--text-primary);
    border-radius: var(--radius-pill);
    background-color: var(--white);
    color: var(--text-primary);
}

.promo-code input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

.apply-btn {
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background-color: var(--white);
    color: var(--text-primary);
    border: 1.5px solid var(--text-primary);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.apply-btn:active {
    background-color: var(--text-primary);
    color: var(--white);
    transform: scale(0.98);
}

/* Cart Benefits */
.cart-benefits {
    margin-top: var(--spacing-md);
    /* 40px */
    padding-top: var(--spacing-sm);
    /* 24px */
    border-top: 1px solid #E8E8E8;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.benefit-item i {
    font-size: 1.125rem;
    color: var(--accent-primary);
}

.benefit-item span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    color: var(--text-secondary);
}

/* Clear Cart Button */
.clear-cart-btn {
    background: none;
    border: 1.5px solid #D32F2F;
    /* Red border */
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #D32F2F;
    /* Red text */
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.clear-cart-btn:hover {
    background-color: #D32F2F;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.2);
}

.clear-cart-btn:active {
    background-color: #D32F2F;
    color: var(--white);
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.2);
}

/* ============================================
   Responsive Cart Page - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Adjust section padding for mobile */
    .cart-section {
        padding-top: 80px;
        /* Account for smaller mobile navbar */
        padding-bottom: var(--spacing-md);
        /* 40px */
    }

    /* Stack cart content on mobile */
    .cart-content {
        grid-template-columns: 1fr;
        /* Single column */
        gap: var(--spacing-sm);
        /* 24px gap */
    }

    /* Adjust cart items padding on mobile */
    .cart-items {
        padding: var(--spacing-sm);
        /* 24px */
    }

    /* Adjust empty cart on mobile */
    .empty-cart {
        padding: var(--spacing-md) var(--spacing-sm);
        /* 40px 24px */
    }

    .empty-cart i {
        font-size: 3rem;
    }

    .empty-cart h2 {
        font-size: 1.5rem;
        /* 24px */
    }

    /* Adjust cart item layout on mobile */
    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: var(--spacing-xs);
        /* 16px */
        padding: var(--spacing-xs);
        /* 16px */
    }

    /* Smaller cart item image on mobile */
    .cart-item-image {
        width: 100px;
        height: 125px;
        /* Maintain 4:5 aspect ratio */
    }

    /* Stack cart item actions below details on mobile */
    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 12px;
    }

    /* Adjust cart summary on mobile */
    .cart-summary {
        padding: var(--spacing-sm);
        /* 24px */
        position: static;
        /* Remove sticky on mobile */
    }

    .cart-summary h2 {
        font-size: 1.25rem;
        /* 20px */
    }

    /* Stack promo code on mobile */
    .promo-code {
        flex-direction: column;
    }

    .apply-btn {
        width: 100%;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {

    /* Adjust cart content gap for tablet */
    .cart-content {
        gap: var(--spacing-sm);
        /* 24px gap */
    }
}

/* ============================================
   Checkout Page - Form Styling
   ============================================ */

/* Checkout Container */
.checkout-container {
    max-width: 1400px;
    margin: 100px auto 50px;
    padding: 0 var(--spacing-sm);
    /* 24px */
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--spacing-md);
    /* 40px */
}

/* Checkout Main Content */
.checkout-main {
    background-color: var(--white);
    border-radius: 0;
    padding: var(--spacing-md);
    /* 40px */
}

/* Checkout Steps Progress */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    /* 40px */
    position: relative;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #E8E8E8;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    background-color: var(--white);
    padding: 0 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E8E8E8;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: var(--accent-primary);
    color: var(--white);
}

.step.completed .step-number {
    background-color: #388E3C;
    /* Green for completed */
    color: var(--white);
}

.step-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.step.active .step-label {
    color: var(--accent-primary);
}

/* Checkout Sections */
.checkout-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.checkout-section.active {
    display: block;
}

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* 24px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
    letter-spacing: 0.02em;
}

/* Checkout Form Inputs - 16px font-size, 12px padding */
.checkout-section input[type="text"],
.checkout-section input[type="email"],
.checkout-section input[type="tel"],
.checkout-section input[type="number"],
.checkout-section textarea,
.checkout-section select {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--white);
    border: 1.5px solid var(--text-primary);
    border-radius: 0;
    padding: 12px;
    /* 12px padding */
    width: 100%;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-section input:focus,
.checkout-section textarea:focus,
.checkout-section select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

/* Address Card */
.address-card {
    border: 2px solid #E8E8E8;
    border-radius: 0;
    padding: var(--spacing-sm);
    /* 24px */
    margin-bottom: var(--spacing-xs);
    /* 16px */
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.address-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.2);
}

.address-card.selected {
    border-color: var(--accent-primary);
    background-color: rgba(17, 17, 17, 0.05);
}

/* Checkout Sidebar - Order Summary */
.checkout-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary {
    background: #FFFFFF !important;
    border: 1px solid rgba(17, 17, 17, 0.08) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
    padding: var(--spacing-md);
    /* 40px */
    border-radius: 0;
}

.order-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    /* 20px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
    letter-spacing: 0.02em;
}

/* Order Summary Items */
.order-summary-items {
    margin-bottom: var(--spacing-sm);
    /* 24px */
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    gap: var(--spacing-xs);
    /* 16px */
    margin-bottom: var(--spacing-xs);
    /* 16px */
    padding-bottom: var(--spacing-xs);
    /* 16px */
    border-bottom: 1px solid #E8E8E8;
}

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

.order-item-image {
    width: 60px;
    height: 75px;
    /* 4:5 aspect ratio */
    overflow: hidden;
    background-color: #E8E8E8;
    flex-shrink: 0;
}

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

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

.order-item-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.order-item-meta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.order-item-price {
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    color: var(--text-primary);
}

/* Order Summary Totals */
.order-summary-totals {
    margin-top: var(--spacing-sm);
    /* 24px */
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-family: var(--font-body);
    font-size: 0.875rem;
    /* 14px */
    color: var(--text-secondary);
}

.summary-line span:last-child {
    font-weight: 500;
    color: var(--text-primary);
}

.summary-line.total {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    color: var(--text-primary);
    padding-top: var(--spacing-xs);
    /* 16px */
    margin-top: var(--spacing-xs);
    /* 16px */
    border-top: 1px solid #E8E8E8;
}

.summary-line.total span {
    color: var(--text-primary);
}

/* Place Order Button - #111111 Background */
.place-order-btn,
.continue-btn,
.back-btn {
    width: 100%;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: var(--spacing-xs);
    /* 16px */
}

.place-order-btn,
.continue-btn {
    background-color: var(--accent-primary);
    /* #111111 */
    color: var(--white);
    border: 1.5px solid var(--accent-primary);
}

.place-order-btn:hover,
.continue-btn:hover {
    background-color: #9F7554;
    /* Darker shade */
    border-color: #9F7554;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.back-btn {
    background-color: var(--white);
    color: var(--text-primary);
    border: 1.5px solid var(--text-primary);
    margin-top: 8px;
}

.back-btn:hover {
    background-color: var(--primary-bg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

/* ============================================
   Responsive Checkout Page - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Adjust checkout container for mobile */
    .checkout-container {
        margin: 80px auto 50px;
        /* Account for smaller mobile navbar */
        padding: 0 var(--spacing-xs);
        /* 16px */
        grid-template-columns: 1fr;
        /* Single column - stack sections */
        gap: var(--spacing-sm);
        /* 24px gap */
    }

    /* Adjust checkout main padding on mobile */
    .checkout-main {
        padding: var(--spacing-sm);
        /* 24px */
    }

    /* Adjust checkout steps on mobile */
    .checkout-steps {
        margin-bottom: var(--spacing-sm);
        /* 24px */
    }

    .step {
        padding: 0 5px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
        /* 14px */
    }

    .step-label {
        font-size: 0.625rem;
        /* 10px */
    }

    /* Adjust section title on mobile */
    .section-title {
        font-size: 1.25rem;
        /* 20px */
        margin-bottom: var(--spacing-xs);
        /* 16px */
    }

    /* Adjust address card on mobile */
    .address-card {
        padding: var(--spacing-xs);
        /* 16px */
    }

    /* Adjust checkout sidebar on mobile */
    .checkout-sidebar {
        position: static;
        /* Remove sticky on mobile */
        order: -1;
        /* Move order summary above form on mobile */
    }

    .order-summary {
        padding: var(--spacing-sm);
        /* 24px */
    }

    .order-summary h3 {
        font-size: 1.125rem;
        /* 18px */
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {

    /* Adjust checkout container for tablet */
    .checkout-container {
        grid-template-columns: 1fr 350px;
        gap: var(--spacing-sm);
        /* 24px gap */
    }
}

/* ============================================
   Wishlist Page - Product Card Styling
   ============================================ */

/* Wishlist Section Container */
.wishlist-section {
    min-height: auto;
    padding-top: 100px;
    /* Account for fixed navbar */
    padding-bottom: var(--spacing-lg);
    /* 120px */
    background-color: var(--primary-bg);
}

.wishlist-section h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    /* 36px */
    font-weight: 400;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    /* 24px */
    letter-spacing: 0.02em;
}

/* Empty Wishlist State */
.empty-wishlist {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    /* 120px 40px */
}

.empty-wishlist i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
    opacity: 0.5;
}

.empty-wishlist h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    /* 28px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

.empty-wishlist p {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    /* 40px */
}

/* Wishlist Grid - Product Cards with 4:5 Aspect Ratio */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    /* 40px gap */
    padding: var(--spacing-md) 0;
}

/* Wishlist Item - Uses Product Card Styling */
.wishlist-item {
    background-color: var(--card-bg);
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.wishlist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-soft);
}

/* Wishlist Item Image - 4:5 Aspect Ratio */
.wishlist-item-image {
    position: relative;
    width: 100%;
    height: 320px;
    /* 4:5 aspect ratio */
    overflow: hidden;
    background-color: #E8E8E8;
    /* Neutral background */
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.wishlist-item:hover .wishlist-item-image img {
    transform: scale(1.05);
}

/* Remove from Wishlist Button */
.remove-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px var(--shadow-soft);
    z-index: 10;
}

.remove-wishlist-btn:hover {
    background-color: #D32F2F;
    /* Red */
    color: var(--white);
    transform: scale(1.1);
}

/* Wishlist Item Info */
.wishlist-item-info {
    padding: var(--spacing-xs);
    /* 16px */
}

.wishlist-item-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    /* 18px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.wishlist-item-price {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

.wishlist-item .add-to-cart {
    width: 100%;
    padding: 16px 36px;
    font-size: 0.75rem;
}

/* ============================================
   Responsive Wishlist Page - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Adjust section padding for mobile */
    .wishlist-section {
        padding-top: 80px;
        /* Account for smaller mobile navbar */
        padding-bottom: var(--spacing-md);
        /* 40px */
    }

    .wishlist-section h1 {
        font-size: 1.75rem;
        /* 28px */
    }

    /* 2 columns on mobile */
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        /* 24px gap */
    }

    /* Adjust wishlist item image on mobile */
    .wishlist-item-image {
        height: 200px;
    }

    /* Adjust empty wishlist on mobile */
    .empty-wishlist {
        padding: var(--spacing-md) var(--spacing-sm);
        /* 40px 24px */
    }

    .empty-wishlist i {
        font-size: 3rem;
    }

    .empty-wishlist h2 {
        font-size: 1.5rem;
        /* 24px */
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {

    /* 3 columns on tablet */
    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* ============================================
   Order History Page - Card Styling
   ============================================ */

/* Orders Section Container */
.orders-section {
    min-height: auto;
    padding-top: 100px;
    /* Account for fixed navbar */
    padding-bottom: var(--spacing-lg);
    /* 120px */
    background-color: var(--primary-bg);
}

.orders-section h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    /* 36px */
    font-weight: 400;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    /* 24px */
    letter-spacing: 0.02em;
}

/* Empty Orders State */
.empty-orders {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    /* 120px 40px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-orders i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
    opacity: 0.5;
    display: block;
}

.empty-orders h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    /* 28px */
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
    text-align: center !important;
    display: block;
    width: 100%;
}

.empty-orders p {
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px */
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    /* 40px */
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* Increased from 24px for better separation */
}

/* Order Card */
.order-card {
    background-color: var(--white);
    border: 2px solid #E8E8E8;
    /* Added visible border */
    border-radius: 12px;
    /* Added rounded corners */
    padding: var(--spacing-md);
    /* 40px */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Enhanced shadow */
    transition: all 0.3s ease;
    position: relative;
}

.order-card::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

.order-card:last-child::after {
    display: none;
    /* Remove divider after last order */
}

.order-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #111111;
    transform: translateY(-2px);
}

/* Order Card Header */
.order-card-header,
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--spacing-xs);
    /* 16px */
    margin-bottom: var(--spacing-xs);
    /* 16px */
    border-bottom: 2px solid #F5F5F5;
    /* Thicker, more visible border */
}

.order-info {
    flex: 1;
}

.order-info h3 {
    font-family: 'DM Sans', sans-serif;
    /* Modern, clean font */
    font-size: 1.125rem;
    /* 18px - larger for better readability */
    font-weight: 700;
    /* Bold for emphasis */
    color: #111;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.order-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    /* 16px - increased from 14px */
    font-weight: 700;
    /* Bold for emphasis */
    color: var(--text-primary);
    margin-bottom: 4px;
}

.order-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    /* 14px - increased from 12px */
    color: #666;
    font-weight: 400;
}

.order-status {
    padding: 8px 16px;
    /* Increased padding */
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    /* 12px */
    font-weight: 700;
    /* Bold for emphasis */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 20px;
    /* More rounded */
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-status i {
    font-size: 8px;
}

.order-status.pending {
    background-color: #FFF8E1;
    color: #F57C00;
    border: 1px solid #FFB74D;
}

.order-status.delivered {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #66BB6A;
}

.order-status.processing {
    background-color: #E3F2FD;
    color: #1565C0;
    border: 1px solid #42A5F5;
}

.order-status.shipped {
    background-color: #F3E5F5;
    color: #6A1B9A;
    border: 1px solid #AB47BC;
}

.order-status.out-for-delivery {
    background-color: #E0F2F1;
    color: #00695C;
    border: 1px solid #26A69A;
}

.order-status.cancelled {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF5350;
}

/* Order Card Items */
.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Increased gap */
    margin-bottom: var(--spacing-sm);
    /* 24px */
    padding: 16px 0;
}

.order-item-row,
.order-item-with-image {
    display: flex;
    gap: 16px;
    /* Increased gap */
    align-items: center;
    padding: 12px;
    background: #FAFAFA;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.order-item-with-image:hover {
    background: #F5F5F5;
}

.order-item-row-image {
    width: 72px;
    height: 72px;
    overflow: hidden;
    background-color: #F5F3EF;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #EDEBE7;
}

.order-item-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* order-item-image is the direct <img> tag — keep it fixed size */
.order-item-image {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 8px !important;
    border: 1px solid #EDEBE7 !important;
    background: #F5F3EF !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.order-item-row-details,
.order-item-details {
    flex: 1;
}

.order-item-row-title,
.order-item-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    /* 15px - increased */
    font-weight: 600;
    /* Bolder */
    color: #111;
    margin-bottom: 6px;
    line-height: 1.4;
}

.order-item-row-meta,
.order-item-meta {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8125rem;
    /* 13px - increased */
    color: #666;
    font-weight: 400;
}

.order-item-row-price,
.order-item-price {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    /* 15px - increased */
    font-weight: 700;
    /* Bold */
    color: #111111;
    flex-shrink: 0;
}

/* Order Card Footer */
.order-card-footer,
.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xs);
    /* 16px */
    border-top: 2px solid #F5F5F5;
    /* Thicker, more visible border */
    margin-top: 16px;
}

.order-total {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-total span:first-child {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    /* 14px */
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-total .total-amount {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.375rem;
    /* 22px - larger for emphasis */
    font-weight: 700;
    /* Bold */
    color: #111;
}

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

.order-action-btn,
.view-details-btn,
.return-order-btn,
.cancel-order-btn {
    padding: 10px 18px;
    /* Increased padding */
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8125rem;
    /* 13px */
    font-weight: 600;
    /* Semi-bold */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: var(--white);
    color: var(--text-primary);
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    /* Less rounded for modern look */
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.order-action-btn:hover,
.view-details-btn:hover {
    background-color: #111;
    color: var(--white);
    border-color: #111;
    transform: translateY(-1px);
}

.view-details-btn {
    background-color: #111;
    color: var(--white);
    border-color: #111;
}

.view-details-btn:hover {
    background-color: #333;
    border-color: #333;
}

.return-order-btn {
    border-color: #111111;
    color: #111111;
}

.return-order-btn:hover:not(.disabled) {
    background-color: #111111;
    color: var(--white);
}

.cancel-order-btn {
    border-color: #DC3545;
    color: #DC3545;
}

.cancel-order-btn:hover:not(.disabled) {
    background-color: #DC3545;
    color: var(--white);
}

.return-order-btn.disabled,
.cancel-order-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.order-action-btn.primary {
    background-color: var(--accent-primary);
    color: var(--white);
    border-color: var(--accent-primary);
}

.order-action-btn.primary:hover {
    background-color: #9F7554;
    border-color: #9F7554;
}

/* ============================================
   Responsive Order History Page - Mobile
   ============================================ */

@media (max-width: 768px) {

    /* Adjust section padding for mobile */
    .orders-section {
        padding-top: 80px;
        /* Account for smaller mobile navbar */
        padding-bottom: var(--spacing-md);
        /* 40px */
    }

    .orders-section h1 {
        font-size: 1.75rem;
        /* 28px */
    }

    /* Adjust order card padding on mobile */
    .order-card {
        padding: 20px;
        /* Reduced from 40px */
        margin-bottom: 24px;
        /* Extra space between cards on mobile */
    }

    .order-card::after {
        width: 95%;
    }

    /* Stack order card header on mobile */
    .order-card-header,
    .order-header {
        flex-direction: column;
        gap: 12px;
    }

    .order-info h3 {
        font-size: 1rem;
        /* Slightly smaller on mobile */
    }

    .order-status {
        align-self: flex-start;
        padding: 6px 14px;
        font-size: 0.6875rem;
        /* 11px */
    }

    /* Adjust order item row on mobile */
    .order-item-row-image,
    .order-item-image {
        width: 60px;
        height: 75px;
        /* Maintain 4:5 aspect ratio */
    }

    .order-item-row-title,
    .order-item-name {
        font-size: 0.875rem;
        /* 14px */
    }

    .order-item-row-meta,
    .order-item-meta {
        font-size: 0.75rem;
        /* 12px */
    }

    .order-item-row-price,
    .order-item-price {
        font-size: 0.875rem;
        /* 14px */
    }

    /* Stack order card footer on mobile */
    .order-card-footer,
    .order-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .order-total {
        width: 100%;
        padding-bottom: 12px;
        border-bottom: 1px solid #F0F0F0;
    }

    .order-actions {
        width: 100%;
        flex-direction: column;
    }

    .order-action-btn,
    .view-details-btn,
    .return-order-btn,
    .cancel-order-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }

    /* Adjust empty orders on mobile */
    .empty-orders {
        padding: var(--spacing-md) var(--spacing-sm);
        /* 40px 24px */
    }

    .empty-orders i {
        font-size: 3rem;
    }

    .empty-orders h2 {
        font-size: 1.5rem;
        /* 24px */
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {

    /* Adjust order card padding for tablet */
    .order-card {
        padding: var(--spacing-sm);
        /* 24px */
    }
}


/* ============================================
   About Page - Our Story & Content Sections
   ============================================ */

/* About page sections - add top padding to prevent navbar overlap */
.our-story,
.about,
.values {
    padding-top: var(--spacing-md);
    /* 40px */
    padding-bottom: var(--spacing-md);
    /* 40px */
}

/* Reduce bottom padding for values section since it has fewer items */
.values {
    padding-bottom: var(--spacing-sm);
    /* 24px - reduced from 40px */
}

/* First section on page - extra top padding */
.our-story:first-of-type {
    padding-top: 100px;
    /* Account for fixed navbar */
}

/* Story content layout */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    width: 100%;
    max-height: 380px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.story-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.story-text p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.story-text ul.features {
    list-style: none;
    margin-top: var(--spacing-sm);
}

.story-text ul.features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.story-text ul.features i {
    color: var(--accent-primary);
    font-size: 1.125rem;
}

/* About content layout */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.about-text p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.about-image {
    width: 100%;
    max-height: 380px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-soft);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    display: block;
}

/* Values section */
.values {
    text-align: center;
}

.values h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.value-item {
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: var(--radius-soft);
    box-shadow: 0 2px 8px var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.value-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-bg);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-primary);
}

.value-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.value-item p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   Responsive About Page - Mobile
   ============================================ */

@media (max-width: 768px) {

    .our-story,
    .about,
    .values {
        padding-top: 100px;
        padding-bottom: var(--spacing-md);
    }

    .our-story:first-of-type {
        padding-top: 120px;
    }

    .story-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .story-image,
    .about-image {
        max-height: 280px;
        /* Compact on mobile */
        aspect-ratio: 4 / 5;
    }

    .story-image img,
    .about-image img {
        height: 100%;
        /* Fill container, not fixed px */
    }

    .story-text h2,
    .about-text h2,
    .values h2 {
        font-size: 1.75rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* ============================================
   Search Overlay Component
   ============================================ */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 100%;
    max-width: 800px;
    padding: 0 var(--spacing-sm);
}

.search-input-wrapper {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--white);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--white);
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-close:hover {
    color: var(--accent-primary);
}

.search-results {
    color: var(--white);
    font-family: var(--font-body);
}

.search-results p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}


/* ============================================
   Search Modal Component
   ============================================ */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-modal-content {
    width: 100%;
    max-width: 900px;
    padding: 0 var(--spacing-md);
    position: relative;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    background: rgba(245, 245, 243, 0.93);
    border: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.search-close {
    position: absolute;
    top: -60px;
    right: var(--spacing-md);
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 8px;
}

.search-close:hover {
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.search-box {
    position: relative;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-soft);
    padding: 0 24px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--accent-primary);
    background-color: rgba(255, 255, 255, 0.15);
}

.search-box i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 16px;
}

.search-box input {
    flex: 1;
    padding: 24px 0;
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--white);
    background: transparent;
    border: none;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-results {
    max-height: 500px;
    overflow-y: auto;
    padding: var(--spacing-sm);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-soft);
}

.search-empty {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-soft);
    margin-bottom: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.search-result-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.search-result-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 4px;
}

.search-result-price {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
}

/* Responsive Search Modal */
@media (max-width: 768px) {
    .search-modal {
        padding-top: 80px;
    }

    .search-modal-content {
        padding: 0 var(--spacing-xs);
    }

    .search-close {
        top: -50px;
        right: var(--spacing-xs);
        font-size: 1.5rem;
    }

    .search-box {
        padding: 0 16px;
    }

    .search-box input {
        padding: 16px 0;
        font-size: 1rem;
    }

    .search-result-item {
        gap: 12px;
        padding: 12px;
    }

    .search-result-image {
        width: 60px;
        height: 75px;
    }

    .search-result-title {
        font-size: 1rem;
    }

    .search-result-price {
        font-size: 0.875rem;
    }
}


/* ============================================
   Profile Sidebar Menu Component
   ============================================ */

/* Sidebar overlay - hidden by default */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Sidebar menu - slides in from LEFT with brand styling */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -320px;
    /* Hidden to the left */
    width: 320px;
    /* Sidebar width: 320px */
    height: 100%;
    background: rgba(245, 245, 243, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* Soft off-white background */
    z-index: 3000;
    overflow-y: auto;
    transition: left 0.3s ease;
    /* Slide from left in 0.3s */
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar-menu.active {
    left: 0;
    /* Slide in from left */
}

/* Sidebar header */
.sidebar-header {
    padding: var(--spacing-sm);
    border-bottom: 1px solid #E8E8E8;
    position: relative;
    background-color: #F5F3EF;
}

.sidebar-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #111111;
    /* Deep black */
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
}

.sidebar-close:hover {
    color: var(--accent-primary);
}

/* Sidebar user info */
.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 40px;
}

.sidebar-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.sidebar-user-details h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 400;
    color: #111111;
    /* Deep black */
    margin-bottom: 4px;
}

.sidebar-user-details p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Sidebar content */
.sidebar-content {
    padding: 0;
}

.sidebar-section {
    margin-bottom: 40px;
    /* Section spacing: 40px */
}

.sidebar-section-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    padding: 16px var(--spacing-sm) 8px;
}

.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu-item {
    margin: 0;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px var(--spacing-sm);
    /* Spacing between menu items: 20px */
    font-family: var(--font-body);
    /* Font: Inter */
    font-size: 16px;
    /* Menu text size: 16px */
    color: #111111;
    /* Deep black text */
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-menu-link:hover {
    background-color: rgba(17, 17, 17, 0.1);
    /* Subtle accent background on hover */
    color: var(--accent-primary);
}

.sidebar-menu-link i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
    color: #111111;
    /* Deep black icons */
}

.sidebar-menu-link:hover i {
    color: var(--accent-primary);
}

/* Responsive sidebar */
@media (max-width: 768px) {
    .sidebar-menu {
        width: 280px;
        /* Slightly narrower on mobile */
        left: -280px;
    }
}


/* ============================================
   Form Buttons - Profile, Settings, Addresses, Returns Pages
   ============================================ */

/* Primary action buttons (Save, Submit, Add) */
.save-btn,
.add-address-btn,
.btn-request-return {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--radius-soft);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 160px;
}

.save-btn:hover,
.add-address-btn:hover,
.btn-request-return:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.3);
}

.save-btn:active,
.add-address-btn:active,
.btn-request-return:active {
    transform: translateY(0);
}

/* Edit button */
.edit-btn {
    background-color: var(--accent-primary);
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--radius-soft);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid var(--accent-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
}

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

.edit-btn:active {
    transform: translateY(0);
}

/* Cancel button */
.cancel-btn {
    background-color: var(--white);
    color: var(--text-primary);
    padding: 16px 40px;
    border-radius: var(--radius-soft);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
}

.cancel-btn:hover {
    background-color: var(--text-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.2);
}

.cancel-btn:active {
    transform: translateY(0);
}

/* Delete account button - danger style */
.delete-account-btn {
    background-color: #dc3545;
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--radius-soft);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid #dc3545;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
}

.delete-account-btn:hover {
    background-color: #c82333;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.delete-account-btn:active {
    transform: translateY(0);
}

/* Contact buttons on returns page */
.contact-btn {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--radius-soft);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    min-width: 200px;
}

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

.contact-btn:active {
    transform: translateY(0);
}

/* Address card action buttons */
.edit-address-btn,
.delete-address-btn,
.set-default-btn {
    background-color: var(--white);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.edit-address-btn:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.delete-address-btn {
    border-color: #dc3545;
    color: #dc3545;
}

.delete-address-btn:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: var(--white);
    transform: translateY(-2px);
}

.set-default-btn:hover {
    background-color: var(--text-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Modal buttons */
#cancel-modal {
    background-color: var(--white);
    color: var(--text-primary);
    padding: 16px 40px;
    border-radius: var(--radius-soft);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
}

#cancel-modal:hover {
    background-color: var(--text-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Button groups */
.profile-actions,
.address-actions,
.contact-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Responsive button styles */
@media (max-width: 768px) {

    .save-btn,
    .add-address-btn,
    .edit-btn,
    .cancel-btn,
    .delete-account-btn,
    .contact-btn,
    .btn-request-return {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    .profile-actions,
    .address-actions,
    .contact-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .edit-address-btn,
    .delete-address-btn,
    .set-default-btn {
        flex: 1;
        min-width: 0;
    }
}


/* ============================================
   Login State Management - Hide content when not logged in
   ============================================ */

/* Ensure addresses content is hidden when user is not logged in */
#addresses-content[style*="display: none"],
#orders-content[style*="display: none"],
#settings-content[style*="display: none"],
#profile-content[style*="display: none"] {
    display: none !important;
}

/* Ensure not-logged-in message is visible when shown */
#not-logged-in[style*="display: flex"] {
    display: flex !important;
}


/* Ensure modals are hidden by default */
.modal {
    display: none;
}

/* Force hide modal when not logged in */
body:has(#not-logged-in[style*="display: flex"]) .modal {
    display: none !important;
}


/* ============================================
   Profile Pages - Addresses, Settings, Profile, Orders, Returns
   ============================================ */

/* Profile section container */
.profile-section {
    padding-top: var(--spacing-lg);
    /* 120px - account for navbar */
    padding-bottom: var(--spacing-md);
    /* 40px */
    background-color: var(--primary-bg);
    min-height: auto;
}

.profile-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    /* 24px */
}

.profile-section h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.profile-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    /* 40px */
}

/* Profile content and settings content */
.profile-content,
.settings-content {
    display: block;
}

/* Profile card and settings card */
.profile-card,
.settings-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-soft);
    padding: var(--spacing-md);
    /* 40px */
    margin-bottom: var(--spacing-sm);
    /* 24px */
    box-shadow: 0 2px 8px var(--shadow-soft);
}

.settings-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.settings-card>p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
}

/* Profile header */
.profile-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    /* 24px */
    margin-bottom: var(--spacing-md);
    /* 40px */
    padding-bottom: var(--spacing-sm);
    /* 24px */
    border-bottom: 2px solid #E8E4DD;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--warm-taupe) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.profile-info h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Profile details section */
.profile-details h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    /* 24px */
}

/* Form styling */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    /* 24px */
    margin-bottom: var(--spacing-sm);
    /* 24px */
}

.form-group {
    margin-bottom: var(--spacing-sm);
    /* 24px */
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px var(--spacing-xs);
    /* 14px 16px */
    border: 2px solid #E8E4DD;
    border-radius: var(--radius-soft);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--white);
    transition: all 0.3s ease;
}

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

.form-group input:read-only {
    background-color: #F9F8F6;
    color: var(--text-secondary);
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Required field indicator */
.required-star {
    color: #E74C3C;
    font-weight: 700;
}

.required-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    /* 24px */
}

/* Settings specific styles */
.setting-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    /* 16px */
    padding: var(--spacing-xs) 0;
    /* 16px 0 */
    border-bottom: 1px solid #E8E4DD;
}

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

.setting-info {
    flex: 1;
}

.setting-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.setting-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent-primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* Danger zone */
.danger-zone {
    border: 2px solid #E74C3C;
    background-color: #FFF5F5;
}

.danger-zone h3 {
    color: #E74C3C;
}

/* Profile stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    /* 24px */
    margin-top: var(--spacing-sm);
    /* 24px */
}

.stat-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-soft);
    padding: var(--spacing-sm);
    /* 24px */
    text-align: center;
    box-shadow: 0 2px 8px var(--shadow-soft);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Address list */
.addresses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-sm);
    /* 24px */
    margin-top: var(--spacing-sm);
    /* 24px */
}

.address-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-soft);
    padding: var(--spacing-sm);
    /* 24px */
    box-shadow: 0 2px 8px var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.address-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

.address-type {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.default-badge {
    background-color: var(--accent-primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-soft);
    font-size: 0.75rem;
    font-weight: 600;
}

.address-card h4 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.address-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

.address-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 12px;
}

.address-phone i {
    color: var(--accent-primary);
}

.address-actions {
    display: flex;
    gap: 8px;
    margin-top: var(--spacing-xs);
    /* 16px */
    padding-top: var(--spacing-xs);
    /* 16px */
    border-top: 1px solid #E8E4DD;
}

/* No addresses state */
.no-addresses {
    text-align: center;
    padding: var(--spacing-md);
    /* 40px */
    background-color: var(--card-bg);
    border-radius: var(--radius-soft);
    box-shadow: 0 2px 8px var(--shadow-soft);
}

.no-addresses i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

.no-addresses p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: var(--spacing-md);
    /* 40px */
    border-radius: var(--radius-soft);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    /* 16px */
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    gap: var(--spacing-xs);
    /* 16px */
    margin-top: var(--spacing-sm);
    /* 24px */
}

/* Orders page specific */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    /* 24px */
}

.order-card {
    background: var(--card-bg);
    border: 1px solid #EDEBE7;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.order-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #EDEBE7;
}

.order-info h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
    letter-spacing: 0.01em;
}

.order-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.order-status {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.order-status.pending {
    background: #FFF8E7;
    color: #A0720A;
    border: 1px solid #F0D89A;
}

.order-status.processing {
    background: #E8F4FD;
    color: #1565C0;
    border: 1px solid #BBDEFB;
}

.order-status.shipped {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.order-status.delivered {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.order-status.out-for-delivery {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFE0B2;
}

.order-status.cancelled {
    background: #FEECEC;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.order-status i {
    font-size: 0.6rem;
}

/* ── Order Items ─────────────────── */
.order-items {
    margin: 0 0 16px 0;
}

.order-item-with-image {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #F0EDE8;
}

.order-item-with-image:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.order-item-image {
    width: 72px;
    height: 72px;
    min-width: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #EDEBE7;
    background: #F5F3EF;
    display: block;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.order-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-primary);
    white-space: nowrap;
}

/* ── Order Footer ─────────────────── */
.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #EDEBE7;
    gap: 12px;
    flex-wrap: wrap;
}

.order-total {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.order-total span:first-child {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.total-amount {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.view-details-btn,
.return-order-btn,
.cancel-order-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1.5px solid transparent;
}

.view-details-btn {
    background: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
}

.view-details-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.return-order-btn {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.return-order-btn:hover:not(.disabled) {
    background: var(--accent-primary);
    color: var(--white);
}

.cancel-order-btn {
    background: transparent;
    color: #C62828;
    border-color: #C62828;
}

.cancel-order-btn:hover:not(.disabled) {
    background: #C62828;
    color: var(--white);
}

.return-order-btn.disabled,
.cancel-order-btn.disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-section {
        padding-top: 100px;
    }

    .profile-section h1 {
        font-size: 2rem;
    }

    .profile-card,
    .settings-card {
        padding: var(--spacing-sm);
    }

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

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

    .addresses-list {
        grid-template-columns: 1fr;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .order-actions {
        width: 100%;
    }

    .view-details-btn,
    .return-order-btn,
    .cancel-order-btn {

        width: 100%;
        justify-content: center;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: var(--spacing-sm);
        /* 24px */
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   Returns Page Specific Styling
   ============================================ */

/* Returns header section */
.returns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    /* 24px */
    padding: var(--spacing-sm);
    /* 24px */
    background-color: var(--card-bg);
    border-radius: var(--radius-soft);
    box-shadow: 0 2px 8px var(--shadow-soft);
}

.returns-header h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin: 0;
}

/* Return item card */
.return-item-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-soft);
    padding: var(--spacing-sm);
    /* 24px */
    margin-bottom: var(--spacing-sm);
    /* 24px */
    box-shadow: 0 2px 8px var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.return-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

/* Return header */
.return-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    /* 16px */
    padding-bottom: var(--spacing-xs);
    /* 16px */
    border-bottom: 2px solid #E8E4DD;
}

.return-info h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.return-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Return status badges */
.return-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-pending {
    background-color: #FFF3CD;
    color: #856404;
}

.status-approved {
    background-color: #D4EDDA;
    color: #155724;
}

.status-transit {
    background-color: #D1ECF1;
    color: #0C5460;
}

.status-received {
    background-color: #D4EDDA;
    color: #155724;
}

.status-refunded {
    background-color: #D4EDDA;
    color: #155724;
}

.status-rejected {
    background-color: #F8D7DA;
    color: #721C24;
}

.status-cancelled {
    background-color: #E2E3E5;
    color: #383D41;
}

/* Return product info */
.return-product-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    /* 16px */
    margin: var(--spacing-xs) 0;
    /* 16px 0 */
    padding: var(--spacing-xs);
    /* 16px */
    background-color: #F9F8F6;
    border-radius: var(--radius-soft);
}

.return-product-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-soft);
}

.return-product-details {
    flex: 1;
}

.return-product-details h4 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.return-product-details p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.return-price {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 1rem !important;
}

/* Return reason */
.return-reason {
    margin: var(--spacing-xs) 0;
    /* 16px 0 */
    padding: var(--spacing-xs);
    /* 16px */
    background-color: #FFF9F0;
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--radius-soft);
}

.return-reason strong {
    color: var(--text-primary);
    font-weight: 600;
}

.return-comments {
    margin-top: 8px;
    font-style: italic;
    color: var(--text-secondary);
}

/* Return refund info */
.return-refund {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px var(--spacing-xs);
    /* 12px 16px */
    background-color: #E8F5E9;
    border-radius: var(--radius-soft);
    color: #2E7D32;
    font-weight: 600;
    margin: var(--spacing-xs) 0;
    /* 16px 0 */
}

.return-refund i {
    font-size: 1.25rem;
}



/* Returns content section */
#returns-content {
    display: block;
}

/* Responsive design for returns */
@media (max-width: 768px) {
    .returns-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .returns-header>div:last-child {
        width: 100%;
    }

    .returns-header button {
        width: 100%;
    }

    .return-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }


}

/* ============================================
   Brand Redesign - Additional Styles
   ============================================ */

/* Brand Image Class for About Page */
.brand-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-soft);
    display: block;
}

/* Feature Marker (Dash) for Lists */
.feature-marker {
    color: var(--accent-primary);
    font-weight: 700;
    margin-right: 12px;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

/* Philosophy Marker (Dash) */
.philosophy-marker {
    display: block;
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-xs);
    font-weight: 300;
}

/* Collections Page Header */
.collections-page-header {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    color: #1A1A1A;
}

@media (max-width: 768px) {
    .collections-page-header {
        font-size: 32px;
    }
}





/* ============================================
   Scroll Animations
   ============================================ */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for multiple elements */
.fade-up:nth-child(1) {
    transition-delay: 0.1s;
}

.fade-up:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-up:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-up:nth-child(4) {
    transition-delay: 0.4s;
}


/* ===================================
   RETURN MODAL STYLES
   =================================== */

.return-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
}

.return-modal {
    background: white;
    border-radius: var(--radius-soft, 4px);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

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

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

.return-modal-header {
    padding: 24px;
    border-bottom: 1px solid #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.return-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #111;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #111;
}

.return-modal-body {
    padding: 24px;
}

.required-note {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.required-star {
    color: #dc3545;
    font-weight: bold;
}



.return-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: var(--radius-soft, 4px);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: #111;
    color: white;
}

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

.btn-secondary {
    background: white;
    color: #111;
    border: 1.5px solid #E5E5E5;
}

.btn-secondary:hover {
    border-color: #111;
}

/* Return Item Card Styles */
.return-item-card {
    background: var(--card-bg);
    border: 1px solid #EDEBE7;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.return-item-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.return-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #EDEBE7;
}

.return-info h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 3px 0;
    letter-spacing: 0.01em;
}

.return-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
}

.return-status {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.status-pending {
    background: #FFF8E7;
    color: #A0720A;
    border: 1px solid #F0D89A;
}

.status-approved {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.status-transit {
    background: #E8F4FD;
    color: #1565C0;
    border: 1px solid #BBDEFB;
}

.status-received {
    background: #EDE7F6;
    color: #4527A0;
    border: 1px solid #D1C4E9;
}

.status-refunded {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.status-rejected {
    background: #FEECEC;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.status-cancelled {
    background: #F5F5F5;
    color: #616161;
    border: 1px solid #E0E0E0;
}

/* Return product row */
.return-product-info {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.return-product-info img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #EDEBE7;
    background: #F5F3EF;
    display: block;
}

.return-product-details {
    flex: 1;
    min-width: 0;
}

.return-product-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.return-product-details p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 3px 0;
}

.return-price {
    font-weight: 700 !important;
    color: var(--accent-primary) !important;
    font-size: 0.9rem !important;
}

/* Reason block */
.return-reason {
    background: #F8F6F2;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.return-reason strong {
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.return-comments {
    margin-top: 6px;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.82rem;
}

/* Refund badge */
.return-refund {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2E7D32;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 12px;
    background: #E8F5E9;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #C8E6C9;
}

.return-refund i {
    color: #2E7D32;
    font-size: 0.8rem;
}

/* Actions */
.return-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #EDEBE7;
}

.btn-cancel-return,
.btn-view-details {
    padding: 8px 16px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1.5px solid transparent;
}

.btn-cancel-return {
    background: transparent;
    color: #C62828;
    border-color: #C62828;
}

.btn-cancel-return:hover {
    background: #C62828;
    color: white;
}

.btn-view-details {
    background: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
}

.btn-view-details:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* Details modal sections */
.details-section {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #EDEBE7;
}

.details-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.details-section h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.details-section p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 6px 0;
}

.details-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .return-modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .return-modal-overlay {
        padding: 0;
    }

    .return-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .return-product-info {
        flex-direction: row;
    }

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

    .btn-cancel-return,
    .btn-view-details {
        width: 100%;
        justify-content: center;
    }

    .return-modal-actions {
        flex-direction: column;

    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}


/* ── Enhanced Return Modal: Mandatory Photo Upload & Pickup Address ── */
.return-photo-upload-zone {
    border: 2px dashed #D0CCC5;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    background: #FAF8F5;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    position: relative;
}
.return-photo-upload-zone:hover, .return-photo-upload-zone.dragover {
    border-color: #111111;
    background: #F4EFEB;
}
.return-photo-upload-zone.error-border {
    border-color: #e74c3c !important;
    background: #FFF5F5 !important;
}
.return-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.return-photo-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid #E0DDD8;
    background: #FFFFFF;
}
.return-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.return-photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(17, 17, 17, 0.85);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.return-photo-remove:hover {
    background: #e74c3c;
}
.return-address-card-option {
    border: 1.5px solid #E0DDD8;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FAF8F5;
}
.return-address-card-option.selected {
    border-color: #111111;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.return-pickup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 600px) {
    .return-pickup-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   SETTINGS PAGE STYLES
   =================================== */

/* Toggle Switch Styling */
.switch input:checked+.slider {
    background-color: #111111;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.switch input:checked+.slider:before {
    transform: translateX(26px);
}

.add-address-btn:hover {
    background: #333 !important;
}

.save-btn:hover {
    background: #333 !important;
}

.delete-account-btn:hover {
    background: #9B2C2C !important;
}

/* Address Card Styles */
.addresses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.address-card {
    background: white;
    border: 1.5px solid #E5E5E5;
    border-radius: var(--radius-soft, 4px);
    padding: 24px;
    transition: box-shadow 0.2s;
    position: relative;
}

.address-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.address-card.default {
    border-color: #111111;
}

.address-type-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #F5F3EF;
    color: #111;
    border-radius: var(--radius-pill, 30px);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.address-card.default .address-type-badge {
    background: #111111;
    color: white;
}

.address-card h4 {
    font-size: 1rem;
    color: #111;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.address-card p {
    color: #666;
    font-size: 0.875rem;
    margin: 4px 0;
    line-height: 1.5;
}

.address-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E5E5;
}

.address-actions button {
    flex: 1;
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-soft, 4px);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
}

.edit-address-btn {
    background: white;
    color: #111;
    border: 1.5px solid #E5E5E5 !important;
}

.edit-address-btn:hover {
    border-color: #111 !important;
}

.delete-address-btn {
    background: #FFF5F5;
    color: #C53030;
}

.delete-address-btn:hover {
    background: #FED7D7;
}

.set-default-btn {
    background: #F5F3EF;
    color: #111;
}

.set-default-btn:hover {
    background: #E5E3DF;
}

/* Mobile Responsive for Addresses */
@media (max-width: 768px) {
    .addresses-list {
        grid-template-columns: 1fr;
    }

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

    .address-actions button {
        width: 100%;
    }
}

/* Delete Account Modal Styles */
.delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: deleteModalFadeIn 0.2s ease;
}

@keyframes deleteModalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.delete-modal-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

.delete-modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.delete-modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #111;
    margin-bottom: 15px;
}

.delete-modal-content p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.delete-modal-content p strong {
    color: #d32f2f;
    font-weight: 600;
}

.delete-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
}

.cancel-delete-btn,
.confirm-delete-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s ease;
}

.cancel-delete-btn {
    background: #f5f5f5;
    color: #333;
}

.cancel-delete-btn:hover {
    background: #e0e0e0;
}

.confirm-delete-btn {
    background: #d32f2f;
    color: white;
}

.confirm-delete-btn:hover {
    background: #b71c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .delete-modal-content {
        padding: 30px 20px;
        max-width: 90%;
    }

    .delete-modal-icon {
        font-size: 3rem;
    }

    .delete-modal-content h2 {
        font-size: 1.5rem;
    }

    .delete-modal-actions {
        flex-direction: column;
    }

    .cancel-delete-btn,
    .confirm-delete-btn {
        width: 100%;
    }
}


/* ========================================
   BRAND CONSISTENCY FIXES
   ======================================== */

/* Page Title - Consistent across all pages */
.page-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

/* Empty State Styles */
.empty-state-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-icon {
    font-size: 2.5rem;
    color: var(--text-primary);
    opacity: 0.12;
    margin-bottom: 1.5rem;
    display: block;
}

.empty-state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    background: #FFFFFF;
    border-radius: 4px;
    padding: 60px 40px;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.empty-state-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Wishlist Page Header */
.wishlist-page-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Wishlist Grid - Auto-fill instead of fixed columns */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
    padding: 32px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Wishlist Actions */
.wishlist-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.wishlist-clear-btn {
    padding: 12px 24px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.wishlist-clear-btn:hover {
    background: #F5F5F5;
}

.wishlist-cart-btn {
    padding: 12px 24px;
    background: var(--text-primary);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.wishlist-cart-btn:hover {
    background: #2A2A2A;
}

/* Profile Section */
.profile-section {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
    background: #F5F5F3;
}

/* Profile Avatar - Show initials instead of icon */
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #9F7554 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0;
    flex-shrink: 0;
}

/* Philosophy Value Dash */
.value-dash {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
    font-weight: 300;
}


/* Order Status Badges - Fixed colors */
.order-status.out-for-delivery {
    background-color: #E8F4FD;
    color: #0D47A1;
}

.order-status.pending {
    background-color: #FFF8E1;
    color: #E65100;
}

.order-status.returned {
    background-color: #F3E5F5;
    color: #6A1B9A;
}

.order-status.processing {
    background-color: #FFF3E0;
    color: #E65100;
}

/* Order Total Note */
.order-total-note {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* Cancel Order Button - No icon, subtle styling */
.cancel-order-btn {
    padding: 10px 20px;
    background: transparent;
    color: #C62828;
    border: 1px solid #FFCDD2;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-order-btn:hover {
    background: #FFEBEE;
}

/* Checkout - Default Badge */
.default-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(17, 17, 17, 0.12);
    color: var(--accent-primary);
    border: 1px solid rgba(17, 17, 17, 0.3);
    border-radius: 2px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Checkout - Address Card */
.address-card {
    border: 1px solid #E8E8E8;
    border-radius: 4px;
}

/* Checkout - Add Address Card */
.add-address-card {
    border: 1px dashed rgba(17, 17, 17, 0.2);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.add-address-card:hover {
    border-color: var(--accent-primary);
}

.add-address-card .add-icon {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.add-address-card span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
}

/* Checkout Steps - Consistent colors */
.step.active .step-number {
    background: var(--accent-primary);
    color: white;
}

.step.completed .step-number {
    background: var(--text-primary);
    color: white;
}

/* Payment Method Icons - Monochrome */
.payment-method {
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    padding: 18px 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
}

.payment-method:hover {
    border-color: var(--accent-primary);
}

.payment-method.selected {
    border-color: var(--accent-primary);
    background: rgba(17, 17, 17, 0.04);
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(17, 17, 17, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

.payment-method.selected .payment-method-icon {
    background: rgba(17, 17, 17, 0.1);
    color: var(--accent-primary);
}

.payment-method-info h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.payment-method-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Secure Checkout Box */
.secure-checkout {
    background: rgba(17, 17, 17, 0.03);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 4px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.secure-checkout .shield-icon {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2px;
}

.secure-checkout h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.secure-checkout p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* CTA Button - Consistent border-radius */
.cta-button {
    border-radius: 4px;
}


/* Continue to Payment Button */
.checkout-btn {
    border-radius: 4px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}


/* ========================================
   LAUNCH READINESS FIXES
   ======================================== */

/* Contact Form Submit Button */
.contact-submit-btn {
    padding: 14px 28px;
    background: var(--charcoal-black);
    color: var(--white);
    border: none;
    border-radius: var(--radius-soft);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-submit-btn:hover {
    background: #2A2A2A;
}

.contact-submit-btn:disabled {
    background: #E8E8E8;
    color: #999;
    cursor: not-allowed;
}

/* Contact Social Links */
.contact-social-link {
    width: 60px;
    height: auto;
    padding: 12px;
    background: var(--accent-primary);
    color: #FFFFFF;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 1rem;
    gap: 6px;
}

.contact-social-link i {
    font-size: 22px !important;
}

.contact-social-link .contact-social-label {
    font-size: 11px;
    font-family: var(--font-body);
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
    color: #FFFFFF;
}

.contact-social-link:hover {
    background: #9F7554;
}

/* Collections Subtitle */
.collections-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 1rem;
    letter-spacing: 0.06em;
    font-weight: 300;
}


/* ============================================
   Contact Page Mobile Responsive
   ============================================ */

@media (max-width: 768px) {

    /* Stack contact grid on mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Adjust contact section padding */
    .contact-section {
        padding: 80px 20px 50px !important;
    }
}



/* ============================================
   Contact Page Styles
   ============================================ */

/* Contact Section */
.contact-section {
    padding: 100px 20px 50px;
    min-height: 100vh;
}

/* Contact Heading */
.contact-heading {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    color: #1A1A1A;
}

/* Contact Subheading */
.contact-subheading {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 18px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Section Titles */
.contact-section-title {
    margin-bottom: 30px;
    color: #1A1A1A;
}

/* Contact Info Item */
.contact-info-item {
    margin-bottom: 30px;
}

/* Contact Info Title */
.contact-info-title {
    margin: 0 0 10px 0;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-title-last {
    margin: 0 0 15px 0;
    color: var(--accent-primary);
}

/* Contact Info Text & Address Styling */
.contact-info-text {
    margin: 0;
    color: #666;
}

.contact-address-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1A1A1A;
    margin-bottom: 2px;
}

.contact-address-country {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.contact-address-note {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    max-width: 420px;
    margin-top: 4px;
}


.contact-social-container {
    display: flex;
    gap: 15px;
}

/* Contact Social Icon */
.contact-social-icon {
    font-size: 22px;
    color: #ffffff;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contact Form Label */
.contact-form-label {
    display: block;
    margin-bottom: 8px;
    color: #1A1A1A;
    font-weight: 600;
}

/* Required Mark */
.required-mark {
    color: #e74c3c;
}

/* Contact Form Input */
.contact-form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
}

/* Contact Form Textarea */
.contact-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

/* Email Error Message */
.email-error {
    color: #d32f2f;
    display: none;
    margin-top: 5px;
}

/* Email Success Message */
.email-success {
    color: #27AE60;
    display: none;
    margin-top: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 80px 20px 30px;
    }

    .contact-heading {
        font-size: 32px;
    }

    .contact-subheading {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}



/* ============================================
   Stock Badge Styles for Inventory Management
   ============================================ */

/* Stock badge container on product image */
.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Out of Stock badge - Red */
.stock-badge.out-of-stock {
    background-color: #dc3545;
    color: #ffffff;
}

/* Low Stock badge - Orange/Yellow */
.stock-badge.low-stock {
    background-color: #ffc107;
    color: #000000;
}

/* In Stock badge (optional) - Green */
.stock-badge.in-stock {
    background-color: #28a745;
    color: #ffffff;
}

/* Responsive stock badge on mobile */
@media (max-width: 768px) {
    .stock-badge {
        font-size: 0.65rem;
        padding: 4px 8px;
        top: 8px;
        right: 8px;
    }
}

.product-card:hover .product-image img.main-img {
    opacity: 0;
    transform: scale(1.05);
}

.product-card:hover .product-image img.hover-img {
    opacity: 1;
}

/* PDP Image Zoom Magnifier */
.product-details-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
    background: #f5f5f3;
}

.product-details-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
}


/* ============================================
   Collections Showcase Section — Homepage
   ============================================ */

.collections-showcase {
    padding: 80px 0;
    background: #FAF9F6;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Grid: 2 equal portrait columns */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ── Showcase Card ── */
.showcase-card {
    position: relative;
    aspect-ratio: 4 / 5;
    /* 4:5 — balanced portrait, not too tall */
    max-height: 520px;
    /* Cap on large screens */
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #F0EFEC;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

/* Image fills entire card */
.showcase-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.showcase-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.showcase-card:hover .showcase-card-image img {
    transform: scale(1.06);
}

/* Gradient overlay — bottom third darkens for text */
.showcase-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.20) 45%,
            rgba(0, 0, 0, 0.00) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px 32px;
    color: #fff;
}

.showcase-card-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.showcase-card-overlay p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 20px;
    line-height: 1.5;
}

.showcase-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #fff;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
    width: fit-content;
    padding-bottom: 3px;
    transition: border-color 0.2s ease, letter-spacing 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.showcase-card:hover .showcase-link {
    border-color: #fff;
    letter-spacing: 0.22em;
}

/* Mobile: stack to single column */
@media (max-width: 640px) {
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-card-overlay {
        padding: 24px 20px;
    }

    .showcase-card-overlay h3 {
        font-size: 1.4rem;
    }
}

/* ============================================
   UNIVERSAL IMAGE SIZING SUMMARY
   All product / brand images use aspect-ratio: 3/4
   • .product-image       → product cards (all pages)
   • .showcase-card       → explore collection cards (homepage)
   • .story-image         → about page sections
   • .about-image         → about page sections
   • .philosophy-image    → brand philosophy (contain, not cover)
   • .main-image          → product detail page (4/5)
   ============================================ */

/* ── Universal Password Eye Toggle & Mandatory Star Styling ── */
.password-input-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.password-toggle-btn {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #888888 !important;
    font-size: 15px !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    transition: color 0.2s ease !important;
}

.password-toggle-btn:hover {
    color: #111111 !important;
}

.required-star,
.req-star {
    color: #DC3545 !important;
    font-weight: bold !important;
    margin-left: 3px !important;
    font-size: 14px !important;
    display: inline-block !important;
}

/* ============================================
   CSS-6 — Product Image Cinematic Zoom on Hover
   ============================================ */
.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* ============================================
   CSS-9 — Luxury Brand Ticker Strip
   ============================================ */
.brand-ticker {
    overflow: hidden;
    padding: 16px 0;
    background: #0A0A0A;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    animation: tickerScroll 34s linear infinite;
}

.ticker-track span {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
    padding: 0 28px;
    flex-shrink: 0;
}

.ticker-dot {
    color: rgba(255, 255, 255, 0.35) !important;
    opacity: 1 !important;
    padding: 0 4px !important;
    letter-spacing: 0 !important;
}

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

.brand-ticker:hover .ticker-track {
    animation-play-state: paused;
}



/* ============================================
   CSS-11 — Product Detail Zoom Badge
   ============================================ */
.main-image,
#main-image-zoom-container {
    position: relative;
    overflow: hidden;
}

.main-image::after,
#main-image-zoom-container::after {
    content: '+ ZOOM';
    position: absolute;
    bottom: 14px;
    right: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(10, 10, 10, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 2px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.main-image:hover::after,
#main-image-zoom-container:hover::after {
    opacity: 1;
}

/* ============================================
   CSS-EXTRA — @keyframes heroReveal
   ============================================ */
@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
