/* ============================================
   JAXON'S WORKSHOP - PROFESSIONAL REDESIGN
   Clean, Modern, Kid-Friendly Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700;800&display=swap');

/* === CSS VARIABLES (Design Tokens) === */
:root {
    /* Colors */
    --color-primary: #FF6B35;        /* Warm Orange */
    --color-primary-dark: #E55A2B;
    --color-secondary: #2D3436;      /* Charcoal */
    --color-accent: #00B89A;         /* Teal */
    --color-bg: #FAFAFA;             /* Off-white background */
    --color-surface: #FFFFFF;        /* Pure white */
    --color-muted: #B2BEC3;          /* Light gray */
    --color-text: #2D3436;           /* Dark text */
    --color-text-light: #636E72;     /* Muted text */

    /* Typography Scale */
    --text-xs: 0.75rem;              /* 12px */
    --text-sm: 0.875rem;             /* 14px */
    --text-base: 1rem;               /* 16px */
    --text-lg: 1.125rem;             /* 18px */
    --text-xl: 1.5rem;               /* 24px */
    --text-2xl: 2.25rem;             /* 36px */
    --text-3xl: 3rem;                /* 48px */

    /* Spacing (8px grid) */
    --space-1: 0.25rem;              /* 4px */
    --space-2: 0.5rem;               /* 8px */
    --space-3: 0.75rem;              /* 12px */
    --space-4: 1rem;                 /* 16px */
    --space-5: 1.5rem;               /* 24px */
    --space-6: 2rem;                 /* 32px */
    --space-8: 2.5rem;               /* 40px */
    --space-10: 3rem;                /* 48px */
    --space-12: 4rem;                /* 64px */

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

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

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

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[x-cloak] {
    display: none !important;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }

p {
    color: var(--color-text-light);
    line-height: 1.7;
}

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

a:hover {
    color: var(--color-primary-dark);
}

/* === HEADER === */
.logo-header {
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--space-4) var(--space-5);
}

.logo-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-header h1 {
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
}

.logo-header h1 span {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.menu-toggle,
.cart-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.menu-toggle:hover,
.cart-toggle:hover {
    background: var(--color-bg);
}

.cart-toggle {
    position: relative;
}

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

/* === HERO SECTION === */
.hero-wrapper {
    background: var(--color-surface);
    padding: var(--space-12) var(--space-5);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 107, 53, 0.1);
    color: var(--color-primary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-5);
}

.hero-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--color-secondary);
}

.hero-title .accent {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-6);
    max-width: 450px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.hero-chip {
    border: 1px solid rgba(45, 52, 54, 0.12);
    background: var(--color-surface);
    color: var(--color-text);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.trust-strip-section {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.06), rgba(255, 255, 255, 0));
    padding: 0 var(--space-5) var(--space-8);
}

.trust-strip-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.trust-strip-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-5);
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.trust-strip-card .material-icons {
    color: var(--color-primary);
    font-size: 2rem;
}

.trust-strip-card h3 {
    margin-bottom: 0.4rem;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-full);
    font-family: 'Inter', sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-muted);
}

.btn-secondary:hover {
    background: var(--color-surface);
    border-color: var(--color-secondary);
}

.btn-lg {
    padding: var(--space-5) var(--space-8);
    font-size: var(--text-base);
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    padding: var(--space-12) var(--space-5) var(--space-8);
}

.section-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-3);
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: var(--text-base);
    max-width: 500px;
    margin: 0 auto;
}

/* === PRODUCT GRID === */
.products-section {
    background: var(--color-surface);
    padding: var(--space-10) var(--space-5);
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-6);
}

/* === PRODUCT CARD === */
.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

button.product-card {
    border: none;
    width: 100%;
    font: inherit;
}

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

.product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(255, 107, 53, 0.12);
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
}

.stock-pill.in-stock {
    background: rgba(0, 184, 154, 0.12);
    color: var(--color-accent);
}

.stock-pill.low-stock {
    background: rgba(255, 107, 53, 0.12);
    color: var(--color-primary);
}

.stock-pill.made-order {
    background: rgba(45, 52, 54, 0.08);
    color: var(--color-secondary);
}

.product-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto var(--space-4);
    transition: transform var(--transition-base);
}

.product-card:hover .product-icon {
    transform: scale(1.08) rotate(3deg);
}

.product-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.product-desc {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-4);
    min-height: 44px;
}

.product-price {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

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

.product-secondary-btn {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-muted);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.product-secondary-btn:hover {
    border-color: var(--color-secondary);
    background: var(--color-surface);
}

.product-add-btn {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.product-add-btn:hover {
    background: var(--color-primary-dark);
    transform: scale(1.02);
}

.product-add-btn.added {
    background: var(--color-accent);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.category-card-icon {
    font-size: 3rem;
    color: var(--color-primary);
}

.category-count {
    color: var(--color-text);
    font-size: var(--text-sm);
    font-weight: 600;
}

/* === CATEGORY TABS === */
.category-tabs-wrapper {
    background: var(--color-surface);
    padding: var(--space-5);
    position: sticky;
    top: 73px;
    z-index: 90;
    box-shadow: var(--shadow-sm);
}

.category-tabs {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-5);
    background: var(--color-bg);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    min-width: 100px;
}

.cat-tab:hover {
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.cat-tab.active {
    background: var(--color-surface);
    border-color: var(--color-primary);
}

.cat-tab .material-icons {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.cat-tab span {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-tab.active span {
    color: var(--color-primary);
}

.shop-toolbar {
    max-width: 1200px;
    margin: 0 auto var(--space-4);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-4);
    align-items: center;
}

.shop-search {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--color-bg);
    border: 1px solid rgba(45, 52, 54, 0.08);
    border-radius: var(--radius-full);
    padding: 0.9rem 1rem;
}

.shop-search .material-icons {
    color: var(--color-text-light);
}

.shop-search-input,
.shop-sort-select {
    width: 100%;
    border: none;
    background: transparent;
    font: inherit;
    color: var(--color-text);
}

.shop-search-input:focus,
.shop-sort-select:focus {
    outline: none;
}

.shop-sort {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--color-bg);
    border-radius: var(--radius-full);
    padding: 0.9rem 1rem;
    color: var(--color-text);
    font-weight: 600;
}

.shop-results-meta {
    max-width: 1200px;
    margin: 0 auto var(--space-4);
    color: var(--color-text-light);
    font-size: var(--text-sm);
}

.custom-orders-section {
    background: var(--color-surface);
    padding: 0 var(--space-5) var(--space-10);
}

.custom-orders-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 184, 154, 0.08));
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-6);
    align-items: center;
}

.custom-orders-label {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    background: rgba(45, 52, 54, 0.08);
    color: var(--color-secondary);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.custom-orders-copy h2 {
    margin-bottom: var(--space-3);
}

.custom-orders-points {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.custom-orders-points span {
    background: var(--color-surface);
    border-radius: var(--radius-full);
    padding: 0.55rem 0.9rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
}

.custom-orders-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
}

.how-it-works-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.how-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.how-card .material-icons {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.how-card h3 {
    margin-bottom: var(--space-3);
}

/* === CART === */
.cart-view {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-5);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.cart-title {
    font-size: var(--text-2xl);
    font-weight: 800;
}

.cart-items-list {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: var(--space-5);
    border-bottom: 1px solid var(--color-bg);
    gap: var(--space-4);
}

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

.cart-item-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

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

.cart-item-name {
    font-weight: 600;
    color: var(--color-text);
}

.cart-item-price {
    color: var(--color-primary);
    font-weight: 700;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-muted);
    background: var(--color-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

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

.qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
}

.cart-summary {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-top: var(--space-6);
    box-shadow: var(--shadow-md);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
    border-top: 1px solid var(--color-bg);
}

.cart-total-row.total {
    border-top: 2px solid var(--color-secondary);
    font-size: var(--text-xl);
    font-weight: 800;
}

/* === ENHANCED CART === */
.cart-subtitle {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    margin-top: 4px;
}

/* Free Delivery Progress */
.cart-progress {
    background: linear-gradient(135deg, rgba(0,184,154,0.08), rgba(0,184,154,0.02));
    border: 1px solid rgba(0,184,154,0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-6);
}

.progress-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.progress-bar {
    height: 8px;
    background: var(--color-bg);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* Empty Cart */
.empty-cart-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-4);
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-cart-icon .material-icons {
    font-size: 3rem;
    color: var(--color-muted);
}

.empty-cart-panel {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-8);
    text-align: center;
    margin-bottom: var(--space-6);
}

.empty-cart-panel h3 {
    margin-bottom: var(--space-3);
}

.empty-cart-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

/* Enhanced Cart Items List */
.cart-items-list-enhanced {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--space-6);
}

.cart-item-enhanced {
    display: flex;
    align-items: center;
    padding: var(--space-5);
    border-bottom: 1px solid var(--color-bg);
    gap: var(--space-4);
    transition: background var(--transition-fast);
}

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

.cart-item-enhanced:hover {
    background: var(--color-bg);
}

.item-image-wrapper {
    width: 80px;
    height: 80px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.item-meta {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: 6px;
}

.item-price {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
}

.item-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.qty-stepper {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    background: var(--color-bg);
    border-radius: var(--radius-full);
    padding: 4px;
}

.stepper-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--color-surface);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

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

.stepper-value {
    min-width: 36px;
    text-align: center;
    font-weight: 700;
    font-size: var(--text-sm);
}

.remove-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-muted);
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.remove-btn:hover {
    border-color: #ef4444;
    background: #ef4444;
    color: white;
}

/* Checkout Cards */
.checkout-sections {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

.checkout-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
}

.checkout-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.checkout-card-header h3 {
    font-size: var(--text-base);
    font-weight: 700;
    margin: 0;
}

/* Delivery Options */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border: 2px solid var(--color-bg);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}

.delivery-option:hover {
    border-color: var(--color-primary);
    background: rgba(255,107,53,0.02);
}

.delivery-option.active {
    border-color: var(--color-primary);
    background: rgba(255,107,53,0.05);
}

.option-icon {
    width: 44px;
    height: 44px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-icon .material-icons {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.option-details {
    flex: 1;
}

.option-title {
    display: block;
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text);
    margin-bottom: 2px;
}

.option-desc {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-muted);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.option-radio.checked {
    border-color: var(--color-primary);
    background: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Form Grid */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-group-full {
    width: 100%;
}

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

/* Enhanced Cart Summary */
.cart-summary-enhanced {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    font-size: var(--text-base);
}

.summary-row.total {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-text);
}

.summary-divider {
    height: 1px;
    background: var(--color-bg);
    margin: var(--space-3) 0;
}

.btn-block {
    width: 100%;
    margin-top: var(--space-4);
}

.secure-checkout {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-top: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Cart Animations */
.item-enter {
    animation: slideIn 0.3s ease;
}

.item-leave {
    animation: slideOut 0.3s ease;
}

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

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

/* === COMPLETE CHECKOUT PAGE === */
.checkout-page {
    background: var(--color-bg);
    min-height: calc(100vh - 73px);
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-5);
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-8);
}

.checkout-main {
    min-width: 0;
}

/* Step Transitions */
.step-enter {
    animation: stepIn 0.3s ease;
}

.step-leave {
    animation: stepOut 0.3s ease;
}

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

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

/* Step Header */
.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.step-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin: 0;
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* Checkout Card */
.checkout-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-md);
}

.checkout-note-card {
    background: rgba(255, 107, 53, 0.06);
    border: 1px solid rgba(255, 107, 53, 0.14);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-5);
}

.checkout-note-card p + p {
    margin-top: 0.65rem;
}

.checkout-note-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.checkout-note-title .material-icons {
    color: var(--color-primary);
}

/* Form Grid */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

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

.form-group-full {
    width: 100%;
}

.form-group-half {
    flex: 1;
    min-width: 0;
}

/* Form Input States */
.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 184, 154, 0.1);
}

.field-error {
    color: #ef4444;
    font-size: var(--text-sm);
    margin-top: var(--space-1);
    font-weight: 500;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border: 2px solid var(--color-bg);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    width: 100%;
}

.payment-method:hover {
    border-color: var(--color-primary);
    background: rgba(255,107,53,0.02);
}

.payment-method.active {
    border-color: var(--color-primary);
    background: rgba(255,107,53,0.05);
}

.payment-icon {
    width: 44px;
    height: 44px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-icon .material-icons {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.payment-details {
    flex: 1;
}

.payment-title {
    display: block;
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text);
    margin-bottom: 2px;
}

.payment-desc {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.payment-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-muted);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.payment-radio.checked {
    border-color: var(--color-primary);
    background: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Terms Checkbox */
.terms-checkbox {
    margin: var(--space-4) 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
}

.checkbox-text {
    font-size: var(--text-sm);
    color: var(--color-text);
    line-height: 1.5;
}

/* Order Summary Sidebar */
.checkout-sidebar {
    position: sticky;
    top: var(--space-8);
    height: fit-content;
}

.order-summary-sticky {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-lg);
}

.summary-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: var(--space-4);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-bg);
}

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

.summary-item-image {
    width: 50px;
    height: 50px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-item-image img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.summary-item-details {
    flex: 1;
    min-width: 0;
}

.summary-item-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-item-qty {
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

.summary-item-price {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.summary-divider {
    height: 1px;
    background: var(--color-bg);
    margin: var(--space-3) 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
    font-size: var(--text-base);
}

.summary-row.total {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-text);
    padding: var(--space-3) 0;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-bg);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--color-text-light);
    background: var(--color-bg);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
}

.trust-badge .material-icons {
    font-size: 1rem;
    color: var(--color-accent);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        position: static;
    }

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

/* === CHECKOUT FORM === */

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

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.form-input {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--color-muted);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

/* === ABOUT SECTION === */
.about-section {
    background: var(--color-surface);
    padding: var(--space-12) var(--space-5);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.about-text p {
    margin-bottom: var(--space-4);
}

.about-quote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-4);
    font-style: italic;
    color: var(--color-text);
    font-size: var(--text-lg);
}

/* === FOOTER === */
.footer {
    background: var(--color-secondary);
    color: white;
    padding: var(--space-8) var(--space-5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
}

.footer-section h4 {
    color: white;
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
}

.footer-section p {
    color: var(--color-muted);
}

.footer-section a {
    color: var(--color-muted);
    display: block;
    margin-bottom: var(--space-2);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: var(--space-8) auto 0;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--color-muted);
    font-size: var(--text-sm);
}

/* === SIDE DRAWER === */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.side-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: var(--color-surface);
    z-index: 201;
    transition: left var(--transition-base);
    overflow-y: auto;
}

.side-drawer.open {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5);
    border-bottom: 1px solid var(--color-bg);
}

.drawer-header h3 {
    font-size: var(--text-lg);
    color: var(--color-primary);
}

.drawer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-bg);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.drawer-item:hover {
    background: var(--color-bg);
}

.drawer-item .material-icons {
    color: var(--color-primary);
}

/* === TOAST NOTIFICATIONS === */
.toast-container {
    position: fixed;
    top: 90px;
    right: var(--space-5);
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.toast {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    font-weight: 600;
    animation: slideIn var(--transition-base) ease-out;
}

.toast.success {
    border-left: 4px solid var(--color-accent);
    color: var(--color-accent);
}

.toast.error {
    border-left: 4px solid var(--color-primary);
    color: var(--color-primary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* === SUCCESS ANIMATION === */
.success-view {
    text-align: center;
    padding: var(--space-12) var(--space-5);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-6);
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.5s ease;
}

.success-icon .material-icons {
    font-size: 3rem;
    color: white;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.order-number {
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-8);
    display: inline-block;
    margin: var(--space-4) 0;
}

.order-number span {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-primary);
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: var(--text-2xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .product-card {
        padding: var(--space-4);
    }

    .product-icon {
        width: 70px;
        height: 70px;
    }

    .hero-cta-row,
    .empty-cart-actions {
        justify-content: center;
    }

    .shop-toolbar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip-grid,
    .custom-orders-card {
        grid-template-columns: 1fr;
    }

    .custom-orders-actions {
        align-items: stretch;
    }

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

    .product-modal {
        padding: var(--space-3);
    }

    .product-modal-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
        padding: var(--space-6);
    }

    .product-modal-title,
    .product-modal-price {
        font-size: 1.5rem;
    }
}

/* === LOADING STATE === */
.loading-state {
    text-align: center;
    padding: var(--space-12) var(--space-5);
    color: var(--color-text-light);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-bg);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-4);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === EMPTY STATES === */
.empty-state {
    text-align: center;
    padding: var(--space-12) var(--space-5);
    color: var(--color-text-light);
}

.empty-state h3 {
    color: var(--color-text);
}

.empty-state .material-icons {
    font-size: 4rem;
    color: var(--color-muted);
    margin-bottom: var(--space-4);
    display: block;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    z-index: 350;
}

.product-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
    z-index: 360;
}

.product-modal-card {
    width: min(920px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--color-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    padding: var(--space-8);
}

.product-modal-media {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.08), rgba(0, 184, 154, 0.05));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
}

.product-modal-image {
    width: min(100%, 300px);
    height: auto;
    object-fit: contain;
}

.product-modal-content {
    display: flex;
    flex-direction: column;
}

.product-modal-topline {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}

.product-modal-title {
    font-size: 2rem;
    margin-bottom: var(--space-3);
}

.product-modal-desc {
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
}

.product-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.product-tag-chip {
    background: var(--color-bg);
    color: var(--color-text);
    border-radius: var(--radius-full);
    padding: 0.45rem 0.8rem;
    font-size: var(--text-xs);
    font-weight: 700;
}

.product-modal-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.product-highlights {
    padding-left: 1.1rem;
    margin-bottom: var(--space-6);
    color: var(--color-text);
}

.product-highlights li {
    margin-bottom: 0.5rem;
}

.product-modal-note {
    font-size: var(--text-sm);
    color: var(--color-text);
    background: rgba(0, 184, 154, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-5);
}

.product-modal-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* === FLOATING CART BUTTON (MOBILE) === */
.floating-cart {
    position: fixed;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    z-index: 80;
}

.floating-cart-btn {
    background: var(--color-primary);
    color: white;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.floating-cart-btn:hover {
    transform: translateX(-50%) scale(1.05);
}
