﻿/* =========================================================
   Base layout
   ========================================================= */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: var(--brand-bg);
    color: var(--brand-text);
}




/* =========================================================
   THEME TOKENS (defaults = Rose Light)
   Edit these or override via body[data-theme="..."]
   ========================================================= */
    :root,
    body[data-theme="rose-light"] {
        /* Default fallback colors */
        --rose-pink: #e24a6b;
        --rose-green: #7ab97a;
        --rose-accent: #a52a5a;
        /* Map brand-pink from tenant primary (different name = safe) */
        --brand-pink: var(--brand-primary, #e24a6b);
        /* Static defaults — overridden on :root by _TenantThemeStyles.
           These are NOT self-referencing so body inherits the :root values. */
        --brand-pink-10: rgba(226, 74, 107, 0.10);
        --brand-pink-06: rgba(226, 74, 107, 0.06);
        --brand-pink-18b: rgba(226, 74, 107, 0.18);
        /* Bootstrap overrides */
        --bs-primary: var(--brand-pink);
        --bs-secondary: var(--brand-secondary);
        --bs-btn-border-radius: var(--radius-md);
        /* Typography */
        --font-display: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
        --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        --font-heading: var(--font-display);
        /* UI basics */
        --surface: var(--brand-bg);
        --text-strong: var(--brand-text);
        --text-muted: #7b6f74;
        --text-muted-strong: #4b4246;
        --border-subtle: rgba(0,0,0,.06);
        --shadow-sm: 0 1px 6px rgba(0,0,0,.05);
        --rose-bg-light: #fff6f8;
        --header-wash: linear-gradient(90deg, rgba(226,74,107,0.04), rgba(255,255,255,0) 30%);
        --radius-sm: 8px;
        --radius-md: 12px;
        --brand-size: 1.35rem;
        --badge-size: 20px;
        /* Buttons */
        --bs-btn-bg: var(--brand-pink);
        --bs-btn-border-color: var(--brand-pink);
        --bs-btn-hover-bg: #c93c5d;
        --bs-btn-hover-border-color: #c93c5d;
        --bs-btn-active-bg: #b63552;
        --bs-btn-active-border-color: #b63552;
        --bs-btn-color: #fff;
        --bs-btn-hover-color: #fff;
        --bs-btn-active-color: #fff;
        /* Secondary buttons */
        --bs-btn-secondary-bg: var(--brand-secondary);
        --bs-btn-secondary-border-color: var(--brand-secondary);
        --bs-btn-secondary-color: #fff;
        --bs-btn-secondary-hover-bg: #5fa162;
        --bs-btn-secondary-hover-border-color: #5fa162;
        --bs-btn-secondary-active-bg: #4a945f;
        --bs-btn-secondary-active-border-color: #4a945f;
    }



/* ---------------------------------------------------------
   Fonts (pick ONE approach)
   A) Quick import (no <link> tags needed in _Layout)
   --------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;500&display=swap");

/* B) Self-hosted (example)
@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/PlayfairDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
*/

/* =========================================================
   Navbar styles (use tokens above)
   ========================================================= */
.site-header {
    background: var(--header-wash);
}

.navbar {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--brand-primary);
    min-height: 56px;
    background-color: var(--surface) !important;
    color: var(--text-strong);
}

    /* Brand */
    .navbar .brand span {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: var(--brand-size);
        letter-spacing: 0.2px;
        color: var(--brand-primary);
    }

    .navbar .navbar-brand svg {
        display: block;
    }

        .navbar .navbar-brand svg path {
            stroke: var(--brand-pink);
        }

    /* Centered nav links */
    .navbar .main-nav .nav-link {
        font-family: var(--font-sans);
        font-weight: 500;
        color: var(--text-muted);
        padding: .5rem .9rem;
    }
    .navbar .nav-link {
        color: var(--text-muted);
    }
        .navbar .main-nav .nav-link:hover,
        .navbar .main-nav .nav-link:focus,
        .navbar .main-nav .nav-link.active {
            color: var(--brand-primary);
        }

/* Cart pill */
.cart-btn {
    background: var(--brand-pink-06);
    border: 1px solid var(--brand-pink-18b);
    border-radius: var(--radius-md);
    padding: .35rem .6rem;
    position: relative;
    line-height: 1;
    color: var(--text-strong);
}

    .cart-btn:hover {
        background: var(--brand-pink-10);
    }

    .cart-btn .cart-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: var(--badge-size);
        height: var(--badge-size);
        padding: 0 6px;
        border-radius: 999px;
        font-size: .75rem;
        font-weight: 700;
        color: #fff;
        background: var(--brand-pink);
        box-shadow: 0 1px 2px rgba(0,0,0,.1);
    }

/* Mobile tweaks */
@media (max-width: 767.98px) {
    .navbar .main-nav {
        margin: .5rem 0;
    }

        .navbar .main-nav .nav-link {
            padding: .6rem .75rem;
        }
}

/* =========================================================
   Theme presets (override the tokens when applied)
   ========================================================= */

/* Dark Mode — only override surfaces, keep tenant brand colors */
body[data-theme="rose-dark"] {
    --brand-bg: #111;
    --brand-text: #eaeaea;
    --btn-text: #fff;
    --surface: #111;
    --text-strong: #eaeaea;
    --text-muted: #c7b8bd;
    --text-muted-strong: #efe1e6;
    --border-subtle: rgba(255,255,255,.08);
    --rose-bg-light: #1a1a1a;
    --brand-pink-06: rgba(226, 74, 107, 0.20);
    --brand-pink-10: rgba(226, 74, 107, 0.28);
    --shadow-sm: 0 1px 6px rgba(0,0,0,.6);
    --header-wash: none;
    --section-surface: #1e1e1e;
    --card-surface: #2a2a2a;
    --card-border: rgba(255,255,255,0.08);
    --card-text: #f1f1f1;
    --card-muted: #bbb;
    --bs-body-bg: #111;
    --bs-body-color: #eaeaea;
}

/* Sage-light removed: tenant brand colors now drive all theming */

/* =========================================================
   Theme toggle button
   ========================================================= */
.theme-toggle {
    border: 1px solid var(--border-subtle);
    background: transparent;
    border-radius: var(--radius-sm);
    padding: .35rem .55rem;
    line-height: 1;
    font-family: var(--font-sans);
}

    .theme-toggle .icon-sun {
        display: inline-block;
    }

    .theme-toggle .icon-moon {
        display: none;
    }

/* When dark is active, swap icons */
body[data-theme="rose-dark"] .theme-toggle .icon-sun {
    display: none;
}

body[data-theme="rose-dark"] .theme-toggle .icon-moon {
    display: inline-block;
}

/* Accessible focus */
.theme-toggle:focus-visible {
    outline: 2px solid var(--brand-pink);
    outline-offset: 2px;
}
body, .navbar, .cart-btn, .theme-toggle, .footer, .navbar .nav-link, .navbar .brand span {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
/* Footer styles */
.footer-main {
    background: var(--brand-pink);
    color: #f3e9ec;
    font-family: var(--font-sans);
}

    .footer-main .brand span {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.2rem;
        color: #fff;
    }

    .footer-main svg {
        stroke: #fff;
    }

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-main a {
    color: #f3e9ec;
    text-decoration: none;
}

    .footer-main a:hover {
        color: #fff;
        text-decoration: underline;
    }

.footer-hours {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    font-size: .9rem;
}

.footer-bottom {
    background: rgba(0,0,0,0.05);
    font-size: .9rem;
    color: #f1dfe3;
}

.footer-links a {
    color: #f1dfe3;
    text-decoration: none;
}

    .footer-links a:hover {
        text-decoration: underline;
    }

/* Social icons */
.footer-main .bi {
    font-size: 1.25rem;
    color: #f3e9ec;
}

    .footer-main .bi:hover {
        color: #fff;
    }
/* =========================================================
   Sticky footer layout
   ========================================================= */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.container.flex-grow-1 {
    flex: 1; /* pushes footer down if content short */
}

.footer-main {
    flex-shrink: 0;
}

/* Smooth theme transitions */
body, .navbar, .cart-btn, .theme-toggle, .footer-main, .navbar .nav-link, .navbar .brand span {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
    /* Default: show sun */
    .theme-toggle .icon-sun {
        display: inline-block;
    }

    .theme-toggle .icon-moon,
    .theme-toggle .icon-system {
        display: none;
    }

    /* Dark mode */
    body[data-theme="rose-dark"] .theme-toggle .icon-sun,
    body[data-theme-mode="system"] .theme-toggle .icon-sun {
        display: none;
    }

    body[data-theme="rose-dark"] .theme-toggle .icon-moon,
    body[data-theme-mode="system"][data-theme="rose-dark"] .theme-toggle .icon-moon {
        display: inline-block;
    }

    /* Light mode */
    body[data-theme="rose-light"] .theme-toggle .icon-sun,
    body[data-theme-mode="system"][data-theme="rose-light"] .theme-toggle .icon-sun {
        display: inline-block;
    }

    body[data-theme="rose-light"] .theme-toggle .icon-moon,
    body[data-theme-mode="system"][data-theme="rose-light"] .theme-toggle .icon-moon {
        display: none;
    }

    /* System mode indicator: always show 🖥️ instead of sun/moon */
    body[data-theme-mode="system"] .theme-toggle .icon-sun,
    body[data-theme-mode="system"] .theme-toggle .icon-moon {
        display: none !important;
    }

    body[data-theme-mode="system"] .theme-toggle .icon-system {
        display: inline-block;
    }
/* Custom hamburger icon since we dropped navbar-light/dark */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(47,42,44,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

body[data-theme="rose-dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(251,247,248,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* Cart text hides on very small screens */
@media (max-width: 575.98px) {
    .cart-btn span:not(.cart-badge) {
        display: none; /* hide the "Cart" label */
    }

    .cart-btn {
        padding: .35rem .5rem; /* tighten spacing */
    }
}


.hero-tagline {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rose-accent);
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight-pink {
    color: var(--rose-pink);
}

.highlight-green {
    color: var(--rose-green);
}

.hero-features {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Hero image */
.hero-image-wrapper {
    border-radius: 1rem;
    background: #fff;
    padding: 0.5rem;
}

    .hero-image-wrapper img {
        border-radius: 0.75rem;
    }

/* Floating badge */
.hero-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: var(--rose-accent);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }
}
.hero-section {
    width: 100%;
    
    background: linear-gradient( 90deg, var(--brand-pink-06), #fff );
    padding: 4rem 0;
}



    .hero-section .container {
        position: relative;
        z-index: 2; /* keep content above background */
    }

body[data-theme="rose-dark"] .hero-section {
    background: linear-gradient(180deg, var(--rose-bg-light), #111);
}
.featured-section {
    background: var(--rose-bg-light);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

.bouquet-card .badge {
    background: var(--brand-pink);
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem;
}

.bouquet-card .card-body {
    font-family: var(--font-sans);
}

.bouquet-card .btn {
    border-radius: var(--radius-sm);
    font-weight: 500;
}
/* Card base */
.bouquet-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
}

    /* Lift + shadow on hover */
    .bouquet-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }

    /* Image zoom on hover */
    .bouquet-card img {
        transition: transform 0.4s ease;
    }

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

    /* Badge pulse effect */
    .bouquet-card .badge {
        transition: transform 0.3s ease;
    }

    .bouquet-card:hover .badge {
        transform: scale(1.1);
    }

    /* Button glow effect */
    .bouquet-card .btn {
        transition: background-color 0.25s ease, box-shadow 0.25s ease;
    }

        .bouquet-card .btn:hover {
            box-shadow: 0 0 12px rgba(226, 74, 107, 0.4); /* pink glow */
        }
.testimonials-section {
    background: var(--rose-bg-light);
}

.testimonial-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }
.navbar .brand,
.footer-main .brand {
    color: var(--brand-pink); /* drives currentColor for the SVG */
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
}
/* Apply dark-mode surfaces to cards/sections */
body[data-theme="rose-dark"] .featured-section,
body[data-theme="rose-dark"] .testimonials-section {
    background: var(--section-surface);
}

/* Cards in dark mode */
body[data-theme="rose-dark"] .bouquet-card,
body[data-theme="rose-dark"] .testimonial-card {
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    color: var(--card-text);
}

    /* Card text in dark mode */
    body[data-theme="rose-dark"] .bouquet-card .card-title,
    body[data-theme="rose-dark"] .testimonial-card .author {
        color: var(--card-text);
    }

    body[data-theme="rose-dark"] .bouquet-card .card-text,
    body[data-theme="rose-dark"] .testimonial-card .quote,
    body[data-theme="rose-dark"] .bouquet-card .text-muted,
    body[data-theme="rose-dark"] .testimonial-card .text-muted {
        color: var(--card-muted) !important;
    }

/* Section headings in dark mode */
body[data-theme="rose-dark"] .section-title,
body[data-theme="rose-dark"] h2,
body[data-theme="rose-dark"] h3 {
    color: #fff;
}
.btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--btn-text, #fff) !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: color-mix(in srgb, var(--brand-primary) 90%, black) !important;
        border-color: color-mix(in srgb, var(--brand-primary) 90%, black) !important;
        color: var(--btn-text, #fff) !important;
    }

    .btn-primary:active {
        background-color: color-mix(in srgb, var(--brand-primary) 80%, black) !important;
        border-color: color-mix(in srgb, var(--brand-primary) 80%, black) !important;
        color: var(--btn-text, #fff) !important;
    }
.footer-main {
    background: var(--brand-primary);
    color: var(--btn-text, #fff);
    font-family: var(--font-sans);
}

    .footer-main .brand span,
    .footer-main .footer-heading {
        color: #fff;
    }

    .footer-main svg {
        stroke: #fff;
    }

    .footer-main a,
    .footer-main .bi {
        color: #f3e9ec;
    }

        .footer-main a:hover,
        .footer-main .bi:hover {
            color: #fff;
        }

.footer-bottom {
    background: rgba(0,0,0,0.05);
    color: #f1dfe3;
}
/* =========================================================
   Shop Page & Product Cards
   ========================================================= */

.shop-page__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-strong);
}

.shop-filters {
    background: var(--surface);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Product Card */
.product-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface, #fff);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.product-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

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

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

.product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #e9ecef;
    color: #6c757d;
}

.product-card__placeholder i {
    font-size: 3rem;
}

.product-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.product-card__body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-strong);
}

.product-card__description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
}

.product-card__price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.product-card__stock {
    font-size: 0.75rem;
}

/* Product Detail Page */
.product-detail {
    background: var(--surface);
}

.product-detail__gallery {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-detail__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-detail__placeholder {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
}

.product-detail__placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.product-detail__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 1rem;
}

.product-detail__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.product-detail__description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.product-detail__rating i {
    font-size: 1rem;
}

.product-detail__actions .input-group {
    max-width: 400px;
}

/* Dark mode adjustments */
body[data-theme="rose-dark"] .product-card,
body[data-theme="rose-dark"] .shop-filters {
    background: var(--card-surface);
    border: 1px solid var(--card-border);
}

body[data-theme="rose-dark"] .product-card__title {
    color: var(--card-text);
}

body[data-theme="rose-dark"] .product-card__description {
    color: var(--card-muted);
}

body[data-theme="rose-dark"] .product-card__placeholder,
body[data-theme="rose-dark"] .product-detail__placeholder {
    background: #2a2a2a;
    color: #999;
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .product-card__badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .product-detail__price {
        font-size: 1.5rem;
    }
}

/* =========================================================
   Build Wizard
   ========================================================= */

.build-wizard__header {
    text-align: center;
    margin-bottom: 2rem;
}

.build-wizard__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
}

.build-wizard__subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.build-wizard__base-price {
    font-size: 1.125rem;
    margin-top: 1rem;
}

.build-wizard__step {
    display: none;
}

.build-wizard__step.active {
    display: block;
}

/* Option Cards */
.option-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.option-card__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-card__label {
    display: block;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--surface);
    height: 100%;
}

.option-card__input:checked + .option-card__label {
    border-color: var(--brand-primary);
    background: var(--brand-pink-06);
    box-shadow: 0 0 0 3px var(--brand-pink-10);
}

.option-card__label:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

.option-card--disabled .option-card__label {
    opacity: 0.5;
    cursor: not-allowed;
}

.option-card__image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: #f5f5f5;
}

.option-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.option-card__content {
    text-align: center;
}

.option-card__name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-strong);
}

.option-card__price {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: var(--brand-primary);
}

.option-card__quantity {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
}

/* Sticky Footer */
.build-wizard__footer {
    position: sticky;
    bottom: 1rem;
    z-index: 100;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.build-wizard__total {
    font-size: 0.875rem;
    text-align: center;
}

.build-wizard__total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
}

/* Dark mode */
body[data-theme="rose-dark"] .option-card__label {
    background: var(--card-surface);
    border-color: var(--card-border);
}

body[data-theme="rose-dark"] .option-card__input:checked + .option-card__label {
    background: var(--brand-pink-06);
}

body[data-theme="rose-dark"] .option-card__name {
    color: var(--card-text);
}

body[data-theme="rose-dark"] .option-card__image-wrapper {
    background: #2a2a2a;
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .build-wizard__total-amount {
        font-size: 1.5rem;
    }
    
    .build-wizard__footer .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .option-card__label {
        padding: 0.75rem;
    }
}

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

.cart-page__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-strong);
}

.cart-page__empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-page__empty i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cart-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.cart-item__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item__placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    border-radius: var(--radius-sm);
}

.cart-item__name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-strong);
}

.cart-item__price,
.cart-item__total {
    font-weight: 600;
    color: var(--text-strong);
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cart-summary__total {
    font-size: 1.25rem;
    padding-top: 0.5rem;
}

/* Dark mode */
body[data-theme="rose-dark"] .cart-item {
    background: var(--card-surface);
    border: 1px solid var(--card-border);
}

body[data-theme="rose-dark"] .cart-item__name,
body[data-theme="rose-dark"] .cart-item__price,
body[data-theme="rose-dark"] .cart-item__total {
    color: var(--card-text);
}

body[data-theme="rose-dark"] .cart-item__placeholder {
    background: #2a2a2a;
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .cart-item {
        padding: 0.75rem;
    }
    
    .cart-item__name {
        font-size: 1rem;
    }
    
    .cart-summary__total {
        font-size: 1.125rem;
    }
}

/* =========================================================
   Checkout Page
   ========================================================= */

.checkout-page__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-strong);
}

.checkout-summary__items {
    max-height: 300px;
    overflow-y: auto;
}

.checkout-summary__item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.checkout-summary__item:last-child {
    border-bottom: none;
}

.checkout-summary__item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.checkout-summary__item-qty {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.checkout-summary__item-total {
    font-weight: 600;
    white-space: nowrap;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.checkout-summary__total {
    font-size: 1.25rem;
    padding-top: 0.5rem;
}

/* Confirmation Page */
.confirmation-page__icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.confirmation-page__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 1rem;
}

.confirmation-page__message {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.confirmation-page__order-number {
    font-size: 1.25rem;
    padding: 1rem;
    background: var(--brand-pink-06);
    border-radius: var(--radius-md);
    display: inline-block;
}

.confirmation-page__next-steps {
    margin-top: 2rem;
}

.confirmation-page__next-steps ul {
    text-align: left;
    display: inline-block;
}

.confirmation-page__next-steps li {
    font-size: 1rem;
    padding: 0.5rem 0;
}

.confirmation-page__next-steps i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

/* Dark mode */
body[data-theme="rose-dark"] .checkout-summary__item {
    border-color: var(--card-border);
}

body[data-theme="rose-dark"] .checkout-summary__item-name {
    color: var(--card-text);
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .confirmation-page__icon {
        font-size: 4rem;
    }
    
    .confirmation-page__title {
        font-size: 1.75rem;
    }
    
    .confirmation-page__actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .confirmation-page__actions .btn.me-2 {
        margin-right: 0 !important;
    }
}

/* =========================================================
   Orders Page
   ========================================================= */

.orders-page__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-strong);
}

.orders-page__empty {
    text-align: center;
    padding: 4rem 2rem;
}

.orders-page__empty i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.order-card {
    transition: box-shadow 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-card__number {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.order-card__date,
.order-card__payment,
.order-card__method {
    font-size: 0.875rem;
}

.order-card__status {
    margin-bottom: 0.25rem;
}

.order-card__total {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

/* Order Detail Page */
.order-detail-page__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-strong);
}

.order-item:last-child {
    border-bottom: none !important;
}

.order-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.order-summary__total {
    font-size: 1.25rem;
    padding-top: 0.5rem;
}

/* Order Timeline */
.order-timeline {
    position: relative;
    padding-left: 2rem;
}

.order-timeline__item {
    position: relative;
    padding-bottom: 2rem;
}

.order-timeline__item:last-child {
    padding-bottom: 0;
}

.order-timeline__marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-timeline__marker i {
    color: var(--brand-primary);
    font-size: 0.75rem;
}

.order-timeline__item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    bottom: -1.5rem;
    width: 2px;
    background: var(--border-subtle);
}

.order-timeline__item:last-child::before {
    display: none;
}

.order-timeline__status {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.order-timeline__date {
    font-size: 0.875rem;
}

.order-timeline__note {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
}

/* Dark mode */
body[data-theme="rose-dark"] .order-timeline__item::before {
    background: var(--card-border);
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .order-card .btn {
        margin-top: 1rem;
        display: block;
        width: 100%;
    }
    
    .order-card__total {
        font-size: 1.125rem;
    }
}
