:root {
    /* Colors */
    --bg: #0d0d0d;
    --surface: #1a1a1a;
    --surface-hover: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    
    --text: #f5f0e8;
    --text-muted: #8a857a;
    
    --accent: #c45c26;
    --accent-hover: #e07030;
    --accent-muted: rgba(196, 92, 38, 0.2);
    
    --success: #4a7c59;
    --success-light: #8fcd9e;
    --error: #dc2626;
    --error-light: #f87171;
    --warning: #fbbf24;
    --info: #38bdf8;

    /* Spacing & Sizing */
    --radius: 8px;
    --radius-sm: 4px;
    --radius-full: 100px;
    --container-max: 1200px;
    --header-height: 80px;
    
    /* Fonts */
    --font: "DM Sans", system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --transition: 0.2s ease;
}

/* --- Base Styles --- */
* {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.5;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Background Effect */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("/asset/img/original-logo.png") center/cover no-repeat;
    filter: blur(60px) brightness(0.4);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

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

a:hover {
    color: var(--accent-hover);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    margin: 0 0 1rem;
    line-height: 1.2;
}

.brand-gradient {
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Layout Components --- */
.main {
    flex: 1;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 60px;
    width: auto;
}

.brand-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .hero-subtitle { display: none; }
    .brand-title { font-size: 1.5rem; }
}

/* --- Navigation --- */
.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
}

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

.nav-link {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

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

.nav-link.active {
    color: var(--accent);
    cursor: default;
}

.cart-toggle,
.account-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cart-toggle:hover,
.account-toggle:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    padding: 0.6rem 1rem;
    font-weight: 700;
}

@media (max-width: 640px) {
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 1.5rem;
        margin-top: 0.5rem;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 1rem;
        flex-direction: column;
        min-width: 200px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        z-index: 110;
    }
    .nav-links.open { display: flex; }
    .nav-links > * { width: 100%; }
}

/* --- Form Elements --- */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-muted);
}

label {
    display: block;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

label span, label strong {
    display: block;
    margin-bottom: 0.4rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.checkbox-label input {
    width: auto !important;
    margin: 0;
}

.status-select {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    width: auto;
    min-width: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .form-row.three-col { grid-template-columns: 1fr; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary, .btn-checkout, .btn-add {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover, .btn-checkout:hover, .btn-add:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    color: var(--text);
    border-color: var(--text-muted);
    background: var(--surface-hover);
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

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

.btn-danger {
    background: rgba(220, 38, 38, 0.1);
    color: var(--error);
    border-color: rgba(220, 38, 38, 0.2);
}

.btn-danger:hover {
    background: var(--error);
    color: #fff;
}

/* --- Cards --- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

/* Products Header */
.products-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-wrap input {
    padding-right: 2.75rem;
    width: 100%;
}

.search-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
}

.sort-wrap select {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-full);
}

/* Product Grid & Card */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

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

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    animation: fadeInUp 0.3s ease both;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(196, 92, 38, 0.15);
}

.product-grid .product-card:nth-child(2) { animation-delay: 40ms; }
.product-grid .product-card:nth-child(3) { animation-delay: 80ms; }
.product-grid .product-card:nth-child(4) { animation-delay: 120ms; }
.product-grid .product-card:nth-child(5) { animation-delay: 160ms; }
.product-grid .product-card:nth-child(6) { animation-delay: 200ms; }
.product-grid .product-card:nth-child(7) { animation-delay: 240ms; }
.product-grid .product-card:nth-child(8) { animation-delay: 280ms; }
.product-grid .product-card:nth-child(n+9) { animation-delay: 320ms; }

.product-card .img-wrap {
    aspect-ratio: 1;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

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

.product-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.product-card .description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Order Cards */
.order-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* --- Modals & Overlays --- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

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

.auth-modal, .checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.95);
    transition: all var(--transition);
}

.auth-modal:not(.hidden), .checkout-modal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.auth-inner, .checkout-inner {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn { flex: 1; }

/* --- Cart Drawer --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--surface);
    border-left: 1px solid var(--border);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.cart-drawer.open, .cart-drawer[aria-hidden="false"] {
    transform: translateX(0);
}

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

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

.cart-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cart-qty-control button {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--bg);
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-qty-control button:hover {
    background: var(--surface-hover);
    color: var(--accent);
}

.cart-qty-num {
    padding: 0 0.75rem;
    font-weight: 700;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.cart-total strong { color: var(--accent); }

/* --- Admin Styles --- */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
}

.admin-table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.admin-table th {
    text-align: left;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.admin-table tr:hover td {
    background: var(--surface-hover);
}

/* Status Badges */
.status-badge, .order-status, .ticket-status {
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.status-badge.paid, .order-status.paid, .ticket-status.open { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.status-badge.pending, .order-status.pending, .order-status.fulfilling { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
.status-badge.shipped, .order-status.shipped { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.status-badge.cancelled, .order-status.cancelled, .ticket-status.closed { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }
.order-status.completed { background: rgba(192, 132, 252, 0.15); color: #c084fc; }

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    flex-shrink: 0;
}

/* Tabs */
.tabs, .profile-tabs, .admin-subtabs {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
    padding-bottom: 1px;
}

.tab-btn, .tab-group-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
}

.tab-btn:hover, .tab-group-btn:hover { color: var(--text); }
.tab-btn.active, .tab-group-btn.active { color: var(--accent); }
.tab-btn.active::after, .tab-group-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.tab-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    min-width: 1.2rem;
    text-align: center;
}

.cart-count {
    background: var(--accent);
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    min-width: 1.2rem;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* --- Profile & Account --- */
.profile-settings {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.small-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
}

.shipping-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.shipping-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shipping-card.default {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.account-dropdown { position: relative; }
.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 200px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    z-index: 120;
}

.account-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link, .dropdown-content button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-link:hover, .dropdown-content button:hover {
    background: var(--surface-hover);
    color: var(--accent);
}

.user-name-display {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.25rem;
    display: block;
}

/* --- Storage Grid --- */
.storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.storage-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform var(--transition);
    overflow: hidden;
}

.storage-item:hover { transform: translateY(-4px); border-color: var(--accent); }

.storage-preview {
    aspect-ratio: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storage-info { padding: 1rem; }

/* --- Coupon Section --- */
.coupon-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px dashed var(--border-strong);
}

.coupon-section label {
    margin-bottom: 0.5rem;
}

.coupon-input-row {
    display: flex;
    gap: 0.5rem;
}

.coupon-input-row input {
    flex: 1;
    margin: 0;
}

.coupon-message {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* --- Variants Admin Section --- */
.variants-admin-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.variants-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.variants-admin-header h3 {
    margin: 0;
    font-size: 1rem;
}

.variant-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --- Ticket Detail Panel --- */
.ticket-detail-panel {
    margin-top: 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.ticket-detail-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Footer --- */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem;
    margin-top: auto;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--text); }
.footer-links a.active { color: var(--text); font-weight: 600; }

.copyright { color: var(--text-muted); font-size: 0.85rem; }

/* --- Utilities --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.loading { color: var(--text-muted); padding: 2rem; text-align: center; }

.error-message, .checkout-message.error, .auth-message.error {
    padding: 1rem;
    background: rgba(220, 38, 38, 0.1);
    color: var(--error-light);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.success-message, .checkout-message, .auth-message {
    padding: 1rem;
    background: rgba(74, 124, 89, 0.1);
    color: var(--success-light);
    border-radius: var(--radius);
    margin-top: 1rem;
}

/* Responsive Overrides */
@media (max-width: 640px) {
    .main { padding: 1.5rem 1rem; }
    .auth-inner, .checkout-inner { padding: 1.5rem; }
    .form-actions { flex-direction: column; }
    .cart-drawer { max-width: 100%; }
}

/* --- Analytics --- */
.admin-analytics {
    margin-bottom: 2rem;
}

.analytics-container {
    margin-top: 1rem;
}

.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.chart-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 280px;
    position: relative;
}

.chart-wrap h3 {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

.chart-wrap canvas {
    height: calc(100% - 2rem) !important;
}

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

/* ── FAQ Accordion ── */
.faq-container {
    max-width: 760px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text, #1a202c);
    gap: 1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--muted, #64748b);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"]::after {
    content: '−';
}

.faq-answer {
    padding: 0 0 1.1rem;
    color: var(--muted, #64748b);
    line-height: 1.7;
    font-size: 0.95rem;
}

.share-link:hover {
    background: var(--border);
}

.newsletter-signup {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.newsletter-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    background: var(--surface);
    color: var(--text);
}
.newsletter-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.newsletter-message.success { color: var(--paid); }
.newsletter-message.error { color: var(--cancelled); }

@media print {
    .site-header,
    .site-footer,
    .print-btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    @page {
        margin: 1.5cm;
    }
}
