:root {
  --bg: #f4ede4;
  --paper: rgba(255, 249, 243, 0.82);
  --paper-strong: #fff8f1;
  --ink: #201710;
  --muted: #6a5747;
  --line: rgba(67, 45, 27, 0.12);
  --accent: #a65d2e;
  --accent-deep: #6c3516;
  --accent-soft: #f0d5be;
  --shadow: 0 24px 70px rgba(71, 45, 22, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-thai: "RDKonmek", sans-serif;
  --font-thai-display: "RDKonmekSPC", "RDKonmek", sans-serif;
}

@font-face {
  font-family: "RDKonmek";
  src: url("./fonts/RDKonmek/RDKonmek.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RDKonmekSPC";
  src: url("./fonts/RDKonmek/RDKonmekSPC.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-thai);
  line-height: 1.65;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(236, 187, 135, 0.28), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(169, 132, 99, 0.16), transparent 30%),
    linear-gradient(180deg, #f7efe6 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.22;
  pointer-events: none;
}

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

.page-shell {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 108px 16px 40px;
}

.page-main {
  padding-top: 34px;
}

.site-header,
.hero-card,
.product-card,
.story-card,
.basket-panel,
.checkout-panel,
.prep-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1188px, calc(100% - 32px));
  padding: 18px 24px;
  border-radius: 999px;
}

.brand,
.site-nav a,
.button,
.cart-link {
  text-decoration: none;
}

.brand,
h1,
h2,
h3 {
  font-family: var(--font-thai-display);
}

.brand {
  font-size: 2rem;
  color: var(--ink);
  font-weight: 700;
}

.brand-word {
  display: inline-block;
  color: #000;
  font-family: "RDKonmek", sans-serif;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: none;
  -webkit-text-fill-color: #000;
}

.nowrap-text {
  white-space: nowrap;
}

.product-name-solid {
  display: inline-block;
  color: #000;
  font-family: "RDKonmek", sans-serif;
  line-height: 1.2;
  letter-spacing: 0;
  word-spacing: 0;
  text-shadow: none;
  -webkit-text-fill-color: #000;
}

.order-headline-solid {
  color: #000 !important;
  font-family: "RDKonmek", sans-serif !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  text-shadow: none;
  -webkit-text-fill-color: #000;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff7f0;
  font-weight: 700;
}

.cart-link span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.hero,
.checkout-section {
  display: grid;
  gap: 24px;
}

.hero {
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  min-height: calc(100vh - 132px);
  padding: 20px 0 12px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-deep);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
}

.overview-headline {
  max-width: 11ch;
  font-size: clamp(2.45rem, 4.65vw, 4.2rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.headline-single-line {
  max-width: none;
  font-size: clamp(1.65rem, 7.2vw, 4.2rem);
  white-space: nowrap;
}

h3 {
  font-size: 1.9rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

html:lang(th) h1,
html:lang(th) h2,
html:lang(th) h3 {
  line-height: 1.22;
}

html:lang(th) p,
html:lang(th) li,
html:lang(th) label,
html:lang(th) input,
html:lang(th) select,
html:lang(th) textarea,
html:lang(th) .button,
html:lang(th) .site-nav a,
html:lang(th) .helper-text,
html:lang(th) .message-label,
html:lang(th) .product-tag,
html:lang(th) .hero-points li,
html:lang(th) .empty-state {
  line-height: 1.6;
}

html:lang(th) .hero-text,
html:lang(th) .product-description,
html:lang(th) .story-points p,
html:lang(th) .detail-list li {
  line-height: 1.72;
}

.hero-text {
  max-width: 56ch;
  margin-top: 16px;
  font-size: 0.97rem;
}

.hero-actions,
.checkout-actions,
.product-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: #fff7f0;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  border: 1px solid rgba(35, 22, 12, 0.1);
}

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

.hero-points li,
.product-tag,
.product-footer span,
.prep-status {
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.9);
  border: 1px solid rgba(67, 45, 27, 0.08);
}

.hero-points li {
  padding: 8px 14px;
  font-size: 0.92rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 761px) {
  .hero-points {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: min(84%, 540px);
  justify-self: end;
  margin-top: 12px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-product-card {
  background:
    radial-gradient(circle at top, rgba(255, 248, 239, 0.94), rgba(245, 226, 205, 0.76) 42%, rgba(224, 197, 170, 0.48) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(243, 228, 211, 0.84));
}

.hero-product-card img {
  object-fit: cover;
  object-position: center 24%;
  padding: 0;
}

.hero-product-card-secondary {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.92), rgba(242, 225, 204, 0.7) 55%, rgba(217, 189, 160, 0.58) 100%),
    linear-gradient(180deg, rgba(251, 245, 239, 0.88), rgba(233, 213, 190, 0.92));
}

.hero-product-card-secondary img {
  object-fit: cover;
  object-position: center 18%;
  padding: 0;
}

.hero-card-large {
  margin-top: 0;
  min-height: 560px;
}

.hero-card-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(22, 14, 10, 0.52);
  color: #fff7f1;
}

.hero-card-copy p {
  color: rgba(255, 247, 241, 0.8);
}

.hero-card-copy strong {
  display: block;
  margin-top: 6px;
  font-size: 1.55rem;
}

.section {
  padding-top: 92px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.product-grid,
.story-points,
.field-grid,
.checkout-section {
  display: grid;
  gap: 22px;
}

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

.product-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.product-photo {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}

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

.product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-head strong {
  font-size: 1.15rem;
  color: var(--accent-deep);
}

.product-tag {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-description {
  min-height: 78px;
}

.product-footer {
  align-items: center;
  justify-content: space-between;
}

.product-footer span {
  padding: 8px 12px;
  font-size: 0.86rem;
  color: var(--muted);
}

.story-card,
.basket-panel,
.checkout-panel,
.prep-card {
  border-radius: var(--radius-xl);
}

.story-card,
.basket-panel,
.checkout-panel {
  padding: 30px;
}

.story-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.story-points article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 247, 0.82);
  border: 1px solid rgba(67, 45, 27, 0.08);
}

.story-points strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.checkout-section {
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
}

.basket-panel {
  position: sticky;
  top: 108px;
}

.panel-heading {
  display: grid;
  gap: 10px;
}

.panel-heading h2 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.cart-items {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.cart-item,
.empty-state,
.prep-list p,
.prep-list ul {
  border-radius: var(--radius-md);
  background: rgba(255, 251, 247, 0.82);
  border: 1px solid rgba(67, 45, 27, 0.08);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 16px;
}

.cart-item h3 {
  font-size: 1.5rem;
}

.cart-item p {
  margin-top: 6px;
}

.cart-item-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.qty-button,
.remove-button {
  border: 1px solid rgba(67, 45, 27, 0.12);
  background: #fff8f1;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.qty-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.remove-button {
  padding: 7px 12px;
  border-radius: 999px;
}

.cart-item-price {
  text-align: right;
}

.cart-totals {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(67, 45, 27, 0.12);
}

.cart-totals div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-total-row {
  padding-top: 10px;
  border-top: 1px solid rgba(67, 45, 27, 0.12);
}

.checkout-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(67, 45, 27, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.92);
}

textarea {
  resize: vertical;
}

.checkbox-field {
  align-content: start;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.prep-card {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 24px;
}

.prep-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.prep-status {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

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

.prep-list p,
.prep-list ul {
  margin: 0;
  padding: 16px;
}

.prep-list ul {
  padding-left: 34px;
}

.message-label {
  margin-top: 24px;
}

.helper-text {
  margin-top: 18px;
  font-size: 0.92rem;
}

.order-message {
  margin-top: 10px;
  min-height: 240px;
}

.empty-state {
  padding: 18px;
}

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

.product-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.detail-list li {
  line-height: 1.6;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.detail-card {
  height: 100%;
}

.detail-card .product-photo {
  aspect-ratio: 4 / 3.2;
}

.detail-card-contain .product-photo {
  object-fit: cover;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.detail-card-calendar .product-photo {
  object-fit: cover;
  object-position: center 58%;
  padding-top: 0;
  background: transparent;
}

.detail-card .product-body {
  gap: 12px;
  padding: 16px;
}

.detail-card h3 {
  font-size: 1.35rem;
}

.detail-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.quote-summary strong {
  text-align: right;
}

.asset-rotated img {
  transform: rotate(180deg);
}

.payment-section {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 247, 0.68);
  border: 1px solid rgba(67, 45, 27, 0.08);
}

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

.payment-method-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid rgba(67, 45, 27, 0.1);
  cursor: pointer;
}

.payment-method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-card.is-active {
  border-color: rgba(32, 23, 16, 0.4);
  background: rgba(247, 239, 230, 0.96);
}

.payment-method-title {
  color: #000;
  font-size: 1.1rem;
  font-weight: 800;
}

.payment-method-copy {
  color: var(--muted);
  font-size: 0.95rem;
}

.payment-panel {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid rgba(67, 45, 27, 0.08);
}

.thai-qr-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 20px;
  align-items: start;
}

.thai-qr-image {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(67, 45, 27, 0.08);
  box-shadow: 0 16px 40px rgba(71, 45, 22, 0.12);
}

.thai-qr-copy {
  display: grid;
  gap: 12px;
}

.payment-title {
  color: #000;
  font-size: 1.25rem;
  font-weight: 800;
}

.thai-qr-notes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.payment-helper {
  margin-top: 0;
}

.news-hero,
.news-grid,
.roadmap-grid,
.timeline-list,
.about-hero,
.about-grid,
.social-links {
  display: grid;
  gap: 24px;
}

.news-hero {
  grid-template-columns: 1.02fr 0.98fr;
  align-items: start;
}

.news-highlight-card,
.news-card,
.roadmap-card,
.news-timeline-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
}

.news-highlight-card,
.news-timeline-card {
  padding: 30px;
}

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

.news-card,
.roadmap-card {
  padding: 24px;
}

.news-badge,
.roadmap-phase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.9);
  border: 1px solid rgba(67, 45, 27, 0.08);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.news-card h3,
.roadmap-card h3 {
  margin-top: 14px;
  font-size: 1.45rem;
}

.news-card p,
.roadmap-card p {
  margin-top: 10px;
}

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

.timeline-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.timeline-list article {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 247, 0.82);
  border: 1px solid rgba(67, 45, 27, 0.08);
}

.timeline-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.about-hero {
  grid-template-columns: 1fr;
  align-items: start;
}

.about-story-card,
.about-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
}

.about-story-card {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 220px);
  padding: 42px;
}

.about-story-card h2 {
  max-width: none;
}

.about-story-flow {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

.about-card {
  padding: 24px;
}

.about-card h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.social-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.social-link,
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 247, 0.82);
  border: 1px solid rgba(67, 45, 27, 0.08);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.social-link:hover,
.contact-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 253, 250, 0.96);
}

.social-link strong,
.contact-link strong {
  color: #000;
  font-size: 1.08rem;
}

.social-link span,
.contact-link span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-link {
  margin-top: 18px;
}

.account-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: start;
}

.account-card,
.account-profile-card,
.account-orders-card,
.account-order-item {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
}

.account-card {
  padding: 30px;
}

.account-tabs {
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.9);
  border: 1px solid rgba(67, 45, 27, 0.08);
}

.account-tab {
  min-width: 120px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-tab.is-active {
  background: var(--ink);
  color: #fff7f0;
}

.account-panel {
  margin-top: 24px;
}

.account-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.account-panel-logged-in {
  margin-top: 24px;
}

.account-profile-card {
  display: grid;
  gap: 22px;
  padding: 24px;
}

.account-orders-card {
  display: grid;
  gap: 22px;
  margin-top: 24px;
  padding: 24px;
}

.account-profile-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.account-greeting {
  color: var(--accent-deep);
  font-weight: 800;
}

.account-name {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
  color: #000;
  font-family: "RDKonmek", sans-serif;
}

.account-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.account-profile-grid div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 247, 0.82);
  border: 1px solid rgba(67, 45, 27, 0.08);
}

.account-profile-grid dt {
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-profile-grid dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.account-orders-list {
  display: grid;
  gap: 16px;
}

.account-order-item {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.account-order-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.account-order-id {
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-order-item h3 {
  margin-top: 6px;
  font-size: 1.55rem;
}

.account-order-meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.account-order-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.9);
  border: 1px solid rgba(67, 45, 27, 0.08);
  color: #000;
  font-weight: 800;
}

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

.account-order-grid div,
.account-order-items,
.account-order-notes {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 247, 0.82);
  border: 1px solid rgba(67, 45, 27, 0.08);
}

.account-order-grid dt,
.account-order-items > strong,
.account-order-notes > strong {
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-order-grid dd {
  margin: 8px 0 0;
  color: var(--ink);
}

.account-order-items ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.account-order-notes p {
  margin-top: 10px;
}

.account-order-notes p strong {
  color: var(--ink);
  font-size: inherit;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.reviews-hero,
.reviews-layout {
  display: grid;
  gap: 24px;
}

.reviews-hero {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.reviews-summary-card,
.reviews-read-panel,
.reviews-write-panel,
.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
}

.reviews-summary-card,
.reviews-read-panel,
.reviews-write-panel {
  padding: 30px;
}

.reviews-score-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: 10px;
}

.reviews-average {
  font-family: var(--font-thai-display);
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 1;
}

.reviews-stars {
  margin: 0;
  color: #000;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.rating-breakdown {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.rating-row {
  display: grid;
  grid-template-columns: 52px 1fr 32px;
  gap: 12px;
  align-items: center;
}

.rating-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(67, 45, 27, 0.08);
}

.rating-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--ink);
}

.reviews-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

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

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  padding: 10px 14px;
  border: 1px solid rgba(67, 45, 27, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.92);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.filter-chip.is-active {
  background: var(--ink);
  color: #fff7f0;
}

.reviews-sort {
  width: min(100%, 220px);
}

.reviews-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.review-card {
  padding: 22px;
}

.review-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.review-meta {
  text-align: right;
}

.review-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-input label {
  display: inline-flex;
  gap: 0;
  color: rgba(67, 45, 27, 0.24);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: #000;
}

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

  .hero {
    min-height: auto;
  }

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

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

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

  .basket-panel {
    position: static;
  }

  .story-points {
    grid-template-columns: 1fr;
  }

  .product-showcase,
  .spec-grid,
  .payment-methods,
  .thai-qr-layout,
  .news-hero,
  .news-grid,
  .roadmap-grid,
  .timeline-list,
  .about-hero,
  .about-grid,
  .social-links,
  .account-hero,
  .reviews-hero,
  .reviews-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-height: 900px) {
  .page-shell {
    padding-top: 98px;
  }

  .hero {
    min-height: calc(100vh - 118px);
    padding: 12px 0 8px;
  }

  .overview-headline {
    font-size: clamp(2.2rem, 4.1vw, 3.7rem);
  }

  .hero-text {
    margin-top: 12px;
    font-size: 0.94rem;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-points {
    margin-top: 14px;
  }

  .hero-gallery {
    width: min(76%, 470px);
    margin-top: 6px;
  }

  .hero-card-large {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    margin: 0 auto;
    padding: 132px 10px 32px;
  }

  .site-header {
    width: calc(100% - 20px);
    border-radius: 30px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .hero-gallery,
  .field-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery,
  .hero-card-large {
    margin-top: 0;
  }

  .hero-gallery {
    width: 100%;
    justify-self: stretch;
  }

  .nowrap-text {
    white-space: normal;
  }

  .hero-card-large {
    min-height: 420px;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.4rem);
  }

  .overview-headline {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  h2 {
    max-width: none;
  }

  .story-card,
  .basket-panel,
  .checkout-panel {
    padding: 22px;
  }

  .product-head,
  .product-footer,
  .prep-card-header,
  .account-profile-head,
  .account-order-top,
  .checkout-actions,
  .review-card-head,
  .reviews-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-tabs,
  .account-profile-grid {
    width: 100%;
  }

  .account-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-profile-grid {
    grid-template-columns: 1fr;
  }

  .account-order-meta {
    text-align: left;
  }

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

  .account-tab {
    width: 100%;
  }

  .section {
    padding-top: 72px;
  }
}
