:root {
    --bg: #f6f8fc;
    --surface: #ffffff;
    --surface-2: #f1f5fb;
    --text: #0d1b2a;
    --muted: #64748b;
    --line: #e5edf6;
    --primary: #2563eb;
    --primary-2: #0ea5e9;
    --primary-dark: #0f172a;
    --success: #10b981;
    --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --radius: 22px;
    --radius-sm: 16px;
    --max: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .08), transparent 28%),
        radial-gradient(circle at top right, rgba(14, 165, 233, .08), transparent 24%),
        var(--bg);
    color: var(--text);
    line-height: 1.45;
}

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

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

.container {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
}

.section {
    padding: 76px 0;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -.03em;
}

.section-head p {
    color: var(--muted);
    font-size: 16px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(246, 248, 252, .8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 237, 246, .85);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -.03em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 24px rgba(37, 99, 235, .28);
    position: relative;
    flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: #fff;
    opacity: .95;
}

.brand-mark::before {
    width: 18px;
    height: 6px;
    left: 10px;
    top: 11px;
    transform: rotate(-28deg);
}

.brand-mark::after {
    width: 14px;
    height: 6px;
    left: 13px;
    top: 20px;
    transform: rotate(32deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: .22s ease;
    white-space: nowrap;
}

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

.btn-outline {
    padding: 12px 18px;
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid var(--line);
}

.btn-primary {
    padding: 13px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .24);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

/* Hero */
.hero {
    padding: 52px 0 34px;
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.05em;
    margin: 18px 0 18px;
    max-width: 760px;
}

.hero-copy p {
    font-size: 18px;
    color: var(--muted);
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-note {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.hero-note span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.hero-card {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(229, 237, 246, .9);
    box-shadow: var(--shadow);
    border-radius: 32px;
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -100px auto auto -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .10);
    filter: blur(10px);
}

.mock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.mock-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.pill {
    font-size: 12px;
    font-weight: 800;
    color: var(--success);
    background: rgba(16, 185, 129, .1);
    padding: 8px 10px;
    border-radius: 999px;
}

.brand-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.brand-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.brand-item strong {
    font-size: 16px;
    letter-spacing: -.02em;
}

.brand-item span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--primary-dark);
}

.checkout-box {
    position: relative;
    z-index: 1;
    background: #0f172a;
    color: #fff;
    border-radius: 24px;
    padding: 18px;
}

.checkout-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 10px;
}

.checkout-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 14px;
}

.checkout-main strong {
    font-size: 26px;
    letter-spacing: -.03em;
}

.wallet-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 16px;
    padding: 15px;
    cursor: pointer;
}

/* Logos */
.logos-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 22px;
}

.logos-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.logos-head p {
    color: var(--muted);
    font-size: 15px;
}

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

.logo {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #334155;
}

/* Categories */
.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.cat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 22px;
    box-shadow: var(--shadow);
    transition: .22s ease;
}

.cat-card:hover {
    transform: translateY(-4px);
}

.cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(14, 165, 233, .10));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}

.cat-card h3 {
    font-size: 20px;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.cat-card p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 16px;
}

.cat-link {
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 18px;
}

.step h3 {
    font-size: 21px;
    margin-bottom: 8px;
    letter-spacing: -.02em;
}

.step p {
    color: var(--muted);
    font-size: 15px;
}

/* Popular brands */
.brands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gift-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.gift-top {
    padding: 24px;
    min-height: 190px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gift-top.amazon {
    background: linear-gradient(135deg, #111827, #334155);
}

.gift-top.apple {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.gift-top.steam {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.gift-top strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -.04em;
}

.gift-tag {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(5px);
}

.gift-body {
    padding: 22px;
}

.gift-body p {
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 15px;
}

.gift-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* Benefits */
.benefits-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.benefits-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.benefits-panel h3 {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -.04em;
    margin-bottom: 14px;
}

.benefits-panel p {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 22px;
}

.benefit-list {
    display: grid;
    gap: 14px;
}

.benefit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface-2);
}

.benefit-check {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #dcfce7;
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 auto;
}

.benefit-item strong {
    display: block;
    margin-bottom: 4px;
    letter-spacing: -.01em;
}

.benefit-item span {
    color: var(--muted);
    font-size: 14px;
}

.stats-card {
    background: linear-gradient(180deg, #0f172a, #111f38);
    color: #fff;
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.stats-card h4 {
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -.04em;
    max-width: 420px;
}

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

.stat {
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;
    background: rgba(255, 255, 255, .05);
    padding: 18px;
}

.stat strong {
    display: block;
    font-size: 28px;
    letter-spacing: -.04em;
    margin-bottom: 6px;
}

.stat span {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

/* CTA */
.cta {
    padding-top: 12px;
}

.cta-box {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border-radius: 34px;
    color: #fff;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(37, 99, 235, .25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-box h3 {
    font-size: clamp(30px, 4.2vw, 50px);
    line-height: 1;
    letter-spacing: -.05em;
    margin-bottom: 10px;
}

.cta-box p {
    color: rgba(255, 255, 255, .84);
    max-width: 640px;
    font-size: 16px;
}

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

.btn-light {
    padding: 13px 20px;
    background: #fff;
    color: #0f172a;
}

.btn-dark {
    padding: 13px 20px;
    background: rgba(15, 23, 42, .22);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
}

/* Footer */
.site-footer {
    padding: 36px 0 46px;
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-weight: 600;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    padding: 0 0 18px;
}

.mobile-menu-inner {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: grid;
    gap: 10px;
}

.mobile-menu a {
    padding: 14px 12px;
    border-radius: 14px;
    font-weight: 700;
    color: #1e293b;
}

.mobile-menu a:hover {
    background: var(--surface-2);
}

.mobile-menu .mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 1080px) {

    .hero-wrap,
    .benefits-wrap {
        grid-template-columns: 1fr;
    }

    .logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu.show {
        display: block;
    }

    .hero {
        padding-top: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .logos-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, var(--max));
    }

    .nav {
        min-height: 68px;
    }

    .brand {
        font-size: 18px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-actions,
    .cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories,
    .steps {
        grid-template-columns: 1fr;
    }

    .brand-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        padding: 26px 20px;
        border-radius: 26px;
    }

    .hero-card,
    .benefits-panel,
    .stats-card {
        border-radius: 24px;
    }

    .gift-top {
        min-height: 165px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 420px) {
    .brand-grid {
        grid-template-columns: 1fr;
    }

    .logos {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== STORE / CATEGORY PAGE ===== */

.page-hero{padding:28px 0 16px}
.hero-box{
  background:linear-gradient(135deg,#ffffff,#f8fbff);
  border:1px solid var(--line);
  border-radius:32px;
  box-shadow:var(--shadow);
  padding:28px;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:24px;
  align-items:center;
  overflow:hidden;
  position:relative;
}

.hero-box::before{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  border-radius:50%;
  right:-90px;
  top:-80px;
  background:rgba(37,99,235,.08);
  filter:blur(4px);
}

.page-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(37,99,235,.08);
  color:var(--primary);
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
}

.hero-copy h1{
  font-size:clamp(34px,5vw,60px);
  line-height:.98;
  letter-spacing:-.05em;
  margin-bottom:14px;
  max-width:660px;
}

.hero-copy p{
  color:var(--muted);
  font-size:17px;
  max-width:620px;
}

.search-bar{
  margin-top:22px;
  display:flex;
  gap:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:10px;
  box-shadow:0 12px 28px rgba(15,23,42,.04);
  max-width:680px;
}

.search-bar input{
  flex:1;
  min-width:0;
  border:none;
  outline:none;
  background:transparent;
  padding:10px 12px;
  font-size:15px;
  color:var(--text);
}

.quick-meta{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.quick-meta span{
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:#334155;
  font-size:14px;
  font-weight:700;
}

.hero-side{
  position:relative;
  z-index:1;
  display:grid;
  gap:14px;
}

.hero-stat{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.hero-stat strong{
  display:block;
  font-size:30px;
  letter-spacing:-.04em;
  margin-bottom:4px;
}

.hero-stat span{
  color:var(--muted);
  font-size:14px;
  font-weight:600;
}

.hero-highlight{
  background:#0f172a;
  color:#fff;
  border-radius:26px;
  padding:18px;
}

.hero-highlight h3{
  font-size:18px;
  margin-bottom:12px;
  letter-spacing:-.02em;
}

.mini-brand-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}

.mini-brand{
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  font-size:14px;
  font-weight:700;
  color:rgba(255,255,255,.88);
}

.store-layout{
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:22px;
  align-items:start;
}

.sidebar{
  position:sticky;
  top:96px;
  display:grid;
  gap:16px;
}

.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:20px;
}

.panel h3{
  font-size:18px;
  margin-bottom:16px;
  letter-spacing:-.02em;
}

.category-list,
.filter-list{
  display:grid;
  gap:10px;
}

.category-item,
.filter-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px;
  border-radius:18px;
  background:var(--surface-2);
  border:1px solid transparent;
  font-weight:700;
  color:#1e293b;
  transition:.2s ease;
}

.category-item.active,
.category-item:hover,
.filter-item:hover{
  border-color:rgba(37,99,235,.18);
  background:#eef5ff;
  color:var(--primary);
}

.count{
  min-width:34px;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid var(--line);
  font-size:12px;
  color:#475569;
}

.promo-card{
  border-radius:24px;
  padding:20px;
  background:linear-gradient(135deg,#2563eb,#0ea5e9);
  color:#fff;
}

.promo-card h4{
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.04em;
  margin-bottom:10px;
}

.promo-card p{
  color:rgba(255,255,255,.84);
  font-size:14px;
  margin-bottom:16px;
}

.promo-card .btn{
  width:100%;
  background:#fff;
  color:#0f172a;
  padding:13px 18px;
}

.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.toolbar-left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  font-size:14px;
  font-weight:700;
  color:#334155;
}

.chip.active{
  background:#eef5ff;
  border-color:rgba(37,99,235,.18);
  color:var(--primary);
}

.toolbar-right{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.select{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  color:#0f172a;
  font-size:14px;
  font-weight:700;
  outline:none;
}

.results-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:20px;
  flex-wrap:wrap;
}

.results-head h2{
  font-size:34px;
  line-height:1;
  letter-spacing:-.04em;
  margin-bottom:8px;
}

.results-head p{
  color:var(--muted);
  font-size:15px;
}

.brand-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:.22s ease;
}

.brand-card:hover{
  transform:translateY(-4px);
}

.card-cover{
  min-height:170px;
  padding:22px;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.cover-amazon{background:linear-gradient(135deg,#111827,#334155)}
.cover-apple{background:linear-gradient(135deg,#2563eb,#60a5fa)}
.cover-steam{background:linear-gradient(135deg,#0f172a,#1d4ed8)}
.cover-uber{background:linear-gradient(135deg,#111827,#1f2937)}
.cover-netflix{background:linear-gradient(135deg,#991b1b,#ef4444)}
.cover-ps{background:linear-gradient(135deg,#1d4ed8,#38bdf8)}
.cover-xbox{background:linear-gradient(135deg,#14532d,#22c55e)}
.cover-airbnb{background:linear-gradient(135deg,#be185d,#fb7185)}
.cover-google{background:linear-gradient(135deg,#1e40af,#22c55e)}

.brand-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.brand-badge{
  align-self:flex-start;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  font-size:12px;
  font-weight:800;
  backdrop-filter:blur(5px);
}

.brand-score{
  font-size:13px;
  font-weight:800;
  color:#fff;
  background:rgba(255,255,255,.14);
  padding:8px 10px;
  border-radius:999px;
}

.brand-name{
  font-size:28px;
  line-height:1;
  letter-spacing:-.04em;
  max-width:210px;
}

.card-body{
  padding:20px;
}

.card-body p{
  color:var(--muted);
  font-size:15px;
  margin-bottom:16px;
  min-height:42px;
}

.card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
  color:#334155;
  font-size:14px;
  font-weight:700;
}

.meta-left,
.meta-right{
  display:flex;
  align-items:center;
  gap:8px;
}

.card-actions{
  display:flex;
  gap:10px;
}

.card-actions .btn{
  flex:1;
  border-radius:16px;
  padding:13px 14px;
}

.btn-soft{
  background:var(--surface-2);
  color:#0f172a;
  border:1px solid var(--line);
}

.mobile-filters{
  display:none;
  gap:10px;
  overflow:auto;
  padding-bottom:2px;
  margin-bottom:18px;
}

.mobile-filters::-webkit-scrollbar{display:none}

@media (max-width:1080px){
  .hero-box,
  .store-layout{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:static;
  }

  .brand-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:820px){
  .hero-box{padding:22px}
  .sidebar{display:none}
  .mobile-filters{display:flex}
}

@media (max-width:640px){
  .search-bar{
    flex-direction:column;
    border-radius:20px;
  }

  .search-bar .btn{width:100%}

  .brand-grid{
    grid-template-columns:1fr;
  }

  .toolbar{
    align-items:stretch;
  }

  .toolbar-right{
    width:100%;
  }

  .toolbar-right .select,
  .toolbar-right .btn{
    width:100%;
  }

  .card-actions{
    flex-direction:column;
  }

  .hero-side{
    grid-template-columns:1fr;
  }

  .mini-brand-list{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:420px){
  .mini-brand-list{
    grid-template-columns:1fr;
  }
}


/* ===== PRODUCT PAGE ===== */

.breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  color:#64748b;
  font-size:14px;
  font-weight:700;
  margin:22px 0 18px;
}

.breadcrumb a:hover{color:var(--primary)}
.breadcrumb .dot{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#c7d5e6;
}

.product-layout{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) 400px;
  gap:22px;
  align-items:start;
}

.left-stack,
.right-stack{
  display:grid;
  gap:18px;
}

.product-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
}

.product-hero::before{
  content:"";
  position:absolute;
  width:320px;
  height:320px;
  border-radius:50%;
  right:-100px;
  top:-100px;
  background:rgba(37,99,235,.08);
}

.product-hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:20px;
  align-items:center;
  padding:28px;
}

.hero-copy .top-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}

.pill.blue{background:rgba(37,99,235,.08);color:var(--primary)}
.pill.green{background:rgba(16,185,129,.10);color:#059669}
.pill.dark{background:#0f172a;color:#fff}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.hero-meta span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:#334155;
  font-size:14px;
  font-weight:700;
}

.gift-visual{
  border-radius:30px;
  background:linear-gradient(135deg,#111827,#334155);
  color:#fff;
  padding:22px;
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:0 18px 34px rgba(15,23,42,.18);
}

.gift-visual .tag{
  align-self:flex-start;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  font-size:12px;
  font-weight:800;
  backdrop-filter:blur(5px);
}

.gift-visual .brand-name{
  font-size:34px;
  line-height:.95;
  letter-spacing:-.05em;
  max-width:180px;
}

.gift-visual .gift-bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}

.gift-visual .gift-bottom small{
  color:rgba(255,255,255,.78);
  font-size:13px;
  font-weight:700;
}

.gift-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  background:rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:900;
}

.stats-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.stat-card{
  background:var(--surface-2);
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
}

.stat-card strong{
  display:block;
  font-size:28px;
  line-height:1;
  letter-spacing:-.04em;
  margin-bottom:8px;
}

.stat-card span{
  color:var(--muted);
  font-size:14px;
  font-weight:600;
}

.subhead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.subhead p{
  color:var(--muted);
  font-size:14px;
  max-width:620px;
}

.amount-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-bottom:16px;
}

.amount-card{
  border:1.5px solid var(--line);
  background:#fff;
  border-radius:22px;
  padding:18px 16px;
  text-align:left;
  cursor:pointer;
  transition:.2s ease;
  box-shadow:var(--shadow-soft);
}

.amount-card:hover{
  border-color:#bfd4f7;
  transform:translateY(-2px);
}

.amount-card.active{
  border-color:var(--primary);
  background:#f3f8ff;
  box-shadow:0 12px 30px rgba(37,99,235,.10);
}

.amount-card strong{
  display:block;
  font-size:26px;
  letter-spacing:-.04em;
  margin-bottom:6px;
}

.amount-card span{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.custom-amount{
  display:grid;
  grid-template-columns:1fr 160px;
  gap:12px;
  margin-top:2px;
}

.input-wrap{
  display:flex;
  align-items:center;
  background:var(--surface-2);
  border:1px solid var(--line);
  border-radius:20px;
  padding:0 16px;
  min-height:58px;
}

.currency{
  color:#334155;
  font-weight:800;
  margin-right:8px;
  font-size:18px;
}

.input-wrap input{
  width:100%;
  border:none;
  outline:none;
  background:transparent;
  color:#0f172a;
  font-weight:800;
  font-size:18px;
  min-width:0;
}

.feature-list{
  display:grid;
  gap:12px;
}

.feature-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border-radius:22px;
  background:var(--surface-2);
  border:1px solid var(--line);
}

.feature-icon{
  width:34px;
  height:34px;
  border-radius:12px;
  background:#e0edff;
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  flex:0 0 auto;
}

.feature-item strong{
  display:block;
  margin-bottom:4px;
  font-size:15px;
  letter-spacing:-.01em;
}

.feature-item span{
  color:var(--muted);
  font-size:14px;
}

.wallet-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.wallet-card{
  padding:16px;
  border-radius:22px;
  border:1px solid var(--line);
  background:#fff;
  text-align:center;
  box-shadow:var(--shadow-soft);
}

.wallet-logo{
  width:48px;
  height:48px;
  border-radius:16px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface-2);
  font-size:20px;
  font-weight:900;
  color:#0f172a;
}

.wallet-card strong{
  display:block;
  font-size:15px;
  margin-bottom:5px;
}

.wallet-card span{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.tab-bar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.tab{
  padding:11px 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:#334155;
  font-size:14px;
  font-weight:800;
}

.tab.active{
  background:#eef5ff;
  color:var(--primary);
  border-color:#bfd4f7;
}

.content-grid{
  display:grid;
  gap:14px;
}

.content-card{
  background:var(--surface-2);
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px;
}

.content-card h4{
  font-size:16px;
  letter-spacing:-.01em;
  margin-bottom:8px;
}

.content-card p,
.content-card li{
  color:var(--muted);
  font-size:14px;
}

.content-card ul{
  padding-left:18px;
  display:grid;
  gap:8px;
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.related-card{
  border:1px solid var(--line);
  border-radius:26px;
  background:#fff;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}

.related-cover{
  min-height:130px;
  padding:18px;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.related-cover span{
  align-self:flex-start;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  font-size:12px;
  font-weight:800;
}

.related-cover strong{
  font-size:24px;
  letter-spacing:-.04em;
}

.related-body{
  padding:18px;
}

.related-body p{
  color:var(--muted);
  font-size:14px;
  margin-bottom:14px;
  min-height:40px;
}

.related-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:#334155;
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
}

.purchase-card{
  position:sticky;
  top:96px;
  border-radius:30px;
  overflow:hidden;
}

.purchase-head{
  padding:22px 22px 18px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  border-bottom:1px solid var(--line);
}

.purchase-head .small{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  margin-bottom:8px;
}

.purchase-head h3{
  font-size:28px;
  line-height:1;
  letter-spacing:-.04em;
  margin-bottom:10px;
}

.rating{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.rating .stars{
  color:#f59e0b;
  font-size:14px;
  letter-spacing:1px;
}

.rating span{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.purchase-body{
  padding:22px;
  display:grid;
  gap:18px;
}

.summary-box{
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--surface-2);
  overflow:hidden;
}

.summary-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  color:#334155;
  font-size:14px;
  font-weight:700;
  border-bottom:1px solid var(--line);
}

.summary-row:last-child{border-bottom:none}

.summary-row strong{
  color:#0f172a;
  font-size:15px;
}

.summary-total{
  background:#0f172a;
  color:#fff;
  border-radius:22px;
  padding:16px;
}

.summary-total .top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:rgba(255,255,255,.75);
  font-size:13px;
  font-weight:700;
  margin-bottom:10px;
}

.summary-total .main{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-end;
}

.summary-total .main strong{
  font-size:32px;
  line-height:1;
  letter-spacing:-.05em;
}

.summary-total .main span{
  color:#93c5fd;
  font-size:14px;
  font-weight:800;
}

.payment-methods{
  display:grid;
  gap:10px;
}

.method{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:18px;
  font-size:14px;
  font-weight:800;
}

.method.active{
  border-color:#bfd4f7;
  background:#eef5ff;
  color:var(--primary);
}

.method small{
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.notice{
  display:flex;
  gap:12px;
  align-items:flex-start;
  border:1px solid #dbe9ff;
  background:#f5f9ff;
  border-radius:20px;
  padding:14px 16px;
  color:#1e3a8a;
}

.notice-icon{
  width:28px;
  height:28px;
  border-radius:10px;
  background:#dbeafe;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  flex:0 0 auto;
}

.notice strong{
  display:block;
  margin-bottom:4px;
  font-size:14px;
}

.notice p{
  font-size:13px;
  color:#3b82f6;
}

.mini-points{
  display:grid;
  gap:10px;
}

.mini-point{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#334155;
  font-size:13px;
  font-weight:700;
  padding-bottom:10px;
  border-bottom:1px dashed var(--line-2);
}

.mini-point:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.mobile-buybar{
  display:none;
  position:fixed;
  left:10px;
  right:10px;
  bottom:10px;
  z-index:45;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border:1px solid rgba(229,237,246,.95);
  border-radius:22px;
  box-shadow:0 18px 40px rgba(15,23,42,.14);
  padding:12px;
  gap:12px;
  align-items:center;
}

.mobile-buybar .price{
  min-width:0;
  flex:1;
}

.mobile-buybar .price small{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  margin-bottom:3px;
}

.mobile-buybar .price strong{
  display:block;
  font-size:24px;
  line-height:1;
  letter-spacing:-.04em;
}

.mobile-buybar .btn{
  min-width:150px;
  padding:14px 18px;
}

@media (max-width:1080px){
  .product-layout{
    grid-template-columns:1fr;
  }

  .purchase-card{
    position:static;
  }

  .product-hero-inner{
    grid-template-columns:1fr;
  }

  .wallet-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .related-grid{
    grid-template-columns:1fr 1fr;
  }
}

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

  .amount-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .mobile-buybar{
    display:flex;
  }
}

@media (max-width:640px){
  .panel-body{padding:18px}
  .product-hero-inner{padding:18px}

  .gift-visual{
    min-height:220px;
    border-radius:24px;
  }

  .hero-copy p{
    font-size:15px;
  }

  .custom-amount{
    grid-template-columns:1fr;
  }

  .wallet-grid{
    grid-template-columns:1fr 1fr;
  }

  .related-grid{
    grid-template-columns:1fr;
  }

  .mobile-buybar{
    left:8px;
    right:8px;
    bottom:8px;
    padding:10px;
  }

  .mobile-buybar .btn{
    min-width:132px;
  }
}

@media (max-width:420px){
  .amount-grid{
    grid-template-columns:1fr;
  }

  .wallet-grid{
    grid-template-columns:1fr;
  }

  .mobile-buybar{
    flex-direction:column;
    align-items:stretch;
  }

  .mobile-buybar .btn{
    width:100%;
  }
}

/* ===== CHECKOUT PAGE ===== */

.checkout-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:22px;
  align-items:start;
}

.checkout-main,
.checkout-side{
  display:grid;
  gap:18px;
}

.checkout-title{
  font-size:clamp(30px,4vw,48px);
  line-height:1;
  letter-spacing:-.05em;
  margin:12px 0 12px;
}

.checkout-text{
  color:var(--muted);
  font-size:16px;
  max-width:720px;
}

.checkout-product{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border-radius:24px;
  border:1px solid var(--line);
  background:var(--surface-2);
}

.checkout-product-brand{
  width:52px;
  height:52px;
  border-radius:16px;
  background:linear-gradient(135deg,#111827,#334155);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:24px;
  flex:0 0 auto;
}

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

.checkout-product-info strong{
  display:block;
  font-size:18px;
  margin-bottom:4px;
}

.checkout-product-info span{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.checkout-product-price{
  font-size:30px;
  font-weight:900;
  letter-spacing:-.04em;
}

.network-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.network-card{
  border:1.5px solid var(--line);
  background:#fff;
  border-radius:22px;
  padding:18px;
  display:flex;
  gap:12px;
  align-items:center;
  text-align:left;
  cursor:pointer;
  transition:.2s ease;
  box-shadow:var(--shadow-soft);
}

.network-card:hover{
  border-color:#bfd4f7;
}

.network-card.active{
  border-color:var(--primary);
  background:#f3f8ff;
}

.network-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:var(--surface-2);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:900;
  flex:0 0 auto;
}

.network-card strong{
  display:block;
  font-size:16px;
}

.network-card span{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.paybox{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:20px;
  align-items:start;
}

.qr-box{
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  padding:16px;
  box-shadow:var(--shadow-soft);
}

.qr-fake{
  aspect-ratio:1 / 1;
  border-radius:18px;
  background:
    linear-gradient(45deg,#111 25%,transparent 25%) -10px 0/20px 20px,
    linear-gradient(-45deg,#111 25%,transparent 25%) -10px 0/20px 20px,
    linear-gradient(45deg,transparent 75%,#111 75%) -10px 0/20px 20px,
    linear-gradient(-45deg,transparent 75%,#111 75%) -10px 0/20px 20px,
    #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#111;
}

.paybox-main{
  display:grid;
  gap:16px;
}

.pay-amount{
  padding:18px;
  border-radius:22px;
  background:#0f172a;
  color:#fff;
}

.pay-amount small{
  display:block;
  color:rgba(255,255,255,.72);
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
}

.pay-amount strong{
  display:block;
  font-size:34px;
  line-height:1;
  letter-spacing:-.05em;
}

.pay-address-wrap label,
.gift-code-box label,
.pin-box label{
  display:block;
  margin-bottom:10px;
  font-size:14px;
  font-weight:800;
  color:#334155;
}

.address-box,
.gift-code-row{
  display:flex;
  gap:10px;
  align-items:center;
}

.address-box input,
.gift-code-row input{
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  background:var(--surface-2);
  border-radius:18px;
  padding:15px 16px;
  font-size:14px;
  font-weight:700;
  color:#0f172a;
}

.checkout-timer{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.timer-card{
  padding:16px;
  border-radius:20px;
  border:1px solid var(--line);
  background:#fff;
}

.timer-card small{
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
}

.timer-card strong{
  font-size:24px;
  letter-spacing:-.03em;
}

/* ===== SUCCESS PAGE ===== */

.success-wrap{
  max-width:860px;
  margin:0 auto;
}

.success-panel{
  padding:28px;
}

.success-top{
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin-bottom:22px;
}

.success-icon{
  width:64px;
  height:64px;
  border-radius:20px;
  background:#dcfce7;
  color:#166534;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  font-weight:900;
  flex:0 0 auto;
}

.success-title{
  font-size:clamp(30px,4vw,48px);
  line-height:1;
  letter-spacing:-.05em;
  margin:12px 0 12px;
}

.success-text{
  color:var(--muted);
  font-size:16px;
}

.success-order{
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--surface-2);
  overflow:hidden;
  margin-bottom:18px;
}

.success-order-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 18px;
  border-bottom:1px solid var(--line);
  font-size:14px;
  font-weight:700;
  color:#334155;
}

.success-order-row:last-child{
  border-bottom:none;
}

.success-order-row strong{
  color:#0f172a;
}

.gift-code-box,
.pin-box{
  margin-bottom:16px;
}

.success-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}

@media (max-width:1080px){
  .checkout-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width:820px){
  .network-grid{
    grid-template-columns:1fr;
  }

  .paybox{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .checkout-product{
    flex-direction:column;
    align-items:flex-start;
  }

  .checkout-timer{
    grid-template-columns:1fr;
  }

  .address-box,
  .gift-code-row{
    flex-direction:column;
    align-items:stretch;
  }

  .success-top{
    flex-direction:column;
  }

  .success-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .success-actions .btn{
    width:100%;
  }
}

/* ===== FIX TOP SPACE FOR PRODUCT / CHECKOUT ===== */

.product-page .section,
.checkout-page .section{
  padding-top: 12px;
}

.product-page .breadcrumb,
.checkout-page .breadcrumb{
  margin-top: 8px;
  margin-bottom: 16px;
}

@media (max-width: 640px){
  .product-page .section,
  .checkout-page .section{
    padding-top: 8px;
  }

  .product-page .breadcrumb,
  .checkout-page .breadcrumb{
    margin-top: 4px;
    margin-bottom: 14px;
    gap:8px;
    font-size:13px;
  }
}

/* ===== ORDERS PAGE ===== */

.orders-page .section{
  padding-top:12px;
}

.orders-page .breadcrumb{
  margin-top:8px;
  margin-bottom:16px;
}

.orders-hero{
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
}

.orders-hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:20px;
  align-items:center;
  padding:28px;
}

.orders-title{
  font-size:clamp(30px,4vw,52px);
  line-height:1;
  letter-spacing:-.05em;
  margin:12px 0 12px;
}

.orders-text{
  color:var(--muted);
  font-size:16px;
  max-width:720px;
}

.orders-hero-stats{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.order-stat{
  padding:18px;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.order-stat strong{
  display:block;
  font-size:28px;
  line-height:1;
  letter-spacing:-.04em;
  margin-bottom:6px;
}

.order-stat span{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.orders-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.orders-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.orders-search{
  width:320px;
  max-width:100%;
}

.orders-search input{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:18px;
  padding:14px 16px;
  font-size:14px;
  font-weight:700;
  outline:none;
}

.orders-list{
  display:grid;
  gap:18px;
  margin-top:18px;
}

.order-card{
  padding:22px;
}

.order-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
  flex-wrap:wrap;
}

.order-brand{
  display:flex;
  gap:14px;
  align-items:center;
}

.order-brand-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:900;
  flex:0 0 auto;
}

.amazon-bg{background:linear-gradient(135deg,#111827,#334155)}
.steam-bg{background:linear-gradient(135deg,#0f172a,#1d4ed8)}
.apple-bg{background:linear-gradient(135deg,#2563eb,#60a5fa)}

.order-brand strong{
  display:block;
  font-size:18px;
  margin-bottom:4px;
}

.order-brand span{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.order-status{
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
}

.order-status.delivered{
  background:#dcfce7;
  color:#166534;
}

.order-status.pending{
  background:#fef3c7;
  color:#92400e;
}

.order-status.failed{
  background:#fee2e2;
  color:#b91c1c;
}

.order-card-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-bottom:18px;
}

.order-info{
  padding:16px;
  border-radius:20px;
  background:var(--surface-2);
  border:1px solid var(--line);
}

.order-info small{
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
}

.order-info strong{
  font-size:16px;
  letter-spacing:-.02em;
}

.delivered-code-box{
  margin-bottom:18px;
}

.delivered-code-box label{
  display:block;
  margin-bottom:10px;
  font-size:14px;
  font-weight:800;
  color:#334155;
}

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

@media (max-width:1080px){
  .orders-hero-inner{
    grid-template-columns:1fr;
  }

  .order-card-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:640px){
  .orders-page .section{
    padding-top:8px;
  }

  .orders-page .breadcrumb{
    margin-top:4px;
    margin-bottom:14px;
    gap:8px;
    font-size:13px;
  }

  .orders-toolbar{
    align-items:stretch;
  }

  .orders-search{
    width:100%;
  }

  .order-card-grid{
    grid-template-columns:1fr;
  }

  .order-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .order-actions .btn{
    width:100%;
  }
}