/* Chấm Giá (dien-thoai-may-tinh 4.0): a shop price flyer. Sunny yellow, heavy red type, a round "0%" burst, round price
   stickers on a dense two-column grid, strike-through old prices, an add-to-cart button on every card.
   Fonts: Montserrat (titles, prices) + Be Vietnam Pro (text). */
:root {
  --yellow: #ffd60a;
  --yellow-2: #fff3b0;
  --red: #d7141a;
  --red-2: #a90f14;
  --ink: #1a1a1a;
  --muted: #5d5a50;
  --paper: #fffdf3;
  --line: #e8dca0;
  --k-font: 'Be Vietnam Pro', system-ui, sans-serif;
  --k-font-display: 'Montserrat', system-ui, sans-serif;
  --k-accent: #d7141a;
  --k-accent-ink: #ffffff;
  --k-ink: #1a1a1a;
  --k-paper: #ffffff;
  --k-muted: #5d5a50;
  --k-line: #e8dca0;
  --k-radius: 10px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font:
    400 16px/1.55 'Be Vietnam Pro',
    system-ui,
    sans-serif;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.plain {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lead {
  max-width: 62ch;
  margin: 8px 0 22px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font:
    800 15px/1.2 'Montserrat',
    sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-block {
  width: 100%;
}
.link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.link-big {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-decoration: none;
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  border-bottom: 4px solid var(--ink);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
}
.dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}
.hdr-cart,
.hdr-menu {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
}
.hdr-cart b {
  position: absolute;
  top: -9px;
  right: -9px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
}
.menu {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  padding: 6px 0;
}
.menu[data-open] {
  display: flex;
}
.menu a {
  padding: 12px 4px;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}
.menu .menu-cta {
  color: var(--yellow);
}

/* Sections */
.sec {
  padding: 40px 16px;
}
.sec > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.page {
  max-width: 1152px;
  margin: 0 auto;
  padding: 32px 16px 44px;
}
.sec-red {
  background: var(--red);
  color: #fff;
}
.sec-grey {
  background: var(--yellow-2);
}
.h1 {
  font-size: 32px;
  text-transform: uppercase;
}
.h2 {
  margin-bottom: 18px;
  font-size: 26px;
  text-transform: uppercase;
}
.h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

/* Hero flyer */
.hero {
  position: relative;
  overflow: hidden;
  padding: 30px 16px 46px;
  background: var(--yellow);
  background-image: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.5) 0 120px, transparent 121px);
  border-bottom: 4px solid var(--ink);
}
.hero > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.hero-flag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 10px;
  background: var(--ink);
  color: var(--yellow);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-title {
  max-width: 11ch;
  color: var(--red);
  font-size: 46px;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--ink);
}
.hero-lead {
  max-width: 40ch;
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 600;
}
.burst {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: grid;
  place-content: center;
  width: 110px;
  height: 110px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  text-align: center;
  line-height: 1.1;
  transform: rotate(-10deg);
}
.burst b {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 900;
}
.burst span {
  max-width: 82px;
  font-size: 11px;
  font-weight: 700;
}

/* Perks */
.perks {
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
}
.perks-in {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
}
.perks-in li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  font-size: 15px;
}
.perks-in li:last-child {
  border-bottom: 0;
}
.perks-in .k-icon {
  color: var(--yellow);
}

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.p {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px 8px 10px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}
.p-img {
  display: block;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--paper);
}
.p-img img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.sticker {
  position: absolute;
  top: -10px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 6px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 900;
  transform: rotate(8deg);
}
.sticker-lg {
  top: 10px;
  right: 10px;
  min-width: 64px;
  height: 64px;
  font-size: 18px;
}
.p-tag {
  align-self: flex-start;
  margin: 0 0 4px;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.p-name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}
.p-name a {
  text-decoration: none;
}
.p-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin: auto 0 8px;
}
.p-price b {
  color: var(--red);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 900;
}
.p-price s {
  color: var(--muted);
  font-size: 13px;
}
.p-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font:
    800 13px/1 'Montserrat',
    sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}
.p-buy:hover {
  background: var(--red);
  color: #fff;
}

/* Groups */
.groups {
  display: grid;
  gap: 14px;
}
.group {
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.group-h {
  margin-bottom: 8px;
  font-size: 20px;
  text-transform: uppercase;
}
.group-h small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}
.group-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.group-list a {
  text-decoration: none;
}
.group-list a:hover {
  text-decoration: underline;
}
.group-list b {
  flex: none;
  max-width: 48%;
  color: var(--red);
  text-align: right;
}
.group-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

/* Repair */
.repair {
  display: grid;
  gap: 22px;
}
.about p {
  margin: 0;
}
.nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 0;
}
.nums div {
  padding: 10px 12px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
}
.nums dd {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 900;
}
.nums dt {
  font-size: 13px;
  font-weight: 600;
}
.repair-pics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.repair-pics img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 12px;
}

/* All-products page */
.all {
  display: grid;
  gap: 34px;
}
.all-h {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

/* Reviews */
.reviews {
  display: grid;
  gap: 12px;
}
.review {
  margin: 0;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}
.stars {
  margin: 0;
  color: var(--red);
  letter-spacing: 2px;
}
.review blockquote {
  margin: 6px 0 8px;
}
.review figcaption {
  color: var(--muted);
  font-size: 14px;
}
.review b {
  color: var(--ink);
}

/* FAQ */
.faqs {
  display: grid;
  gap: 8px;
}
.faq {
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: #fff;
}
.faq summary {
  position: relative;
  padding: 14px 44px 14px 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  top: 8px;
  right: 12px;
  color: var(--red);
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 900;
}
.faq[open] summary {
  background: var(--yellow);
}
.faq[open] summary::after {
  content: '−';
}
.faq p {
  margin: 0;
  padding: 12px 14px 14px;
  color: var(--muted);
}

/* Contact */
.contact {
  display: grid;
  gap: 18px;
  max-width: 1152px;
  margin: 0 auto;
}
.contact > * {
  max-width: none;
  margin: 0;
}
.contact-card {
  padding: 20px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
}
.contact-card .actions {
  margin-bottom: 0;
}
.contact-row {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
  font-weight: 700;
}
.contact-row .k-icon {
  margin-top: 4px;
  color: var(--red);
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 2px dashed rgba(26, 26, 26, 0.35);
}
.map {
  min-height: 280px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}

/* Detail */
.detail {
  display: grid;
  gap: 22px;
}
.detail-photo {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: #fff;
}
.detail-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.detail-short {
  margin: 6px 0 0;
  color: var(--muted);
}
.detail-price {
  margin: 10px 0 12px;
}
.detail-price b {
  color: var(--red);
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 900;
}
.detail-price s {
  color: var(--muted);
}
.detail-price small {
  color: var(--muted);
}
.spec {
  margin: 14px 0 0;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: #fff;
}
.spec div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px dashed var(--line);
}
.spec div:last-child {
  border-bottom: 0;
}
.spec dt {
  color: var(--muted);
  font-size: 14px;
}
.spec dd {
  margin: 0;
  font-weight: 700;
}
.related {
  margin-top: 40px;
}

/* Cart and order */
.checkout {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}
.card {
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}
.cl {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.cl img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
}
.cl-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}
.cl-info a {
  font-weight: 700;
  text-decoration: none;
}
.cl-info small {
  color: var(--muted);
}
.cl-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.cl-qty button:not(.link) {
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}
.cl b {
  color: var(--red);
}
.empty {
  padding: 18px 0;
  color: var(--muted);
}
.sum {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
}
.sum b {
  color: var(--red);
  font-size: 22px;
}
.fine {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.form .h3 {
  margin-top: 0;
}

/* Footer */
.ftr {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}
.ftr-in {
  display: grid;
  gap: 22px;
  max-width: 1152px;
  margin: 0 auto;
  padding: 34px 16px;
}
.ftr p {
  margin: 0 0 6px;
}
.ftr-brand {
  color: var(--yellow);
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
}
.ftr-h {
  color: var(--yellow);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}
.ftr .link-big {
  color: #fff;
}

@media (min-width: 720px) {
  .perks-in {
    grid-template-columns: repeat(3, 1fr);
  }
  .perks-in li {
    border-bottom: 0;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .groups {
    grid-template-columns: 1fr 1fr;
  }
  .repair {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }
  .repair-pics img {
    height: 240px;
  }
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
  .ftr-in {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .burst {
    width: 150px;
    height: 150px;
    right: 24px;
    bottom: 24px;
  }
  .burst b {
    font-size: 46px;
  }
  .burst span {
    max-width: 110px;
    font-size: 13px;
  }
}

@media (min-width: 960px) {
  .hdr {
    padding: 12px max(16px, calc((100% - 1120px) / 2));
  }
  .hdr-menu {
    display: none;
  }
  .menu {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    order: -1;
    gap: 22px;
    margin-right: 10px;
    padding: 0;
  }
  .brand {
    order: -2;
  }
  .menu a {
    padding: 0;
    border: 0;
    font-size: 14px;
  }
  .hero {
    padding: 56px 16px 72px;
  }
  .hero-title {
    font-size: 84px;
  }
  .burst {
    right: max(40px, calc((100% - 1120px) / 2));
    bottom: 50px;
    width: 210px;
    height: 210px;
  }
  .burst b {
    font-size: 64px;
  }
  .burst span {
    max-width: 150px;
    font-size: 15px;
  }
  .sec {
    padding: 64px 16px;
  }
  .h1 {
    font-size: 44px;
  }
  .h2 {
    font-size: 34px;
  }
  .all .grid,
  .related .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .groups {
    grid-template-columns: repeat(3, 1fr);
  }
  .p-name {
    font-size: 16px;
  }
  .contact {
    grid-template-columns: 1fr 1.3fr;
  }
  .detail {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
  }
  .checkout {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
  .faqs {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
