:root {
    --yellow: #ffd100;
    --yellow-deep: #ffb300;
    --dark: #111111;
    --bg: #ececec;
    --surface: rgba(255,255,255,.84);
    --text: #181818;
    --muted: #667085;
    --border: rgba(17,17,17,.08);
    --shadow-1: 0 10px 30px rgba(0,0,0,.08);
    --shadow-2: 0 22px 50px rgba(0,0,0,.12);
    --shadow-3: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(0,0,0,.05);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Be Vietnam Pro", system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 221, 87, .45), transparent 26%),
        radial-gradient(circle at bottom right, rgba(255, 187, 0, .28), transparent 22%),
        linear-gradient(180deg, #f8f8f8 0%, #ececec 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1220px, calc(100% - 28px)); margin: 0 auto; position: relative; z-index: 2; }

.bg-grid,
.bg-orb { position: fixed; inset: 0; pointer-events: none; }
.bg-grid {
    background-image:
        linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.35), transparent 80%);
}
.bg-orb {
    filter: blur(40px);
    opacity: .55;
    animation: floatOrb 12s ease-in-out infinite;
}
.orb-a {
    width: 320px; height: 320px;
    background: rgba(255, 208, 0, .35);
    top: 60px; left: -90px; border-radius: 50%;
}
.orb-b {
    width: 300px; height: 300px;
    background: rgba(255, 144, 0, .24);
    bottom: 40px; right: -100px; border-radius: 50%;
    animation-delay: -4s;
}

.topbar {
    background: linear-gradient(180deg, #111 0%, #1e1e1e 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    position: sticky;
    top: 0;
    z-index: 30;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
}
.topbar__left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.topbar__left marquee {
    color: #c4ffd0;
    font-size: 13px;
    opacity: .95;
}
.topbar__pill {
    white-space: nowrap;
    background: rgba(255, 209, 0, .14);
    color: #ffd64a;
    border: 1px solid rgba(255, 209, 0, .3);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}
.topbar__message {
    display: flex;
    align-items: center;
    gap: 8px;
}
.topbar__message input {
    width: 230px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.08);
    color: #fff;
    padding: 10px 12px;
    outline: none;
}
.topbar__message button {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffd100, #ffbd00);
    color: #161616;
    font-weight: 800;
    padding: 10px 14px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(255, 193, 0, .28);
}

.navbar {
    padding: 14px 0;
    position: sticky;
    top: 46px;
    z-index: 20;
    backdrop-filter: blur(14px);
}
.navbar__inner {
    background: linear-gradient(180deg, rgba(255, 209, 0, .98), rgba(255, 191, 0, .94));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,.5);
    box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -2px 0 rgba(0,0,0,.06);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.brand {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: -.02em;
    text-shadow: 0 2px 0 rgba(255,255,255,.4), 0 10px 18px rgba(0,0,0,.12);
}
.brand__shop, .brand__dot { color: #111; }
.brand__mini { color: #ff2f00; }
.hero-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.9);
    border-radius: 999px;
    padding: 8px;
    box-shadow: inset 0 3px 12px rgba(0,0,0,.06), 0 8px 18px rgba(0,0,0,.08);
}
.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px 16px;
    color: #333;
}
.hero-search button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(180deg, #161616, #2e2e2e);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 14px 24px rgba(0,0,0,.18);
}
.navbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn {
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark {
    color: #fff;
    background: linear-gradient(180deg, #171717, #2b2b2b);
    box-shadow: 0 14px 26px rgba(0,0,0,.16);
}
.btn--light {
    color: #111;
    background: rgba(255,255,255,.82);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 18px rgba(0,0,0,.1);
}

.page-shell { padding: 22px 0 60px; }
.hero-banner {
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #fff6bf 0%, #ffd100 35%, #ffbb00 100%);
    box-shadow: 0 28px 60px rgba(255, 187, 0, .2), inset 0 1px 0 rgba(255,255,255,.8);
}
.hero-banner::before,
.hero-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.23);
}
.hero-banner::before { width: 260px; height: 260px; top: -80px; left: -40px; }
.hero-banner::after { width: 320px; height: 320px; right: -100px; bottom: -120px; }
.hero-banner__content {
    min-height: 250px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    align-items: center;
    padding: 34px;
    position: relative;
}
.hero-banner__tag {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(17,17,17,.1);
    color: #1b1b1b;
    font-weight: 800;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}
.hero-banner h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    letter-spacing: -.03em;
}
.hero-banner p {
    margin: 0;
    max-width: 700px;
    color: rgba(17,17,17,.78);
    font-size: 15px;
    line-height: 1.75;
}
.hero-banner__actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.cta {
    border-radius: 16px;
    font-weight: 800;
    padding: 14px 18px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta--primary {
    color: #fff;
    background: linear-gradient(180deg, #161616, #2a2a2a);
    box-shadow: 0 16px 30px rgba(0,0,0,.16);
}
.cta--ghost {
    background: rgba(255,255,255,.58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 12px 20px rgba(0,0,0,.08);
}
.hero-banner__visual {
    position: relative;
    height: 100%;
    min-height: 220px;
}
.floating-card {
    position: absolute;
    min-width: 220px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255,255,255,.34);
    backdrop-filter: blur(16px);
    box-shadow: 0 26px 50px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.3);
    transform-style: preserve-3d;
}
.floating-card strong { display: block; font-size: 24px; margin: 10px 0 8px; }
.floating-card small { color: rgba(0,0,0,.65); }
.floating-card--main { right: 16px; top: 14px; transform: rotate(6deg); }
.floating-card--side { left: 16px; bottom: 18px; transform: rotate(-7deg); }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, #1d1d1d, #121212);
    color: #ffd100;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}
.chip--violet { background: linear-gradient(180deg, #6f48ff, #4e2fee); color: #fff; }

.section-card {
    margin-top: 24px;
    background: var(--surface);
    border-radius: 30px;
    padding: 18px;
    box-shadow: var(--shadow-2), var(--shadow-3);
    border: 1px solid rgba(255,255,255,.75);
    backdrop-filter: blur(18px);
}
.section-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 4px 14px;
    border-bottom: 2px solid rgba(255, 191, 0, .75);
}
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title__icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffec8b, #ffd100);
    box-shadow: 0 12px 24px rgba(255, 193, 0, .24);
}
.section-title h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -.02em;
}
.section-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.countdown { color: #ef4444; font-size: 13px; font-weight: 800; }
.mini-badge {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}
.mini-badge--purple { background: linear-gradient(180deg, #8a63ff, #6a41f2); color: #fff; }
.mini-badge--yellow { background: linear-gradient(180deg, #ffe37a, #ffd100); color: #151515; }
.notice-bar {
    margin: 16px 0 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: linear-gradient(180deg, #d8f4ff, #caefff);
    border: 1px solid #16b4e8;
    color: #085b79;
    padding: 12px 14px;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.notice-bar p { margin: 0; line-height: 1.6; }
.notice-bar code {
    background: rgba(255,255,255,.45);
    padding: 2px 6px;
    border-radius: 8px;
}

.categories-card { margin-top: 18px; }
.category-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.category-chip {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(17,17,17,.08);
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
    font-weight: 700;
    transition: .25s ease;
}
.category-chip:hover,
.category-chip.is-active {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #ffe37a, #ffd100);
    color: #111;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.product-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,249,228,.92));
    border: 1px solid rgba(255, 193, 0, .75);
    box-shadow: 0 18px 32px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.9);
    transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 42px rgba(0,0,0,.13), 0 0 0 1px rgba(255, 193, 0, .4);
}
.product-card__glow {
    position: absolute;
    inset: auto -10% 78% -10%;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 221, 87, .8) 0%, rgba(255, 221, 87, 0) 70%);
    opacity: .8;
    pointer-events: none;
}
.product-card__thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    padding: 10px;
    background: linear-gradient(180deg, #fff9cf 0%, #fff3aa 100%);
    border-bottom: 1px solid rgba(17,17,17,.06);
}
.product-card__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1b1b1b, #111);
    color: #ffd100;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0,0,0,.16);
}
.product-card__logo,
.product-card__image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}
.product-card__logo {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1b1b1b, #2f2f2f);
    color: #ffd100;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -.05em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 24px rgba(0,0,0,.16);
}
.product-card__image {
    object-fit: cover;
    object-position: center;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
}
.product-card__body { padding: 12px; }
.product-card__body h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.45;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__body p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__specs {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: grid;
    gap: 6px;
}
.product-card__specs li {
    font-size: 12px;
    color: #3c4657;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card__price-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.product-card__price-row strong {
    color: #ef233c;
    font-size: 22px;
    line-height: 1;
}
.product-card__price-row span {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}
.product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,209,0,.16);
    color: #574100;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, #171717, #2b2b2b);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(0,0,0,.12);
}
.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255,255,255,.7);
    border: 1px dashed rgba(17,17,17,.14);
    text-align: center;
}
.empty-state strong { display: block; margin-bottom: 6px; }
.empty-state span { color: var(--muted); }

@keyframes floatOrb {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(0,-18px,0) scale(1.05); }
}

@media (max-width: 1280px) {
    .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
    .navbar__inner,
    .topbar__inner,
    .section-card__head { flex-wrap: wrap; }
    .hero-banner__content { grid-template-columns: 1fr; }
    .hero-banner__visual { min-height: 250px; }
    .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .navbar { top: 0; position: relative; }
    .topbar { position: relative; }
    .navbar__inner { gap: 12px; }
    .brand { width: 100%; text-align: center; }
    .hero-search { order: 3; width: 100%; }
    .navbar__actions { width: 100%; justify-content: center; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .container { width: min(100% - 14px, 100%); }
    .topbar__inner,
    .topbar__left,
    .topbar__message,
    .section-card__head { flex-direction: column; align-items: stretch; }
    .topbar__message input { width: 100%; }
    .section-title h2 { font-size: 22px; }
    .hero-banner { border-radius: 24px; }
    .hero-banner__content { padding: 18px; min-height: auto; }
    .floating-card { position: relative; inset: auto; transform: none !important; width: 100%; }
    .hero-banner__visual { display: grid; gap: 12px; min-height: auto; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product-card__body { padding: 10px; }
    .product-card__price-row strong { font-size: 18px; }
    .product-card__footer { flex-direction: column; align-items: stretch; }
    .product-card__button, .status-pill { width: 100%; }
}
