/* Green curry recipe. The header and footer use the shop's shared styles. */
.curry-page {background:#fbf8ef;color:#203f31}
body.curry-page::after {display:none!important}
.curry-page main {background:#fbf8ef}
.curry-width {width:min(1120px,calc(100% - 48px));margin-inline:auto}
.curry-page h1,.curry-page main h2,.curry-page main h3,.curry-page main p,.curry-page figure {margin:0}
.curry-page main h1,.curry-page main h2 {font-family:Georgia,'Noto Sans Thai',serif;font-weight:400;color:#183e30}
.curry-page main h2 {font-size:clamp(28px,3vw,40px);line-height:1.17;letter-spacing:-.7px}
.curry-hero {display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:clamp(27px,5vw,84px);padding:clamp(26px,4vw,55px) 0 27px}
.curry-kicker {font:700 12px/1.35 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#85452a;margin-bottom:10px!important}
.curry-hero h1 {font-size:clamp(44px,5vw,70px);line-height:1.03;letter-spacing:-.045em;max-width:13ch;text-wrap:balance}
.curry-hero .other-name {font-size:19px;color:#596953;margin:8px 0 13px}
.curry-hero .intro {max-width:41ch;font-size:17px;line-height:1.55}
.curry-meta {list-style:none;padding:0;margin:17px 0 19px;display:flex;gap:8px 0;flex-wrap:wrap;font-weight:700;font-size:14px}
.curry-meta li+li {border-left:1px solid #a8b2a2;margin-left:13px;padding-left:13px}
.curry-actions {display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap}
.curry-page main a {color:#20523d;text-underline-offset:3px}
.curry-page main a:hover {color:#803e23}
.curry-page main .curry-button {appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 19px;border-radius:100px;border:1px solid #d1aa49;color:#213a2e;background:#f3cb63;font:700 15px/1.4 Arial,sans-serif;text-decoration:none;cursor:pointer}
.curry-page main .curry-button:hover {background:#ffe09a}
.curry-button:disabled {opacity:.8;cursor:default}
.curry-page :focus-visible {outline:3px solid #17604a;outline-offset:3px}
.curry-actions a:not(.curry-button) {display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:700}
.curry-photo img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:15px}
.curry-photo figcaption {font:12px/1.4 Arial,sans-serif;color:#566252;text-align:right;margin-top:4px}
.curry-layout {display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(36px,6vw,92px);padding-block:36px}
.curry-page section[id],.curry-page aside[id] {scroll-margin-top:12px}
.curry-page main .curry-allergy-note {margin-top:8px;font-size:1rem;line-height:1.5;scroll-margin-top:20px}
.curry-list {list-style:none;margin:15px 0 0;padding:0}.curry-list li {border-top:1px solid #dddccc;padding:9px 0;line-height:1.5}
.curry-list small {display:block;color:#526051;font-size:13px}
.curry-steps {margin:16px 0 0;padding-left:26px}
.curry-steps li {padding-left:5px;margin-bottom:17px;line-height:1.52}
.curry-steps li::marker {font-weight:700;color:#8b502b}
.curry-steps h3 {font:700 17px/1.4 Arial,sans-serif;color:#214735}
.curry-steps p {margin-top:3px!important}
.curry-tip {border-left:3px solid #c79b43;padding:6px 0 6px 13px;font-size:14px;line-height:1.5}
.curry-shop {background:#edf1e8;border-block:1px solid #d2ddce;padding:32px 0 36px}
.curry-shop h2 {margin-bottom:9px!important}
.curry-shop p,.curry-more {line-height:1.55}
.curry-products {display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0;padding:0;list-style:none}
.curry-products a {display:flex;align-items:center;gap:10px;background:#fffefb;border:1px solid #d6dcca;border-radius:9px;padding:9px 12px;min-height:80px;height:100%;text-decoration:none}
.curry-products a:hover strong {text-decoration:underline}
.curry-products img {width:49px;height:60px;object-fit:contain;flex:none}
.curry-products strong,.curry-products small {display:block;line-height:1.4}
.curry-products strong {font-size:15px}
.curry-products small {font-size:14px;color:#465948}
.curry-section-note {color:#485c4b;font-size:14px}
.curry-live-status {font-size:14px;font-weight:700}
.curry-live-status:not(:empty) {margin-top:9px}
.curry-more {padding-block:28px 35px}
.curry-more h2 {font-size:26px!important;margin-bottom:12px!important}
.curry-more-links {display:flex;gap:10px 22px;flex-wrap:wrap;margin-bottom:14px}
.curry-more-links a {font-weight:700}
.curry-more details {border-top:1px solid #dddccc;padding:6px 0}
.curry-more summary {padding:9px 0;cursor:pointer;font-weight:700}
.curry-more details p {margin:3px 0 9px!important;max-width:85ch}
@media(max-width:700px) {
 .curry-width {width:calc(100% - 32px)}
 .curry-hero {grid-template-columns:1fr;gap:14px;padding:19px 0 15px}
 .curry-hero h1 {font-size:clamp(35px,8vw,46px);max-width:none;letter-spacing:-.04em}
 .curry-hero .other-name {margin:4px 0 6px;font-size:16px}
 .curry-hero .intro {font-size:15px}
 .curry-kicker {font-size:10px;margin-bottom:5px!important}
 .curry-meta {margin:10px 0;font-size:13px}
 .curry-photo img {aspect-ratio:1.95}
 .curry-layout {grid-template-columns:1fr;gap:23px;padding-block:24px}
 .curry-shop {padding-block:24px}
 .curry-products {grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .curry-products a {padding:7px;gap:6px}
 .curry-products img {width:32px;height:47px}
 .curry-products strong {font-size:13px}
}
@media(max-width:375px) {.curry-products {grid-template-columns:1fr}}
@media print {.curry-page .header,.curry-page .notice,.curry-page .footer,.curry-actions,.curry-shop,.curry-more {display:none}.curry-hero {grid-template-columns:1fr 1fr}.curry-width {width:100%}.curry-layout {display:block}.curry-page section {break-inside:auto}.curry-steps li {break-inside:avoid}}
.curry-page .curry-button[hidden] {display:none}
.curry-shop .curry-actions {margin-top:12px}
.curry-all-recipes{display:inline-flex;align-items:center;margin-top:17px;color:#315641;font-size:14px;text-underline-offset:3px}
.curry-all-recipes+.curry-hero{padding-top:12px}
.curry-page main .download-recipe{font-size:14px}
.curry-list .ingredient-group{font-weight:700;border:0;padding:16px 0 4px}
.curry-page main .recipe-collection{padding:clamp(24px,4vw,52px) 0}
.recipe-collection h1{font-size:clamp(40px,5vw,62px);line-height:1.05;letter-spacing:-.04em;margin-bottom:20px!important}
.recipe-grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px;padding:0;margin:0}
.recipe-grid a{display:block;color:inherit!important;text-decoration:none}
.recipe-grid a:is(:hover,:focus-visible) h2{text-decoration:underline;text-underline-offset:4px}
.recipe-grid img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px}
.recipe-grid h2{font-size:clamp(23px,2.5vw,30px)!important;margin:9px 0 4px!important}
.recipe-grid p{font-size:14px;color:#4a5e4d}
.curry-more-links{align-items:baseline;gap:8px 20px}
.curry-hero h1:lang(th){max-width:none;line-height:1.22;letter-spacing:-.025em}
@media(max-width:820px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.recipe-grid{gap:20px 11px}.recipe-grid li:first-child{grid-column:1/-1}.recipe-grid h2{font-size:21px!important}.recipe-grid p{font-size:13px}.recipe-grid li:first-child h2{font-size:27px!important}.curry-more-links{display:grid}}

.recipe-floating-basket {
  position: fixed;
  right: calc(var(--basket-pan-right, 0px) + max(12px, env(safe-area-inset-right)));
  bottom: calc(var(--basket-pan-bottom, 0px) + max(12px, env(safe-area-inset-bottom)));
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #a37924;
  border-radius: 30px;
  background: #ffe6a3;
  color: #173e2e;
  box-shadow: 0 2px 8px #172d241f;
  font: 700 0.875rem/1.3 'DM Sans','Noto Sans Thai',sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.recipe-floating-basket[hidden] { display: none; }
.recipe-floating-basket:hover { background: #ffda79; }
.recipe-floating-basket:focus-visible { outline: 3px solid #173e2e; outline-offset: 2px; }
@media screen {
  .curry-page:has(.recipe-floating-basket:not([hidden])) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  html:has(.recipe-floating-basket:not([hidden])) { scroll-padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
@media print { .recipe-floating-basket { display: none; } }

.recipe-pack-check,.recipe-selection-hint {display:none}
.can-select-packs .recipe-selection-hint {display:inline}
.can-select-packs .curry-products li {
  display:grid;grid-template-columns:44px minmax(0,1fr);align-items:stretch;
  background:#fffefb;border:1px solid #c3d1c0;border-radius:9px;
}
.can-select-packs .recipe-pack-check {display:grid;place-items:center;cursor:pointer}
.recipe-pack-check input {width:20px;height:20px;margin:0;accent-color:#1a6245;cursor:pointer}
.recipe-pack-check input:focus-visible {outline:2px solid #155a43;outline-offset:3px}
.can-select-packs .curry-products a {border:0;min-width:0;background:transparent;padding-inline-start:0}
.can-select-packs .curry-products li:has(:checked) {border-color:#78957e}
#add-recipe-ingredients:disabled {opacity:.7;cursor:default}
@media(max-width:700px) {
  .can-select-packs .curry-products {grid-template-columns:1fr}
  .can-select-packs .curry-products a {min-height:60px;gap:10px}
  .can-select-packs .curry-products strong {font-size:15px}
}
