/* ========================================
   1 HUNDRED - Shared Styles
   ======================================== */

/* CSS Variables */
:root {
    --brand-black: #111;
    --brand-grey: #f8f8f8;
    --brand-mid-grey: #999;
    --brand-light-grey: #e5e7eb;
    --white: #fff;
    --red: #ef4444;
    --border-light: #f3f4f6;
    --surface-light: #f1f1f1;
    --text-dark: #333;
}

/* Skip Navigation Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand-black);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 4px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Focus Visible Styles for Accessibility */
:focus-visible {
    outline: 2px solid var(--brand-black);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brand-black);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgb(0 0 0 / 10%);
}

/* Mobile Touch Targets (minimum 44x44px) */
@media (pointer: coarse) {
    button,
    .btn,
    a.nav-link,
    .mobile-nav-link,
    .size-option,
    .cart-quantity-btn,
    .image-nav-arrow {
        min-height: 44px;
        min-width: 44px;
    }

    input[type='checkbox'],
    input[type='radio'] {
        min-height: 24px;
        min-width: 24px;
    }

    .footer-social-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow: hidden auto;
}

body {
    font-family: Inter, sans-serif;
    background-color: var(--white);
    color: var(--brand-black);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* Typography */
.font-display {
    font-family: Oswald, sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-black);
}

/* Hide scrollbar on mobile */
@media (width <= 767px) {
    ::-webkit-scrollbar {
        width: 0;
    }

    body {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

/* Container */
.container-main {
    max-width: 1920px;
    margin: 0 auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (width >= 480px) {
    .container-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (width >= 768px) {
    .container-main {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (width >= 1024px) {
    .container-main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

#main-header {
    transition: all 0.3s ease;
}

#main-header.scrolled {
    box-shadow: 0 2px 20px rgb(0 0 0 / 8%);
}

/* Logo */
.logo-img {
    height: 2rem;
    width: auto;
}

@media (width >= 768px) {
    .logo-img {
        height: 2.5rem;
    }
}

/* Desktop Navigation */
.nav-link {
    position: relative;
    padding: 1.25rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-black);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-sale {
    color: var(--red);
}

.nav-link-sale::after {
    background: var(--red);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 800px;
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 15%);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

.mega-menu-title {
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--brand-black);
    padding-bottom: 0.25rem;
}

.mega-menu-link {
    color: var(--brand-mid-grey);
    transition: color 0.2s ease;
    cursor: pointer;
}

.mega-menu-link:hover {
    color: var(--brand-black);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 50%);
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    z-index: 55;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

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

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

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--brand-light-grey);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.mobile-nav-link.sale {
    color: var(--red);
}

.mobile-submenu {
    background: var(--brand-grey);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.open {
    max-height: 500px;
}

.mobile-submenu-link {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    color: var(--brand-mid-grey);
}

/* Search */
.search-container {
    position: relative;
    flex: 1;
    max-width: 28rem;
    margin: 0 2rem;
}

.search-input {
    width: 100%;
    background: var(--brand-grey);
    border: none;
    border-radius: 9999px;
    padding: 0.5rem 2.5rem;
    font-size: 0.875rem;
    transition: box-shadow 0.2s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-black);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-mid-grey);
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 40px rgb(0 0 0 / 10%);
    border-radius: 0 0 0.75rem 0.75rem;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.search-container:focus-within .search-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Search */
.mobile-search {
    padding: 0.75rem 1rem;
    background: var(--brand-grey);
}

/* Header Actions */
.header-action {
    position: relative;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.header-action:hover {
    color: var(--brand-mid-grey);
}

.badge {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--brand-black);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge.hidden {
    display: none;
}

/* ========================================
   Hamburger Button
   ======================================== */

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--brand-mid-grey);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.breadcrumbs > a,
.breadcrumbs > span {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.breadcrumbs i,
.breadcrumbs svg {
    display: inline-flex;
    flex-shrink: 0;
    vertical-align: middle;
}

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

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand-black);
    transition: all 0.3s ease;
}

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

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

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

/* ========================================
   PRODUCT CARDS
   ======================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.product-card {
    position: relative;
    cursor: pointer;
}

.product-grid .product-card {
    width: 100%;
}

/* Mobile landscape and up */
@media (width >= 480px) {
    .product-grid {
        gap: 1rem;
    }
}

@media (width >= 640px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (width >= 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (width >= 1280px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Horizontal scroll product row (for homepage sections) */
.product-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
    margin-right: -1rem;
    padding-right: 1rem;
}

.product-scroll::-webkit-scrollbar {
    display: none;
}

.product-scroll .product-card {
    flex: 0 0 auto;
    width: 75vw;
    max-width: 280px;
    scroll-snap-align: start;
}

@media (width >= 640px) {
    .product-scroll {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        overflow-x: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
        margin-right: 0;
        padding-right: 0;
    }

    .product-scroll .product-card {
        width: auto;
        max-width: none;
        scroll-snap-align: none;
    }
}

@media (width >= 1024px) {
    .product-scroll {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    background: var(--brand-grey);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.product-quick-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: rgb(255 255 255 / 90%);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-quick-actions {
    transform: translateY(0);
}

.quick-action-btn {
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.quick-action-btn:hover {
    color: var(--brand-mid-grey);
}

/* Image Navigation Arrows */
.image-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgb(255 255 255 / 95%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
    z-index: 10;
    cursor: pointer;
    border: none;
    color: var(--brand-black);
}

.image-nav-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.image-nav-prev {
    left: 0.5rem;
}

.image-nav-next {
    right: 0.5rem;
}

.product-image-wrapper.has-multiple-images:hover .image-nav-arrow {
    opacity: 1;
}

.image-nav-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.375rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.product-image-wrapper.has-multiple-images:hover .image-nav-dots {
    opacity: 1;
}

.image-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(255 255 255 / 60%);
    transition: all 0.2s ease;
}

.image-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Featured Product Image Navigation */
.featured-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgb(255 255 255 / 90%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
    z-index: 10;
    cursor: pointer;
    border: none;
    color: var(--brand-black);
}

.featured-nav-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.featured-nav-prev {
    left: 1rem;
}

.featured-nav-next {
    right: 1rem;
}

#featured-image-wrapper:hover .featured-nav-arrow {
    opacity: 1;
}

.featured-nav-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.featured-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(0 0 0 / 30%);
    transition: all 0.2s ease;
    cursor: pointer;
}

.featured-dot.active {
    background: var(--brand-black);
    transform: scale(1.25);
}

/* Mobile: always show arrows on featured product */
@media (width <= 768px) {
    .featured-nav-arrow {
        opacity: 1;
    }
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.product-title {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    line-height: 1.3;
}

@media (width >= 640px) {
    .product-title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.product-price {
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.product-category {
    font-size: 0.75rem;
    color: var(--brand-mid-grey);
    margin-top: 0.25rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-black);
    color: var(--white);
    padding: 1rem 2rem;
}

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

.btn-secondary {
    background: transparent;
    color: var(--brand-black);
    border: 1px solid var(--brand-black);
    padding: 1rem 2rem;
}

.btn-secondary:hover {
    background: var(--brand-black);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* ========================================
   BREADCRUMBS
   ======================================== */

/* ========================================
   FILTERS & SIDEBAR
   ======================================== */

.filter-sidebar {
    display: none !important; /* Hidden by default - mobile only */
}

@media (width <= 1023px) {
    .filter-sidebar {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        z-index: 60;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 1.5rem;
    }

    .filter-sidebar.active {
        transform: translateX(0);
    }
}

/* Desktop sidebar styles */
@media (width >= 1024px) {
    .desktop-sidebar {
        width: 280px;
        flex-shrink: 0;
        display: block;
    }
}

.filter-section {
    border-bottom: 1px solid var(--brand-light-grey);
    padding: 1.25rem 0;
}

.filter-title {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--brand-mid-grey);
    cursor: pointer;
    transition: color 0.2s ease;
}

.filter-option:hover {
    color: var(--brand-black);
}

.filter-option input[type='checkbox'] {
    width: 18px;
    height: 18px;
    border: 1px solid var(--brand-light-grey);
    border-radius: 3px;
    cursor: pointer;
}

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

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

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

.size-option {
    height: 40px;
    border: 1px solid var(--brand-light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-option:hover,
.size-option.active {
    border-color: var(--brand-black);
    background: var(--brand-black);
    color: var(--white);
}

.size-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */

.pdp-container {
    display: grid;
    gap: 2rem;
}

@media (width >= 1024px) {
    .pdp-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.pdp-gallery {
    position: relative;
}

.pdp-main-image {
    aspect-ratio: 1;
    background: var(--brand-grey);
    overflow: hidden;
}

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

.pdp-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.pdp-thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--brand-grey);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
}

.pdp-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-thumbnail.active,
.pdp-thumbnail:hover {
    border-color: var(--brand-black);
}

.pdp-info {
    padding-top: 1rem;
}

@media (width >= 1024px) {
    .pdp-info {
        padding-top: 2rem;
    }
}

.pdp-brand {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-mid-grey);
    margin-bottom: 0.5rem;
}

.pdp-title {
    font-family: Oswald, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (width >= 768px) {
    .pdp-title {
        font-size: 2.5rem;
    }
}

.pdp-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pdp-description {
    color: var(--brand-mid-grey);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.pdp-section {
    border-top: 1px solid var(--brand-light-grey);
    padding: 1.5rem 0;
}

.pdp-section-title {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pdp-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--brand-light-grey);
    height: 56px;
}

.quantity-btn {
    width: 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background 0.2s ease;
}

.quantity-btn:hover {
    background: var(--brand-grey);
}

.quantity-input {
    width: 60px;
    text-align: center;
    font-weight: 600;
    border: none;
    background: transparent;
}

/* ========================================
   CART & CHECKOUT
   ======================================== */

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--brand-light-grey);
}

.cart-item-image {
    width: 100px;
    height: 130px;
    background: var(--brand-grey);
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.cart-item-title {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.cart-item-price {
    font-weight: 700;
    flex-shrink: 0;
}

.cart-item-variant {
    font-size: 0.875rem;
    color: var(--brand-mid-grey);
    margin-top: 0.25rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.cart-quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--brand-light-grey);
    height: 36px;
}

.cart-quantity-btn {
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.cart-quantity-btn:hover {
    background: var(--brand-grey);
}

.cart-quantity-input {
    width: 40px;
    text-align: center;
    font-weight: 600;
    border: none;
    background: transparent;
}

.remove-btn {
    font-size: 0.875rem;
    color: var(--brand-mid-grey);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.remove-btn:hover {
    color: var(--red);
}

/* Cart Summary */
.cart-summary {
    background: var(--brand-grey);
    padding: 1.5rem;
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.summary-row.total {
    border-top: 1px solid var(--brand-light-grey);
    margin-top: 0.75rem;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Checkout Steps */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--brand-mid-grey);
}

.checkout-step.active {
    color: var(--brand-black);
    font-weight: 600;
}

.checkout-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentcolor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.checkout-step.active .checkout-step-number {
    background: var(--brand-black);
    border-color: var(--brand-black);
    color: var(--white);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    border: 1px solid var(--brand-light-grey);
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

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

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

@media (width < 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Payment Methods */
.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--brand-light-grey);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.payment-method:hover,
.payment-method.selected {
    border-color: var(--brand-black);
}

.payment-method input {
    width: 20px;
    height: 20px;
}

/* ========================================
   ACCOUNT PAGE
   ======================================== */

.account-tabs {
    display: flex;
    border-bottom: 1px solid var(--brand-light-grey);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.account-tab {
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.account-tab:hover,
.account-tab.active {
    border-bottom-color: var(--brand-black);
}

.order-card {
    border: 1px solid var(--brand-light-grey);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--brand-light-grey);
}

@media (width <= 640px) {
    .order-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.order-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 9999px;
}

.order-status.delivered {
    background: #dcfce7;
    color: #166534;
}

.order-status.processing {
    background: #fef3c7;
    color: #92400e;
}

.order-status.shipped {
    background: #dbeafe;
    color: #1e40af;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: var(--brand-black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (width >= 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width >= 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

.footer-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--brand-mid-grey);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--white);
}

.footer-newsletter {
    margin-top: 1rem;
}

.footer-input-group {
    display: flex;
    border-bottom: 1px solid var(--brand-mid-grey);
    padding-bottom: 0.5rem;
}

.footer-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 0.875rem;
}

.footer-input::placeholder {
    color: var(--brand-mid-grey);
}

.footer-input:focus {
    outline: none;
}

.footer-submit {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--white);
    transition: color 0.2s ease;
}

.footer-submit:hover {
    color: var(--brand-mid-grey);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (width >= 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social-link {
    color: var(--brand-mid-grey);
    transition: color 0.2s ease;
}

.footer-social-link:hover {
    color: var(--white);
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-light-grey);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-btn:hover,
.page-btn.active {
    background: var(--brand-black);
    border-color: var(--brand-black);
    color: var(--white);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */

#toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--brand-black);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 100;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgb(0 0 0 / 20%);
}

#toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Toast types */
#toast.error {
    background: #dc2626;
    color: white;
}

#toast.warning {
    background: #f59e0b;
    color: white;
}

#toast.info {
    background: #3b82f6;
    color: white;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ========================================
   EMPTY STATES
   ======================================== */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--brand-light-grey);
}

.empty-state-title {
    font-family: Oswald, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.empty-state-text {
    color: var(--brand-mid-grey);
    margin-bottom: 1.5rem;
}

/* ========================================
   LOADER
   ======================================== */

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--brand-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader img {
    height: 6rem;
    filter: brightness(0) invert(1);
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (width <= 767px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Mobile header adjustments */
@media (width <= 1023px) {
    #main-header .container-main {
        padding: 0 1rem;
    }

    /* Force hide desktop header on mobile */
    #main-header .container-main > div.hidden {
        display: none !important;
    }
}

@media (width >= 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Hide scrollbar for horizontal scroll areas */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ========================================
   SIZE SELECTOR ERROR STATE
   ======================================== */

/* Size selector - required label styling (MULTIPLE SIZES) */
.size-required-label {
    background: #dc2626;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.size-required-label::before {
    content: '!';
    font-weight: 900;
    font-size: 0.75rem;
}

/* Enhanced error state */
.size-error {
    position: relative;
}

.size-error::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #dc2626;
    border-radius: 8px;
    pointer-events: none;
    animation: error-pulse 0.6s ease-in-out 2;
}

@keyframes error-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.size-error .size-option {
    border-color: var(--red) !important;
    background-color: rgb(254 226 226) !important;
    box-shadow: 0 0 0 2px rgb(220 38 38 / 30%);
}

.size-error::before {
    content: '⚠ Please select a size before adding to bag';
    display: block;
    color: #dc2626;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}
