/* ==========================================================================
   MATUCHO PREMIUM CATALOG - DESIGN SYSTEM & STYLES
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette (Extracted and curated from PDF) */
    --bg-primary: #fafcf7;       /* Off-white with a touch of olive cream */
    --bg-secondary: #e2efd1;     /* Brand soft sage green */
    --bg-tertiary: #f0f7e6;      /* Extremely soft pastel green */
    --brand-primary: #5aa058;    /* Signature leaf green */
    --brand-dark: #034621;       /* Deep forest green (main headings / dark buttons) */
    --brand-medium: #207438;     /* Accent forest green */
    --brand-light: #eaf5d7;      /* Light green for badge backdrops */
    
    /* Text Colors */
    --text-primary: #172419;     /* Deep charcoal green-black */
    --text-muted: #5e6f60;       /* Slate olive-green gray */
    --text-light: #ffffff;       
    --white: #ffffff;
    
    /* Semantic Colors */
    --color-success: #2e7d32;
    --color-warning: #ed6c02;
    --color-danger: #d32f2f;
    --color-promo: #df6238;      /* Terracotta orange for "¡Bombilla de regalo!" */
    --color-new: #207438;        /* Forest green for new items */
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(1, 36, 16, 0.03);
    --shadow-lg: 0 12px 30px rgba(1, 36, 16, 0.06);
    --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    
    /* Borders & Radius */
    --border-color: #e2e8da;
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--brand-dark);
    font-weight: 700;
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

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

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

/* --- Scrollbar styling --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary);
}

/* --- Container Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography Helpers --- */
.section-subtitle {
    font-family: var(--font-heading);
    color: var(--brand-primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-header-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.section-header-center h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
}

.section-header-center p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    padding: 12px 28px;
    font-size: 0.95rem;
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

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

/* Button Variants */
.btn-primary {
    background-color: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
}
.btn-primary:hover {
    background-color: var(--brand-medium);
    border-color: var(--brand-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 70, 33, 0.25);
}

.btn-secondary {
    background-color: var(--brand-primary);
    color: var(--white);
    border-color: var(--brand-primary);
}
.btn-secondary:hover {
    background-color: var(--brand-medium);
    border-color: var(--brand-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 160, 88, 0.25);
}

.btn-dark {
    background-color: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
}
.btn-dark:hover {
    background-color: #012812;
    border-color: #012812;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-dark);
    border-color: var(--brand-dark);
}
.btn-outline:hover {
    background-color: var(--brand-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white-solid {
    background-color: var(--white);
    color: var(--brand-dark);
    border-color: var(--white);
}
.btn-white-solid:hover {
    background-color: var(--bg-secondary);
    border-color: var(--bg-secondary);
    color: var(--brand-dark);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--brand-dark);
    transform: translateY(-2px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: #25d366;
    color: white;
    padding: 14px 22px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    z-index: 99;
    font-family: var(--font-heading);
    transition: var(--transition);
    animation: pulseFloat 2s infinite alternate;
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-4px);
    background-color: #20ba5a;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.whatsapp-float span {
    font-size: 0.95rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.top-notice-bar {
    background-color: var(--brand-dark);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 101;
}

.main-header {
    background-color: rgba(250, 252, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid var(--brand-primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}

/* Nav Menu Desktop */
.main-nav ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-link.active {
    color: var(--brand-dark);
}

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

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-secondary);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-icon-btn:hover {
    background-color: var(--brand-primary);
    color: var(--white);
    transform: scale(1.05);
}

.menu-toggle-btn {
    background: none;
    border: none;
    color: var(--brand-dark);
    cursor: pointer;
    display: none;
    padding: 4px;
}

/* --- Mobile Drawer Menu --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.drawer-close-btn {
    background: none;
    border: none;
    color: var(--brand-dark);
    cursor: pointer;
}

.drawer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-dark);
    display: block;
    padding: 8px 0;
}

.drawer-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.drawer-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.drawer-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-socials a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(3, 70, 33, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 100px 0 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--brand-dark);
    color: var(--white);
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 70, 33, 0.95) 30%, rgba(3, 70, 33, 0.6) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-content {
    max-width: 680px;
}

.hero-logo-wrapper {
    width: 90px;
    height: 90px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    animation: floatLogo 5s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-logo-wrapper:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 30px rgba(226, 239, 209, 0.4);
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-lg) - 4px);
    object-fit: cover;
}

.hero-tagline {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--bg-secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #e5ece6;
    font-weight: 400;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bg-secondary);
}

.stat-label {
    font-size: 0.85rem;
    color: #cadfd0;
    font-weight: 500;
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */
.categories-section {
    padding: 60px 0;
    background-color: var(--bg-primary);
}

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

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.category-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3, 70, 33, 0.85) 10%, rgba(3, 70, 33, 0.2) 70%, transparent 100%);
}

.category-info {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: var(--white);
}

.category-info h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.category-info p {
    color: #e5ece6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--bg-secondary);
    font-size: 0.95rem;
}

/* Category card interactions */
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.category-card:hover .category-link {
    color: var(--white);
}

/* ==========================================================================
   PROMOTIONS SECTION
   ========================================================================== */
.promo-section {
    padding: 40px 0 80px 0;
}

.promo-banner {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.promo-content {
    flex: 1.2;
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-badge {
    background-color: var(--color-promo);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 24px;
}

.promo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.promo-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.promo-image-wrapper {
    flex: 0.8;
    position: relative;
    min-height: 350px;
}

.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================================
   CATALOG SECTION
   ========================================================================== */
.catalog-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    background-color: #fafcf7;
}

.catalog-header-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    gap: 24px;
    flex-wrap: wrap;
}

.catalog-header-text h2 {
    font-size: 2.25rem;
}

/* Search Box Custom */
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
}

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

.search-wrapper input {
    width: 100%;
    padding: 14px 44px 14px 48px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    background-color: var(--white);
    box-shadow: var(--shadow-inset);
    transition: var(--transition-fast);
    outline: none;
    font-size: 0.95rem;
}

.search-wrapper input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(90, 160, 88, 0.1), var(--shadow-inset);
}

.search-clear-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.search-clear-btn:hover {
    color: var(--brand-dark);
}

/* Active Filters badging */
.active-filters-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    animation: fadeIn 0.3s ease;
}

.active-filters-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--brand-dark);
    font-family: var(--font-heading);
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-badge {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-dark);
}

.active-filter-badge button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 2px;
}

.active-filter-badge button:hover {
    color: var(--color-danger);
}

.btn-clear-all {
    background: none;
    border: none;
    color: var(--color-danger);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-left: auto;
}

/* Layout split */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* Filters Sidebar */
.catalog-filters {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
}

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

.filters-header h3 {
    font-size: 1.25rem;
}

.filters-close-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.filter-group {
    margin-bottom: 28px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--brand-dark);
    font-weight: 700;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scrollable-options {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom Checkboxes and Radios */
.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    user-select: none;
}

.filter-checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: var(--transition-fast);
}

.filter-checkbox-label input:checked ~ .custom-checkbox {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox-label input:checked ~ .custom-checkbox::after {
    display: block;
}

/* Custom Radios */
.custom-radio {
    width: 20px;
    height: 20px;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    display: inline-block;
    position: relative;
    transition: var(--transition-fast);
}

.filter-checkbox-label input:checked ~ .custom-radio {
    border-color: var(--brand-primary);
}

.custom-radio::after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: var(--brand-primary);
}

.filter-checkbox-label input:checked ~ .custom-radio::after {
    display: block;
}

/* Price range slider styling */
.price-slider-wrapper {
    padding: 8px 0;
}

.price-value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--brand-medium);
    margin-bottom: 12px;
}

#price-filter {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-secondary);
    outline: none;
    cursor: pointer;
}

#price-filter::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    background: var(--brand-primary);
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

#price-filter::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background-color: var(--brand-dark);
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Catalog Results Toolbar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background-color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.products-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mobile-filter-btn {
    display: none;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-wrapper label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-wrapper select {
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-dark);
    outline: none;
    cursor: pointer;
}

.sort-wrapper select:focus {
    border-color: var(--brand-primary);
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Product Card design */
.product-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    height: auto;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Badging system */
.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.badge {
    padding: 3px 8px;
    border-radius: 2px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    align-self: flex-start;
    border: 1px solid transparent;
}

.badge-promo {
    background-color: rgba(223, 98, 56, 0.1);
    color: var(--color-promo);
    border-color: rgba(223, 98, 56, 0.25);
}

.badge-new {
    background-color: rgba(32, 116, 56, 0.1);
    color: var(--color-new);
    border-color: rgba(32, 116, 56, 0.25);
}

.badge-stock-in {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--color-success);
    border-color: rgba(46, 125, 50, 0.25);
}

.badge-out-of-stock {
    background-color: rgba(100, 116, 139, 0.1);
    color: #475569;
    border-color: rgba(100, 116, 139, 0.25);
}

/* Bottom elements overlay */
.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.favorite-btn:hover {
    color: var(--color-danger);
    background-color: var(--white);
    transform: scale(1.1);
}

.favorite-btn.active {
    color: var(--color-danger);
}

/* Card Body Content */
.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-primary);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--brand-dark);
    line-height: 1.3;
    height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
}

.product-card-title:hover {
    color: var(--brand-primary);
}

.product-card-material {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.product-card-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--brand-dark);
}

/* Empty State styling */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-color);
}

.empty-icon {
    width: 64px;
    height: 64px;
    color: var(--brand-secondary);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

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

/* ==========================================================================
   FEATURED GRID SECTION (favorites)
   ========================================================================== */
.featured-section {
    padding: 80px 0;
    background-color: var(--bg-tertiary);
}

.featured-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 16px 8px 28px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(3, 70, 33, 0.25) transparent;
}

.featured-grid::-webkit-scrollbar {
    height: 6px;
}

.featured-grid::-webkit-scrollbar-track {
    background: rgba(3, 70, 33, 0.03);
    border-radius: var(--radius-full);
}

.featured-grid::-webkit-scrollbar-thumb {
    background-color: rgba(3, 70, 33, 0.2);
    border-radius: var(--radius-full);
}

.featured-grid::-webkit-scrollbar-thumb:hover {
    background-color: var(--brand-primary);
}

.featured-grid .product-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 290px;
    scroll-snap-align: start;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   HOW TO BUY SECTION
   ========================================================================== */
.how-to-buy-section {
    padding: 100px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

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

.step-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background-color: var(--white);
    border: 2px solid var(--brand-primary);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-icon-wrapper i,
.step-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.font-awesome-large {
    font-size: 2rem;
}

.step-number-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--brand-primary);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.step-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   PRODUCT DETAILS MODAL
   ========================================================================== */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 850px;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    z-index: 1200;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    position: relative;
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.modal-close-btn {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-success);
    z-index: 1010;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background-color: var(--color-success);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(3, 70, 33, 0.55);
    backdrop-filter: blur(6px);
    z-index: 1190;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: block;
    opacity: 1;
}

/* Modal Content Grid */
.modal-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 32px;
}

.modal-image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 3/4;
    background-color: var(--bg-tertiary);
}

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

.modal-details {
    display: flex;
    flex-direction: column;
}

.modal-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-primary);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.modal-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 2rem;
    color: var(--brand-dark);
    line-height: 1.2;
}

.modal-badges-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.modal-price {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 20px;
}

.modal-desc-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.modal-specs-table {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    font-weight: 700;
    color: var(--brand-dark);
}

.modal-actions {
    margin-top: auto;
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--brand-dark);
    color: #e5ece6;
    border-top: 2px solid var(--brand-primary);
}

.footer-top {
    padding: 80px 0 60px 0;
}

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

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 32px;
    height: 2px;
    background-color: var(--brand-primary);
}

.brand-col .footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.brand-col .footer-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--brand-primary);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 28px;
    color: #cadfd0;
}

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

.footer-social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.footer-social-links a:hover {
    background-color: var(--brand-primary);
    transform: translateY(-3px);
}

/* Links column */
.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.links-col a {
    color: #cadfd0;
    font-size: 0.95rem;
}

.links-col a:hover {
    color: var(--white);
    padding-left: 6px;
}

/* Info Column */
.info-col ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-col li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: #cadfd0;
}

.info-col li i,
.info-col li svg {
    color: var(--brand-primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-col a {
    color: #cadfd0;
}
.info-col a:hover {
    color: var(--white);
}

/* Contact form in footer */
.contact-col .contact-hint {
    font-size: 0.85rem;
    color: #cadfd0;
    margin-bottom: 16px;
}

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

.footer-contact-form .form-group input,
.footer-contact-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-contact-form .form-group input::placeholder,
.footer-contact-form .form-group textarea::placeholder {
    color: #8fa695;
}

.footer-contact-form .form-group input:focus,
.footer-contact-form .form-group textarea:focus {
    border-color: var(--brand-primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    background-color: #012410;
    padding: 24px 0;
    font-size: 0.85rem;
    color: #8fa695;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes pulseFloat {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-6px);
    }
}

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

.fade-in-element {
    animation: fadeIn 0.4s ease forwards;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* --- Tablet / Large Mobile (1024px down) --- */
@media (max-width: 1024px) {
    .header-container {
        padding: 12px 24px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .categories-grid {
        gap: 20px;
    }
    
    .category-card {
        height: 300px;
    }
    
    .promo-banner {
        flex-direction: column;
    }
    
    .promo-content {
        padding: 40px;
    }
    
    .promo-image-wrapper {
        min-height: 250px;
        flex: 1;
    }
    
    .catalog-layout {
        grid-template-columns: 220px 1fr;
        gap: 24px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .steps-grid {
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* --- Mobile / Small Tablet (768px down) --- */
@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 30px 0;
    }

    .main-nav,
    .header-cta {
        display: none;
    }
    
    .menu-toggle-btn {
        display: flex;
    }
    
    .top-notice-bar {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-section {
        padding: 50px 0 60px 0;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 12px;
    }

    .hero-desc {
        margin-bottom: 24px;
        font-size: 0.95rem;
    }
    
    .hero-actions {
        justify-content: center;
        margin-bottom: 24px;
        width: 100%;
        max-width: 480px;
    }
    
    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 16px;
        margin-top: 12px;
        width: 100%;
        max-width: 450px;
    }

    .categories-section {
        padding: 40px 0;
    }
    
    .section-header-center {
        margin-bottom: 28px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .category-card {
        height: 180px;
    }
    
    .category-info {
        padding: 16px;
    }
    
    .category-info h3 {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }
    
    .category-info p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .category-link {
        font-size: 0.75rem;
    }
    
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    /* Catalog Filters Collapsible on Mobile */
    .catalog-filters {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 1002;
        overflow-y: auto;
        border-radius: 0;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 24px;
        box-shadow: var(--shadow-lg);
    }
    
    .catalog-filters.open {
        left: 0;
    }
    
    .filters-close-btn {
        display: flex;
    }
    
    .mobile-filter-btn {
        display: inline-flex;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .promo-section {
        padding: 24px 0 40px 0;
    }

    .promo-content {
        padding: 32px 24px;
    }
    
    .promo-content h2 {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    
    .promo-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .promo-image-wrapper {
        display: none;
    }

    .featured-section {
        padding: 40px 0;
    }

    .featured-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 16px;
        padding: 8px 4px 16px 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .featured-grid::-webkit-scrollbar {
        display: none;
    }

    .featured-grid .product-card {
        flex: 0 0 230px;
        scroll-snap-align: center;
    }

    .featured-grid .product-img-container {
        aspect-ratio: 1/1;
    }
    
    .how-to-buy-section {
        padding: 40px 0;
    }
    
    .purchase-workflow-section,
    .info-blocks-section,
    .faq-section {
        padding: 30px 0;
    }
    
    .steps-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 16px;
        padding: 8px 4px 16px 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .steps-grid::-webkit-scrollbar {
        display: none;
    }
    
    .steps-grid .step-card {
        flex: 0 0 250px;
        scroll-snap-align: center;
        padding: 24px 16px;
    }

    .step-icon-wrapper {
        width: 64px;
        height: 64px;
        margin: 0 auto 16px auto;
    }

    .step-icon-wrapper i {
        font-size: 1.5rem;
    }

    .step-number-badge {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        line-height: 24px;
        top: -4px;
        right: -4px;
    }

    .step-card h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .step-card p {
        font-size: 0.85rem;
    }
    
    /* Modal split to vertical */
    .modal-content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .modal-dialog {
        padding: 24px;
    }
    
    .modal-image-wrapper {
        aspect-ratio: 1/1;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-price {
        font-size: 1.75rem;
    }
    
    /* Responsive Catalog Header */
    .catalog-header-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .catalog-header-text h2 {
        font-size: 1.85rem;
    }
    
    .search-wrapper {
        max-width: 100%;
    }

    /* Mobile-specific Product Card enhancements for 2 columns */
    .product-card-body {
        padding: 12px;
    }
    .product-card-category {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }
    .product-card-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
        line-height: 1.2;
        height: 2.4rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-card-material {
        font-size: 0.75rem;
        margin-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-card-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 12px;
    }
    .product-card-price {
        font-size: 1.15rem;
        text-align: center;
        width: 100%;
    }
    .product-card-bottom .btn {
        width: 100%;
        font-size: 0.75rem;
        padding: 8px 10px;
        text-align: center;
        justify-content: center;
    }
    .favorite-btn {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }
    .card-badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }
    .badge {
        font-size: 0.6rem;
        padding: 4px 6px;
    }

    /* Modal Bottom Sheet on Mobile */
    .modal {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        border-radius: 14px 14px 0 0;
        transform: translateY(100%) scale(1);
        margin: 0;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .modal.open {
        transform: translateY(0) scale(1);
    }
    .modal-dialog {
        padding: 24px 16px calc(32px + env(safe-area-inset-bottom, 12px)) 16px;
        overflow-y: auto;
        flex: 1;
    }
    .modal-close-btn {
        top: 20px;
        right: 12px;
        background-color: rgba(46, 125, 50, 0.1);
        border: 1px solid rgba(46, 125, 50, 0.2);
        box-shadow: var(--shadow-sm);
        z-index: 1010;
        color: var(--color-success);
    }
    .modal-image-wrapper {
        aspect-ratio: 16/10;
        max-height: 250px;
    }
}

/* --- Tiny Mobile (480px down) --- */
@media (max-width: 480px) {
    .footer-top {
        padding: 30px 0 20px 0;
    }

    .container {
        padding: 0 16px;
    }

    .top-notice-bar {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: space-between;
        gap: 4px;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 16px;
        margin-top: 12px;
    }
    
    .hero-stats .stat-item {
        flex: 1;
        text-align: center;
        min-width: auto;
    }

    .hero-stats .stat-number {
        font-size: 1.15rem;
        white-space: nowrap;
    }

    .hero-stats .stat-label {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .categories-section {
        padding: 30px 0;
    }

    .promo-section {
        padding: 20px 0 30px 0;
    }

    .promo-content {
        padding: 20px 16px;
    }

    .promo-content h2 {
        font-size: 1.35rem;
    }

    .promo-content p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .featured-section {
        padding: 30px 0;
    }

    .featured-grid .product-card {
        flex: 0 0 210px;
        min-width: auto;
    }

    .how-to-buy-section {
        padding: 30px 0;
    }
    
    .purchase-workflow-section,
    .info-blocks-section,
    .faq-section {
        padding: 20px 0;
    }

    .steps-grid .step-card {
        flex: 0 0 230px;
        padding: 20px 12px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .category-card {
        height: 120px;
    }
    
    .category-info {
        padding: 8px;
    }
    
    .category-info h3 {
        font-size: 0.9rem;
    }
    
    .category-info p {
        display: none;
    }
    
    .category-link {
        font-size: 0.6rem;
    }
    
    .catalog-toolbar {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        padding: 16px;
    }
    
    .sort-wrapper {
        justify-content: space-between;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        padding: 10px 16px;
    }
    
    .whatsapp-float span {
        display: none; /* Hide text on very small screens to avoid clutter */
    }
    
    .top-notice-bar {
        font-size: 0.75rem;
    }

    /* Header adjustments */
    .header-actions .social-icon-btn {
        display: none; /* Hide Instagram icon in header to save space on small screens */
    }
    .header-logo {
        width: 38px;
        height: 38px;
    }
    .logo-text {
        font-size: 1.2rem;
    }

    /* FAQ overrides */
    .faq-question {
        padding: 12px 16px;
        font-size: 1rem;
    }
    .faq-answer-inner {
        padding: 0 16px 14px 16px;
    }

    /* Step Card overrides */
    .step-detail-card {
        padding: 36px 16px 20px 16px;
    }
    .step-badge {
        left: 16px;
    }

    /* Info Blocks overrides */
    .info-block-card {
        padding: 16px;
    }
    .info-block-header {
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
    .info-block-header h2 {
        font-size: 1.35rem;
    }

    /* Contact Details & Form overrides */
    .contact-card-info, .contact-card-form {
        padding: 20px;
    }
    .contact-card-info h2, .contact-card-form h2 {
        font-size: 1.45rem;
    }
    .clipboard-card h3 {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    .copy-input-wrapper {
        padding-left: 12px;
    }
    .copy-value-text {
        font-size: 0.85rem;
    }
    .btn-copy {
        padding: 10px 12px;
    }
    .styled-map-card {
        height: 200px;
    }
    .map-overlay-content {
        padding: 20px;
    }
    .map-overlay-content h3 {
        font-size: 1.2rem;
    }

    /* Modal adjustments */
    .modal-dialog {
        padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 12px)) 16px;
    }
    .modal-close-btn {
        top: 16px;
        right: 12px;
        width: 32px;
        height: 32px;
        box-shadow: var(--shadow-sm);
    }
    .modal-desc-title {
        font-size: 1rem;
    }
    .spec-row {
        padding: 10px 0;
    }
}

/* ==========================================================================
   SCROLLED HEADER STYLING
   ========================================================================== */
.main-header.scrolled {
    background-color: rgba(250, 252, 247, 0.96);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--bg-secondary);
}

/* ==========================================================================
   PAGE TITLE SECTION (FOR INNER PAGES)
   ========================================================================== */
.page-title-section {
    background-color: var(--brand-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.page-title-section h1 {
    color: var(--white);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-title-section p {
    font-size: 1.1rem;
    color: #cadfd0;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   HOW TO BUY (¿CÓMO COMPRAR?) STYLES
   ========================================================================== */
.purchase-workflow-section {
    padding: 40px 0;
}

.steps-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.step-detail-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 48px 32px 32px 32px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-secondary);
}

.step-badge {
    position: absolute;
    top: -20px;
    left: 32px;
    width: 44px;
    height: 44px;
    background-color: var(--brand-dark);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(3, 70, 33, 0.2);
}

/* Collapsible Steps Accordion */
.steps-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.step-faq-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.step-faq-item:hover {
    border-color: var(--brand-primary);
}

.step-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.step-faq-question .step-accordion-badge {
    width: 36px;
    height: 36px;
    background-color: var(--brand-dark);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-faq-question .faq-icon {
    margin-left: auto;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

.step-faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.step-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-faq-answer-inner {
    padding: 0 24px 16px 76px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.step-faq-answer-inner p {
    margin: 0;
}

.step-faq-answer-inner a {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .step-faq-answer-inner {
        padding: 0 16px 14px 16px;
    }
    .step-faq-question {
        padding: 14px 16px;
        gap: 12px;
        font-size: 1.05rem;
    }
}

.step-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--brand-dark);
}

.step-card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-card-content a {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: underline;
}

.step-card-content a:hover {
    color: var(--brand-dark);
}

/* Info blocks details */
.info-blocks-section {
    background-color: var(--bg-tertiary);
    padding: 40px 0;
}

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

.info-block-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.info-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-secondary);
    padding-bottom: 12px;
}

.info-block-icon {
    font-size: 2rem;
    color: var(--brand-dark);
}

.info-block-card h2 {
    font-size: 1.75rem;
}

.method-item {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border-color);
}

.method-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.method-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.method-title h3 {
    font-size: 1.15rem;
    color: var(--brand-dark);
}

.method-badge {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method-badge.success {
    background-color: var(--brand-light);
    color: var(--color-success);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.method-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Collapsible Payments Accordion */
.payments-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.payment-faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--white);
    overflow: hidden;
    transition: var(--transition-fast);
}

.payment-faq-item.active {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
    background-color: #fafcf7;
}

.payment-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.payment-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-title-group h3 {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--brand-dark);
    margin: 0;
}

.payment-icon {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.payment-faq-item.active .payment-icon {
    transform: rotate(180deg);
    color: var(--brand-primary);
}

.payment-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.payment-faq-answer-inner {
    padding: 0 16px 12px 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   FAQ ACCORDION STYLES
   ========================================================================== */
.faq-section {
    padding: 40px 0;
    background-color: var(--bg-primary);
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--bg-secondary);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-dark);
    outline: none;
}

.faq-icon {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 0.95rem;
    color: var(--brand-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-inner {
    padding: 0 20px 16px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid var(--bg-primary);
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-card-info, .contact-card-form {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-card-info h2, .contact-card-form h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--bg-secondary);
    padding-bottom: 12px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-item.clickable {
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
    padding: 12px;
    margin: -12px;
    border-radius: var(--radius-md);
}

.contact-info-item.clickable:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.info-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--brand-light);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(3, 70, 33, 0.1);
}

.info-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--brand-dark);
}

.info-text p, .info-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-text a:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

/* Clipboard Copy Card */
.clipboard-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--brand-dark);
}

.clipboard-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.copy-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.copy-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copy-input-wrapper {
    display: flex;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    justify-content: space-between;
    align-items: center;
    padding-left: 16px;
    border: 1px solid #e2ebd5;
}

.copy-value-text {
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--brand-dark);
    word-break: break-all;
    padding-right: 12px;
    font-weight: 600;
}

.btn-copy {
    background-color: var(--bg-secondary);
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 12px 16px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--brand-dark);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.btn-copy:hover {
    background-color: var(--brand-light);
}

.btn-copy.copied {
    background-color: #e8f5e9;
    border-left-color: #c8e6c9;
}

/* Styled Map Card */
.styled-map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 240px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    border: 3px solid transparent;
}

.styled-map-card.map-highlight {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(3, 70, 33, 0.25);
    border-color: var(--brand-primary);
}

.map-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(135deg, rgba(3, 70, 33, 0.93) 30%, rgba(3, 70, 33, 0.6) 100%);
    padding: 32px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.map-overlay-content h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.map-overlay-content p {
    color: #e5ece6;
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 320px;
}

.map-logo-icon {
    font-size: 2.2rem;
    color: var(--bg-secondary);
    margin-bottom: 12px;
}

.map-placeholder-bg {
    width: 100%;
    height: 100%;
    background-color: #d8e5cc;
    background-image: radial-gradient(var(--brand-primary) 1.5px, transparent 1.5px), radial-gradient(var(--brand-primary) 1.5px, var(--bg-secondary) 1.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.4;
}

/* Extended Form Styles */
.form-instructions {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

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

.form-group-full label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-dark);
}

.form-group-full input, .form-group-full select, .form-group-full textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    outline: none;
    transition: var(--transition-fast);
}

.form-group-full input:focus, .form-group-full select:focus, .form-group-full textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(90, 160, 88, 0.12);
}

.form-group-full select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23034621' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

/* ==========================================================================
   RESPONSIVE DESIGN ADDITIONS
   ========================================================================== */
@media (max-width: 992px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .page-title-section {
        padding: 30px 0;
    }
    
    .page-title-section h1 {
        font-size: 2.25rem;
    }
    
    .steps-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .step-detail-card {
        padding: 40px 24px 24px 24px;
    }
    
    .info-blocks-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .info-block-card {
        padding: 24px;
    }
    
    .contact-card-info, .contact-card-form {
        padding: 24px;
    }
}

/* --- Premium Lightbox (Full Image Viewer) --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 24, 11, 0.95);
    backdrop-filter: blur(8px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.open .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Image Zoom Hover Hint */
.modal-image-wrapper {
    position: relative;
    overflow: hidden;
}

.zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(1, 36, 16, 0.8);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    opacity: 0.85;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-image-wrapper:hover .zoom-hint {
    opacity: 1;
    background-color: var(--brand-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   BOTTOM NAVIGATION BAR (MOBILE ONLY)
   ========================================================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 12px));
    padding-bottom: env(safe-area-inset-bottom, 12px);
    background-color: rgba(250, 252, 247, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    display: none; /* Hidden on desktop */
    grid-template-columns: repeat(4, 1fr);
    z-index: 1100; /* On top of drawers and overlays */
    box-shadow: 0 -4px 16px rgba(1, 36, 16, 0.05);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    transition: var(--transition-fast);
    padding: 6px 0;
}

.bottom-nav-item i {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--brand-dark);
}

.bottom-nav-item.active i {
    transform: scale(1.08);
    color: var(--brand-primary);
}

/* Responsive design adjustments for bottom nav */
@media (max-width: 768px) {
    .bottom-nav {
        display: grid;
    }
    
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 12px)); /* Space for the bottom bar */
    }
    
    .whatsapp-float {
        bottom: calc(80px + env(safe-area-inset-bottom, 12px)) !important;
        right: 16px !important;
        padding: 10px 16px !important;
    }
    
    .whatsapp-float span {
        display: none; /* Icon-only floating action button on mobile */
    }

    /* Shift up drawer footer contact details above bottom nav */
    .drawer-footer {
        padding-bottom: 80px !important;
    }

    /* Shift up catalog filters container above bottom nav */
    .catalog-filters {
        padding-bottom: 80px !important;
    }
}


