/* Zoompri — H2 site install: shared styles for CLAIMED views only (body.zp-site), foundation unit 2026-11-11.
   Loaded after css/zp-h2-home.css (base components) and css/zp-kit.css (kit §2–§4 + foundation fixes).
   Never loaded on home, /deals/, product pages or any unclaimed page. WooCommerce's own stylesheets are NOT
   loaded on claimed views (inc/zp-site.php), so this file gives bare Woo/Dokan markup a kit look:
     1. Woo/WP helpers the old style.css used to provide (.screen-reader-text, floats, col2-set)
     2. bare forms      → kit .fld / .fl / .inp / .fh / .fld.bad / .cbx
     3. buttons         → .button = kit .ghost · .button.alt / checkout / place order / .dokan-btn-theme = kit .btn-f.plain
     4. Woo notices     → kit .nt (ok / err / info)
     5. tables          → kit .tbl (shop_table_responsive stacks under 700px from data-title)
     6. pagination      → kit .pg
   Every value is copied from the kit rule named beside it; nothing here is a new design.
   Units: your own rules go in css/zp-site-<unit>.css with classes prefixed zps-<unit>-. A unit that renders its
   own markup with kit classes (.fld, .btn-f, .tbl…) does not need anything in this file. */

/* ===== 1. helpers ===== */
.zp-site .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}  /* = .vh */
.zp-site .screen-reader-text:focus{position:static!important;width:auto;height:auto;clip:auto}
.zp-site .stage .clear{clear:both}
.zp-site .stage .col2-set{display:grid;gap:24px}
.zp-site .stage .col2-set>.col-1,.zp-site .stage .col2-set>.col-2{float:none;width:auto;min-width:0}
@media(min-width:768px){.zp-site .stage .col2-set{grid-template-columns:repeat(2,minmax(0,1fr))}}
.zp-site .stage fieldset{min-width:0;margin:28px 0 0;padding:0;border:0}
.zp-site .stage fieldset legend{margin-bottom:14px;padding:0;font:700 23px/1.1 var(--fd);letter-spacing:-.03em;color:var(--ink)}  /* = .prose h3 */
.zp-site .stage table td,.zp-site .stage table th{overflow-wrap:anywhere}

/* ===== 2. bare forms (WooCommerce .form-row, Dokan .dokan-form-group) ===== */
.zp-site .stage .form-row,.zp-site .stage .dokan-form-group{display:grid;min-width:0;margin:0 0 18px;padding:0;float:none;width:auto}  /* = .fld + .fld spacing */
.zp-site .stage .form-row>label,.zp-site .stage .dokan-form-group>label,.zp-site .stage .dokan-control-label{display:block;padding:0;margin-bottom:10px;font:600 12px/1 var(--fb);letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}  /* = .fl */
/* …but a group label that WRAPS a tick box or radio is a sentence, not a field name (Dokan's product form:
   "Enable product stock management" was shouting in capitals at 12px). Same text style as label.checkbox below. */
.zp-site .stage .form-row>label:has(>input[type=checkbox],>input[type=radio]),.zp-site .stage .dokan-form-group>label:has(>input[type=checkbox],>input[type=radio]){margin-bottom:0;font:400 15px/1.45 var(--fb);letter-spacing:0;text-transform:none;color:var(--ink);cursor:pointer}
.zp-site .stage .form-row .required{color:var(--f);text-decoration:none;border:0}  /* = .fld .req */
.zp-site .stage .form-row .optional{text-transform:none;letter-spacing:0;font-weight:400}
.zp-site .stage .woocommerce-input-wrapper,.zp-site .stage .password-input{display:block;position:relative;min-width:0}
.zp-site .stage .input-text:not(.qty),.zp-site .stage .form-row select,.zp-site .stage .form-row textarea,.zp-site .stage .woocommerce-Input,.zp-site .stage .dokan-form-control{-webkit-appearance:none;appearance:none;width:100%;height:48px;padding:0 16px;border-radius:16px;border:1px solid rgba(23,62,50,.18);background:var(--card);color:var(--ink);font:400 16px/1.3 var(--fb);transition:border-color .3s var(--ease),background .3s var(--ease)}  /* = .inp */
.zp-site .stage .form-row textarea,.zp-site .stage textarea.dokan-form-control{height:auto;min-height:120px;padding:12px 16px;line-height:1.55;resize:vertical}
.zp-site .stage .input-text::placeholder,.zp-site .stage .form-row textarea::placeholder,.zp-site .stage .dokan-form-control::placeholder{color:var(--mute)}
.zp-site .stage .input-text:hover,.zp-site .stage .form-row select:hover,.zp-site .stage .dokan-form-control:hover{border-color:rgba(23,62,50,.3)}
.zp-site .stage .input-text:focus-visible,.zp-site .stage .form-row select:focus-visible,.zp-site .stage .form-row textarea:focus-visible,.zp-site .stage .dokan-form-control:focus-visible{outline:2px solid var(--f);outline-offset:3px;border-color:var(--f)}
.zp-site .stage .input-text:disabled,.zp-site .stage .form-row select:disabled,.zp-site .stage .dokan-form-control:disabled{opacity:.5;cursor:not-allowed}
.zp-site .stage .form-row select{padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173e32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:18px}  /* = .sel .ic */
.zp-site .stage .form-row .description,.zp-site .stage .dokan-form-group .help-block{margin-top:8px;font-size:14px;color:var(--mute)}  /* = .fh */
.zp-site .stage .form-row.woocommerce-invalid .input-text,.zp-site .stage .form-row.woocommerce-invalid select{border-color:rgba(255,170,150,1);background-color:rgba(255,170,150,.08)}  /* = .fld.bad */
/* checkout / address field wrappers: two columns from 600px like kit .f2; first/last rows pair up */
.zp-site .stage .woocommerce-billing-fields__field-wrapper,.zp-site .stage .woocommerce-shipping-fields__field-wrapper,.zp-site .stage .woocommerce-address-fields__field-wrapper,.zp-site .stage .woocommerce-additional-fields__field-wrapper{display:grid;gap:0 18px}
@media(min-width:600px){
.zp-site .stage .woocommerce-billing-fields__field-wrapper,.zp-site .stage .woocommerce-shipping-fields__field-wrapper,.zp-site .stage .woocommerce-address-fields__field-wrapper{grid-template-columns:repeat(2,minmax(0,1fr))}
.zp-site .stage [class*="-fields__field-wrapper"]>.form-row:not(.form-row-first):not(.form-row-last){grid-column:1/-1}
}
/* checkboxes and radios = .cbx */
/* a Woo checkbox label is "<input> text <span class=optional>" — block flow with the box pinned left, so the
   text and its (optional) stay together (a flex row, as kit .cbx, pushed them apart) */
.zp-site .stage label.checkbox,.zp-site .stage .woocommerce-form__label-for-checkbox,.zp-site .stage .woocommerce-form-login__rememberme{display:block;position:relative;min-height:44px;padding:10px 0 10px 34px;margin:0;font:400 15px/1.45 var(--fb);letter-spacing:0;text-transform:none;color:var(--ink);cursor:pointer}
.zp-site .stage label.checkbox>input,.zp-site .stage .woocommerce-form__label-for-checkbox>input,.zp-site .stage .woocommerce-form-login__rememberme>input{position:absolute;left:0;top:10px}
.zp-site .stage .input-checkbox,.zp-site .stage .woocommerce-form__input-checkbox,.zp-site .stage .input-radio,.zp-site .stage .woocommerce-form__input-radio,.zp-site .stage .dokan-form-group input[type=checkbox],.zp-site .stage .dokan-form-group input[type=radio]{-webkit-appearance:none;appearance:none;flex:none;display:inline-grid;place-items:center;width:22px;height:22px;margin:0;border-radius:7px;border:1px solid rgba(23,62,50,.3);background:var(--card);cursor:pointer;vertical-align:middle;transition:background .3s var(--ease),border-color .3s var(--ease)}
.zp-site .stage .input-radio,.zp-site .stage .woocommerce-form__input-radio,.zp-site .stage .dokan-form-group input[type=radio]{border-radius:50%}
.zp-site .stage .input-checkbox:hover,.zp-site .stage .woocommerce-form__input-checkbox:hover,.zp-site .stage .input-radio:hover{border-color:var(--f)}
.zp-site .stage .input-checkbox:checked,.zp-site .stage .woocommerce-form__input-checkbox:checked,.zp-site .stage .input-radio:checked,.zp-site .stage .woocommerce-form__input-radio:checked,.zp-site .stage .dokan-form-group input[type=checkbox]:checked,.zp-site .stage .dokan-form-group input[type=radio]:checked{background:var(--f);border-color:var(--f)}
.zp-site .stage .input-checkbox:checked::after,.zp-site .stage .woocommerce-form__input-checkbox:checked::after,.zp-site .stage .dokan-form-group input[type=checkbox]:checked::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.zp-site .stage .input-radio:checked::after,.zp-site .stage .woocommerce-form__input-radio:checked::after,.zp-site .stage .dokan-form-group input[type=radio]:checked::after{content:"";width:8px;height:8px;border-radius:50%;background:#fff}
.zp-site .stage .input-checkbox:focus-visible,.zp-site .stage .woocommerce-form__input-checkbox:focus-visible,.zp-site .stage .input-radio:focus-visible{outline:2px solid var(--f);outline-offset:3px}
/* WooCommerce's show-password button (its icon came from woocommerce.css, which claimed views do not load) */
.zp-site .stage .show-password-input{position:absolute;top:4px;right:4px;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--f);cursor:pointer}
.zp-site .stage .show-password-input::after{content:"";position:absolute;inset:11px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat}
.zp-site .stage .show-password-input.display-password::after{opacity:.45}
.zp-site .stage .password-input .input-text{padding-right:48px}
/* selectWoo / select2 country + state pickers (their own sheet still loads) */
.zp-site .select2-container--default .select2-selection--single{height:48px;border-radius:16px;border:1px solid rgba(23,62,50,.18);background:var(--card)}
.zp-site .select2-container--default .select2-selection--single .select2-selection__rendered{padding-left:16px;line-height:46px;color:var(--ink)}
.zp-site .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px;right:10px}
.zp-site .select2-container--default.select2-container--focus .select2-selection--single,.zp-site .select2-container--default.select2-container--open .select2-selection--single{border-color:var(--f)}
.zp-site .select2-dropdown{border-color:rgba(23,62,50,.18);border-radius:16px;overflow:hidden;font:400 15px/1.4 var(--fb)}
.zp-site .select2-container--default .select2-results__option--highlighted[aria-selected],.zp-site .select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--f);color:#fff}
/* WooCommerce quantity input (the kit's .qty stepper is a unit's markup; this keeps the bare input usable) */
.zp-site .stage .quantity .qty{width:72px;height:48px;padding:0 8px;border-radius:16px;border:1px solid rgba(23,62,50,.18);background:var(--card);color:var(--f);font:600 16px/1 var(--fb);text-align:center}

/* ===== 3. buttons ===== */
/* .button (and plain Dokan buttons) = kit .ghost */
.zp-site .stage .button,.zp-site .stage .dokan-btn{display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 22px;border-radius:999px;border:1px solid rgba(23,62,50,.3);background:transparent;color:var(--f);font:600 16px/1.2 var(--fb);text-decoration:none;cursor:pointer;transition:background .35s var(--ease),color .35s var(--ease)}
.zp-site .stage .button:hover,.zp-site .stage .dokan-btn:hover{background:var(--f);color:#fff}
/* the primary action = kit .btn-f.plain (no icon circle: Woo buttons have no slot for it) */
.zp-site .stage .button.alt,.zp-site .stage .checkout-button,.zp-site .stage #place_order,.zp-site .stage .woocommerce-form-login__submit,.zp-site .stage .woocommerce-form-register__submit,.zp-site .stage .dokan-btn-theme{justify-content:center;gap:14px;padding:0 26px;border:0;background:var(--f);color:#fff;font:650 16.5px/1.2 var(--fb);box-shadow:0 18px 36px -20px rgba(15,36,29,.7);transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.zp-site .stage .button.alt:hover,.zp-site .stage .checkout-button:hover,.zp-site .stage #place_order:hover,.zp-site .stage .woocommerce-form-login__submit:hover,.zp-site .stage .woocommerce-form-register__submit:hover,.zp-site .stage .dokan-btn-theme:hover{background:var(--f);color:#fff;transform:translateY(-2px);box-shadow:0 24px 44px -20px rgba(15,36,29,.8)}
.zp-site .stage .checkout-button,.zp-site .stage #place_order{width:100%}  /* = .btn-f.wide */
.zp-site .stage .button:disabled,.zp-site .stage .button.disabled,.zp-site .stage .button[aria-disabled=true],.zp-site .stage .dokan-btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.zp-site .stage .button.loading{opacity:.6;pointer-events:none}
.zp-site .stage .button:focus-visible,.zp-site .stage .dokan-btn:focus-visible{outline:2px solid var(--f);outline-offset:3px}

/* ===== 4. Woo notices = kit .nt (the kit maps them only inside .lt; this covers the whole claimed page) ===== */
.zp-site .woocommerce-notices-wrapper{display:grid;gap:8px}
.zp-site .woocommerce-notices-wrapper:empty{display:none}
.zp-site .woocommerce-notices-wrapper:not(:empty){margin-bottom:16px}
.zp-site .stage .woocommerce-message,.zp-site .stage .woocommerce-info,.zp-site .stage .woocommerce-error{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 8px;padding:12px 12px 12px 16px;border:1px solid transparent;border-radius:20px;font-size:15px;line-height:1.45;list-style:none}  /* = .nt */
.zp-site .woocommerce-notices-wrapper>.woocommerce-message,.zp-site .woocommerce-notices-wrapper>.woocommerce-info,.zp-site .woocommerce-notices-wrapper>.woocommerce-error{margin:0}
.zp-site .stage .woocommerce-message{background:#e4f0e8;color:var(--f)}  /* = .nt.ok */
.zp-site .stage .woocommerce-error{background:rgba(255,170,150,.18);border-color:rgba(255,170,150,.5);color:var(--ink)}  /* = .nt.err */
.zp-site .stage .woocommerce-info{background:var(--card);border-color:var(--line);color:var(--ink)}  /* = .nt.info */
.zp-site .stage ul.woocommerce-error{display:grid;gap:6px}
.zp-site .stage .woocommerce-message::before,.zp-site .stage .woocommerce-info::before,.zp-site .stage .woocommerce-error::before{display:none}
.zp-site .stage .woocommerce-message a:not(.button),.zp-site .stage .woocommerce-info a:not(.button),.zp-site .stage .woocommerce-error a:not(.button){color:var(--f);font-weight:600;text-underline-offset:3px}
.zp-site .stage .woocommerce-message .button,.zp-site .stage .woocommerce-info .button,.zp-site .stage .woocommerce-error .button{order:2;float:none;min-height:44px;padding:0 18px;font-size:14px;border:1px solid rgba(23,62,50,.3);background:transparent;color:var(--f);box-shadow:none;transform:none}  /* = .nt .ghost */
.zp-site .stage .woocommerce-message .button:hover,.zp-site .stage .woocommerce-info .button:hover,.zp-site .stage .woocommerce-error .button:hover{background:var(--f);color:#fff}

/* ===== 5. tables = kit .tbl ===== */
.zp-site .stage table.shop_table,.zp-site .stage table.woocommerce-table,.zp-site .stage table.dokan-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--card);border-radius:24px;box-shadow:0 1px 0 var(--line),0 24px 50px -36px rgba(15,36,29,.4);font-size:15px;overflow:hidden}
.zp-site .stage .shop_table th,.zp-site .stage .woocommerce-table th,.zp-site .stage .dokan-table th{padding:16px 18px;border-bottom:1px solid var(--line);text-align:left;font:600 12px/1 var(--fb);letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}
.zp-site .stage .shop_table td,.zp-site .stage .woocommerce-table td,.zp-site .stage .dokan-table td{padding:14px 18px;border-bottom:1px solid var(--line);vertical-align:middle}
.zp-site .stage .shop_table tbody th,.zp-site .stage .woocommerce-table tbody th{font:600 15px/1.4 var(--fb);letter-spacing:0;text-transform:none;color:var(--ink)}
/* footer rows (Subtotal / Total) read like kit .tot: muted label, bold figure */
.zp-site .stage .shop_table tfoot th,.zp-site .stage .woocommerce-table tfoot th{font:400 15px/1.4 var(--fb);letter-spacing:0;text-transform:none;color:var(--mute)}
.zp-site .stage .shop_table tfoot td,.zp-site .stage .woocommerce-table tfoot td{font-weight:600;font-variant-numeric:tabular-nums}
.zp-site .stage .shop_table tr:last-child>*,.zp-site .stage .woocommerce-table tr:last-child>*,.zp-site .stage .dokan-table tr:last-child>*{border-bottom:0}
.zp-site .stage .shop_table thead+tbody tr:first-child>*,.zp-site .stage .shop_table tbody+tfoot tr:first-child>*{border-top:0}
.zp-site .stage .shop_table tbody tr:last-child>*{border-bottom:1px solid var(--line)}
.zp-site .stage .shop_table tbody:last-child tr:last-child>*,.zp-site .stage .shop_table tfoot tr:last-child>*{border-bottom:0}
.zp-site .stage .shop_table td a:not(.button):not(.remove),.zp-site .stage .woocommerce-table td a:not(.button){color:var(--f);font-weight:600;text-underline-offset:3px}
.zp-site .stage .shop_table .button,.zp-site .stage .woocommerce-table .button{min-height:44px;padding:0 18px;font-size:15px}  /* = .ghost.sm */
.zp-site .stage .shop_table img{width:64px;height:64px;border-radius:14px;object-fit:cover;background:var(--f8)}
@media(max-width:699.98px){
.zp-site .stage table.shop_table_responsive,.zp-site .stage .shop_table_responsive tbody,.zp-site .stage .shop_table_responsive tbody tr,.zp-site .stage .shop_table_responsive tbody td,.zp-site .stage .shop_table_responsive tbody th{display:block}
.zp-site .stage table.shop_table_responsive{background:none;box-shadow:none;border-radius:0;overflow:visible}
.zp-site .stage .shop_table_responsive thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.zp-site .stage .shop_table_responsive tbody tr{padding:4px 16px;border-radius:20px;background:var(--card);box-shadow:0 1px 0 var(--line)}
.zp-site .stage .shop_table_responsive tbody tr+tr{margin-top:10px}
/* Woo cells hold several inline children (link + variation list, price + "×"), so a cell is a block with the
   label floated left — not the kit's flex row, which would spread the children apart (SPEC §2 gotcha). */
.zp-site .stage .shop_table_responsive tbody td,.zp-site .stage .shop_table_responsive tbody th,.zp-site .stage .shop_table_responsive tbody tr:last-child>*{display:block;min-height:48px;padding:13px 0;border-bottom:1px solid var(--line);text-align:right;font:400 15px/1.45 var(--fb);letter-spacing:0;text-transform:none;color:var(--ink);overflow-wrap:anywhere}
.zp-site .stage .shop_table_responsive tbody tr>*:last-child{border-bottom:0}
.zp-site .stage .shop_table_responsive tbody td::before,.zp-site .stage .shop_table_responsive tbody th::before{content:attr(data-title);float:left;margin:1px 16px 0 0;text-align:left;font:600 12px/1.3 var(--fb);letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}
.zp-site .stage .shop_table_responsive tbody td:not([data-title])::before{content:none}
.zp-site .stage .shop_table_responsive tfoot{display:block;margin-top:10px;padding:4px 16px;border-radius:20px;background:var(--card);box-shadow:0 1px 0 var(--line)}
.zp-site .stage .shop_table_responsive tfoot tr{display:flex;justify-content:space-between;gap:16px}
.zp-site .stage .shop_table_responsive tfoot th,.zp-site .stage .shop_table_responsive tfoot td{padding:12px 0;border-bottom:0}
}

/* ===== 6. pagination = kit .pg ===== */
.zp-site .stage .woocommerce-pagination ul.page-numbers,.zp-site .stage .dokan-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:24px;padding:0;border:0;list-style:none}
.zp-site .stage .woocommerce-pagination .page-numbers li{border:0}
.zp-site .stage .woocommerce-pagination .page-numbers li>a,.zp-site .stage .woocommerce-pagination .page-numbers li>span{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 14px;border-radius:999px;background:var(--card);border:1px solid rgba(23,62,50,.16);color:var(--f);font-size:14.5px;font-weight:500;text-decoration:none;transition:background .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease)}
.zp-site .stage .woocommerce-pagination .page-numbers li>a:hover{background:#e4f0e8;border-color:rgba(23,62,50,.3)}
.zp-site .stage .woocommerce-pagination .page-numbers li>.current{background:var(--f);color:#fff;border-color:var(--f)}
.zp-site .stage .woocommerce-pagination .page-numbers li>.dots{min-width:24px;padding:0;border:0;background:none}

/* ===== 7. kit components inside .prose (shell-page.php wraps content in .prose) =====
   .prose a / .prose h2 have the same specificity as .btn-f / .empty h2 and load later (zp-kit.css), so a kit
   button or empty state inside .prose lost its colour / spacing — measured on the demo claim, 2026-11-11. */
.zp-site .prose a.btn-f,.zp-site .prose a.btn-f:hover{color:#fff;font-weight:650}
.zp-site .prose .empty h2{margin-top:6px}
.zp-site .prose .nt a.ghost{font-weight:600}
