/**
 * Charm Floristic - Main Stylesheet
 * A modern, elegant design for a premium flower shop
 */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Colors - Subtle & Elegant */
    --color-primary: #d4708f;
    --color-primary-dark: #b85578;
    --color-primary-light: #f5e0e7;
    --color-secondary: #2d2d3a;
    --color-accent: #e8c547;

    /* Neutrals */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #eeeeee;
    --color-gray-300: #e0e0e0;
    --color-gray-400: #bdbdbd;
    --color-gray-500: #9e9e9e;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #212121;

    /* Semantic */
    --color-success: #6bb87b;
    --color-warning: #e8a84c;
    --color-error: #d4605a;
    --color-info: #5a9fd4;

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

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

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

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    position: relative;
    z-index: 1;
    /* Ensure body content is above the pseudo-element */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* The user specifically asked for "the past picture" (homepage_parallax_bw.png) with 5% opacity */
    background-image: url('img/homepage_parallax_bw.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.15;
    /* Increased to 15% as requested */
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-gray-900);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

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

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

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

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.main {
    min-height: calc(100vh - 160px);
}

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-secondary);
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--color-gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

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

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

.lang-switcher {
    display: flex;
    gap: var(--space-xs);
}

.lang-btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray-500);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all var(--transition-base);
}

.cart-btn:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.cart-icon {
    font-size: 1.1rem;
}

.cart-count {
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gray-700);
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
}

.mobile-menu.open {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav a {
    color: var(--color-gray-800);
    font-size: 1.1rem;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.mobile-lang {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

@media (max-width: 768px) {

    .nav,
    .lang-switcher {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: var(--space-2xl) 0;
    margin-top: var(--space-3xl);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-copy {
    width: 100%;
    text-align: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(212, 112, 143, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 112, 143, 0.4);
    color: var(--color-white);
    filter: brightness(1.05);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 112, 143, 0.3);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-gray-700);
    border: 2px solid var(--color-gray-200);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

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

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
}

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

.btn-block {
    width: 100%;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

.card-body {
    padding: var(--space-lg);
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--color-gray-600);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.card-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================
   Product Grid
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.product-card .card-image {
    position: relative;
    aspect-ratio: 4 / 5;
}

.product-card .card-image img {
    object-position: center 2%;
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--color-accent);
    color: var(--color-gray-900);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.product-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.product-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.product-card-actions .btn {
    width: 100%;
    min-height: 40px;
    padding: 0.62rem 0.8rem;
    justify-content: center;
}

.product-card-cart-form {
    margin: 0;
}

@media (max-width: 420px) {
    .product-card-actions {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(252, 228, 236, 0.85) 0%, rgba(248, 187, 217, 0.85) 50%, rgba(244, 143, 177, 0.85) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('hero-bg.png') center center / contain no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-gray-700);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--space-xl) 0;
}

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

.section-title {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: var(--space-md) auto 0;
    border-radius: var(--radius-full);
}

/* ============================================
   Category Cards
   ============================================ */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.category-card {
    position: relative;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-full);
    background: var(--color-white);
    border: 2px solid var(--color-primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

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

.category-card:hover span {
    color: var(--color-white);
}

.category-card span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-gray-700);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--color-gray-700);
}

.form-label.required::after {
    content: '*';
    color: var(--color-error);
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

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

.form-radio-group,
.form-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.form-radio,
.form-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.form-radio input,
.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.form-error {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: var(--space-xs);
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid var(--color-success);
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid var(--color-error);
}

.alert-warning {
    background: #fff3e0;
    color: #e65100;
    border-left: 4px solid var(--color-warning);
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid var(--color-info);
}

/* ============================================
   Cart
   ============================================ */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
}

.cart-table th {
    font-weight: 600;
    color: var(--color-gray-600);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    object-position: center center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    -webkit-clip-path: inset(0 20% 0 20%);
    clip-path: inset(0 20% 0 20%);
}

.cart-item-name {
    font-weight: 500;
}

.cart-qty-input {
    width: 60px;
    padding: var(--space-sm);
    text-align: center;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
}

.cart-summary {
    background: var(--color-gray-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-top: var(--space-xl);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
}

.cart-summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    border-top: 2px solid var(--color-gray-300);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
}

@media (max-width: 768px) {
    .cart-table thead {
        display: none !important;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block !important;
        width: 100% !important;
    }

    .cart-table tr {
        margin-bottom: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 15px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        position: relative;
    }

    .cart-table td {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

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

    /* Product Cell Special Styling */
    .cart-table td[data-label="Product"] {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cart-table td:before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        color: #757575;
        font-size: 0.9rem;
    }

    /* Hide label for Product cell as it's self-evident */
    .cart-table td[data-label="Product"]:before {
        display: none;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
        margin-right: 15px;
    }

    .cart-qty-input {
        width: 80px;
        padding: 8px;
    }
}

/* ============================================
   Checkout
   ============================================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-2xl);
}

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

.checkout-section {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.checkout-section-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-gray-200);
}

.delivery-method-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.delivery-method-card {
    padding: var(--space-lg);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.delivery-method-card:hover {
    border-color: var(--color-primary-light);
}

.delivery-method-card.selected {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}

.delivery-method-card .icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.delivery-method-card .label {
    font-weight: 600;
}

.order-summary {
    position: sticky;
    top: 90px;
}

.order-items {
    margin-bottom: var(--space-lg);
}

.order-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.order-item-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    object-position: center center;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    -webkit-clip-path: inset(0 20% 0 20%);
    clip-path: inset(0 20% 0 20%);
}

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

.order-item-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.order-item-qty {
    color: var(--color-gray-500);
    font-size: 0.85rem;
}

.order-item-price {
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================
   Order Success
   ============================================ */
.success-page {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: var(--space-lg);
}

.success-page h1 {
    color: var(--color-success);
    margin-bottom: var(--space-md);
}

.order-number-box {
    display: inline-block;
    background: var(--color-gray-100);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}

.order-number-label {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xs);
}

.order-number-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-secondary);
}

/* ============================================
   Order Tracking
   ============================================ */
.track-form {
    max-width: 500px;
    margin: 0 auto;
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.track-result {
    max-width: 700px;
    margin: var(--space-2xl) auto;
}

.status-timeline {
    position: relative;
    padding-left: var(--space-2xl);
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gray-200);
}

.status-step {
    position: relative;
    padding-bottom: var(--space-xl);
}

.status-step::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-2xl) + 6px);
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gray-300);
    border: 2px solid var(--color-white);
}

.status-step.completed::before {
    background: var(--color-success);
}

.status-step.current::before {
    background: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

.status-step-title {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.status-step-time {
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

/* ============================================
   Badges
   ============================================ */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

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

.badge-success {
    background: var(--color-success);
    color: white;
}

.badge-warning {
    background: var(--color-warning);
    color: white;
}

.badge-danger {
    background: var(--color-error);
    color: white;
}

.badge-info {
    background: var(--color-info);
    color: white;
}

.badge-secondary {
    background: var(--color-gray-600);
    color: white;
}

.badge-light {
    background: var(--color-gray-200);
    color: var(--color-gray-800);
}

/* ============================================
   Admin Tables
   ============================================ */
.admin-table {
    width: 100%;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-100);
}

.admin-table th {
    background: var(--color-gray-50);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
}

.admin-table tr:hover {
    background: var(--color-gray-50);
}

.admin-table .actions {
    display: flex;
    gap: var(--space-sm);
}

.admin-table .actions a {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--color-gray-100);
    color: var(--color-gray-700);
}

.admin-table .actions a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   Admin Cards / Stats
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-card-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-xs);
}

.stat-card-label {
    font-size: 0.9rem;
    color: var(--color-gray-500);
}

/* ============================================
   Admin Form Panel
   ============================================ */
.admin-panel {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-xl);
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-200);
}

.admin-panel-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* ============================================
   Upload Progress Overlay (Admin)
   ============================================ */
.upload-progress-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 14, 19, 0.58);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
    z-index: 9998;
}

.upload-progress-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.upload-progress-card {
    width: min(560px, 100%);
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(146, 8, 55, 0.15);
    box-shadow: 0 20px 44px rgba(18, 8, 11, 0.28);
    padding: 18px 18px 16px;
}

.upload-progress-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2f1f25;
    margin-bottom: 11px;
}

.upload-progress-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 11px;
}

.upload-progress-step {
    text-align: center;
    font-size: 0.74rem;
    color: #7b5d68;
    border: 1px solid rgba(146, 8, 55, 0.16);
    border-radius: 999px;
    padding: 4px 6px;
    background: #fff;
}

.upload-progress-step.active {
    color: #ffffff;
    background: #920837;
    border-color: #920837;
}

.upload-progress-step.completed {
    color: #2f6d54;
    border-color: rgba(47, 109, 84, 0.28);
    background: rgba(167, 241, 204, 0.35);
}

.upload-progress-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: #f3e9ed;
    border: 1px solid rgba(146, 8, 55, 0.12);
}

.upload-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #920837 0%, #c94f72 100%);
    transition: width 180ms ease;
}

.upload-progress-bar.is-processing {
    background-image: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(146, 8, 55, 0.88) 40%,
        rgba(146, 8, 55, 0.88) 100%
    );
    background-size: 180% 100%;
    animation: upload-progress-stripes 1.15s linear infinite;
}

.upload-progress-meta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.upload-progress-stage {
    font-size: 0.86rem;
    color: #4f3d45;
}

.upload-progress-percent {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4f0f28;
}

.upload-progress-overlay.error .upload-progress-bar {
    background: linear-gradient(90deg, #8f2f3a 0%, #c94d5a 100%);
}

.upload-progress-overlay.error .upload-progress-stage,
.upload-progress-overlay.error .upload-progress-percent {
    color: #8f2f3a;
}

.upload-inline-status {
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: #ffffff;
    font-size: 0.83rem;
    color: #1b1b1b;
}

.upload-inline-status.is-prepare {
    border-color: rgba(0, 0, 0, 0.2);
}

.upload-inline-status.is-upload {
    border-color: rgba(0, 0, 0, 0.35);
}

.upload-inline-status.is-process {
    border-color: rgba(0, 0, 0, 0.35);
    background: #f7f7f7;
}

.upload-inline-status.is-done {
    border-color: rgba(0, 0, 0, 0.42);
    background: #f5f5f5;
}

.upload-inline-status.is-error {
    border-color: #8f2f3a;
    color: #8f2f3a;
}

@keyframes upload-progress-stripes {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: -180% 0%;
    }
}

/* ============================================
   Utilities
   ============================================ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--color-gray-500);
}

.text-success {
    color: var(--color-success);
}

.text-error {
    color: var(--color-error);
}

.text-primary {
    color: var(--color-primary);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--space-sm);
}

.mt-2 {
    margin-top: var(--space-md);
}

.mt-3 {
    margin-top: var(--space-lg);
}

.mt-4 {
    margin-top: var(--space-xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-sm);
}

.mb-2 {
    margin-bottom: var(--space-md);
}

.mb-3 {
    margin-bottom: var(--space-lg);
}

.mb-4 {
    margin-bottom: var(--space-xl);
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: var(--space-sm);
}

.gap-2 {
    gap: var(--space-md);
}

.gap-3 {
    gap: var(--space-lg);
}

.hidden {
    display: none !important;
}

/* ============================================
   Empty State
   ============================================ */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--color-gray-500);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    color: var(--color-gray-700);
}

/* ============================================
   Loading
   ============================================ */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gray-300);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ============================================
   Product Page
   ============================================ */
.product-page {
    padding: var(--space-2xl) 0;
}

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

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}

.product-gallery {
    position: relative;
}

.product-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(360px, 48vw, 680px);
    aspect-ratio: 4 / 5;
    padding: 0;
}

.product-main-image img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-height: none;
    object-fit: cover !important;
    object-position: center 12%;
    -webkit-clip-path: none;
    clip-path: none;
}

.product-thumbnails {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.product-thumb {
    width: 82px;
    height: 110px;
    aspect-ratio: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-thumb img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 12%;
    -webkit-clip-path: none;
    clip-path: none;
}

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

.product-info h1 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

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

.product-info .description {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.product-add-form {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-gray-600);
}

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

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   Tabs (for translations)
   ============================================ */
.tabs {
    border-bottom: 2px solid var(--color-gray-200);
    margin-bottom: var(--space-lg);
}

.tab-list {
    display: flex;
    gap: var(--space-sm);
}

.tab-btn {
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-gray-600);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

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

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================
   Filters
   ============================================ */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-700);
}

.filter-group select,
.filter-group input {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-2xl);
}

.pagination a,
.pagination span {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    color: var(--color-gray-700);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination a:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

/* ============================================
   AI Chat Widget
   ============================================ */
.chat-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 112, 143, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all var(--transition-base);
    z-index: 1000;
}

.chat-toggle .open-icon,
.chat-toggle .close-icon {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-icon {
    width: 34px;
    height: 34px;
    display: block;
    fill: none;
    stroke: rgba(255, 255, 255, 0.96);
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chat-toggle-icon-ai {
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.24));
}

.chat-toggle-icon-close {
    width: 24px;
    height: 24px;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(212, 112, 143, 0.5);
}

.chat-toggle .close-icon {
    display: none;
}

.chat-toggle.active .open-icon {
    display: none;
}

.chat-toggle.active .close-icon {
    display: block;
}

.chat-window {
    --chat-wallpaper-image: none;
    --chat-wallpaper-opacity: 0;
    --chat-wallpaper-overlay-alpha: 0.88;
    --chat-bg-top: 58px;
    --chat-bg-bottom: 72px;
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 520px;
    max-height: calc(100vh - 140px);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
    isolation: isolate;
}

.chat-window.open {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    z-index: 1;
}

.chat-bg-layer {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--chat-bg-top);
    bottom: var(--chat-bg-bottom);
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, var(--chat-wallpaper-overlay-alpha)),
            rgba(255, 255, 255, var(--chat-wallpaper-overlay-alpha))
        ),
        var(--chat-wallpaper-image);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    opacity: var(--chat-wallpaper-opacity);
}

.chat-header-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.96);
}

.chat-avatar-icon {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chat-ai-mark {
    fill: currentColor;
    stroke: none;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 6.8px;
    font-weight: 800;
    letter-spacing: 0.18px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.chat-header-avatar .chat-avatar-icon {
    width: 24px;
    height: 24px;
}

.chat-header-info {
    flex: 1;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chat-header-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chat-expand-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.chat-expand-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-header-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 8px;
    /* Spacing from expand button */
    transition: all var(--transition-base);
}

.chat-close-icon {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chat-header-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg);
}

/* Expanded mode */
.chat-window.expanded {
    width: 60vw;
    max-width: 700px;
    height: 70vh;
    max-height: calc(100vh - 120px);
    bottom: 60px;
}

/* Message with icons */
.chat-message-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.chat-message-row.user {
    flex-direction: row-reverse;
}

.chat-msg-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.chat-msg-icon .chat-avatar-icon {
    width: 18px;
    height: 18px;
}

.chat-msg-icon.user-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: white;
}

.chat-msg-icon.bot-icon {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(146, 8, 55, 0.26);
    color: var(--color-primary-dark);
}

.chat-messages {
    position: relative;
    z-index: 1;
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    background: transparent;
}

.chat-message {
    max-width: 85%;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    align-self: flex-end;
    background: var(--color-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.bot {
    align-self: flex-start;
    background: var(--color-gray-100);
    color: var(--color-gray-800);
    border-bottom-left-radius: 4px;
}

.chat-message.bot a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-decoration-color: rgba(85, 0, 12, 0.35);
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.chat-message.bot a:hover {
    color: var(--color-primary);
    text-decoration-color: rgba(146, 8, 55, 0.44);
}

.chat-message.loading {
    display: flex;
    gap: 4px;
    padding: var(--space-md);
}

.chat-message.loading span {
    width: 8px;
    height: 8px;
    background: var(--color-gray-400);
    border-radius: 50%;
    animation: bounce 1.4s infinite;
}

.chat-message.loading span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-message.loading span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0.8);
    }

    40% {
        transform: scale(1.2);
    }
}

.chat-products {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.chat-promotions {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    width: 100%;
    margin-top: var(--space-sm);
}

.chat-promo-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.chat-promotions .promo-card-cover {
    aspect-ratio: 16 / 8;
}

.chat-promotions .promo-card-body {
    padding: var(--space-md);
}

.chat-promo-title {
    margin: 0 0 8px;
    font-size: 0.95rem;
    line-height: 1.35;
}

.chat-promo-title a {
    color: var(--color-gray-900);
    text-decoration: none;
}

.chat-promo-title a:hover {
    color: var(--color-primary-dark);
}

.chat-promo-summary {
    margin: 0 0 10px;
    font-size: 0.84rem;
    color: var(--color-gray-700);
}

.chat-promo-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.chat-promotions .promo-code-pill {
    font-size: 0.78rem;
    padding: 6px 10px;
}

.chat-promo-min {
    font-size: 0.78rem;
    color: var(--color-gray-600);
}

.chat-promo-btn {
    width: 100%;
    justify-content: center;
}

.chat-contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin-top: var(--space-sm);
}

.chat-contact-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    text-align: left;
}

.chat-contact-btn-label {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.86;
}

.chat-contact-btn-value {
    font-size: 0.86rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.chat-map-card {
    width: 100%;
    margin-top: var(--space-sm);
    border-radius: 12px;
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
    overflow: hidden;
}

.chat-map-frame {
    position: relative;
    width: 100%;
    min-height: 148px;
    background: var(--color-gray-100);
}

.chat-map-frame iframe,
.chat-map-empty {
    display: block;
    width: 100%;
    height: 178px;
    border: 0;
}

.chat-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    background: transparent;
    cursor: pointer;
}

.chat-map-info {
    padding: 10px;
    display: grid;
    gap: 8px;
}

.chat-map-card.no-frame .chat-map-info {
    padding: 12px;
}

.chat-map-address {
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--color-gray-800);
}

.chat-map-btn {
    width: 100%;
    justify-content: center;
}

.chat-product-card {
    width: calc(50% - 4px);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

.chat-product-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    background: var(--color-gray-100);
}

.chat-product-info {
    padding: var(--space-xs) var(--space-sm);
}

.chat-product-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-product-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
}

.chat-custom-bouquet-wrap {
    width: 100%;
    margin-top: var(--space-sm);
    border: 1px solid var(--color-gray-300);
    background: #fff;
    padding: 10px;
    display: grid;
    gap: 10px;
}

.chat-custom-bouquet-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--color-gray-700);
}

.chat-custom-bouquet-form {
    display: grid;
    gap: 10px;
}

.chat-custom-bouquet-starter {
    gap: 8px;
}

.chat-custom-starter-text {
    font-size: 0.8rem;
    color: var(--color-gray-700);
    line-height: 1.4;
}

.chat-custom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.chat-custom-field {
    display: grid;
    gap: 5px;
}

.chat-custom-field > span {
    font-size: 0.74rem;
    color: var(--color-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.chat-custom-select,
.chat-custom-date,
.chat-custom-notes {
    width: 100%;
    border: 1px solid var(--color-gray-300);
    background: #fff;
    color: #111;
    padding: 7px 8px;
    font-size: 0.84rem;
    border-radius: 0;
    appearance: none;
}

.chat-custom-notes {
    resize: vertical;
    min-height: 72px;
}

.chat-custom-group {
    display: grid;
    gap: 6px;
}

.chat-custom-group-title {
    font-size: 0.74rem;
    color: var(--color-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.chat-custom-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.chat-custom-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--color-gray-800);
}

.chat-custom-check input {
    margin: 0;
}

.chat-custom-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.chat-custom-status {
    font-size: 0.76rem;
    color: var(--color-gray-600);
}

.chat-path-choice {
    width: 100%;
    margin-top: var(--space-sm);
    border: 1px solid var(--color-gray-300);
    background: #fff;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.chat-path-choice-btn {
    width: 100%;
    justify-content: center;
}

.chat-path-choice-hint {
    font-size: 0.84rem;
    color: var(--color-gray-700);
    line-height: 1.45;
}

.chat-path-choice-followup {
    border-color: var(--color-gray-200);
}

.chat-custom-result {
    width: 100%;
    margin-top: var(--space-sm);
    border: 1px solid var(--color-gray-300);
    background: #fff;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.chat-custom-result-image-wrap {
    width: 100%;
    border: 1px solid var(--color-gray-300);
    overflow: hidden;
    background: #fff;
}

.chat-custom-result-image-trigger {
    width: 100%;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: zoom-in;
}

.chat-custom-result-image {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    display: block;
    background: #fff;
}

.chat-custom-result-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

.chat-custom-result-desc {
    font-size: 0.82rem;
    color: var(--color-gray-800);
    line-height: 1.45;
}

.chat-custom-result-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chat-custom-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-gray-300);
    padding: 4px 6px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-gray-700);
}

.chat-custom-result-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--color-gray-800);
}

.chat-custom-request-btn {
    width: 100%;
    justify-content: center;
}

.chat-custom-result-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.chat-custom-result.sent {
    opacity: 0.85;
}

.chat-image-preview {
    position: fixed;
    inset: 0;
    z-index: 15000;
    display: none;
}

.chat-image-preview.active {
    display: block;
}

.chat-image-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.chat-image-preview-panel {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 820px);
    max-height: 90vh;
    border: 1px solid #fff;
    background: #000;
    padding: 12px;
    display: grid;
    gap: 8px;
}

.chat-image-preview-close {
    justify-self: end;
    width: 34px;
    height: 34px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.chat-image-preview-img {
    width: 100%;
    max-height: min(76vh, 760px);
    object-fit: contain;
    background: #000;
}

.chat-image-preview-caption {
    font-size: 12px;
    color: #fff;
    text-align: center;
    min-height: 16px;
}

.chat-input-area {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--color-gray-200);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.chat-input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-full);
    background: #fff;
    color: #000;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.chat-input::placeholder {
    color: #6b7280;
    opacity: 1;
}

.chat-input:focus {
    border-color: var(--color-primary);
}

.chat-action-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.chat-send {
    width: 100%;
    height: 44px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.chat-send:hover {
    background: #111;
    transform: none;
}

.chat-send:disabled {
    background: #666;
    cursor: not-allowed;
}

.chat-voice {
    width: 100%;
    height: 44px;
    min-width: 0;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
}

.chat-voice:hover {
    background: #000;
    color: #fff;
}

.chat-voice.pressed {
    background: #000;
    color: #fff;
    transform: translateY(1px);
}

.chat-voice:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.chat-voice.recording,
.chat-voice.processing {
    background: #000;
    color: #fff;
}

.chat-voice.recording .chat-voice-icon {
    animation: chat-voice-pulse 1.1s ease-in-out infinite;
}

.chat-voice-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

@keyframes chat-voice-pulse {
    0% {
        opacity: 0.45;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.45;
    }
}

body.chat-voice-holding,
body.chat-voice-holding * {
    -webkit-user-select: none !important;
    user-select: none !important;
}

@media (max-width: 480px) {
    .chat-window {
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        /* Full screen on mobile */
        max-height: 100vh;
        border-radius: 0;
        box-shadow: none;
        display: none;
        /* Hidden by default */
        flex-direction: column;
        z-index: 2000;
    }

    .chat-window.open {
        display: flex;
        /* Only visible when open */
    }

    .chat-messages {
        flex: 1;
        height: auto;
    }

    .chat-toggle {
        right: 20px;
        bottom: 20px;
        z-index: 2001;
    }

    .chat-input-area {
        padding-bottom: 20px;
        /* Safety for iPhone home bar */
    }

    .chat-custom-grid,
    .chat-custom-check-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
/* ============================================
   Social Share Buttons (Elegant Monotone)
   ============================================ */
.share-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-soft);
}

.share-title {
    font-size: 0.78rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    --share-border: rgba(0, 0, 0, 0.36);
    --share-bg: transparent;
    --share-fg: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--share-border);
    background: var(--share-bg);
    color: var(--share-fg) !important;
    font-size: 0.74rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

a.share-btn,
button.share-btn {
    -webkit-appearance: none;
    appearance: none;
}

.share-btn-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.share-btn-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.share-btn.facebook .share-btn-icon svg path {
    fill: currentColor;
    stroke: none;
}

.share-btn-label {
    white-space: nowrap;
}

.share-btn:hover,
.share-btn:focus-visible,
.share-btn.is-copied {
    background: #111111;
    color: #ffffff !important;
    border-color: #111111;
}

.share-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #111111;
}

.share-btn-compact {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.68rem;
    letter-spacing: 0.09em;
}

@media (max-width: 640px) {
    .share-buttons {
        gap: 8px;
    }

    .share-btn {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }

    .share-btn-compact {
        min-height: 34px;
    }
}

/* ============================================
   About Us Page Styles
   ============================================ */
.about-hero {
    margin-top: 20px;
    padding: clamp(32px, 5vw, 56px) 0 clamp(14px, 2.4vw, 24px);
}

.about-hero-content {
    position: relative;
    overflow: hidden;
    text-align: left;
    padding: clamp(24px, 4.4vw, 52px);
    border-radius: 20px;
    border: 1px solid rgba(85, 0, 12, 0.18);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(85, 0, 12, 0.09);
}

.about-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(85, 0, 12, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.05rem, 5vw, 3.35rem);
    margin-bottom: 10px;
    color: var(--color-primary-dark);
    line-height: 1.05;
}

.about-hero-content .subtitle {
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    font-weight: 500;
    max-width: 880px;
    margin: 0;
    color: var(--color-gray-800);
    line-height: 1.6;
}

.about-principles {
    margin-top: clamp(20px, 3vw, 28px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(85, 0, 12, 0.16);
    border-bottom: 1px solid rgba(85, 0, 12, 0.16);
}

.about-principle {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.42);
    border-right: 1px solid rgba(85, 0, 12, 0.14);
}

.about-principle:last-child {
    border-right: 0;
}

.about-principle strong {
    display: block;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.about-principle span {
    display: block;
    margin-top: 6px;
    color: var(--color-gray-700);
    font-size: 0.8rem;
    line-height: 1.5;
}

.about-story {
    padding: clamp(18px, 4vw, 42px) 0 clamp(28px, 5vw, 56px);
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(18px, 3.5vw, 34px);
    align-items: center;
}

.story-content {
    border-radius: 18px;
    border: 1px solid rgba(146, 8, 55, 0.18);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(85, 0, 12, 0.08);
    padding: clamp(20px, 4vw, 36px);
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.story-content h2 {
    font-size: clamp(1.72rem, 3.3vw, 2.46rem);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.08;
}

.story-content p {
    color: var(--color-gray-700);
    margin-bottom: 18px;
    line-height: 1.76;
}

.story-image {
    height: 100%;
}

.story-image img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(85, 0, 12, 0.14);
    box-shadow: 0 14px 28px rgba(85, 0, 12, 0.12);
}

.philosophy-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(85, 0, 12, 0.22);
    border-left: 2px solid var(--color-primary-dark);
    border-radius: 12px;
    padding: clamp(14px, 2.4vw, 20px);
}

.philosophy-box h3 {
    margin-bottom: 8px;
    font-size: 1.18rem;
    color: var(--color-primary-dark);
}

.philosophy-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--color-gray-700);
}

.about-features {
    padding: clamp(10px, 1.8vw, 18px) 0 clamp(32px, 4.8vw, 60px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2.4vw, 20px);
}

.about-features .feature-card {
    padding: clamp(16px, 2.5vw, 24px);
    border-radius: 14px;
    border: 1px solid rgba(146, 8, 55, 0.16);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
    transition: border-color var(--transition-base), background var(--transition-base);
    text-align: left;
}

.about-features .feature-card:hover {
    border-color: rgba(85, 0, 12, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.about-features .feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(85, 0, 12, 0.24);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.about-feature-svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-features .feature-card h3 {
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary-dark);
}

.about-features .feature-card p {
    color: var(--color-gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-cta {
    padding: clamp(40px, 6.2vw, 72px) 0;
    background: rgba(255, 255, 255, 0.84);
    border-top: 1px solid rgba(146, 8, 55, 0.12);
}

.about-cta h2 {
    color: var(--color-primary-dark);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .about-hero {
        margin-top: 10px;
        padding-top: 20px;
    }

    .about-principles {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .about-principle {
        border-right: 0;
        border-bottom: 1px solid rgba(85, 0, 12, 0.14);
    }

    .about-principle:last-child {
        border-bottom: 0;
    }

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

    .story-image img {
        min-height: 300px;
    }

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

    .about-hero-content h1 {
        font-size: clamp(1.72rem, 8vw, 2.2rem);
    }
}

/* ============================================
   Category Cards with Images
   ============================================ */
.category-grid-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.category-grid-images-compact {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    margin: 0 auto;
}

.category-grid-images-compact .category-card-image {
    aspect-ratio: 1;
    border-radius: 7px;
    flex: 0 0 116px;
    width: 116px;
}

.category-grid-images-compact .category-card-overlay {
    padding: 5px;
}

.category-grid-images-compact .category-card-overlay span {
    font-size: clamp(0.7rem, 1vw, 0.95rem);
    font-weight: 600;
}

.category-grid-images-compact .category-placeholder {
    font-size: 1.5rem;
}

.category-card-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.category-card-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

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

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #fce4ec 100%);
}

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
}

.category-card-overlay span {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-filters-images {
    margin-bottom: var(--space-xl);
}

.category-filters-images .category-card-image {
    box-shadow: var(--shadow-sm);
}

.category-filters-images .category-card-image.active {
    box-shadow: 0 0 0 2px rgba(146, 8, 55, 0.88), var(--shadow-md);
    transform: none;
}

.category-filters-images .category-card-image.active:hover {
    transform: none;
}

.category-filters-images .category-card-image.active .category-card-overlay {
    background: linear-gradient(to top, rgba(85, 0, 12, 0.84) 0%, rgba(85, 0, 12, 0.24) 100%);
}

@media (max-width: 768px) {
    .category-grid-images {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .category-grid-images-compact {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        max-width: none;
        overflow: visible;
        padding-bottom: 0;
    }

    .category-grid-images-compact .category-card-image {
        flex: initial;
        width: auto;
    }

    .category-grid-images-compact .category-card-overlay span {
        font-size: clamp(0.85rem, 2.4vw, 1rem);
    }

    .category-card-image {
        aspect-ratio: 1;
    }

    .category-card-overlay span {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .category-grid-images {
        grid-template-columns: 1fr;
    }

    .category-grid-images-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .category-grid-images-compact .category-card-overlay span {
        font-size: clamp(0.8rem, 3.6vw, 0.95rem);
    }

    .category-card-image {
        aspect-ratio: 16 / 9;
    }

    .category-grid-images-compact .category-card-image {
        aspect-ratio: 1;
    }
}

/* ============================================
   Mobile Chat Fullscreen Enhancement
   ============================================ */
@media (max-width: 480px) {
    .chat-window.open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        /* Dynamic viewport height for mobile browsers */
        max-height: none;
        border-radius: 0;
        z-index: 9999;
    }

    .chat-header {
        padding: var(--space-md) var(--space-lg);
        padding-top: max(var(--space-md), env(safe-area-inset-top));
    }

    .chat-messages {
        flex: 1;
        min-height: 0;
    }

    .chat-input-area {
        padding: var(--space-md);
        padding-bottom: max(var(--space-md), env(safe-area-inset-bottom, 20px));
    }

    .chat-input-form {
        flex-direction: column;
        gap: 10px;
    }

    .chat-send-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    body.chat-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* ============================================
   Promotional Banners
   ============================================ */
.banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.banner-track {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
}

.banner-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.banner-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

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

.banner-nav.prev {
    left: 15px;
}

.banner-nav.next {
    right: 15px;
}

@media (max-width: 768px) {
    .banner-slide img {
        height: 200px;
    }

    .banner-content h3 {
        font-size: 1.3rem;
    }

    .banner-nav {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   Pre-Order Modal
   ============================================ */
.product-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.product-buttons .btn {
    flex: 1;
    min-width: 140px;
}

.preorder-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.preorder-modal {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.preorder-modal-overlay.active .preorder-modal {
    transform: translateY(0);
}

.preorder-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-gray-600);
    transition: all var(--transition-fast);
}

.preorder-modal-close:hover {
    background: var(--color-gray-200);
    color: var(--color-gray-800);
}

.preorder-modal h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    color: var(--color-secondary);
}

.preorder-method-cards {
    display: flex;
    gap: var(--space-md);
}

.method-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-lg);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.method-card input {
    display: none;
}

.method-card .icon {
    font-size: 1.8rem;
}

.method-card .label {
    font-weight: 500;
    font-size: 0.9rem;
}

.method-card:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}

.method-card.selected {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(212, 112, 143, 0.2);
}

/* Preorder badge in orders */
.preorder-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff9a56, #ff5858);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.preorder-alert {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 2px solid #ff9800;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.preorder-alert .icon {
    font-size: 2rem;
}

.preorder-alert .info {
    flex: 1;
}

.preorder-alert .date {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e65100;
}

.preorder-alert .label {
    font-size: 0.85rem;
    color: #bf360c;
    text-transform: uppercase;
}

/* ============================================
   Promotions
   ============================================ */
.promo-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    border: 1px solid #c8e6c9;
    background: #f1f8e9;
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
}

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

.promo-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.promo-card-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: linear-gradient(135deg, #f8bbd0, #f48fb1);
}

.promo-card-body {
    padding: var(--space-lg);
}

.promo-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    color: var(--color-gray-600);
    font-size: 0.85rem;
}

.promo-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.promo-status.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.promo-status.planned {
    background: #e3f2fd;
    color: #1565c0;
}

.promo-status.ended {
    background: #f5f5f5;
    color: #616161;
}

.promo-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: #fff3e0;
    color: #e65100;
    font-weight: 600;
    font-size: 0.9rem;
}

.promotion-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: var(--space-2xl);
}

.promotion-cover {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.share-box {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    padding: var(--space-lg);
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.share-box .share-buttons {
    margin-top: var(--space-md);
}

/* ============================================
   Promo Hint Toast
   ============================================ */
.promo-hint-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    width: min(360px, calc(100vw - 24px));
    background: #1f2937;
    color: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.promo-hint-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.promo-hint-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.promo-hint-badge {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.75rem;
    font-weight: 600;
}

.promo-hint-title {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.promo-hint-text {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.4;
}

.promo-hint-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.promo-hint-actions .btn {
    flex: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .promotion-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .promo-hint-toast {
        left: 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: auto;
    }
}

/* ============================================
   2026 Design Refresh
   ============================================ */
:root {
    --color-primary: #920837;
    --color-primary-dark: #55000c;
    --color-primary-light: #f6dce6;
    --color-secondary: #923637;
    --color-accent: #a7f1cc;

    --color-white: #ffffff;
    --color-gray-50: #fcf7f8;
    --color-gray-100: #f7eef1;
    --color-gray-200: #ebdbe0;
    --color-gray-300: #d8bcc5;
    --color-gray-400: #bf98a5;
    --color-gray-500: #9b7583;
    --color-gray-600: #7c5a67;
    --color-gray-700: #5f444f;
    --color-gray-800: #48323b;
    --color-gray-900: #2f1f25;

    --color-success: #2f6d54;
    --color-warning: #7f3032;
    --color-error: #8f2f3a;
    --color-info: #6f2a47;

    --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-body: 'Manrope', 'Segoe UI', sans-serif;
    --font-heading: var(--font-display);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;

    --shadow-sm: 0 10px 24px rgba(85, 0, 12, 0.08);
    --shadow-md: 0 16px 36px rgba(85, 0, 12, 0.13);
    --shadow-lg: 0 24px 48px rgba(85, 0, 12, 0.17);
    --shadow-xl: 0 36px 64px rgba(85, 0, 12, 0.2);

    --surface-0: rgba(255, 255, 255, 0.9);
    --surface-1: rgba(255, 255, 255, 0.96);
    --surface-2: rgba(252, 247, 248, 0.9);
    --border-soft: rgba(146, 8, 55, 0.16);
    --border-strong: rgba(85, 0, 12, 0.34);
}

body {
    color: var(--color-gray-800);
    background:
        radial-gradient(circle at 12% -4%, rgba(146, 8, 55, 0.14), transparent 42%),
        radial-gradient(circle at 84% 10%, rgba(146, 54, 55, 0.13), transparent 39%),
        radial-gradient(circle at 88% 88%, rgba(167, 241, 204, 0.2), transparent 34%),
        linear-gradient(180deg, #fffdfd 0%, #faf1f4 48%, #f8f3f5 100%);
}

body::before {
    background-image: url('img/homepage_parallax_bw.png');
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    mix-blend-mode: multiply;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.1) 52%, rgba(255, 255, 255, 0.4) 100%);
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0.01em;
}

.container {
    max-width: 1240px;
    padding: 0 clamp(14px, 2.2vw, 26px);
}

.main {
    min-height: calc(100vh - 192px);
}

.header {
    background: rgba(255, 248, 251, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(146, 8, 55, 0.18);
    box-shadow: 0 10px 24px rgba(85, 0, 12, 0.09);
}

.header-inner {
    min-height: 78px;
    height: auto;
    gap: var(--space-md);
}

.logo-img {
    height: 58px;
    filter: drop-shadow(0 8px 16px rgba(85, 0, 12, 0.2));
}

.nav {
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.nav-link {
    color: var(--color-gray-700);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 14px;
    border-radius: var(--radius-full);
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    color: var(--color-primary-dark);
    background: rgba(167, 241, 204, 0.42);
}

.header-actions {
    gap: var(--space-sm);
}

.lang-switcher {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-full);
    padding: 4px;
}

.lang-btn {
    border: none;
    border-radius: var(--radius-full);
    padding: 6px 10px;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-primary-dark);
    background: rgba(167, 241, 204, 0.5);
}

.account-btn,
.cart-btn {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.account-btn {
    width: 42px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(146, 8, 55, 0.32);
    color: var(--color-primary-dark);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.account-btn-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-primary-dark);
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.9);
}

.cart-btn {
    padding: 0 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 24px rgba(85, 0, 12, 0.3);
}

.cart-count {
    background: var(--color-accent);
    color: #2f6250;
    font-size: 0.72rem;
    min-width: 22px;
}

.mobile-menu-btn span {
    background: var(--color-primary-dark);
}

.mobile-menu {
    top: 78px;
    background: rgba(255, 248, 251, 0.98);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--border-soft);
}

.mobile-nav a {
    border-bottom-color: rgba(146, 8, 55, 0.16);
    font-weight: 600;
    color: var(--color-gray-700);
}

.hero {
    margin-top: 0;
    border-radius: 0;
    min-height: clamp(320px, 56vw, 760px);
    height: clamp(320px, 56vw, 760px);
    padding: 0;
    position: relative;
    display: block;
    background: #2a0f17;
    box-shadow: none;
    text-align: left;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

.hero-banner-block {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.hero-banner-carousel {
    position: absolute;
    inset: 0;
    margin: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.hero-banner-carousel .banner-track,
.hero-banner-carousel .banner-slide {
    height: 100%;
}

.hero-banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-banner-carousel .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-banner-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(146, 8, 55, 0.4), transparent 38%),
        radial-gradient(circle at 82% 18%, rgba(167, 241, 204, 0.24), transparent 44%),
        linear-gradient(130deg, #55000c 0%, #923637 100%);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    pointer-events: none;
}

.hero-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(38, 7, 20, 0.65) 0%, rgba(38, 7, 20, 0.35) 42%, rgba(38, 7, 20, 0.1) 100%);
    pointer-events: none;
}

.hero-overlay .container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-content {
    max-width: 620px;
    text-align: right;
    margin-right: clamp(20px, 4vw, 68px);
    margin-bottom: clamp(22px, 4vw, 58px);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: auto;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    line-height: 1.03;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.hero p {
    font-size: clamp(0.98rem, 1.45vw, 1.15rem);
    max-width: 560px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.hero-shop-btn {
    background: linear-gradient(140deg, rgba(85, 0, 12, 0.9) 0%, rgba(146, 8, 55, 0.9) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: 0 12px 24px rgba(19, 4, 11, 0.35);
    backdrop-filter: blur(4px);
}

.hero-shop-btn:hover {
    color: #fff;
    background: linear-gradient(140deg, rgba(85, 0, 12, 0.96) 0%, rgba(146, 8, 55, 0.96) 100%);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

.hero-static-copy {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.hero-static-copy .container {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.hero-static-content {
    width: min(100%, 620px);
    margin-bottom: clamp(22px, 4vw, 58px);
    pointer-events: auto;
}

.hero-static-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    line-height: 1.03;
    margin: 0 0 10px;
    color: #fff;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.hero-static-subtitle {
    font-size: clamp(0.98rem, 1.45vw, 1.15rem);
    max-width: 560px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.hero-shop-desktop {
    display: inline-flex;
}

.hero-banner-carousel .banner-nav {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    color: #fff;
    box-shadow: none;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: 0 8px;
    font-size: clamp(32px, 3.8vw, 46px);
    line-height: 1;
    font-weight: 200;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 4;
}

.hero-banner-carousel .banner-nav:hover {
    background: transparent !important;
    color: #fff;
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-50%);
    opacity: 0.88;
}

.hero-banner-carousel .banner-dots {
    bottom: 18px;
    z-index: 4;
}

.hero-banner-carousel .banner-dot {
    background: rgba(255, 255, 255, 0.6);
}

.hero-banner-carousel .banner-dot.active {
    background: #fff;
}

/* Hero banners must have no rounding on any side */
.hero-banner-carousel,
.hero-banner-carousel .banner-track,
.hero-banner-carousel .banner-slide,
.hero-banner-carousel .banner-slide img {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Per-slide banner text overlay */
.hero-banner-carousel .banner-slide {
    position: relative;
}

.hero-banner-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    padding: clamp(18px, 3vw, 54px);
}

.hero-banner-caption::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(38, 7, 20, 0.62) 0%, rgba(38, 7, 20, 0.32) 44%, rgba(38, 7, 20, 0.1) 100%);
    pointer-events: none;
}

.hero-banner-content {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    text-align: right;
    pointer-events: auto;
}

.hero-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.7vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
    font-weight: 600;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
    font-feature-settings: "kern" 1, "liga" 1;
}

.hero-banner-subtitle {
    font-family: var(--font-display);
    font-size: clamp(0.96rem, 1.24vw, 1.12rem);
    line-height: 1.38;
    letter-spacing: 0.03em;
    font-weight: 500;
    max-width: 460px;
    margin: 0 0 4px auto;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    font-feature-settings: "kern" 1, "liga" 1;
}

.hero-mobile-shop-wrap {
    display: none;
}

.hero-shop-mobile {
    width: 100%;
}

.section {
    padding: clamp(2rem, 5vw, 4.2rem) 0;
}

.section-banners {
    padding-top: var(--space-lg);
    padding-bottom: 0;
}

.section-featured-products {
    padding-top: var(--space-sm);
}

.section-header {
    margin-bottom: clamp(1.2rem, 4vw, 2.6rem);
}

.section-title {
    font-size: clamp(2rem, 4.4vw, 3rem);
    color: var(--color-gray-900);
}

.section-title::after {
    width: 86px;
    height: 4px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.section-title-left {
    display: block;
    text-align: left;
    margin-bottom: var(--space-xl);
}

.section-title-left::after {
    margin-left: 0;
    margin-right: auto;
}

.btn {
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    min-height: 44px;
    border: 1px solid transparent;
    padding: 0.78rem 1.3rem;
}

.btn::before {
    display: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 14px 24px rgba(85, 0, 12, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.76);
    color: var(--color-gray-800);
    border-color: rgba(146, 8, 55, 0.32);
}

.btn-secondary:hover {
    border-color: rgba(47, 109, 84, 0.62);
    color: #2f6d54;
    background: rgba(167, 241, 204, 0.34);
    box-shadow: 0 10px 16px rgba(146, 8, 55, 0.12);
}

.btn-outline {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

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

.card,
.checkout-section,
.cart-summary,
.track-form,
.share-box,
.order-number-box,
.promo-card,
.promotion-cover,
.admin-panel {
    background: var(--surface-1);
    border: 1px solid rgba(146, 8, 55, 0.16);
    box-shadow: var(--shadow-sm);
}

.card:hover,
.promo-card:hover {
    box-shadow: var(--shadow-md);
}

.card-price,
.order-item-price,
.order-total,
.stat-value {
    color: var(--color-primary);
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(16px, 2.2vw, 26px);
}

.product-badge {
    background: linear-gradient(135deg, #a7f1cc 0%, #88dbb3 100%);
    color: #2f6250;
}

.filters {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(146, 8, 55, 0.18);
    border-radius: var(--radius-lg);
}

.form-input,
.form-select,
.form-textarea {
    border: 1.5px solid rgba(146, 8, 55, 0.24);
    background: rgba(255, 255, 255, 0.96);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: rgba(146, 8, 55, 0.62);
    box-shadow: 0 0 0 4px rgba(146, 8, 55, 0.14);
}

.form-label {
    color: #463930;
    font-weight: 600;
}

.form-label-compact {
    margin-bottom: 8px;
}

.promo-input {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.inline-form {
    margin: 0;
}

.checkout-promo-section {
    max-width: 540px;
    margin-bottom: 20px;
}

.order-summary-title {
    margin-bottom: 20px;
}

.discount-row {
    color: var(--color-success);
}

.cart-sku {
    font-size: 0.8rem;
}

.preorder-badge {
    margin-left: 8px;
    vertical-align: middle;
}

.preorder-date-time {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-600);
}

.breadcrumb-nav {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

.product-sku {
    font-size: 0.9rem;
}

.product-description-rich {
    white-space: pre-line;
}

.preorder-qty {
    width: 84px;
}

.content-narrow {
    max-width: 600px;
    margin: 0 auto;
}

.auth-container {
    max-width: 460px;
    margin: 0 auto;
}

.auth-card {
    background: var(--surface-1);
    border: 1px solid rgba(146, 8, 55, 0.16);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: clamp(24px, 4vw, 42px);
}

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

.auth-header h1 {
    margin-bottom: var(--space-sm);
}

.auth-header p {
    color: var(--color-gray-600);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(146, 8, 55, 0.16);
}

.account-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: var(--space-2xl);
}

.account-sidebar {
    background: var(--surface-1);
    border: 1px solid rgba(146, 8, 55, 0.16);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
    height: fit-content;
}

.account-user {
    text-align: center;
    border-bottom: 1px solid rgba(146, 8, 55, 0.16);
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.account-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(146, 8, 55, 0.22), rgba(167, 241, 204, 0.55));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.account-name {
    font-weight: 700;
    font-size: 1.08rem;
}

.account-phone {
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 6px;
    padding: 11px 13px;
    border-radius: 12px;
    color: var(--color-gray-700);
    font-weight: 600;
    transition: var(--transition-fast);
}

.account-nav a:hover,
.account-nav a.active {
    background: rgba(167, 241, 204, 0.42);
    color: var(--color-primary-dark);
}

.account-nav a.logout:hover {
    background: rgba(186, 75, 83, 0.16);
    color: var(--color-error);
}

.account-main h1 {
    margin-bottom: var(--space-xl);
}

.account-section h2 {
    margin-bottom: var(--space-lg);
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(205, 188, 171, 0.7);
    text-align: center;
}

.stat-icon {
    font-size: 1.9rem;
    margin-bottom: 8px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.order-card {
    background: var(--surface-1);
    border: 1px solid rgba(146, 8, 55, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

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

.order-details {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    color: var(--color-gray-600);
}

.order-number,
.order-total {
    font-weight: 700;
}

.orders-table-wrap {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-1);
    border: 1px solid rgba(146, 8, 55, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.orders-table th,
.orders-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(146, 8, 55, 0.14);
}

.orders-table th {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-600);
    background: rgba(247, 238, 241, 0.95);
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.status-new {
    background: rgba(167, 241, 204, 0.38);
    color: #2f6d54;
}

.status-confirmed {
    background: rgba(146, 54, 55, 0.2);
    color: #74292a;
}

.status-preparing {
    background: rgba(146, 8, 55, 0.18);
    color: #7b0730;
}

.status-out_for_delivery,
.status-delivered {
    background: rgba(167, 241, 204, 0.3);
    color: #2f6d54;
}

.status-canceled,
.status-declined {
    background: rgba(85, 0, 12, 0.15);
    color: #5f0d1b;
}

.status-in_progress,
.status-proposal_sent,
.status-completed {
    background: rgba(28, 28, 28, 0.14);
    color: #111111;
}

.order-history-items-cell {
    background: var(--surface-0);
}

.order-history-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    background: #ffffff;
}

.order-history-item-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-history-item-image {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: cover;
    border: 1px solid rgba(17, 17, 17, 0.14);
}

.order-history-item-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-history-item-meta strong {
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-history-item-meta span {
    font-size: 0.78rem;
    color: var(--color-gray-600);
}

.banner-carousel {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(146, 8, 55, 0.16);
    box-shadow: var(--shadow-md);
}

.banner-content {
    background: linear-gradient(to top, rgba(44, 37, 31, 0.88) 0%, rgba(44, 37, 31, 0.12) 100%);
}

.banner-content h3 {
    color: #fffefc;
}

.category-card-image {
    border: 1px solid rgba(146, 8, 55, 0.16);
}

.footer {
    margin-top: clamp(2rem, 5vw, 5rem);
    padding: var(--space-2xl) 0;
    background:
        radial-gradient(circle at 18% 0%, rgba(167, 241, 204, 0.18), transparent 40%),
        radial-gradient(circle at 90% 12%, rgba(146, 54, 55, 0.2), transparent 34%),
        linear-gradient(150deg, #55000c 0%, #730727 44%, #923637 100%);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: var(--space-lg);
}

.footer-brand {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    color: #fff2f6;
}

.footer-links {
    gap: var(--space-md);
}

.footer-links a {
    color: rgba(255, 242, 246, 0.76);
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

.pwa-install-btn {
    display: none;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff3f7;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pwa-install-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 241, 246, 0.7);
}

.footer-credit {
    font-size: 0.8em;
    opacity: 0.78;
    margin-top: 5px;
    display: inline-block;
}

.chat-toggle {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 16px 34px rgba(85, 0, 12, 0.34);
}

.chat-send {
    background: var(--color-primary);
}

.chat-send:hover {
    background: var(--color-primary-dark);
}

.chat-window {
    border: 1px solid rgba(146, 8, 55, 0.16);
}

@media (max-width: 1100px) {
    .nav,
    .lang-switcher {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero {
        border-radius: 0;
        min-height: clamp(300px, 78vw, 460px);
        height: clamp(300px, 78vw, 460px);
    }

    .hero-static-copy {
        display: none;
    }

    .hero-banner-caption {
        align-items: flex-start;
        justify-content: flex-end;
        padding: 14px 12px;
    }

    .hero-banner-caption::before {
        background: linear-gradient(to top, rgba(38, 7, 20, 0.72) 0%, rgba(38, 7, 20, 0.4) 48%, rgba(38, 7, 20, 0.14) 100%);
    }

    .hero-banner-content {
        width: min(86%, 360px);
    }

    .hero-banner-title {
        font-size: clamp(1.12rem, 4.3vw, 1.58rem);
        line-height: 1.06;
        margin-bottom: 5px;
    }

    .hero-banner-subtitle {
        font-size: clamp(0.8rem, 3vw, 0.98rem);
        line-height: 1.34;
        letter-spacing: 0.025em;
        margin-bottom: 0;
    }

    .hero-mobile-shop-wrap {
        display: block;
        margin-top: 10px;
        margin-bottom: 4px;
    }

    .hero-shop-mobile {
        max-width: none;
    }

    .hero .btn {
        min-height: 40px;
        padding: 0.62rem 1rem;
    }

    .account-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ============================================
   Mobile Stability Patch
   ============================================ */
:root {
    --app-vh: 1vh;
    --app-vw: 1vw;
}

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

main,
section,
.container,
.checkout-grid > *,
.product-layout > *,
.account-layout > *,
.card,
.checkout-section,
.cart-summary,
.order-card,
.share-box,
.promo-card {
    min-width: 0;
}

p,
.card-text,
.chat-message,
.order-item-name,
.promo-code-pill,
.cart-item-name,
.section-title,
.order-number-value {
    overflow-wrap: anywhere;
}

body.chat-lock {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

body.chat-image-preview-open {
    overflow: hidden;
}

body.chat-assistant-open .chat-toggle {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.84);
}

.chat-window {
    right: 16px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: clamp(320px, 34vw, 400px);
    max-width: calc(100vw - 32px);
    height: clamp(440px, 62vh, 620px);
    max-height: calc(var(--app-vh, 1vh) * 100 - 120px);
    display: none;
    flex-direction: column;
}

.chat-window.open {
    display: flex;
}

.chat-header {
    flex-wrap: nowrap;
    min-height: 58px;
}

.chat-header-info {
    min-width: 0;
}

.chat-header-info h4,
.chat-header-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-header-close,
.chat-expand-btn {
    flex: 0 0 32px;
}

.chat-header-close {
    margin-right: 0;
}

.chat-window.expanded {
    width: min(860px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    height: min(78vh, calc(var(--app-vh, 1vh) * 100 - 94px));
    max-height: calc(var(--app-vh, 1vh) * 100 - 94px);
    bottom: 16px;
}

.chat-message-row {
    min-width: 0;
}

.chat-msg-content {
    min-width: 0;
    flex: 1;
}

.chat-message {
    max-width: min(100%, 72ch);
}

.chat-message-row > .chat-message {
    max-width: calc(100% - 50px);
}

.chat-msg-content > .chat-message {
    max-width: 100%;
}

.chat-products {
    width: 100%;
}

.chat-product-card {
    min-width: 0;
}

.chat-input-area {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.chat-action-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8px;
}

.chat-input {
    width: 100%;
    min-height: 42px;
    background: #fff;
    color: #000;
    font-size: 16px;
    line-height: 1.35;
}

.chat-input::placeholder {
    color: #6b7280;
    opacity: 1;
}

.chat-send {
    width: 100%;
    min-height: 44px;
    height: 44px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    font-size: 0.95rem;
    transform: none;
}

.chat-voice {
    width: 100%;
    height: 44px;
    min-width: 0;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: none;
    border-radius: 0;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
}

.chat-voice:hover {
    background: #000;
    color: #fff;
}

.chat-voice.recording,
.chat-voice.processing {
    background: #000;
    color: #fff;
}

.chat-voice.pressed {
    background: #000;
    color: #fff;
    transform: translateY(1px);
}

.chat-voice:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-voice-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
}

.chat-send:hover {
    transform: none;
}

.chat-send-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.chat-send-text {
    font-weight: 600;
    letter-spacing: 0.01em;
}

@media (max-width: 1024px) {
    .chat-window {
        right: 12px;
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        max-width: calc(100vw - 24px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .header-inner {
        min-height: 64px;
        gap: 8px;
    }

    .logo-img {
        height: 44px;
    }

    .header-actions {
        gap: 6px;
    }

    .account-btn,
    .cart-btn {
        height: 38px;
    }

    .account-btn {
        width: 38px;
    }

    .account-btn-icon {
        width: 16px;
        height: 16px;
    }

    .cart-btn {
        padding: 0 12px;
    }

    .mobile-menu {
        top: 64px;
        max-height: calc(var(--app-vh, 1vh) * 100 - 64px);
        overflow-y: auto;
    }

    .filters,
    .filter-group {
        flex-wrap: wrap;
    }

    .delivery-method-cards {
        grid-template-columns: 1fr;
    }

    .preorder-method-cards {
        flex-direction: column;
    }

    .product-add-form {
        flex-direction: column;
        align-items: stretch;
    }

    .qty-selector {
        align-self: flex-start;
    }

    .product-buttons {
        width: 100%;
    }

    .product-buttons .btn {
        width: 100%;
        min-width: 0;
    }

    .d-flex.justify-between {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .order-item {
        flex-wrap: wrap;
    }

    .order-item-price {
        width: 100%;
        text-align: right;
    }

    .chat-expand-btn {
        display: none;
    }

    .chat-window {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        max-width: 100vw;
        height: calc(var(--app-vh, 1vh) * 100);
        max-height: calc(var(--app-vh, 1vh) * 100);
        border-radius: 0;
        border: 0;
    }

    .chat-window.expanded {
        width: 100vw;
        max-width: 100vw;
        height: calc(var(--app-vh, 1vh) * 100);
        max-height: calc(var(--app-vh, 1vh) * 100);
        bottom: 0;
    }

    .chat-header {
        padding: var(--space-md) var(--space-lg);
        padding-top: max(var(--space-md), env(safe-area-inset-top));
    }

    .chat-messages {
        min-height: 0;
        padding: var(--space-md);
        overscroll-behavior: contain;
    }

    .chat-input-area {
        position: sticky;
        bottom: 0;
        background: var(--surface-1);
        padding: 10px var(--space-md);
        padding-bottom: calc(max(12px, env(safe-area-inset-bottom, 0px)) + 10px);
    }

    .chat-action-row {
        gap: 8px;
    }

    .chat-voice {
        width: 100%;
        min-width: 0;
        height: 44px;
    }

    .chat-send {
        margin-bottom: 2px;
    }

    .chat-toggle {
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        width: 62px;
        height: 62px;
        font-size: 24px;
    }

    .chat-toggle-icon {
        width: 30px;
        height: 30px;
    }

    .chat-toggle-icon-close {
        width: 21px;
        height: 21px;
    }

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

/* ============================================
   About Contacts + Map
   ============================================ */
.about-connect {
    padding: clamp(8px, 2.2vw, 24px) 0 clamp(26px, 4.6vw, 52px);
}

.about-connect-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(14px, 2.4vw, 24px);
}

.about-connect-card {
    border-radius: 16px;
    border: 1px solid rgba(146, 8, 55, 0.18);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(85, 0, 12, 0.08);
    padding: clamp(16px, 2.5vw, 24px);
}

.about-connect-card h2,
.about-connect-card h3 {
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.about-connect-subtitle {
    color: var(--color-gray-700);
    margin-bottom: 14px;
    line-height: 1.6;
}

.contact-channel-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.contact-channel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(146, 8, 55, 0.14);
    background: rgba(255, 255, 255, 0.8);
}

.contact-channel-item.is-empty {
    opacity: 0.78;
}

.contact-channel-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 9px;
    border: 1px solid rgba(85, 0, 12, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    background: rgba(255, 255, 255, 0.94);
}

.contact-channel-icon-svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-channel-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-channel-label {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-600);
    font-weight: 700;
}

.contact-channel-value {
    color: var(--color-gray-800);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

a.contact-channel-value:hover {
    color: var(--color-primary-dark);
}

.about-address-line {
    color: var(--color-gray-700);
    margin-bottom: 10px;
    line-height: 1.6;
}

.about-address-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(85, 0, 12, 0.28);
    text-underline-offset: 2px;
}

.about-address-link:hover {
    color: var(--color-primary-dark);
    text-decoration-color: rgba(85, 0, 12, 0.46);
}

.about-map-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-600);
    margin-bottom: 8px;
    font-weight: 700;
}

.about-map-frame-wrap {
    width: 100%;
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(146, 8, 55, 0.16);
    overflow: hidden;
    background: #fff;
}

.about-map-frame-wrap iframe {
    width: 100%;
    height: clamp(210px, 34vw, 290px);
    border: 0;
    display: block;
}

.about-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    cursor: pointer;
    background: transparent;
}

.about-map-open {
    display: inline-flex;
    margin-top: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: 0.02em;
}

.about-map-placeholder {
    margin-top: 2px;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

/* ============================================
   Footer Contacts
   ============================================ */
.footer-contact-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 246, 250, 0.9);
    font-size: 0.82rem;
    line-height: 1.35;
    text-decoration: none;
}

.footer-contact-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.14);
}

.footer-contact-link.is-empty {
    opacity: 0.72;
    pointer-events: none;
}

.footer-contact-link-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    flex: 0 0 18px;
}

.footer-contact-link-icon .contact-channel-icon-svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.75;
}

.footer-contact-link-value {
    display: inline-block;
    overflow-wrap: anywhere;
}

.footer-location-row {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    color: rgba(255, 241, 246, 0.82);
    font-size: 0.86rem;
}

.footer-location-label {
    font-weight: 700;
    color: rgba(255, 247, 250, 0.93);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.74rem;
}

.footer-location-link {
    color: rgba(255, 241, 246, 0.95);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.36);
    text-underline-offset: 2px;
}

.footer-location-link:hover {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.62);
}

.footer-map-link {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.44);
    text-underline-offset: 2px;
}

@media (max-width: 980px) {
    .about-connect-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .footer-contact-links {
        justify-content: center;
    }

    .footer-location-row {
        justify-content: center;
        text-align: center;
    }
}

/* ============================================
   Admin Sales Workspace
   ============================================ */
.sales-panel {
    padding: 18px;
}

.sales-summary-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.sales-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #e7d8df;
    border-radius: 999px;
    font-size: 12px;
    color: #4d3c44;
    background: #fff;
}

.sales-chip strong {
    color: #2a1d24;
}

.sales-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.sales-filters {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sales-filters .form-select,
.sales-filters .form-input {
    width: auto;
    min-width: 140px;
}

.sales-view-tabs {
    display: inline-flex;
    border: 1px solid #e5d1db;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.sales-view-tab {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #5b4952;
    text-decoration: none;
    border-right: 1px solid #ebdbe3;
}

.sales-view-tab:last-child {
    border-right: 0;
}

.sales-view-tab.active {
    background: #920837;
    color: #fff;
}

.sales-view-tab:hover {
    color: #920837;
}

.sales-view-tab.active:hover {
    color: #fff;
}

.sales-board {
    display: grid;
    grid-template-columns: repeat(6, minmax(260px, 1fr));
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.sales-column {
    border: 1px solid #ead9e2;
    border-radius: 14px;
    background: #fff;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.sales-column-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 12px 10px;
    border-bottom: 1px solid #efe4e8;
}

.sales-column-head h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #271a22;
}

.sales-column-head p {
    margin: 3px 0 0;
    font-size: 11px;
    color: #7e6f78;
}

.sales-column-count {
    min-width: 26px;
    height: 24px;
    border-radius: 999px;
    background: #f4e9ee;
    color: #7a4c61;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    padding: 0 7px;
}

.sales-column-body {
    padding: 10px;
    display: grid;
    gap: 10px;
}

.sales-column-empty {
    border: 1px dashed #e4ccd8;
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    color: #8a7780;
    text-align: center;
    background: #fff;
}

.sales-card {
    border: 1px solid #ead9e2;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(32, 17, 24, 0.04);
    display: grid;
    gap: 8px;
}

.sales-card.is-preorder {
    border-color: #d9bed0;
    background: #fff9fc;
}

.sales-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.sales-card-order {
    display: grid;
    gap: 2px;
}

.sales-card-order strong {
    font-size: 13px;
    line-height: 1.2;
    color: #23161f;
}

.sales-card-order span {
    font-size: 11px;
    color: #7b6c74;
}

.sales-preorder-line {
    font-size: 11px;
    color: #7e3256;
    font-weight: 600;
}

.sales-card-customer {
    display: grid;
    gap: 2px;
}

.sales-card-customer strong {
    font-size: 13px;
    color: #2b1e26;
}

.sales-card-customer a {
    font-size: 12px;
    color: #5a4550;
    text-decoration: none;
}

.sales-card-customer a:hover {
    color: #920837;
}

.sales-card-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a7982;
    margin-bottom: 3px;
    font-weight: 700;
}

.sales-card-destination,
.sales-card-items {
    font-size: 12px;
    color: #53434b;
}

.sales-card-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sales-card-payment strong {
    font-size: 14px;
    color: #251821;
}

.sales-card-note {
    border: 1px dashed #e6d2dc;
    border-radius: 8px;
    padding: 7px 8px;
    font-size: 11px;
    color: #63525b;
    line-height: 1.35;
}

.sales-card-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.sales-inline-form {
    display: inline-flex;
}

.sales-card-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sales-status-btn {
    border: 1px solid #ddc5d2;
    border-radius: 999px;
    background: #fff;
    color: #5c4a53;
    font-size: 11px;
    padding: 5px 9px;
    cursor: pointer;
}

.sales-status-btn:hover {
    border-color: #920837;
    color: #920837;
}

.sales-records-wrap {
    overflow: auto;
    border: 1px solid #ead8de;
    border-radius: 12px;
}

.sales-records-table {
    min-width: 1300px;
}

.sales-calendar-wrap {
    border: 1px solid #ead8de;
    border-radius: 14px;
    background: #fff;
    padding: 12px;
}

.sales-calendar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.sales-calendar-nav {
    width: 32px;
    height: 32px;
    border: 1px solid #e4ced9;
    border-radius: 50%;
    color: #5a4952;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.sales-calendar-nav:hover {
    border-color: #920837;
    color: #920837;
}

.sales-calendar-title {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.sales-calendar-title strong {
    font-size: 16px;
    color: #241820;
}

.sales-calendar-title span {
    font-size: 12px;
    color: #7a6b73;
}

.sales-calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 14px;
}

.sales-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.sales-calendar-weekday {
    font-size: 11px;
    color: #7c6b74;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 4px 2px;
    font-weight: 700;
}

.sales-calendar-cell {
    min-height: 88px;
    border: 1px solid #ecdbe3;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    text-align: left;
}

.sales-calendar-cell.is-empty {
    border-style: dashed;
    background: #fbf8fa;
}

.sales-calendar-date-btn {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.sales-calendar-date-btn.has-events {
    border-color: #d9bccb;
}

.sales-calendar-date-btn.is-selected {
    border-color: #920837;
    box-shadow: 0 0 0 2px rgba(146, 8, 55, 0.12);
    background: #fff7fb;
}

.sales-calendar-day-number {
    font-size: 13px;
    font-weight: 700;
    color: #251821;
}

.sales-calendar-dotline {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sales-calendar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.sales-calendar-dot.type-preorder {
    background: #920837;
}

.sales-calendar-dot.type-booking {
    background: #306b55;
}

.sales-calendar-dot.type-order {
    background: #6d7280;
}

.sales-calendar-count {
    font-size: 11px;
    font-weight: 700;
    color: #7e3256;
}

.sales-calendar-side {
    border: 1px solid #ead8de;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
    min-height: 460px;
}

.sales-calendar-side-head {
    display: grid;
    gap: 4px;
}

.sales-calendar-side-head h4 {
    margin: 0;
    font-size: 16px;
    color: #23161f;
    line-height: 1.25;
}

.sales-calendar-side-head span {
    font-size: 12px;
    color: #7a6972;
}

.sales-calendar-list {
    display: grid;
    gap: 9px;
    overflow: auto;
    max-height: 520px;
    padding-right: 2px;
}

.sales-calendar-empty {
    border: 1px dashed #e2ccd6;
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    color: #7e6f77;
    text-align: center;
}

.sales-calendar-event-card {
    border: 1px solid #e8d8e0;
    border-radius: 10px;
    padding: 9px;
    display: grid;
    gap: 8px;
}

.sales-calendar-event-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.sales-calendar-event-top strong {
    font-size: 13px;
    color: #241821;
}

.sales-calendar-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 7px;
    border-radius: 999px;
}

.sales-calendar-type.type-preorder {
    color: #920837;
    background: rgba(146, 8, 55, 0.12);
}

.sales-calendar-type.type-booking {
    color: #2f6f57;
    background: rgba(47, 111, 87, 0.13);
}

.sales-calendar-type.type-order {
    color: #4d5666;
    background: rgba(77, 86, 102, 0.12);
}

.sales-calendar-event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #70606a;
}

.sales-calendar-event-customer {
    display: grid;
    gap: 2px;
    font-size: 12px;
}

.sales-calendar-event-customer strong {
    color: #2a1e26;
}

.sales-calendar-event-customer a {
    color: #594750;
    text-decoration: none;
}

.sales-calendar-event-customer a:hover {
    color: #920837;
}

.sales-calendar-event-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #43343c;
}

@media (max-width: 1400px) {
    .sales-board {
        grid-template-columns: repeat(4, minmax(250px, 1fr));
    }
}

@media (max-width: 1180px) {
    .sales-calendar-layout {
        grid-template-columns: 1fr;
    }

    .sales-calendar-side {
        min-height: 0;
    }
}

@media (max-width: 940px) {
    .sales-summary-chips {
        justify-content: flex-start;
    }

    .sales-board {
        grid-template-columns: repeat(3, minmax(240px, 1fr));
    }
}

@media (max-width: 720px) {
    .sales-panel {
        padding: 14px;
    }

    .sales-filters {
        width: 100%;
    }

    .sales-filters .form-select,
    .sales-filters .form-input {
        min-width: 0;
        width: 100%;
    }

    .sales-view-tabs {
        width: 100%;
    }

    .sales-view-tab {
        flex: 1 1 auto;
        text-align: center;
    }

    .sales-board {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        overflow: visible;
    }

    .sales-calendar-grid {
        gap: 6px;
    }

    .sales-calendar-cell {
        min-height: 72px;
        padding: 6px;
    }

    .sales-calendar-head {
        flex-wrap: wrap;
    }
}

/* ============================================
   Hardcoded Monochrome Theme (Locked)
   ============================================ */
:root {
    --color-primary: #111111;
    --color-primary-dark: #000000;
    --color-primary-light: #ffffff;
    --color-secondary: #111111;
    --color-accent: #000000;
    --color-success: #111111;
    --color-warning: #222222;
    --color-error: #111111;
    --color-info: #111111;

    --color-gray-50: #ffffff;
    --color-gray-100: #f7f7f7;
    --color-gray-200: #eeeeee;
    --color-gray-300: #d9d9d9;
    --color-gray-400: #b8b8b8;
    --color-gray-500: #8f8f8f;
    --color-gray-600: #666666;
    --color-gray-700: #444444;
    --color-gray-800: #222222;
    --color-gray-900: #111111;

    --surface-0: rgba(255, 255, 255, 0.98);
    --surface-1: #f6f6f6;
    --surface-2: #efefef;
    --border-soft: rgba(0, 0, 0, 0.12);
    --border-strong: rgba(0, 0, 0, 0.24);
    --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 14px 28px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 36px rgba(0, 0, 0, 0.11);
    --shadow-xl: 0 28px 52px rgba(0, 0, 0, 0.14);
}

body {
    background: #ffffff !important;
    color: #111111 !important;
}

body::before {
    opacity: 0.03 !important;
    filter: grayscale(1) contrast(0.85);
    mix-blend-mode: normal !important;
}

body::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%) !important;
}

.header {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06) !important;
}

.logo-img {
    height: 44px !important;
    width: auto;
    filter: grayscale(1) contrast(1.04) !important;
}

.card,
.checkout-section,
.cart-summary,
.track-form,
.share-box,
.order-number-box,
.promo-card,
.promotion-cover,
.chat-window,
.chat-message,
.chat-product-card {
    background: #f6f6f6 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: var(--shadow-sm) !important;
}

.btn,
a.btn,
button.btn,
.cart-btn,
.hero-shop-btn,
.chat-send-btn,
.chat-toggle,
.account-btn,
.lang-btn,
.mobile-menu-btn,
.banner-nav-btn,
.qty-btn {
    border-radius: 0 !important;
}

.btn,
a.btn,
button.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.cart-btn,
.hero-shop-btn,
.chat-send-btn,
.chat-toggle,
.account-btn,
.mobile-menu-btn,
.qty-btn {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
    box-shadow: none !important;
}

.btn:hover,
a.btn:hover,
button.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.cart-btn:hover,
.hero-shop-btn:hover,
.chat-send-btn:hover,
.chat-toggle:hover,
.account-btn:hover,
.mobile-menu-btn:hover,
.qty-btn:hover {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border-color: #1a1a1a !important;
    transform: none !important;
}

.lang-btn {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #000000 !important;
}

.lang-btn:hover,
.lang-btn.active {
    background: #000000 !important;
    color: #ffffff !important;
}

.banner-nav-btn {
    background: transparent !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
}

.banner-nav-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* ============================================
   Monochrome Refinements (Header/Footer/Buttons)
   ============================================ */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn,
a.btn,
[class*="btn"] {
    border-radius: 0 !important;
}

.logo-img {
    height: 40px !important;
    max-width: min(250px, 44vw);
    filter: none !important;
}

.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.footer-brand,
.footer-copy,
.footer-credit,
.footer-location-row,
.footer-location-label,
.footer-location-link,
.footer-map-link,
.footer-links a {
    color: #111111 !important;
}

.footer-copy {
    border-top: 1px solid rgba(0, 0, 0, 0.16) !important;
}

.footer-links a:hover,
.footer-location-link:hover,
.footer-map-link:hover {
    color: #000000 !important;
}

.footer-contact-link {
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.32) !important;
    color: #111111 !important;
    border-radius: 0 !important;
}

.footer-contact-link:hover {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.footer-contact-link.is-empty {
    opacity: 0.58;
}

.pwa-install-btn {
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.32) !important;
    color: #111111 !important;
}

.pwa-install-btn:hover {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.header .lang-switcher {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.header .lang-btn,
.header .account-btn,
.header .cart-btn,
.header .mobile-menu-btn {
    background: transparent !important;
    color: #111111 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.header .lang-btn:hover,
.header .lang-btn.active,
.header .account-btn:hover,
.header .cart-btn:hover,
.header .mobile-menu-btn:hover {
    background: transparent !important;
    color: #000000 !important;
    border: 0 !important;
}

.header .account-btn,
.header .cart-btn {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.header .cart-btn {
    gap: 6px !important;
}

.header .cart-count {
    background: transparent !important;
    color: #111111 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

.header .account-btn-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor !important;
}

.header .mobile-menu-btn span {
    background: #111111 !important;
}

/* ============================================
   Absolute Monochrome Lock
   ============================================ */
html body *,
html body *::before,
html body *::after {
    border-radius: 0 !important;
}

.header .nav-link,
.header .lang-btn,
.header .account-btn,
.header .cart-btn,
.header .mobile-menu-btn,
.header .mobile-nav a,
.header .mobile-lang a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #111111 !important;
}

.header .nav-link:hover,
.header .nav-link.active,
.header .lang-btn:hover,
.header .lang-btn.active,
.header .account-btn:hover,
.header .cart-btn:hover,
.header .mobile-menu-btn:hover,
.header .mobile-nav a:hover,
.header .mobile-lang a:hover {
    background: transparent !important;
    color: #000000 !important;
    border: 0 !important;
}

.header .nav-link::after {
    background: #111111 !important;
}

.header .cart-count {
    background: transparent !important;
    color: #111111 !important;
    border: 0 !important;
}

.footer,
.footer * {
    background-image: none !important;
}

.footer {
    background: #ffffff !important;
    border-top: 1px solid #111111 !important;
}

.status-new,
.status-confirmed,
.status-preparing,
.status-out_for_delivery,
.status-delivered,
.status-canceled,
.status-declined,
.badge,
.badge-primary,
.badge-success,
.badge-warning,
.badge-danger,
.badge-info,
.badge-secondary,
.badge-light,
.preorder-badge,
.promo-chip,
.promo-code-pill,
.promo-hint-badge,
.sales-chip,
.sales-status-btn,
.sales-calendar-day-count,
.sales-calendar-type,
.sales-calendar-type.type-preorder,
.sales-calendar-type.type-booking,
.sales-calendar-type.type-order {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #111111 !important;
    box-shadow: none !important;
}

.sales-status-btn.active,
.sales-calendar-day.is-selected {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.sales-calendar-wrap,
.sales-calendar-cell,
.sales-calendar-side,
.sales-order-card,
.sales-order-modal,
.sales-modal-panel,
.sales-panel,
.sales-column,
.sales-column-body {
    background: #ffffff !important;
    border-color: #111111 !important;
    box-shadow: none !important;
}

.product-buttons {
    gap: 8px !important;
}

.product-buttons .btn {
    min-height: 34px !important;
    padding: 0.38rem 0.72rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    background: transparent !important;
    color: #111111 !important;
    border: 1px solid #111111 !important;
    box-shadow: none !important;
}

.product-buttons .btn:hover {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

/* ============================================
   Final White Background + Neutral Product Cards
   ============================================ */
html,
body {
    background: #ffffff !important;
}

main,
.main {
    background: transparent !important;
}

body::before,
body::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
    opacity: 0 !important;
}

.product-card,
.product-card.card {
    background: #fcfcfc !important;
    border: 1px solid rgba(17, 17, 17, 0.14) !important;
    box-shadow: none !important;
}

/* Future/booking indicators: force black text, no green */
.sales-calendar-type.type-booking,
.sales-calendar-type.type-preorder,
.sales-calendar-type.type-order,
.sales-calendar-type[class*="future"],
.sales-calendar-type[class*="booking"],
.sales-calendar-dot.type-booking,
.sales-calendar-dot.type-preorder,
.sales-calendar-dot.type-order,
.sales-calendar-dot[class*="future"],
.sales-calendar-dot[class*="booking"] {
    color: #111111 !important;
    background: #ffffff !important;
    border-color: #111111 !important;
}

/* Final monochrome enforcement for remaining markers/icons */
.product-badge,
.product-badge *,
[class~="featured"],
[class*="featured-badge"],
[class*="featured-tag"],
[class*="featured-label"],
[class*="feature-badge"],
[class*="feature-tag"],
.promo-status,
.promo-status.active,
.promo-status.planned,
.promo-status.ended,
.delivery-method-card.selected,
.delivery-method-card.selected .icon,
.delivery-method-card.selected .label,
.status-step::before,
.status-step.completed::before,
.status-step.current::before,
.status-timeline::before,
.sales-calendar-dot,
.sales-calendar-dot.type-preorder,
.sales-calendar-dot.type-booking,
.sales-calendar-dot.type-order,
.sale-calendar-dot,
.sale-calendar-dot.type-preorder,
.sale-calendar-dot.type-booking,
.sale-calendar-dot.type-order {
    background: #ffffff !important;
    background-image: none !important;
    color: #111111 !important;
    border-color: #111111 !important;
    box-shadow: none !important;
    filter: none !important;
    fill: #111111 !important;
    stroke: #111111 !important;
}

.delivery-method-card.selected,
.status-step.completed::before,
.status-step.current::before {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Monochrome custom dropdowns (replace native browser look) */
select,
select.form-select,
.form-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 0 !important;
    border: 1px solid #111111 !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
    padding-right: 2.4rem !important;
    background-image:
        linear-gradient(45deg, transparent 50%, #111111 50%),
        linear-gradient(135deg, #111111 50%, transparent 50%) !important;
    background-position:
        calc(100% - 16px) calc(50% - 3px),
        calc(100% - 10px) calc(50% - 3px) !important;
    background-size: 6px 6px, 6px 6px !important;
    background-repeat: no-repeat !important;
}

select::-ms-expand {
    display: none;
}

select:focus,
select.form-select:focus,
.form-select:focus {
    outline: none !important;
    border-color: #000000 !important;
    box-shadow: inset 0 0 0 1px #000000 !important;
}

select option {
    background: #ffffff;
    color: #111111;
}

/* Final chat legibility locks */
#chatInput,
.chat-input {
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

#chatInput::placeholder,
.chat-input::placeholder {
    color: #6b7280 !important;
    opacity: 1 !important;
}

.chat-message.user {
    background: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #111111 !important;
}

.chat-message.bot {
    background: #f6f6f6 !important;
    color: #111111 !important;
    border: 1px solid rgba(17, 17, 17, 0.14) !important;
}

select:disabled,
select.form-select:disabled,
.form-select:disabled {
    background-color: #f1f1f1 !important;
    color: #666666 !important;
    border-color: #999999 !important;
    cursor: not-allowed;
}

/* Chat composer: WhatsApp-like controls */
.chat-window .chat-input-area {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px !important;
    align-items: end !important;
    gap: 10px !important;
    border-top: 1px solid rgba(17, 17, 17, 0.12) !important;
    background: #f7f8fa !important;
    padding: 10px 12px calc(max(12px, env(safe-area-inset-bottom, 0px)) + 10px) !important;
}

.chat-window .chat-input {
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    border-radius: 23px !important;
    border: 1px solid rgba(17, 17, 17, 0.2) !important;
    padding: 0 16px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
}

.chat-window .chat-action-row {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    position: relative !important;
    display: block !important;
}

.chat-window .chat-send,
.chat-window .chat-voice {
    position: absolute !important;
    inset: 0 !important;
    display: none !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 999px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #111111 !important;
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.22) !important;
    transform: none !important;
}

.chat-window .chat-send.is-active,
.chat-window .chat-voice.is-active {
    display: inline-flex !important;
}

.chat-window .chat-send:hover,
.chat-window .chat-voice:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.chat-window .chat-send:disabled,
.chat-window .chat-voice:disabled {
    opacity: 0.62 !important;
    cursor: not-allowed !important;
}

.chat-window .chat-voice.recording {
    background: #111111 !important;
    border-color: #111111 !important;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.24) !important;
}

.chat-window .chat-voice.processing {
    background: #111111 !important;
    border-color: #111111 !important;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.2) !important;
}

.chat-window .chat-voice.pressed {
    transform: scale(0.95) !important;
}

.chat-window .chat-action-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
}

.chat-window .chat-action-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chat-window .chat-voice-icon-loader {
    display: none !important;
}

.chat-window .chat-voice.processing .chat-voice-icon-loader {
    display: inline-flex !important;
}

.chat-window .chat-voice.processing .chat-voice-icon-mic {
    display: none !important;
}

.chat-window .chat-voice.processing .chat-voice-icon-loader svg {
    animation: chat-whatsapp-spin 0.9s linear infinite;
}

.chat-window .chat-voice.recording .chat-voice-icon-mic {
    animation: chat-voice-pulse 0.95s ease-in-out infinite;
}

@keyframes chat-whatsapp-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .chat-window input,
    .chat-window textarea,
    .chat-window select {
        font-size: 16px !important;
    }

    .chat-window .chat-input-area {
        grid-template-columns: minmax(0, 1fr) 44px !important;
        gap: 8px !important;
        padding: 10px 10px calc(max(12px, env(safe-area-inset-bottom, 0px)) + 12px) !important;
    }

    .chat-window .chat-input {
        min-height: 44px !important;
        height: 44px !important;
        border-radius: 22px !important;
    }

    .chat-window .chat-action-row,
    .chat-window .chat-send,
    .chat-window .chat-voice {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
    }
}

/* ============================================
   Custom Bouquet Category + Page
   ============================================ */
.category-card-image-custom-entry {
    border: 1px solid #111111 !important;
}

.category-card-image-custom-entry::before {
    content: '+';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.85);
    z-index: 3;
}

.custom-bouquet-layout {
    display: grid;
    gap: 14px;
}

.custom-bouquet-builder-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.48fr) minmax(0, 0.52fr);
    align-items: stretch;
    overflow: hidden;
}

.custom-bouquet-image-wrap {
    min-height: 100%;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-bouquet-image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.custom-bouquet-body {
    padding: 18px;
}

.custom-bouquet-form-wrap {
    display: block;
}

.custom-bouquet-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.custom-bouquet-title {
    margin-bottom: 8px;
}

.custom-bouquet-subtitle {
    margin: 0;
    color: #4d4d4d;
    line-height: 1.55;
}

.custom-bouquet-back {
    white-space: nowrap;
}

.custom-bouquet-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.custom-bouquet-field {
    margin-bottom: 0;
}

.custom-bouquet-select,
.custom-bouquet-own-input,
.custom-bouquet-note {
    border: 1px solid #111111 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #111111 !important;
}

.custom-bouquet-select {
    -webkit-appearance: none;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #111111 50%),
        linear-gradient(135deg, #111111 50%, transparent 50%);
    background-position:
        calc(100% - 16px) calc(50% - 3px),
        calc(100% - 10px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 32px;
}

.custom-bouquet-own-input {
    margin-top: 8px;
}

.custom-bouquet-note-group {
    margin-top: 10px;
}

.custom-bouquet-note {
    resize: vertical;
    min-height: 88px;
}

.custom-bouquet-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.custom-bouquet-status {
    min-height: 22px;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #242424;
}

.custom-bouquet-builder-card.is-result .custom-bouquet-form-wrap {
    display: none;
}

.custom-bouquet-result-panel {
    border: 1px solid #111111;
    background: #ffffff;
    border-radius: 0;
    padding: 12px;
}

.custom-bouquet-flow-state {
    border: 1px solid #111111;
    background: #ffffff;
    border-radius: 0;
    padding: 18px 14px;
    text-align: center;
}

.custom-bouquet-flow-state p {
    margin: 0 0 12px;
    color: #111111;
    line-height: 1.5;
}

.custom-bouquet-result-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.custom-bouquet-result-topbar h2 {
    margin: 0;
}

.custom-bouquet-result-summary {
    margin: 0 0 10px;
    color: #2e2e2e;
    line-height: 1.55;
}

.custom-bouquet-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.custom-bouquet-result-meta span {
    border: 1px solid rgba(17, 17, 17, 0.26);
    padding: 5px 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.custom-bouquet-result-subtitle {
    font-size: 1rem;
    margin: 0 0 8px;
}

.custom-bouquet-result-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

.custom-bouquet-result-list li strong {
    display: block;
    color: #101010;
    font-size: 0.95rem;
}

.custom-bouquet-result-list li span {
    display: block;
    color: #4a4a4a;
    font-size: 0.84rem;
    line-height: 1.45;
}

.custom-bouquet-result-line-calc {
    font-size: 0.8rem !important;
    color: #111111 !important;
    font-weight: 600;
}

.custom-bouquet-request-box {
    margin-top: 12px;
    border: 1px solid rgba(17, 17, 17, 0.2);
    padding: 10px;
    background: #ffffff;
}

.custom-bouquet-request-box h3 {
    margin-bottom: 8px;
    font-size: 0.96rem;
}

.custom-bouquet-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.custom-bouquet-request-grid div {
    border: 1px solid rgba(17, 17, 17, 0.14);
    padding: 7px 8px;
    background: #fafafa;
}

.custom-bouquet-request-grid span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555555;
    margin-bottom: 4px;
}

.custom-bouquet-request-grid strong {
    display: block;
    font-size: 0.9rem;
    color: #101010;
}

.custom-bouquet-request-comment {
    margin-top: 8px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    background: #fafafa;
    padding: 8px;
}

.custom-bouquet-request-comment span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555555;
    margin-bottom: 5px;
}

.custom-bouquet-request-comment p {
    margin: 0;
    color: #222222;
    line-height: 1.5;
}

.custom-bouquet-checkout-box {
    margin-top: 10px;
    border: 1px solid rgba(17, 17, 17, 0.2);
    background: #ffffff;
    padding: 10px;
}

.custom-bouquet-checkout-box h4 {
    margin: 0 0 8px;
    font-size: 0.96rem;
}

.custom-bouquet-checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.custom-bouquet-checkout-fields .form-group:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.custom-bouquet-checkout-summary {
    margin-top: 10px;
    border: 1px solid rgba(17, 17, 17, 0.16);
    background: #fafafa;
    padding: 8px;
    display: grid;
    gap: 6px;
}

.custom-bouquet-checkout-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.custom-bouquet-checkout-summary span {
    font-size: 0.82rem;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.custom-bouquet-checkout-summary strong {
    color: #111111;
    font-size: 0.92rem;
}

.custom-bouquet-order-actions {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.custom-bouquet-method-cards .delivery-method-card {
    border: 1px solid #111111;
}

.custom-bouquet-method-cards .delivery-method-card.selected {
    background: #111111;
    color: #ffffff;
}

.custom-bouquet-result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 900px) {
    .custom-bouquet-builder-card {
        grid-template-columns: 1fr;
    }

    .custom-bouquet-image-wrap {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        max-height: 300px;
    }

    .custom-bouquet-result-panel {
        padding: 12px;
    }
}

@media (max-width: 680px) {
    .custom-bouquet-fields {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .custom-bouquet-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-bouquet-back {
        width: 100%;
    }

    .custom-bouquet-actions {
        grid-template-columns: 1fr;
    }

    .custom-bouquet-request-grid {
        grid-template-columns: 1fr;
    }

    .custom-bouquet-checkout-fields {
        grid-template-columns: 1fr;
    }

    .custom-bouquet-result-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .custom-bouquet-result-actions {
        grid-template-columns: 1fr;
    }

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