:root {
  --bg: #f5efe6;
  --bg-soft: #fffaf4;
  --panel: #fffdfa;
  --text: #1f2a37;
  --text-soft: #4b5a6d;
  --line: rgba(63, 84, 110, 0.16);
  --line-strong: rgba(63, 84, 110, 0.28);
  --primary: #f46f2c;
  --primary-strong: #df5b1a;
  --accent: #0f7c75;
  --chip: #eef7f6;
  --shadow: 0 18px 50px rgba(52, 42, 31, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1240px;
}

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

* {
  border-radius: 0 !important;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8f2e9 0%, #f4f8ff 100%);
}

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

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

.page-bg-shape {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 280px at 4% -8%, rgba(16, 124, 117, 0.16), transparent 70%),
    radial-gradient(760px 320px at 94% 8%, rgba(244, 111, 44, 0.18), transparent 72%),
    radial-gradient(900px 360px at 50% 110%, rgba(70, 122, 206, 0.12), transparent 76%);
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.card-surface {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid rgba(57, 73, 96, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(52, 42, 31, 0.1);
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 8px 18px rgba(15, 124, 117, 0.2);
}

.brand strong {
  display: block;
  font-size: 15px;
}

.brand span {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
}

.topnav,
.topbar-actions,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-right {
  margin-left: auto;
  justify-content: flex-end;
}

.topbar-actions {
  justify-content: flex-end;
}

.hidden {
  display: none !important;
}

.account-panel {
  min-width: 320px;
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,248,252,0.92));
  box-shadow: 0 10px 22px rgba(31, 42, 55, 0.08);
}

.account-panel-compact {
  min-width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.account-guest,
.account-user {
  display: grid;
  gap: 10px;
}

.account-copy,
.account-user-copy span,
.account-chip {
  font-size: 12px;
  line-height: 1.5;
}

.account-copy,
.account-user-copy span,
.account-chip {
  color: var(--text-soft);
}

.account-user-copy strong {
  display: block;
  font-size: 14px;
}

.account-user-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-panel-compact .account-guest {
  display: block;
}

.account-panel-compact .account-guest .btn-google {
  width: auto;
  min-width: 190px;
}

.account-panel-compact .account-user {
  position: relative;
  justify-items: end;
  gap: 8px;
}

.account-avatar-btn {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.account-avatar-ring {
  width: 54px;
  height: 54px;
  padding: 3px;
  display: grid;
  place-items: center;
  border-radius: 50% !important;
  background: conic-gradient(#1a73e8 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
}

.account-avatar-core {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50% !important;
  background: #1a73e8;
  overflow: hidden;
}

.account-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
}

.account-avatar-fallback {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  padding: 10px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(31, 42, 55, 0.16);
  z-index: 90;
}

.account-menu-email {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  text-align: left;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-item {
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  background: #f3f8fc;
  border: 1px solid rgba(57, 73, 96, 0.2);
  border-radius: 10px;
  cursor: pointer;
}

.account-menu-item:hover {
  background: #e9f2ff;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef8f7;
  color: #0d5955;
  border: 1px solid rgba(15, 124, 117, 0.18);
  font-weight: 600;
}

.btn-google {
  width: 100%;
  border-color: rgba(57, 73, 96, 0.18);
  background: linear-gradient(135deg, #ffffff, #f3f8fc);
}

.topnav a {
  color: #304156;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
}

.topnav a:hover {
  background: var(--chip);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 10px 20px rgba(244, 111, 44, 0.28);
}

.btn-ghost {
  background: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 16px;
  padding: 28px;
  margin-bottom: 18px;
  border-radius: 0;
}

.hero-copy h1 {
  margin: 14px 0 10px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 14ch;
}

.hero-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 65ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 16px;
}

.hero-inline-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-inline-points li {
  min-width: 130px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-inline-points strong {
  display: block;
  font-size: 18px;
  margin-bottom: 3px;
}

.hero-inline-points span {
  font-size: 12px;
  color: var(--text-soft);
}

.hero-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0f7c75, #196b8f);
  color: #effcfb;
  padding: 22px;
  display: grid;
  gap: 12px;
}

.hero-panel h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.18;
}

.hero-panel p {
  margin: 0;
  line-height: 1.72;
  color: rgba(239, 252, 251, 0.88);
}

.hero-contact-list {
  display: grid;
  gap: 8px;
}

.hero-contact-list a {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.proof-strip article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
}

.proof-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.proof-strip p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 14px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-sidebar {
  position: sticky;
  top: 96px;
  height: fit-content;
  padding: 20px;
}

.sidebar-head h2,
.section-head h2 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.14;
  font-family: 'DM Serif Display', serif;
}

.field-label {
  display: block;
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
}

.search-control input,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
}

.search-control input:focus,
select:focus {
  border-color: rgba(15, 124, 117, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 124, 117, 0.12);
}

.category-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.category-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.category-chip.active,
.category-chip:hover {
  border-color: rgba(15, 124, 117, 0.46);
  background: #f2fbfa;
}

.category-chip span:last-child {
  font-size: 12px;
  color: var(--text-soft);
}

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

.section-head.secondary {
  margin-top: 8px;
}

.results-summary {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.featured-grid,
.product-grid {
  display: grid;
  gap: 14px;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.featured-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.featured-card:hover,
.product-card:hover {
  background: #000;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.featured-card:hover .product-title,
.product-card:hover .product-title,
.featured-card:hover .product-description,
.product-card:hover .product-description,
.featured-card:hover .meta-box span,
.product-card:hover .meta-box span,
.featured-card:hover .meta-box strong,
.product-card:hover .meta-box strong {
  color: #f3f6ff;
}

.featured-card:hover .badge,
.product-card:hover .badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f3f6ff;
}

.featured-card:hover .meta-box,
.product-card:hover .meta-box {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.featured-card:hover .btn.btn-ghost,
.product-card:hover .btn.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f3f6ff;
  border-color: rgba(255, 255, 255, 0.24);
}

.featured-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

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

.product-media {
  aspect-ratio: 1.35 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f5efe4, #ecf6ff);
  padding: 16px;
}

.product-media img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 42, 55, 0.16);
}

.product-media.no-round img {
  border-radius: 18px !important;
  object-fit: contain;
  transform: none;
  background: transparent;
  box-shadow: none;
}

.product-media.icloud-round img {
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center;
  transform: scale(1.14);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 42, 55, 0.16);
}

.product-media.corner-logo img {
  border-radius: 18px !important;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  background: transparent;
  box-shadow: none;
}

.product-media.round-logo img {
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 42, 55, 0.16);
}

.product-media .emoji {
  font-size: 54px;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 124, 117, 0.2);
  background: var(--chip);
  color: #0d5955;
  font-size: 12px;
  font-weight: 600;
}

.product-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}

.product-description {
  margin: 6px 0 0;
  color: var(--text-soft);
  line-height: 1.68;
  font-size: 14px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.meta-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fffdfa;
}

.meta-box span {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.meta-box strong {
  font-size: 14px;
}

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

.card-link {
  flex: 1;
  min-width: 0;
}

.card-link .btn {
  width: 100%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.why-card {
  padding: 20px;
}

.why-index {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 800;
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-family: 'DM Serif Display', serif;
}

.why-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.support-hub {
  margin-bottom: 18px;
  overflow: hidden;
}

.support-payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pay-chip.momo {
  color: #ae2078;
  border-color: rgba(174, 32, 120, 0.32);
}

.pay-chip.vnpay {
  color: #1357a9;
  border-color: rgba(19, 87, 169, 0.3);
}

.pay-chip.visa {
  color: #1a4199;
  border-color: rgba(26, 65, 153, 0.28);
}

.pay-chip.mastercard {
  color: #cc4f19;
  border-color: rgba(204, 79, 25, 0.3);
}

.pay-note {
  font-weight: 600;
  color: var(--text-soft);
}

.support-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #f9fbff;
}

.social-pill {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.16);
}

.social-pill.facebook {
  background: #1877f2;
}

.social-pill.youtube {
  background: #ff0000;
  font-size: 20px;
}

.support-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 24px 20px;
  background: #f6f9ff;
}

.support-columns section {
  display: grid;
  gap: 10px;
  align-content: start;
}

.support-columns h3 {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-family: 'DM Serif Display', serif;
}

.support-columns a {
  color: #223144;
  font-size: 17px;
  line-height: 1.5;
}

.support-columns a:hover {
  color: var(--primary-strong);
}

.support-columns a strong {
  color: #d53f3f;
}

.faq-section {
  padding: 22px;
}

.section-head.compact {
  margin-bottom: 10px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.empty-state {
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--text-soft);
  background: #fff;
}

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

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .featured-grid,
  .product-grid,
  .proof-strip,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topnav {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
    line-height: 1.62;
  }

  .site-shell {
    width: min(var(--container), calc(100% - 16px));
    padding: 12px 0 40px;
  }

  .card-surface {
    border-radius: 20px;
  }

  .topbar {
    position: static;
    border-radius: 18px;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 14px;
  }

  .topbar-actions {
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }

  .topbar-right {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions .btn {
    flex: 1;
    min-height: 42px;
    font-size: 13px;
  }

  .account-panel {
    min-width: 100%;
    max-width: none;
    order: -1;
  }

  .account-panel-compact {
    min-width: auto;
    width: auto;
    margin-left: auto;
    order: 0;
    align-self: flex-end;
  }

  .account-user-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-panel-compact .account-guest .btn-google {
    min-width: 168px;
  }

  .account-avatar-ring {
    width: 50px;
    height: 50px;
  }

  .account-menu {
    min-width: 186px;
  }

  .hero {
    padding: 16px;
    gap: 12px;
    margin-bottom: 14px;
  }

  .hero-copy h1 {
    max-width: none;
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-panel {
    padding: 16px;
    border-radius: 14px;
  }

  .hero-panel h2 {
    font-size: 22px;
  }

  .hero-inline-points,
  .hero-actions {
    flex-direction: column;
    gap: 8px;
  }

  .hero-inline-points li {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 44px;
  }

    .proof-strip,
    .featured-grid,
    .product-grid,
    .why-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topnav {
      display: none;
    }
  }


  .proof-strip {
    margin-bottom: 14px;
  }

  .catalog-layout {
    gap: 12px;
    margin-bottom: 16px;
  }

  .catalog-sidebar {
    padding: 14px;
  }

  .section-head h2,
  .sidebar-head h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
  }

    .product-body,
    .featured-card,
    .why-card,
    .faq-section,
    .support-payments,
    .support-social,
    .support-columns {
      padding: 14px;
    }

    .support-columns h3 {
      font-size: 30px;
    }

    .support-columns a {
      font-size: 15px;
    }


  .product-title {
    font-size: 17px;
    line-height: 1.35;
  }

  .product-description,
  .why-card p,
  .faq-list p {
    font-size: 13px;
    line-height: 1.68;
  }

  .badge {
    font-size: 11px;
  }

  .meta-box strong {
    font-size: 13px;
  }

  .card-actions {
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: min(var(--container), calc(100% - 12px));
  }

  .topbar {
    padding: 10px;
  }

  .hero {
    padding: 14px;
  }

  .hero-panel h2 {
    font-size: 20px;
  }

  .section-head h2,
  .sidebar-head h2 {
    font-size: 22px;
  }

  .product-media {
    padding: 12px;
  }

  .product-media img {
    width: 92px;
    height: 92px;
  }

  .product-body,
  .featured-card,
  .why-card,
  .faq-section,
  .catalog-sidebar {
    padding: 12px;
  }
}

