@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --navy: #0a1628;
    --navy2: #0f2040;
    --blue: #1255cc;
    --bl: #1e6ef5;
    --bp: #e8f0fe;
    --green: #00c98d;
    --gd: #00a874;
    --gp: #e6faf4;
    --gold: #f5a623;
    --gold2: #e6960b;
    --red: #e84040;
    --orange: #f97316;
    --w: #fff;
    --gr: #f0f4fb;
    --gr2: #dde5f4;
    --tx: #1a2540;
    --mu: #6b7fa3;
    --br: rgba(18, 85, 204, .13);
    --sh: 0 4px 20px rgba(10, 22, 40, .08);
    --shl: 0 20px 56px rgba(10, 22, 40, .18);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

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

body {
    font-family: 'Manrope', sans-serif;
    background: #f0f4fb;
    color: var(--tx);
}

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

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

button {
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
}

/* BC */
.bc {
    background: white;
    border-bottom: 1px solid var(--br);
    padding: 0 24px;
}

.bc-in {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    font-size: 12px;
    color: var(--mu);
}

.bc-in a {
    color: var(--blue);
}

/* HERO */
.hero {
    background: var(--navy);
    padding: 48px 24px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 55% at 50% -5%, rgba(245, 166, 35, .18) 0%, transparent 60%),
    radial-gradient(ellipse 45% 50% at 5% 95%, rgba(18, 85, 204, .2) 0%, transparent 55%),
    radial-gradient(ellipse 35% 45% at 95% 95%, rgba(0, 201, 141, .1) 0%, transparent 55%);
}

.hero-in {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-top {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 40px;
    align-items: center;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .hero-top {
        grid-template-columns:1fr;
        gap: 24px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(245, 166, 35, .15);
    border: 1px solid rgba(245, 166, 35, .35);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.hdot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .4;
        transform: scale(1.5);
    }
}

.hero h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(24px, 4.5vw, 46px);
    font-weight: 900;
    color: white;
    line-height: 1.12;
    letter-spacing: -.5px;
    margin-bottom: 12px;
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 24px;
}

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

.hbg {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--navy);
    padding: 13px 26px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(245, 166, 35, .3);
    transition: transform .15s;
}

.hbg:hover {
    transform: translateY(-2px);
}

.hbw {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .09);
    color: white;
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.hbw:hover {
    background: rgba(255, 255, 255, .15);
}

/* hero stat cards */
.hero-stats {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns:1fr 1fr;
    }
}

.hs {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 16px 14px;
    text-align: center;
}

.hs-n {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.hs-n.g {
    color: var(--green);
}

.hs-n.gd {
    color: var(--gold);
}

.hs-n.b {
    color: #7eb8ff;
}

.hs-l {
    font-size: 11px;
    color: rgba(255, 255, 255, .4);
}

/* Explain block */
.explain {
    background: rgba(255, 255, 255, .05);
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 20px 0;
}

.explain-in {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 0;
}

@media (max-width: 700px) {
    .explain-in {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 480px) {
    .explain-in {
        grid-template-columns:1fr;
    }
}

.ex {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.ex:last-child {
    border-right: none;
}

@media (max-width: 700px) {
    .ex {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }
}

.ex-ic {
    font-size: 22px;
    flex-shrink: 0;
}

.ex-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.ex-text span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .4);
    line-height: 1.5;
}

/* CONTROLS */
.controls {
    background: white;
    border-bottom: 1px solid var(--br);
    padding: 14px 24px;
    position: sticky;
    top: 64px;
    z-index: 90;
    box-shadow: 0 2px 8px rgba(10, 22, 40, .05);
}

.ctrl-in {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Search */
.sf {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 380px;
    background: var(--gr);
    border: 2px solid var(--br);
    border-radius: 11px;
    padding: 0 12px;
    transition: border-color .2s;
}

.sf:focus-within {
    border-color: var(--blue);
}

.sf svg {
    color: var(--mu);
    flex-shrink: 0;
}

.sf input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 10px 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13.5px;
    color: var(--tx);
}

.sf input::placeholder {
    color: #aab5cc;
}

/* Category select */
.cat-sel {
    padding: 10px 14px;
    border: 2px solid var(--br);
    border-radius: 11px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: var(--tx);
    background: white;
    outline: none;
    cursor: pointer;
    min-width: 160px;
}

.cat-sel:focus {
    border-color: var(--blue);
}

/* Sort */
.sort-sel {
    padding: 10px 14px;
    border: 2px solid var(--br);
    border-radius: 11px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: var(--tx);
    background: white;
    outline: none;
    cursor: pointer;
}

/* Margin filter */
.margin-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--mu);
}

.mf-in {
    width: 80px;
    padding: 8px 10px;
    border: 2px solid var(--br);
    border-radius: 9px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: var(--tx);
    background: white;
    outline: none;
    text-align: center;
}

.mf-in:focus {
    border-color: var(--blue);
}

/* Type pills */
.type-pills {
    display: flex;
    gap: 6px;
}

.tp {
    padding: 7px 13px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 600;
    background: var(--gr);
    color: var(--mu);
    border: 1px solid var(--br);
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}

.tp:hover, .tp.on {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}

@media (max-width: 700px) {
    .controls {
        position: static;
        padding: 12px 14px;
    }

    .sf {
        max-width: 100%;
        flex: none;
        width: 100%;
    }

    .margin-filter {
        display: none;
    }

    .ctrl-in {
        gap: 8px;
    }
}

/* MAIN */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 64px;
}

@media (max-width: 600px) {
    .main {
        padding: 14px 12px 48px;
    }
}

/* List header */
.list-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.lh-info {
    font-size: 13.5px;
    color: var(--mu);
}

.lh-info strong {
    color: var(--tx);
}

.lh-view {
    display: flex;
    gap: 4px;
}

.vb {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--br);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--mu);
    font-size: 13px;
    transition: all .15s;
}

.vb.on, .vb:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}

/* PRODUCT GRID */
.prod-grid {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

@media (max-width: 700px) {
    .prod-grid {
        grid-template-columns:repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 400px) {
    .prod-grid {
        grid-template-columns:repeat(2, 1fr);
        gap: 8px;
    }
}

/* Product card */
.pc {
    background: white;
    border-radius: 16px;
    border: 2px solid var(--br);
    overflow: hidden;
    box-shadow: var(--sh);
    transition: border-color .2s, box-shadow .2s, transform .2s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pc:hover {
    border-color: var(--blue);
    box-shadow: var(--shl);
    transform: translateY(-4px);
}

/* Margin badge on card */
.pc-margin-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(245, 166, 35, .4);
}

.pc-type {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.pc-drop {
    background: #fff3e0;
    color: #e65100;
}

.pc-opt {
    background: var(--gp);
    color: var(--gd);
}

.pc-img-wrap {
    position: relative;
    overflow: hidden;
}

.pc-img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    background: var(--gr);
    display: block;
    transition: transform .3s;
}

@media (max-width: 700px) {
    .pc-img {
        height: 130px;
    }
}

.pc:hover .pc-img {
    transform: scale(1.04);
}

.pc-img-ph {
    width: 100%;
    height: 175px;
    background: var(--gr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

@media (max-width: 700px) {
    .pc-img-ph {
        height: 130px;
    }
}

/* Supplier strip */
.pc-sup {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px 0;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--blue);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pc-sup-logo {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--gr);
    flex-shrink: 0;
    border: 1px solid var(--br);
}

/* Body */
.pc-body {
    padding: 8px 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pc-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tx);
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    flex: 1;
}

@media (max-width: 700px) {
    .pc-name {
        font-size: 12px;
    }
}

/* Prices */
.pc-prices {
    background: var(--gr);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.pc-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    padding: 3px 0;
}

.ppr-label {
    color: var(--mu);
}

.ppr-val {
    font-weight: 700;
    color: var(--navy);
}

.ppr-val.blue {
    color: var(--blue);
}

.ppr-val.lock {
    color: var(--blue);
    cursor: pointer;
    font-size: 11.5px;
    text-decoration: underline;
}

.pc-prices .divider {
    height: 1px;
    background: var(--br);
    margin: 4px 0;
}

/* Margin row */
.pc-margin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.pm-label {
    font-size: 11.5px;
    color: var(--mu);
}

.pm-values {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pm-grn {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: var(--gold);
}

.pm-pct {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(245, 166, 35, .12);
    color: var(--gold2);
}

/* Margin bar */
.margin-bar {
    height: 5px;
    background: var(--gr2);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 12px;
}

.margin-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    transition: width .6s ease;
}

/* CTA */
.pc-cta {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--bl), var(--blue));
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: opacity .15s, transform .15s;
}

.pc-cta:hover {
    opacity: .88;
    transform: translateY(-1px);
}

/* LIST VIEW (alternative) */
.prod-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pl-card {
    background: white;
    border-radius: 16px;
    border: 2px solid var(--br);
    box-shadow: var(--sh);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.pl-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shl);
    transform: translateY(-2px);
}

.pl-rank {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: var(--mu);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.pl-rank.top {
    color: var(--gold);
}

.pl-img {
    width: 72px;
    height: 72px;
    border-radius: 11px;
    object-fit: cover;
    background: var(--gr);
    flex-shrink: 0;
}

.pl-img-ph {
    width: 72px;
    height: 72px;
    border-radius: 11px;
    background: var(--gr);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.pl-info {
    flex: 1;
    min-width: 0;
}

.pl-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pl-sup {
    font-size: 11.5px;
    color: var(--blue);
    margin-bottom: 6px;
}

.pl-type-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
}

.pl-prices {
    display: flex;
    gap: 16px;
    font-size: 12.5px;
    color: var(--mu);
    flex-wrap: wrap;
}

.pl-prices span {
    white-space: nowrap;
}

.pl-prices strong {
    color: var(--tx);
}

.pl-margin {
    text-align: right;
    flex-shrink: 0;
}

.plm-val {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.plm-pct {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold2);
    margin-top: 2px;
}

.plm-bar {
    width: 80px;
    height: 5px;
    background: var(--gr2);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 6px;
}

.plm-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
}

@media (max-width: 600px) {
    .pl-card {
        padding: 12px 14px;
        gap: 12px;
    }

    .pl-img, .pl-img-ph {
        width: 56px;
        height: 56px;
        border-radius: 9px;
    }

    .pl-margin {
        display: none;
    }

    .pl-rank {
        display: none;
    }
}

/* PAGINATION */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.pag {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 2px solid var(--br);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
}

.pag:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.pag.on {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}

/* REG CTA */
.reg-cta {
    background: linear-gradient(135deg, var(--navy2), var(--navy));
    border-radius: 20px;
    padding: 32px 28px;
    display: grid;
    grid-template-columns:1fr auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.reg-cta::before {
    content: '⭐';
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: .07;
}

@media (max-width: 600px) {
    .reg-cta {
        grid-template-columns:1fr;
        gap: 16px;
    }
}

.rc-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(15px, 2.5vw, 20px);
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}

.rc-sub {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.65;
}

.rc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--navy);
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(245, 166, 35, .3);
    transition: transform .15s;
}

.rc-btn:hover {
    transform: translateY(-2px);
}

/* REVEAL */
.rev {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
}

.rev.v {
    opacity: 1;
    transform: none;
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    padding: 48px 40px 28px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    text-align: left;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns:1fr 1fr;
        gap: 24px;
    }
}

.footer-brand svg {
    height: 26px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .35);
    line-height: 1.65;
    max-width: 240px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .3);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    padding: 4px 0;
    transition: color .15s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .25);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: var(--green);
}