/* ============================================================
   OPTICA LUXE — Global Stylesheet
   Author: Antigravity / Premium Web Design
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
    --primary: #1e293b;
    --primary-light: #334155;
    --accent: #87CEEB;
    --accent-light: #B9E5F8;
    --accent-dark: #5dade2;
    --white: #ffffff;
    --off-white: #fdfaf5;
    --gray-100: #f5f5f5;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --danger: #ef4444;
    --success: #10b981;

    --font-sans: 'Poppins', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Fluid Typography */
    --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --fs-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --fs-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
    --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-xl: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
    --fs-hero: clamp(2.5rem, 2rem + 4vw, 5rem);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-accent: 0 4px 20px rgba(135, 206, 235, 0.3);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    --navbar-height: 80px;
    --container-max: 1500px;
    --section-pad: clamp(60px, 8vw, 120px) 0;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--primary);
    line-height: 1.6;
    font-size: var(--fs-base);
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    outline: none;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

/* ---- Loader ---- */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s ease-in-out infinite;
    gap: 20px;
}

.loader-logo img {
    height: 180px; /* Bigger logo */
    width: auto;
    object-fit: contain;
}

.loader-text {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.loader-text span {
    color: var(--accent);
}

.loader-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    animation: loader-progress 1.2s ease forwards;
}

@keyframes loader-progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ---- Utility Classes ---- */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent);
}

.bg-dark {
    background: var(--primary);
}

.bg-off-white {
    background: var(--off-white);
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid {
    display: grid;
}

.hidden {
    display: none !important;
}

section,
header,
footer {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* ---- Section Heading ---- */
.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 56px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.45);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 12px 30px;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1rem;
}

.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ---- Badge ---- */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-new {
    background: var(--accent);
    color: var(--primary);
}

.badge-sale {
    background: var(--danger);
    color: var(--white);
}

.badge-hot {
    background: var(--primary);
    color: var(--white);
}

/* ---- Divider ---- */
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    margin: 16px 0;
}

.divider.center {
    margin: 16px auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1000;
    transition: var(--transition);
    overflow: visible; /* Allow logo overhang if needed */
}

#navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .nav-link {
    color: var(--white);
}

#navbar:not(.scrolled) {
    background: transparent;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 250px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 150px; /* Big and bold */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
    position: relative;
    font-size: 1rem;
}

.nav-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 90%);
    background: var(--primary);
    z-index: 999;
    transform: translateX(100%);
    visibility: hidden;
    /* Hide from layout when closed */
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    padding: 100px 32px 40px;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: all;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow: hidden;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--accent);
    padding-left: 8px;
}

.mobile-nav-social {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.mobile-nav-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.mobile-nav-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: start;
}

.footer-brand-logo {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-logo img {
    max-height: 110px;
    width: auto;
    border-radius: var(--radius-sm);
    margin-left: -5px;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    width: 34px;
    height: 34px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.footer-contact-text {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer-map {
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0; /* remove gap below iframe */
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 130px;
    border: 0;
    border-radius: 12px;
    filter: grayscale(20%) contrast(1.1);
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.825rem;
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-map-link:hover {
    color: var(--accent-light);
    gap: 10px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ============================================================
   ADVANCED ANIMATIONS
   ============================================================ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-up {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal {
    transform: translateY(30px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.95);
}

.active.reveal,
.active.reveal-up,
.active.reveal-left,
.active.reveal-right,
.active.reveal-scale {
    opacity: 1;
    transform: translate(0) scale(1) !important;
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(201, 168, 76, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Stagger Children Logic in JS will use these delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Parallax Simple */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.product-action-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-action-btn.active {
    background: var(--accent);
    color: var(--primary);
}

.product-quick-view {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.9);
    padding: 12px;
    text-align: center;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-quick-view {
    transform: translateY(0);
}

.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.product-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.price-discount {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.product-card-footer {
    padding: 0 20px 20px;
}

.btn-add-cart {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--accent);
    color: var(--primary);
    transform: none;
}

/* ============================================================
   STAR RATING
   ============================================================ */
.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--accent);
    font-size: 0.85rem;
}

.star.empty {
    color: var(--gray-300);
}

/* Hero stats removed from here, kept in home.css */

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-accent);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-4px);
}

/* ============================================================
   FLOATING CONTACT BUTTONS
   ============================================================ */
.floating-contact {
    position: fixed;
    right: 32px;
    bottom: 96px;
    /* Positioned above the back-to-top button */
    z-index: 996;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: var(--shadow-lg);
    pointer-events: all;
    transition: var(--transition);
    animation: floating-bounce 2.5s infinite ease-in-out;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.call {
    background: #3B82F6;
}

@keyframes floating-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 480px) {
    .floating-contact {
        right: 16px;
        bottom: 80px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    width: max-content;
    max-width: 90vw;
}

.toast {
    background: var(--primary);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border-left: 3px solid var(--accent);
    animation: toast-in 0.3s ease;
    pointer-events: all;
    white-space: nowrap;
}

.toast.removing {
    animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toast-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ============================================================
   QUICK VIEW MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-content {
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gray-400);
    padding: 20px 0;
}

.breadcrumb a {
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb-sep {
    color: var(--gray-300);
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
    background: var(--primary);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
}

.page-hero-title {
    font-family: var(--font-serif);
    font-size: var(--fs-xl);
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--primary);
    background: var(--white);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

select.form-control {
    appearance: none;
    cursor: pointer;
}

/* ============================================================
   RESPONSIVE — GLOBAL
   ============================================================ */
@media (max-width: 1024px) {
    :root {
        --section-pad: 72px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 48px 0;
        --navbar-height: 60px;
    }

    .nav-inner {
        padding: 0 12px;
    }

    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex;
        order: 10;
    }

    .nav-logo a {
        font-size: 1.15rem;
    }

    .nav-actions {
        gap: 2px;
    }

    .nav-action-btn {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .nav-action-btn:nth-child(2) {
        /* Hide Wishlist on mobile nav */
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .modal-box {
        grid-template-columns: 1fr;
        max-height: 85vh;
        width: 95%;
    }

    .modal-image {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        aspect-ratio: 1;
    }

    .modal-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .floating-contact {
        right: 12px;
        bottom: 70px;
    }

    .floating-btn {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    #back-to-top {
        bottom: 16px;
        right: 12px;
        width: 42px;
        height: 42px;
    }
}

/* ---- Floating Contact Buttons ---- */
.floating-contact {
    position: fixed;
    right: 24px;
    bottom: 86px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.floating-btn.whatsapp {
    background: #25d366;
}

.floating-btn.call {
    background: var(--accent);
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Force hidden overflow on problematic wrapper elements */
#header-placeholder,
#footer-placeholder,
main,
section {
    max-width: 100vw;
    overflow-x: hidden;
}

/* End of File */
/* ---- About Us Section (Homepage) ---- */
.about-section {
    position: relative;
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--off-white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--secondary);
    line-height: 1.2;
    margin: 0;
}

.about-desc {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

.offers-list {
    margin-bottom: 8px;
}

.offers-title {
    font-family: var(--font-serif);
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1.2rem;
}

.offers-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offers-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-600);
    line-height: 1.5;
}

.offers-list i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.about-visual {
    position: relative;
    padding: 0 0 40px 0; /* space for stats card */
}

.about-visual .main-image {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-visual .main-image img {
    width: 100%;
    height: clamp(300px, 40vw, 500px);
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
}

.about-visual:hover .main-image img {
    transform: scale(1.05);
}

.stats-card {
    position: absolute;
    bottom: 0;
    right: 20px;
    z-index: 10;
    background: white;
    padding: clamp(16px, 2vw, 30px);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary);
    min-width: 140px;
}

.stats-number {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-serif);
    line-height: 1;
}

.stats-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* ---- Tablet (max 992px) ---- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        order: 2;
        text-align: center;
    }

    .about-visual {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-btns {
        justify-content: center;
    }

    .offers-list li {
        justify-content: flex-start;
        text-align: left;
    }

    .stats-card {
        right: 10px;
        bottom: -10px;
    }
}

/* ---- Mobile (max 576px) ---- */
@media (max-width: 576px) {
    .about-visual {
        padding-bottom: 60px;
    }

    .about-btns {
        flex-direction: column;
        align-items: center;
    }

    .about-btns .btn {
        width: 100%;
        text-align: center;
    }

    .stats-card {
        right: 0;
        left: 0;
        margin: 0 auto;
        width: fit-content;
        bottom: -10px;
    }
}
