/* ==========================================================================
   SIGNATURE CRAFT - Premium Tile Catalogue
   Cinematic Luxury Dark Theme
   ========================================================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #080808;
    color: #F5F5F0;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CSS Variables */
:root {
    --bg-main: #080808;
    --bg-surface: #121212;
    --bg-elevated: #1A1A1A;
    --gold: #D4AF37;
    --gold-muted: #A68A2D;
    --gold-glow: rgba(212, 175, 55, 0.15);
    --text-primary: #F5F5F0;
    --text-secondary: #A1A1AA;
    --text-muted: #52525B;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(212, 175, 55, 0.4);
    --transition-base: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.font-serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
}

/* Text Utilities */
.text-gold { color: var(--gold); }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* Section Common Styles */
.section-overline {
    font-size: 0.875rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 2.5rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    line-height: 1.1;
}

.section-title-sm {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

@media (min-width: 640px) {
    .section-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .section-title { font-size: 3.5rem; }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0 3rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition-base);
}

.nav-logo:hover img {
    opacity: 0.85;
}

@media (min-width: 768px) {
    .nav-logo img { height: 56px; }
}

.hero-logo {
    display: block;
    margin: 0 auto 1.5rem;
    height: 160px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
    animation: heroLogoEntrance 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heroLogoEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (min-width: 768px) {
    .hero-logo { height: 220px; }
}

@media (min-width: 1024px) {
    .hero-logo { height: 260px; }
}

.footer-logo-img {
    display: block;
    margin: 0 auto 0.5rem;
    height: 80px;
    width: auto;
    object-fit: contain;
}

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

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
}

.mobile-menu-btn {
    display: flex;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--border-subtle);
}

.mobile-nav.active {
    display: flex;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.7rem;
}

.btn-gold {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.btn-gold:hover {
    background: #C5A059;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.5);
}

.btn-gold-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.btn-icon {
    padding: 0.75rem;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-icon:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn i {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://static.prod-images.emergentagent.com/jobs/2cf3e89c-8d17-493c-b281-4855f88656a8/images/a969f75b7c5dc81dd3d321fd742c7735908a772bca6ff931109ee0ed9b733c3f.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 64rem;
}

.hero-company {
    font-size: 0.875rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-company { font-size: 1rem; }
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 3rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1;
}

@media (min-width: 640px) {
    .hero-title { font-size: 4rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 5.5rem; }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle { font-size: 1.25rem; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section,
.featured-section,
.categories-section,
.contact-cta {
    padding: 6rem 1.5rem;
}

@media (min-width: 768px) {
    .about-section,
    .featured-section,
    .categories-section,
    .contact-cta {
        padding: 8rem 1.5rem;
    }
}

.featured-section {
    background: var(--bg-surface);
}

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

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-text { font-size: 1.125rem; }
}

.about-image {
    height: 400px;
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
}

@media (min-width: 1024px) {
    .about-image { height: 500px; }
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(212, 175, 55, 0.1));
    z-index: 1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Products Grid
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.product-image-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color var(--transition-base);
}

.product-card:hover .product-name {
    color: var(--gold);
}

.product-sku {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-meta span:not(:first-child)::before {
    content: '•';
    margin-right: 0.5rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.product-actions .btn {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.7rem;
}

.share-btn {
    padding: 0.625rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ==========================================================================
   Categories Grid
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.category-image {
    height: 256px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.category-info {
    padding: 1.5rem;
}

.category-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.contact-cta {
    background: var(--bg-surface);
}

.cta-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 3rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

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

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition-base);
}

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

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

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    background: #C5A059;
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
}

.whatsapp-float i {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Catalogue Page
   ========================================================================== */
.catalogue-page,
.product-detail-page,
.admin-page {
    padding-top: 8rem;
    padding-bottom: 6rem;
    min-height: 100vh;
}

.catalogue-header {
    margin-bottom: 3rem;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 2.5rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .page-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .page-title { font-size: 4rem; }
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 36rem;
}

.search-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .search-filter-bar {
        flex-direction: row;
    }
}

.search-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem 0.75rem 3rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--border-focus);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Filters Panel */
.filters-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease-out;
}

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

.filters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .filters-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.filter-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.filter-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color var(--transition-base);
}

.filter-select:focus {
    outline: none;
    border-color: var(--border-focus);
}

.filter-select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.clear-filters-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 0.875rem;
    font-family: 'Outfit', sans-serif;
    transition: color var(--transition-base);
}

.clear-filters-btn:hover {
    color: var(--gold-muted);
}

.clear-filters-btn i {
    width: 16px;
    height: 16px;
}

.results-count {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.no-results {
    text-align: center;
    padding: 6rem 0;
    color: var(--text-secondary);
    font-size: 1.25rem;
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color var(--transition-base);
    font-size: 0.875rem;
}

.back-link:hover {
    color: var(--gold);
}

.back-link i {
    width: 20px;
    height: 20px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.gallery-main {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    aspect-ratio: 1 / 1;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-main:hover img {
    transform: scale(1.02);
}

.zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-main:hover .zoom-btn {
    opacity: 1;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-thumb {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.gallery-thumb.active {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold-glow);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 2.5rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .product-detail-info h1 { font-size: 3rem; }
}

.product-detail-sku {
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 2rem;
}

.product-detail-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.specs-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.specs-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

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

.spec-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.spec-value {
    color: var(--text-primary);
    font-size: 0.875rem;
}

.detail-actions {
    display: flex;
    gap: 1rem;
}

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

.related-products {
    margin-top: 6rem;
}

.related-products .section-title-sm {
    margin-bottom: 3rem;
}

.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    color: var(--text-secondary);
}

/* Zoom Modal */
.zoom-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.zoom-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.zoom-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: white;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.zoom-close:hover {
    background: var(--gold);
    color: black;
    border-color: var(--gold);
}

/* ==========================================================================
   Admin Page
   ========================================================================== */
.admin-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .admin-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-tabs {
    display: flex;
    background: var(--bg-surface);
    border-radius: 0.5rem;
    padding: 0.25rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--gold);
    color: black;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

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

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-table-wrapper {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    overflow: auto;
}

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

.admin-table thead {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
}

.admin-table th {
    text-align: left;
    padding: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 400;
    white-space: nowrap;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.table-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
}

.row-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.action-btn {
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 0.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.action-btn.delete:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.action-btn i {
    width: 16px;
    height: 16px;
}

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

@media (min-width: 768px) {
    .categories-admin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-admin-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.admin-category-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    overflow: hidden;
}

.admin-category-card .category-image {
    height: 160px;
}

.featured-star {
    color: var(--gold);
    fill: var(--gold);
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalEnter 0.3s ease-out;
}

.modal-lg {
    max-width: 700px;
}

@keyframes modalEnter {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: color var(--transition-base);
}

.modal-close:hover {
    color: var(--gold);
}

.modal-form {
    padding: 1.5rem;
}

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

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

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 0.25rem;
    padding: 0.625rem 1rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--border-focus);
}

.form-group select option {
    background: var(--bg-elevated);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--gold);
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.875rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

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

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 6rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--gold);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: toastEnter 0.3s ease-out;
    min-width: 280px;
}

.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }

@keyframes toastEnter {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-muted);
}

/* Selection */
::selection {
    background: var(--gold);
    color: black;
}

/* Print Styles */
@media print {
    .navigation,
    .whatsapp-float,
    .toast-container,
    .modal,
    .footer {
        display: none !important;
    }
}

/* ==========================================================================
   Login Screen
   ========================================================================== */
.login-screen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://static.prod-images.emergentagent.com/jobs/2cf3e89c-8d17-493c-b281-4855f88656a8/images/a969f75b7c5dc81dd3d321fd742c7735908a772bca6ff931109ee0ed9b733c3f.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: blur(8px);
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: loginFadeIn 0.6s ease-out;
}

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

.login-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
}

.login-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 0.25rem;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition-base);
    text-align: center;
    letter-spacing: 0.2em;
}

.login-form input:focus {
    outline: none;
    border-color: var(--border-focus);
}

.login-btn {
    width: 100%;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.login-back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: 1rem;
    transition: color var(--transition-base);
}

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

/* ==========================================================================
   Image Upload Areas
   ========================================================================== */
.image-upload-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.upload-hint-inline {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.image-preview-grid:empty {
    display: none;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 0.25rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

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

.image-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 14px;
    line-height: 1;
}

.image-preview-remove:hover {
    background: #ef4444;
}

.single-image-preview {
    width: 120px;
    height: 120px;
    border-radius: 0.25rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    margin-bottom: 0.75rem;
    position: relative;
}

.single-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Catalogue PDF Upload
   ========================================================================== */
.catalogue-upload-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .catalogue-upload-section {
        grid-template-columns: 1fr 1fr;
    }
}

.upload-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    padding: 2rem;
}

.upload-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.upload-card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.upload-dropzone {
    border: 2px dashed var(--border-subtle);
    border-radius: 0.5rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.upload-dropzone:hover,
.upload-dropzone.drag-over {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.03);
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--gold-muted);
    margin: 0 auto 1rem;
}

.upload-text {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.upload-hint {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.catalogue-current {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.catalogue-file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.25rem;
    border: 1px solid var(--border-subtle);
}

.catalogue-file-icon {
    width: 32px;
    height: 32px;
    color: var(--gold);
    flex-shrink: 0;
}

.catalogue-file-meta {
    flex: 1;
    min-width: 0;
}

.catalogue-file-name {
    color: var(--text-primary);
    font-size: 0.875rem;
    margin: 0 0 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalogue-file-size {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin: 0;
}

.catalogue-file-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}
