/* A compact, consistent type and spacing scale for the first Shop website. */
body{font-size:14px}
.page-width{width:min(1180px,calc(100% - 80px))}
.site-header{height:88px}
.shop-word{font-size:20px;letter-spacing:1.8px}
.dark .brand img{background:transparent;border-radius:0;padding:0}
.hero{padding-block:40px;grid-template-columns:1fr 1fr;gap:60px;min-height:340px}
.hero-copy h1{font-size:48px;line-height:1.12;letter-spacing:-1.7px;margin-bottom:18px}
.hero-description{font-size:16px;line-height:1.6;max-width:340px;margin-bottom:22px}
.hero-copy>.button{font-size:14px;min-height:48px;padding:12px 20px}
.hero-art{min-height:0;height:280px;display:grid;grid-template-columns:1fr 1.5fr;grid-template-rows:1fr 1fr;align-items:center;justify-items:center;padding:12px 24px;border-radius:14px;overflow:visible}
.hero-art img{position:static;transform:none;max-width:100%;object-fit:contain}
.hero-cement{grid-column:1;grid-row:1;width:125px;height:125px}
.hero-rebar{grid-column:1;grid-row:2;width:140px;height:115px}
.hero-mixer{grid-column:2;grid-row:1 / 3;width:260px;height:260px}
.catalogue{padding-block:32px 36px;border-top:1px solid var(--line)}
.section-heading{margin-bottom:24px}
.section-heading h2{font-size:30px;font-weight:700;letter-spacing:-.8px;line-height:1.2}
.catalogue-toolbar{margin-bottom:16px}
.mode-tabs button,.category-filters button,.search-box input{font-size:13px}
.category-filters button{min-height:42px}
.results-line{font-size:12px;margin-block:18px 14px}
.card-content{display:flex;flex-direction:column;padding:18px;flex:1}
.product-card{display:flex;flex-direction:column}
.card-category{font-size:10px;letter-spacing:1.2px;margin-bottom:8px}
.card-content h3{font-size:20px;line-height:1.25;letter-spacing:-.3px;margin-bottom:8px}
.card-description{font-size:13px;line-height:1.5;min-height:20px;margin-bottom:16px}
.card-foot{margin-top:auto}
.price{font-size:20px}
.price small{font-size:11px}
.price-caption{font-size:10px}
.add-button{width:44px;min-width:44px;height:44px}
.market-note{font-size:12px;margin-top:18px}

.site-footer{font-size:12px;padding-block:18px;gap:12px}.site-footer>a{display:inline-flex;align-items:center;gap:7px;min-height:44px}.site-footer>a:last-of-type{font-size:12px;white-space:nowrap}.footer-brand{font-size:17px;letter-spacing:.8px}.footer-brand span{font-size:10px;letter-spacing:1.5px}#clear-request{min-height:44px;margin:8px auto 0}

.detail-image img{width:100%;height:auto}
.detail-intro h2{font-weight:700}
.card-content,.card-foot>div,.detail-intro>div,.request-item>div{min-width:0}
.product-title,.card-description,.price,.detail-intro h2,.detail-market,.request-item h3{overflow-wrap:anywhere}
.detail-market strong{font-size:19px}
.detail-market p{font-size:13px;line-height:1.55}
.detail-market .price-brief{font-size:11px;color:var(--muted);margin:8px 0 0}
.form-field .field-label{font-size:13px}
.detail-submit{font-size:14px}
.quantity-stepper button:disabled{opacity:.4;cursor:not-allowed}
.enquiry-open{width:100%;margin:0 0 14px}.enquiry-form{border-block:1px solid var(--line);padding:22px 0;margin:0 0 18px}.enquiry-form h3{font-size:19px;margin-bottom:10px;letter-spacing:-.3px}.enquiry-intro,.enquiry-privacy{font-size:12px;line-height:1.6;color:var(--muted)}.enquiry-intro{margin-bottom:20px}.enquiry-form>.form-field{margin-bottom:17px}.enquiry-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.enquiry-form input{font-size:16px}.mobile-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--bg);overflow:hidden}.mobile-input>span{padding-left:12px;color:var(--muted);font-size:13px}.mobile-input input{border:0;min-width:0}.mobile-input:focus-within{outline:3px solid #2090bf;outline-offset:3px}.mobile-input input:focus-visible{outline:none}.enquiry-consent{display:flex;align-items:flex-start;gap:11px;margin:21px 0 16px;font-size:12px;line-height:1.6;color:var(--ink);cursor:pointer}.enquiry-consent input{flex-shrink:0;width:19px;height:19px;margin:1px 0 0;accent-color:#186290}.enquiry-actions{display:flex;gap:10px}.enquiry-actions .button{flex:1}.enquiry-status{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 14px}.enquiry-status:empty{display:none}.enquiry-privacy{font-size:11px;margin:13px 0 0}.enquiry-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.enquiry-receipt{padding:20px;border:1px solid var(--line);border-radius:10px;background:var(--pale);margin-bottom:18px}.enquiry-receipt h3{font-size:20px;letter-spacing:-.3px;margin-bottom:12px}.enquiry-receipt p{font-size:13px;line-height:1.6;margin-bottom:10px}.enquiry-receipt p:last-child{margin-bottom:0}.enquiry-receipt .receipt-draft{color:var(--muted);font-size:12px}.enquiry-form input[aria-invalid=true]{border-color:#b5322c}.dark .enquiry-form input[aria-invalid=true]{border-color:#ffaaa4}
@media(max-width:600px){.enquiry-fields{grid-template-columns:1fr;gap:17px}.enquiry-actions{flex-direction:column-reverse}.enquiry-form{padding-block:20px}.enquiry-form input{font-size:16px}.enquiry-consent{font-size:12px}.enquiry-receipt{padding:17px}}
.availability-note{font-size:11px;line-height:1.5;color:var(--muted);margin:10px 0 0}.request-item .request-availability{font-size:11px;color:var(--blue);margin:6px 0 10px}.catalogue-error{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.catalogue-error p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.catalogue-error .button{flex-shrink:0}.dark .form-error{color:#ffaaa4}
@media(max-width:600px){.availability-note{font-size:10px;min-height:30px}.catalogue-error{align-items:stretch;flex-direction:column;padding:17px;gap:14px}.catalogue-error .button{align-self:flex-start}.detail-market .availability-note{font-size:11px;min-height:0}}
@media(max-width:1000px){.hero{gap:30px}.hero-copy h1{font-size:42px}.hero-mixer{width:220px;height:240px}.hero-art{padding-inline:12px}}
@media(max-width:820px){.page-width{width:calc(100% - 40px)}.site-header{height:80px}.hero{gap:22px;min-height:0;padding-block:32px}.hero-copy h1{font-size:36px;letter-spacing:-1.1px}.hero-description{font-size:14px}.hero-art{height:250px}.hero-cement{width:100px;height:100px}.hero-rebar{width:110px;height:105px}.hero-mixer{width:200px;height:210px}.section-heading h2{font-size:28px}.card-content h3{font-size:20px}}
@media(max-width:600px){.page-width{width:calc(100% - 36px)}.site-header{height:72px}.shop-word{font-size:16px;letter-spacing:1px}.preview-strip{font-size:11px}.hero{grid-template-columns:1fr;padding-block:28px;gap:24px}.hero-copy h1{font-size:36px;line-height:1.12;letter-spacing:-1.2px;margin-bottom:14px}.hero-description{font-size:14px;max-width:300px;line-height:1.55;margin-bottom:18px}.hero-copy>.button{min-height:46px;font-size:13px;padding:11px 17px}.hero-art{height:142px;grid-template-columns:1fr 1.2fr 1fr;grid-template-rows:1fr;padding:10px;border-radius:11px;gap:5px}.hero-art img{grid-row:1;width:100%;height:115px}.hero-cement{grid-column:1}.hero-mixer{grid-column:2}.hero-rebar{grid-column:3}.catalogue{padding-block:28px 30px}.section-heading{margin-bottom:20px}.section-heading h2{font-size:27px;letter-spacing:-.6px}.category-filters button{font-size:12px;min-height:44px}.mode-tabs button{font-size:13px;min-height:42px}.search-box input{font-size:13px}.results-line{font-size:11px;margin-top:14px}.card-content{padding:13px 11px}.card-category{font-size:9px;letter-spacing:.8px;min-height:27px;margin-bottom:5px}.card-content h3{font-size:17px;line-height:1.25;min-height:43px;margin-bottom:8px}.card-description{font-size:12px;line-height:1.5;min-height:36px;margin-bottom:12px}.price{font-size:17px}.price small{font-size:10px}.price-caption{font-size:9px}.card-foot{gap:5px}.add-button{min-width:40px;width:40px;height:44px}.market-note{font-size:11px}.site-footer{padding-bottom:85px;gap:8px}.footer-brand{font-size:15px}.footer-brand span{font-size:9px;letter-spacing:1px}.site-footer>a:last-of-type{font-size:11px}.detail-market strong{font-size:18px}.detail-market p{font-size:12px}.detail-market .price-brief{font-size:11px}}

/* Readable product choices and explicit direct quantity entry. */
.product-title,.request-item h3,.detail-intro h2{word-break:normal;overflow-wrap:break-word}
.product-title{text-align:left;line-height:inherit}
#request-dialog{max-width:calc(100% - 24px)}
.request-item{grid-template-columns:64px minmax(0,1fr) 44px;gap:10px 14px;padding-block:18px}
.request-item>img,.request-art-unavailable{grid-column:1;grid-row:1 / span 2;width:64px;height:64px}
.request-item-main{grid-column:2;grid-row:1;min-width:0}
.request-item h3{font-size:16px;line-height:1.4;margin:0 0 5px;letter-spacing:0}
.request-item p{font-size:12px;line-height:1.5;margin-bottom:0}
.request-item .request-availability{font-size:12px;line-height:1.4;margin:5px 0 0}
.request-item-tools{grid-column:2 / -1;grid-row:2;width:auto;gap:12px;align-items:flex-end}
.request-quantity-label{display:block;font-size:12px;font-weight:600;line-height:1.5;margin-bottom:5px;color:var(--muted)}
.request-item-tools .quantity-stepper{width:176px;max-width:100%;min-width:0;gap:6px;border:0;border-radius:0}
.quantity-stepper button{flex:0 0 44px;width:44px;height:44px;background:var(--pale);border-radius:7px;color:var(--ink)}
.quantity-stepper input{min-width:0;width:76px;flex:1 1 76px;height:44px;padding:7px 4px;border:1px solid #9bafb9;border-radius:7px;background:var(--surface);color:var(--ink);font:inherit;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;text-align:center;cursor:text}
.dark .quantity-stepper input{border-color:#648391;background:#102531}
.quantity-stepper input:focus-visible{border-color:var(--blue);outline:2px solid var(--blue);outline-offset:2px}
.quantity-stepper input:disabled{opacity:.65;cursor:not-allowed}
.request-item>.remove-item{grid-column:3;grid-row:1;width:44px;height:44px;margin-top:-6px;font-size:22px}
.request-item-tools>.text-button{min-height:44px;font-size:13px}
.draft-notice{font-size:12px;line-height:1.5;padding:12px;margin-bottom:4px}
#product-dialog{max-width:calc(100% - 24px)}
#product-dialog .detail-intro h2{font-size:26px;line-height:1.25;letter-spacing:-.4px}
#product-dialog .detail-options{gap:8px;padding:5px;background:var(--pale);border:1px solid var(--line);border-radius:9px}
#product-dialog .detail-options button{min-height:44px;border-radius:6px;background:transparent;color:var(--muted);border:0;font-weight:600}
#product-dialog .detail-options button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #102b3b14;outline:1px solid var(--line)}
#product-dialog .form-field input{font-size:16px;min-height:46px}
@media(max-width:600px){
  #request-dialog,#product-dialog{width:calc(100% - 24px);max-width:calc(100% - 24px);padding:16px;max-height:calc(100dvh - 24px)}
  .request-item{grid-template-columns:48px minmax(0,1fr) 44px;gap:12px 10px;padding-block:16px}
  .request-item>img,.request-art-unavailable{grid-column:1;grid-row:1;width:48px;height:48px}
  .request-item-main{grid-column:2 / -1;grid-row:1}
  .request-item h3{font-size:16px;line-height:1.4}
  .request-item-tools{grid-column:1 / 3;grid-row:2;gap:8px;width:auto}
  .request-item>.remove-item{grid-column:3;grid-row:2;align-self:end;margin:0}
  #product-dialog .detail-intro{grid-template-columns:72px minmax(0,1fr);gap:14px;margin-bottom:16px}
  #product-dialog .detail-intro h2{font-size:22px;line-height:1.3}
  #product-dialog .card-category{min-height:0;font-size:10px;line-height:1.5;margin-bottom:6px}
  #product-dialog .detail-market{padding-block:14px;margin-bottom:16px}
  #product-dialog .field-row{gap:12px;margin-bottom:16px}
  .search-box input{font-size:16px}
}
@media(max-width:480px){
  .product-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .product-card{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:stretch}
  .card-visual{height:auto;min-height:160px}
  .card-visual img{width:92px;height:110px;max-width:100%;object-fit:contain}
  .card-visual .view-details{display:none}
  .card-content{padding:14px}
  .card-category{font-size:10px;line-height:1.45;letter-spacing:.65px;min-height:0;margin-bottom:5px}
  .card-content h3{font-size:17px;line-height:1.35;letter-spacing:0;min-height:0;margin-bottom:5px}
  .card-description{font-size:12px;line-height:1.5;min-height:0;margin-bottom:8px}
  .card-foot{gap:8px;margin-top:0}
  .price{font-size:16px;line-height:1.4}
  .add-button{width:44px;min-width:44px;height:44px}
  .availability-note{font-size:11px;line-height:1.45;min-height:0;margin-top:7px;margin-bottom:0}
}
@media(max-width:360px){.product-card{grid-template-columns:84px minmax(0,1fr)}.card-content{padding:12px}.card-visual img{width:76px;height:100px}.card-content h3{font-size:16px}}

/* Customer quantity feedback is shown only after a rejected paste. */
.shop-customer .quantity-feedback{display:block;font-size:12px;line-height:1.5;color:var(--muted);max-width:32ch;margin:0}
.shop-customer .quantity-feedback:not(:empty){margin-top:6px}
