:root {
  --green: #173f35;
  --lime: #c8e84b;
  --yellow: #ffd83d;
  --pink: #f1508a;
  --purple: #6f4dbb;
  --orange: #f78f3d;
  --cream: #fff8e8;
  --paper: #fffdf7;
  --ink: #17322b;
  --muted: #65736e;
  --white: #fff;
  --line: rgba(23, 63, 53, 0.16);
  --shadow: 0 24px 70px rgba(23, 63, 53, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "IBM Plex Sans Thai", sans-serif; line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Mitr", sans-serif; }

.site-header { height: 76px; padding: 0 clamp(20px, 5vw, 78px); display: flex; align-items: center; gap: 32px; position: absolute; inset: 0 0 auto; z-index: 10; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand strong { font-family: "Mitr", sans-serif; font-weight: 500; }
.brand-icon { display: grid; width: 41px; height: 41px; place-items: center; color: var(--green); background: var(--yellow); border: 2px solid currentColor; border-radius: 50%; font-family: "Mitr", sans-serif; font-size: 13px; font-weight: 600; transform: rotate(-7deg); }
nav { margin-left: auto; display: flex; gap: 28px; }
nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.header-facebook { padding: 9px 15px; color: var(--white); background: #1877f2; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; }
.facebook-short { display: none; }
.header-call { padding: 9px 17px; color: var(--green); background: var(--yellow); border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; }

.hero { min-height: 790px; padding: 130px clamp(20px, 7vw, 110px) 80px; display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px, 7vw, 100px); align-items: center; overflow: hidden; color: var(--white); background: var(--green); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin-bottom: 18px; color: #456e60; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow.light, .hero .eyebrow { color: var(--lime); }
.eyebrow.dark { color: #537566; }
h1 { margin-bottom: 24px; font-size: clamp(49px, 6.2vw, 88px); font-weight: 500; line-height: 1.08; letter-spacing: -0.045em; }
h1 em { color: var(--yellow); font-style: normal; font-weight: 300; }
.hero-lead { max-width: 650px; color: rgba(255, 255, 255, 0.72); font-size: 18px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; padding: 12px 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; font-weight: 700; text-decoration: none; transition: transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--green); background: var(--yellow); }
.button-secondary { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.45); }
.quick-facts { margin-top: 45px; display: flex; gap: 34px; color: rgba(255, 255, 255, 0.62); font-size: 13px; }
.quick-facts span { display: flex; flex-direction: column; }
.quick-facts strong { color: var(--white); font-family: "Mitr", sans-serif; font-size: 22px; font-weight: 500; }

.hero-art { min-height: 550px; position: relative; }
.sunburst { position: absolute; inset: 30px; border-radius: 50%; background: repeating-conic-gradient(from -10deg, var(--yellow) 0deg 9deg, #f6bd38 9deg 18deg); box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.05); }
.icecream-tub { width: 68%; height: 36%; position: absolute; left: 16%; bottom: 7%; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--green); background: var(--cream); border: 7px solid var(--green); border-radius: 10% 10% 32% 32% / 12% 12% 18% 18%; box-shadow: 0 28px 0 rgba(0, 0, 0, 0.12); transform: rotate(-2deg); }
.icecream-tub::before { content: ""; width: 110%; height: 27px; position: absolute; top: -18px; background: var(--cream); border: 7px solid var(--green); border-radius: 50%; }
.icecream-tub span { position: relative; z-index: 2; font-family: "Mitr", sans-serif; font-size: clamp(27px, 4vw, 48px); font-weight: 600; }
.icecream-tub small { position: relative; z-index: 2; letter-spacing: 0.08em; }
.scoop { width: 39%; aspect-ratio: 1; position: absolute; top: 28%; z-index: 3; border: 7px solid var(--green); border-radius: 48% 52% 50% 46%; box-shadow: inset -18px -18px 0 rgba(0, 0, 0, 0.08); }
.scoop-pink { left: 13%; background: var(--pink); transform: rotate(-14deg); }
.scoop-cream { left: 33%; top: 19%; z-index: 2; background: var(--cream); }
.scoop-green { right: 12%; background: var(--lime); transform: rotate(11deg); }
.art-label { padding: 7px 14px; position: absolute; z-index: 6; color: var(--green); background: var(--white); border: 2px solid var(--green); border-radius: 999px; font-family: "Mitr", sans-serif; font-size: 13px; box-shadow: 5px 5px 0 var(--green); }
.label-one { left: 0; top: 17%; transform: rotate(-8deg); }
.label-two { right: 1%; top: 12%; transform: rotate(8deg); }
.label-three { right: 0; bottom: 17%; transform: rotate(-5deg); }

.marquee { min-height: 58px; padding: 12px 4vw; display: flex; align-items: center; justify-content: space-around; gap: 24px; color: var(--green); background: var(--lime); font-family: "Mitr", sans-serif; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.marquee span { color: var(--pink); }
.section { padding: 110px clamp(20px, 8vw, 130px); }
.section-heading { max-width: 700px; margin-bottom: 50px; }
.section-heading h2, .calculator-intro h2, .contact-section h2 { margin-bottom: 16px; font-size: clamp(40px, 5vw, 64px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.section-heading > p:last-child { color: var(--muted); }
.compact { margin-bottom: 36px; }

.flavors { background: var(--cream); }
.flavor-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.flavor-card { min-height: 128px; padding: 23px; display: grid; grid-template-columns: 45px 1fr auto; gap: 15px; align-items: center; border: 1px solid var(--line); background: var(--paper); transition: transform 180ms ease, box-shadow 180ms ease; }
.flavor-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(23, 63, 53, 0.08); }
.flavor-card > span { display: grid; width: 40px; height: 40px; place-items: center; color: var(--green); border: 2px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 700; }
.flavor-card h3 { margin: 0; font-size: 21px; font-weight: 500; }
.flavor-card p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.flavor-card b { padding: 5px 9px; color: var(--green); background: var(--lime); border-radius: 3px; font-size: 10px; }
.coconut { border-left: 7px solid #eee2ba; }
.chocolate { border-left: 7px solid #70422d; }
.strawberry { border-left: 7px solid var(--pink); }
.matcha { border-left: 7px solid #74a75b; }
.thai-tea { border-left: 7px solid var(--orange); }
.yogurt { border-left: 7px solid #e9a2b8; }
.ruammit { border-left: 7px solid var(--purple); }
.durian { border-left: 7px solid #d2ba36; }
.mango { border-left: 7px solid #ffb629; }
.sorbet { border-left: 7px solid #e94362; }

.calculator-section { padding: 110px clamp(20px, 8vw, 130px); display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(50px, 8vw, 120px); color: var(--white); background: var(--purple); }
.calculator-intro > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.72); }
.service-note { margin-top: 44px; padding: 18px 0; display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.service-note span { color: rgba(255, 255, 255, 0.65); font-size: 13px; }
.calculator-card { padding: clamp(25px, 4vw, 48px); color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
fieldset { margin: 0 0 30px; padding: 0; border: 0; }
legend { margin-bottom: 14px; font-family: "Mitr", sans-serif; font-size: 17px; font-weight: 500; }
legend span { display: inline-grid; width: 27px; height: 27px; margin-right: 5px; place-items: center; color: var(--white); background: var(--green); border-radius: 50%; font-size: 12px; }
.flavor-options { display: flex; flex-wrap: wrap; gap: 8px; }
.flavor-options label { cursor: pointer; }
.flavor-options input, .guest-options input { position: absolute; opacity: 0; pointer-events: none; }
.flavor-options span { padding: 8px 12px; display: block; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; font-size: 13px; }
.flavor-options input:checked + span { color: var(--white); border-color: var(--green); background: var(--green); }
.guest-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.guest-options label { cursor: pointer; }
.guest-options label > span { min-height: 86px; padding: 13px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 4px; }
.guest-options input:checked + span { border: 2px solid var(--purple); background: #f2edff; }
.guest-options strong { font-size: 14px; }
.guest-options small { color: var(--muted); }
.addon-toggle { width: 100%; margin: 5px 0 18px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; color: var(--purple); border: 1px solid rgba(111, 77, 187, 0.25); border-radius: 4px; background: #f7f3ff; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.addon-toggle:hover { background: #f0e9ff; }
.addon-toggle b { font-size: 21px; font-weight: 400; line-height: 1; }
#topping-panel[hidden] { display: none; }
.addon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.addon-item { padding: 11px 12px; display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.addon-item label { min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.3; }
.addon-item select { width: 100%; height: 39px; padding: 0 8px; color: var(--ink); border: 1px solid var(--line); border-radius: 3px; background: var(--paper); font-family: inherit; font-size: 12px; outline: none; }
.addon-item select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(111, 77, 187, 0.1); }
.estimate { margin-top: 36px; padding: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; color: var(--white); background: var(--green); }
.estimate > div { display: flex; flex-direction: column; }
.estimate small { color: rgba(255, 255, 255, 0.62); }
.estimate-summary { min-width: 0; }
.estimate-summary > strong { font-size: 15px; }
.estimate-summary ul { margin: 7px 0 0; padding: 0; color: rgba(255, 255, 255, 0.65); font-size: 11px; list-style: none; }
.estimate-summary li { margin-top: 2px; }
.estimate-price { text-align: right; }
.estimate-price strong { color: var(--yellow); font-family: "Mitr", sans-serif; font-size: 36px; font-weight: 500; line-height: 1; }
.estimate-price strong span { margin-right: 3px; font-size: 18px; }
.estimate-price b { font-weight: 500; }
.estimate-note { margin: 12px 0 16px; color: var(--muted); font-size: 11px; }
.order-button { width: 100%; color: var(--green); background: var(--yellow); }

.extras { background: var(--paper); }
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.extras-grid article { min-height: 210px; padding: 32px; background: var(--paper); }
.extras-grid span { color: var(--purple); font-size: 12px; font-weight: 700; }
.extras-grid h3 { margin: 48px 0 5px; font-size: 21px; font-weight: 500; }
.extras-grid p { color: var(--muted); font-size: 13px; }
.extras-grid .coke-card { color: var(--white); background: var(--orange); grid-column: 1 / -1; }
.extras-grid .coke-card span, .extras-grid .coke-card p { color: rgba(255, 255, 255, 0.75); }

.contact-section { padding: 100px clamp(20px, 8vw, 130px); display: grid; grid-template-columns: 1fr 0.8fr; gap: 80px; align-items: center; color: var(--white); background: var(--green); }
.contact-section > div:first-child > p:last-child { max-width: 650px; color: rgba(255, 255, 255, 0.67); }
.contact-card { padding: 34px; display: flex; flex-direction: column; background: var(--yellow); color: var(--green); transform: rotate(1.2deg); box-shadow: 12px 12px 0 var(--pink); }
.contact-card span { font-size: 12px; font-weight: 700; }
.contact-card a { font-family: "Mitr", sans-serif; font-size: clamp(28px, 4vw, 43px); font-weight: 500; line-height: 1.3; text-decoration: none; }
.contact-card .facebook-link { margin-top: 20px; padding: 11px 14px; color: var(--white); background: #1877f2; border-radius: 4px; font-family: "IBM Plex Sans Thai", sans-serif; font-size: 13px; font-weight: 700; text-align: center; }
.contact-card p { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(23, 63, 53, 0.2); font-size: 13px; }

footer { padding: 38px clamp(20px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between; gap: 28px; color: rgba(255, 255, 255, 0.55); background: #0e2b24; font-size: 12px; }
footer p { margin: 0; }
footer p a { text-underline-offset: 4px; }
footer .brand { color: var(--white); font-size: 14px; }
footer .brand-icon { width: 32px; height: 32px; font-size: 10px; }
.mobile-actions { display: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .header-call { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-art { min-height: 530px; }
  .calculator-section, .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { padding-bottom: 62px; }
  .site-header { height: 66px; padding: 0 17px; }
  .site-header .brand span:last-child { max-width: 155px; line-height: 1.15; font-size: 12px; }
  .header-facebook { margin-left: auto; padding: 8px 12px; }
  .facebook-full { display: none; }
  .facebook-short { display: inline; }
  .header-call { display: none; }
  .hero { min-height: auto; padding: 110px 20px 70px; }
  h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .quick-facts { gap: 20px; }
  .quick-facts strong { font-size: 18px; }
  .hero-art { min-height: 390px; }
  .sunburst { inset: 20px; }
  .art-label { font-size: 11px; }
  .marquee { justify-content: flex-start; }
  .section { padding: 78px 20px; }
  .section-heading h2, .calculator-intro h2, .contact-section h2 { font-size: 39px; }
  .flavor-showcase { grid-template-columns: 1fr; }
  .flavor-card { min-height: 112px; padding: 18px; }
  .calculator-section { padding: 78px 20px; }
  .calculator-card { padding: 25px 18px; }
  .guest-options { grid-template-columns: 1fr; }
  .guest-options label > span { min-height: 67px; }
  .addon-grid { grid-template-columns: 1fr; }
  .addon-item { grid-template-columns: minmax(0, 1fr) 125px; }
  .estimate { padding: 19px; align-items: center; }
  .estimate > div:first-child { max-width: 52%; }
  .estimate-price strong { font-size: 31px; }
  .extras-grid { grid-template-columns: 1fr; }
  .extras-grid article { min-height: 180px; padding: 26px; }
  .extras-grid h3 { margin-top: 32px; }
  .contact-section { padding: 78px 20px; gap: 35px; }
  .contact-card { padding: 25px 20px; transform: none; box-shadow: 8px 8px 0 var(--pink); }
  footer { padding: 38px 20px; flex-direction: column; align-items: flex-start; }
  .mobile-actions { position: fixed; inset: auto 0 0; z-index: 50; height: 62px; display: grid; grid-template-columns: 0.85fr 1.15fr; box-shadow: 0 -5px 24px rgba(23, 63, 53, 0.2); }
  .mobile-actions a { display: grid; place-items: center; color: var(--white); background: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; }
  .mobile-actions a:last-child { color: var(--green); background: var(--yellow); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
