/*
Theme Name: FULLAB Theme
Theme URI: https://fullab.shop
Author: FULLAB
Description: Premium WooCommerce theme for FULLAB Moldova
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: fullab
*/

:root {
    --bg: #FAFAFA;
    --bg-alt: #F5F5F7;
    --card: #FFFFFF;
    --text: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-muted: #86868B;
    --border: rgba(0,0,0,0.08);
    --gold: #B8956B;
    --gold-dark: #96754D;
    --gold-glow: rgba(184,149,107,0.15);
    --red: #FF3B30;
    --green: #25D366;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 24px rgba(0,0,0,0.08);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(1.75rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h1 em, h2 em { font-style: italic; color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section--alt { background: var(--bg-alt); }

/* ===== VISIBLE ANIMATIONS ===== */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(2deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.2); opacity: 1; } }
@keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gradient-move { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes border-dance { 0%, 100% { border-color: rgba(184,149,107,0.3); } 50% { border-color: rgba(184,149,107,0.6); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(184,149,107,0.3); } 50% { box-shadow: 0 0 40px rgba(184,149,107,0.6); } }

/* Buttons */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
    padding: 14px 28px; border-radius: 50px; font-size: 0.875rem; font-weight: 500; 
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.btn--primary { background: var(--text); color: #fff; }
.btn--primary::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; }
.btn--primary:hover::after { left: 100%; }
.btn--primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(184,149,107,0.4); }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--whatsapp:hover { background: #128C7E; }
.btn--outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===== HEADER - UNIFIED FOR ALL PAGES ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 10px 16px; transition: all 0.3s; }
.header.scrolled { padding: 6px 16px; }
.header__inner { 
    max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; 
    padding: 10px 20px; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); border-radius: var(--radius-lg); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid rgba(255,255,255,0.5);
}
.header__logo { flex: 0 0 auto; display: flex; align-items: center; }
.header__logo img, .header__logo .custom-logo, .custom-logo-link img { height: 32px !important; width: auto !important; max-width: 120px !important; }
.header__nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.header__nav a { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); transition: color 0.3s; position: relative; }
.header__nav a:hover { color: var(--gold); }
.header__nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.3s; }
.header__nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cart { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border-radius: 50%; transition: all 0.3s; }
.header__cart:hover { background: var(--gold-glow); transform: scale(1.1); }
.header__cart svg { width: 18px; height: 18px; }
.header__cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; background: var(--gold); color: #fff; font-size: 0.65rem; font-weight: 700; border-radius: 50px; display: flex; align-items: center; justify-content: center; }
.header__toggle { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--bg-alt); border-radius: 50%; cursor: pointer; }
.header__toggle span { width: 18px; height: 2px; background: var(--text); transition: all 0.3s; }
.header__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__toggle.active span:nth-child(2) { opacity: 0; }
.header__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE HEADER */
@media (max-width: 768px) {
    .header { padding: 8px 12px; }
    .header__inner { padding: 8px 14px; }
    .header__logo img, .header__logo .custom-logo, .custom-logo-link img { height: 28px !important; max-width: 100px !important; }
    .header__nav { 
        display: none; position: fixed; top: 58px; left: 12px; right: 12px; 
        flex-direction: column; padding: 16px; background: #fff; border-radius: var(--radius); 
        box-shadow: 0 15px 50px rgba(0,0,0,0.15); z-index: 9999; margin: 0;
    }
    .header__nav.open { display: flex; animation: fadeInUp 0.3s ease; }
    .header__nav a { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; font-size: 1rem; }
    .header__nav a:last-child { border-bottom: none; }
    .header__nav a::after { display: none; }
    .header__toggle { display: flex; }
    .header__actions { margin-left: auto; }
    /* Hide WhatsApp button on mobile - we have float widget */
    .header__actions .btn--whatsapp { display: none !important; }
}

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 80px 0 60px; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); position: relative; overflow: hidden; }
.hero__bg-shape { position: absolute; border-radius: 50%; background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%); filter: blur(60px); animation: float 8s ease-in-out infinite; pointer-events: none; }
.hero__bg-shape--1 { top: 10%; right: 5%; width: 400px; height: 400px; }
.hero__bg-shape--2 { bottom: 20%; left: 0; width: 300px; height: 300px; animation-delay: -4s; }
.hero__content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero__text { animation: fadeInUp 0.8s ease; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-glow); color: var(--gold-dark); padding: 8px 16px; border-radius: 50px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; border: 1px solid rgba(184,149,107,0.3); }
.hero__badge svg { width: 16px; height: 16px; }
.hero__title { margin-bottom: 12px; }
.hero__tagline { font-family: var(--font-display); font-size: 1rem; font-style: italic; color: var(--gold-dark); margin-bottom: 12px; }
.hero__desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; max-width: 420px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* Hero image - BIGGER 30-40% */
.hero__image { 
    border-radius: var(--radius-lg); overflow: hidden; 
    width: 100%; max-width: 480px; /* increased from ~350px */
    aspect-ratio: 1/1; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.12); background: var(--card); 
    animation: fadeInUp 0.8s ease 0.2s both; position: relative; 
    margin-left: auto;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero__image:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
    .hero { min-height: auto; padding: 70px 0 40px; }
    .hero__content { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .hero__image { order: -1; max-width: 300px; margin: 0 auto; aspect-ratio: 1/1; }
    .hero__desc { margin: 0 auto 20px; font-size: 0.9rem; }
    .hero__actions { justify-content: center; }
    .hero__bg-shape { display: none; }
    .hero__title { font-size: 1.75rem; }
}

/* ===== TRUST BAR ===== */
.trust { padding: 24px 0; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust__items { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 10px; }
.trust__icon { width: 36px; height: 36px; background: var(--gold-glow); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.trust__item:hover .trust__icon { transform: scale(1.1) rotate(5deg); }
.trust__icon svg { width: 18px; height: 18px; color: var(--gold); }
.trust__text { font-size: 0.75rem; color: var(--text-secondary); }
.trust__text strong { display: block; color: var(--text); font-weight: 600; }

@media (max-width: 768px) {
    .trust__items { gap: 16px; }
    .trust__item { flex: 0 0 calc(50% - 8px); }
    .trust__text { font-size: 0.7rem; }
}

/* ===== SECTION HEADER ===== */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.section-label { display: inline-block; background: var(--gold-glow); color: var(--gold); padding: 6px 14px; border-radius: 50px; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.section-link { font-size: 0.85rem; font-weight: 500; color: var(--gold); display: flex; align-items: center; gap: 4px; transition: transform 0.3s; }
.section-link:hover { transform: translateX(5px); }

/* ===== PRODUCT CARD ===== */
.product-card { 
    position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; 
    border: 1px solid var(--border); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: rgba(184,149,107,0.4); }
.product-card__link { position: absolute; inset: 0; z-index: 10; }
.product-card__image { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-alt); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__image img { transform: scale(1.08); }
.product-card__badge { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 50px; font-size: 0.6rem; font-weight: 600; text-transform: uppercase; z-index: 5; }
.product-card__badge--sale { background: var(--red); color: #fff; }
.product-card__badge--best { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; }
.product-card__info { padding: 14px; }
.product-card__category { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 4px; }
.product-card__name { font-family: var(--font-display); font-size: 1rem; font-weight: 500; margin-bottom: 4px; line-height: 1.3; }
.product-card__excerpt { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--border); }
.product-card__price { font-size: 0.95rem; font-weight: 600; }
.product-card__price .sale { color: var(--red); }
.product-card__price .old { text-decoration: line-through; color: var(--text-muted); font-weight: 400; font-size: 0.8rem; margin-left: 6px; }
.product-card__arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--text); color: #fff; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.product-card:hover .product-card__arrow { background: var(--gold); transform: scale(1.1); }
.product-card__arrow svg { width: 16px; height: 16px; }

/* PRODUCT GRID - 3 columns desktop, 1 mobile */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: #fff; padding: 50px 0 20px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer__brand { max-width: 280px; }
.footer__logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 14px; display: block; }
.footer__brand p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.footer__social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer__social svg { width: 16px; height: 16px; }
.footer__column h4 { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__column ul li { margin-bottom: 10px; }
.footer__column a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: color 0.3s; }
.footer__column a:hover { color: #fff; }
.footer__bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copyright { color: rgba(255,255,255,0.4); font-size: 0.75rem; }

@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; } .footer__bottom { flex-direction: column; text-align: center; } }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; z-index: 999; }
.whatsapp-float__btn { width: 56px; height: 56px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,211,102,0.4); transition: all 0.3s; }
.whatsapp-float__btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float__btn svg { width: 26px; height: 26px; fill: #fff; }
.whatsapp-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; z-index: -1; }

/* ===== WOOCOMMERCE ===== */
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--card) !important; border: 1px solid var(--border) !important; border-radius: var(--radius) !important; padding: 14px 18px !important; border-left: 3px solid var(--gold) !important; margin-bottom: 16px !important; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button { background: var(--text) !important; color: #fff !important; border-radius: 50px !important; padding: 12px 24px !important; font-weight: 500 !important; transition: all 0.3s !important; border: none !important; }
.woocommerce .button:hover, .woocommerce button.button:hover { background: var(--gold) !important; transform: translateY(-2px) !important; }
.woocommerce .button.alt { background: var(--gold) !important; }
.woocommerce .button.alt:hover { background: var(--gold-dark) !important; }

/* Cart checkout button - PROMINENT */
.woocommerce-cart .wc-proceed-to-checkout { padding: 20px 0 !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wc-proceed-to-checkout a.checkout-button,
a.checkout-button { 
    display: block !important; width: 100% !important; 
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important; 
    color: #fff !important; font-size: 1.1rem !important; padding: 18px 32px !important; 
    border-radius: 50px !important; font-weight: 700 !important; text-transform: uppercase !important; 
    letter-spacing: 0.08em !important; text-align: center !important; 
    box-shadow: 0 8px 30px rgba(184,149,107,0.4) !important; transition: all 0.3s !important; 
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
a.checkout-button:hover { 
    transform: translateY(-3px) !important; 
    box-shadow: 0 12px 40px rgba(184,149,107,0.5) !important; 
}
.cart_totals { background: var(--bg-alt) !important; padding: 24px !important; border-radius: var(--radius-lg) !important; }

/* ===== PAGE HEADER ===== */
.page-header { padding: 70px 0 24px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); text-align: center; }
.page-title { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 6px; }
.page-desc { color: var(--text-secondary); max-width: 450px; margin: 0 auto; font-size: 0.9rem; }

@media (max-width: 768px) {
    .page-header { padding: 60px 0 20px; }
}

/* ===== SHOP/CATALOG ===== */
.shop-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.shop-count { color: var(--text-muted); font-size: 0.85rem; }
.shop-sorting select { border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font-size: 0.85rem; background: var(--card); }
.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; transition: all 0.3s; }
.pagination .page-numbers:hover, .pagination .page-numbers.current { background: var(--gold); border-color: var(--gold); color: #fff; }

/* WooCommerce breadcrumb */
.woocommerce-breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }

/* Feature sections */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature-row--reverse .feature-image { order: 2; }
.feature-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature-image img { width: 100%; height: auto; }
.feature-content h2 { margin-bottom: 16px; }
.feature-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.feature-content p strong { color: var(--gold); }
.feature-badges { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.feature-badge { background: var(--gold-glow); color: var(--gold-dark); padding: 6px 14px; border-radius: 50px; font-size: 0.7rem; font-weight: 600; }
.feature-list { margin-top: 20px; }
.feature-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--text-secondary); font-size: 0.9rem; }
.feature-list li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.cta-box { background: var(--card); border-radius: var(--radius-lg); padding: 50px 30px; text-align: center; border: 1px solid var(--border); position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -50px; left: 50%; transform: translateX(-50%); width: 250px; height: 250px; background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%); z-index: 0; }
.cta-box h2, .cta-box p, .cta-actions { position: relative; z-index: 1; }
.cta-box p { color: var(--text-secondary); margin-bottom: 20px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
    .feature-row { grid-template-columns: 1fr; gap: 24px; }
    .feature-row--reverse .feature-image { order: 0; }
    .cta-box { padding: 36px 20px; }
    .section { padding: 40px 0; }
}
