/* Friendly reservation UI. Keep the existing PC / tablet / phone layouts. */
:root{
 --ink:#51453f;
 --green:#ab513f;
 --cream:#fffaf5;
 --gold:#ab513f;
 --line:#eaded5;
 --red:#a53e3e;
 --muted:#77675e;
 --friendly-font:"Hiragino Maru Gothic ProN","BIZ UDPGothic","Yu Gothic",Meiryo,sans-serif;
}
body{font-family:var(--friendly-font);line-height:1.85;background:var(--cream)}
header{background:#fff;border-bottom:1px solid var(--line);height:80px}
header .brand,.brand{font-family:var(--friendly-font);font-size:21px;letter-spacing:0;color:var(--ink);font-weight:700}
nav{gap:16px}nav a{border-radius:12px;padding:8px 12px}nav a:hover{background:#fff0e7}
.cart-link{background:#fff0e7;border-color:#f2d7c6;border-radius:12px}
.cart-link span{background:#ab513f}
button,.button{font-family:var(--friendly-font);border-radius:12px;font-weight:600;border-color:var(--green);box-shadow:none;transition:background .15s}
button:hover,.button:hover{filter:none;background:#934331;color:#fff}
.secondary{color:#8d4938;background:#fff;border-color:#dfc5b8}
.secondary:hover{background:#fff0e7;color:#80432f}
.danger{background:var(--red);border-color:var(--red)}
.booking-section{padding-top:30px}
.booking-heading{padding:0 0 22px;border-bottom:2px dashed #eaded5;align-items:center}
.booking-heading h1{font-size:24px;font-weight:700;color:#51453f}
.booking-login .button{padding:11px 17px;font-size:13px}
.eyebrow{font-family:var(--friendly-font);letter-spacing:0;color:var(--muted);font-size:12px;font-weight:400}
.page h1,.section-heading h2,.cake-info h3{font-family:var(--friendly-font);letter-spacing:0;font-weight:700}
.page h1{font-size:27px}.page h2{font-weight:700}
.notice{background:#fff1df;color:#72533b;border:1px solid #f0dcc4;border-radius:12px;padding:13px 17px;font-size:13px}
.filters{justify-content:flex-start;gap:10px;margin:24px 0}
.filters button{background:#fff;color:#77675e;border:1px solid var(--line);border-radius:22px;padding:9px 20px;font-weight:500;font-size:13px}
.filters button.active{background:#f9dfd0;border-color:#efc7af;color:#743d2c;font-weight:700}
.filters button:hover{background:#fff0e7;color:#743d2c}
.grid{gap:24px}
.cake-card{border:1px solid #ecdfd4;border-radius:18px;overflow:hidden;background:#fff;padding-bottom:20px}
.cake-photo{margin:12px 12px 0;border-radius:12px}
.cake-photo img{aspect-ratio:1.3;transition:none}
.cake-card:hover .cake-photo img{transform:none}
.cake-tag{border-radius:16px;background:#fffaf5;color:#685348;font-size:11px;letter-spacing:0;top:10px;left:10px;padding:4px 10px}
.cake-info{padding:16px 20px 0}
.cake-info h3{font-size:17px;line-height:1.65;min-height:28px;margin-bottom:8px}
.cake-info p{font-size:12px;color:#837167}
.price{font:700 22px/1.6 var(--friendly-font);color:#65483b;margin:12px 0}
.price small{font:400 11px var(--friendly-font);color:var(--muted)}
input,select,textarea,.field input,.field select,.field textarea{font-family:var(--friendly-font);border:1px solid #dfd4cb;border-radius:10px;color:var(--ink);background:#fff}
.cake-card select{min-height:44px;font-size:13px}
.cake-actions{gap:10px}.cake-actions button{min-height:44px;font-size:13px}.cake-actions input{border-radius:10px}
.panel,.metric{border-color:var(--line);border-radius:16px;background:#fff;box-shadow:none}
.summary{background:#fff4ea}.sum-row.total{font-family:var(--friendly-font);font-size:22px;font-weight:700}
.cart-item img{border-radius:10px}
.field label{font-size:13px;font-weight:600}
.order-number,.metric strong,.step strong{font-family:var(--friendly-font);font-weight:700;letter-spacing:0}
.order-number{font-size:17px}.badge{border-radius:14px;background:#eaf0e1;color:#52633e}
.badge.unpaid,.badge.pending{background:#fff0cf;color:#795b22}
.step{border-top:2px dashed #eaded5}
th{background:#f8eee5;color:#5c4b41}
footer{background:#f6ece3;color:#66554b;border-top:1px solid #eaded5;padding-top:30px;padding-bottom:24px}
footer .brand{font-size:18px}footer a{font-size:12px}footer p{color:#807168;border-color:#e3d5c9}
#toast{border-radius:14px;background:#76584b;box-shadow:0 4px 16px #59372318}
dialog{border-radius:18px}dialog::backdrop{background:#55423666}
:focus-visible{outline:3px solid #bf745c;outline-offset:3px}
@media(max-width:900px){header{height:auto;min-height:0}}
@media(max-width:600px){
 header{padding:18px 16px 14px}header .brand{font-size:20px}
 nav{gap:8px}nav a{background:#fffaf5;border-radius:10px;padding:8px;font-size:13px}
 .booking-section{padding-top:22px}.booking-heading{align-items:stretch;gap:17px;padding-bottom:22px}
 .booking-heading h1{font-size:21px}.booking-login .button{font-size:14px;min-height:46px}
 .grid{gap:20px}.cake-photo{margin:10px 10px 0}.cake-photo img{aspect-ratio:1.45}
 .cake-info{padding:15px 18px 0}.cake-info h3{font-size:18px;min-height:0}
 .cake-card select,.field input,.field select,.field textarea{font-size:16px;min-height:46px}
 .cake-actions button{font-size:14px;min-height:46px}.price{font-size:23px}
 .page h1{font-size:24px}.filters{gap:8px}.filters button{font-size:12px;padding:8px 13px}
}
@media print{body{background:#fff;color:#000}.panel{border-radius:0}.badge{background:#fff;color:#000}}

.receipt-page{max-width:760px}.receipt-intro{text-align:center;margin-bottom:24px}.receipt-intro h1{margin-bottom:12px}.receipt-intro p{font-size:15px}.pickup-slip{padding:30px}.receipt-state{border-radius:10px;padding:10px;text-align:center;background:#fff0cf;color:#725324;font-weight:700}.receipt-state-paid{background:#eaf0e1;color:#425c32}.receipt-number-label{text-align:center;font-size:13px;margin-top:24px}.receipt-number{text-align:center;font-size:clamp(21px,4vw,34px);font-weight:700;letter-spacing:1px;line-height:1.5;overflow-wrap:anywhere;margin:8px 0 16px;user-select:all}.receipt-customer{text-align:center;margin-bottom:24px}.receipt-pickup{background:#fff4ea;border-radius:12px;padding:17px;text-align:center}.receipt-pickup span,.receipt-pickup strong{display:block}.receipt-pickup span{font-size:12px}.receipt-pickup strong{font-size:19px}.receipt-items{border-top:1px solid var(--line)}.receipt-item{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:15px 0;align-items:center}.receipt-item span{display:block;font-size:13px;color:var(--muted)}.receipt-item>b{white-space:nowrap;font-size:22px}.receipt-total{display:flex;justify-content:space-between;gap:12px;margin-top:20px;align-items:center}.receipt-total strong{font-size:24px}.receipt-store{margin-top:24px;padding-top:17px;border-top:1px dashed var(--line);font-size:13px}.receipt-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.receipt-actions .button,.receipt-actions button{min-height:44px}
@media(max-width:600px){.pickup-slip{padding:20px}.receipt-intro p{font-size:14px}.receipt-pickup strong{font-size:17px}.receipt-item strong{font-size:15px}.receipt-actions{display:grid;grid-template-columns:1fr 1fr}.receipt-actions .button,.receipt-actions button{font-size:12px;padding:10px}.receipt-number{letter-spacing:0;font-size:23px}}
@media print{.receipt-page{max-width:700px}.receipt-intro{margin-bottom:16px}.pickup-slip{border:1px solid #999}.receipt-state{color:#000;background:#fff}.receipt-number{font-size:28px}.receipt-actions{display:none}}

.test-environment{margin:0;padding:12px 18px;text-align:center;background:#fff1cf;color:#654b21;font-size:14px;line-height:1.6}

.price small{display:block;font-size:13px;font-weight:400;line-height:1.6}.quantity-stepper{display:flex;align-items:center;gap:4px}.quantity-stepper button{min-width:38px;min-height:42px;padding:6px;font-size:20px}.quantity-stepper input{width:58px;min-height:42px;text-align:center;padding:6px}.qty-controls{display:flex;flex-direction:column;gap:4px;align-items:center}.discount-row{color:#9b4936}.discount-row small{display:block;font-size:12px}.discount-guide{padding:12px;border-radius:10px;background:#fff0d7;font-size:13px;line-height:1.8}.pricing-breakdown .sum-row{gap:12px;align-items:center}.pricing-breakdown .sum-row span:last-child,.pricing-breakdown .sum-row strong{white-space:nowrap}.pricing-breakdown .total{flex-wrap:wrap}.line-discount{font-size:12px;color:#9b4936;margin-top:6px}.cart-item{gap:12px}.cart-item>div:nth-child(2){min-width:0}
@media(max-width:600px){.cart-item{grid-template-columns:65px minmax(0,1fr);gap:10px}.cart-item>.qty-controls{grid-column:2;align-items:flex-start}.cart-item>img{width:65px;height:65px}.cart-item h3{font-size:16px}.cart-item strong{font-size:14px}.pricing-breakdown .total{font-size:19px}.summary{position:static}.price small{font-size:12px}}
