/* ============================================
   SIPARIS PAGE - Premium Marketplace
   ============================================ */

:root {
    --mk-black: #1A0F12;
    --mk-charcoal: #3A1926;
    --mk-dark: #2E1420;
    --mk-gold: #C9A96E;
    --mk-gold-light: #DFC9A0;
    --mk-gold-dark: #A8884E;
    --mk-burgundy: #7A2D3A;
    --mk-cream: #FAF7F2;
    --mk-warm-gray: #F0ECE6;
    --mk-text: #3A3A3A;
    --mk-text-light: #6B6B6B;
    --mk-white: #FFFFFF;
    --mk-border: #E8E3DC;

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;

    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --container-max: 1400px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--mk-text);
    background: var(--mk-cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* ============================================
   NAVBAR - Always dark, sticky marketplace bar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--mk-black);
    padding: 0;
    transition: all 0.4s var(--ease-smooth);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.navbar.scrolled {
    background: var(--mk-black);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    height: 64px;
}

.nav-brand { display: flex; align-items: center; }

.nav-logo {
    height: 44px;
    width: auto;
    transition: all 0.3s var(--ease-smooth);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link i { font-size: 0.8rem; }

.nav-link:hover {
    color: var(--mk-white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: var(--mk-gold);
    background: rgba(201, 169, 110, 0.1);
}

.nav-cart {
    position: relative;
    color: var(--mk-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cart:hover {
    color: var(--mk-gold);
    background: rgba(201, 169, 110, 0.1);
}

.nav-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--mk-burgundy);
    color: white;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 0 4px;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--mk-white);
    transition: all 0.3s var(--ease-smooth);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO - Compact marketplace banner
   ============================================ */
.order-hero {
    position: relative;
    height: 50vh;
    min-height: 360px;
    max-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 64px;
}

.order-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 15, 18, 0.85) 0%, rgba(58, 25, 38, 0.7) 100%);
    z-index: 1;
}

.order-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(2rem, 6vw, 5rem);
    max-width: 700px;
}

.order-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(201, 169, 110, 0.15);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 50px;
    color: var(--mk-gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.order-hero-badge i {
    font-size: 0.75rem;
    color: var(--mk-gold);
}

.order-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--mk-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.order-hero h1 span {
    color: var(--mk-gold);
}

.order-hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.order-hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-hero-feature i {
    font-size: 0.85rem;
    color: var(--mk-gold);
}

.order-hero-feature span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.85rem;
}

.order-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.75rem;
    background: var(--mk-gold);
    color: var(--mk-black);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-smooth);
}

.order-hero-cta:hover {
    background: var(--mk-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.35);
}

.order-hero-cta i {
    animation: sp-float 2s ease-in-out infinite;
}

@keyframes sp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ============================================
   ORDER PRODUCTS - Main content area
   ============================================ */
.order-products {
    padding: 0 clamp(1.5rem, 5vw, 3rem) 4rem;
    min-height: 60vh;
    background: var(--mk-cream);
    max-width: var(--container-max);
    margin: 0 auto;
}

.order-products .container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--mk-charcoal);
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--mk-text-light);
    font-size: 0.95rem;
    max-width: 450px;
    margin: 0 auto;
}

/* ============================================
   CATEGORY GRID - Premium visual cards
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: none;
    background: var(--mk-charcoal);
    transition: all 0.5s var(--ease-smooth);
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 15, 18, 0.9) 0%,
        rgba(26, 15, 18, 0.3) 50%,
        rgba(26, 15, 18, 0.05) 100%
    );
    transition: all 0.5s var(--ease-smooth);
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(26, 15, 18, 0.25);
}

.category-card:hover::after {
    background: linear-gradient(
        to top,
        rgba(26, 15, 18, 0.95) 0%,
        rgba(26, 15, 18, 0.4) 50%,
        rgba(26, 15, 18, 0.1) 100%
    );
}

.category-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-smooth);
}

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

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--mk-gold);
    color: var(--mk-black);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    z-index: 3;
    text-transform: uppercase;
}

.category-info {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.category-name {
    font-family: var(--font-display);
    color: var(--mk-white);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
}

.category-count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-count i {
    color: var(--mk-gold);
    font-size: 0.75rem;
}

.category-arrow {
    margin-top: 0.75rem;
    color: var(--mk-gold);
    font-weight: 600;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s var(--ease-smooth);
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateY(0);
}

.category-arrow i {
    transition: transform 0.3s ease;
}

.category-card:hover .category-arrow i {
    transform: translateX(4px);
}

/* ============================================
   CATEGORY HEADER (Back + Title)
   ============================================ */
.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: var(--mk-white);
    border: 1.5px solid var(--mk-border);
    color: var(--mk-text);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    font-family: var(--font-body);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.back-btn:hover {
    border-color: var(--mk-gold);
    color: var(--mk-gold-dark);
    transform: translateX(-3px);
}

.category-title {
    font-family: var(--font-display);
    color: var(--mk-charcoal);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
}

/* ============================================
   ORDER CARDS - Premium product cards
   ============================================ */
.order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.order-card {
    background: var(--mk-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 169, 110, 0.2);
}

.order-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.order-card:hover .order-card-image {
    transform: scale(1.04);
}

.order-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.order-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--mk-charcoal);
    margin-bottom: 0.35rem;
}

.order-card-description {
    color: var(--mk-text-light);
    font-size: 0.85rem;
    margin-bottom: auto;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--mk-border);
    gap: 0.75rem;
}

.order-card-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mk-charcoal);
    -webkit-text-fill-color: initial;
    background: none;
}

.price-unit {
    font-size: 0.8rem;
    opacity: 0.4;
    font-weight: 400;
}

.add-to-cart-btn {
    padding: 0.6rem 1.25rem;
    background: var(--mk-charcoal);
    color: var(--mk-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background: var(--mk-gold);
    color: var(--mk-black);
    transform: scale(1.03);
}

.add-to-cart-btn i {
    font-size: 0.85rem;
}

/* ============================================
   FLOATING CART WIDGET - Premium pill
   ============================================ */
.cart-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    cursor: pointer;
    transition: all 0.4s var(--ease-spring);
}

.cart-widget:hover {
    transform: translateY(-4px) scale(1.02);
}

.cart-widget-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: var(--mk-charcoal);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(201, 169, 110, 0.15);
    min-width: 180px;
}

.cart-icon {
    font-size: 1.2rem;
    position: relative;
    color: var(--mk-gold);
    flex-shrink: 0;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--mk-burgundy);
    color: white;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 0 4px;
    border: 2px solid var(--mk-charcoal);
}

.cart-info { flex: 1; }

.cart-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-total {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mk-white);
    -webkit-text-fill-color: initial;
    background: none;
}

.cart-widget-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    transition: all 0.3s;
}

.cart-widget:hover .cart-widget-arrow {
    color: var(--mk-gold);
    transform: translateX(2px);
}

/* ============================================
   PRODUCT MODAL - Center overlay, premium
   ============================================ */
.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-modal.active { display: flex; }

.product-modal-content {
    background: var(--mk-white);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    animation: sp-modal-enter 0.35s var(--ease-spring);
}

@keyframes sp-modal-enter {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-modal-header {
    background: var(--mk-charcoal);
    color: var(--mk-white);
    padding: 1.1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-modal-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.product-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.product-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--mk-white);
}

.product-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.product-modal-body::-webkit-scrollbar { width: 5px; }
.product-modal-body::-webkit-scrollbar-track { background: transparent; }
.product-modal-body::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.25);
    border-radius: 10px;
}

.variant-group { margin-bottom: 1rem; }

.variant-label {
    font-weight: 600;
    color: var(--mk-charcoal);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: block;
}

.variant-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.6rem;
}

.variant-option {
    padding: 0.85rem 0.75rem;
    border: 2px solid var(--mk-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    text-align: center;
    background: var(--mk-white);
}

.variant-option:hover {
    border-color: var(--mk-gold);
    background: rgba(201, 169, 110, 0.04);
}

.variant-option.selected {
    border-color: var(--mk-gold);
    background: rgba(201, 169, 110, 0.08);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.variant-option-label {
    font-weight: 600;
    color: var(--mk-charcoal);
    font-size: 0.95rem;
}

.product-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--mk-border);
    background: var(--mk-cream);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.modal-quantity-control {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--mk-white);
    border-radius: 50px;
    border: 1.5px solid var(--mk-border);
    padding: 3px;
}

.modal-qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: var(--mk-charcoal);
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-qty-btn:hover {
    background: var(--mk-gold);
    color: var(--mk-black);
}

.modal-qty-display {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--mk-charcoal);
}

.modal-add-cart-btn {
    flex: 1;
    padding: 0.8rem 1.25rem;
    background: var(--mk-charcoal);
    color: var(--mk-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.modal-add-cart-btn:hover {
    background: var(--mk-gold);
    color: var(--mk-black);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
}

.modal-price-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: 4px;
}

.modal-add-cart-btn:hover .modal-price-tag {
    background: rgba(0, 0, 0, 0.1);
}

/* ============================================
   CART MODAL - Slide-in panel from right
   ============================================ */
.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
}

.cart-modal.active { display: block; }

.cart-modal-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: var(--mk-white);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    animation: sp-slide-in 0.4s var(--ease-smooth);
}

@keyframes sp-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.cart-modal-header {
    background: var(--mk-charcoal);
    color: var(--mk-white);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.cart-modal-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-modal-title i {
    color: var(--mk-gold);
}

.cart-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.cart-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--mk-white);
}

.cart-modal-body {
    padding: 1rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cart-modal-body::-webkit-scrollbar { width: 5px; }
.cart-modal-body::-webkit-scrollbar-track { background: transparent; }
.cart-modal-body::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.2);
    border-radius: 10px;
}

/* Cart items (generated by sepet.js) */
.cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto auto;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--mk-border);
    align-items: center;
}

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

.cart-item-image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
    font-weight: 600;
    color: var(--mk-charcoal);
    font-size: 0.88rem;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-price {
    color: var(--mk-text-light);
    font-size: 0.8rem;
}

.cart-item-quantity-control {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--mk-cream);
    border-radius: 50px;
    padding: 2px;
}

.cart-item-qty-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--mk-charcoal);
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-item-qty-btn:hover {
    background: var(--mk-gold);
    color: var(--mk-black);
}

.cart-item-qty-display {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.cart-item-remove {
    background: none;
    color: var(--mk-text-light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    background: rgba(122, 45, 58, 0.1);
    color: var(--mk-burgundy);
}

.cart-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--mk-text-light);
}

.cart-modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--mk-border);
    flex-shrink: 0;
    background: var(--mk-cream);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-total-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mk-text-light);
}

.cart-total-amount {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--mk-charcoal);
    -webkit-text-fill-color: initial;
    background: none;
}

.cart-warning {
    background: rgba(201, 169, 110, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--mk-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-warning i {
    color: var(--mk-gold-dark);
    font-size: 0.85rem;
}

.cart-actions {
    display: flex;
    gap: 0.6rem;
}

.cart-continue-btn,
.cart-order-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cart-continue-btn {
    background: var(--mk-white);
    color: var(--mk-text);
    border: 1.5px solid var(--mk-border);
}

.cart-continue-btn:hover {
    border-color: var(--mk-gold);
    color: var(--mk-gold-dark);
}

.cart-order-btn {
    background: #25D366;
    color: white;
}

.cart-order-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ============================================
   FOOTER - Minimal ordering page footer
   ============================================ */
.footer {
    background: var(--mk-black);
    color: rgba(255, 255, 255, 0.5);
    padding: 2.5rem clamp(1.5rem, 5vw, 3rem) 1.5rem;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 48px;
    height: auto;
}

.footer-text {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

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

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.35);
    transition: all 0.3s var(--ease-smooth);
    font-size: 0.9rem;
}

.social-link:hover {
    border-color: var(--mk-gold);
    color: var(--mk-gold);
    background: rgba(201, 169, 110, 0.08);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 1.25rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        background: var(--mk-black);
        flex-direction: column;
        padding: 5rem 1.5rem;
        transition: right 0.4s var(--ease-smooth);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
        gap: 0.25rem;
    }

    .nav-menu.active { right: 0; }
    .menu-toggle { display: flex; }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .order-hero {
        height: 45vh;
        min-height: 320px;
    }

    .order-hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .order-hero-features {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

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

    .order-card-image { height: 150px; }

    .order-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .order-card-price {
        text-align: center;
        font-size: 1.2rem;
    }

    .add-to-cart-btn {
        justify-content: center;
        padding: 0.65rem 1rem;
    }

    .category-grid {
        gap: 0.75rem;
    }

    .category-name { font-size: 1.1rem; }

    .cart-widget {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .cart-modal-content {
        width: 100%;
        max-width: 100vw;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .order-hero {
        height: 40vh;
        min-height: 280px;
    }

    .order-hero-cta { width: 100%; justify-content: center; }

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

    .order-card-image { height: 180px; }

    .order-card-footer { flex-direction: row; align-items: center; }

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

    .cart-widget-inner { min-width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
