/* Public shop only. Inputs, ids, validation and checkout code stay unchanged. */
body{background:#f8f3e9 url('/booking/studio-paper.jpg') repeat;color:#720c21;font-family:SlepokCards,Arial,sans-serif}
body>header{max-width:1060px;padding:16px 24px;align-items:center}
.shop-page{max-width:900px;padding:28px 24px 48px;text-align:center}
.shop-page h1{font-family:SlepokCards,Arial,sans-serif;font-size:clamp(30px,4vw,46px);font-weight:800;margin:10px 0 28px;color:#720c21}
.shop-page .shop-options{max-width:650px;margin:auto;gap:20px}
.shop-page .shop-options button{border-radius:22px}
#shopDialog{width:calc(100% - 24px);max-width:920px;padding:24px;border:3px solid #858859;border-radius:24px;background:#fcf8ef;color:#720c21;box-shadow:0 24px 80px #37211833}
#shopDialog:has(#membershipFields[hidden]){border-color:#af627b}
#shopDialog>.eyebrow{margin:0 48px 8px 0;font-size:10px;letter-spacing:.14em;color:#807257}
#shopDialog h2{margin:0 40px 20px 0;padding:0;font:800 clamp(24px,3vw,32px)/1.15 SlepokCards,Arial,sans-serif;color:#720c21}
#shopDialog .close{width:40px;height:40px;right:16px;top:16px;border:2px solid #bda993;color:#720c21;background:#fcf8ef}
#shopForm{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px 24px}
#shopForm>*{min-width:0}
.shop-choice{align-self:start;padding:16px;border:2px solid #858859;border-radius:18px;background:#f5f1e5}
#shopDialog:has(#membershipFields[hidden]) .shop-choice{border-color:#af627b;background:#f9f0ec}
.shop-drawing{height:86px;margin:-8px 0 4px;background:url('/home-assets/art-membership-20261009.webp') center/contain no-repeat}
#shopDialog:has(#membershipFields[hidden]) .shop-drawing{background-image:url('/home-assets/art-certificate-20261009.webp')}
#shopForm .segmented{display:flex;padding:5px;gap:6px;margin:0 0 14px;border:1px solid #c5b9a3;border-radius:12px;background:#fffaf2}
#shopForm .segmented label{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;margin:0;padding:6px 3px;font-size:13px;border-radius:8px}
#shopForm .segmented label:has(:checked){background:#e5e7d8}
#shopForm input[type=radio],#shopForm input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#720c21}
#membershipFields>p{font-size:12px;line-height:1.4;margin:8px 0;color:#594537}
#membershipFields>p strong{font-weight:600}
#shopForm .count-row{grid-template-columns:minmax(0,1fr) 118px;gap:8px;padding:10px 0;border-color:#d8cdbd}
#shopForm .count-row label{margin:0;font-size:14px}
#shopForm .count-row small{font-size:11px;margin-top:3px}
#shopForm .stepper{width:118px;border:1px solid #bba48f;border-radius:10px;overflow:hidden;background:#fffaf2}
#shopForm .stepper button{flex:0 0 36px;width:36px;height:40px;border:0;color:#720c21}
#shopForm .stepper input{width:44px!important;height:40px;padding:5px!important;border:0;border-radius:0;margin:0!important}
#shopForm .price-row{padding:12px 0 0;border:0;gap:10px;font-size:15px}
#shopTotal{font-size:26px;white-space:nowrap}
.shop-details h3{margin:0 0 12px;font-size:18px}
#shopForm label{margin:0;font-size:12px;line-height:1.4}
#shopForm input:not([type=checkbox]):not([type=radio]),#shopForm select,#shopForm textarea{height:42px;padding:9px 11px;margin-top:5px;border:1px solid #bfad96;border-radius:9px;background:#fffdf7;color:#422621;font-size:16px}
#shopForm textarea{height:64px;min-height:64px;max-height:130px;resize:vertical}
#shopForm .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 12px}
#shopForm .form-grid>label:first-child:has(+[hidden]){grid-column:1/-1}
#greetingField{margin-bottom:8px!important}
.shop-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.shop-email,#telegramField,#deliveryHint{grid-column:1/-1}
#shopForm .hint{font-size:11px;line-height:1.45;margin:6px 0;color:#695b4d}
#shopForm #deliveryHint:empty{display:none}
#shopForm #deliveryHint{order:2}
#shopForm #telegramField .secondary{margin:0;padding:11px;font-size:13px;border-radius:10px}
#certificateFields{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:12px;align-items:end}
.shop-checkout{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr);gap:10px 20px;align-items:center;border-top:1px solid #d6c6b1;padding-top:14px}
#shopForm .deposit-info{margin:0;padding:10px 12px;border-radius:10px;background:#e9eadc;color:#594d3a;font-size:11px;line-height:1.45}
#shopForm .check{grid-column:1;margin:0;gap:8px;font-size:11px;align-items:flex-start}
#shopForm .primary{grid-column:2;grid-row:1/3;align-self:center;margin:0;padding:15px 12px;border:2px solid #438452;border-radius:13px;background:#438452;color:#fffdf7;font-size:16px}
#storeContact,#storeError{grid-column:1/-1}
#shopForm .error{font-size:13px;margin:0}
@media(max-width:650px){
 body>header{padding:14px 16px}
 #shopDialog{padding:18px 14px;border-radius:18px;max-height:calc(100dvh - 16px);width:calc(100% - 16px)}
 #shopDialog h2{margin-bottom:16px;font-size:24px}
 #shopForm{grid-template-columns:1fr;gap:16px}
 .shop-choice{padding:12px}
 .shop-drawing{display:none}
 #shopForm .segmented{margin-bottom:8px}
 #shopForm .count-row{padding:8px 0}
 .shop-checkout{grid-template-columns:1fr;gap:10px}
 #shopForm .primary{grid-column:1;grid-row:auto;min-height:48px}
 #shopForm .check{grid-column:1}
 .shop-page{padding:20px 16px 36px}
 .shop-page .shop-options{gap:12px}
}
