@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&display=swap');
@import url("./product.css");

.price-main,
.store-price,
.deal-new,
.deal-old,
.deal-type,
.deal-badge,
.hot-new,
.product-new,
.old-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.price-main {
    font-size: 76px;
    line-height: .95;
    letter-spacing: -3px;
    font-weight: 900;
}

.old-price {
    font-size: 34px;
    letter-spacing: -1px;
    font-weight: 700;
}

.store-price {
    font-size: 28px;
    letter-spacing: -1px;
    font-weight: 800;
}

:root {
    /* Typography (strict hierarchy) */
    --text-strong: #101010;
    --text-main: #363636;
    --text-soft: #777777;
    --text-faint: #999999;

    /* Surfaces */
    --bg: #ffffff;
    --bg-soft: #f7f7f5;
    --bg-card: #fbfbfa;

    /* Borders */
    --border: #ececeb;
    --border-soft: #f3f3f2;

    /* Brand */
    --green: #18794e;
    --green-bg: rgba(24, 121, 78, 0.1);
    --green-border: rgba(24, 121, 78, 0.16);
    --green-text: #18794e;

    /* Hot deals */
    --hot-bg: #faece7;
    --hot-text: #712b13;

    /* Trust / verified copy (olive, distinct from brand green) */
    --verified-text: #6f7a65;

    /* Live badge (olive accent) */
    --live-bg: #f4f7f2;
    --live-text: #748164;
    --live-dot: #a8bf77;

    /* Flash messages (preserve semantics) */
    --flash-info-bg: rgba(219, 234, 254, 0.65);
    --flash-info-text: #1e3a5f;
    --flash-info-border: rgba(37, 99, 235, 0.12);
    --flash-err-bg: rgba(254, 226, 226, 0.72);
    --flash-err-text: #7f1d1d;
    --flash-err-border: rgba(185, 28, 28, 0.12);

    /* Layout */
    --radius: 14px;
    --radius-lg: 22px;

    --page: 1180px;
    --narrow: 760px;

    /* Back-compat: map old names to the hierarchy (prefer explicit tokens above) */
    --text: var(--text-strong);
    --muted: var(--text-soft);
    --muted-2: var(--text-faint);
    --bg-softer: var(--bg-card);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: 'Manrope', Arial, sans-serif;
    background: var(--bg);
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
}

.w {
    width: 100%;
    margin: 0 auto;
}

.divider {
    border: none;
    border-top: 1px solid var(--border-soft);
    margin: 0;
}

.nav {
    width: min(100% - 64px, var(--page));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--muted);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 26px;
}

.nav-link:hover {
    color: var(--text-strong);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
}

.nav-logo img {
    display: block;
    height: 28px;
    width: auto;
}

.btn-primary,
.btn-secondary {
    border-radius: var(--radius);
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 800;
    transition: 0.18s ease;
}

.btn-primary {
    background: var(--text-strong);
    color: var(--bg);
}

.btn-primary:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.btn-secondary {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    color: var(--text-strong);
    border-color: var(--text-strong);
}

.section-label {
    font-size: 16px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer {
    width: 100%;
    padding: 42px 0 16px;
    border-top: 1px solid var(--border-soft);
    background: var(--bg);
    text-align: center;
}


.footer-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-link {
    font-size: 16px;
    color: var(--text-main);
}

.footer-note {
    font-size: 14px;
    color: var(--muted);
    margin-top: 20px;
}

.footer-inner,
.footer {
    box-sizing: border-box;
}

.footer {
    display: grid;
    grid-template-columns: minmax(32px, 1fr) minmax(0, var(--page)) minmax(32px, 1fr);
    align-items: center;
}

.footer > * {
    grid-column: 2;
}

.footer-link:hover {
    color: var(--text-strong);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}


.footer-social {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--text-strong);
    border-radius: 12px;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        opacity .18s ease;
}

.footer-social svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: var(--text-main);
}


@media (max-width: 960px) {
    :root {
        --page: 860px;
    }
}



@media (max-width: 640px) {
    .nav {
        width: min(100% - 44px, var(--page));
        padding: 16px 0;
    }

    .section-label {
    font-size: 17px;
}

    .footer {
        grid-template-columns: 22px 1fr 22px;
    }
}
