/* ==========================================================================
   Timo Wa Computers — WordPress and WooCommerce output in the Restore look.
   restore.css (the template stylesheet, used as is) loads first; this file only
   covers markup the template never had: WP content, WooCommerce loops, product
   page, tabs, notices, Cart/Checkout blocks, account and tracking forms.
   Tokens (--orange, --ink, --line …) come from restore.css.
   ========================================================================== */

/* --------------------------------------------------------------- base / a11y */
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  width: auto; height: auto; clip: auto; margin: 0; padding: 10px 18px;
  background: var(--orange); color: #fff; border-radius: var(--radius);
}
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.info-item .value a { color: inherit; }
.info-item .value a:hover { color: var(--orange); }

/* Official logo: a near-square badge, so size it by height (the template sized its wide logo by width) */
.brand .brand-mark { width: auto; height: 96px; }
.footer-logo { width: auto; }
.footer-logo .brand-mark { height: 120px; }
@media (max-width: 767px) {
  .brand .brand-mark { height: 72px; }
  .footer-logo .brand-mark { height: 100px; }
}

/* Background photos: the section sets --bg/--bg-webp/--bg-sm/--bg-sm-webp inline (twc_bg_style()). WebP where the
   browser can pick by type, the 800px "-sm" pair on phones. Same selectors as restore.css, loaded after it. */
.slide, .page-banner, .counters, .process { background-image: var(--bg); }
@supports (background-image: image-set(url('a.webp') type('image/webp'))) {
  .slide, .page-banner, .counters, .process { background-image: image-set(var(--bg-webp) type('image/webp'), var(--bg) type('image/jpeg')); }
}
@media (max-width: 767px) {
  .slide, .page-banner, .counters, .process { background-image: var(--bg-sm); }
  @supports (background-image: image-set(url('a.webp') type('image/webp'))) {
    .slide, .page-banner, .counters, .process { background-image: image-set(var(--bg-sm-webp) type('image/webp'), var(--bg-sm) type('image/jpeg')); }
  }
}
/* <picture> wrappers around the photos: no box of their own, so the template's img rules apply unchanged */
picture { display: contents; }

/* Homepage h1 is the first slide's heading; same size as the template's slide h2 */
.slide-body h1 { font-size: 56px; color: #fff; margin-bottom: 18px; }
@media (max-width: 991px) { .slide-body h1 { font-size: 36px; } }
@media (max-width: 640px) { .slide-body h1 { font-size: 28px; } }

/* Cart badge on the orange nav circle */
.nav-cart a { position: relative; }
.nav-cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 9px; background: #fff; color: var(--ink);
  font-size: 10px; font-weight: 700; line-height: 1;
}
.nav-cart-count[data-count-cart="0"] { display: none; }

.cta-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-help { margin-top: 26px; }
.footer-social--light { margin-top: 28px; }
.footer-social--light a { border-color: var(--line); color: var(--body); }
.footer-social--light a:hover { border-color: var(--orange); color: #fff; }
.contact-form { margin-top: 26px; }
.form-hint { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }
.section-map { padding: 0; }
.section-map .map-embed { display: block; }
.search-404 { max-width: 520px; margin: 0 auto; }
/* Gallery tiles have fixed shapes, so a photo of any size can't stretch its row; each photo's object-position
   (twc_gallery()) keeps faces in. Gallery page: squares. Homepage mosaic: squares, the wide tile 2:1, and the tall
   tile spans two rows (on phones, where the mosaic is one column, it is square too). */
.gallery-grid-spaced .gallery-item { aspect-ratio: 1; }
.gallery-grid:not(.gallery-grid-spaced) { grid-auto-flow: dense; } /* two columns on tablets left holes beside the tall tile */
.gallery-grid:not(.gallery-grid-spaced) .gallery-item:not(.tall) img { aspect-ratio: 1; }
.gallery-grid:not(.gallery-grid-spaced) .gallery-item.wide img { aspect-ratio: 2; }
@media (max-width: 640px) { .gallery-grid:not(.gallery-grid-spaced) .gallery-item.tall img { aspect-ratio: 1; } }

/* ------------------------------------------------------------ WP content */
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 26px; margin: 34px 0 14px; }
.entry-content h3 { font-size: 20px; margin: 28px 0 12px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin-bottom: 6px; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.post-date { display: inline-block; margin-bottom: 14px; color: var(--orange); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.widget li.current > a { color: var(--orange); }
.widget .count { color: var(--muted); font-size: 13px; }
.widget-post .price { margin: 0; font-size: 13px; }
.widget-post img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.single-post .post-thumb img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.post-card--list { margin-bottom: 30px; }
.nav-links { display: flex; gap: 8px; }
.nav-links .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-size: 14px;
}
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ----------------------------------------------------------- WhatsApp order box */
.wa-order {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 40px; padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface-alt);
}
.wa-order h3 { font-size: 19px; margin-bottom: 6px; }
.wa-order h3 i { color: var(--orange); }
.wa-order p { margin: 0; font-size: 14px; max-width: 640px; }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.ts-sticky-add-to-cart { display: none !important; } /* parent's sticky bar (anonymous closure) */

/* Buttons: WooCommerce's own button rules outrank .btn, so restate the template's button */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button:not(.is-link), .wp-element-button {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  transition: all var(--ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover, .wp-element-button:hover {
  background: var(--orange-dark); color: #fff;
}
.woocommerce a.button.btn-sm, .product-card .btn { padding: 10px 22px; font-size: 12px; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--orange); opacity: .5; padding: 14px 32px; color: #fff; }
.woocommerce a.button.loading { opacity: .7; }
.woocommerce a.button.added::after, .woocommerce a.button.loading::after { font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: 8px; }
.woocommerce a.button.added::after { content: "\f00c"; }
.woocommerce a.button.loading::after { content: "\f110"; position: static; animation: fa-spin 1s linear infinite; }
a.added_to_cart { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; }

/* Product cards in every loop. min-width: 0 so a large product image can never widen a 1fr track. */
.products.grid { margin: 0; padding: 0; }
.grid > * { min-width: 0; }
.product-card .product-media { aspect-ratio: 1; background: #fff; }
.product-card .product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-card h4 { font-size: 15px; line-height: 1.45; margin: 16px 0 6px; }
.product-card h4 a { color: var(--ink); }
.product-card h4 a:hover { color: var(--orange); }
.product-card .star-rating { color: var(--orange); font-size: 11px; letter-spacing: 2px; margin-bottom: 6px; }
.price ins { text-decoration: none; }
.price del { margin-right: 8px; color: var(--muted); font-weight: 400; font-size: .88em; opacity: 1; }
.price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.woocommerce span.onsale, .product-single span.onsale {
  position: absolute; top: 12px; left: 12px; z-index: 5; min-width: 0; min-height: 0; margin: 0;
  padding: 4px 12px; border-radius: 30px; background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase;
}

/* Shop toolbar, notices, pagination */
.shop-toolbar .woocommerce-result-count { margin: 0; color: var(--body); font-size: 14px; }
.shop-toolbar .woocommerce-ordering { margin: 0; }
.shop-toolbar .woocommerce-ordering select { width: auto; min-width: 220px; padding: 10px 14px; }
.term-description { margin-bottom: 30px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
  border-top-color: var(--orange); background: var(--surface-alt); color: var(--ink); font-size: 14px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--orange); }
.woocommerce-error { border-top-color: #c0392b; }
.woocommerce-message .button, .woocommerce-info .button { float: right; }
.woocommerce nav.woocommerce-pagination { margin-top: 40px; text-align: left; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 8px; border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-size: 14px; font-weight: 500;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Single product */
.product-single { position: relative; }
.product-single .product-gallery { position: relative; }
.product-single .woocommerce-product-gallery { position: relative; margin: 0; opacity: 1 !important; }
.product-single .woocommerce-product-gallery__image img,
.product-single .woocommerce-product-gallery__wrapper img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product-single .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.product-single .flex-control-thumbs li img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; opacity: .6; transition: opacity var(--ease); }
.product-single .flex-control-thumbs li img.flex-active, .product-single .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--orange); }
.product-single .woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 9; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); font-size: 0; }
.product-single .woocommerce-product-gallery__trigger::before { content: "\f00e"; font: 900 14px "Font Awesome 6 Free"; color: var(--ink); }
.product-single .woocommerce-product-gallery__trigger img { display: none !important; }
.product-summary .product_title { font-size: 30px; margin-bottom: 10px; }
.product-summary .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; }
.product-summary .woocommerce-product-rating .star-rating { color: var(--orange); }
.woocommerce div.product .product-summary p.price, .woocommerce div.product .product-summary span.price { font-size: 28px; font-weight: 700; color: var(--orange); margin-bottom: 18px; }
.product-summary .woocommerce-product-details__short-description { margin-bottom: 24px; }
.product-summary .woocommerce-product-details__short-description ul { padding-left: 20px; }
.product-summary .stock { font-size: 13px; font-weight: 600; color: #2f6b34; }
.product-summary .stock.out-of-stock { color: #c0392b; }
.woocommerce div.product .product-summary form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-bottom: 14px; }
.woocommerce div.product .product-summary form.cart::before, .woocommerce div.product .product-summary form.cart::after { display: none; }
.woocommerce div.product .product-summary form.cart div.quantity { float: none; margin: 0; }
.woocommerce .product-summary .quantity .qty { width: 84px; height: 100%; min-height: 50px; padding: 0 10px; text-align: center; }
.woocommerce div.product .product-summary form.cart .button { float: none; }
.product-summary form.cart.variations_form { display: block; }
.product-summary table.variations { width: 100%; margin-bottom: 14px; }
.product-summary table.variations th, .product-summary table.variations td { padding: 6px 0; text-align: left; }
.product-summary .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.product-wa { margin-bottom: 26px; }
.product-promises { list-style: none; margin: 0 0 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-alt); }
.product-promises li { display: flex; gap: 12px; align-items: baseline; padding: 5px 0; font-size: 14px; color: var(--ink); }
.product-promises i { width: 18px; color: var(--orange); }
.product_meta { font-size: 13px; color: var(--muted); }
.product_meta > span { display: block; margin-bottom: 4px; }
.product_meta a { color: var(--orange); }

/* Tabs: WooCommerce markup and JS, the template's tab buttons */
.woocommerce div.product .woocommerce-tabs, .product-single .woocommerce-tabs { margin-top: 70px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 30px; padding: 0; overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block; padding: 11px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; }
.woocommerce-Tabs-panel h2:first-child { font-size: 22px; }
.woocommerce table.shop_attributes { border-top: 1px solid var(--line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-style: normal; }
.woocommerce table.shop_attributes th { width: 200px; color: var(--ink); font-weight: 600; }
.woocommerce table.shop_attributes tr:nth-child(even) th, .woocommerce table.shop_attributes tr:nth-child(even) td { background: var(--surface-alt); }
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--orange); }

/* Related / upsells: the template's centred section heading */
.product-single section.related, .product-single section.up-sells { margin-top: 80px; }
.product-single section.related > h2, .product-single section.up-sells > h2 { text-align: center; margin-bottom: 50px; }
.product-single section.related > h2::after, .product-single section.up-sells > h2::after {
  content: ""; display: block; width: 60px; height: 3px; margin: 22px auto 0; background: var(--orange); border-radius: 2px;
}

/* Forms: account, order tracking, reviews, classic checkout */
.woocommerce form .form-row { padding: 0; margin: 0 0 18px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 500; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select { padding: 13px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon, .woocommerce form.track_order {
  margin: 0 0 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius);
}
.track-card form.track_order { padding: 0; border: 0; }
.track-card .form-row-first, .track-card .form-row-last { width: 100% !important; float: none !important; }
.track-help { margin-top: 18px; font-size: 14px; }
.woocommerce-account.logged-in .woocommerce { display: flex; flex-wrap: wrap; gap: 40px; }
.woocommerce-account:not(.logged-in) .wc-page > .woocommerce { max-width: 520px; margin: 0 auto; }
.woocommerce-account:not(.logged-in) .wc-page > .woocommerce > h2 { text-align: center; }
.woocommerce-MyAccount-navigation { flex: 0 0 240px; }
.woocommerce-MyAccount-content { flex: 1 1 400px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: 14px; }
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--orange); color: #fff; }
.woocommerce-account .u-columns { display: flex; flex-wrap: wrap; gap: 30px; width: 100%; }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { flex: 1 1 320px; float: none; width: auto; }

/* Cart and Checkout blocks */
.wc-page { font-family: var(--font); }
.wc-page .wc-block-components-title, .wc-page .wc-block-cart__totals-title { font-family: var(--font); color: var(--ink); }
.wc-page .wc-block-components-product-name { color: var(--ink); font-weight: 600; }
.wc-page .wc-block-components-product-price, .wc-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--orange); font-weight: 700; }
.wc-page .wc-block-cart__submit-button, .wc-page .wc-block-components-checkout-place-order-button { width: 100%; }
.wc-page .wc-block-components-text-input input, .wc-page .wc-block-components-combobox .components-combobox-control__input,
.wc-page .wc-block-components-textarea { border-radius: var(--radius) !important; border-color: var(--line) !important; }
.wc-page a { color: var(--orange); }
.wc-page .wc-block-components-sale-badge { border-color: var(--orange); color: var(--orange); }

@media (max-width: 991px) {
  .shop-sidebar { margin-top: 50px; }
  .woocommerce div.product .woocommerce-tabs, .product-single .woocommerce-tabs { margin-top: 50px; }
}
@media (max-width: 640px) {
  .wa-order { padding: 22px; }
  .wa-order .btn { width: 100%; }
  .shop-toolbar .woocommerce-ordering, .shop-toolbar .woocommerce-ordering select { width: 100%; }
  .product-summary .product_title { font-size: 24px; }
  .woocommerce-MyAccount-navigation { flex-basis: 100%; }
}

/* Long product names: let the banner breadcrumb wrap, centred */
.page-banner .breadcrumb { flex-wrap: wrap; justify-content: center; row-gap: 4px; }

/* Product pages keep their h1 in the summary; the banner shows the same title as text */
.page-banner .banner-title { color: #fff; font-size: 44px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; }
@media (max-width: 991px) { .page-banner .banner-title { font-size: 32px; } }

/* ==========================================================================
   WhatsApp: checkout on the cart and checkout pages, floating button
   WhatsApp green only on these WhatsApp actions; everything else stays template orange.
   ========================================================================== */
:root { --wa: #25d366; --wa-dark: #1da851; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); color: #fff; }

.wa-checkout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px;
  margin-bottom: 50px; padding: 34px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-alt);
}
.wa-checkout__icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 50%; background: var(--wa); color: #fff; font-size: 26px;
}
.wa-checkout__intro h2, .wa-checkout__done h2 { font-size: 22px; margin-bottom: 10px; }
.wa-checkout__intro p { font-size: 14px; }
.wa-checkout__items { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.wa-checkout__items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.wa-checkout__items strong { white-space: nowrap; }
.wa-checkout__total { margin-top: 18px; color: var(--ink); }
.wa-checkout__total strong { color: var(--orange); font-size: 20px; margin-left: 6px; }
.wa-checkout__edit { margin: 0; }
.wa-checkout__option small { display: block; color: var(--muted); font-size: 12.5px; }
.wa-checkout__form .row { row-gap: 0; }
.wa-checkout__form .row > [class^="col"] + [class^="col"] { margin-top: 0; }
.wa-checkout__form label, .wa-checkout__delivery legend { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 500; }
.wa-checkout .req { color: var(--orange); }
.wa-checkout__delivery { margin: 0 0 18px; padding: 0; border: 0; }
.wa-checkout__form .wa-checkout__option {
  display: flex; align-items: center; gap: 12px; margin: 0 0 8px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  font-weight: 400; cursor: pointer; transition: border-color var(--ease);
}
.wa-checkout__option:has(input:checked) { border-color: var(--orange); background: #fff8f0; }
.wa-checkout__option input { width: auto; accent-color: var(--orange); }
.wa-checkout__option span { flex: 1; color: var(--ink); }
.wa-checkout__option strong { color: var(--ink); font-size: 14px; white-space: nowrap; }
.wa-checkout__error { margin: 0 0 14px; color: #c0392b; font-size: 14px; }
.wa-checkout__form .btn-wa { width: 100%; }
.wa-checkout__form .btn-wa:disabled { opacity: .6; cursor: wait; }
.wa-checkout__done { grid-column: 1 / -1; text-align: center; }
.wa-checkout__done p { max-width: 560px; margin: 0 auto 22px; }

/* Raised and set in from the corner so it stays in view while scrolling; back-to-top sits below it on the same axis. */
.wa-float {
  position: fixed; right: 40px; bottom: 104px; z-index: 95;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: var(--wa); color: #fff; font-size: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform var(--ease), background var(--ease);
}
.wa-float:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }
.wa-float__label {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  padding: 8px 14px; border-radius: var(--radius); background: var(--dark); color: #fff;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity var(--ease);
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
    animation: wa-pulse 2.6s ease-out 1.5s 3; z-index: -1;
  }
}
@keyframes wa-pulse { from { transform: scale(1); opacity: .5; } to { transform: scale(1.6); opacity: 0; } }
.to-top { bottom: 40px; right: 47px; }
/* Below 1340px the container edge reaches the floating buttons; keep the footer links clear of them. */
@media (max-width: 1339px) { .footer-bottom { padding-right: 90px; } }
@media (max-width: 640px) { .footer-bottom { padding-right: 70px; } }
/* Phones: the WhatsApp button is the only floating control. */
@media (max-width: 767px) { .to-top { display: none; } }

@media (max-width: 991px) {
  .wa-checkout { grid-template-columns: 1fr; gap: 24px; padding: 26px; }
  .wa-float__label { display: none; }
}
@media (max-width: 640px) {
  .wa-checkout { padding: 22px 18px; }
  .wa-float { right: 20px; bottom: 88px; width: 56px; height: 56px; font-size: 29px; }
}
/* The Cart block pins "Proceed to checkout" to the bottom on phones; keep the float above it. */
@media (max-width: 781px) {
  .woocommerce-cart .wa-float { bottom: 152px; }
  .woocommerce-cart .to-top { bottom: 92px; }
}
@media print { .wa-float { display: none; } }

/* ----------------------------------------------------------- Phones: denser grids */
/* The template stacks every grid in one column on phones, which ran the homepage to 21,000px. Products and team
   cards go two to a row and brand logos three, as phone shops usually do. */
@media (max-width: 640px) {
  .grid.products, .team-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .brand-logo { padding: 16px 8px; }
  .brand-logo img { height: 28px; }
  .product-card h4 { font-size: 13px; margin-top: 12px; }
  .product-card .price { font-size: 14px; }
  .product-card .price del { display: block; margin: 0 0 2px; }
  .woocommerce .product-card a.button, .product-card .btn { padding: 9px 12px; font-size: 11px; }
  .team-card h3 { margin-top: 14px; font-size: 15px; }
  .team-role { font-size: 12px; }
  /* Hero buttons sit in a narrower column beside the floating WhatsApp button; keep each label on one line. */
  .slide-actions .btn { padding-left: 14px; padding-right: 14px; }
}

/* Product page banner: the full product name is long, so set it smaller than a page title. */
.single-product .page-banner .banner-title { font-size: 34px; }
@media (max-width: 991px) { .single-product .page-banner .banner-title { font-size: 26px; } }
@media (max-width: 640px) { .single-product .page-banner .banner-title { font-size: 21px; } }

/* Empty cart: WooCommerce's "New in store" block, in the template's product card look. */
.wc-block-grid.wc-block-grid .wc-block-grid__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; }
.wc-block-grid.wc-block-grid .wc-block-grid__product { position: relative; flex: none; max-width: none; margin: 0; padding: 0; border: 0; text-align: center; }
.wc-block-grid .wc-block-grid__product-image { aspect-ratio: 1; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.wc-block-grid .wc-block-grid__product-image img { width: 100%; height: 100%; object-fit: contain; }
.wc-block-grid .wc-block-grid__product-title { margin: 16px 0 6px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.45; }
.wc-block-grid .wc-block-grid__product-link:hover .wc-block-grid__product-title { color: var(--orange); }
.entry-content .wc-block-grid a { text-decoration: none; }
.wc-block-grid .wc-block-grid__product-onsale {
  position: absolute; top: 12px; left: 12px; right: auto; z-index: 2; width: auto; margin: 0; padding: 4px 12px;
  border: 0; border-radius: 30px; background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase;
}
.wc-block-grid .wc-block-grid__product-price { margin-bottom: 14px; }
.wc-block-grid .wc-block-grid__product-add-to-cart .wp-block-button__link {
  display: inline-block; padding: 10px 22px; border: 0; border-radius: var(--radius); background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.wc-block-grid .wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: var(--orange-dark); }
@media (max-width: 991px) { .wc-block-grid.wc-block-grid .wc-block-grid__products { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; } }
