/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES (MARILENE)
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: #0a0a0c;
    --bg-secondary: #121216;
    --bg-tertiary: #191920;
    --accent-gold: #e62222;
    --accent-gold-hover: #b81414;
    --accent-terracota: #c85a44;
    --accent-green: #2e5a44;
    --text-light: #f5f5f7;
    --text-muted: #9e9ea7;
    --text-dark: #121216;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-text: 'Montserrat', Arial, sans-serif;
    
    /* Layout & Styling details */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(212, 175, 55, 0.2);
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.9);
    --glass-bg: rgba(18, 18, 22, 0.75);
    --glass-blur: blur(16px);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-light);
    font-family: var(--font-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
}

input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Base Layout Containers */
.view-section {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.view-section.active {
    display: block;
    opacity: 1;
}

/* Utility Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-light);
}

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

.btn-text:hover {
    color: var(--text-light);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-small {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.placeholder-text {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 20px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-first {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.logo-last {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--accent-gold);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.admin-btn-nav {
    border: 1px solid var(--border-highlight);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-gold);
    font-size: 12px;
    transition: all var(--transition-fast);
}

.admin-btn-nav:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--text-light);
}

.cart-trigger {
    position: relative;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color var(--transition-fast);
}

.cart-trigger:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent-terracota);
    color: var(--text-light);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 550px;
    background-image: url('assets/marilene_white_front.jpg');
    background-size: cover;
    background-position: center 12%;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 12, 0.95) 30%, rgba(10, 10, 12, 0.4) 100%);
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.hero-subtitle {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    margin-bottom: 16px;
    display: block;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   PRODUCTS GRID & VITRINE
   ========================================================================== */
.products-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container {
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-kicker,
.product-eyebrow {
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

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

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

.store-admin-banner {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.03));
}

.store-admin-banner > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-admin-banner strong {
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
}

.store-admin-banner span {
    color: var(--text-muted);
    font-size: 13px;
}

.product-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-md);
}

.admin-product-card:hover {
    transform: none;
}

.store-admin-editor {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 24px 22px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.055);
}

.store-admin-editor-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-admin-editor-title small {
    color: var(--text-muted);
}

.store-admin-name-field,
.store-admin-price-field,
.store-admin-stock-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.store-admin-name-field > span,
.store-admin-price-field > span,
.store-admin-stock-grid label > span {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.store-admin-name-field small {
    color: var(--text-muted);
    font-size: 10px;
}

.store-admin-name-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-light);
    font: 700 13px 'Outfit', sans-serif;
    outline: none;
}

.store-admin-price-field > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
}

.store-admin-price-field strong {
    color: var(--accent-gold);
    font-size: 13px;
}

.store-admin-price-input,
.store-admin-qty-input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-light);
    font: 700 13px 'Outfit', sans-serif;
    outline: none;
}

.store-admin-price-input {
    border: 0;
    padding: 10px 0;
}

.store-admin-qty-input {
    padding: 10px 8px;
    text-align: center;
}

.store-admin-price-input:focus,
.store-admin-name-input:focus,
.store-admin-qty-input:focus {
    border-color: var(--accent-gold);
}

.store-admin-stock-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.store-admin-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 3000;
    max-width: min(420px, calc(100vw - 32px));
    padding: 14px 18px;
    border: 1px solid rgba(76, 217, 100, 0.35);
    border-radius: var(--radius-md);
    background: #132018;
    color: #7aea8e;
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-admin-toast.active {
    opacity: 1;
    transform: translateY(0);
}

.store-admin-toast.warning {
    border-color: rgba(255, 204, 0, 0.35);
    background: #241f0d;
    color: #ffcc00;
}

.product-card-image-box {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #f7f7f7;
    border: 0;
    padding: 0;
    width: 100%;
    cursor: pointer;
}

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

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

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-highlight);
    color: var(--accent-gold);
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-color {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(10, 10, 12, .82);
    color: white;
    border: 1px solid rgba(255,255,255,.18);
    padding: 7px 11px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 8px 0;
}

.product-card-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.product-card-footer > div { display: flex; flex-direction: column; gap: 3px; }
.product-card-footer small { color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.product-payment-note { color: var(--accent-gold); font-size: 11px; margin-bottom: 4px; }

.product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
}

.campaign-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 110px;
}

.campaign-heading { max-width: 700px; margin-bottom: 38px; }
.campaign-heading h2 { font: 700 clamp(32px, 5vw, 56px)/1.08 'Montserrat', sans-serif; margin: 10px 0 14px; }
.campaign-heading p { color: var(--text-muted); font-size: 17px; }
.campaign-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.campaign-photo, .campaign-video-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border-color); background: var(--bg-secondary); margin: 0; min-height: 430px; }
.campaign-photo img, .campaign-video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.campaign-video-card video { object-position: center bottom; }
.campaign-photo figcaption { position: absolute; inset: auto 16px 16px; padding: 12px 14px; background: rgba(10,10,12,.76); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); font-size: 12px; font-weight: 700; }
.campaign-photo-tall, .campaign-video-card { min-height: 640px; }
.campaign-video-copy { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(10,10,12,.78); backdrop-filter: blur(12px); padding: 16px 18px; display: flex; flex-direction: column; pointer-events: none; }
.campaign-video-copy span { color: var(--accent-gold); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.campaign-video-copy strong { font-size: 20px; margin-top: 3px; }
.campaign-photo-wide { min-height: 430px; }

.modal-payment-hint { color: var(--text-muted); font-size: 11px; text-align: center; margin-top: -6px; }

/* ==========================================================================
   OUR STORY SECTION
   ========================================================================== */
.story-section {
    background-color: var(--bg-secondary);
    padding: 100px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.story-image-side {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.story-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.story-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(10, 10, 12, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
}

.badge-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.badge-desc {
    display: block;
    font-size: 12px;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.story-text-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.story-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.story-paragraph {
    color: var(--text-muted);
    font-size: 16px;
}

.story-footer {
    margin-top: 12px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.instagram-link:hover {
    color: var(--text-light);
}

/* ==========================================================================
   FEATURES / DIFFERENTIALS SECTION
   ========================================================================== */
.features-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: border-color var(--transition-fast);
}

.feature-card:hover {
    border-color: var(--border-highlight);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #050507;
    border-top: 1px solid var(--border-color);
    padding: 80px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition-fast);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

.admin-login-link {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.admin-login-link:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.modal-image-side {
    background-color: #f7f7f7;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-side {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* O detalhe do produto usa a rolagem da janela inteira, evitando conteúdo cortado. */
#product-modal {
    align-items: flex-start;
    overflow-y: auto;
    padding: clamp(12px, 3vh, 28px);
}

#product-modal .modal-card {
    width: min(1120px, 100%);
    max-width: 1120px;
    max-height: none;
    margin: auto;
    overflow: visible;
}

#product-modal .modal-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
    align-items: stretch;
}

#product-modal .modal-image-side {
    min-height: 620px;
    aspect-ratio: auto;
}

#product-modal .modal-product-img {
    object-fit: contain;
}

#product-modal .modal-content-side {
    min-width: 0;
    padding: clamp(28px, 4vw, 48px);
    gap: clamp(14px, 2vh, 20px);
}

.modal-product-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.modal-product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.modal-product-sku {
    display: inline-block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
}

.modal-product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
}

.modal-product-desc {
    color: var(--text-muted);
    font-size: 14px;
}

/* Choice Option Pickers */
.option-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.choice-picker-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.choice-option {
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.choice-option:hover {
    border-color: var(--text-muted);
}

.choice-option.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
}

/* Color Circles */
.color-picker-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.color-option.color-white {
    background-color: #ffffff;
}

.color-option.color-black {
    background-color: #000000;
}

.color-option.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
}

/* Quantity Counter */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: fit-content;
    margin-bottom: 20px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--transition-fast);
}

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

.qty-input {
    width: 50px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.stock-status-info {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-status-info.in-stock {
    color: #4cd964;
}

.stock-status-info.low-stock {
    color: #ffcc00;
}

.stock-status-info.out-of-stock {
    color: #ff3b30;
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 300;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-smooth);
}

.cart-drawer.open {
    right: 0;
}

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

.cart-drawer-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
}

.cart-drawer-close {
    font-size: 28px;
    cursor: pointer;
}

.cart-drawer-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cart Item Row */
.cart-item-row {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

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

.cart-item-img-box {
    width: 80px;
    height: 80px;
    background-color: #f7f7f7;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.cart-item-meta h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-variation-text {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
}

.cart-item-remove-btn {
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cart-item-remove-btn:hover {
    color: var(--accent-terracota);
}

/* Cart counter inside drawer item */
.cart-item-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.cart-item-qty-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

.cart-item-qty-input {
    width: 32px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

/* Drawer Summary */
.cart-summary-box {
    padding: 24px;
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
}

.shipping-info-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(5, 5, 7, 0.5);
    z-index: 250;
    display: none;
}

.drawer-overlay.open {
    display: block;
}

/* ==========================================================================
   CHECKOUT SCREEN
   ========================================================================== */
.checkout-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 20px;
}

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

.checkout-back {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.checkout-back:hover {
    color: var(--text-light);
}

.checkout-logo {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
}

.checkout-main {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.form-section {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.form-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.form-section-title .number {
    width: 28px;
    height: 28px;
    background-color: var(--accent-gold);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.col-12 { grid-column: span 12; }
.col-10 { grid-column: span 10; }
.col-9 { grid-column: span 9; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group select {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.form-group input[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
}

.cep-input-group {
    display: flex;
    gap: 12px;
}

.cep-input-group input {
    flex-grow: 1;
}

/* Shipping choices container */
.shipping-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-option-card {
    border: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    padding: 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.shipping-option-card:hover {
    border-color: var(--text-muted);
}

.shipping-option-card.active {
    border-color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.shipping-option-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shipping-option-details {
    display: flex;
    flex-direction: column;
}

.shipping-option-title {
    font-size: 14px;
    font-weight: 700;
}

.shipping-option-time {
    font-size: 12px;
    color: var(--text-muted);
}

.shipping-option-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
}

/* Payment Selector Card */
.payment-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.payment-method-option {
    border: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-method-option input {
    display: none;
}

.payment-method-option:hover {
    border-color: var(--text-muted);
}

.payment-method-option.active {
    border-color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.payment-method-option .pay-icon {
    font-size: 24px;
}

.payment-method-option .pay-title {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.pix-only-selector {
    grid-template-columns: 1fr;
}

.pix-only-option {
    min-height: 86px;
    padding: 18px 20px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
}

.pix-payment-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    background: #32bcad;
    color: #07110f;
    font-size: 13px;
    font-weight: 900;
}

.pix-payment-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.pix-payment-copy strong {
    color: var(--text-light);
    font-size: 16px;
}

.pix-payment-copy small,
.pix-only-details p {
    color: var(--text-muted);
    font-size: 12px;
}

.secure-payment-label {
    padding: 6px 9px;
    border: 1px solid rgba(76, 217, 100, 0.25);
    border-radius: 30px;
    color: #4cd964;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.pix-only-details {
    border-color: rgba(50, 188, 173, 0.3);
    background: rgba(50, 188, 173, 0.055);
}

.pix-only-details strong {
    display: block;
    margin-bottom: 6px;
}

.payment-details-box {
    display: none;
    border: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    padding: 24px;
    border-radius: var(--radius-md);
}

.payment-details-box.active {
    display: block;
}

.payment-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Pix display details */
.pix-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pix-qr-mock {
    width: 160px;
    height: 160px;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 10px solid #ffffff;
    background-image: radial-gradient(circle, #000 10%, transparent 11%), radial-gradient(circle, #000 10%, transparent 11%);
    background-size: 16px 16px;
    background-position: 0 0, 8px 8px;
}

.pix-copy-paste {
    width: 100%;
    display: flex;
    gap: 10px;
}

.pix-copy-paste input {
    flex-grow: 1;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-muted);
}

.boleto-alert-box {
    display: flex;
    gap: 12px;
    background-color: rgba(255, 204, 0, 0.05);
    border: 1px solid rgba(255, 204, 0, 0.15);
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
}

/* Checkout Summary Column */
.summary-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-md);
}

.summary-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    max-height: 220px;
    overflow-y: auto;
}

.checkout-item-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
}

.checkout-item-summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.checkout-item-summary-info {
    display: flex;
    flex-direction: column;
}

.checkout-item-summary-title {
    font-weight: 600;
}

.checkout-item-summary-variant {
    font-size: 12px;
    color: var(--text-muted);
}

.checkout-item-summary-price {
    font-weight: 700;
}

.checkout-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.totals-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
}

.totals-line.discount-line {
    color: #4cd964;
}

.totals-line.total-highlight {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
    margin-top: 4px;
}

/* ==========================================================================
   ORDER CONFIRMATION VIEW
   ========================================================================== */
#confirmation-view {
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.confirmation-success-icon {
    width: 64px;
    height: 64px;
    background-color: #4cd964;
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.confirmation-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.confirmation-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.order-info-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-info-card p {
    font-size: 14px;
}

.pix-payment-card {
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(50, 188, 173, 0.35);
    border-radius: var(--radius-md);
    background: rgba(50, 188, 173, 0.06);
    text-align: left;
}

.pix-payment-card h3 {
    margin: 5px 0 18px;
    font-size: 17px;
}

.pix-payment-eyebrow {
    color: #32bcad;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.pix-recipient-line,
.pix-total-line,
.pix-payment-help {
    color: var(--text-muted);
    font-size: 13px;
}

.admin-access-card {
    margin-top: 24px;
}

.admin-access-form {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(240px, 1fr) auto;
    gap: 14px;
    align-items: end;
    padding: 20px 0;
}

.admin-access-form .form-group {
    margin: 0;
}

.admin-users-list {
    display: grid;
    gap: 9px;
}

.admin-user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 13px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
}

.admin-user-row > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-user-row span {
    color: var(--text-muted);
    font-size: 12px;
}

.pix-payment-card label {
    display: block;
    margin: 15px 0 7px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
}

.pix-copy-row {
    display: flex;
    gap: 9px;
}

.pix-copy-row input {
    min-width: 0;
    flex: 1;
    padding: 11px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-light);
}

.pix-total-line {
    margin-top: 14px;
}

.pix-total-line strong {
    color: #32bcad;
    font-size: 18px;
}

.pix-payment-help {
    margin-top: 10px;
    line-height: 1.5;
}

.delivery-details-box {
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-bottom: 40px;
}

.delivery-details-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.delivery-details-box p {
    font-size: 14px;
    color: var(--text-muted);
}

.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ==========================================================================
   ADMIN PANEL SYSTEM
   ========================================================================== */
#admin-view {
    height: 100vh;
    overflow: hidden;
}

.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    height: 100%;
}

.admin-sidebar {
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 32px 0;
}

.admin-logo-box {
    padding: 0 24px 32px;
    border-bottom: 1px solid var(--border-color);
}

.admin-brand {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.admin-subtitle {
    display: block;
    font-size: 10px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 24px 12px;
    gap: 8px;
    flex-grow: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: all var(--transition-fast);
}

.admin-nav-item:hover {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.03);
}

.admin-nav-item.active {
    color: var(--text-dark);
    background-color: var(--accent-gold);
}

.admin-badge-count {
    background-color: var(--accent-terracota);
    color: var(--text-light);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: auto;
}

.admin-nav-item.active .admin-badge-count {
    background-color: var(--text-dark);
    color: var(--accent-gold);
}

.exit-btn {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    color: var(--accent-terracota);
}

.exit-btn:hover {
    background-color: rgba(200, 90, 68, 0.05);
    color: var(--text-light);
}

/* Admin Content Area */
.admin-content-area {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: var(--bg-primary);
}

.admin-content-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-content-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
}

.admin-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-role {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background-color: var(--accent-gold);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tab contents admin */
.admin-tab-content {
    display: none;
    padding: 40px;
    animation: fadeIn var(--transition-fast);
}

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

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

/* Metric Cards Admin */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.metric-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.metric-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.metric-change {
    font-size: 12px;
    color: var(--text-muted);
}

.metric-change.positive {
    color: #4cd964;
}

.metric-change.negative {
    color: #ff3b30;
}

/* Charts and grids in admin dashboard */
.admin-grid-two-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

.admin-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.admin-card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.admin-card-header .badge {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--accent-gold);
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.header-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-card-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.chart-card {
    padding-bottom: 24px;
}

.chart-svg-container {
    width: 100%;
    height: 100%;
    padding: 20px;
}

.chart-line {
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 3;
}

.chart-area {
    fill: url(#chart-gradient);
    opacity: 0.15;
}

.chart-grid-line {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
}

.chart-label {
    fill: var(--text-muted);
    font-size: 10px;
}

/* Recent sales list dashboard */
.recent-sales-list {
    display: flex;
    flex-direction: column;
}

.recent-sale-row {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color var(--transition-fast);
}

.recent-sale-row:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.recent-sale-row:last-child {
    border-bottom: none;
}

.recent-sale-left {
    display: flex;
    flex-direction: column;
}

.recent-sale-cust {
    font-size: 14px;
    font-weight: 600;
}

.recent-sale-time {
    font-size: 11px;
    color: var(--text-muted);
}

.recent-sale-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.recent-sale-val {
    font-size: 14px;
    font-weight: 700;
}

.recent-sale-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Status Badges */
.status-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 30px;
    display: inline-flex;
}

.status-pending {
    background-color: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.status-preparing {
    background-color: rgba(255, 149, 0, 0.1);
    color: #ff9500;
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.status-shipped {
    background-color: rgba(0, 122, 255, 0.1);
    color: #007aff;
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.status-delivered {
    background-color: rgba(76, 217, 100, 0.1);
    color: #4cd964;
    border: 1px solid rgba(76, 217, 100, 0.2);
}

.status-payment-failed {
    background-color: rgba(255, 59, 48, 0.1);
    color: #ff5a52;
    border: 1px solid rgba(255, 59, 48, 0.22);
}

/* Tables Admin */
.admin-table-container {
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.admin-table th {
    padding: 16px 24px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--bg-tertiary);
}

.admin-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

/* Orders table specifics */
.order-id-label {
    font-family: monospace;
    font-weight: 700;
    color: var(--accent-gold);
}

.order-customer-meta {
    display: flex;
    flex-direction: column;
}

.cust-phone-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.order-items-meta {
    max-width: 250px;
}

.order-item-tag {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.order-item-tag:last-child {
    margin-bottom: 0;
}

/* Stock editor specifics */
.stock-input {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    width: 80px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.stock-input:focus {
    border-color: var(--accent-gold);
    background-color: var(--bg-primary);
}

.price-input-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.price-input-prefix {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.price-input {
    width: 90px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

.admin-select {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
}

.admin-select:focus {
    border-color: var(--accent-gold);
}

.actions-cell {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 150px;
}

.product-media-video {
    background: #050505;
    object-fit: cover;
}

.modal-product-img.product-media-video {
    object-fit: contain;
}

.product-admin-edit-modal {
    z-index: 4200;
    overflow-y: auto;
    padding: 20px;
}

.product-admin-edit-card {
    position: relative;
    width: min(860px, 100%);
    max-height: none;
    margin: auto;
    padding: clamp(24px, 4vw, 42px);
    overflow: visible;
}

.product-admin-edit-header {
    margin-bottom: 24px;
}

.product-admin-edit-header > span {
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.product-admin-edit-header h2 {
    margin: 6px 0;
}

.product-admin-edit-header p,
.product-media-field small {
    color: var(--text-muted);
}

.product-admin-edit-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.product-admin-edit-form > label,
.product-media-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-admin-edit-form .full {
    grid-column: 1 / -1;
}

.product-admin-edit-form label > span,
.product-media-field > strong {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.product-admin-edit-form input,
.product-admin-edit-form textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-light);
    padding: 12px;
    font: inherit;
}

.product-media-field {
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.025);
}

.product-file-picker {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border: 1px dashed rgba(212,175,55,.55);
    border-radius: var(--radius-sm);
    color: var(--accent-gold);
    cursor: pointer;
}

.product-file-picker input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.product-admin-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 6px;
}

@media (max-width: 700px) {
    .product-admin-edit-form { grid-template-columns: 1fr; }
    .product-admin-edit-form .full { grid-column: auto; }
    .product-admin-edit-actions { flex-direction: column-reverse; }
}

[hidden] {
    display: none !important;
}

.admin-order-action {
    border: 1px solid rgba(255, 196, 0, 0.42);
    border-radius: var(--radius-sm);
    background: rgba(255, 196, 0, 0.08);
    color: #f5d77a;
    padding: 8px 11px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.admin-order-action:hover {
    background: rgba(255, 196, 0, 0.16);
}

.admin-order-cancel {
    border-color: rgba(255, 92, 92, 0.42);
    background: rgba(255, 92, 92, 0.08);
    color: #ff9b9b;
}

.admin-order-refund {
    border-color: rgba(87, 194, 255, 0.42);
    background: rgba(87, 194, 255, 0.08);
    color: #9bdcff;
}

.admin-order-delete {
    border-color: rgba(255, 64, 64, 0.62);
    background: rgba(130, 15, 15, 0.2);
    color: #ff7777;
}

.admin-order-delete:hover {
    background: rgba(180, 20, 20, 0.3);
}

.cep-lookup-status {
    display: block;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 11px;
}

.cep-lookup-status.loading { color: #f5d77a; }
.cep-lookup-status.success { color: #7aea8e; }
.cep-lookup-status.error { color: #ff8f8f; }

input[aria-busy="true"] {
    background-image: linear-gradient(90deg, transparent, rgba(212,175,55,.12), transparent);
    background-size: 200% 100%;
    animation: cepLookupPulse 1s linear infinite;
}

@keyframes cepLookupPulse {
    to { background-position: -200% 0; }
}

/* Responsive fixes */
@media (max-width: 900px) {
    .campaign-layout { grid-template-columns: 1fr 1fr; }
    .campaign-photo-tall, .campaign-video-card { min-height: 560px; }

    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }

    #product-modal .modal-grid {
        grid-template-columns: 1fr;
    }

    #product-modal .modal-image-side {
        min-height: 0;
        aspect-ratio: 1;
    }

    #product-modal .modal-content-side {
        padding: 28px;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none; /* In production, we'd add a burger menu, for prototype, layout responsive adapts */
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .header-container {
        padding: 15px;
    }

    #product-modal {
        padding: 8px;
    }

    #product-modal .modal-card {
        border-radius: 10px;
    }

    #product-modal .modal-content-side {
        padding: 24px 18px 28px;
        gap: 16px;
    }

    #product-modal .modal-product-title {
        padding-right: 36px;
        font-size: 25px;
    }
    
    .main-nav {
        display: none; /* Simple navbar responsive */
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .products-section {
        padding: 60px 15px;
    }

    .products-grid { grid-template-columns: 1fr; gap: 24px; }
    .product-card-footer { align-items: flex-end; gap: 12px; }
    .campaign-section { padding: 20px 15px 70px; }
    .campaign-layout { grid-template-columns: 1fr; }
    .campaign-photo, .campaign-video-card, .campaign-photo-wide { min-height: 520px; }
    
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .admin-content-header {
        padding: 16px;
    }

    .admin-content-header h2 {
        font-size: 19px;
    }

    .admin-user-profile .user-role {
        display: none;
    }

    .admin-grid-two-cols {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        gap: 10px;
    }
    
    .col-6, .col-4 {
        grid-column: span 12;
    }
}

/* ==========================================================================
   FASE 2: NOVAS ESTILIZAÇÕES (USER AUTH, CHAT & PRODUTOS)
   ========================================================================== */

/* Botão do Usuário no Cabeçalho */
.header-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent-gold) !important;
    color: var(--accent-gold) !important;
}

/* Modal de Autenticação */
.auth-modal-card {
    width: min(450px, calc(100vw - 32px));
    max-width: 450px;
    max-height: calc(100vh - 32px);
    overflow: hidden;
    transition: width 180ms ease, max-width 180ms ease;
}

.auth-modal-card.is-registering {
    width: min(720px, calc(100vw - 32px));
    max-width: 720px;
}

.auth-modal-content {
    padding: 36px;
}

#auth-modal .form-grid {
    gap: 16px;
}

.register-intro {
    max-width: 540px;
    margin: -14px auto 22px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

#auth-modal .register-form-grid {
    max-height: min(55vh, 520px);
    overflow-y: auto;
    padding: 2px 10px 4px 2px;
    scrollbar-color: var(--border-color) transparent;
}

.register-confirmation {
    margin-top: 2px;
}

#auth-modal .register-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}

#auth-modal .register-checkbox input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--accent-gold);
}

#auth-modal .form-group input {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-light);
    width: 100%;
}

#auth-modal .form-group input:focus {
    border-color: var(--accent-gold);
}

.auth-status {
    margin: 0 0 16px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 196, 0, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 196, 0, 0.08);
    color: #f5d77a;
    font-size: 12px;
    line-height: 1.45;
}

.auth-status.is-error {
    border-color: rgba(255, 92, 92, 0.4);
    background: rgba(255, 92, 92, 0.08);
    color: #ffb0b0;
}

@media (max-width: 640px) {
    .auth-modal-content {
        padding: 30px 20px 22px;
    }

    #auth-modal .register-form-grid {
        max-height: 58vh;
    }

    #auth-modal .register-form-grid > .form-group {
        grid-column: span 12;
    }
}

/* Área Minha Conta & Pedidos Clientes */
.customer-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.customer-orders-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.customer-order-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.customer-order-metric strong {
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
}

.customer-order-metric span {
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.customer-order-card {
    border: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 13px;
    transition: all var(--transition-fast);
}

.customer-order-card:hover {
    border-color: var(--border-highlight);
}

.customer-order-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}

.customer-order-items {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.customer-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.customer-order-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.customer-order-statuses {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.customer-order-status small {
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
}

.customer-orders-empty {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 18px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-align: center;
}

.customer-orders-empty strong {
    color: var(--text-light);
}

.customer-cancel-order-btn {
    width: 100%;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(200, 90, 68, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(200, 90, 68, 0.06);
    color: #e89b8a;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.customer-cancel-order-btn:hover {
    background: rgba(200, 90, 68, 0.14);
}

.customer-cancellation-state,
.customer-cancellation-support {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.06);
    color: var(--text-muted);
    font-size: 12px;
}

.customer-cancellation-state strong,
.customer-cancellation-support a {
    color: var(--accent-gold);
}

.cancellation-modal-card {
    width: min(520px, calc(100% - 32px));
}

.cancellation-modal-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 36px;
}

.cancellation-modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
}

.cancellation-modal-content p,
.cancellation-legal-note {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.cancellation-eyebrow {
    color: var(--accent-gold);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.cancellation-modal-content textarea {
    width: 100%;
    resize: vertical;
    min-height: 100px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-light);
    font: inherit;
}

.cancellation-legal-note {
    padding: 12px;
    border-left: 3px solid var(--accent-gold);
    background: rgba(212, 175, 55, 0.06);
}

.cancellation-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.forgot-password-link {
    display: block;
    margin: 9px 0 0 auto;
    padding: 0;
    color: var(--accent-gold);
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.forgot-password-link:hover { text-decoration: underline; }
.forgot-password-link:disabled { opacity: .6; cursor: wait; }

.password-reset-title {
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.password-reset-intro {
    margin: 0 auto 24px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

#password-reset-form .form-grid { margin-bottom: 22px; }

.admin-order-edit-card {
    width: min(860px, calc(100vw - 32px));
    max-width: 860px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.admin-order-edit-content {
    padding: 34px;
}

.admin-order-edit-content h2 {
    margin: 8px 0 6px;
    font-family: 'Montserrat', sans-serif;
}

.admin-order-edit-content h3 {
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-order-edit-help {
    color: var(--text-muted);
    font-size: 13px;
}

.admin-edit-order-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-edit-item-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.5fr) repeat(3, minmax(90px, 0.7fr)) auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.admin-edit-item-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: center;
    font-size: 12px;
}

.admin-edit-item-name span,
.admin-edit-item-row label {
    color: var(--text-muted);
    font-size: 10px;
}

.admin-edit-item-row label {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-edit-item-row select,
.admin-edit-item-row input,
.admin-order-edit-content textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-light);
    padding: 9px;
}

.admin-edit-item-price,
.admin-edit-order-total {
    display: flex;
    align-items: center;
    min-height: 39px;
    color: var(--text-light);
    font-size: 13px;
    white-space: nowrap;
}

.admin-order-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.cancellation-admin-card {
    margin-bottom: 18px;
}

.admin-cancellations-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 20px;
}

.admin-cancellation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.04);
}

.admin-cancellation-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.admin-cancellation-main p {
    margin: 0;
}

.admin-cancellation-title {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    color: var(--text-light);
}

.admin-cancellation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-cancellations-empty {
    padding: 18px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-align: center;
}

.status-cancellation {
    border-color: rgba(200, 90, 68, 0.35) !important;
    background: rgba(200, 90, 68, 0.1) !important;
    color: #e89b8a !important;
}

.admin-order-preserved {
    color: var(--text-muted);
    font-size: 10px;
}

.account-locked-field {
    opacity: 0.72;
    cursor: not-allowed;
}

@media (max-width: 520px) {
    .customer-orders-overview {
        grid-template-columns: 1fr;
    }

    .customer-order-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-order-status {
        align-items: flex-start;
    }

    .customer-order-statuses {
        align-items: flex-start;
        flex-direction: column;
    }

    .pix-only-option {
        align-items: flex-start;
        flex-wrap: wrap;
    }

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

    .secure-payment-label {
        margin-left: 58px;
    }

    .admin-cancellation-item,
    .cancellation-modal-actions,
    .admin-cancellation-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cancellation-modal-content {
        padding: 30px 20px 22px;
    }

    .admin-order-edit-content {
        padding: 28px 18px 20px;
    }

    .admin-edit-item-row {
        grid-template-columns: 1fr 1fr;
    }

    .admin-edit-item-name,
    .admin-edit-item-price {
        grid-column: 1 / -1;
    }

    .admin-order-edit-content .form-group {
        grid-column: span 12;
    }

    .admin-order-edit-actions {
        flex-direction: column-reverse;
    }
}

/* ==========================================================================
   ATENDIMENTO PELO WHATSAPP
   ========================================================================== */
.floating-cart {
    position: fixed;
    right: 30px;
    bottom: 92px;
    z-index: 997;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 154px;
    padding: 11px 15px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 999px;
    background: rgba(18, 18, 22, 0.96);
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.floating-cart:hover,
.floating-cart:focus-visible {
    border-color: var(--accent-gold);
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.floating-cart-icon {
    position: relative;
    display: inline-flex;
    color: var(--accent-gold);
}

.floating-cart-icon > span {
    position: absolute;
    top: -9px;
    right: -10px;
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent-terracota);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.floating-cart-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.floating-cart-copy strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.floating-cart-copy small {
    margin-top: 3px;
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
}

.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: #25d366;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #38df76;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.whatsapp-float img {
    display: block;
    width: 25px;
    height: 25px;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION STYLES
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(18, 18, 22, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    z-index: 998;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: 4px;
    flex-grow: 1;
    height: 100%;
    transition: all var(--transition-fast);
}

.mobile-nav-item .icon {
    font-size: 18px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.mobile-nav-item.active {
    color: var(--accent-gold);
}

.mobile-cart-badge {
    position: absolute;
    top: -5px;
    right: -12px;
    background-color: var(--accent-gold);
    color: var(--text-light);
    font-size: 8px;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mostrar mobile nav e ajustar no mobile */
@media (max-width: 600px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 60px;
    }
    
    .whatsapp-float {
        right: 16px;
        bottom: 76px;
    }

    .floating-cart {
        display: none;
    }
}

/* Tipografia inspirada na assinatura visual MARILENE */
.hero-title,
.section-title,
.campaign-heading h2,
.story-title,
.product-card-title,
.modal-product-title,
.cart-drawer-header h2,
.feature-card h3,
.form-section-title,
.summary-card h3,
.confirmation-title,
.delivery-details-box h3,
.admin-content-header h2,
.admin-card-header h3,
.footer-brand h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.015em;
}

/* Notificacoes de novos pedidos no painel administrativo */
.admin-notifications {
    position: relative;
    margin-left: auto;
}

.admin-content-header .admin-user-profile {
    margin-left: 12px;
}

.admin-notification-trigger {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.admin-notification-trigger:hover,
.admin-notification-trigger[aria-expanded="true"] {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.09);
}

.admin-notification-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.admin-notification-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #e62c32;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.admin-notification-panel {
    position: absolute;
    z-index: 120;
    top: calc(100% + 10px);
    right: 0;
    width: min(390px, calc(100vw - 32px));
    overflow: hidden;
    color: var(--text-light);
    background: #111217;
    border: 1px solid rgba(212, 175, 55, .35);
    border-radius: var(--radius-md);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .48);
}

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

.admin-notification-panel-header > div {
    display: grid;
    gap: 3px;
}

.admin-notification-panel-header span {
    color: var(--text-muted);
    font-size: 11px;
}

.admin-notification-panel-header button {
    padding: 0;
    color: var(--accent-gold);
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.admin-notification-list {
    max-height: 430px;
    overflow-y: auto;
}

.admin-notification-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 16px;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.admin-notification-item:hover {
    background: rgba(212, 175, 55, .08);
}

.admin-notification-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    margin-top: 5px;
    background: #e62c32;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(230, 44, 50, .12);
}

.admin-notification-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.admin-notification-copy strong,
.admin-notification-copy span,
.admin-notification-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-notification-copy span,
.admin-notification-copy small {
    color: var(--text-muted);
    font-size: 11px;
}

.admin-notification-empty {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 24px;
    text-align: center;
}

.admin-notification-empty > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #4cd964;
    background: rgba(76, 217, 100, .1);
    border-radius: 50%;
}

.admin-notification-empty small { color: var(--text-muted); }

.admin-new-order-toast {
    position: fixed;
    z-index: 400;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 290px;
    padding: 15px 18px;
    color: #fff;
    text-align: left;
    background: #15161b;
    border: 1px solid rgba(212, 175, 55, .58);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .5);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.admin-new-order-toast.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.admin-new-order-toast > span:last-child { display: grid; gap: 3px; }
.admin-new-order-toast small { color: var(--text-muted); }

.admin-order-highlight td {
    animation: admin-order-attention 2.4s ease;
}

@keyframes admin-order-attention {
    0%, 35% { background: rgba(212, 175, 55, .2); }
    100% { background: transparent; }
}

@media (max-width: 700px) {
    .admin-notification-label { display: none; }
    .admin-content-header { gap: 8px; }
    .admin-user-profile .user-role { display: none; }
    .admin-notification-panel { right: -54px; }
    .admin-new-order-toast { right: 12px; bottom: 72px; min-width: 0; width: calc(100vw - 24px); }
}

.hero-title,
.campaign-heading h2,
.story-title {
    text-wrap: balance;
    letter-spacing: 0.025em;
}

.product-card-price,
.modal-product-price,
.total-highlight span:last-child {
    font-family: var(--font-display);
    font-variant-numeric: lining-nums;
    letter-spacing: 0.02em;
}



