/* ============================================
   AGROVET - Stylesheet Principal
   ============================================ */

:root {
    --green-900: #14532d;
    --green-800: #166534;
    --green-700: #15803d;
    --green-600: #16a34a;
    --green-500: #22c55e;
    --green-400: #4ade80;
    --green-300: #86efac;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-100: #fef3c7;
    --red-500: #ef4444;
    --red-100: #fee2e2;
    --neutral-900: #171717;
    --neutral-800: #262626;
    --neutral-700: #404040;
    --neutral-600: #525252;
    --neutral-500: #737373;
    --neutral-400: #a3a3a3;
    --neutral-300: #d4d4d4;
    --neutral-200: #e5e5e5;
    --neutral-100: #f5f5f5;
    --neutral-50: #fafafa;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--neutral-800);
    background: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.app-wrapper {
    min-height: 60vh;
}

/* ── TOP BAR ── */
.top-bar {
    background: var(--green-900);
    color: var(--green-100);
    font-size: 12px;
    padding: 8px 20px;
    text-align: center;
    letter-spacing: 0.3px;
}
.top-bar a { color: var(--green-400); text-decoration: none; font-weight: 600; }
.top-bar a:hover { text-decoration: underline; }

/* ── HEADER ── */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
}
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--green-800);
    line-height: 1;
}
.logo-text span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--neutral-500);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Search */
.search-bar {
    flex: 1;
    max-width: 560px;
    position: relative;
}
.search-bar input {
    width: 100%;
    padding: 12px 48px 12px 18px;
    border: 2px solid var(--neutral-200);
    border-radius: 50px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
    background: var(--neutral-50);
}
.search-bar input:focus {
    outline: none;
    border-color: var(--green-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}
.search-bar button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 40px;
    border: none;
    background: var(--green-700);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}
.search-bar button:hover { background: var(--green-800); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.header-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
    text-decoration: none;
}
.header-btn.whatsapp { background: #25d366; color: var(--white); }
.header-btn.whatsapp:hover { background: #1da851; }
.header-btn.cart {
    background: var(--green-800);
    color: var(--white);
    position: relative;
}
.header-btn.cart:hover { background: var(--green-900); }
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--red-500);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── NAV BAR ── */
.nav-bar {
    background: var(--green-800);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.nav-bar::-webkit-scrollbar { display: none; }
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
}
.nav-item {
    padding: 12px 18px;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.nav-item:hover, .nav-item.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
    border-bottom-color: var(--green-400);
}

/* ── HERO ── */
.hero { 
    position: relative; 
    overflow: hidden; 
    background: var(--neutral-50);
    padding: 24px 0;
}
.hero-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    gap: 16px;
    padding: 0 calc(50vw - 42.5vw);
    user-select: none;
    -webkit-user-select: none;
}
.hero-slider::-webkit-scrollbar { display: none; }
@media (min-width: 1200px) {
    .hero-slider {
        padding: 0 calc(50vw - 510px);
    }
}
.hero-slide {
    flex: 0 0 85%;
    max-width: 1020px;
    scroll-snap-align: center;
    border-radius: 16px;
    position: relative;
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-user-drag: none;
}
.hero-slide img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    -webkit-user-drag: none;
}
.hero-slide.active { 
    opacity: 1; 
    transform: scale(1);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: var(--green-400);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}
.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 14px;
}
.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 28px;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    background: var(--green-900);
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.hero-dot.active { background: var(--green-400); width: 28px; border-radius: 5px; }

/* ── BUTTONS ── */
.btn {
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'DM Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-primary { background: var(--amber-500); color: var(--neutral-900); }
.btn-primary:hover { background: var(--amber-400); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: rgba(255,255,255,0.12); color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }
.btn-green { background: var(--green-700); color: var(--white); }
.btn-green:hover { background: var(--green-800); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green-700); border: 2px solid var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ── SECTIONS ── */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--neutral-900);
}
.section-title span { color: var(--green-700); }
.section-subtitle { font-size: 14px; color: var(--neutral-500); margin-top: 4px; }
.see-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--green-700);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.see-all:hover { color: var(--green-800); }

/* ── CATEGORIES GRID ── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}
.cat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
    border: 1.5px solid var(--neutral-100);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}
.cat-card:hover {
    border-color: var(--green-400);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.cat-card .icon { font-size: 36px; margin-bottom: 10px; display: block; }
.cat-card .name { font-size: 13px; font-weight: 600; color: var(--neutral-700); }

/* ── PROMO BANNER ── */
.promo-banner {
    background: linear-gradient(135deg, var(--green-800), var(--green-700));
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}
.promo-banner::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.promo-text h3 { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.promo-text p { color: rgba(255,255,255,0.8); font-size: 15px; }
.promo-text .badge { display: inline-block; background: var(--amber-500); color: var(--neutral-900); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }

/* ── PRODUCT GRID ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--neutral-100);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { border-color: var(--green-300); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-img {
    height: 180px;
    background: linear-gradient(135deg, var(--green-50), var(--neutral-100));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
}
.product-tag {
    position: absolute;
    top: 10px; left: 10px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.tag-promo { background: var(--red-500); color: var(--white); }
.tag-best { background: var(--amber-500); color: var(--neutral-900); }
.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 11px; font-weight: 600; color: var(--green-700); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.product-name {
    font-size: 14px; font-weight: 600; color: var(--neutral-800);
    margin-bottom: 8px; line-height: 1.35; text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; box-orient: vertical; overflow: hidden;
}
.product-name:hover { color: var(--green-700); }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--amber-500); margin-bottom: 10px; }
.product-rating span { color: var(--neutral-400); }
.product-prices { margin-top: auto; }
.product-old-price { font-size: 12px; color: var(--neutral-400); text-decoration: line-through; }
.product-price { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; color: var(--green-800); }
.product-price small { font-size: 14px; }
.product-installment { font-size: 11px; color: var(--neutral-500); margin-top: 2px; }
.product-actions { display: flex; gap: 8px; margin-top: 12px; }
.product-actions .btn { font-size: 12px; padding: 10px 8px; }
.product-actions form { flex: 1; }

/* ── ROW CAROUSEL (arrow-driven) ── */
.row-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}
.row-carousel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
    /* no scrollbar visible */
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
}
.row-carousel::-webkit-scrollbar { display: none; }
.row-carousel .product-card {
    flex: 0 0 220px;
    min-width: 220px;
}
.row-carousel .cat-card {
    flex: 0 0 130px;
    min-width: 130px;
}
.row-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--neutral-200);
    background: var(--white);
    color: var(--neutral-700);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    z-index: 2;
    padding: 0;
    user-select: none;
}
.row-arrow:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.row-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ── ADVANTAGES ── */
.advantages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.adv-card { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--neutral-100); }
.adv-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.adv-text h4 { font-size: 14px; font-weight: 700; color: var(--neutral-800); }
.adv-text p { font-size: 12px; color: var(--neutral-500); margin-top: 2px; }

/* ── CATALOG LAYOUT ── */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 20px;
}
.sidebar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--neutral-100);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.sidebar h3, .sidebar-title-desktop { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 18px; color: var(--neutral-900); }
.sidebar-header-mobile { display: none; }
.filter-group { margin-bottom: 22px; }
.filter-group h4 { font-size: 13px; font-weight: 700; color: var(--neutral-700); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-option {
    display: flex; align-items: center; gap: 8px; padding: 6px 0;
    cursor: pointer; font-size: 14px; color: var(--neutral-600); transition: color 0.2s;
}
.filter-option:hover { color: var(--green-700); }
.filter-option.active { color: var(--green-700); font-weight: 600; }
.filter-check {
    width: 18px; height: 18px; border: 2px solid var(--neutral-300);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all 0.2s; font-size: 12px;
}
.filter-option.active .filter-check { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.filter-clear { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--red-500); cursor: pointer; }
.sort-select {
    padding: 10px 14px; border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm); font-size: 14px;
    font-family: 'DM Sans', sans-serif; background: var(--white); cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--green-600); }
.catalog-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.catalog-controls { display: flex; align-items: center; gap: 10px; }
.mobile-filter-btn { display: none; }
.results-count { font-size: 14px; color: var(--neutral-500); }

/* ── PRODUCT DETAIL ── */
.product-detail { max-width: 1280px; margin: 0 auto; padding: 28px 20px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.pd-image {
    background: linear-gradient(135deg, var(--green-50), var(--neutral-100));
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    min-height: 400px;
}
.pd-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pd-thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); border: 2px solid var(--neutral-200); overflow: hidden; cursor: pointer; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { border-color: var(--green-600); }
.pd-breadcrumb { font-size: 12px; color: var(--neutral-400); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.pd-breadcrumb a { color: var(--neutral-400); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--green-700); }
.pd-brand-tag { display: inline-block; background: var(--green-100); color: var(--green-800); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.pd-name { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 700; color: var(--neutral-900); line-height: 1.25; margin-bottom: 10px; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; }
.pd-rating .stars { color: var(--amber-500); }
.pd-rating .count { color: var(--neutral-400); }
.pd-price-box { background: var(--green-50); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; border: 1px solid var(--green-100); }
.pd-old-price { font-size: 15px; color: var(--neutral-400); text-decoration: line-through; }
.pd-price { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 800; color: var(--green-800); }
.pd-price small { font-size: 20px; }
.pd-installment { font-size: 14px; color: var(--neutral-500); margin-top: 4px; }
.pd-discount { display: inline-block; background: var(--red-500); color: var(--white); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.pd-desc { font-size: 15px; line-height: 1.65; color: var(--neutral-600); margin-bottom: 20px; }
.pd-specs { border: 1px solid var(--neutral-200); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 24px; }
.pd-spec-row { display: grid; grid-template-columns: 140px 1fr; font-size: 14px; border-bottom: 1px solid var(--neutral-100); }
.pd-spec-row:last-child { border-bottom: none; }
.pd-spec-label { background: var(--neutral-50); padding: 10px 14px; font-weight: 600; color: var(--neutral-700); }
.pd-spec-value { padding: 10px 14px; color: var(--neutral-600); }
.pd-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-buttons form, .pd-buttons a { flex: 1; min-width: 200px; }
.pd-buttons .btn { font-size: 15px; padding: 16px 24px; justify-content: center; width: 100%; }

/* ── CART ── */
.cart-page { max-width: 800px; margin: 0 auto; padding: 28px 20px; }
.cart-item { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; border: 1px solid var(--neutral-100); }
.cart-item-img { width: 72px; height: 72px; background: var(--green-50); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--neutral-800); text-decoration: none; display: block; margin-bottom: 4px; }
.cart-item-name:hover { color: var(--green-700); }
.cart-item-price { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--green-800); }
.qty-controls { display: flex; align-items: center; border: 1.5px solid var(--neutral-200); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 36px; height: 36px; border: none; background: var(--neutral-50); cursor: pointer; font-size: 16px; font-weight: 600; color: var(--neutral-600); }
.qty-btn:hover { background: var(--neutral-200); }
.qty-val { width: 40px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-remove { background: none; border: none; color: var(--neutral-400); cursor: pointer; font-size: 20px; padding: 8px; }
.cart-remove:hover { color: var(--red-500); }
.cart-summary { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--neutral-100); margin-top: 20px; }
.cart-total-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; color: var(--neutral-600); border-bottom: 1px solid var(--neutral-100); }
.cart-total-row.total { font-size: 20px; font-weight: 700; color: var(--neutral-900); border-bottom: none; padding-top: 14px; }
.cart-total-row.total span:last-child { color: var(--green-800); font-family: 'Outfit', sans-serif; }
.cart-form { margin-top: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--neutral-700); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm); font-size: 14px; font-family: 'DM Sans', sans-serif;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green-600); }

/* ── BACK BUTTON ── */
.back-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 600; color: var(--green-700);
    text-decoration: none; margin-bottom: 20px; padding: 8px 16px;
    background: var(--green-50); border-radius: 50px;
}
.back-btn:hover { background: var(--green-100); }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { font-family: 'Outfit', sans-serif; font-size: 22px; color: var(--neutral-700); margin-bottom: 8px; }
.empty-state p { color: var(--neutral-400); margin-bottom: 20px; }

/* ── TOAST ── */
.toast {
    position: fixed; bottom: 24px; right: 24px;
    background: var(--green-800); color: var(--white);
    padding: 14px 24px; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; box-shadow: var(--shadow-xl);
    z-index: 300; animation: slideUp 0.3s ease;
}
.toast-error { background: var(--red-500); }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
    position: fixed; bottom: 24px; left: 24px;
    width: 56px; height: 56px; background: #25d366;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--white); text-decoration: none;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4); z-index: 90;
    transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── FOOTER ── */
.footer {
    background: var(--neutral-900);
    color: rgba(255,255,255,0.6);
    margin-top: 40px;
}
.footer-grid {
    max-width: 1280px; margin: 0 auto; padding: 48px 20px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
}
.footer h4 { font-family: 'Outfit', sans-serif; color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer p { font-size: 14px; line-height: 1.6; }
.footer a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; padding: 4px 0; }
.footer a:hover { color: var(--green-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 20px; font-size: 13px; }

/* ── MODAL ── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 200; display: flex; align-items: center; justify-content: center;
    padding: 20px; backdrop-filter: blur(4px);
}
.modal {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px; max-width: 520px; width: 100%;
    max-height: 90vh; overflow-y: auto;
}
.modal h3 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 12px; margin-top: 20px; justify-content: flex-end; }

/* ── FORM ROW ── */
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 150px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .header-main { flex-wrap: wrap; }
    .search-bar { order: 3; max-width: 100%; flex-basis: 100%; }
    .catalog-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; position: fixed; inset: 0; z-index: 150; border-radius: 0; overflow-y: auto; }
    .sidebar.open { display: block; }
    .sidebar-header-mobile { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
    .sidebar-header-mobile h3 { margin-bottom: 0; }
    .sidebar-close { background: none; border: none; font-size: 24px; cursor: pointer; }
    .sidebar-title-desktop { display: none; }
    .mobile-filter-btn { display: flex; }
    .pd-grid { grid-template-columns: 1fr; }
    .pd-image { min-height: 280px; }
    .hero h1 { font-size: 28px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
    .product-img { height: 140px; }
    .product-info { padding: 12px; }
    .product-name { font-size: 13px; }
    .product-price { font-size: 18px; }
    .btn-text { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-img { height: 120px; }
    .pd-buttons { flex-direction: column; }
    .pd-buttons form, .pd-buttons a { min-width: auto; }
    .cart-item { flex-wrap: wrap; }
    .advantages { grid-template-columns: 1fr; }
}
