/* ==========================================================================
   Forteez: WordPress-only additions
   Things the static HTML never needed: admin bar, uploaded logos, editor content,
   WooCommerce notices, screen-reader text, popup without image.
   ========================================================================== */

/* Admin bar: keep the sticky / fixed header below it */
.admin-bar .site-header { top: 32px; }
.admin-bar .site-header--overlay { top: calc(32px + var(--fz-top, 36px)); }
.admin-bar .site-header.is-scrolled.site-header--overlay { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 0; }
  .admin-bar .site-header--overlay { top: calc(46px + var(--fz-top, 36px)); }
  #wpadminbar { position: absolute; }
}

/* WordPress screen-reader class (the HTML used .sr-only) */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Uploaded logo images */
.logo__img { display: block; width: 100%; height: auto; max-height: 44px; object-fit: contain; object-position: left center; }
.logo--footer .logo__img { max-height: 56px; }
.logo__img--mobile { display: none; }
@media (max-width: 600px) {
  .logo__img--desktop { display: none; }
  .logo__img--mobile { display: block; }
}

/* Uploaded payment logos */
.payments__logo { padding: 0 !important; border: 0 !important; }
.payments__logo img { height: 22px; width: auto; }

/* Popup without an image */
.welcome--no-media { grid-template-columns: minmax(0, 1fr); width: min(520px, calc(100% - 2rem)); }

/* Cart drawer body wrapper is only a fragment target */
.cart-drawer__body { display: contents; }
.line.is-updating { opacity: .5; pointer-events: none; transition: opacity .2s; }
.qty--static { display: inline-grid; place-items: center; min-width: 2.5rem; padding: 0 .75rem; }

/* Editor content (pages, posts, policy pages) */
.entry-content { font-size: 1.05rem; line-height: 1.75; }
.entry-content > * { max-width: 70ch; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 2.5rem 0 1rem; line-height: 1.05; }
.entry-content h3 { font-family: var(--f-display); font-size: 1.6rem; margin: 2rem 0 .75rem; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; margin: 0 0 1em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .35em; }
.entry-content a { color: var(--c-madder); }
.entry-content img { border-radius: var(--r-sm); }
.entry-content blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 2px solid var(--c-madder); font-family: var(--f-display); font-size: 1.5rem; line-height: 1.25; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.entry-content th, .entry-content td { padding: .65rem .75rem; border-bottom: 1px solid var(--c-line); text-align: left; }
.page-content { padding-block: var(--section); }
.alignleft { float: left; margin: .25rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .25rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: var(--fs-small); color: var(--c-muted); margin-top: .5rem; }

/* WooCommerce notices (default WooCommerce CSS is not loaded) */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: var(--r-sm);
  background: var(--c-paper); border: 1px solid var(--c-line); border-left: 3px solid var(--c-ok);
  font-size: var(--fs-small); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
}
.woocommerce-info { border-left-color: var(--c-ink); }
.woocommerce-error { border-left-color: var(--c-error); display: block; }
.woocommerce-error li + li { margin-top: .35rem; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

/* Pagination (blog, search, shop) */
.pagination, .woocommerce-pagination { margin-top: 3rem; }
.pagination .nav-links, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers, .woocommerce-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); text-decoration: none; font-size: var(--fs-small); }
.pagination .page-numbers.current, .woocommerce-pagination .page-numbers.current { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-dark); }

/* "From" prefix on variable product prices */
.price__from { font-size: .8em; color: var(--c-muted); margin-right: .1em; }
/* Author avatar in the article byline (WordPress avatar instead of a fixed photo) */
.article__byline .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
/* Journal intro rendered from the editor */
.page-hero__intro p { margin: 0; }
/* Loading state for grids filled by script (wishlist) */
[data-wish-grid][aria-busy="true"] { min-height: 40vh; opacity: .5; transition: opacity .2s; }

/* Options with no stock for the current selection */
.size-radio.is-unavailable span { color: var(--c-muted); text-decoration: line-through; opacity: .6; }
.swatch-radio.is-unavailable span:not(.sr-only) { opacity: .45; }
.swatch-radio.is-unavailable { position: relative; }
/* Active filter chips are links in WordPress (shareable URLs) */
.active-filters__chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); font-size: var(--fs-xs); text-decoration: none; }
.active-filters__chip:hover { border-color: var(--c-ink); }
.active-filters__chip .icon { width: .9rem; }
a.active-filters__clear { padding: .35rem .5rem; font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 3px; }
/* Listing while filters load */
[data-listing][aria-busy="true"] { opacity: .45; pointer-events: none; transition: opacity .2s; }
/* Size guide content from the editor */
.size-modal__content table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); margin-top: 1rem; }
.size-modal__content th, .size-modal__content td { padding: .6rem .75rem; border-bottom: 1px solid var(--c-line); text-align: left; }
.size-modal__content p { color: var(--c-muted); }
/* WooCommerce attribute table inside the product accordion */
.acc__inner .woocommerce-product-attributes { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.acc__inner .woocommerce-product-attributes th, .acc__inner .woocommerce-product-attributes td { padding: .5rem 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.acc__inner .woocommerce-product-attributes td p { margin: 0; }
/* Review form + pagination */
#review-form .comment-form { display: grid; gap: 1rem; }
#review-form .comment-form-cookies-consent { display: flex; gap: .5rem; font-size: var(--fs-xs); color: var(--c-muted); }
.reviews-block__list .comments-pagination { margin-top: 1.5rem; }
.rv .comment-awaiting-moderation { color: var(--c-muted); }
.pdp__sku { margin-top: 1.25rem; }
.pdp__desc p { margin: 0 0 .75em; }
/* Quick view form layout inside the panel */
.qv__info .pdp__form { display: grid; gap: 1.25rem; }

/* ===================== Cart / checkout / account (WooCommerce markup) ===================== */
.wc-page { min-height: 50vh; }
.wc-page > .woocommerce { display: contents; }

/* WooCommerce form rows rendered with the theme's .field look */
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 1rem; }
.woocommerce-billing-fields__field-wrapper > .field, .woocommerce-shipping-fields__field-wrapper > .field, .woocommerce-address-fields__field-wrapper > .field { grid-column: span 6; }
.woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-billing-fields__field-wrapper > .form-row-last, .woocommerce-shipping-fields__field-wrapper > .form-row-first, .woocommerce-shipping-fields__field-wrapper > .form-row-last, .woocommerce-address-fields__field-wrapper > .form-row-first, .woocommerce-address-fields__field-wrapper > .form-row-last { grid-column: span 3; }
.woocommerce-billing-fields__field-wrapper > .form-row-third, .woocommerce-shipping-fields__field-wrapper > .form-row-third { grid-column: span 2; }
@media (max-width: 600px) { .woocommerce-billing-fields__field-wrapper > .field, .woocommerce-shipping-fields__field-wrapper > .field, .woocommerce-address-fields__field-wrapper > .field { grid-column: 1 / -1 !important; } }
.form-row.field { margin: 0 0 1rem; }
.form-row.field .woocommerce-input-wrapper { display: block; }
.form-row.field .input-text, .form-row.field select, .form-row.field textarea { width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1px solid var(--c-line-strong); border-radius: var(--r-xs); background: var(--c-paper); font: inherit; color: var(--c-ink); }
.form-row.field textarea { min-height: 110px; }
.form-row.field .input-text:focus, .form-row.field select:focus, .form-row.field textarea:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(27, 31, 42, .08); }
.form-row.field label { font-size: var(--fs-small); font-weight: 500; }
.form-row.field .required { color: var(--c-madder); text-decoration: none; border: 0; }
.form-row.field .optional { color: var(--c-muted); font-weight: 400; }
.form-row.woocommerce-invalid .input-text, .form-row.woocommerce-invalid select { border-color: var(--c-error); }
.form-row.field--check label { display: flex; gap: .6rem; align-items: center; font-weight: 400; }
.select2-container--default .select2-selection--single { height: 50px; border: 1px solid var(--c-line-strong); border-radius: var(--r-xs); background: var(--c-paper); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 48px; padding-left: 1rem; color: var(--c-ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: .5rem; }
.select2-dropdown { border-color: var(--c-line-strong); border-radius: var(--r-xs); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--c-ink); }

/* Checkout */
.checkout .co-section--plain { background: none; border: 0; padding: 0 0 1rem; }
.checkout .co-section--plain::before, .co-section--plain legend::before { display: none; }
.co-notes { margin: 0 0 1.5rem; font-size: var(--fs-small); }
.co-notes summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 1rem; }
.co-secure { display: flex; align-items: center; gap: .4rem; }
.co-secure .icon { width: 1rem; }
.radio-cards--pay { list-style: none; margin: 0 0 1.25rem; padding: 0; border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); overflow: hidden; }
.radio-cards--pay li + li { border-top: 1px solid var(--c-line); }
.radio-cards--pay .radio-card + .radio-card { border-top: 0; }
.radio-card__icon img { max-height: 24px; width: auto; }
.payment_box { padding: 0 1.15rem 1.1rem 3.3rem; font-size: var(--fs-small); color: var(--c-muted); }
.payment_box p { margin: 0 0 .5rem; }
.pay-discount { display: inline-block; margin-bottom: .35rem; padding: .2rem .55rem; border-radius: var(--r-pill); background: var(--c-madder-soft); color: var(--c-madder); font-weight: 600; }
.summary__discount dd, .summary__discount dt { color: var(--c-madder); }
.woocommerce-remove-coupon { margin-left: .4rem; font-size: var(--fs-xs); color: var(--c-muted); }
.place-order { display: grid; gap: 1rem; }
.woocommerce-terms-and-conditions-wrapper { font-size: var(--fs-small); color: var(--c-muted); }
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label { display: flex; gap: .5rem; align-items: flex-start; }
#order_review.processing, .woocommerce-checkout-payment.processing, form.checkout.processing { opacity: .6; }
.blockUI.blockOverlay { background: rgba(244, 241, 234, .6) !important; }
.checkout-done { padding-bottom: 4rem; }
.co-success__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; font-size: var(--fs-small); }
.checkout-done__details { max-width: 760px; margin: 0 auto; display: grid; gap: 2rem; }
.checkout-done__details h2, .woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading { font-family: var(--f-display); font-size: 1.8rem; margin-bottom: 1rem; }
.wc-bacs-bank-details { list-style: none; padding: 1.25rem; margin: 0; border-radius: var(--r-sm); background: var(--c-paper); border: 1px solid var(--c-line); display: grid; gap: .5rem; }
.woocommerce-table, .shop_table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); background: var(--c-paper); border-radius: var(--r-sm); overflow: hidden; }
.woocommerce-table th, .woocommerce-table td, .shop_table th, .shop_table td { padding: .85rem 1rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.woocommerce-table tfoot th { font-weight: 500; }
.woocommerce-customer-details address { padding: 1.25rem; background: var(--c-paper); border-radius: var(--r-sm); font-style: normal; line-height: 1.6; }
.order-gift { padding: 1.25rem; background: var(--c-sand); border-radius: var(--r-sm); }

/* Account */
.account__tab[aria-current="page"] { background: var(--c-ink); color: var(--c-on-dark); }
.account__tab { text-decoration: none; }
.account__panels > * + * { margin-top: 1.5rem; }
.order__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.status--completed { background: rgba(63, 107, 74, .14); color: var(--c-ok); }
.status--processing, .status--on-hold { background: rgba(154, 106, 30, .14); color: var(--c-warn); }
.status--pending { background: var(--c-sand); color: var(--c-muted); }
.status--cancelled, .status--failed, .status--refunded { background: var(--c-madder-soft); color: var(--c-madder); }
.orders__pages { margin-top: 1.5rem; }
.addr .link-line { justify-self: start; margin-top: .75rem; }
a.addr--add { text-decoration: none; }
.details-form .co-section--plain legend h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; }
.woocommerce-MyAccount-content .woocommerce-address-fields .button, .woocommerce-MyAccount-content form .button { min-height: 50px; padding: 0 1.75rem; border-radius: var(--r-btn); background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd); font-family: var(--f-btn); font-size: var(--btn-fs); letter-spacing: var(--btn-ls); text-transform: var(--btn-tt); cursor: pointer; }
.woocommerce-form-login .woocommerce-form-login__rememberme, .lost_reset_password .form-row { margin-bottom: 1rem; }
.lost_reset_password { max-width: 460px; margin: 3rem auto; padding: 0 1rem; }

/* Server-side validation errors */
.field .is-invalid, .is-invalid { border-color: var(--c-error) !important; }
.check .is-invalid + .check__box { border-color: var(--c-error); }

/* ===================== 2.1.1 fixes: checkout, bag, thank-you ===================== */
/* Checkout: only the real sections are numbered; the extra options sit tidily between them */
.checkout__form .co-section--plain { counter-increment: none; }
.checkout__form .woocommerce-shipping-fields, .checkout__form .woocommerce-additional-fields { margin: 0 0 1rem; }
.checkout__form #ship-to-different-address { padding: 1rem clamp(1.25rem, 2.5vw, 1.9rem); margin: 0; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-sm); }
.checkout__form .shipping_address { margin-top: 1rem; }
.checkout__form .co-notes { margin: 1rem 0 0; padding: 1rem clamp(1.25rem, 2.5vw, 1.9rem); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-sm); }
.checkout__form .co-notes summary { margin: 0; }
.checkout__form .co-notes[open] summary { margin-bottom: 1rem; }
.checkout__form .woocommerce-additional-fields__field-wrapper .field { margin-bottom: 0; }
.checkout__form .co-section .check { margin-top: .25rem; }
.checkout__form .form-row.field { margin-bottom: 1.1rem; }
.co-section--payment .payment_box { padding: .25rem 1.15rem 1rem 3.3rem; }
.co-section--payment .payment_box p:last-child { margin-bottom: 0; }
.place-order { margin-top: 1.5rem; }
.co-legal { margin: 0; }

/* Place order: WooCommerce rewrites the button text when the payment method changes (removing our <span>),
   so use a plain colour change on hover instead of the sweep that would cover the text */
#place_order { isolation: isolate; }
#place_order::before { display: none; }
#place_order:hover, #place_order:focus-visible { background: var(--btn-hover-bg); border-color: var(--btn-hover-bg); color: var(--btn-hover-fg); }

/* Order summary spacing */
.co-summary .co-lines { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.co-summary .promo { padding: 1.25rem 0; margin: 0 0 1.25rem; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.co-summary .promo label { display: block; margin-bottom: .5rem; }
.co-summary .summary__rows { margin: 0; }
.co-summary .co-trust { margin-top: 1.5rem; }
.cart_totals { margin-bottom: 1.25rem; }

/* Thank-you page */
.co-success__meta li > span:first-child { display: block; color: var(--c-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .2rem; }
.co-success__meta span { display: inline; text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; }
.co-success__meta li { text-align: center; }
.co-instructions { padding: 1.1rem 1.25rem; background: var(--c-paper); border: 1px solid var(--c-line); border-left: 3px solid var(--c-ink); border-radius: var(--r-sm); }
.co-instructions p { margin: 0; }
.co-instructions h2, .co-instructions .wc-bacs-bank-details-heading { margin-top: 1rem; }
.checkout-done__details .woocommerce-order-details, .checkout-done__details .woocommerce-customer-details { margin: 0; }
.checkout-done__details .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.checkout-done__details .woocommerce-column { min-width: 0; }
.checkout-done__details .woocommerce-column__title { margin: 0 0 .75rem; }
.checkout-done__details address p { margin: .5rem 0 0; }
@media (max-width: 700px) { .checkout-done__details .woocommerce-columns--addresses { grid-template-columns: minmax(0, 1fr); } }
.woocommerce-table--order-details td a { text-decoration: none; }
.woocommerce-table--order-details .wc-item-meta { list-style: none; margin: .35rem 0 0; padding: 0; font-size: var(--fs-xs); color: var(--c-muted); }
.woocommerce-table--order-details .wc-item-meta li, .woocommerce-table--order-details .wc-item-meta p { display: inline; margin: 0 .5rem 0 0; }
.co-success .btn-row { justify-content: center; }
@media (max-width: 600px) { .co-success .btn-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-inline: auto; } .co-success .btn-row .btn { width: 100%; } }
/* Free-shipping bar on the bag page: always visible fill */
.ship-meter--lg .ship-meter__bar { height: 4px; background: var(--c-line, #e3ddd0); }
.ship-meter--lg .ship-meter__bar span { background: var(--c-ink, #1b1f2a); min-width: 4px; }
.ship-meter--lg.is-free .ship-meter__bar span { background: var(--c-ok, #3f6b4a); }
.line__meta { margin: .35rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); }

/* Payment methods: description lines up exactly with the method name */
.radio-cards--pay { --rc-pad: 1.25rem; --rc-in: 18px; --rc-gap: 1rem; }
.radio-cards--pay .radio-card { padding: 1.05rem var(--rc-pad); gap: var(--rc-gap); }
.radio-cards--pay .radio-card input { width: var(--rc-in); height: var(--rc-in); margin: 0; }
.radio-cards--pay .payment_box,
.co-section--payment .radio-cards--pay .payment_box { padding: .15rem var(--rc-pad) 1.15rem calc(var(--rc-pad) + var(--rc-in) + var(--rc-gap)); line-height: 1.65; background: var(--c-sand); box-shadow: inset 3px 0 0 var(--c-ink); }
.radio-cards--pay .payment_box p { margin: 0 0 .6rem; }
.radio-cards--pay .payment_box p:last-child { margin-bottom: 0; }
.radio-cards--pay .pay-discount { display: table; margin: 0 0 .6rem; line-height: 1.4; }
@media (max-width: 600px) { .radio-cards--pay { --rc-pad: 1rem; --rc-gap: .85rem; } }
/* Checkout extra fields + their answers */
.fz-extra .form-row.field--check label, .fz-extra .woocommerce-form__label-for-checkbox { display: flex; gap: .6rem; align-items: center; }
.fz-extra .woocommerce-input-wrapper label.radio { display: inline-flex; gap: .4rem; align-items: center; margin: 0 1.25rem .5rem 0; font-weight: 400; }
.fz-cf-answers dl { margin: 0; padding: 1rem 1.25rem; background: var(--c-paper); border-radius: var(--r-sm); display: grid; gap: .6rem; }
.fz-cf-answers dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem; }
.fz-cf-answers dt { color: var(--c-muted); }
.fz-cf-answers dd { margin: 0; }

/* Custom cursor: the small dot inverts against whatever is under it (white on dark heroes, dark on light pages);
   the "View" bubble over products keeps its brand colour. */
.cursor:not(.is-view) { mix-blend-mode: difference; }
.cursor:not(.is-view) span { background: #fff; }

/* Hero: only the text moves to the middle of the image; the product card stays at the bottom right as designed */
.hh--center .hh__content { inset: 0; align-items: stretch; padding-top: clamp(6.5rem, 15svh, 9.5rem); }
.hh--center .hh__copy { align-self: center; }
.hh--center .hh__tag { align-self: flex-end; }
@media (max-width: 900px) { .hh--center .hh__content { padding-top: clamp(6rem, 14svh, 8rem); } }
/* Homepage reviews from WooCommerce */
.hrev__initial { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--c-ink); color: var(--c-on-dark); font-weight: 600; font-size: .95rem; }
.hrev__title { margin: .75rem 0 -.25rem; font-weight: 600; }
/* Product with one image: the image uses the full gallery width (no thumbnail column) */
.pdp__gallery--single { grid-template-columns: minmax(0, 1fr); }

/* ===================== Sale countdown bar ===================== */
.cdbar { position: relative; background: var(--cd-bg); color: var(--cd-fg); }
.cdbar__inner { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 3vw, 2rem); min-height: 54px; padding-block: .45rem; color: inherit; text-decoration: none; }
a.cdbar__inner:hover .cdbar__text { text-decoration: underline; text-underline-offset: 4px; }
.cdbar__text { font-family: var(--f-display); font-size: clamp(1.05rem, 2.2vw, 1.55rem); line-height: 1.1; }
.cdbar__clock { display: inline-flex; align-items: flex-end; gap: .35rem; }
.cdbar__unit { display: grid; justify-items: center; gap: .2rem; }
.cdbar__unit.is-hidden, .cdbar__sep.is-hidden { display: none; }
.cdbar__label { font-size: .58rem; font-weight: 600; letter-spacing: .06em; opacity: .85; line-height: 1; }
.cdbar__digits { display: inline-flex; gap: 2px; }
.cdbar__digits b { display: grid; place-items: center; width: 1.35rem; height: 1.85rem; border-radius: 4px; background: var(--cd-box); color: #fff; font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cdbar__sep { font-weight: 700; font-size: 1.1rem; padding-bottom: .3rem; }
.cdbar__close { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: inherit; cursor: pointer; opacity: .8; }
.cdbar__close .icon { width: 16px; height: 16px; }
@media (max-width: 600px) {
  .cdbar__inner { gap: .6rem; padding-inline: 2.25rem; }
  .cdbar__text { font-size: 1rem; }
  .cdbar__digits b { width: 1.1rem; height: 1.5rem; font-size: .9rem; }
  .cdbar__label { font-size: .5rem; }
}

/* ===================== Product popups ===================== */
.pnote-region { position: fixed; left: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 70; display: grid; gap: .5rem; max-width: min(380px, calc(100vw - 1.5rem)); pointer-events: none; }
.pnote { position: relative; pointer-events: auto; background: var(--c-paper, #fff); color: var(--c-ink); border-radius: 10px; box-shadow: 0 10px 30px rgba(17, 17, 17, .16), 0 1px 3px rgba(17, 17, 17, .08); overflow: hidden; transform: translateY(16px); opacity: 0; transition: transform .4s var(--ease, ease), opacity .4s; }
.pnote.is-in { transform: none; opacity: 1; }
.pnote__link { display: flex; gap: .85rem; align-items: center; padding: .7rem 2.4rem .8rem .7rem; color: inherit; text-decoration: none; }
.pnote__link img { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; flex: none; background: var(--c-mist); }
.pnote__body { display: grid; gap: .15rem; min-width: 0; font-size: .82rem; line-height: 1.35; }
.pnote__line { color: var(--c-muted); }
.pnote__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnote__price { font-size: .8rem; }
.pnote__price del { color: var(--c-muted); margin-right: .35rem; }
.pnote__price ins { text-decoration: none; color: var(--c-madder); font-weight: 600; }
.pnote__time { font-size: .72rem; color: var(--c-muted); }
.pnote__close { position: absolute; top: .35rem; right: .35rem; width: 30px; height: 30px; border: 0; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--c-muted); }
.pnote__close:hover { color: var(--c-ink); }
.pnote__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c-ink); transform-origin: left; animation: pnote-bar linear forwards; }
@keyframes pnote-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .pnote { transition: none; } .pnote__bar { animation: none; } }
@media (max-width: 600px) { .pnote-region { left: .5rem; right: .5rem; bottom: .5rem; max-width: none; } .pnote__link img { width: 52px; height: 64px; } }

/* Spam protection */
.fz-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fz-rc-note { margin: .75rem 0 0; font-size: .7rem; line-height: 1.5; color: var(--c-muted); }
.fz-rc-note a { color: inherit; text-decoration: underline; }

/* ===================== WhatsApp button (bottom right) ===================== */
.wa-float { position: fixed; right: clamp(1rem, 2vw, 1.5rem); bottom: clamp(1rem, 2vw, 1.5rem); z-index: 60; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; transition: bottom .35s var(--ease, ease), transform .2s; }
.wa-float__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .35), 0 2px 6px rgba(0, 0, 0, .15); }
.wa-float__icon .icon { width: 28px; height: 28px; }
.wa-float__label { padding: .55rem .9rem; border-radius: 999px; background: var(--c-paper, #fff); color: var(--c-ink); font-size: .85rem; font-weight: 500; box-shadow: 0 6px 18px rgba(17, 17, 17, .12); white-space: nowrap; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float:hover .wa-float__icon { background: #1ebe5b; }
.wa-float:focus-visible .wa-float__icon { outline: 3px solid var(--c-ink); outline-offset: 3px; }
@media (max-width: 700px) {
  .wa-float__label { display: none; }
  .wa-float__icon { width: 52px; height: 52px; }
  .wa-float--desktop { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } .wa-float:hover { transform: none; } }

/* Keep the corners tidy: back-to-top sits above WhatsApp; everything moves up when the product page's
   sticky add-to-cart bar is showing */
body:has(.wa-float) .to-top { bottom: calc(clamp(1rem, 2vw, 1.5rem) + 68px); right: calc(clamp(1rem, 2vw, 1.5rem) + 4px); }
body:has(.sticky-atc.is-visible) .wa-float { bottom: calc(clamp(1rem, 2vw, 1.5rem) + 76px); }
body:has(.sticky-atc.is-visible) .to-top { bottom: calc(clamp(1rem, 2vw, 1.5rem) + 76px); }
body:has(.wa-float):has(.sticky-atc.is-visible) .to-top { bottom: calc(clamp(1rem, 2vw, 1.5rem) + 144px); }
body:has(.sticky-atc.is-visible) .pnote-region { bottom: calc(clamp(.75rem, 2vw, 1.5rem) + 76px); }
@media (max-width: 600px) { .pnote-region { right: 4.5rem; } }

/* Footer bottom bar: copyright left, links right; room for the corner buttons (back to top, WhatsApp) */
.site-footer__bottom > .payments:empty { display: none; }
.site-footer__bottom > .site-footer__legal:last-child { margin-left: auto; }
body:has(.wa-float) .site-footer__bottom { padding-right: calc(clamp(1rem, 2vw, 1.5rem) + 56px + 1.5rem); }
@media (max-width: 900px) {
  .site-footer__bottom > .site-footer__legal:last-child { margin-left: 0; }
  body:has(.wa-float) .site-footer__bottom { padding-right: var(--gutter); padding-bottom: 6rem; }
}

/* Product card inside articles: readable button, wrapping title, sale price */
.article__product > div { min-width: 0; flex: 1; }
.article__product h3 { margin: 0; line-height: 1.15; overflow-wrap: anywhere; }
.entry-content .article__product h3 a, .article__product h3 a { color: var(--c-ink); }
.entry-content .article__product h3 a:hover, .article__product h3 a:hover { color: var(--c-madder); }
.entry-content .btn, .entry-content a.btn, .article__product .btn { color: var(--btn-fg); text-decoration: none; }
.entry-content .btn:hover, .entry-content a.btn:hover, .article__product .btn:hover { color: var(--btn-hover-fg); }
.article__product .btn { margin-top: .35rem; }
.article__product-price del { color: var(--c-muted); margin-right: .4rem; }
.article__product-price ins { text-decoration: none; color: var(--c-madder); font-weight: 600; }
@media (max-width: 520px) { .article__product { align-items: flex-start; } .article__product-img { width: 88px; } .article__product h3 { font-size: 1.3rem; } }

/* ===================== Mobile menu sub-menus ===================== */
.mobile-menu__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mobile-menu__row > a { flex: 1; min-width: 0; }
.mobile-menu__toggle { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.mobile-menu__toggle .icon { width: 18px; height: 18px; transition: transform .3s var(--ease, ease); }
.mobile-menu__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-menu__sub { list-style: none; margin: .25rem 0 .75rem; padding: 0 0 0 1rem; border-left: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.mobile-menu__primary .mobile-menu__sub a { font-family: var(--f-body); font-size: 1.05rem; line-height: 1.4; padding: .45rem 0; }
.mobile-menu__primary li.has-sub { overflow: visible; }

/* ===================== Announcement marquee ===================== */
.announce--marquee { display: flex; align-items: center; }
.announce__marquee { display: flex; width: max-content; animation: fz-marquee var(--marquee-dur, 40s) linear infinite; will-change: transform; }
.announce--pause:hover .announce__marquee, .announce--pause:focus-within .announce__marquee { animation-play-state: paused; }
.announce__group { display: flex; align-items: center; flex: none; }
.announce__item { white-space: nowrap; padding: 0 1.4rem; }
.announce__item a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.announce__sep { opacity: .55; font-size: .8em; }
@keyframes fz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .announce__marquee { animation: none; }
  .announce--marquee { justify-content: center; }
  .announce--marquee .announce__group + .announce__group { display: none; }
}

/* ===================== Banners: phone image + per-device height ===================== */
picture.fz-pic { display: contents; }
@media (min-width: 1025px) { .has-bh-d { height: var(--bh-d) !important; min-height: var(--bh-d) !important; aspect-ratio: auto !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .has-bh-t { height: var(--bh-t) !important; min-height: var(--bh-t) !important; aspect-ratio: auto !important; } }
@media (max-width: 767px) {
  .has-bh-m { height: var(--bh-m) !important; min-height: var(--bh-m) !important; aspect-ratio: auto !important; }
  .has-bfocus img { object-position: var(--bfocus-m) !important; }
}
.about-hero__a.has-bh-d img, .about-hero__a.has-bh-t img, .about-hero__a.has-bh-m img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== Product page price: prominent ===================== */
.pdp__price { display: block; margin: .35rem 0 0; }
.pprice { display: grid; gap: .35rem; justify-items: start; }
.pprice__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.pprice__from { font-size: var(--fs-small); color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; align-self: flex-end; padding-bottom: .4rem; }
.pprice__now { font-family: var(--f-body); font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -.01em; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.pprice--sale .pprice__now { color: var(--c-madder); }
.pprice__now .woocommerce-Price-currencySymbol { font-size: .62em; font-weight: 600; margin-right: .1em; vertical-align: .32em; }
.pprice__save { display: inline-flex; align-items: center; padding: .42rem .75rem; border-radius: var(--r-xs, 6px); background: var(--c-madder-soft, #f1e2e3); color: var(--c-madder); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.pprice__was { font-size: 1.1rem; color: var(--c-muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pprice__was .amount { color: inherit; }
.pdp__price .badge { display: none; }
@media (max-width: 600px) {
  .pprice__now { font-size: 2rem; }
  .pprice__save { font-size: .72rem; padding: .38rem .6rem; }
  .pprice__was { font-size: 1rem; }
}

/* ===================== Buy more, save more ===================== */
.bdeal { margin: 1.25rem 0 0; padding: 1.1rem 1.2rem; border: 1px dashed var(--c-madder); border-radius: var(--r-sm, 10px); background: color-mix(in srgb, var(--c-madder-soft, #f1e2e3) 55%, var(--c-paper, #fff)); }
.bdeal__title { display: flex; align-items: center; gap: .55rem; margin: 0 0 .75rem; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-madder); }
.bdeal__title .icon { width: 18px; height: 18px; }
.bdeal__tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.bdeal__tiers li { display: flex; align-items: center; gap: .75rem; font-weight: 600; font-size: .98rem; line-height: 1.35; }
.bdeal__pct { flex: none; min-width: 3.4rem; padding: .3rem .5rem; border-radius: var(--r-xs, 6px); background: var(--c-madder); color: #fff; font-size: .8rem; font-weight: 700; text-align: center; }
.bdeal__tiers li.is-reached { color: var(--c-ok, #3f6b4a); }
.bdeal__tiers li.is-reached .bdeal__pct { background: var(--c-ok, #3f6b4a); }
.bdeal__tiers li .icon { width: 16px; height: 16px; margin-left: auto; }
.bdeal__status { margin: .8rem 0 0; font-size: var(--fs-small); color: var(--c-muted); }
.bdeal-note { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--r-sm, 10px); background: var(--c-madder-soft, #f1e2e3); color: var(--c-madder); font-size: var(--fs-small); font-weight: 600; }
.bdeal-note.is-done { background: rgba(63, 107, 74, .12); color: var(--c-ok, #3f6b4a); }
.bdeal-note .icon { width: 18px; height: 18px; flex: none; }
.cart-drawer__body .bdeal-note { margin: .75rem 0 0; }
@media (max-width: 600px) { .bdeal { padding: 1rem; } .bdeal__tiers li { font-size: .92rem; } }
