/* ==========================================================================
   Diyar Computers — shared stylesheet
   Plain CSS, mobile-first. Used by index, catalog and all product pages.
   ========================================================================== */

:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --secondary: #3182ce;
    --accent: #ed8936;
    --accent-dark: #c05621;
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --bg-soft: #edf2f7;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, .12), 0 8px 10px -6px rgba(0, 0, 0, .06);
    --shadow-xl: 0 20px 40px -12px rgba(26, 54, 93, .25);
    --radius: 14px;
    --radius-sm: 10px;
    --transition: all .25s ease;
    --header-h: 72px;
    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute; top: -48px; left: 0;
    background: var(--primary); color: #fff; padding: 10px 16px;
    text-decoration: none; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.6rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
    border: 2px solid transparent; transition: var(--transition); line-height: 1.2;
    white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff; box-shadow: 0 4px 14px rgba(26, 54, 93, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(26, 54, 93, .4); }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--secondary); color: var(--secondary); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-amazon {
    background: linear-gradient(135deg, #ff9900 0%, #ffb84d 100%);
    color: #131921; box-shadow: 0 4px 14px rgba(255, 153, 0, .35);
}
.btn-amazon:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255, 153, 0, .45); }
.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
    color: #fff; box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37, 211, 102, .45); }
.btn-block { width: 100%; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
header {
    position: fixed; inset: 0 0 auto 0; height: var(--header-h);
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: var(--shadow); z-index: 1000; transition: box-shadow .25s ease;
}
nav {
    max-width: var(--maxw); margin: 0 auto; height: 100%;
    padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 1.75rem; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--text-light); font-weight: 500; font-size: .95rem;
    position: relative; transition: color .2s ease; padding: .25rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--secondary); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-cta .btn { padding: .55rem 1rem; font-size: .9rem; }

.mobile-menu-btn {
    display: none; background: none; border: none; cursor: pointer; padding: .4rem; color: var(--primary);
}
.nav-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, .5);
    opacity: 0; visibility: hidden; transition: var(--transition); z-index: 998;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative; overflow: hidden; color: #fff;
    padding: calc(var(--header-h) + 3.5rem) 0 4rem;
    background:
        radial-gradient(circle at 80% 10%, rgba(49,130,206,.55) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(237,137,54,.35) 0%, transparent 45%),
        linear-gradient(135deg, #14233f 0%, #1a365d 55%, #2c5282 100%);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.hero-tagline {
    display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
    color: #fff; padding: .45rem 1.1rem; border-radius: 50px; font-size: .8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; line-height: 1.12; margin-bottom: 1.1rem; }
.hero h1 span { color: #ffc278; }
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,.85);
    max-width: 640px; margin-bottom: 2rem;
}
.cta-buttons { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 3rem; }
.stat-number { font-size: 2.2rem; font-weight: 800; color: #fff; }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .5px; }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 4.5rem 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%); }
.section--soft { background: var(--bg-light); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-tag {
    display: inline-block; color: var(--secondary); font-weight: 700; font-size: .8rem;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .6rem;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--primary); margin-bottom: .9rem; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

/* ==========================================================================
   Category cards (Shop by Category)
   ========================================================================== */
.category-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.category-card {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; text-decoration: none; color: inherit; transition: var(--transition);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.category-card .cat-img {
    aspect-ratio: 4 / 3; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.category-card .cat-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.category-card .cat-body { padding: 1.1rem 1.25rem 1.4rem; }
.category-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: .25rem; }
.category-card .cat-count { color: var(--text-muted); font-size: .9rem; }
.category-card .cat-link { margin-top: .6rem; color: var(--secondary); font-weight: 600; font-size: .9rem; }

/* ==========================================================================
   Product grid & cards
   ========================================================================== */
.product-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.product-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card .pc-imgwrap {
    aspect-ratio: 1 / 1; background: #fff; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; padding: .9rem;
}
.product-card .pc-imgwrap img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.product-card:hover .pc-imgwrap img { transform: scale(1.04); }
.pc-brand {
    position: absolute; top: .6rem; left: .6rem; background: var(--bg-light); color: var(--primary);
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    padding: .25rem .55rem; border-radius: 50px;
}
.product-card .pc-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-cat { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .3rem; }
.product-card .pc-title {
    font-size: .95rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.6em;
}
.product-card .pc-title:hover { color: var(--secondary); }
.product-card .pc-price { font-weight: 800; color: var(--primary); margin-top: .5rem; }
.product-card .pc-actions { margin-top: auto; padding-top: .9rem; display: grid; gap: .5rem; }

/* ==========================================================================
   Catalog toolbar (search + filters)
   ========================================================================== */
.catalog-hero {
    background: linear-gradient(135deg, #14233f 0%, #1a365d 100%); color: #fff;
    padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
}
.catalog-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.catalog-hero p { color: rgba(255,255,255,.8); margin-top: .5rem; }
.toolbar { display: flex; flex-direction: column; gap: 1rem; margin: 1.75rem 0 1.25rem; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-muted); }
.search-box input {
    width: 100%; padding: .9rem 1rem .9rem 2.8rem; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-size: 1rem; background: #fff; transition: var(--transition);
}
.search-box input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(49,130,206,.15); }
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filter-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-right: .25rem; }
.chip {
    border: 1.5px solid var(--border); background: #fff; color: var(--text-light);
    padding: .45rem .9rem; border-radius: 50px; font-size: .85rem; font-weight: 600; cursor: pointer;
    transition: var(--transition); white-space: nowrap;
}
.chip:hover { border-color: var(--secondary); color: var(--secondary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.results-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.25rem; }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb { font-size: .85rem; color: var(--text-muted); padding: calc(var(--header-h) + 1.25rem) 0 0; }
.breadcrumb a { color: var(--secondary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; }

/* ==========================================================================
   Product detail
   ========================================================================== */
.product-detail { padding: 1.5rem 0 4rem; }
.pd-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .pd-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }

/* CSS-only gallery */
.gallery { position: sticky; top: calc(var(--header-h) + 1rem); }
.gallery-main {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
    scrollbar-width: thin;
}
.gallery-main .slide {
    flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.gallery-main .slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .85rem; flex-wrap: wrap; }
.gallery-thumbs a {
    width: 68px; height: 68px; border: 2px solid var(--border); border-radius: 10px; overflow: hidden;
    background: #fff; display: flex; align-items: center; justify-content: center; padding: .25rem; transition: var(--transition);
}
.gallery-thumbs a:hover { border-color: var(--secondary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.pd-info h1 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--primary); line-height: 1.25; margin-bottom: .75rem; }
.pd-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.badge {
    display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 50px;
    font-size: .78rem; font-weight: 700; letter-spacing: .3px;
}
.badge-brand { background: var(--primary); color: #fff; }
.badge-cat { background: var(--bg-soft); color: var(--primary); }
.badge-stock { background: #c6f6d5; color: #22543d; }
.badge-cond { background: #e2e8f0; color: var(--text-dark); }
.pd-price { font-size: 1.9rem; font-weight: 800; color: var(--primary); margin: .25rem 0 1rem; }
.pd-desc { color: var(--text-light); font-size: 1.02rem; line-height: 1.8; margin-bottom: 1.5rem; }
.pd-specs { list-style: none; margin: 0 0 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pd-specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; font-size: .92rem; }
.pd-specs li:nth-child(odd) { background: var(--bg-light); }
.pd-specs .k { color: var(--text-muted); font-weight: 600; }
.pd-specs .v { color: var(--text-dark); text-align: right; }
.pd-actions { display: grid; gap: .75rem; margin-bottom: 1.25rem; }
@media (min-width: 480px) { .pd-actions { grid-template-columns: 1fr 1fr; } }
.pd-note { font-size: .85rem; color: var(--text-muted); }

/* ==========================================================================
   About / Services / Partners (homepage)
   ========================================================================== */
.feature-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feature-card { background: var(--bg-light); border: 1px solid var(--border); padding: 2rem; border-radius: var(--radius); transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: .75rem; display: flex; align-items: center; gap: .75rem; }
.feature-card p { color: var(--text-light); font-size: .97rem; line-height: 1.75; }
.icon-box {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.icon-box svg { width: 24px; height: 24px; }

.partners-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.partner-card { background: #fff; border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: var(--transition); }
.partner-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; }
.partner-card.gold::before { background: linear-gradient(90deg, #FFD700, #FFA500); }
.partner-card.silver::before { background: linear-gradient(90deg, #C0C0C0, #A0A0A0); }
.partner-card.authorized::before { background: linear-gradient(90deg, var(--secondary), var(--primary)); }
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.partner-badge { display: inline-block; padding: .35rem .9rem; border-radius: 50px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .9rem; }
.partner-badge.gold { background: linear-gradient(135deg, #FFD700, #FFA500); color: #1a202c; }
.partner-badge.silver { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); color: #1a202c; }
.partner-badge.authorized { background: linear-gradient(135deg, var(--secondary), var(--primary)); color: #fff; }
.partner-card h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: .75rem; }
.partner-card p { color: var(--text-light); font-size: .92rem; line-height: 1.7; }
.other-partners { margin-top: 2.5rem; text-align: center; }
.other-partners h4 { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 1px; }
.partner-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.partner-logo { padding: .8rem 1.5rem; background: #fff; border-radius: 8px; font-weight: 600; color: var(--text-light); box-shadow: var(--shadow); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.contact-item svg { width: 24px; height: 24px; color: var(--secondary); flex-shrink: 0; margin-top: .25rem; }
.contact-item h4 { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .25rem; }
.contact-item p, .contact-item a { color: var(--text-dark); font-size: 1.05rem; text-decoration: none; }
.contact-item a:hover { color: var(--secondary); }
.contact-form { background: var(--bg-light); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); }
.contact-form h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 1.25rem; }
.form-row { display: grid; gap: 0; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-dark); margin-bottom: .4rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: .8rem 1rem; border: 2px solid var(--border); border-radius: var(--radius-sm);
    font-size: 1rem; font-family: inherit; background: #fff; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(49,130,206,.12); }
.form-group input.error, .form-group textarea.error { border-color: #e53e3e; background: #fff5f5; }
.form-group textarea { resize: vertical; min-height: 120px; }
.error-message { color: #e53e3e; font-size: .82rem; margin-top: .35rem; display: none; }
.error-message.visible { display: block; }
.btn-submit {
    width: 100%; padding: 1rem; border: none; border-radius: var(--radius-sm); cursor: pointer;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff; font-size: 1rem; font-weight: 600; transition: var(--transition);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26, 54, 93, .3); }
.form-success { padding: 1rem; border-radius: 10px; margin-top: 1rem; text-align: center; font-weight: 500; display: none; background: #c6f6d5; color: #22543d; }
.form-success.visible { display: block; }

/* ==========================================================================
   Related products strip
   ========================================================================== */
.related { background: var(--bg-light); }

/* ==========================================================================
   Footer
   ========================================================================== */
footer { background: var(--primary); color: #fff; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1rem; background: #fff; padding: .45rem .7rem; border-radius: 10px; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .92rem; max-width: 280px; }
.footer-col h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 1rem; color: rgba(255,255,255,.95); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--maxw); margin: 2.5rem auto 0; padding: 1.5rem 1.25rem 0; border-top: 1px solid rgba(255,255,255,.12); text-align: center; color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-legal { margin-top: .7rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* Static legal/content pages */
.legal { padding: calc(var(--header-h) + 2rem) 0 4rem; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--primary); margin-bottom: .5rem; }
.legal .updated { color: var(--text-muted); font-size: .9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; color: var(--primary); margin: 1.8rem 0 .6rem; }
.legal p, .legal li { color: var(--text-light); line-height: 1.8; }
.legal ul { margin: .5rem 0 1rem 1.25rem; }
.legal a { color: var(--secondary); }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.float-wa {
    position: fixed; bottom: 20px; right: 20px; z-index: 900;
    width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp);
    display: flex; align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .45); transition: var(--transition);
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; }

/* ==========================================================================
   Responsive — mobile nav drawer & layout
   ========================================================================== */
@media (max-width: 920px) {
    .nav-cta .btn-amazon { display: none; }
}
@media (max-width: 860px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: fixed; top: 0; right: 0; height: 100vh; width: min(80vw, 320px);
        flex-direction: column; align-items: flex-start; gap: .25rem;
        background: #fff; padding: calc(var(--header-h) + .5rem) 1.5rem 2rem;
        box-shadow: -8px 0 24px rgba(0,0,0,.12);
        transform: translateX(100%); transition: transform .3s ease; z-index: 999;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; width: 100%; padding: .85rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
    .nav-links a::after { display: none; }
    .nav-links .nav-mobile-cta { margin-top: 1rem; border-bottom: none; }
    .nav-links .nav-mobile-cta .btn { width: 100%; }
}
@media (min-width: 861px) {
    .nav-links .nav-mobile-cta { display: none; }
}
@media (max-width: 600px) {
    section { padding: 3rem 0; }
    .hero-stats { gap: 1.5rem; }
    .stat-number { font-size: 1.8rem; }
    .cta-buttons .btn { flex: 1 1 100%; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
    .product-card .pc-imgwrap { padding: .6rem; }
    .product-card .pc-body { padding: .7rem .75rem 1rem; }
    .float-wa { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}
