/* ============================================
   Waia - Romantic Dress Shop Styles
   ============================================ */

/* GLOBAL FIX: Fjern alle bullets/markers i navigasjon */
.nav-menu,
.nav-menu *,
nav ul,
nav li {
    list-style: none !important;
    list-style-type: none !important;
}

.nav-menu::marker,
.nav-menu *::marker,
nav ul::marker,
nav li::marker {
    content: none !important;
    display: none !important;
}

.nav-menu::before,
.nav-menu::after,
.nav-menu *::before,
.nav-menu *::after {
    content: none !important;
    display: none !important;
}

/* SKJUL HAMBURGER MENU PÅ DESKTOP */
.mobile-menu-toggle {
    display: none !important;
}

/* VIS HAMBURGER MENU KUN PÅ MOBIL */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
    }
}

/* SKJUL SIZE MODAL PÅ DESKTOP (kun for mobil) */
.size-modal-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.size-modal-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

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

.size-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.size-modal-header h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.size-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #444;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-modal-options {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.size-mobile-btn {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    background: white;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.size-mobile-btn:hover {
    background: #f9f9f9;
}

.size-mobile-btn.active {
    background: #1a1a1a;
    color: white;
}

/* SIZE MOBILE TRIGGER BUTTON (skjult på desktop) */
.size-mobile-trigger {
    display: none;
    width: 100%;
    padding: 14px 20px;
    background: white;
    border: 1px solid #ddd;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.size-mobile-trigger:active {
    background: #f8f8f8;
}

/* MOBIL: VIS SIZE MODAL, SKJUL DESKTOP SIZE BUTTONS */
@media (max-width: 768px) {
    .size-modal-overlay {
        display: block !important;
    }

    /* Skjul de store desktop-knappene på mobil */
    .size-options-container {
        display: none !important;
    }

    /* Vis mobile trigger knappen */
    .size-mobile-trigger {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px;
    }
}

/* CSS Variables for Brand Colors - Luxury Neutral Palette */
:root {
    --black: #000000;
    --charcoal: #1a1a1a;
    --dark-gray: #333333;
    --medium-gray: #555555; /* Darkened for better readability */
    --light-gray: #E5E5E5;
    --off-white: #F8F8F8;
    --white: #FFFFFF;
    --cream: #FAF9F6;
    --light-beige: #FBF8F4;
    --accent: #1a1a1a;
    --shadow-subtle: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   Keyframe Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Scroll animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px); /* Reduced from 30px for subtler effect */
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Faster: 0.4s from 0.8s */
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.7;
    background-color: var(--light-beige);
    font-size: 15px; /* Increased from 14px for better readability */
    font-weight: 400;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600; /* Increased from 400 for better hierarchy */
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease; /* Optimized from 0.3s */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Better image loading */
img[loading="lazy"] {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px; /* Increased from 20px for better breathing room on mobile */
    }

    /* Improved mobile spacing */
    section {
        padding: 60px 0; /* Reduced from 100px for mobile */
    }

    /* Better touch targets on mobile */
    .nav-menu a,
    .nav-icon {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Smaller, more refined nav text on mobile */
    .nav-menu a {
        font-size: 10px !important;
        font-weight: 300 !important;
        letter-spacing: 1px !important;
    }

    /* Mobile hamburger menu dropdown styling */
    .nav-menu.active a {
        font-size: 10px !important;
        font-weight: 300 !important;
        letter-spacing: 1px !important;
    }
}

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

.navbar {
    background-color: transparent;
    backdrop-filter: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .nav-container {
    padding: 10px 60px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 60px;
}

.nav-logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-logo a {
    color: rgb(107, 35, 56);
}

.nav-menu {
    display: flex;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
    gap: 45px;
}

.nav-menu::before,
.nav-menu::after {
    content: none !important;
    display: none !important;
}

.nav-menu li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
}

.nav-menu li::before,
.nav-menu li::after {
    content: none !important;
    display: none !important;
}

.nav-menu a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled .nav-menu a {
    color: var(--black);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--charcoal);
}

.nav-icons {
    display: flex;
    gap: 24px;
    align-items: center;
}

/* Centered Logo Navbar Layout */
.navbar-centered .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-centered .nav-menu-left {
    flex: 1;
    display: flex;
    gap: 45px;
}

/* Minimal Navbar */
.navbar-minimal .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 56px;
}

.navbar-minimal.scrolled {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    box-shadow: none;
}

.navbar-minimal.scrolled .nav-container {
    padding: 36px 56px !important;
}

.navbar-minimal .nav-logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-minimal .nav-logo-center a {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 8px;
    color: transparent;
    transition: color 0.3s ease;
}

.navbar-minimal.scrolled .nav-logo-center a {
    color: rgb(107, 35, 56) !important;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.navbar-minimal.scrolled .menu-toggle span {
    background-color: rgb(107, 35, 56);
}

.menu-toggle:hover span {
    opacity: 0.7;
}

/* Hamburger lines on mobile */
@media (max-width: 768px) {
    .menu-toggle {
        gap: 0;
    }
    .menu-toggle span {
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background-color: #fff;
        margin: 3px 0;
    }
    .navbar-minimal.scrolled .menu-toggle span {
        background-color: #1a1a1a;
    }
}

/* Shop Panel (Slide-out) */
.shop-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.shop-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.shop-panel-overlay.active .shop-panel {
    transform: translateX(0);
}

/* Fade in menu items one by one */
.shop-panel-nav li,
.shop-panel-divider,
.shop-panel-links li,
.shop-panel-social {
    opacity: 0;
    transform: translateX(-15px);
}

.shop-panel-overlay.active .shop-panel-nav li,
.shop-panel-overlay.active .shop-panel-divider,
.shop-panel-overlay.active .shop-panel-links li,
.shop-panel-overlay.active .shop-panel-social {
    animation: shopMenuFadeIn 0.3s ease forwards;
}

.shop-panel-overlay.active .shop-panel-nav li:nth-child(1) { animation-delay: 0.15s; }
.shop-panel-overlay.active .shop-panel-nav li:nth-child(2) { animation-delay: 0.2s; }
.shop-panel-overlay.active .shop-panel-nav li:nth-child(3) { animation-delay: 0.25s; }
.shop-panel-overlay.active .shop-panel-nav li:nth-child(4) { animation-delay: 0.3s; }
.shop-panel-overlay.active .shop-panel-nav li:nth-child(5) { animation-delay: 0.35s; }
.shop-panel-overlay.active .shop-panel-nav li:nth-child(6) { animation-delay: 0.4s; }
.shop-panel-overlay.active .shop-panel-divider { animation-delay: 0.45s; }
.shop-panel-overlay.active .shop-panel-links li:nth-child(1) { animation-delay: 0.5s; }
.shop-panel-overlay.active .shop-panel-links li:nth-child(2) { animation-delay: 0.55s; }
.shop-panel-overlay.active .shop-panel-links li:nth-child(3) { animation-delay: 0.6s; }
.shop-panel-overlay.active .shop-panel-links li:nth-child(4) { animation-delay: 0.65s; }
.shop-panel-overlay.active .shop-panel-links li:nth-child(5) { animation-delay: 0.7s; }
.shop-panel-overlay.active .shop-panel-social { animation-delay: 0.75s; }

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

@media (max-width: 768px) {
    .shop-panel {
        max-width: 85%;
        height: 100%;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    }
}

.shop-panel-social {
    display: flex;
    gap: 20px;
    padding: 24px 32px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.shop-panel-social a {
    color: #666;
    transition: color 0.2s ease;
}

.shop-panel-social a:hover {
    color: rgb(107, 35, 56);
}

.shop-panel-social svg {
    width: 24px;
    height: 24px;
}

.shop-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #eee;
}

.shop-panel-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin: 0;
}

.shop-panel-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.shop-panel-search {
    position: relative;
    padding: 16px 32px;
    border-bottom: 1px solid #eee;
}

.shop-panel-search input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.shop-panel-search input:focus {
    border-color: rgb(107, 35, 56);
}

.shop-panel-search input::placeholder {
    color: #999;
}

.shop-panel-search svg {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    stroke: #999;
    pointer-events: none;
}

.shop-panel-search-results {
    display: none;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.shop-panel-content {
    padding: 24px 0;
}

.shop-panel-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-panel-nav li {
    margin: 0;
}

.shop-panel-nav a {
    display: block;
    padding: 16px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.2s ease;
}

.shop-panel-nav a:hover {
    background: #f9f9f9;
}

.shop-panel-divider {
    height: 1px;
    background: #eee;
    margin: 24px 32px;
}

.shop-panel-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-panel-links a {
    display: block;
    padding: 12px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.shop-panel-links a:hover {
    color: #1a1a1a;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 180px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    margin-top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

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

.dropdown-menu a {
    display: block;
    padding: 14px 28px;
    color: #444 !important;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: none !important;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-menu a:hover {
    color: #1a1a1a !important;
    background: #f9f9f9;
}

.nav-menu .dropdown-menu a {
    text-transform: none !important;
    font-size: 14px !important;
    letter-spacing: 0.3px !important;
}

/* Mobile dropdown handling */
@media (max-width: 768px) {
    .nav-dropdown {
        border-bottom: 1px solid rgba(26, 26, 26, 0.06) !important;
    }

    .nav-dropdown > a {
        position: relative;
    }

    .nav-dropdown > a::after {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-right: 1.5px solid #1a1a1a;
        border-bottom: 1.5px solid #1a1a1a;
        transform: rotate(45deg);
        margin-left: 8px;
        vertical-align: middle;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.open > a::after {
        transform: rotate(-135deg);
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding: 0 !important;
        margin: 0;
        min-width: auto;
        background: #f8f8f8;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 300px;
        opacity: 1;
        visibility: visible;
    }

    .nav-dropdown .dropdown-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-dropdown .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .nav-dropdown .dropdown-menu a {
        padding: 10px 24px !important;
        font-size: 10px !important;
        letter-spacing: 1px !important;
        background: #f8f8f8 !important;
        color: #888 !important;
        text-align: center !important;
    }

    .nav-dropdown .dropdown-menu a:hover,
    .nav-dropdown .dropdown-menu a:active {
        background: #f0f0f0 !important;
        color: #1a1a1a !important;
    }
}

.navbar-centered .nav-logo-center {
    flex: 0 0 auto;
    text-align: center;
}

.navbar-centered .nav-logo-center a {
    font-size: 38px;
    letter-spacing: 5px;
}

.navbar-centered .nav-icons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.nav-icon {
    position: relative;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--charcoal);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-icon:hover {
    color: var(--medium-gray);
}

/* WhatsApp icon styles removed */

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.cart-icon svg {
    stroke: #fff;
    transition: stroke 0.3s ease;
}

.cart-icon:hover {
    color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled .cart-icon {
    color: var(--charcoal);
}

.navbar.scrolled .cart-icon svg {
    stroke: var(--charcoal);
}

.navbar.scrolled .cart-icon:hover {
    color: var(--medium-gray);
}

.navbar-minimal.scrolled .cart-icon {
    color: rgb(107, 35, 56);
}

.navbar-minimal.scrolled .cart-icon svg {
    stroke: rgb(107, 35, 56);
}

.navbar-minimal.scrolled .cart-icon:hover {
    opacity: 0.7;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background-color: var(--black);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 400;
}

/* ============================================
   Size Selection Modal
   ============================================ */

.size-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.size-modal-content {
    background: var(--white);
    border-radius: 0;
    width: 90%;
    max-width: 480px;
    height: 100%;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.size-modal.active .size-modal-content {
    transform: translateX(0);
}

.size-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--medium-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.size-modal-close:hover {
    background: var(--light-gray);
    color: var(--charcoal);
}

.size-modal-body {
    padding: 24px;
}

.size-modal-top {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.size-modal-image {
    width: 140px;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.size-modal-info {
    display: flex;
    flex-direction: column;
}

.size-modal-title-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.size-modal-title-price h3,
.size-modal-info h3 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--charcoal);
    line-height: 1.2;
}

.size-modal-price {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0;
}

.size-modal-selector {
    margin-bottom: 16px;
}

.size-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.size-modal-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.size-guide-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--dark-gray);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.size-guide-link:hover {
    color: var(--charcoal);
    text-decoration: underline;
}

.size-modal-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-modal-btn {
    min-width: 56px;
    height: 48px;
    border: 1px solid var(--light-gray);
    background: var(--white);
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-modal-btn:hover {
    border-color: var(--charcoal);
}

.size-modal-btn.selected {
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: var(--white);
}

.size-modal-btn:active {
    transform: scale(0.95);
}

.size-modal-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.size-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.size-modal-add-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: var(--black) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 50px !important;
}

.size-modal-buy-now-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #C04851 0%, #8B1538 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 72, 81, 0.3);
}

.size-modal-buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 72, 81, 0.4);
}

.size-modal-buy-now-btn:active {
    transform: translateY(0);
}

.size-modal-vipps-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    background: #FF5B24;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.size-modal-other-payment {
    text-align: center;
    font-size: 13px;
    color: var(--dark-gray);
    text-decoration: underline;
    margin-top: 5px;
}

.size-modal-view-details {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--dark-gray);
    text-decoration: underline;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.size-modal-add-btn:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

/* Better Toast Notifications */
.better-toast {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 18px 28px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 90%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.better-toast.show {
    bottom: 40px;
}

.better-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.better-toast-message {
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.4;
}

.better-toast-success .better-toast-icon {
    background: #4CAF50;
    color: white;
}

.better-toast-error .better-toast-icon {
    background: #f44336;
    color: white;
}

.better-toast-warning .better-toast-icon {
    background: #ff9800;
    color: white;
}

.better-toast-info .better-toast-icon {
    background: #2196F3;
    color: white;
}

@media (max-width: 768px) {
    /* Bottom Sheet Modal for Mobile */
    .size-modal {
        align-items: flex-end !important;
        justify-content: center !important;
    }

    .size-modal-content {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 85vh;
        border-radius: 20px 20px 0 0 !important;
        transform: scale(1) translateY(100%) !important;
        transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1) !important;
        margin: 0 !important;
    }

    .size-modal.active .size-modal-content {
        transform: scale(1) translateY(0) !important;
    }

    .size-modal-close {
        top: 12px;
        right: 12px;
        font-size: 28px;
        width: 36px;
        height: 36px;
    }

    .size-modal-body {
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .size-modal-top {
        display: flex;
        flex-direction: row !important;
        gap: 12px;
        margin-bottom: 0 !important;
    }

    .size-modal-image {
        width: 100px !important;
        height: 130px !important;
        flex-shrink: 0;
        margin-bottom: 0;
        border-radius: 8px;
        object-fit: cover;
    }

    .size-modal-title-price,
    .size-modal-info {
        flex: 1;
        min-width: 0;
    }

    .size-modal-title-price h3,
    .size-modal-info h3 {
        font-size: 15px !important;
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-weight: 400;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .size-modal-price {
        font-size: 14px;
        margin-bottom: 12px !important;
    }

    .size-modal-selector {
        width: 100%;
        margin-bottom: 0;
        margin-top: 0;
    }

    .size-modal-label {
        display: none !important;
    }

    .size-modal-options {
        display: flex !important;
        flex-direction: row !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        margin-bottom: 12px;
    }

    .size-modal-btn {
        width: auto !important;
        min-width: 44px !important;
        height: 36px !important;
        padding: 0 14px !important;
        font-size: 12px !important;
        border: 1px solid #ccc !important;
        border-radius: 18px !important;
        background: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .size-modal-btn.selected {
        background: var(--black) !important;
        color: white !important;
        border-color: var(--black) !important;
    }

    .size-modal-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin-top: 8px;
    }

    .size-modal-add-btn {
        width: 100%;
        padding: 14px;
        font-size: 12px;
        border-radius: 50px !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 0 !important;
        background: white !important;
        color: var(--black) !important;
        border: 1.5px solid var(--black) !important;
    }

    .size-modal-buy-now-btn {
        width: 100%;
        padding: 14px;
        font-size: 13px;
        border-radius: 50px;
        text-transform: none;
        letter-spacing: 0;
        background: black;
        color: white;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-family: var(--font-body);
        font-weight: 500;
    }

    .size-modal-vipps-btn {
        background: #FF5B24;
        font-weight: 600;
    }

    .size-modal-other-payment {
        display: block;
        text-align: center;
        font-size: 12px;
        color: var(--medium-gray);
        text-decoration: underline;
        margin-top: 4px;
        padding: 8px;
    }

    .better-toast {
        max-width: 85%;
        padding: 16px 24px;
    }

    .better-toast-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .better-toast-message {
        font-size: 14px;
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 8s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    padding: 0 40px;
    text-align: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
    text-transform: none;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .btn {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 18px 55px;
    font-size: 14px;
    letter-spacing: 3px;
    border-radius: 50px;
}

.hero-content .btn:hover {
    background: white;
    color: var(--black);
}

/* ============================================
   Benefits Bar
   ============================================ */

.benefits-bar {
    background: #fff;
    padding: 50px 20px;
    border-top: none;
    border-bottom: none;
}

.benefits-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.benefit-item {
    flex: 1;
    text-align: center;
    padding: 0 40px;
}

.benefit-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.benefit-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.5px;
}

.benefit-divider {
    width: 1px;
    height: 50px;
    background: #d4d2cf;
}

@media (max-width: 768px) {
    .benefits-bar {
        padding: 30px 15px;
    }

    .benefits-container {
        flex-direction: column;
        gap: 25px;
    }

    .benefit-item {
        padding: 0;
    }

    .benefit-title {
        font-size: 18px;
    }

    .benefit-text {
        font-size: 12px;
    }

    .benefit-divider {
        width: 60px;
        height: 1px;
    }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--black);
    border-radius: 0;
    font-size: 11px;
    font-weight: 500; /* Increased from 400 for better legibility */
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Faster: 0.25s from 0.4s */
    text-align: center;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    /* Improved touch target for mobile */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease-out, height 0.3s ease-out; /* Faster: 0.3s from 0.6s */
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-primary:active {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
}

/* Hero section: No border on button */
.hero .btn-primary {
    border: none;
}

.hero .btn-primary:hover {
    border: none;
}

.hero .btn-primary:active {
    border: none;
}

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

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-disabled {
    background-color: var(--light-gray);
    color: var(--medium-gray);
    border-color: var(--light-gray);
    cursor: not-allowed;
}

.btn-disabled:hover {
    background-color: var(--light-gray);
    color: var(--medium-gray);
}

/* ============================================
   Sections
   ============================================ */

section {
    padding: 100px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 300;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: var(--black);
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
    margin-bottom: 50px;
    font-style: italic;
}

/* ============================================
   Product Grid
   ============================================ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 60px 40px;
    margin-top: 60px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease; /* Optimized: specific property instead of 'all' */
    cursor: pointer;
}

.products-section .product-card {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.products-section .product-grid.products-loaded .product-card {
    visibility: visible;
    opacity: 1;
    position: static;
    pointer-events: auto;
}

.product-card:hover {
    transform: none;
    box-shadow: 0 4px 12px var(--shadow-hover); /* Added subtle shadow on hover */
}

.product-image {
    position: relative;
    height: 480px;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 12px;
}

/* Quick add button - shows on hover on desktop */
.quick-add-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0;
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--black);
    letter-spacing: 0.5px;
    overflow: hidden;
}

.quick-add-text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.product-card:hover .quick-add-btn {
    opacity: 1;
}

.quick-add-btn:hover {
    width: auto;
    padding: 0 18px;
    border-radius: 25px;
    background: #1a1a1a;
    color: white;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.quick-add-btn:hover .quick-add-text {
    max-width: 80px;
    opacity: 1;
}

.quick-add-btn:hover svg {
    stroke: white;
}

.quick-add-btn:active {
    transform: scale(0.95);
}

.quick-add-btn svg {
    stroke: var(--black);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: stroke 0.25s ease;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    transform: scale(1.05);
}

/* Hovedbilde som vises først */
.product-image-main {
    opacity: 1 !important;
    z-index: 1 !important;
}

/* Hover-bilde som vises ved hover */
.product-image-hover {
    opacity: 0 !important;
    z-index: 2 !important;
}

/* Vis hover-bilde når man peker på produktet */
.product-card:hover .product-image-hover {
    opacity: 1 !important;
}

/* Carousel dots (optional - viser hvilke bilde som vises) */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .carousel-dots {
    opacity: 1;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Faster: 0.3s from 0.5s */
    backdrop-filter: blur(0px);
}

.product-card:hover .product-overlay {
    opacity: 1;
    backdrop-filter: blur(2px);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background-color: var(--black);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 0;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.product-badge.new-badge {
    background-color: #8B1538;
    color: white;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--off-white);
    color: var(--medium-gray);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info {
    padding: 24px 0;
    text-align: center;
}

.product-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.product-description {
    font-size: 12px;
    font-weight: 300;
    color: var(--medium-gray);
    margin-bottom: 12px;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.product-details {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 10px;
    color: var(--dark-gray);
    justify-content: center;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.product-size {
    padding: 6px 16px;
    border: 1px solid var(--light-gray);
    background-color: var(--off-white);
    font-weight: 400;
}

.product-sizes {
    font-size: 12px;
    font-weight: 400;
    color: #444;
    margin: 8px 0;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.product-info .btn {
    width: auto;
    min-width: 200px;
}

/* Product card buttons - white background */
.product-info .btn-primary {
    background-color: var(--white) !important;
    color: var(--black) !important;
    border: 1px solid #ddd !important;
}

.product-info .btn-primary:hover {
    background-color: var(--black) !important;
    color: var(--white) !important;
    border-color: var(--black) !important;
}

/* ============================================
   Collections
   ============================================ */

.collections {
    background-color: var(--off-white);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.collection-card {
    height: 500px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.collection-card:hover {
    opacity: 0.9;
}

.collection-card h3 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* ============================================
   About Preview
   ============================================ */

.about-preview {
    background-color: var(--white);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 32px;
    color: var(--black);
    text-transform: uppercase;
}

.about-content p {
    font-size: 14px;
    font-weight: 300;
    line-height: 2;
    margin-bottom: 24px;
    color: var(--dark-gray);
    letter-spacing: 0.5px;
}

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

.newsletter {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.newsletter h2 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.newsletter p {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 0;
    font-size: 12px;
    letter-spacing: 1px;
    background-color: var(--white);
    color: var(--black);
}

.newsletter-form input::placeholder {
    color: var(--medium-gray);
    text-transform: uppercase;
}

.newsletter-form button {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    padding: 16px 32px;
}

.newsletter-form button:hover {
    background-color: var(--charcoal);
    color: var(--white);
}

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

.footer {
    background-color: var(--white);
    color: var(--charcoal);
    padding: 80px 0 40px;
    border-top: 1px solid var(--light-gray);
}

.footer-grid {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }
}

.footer-section h3 {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-section h4 {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    font-size: 12px;
    font-weight: 300;
    color: var(--medium-gray);
    letter-spacing: 0.5px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--black);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--deep-rose);
}

.newsletter-btn {
    padding: 12px 20px;
    background: var(--deep-rose);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--soft-pink);
}

.newsletter-btn:disabled {
    background: var(--medium-gray);
    cursor: not-allowed;
}

.newsletter-message {
    font-size: 14px;
    margin-top: 15px;
    padding: 16px 20px;
    text-align: center;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    line-height: 1.5;
    border: 1px solid transparent;
}

.newsletter-message.success {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.newsletter-message.error {
    background: transparent;
    color: #c62828;
    border-color: #c62828;
}

/* Minimal Newsletter Section */
.newsletter-section {
    background-color: var(--light-beige);
    padding: 80px 0;
    text-align: center;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.newsletter-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #444;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.newsletter-form-minimal {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.newsletter-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #333;
    padding: 10px 0;
    outline: none;
}

.newsletter-input-wrapper input::placeholder {
    color: #555;
}

.newsletter-input-wrapper button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s ease;
}

.newsletter-input-wrapper button:hover {
    transform: translateX(4px);
}

.newsletter-input-wrapper button svg {
    stroke: #333;
}

.newsletter-message-minimal {
    font-size: 14px;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-message-minimal.success {
    color: #2e7d32;
}

.newsletter-message-minimal.error {
    color: #c62828;
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 60px 20px;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .newsletter-subtitle {
        font-size: 14px;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-copyright {
    color: var(--charcoal);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0.8;
}

.footer-org {
    color: var(--medium-gray);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.6;
}

.footer-contact {
    color: var(--medium-gray);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.6;
    margin-top: 4px;
}

.footer-ai-notice {
    color: var(--medium-gray);
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 300;
    font-style: italic;
    opacity: 0.5;
    margin-top: 8px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.payment-icons img {
    height: 24px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.payment-icons img:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        gap: 6px;
    }

    .footer-copyright {
        font-size: 9px;
    }

    .footer-org {
        font-size: 8px;
    }
}

/* ============================================
   Size Guide Modal
   ============================================ */

.size-guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.size-guide-content {
    background: var(--white);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.size-guide-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
    padding: 32px 32px 0 32px;
    color: var(--black);
}

.size-guide-intro {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--medium-gray);
    margin: 0 0 32px 0;
    padding: 0 32px;
}

.size-table {
    padding: 0 32px 32px 32px;
    overflow-x: auto;
}

.size-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
}

.size-table thead {
    border-bottom: 2px solid var(--black);
}

.size-table th {
    padding: 16px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--black);
}

.size-table td {
    padding: 16px 12px;
    font-size: 14px;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--light-gray);
}

.size-table td strong {
    font-weight: 600;
    color: var(--black);
    font-size: 15px;
}

.size-table tbody tr:hover {
    background-color: var(--off-white);
}

.size-tips {
    background: var(--off-white);
    padding: 24px 32px;
    margin: 0;
}

.size-tips h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
    color: var(--black);
}

.size-tips ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
}

.size-tips li {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 8px;
    position: relative;
}

.size-tips li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--medium-gray);
}

.size-contact {
    font-family: var(--font-body);
    font-size: 13px;
    text-align: center;
    padding: 24px 32px 32px 32px;
    margin: 0;
    color: var(--medium-gray);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.modal-close-btn:hover {
    color: var(--black);
    transform: rotate(90deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .size-guide-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .size-guide-content h2 {
        font-size: 22px;
        padding: 24px 20px 0 20px;
    }

    .size-guide-intro {
        padding: 0 20px;
        font-size: 13px;
    }

    .size-table {
        padding: 0 20px 24px 20px;
    }

    .size-table th,
    .size-table td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .size-table th {
        font-size: 10px;
    }

    .size-tips {
        padding: 20px;
    }

    .size-tips h3 {
        font-size: 16px;
    }

    .size-tips li {
        font-size: 12px;
    }

    .size-contact {
        padding: 20px;
        font-size: 12px;
    }

    .modal-close-btn {
        top: 16px;
        right: 16px;
        font-size: 28px;
    }
}

/* ============================================
   Shopping Cart Modal
   ============================================ */

.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.cart-content {
    background-color: var(--white);
    width: 90%;
    max-width: 480px;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--light-gray);
}

.cart-header h2 {
    color: var(--black);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--charcoal);
    font-weight: 300;
}

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

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

.empty-cart {
    text-align: center;
    color: var(--medium-gray);
    padding: 60px 0;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cart-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item-image {
    width: 100px;
    height: 130px;
    object-fit: cover;
    border-radius: 0;
}

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

.cart-item-name {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.cart-item-price {
    color: var(--black);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.remove-item {
    background: none;
    border: none;
    color: var(--medium-gray);
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 1px;
    text-decoration: underline;
    text-transform: uppercase;
    margin-top: 8px;
}

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

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--light-gray);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--charcoal);
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: var(--off-white);
    border-color: var(--charcoal);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Cart Notes Section */
.cart-notes {
    padding: 20px 32px;
    border-top: 1px solid var(--light-gray);
}

.cart-notes-title {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.cart-notes-input {
    width: 100%;
    min-height: 60px;
    padding: 12px;
    border: 1px solid var(--light-gray);
    font-size: 12px;
    font-family: inherit;
    resize: vertical;
    letter-spacing: 0.3px;
}

.cart-notes-input::placeholder {
    color: #999;
    font-size: 11px;
}

.cart-notes-subtitle {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

.cart-discount {
    padding: 16px 32px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    gap: 10px;
}

.discount-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--light-gray);
    font-size: 12px;
    letter-spacing: 0.3px;
}

.discount-input::placeholder {
    color: #999;
    font-size: 11px;
}

.cart-discount .btn {
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--light-gray);
}

.applied-discount-display {
    padding: 12px 32px;
    border-top: 1px solid var(--light-gray);
}

.applied-discount-display button:hover {
    text-decoration: underline;
}

.cart-discount .btn:hover {
    background: var(--off-white);
    color: var(--black);
}

.cart-footer {
    padding: 24px 32px;
    border-top: 1px solid var(--light-gray);
    background-color: var(--off-white);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.cart-total span:last-child {
    color: var(--black);
}

/* Checkout button in cart - make it visible on light background */
.cart-footer .btn-primary {
    background-color: var(--black) !important;
    color: var(--white) !important;
    border: 1px solid var(--black) !important;
    width: 100%;
}

.cart-footer .btn-primary:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

.cart-shipping-notice {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    text-transform: none;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Mobile Optimization */
@media (max-width: 768px) {
    .navbar {
        border-bottom: none !important;
        width: 100%;
        margin: 0;
        padding: 0;
        top: 0 !important;
        position: fixed !important;
    }

    .navbar.scrolled {
        border-bottom: none !important;
        box-shadow: none !important;
    }

    .nav-container,
    .navbar-minimal.scrolled .nav-container {
        padding: 6px 22px !important;
        border: none !important;
        border-bottom: none !important;
        outline: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px;
        height: 24px;
    }

    .nav-menu {
        display: flex;
        gap: 20px;
        border: none !important;
    }

    .nav-menu a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .nav-logo {
        border: none !important;
        display: flex !important;
        align-items: center !important;
    }

    .nav-logo a {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .nav-icons {
        border: none !important;
        gap: 12px !important;
        display: flex !important;
        align-items: center !important;
    }

    .nav-icons svg {
        width: 20px !important;
        height: 20px !important;
    }

    .search-icon,
    .cart-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .search-icon {
        margin-right: 0 !important;
    }

    .mobile-menu-toggle span {
        width: 20px !important;
        height: 2px !important;
    }

    .hero {
        height: 85vh;
        min-height: 550px;
    }

    .hero-tagline {
        font-size: 10px;
        letter-spacing: 3px;
        margin-bottom: 18px;
    }

    .hero-title {
        font-size: 26px;
        letter-spacing: 0.5px;
        margin-bottom: 18px;
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.6;
        padding: 0 20px;
        white-space: nowrap;
    }

    .hero-content .btn {
        padding: 14px 40px;
        font-size: 11px;
    }

    .section-title {
        font-size: 20px;
        letter-spacing: 3px;
    }

    section {
        padding: 60px 0;
    }

    /* Mobile - Homepage: 1 column */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image {
        height: 500px;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }

    .product-image img {
        pointer-events: none;
        object-position: top;
    }

    /* Mobile - Products page only: 2 columns */
    .products-section .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }

    .products-section .product-card {
        margin-bottom: 8px;
    }

    .products-section .product-image {
        height: 280px;
        min-height: 250px;
        max-height: 320px;
    }

    .products-section .product-info {
        padding: 10px 4px;
    }

    .products-section .product-name {
        font-size: 12px;
        font-weight: 500;
        color: #1a1a1a;
        margin-bottom: 4px;
    }

    .products-section .product-description {
        display: none;
    }

    .products-section .product-price {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    /* Smaller badge on mobile */
    .product-badge {
        padding: 4px 8px;
        font-size: 8px;
        letter-spacing: 1px;
        top: 10px;
        left: 10px;
    }

    /* Hide add to cart button on mobile - all product cards */
    .product-card .btn {
        display: none !important;
    }

    /* Hide overlay on mobile - entire product image is clickable */
    .product-overlay {
        display: none;
    }

    /* Make entire product card clickable on mobile */
    .product-card {
        cursor: pointer;
    }

    /* Quick add button on product image - always visible on mobile */
    .quick-add-btn {
        opacity: 1 !important;
    }

    .quick-add-btn:active {
        transform: scale(0.95);
    }

    .quick-add-btn svg {
        stroke: var(--black);
    }

    /* Mobile-friendly newsletter */
    .newsletter {
        padding: 50px 20px;
    }

    .newsletter h2 {
        font-size: 18px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .newsletter p {
        font-size: 11px;
        margin-bottom: 24px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0;
    }

    .newsletter-form input {
        border-right: 1px solid var(--light-gray);
        border-bottom: none;
        font-size: 12px;
        padding: 14px 16px;
    }

    .newsletter-form button {
        padding: 14px 24px;
        font-size: 12px;
    }

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

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

    .collection-card {
        height: 50vh;
        min-height: 400px;
    }

    /* Swipe-friendly carousel hint - REMOVED */
    /* .hero::after {
        content: 'Swipe for more';
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.7);
        font-size: 11px;
        letter-spacing: 2px;
        text-transform: uppercase;
        z-index: 3;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0%, 100% { opacity: 0.7; }
        50% { opacity: 0.3; }
    } */
}

@media (max-width: 480px) {
    .hero {
        height: 75vh;
        min-height: 450px;
    }

    .hero-tagline {
        font-size: 9px;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: 22px;
        letter-spacing: 0.3px;
        margin-bottom: 16px;
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 12px;
        line-height: 1.6;
        padding: 0 15px;
        margin-bottom: 24px;
        white-space: nowrap;
    }

    .hero-content .btn {
        padding: 12px 35px;
        font-size: 10px;
    }

    /* Small mobile - Homepage: 1 column */
    .product-image {
        height: 450px;
    }

    /* Small mobile - Products page only: 2 columns */
    .products-section .product-grid {
        gap: 8px;
        padding: 0 8px;
    }

    .products-section .product-image {
        height: 240px;
        min-height: 220px;
        max-height: 280px;
    }

    .products-section .product-name {
        font-size: 11px;
    }

    .products-section .product-price {
        font-size: 12px;
        font-weight: 600;
    }

    .nav-container {
        padding: 6px 22px;
    }

    .nav-logo a {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

/* ============================================
   Products Page Specific Styles
   ============================================ */

.page-header {
    padding: 100px 0 30px;
    text-align: center;
    background-color: var(--light-beige);
}

.page-header h1 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 12px;
    color: var(--black);
    text-transform: uppercase;
}

.page-header p {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--medium-gray);
    text-transform: uppercase;
}

.filter-section {
    padding: 20px 0;
    background-color: var(--light-beige);
    border-top: 0.5px solid #ddd;
    border-bottom: 0.5px solid #ddd;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--charcoal);
}

.filter-group select {
    padding: 10px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 0;
    background-color: var(--white);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--charcoal);
    cursor: pointer;
    min-width: 180px;
    transition: border-color 0.2s ease;
}

.filter-group select:hover {
    border-color: var(--medium-gray);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--black);
}

/* Modern Filters - Redesigned */
.filters-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-select {
    padding: 14px 20px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 18px;
    padding-right: 28px;
}

.filter-select:hover {
    opacity: 0.7;
}

.filter-select:focus {
    outline: none;
}

/* CAOZ-style Sort Dropdown */
.sort-dropdown-container {
    position: relative;
    margin-left: auto;
    padding-left: 20px;
    border-left: 1px solid #ddd;
}

.sort-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-dropdown-btn:hover {
    opacity: 0.7;
}

.sort-dropdown-btn svg {
    transition: transform 0.3s ease;
}

.sort-dropdown-container.open .sort-dropdown-btn svg {
    transform: rotate(180deg);
}

.sort-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.sort-dropdown-container.open .sort-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option {
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--charcoal);
    cursor: pointer;
    transition: background 0.2s ease;
}

.sort-option:hover {
    background: var(--off-white);
}

.sort-option.active {
    font-weight: 600;
    background: var(--off-white);
}

/* Filter Dropdowns - Same style as Sort */
.filter-dropdown-container {
    position: relative;
}

.filter-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-dropdown-btn:hover {
    opacity: 0.7;
}

.filter-dropdown-btn svg {
    transition: transform 0.3s ease;
}

.filter-dropdown-container.open .filter-dropdown-btn svg {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.filter-dropdown-container.open .filter-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-option {
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--charcoal);
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-option:hover {
    background: var(--off-white);
}

.filter-option.active {
    font-weight: 600;
    background: var(--off-white);
}

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

/* Filter section label in dropdown */
.filter-section-label {
    padding: 12px 20px 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #999;
    text-transform: uppercase;
}

.sort-section-label,
.sort-divider {
    display: none;
}

.products-section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 20px;
    }

    .page-header h1 {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .products-section {
        padding: 20px 0;
    }

    .filters {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        width: 100%;
        min-width: 0;
    }

    /* Mobile Filter Design - Filter + Sort Buttons */
    .filter-section {
        padding: 12px 0;
        border: none;
    }

    .filters-modern {
        justify-content: space-between;
        padding: 0 16px;
    }

    /* Show mobile filter, hide desktop filters */
    .mobile-filter {
        display: block;
    }

    .desktop-filter {
        display: none;
    }

    /* Mobile Filter & Sort - Clean minimal style */
    .filter-dropdown-btn,
    .sort-dropdown-btn {
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 1.5px;
        padding: 8px 4px;
    }

    .filter-dropdown-btn svg,
    .sort-dropdown-btn svg {
        width: 10px;
        height: 10px;
    }

    .filter-dropdown-menu,
    .sort-dropdown-menu {
        min-width: 160px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    }

    .filter-dropdown-container.open .filter-dropdown-menu,
    .sort-dropdown-container.open .sort-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .filter-dropdown-menu {
        left: 0;
        right: auto;
    }

    .sort-dropdown-menu {
        right: 0;
        left: auto;
    }

    .filter-option,
    .sort-option {
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 1px;
        padding: 12px 16px;
        color: #555;
    }

    .filter-option:hover,
    .sort-option:hover {
        background: #f8f8f8;
        color: #000;
    }

    .filter-option.active,
    .sort-option.active {
        font-weight: 500;
        color: #000;
        background: #f8f8f8;
    }

    /* Mobile Sort Dropdown */
    .sort-dropdown-container {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    /* Show mobile-only items in sort menu */
    .mobile-only {
        display: block;
    }

    .sort-section-label {
        padding: 12px 20px 8px;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 1.5px;
        color: #999;
    }

    .sort-divider {
        height: 1px;
        background: #eee;
        margin: 8px 0;
    }

    .sanity-refresh-container {
        padding: 0 20px;
    }

    .sanity-refresh-btn {
        width: 100%;
        justify-content: center;
        font-size: 13px;
    }

    /* Hide dropdown menus on mobile - use bottom sheet instead */
    .mobile-filter .filter-dropdown-menu,
    .sort-dropdown-menu {
        display: none !important;
    }

    /* Hide sort dropdown completely on mobile */
    .sort-dropdown-container {
        display: none !important;
    }
}

/* ============================================
   Mobile Filter Bottom Sheet
   ============================================ */
.mobile-filter-sheet {
    display: none;
}

@media (max-width: 768px) {
    .mobile-filter-sheet {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0.3s, opacity 0.3s;
    }

    .mobile-filter-sheet.active {
        visibility: visible;
        opacity: 1;
    }

    .mobile-filter-sheet-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
    }

    .mobile-filter-sheet-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 16px 16px 0 0;
        max-height: 70vh;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .mobile-filter-sheet.active .mobile-filter-sheet-content {
        transform: translateY(0);
    }

    .mobile-filter-sheet-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
        flex-shrink: 0;
    }

    .mobile-filter-sheet-title {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .mobile-filter-sheet-close {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 4px;
        line-height: 1;
        color: #333;
    }

    .mobile-filter-sheet-body {
        padding: 20px;
        overflow-y: auto;
        flex: 1;
    }

    .mobile-filter-section {
        margin-bottom: 24px;
    }

    .mobile-filter-section:last-child {
        margin-bottom: 0;
    }

    .mobile-filter-section-title {
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 1.5px;
        color: #999;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    .mobile-filter-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .mobile-filter-option {
        padding: 10px 16px;
        border: 1px solid #ddd;
        background: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-filter-option:hover {
        border-color: #999;
    }

    .mobile-filter-option.active {
        background: #1a1a1a;
        color: #fff;
        border-color: #1a1a1a;
    }

    .mobile-filter-sheet-footer {
        padding: 16px 20px;
        border-top: 1px solid #eee;
        display: flex;
        gap: 12px;
        flex-shrink: 0;
    }

    .mobile-filter-reset-btn {
        flex: 1;
        padding: 14px 20px;
        border: 1px solid #ddd;
        background: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-filter-reset-btn:hover {
        border-color: #999;
    }

    .mobile-filter-apply-btn {
        flex: 2;
        padding: 14px 20px;
        border: none;
        background: #1a1a1a;
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-filter-apply-btn:hover {
        background: #333;
    }
}

/* ============================================
   About Page Specific Styles
   ============================================ */

.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 24px;
    color: var(--black);
    text-transform: uppercase;
}

.about-text h3 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--black);
    text-transform: uppercase;
}

.about-text p {
    font-size: 14px;
    font-weight: 300;
    line-height: 2;
    margin-bottom: 20px;
    color: var(--dark-gray);
    letter-spacing: 0.3px;
}

.about-image {
    position: sticky;
    top: 100px;
}

.image-placeholder {
    width: 100%;
    height: 600px;
    background-color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-it-works {
    padding: 100px 0;
    background-color: var(--off-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--white);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-card h3 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--black);
    text-transform: uppercase;
}

.step-card p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--medium-gray);
    letter-spacing: 0.3px;
}

.delivery-section {
    padding: 100px 0;
    background-color: var(--white);
}

.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.delivery-card {
    padding: 40px;
    border: 1px solid var(--light-gray);
}

.delivery-card h3 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--black);
    text-transform: uppercase;
}

.delivery-card p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--dark-gray);
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.delivery-card ul {
    list-style: none;
    padding-left: 0;
}

.delivery-card li {
    font-size: 13px;
    font-weight: 300;
    line-height: 2;
    color: var(--dark-gray);
    padding-left: 20px;
    position: relative;
}

.delivery-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--medium-gray);
}

.contact-section {
    padding: 100px 0;
    background-color: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--black);
}

.contact-info > p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 24px;
}

.contact-details {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 30px;
    border-radius: 0;
}

.contact-details p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-form-container {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 40px;
}

.contact-form {
    max-width: 100%;
    margin: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 0;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.3px;
    color: var(--charcoal);
    background-color: var(--white);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

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

    .about-image {
        position: relative;
        top: 0;
    }

    .image-placeholder {
        height: 400px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details {
        padding: 24px;
    }

    .contact-form-container {
        padding: 30px 24px;
    }
}

/* ============================================
   Floating Help Button
   ============================================ */

.help-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(0, 0, 0, 0.15);
    color: var(--charcoal);
    border-radius: 50%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.help-float:hover {
    background-color: rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.help-float svg {
    width: 24px;
    height: 24px;
    stroke: var(--charcoal);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .help-float {
        bottom: 20px;
        right: 20px;
        padding: 12px;
    }

    .help-float svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   Legal Pages Styling
   ============================================ */

.legal-section {
    padding: 120px 0 80px;
    background-color: var(--white);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--black);
    text-align: center;
}

.legal-intro {
    text-align: center;
    color: var(--medium-gray);
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 60px;
}

.legal-content {
    background-color: var(--white);
}

.legal-block {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--light-gray);
}

.legal-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-block h2 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--black);
}

.legal-block h3 {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.legal-block p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.legal-block ul,
.legal-block ol {
    margin: 20px 0;
    padding-left: 25px;
}

.legal-block li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.legal-block strong {
    font-weight: 500;
    color: var(--black);
}

.legal-block a {
    color: var(--black);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.legal-block a:hover {
    opacity: 0.7;
}

.legal-contact {
    margin-top: 50px;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.legal-note {
    font-size: 12px;
    color: var(--medium-gray);
    font-style: italic;
    margin-top: 15px;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-section {
        padding: 100px 0 60px;
    }

    .legal-section h1 {
        font-size: 28px;
    }

    .legal-block h2 {
        font-size: 18px;
    }

    .legal-block h3 {
        font-size: 14px;
    }
}

/* ============================================
   Product Detail Page
   ============================================ */

.product-detail-section {
    padding: 120px 0 80px;
    background-color: var(--light-beige);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 40px;
}

.product-detail-images {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.main-image {
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--light-beige);
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.thumbnail-image {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    overflow: hidden;
    background-color: var(--off-white);
}

.thumbnail-image:hover {
    border-color: var(--black);
}

.thumbnail-image.active {
    border-color: var(--black);
}

.thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.breadcrumb {
    font-size: 12px;
    color: var(--medium-gray);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: var(--medium-gray);
    text-decoration: none;
}

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

.product-detail-title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.product-detail-price {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* Color Selector */
.product-color-selector {
    margin-bottom: 25px;
}

.color-swatches {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #d0d0d0;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: var(--black);
}

.color-swatch.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--black);
    border-radius: 50%;
}

.color-swatch-label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.product-detail-description,
.product-detail-size,
.product-detail-details,
.product-detail-delivery {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.product-detail-description h3,
.product-detail-size h3,
.product-detail-details h3,
.product-detail-delivery h3 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--black);
}

.product-detail-description p,
.product-detail-size p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #333;
}

/* SIZE BUTTONS - SMALLER AND ELEGANT */
.size-option-btn {
    min-width: 55px !important;
    height: 45px !important;
    padding: 12px 18px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 0 !important;
    background: white !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-right: 10px !important;
    margin-bottom: 10px !important;
}

.size-option-btn:hover {
    border-color: #1a1a1a !important;
    background: white !important;
}

.size-option-btn.active {
    background: #1a1a1a !important;
    color: white !important;
    border-color: #1a1a1a !important;
}

.size-option-btn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    background: white !important;
}

.size-option-btn:disabled:hover {
    border-color: #d0d0d0 !important;
}

.product-detail-details ul,
.product-detail-delivery ul {
    list-style: none;
    padding: 0;
}

.product-detail-details li,
.product-detail-delivery li {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

.product-detail-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.btn-large {
    flex: 1;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    min-height: 50px;
    text-transform: uppercase;
}

/* Accordion Styles */
.accordion-section {
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 0;
    padding-bottom: 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    opacity: 0.7;
}

.accordion-header h3 {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    color: var(--black);
}

.accordion-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-section.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.accordion-section.active .accordion-content {
    max-height: 1000px;
    padding-bottom: 20px;
}

.accordion-content p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark-gray);
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-content li {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.accordion-content li strong {
    font-weight: 500;
    color: var(--black);
}

/* Special styling for large primary buttons (product detail page) */
.btn-large.btn-primary {
    background-color: white;
    color: #1a1a1a;
    border: 1px solid #ddd;
}

.btn-large.btn-primary:hover {
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #1a1a1a;
}

.btn-large.btn-primary:active {
    background-color: #000;
    color: white;
    border: 1px solid #000;
}

.product-detail-return {
    background-color: var(--off-white);
    padding: 20px;
    border-left: 3px solid var(--black);
}

.product-detail-return p {
    font-size: 13px;
    color: var(--dark-gray);
    margin: 0;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail-images {
        position: relative;
        top: 0;
    }

    .thumbnail-images {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-top: 12px !important;
    }

    .product-detail-title {
        font-size: 24px;
    }

    .product-detail-actions {
        flex-direction: column;
    }
}

/* ============================================
   Size Selector for Product Detail Page
   ============================================ */
.size-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.size-button {
    min-width: 50px;
    height: 50px;
    border: 2px solid #ddd;
    background: white;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.size-button:hover {
    border-color: #000;
    background: #f8f8f8;
}

.size-button.selected {
    border-color: #000;
    background: #000;
    color: white;
}

.size-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================
   Rabatt og Utsolgt Styling
   ============================================ */

/* Original pris (gjennomstreket) */
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    margin-right: 10px;
}

/* Rabattert pris */
.discount-price {
    color: #8B1538;
    font-weight: 600;
    font-size: 1.1em;
}

/* Rabatt badge */
.discount-badge {
    background: #8B1538;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 600;
    margin-left: 8px;
}

/* Utsolgt badge */
.out-of-stock {
    background: #666 !important;
}

/* Disabled button styling */
button.btn-secondary:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Product card med utsolgt-overlay */
.product-card[data-in-stock="false"] {
    opacity: 0.7;
}

.product-card[data-in-stock="false"] .product-image {
    position: relative;
}

.product-card[data-in-stock="false"] .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(200, 200, 200, 0.45);
    pointer-events: none;
    z-index: 3;
}

/* ============================================
   Bottom Navigation (Mobile)
   ============================================ */

.bottom-nav {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    max-width: 100%;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: var(--medium-gray);
    padding: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--black);
}

.bottom-nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bottom-nav-item.active .bottom-nav-icon {
    transform: scale(1.1);
}

.bottom-nav-item.active .bottom-nav-label {
    font-weight: 600;
}

/* BOTTOM NAV DEAKTIVERT - BRUKER HAMBURGER-MENY I STEDET */
@media (max-width: 768px) {
    .bottom-nav {
        display: none !important;
    }

    /* Fjernet padding siden bottom nav ikke vises */
    body {
        padding-bottom: 0;
    }
}

/* ============================================
   Search Modal Styles
   ============================================ */

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: color 0.3s ease;
    cursor: pointer;
}

.search-icon svg {
    stroke: white;
    transition: stroke 0.3s ease;
}

.navbar.scrolled .search-icon {
    color: var(--charcoal);
}

.navbar.scrolled .search-icon svg {
    stroke: var(--charcoal);
}

.search-icon:hover {
    color: var(--deep-rose);
}

.navbar.scrolled .search-icon:hover svg {
    stroke: var(--deep-rose);
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.search-modal-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
    line-height: 1;
}

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

.search-input-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.search-input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

#searchInput {
    width: 100%;
    padding: 18px 20px 18px 55px;
    font-size: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#searchInput:focus {
    border-color: var(--deep-rose);
    box-shadow: 0 4px 20px rgba(139, 21, 56, 0.1);
}

#searchInput::placeholder {
    color: #999;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.search-hint {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 40px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-image {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.search-result-price {
    font-size: 14px;
    color: var(--deep-rose);
    font-weight: 600;
}

.search-no-results {
    text-align: center;
    color: #444;
    margin-top: 40px;
}

.search-no-results p {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .search-modal-content {
        padding: 70px 15px 15px;
    }

    #searchInput {
        font-size: 16px;
        padding: 15px 15px 15px 50px;
    }

    .search-result-image {
        width: 60px;
        height: 75px;
    }

    .search-close-btn {
        top: 15px;
        right: 15px;
        font-size: 30px;
    }
}

/* ============================================
   Cookie Banner
   ============================================ */
@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cookieFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.cookie-banner {
    position: fixed;
    bottom: 28px;
    left: 28px;
    max-width: 480px;
    background: #fff;
    padding: 32px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    border-radius: 16px;
    animation: cookieSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1s;
    opacity: 0;
}

.cookie-banner.hiding {
    animation: cookieFadeOut 0.3s ease forwards;
    pointer-events: none;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-banner-close:hover {
    background: #f5f5f5;
    color: #333;
}

.cookie-banner-text {
    color: #444;
    font-size: 13.5px;
    line-height: 1.75;
    margin-bottom: 24px;
    padding-right: 20px;
}

.cookie-banner-text a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.cookie-banner-text a:hover {
    opacity: 0.6;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
}

.cookie-banner-btn {
    border: none;
    padding: 13px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-align: center;
    letter-spacing: 0.02em;
}

.cookie-btn-accept {
    background: #1a1a1a;
    color: white;
    border: 1.5px solid #1a1a1a;
}

.cookie-btn-accept:hover {
    background: #333;
}

.cookie-btn-decline {
    background: #fff;
    color: #1a1a1a;
    border: 1.5px solid #1a1a1a;
}

.cookie-btn-decline:hover {
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: none;
        border-radius: 16px 16px 0 0;
        padding: 28px 24px;
    }
    .cookie-banner-buttons {
        flex-wrap: wrap;
    }
    .cookie-banner-btn {
        flex: 1;
        min-width: calc(50% - 5px);
    }
}

/* ============================================
   Slide-in Mobile Menu (Panel from right)
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 6px;
    color: #1a1a1a;
    text-decoration: none;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.mobile-menu-close:hover {
    opacity: 0.6;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.mobile-menu-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.mobile-menu-link:active {
    background: #f8f8f8;
}

.mobile-menu-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-menu-item.open .mobile-menu-arrow {
    transform: rotate(180deg);
}

.mobile-menu-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: max-height 0.3s ease;
}

.mobile-menu-item.open .mobile-menu-submenu {
    max-height: 300px;
}

.mobile-menu-submenu li {
    border-top: 1px solid #f0f0f0;
}

.mobile-menu-submenu a {
    display: block;
    padding: 14px 20px 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #555;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu-submenu a:active {
    background: #f0f0f0;
    color: #1a1a1a;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-menu-social a {
    color: #1a1a1a;
    transition: opacity 0.2s ease;
}

.mobile-menu-social a:hover {
    opacity: 0.6;
}

.mobile-menu-social svg {
    width: 20px;
    height: 20px;
}

/* Fade in animation for menu items */
.mobile-menu-overlay.active .mobile-menu-item {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.mobile-menu-overlay.active .mobile-menu-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-menu-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-menu-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* ============================================
   Skeleton Loading Cards
   ============================================ */
@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    border-radius: 12px;
    overflow: hidden;
}

.skeleton-image {
    height: 480px;
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-info {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.skeleton-line {
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-name {
    width: 60%;
    height: 14px;
}

.skeleton-desc {
    width: 80%;
    height: 12px;
}

.skeleton-price {
    width: 30%;
    height: 14px;
}

@media (max-width: 768px) {
    .skeleton-image {
        height: 360px;
    }
}

/* ============================================
   Payment Icons in Footer
   ============================================ */
.footer-payment {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 40px 0 30px;
    flex-wrap: wrap;
}

.footer-payment img {
    height: 32px;
    width: auto;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-payment img:hover {
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .footer-payment {
        gap: 8px;
        padding: 30px 0 20px;
    }
    .footer-payment img {
        height: 26px;
        padding: 5px 10px;
    }
}
