* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
}

:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --success: #10b981;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(37,99,235,0.15);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-full: 999px;
}

html {
    font-size: 16px;
    overflow: hidden;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    height: 100%;
    overflow: hidden;
    line-height: 1.5;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.app {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 30%, var(--bg-main) 30%);
    overflow: hidden;
}

/* Header */
.header {
    position: relative;
    z-index: 100;
    background: var(--primary);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
}

.logo h1 { font-size: 20px; font-weight: 700; color: white; }

.user-name {
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: white;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: calc(100% - 72px);
}

/* Carousel Section */
.carousel-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 0 0;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 0;
    margin-bottom: 20px;
}

.section-title { font-size: 18px; font-weight: 700; }
.section-count { font-size: 13px; color: var(--text-secondary); }

.carousel-wrapper { position: relative; }

.carousel-container {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 14px;
    padding: 8px 7.5% 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 7.5%;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar { display: none; }

/* Product Card */
.product-card {
    flex: 0 0 85%;
    max-width: 260px;
    scroll-snap-align: center;
    content-visibility: auto;
    contain-intrinsic-size: 340px;
}

.card-inner {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.product-card.selected .card-inner {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.product-card.selected .card-inner::after {
    content: '✓';
    position: absolute;
    top: 10px; right: 10px;
    width: 26px; height: 26px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: bold; color: white;
    z-index: 10;
    animation: popIn 0.3s ease;
}

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

.product-image {
    height: 250px;
    background: linear-gradient(135deg, var(--bg-input) 0%, #e0f2fe 100%);
    display: flex; align-items: center; justify-content: center;
}

.product-icon {
    font-size: 56px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.product-image.image-missing::after {
    content: 'Imagem indisponível';
    color: var(--text-light);
    font-size: 12px;
}

.product-info { padding: 14px; text-align: center; }

.product-name {
    font-size: 14px; font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.product-category {
    font-size: 11px; color: var(--text-light);
    text-transform: uppercase; letter-spacing: 0.5px;
}

.product-action { padding: 0 14px 14px; }

.add-btn {
    width: 100%; padding: 12px;
    border: none; border-radius: var(--radius-sm);
    background: var(--primary); color: white;
    font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
}

.add-btn:active { transform: scale(0.96); background: var(--primary-dark); }

/* Nav Buttons */
.nav-btn {
    width: 40px; height: 40px;
    border-radius: 50%; border: none;
    background: var(--bg-white); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10; box-shadow: var(--shadow-md);
}

.nav-btn svg { width: 20px; height: 20px; }
.prev-btn { left: 8px; }
.next-btn { right: 8px; }
.nav-btn:active { transform: translateY(-50%) scale(0.9); }

/* Indicators */
.carousel-indicators {
    display: flex; justify-content: center;
    gap: 6px; padding: 4px 0 16px;
}

.indicator {
    width: 6px; height: 6px; border-radius: 3px;
    background: var(--border); transition: all 0.3s ease;
}

.indicator.active { background: var(--primary); width: 20px; }

/* Order Panel */
.order-panel {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--bg-white);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
    transform: translateY(calc(100% - 90px));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    height: 70%;
    display: flex; flex-direction: column;
}

.order-panel.expanded { transform: translateY(0); }

.panel-handle {
    width: 40px; height: 4px;
    background: var(--border); border-radius: 3px;
    margin: 12px auto 6px; transition: all 0.3s ease;
}

.order-panel.expanded .panel-handle { width: 50px; background: var(--primary); }

.panel-header {
    padding: 4px 24px 18px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
}

.panel-title-row { display: flex; align-items: center; gap: 14px; }

.panel-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.panel-header h2 { font-size: 17px; font-weight: 700; color: var(--text); margin: 0; line-height: 1.2; }
.panel-subtitle { font-size: 12px; color: var(--text-secondary); margin-top: 0px; display: block; }

.badge {
    background: var(--primary); color: white;
    padding: 6px 14px; border-radius: var(--radius-full);
    font-size: 13px; font-weight: 600; min-width: 32px; text-align: center;
}

.order-items { flex: 1; overflow-y: auto; padding: 0 20px 16px; }

.empty-state { text-align: center; padding: 30px 20px; color: var(--text-light); }
.empty-icon { font-size: 48px; display: block; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { font-size: 14px; }

.order-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px; background: var(--bg-input);
    border-radius: var(--radius-sm); margin-bottom: 10px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.order-item-icon {
    width: 44px; height: 44px;
    background: var(--bg-white); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; box-shadow: var(--shadow-sm);
}

.order-item-img {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.order-item-details { flex: 1; min-width: 0; }
.order-item-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.order-item-price { font-size: 11px; color: var(--text-secondary); }

.order-edit-btn {
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--primary);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.order-edit-btn:active { transform: scale(0.96); }

.order-item-controls {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-white); padding: 6px;
    border-radius: var(--radius-full); box-shadow: var(--shadow-sm);
}

.qty-btn {
    width: 32px; height: 32px;
    border-radius: 50%; border: none;
    background: var(--primary); color: white;
    font-size: 16px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}

.qty-btn:active { transform: scale(0.9); }
.qty-btn.minus { background: var(--bg-input); color: var(--text-secondary); }

.qty-value {
    font-size: 15px; font-weight: 700;
    min-width: 20px; text-align: center;
}

/* Order Footer */
.order-footer {
    padding: 16px 20px; background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.checkout-btn {
    width: 100%; padding: 16px;
    border: none; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

.checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.checkout-btn:active:not(:disabled) { transform: scale(0.98); }

/* Toast */
.toast {
    position: fixed; top: 80px; left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--text-primary); color: white;
    padding: 12px 20px; border-radius: var(--radius-full);
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; opacity: 0;
    transition: all 0.3s ease; z-index: 3000;
    box-shadow: var(--shadow-lg);
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.toast-icon {
    width: 22px; height: 22px;
    background: var(--success); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
}

/* Modal */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: none; align-items: flex-end; justify-content: center;
    z-index: 4000;
}

.modal-overlay.show { display: flex; }

.modal {
    background: var(--bg-white);
    border-radius: 24px 24px 0 0;
    width: 100%; max-width: 500px;
    max-height: 80vh; overflow: hidden;
    animation: slideUpModal 0.3s ease;
}

@keyframes slideUpModal {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-handle {
    width: 40px; height: 4px;
    background: var(--border); border-radius: 2px;
    margin: 12px auto 0;
}

.modal-header {
    padding: 16px 20px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 { font-size: 18px; font-weight: 600; }

.modal-close {
    width: 36px; height: 36px;
    border-radius: 50%; border: none;
    background: var(--bg-input); color: var(--text-secondary);
    font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.modal-body { padding: 20px; overflow-y: auto; }

.modal-client {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; padding: 14px;
    background: var(--bg-input); border-radius: var(--radius-sm);
}

.modal-client span { font-size: 13px; color: var(--text-secondary); }
.modal-client strong { font-size: 14px; }

.modal-items { margin-bottom: 20px; }

.modal-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--border);
}

.modal-item:last-child { border-bottom: none; }
.modal-item-name { flex: 1; font-size: 14px; }
.modal-item-qty { font-size: 13px; color: var(--text-secondary); margin: 0 16px; }

.btn-cancel, .btn-confirm {
    flex: 1; padding: 14px; border-radius: var(--radius-sm);
    border: none; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
}

.btn-cancel { background: var(--bg-input); color: var(--text-secondary); }
.btn-confirm { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: white; }
.btn-cancel:active, .btn-confirm:active { transform: scale(0.98); }

/* ===== SIZE MODAL ===== */
/* Review: the item list scrolls independently; the action never leaves the screen. */
body.review-open { overflow: hidden; }
#confirmModal { display:flex; flex-direction:column; max-width:560px; max-height:90vh; max-height:90dvh; }
#confirmModal .modal-handle, #confirmModal .modal-header, #confirmModal .modal-footer { flex-shrink:0; }
#confirmModal .modal-header { gap:12px; }
#confirmModal .modal-close { flex-shrink:0; }
#confirmModal .modal-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:18px 20px; }
#confirmModal .review-intro { margin:0 0 16px; color:var(--text-secondary); font-size:13px; line-height:1.6; }
#confirmModal .modal-items { display:grid; gap:12px; margin:0; }
.seller-customer-picker { margin:0 0 18px; padding:14px; border:1px solid #dce7f5; border-radius:14px; background:#f8fbff; }
.seller-customer-picker[hidden] { display:none; }
.seller-customer-picker > label { display:block; margin-bottom:7px; color:#24456e; font-size:12px; font-weight:800; }
.seller-customer-picker input { width:100%; min-height:42px; padding:9px 11px; border:1px solid #d6e2f0; border-radius:9px; outline:0; background:white; color:#173b72; font:inherit; font-size:13px; }
.seller-customer-results { display:grid; gap:4px; max-height:180px; overflow:auto; margin-top:7px; }
.seller-customer-results:empty { display:none; }
.seller-customer-results button { padding:9px 10px; border:1px solid #e2eaf4; border-radius:8px; background:white; color:#26486f; text-align:left; font:inherit; font-size:12px; cursor:pointer; }
.seller-customer-results button:hover { border-color:#9bb9e5; background:#f1f6ff; }
.seller-customer-selected { margin:8px 0 0; color:#71839c; font-size:11px; }
#confirmModal .review-product { min-width:0; padding:16px; border:1px solid var(--border); border-radius:14px; background:var(--bg-input); }
#confirmModal .review-product h4 { margin:0 0 12px; font-size:14px; line-height:1.5; font-weight:700; overflow-wrap:anywhere; }
#confirmModal .review-size { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:10px 0; border-top:1px solid var(--border); font-size:14px; }
#confirmModal .review-size > div { min-width:0; }
#confirmModal .review-size small { display:block; margin-top:4px; font-size:11px; color:var(--text-secondary); overflow-wrap:anywhere; }
#confirmModal .review-size strong { flex-shrink:0; text-align:right; font-size:16px; }
#confirmModal .review-size strong span { display:block; font-size:11px; color:var(--text-secondary); font-weight:400; margin-top:3px; }
#confirmModal .modal-footer { display:flex; flex-direction:column; gap:14px; padding:16px 20px max(20px,env(safe-area-inset-bottom)); border-top:1px solid var(--border); background:var(--bg-white); }
#confirmModal .review-total { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13px; }
#confirmModal .review-total strong { font-size:17px; text-align:right; }
#confirmModal .btn-confirm { display:block; width:100%; flex:none; min-height:50px; font-family:inherit; font-size:15px; font-weight:600; }
#confirmModal .btn-confirm:disabled { opacity:.6; cursor:wait; }
@media(min-width:650px) { #modalOverlay { align-items:center; padding:24px; } #confirmModal { border-radius:24px; } #confirmModal .modal-handle { display:none; } }

.size-modal {
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: sizeModalSlide 0.4s ease;
}

@keyframes sizeModalSlide {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes modalFall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.modal-overlay.hiding .modal {
    animation: modalFall 0.3s ease forwards;
}

.size-list {
    display: flex; flex-direction: column; gap: 8px;
}

.size-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; background: var(--bg-input);
    border-radius: var(--radius-sm);
    animation: sizeRowSlide 0.35s ease backwards;
}

.size-row:nth-child(1) { animation-delay: 0.05s; }
.size-row:nth-child(2) { animation-delay: 0.1s; }
.size-row:nth-child(3) { animation-delay: 0.15s; }
.size-row:nth-child(4) { animation-delay: 0.2s; }
.size-row:nth-child(5) { animation-delay: 0.25s; }

@keyframes sizeRowSlide {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.size-label {
    font-size: 15px; font-weight: 600;
    min-width: 60px;
}

.size-label-group {
    display: flex; align-items: center; gap: 8px;
}

.size-code-tag {
    font-size: 10px; font-weight: 600;
    background: var(--primary); color: white;
    padding: 2px 6px; border-radius: 4px;
    letter-spacing: 0.3px;
}

.size-controls {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-white); padding: 4px;
    border-radius: var(--radius-full); box-shadow: var(--shadow-sm);
}

.size-btn {
    width: 32px; height: 32px;
    border-radius: 50%; border: none;
    background: var(--primary); color: white;
    font-size: 16px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s ease;
}

.size-btn:active { animation: pulseBtn 0.2s ease; }

@keyframes pulseBtn {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.size-btn.minus { background: var(--bg-input); color: var(--text-secondary); }
.size-btn.disabled { opacity: 0.3; pointer-events: none; }

.size-qty-display {
    font-size: 14px; font-weight: 700;
    color: var(--primary); min-width: 30px; text-align: center;
    transition: all 0.15s ease;
}

.size-qty {
    animation: qtyPop 0.25s ease;
}

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

.size-empty {
    font-size: 12px; color: var(--text-light);
    min-width: 30px; text-align: center;
}

.size-modal .modal-body {
    flex: 1;
    overflow-y: auto;
}

.size-minimum-note {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.45;
}

.size-modal-footer {
    padding: 12px 24px 24px;
    background: var(--bg-white);
}

/* Botão Salvar Quantidade */
.save-qty-btn {
    width: 100%; padding: 16px;
    border: none; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
}

.save-qty-btn:active { transform: scale(0.97); }

/* ===== NAME MODAL ===== */
.name-modal {
    max-height: 50vh;
}

.name-modal-content {
    padding: 30px 20px;
    text-align: center;
}

.name-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.name-modal-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.name-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease;
    margin-bottom: 20px;
    background: var(--bg-input);
}

.name-input:focus {
    border-color: var(--primary);
    background: var(--bg-white);
}

/* Desktop */
@media (min-width: 768px) {
    html { height: auto; overflow-y: auto; }
    body, .app { overflow: visible; height: auto; min-height: 100vh; position: static; }
    .main-content { overflow: visible; height: auto; }
    .carousel-section { overflow: visible; }
    .app { background: var(--bg-main); }
    .header { padding: 16px 32px; }
    .logo h1 { font-size: 24px; }
    .main-content { max-width: 1200px; margin: 0 auto; padding: 0 32px 32px; }
    .section-header { padding: 0; }
    .section-title { font-size: 22px; }
    .carousel-container { overflow: visible; mask-image: none; -webkit-mask-image: none; }
    .carousel-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; overflow: visible; padding: 8px 0 20px; scroll-snap-type: none; }
    .product-card { flex: none; max-width: none; scroll-snap-align: none; }
    .nav-btn { display: none; }
    .product-image { height: 160px; }
    .product-icon { font-size: 64px; }
    .nav-btn { width: 44px; height: 44px; }
    .nav-btn svg { width: 22px; height: 22px; }
    .order-panel { position: static; border-radius: var(--radius); margin: 32px 0 0; height: auto; max-height: none; transform: none; box-shadow: var(--shadow-md); }
    .panel-handle { display: none; }
    .panel-header { cursor: default; }
    .order-items { max-height: 350px; }
}

@media (min-width: 1024px) {
    .main-content { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
    .carousel-section { padding: 32px 0; }
    .order-panel { position: sticky; top: 90px; margin: 0; }
    .carousel-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== STOREFRONT REDESIGN ===== */
.app { background: #f5f8fc; }
.header {
    min-height: 76px;
    padding: 12px max(20px, calc((100vw - 1280px) / 2));
    background: rgba(10, 44, 120, 0.97);
    box-shadow: 0 4px 20px rgba(10, 44, 120, 0.17);
}
.logo { gap: 11px; }
.logo-img { width: 44px; height: 44px; background: white; border-radius: 13px; padding: 3px; }
.logo h1 { font-size: 22px; letter-spacing: -0.5px; line-height: 1; }
.logo-subtitle { display: block; color: rgba(255,255,255,.68); font-size: 10px; margin-top: 5px; letter-spacing: .15px; }
.store-nav { display: none; gap: 26px; margin-left: auto; }
.store-nav a { color: rgba(255,255,255,.76); text-decoration: none; font-size: 13px; font-weight: 600; }
.store-nav a:hover { color: white; }
.header-user { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-user-label { color: rgba(255,255,255,.62); font-size: 12px; }
.user-name { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); padding: 7px 12px; font-weight: 700; }

.store-hero {
    margin: 14px 16px 4px;
    padding: 25px 22px;
    border-radius: 20px;
    color: white;
    background: radial-gradient(circle at 82% 20%, rgba(75, 202, 255, .45), transparent 29%), linear-gradient(118deg, #092565 0%, #1151c6 58%, #1771df 100%);
    box-shadow: 0 14px 30px rgba(18, 77, 191, .18);
    overflow: hidden;
    position: relative;
}
.store-hero::after { content: ''; position: absolute; width: 180px; height: 180px; right: -65px; bottom: -95px; border: 30px solid rgba(255,255,255,.08); border-radius: 50%; }
.eyebrow, .section-kicker { display: block; color: #83d8ff; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; margin-bottom: 8px; }
.hero-copy { max-width: 680px; position: relative; z-index: 1; }
.hero-copy h2 { font-size: 24px; letter-spacing: -1px; line-height: 1.12; margin-bottom: 10px; }
.hero-copy h2 strong { color: #7ee0ff; }
.hero-copy p { color: rgba(255,255,255,.78); font-size: 13px; max-width: 520px; line-height: 1.55; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; position: relative; z-index: 1; color: white; font-size: 11px; font-weight: 700; }

.carousel-section { padding-top: 2px; }
.section-header { padding: 24px 20px 13px; margin: 0; gap: 16px; align-items: end; }
.section-kicker { color: var(--primary); margin-bottom: 5px; }
.section-title { color: #102a50; font-size: 20px; letter-spacing: -.5px; }
.section-description { margin-top: 4px; color: #7a8da8; font-size: 12px; }
.catalog-filter-panel { width: min(100%, 700px); display: grid; grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(115px, 1fr)); gap: 8px; align-items: end; }
.catalog-search { width: 100%; display: flex; align-items: center; gap: 8px; background: white; border: 1px solid #dfe8f3; border-radius: 11px; padding: 0 12px; min-height: 42px; box-shadow: 0 4px 12px rgba(29, 66, 122, .05); }
.catalog-search span { color: #4972b9; font-size: 21px; line-height: 1; }
.catalog-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: #173b72; font: inherit; font-size: 13px; background: transparent; }
.catalog-search input::placeholder { color: #9cafc7; }
.catalog-filter { display: grid; gap: 4px; min-width: 0; color: #7084a0; font-size: 9px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }
.catalog-filter select { width: 100%; height: 42px; min-width: 0; padding: 0 9px; border: 1px solid #dfe8f3; border-radius: 10px; outline: 0; background: #fff; color: #29486e; font: inherit; font-size: 11px; text-transform: none; }
.catalog-filter-clear { min-height: 30px; justify-self: end; padding: 0 8px; border: 0; background: transparent; color: #5977a1; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.catalog-filter-clear:hover { color: var(--primary); text-decoration: underline; }
.catalog-filter-empty { flex:1 1 100%; grid-column:1 / -1; padding:28px 14px; color:#8091a8; text-align:center; font-size:13px; }

.carousel-track { padding: 4px 16px 22px; gap: 12px; }
.product-card { content-visibility: auto; contain-intrinsic-size: 350px; }
.product-card[hidden] { display: none !important; }
.card-inner { border: 1px solid #e5edf7; border-radius: 16px; box-shadow: 0 7px 18px rgba(29, 66, 122, .06); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-inner:hover { transform: translateY(-3px); border-color: #bcd1f6; box-shadow: 0 14px 28px rgba(20, 72, 155, .13); }
.product-image { height: 205px; background: #fff; position: relative; }
.product-img { transform: none; object-fit: contain; padding: 13px; transition: transform .25s ease; }
.card-inner:hover .product-img { transform: scale(1.045); }
.product-badge { position: absolute; top: 10px; left: 10px; border-radius: 999px; padding: 5px 8px; background: rgba(255,255,255,.92); color: #217254; font-size: 9px; font-weight: 800; box-shadow: 0 3px 8px rgba(24, 63, 117, .1); }
.product-info { padding: 14px 14px 5px; text-align: left; }
.product-category { display: inline-block; margin-bottom: 8px; padding: 4px 7px; border-radius: 6px; background: #eef4ff; color: #3a68b7; font-size: 9px; font-weight: 800; letter-spacing: .55px; }
.product-name { color: #112d57; font-size: 13px; margin-bottom: 5px; white-space: normal; height: 36px; line-height: 1.35; }
.product-help { color: #889ab1; font-size: 11px; }
.product-action { padding: 12px 14px 14px; }
.add-btn { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 11px; background: #1c63dc; font-size: 12px; box-shadow: 0 6px 12px rgba(28,99,220,.18); }
.add-btn:hover { background: #114fac; }

.order-panel { border: 1px solid #e2eaf5; box-shadow: 0 12px 28px rgba(25, 59, 110, .12); }
.panel-header { padding: 16px 18px; }
.panel-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 18px; }
.panel-header h2 { color: #112d57; font-size: 16px; }
.panel-subtitle { color: #7b8da5; font-size: 11px; }
.order-count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 50px; background: #eaf2ff; color: #1d61cf; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.order-items { padding: 0 14px 14px; }
.empty-state { padding: 40px 12px; color: #8b9ab0; }
.empty-icon { font-size: 42px; }
.order-item { padding: 10px; margin-bottom: 8px; background: #f5f8fd; border: 1px solid #e8eef7; }
.order-item-name { color: #17335c; }
.order-edit-btn { margin-top: 8px; padding: 5px 8px; font-size: 10px; }
.order-footer { padding: 13px 16px 16px; }
.order-total-row { display: flex; align-items: center; justify-content: space-between; margin: 0 1px 10px; color: #7a8ca6; font-size: 11px; }
.order-total-row strong { color: #173c78; font-size: 16px; }
.retail-minimum-note { margin: 0 1px 10px; padding: 9px 11px; border: 1px solid #d7e8ff; border-radius: 10px; background: #f3f8ff; color: #31598d; font-size: 11px; line-height: 1.45; }
.checkout-btn { border-radius: 10px; padding: 13px; display: flex; align-items: center; justify-content: center; gap: 9px; background: linear-gradient(120deg, #195bd0, #287df0); }

@media (min-width: 768px) {
    .header { padding-left: max(30px, calc((100vw - 1280px) / 2)); padding-right: max(30px, calc((100vw - 1280px) / 2)); }
    .store-nav { display: flex; }
    .header-user { margin-left: 28px; }
    .main-content { max-width: 1280px; padding: 0 30px 42px; }
    .store-hero { margin: 28px 0 0; padding: 38px 42px; border-radius: 24px; }
    .hero-copy h2 { font-size: 34px; max-width: 650px; }
    .hero-copy p { font-size: 14px; }
    .section-header { padding: 32px 0 18px; }
    .section-title { font-size: 25px; }
    .carousel-track { gap: 16px; padding: 0 0 30px; }
    .product-image { height: 220px; }
    .order-panel { border-radius: 18px; overflow: hidden; }
}

@media (min-width: 1024px) {
    .main-content { grid-template-columns: minmax(0, 1fr) 350px; gap: 30px; }
    .carousel-section { padding: 0; }
    .order-panel { top: 102px; }
    .carousel-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
    .logo-subtitle, .header-user-label { display: none; }
    .header { min-height: 64px; }
    .store-hero { margin: 10px 12px 2px; padding: 22px 18px; }
    .hero-copy h2 { font-size: 22px; }
    .section-header { padding: 22px 16px 12px; align-items: stretch; flex-direction: column; }
    .catalog-filter-panel { width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .catalog-search { grid-column:1 / -1; width: 100%; }
    .catalog-filter-clear { grid-column:1 / -1; justify-self:start; }
}

/* Mobile: vitrine em grade, rolagem natural e carrinho que não cobre o catálogo. */
@media (max-width: 767px) {
    html { height: auto; overflow-x: hidden; overflow-y: auto; }
    body { position: static; min-height: 100dvh; height: auto; overflow-x: hidden; overflow-y: auto; }
    .app { min-height: 100dvh; height: auto; overflow: visible; }
    .main-content { display: block; height: auto; overflow: visible; padding-bottom: 104px; }
    .carousel-section { display: block; overflow: visible; padding: 0; }
    .store-hero { min-height: 0; margin: 10px 12px 4px; padding: 19px 18px; border-radius: 16px; }
    .store-hero::after { width: 130px; height: 130px; right: -55px; bottom: -76px; border-width: 20px; }
    .eyebrow { margin-bottom: 6px; }
    .hero-copy h2 { display: block; font-size: 20px; line-height: 1.18; margin-bottom: 7px; }
    .hero-copy p { display: block; font-size: 11px; line-height: 1.45; }
    .hero-benefits { display: none; }
    .section-header { display: block; padding: 19px 16px 12px; }
    .section-title { font-size: 20px; }
    .section-description { font-size: 11px; }
    .catalog-search { width: 100%; margin-top: 13px; min-height: 44px; }
    .carousel-wrapper { overflow: visible; }
    .carousel-container { overflow: visible; mask-image: none; -webkit-mask-image: none; }
    .carousel-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px 16px; overflow: visible; scroll-snap-type: none; }
    .product-card { flex: none; max-width: none; min-width: 0; scroll-snap-align: none; contain-intrinsic-size: 280px; }
    .card-inner { border-radius: 13px; }
    .card-inner:hover { transform: none; }
    .product-image { height: 132px; }
    .product-img { padding: 8px; }
    .product-badge { top: 7px; left: 7px; padding: 4px 6px; font-size: 8px; }
    .product-info { padding: 10px 10px 2px; }
    .product-category { margin-bottom: 6px; padding: 3px 5px; font-size: 8px; }
    .product-name { height: 34px; margin-bottom: 3px; font-size: 11px; line-height: 1.35; }
    .product-help { display: none; }
    .product-action { padding: 9px 10px 10px; }
    .add-btn { min-height: 35px; padding: 8px 6px; font-size: 10px; }
    .nav-btn { display: none; }
    .order-panel { position: fixed; z-index: 300; bottom: 0; left: 0; right: 0; height: min(72dvh, 520px); margin: 0; border-radius: 20px 20px 0 0; transform: translateY(calc(100% - 78px)); transition: transform .28s ease; }
    .order-panel.expanded { transform: translateY(0); }
    .panel-handle { margin-top: 9px; margin-bottom: 2px; }
    .panel-header { min-height: 62px; padding: 6px 16px 12px; }
    .panel-icon { width: 38px; height: 38px; }
    .panel-header h2 { font-size: 15px; }
    .order-footer { padding: 11px 14px 14px; }
    .order-items { padding: 0 14px 10px; }
    .order-total-row { margin-bottom: 7px; }
}

@media (max-width: 360px) {
    .logo h1 { font-size: 19px; }
    .product-image { height: 115px; }
    .product-name { font-size: 10px; }
    .add-btn { font-size: 9px; }
}

@media (max-width: 767px) {
    .catalog-filter-panel { width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .catalog-search { grid-column:1 / -1; width:100%; }
    .catalog-filter-clear { grid-column:1 / -1; justify-self:start; }
}

@media (min-width: 768px) and (max-width: 1050px) {
    .section-header { align-items:stretch; flex-direction:column; }
    .catalog-filter-panel { width:100%; }
}

.product-image.image-loading::before {
    content: '';
    position: absolute;
    z-index: 1;
    left: calc(50% - 12px);
    top: calc(50% - 18px);
    width: 24px;
    height: 24px;
    border: 3px solid #dbe7f5;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: productImageSpin .8s linear infinite;
}
.product-image.image-loading::after {
    content: 'Carregando imagem...';
    position: absolute;
    top: calc(50% + 14px);
    left: 0;
    width: 100%;
    color: #7890ad;
    font-size: 11px;
    text-align: center;
}
.product-image.image-loading .product-img { opacity: 0; }
.product-image.image-missing::after {
    content: 'Imagem temporariamente indisponível';
    position: absolute;
    top: calc(50% - 10px);
    left: 0;
    width: 100%;
    color: #64748b;
    font-size: 11px;
    text-align: center;
}
.product-image.image-missing .product-img { visibility: hidden; }
.image-retry-btn {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: calc(50% + 15px);
    transform: translateX(-50%);
    border: 1px solid #c8d8ef;
    border-radius: 8px;
    padding: 6px 9px;
    background: #fff;
    color: #245db5;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}
@keyframes productImageSpin { to { transform: rotate(360deg); } }

/* Perfil do cliente e consulta de pedidos. */
.store-nav button { padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.82); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }.store-nav button:hover { color: white; }
.header-user { padding: 4px 7px 4px 4px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.08); gap: 8px; }.profile-avatar { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #7fe1ff, #3d76ed); color: white; font-size: 10px; font-weight: 900; box-shadow: 0 3px 8px rgba(0,0,0,.16); }.profile-copy { min-width: 0; }.header-user-label { display: block; margin-bottom: 1px; font-size: 9px; }.user-name { max-width: 120px; padding: 0; border: 0; background: transparent; font-size: 12px; }
.lookup-modal { max-width: 480px; }.lookup-kicker { display: block; margin-bottom: 4px; color: #4e7bc6; font-size: 9px; font-weight: 800; letter-spacing: 1.1px; }.lookup-help { margin-bottom: 15px; color: #71839d; font-size: 13px; line-height: 1.5; }.lookup-form .name-input { margin-bottom: 10px; text-transform: uppercase; }.lookup-result { margin-top: 15px; }.lookup-feedback { padding: 12px; border-radius: 10px; background: #fff2f2; color: #bd4545; font-size: 12px; }.lookup-order-card { overflow: hidden; border: 1px solid #dfe8f4; border-radius: 12px; background: #f8fbff; }.lookup-order-head { display: flex; justify-content: space-between; gap: 10px; padding: 14px; border-bottom: 1px solid #e5ecf5; background: white; }.lookup-order-head strong { display: block; color: #1b478e; font-size: 16px; }.lookup-order-head small { display: block; margin-top: 4px; color: #8394aa; font-size: 10px; }.lookup-status { align-self: flex-start; padding: 5px 7px; border-radius: 6px; font-size: 9px; font-weight: 800; text-transform: uppercase; }.lookup-status.pending { background: #fff4d8; color: #a26900; }.lookup-status.approved { background: #dff8eb; color: #137648; }.lookup-status.rejected { background: #ffe5e5; color: #c43737; }.lookup-items { padding: 8px 14px; }.lookup-item { padding: 10px 0; border-bottom: 1px solid #e7eef7; }.lookup-item:last-child { border-bottom: 0; }.lookup-item strong { display: block; color: #2b466d; font-size: 12px; }.lookup-item span { display: block; margin-top: 4px; color: #7286a2; font-size: 10px; }.lookup-total { padding: 11px 14px; border-top: 1px solid #e2eaf4; color: #607895; font-size: 11px; }.lookup-total b { color: #1f4f99; font-size: 14px; }
@media (max-width: 767px) { .header-user { margin-left: auto; }.profile-copy { display: none; }.header-user { padding: 3px; border-color: transparent; background: transparent; }.profile-avatar { width: 34px; height: 34px; }.store-nav { display: flex; margin-left: auto; }.store-nav button { font-size: 11px; }.lookup-modal { border-radius: 20px 20px 0 0; } }


/* Acesso ao portal do cliente */
.portal-auth-locked { overflow: hidden !important; overscroll-behavior: none; }
.portal-auth-locked .app { visibility: hidden !important; pointer-events: none !important; }
.portal-login-modal { max-height:min(82vh,680px); border-radius:24px; box-shadow:0 24px 70px rgba(12,32,70,.25); }
.portal-login-content { padding:27px clamp(22px,5vw,42px) 30px; text-align:center; }
.portal-login-brand { display:inline-flex; align-items:center; gap:8px; margin-bottom:22px; padding:6px 11px 6px 6px; border:1px solid #e3edfb; border-radius:999px; background:#f7faff; color:#315c9d; font-size:9px; font-weight:900; letter-spacing:.9px; }
.portal-login-brand i { width:4px; height:4px; border-radius:50%; background:#1fb6b0; }
.portal-login-brand-mark { display:grid; width:25px; height:25px; place-items:center; border-radius:50%; background:linear-gradient(135deg,#1d63dd,#09aebd); color:white; font-size:9px; letter-spacing:0; }
.portal-login-icon { display:grid; width:58px; height:58px; place-items:center; margin:0 auto 14px; border:1px solid #dceaff; border-radius:19px; background:linear-gradient(145deg,#eff6ff,#ecfeff); color:#2468df; }
.portal-login-icon svg { width:29px; height:29px; }
.portal-login-content h3 { margin:0 0 8px; color:#162641; font-size:23px; font-weight:850; letter-spacing:-.5px; }
.portal-login-description { max-width:390px; margin:0 auto 22px; color:#71829a; font-size:13px; line-height:1.55; }
.portal-login-label { display:block; margin:0 0 8px; color:#647995; font-size:10px; font-weight:850; letter-spacing:1px; text-align:left; text-transform:uppercase; }
.name-input.portal-login-input { min-height:62px; margin:0 0 12px; border:1px solid #d7e2f1; border-radius:14px; background:#fbfdff; color:#17345f; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:clamp(17px,4vw,21px); font-weight:800; letter-spacing:.12em; }
.name-input.portal-login-input:focus { border-color:#3477ed; background:white; box-shadow:0 0 0 4px rgba(52,119,237,.11); }
.name-input.portal-login-input::placeholder { color:#a7b5c8; font-weight:600; letter-spacing:.08em; }
.portal-login-error { margin:0 0 12px; padding:10px 12px; border:1px solid #fecaca; border-radius:10px; background:#fff5f5; color:#b42332; font-size:12px; line-height:1.4; text-align:left; }
.save-qty-btn.portal-login-submit { min-height:54px; border-radius:13px; box-shadow:0 9px 18px rgba(35,101,220,.18); font-size:14px; font-weight:800; }
.portal-login-submit::after { content:'→'; margin-left:9px; font-size:18px; }
.portal-login-assurance { display:flex; align-items:center; justify-content:center; gap:7px; margin-top:16px; color:#74869e; font-size:10px; font-weight:650; }
.portal-login-assurance span { display:grid; width:17px; height:17px; place-items:center; border-radius:50%; background:#e8f8f0; color:#138452; font-size:10px; font-weight:900; }
.lookup-modal { max-width:590px; }
.history-refresh-btn { width:100%; padding:11px 14px; border:1px solid #dbe8f8; border-radius:11px; background:#f3f8ff; color:#2864bd; font-size:12px; font-weight:800; cursor:pointer; }
.history-refresh-btn:disabled { opacity:.6; cursor:wait; }
.lookup-order-summary { list-style:none; cursor:pointer; align-items:center; }
.lookup-order-summary::-webkit-details-marker { display:none; }
.lookup-order-summary::after { content:'⌄'; color:#7990ad; font-size:18px; font-weight:800; }
.lookup-order-card + .lookup-order-card { margin-top:10px; }
.lookup-order-card[open] .lookup-order-summary { border-bottom:1px solid #e5ecf5; }
.lookup-empty { padding:20px 12px; border:1px dashed #dbe5f1; border-radius:12px; color:#788ba4; font-size:12px; text-align:center; }
@media (min-width:768px) { .portal-login-modal { max-width:470px; } .portal-login-content { padding-top:32px; padding-bottom:34px; } }

/* Direct quantity entry and clear cart actions. */
.success-return { width:100%; margin-top:12px; padding:12px; border:1px solid #dfe3ee; border-radius:12px; background:transparent; color:#5147ae; font:inherit; cursor:pointer; }
.size-controls input.size-qty-display { width:80px; min-width:0; height:42px; border:1px solid #dfe3ee; border-radius:8px; background:#fff; color:#37316a; text-align:center; font-family:inherit; font-weight:700; font-size:17px; padding:5px; appearance:textfield; }
.size-controls input.size-qty-display::-webkit-inner-spin-button { appearance:none; }
.size-controls input.size-qty-display:focus { outline:3px solid #d6d0f4; border-color:#7665c9; }
.order-remove-btn { color:#b14a63!important; margin-left:10px; }
.order-item-details { min-width:0; }
.order-item-name,.modal-item-name { overflow-wrap:anywhere; }

/* Destaque de Natal exibido na abertura do portal. */
.holiday-promo-overlay { z-index:4500; align-items:center; padding:22px; background:rgba(16,20,42,.78); backdrop-filter:blur(9px); }
.holiday-promo { position:relative; display:grid; grid-template-columns:1.02fr .98fr; width:min(920px,100%); max-height:min(88vh,650px); min-height:470px; overflow:hidden; border:1px solid rgba(255,255,255,.8); border-radius:30px; background:#fffdf6; box-shadow:0 32px 100px rgba(4,10,31,.38); animation:holidayPromoIn .32s cubic-bezier(.2,.8,.2,1); }
@keyframes holidayPromoIn { from { opacity:0; transform:translateY(14px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
.holiday-promo-close { position:absolute; z-index:2; top:17px; right:17px; display:grid; width:40px; height:40px; place-items:center; border:1px solid rgba(39,48,60,.1); border-radius:50%; background:rgba(255,253,246,.9); color:#56616d; font:400 27px/1 Arial,sans-serif; cursor:pointer; box-shadow:0 4px 16px rgba(23,31,43,.08); transition:transform .2s ease, background .2s ease; }
.holiday-promo-close:hover { transform:rotate(90deg); background:white; }
.holiday-promo-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:clamp(30px,5vw,58px); background:radial-gradient(ellipse at 6% 100%,rgba(190,35,51,.07),transparent 36%),#fffdf6; }
.holiday-promo-brand { display:inline-flex; align-items:center; gap:8px; margin-bottom:42px; padding:6px 12px 6px 6px; border:1px solid #eee8d9; border-radius:999px; background:#fffaf0; color:#384e79; font-size:9px; font-weight:900; letter-spacing:1px; }
.holiday-promo-brand span { display:grid; width:27px; height:27px; place-items:center; border-radius:50%; background:linear-gradient(135deg,#4b6ce6,#42aeba); color:#fff; font-size:9px; letter-spacing:0; }
.holiday-promo-brand i { width:5px; height:5px; border-radius:50%; background:#3a9e70; }
.holiday-promo-eyebrow { display:inline-flex; align-items:center; gap:7px; margin-bottom:13px; color:#a73c42; font-size:10px; font-weight:900; letter-spacing:1.6px; }
.holiday-promo-eyebrow span { color:#c49b47; font-size:16px; }
.holiday-promo-copy h2 { max-width:430px; margin:0 0 14px; color:#20233a; font-size:clamp(29px,4vw,43px); font-weight:900; line-height:1.07; letter-spacing:-1.8px; }
.holiday-promo-copy p { max-width:390px; margin:0 0 27px; color:#6f7585; font-size:15px; line-height:1.65; }
.holiday-promo-cta { display:inline-flex; align-items:center; justify-content:center; gap:15px; min-height:52px; padding:0 22px; border:0; border-radius:13px; background:linear-gradient(120deg,#a82e3b,#c2464c); color:white; font:inherit; font-size:13px; font-weight:850; cursor:pointer; box-shadow:0 9px 22px rgba(168,46,59,.22); transition:transform .2s ease, box-shadow .2s ease; }
.holiday-promo-cta:hover { transform:translateY(-2px); box-shadow:0 13px 26px rgba(168,46,59,.28); }
.holiday-promo-cta span { font-size:19px; line-height:1; }
.holiday-promo-note { display:flex; align-items:center; gap:7px; margin-top:22px; color:#99917e; font-size:10px; font-weight:650; }
.holiday-promo-note span { color:#b64a50; font-size:15px; }
.holiday-promo-visual { position:relative; display:grid; place-items:center; overflow:hidden; padding:34px; background:radial-gradient(ellipse at 50% 42%,rgba(255,255,255,.92) 0 28%,transparent 69%),linear-gradient(145deg,#e8f0e3 0%,#f4e7d5 52%,#f2dedd 100%); }
.holiday-promo-visual::before,.holiday-promo-visual::after { position:absolute; content:""; border-radius:50%; filter:blur(1px); }
.holiday-promo-visual::before { width:190px; height:190px; top:-88px; right:-47px; background:rgba(166,45,58,.13); }
.holiday-promo-visual::after { width:240px; height:240px; bottom:-132px; left:-78px; background:rgba(45,121,83,.15); }
.holiday-promo-photo { position:relative; z-index:1; width:min(100%,330px); height:min(58vh,450px); min-height:345px; margin:0; overflow:hidden; border:7px solid rgba(255,255,255,.86); border-radius:18px; background:#fff; box-shadow:0 20px 42px rgba(49,52,46,.19),0 2px 5px rgba(49,52,46,.08); transform:rotate(1.4deg); }
.holiday-promo-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.holiday-promo-photo figcaption { position:absolute; right:0; bottom:0; left:0; padding:12px 10px 10px; background:linear-gradient(transparent,rgba(25,29,35,.66)); color:white; font-size:9px; font-weight:700; text-align:center; letter-spacing:.15px; }
.holiday-promo-seal { position:absolute; z-index:2; right:clamp(12px,4vw,42px); bottom:clamp(20px,5vh,46px); display:flex; width:84px; height:84px; flex-direction:column; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.7); border-radius:50%; background:#a93441; color:#ffe3a0; font-size:20px; line-height:1; box-shadow:0 8px 22px rgba(104,32,40,.24); transform:rotate(8deg); }
.holiday-promo-seal small { margin-top:4px; color:white; font-size:8px; font-weight:900; line-height:1.1; letter-spacing:1px; text-align:center; }
.holiday-promo-spark { position:absolute; z-index:1; color:#b99042; }
.holiday-promo-spark-one { top:14%; left:12%; font-size:24px; }
.holiday-promo-spark-two { right:12%; top:29%; color:#a93441; font-size:30px; }
@media (max-width:700px) {
    .holiday-promo-overlay { align-items:center; padding:12px; }
    .holiday-promo { display:flex; width:min(520px,100%); max-height:94dvh; min-height:0; flex-direction:column; overflow:auto; border-radius:24px; }
    .holiday-promo-close { top:12px; right:12px; width:36px; height:36px; }
    .holiday-promo-visual { order:0; flex:0 0 auto; height:clamp(220px,36vh,310px); padding:17px; }
    .holiday-promo-photo { width:min(54vw,220px); height:100%; min-height:0; border-width:5px; border-radius:14px; }
    .holiday-promo-photo figcaption { padding:8px 6px 7px; font-size:8px; }
    .holiday-promo-seal { right:8%; bottom:13px; width:61px; height:61px; font-size:16px; }
    .holiday-promo-seal small { margin-top:3px; font-size:7px; }
    .holiday-promo-spark-one { top:14%; left:10%; font-size:19px; }
    .holiday-promo-spark-two { right:10%; top:22%; font-size:23px; }
    .holiday-promo-copy { order:1; padding:22px 24px 25px; }
    .holiday-promo-brand { margin-bottom:17px; }
    .holiday-promo-eyebrow { margin-bottom:8px; font-size:9px; }
    .holiday-promo-copy h2 { max-width:390px; margin-bottom:8px; font-size:clamp(25px,7vw,34px); letter-spacing:-1px; }
    .holiday-promo-copy p { margin-bottom:16px; font-size:13px; line-height:1.5; }
    .holiday-promo-cta { width:100%; min-height:48px; }
    .holiday-promo-note { margin-top:13px; font-size:9px; }
}
@media (prefers-reduced-motion:reduce) { .holiday-promo,.holiday-promo-close,.holiday-promo-cta { animation:none; transition:none; } }
