:root {
    /* Color Palette */
    --color-bg: #FDFBF7;
    /* Cream / off-white */
    --color-bg-alt: #FAF8F5;
    --color-text: #1A1A1A;
    /* Dark charcoal */
    --color-text-muted: #555555;
    --color-accent: #D4A373;
    /* Honey tone */
    --color-accent-dark: #B9875A;
    --color-gold: #C19A6B;
    /* Light Gold detail */
    --color-white: #FFFFFF;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1EBE5C;
    --color-border: #E8E3DF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 4rem;
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.section {
    padding: var(--space-6) 0;
}

.bg-light {
    background-color: var(--color-bg-alt);
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: var(--space-2);
}

.mt-3 {
    margin-top: var(--space-3);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-5 {
    margin-top: var(--space-5);
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.text-muted {
    color: var(--color-text-muted);
}

.max-w-md {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    gap: 0.5rem;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn.full-width {
    width: 100%;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-text {
    background: transparent;
    color: var(--color-accent-dark);
    font-weight: 600;
    padding: 0;
    border-bottom: 1px solid var(--color-accent);
    border-radius: 0;
}

.btn-text:hover {
    color: var(--color-text);
    border-color: var(--color-text);
}

/* Header */
.site-header {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

.desktop-nav {
    display: flex;
    gap: var(--space-4);
}

.desktop-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--color-accent-dark);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .site-header .btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, #FDFBF7, #FAF8F5);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.scarcity-badge {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-dark);
    margin-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 4px;
}

.hero-title {
    margin-bottom: var(--space-3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--color-accent-dark);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    margin-bottom: var(--space-4);
}

.trust-indicators {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 600px) {
    .hero-cta {
        flex-direction: column;
    }

    .trust-indicators {
        flex-direction: column;
        gap: var(--space-2);
        align-items: center;
    }
}

/* Product Grid */
.section-header {
    text-align: center;
    margin-bottom: var(--space-5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-image {
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-badge {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    background: var(--color-white);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.product-info {
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.product-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-3);
    flex-grow: 1;
}

.weight-toggle {
    display: flex;
    background: var(--color-bg);
    border-radius: var(--border-radius-sm);
    padding: 4px;
    margin-bottom: var(--space-3);
}

.toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.toggle-btn.active {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

.feature-list {
    list-style: none;
    margin-top: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feature-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--color-accent-dark);
}

.feature-list p {
    color: var(--color-text-muted);
}

/* Scarcity Band */
.scarcity-band {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: var(--space-2) 0;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-alt);
    padding: var(--space-6) 0 var(--space-3) 0;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: var(--space-2);
}

.link-col a {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    transition: var(--transition);
}

.link-col a:hover {
    color: var(--color-accent-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-3);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 12px var(--space-2);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    z-index: 99;
    gap: 12px;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }

    .mobile-sticky-cta .btn {
        flex: 1;
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    body {
        padding-bottom: 80px;
    }

    /* Prevent footer overlap */
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: var(--space-2);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--color-white);
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    padding: var(--space-4);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
}

.modal-header {
    margin-bottom: var(--space-3);
    text-align: center;
}

.form-group {
    margin-bottom: var(--space-3);
}

.form-row {
    display: flex;
    gap: var(--space-2);
}

.form-row.half-half>* {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: var(--color-bg-alt);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent-dark);
    background-color: var(--color-white);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.inline-link {
    text-decoration: underline;
    color: var(--color-text);
}

.centered-view {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

/* PDP Specific Styles */
.pdp-section {
    padding-top: var(--space-4);
}

.pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: start;
}

@media (max-width: 900px) {
    .pdp-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

.pdp-image {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    background-size: cover;
    background-position: center;
}

.breadcrumb {
    font-size: 0.9rem;
}

.pdp-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-2);
}

.pdp-price {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-accent-dark);
}

.pdp-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.block {
    display: block;
}

.p-large {
    padding: 12px;
    font-size: 1rem;
}

.action-stack {
    display: flex;
    flex-direction: column;
}

/* Accordion */
.pdp-accordion {
    border-top: 1px solid var(--color-border);
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: var(--space-3) 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header span {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.accordion-header.open span {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: var(--space-3);
    color: var(--color-text-muted);
}

.accordion-content.active {
    max-height: 500px;
    /* Expands to fit content */
}

/* Admin Table */
.table-responsive {
    overflow-x: auto;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: var(--space-2);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.admin-table th {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.new {
    background: #FFF3CD;
    color: #856404;
}

.status-badge.in-progress {
    background: #CCE5FF;
    color: #004085;
}

.status-badge.success {
    background: #D4EDDA;
    color: #155724;
}

/* About Section */
.about-section {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
}

.about-content h3 {
    color: var(--color-accent-dark);
    font-size: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.pt-4 {
    padding-top: var(--space-4);
}

.mt-6 {
    margin-top: calc(var(--space-6) * 1.5);
}