/* ProCart 1.0.8: mobile structure and dark contrast */
@media (max-width:820px) {
  body.procart-home .pc-footer .pc-footer-brand .pc-brand { padding-left:0 !important; display:flex !important; justify-content:flex-start !important; text-align:left !important; }
  body.procart-home .pc-footer .pc-footer-brand .procart-logo-link { margin:0 !important; justify-content:flex-start !important; }
  /* Keep the back control in normal document flow, never behind the sticky menu. */
  body.single-product .pc-header { position:relative !important; top:auto !important; }
  body.single-product .pc-pdp-page { padding-top:10px !important; }
  body.single-product .pc-back-row { position:relative; margin:4px 0 10px !important; }
  body.single-product .pc-pdp-gallery { gap:8px !important; }
  body.single-product .pc-pdp-details { margin-top:20px !important; padding:14px !important; }
  body.single-product .pc-related.pc-related-bottom { margin-top:18px !important; padding-top:16px !important; }
  body.pc-open-shop-page .pc-page-content { padding:0 !important; margin:10px 0 20px !important; }
  body.pc-open-shop-page .pc-vendor-shell { box-sizing:border-box; width:100%; padding:12px 0 24px !important; }
  body.pc-open-shop-page .pc-shop-hero { padding:18px !important; }
  body.pc-open-shop-page .pc-shop-form-block { padding:16px !important; scroll-margin-top:180px; }
  body.pc-open-shop-page .pc-form-grid { grid-template-columns:minmax(0,1fr) !important; }
  body.pc-open-shop-page .pc-field, body.pc-open-shop-page .pc-vform input, body.pc-open-shop-page .pc-vform select, body.pc-open-shop-page .pc-vform textarea { min-width:0; max-width:100%; box-sizing:border-box; }
  body.pc-open-shop-page .pc-flow-step { display:grid; grid-template-columns:26px 40px minmax(0,1fr); text-align:left; padding:12px !important; gap:9px; }
  body.pc-open-shop-page .pc-flow-num { position:static; transform:none; }
  body.pc-open-shop-page .pc-flow-step small { grid-column:3; }
  body.pc-open-shop-page .pc-shop-hero-art { max-width:260px; margin:auto; }
}
@media (min-width:821px) { body.procart-home .pc-card .pc-card-order { flex:0 1 122px !important; } body.procart-home .pc-card .pc-card-foot { justify-content:flex-start !important; gap:8px !important; } }
.pc-pdp-placeholder-gallery .pc-placeholder-thumb { display:grid !important; place-items:center; color:#64748b; background:#f1f5f9; border:1px dashed #94a3b8; border-radius:10px; }
html[data-pc-theme="dark"] .pc-pdp-placeholder-gallery .pc-placeholder-thumb { background:#202c40; color:#a9c2ff; border-color:#60718e; }
/* Ensure dark surfaces accompany the bright dark-mode text and controls. */
html[data-pc-theme="dark"] .pc-page-content,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-shop-hero,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-benefit,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-flow-step,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-req-grid li,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-shop-form-block,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-status-card,
html[data-pc-theme="dark"] .pc-auth-col { background:#1b2230 !important; background-image:none !important; color:#e2e8f0 !important; border-color:#35435a !important; }
html[data-pc-theme="dark"] .pc-vendor-shell .pc-benefit strong,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-flow-step strong,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-req-grid strong,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-status-card strong { color:#f1f5f9 !important; }
html[data-pc-theme="dark"] .pc-vendor-shell .pc-shop-hero p,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-benefit small,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-flow-step small,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-req-grid small,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-sec-head p,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-agree,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-vform small,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-status-card p { color:#cbd5e1 !important; }
html[data-pc-theme="dark"] .pc-vendor-shell .pc-benefit > span,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-flow-ico,
html[data-pc-theme="dark"] .pc-vendor-shell .pc-eyebrow { background:#263650 !important; color:#b5cbff !important; }
html[data-pc-theme="dark"] .pc-vendor-shell input::placeholder,
html[data-pc-theme="dark"] .pc-vendor-shell textarea::placeholder { color:#9cabc1; opacity:1; }
html[data-pc-theme="dark"] .pc-policy-note p,
html[data-pc-theme="dark"] .pc-policy-note strong,
html[data-pc-theme="dark"] .pc-page-content .woocommerce form label,
html[data-pc-theme="dark"] .pc-page-content .woocommerce form .woocommerce-form__label { color:#dbeafe !important; }
html[data-pc-theme="dark"] .pc-policy-note a,
html[data-pc-theme="dark"] .pc-page-content .woocommerce form a { color:#93c5fd !important; }
html[data-pc-theme="dark"] .pc-vendor-shell .pc-form-hint { color:#cbd5e1 !important; }
