/* ============================================================
   JAS77 Wholesale — Core Styling & Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-darker: #0c0c0e;
    --bg-dark: #121216;
    --bg-card: #1c1c22;
    --bg-input: #25252c;
    
    --primary: #C5A880; /* Warm Champagne Gold */
    --primary-hover: #e0be8d;
    --accent: #D4AF37; /* Metallic Gold Accent */
    --accent-glow: rgba(212, 175, 55, 0.15);
    
    --text-white: #ffffff;
    --text-light: #e5e7eb;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    
    --border: #2a2a35;
    --border-focus: #C5A880;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Theme Details */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --radius-sm: 6px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ─── GLOBAL RESET & CORE STYLES ───────────────────────────── */

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darker);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── TYPOGRAPHY ───────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-white);
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

/* ─── BUTTONS & UTILITIES ──────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #a88c64 100%);
    color: #0c0c0e;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.4);
}

.btn-outline {
    border: 2px solid var(--border);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(197, 168, 128, 0.05);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--bg-dark);
}

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

/* ─── HEADER & NAV ─────────────────────────────────────────── */

.ann-bar {
    background-color: #000;
    border-bottom: 1px solid var(--border);
    font-size: 0.825rem;
    padding: 6px 0;
    color: var(--text-muted);
}

.ann-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ann-contact {
    display: flex;
    gap: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 12, 14, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(12, 12, 14, 0.95);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
}

.logo span {
    color: var(--primary);
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.3px;
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-icon {
    position: relative;
    padding: 8px;
    font-size: 1.25rem;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary);
    color: #0c0c0e;
    font-size: 0.75rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ─── HERO SECTION ─────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 80% 50%, rgba(197, 168, 128, 0.08) 0%, rgba(12, 12, 14, 0) 60%), #0c0c0e;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.15);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

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

.hero-img-container {
    position: relative;
}

.hero-img-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    z-index: 1;
}

.hero-img {
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
    animation: float 6s ease-in-out infinite;
}

/* ─── FEATURES GRID ────────────────────────────────────────── */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(197, 168, 128, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

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

/* ─── PRODUCT CATALOG ──────────────────────────────────────── */

.section-header {
    max-width: 600px;
    margin: 0 auto 56px auto;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: var(--shadow-glow), var(--shadow);
}

.product-img-wrapper {
    position: relative;
    background-color: #0b0b0d;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.product-card-img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

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

.product-card-cat {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-card-title {
    margin-bottom: 12px;
    font-size: 1.25rem;
    line-height: 1.3;
}

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

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

.product-card-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.product-card-price-range {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-white);
}

/* ─── FILTER TABS ──────────────────────────────────────────── */

.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #0c0c0e;
}

/* ─── ABOUT & SHOWROOM ─────────────────────────────────────── */

.about-hero {
    padding: 100px 0;
    background: linear-gradient(180deg, #0c0c0e 0%, var(--bg-dark) 100%);
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius);
}

.about-feature-box h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.about-feature-box p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.showroom-banner {
    background: radial-gradient(circle at 10% 20%, rgba(197, 168, 128, 0.06) 0%, transparent 50%), var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.showroom-details h3 {
    margin-bottom: 16px;
}

.showroom-details p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.showroom-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.showroom-info-item {
    display: flex;
    gap: 12px;
}

.showroom-info-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 4px;
}

.showroom-info-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.showroom-info-item p {
    font-size: 0.85rem;
    margin: 0;
}

/* ─── PRODUCT DETAIL PAGE ──────────────────────────────────── */

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 40px;
}

.detail-gallery {
    background-color: #0b0b0d;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-main-img {
    max-height: 100%;
    object-fit: contain;
}

.detail-info h1 {
    font-size: 2.25rem;
    margin-bottom: 8px;
}

.detail-cat {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.detail-pricing-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.price-box-item {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.price-val {
    font-size: 1.75rem;
    font-weight: 700;
}

.price-val.gold {
    color: var(--primary);
}

.moq-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--warning);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.detail-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.detail-actions {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    margin-bottom: 32px;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.qty-label {
    font-weight: 600;
}

.qty-input-group {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--bg-darker);
}

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

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

.qty-num {
    width: 50px;
    height: 40px;
    text-align: center;
    font-weight: 600;
    border-left: 2px solid var(--border);
    border-right: 2px solid var(--border);
}

.specs-section {
    margin-top: 60px;
}

.specs-section h3 {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 14px 20px;
}

.specs-label {
    font-weight: 600;
    color: var(--text-white);
    width: 30%;
    background-color: rgba(255, 255, 255, 0.01);
}

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

/* ─── CART PAGE ────────────────────────────────────────────── */

.cart-table-wrapper {
    overflow-x: auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.cart-table th {
    text-align: left;
    padding: 18px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-bottom: 2px solid var(--border);
    color: var(--text-white);
}

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

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-product-img {
    width: 70px;
    height: 70px;
    background-color: #0b0b0d;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-product-img img {
    max-height: 100%;
    object-fit: contain;
}

.cart-product-title {
    font-weight: 600;
    color: var(--text-white);
}

.cart-product-sku {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.cart-price {
    font-weight: 600;
}

.cart-total {
    font-weight: 700;
    color: var(--primary);
}

.cart-remove-btn {
    color: var(--danger);
    cursor: pointer;
    font-size: 1.15rem;
    transition: var(--transition-fast);
}

.cart-remove-btn:hover {
    color: #ef4444;
    transform: scale(1.1);
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.cart-checkout-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: var(--radius);
    width: 60%;
}

.cart-checkout-form h3 {
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-control {
    background-color: var(--bg-input);
    border: 2px solid var(--border);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-white);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.15);
}

.cart-estimate-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius);
    width: 35%;
}

.cart-estimate-box h3 {
    margin-bottom: 20px;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.estimate-row:last-of-type {
    border-bottom: none;
    margin-bottom: 24px;
}

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

.estimate-val {
    font-weight: 600;
}

.estimate-val.total {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.empty-cart-box {
    text-align: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 64px 32px;
    border-radius: var(--radius);
}

.empty-cart-icon {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 24px;
}

.empty-cart-box h2 {
    margin-bottom: 12px;
}

.empty-cart-box p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ─── CONTACT PAGE ─────────────────────────────────────────── */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius);
}

.contact-info-card h3 {
    margin-bottom: 24px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-link-item {
    display: flex;
    gap: 16px;
}

.contact-link-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 4px;
}

.contact-link-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-link-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 250px;
}

.contact-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 48px;
    border-radius: var(--radius);
}

.contact-form-wrapper h3 {
    margin-bottom: 12px;
}

.contact-form-wrapper > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ─── FOOTER SECTION ───────────────────────────────────────── */

.site-footer {
    margin-top: auto;
    background-color: #08080a;
    border-top: 1px solid var(--border);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #0c0c0e;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--bg-card);
}

.newsletter-form input {
    padding: 10px 16px;
    flex-grow: 1;
    font-size: 0.875rem;
    color: var(--text-white);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-btn {
    background-color: var(--primary);
    color: #0c0c0e;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    background-color: #000;
    border-top: 1px solid var(--border);
    padding: 24px 0;
    font-size: 0.825rem;
    color: var(--text-muted);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ─── CONFIRMATION PAGE ────────────────────────────────────── */

.confirm-box {
    text-align: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 64px 40px;
    border-radius: var(--radius);
    max-width: 600px;
    margin: 40px auto;
}

.confirm-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 24px;
}

.confirm-box h2 {
    margin-bottom: 16px;
}

.confirm-box p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.order-num-tag {
    display: inline-block;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    padding: 10px 20px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

/* ─── SECURE ADMIN PANEL ───────────────────────────────────── */

.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-darker);
    padding: 24px;
}

.admin-login-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: var(--radius);
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow);
}

.admin-login-box h2 {
    margin-bottom: 8px;
    text-align: center;
}

.admin-login-box > p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
    font-size: 0.875rem;
}

.admin-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.admin-alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

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

.admin-sidebar-header {
    padding: 0 24px 24px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.admin-sidebar-header .logo {
    font-size: 1.25rem;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 16px;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-fast);
}

.admin-menu-link:hover, .admin-menu-link.active {
    background-color: rgba(197, 168, 128, 0.08);
    color: var(--primary);
}

.admin-menu-link.logout {
    margin-top: auto;
    color: var(--danger);
}

.admin-menu-link.logout:hover {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--danger);
}

.admin-main {
    flex-grow: 1;
    background-color: var(--bg-darker);
    display: flex;
    flex-direction: column;
}

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

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

.admin-user-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.admin-content {
    padding: 40px;
    flex-grow: 1;
    overflow-y: auto;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.admin-stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background-color: rgba(197, 168, 128, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.admin-stat-info h3 {
    font-size: 1.75rem;
    line-height: 1.2;
}

.admin-stat-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-panel-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 32px;
}

.admin-panel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-pending { background-color: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); color: var(--warning); }
.badge-processing { background-color: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); color: var(--info); }
.badge-completed { background-color: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: var(--success); }
.badge-cancelled { background-color: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: var(--danger); }

/* ─── ANIMATIONS ───────────────────────────────────────────── */

@keyframes float {
    0%, 100% { transform: translateY(0) perspective(1000px) rotateY(-5deg); }
    50% { transform: translateY(-15px) perspective(1000px) rotateY(-5deg); }
}

/* ─── RESPONSIVE STYLES ────────────────────────────────────── */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cart-summary {
        flex-direction: column;
    }
    
    .cart-checkout-form, .cart-estimate-box {
        width: 100%;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background-color: var(--bg-darker);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition);
        border-top: 1px solid var(--border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-img {
        transform: none;
        max-height: 380px;
        margin: 0 auto;
        animation: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .showroom-banner {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
