/* FilaStock — design system inspired by payngo.co.il: black header, goldenrod accent, charcoal/red, tight corners, dense discount-retailer RTL */

:root {
    --black: #0a0a0a;
    --charcoal: #323232;
    --charcoal-2: #1f1f1f;
    --gold: #f2e251;
    --gold-hover: #d5c636;
    --gold-text: #7a6b12;
    --red: #e22626;
    --red-light: #fdeaea;
    --whitesmoke: #f3f3f3;
    --ghostwhite: #f9f9f9;
    --white: #ffffff;
    --ink: #1a1a1a;
    --ink-soft: #6b6b6b;
    --muted: #9d9d9d;
    --border: #e5e5e5;
    --success-bg: #eaf6ec;
    --success-ink: #1e7a34;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.16);
    --container: 1520px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    margin: 0;
    overflow-x: hidden;
    max-width: 100vw;
    font-family: "Heebo", "Segoe UI", Arial, sans-serif;
    background: var(--white);
    color: var(--ink);
    direction: rtl;
    text-align: right;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--gold-text);
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 3px 10px rgba(242,226,81,0.4);
}
.sec-tinted { background: var(--whitesmoke); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Header ---------- */

.site-header {
    background: var(--black);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--gold), var(--gold-hover), var(--gold)) 1;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 14px 32px;
    max-width: var(--container);
    margin: 0 auto;
}

.logo-block { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.logo-plate { display: inline-flex; align-items: center; }
.logo-plate img { display: block; height: 58px; width: auto; }
.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.logo .dot { color: var(--gold); }

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 10px 16px;
}
.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14.5px;
    color: var(--ink);
    font-family: inherit;
}
.search-bar input::placeholder { color: #a3a3a3; }
.search-icon { width: 18px; height: 18px; color: var(--ink-soft); flex-shrink: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    color: var(--charcoal);
    background: var(--gold);
    padding: 9px 16px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    transition: background 0.15s ease;
}
.whatsapp-btn:hover { background: var(--gold-hover); }

.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.main-nav .container { display: flex; gap: 4px; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    border-radius: var(--radius-md);
    transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--ink); background: var(--whitesmoke); }
.main-nav a.active { color: var(--charcoal); background: linear-gradient(135deg, var(--gold-hover), var(--gold)); font-weight: 800; }
.main-nav svg { width: 15px; height: 15px; opacity: 0.7; }

/* ---------- Hero ---------- */

.hero-wrap {
    background-color: var(--black);
    background-image:
        linear-gradient(to left, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.80) 32%, rgba(10,10,10,0.40) 60%, rgba(10,10,10,0.08) 100%),
        url('../images/hero.png');
    background-size: cover;
    background-position: center;
    min-height: 460px;
    display: flex;
    align-items: center;
}

.hero {
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 32px;
    width: 100%;
}

.hero-text { max-width: 560px; }

.hero-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    background: transparent;
    border: 1px solid rgba(242, 226, 81, 0.4);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    white-space: normal;
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}
.hero-pulse {
    width: 7px; height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74,222,128,0.5);
    animation: hero-pulse 2s infinite;
    flex-shrink: 0;
}
@keyframes hero-pulse {
    0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
    70% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.hero h1 {
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--white);
    margin: 0 0 12px;
    font-weight: 800;
}
.hero h1 .accent { color: var(--gold); }

.hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 26px;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: "Rubik", "Heebo", sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: 0.1px;
    border: none;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--gold); color: var(--charcoal); }
.btn-primary:hover { background: var(--gold-hover); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.8); border: 1.5px solid rgba(255,255,255,0.28); }
.btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
/* .btn-outline is styled for dark hero-style backgrounds; the admin area is always light, so override it here once for every admin page/modal instead of patching each button. */
.admin-body .btn-outline { color: var(--ink); border-color: var(--border); background: var(--whitesmoke); }
.admin-body .btn-outline:hover { color: var(--ink); border-color: var(--charcoal); background: var(--border); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 15px 28px; font-size: 17px; font-weight: 800; }

.hero-features {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 11px 14px;
}
.hero-feature-icon {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(242,226,81,0.12);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hero-feature-icon svg { width: 17px; height: 17px; color: var(--gold); }
.hero-feature strong { display: block; font-size: 12.5px; color: var(--white); font-weight: 700; }
.hero-feature span { font-size: 11px; color: rgba(255,255,255,0.5); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Brand strip ---------- */

.brand-strip {
    max-width: var(--container);
    margin: 48px auto 0;
    padding: 0 32px;
}
.brand-strip-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    overflow-x: auto;
}
.brand-strip-title {
    font-size: 24px;
    letter-spacing: -0.3px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 14px;
}
.brand-logo {
    flex: 1;
    text-align: center;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    color: var(--charcoal);
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.brand-logo:hover { background: var(--whitesmoke); border-color: var(--charcoal); transform: translateY(-2px); }
.brand-strip-more {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    color: var(--charcoal);
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.brand-strip-more:hover { color: var(--gold-text); border-color: var(--gold); }

/* ---------- Section headers ---------- */

.section {
    max-width: var(--container);
    margin: 48px auto 0;
    padding: 0 32px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.section-head h2 {
    font-size: 27px;
    letter-spacing: -0.4px;
    color: var(--ink);
    font-weight: 900;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 6px;
}
.section-link:hover { color: var(--ink); }

/* ---------- Product grid & cards ---------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #d4d4d4; border-top-color: var(--gold); }

.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--ghostwhite);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--charcoal);
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}
.product-body { padding: 10px 12px 11px; display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; text-align: center; }
.product-brand { font-size: 10.5px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.4px; }
.product-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-meta { font-size: 11px; color: var(--muted); }

.product-actions { margin-top: auto; padding-top: 8px; width: 100%; border-top: 1px solid var(--border); }
.btn-amazon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: var(--ink);
    padding: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    transition: color 0.15s ease;
}
.btn-amazon svg { color: var(--ink-soft); transition: color 0.15s ease; }
.btn-amazon:hover { color: var(--gold-text); }
.btn-amazon:hover svg { color: var(--gold-text); }

.grid-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
.grid-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
}
.grid-nav-btn:hover { background: var(--whitesmoke); }

/* ---------- Filter chips ---------- */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
}
.chip {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    transition: all 0.15s ease;
}
.chip.active { background: var(--black); color: var(--white); border-color: var(--black); }
.chip:hover:not(.active) { border-color: var(--charcoal); color: var(--ink); }
.chip-color { display: inline-flex; align-items: center; gap: 7px; }
.chip-swatch { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--border); flex-shrink: 0; }
.chip-color.active .chip-swatch { border-color: rgba(255,255,255,0.55); }

.filter-group-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 16px 0 8px;
}

/* ---------- WhatsApp CTA band ---------- */

.cta-band {
    max-width: var(--container);
    margin: 56px auto 0;
    padding: 52px 40px;
    background: var(--black);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
}
.cta-band h2 { font-size: 26px; margin: 0 0 10px; font-weight: 800; letter-spacing: -0.3px; }
.cta-band p { font-size: 14.5px; color: rgba(255,255,255,0.55); margin: 0 0 26px; max-width: 480px; margin-inline: auto; font-weight: 500; }

/* ---------- Footer ---------- */

.site-footer {
    margin-top: 56px;
    background: var(--charcoal-2);
    border-top: 4px solid var(--gold);
    padding: 44px 0 22px;
    color: rgba(255,255,255,0.6);
}
.site-footer .logo { color: var(--white); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 30px;
}
.footer-col:not(:last-child) {
    border-inline-end: 1px solid rgba(255,255,255,0.08);
    padding-inline-end: 32px;
}
.footer-col h4 { font-size: 13.5px; color: var(--white); margin: 0 0 14px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom {
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom-inner {
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--white);
}

/* ---------- Product page ---------- */

.product-page {
    max-width: var(--container);
    margin: 28px auto 0;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
}
.breadcrumbs {
    max-width: var(--container);
    margin: 18px auto 0;
    padding: 0 32px;
    font-size: 12.5px;
    color: var(--ink-soft);
    display: flex;
    gap: 8px;
}
.pp-media {
    background: var(--ghostwhite);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.pp-media img { width: 100%; height: 100%; object-fit: cover; }

.pp-brand { color: var(--ink-soft); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.4px; }
.pp-title { font-size: 28px; letter-spacing: -0.4px; color: var(--ink); font-weight: 800; margin: 8px 0 16px; }

.pp-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.pp-spec-table tr:not(:last-child) td { border-bottom: 1px solid var(--border); }
.pp-spec-table td { padding: 11px 15px; font-size: 13.5px; }
.pp-spec-table td:first-child { color: var(--ink-soft); width: 45%; }
.pp-spec-table td:last-child { color: var(--ink); font-weight: 700; }

.pp-price-box {
    background: var(--whitesmoke);
    border-radius: var(--radius-md);
    padding: 22px;
    margin: 18px 0;
}
.pp-savings { display: inline-block; margin-top: 10px; background: var(--success-bg); color: var(--success-ink); font-weight: 700; font-size: 12.5px; padding: 5px 11px; border-radius: var(--radius-sm); }

.pp-affiliate-note {
    font-size: 11.5px;
    color: var(--ink-soft);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}
.pp-affiliate-note-link { display: block; margin-top: 4px; color: var(--gold-text); font-weight: 700; text-decoration: underline; }

/* ---------- Admin ---------- */

.admin-body { background: var(--whitesmoke); min-height: 100vh; font-family: "Heebo", "Segoe UI", Arial, sans-serif; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--black); color: var(--white); padding: 22px 16px; }
.admin-sidebar .logo { color: var(--white); margin-bottom: 26px; }
.admin-sidebar a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13.5px; color: rgba(255,255,255,0.65); margin-bottom: 3px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-sidebar-highlight { background: var(--gold) !important; color: var(--charcoal) !important; font-weight: 800; margin: 10px 0; }
.admin-sidebar-highlight:hover { background: var(--gold-hover) !important; }
.admin-main { padding: 30px; }
.admin-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border); padding: 22px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: right; font-size: 12px; color: var(--ink-soft); text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.admin-table img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; background: var(--whitesmoke); }
.admin-form label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin: 13px 0 6px; }
.admin-form input, .admin-form select {
    width: 100%;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-family: inherit;
}
.admin-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-login { max-width: 380px; margin: 90px auto; }
.alert { padding: 11px 15px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; }
.alert-error { background: var(--red-light); color: #a12020; }
.alert-success { background: var(--success-bg); color: var(--success-ink); }

.import-card { margin-bottom: 20px; border-top: 4px solid var(--gold); }
.import-title { margin: 0 0 4px; font-size: 15px; font-weight: 800; color: var(--ink); }
.import-hint { margin: 0 0 14px; font-size: 12.5px; color: var(--ink-soft); }
.import-row { display: flex; gap: 10px; }
.import-row input[type="text"] { flex: 1; padding: 9px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13.5px; font-family: inherit; }
.import-row select { padding: 9px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13.5px; font-family: inherit; }
.import-status { margin: 10px 0 0; font-size: 12.5px; min-height: 16px; }
.import-status-ok { color: var(--success-ink); font-weight: 700; }
.import-status-error { color: #a12020; font-weight: 700; }
.import-preview { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); margin-top: 8px; }
.wa-textarea { width: 100%; min-height: 260px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; font-family: inherit; line-height: 1.7; color: var(--ink); resize: vertical; background: var(--whitesmoke); }

.wa-preview-modal { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 20px; }
.wa-preview-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.65); }
.wa-preview-panel {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--gold);
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}
.wa-preview-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.wa-preview-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.wa-preview-close {
    background: var(--whitesmoke); border: none; width: 30px; height: 30px; border-radius: 50%;
    font-size: 14px; color: var(--ink-soft); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.wa-preview-close:hover { background: var(--border); color: var(--ink); }
.wa-preview-body { padding: 20px; }
.wa-preview-image-box { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.wa-preview-image-box img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--ghostwhite); flex-shrink: 0; }
.wa-preview-download {
    flex: 1; text-align: center; justify-content: center; font-size: 13px; padding: 10px 14px;
    /* .btn-outline is designed for dark hero-style backgrounds — override for this light modal. */
    color: var(--ink); border-color: var(--border); background: var(--whitesmoke);
}
.wa-preview-download:hover { color: var(--ink); border-color: var(--charcoal); background: var(--border); }
.wa-preview-foot { padding: 0 20px 20px; }
.wa-preview-foot .btn { width: 100%; justify-content: center; font-size: 15px; padding: 13px; transition: background 0.15s ease, transform 0.1s ease; }
.wa-preview-foot .btn.wa-copied { background: var(--success-ink); color: var(--white); }

/* ---------- Contact page ---------- */

.contact-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 44px;
    align-items: start;
}
.contact-channel { margin-bottom: 16px; }
.contact-channel strong { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 4px; }
.contact-channel a { font-size: 15px; font-weight: 700; color: var(--gold-text); }
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}
.contact-textarea {
    width: 100%;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-family: inherit;
    resize: vertical;
}
.contact-honeypot { position: absolute; left: -9999px; top: -9999px; }

@media (max-width: 900px) {
    .contact-wrap { grid-template-columns: 1fr; }
}

/* ---------- Guides ---------- */

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.guide-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #d4d4d4; }
.guide-card-media { aspect-ratio: 16 / 8; background: var(--ghostwhite); overflow: hidden; padding: 12px; }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius-md); display: block; }
.guide-card-body { padding: 18px 20px 22px; }
.guide-card-tag { font-size: 11px; font-weight: 700; color: var(--gold-text); text-transform: uppercase; letter-spacing: 0.4px; }
.guide-card-body h2 { font-size: 17px; font-weight: 800; color: var(--ink); margin: 8px 0 8px; line-height: 1.4; }
.guide-card-body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 14px; }
.guide-card-cta { font-size: 13px; font-weight: 700; color: var(--ink); }
.guide-hero { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: 28px; }
.guide-hero img { width: 100%; height: auto; display: block; }

/* ---------- Policy page ---------- */

.policy-body { max-width: 760px; }
.policy-body h2 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 32px 0 10px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 14px; }
.policy-body a { color: var(--gold-text); font-weight: 700; text-decoration: underline; }
.policy-list { margin: 0 0 14px; padding-inline-start: 22px; }
.policy-list li { font-size: 14px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 6px; }
.policy-table-wrap { overflow-x: auto; margin: 16px 0 20px; }
.policy-table { min-width: 560px; }
.policy-table td { vertical-align: top; font-size: 13px; color: var(--ink-soft); }
.policy-table thead td { color: var(--ink); background: var(--whitesmoke); }
.policy-link-btn {
    background: none; border: none; padding: 0; font: inherit;
    color: var(--gold-text); font-weight: 700; text-decoration: underline; cursor: pointer;
}
.policy-toc {
    background: var(--whitesmoke);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 32px;
    max-width: 760px;
}
.policy-toc strong { display: block; font-size: 13px; color: var(--ink); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.4px; }
.policy-toc ol {
    columns: 2; column-gap: 24px;
    margin: 0; padding-inline-start: 20px;
}
.policy-toc li { font-size: 13px; margin-bottom: 6px; break-inside: avoid; }
.policy-toc a { color: var(--ink-soft); text-decoration: none; }
.policy-toc a:hover { color: var(--gold-text); text-decoration: underline; }
.policy-body h2 { scroll-margin-top: 90px; }
.policy-footnote {
    margin-top: 36px;
    padding: 14px 16px;
    background: var(--whitesmoke);
    border-inline-start: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .policy-toc ol { columns: 1; }
}

/* Cookie consent banner/modal styling lives in includes/cookie-consent.php
   (self-contained, so it also works on the standalone lp.php landing page). */

/* ---------- Mobile ---------- */

.mobile-toggle { display: none; }

@media (max-width: 1500px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1080px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero { padding: 40px 34px; }
    .hero-text { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col:not(:last-child) { border-inline-end: none; padding-inline-end: 0; }
    .footer-col:nth-child(odd) { border-inline-end: 1px solid rgba(255,255,255,0.08); padding-inline-end: 32px; }
    .product-page { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    html { -webkit-text-size-adjust: 100%; }

    /* header */
    .header-top { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
    .logo-plate img { height: 38px; }
    .search-bar { order: 3; max-width: 100%; width: 100%; padding: 11px 14px; }
    .search-bar input { font-size: 16px; } /* prevents iOS auto-zoom on focus */
    .header-actions { gap: 8px; }
    .whatsapp-btn { padding: 10px 12px; }
    .whatsapp-btn span.label { display: none; }

    /* nav — horizontal scroll with visible affordance */
    .main-nav .container { overflow-x: auto; padding: 0 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .main-nav .container::-webkit-scrollbar { display: none; }
    .main-nav ul { flex-wrap: nowrap; }
    .main-nav a { padding: 10px 13px; font-size: 13.5px; white-space: nowrap; }

    /* hero */
    .hero-wrap { min-height: 0; }
    .hero { padding: 32px 16px; }
    .hero-live-badge { font-size: 11px; padding: 5px 12px; }
    .hero h1 { font-size: 27px; letter-spacing: -0.3px; }
    .hero-sub { font-size: 14px; margin-bottom: 22px; }
    .hero-features { flex-direction: column; margin-bottom: 22px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* generic section padding */
    .section, .brand-strip, .cta-band, .breadcrumbs, .product-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section { margin-top: 36px; }
    .section-head { flex-wrap: wrap; row-gap: 10px; }
    .section-head h2 { font-size: 21px; }

    .brand-strip { margin-top: 36px; }
    .brand-strip-title { font-size: 19px; }
    .brand-strip-inner { padding: 14px; gap: 8px; }
    .brand-logo { flex: none; font-size: 13px; padding: 9px 14px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .cta-band { padding: 36px 20px; border-radius: var(--radius-md); margin-top: 40px; }
    .cta-band h2 { font-size: 21px; }
    .cta-band p { font-size: 13.5px; }

    .footer-grid { grid-template-columns: 1fr; gap: 26px; text-align: center; }
    .footer-col p { margin-inline: auto; }
    .footer-col:not(:last-child) {
        border-inline-end: none;
        padding-inline-end: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; padding: 16px; }

    /* product page — smaller image, so the buy button surfaces higher without scrolling */
    .breadcrumbs { flex-wrap: wrap; }
    .product-page { gap: 18px; }
    .pp-media { max-width: 210px; margin: 0 auto; aspect-ratio: 1 / 1; }
    .pp-title { font-size: 16px; line-height: 1.4; text-align: center; }
    .pp-brand { display: block; text-align: center; }
    .pp-price-box { text-align: center; }
    .pp-price-box .btn-lg { font-size: 18px; padding: 17px 28px; box-shadow: var(--shadow-lg); }

    /* admin */
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 14px; }
    .admin-sidebar .logo { margin-bottom: 0; margin-left: 8px; }
    .admin-main { padding: 16px; }
    .admin-form .row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
    .product-grid { gap: 8px; }
    .product-name { font-size: 12.5px; }
    .hero h1 { font-size: 24px; }
    .logo-plate img { height: 32px; }
}
