/*
Theme Name: SMART2BEE Migration
Description: Isolated staging theme for the SMART2BEE SK/CZ migration.
Version: 1.0.0
Text Domain: smart2bee
*/

:root {
  --s2b-ink: #28231f;
  --s2b-paper: #fffaf7;
  --s2b-accent: #7d4e42;
  --s2b-blush: #ebc1b4;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--s2b-paper); color: var(--s2b-ink); font-family: Inter, Arial, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--s2b-accent); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.s2b-staging-banner {
  position: sticky;
  top: 0;
  z-index: 999999;
  padding: 8px 16px;
  background: #8b1e1e;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.s2b-page-shell { width: min(1120px, calc(100% - 40px)); margin: 56px auto; }
.s2b-page-shell h1, .s2b-page-shell h2, .s2b-page-shell h3 { font-family: Georgia, "Times New Roman", serif; }
.b90-legal-shell { width: min(860px, calc(100% - 40px)); margin: 56px auto; line-height: 1.72; }
.b90-legal-shell h1 { font: 700 clamp(34px, 5vw, 52px)/1.08 Georgia, "Times New Roman", serif; }
.b90-legal-shell h2 { margin-top: 38px; font: 700 27px/1.2 Georgia, "Times New Roman", serif; }
.b90-legal-shell li { margin: .45em 0; }

.b90-global-footer, .b90-legal-footer {
  padding: 34px 20px 92px;
  background: var(--s2b-ink);
  color: #fff8f1;
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
}
.b90-global-footer nav, .b90-legal-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 16px; }
.b90-global-footer a, .b90-legal-footer a { color: var(--s2b-blush); text-decoration: underline; text-underline-offset: 3px; }

.s2b-checkout-shell { width: min(1080px, calc(100% - 32px)); margin: 48px auto; }
.s2b-checkout-shell h1 { font: 700 clamp(34px, 5vw, 52px)/1.08 Georgia, "Times New Roman", serif; }
.s2b-payment-off { border: 2px solid #8b1e1e; border-radius: 12px; padding: 14px 18px; background: #fff3f3; color: #681414; font-weight: 700; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; padding: 10px 12px; border: 1px solid #cbb9b1; border-radius: 8px; }
.woocommerce #payment, .woocommerce-checkout-review-order { border-radius: 14px; }
.s2b-bump-row td { padding: 18px !important; background: #fff2ed; border: 1px solid #e7c8bd; }
.s2b-bump-row label { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; cursor: pointer; }
.s2b-bump-row input { width: 20px; height: 20px; margin-top: 2px; }

#s2b-cookie-banner, #s2b-cookie-modal { font: 14px/1.5 Inter, Arial, sans-serif; }
#s2b-cookie-banner[hidden], #s2b-cookie-modal[hidden] { display: none !important; }
#s2b-cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 1000000; max-width: 980px; margin: auto; padding: 18px; border: 1px solid #dfcfc8; border-radius: 16px; background: #fffaf7; box-shadow: 0 16px 60px rgba(0,0,0,.24); }
.s2b-cookie-row { display: flex; align-items: center; gap: 18px; }
.s2b-cookie-row p { flex: 1; margin: 0; }
.s2b-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#s2b-cookie-banner button, #s2b-cookie-modal button { padding: 10px 15px; border: 1px solid var(--s2b-accent); border-radius: 999px; background: #fff; color: #55382f; font-weight: 700; cursor: pointer; }
#s2b-cookie-banner [data-s2b-cookie-accept], #s2b-cookie-modal [data-s2b-cookie-save] { background: var(--s2b-accent); color: #fff; }
#s2b-cookie-modal { position: fixed; inset: 0; z-index: 1000001; display: grid; place-items: center; padding: 18px; background: rgba(28,22,19,.64); }
.s2b-cookie-panel { width: min(560px, 100%); max-height: 90vh; overflow: auto; padding: 26px; border-radius: 18px; background: #fffaf7; box-shadow: 0 20px 70px rgba(0,0,0,.3); }
.s2b-cookie-panel label { display: flex; align-items: flex-start; gap: 10px; margin: 15px 0; }
.s2b-cookie-panel input { width: 18px; height: 18px; margin-top: 2px; }

@media (max-width: 650px) {
  .s2b-cookie-row { display: block; }
  .s2b-cookie-actions { margin-top: 13px; }
  #s2b-cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 15px; }
  #s2b-cookie-banner button { flex: 1; min-width: 135px; }
}
