/* ============================================
   AYO STORE E-COMMERCE - Leenach Style
   Minimalist, Elegant, Premium
============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
============================================ */
:root {
    /* Colors */
    --color-bg: #FAFAFA;
    --color-bg-alt: #F5F5F5;
    --color-text: #1A1A1A;
    --color-text-muted: #666666;
    --color-text-light: #999999;
    --color-primary: #536E3B;
    --color-primary-hover: #425A2E;
    --color-accent: #536E3B;
    --color-border: #E5E5E5;
    --color-white: #FFFFFF;
    --color-success: #2D7A4C;
    --color-error: #D64545;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Sizes */
    --container-max: 1200px;
    --header-height: 60px;
    --announcement-height: 36px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   UTILITIES
============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.02em;
}

/* ============================================
   ANNOUNCEMENT BAR
============================================ */
.announcement-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: var(--space-sm) var(--space-md);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--space-lg);
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text);
    display: flex;
    align-items: center;
}

.nav__logo img {
    height: 2.5rem;
    width: auto;
    display: block;
}

.nav__menu-btn {
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.nav__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

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

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

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

.nav__search-btn {
    color: var(--color-text);
    padding: var(--space-sm);
}

.nav__search-btn:hover {
    color: var(--color-text-muted);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: calc(var(--header-height) + var(--announcement-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 90;
}

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

.mobile-menu__content {
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
}

.mobile-menu__content a {
    font-size: 1.25rem;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
    font-weight: 500;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8F4F0 0%, #EDE6DE 100%);
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md) var(--space-xl);
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: background-color var(--transition-fast);
}

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

/* ============================================
   CATEGORIES SECTION
============================================ */
.categories {
    padding: var(--space-3xl) 0;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.category-card {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.category-card__image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.category-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8E0D8 0%, #D8CFC5 100%);
}

.category-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
    padding: var(--space-lg);
}

/* ============================================
   PRODUCTS GRID
============================================ */
.featured,
.category-page {
    padding: var(--space-3xl) 0;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    position: relative;
    background: var(--color-white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card__image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8E0D8 0%, #D8CFC5 100%);
}

.product-card__info {
    padding: var(--space-lg);
}

.product-card__category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.product-card__price {
    font-weight: 600;
    color: var(--color-accent);
}

/* Sold Out Badge */
.product-card__badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card__badge--soldout {
    background: var(--color-text);
    color: var(--color-white);
}

/* ============================================
   CATEGORY TABS
============================================ */
.products-section {
    padding: var(--space-3xl) 0;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.category-tab {
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    border: 1px solid var(--color-border);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.category-tab:hover {
    border-color: var(--color-text);
}

.category-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   TRUST BADGES
============================================ */
.trust-badges {
    padding: var(--space-3xl) 0;
    background-color: var(--color-bg-alt);
}

.trust-badges__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.trust-badge {
    padding: var(--space-lg);
}

.trust-badge__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.trust-badge h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.trust-badge p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ============================================
   BREADCRUMB
============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    padding-top: var(--space-lg);
}

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

/* ============================================
   CATEGORY PAGE
============================================ */
.category-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.category-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.category-header__count {
    color: var(--color-text-muted);
}

/* ============================================
   PRODUCT DETAIL PAGE
============================================ */
.product-page {
    padding: var(--space-lg) 0 var(--space-3xl);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

@media (min-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

/* Product Gallery */
.product-gallery__main {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-alt);
    margin-bottom: var(--space-md);
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8E0D8 0%, #D8CFC5 100%);
}

.product-gallery__thumbs {
    display: none;
    gap: var(--space-sm);
}

@media (min-width: 768px) {
    .product-gallery__thumbs {
        display: flex;
    }

    .product-gallery__dots {
        display: none;
    }
}

.product-gallery__thumb {
    width: 80px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    transition: border-color var(--transition-fast);
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
    border-color: var(--color-primary);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
}

.product-gallery__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border);
    transition: background-color var(--transition-fast);
}

.product-gallery__dot.active {
    background-color: var(--color-primary);
}

/* Product Info */
.product-info__sticky {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
}

.product-info__category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    display: block;
}

.product-info__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.product-info__price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.product-info__description {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

/* Variant Selector */
.variant-selector {
    margin-bottom: var(--space-lg);
}

.variant-selector__label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.variant-selector__options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.variant-option {
    min-width: 48px;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

.variant-option.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.variant-option--color {
    font-size: 13px;
}

.variant-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    color: var(--color-text-light);
}

.variant-option.disabled:hover {
    border-color: var(--color-border);
}

.variant-option.disabled small {
    font-size: 10px;
    opacity: 0.7;
}

/* Sold Out Notice */
.product-soldout-notice {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.product-soldout-notice p {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-top: var(--space-sm);
}

.badge--soldout {
    background: var(--color-text);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   ORDER FORM
============================================ */
.order-form {
    background: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    margin-top: var(--space-xl);
}

.order-form__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    transition: border-color var(--transition-fast);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 140px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    font-size: 1.25rem;
    transition: background-color var(--transition-fast);
}

.quantity-selector button:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.quantity-selector button:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quantity-selector button:hover {
    background-color: var(--color-bg-alt);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-left: none;
    border-right: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.pagination__link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination__link:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pagination__current {
    font-weight: bold;
    color: var(--color-dark);
}

/* Delivery Type Options */
.delivery-type-options {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.delivery-option {
    flex: 1;
    min-width: 140px;
    cursor: pointer;
}

.delivery-option input {
    display: none;
}

.delivery-option__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all var(--transition-fast);
}

.delivery-option input:checked+.delivery-option__content {
    border-color: var(--color-primary);
    background: rgba(26, 26, 26, 0.05);
}

.delivery-option__content strong {
    font-size: 13px;
}

.delivery-option__content span:last-child {
    color: var(--color-accent);
    font-weight: 600;
}

/* Order Summary */
.order-summary {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin: var(--space-lg) 0;
}

.order-summary__row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
}

.order-summary__total {
    font-weight: 600;
    font-size: 1.1rem;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
    margin-top: var(--space-sm);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

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

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

.btn--large {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1rem;
}

/* ============================================
   SUCCESS PAGE
============================================ */
.success-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
}

.success-card {
    max-width: 500px;
    text-align: center;
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.success-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
    background: var(--color-success);
    color: var(--color-white);
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.success-card__subtitle {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.success-card__details {
    background: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    text-align: left;
}

.success-card__details h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-align: center;
}

.order-recap__row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.order-recap__total {
    font-size: 1.1rem;
    border-bottom: none;
    padding-top: var(--space-md);
}

.order-recap__shipping {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.order-recap__shipping h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.order-recap__shipping p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.success-card__note {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
}

.footer__content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer__links h4,
.footer__contact h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer__links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-white);
}

.footer__contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.footer__contact a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer__contact a:hover {
    color: var(--color-white);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   EMPTY STATES
============================================ */
.empty-message,
.empty-category {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--color-text-muted);
}

/* ============================================
   SEARCH MODAL
============================================ */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

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

.search-modal__content {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.search-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.search-modal__close:hover {
    color: var(--color-text);
}

.search-modal__content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.search-modal__content input {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.search-modal__content input:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* ============================================
   SEARCH PAGE
============================================ */
.search-page {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.search-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.search-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.search-header__query {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.search-header__count {
    font-size: 14px;
    color: var(--color-accent);
}

.search-form {
    display: flex;
    gap: var(--space-md);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.search-form__input {
    flex: 1;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.search-form__input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-form__btn {
    padding: var(--space-md) var(--space-xl);
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-form__btn:hover {
    background: var(--color-primary-hover);
}

.empty-search {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--color-text-muted);
}

.empty-search p {
    margin-bottom: var(--space-md);
}

/* ============================================
   PRODUCT REFERENCE
============================================ */
.product-info__ref {
    display: block;
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.product-card__ref {
    display: block;
    font-size: 11px;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

/* ============================================
   ORDER SUMMARY TITLE
============================================ */
.order-summary__title {
    font-weight: 600;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

/* ============================================
   RELATED PRODUCTS
============================================ */
.related-products {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }
}