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

:root {
    --shopee:      #EE4D2D;
    --shopee-dark: #C73E20;
    --shopee-light:#FFF1EE;
    --green:       #00A650;
    --green-bg:    #E8F8EF;
    --text:        #1A1A1A;
    --muted:       #6B7280;
    --border:      #E5E7EB;
    --bg:          #F5F5F5;
    --whatsapp:    #25D366;
}

html { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 48px;
}

/* ── TOP BAR ── */
.topbar {
    width: 100%;
    background: var(--shopee);
    padding: 11px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.topbar-logo { font-size: 1.3rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.topbar-sep  { color: rgba(255,255,255,0.4); font-size: 0.9rem; }
.topbar-sub  { color: rgba(255,255,255,0.9); font-size: 0.78rem; font-weight: 500; }

/* ── HERO ── */
.hero {
    width: 100%;
    background: linear-gradient(135deg, #EE4D2D 0%, #FF6F4A 55%, #FF9A5C 100%);
    padding: 26px 20px 50px;
    text-align: center;
}
.hero h1 { color: #fff; font-size: clamp(1.35rem, 4.5vw, 2rem); font-weight: 900; line-height: 1.2; }
.hero p   { color: rgba(255,255,255,0.85); font-size: 0.88rem; margin-top: 6px; font-weight: 500; }

/* ── CARD ── */
.card-wrap {
    width: 100%;
    max-width: 480px;
    padding: 0 16px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.11), 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* image */
.img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    overflow: hidden;
}
.img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.card:hover .img-wrap img { transform: scale(1.04); }

.badge-discount {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--shopee);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    padding: 6px 13px;
    border-radius: 10px;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(238,77,45,0.45);
}
.badge-discount small { font-size: 0.6rem; font-weight: 700; display: block; opacity: 0.85; margin-bottom: 1px; }

.badge-stars {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(0,0,0,0.52);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    display: flex; align-items: center; gap: 4px;
}
.star-icon { color: #FBBF24; }

/* body */
.card-body { padding: 20px 20px 0; }

.shop-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--shopee-light);
    color: var(--shopee);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.product-name {
    font-size: clamp(0.92rem, 3vw, 1.05rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    margin-bottom: 16px;
}

.price-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}
.price-now {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    font-weight: 900;
    color: var(--shopee);
    line-height: 1;
}
.price-now sup { font-size: 48%; vertical-align: super; font-weight: 700; }
.price-old { font-size: 0.88rem; color: var(--muted); text-decoration: line-through; margin-bottom: 5px; }

.savings-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--green-bg);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}

/* divider stats */
.stats {
    display: flex;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 0 -20px 20px;
}
.stat {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-val { font-size: 1rem; font-weight: 800; }
.stat-lbl { font-size: 0.65rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* CTA */
.card-footer { padding: 0 20px 20px; }

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--shopee);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(238,77,45,0.38);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-cta:hover  { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(238,77,45,0.48); background: var(--shopee-dark); }
.btn-cta:active { transform: translateY(0); }
.btn-icon { font-size: 1.2rem; }

.disclaimer {
    text-align: center;
    font-size: 0.67rem;
    color: var(--muted);
    margin-top: 10px;
    line-height: 1.5;
}

/* ── WHATSAPP CTA ── */
.wa-wrap {
    width: 100%;
    max-width: 480px;
    padding: 16px 16px 0;
}
.btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--whatsapp);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(37,211,102,0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-wa:hover  { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
.btn-wa:active { transform: translateY(0); }
.wa-icon { font-size: 1.2rem; }
.wa-text-small { font-size: 0.7rem; opacity: 0.88; font-weight: 500; }

/* ── FOOTER ── */
.foot {
    margin-top: 28px;
    text-align: center;
    font-size: 0.68rem;
    color: #625d5d;
    padding: 0 20px;
    line-height: 1.6;
}
.foot a{
    color: #625d5d;
}

@media (prefers-reduced-motion: reduce) {
    .card:hover .img-wrap img { transform: none; }
}
