/* Alpine Connexion — Styles
   Extracted from index.html. UI: dark theme, mobile-first. */

:root {
    --bg-primary: #050510;
    --bg-elevated: #0e0e1b;
    --bg-card: rgba(18, 18, 36, 0.96);
    --bg-modal: rgba(8, 8, 20, 0.96);
    --gold: #e8c674;
    --gold-light: #fde7a4;
    --gold-dim: rgba(232, 198, 116, 0.14);
    --gold-border: rgba(232, 198, 116, 0.35);
    --accent: #8b5cf6;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --danger: #f97373;
    --success: #4ade80;
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
    --shadow-gold: 0 10px 40px rgba(232, 198, 116, 0.24);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    min-height: 100vh;
    padding-bottom: 100px;
    -webkit-font-smoothing: antialiased;
    background: #000000;
}

#app {
    max-width: 640px;
    margin: 0 auto;
    padding-bottom: 72px;
}

.view-panel.hidden {
    display: none !important;
}

/* === BOTTOM NAV === */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    background: var(--bg-elevated);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
    padding: 0.5rem 0;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}
.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--gold);
}
.bottom-nav-icon {
    font-size: 1.25rem;
}

/* === REVIEWS PAGE === */
.reviews-page {
    padding: 1rem 1.25rem 1.5rem;
}
.reviews-page-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}
.reviews-page-intro {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.review-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 1rem;
}
.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.review-card-name {
    font-weight: 600;
    color: var(--text-primary);
}
.review-card-stars {
    color: var(--gold);
    font-size: 0.9rem;
}
.review-card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}
.review-card-date {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
.review-card-media-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.review-card-media {
    max-width: 120px;
    max-height: 120px;
    object-fit: cover;
    border-radius: 8px;
}
.review-card-video {
    max-width: 200px;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
}
.reviews-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem 1rem;
}
.review-media-upload {
    margin: 0.75rem 0;
}
.review-media-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}
.review-media-input {
    font-size: 0.9rem;
    max-width: 100%;
}
.review-media-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.review-preview-item {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--surface);
}
.review-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-form-wrap {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.review-form-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.review-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 0.75rem;
}
.review-input::placeholder {
    color: var(--text-muted);
}
.review-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.review-stars {
    display: flex;
    gap: 0.25rem;
}
.review-stars .star {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.review-stars .star:hover,
.review-stars .star.active {
    color: var(--gold);
}
.btn-submit-review {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--gold);
    color: #000;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-submit-review:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.review-form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* === BANNER === */
.banner {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 120;
    background: #000000;
    color: #ffffff;
    padding: 1rem 1.25rem 1.25rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-logo-img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    object-position: center;
}

/* === FILTER === */
.filter-bar {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 110;
    background: #000000;
    align-items: center;
}

.filter-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.points-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    color: #e8c674;
    cursor: pointer;
    white-space: nowrap;
}

.points-badge:hover {
    background: rgba(212, 175, 55, 0.25);
}

.points-badge-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.points-bar-mini {
    width: 48px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
}
.points-bar-mini-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.lang-select {
    font-family: var(--font-body);
    padding: 0.55rem 0.8rem;
    background-color: #1a1a1a;
    color: var(--text-primary);
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    outline: none;
}

.filter-select {
    flex: 1;
    font-family: var(--font-body);
    padding: 0.7rem 2.1rem 0.7rem 0.9rem;
    background-color: #1a1a1a;
    color: var(--text-primary);
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e8c674' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
    background-color: #222;
}

.filter-select option {
    background: #1a1a1a;
    color: var(--text-primary);
}

/* === PRODUCT GRID === */
.products-wrap {
    padding: 1rem;
    max-width: 640px;
    margin: 0 auto;
}

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

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* === PRODUCT CARD === */
.product-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 0.8rem;
    border: 1px solid #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease-out;
    display: flex;
    flex-direction: column;
}

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

.product-card:active {
    transform: scale(0.97);
}

.product-media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #111;
}

.product-media-wrap img,
.product-media-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1a1a1a, #222);
}

.product-card-body {
    padding: 0.6rem 0.75rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-desc {
    font-size: 0.74rem;
    color: #999999;
    margin-top: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-card-price {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #667eea;
}

.price-from {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* === EMPTY STATE === */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 0.75rem; }

/* === PRODUCT MODAL === */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    animation: fadeIn 0.2s;
}
.modal-overlay.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-modal);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: var(--shadow-soft);
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.modal-handle {
    width: 36px;
    height: 4px;
    background: rgba(148, 163, 184, 0.6);
    border-radius: 2px;
    margin: 10px auto 0;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(15, 23, 42, 0.9);
    border: none;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rewards modal */
.modal-sheet-rewards {
    padding: 2rem 1.25rem 1.5rem;
}
.rewards-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}
.rewards-intro {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.points-progress-wrap {
    margin-bottom: 1.25rem;
}
.points-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.points-progress-label { font-weight: 600; }
.points-progress-value { color: var(--gold); font-weight: 600; }
.points-bar-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.points-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
    border-radius: 5px;
    transition: width 0.4s ease;
}
.points-paliers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.palier-item { white-space: nowrap; }

.referral-block {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
}
.referral-block-prominent {
    padding: 1.25rem;
    background: rgba(232, 198, 116, 0.08);
    border-color: var(--gold-border);
}
.referral-block-prominent .referral-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.referral-link-input-large {
    font-size: 1rem;
    padding: 0.65rem 0.85rem;
}
.btn-copy-link-large {
    padding: 0.65rem 1.25rem;
    font-size: 1rem;
}
.referral-title {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
}
.referral-intro {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0 0 0.75rem 0;
}
.referral-link-wrap {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.referral-link-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    background: var(--bg);
}
.btn-copy-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.rewards-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.rewards-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.06);
}
.rewards-item-label {
    flex: 1;
    font-weight: 500;
}
.rewards-item-points {
    color: var(--gold);
    font-size: 0.9rem;
}
.btn-redeem {
    padding: 0.5rem 1rem;
    background: var(--gold);
    color: #0a0a0a;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}
.btn-redeem:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.rewards-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-media {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    margin-top: 1rem;
}
.modal-media-placeholder {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #111, #1a1a1a);
}

.modal-body { padding: 1.25rem 1.25rem 2rem; }

/* === CAROUSEL DANS LA MODAL === */
.carousel-container {
    width: 100%;
    max-width: 600px;
    margin: 1rem auto 1.5rem;
}

.carousel-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-image,
.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn-prev { left: 10px; }
.carousel-btn-next { right: 10px; }

.carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.indicator {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.indicator.active {
    background: #ffffff;
    width: 20px;
}

.carousel-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 2px 0;
    scrollbar-width: thin;
}

.carousel-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.carousel-thumbnails::-webkit-scrollbar-track {
    background: #111;
    border-radius: 2px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 2px;
}

.thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    position: relative;
    background: #050505;
}

.thumbnail:hover {
    transform: scale(1.04);
}

.thumbnail.active {
    border-color: #f44336;
    box-shadow: 0 0 0 1px rgba(244, 67, 54, 0.45);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.6);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
}

.no-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #777;
    border-radius: 16px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.modal-category-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gold-dim);
    color: var(--gold);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 1px solid var(--gold-border);
}

.modal-description {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre-wrap;
    margin-bottom: 1.5rem;
}

.gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: rgba(15, 23, 42, 0.9);
    color: var(--gold-light);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--gold-border);
    margin-bottom: 1.5rem;
}

/* === SELECTORS (variant / pricing) === */
.selector-section { margin-bottom: 1.5rem; }

.selector-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.variant-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.variant-chip {
    flex: 1;
    min-width: calc(50% - 0.25rem);
    padding: 0.7rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.variant-chip.selected {
    border-color: var(--gold);
    background: var(--gold-dim);
    color: var(--gold-light);
    box-shadow: 0 0 0 1px rgba(232, 198, 116, 0.45), var(--shadow-gold);
}

.pricing-options { display: flex; flex-direction: column; gap: 0.5rem; }

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.pricing-row.selected {
    border-color: var(--gold);
    background: var(--gold-dim);
    box-shadow: var(--shadow-gold);
}

.pricing-qty { font-weight: 600; font-size: 0.92rem; }
.pricing-price { font-weight: 700; font-size: 1rem; color: #667eea; }

.btn-add-cart {
    width: 100%;
    padding: 1rem;
    margin-top: 1.25rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-cart:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-add-cart:not(:disabled):active {
    transform: scale(0.97);
    filter: brightness(0.96);
}

/* === CART FAB === */
.cart-fab {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-fab:active { transform: scale(0.9); }

.cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #f44336;
    color: white;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 5px;
}
.cart-fab-badge.visible { display: flex; }

/* === CART MODAL === */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    padding: 1.5rem 1rem;
    overflow-y: auto;
}
.cart-overlay.active { display: block; }

.cart-panel {
    background: #1a1a1a;
    border-radius: var(--radius-lg);
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 1.2rem;
    border: 1px solid #333;
    box-shadow: var(--shadow-soft);
}

.cart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1rem;
}

.cart-panel-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.cart-item {
    background: rgba(30, 30, 30, 0.9);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #333;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.cart-item-name { font-weight: 700; font-size: 0.92rem; flex: 1; }

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
}

.cart-item-detail { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.3rem; }
.cart-item-variant { color: var(--gold); font-weight: 600; }
.cart-item-price { font-weight: 700; color: #667eea; font-size: 0.95rem; margin-top: 0.3rem; }

.cart-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding-top: 0.9rem;
    margin-top: 0.9rem;
}

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

.cart-total-label { font-size: 1rem; font-weight: 600; }

.cart-total-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.checkout-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-out, filter 0.2s ease-out;
}

.btn-checkout:active {
    transform: scale(0.97);
    filter: brightness(0.96);
}

.cart-empty-msg {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}
.cart-empty-msg span { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    z-index: 5000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
    border-radius: 999px;
}
