/*
Theme Name: ClearFlow
Theme URI: https://clearflow.gr
Author: ClearFlow.gr
Author URI: https://clearflow.gr
Description: A clean, modern WooCommerce theme for ClearFlow.gr — water filters, accessories and consumables. White background with slate navy (#2F3E4E) text and a water-blue (#1F6FC5) to aqua (#4FC3E8) accent taken from the ClearFlow logo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clearflow
WC requires at least: 7.0
WC tested up to: 8.8
*/

:root {
  --cf-navy: #2F3E4E;
  --cf-blue: #1F6FC5;
  --cf-blue-dark: #175A9F;
  --cf-aqua: #4FC3E8;
  --cf-aqua-light: #E8F7FC;
  --cf-gradient: linear-gradient(135deg, #1F6FC5 0%, #4FC3E8 100%);
  --cf-white: #ffffff;
  --cf-off: #F3F8FB;
  --cf-line: #E2EAF0;
  --cf-text: #263340;
  --cf-muted: #5E6E7E;
  --cf-radius: 10px;
  --cf-shadow: 0 4px 24px rgba(47,62,78,.08);
  --cf-shadow-lg: 0 12px 40px rgba(47,62,78,.14);
  --cf-display: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --cf-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--cf-body);
  color: var(--cf-text);
  background: var(--cf-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--cf-display);
  color: var(--cf-navy);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 .6em;
}

a { color: var(--cf-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cf-blue-dark); !important; }

img { max-width: 100%; height: auto; }

.cf-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.button, button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--cf-blue);
  color: #fff;
  border: none;
  border-radius: var(--cf-radius);
  padding: 12px 26px;
  font-family: var(--cf-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  display: inline-block;
  line-height: 1.3;
  margin-right: 5px;
}
.button:hover, button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: var(--cf-blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31,111,197,.3);
}
.cf-btn-outline {
  background: transparent !important;
  color: var(--cf-navy) !important;
  border: 2px solid var(--cf-navy) !important;
  padding: 10px 24px;
}
.cf-btn-outline:hover { background: var(--cf-navy) !important; color: #fff !important; }

/* ---------- Header ---------- */
.cf-topbar {
  background: var(--cf-navy);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 0;
  letter-spacing: .3px;
}
.cf-topbar a { color: #8FD8F0; }

.cf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--cf-line);
}
.cf-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.cf-logo {
  font-family: var(--cf-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--cf-navy);
  letter-spacing: -.5px;
  white-space: nowrap;
}
.cf-logo span { color: var(--cf-blue); }
.cf-logo img { display: block; height: 48px; width: auto; }
.cf-logo--light { color: #fff; }
.cf-logo--light span { color: var(--cf-aqua); }
.cf-nav { display: flex; gap: 26px; flex: 1; }
.cf-nav a {
  color: var(--cf-navy);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--cf-display);
  position: relative;
}
.cf-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--cf-blue); transition: width .25s ease;
}
.cf-nav a:hover::after { width: 100%; }
.cf-header-actions { display: flex; align-items: center; gap: 18px; }
.cf-icon-btn {
  display: flex; align-items: center; gap: 6px;
  color: var(--cf-navy); font-weight: 600; font-size: 14px;
}
.cf-cart-count {
  background: var(--cf-blue); color: #fff; border-radius: 999px;
  font-size: 11px; padding: 1px 7px; min-width: 18px; text-align: center;
}

/* ---------- Search ---------- */
.cf-search { display: flex; flex: 0 1 320px; }
.cf-search input {
  flex: 1; border: 1px solid var(--cf-line); border-right: none;
  border-radius: var(--cf-radius) 0 0 var(--cf-radius);
  padding: 9px 14px; font-size: 14px; font-family: var(--cf-body);
}
.cf-search button {
  border-radius: 0 var(--cf-radius) var(--cf-radius) 0; padding: 9px 16px;
}

/* ---------- Hero ---------- */
.cf-hero {
  background: linear-gradient(135deg, #1E2A36 0%, var(--cf-navy) 45%, var(--cf-blue) 130%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cf-hero::before {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle at 80% 20%, rgba(79,195,232,.35), transparent 42%),
    radial-gradient(circle at 10% 110%, rgba(31,111,197,.35), transparent 45%);
  pointer-events:none;
}
.cf-hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; }
.cf-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); max-width: 680px; margin-bottom: 18px; }
.cf-hero p { font-size: 19px; color: #BFE6F4; max-width: 540px; margin-bottom: 30px; }
.cf-hero .button { font-size: 17px; padding: 15px 34px; }
.cf-eyebrow {
  display:inline-block; background: rgba(79,195,232,.18); color:#8FD8F0;
  font-family: var(--cf-display); font-weight:600; font-size:13px;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px;
  border-radius: 999px; margin-bottom: 22px;
}

/* ---------- Sections ---------- */
.cf-section { padding: 64px 0; }
.cf-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.cf-section-head h2 { font-size: clamp(28px, 3.5vw, 40px); }
.cf-section-head p { color: var(--cf-muted); font-size: 17px; }

/* feature badges */
.cf-features {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  background: var(--cf-off); padding: 36px 0;
}
.cf-feature { text-align: center; padding: 0 16px; }
.cf-feature .ic { font-size: 28px; }
.cf-feature h4 { font-size: 16px; margin: 10px 0 4px; }
.cf-feature p { color: var(--cf-muted); font-size: 14px; margin: 0; }

/* category grid */
.cf-cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cf-cat-card {
  position: relative; border-radius: var(--cf-radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--cf-shadow); display:block;
}
.cf-cat-card img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.cf-cat-card:hover img { transform: scale(1.06); }
.cf-cat-card .lbl {
  position:absolute; inset:0; display:flex; align-items:flex-end;
  background: linear-gradient(transparent 40%, rgba(47,62,78,.85));
  padding: 22px; color:#fff; font-family: var(--cf-display); font-weight:700; font-size:20px;
}

/* ---------- Footer ---------- */
.cf-footer { background: var(--cf-navy); color: #C9DCE8; padding: 56px 0 24px; margin-top: 40px; }
.cf-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.cf-footer h4 { color:#fff; font-size:16px; margin-bottom: 16px; }
.cf-footer a { color:#C9DCE8; display:block; padding: 4px 0; font-size:14px; }
.cf-footer a:hover { color: #fff; }
.cf-footer .cf-logo { color:#fff; margin-bottom:14px; }
.cf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display:flex; justify-content:space-between; font-size:13px; color:#94A6B6; flex-wrap:wrap; gap:10px;
}

/* ---------- WooCommerce overrides ---------- */
.woocommerce ul.products { gap: 28px; display: grid; grid-template-columns: repeat(4,1fr); margin:0; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: left; }
.woocommerce ul.products li.product .cf-prod-card,
.woocommerce ul.products li.product {
  background:#fff; border:1px solid var(--cf-line); border-radius: var(--cf-radius);
  overflow:hidden; transition: box-shadow .25s ease, transform .25s ease; padding-bottom: 16px;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--cf-shadow-lg); transform: translateY(-4px); }
.woocommerce ul.products li.product a img { border-radius: 0; margin-bottom: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--cf-display); font-size: 16px !important; color: var(--cf-navy);
  padding: 0 16px; font-weight: 600;
}
.woocommerce ul.products li.product .price {
  color: var(--cf-blue) !important; font-weight: 700; font-size: 18px; padding: 4px 16px 8px; display:block;
}
.woocommerce ul.products li.product .price del { color: var(--cf-muted); font-weight: 400; font-size: 14px; }
.woocommerce ul.products li.product .button { margin: 0 16px; }
.woocommerce span.onsale {
  background: var(--cf-blue); color:#fff; border-radius: 999px; min-height:auto;
  padding: 4px 12px; font-family: var(--cf-display); font-weight:600; top:12px; left:12px; margin:0;
}
.woocommerce .star-rating span { color: var(--cf-blue); }

.woocommerce div.product div.summary .price,
.woocommerce div.product p.price { color: var(--cf-blue); font-size: 28px; font-weight: 700; }
.woocommerce div.product .product_title { font-size: 32px; }

/* page title bar */
.cf-page-head { background: var(--cf-off); border-bottom:1px solid var(--cf-line); padding: 36px 0; }
.cf-page-head h1 { margin:0; font-size: 32px; }
.cf-breadcrumb { color: var(--cf-muted); font-size: 14px; margin-top: 6px; display:none; }
.cf-breadcrumb a { color: var(--cf-blue); }

.cf-main { padding: 40px 0; min-height: 50vh; }

/* sale ticker */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--cf-blue); border-radius: var(--cf-radius);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--cf-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: repeat(3,1fr); }
  .cf-cat-grid { grid-template-columns: repeat(2,1fr); }
  .cf-features { grid-template-columns: repeat(2,1fr); gap: 32px; }
}
@media (max-width: 768px) {
  .cf-nav, .cf-search { display: none; }
  .cf-footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
  .cf-menu-toggle { display: flex !important; }
}
@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .cf-cat-grid { grid-template-columns: 1fr; }
  .cf-features { grid-template-columns: 1fr; }
}

.cf-menu-toggle {
  display:none; background:none; border:none; padding:8px; cursor:pointer;
  flex-direction:column; gap:4px;
}
.cf-menu-toggle span { width:24px; height:2px; background: var(--cf-navy); display: none; }
.cf-mobile-nav { display:none; flex-direction:column; padding: 16px 24px; border-top:1px solid var(--cf-line); }
.cf-mobile-nav.open { display:flex; }
.cf-mobile-nav a { padding: 10px 0; font-weight:600; color: var(--cf-navy); border-bottom:1px solid var(--cf-line); }

.woocommerce ul.products::before {
    content: " ";
    display: none !important;
}

/* -------- append after this ----------------*/


/* =================================================================
   ClearFlow — Cart & Checkout BLOCK styling (WooCommerce 8.3+ / 10.8.1)
   For the modern Cart & Checkout BLOCKS (wc-block-*), not the classic shortcodes.

   HOW TO USE: paste this into Appearance → Customize → Additional CSS
   (or append to your theme's style.css). Then purge cache + hard-refresh.

   NOTE: WooCommerce considers block internals "private" and may change these
   class names in future releases. If a future Woo update breaks the look,
   re-check the class names. Setting colors via Appearance → Editor → Styles
   is the officially supported route, but requires a block theme.
   ================================================================= */

/* ---------- Shared tokens (in case loaded standalone in Customizer) ---------- */
.wc-block-cart,
.wc-block-checkout {
  --cf-navy: #2F3E4E;
  --cf-blue: #1F6FC5;
  --cf-blue-dark: #175A9F;
  --cf-aqua: #4FC3E8;
  --cf-aqua-light: #E8F7FC;
  --cf-gradient: linear-gradient(135deg, #1F6FC5 0%, #4FC3E8 100%);
  --cf-off: #F3F8FB;
  --cf-line: #E2EAF0;
  --cf-text: #263340;
  --cf-muted: #5E6E7E;
  --cf-radius: 10px;
  --cf-shadow: 0 4px 24px rgba(47,62,78,.08);
}

/* =================================================================
   BUTTONS  (the block button has NO .button class — it's .wc-block-components-button)
   ================================================================= */
.wc-block-components-button:not(.is-link) {
  background-color: var(--cf-blue);
  color: #fff;
  border: none;
  border-radius: var(--cf-radius);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.wc-block-components-button:not(.is-link):hover {
  background-color: var(--cf-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31,111,197,.3);
}
.wc-block-components-button:not(.is-link).wc-block-components-button--full-width {
  width: 100%;
  justify-content: center;
}
/* "is-link" text buttons (e.g. edit address, remove) */
.wc-block-components-button.is-link {
  color: var(--cf-blue);
}
.wc-block-components-button.is-link:hover { color: var(--cf-blue-dark); }

/* =================================================================
   CART BLOCK
   ================================================================= */

/* line-item product titles */
.wc-block-cart-item__product-name,
.wc-block-components-product-name {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: var(--cf-navy);
}
.wc-block-components-product-name:hover { color: var(--cf-blue); }

/* product images */
.wc-block-cart-item__image img {
  border-radius: 8px;
  border: 1px solid var(--cf-line);
}

/* table header row ("Product" / "Total") */
.wp-block-woocommerce-cart-line-items-block thead th,
.wc-block-cart__main-content table thead th {
  font-family: "Manrope", sans-serif;
  color: var(--cf-navy);
  border-bottom: 2px solid var(--cf-line);
}

/* row dividers */
.wc-block-cart-items__row {
  border-bottom: 1px solid var(--cf-line);
}

/* quantity stepper */
.wc-block-components-quantity-selector {
  border: 1px solid var(--cf-line);
  border-radius: 8px;
  overflow: hidden;
}
.wc-block-components-quantity-selector__button {
  color: var(--cf-navy);
  font-weight: 600;
}
.wc-block-components-quantity-selector__button:hover {
  background: var(--cf-off);
  color: var(--cf-blue);
}
.wc-block-components-quantity-selector__input {
  color: var(--cf-text);
  font-family: "Manrope", sans-serif;
}

/* prices */
.wc-block-components-product-price,
.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
  color: var(--cf-navy);
  font-weight: 600;
}

/* remove-item link */
.wc-block-cart-item__remove-link {
  color: var(--cf-muted);
}
.wc-block-cart-item__remove-link:hover { color: #c0392b; }

/* ---------- Cart totals sidebar ("Cart totals" panel) ---------- */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-totals-block {
  background: #fff;
  margin-top: 20px;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  box-shadow: var(--cf-shadow);
  padding: 20px 24px;
}
.wc-block-components-totals-item__label {
  color: var(--cf-text);
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
  color: var(--cf-blue);
  font-weight: 700;
}
.wc-block-components-totals-item__description,
.wc-block-components-totals-footer-item-tax {
  color: var(--cf-muted);
}

/* coupon input */
.wc-block-components-totals-coupon__input input,
.wc-block-components-text-input input {
  border-radius: var(--cf-radius);
}

/* sticky mobile "Proceed to checkout" container */
.wc-block-cart__submit-container {
  background-color: #fff;
}

/* =================================================================
   CHECKOUT BLOCK
   ================================================================= */

/* section headings (Contact, Shipping address, Payment options…) */
.wc-block-components-checkout-step__title,
.wc-block-components-title {
  font-family: "Manrope", sans-serif;
  color: var(--cf-navy);
}
.wc-block-components-checkout-step__heading-content {
  color: var(--cf-muted);
}

/* step number badges */
.wc-block-components-checkout-step__title-content,
.wc-block-checkout__main .wc-block-components-checkout-step::before {
  color: var(--cf-blue);
}

/* form field labels & inputs */
.wc-block-components-text-input label,
.wc-block-components-checkout-step__description {
  font-family: "Manrope", sans-serif;
  color: var(--cf-navy);
}
.wc-block-components-text-input input.input-text,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__container {
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  color: var(--cf-text);
  font-family: "Manrope", sans-serif;
}
/* focus state — floated label requires keeping border color too */
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus {
  border-color: var(--cf-blue);
  box-shadow: 0 0 0 2px rgba(31,111,197,.15);
}
.wc-block-components-text-input.is-active label,
.wc-block-components-checkout-step--with-step-number .wc-block-components-text-input label {
  color: var(--cf-blue);
}

/* validation error */
.has-error input.input-text,
.wc-block-components-text-input.has-error input {
  border-color: #c0392b !important;
}
.wc-block-components-validation-error {
  color: #c0392b;
}

/* ---------- Order summary sidebar ---------- */
.wc-block-checkout__sidebar,
.wp-block-woocommerce-checkout-totals-block {
  background: #fff;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  box-shadow: var(--cf-shadow);
  padding: 24px;
}
.wc-block-components-order-summary__content .wc-block-components-product-name {
  color: var(--cf-navy);
}
.wc-block-components-order-summary-item__total-price {
  color: var(--cf-navy);
  font-weight: 600;
}

/* quantity badge on order-summary thumbnails */
.wc-block-components-order-summary-item__quantity {
  background-color: var(--cf-navy);
  border-color: var(--cf-navy);
  box-shadow: 0 0 0 2px #fff;
  color: #fff;
}

/* checkout grand total */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--cf-blue);
}

/* payment method area */
.wc-block-components-radio-control__option {
  border-radius: 8px;
}
.wc-block-components-radio-control__input:checked {
  border-color: var(--cf-blue);
}
.wc-block-checkout__payment-method .wc-block-components-radio-control--highlight-checked
  .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-color: var(--cf-blue);
}

/* place-order button (full width) */
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  background-color: var(--cf-blue);
  width: 100%;
  justify-content: center;
  font-size: 17px;
  padding: 16px 24px;
}
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
  background-color: var(--cf-blue-dark);
}

/* "Return to cart" link */
.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button {
  color: var(--cf-blue);
}

/* =================================================================
   NOTICES (applied coupon, errors, login prompt)
   ================================================================= */
.wc-block-components-notice-banner {
  border-radius: var(--cf-radius);
}
.wc-block-components-notice-banner.is-info {
  border-left-color: var(--cf-blue);
}
.wc-block-components-notice-banner.is-success {
  border-left-color: var(--cf-blue);
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 768px) {
  .wc-block-cart__sidebar .wc-block-components-totals-wrapper,
  .wp-block-woocommerce-cart-totals-block,
  .wc-block-checkout__sidebar,
  .wp-block-woocommerce-checkout-totals-block {
    padding: 16px;
  }
}
.wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
    border-bottom: none !important;
}

/* Match the single-product quantity input to the header search bar */
.woocommerce div.product form.cart .quantity input.qty {
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  padding: 9px 14px;
  font-family: var(--cf-body);
  font-size: 17px;
  color: var(--cf-text);
  background: #fff;
  width: 80px;
  text-align: center;
  line-height: 1.4;
  -moz-appearance: textfield;
}

/* Focus state — subtle blue ring to match the rest of the theme */
.woocommerce div.product form.cart .quantity input.qty:focus {
  outline: none;
  border-color: var(--cf-blue);
  box-shadow: 0 0 0 3px rgba(31,111,197,.15);
}

/* Match the shop "sort by" dropdown to the header search bar */
.woocommerce .woocommerce-ordering select.orderby,
.woocommerce-page .woocommerce-ordering select.orderby {
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  padding: 9px 38px 9px 14px;        /* extra right padding for the arrow */
  font-family: var(--cf-body);
  font-size: 14px;
  color: var(--cf-text);
  background-color: #fff;
  line-height: 1.4;
  cursor: pointer;
  max-width: 100%;

  /* remove native styling so the box matches across browsers */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* custom navy dropdown arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23011D49' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Focus state — same subtle blue ring used elsewhere */
.woocommerce .woocommerce-ordering select.orderby:focus,
.woocommerce-page .woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: var(--cf-blue);
  box-shadow: 0 0 0 3px rgba(31,111,197,.15);
}

.woocommerce div.product .product_meta > span {
  display: block;
  margin-bottom: 6px;
  color: var(--cf-muted);
}
.woocommerce div.product .product_meta .posted_in a { color: var(--cf-blue); }

/* ---------- Header mini-cart flyout ---------- */
.cf-cart-wrap { position: relative; }

.cf-minicart {
	position: absolute;
	top: 100%;
	right: 0;
	width: 360px;
	max-width: 92vw;
	background: #fff;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	box-shadow: var(--cf-shadow-lg);
	padding: 18px;
	z-index: 200;

	/* hidden until hover */
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

/* small hover bridge so the gap between icon and panel doesn't drop the hover */
.cf-cart-wrap::after {
	content: "";
	position: absolute;
	top: 100%; right: 0;
	width: 360px; max-width: 92vw; height: 14px;
}

.wc-block-components-product-metadata {
	display: none;
}

.cf-cart-wrap:hover .cf-minicart,
.cf-cart-wrap:focus-within .cf-minicart {
	opacity: 1;
	visibility: visible;
	transform: translateY(6px);
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__header,table.wc-block-cart-items .wc-block-cart-items__header {
    font-size: 18px;
    line-height: 1.4;
    text-transform: none;
}

/* style WooCommerce's widget innards to match the theme */
.cf-minicart .widget_shopping_cart_content ul.cart_list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	max-height: 320px;
	overflow-y: auto;
}
.cf-minicart ul.cart_list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--cf-line);
	font-size: 14px;
}
.cf-minicart ul.cart_list li a {
	font-family: var(--cf-display);
	font-weight: 600;
	color: var(--cf-navy);
	width: 180px;
	display: contents;
}
.cf-minicart ul.cart_list li img {
	width: 48px; height: 48px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--cf-line);
	float: none !important;
	margin: 0 !important;
}
.cf-minicart ul.cart_list li a.remove {
	color: var(--cf-muted) !important;
	border: 1px solid var(--cf-line);
	border-radius: 50%;
	width: 22px; height: 22px; line-height: 20px;
	text-align: center;
	flex-shrink: 0;
}
.cf-minicart ul.cart_list li a.remove:hover {
	background: #c0392b !important;
	color: #fff !important;
	border-color: #c0392b;
}
.cf-minicart .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	font-family: var(--cf-display);
	padding: 12px 0;
	margin: 0;
	border-bottom: 2px solid var(--cf-line);
	color: var(--cf-navy);
}
.cf-minicart .woocommerce-mini-cart__total .amount { color: var(--cf-blue); }

.cf-minicart .woocommerce-mini-cart__buttons {
	display: flex;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
}
.cf-minicart .woocommerce-mini-cart__buttons .button {
	flex: 1;
	text-align: center;
	margin: 0;
}
/* "View cart" = outline, "Checkout" = solid blue */
.cf-minicart .woocommerce-mini-cart__buttons .button:not(.checkout) {
	background: transparent;
	color: var(--cf-navy);
	border: 2px solid var(--cf-navy);
	padding: 10px 14px;
}
.cf-minicart .woocommerce-mini-cart__buttons .button:not(.checkout):hover {
	background: var(--cf-navy);
	color: #fff;
}
.cf-minicart .woocommerce-mini-cart__buttons .button.checkout {
	background: var(--cf-blue);
}
.cf-minicart p.woocommerce-mini-cart__empty-message {
	color: var(--cf-muted);
	text-align: center;
	margin: 8px 0;
}

/* On touch / small screens, hover isn't reliable — just hide the flyout and
   let the icon link straight to the cart page. */
@media (max-width: 768px) {
	.cf-minicart, .cf-cart-wrap::after { display: none; }
}


.wc-block-cart .wc-block-cart__totals-title {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	display: inline;
	display: block;
	font-family: inherit;
	font-size: inherit;
	font-size: 18px;
	font-style: inherit;
	font-weight: inherit;
	font-weight: 500;
	letter-spacing: inherit;
	line-height: inherit;
	line-height: 1.4;
	margin: 0;
	padding: 8px 16px 10px 0;
	text-align: left;
	text-decoration: inherit;
	text-transform: inherit;
	text-transform: none;
	vertical-align: baseline
}

.woocommerce table.shop_attributes td {
    font-style: normal !important;
    padding: 0;
    border-top: 0;
    border-bottom: 1px dotted rgba(0,0,0,.1);
    margin: 0;
    line-height: 1.5;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    max-width: max-content;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    font-size: 18px;
    line-height: 1.4;
    text-align: right;
}

.price-vat-note {
    display: inline;
    margin-left: 4px;
    font-size: 0.45em;
    font-weight: 400;
    white-space: nowrap;
}

.wc-block-components-radio-control__description,.wc-block-components-radio-control__label,.wc-block-components-radio-control__secondary-description,.wc-block-components-radio-control__secondary-label {
    font-size: var(--wp--preset--font-size--medium,14px);
    line-height: 1.4
}

/* =========================================================================
   Product meta card — ClearFlow
   Port of the WD (wallpaper calculator) card language to the --cf-* tokens.

   Markup it targets (last child of .summary.entry-summary):

     <div class="product_meta">
       <span class="availability-info"><b>Διαθεσιμότητα: …</b></span>
       <span class="product-id-wrapper">Κωδικός Προϊόντος: <span class="product-id">1216</span></span>
       <span class="posted_in">Κατηγορίες: <a rel="tag">…</a>, …</span>
       <span class="tagged_as">Ετικέτες: <a rel="tag">…</a>, …</span>
     </div>

   Same shell as wallndesign: soft fill, hairline border, 3px accent left
   edge, rounded corners. No icons. Category / tag labels are suppressed;
   the terms speak for themselves as pills.

   Replaces the two old rules in style.css:
     .woocommerce div.product .product_meta > span { … }
     .woocommerce div.product .product_meta .posted_in a { … }
   ========================================================================= */

.single-product .summary .product_meta {
	display: block;
	margin: 1.5em 0 0;
	padding: 1.1em 1.2em;
	font-size: 16px;
	line-height: 1.6;
	color: var(--cf-text, #263340);
	background: var(--cf-off, #F3F8FB);
	border: 1px solid var(--cf-line, #E2EAF0);
	border-left: 3px solid var(--cf-blue, #1F6FC5);
	border-radius: var(--cf-radius, 10px);
}

/* ---------- rows ---------- */

.single-product .summary .product_meta > span {
	display: block;
	margin: 0;
	padding: 0.75em 0;
	color: inherit;
	/* border-top: 1px dashed var(--cf-line, #E2EAF0); */
	border-top: 0;
}

.single-product .summary .product_meta > span:first-child {
	padding-top: 0;
	border-top: 0;
}

.single-product .summary .product_meta > span:last-child {
	padding-bottom: 0;
}

/* ---------- availability ----------
   Label and value are one text node inside <b>, so the row is styled whole
   and tinted with the accent — it's the line that decides a purchase. */

.single-product .summary .product_meta .availability-info b {
	display: inline-flex;
	align-items: center;
	padding: 0.34em 0.85em;
	font-family: var(--cf-display, "Manrope", sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--cf-blue, #1F6FC5);
	background: #E8F6FC;
	background: color-mix(in srgb, var(--cf-blue, #1F6FC5) 8%, #fff);
	border: 1px solid rgba(31,111,197,0.3);
	border-color: color-mix(in srgb, var(--cf-blue, #1F6FC5) 30%, transparent);
	border-radius: 999px;
}

/* ---------- product code ----------
   Quiet utility line. To drop it entirely, uncomment the second block. */

.single-product .summary .product_meta .product-id-wrapper {
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--cf-muted, #5E6E7E);
}

.single-product .summary .product_meta .product-id {
	font-weight: 600;
	color: var(--cf-text, #263340);
}

/*
.single-product .summary .product_meta .product-id-wrapper {
	display: none;
}
*/

/* ---------- categories + tags ----------
   font-size: 0 swallows the bare label text node ("Κατηγορίες: ") and the
   ", " separators between terms. Every <a> gets its size back below.
   Caveat: any value rendered as bare text with no <a> wrapper would vanish. */

.single-product .summary .product_meta .posted_in,
.single-product .summary .product_meta .tagged_as {
	font-size: 0;
}

/* Bottom padding is trimmed by the pills' own bottom margin so rows stay even */
.single-product .summary .product_meta .posted_in {
	padding-bottom: calc(0.75em - 0.4rem);
}

.single-product .summary .product_meta .tagged_as {
	padding-bottom: calc(0.75em - 0.35rem);
}

.single-product .summary .product_meta .posted_in:last-child {
	margin-bottom: -0.4rem;
}

.single-product .summary .product_meta .tagged_as:last-child {
	margin-bottom: -0.35rem;
}

/* ---------- pills ---------- */

.single-product .summary .product_meta a[rel="tag"] {
	display: inline-flex;
	align-items: center;
	margin: 0 0.4rem 0.4rem 0;
	padding: 0.3em 0.75em;
	font-family: var(--cf-display, "Manrope", sans-serif);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	color: var(--cf-text, #263340);
	background: #fff;
	border: 1px solid var(--cf-line, #E2EAF0);
	border-radius: 999px;
	transition: color 0.18s ease, background-color 0.18s ease,
		border-color 0.18s ease, box-shadow 0.18s ease;
}

.single-product .summary .product_meta a[rel="tag"]:hover,
.single-product .summary .product_meta a[rel="tag"]:focus-visible {
	color: #fff;
	background: var(--cf-blue, #1F6FC5);
	border-color: var(--cf-blue, #1F6FC5);
	box-shadow: 0 4px 12px rgba(31,111,197,0.25);
}

.single-product .summary .product_meta a[rel="tag"]:focus-visible {
	outline: 2px solid rgba(31,111,197,0.35);
	outline-offset: 2px;
}

/* Categories are the primary taxonomy: heavier, accent-edged */
.single-product .summary .product_meta .posted_in a[rel="tag"] {
	font-weight: 600;
	border-color: rgba(31,111,197,0.28);
}

/* Tags are secondary: smaller, muted until hovered */
.single-product .summary .product_meta .tagged_as a[rel="tag"] {
	margin-bottom: 0.35rem;
	padding: 0.22em 0.6em;
	font-size: 13px;
	font-weight: 400;
	color: var(--cf-muted, #5E6E7E);
}

/* ---------- small screens ---------- */

@media (max-width: 575px) {
	.single-product .summary .product_meta {
		padding: 1em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.single-product .summary .product_meta a[rel="tag"] {
		transition: none;
	}
}


/* =========================================================================
   Licensed-product assurance badge
   Sits directly under the product meta card (priority 41 on
   woocommerce_single_product_summary). Same card family, white fill so the
   meta card stays primary; the 3px accent edge keeps both on one left rail.
   ========================================================================= */
 
.single-product .summary .cf-assurance {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0.75em 0 0;
	padding: 0.85em 1.2em;
	color: var(--cf-navy, #2F3E4E);
	background: #fff;
	border: 1px solid var(--cf-line, #E2EAF0);
	border-left: 3px solid var(--cf-blue, #1F6FC5);
	border-radius: var(--cf-radius, 10px);
}
 
.single-product .summary .cf-assurance__icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--cf-blue, #1F6FC5);
}
 
.single-product .summary .cf-assurance__icon svg {
	display: block;
}
 
.single-product .summary .cf-assurance__text {
	font-family: var(--cf-display, "Manrope", sans-serif);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.01em;
}
 
@media (max-width: 575px) {
	.single-product .summary .cf-assurance {
		padding: 0.85em 1em;
	}
 
	.single-product .summary .cf-assurance__text {
		font-size: 14px;
	}
}
/* =================================================
 * v1.1.0 — Live search
 * ================================================= */
.cf-search--live { position: relative; }
.cf-ls-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 360px;
  max-height: min(70vh, 560px); overflow-y: auto; z-index: 300;
  background: #fff; border: 1px solid var(--cf-line); border-radius: var(--cf-radius);
  box-shadow: var(--cf-shadow-lg); padding: 6px 0; text-align: left;
}
.cf-ls-panel[hidden] { display: none; }
.cf-ls-heading {
  padding: 10px 16px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cf-muted);
}
.cf-ls-option { display: flex; align-items: center; gap: 12px; padding: 8px 16px; color: var(--cf-text); }
.cf-ls-option:hover, .cf-ls-option.is-active { background: var(--cf-off); color: var(--cf-navy); }
.cf-ls-item img {
  width: 56px; height: 56px; object-fit: cover; flex: 0 0 56px;
  border-radius: 6px; border: 1px solid var(--cf-line); background: var(--cf-off);
}
.cf-ls-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cf-ls-title {
  font-family: var(--cf-display); font-weight: 600; font-size: 14px; color: var(--cf-navy); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cf-ls-title mark, .cf-ls-cat mark { background: none; color: var(--cf-blue); font-weight: 800; padding: 0; }
.cf-ls-price { color: var(--cf-blue); font-weight: 700; font-size: 14px; }
.cf-ls-price del { color: var(--cf-muted); font-weight: 400; margin-right: 4px; }
.cf-ls-price ins { text-decoration: none; }
.cf-ls-oos { font-size: 12px; color: #b42318; }
.cf-ls-cat { justify-content: space-between; font-weight: 600; font-size: 14px; }
.cf-ls-count {
  font-size: 12px; color: var(--cf-muted); background: var(--cf-off);
  border-radius: 999px; padding: 1px 8px;
}
.cf-ls-all {
  justify-content: center; margin-top: 4px; padding: 12px 16px;
  border-top: 1px solid var(--cf-line); font-weight: 700; color: var(--cf-blue);
}
.cf-ls-msg { padding: 14px 16px; font-size: 14px; color: var(--cf-muted); }
.cf-ls-msg.is-loading::before {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px;
  border: 2px solid var(--cf-line); border-top-color: var(--cf-blue); border-radius: 50%;
  animation: cf-spin .7s linear infinite;
}


/* =================================================
 * v1.1.0 — Homepage random products + infinite scroll
 * ================================================= */
.cf-infinite-status { display: none; justify-content: center; padding: 28px 0 0; }
.cf-infinite.is-loading .cf-infinite-status { display: flex; }
.cf-infinite-sentinel { height: 1px; }
.cf-infinite-more { text-align: center; margin-top: 36px; }
.cf-infinite.is-active:not(.is-done) .cf-infinite-more { display: none; }
.cf-spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid var(--cf-line); border-top-color: var(--cf-blue);
  animation: cf-spin .7s linear infinite;
}
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-infinite ul.products li.product { animation: cf-fade-in .35s ease both; }
@keyframes cf-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =================================================
 * v1.1.0 — SEO intro + FAQ
 * ================================================= */
.cf-seo-intro { background: var(--cf-off); }
.cf-seo-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.cf-seo-text h2, .cf-faq h2 { font-size: 26px; margin-top: 0; }
.cf-seo-text p { color: var(--cf-muted); font-size: 16px; line-height: 1.75; }
.cf-faq details {
  background: #fff; border: 1px solid var(--cf-line); border-radius: var(--cf-radius);
  padding: 14px 18px; margin-bottom: 10px;
}
.cf-faq summary {
  cursor: pointer; font-family: var(--cf-display); font-weight: 700; color: var(--cf-navy); font-size: 15px;
}
.cf-faq details p { margin: 10px 0 0; color: var(--cf-muted); font-size: 14px; line-height: 1.7; }
.cf-page-head .term-description, .cf-page-head .page-description {
  max-width: 820px; margin-top: 12px; color: var(--cf-muted); font-size: 15px; line-height: 1.7;
}
.cf-page-head .term-description p:last-child, .cf-page-head .page-description p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .cf-seo-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .cf-infinite ul.products li.product { animation: none; }
  .cf-spinner, .cf-ls-msg.is-loading::before { animation-duration: 2s; }
}
.cf-infinite .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* =================================================
 * v1.2.0 — Mega menu
 * ================================================= */
.cf-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.cf-menu-item { position: static; }
.cf-menu-row { display: flex; align-items: center; gap: 4px; }
.cf-nav .cf-menu-item.is-current > .cf-menu-row .cf-menu-link::after { width: 100%; }
.cf-sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; padding: 0; margin: 0; border: 0; border-radius: 6px;
  background: transparent; color: var(--cf-navy); cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.cf-sub-toggle:hover { background: var(--cf-off); }
.cf-sub-toggle:focus-visible, .cf-mega a:focus-visible, .cf-menu-link:focus-visible {
  outline: 2px solid var(--cf-blue); outline-offset: 2px; border-radius: 4px;
}
.cf-menu-item.is-open .cf-sub-toggle { transform: rotate(180deg); }

.cf-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--cf-line); border-bottom: 3px solid var(--cf-blue);
  box-shadow: 0 24px 48px rgba(47,62,78,.14);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 150;
}
/* invisible bridge so the pointer can travel from the menu item to the panel */
.cf-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; }
.cf-menu-item.is-open > .cf-mega,
html:not(.cf-js) .cf-menu-item.has-mega:hover > .cf-mega,
html:not(.cf-js) .cf-menu-item.has-mega:focus-within > .cf-mega {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.cf-mega-inner {
  max-width: 1280px; margin: 0 auto; padding: 32px 24px 36px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px;
}
.cf-mega-cols {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 28px;
  align-content: start;
}
.cf-nav .cf-mega a::after { display: none; }
.cf-nav .cf-mega-heading {
  display: block; font-size: 15px; font-weight: 700; color: var(--cf-navy);
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--cf-line);
}
.cf-mega-links { list-style: none; margin: 0; padding: 0; }
.cf-nav .cf-mega-link {
  display: block; padding: 5px 0; font-family: var(--cf-body); font-size: 14px; font-weight: 500;
  color: var(--cf-muted); transition: color .15s ease, transform .15s ease;
}
.cf-nav .cf-mega-link:hover, .cf-nav .cf-mega-heading:hover { color: var(--cf-blue); }
.cf-nav .cf-mega-link:hover { transform: translateX(3px); }

.cf-mega-products { background: var(--cf-off); border-radius: var(--cf-radius); padding: 18px; }
.cf-mega-products.is-empty { display: none; }
.cf-mega-products-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px;
}
.cf-mega-products-head span {
  font-family: var(--cf-display); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cf-muted);
}
.cf-nav .cf-mega-products-head a { font-size: 13px; font-weight: 700; color: var(--cf-blue); }
.cf-mega-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  transition: opacity .2s ease;
}
.cf-mega-products.is-loading .cf-mega-grid { opacity: .55; }
.cf-mega-card a { display: flex; flex-direction: column; gap: 6px; }
.cf-mega-thumb {
  display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden;
  background: #fff; border: 1px solid var(--cf-line);
}
.cf-mega-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cf-mega-card a:hover .cf-mega-thumb img { transform: scale(1.05); }
.cf-nav .cf-mega-card-title {
  font-family: var(--cf-display); font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--cf-navy);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cf-mega-card-price { font-size: 13px; font-weight: 700; color: var(--cf-blue); }
.cf-mega-card-price del { color: var(--cf-muted); font-weight: 400; margin-right: 4px; }
.cf-mega-card-price ins { text-decoration: none; }
.cf-mega-card.is-skeleton .cf-mega-thumb,
.cf-mega-line {
  background: linear-gradient(90deg, #EAF3F8 25%, #F6FAFC 50%, #EAF3F8 75%);
  background-size: 200% 100%; animation: cf-shimmer 1.2s linear infinite;
}
.cf-mega-line { display: block; height: 10px; border-radius: 4px; margin-top: 8px; }
.cf-mega-line.is-short { width: 50%; }
@keyframes cf-shimmer { to { background-position: -200% 0; } }
@media (max-width: 1200px) {
  .cf-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cf-mega-grid > :nth-child(n+4) { display: none; }
}

/* Mobile accordion */
.cf-mmenu, .cf-msub { list-style: none; margin: 0; padding: 0; }
.cf-mmenu .cf-menu-row { justify-content: space-between; border-bottom: 1px solid var(--cf-line); }
.cf-mmenu .cf-menu-row a { border-bottom: 0; flex: 1; }
.cf-mmenu .cf-sub-toggle { width: 40px; height: 40px; }
.cf-mmenu .cf-sub-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.cf-msub { padding: 4px 0 8px 14px; }
.cf-msub[hidden] { display: none; }
.cf-mobile-nav .cf-msub-link { display: block; padding: 8px 0; font-weight: 500; font-size: 14px; color: var(--cf-muted); border-bottom: 0; }
.cf-mobile-nav .cf-msub-link.is-heading { font-weight: 700; color: var(--cf-navy); }
.cf-msub--deep { padding: 0 0 6px 12px; }

/* =================================================
 * v1.2.0 — Hero slideshow
 * ================================================= */
.cf-hero-inner.has-slider {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.cf-hero-slider { position: relative; width: 100%; max-width: 440px; justify-self: end; }
.cf-hs-track {
  position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.06); box-shadow: 0 30px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
}
.cf-hs-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}
.cf-hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; z-index: 1; }
.cf-hs-link { display: block; height: 100%; color: #fff; }
.cf-hs-img { position: absolute; inset: 0; background: #fff; }
.cf-hs-img img { width: 100%; height: 100%; object-fit: contain; padding: 22px 22px 118px; transform: scale(1.04); transition: transform 10s linear; }
.cf-hs-slide.is-active .cf-hs-img img { transform: scale(1); }
.cf-hs-meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px;
  display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(to top, rgba(47,62,78,.92) 0%, rgba(47,62,78,.6) 55%, transparent 100%);
}
.cf-hs-cat {
  align-self: flex-start; font-family: var(--cf-display); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #8FD8F0;
}
.cf-hs-title {
  font-family: var(--cf-display); font-size: 18px; font-weight: 700; line-height: 1.3; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cf-hs-price { font-size: 17px; font-weight: 800; color: #fff; }
.cf-hs-price del { color: #A9B8C6; font-weight: 400; font-size: 14px; margin-right: 6px; }
.cf-hs-price ins { text-decoration: none; }
.cf-hs-link:hover .cf-hs-title { text-decoration: underline; text-underline-offset: 3px; }
.cf-hs-link:focus-visible { outline: 3px solid #8FD8F0; outline-offset: -3px; }
.cf-hs-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.cf-hs-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.cf-hs-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s ease, background-color .3s ease;
}
.cf-hs-dot.is-active { width: 24px; background: #fff; }
.cf-hs-pause {
  width: 28px; height: 28px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.cf-hs-pause-icon { width: 8px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.cf-hero-slider.is-paused .cf-hs-pause-icon {
  width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent currentColor; margin-left: 2px;
}
.cf-hs-dot:focus-visible, .cf-hs-pause:focus-visible { outline: 2px solid #8FD8F0; outline-offset: 2px; }
@media (max-width: 900px) {
  .cf-hero-inner.has-slider { grid-template-columns: 1fr; gap: 36px; }
  .cf-hero-slider { justify-self: center; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-mega, .cf-hs-slide, .cf-hs-img img, .cf-mega-thumb img { transition: none !important; }
  .cf-mega-line, .cf-mega-card.is-skeleton .cf-mega-thumb { animation: none; }
}
.cf-hero-slider .screen-reader-text, .cf-nav .screen-reader-text, .cf-mobile-nav .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* =================================================
 * v1.3.0 — Related products + Load More
 * ================================================= */
.single-product section.related { margin-top: 56px; }
.single-product section.related > h2 { text-align: center; margin-bottom: 28px; }
.cf-related-more { text-align: center; margin: 32px 0 8px; }
.cf-related-more[hidden] { display: none; }
.cf-related-more .button[aria-busy="true"] { opacity: .7; cursor: progress; }
.cf-related-status { min-height: 1px; margin: 8px 0 0; font-size: 13px; color: var(--cf-muted); }
.single-product section.related ul.products li.product { animation: cf-fade-in .35s ease both; }
@media (prefers-reduced-motion: reduce) {
  .single-product section.related ul.products li.product { animation: none; }
}

/* =================================================
 * v1.4.0 — Mobile header (portrait): 4 rows
 *   1 logo · 2 search · 3 menu bar (+ accordion) · 4 account / wishlist / cart
 * ================================================= */
.cf-only-sm { display: none; }
@media (max-width: 768px) {
  .cf-header { position: relative; } /* 4 rows are too tall to stay pinned on a phone */
  .cf-header-inner {
    display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "logo" "search" "menu" "mnav" "actions";
    gap: 12px; padding: 14px 16px;
  }
  .cf-logo-wrap { grid-area: logo; justify-self: center; text-align: center; }
  .cf-logo-wrap .custom-logo { max-height: 48px; width: auto; }
  .cf-logo { font-size: 24px; }
  .cf-logo img { height: 40px; }

  .cf-header-inner > .cf-search { grid-area: search; display: flex; flex: none; width: 100%; }
  .cf-header-inner > .cf-search input { min-width: 0; font-size: 16px; padding: 11px 14px; } /* 16px stops iOS zooming in */
  .cf-header-inner > .cf-search .cf-ls-panel { min-width: 0; }

  .cf-header .cf-menu-toggle {
    grid-area: menu; display: flex !important; flex-direction: row; align-items: center; gap: 10px;
    width: 100%; padding: 11px 14px; border: 1px solid var(--cf-line); border-radius: var(--cf-radius);
    background: var(--cf-off); color: var(--cf-navy); cursor: pointer;
    font-family: var(--cf-display); font-weight: 700; font-size: 15px; text-align: left;
  }
  .cf-header .cf-menu-toggle[aria-expanded="true"] { border-color: var(--cf-blue); background: #fff; }
  .cf-menu-toggle-label { flex: 1; }
  .cf-menu-toggle-caret { transition: transform .2s ease; }
  .cf-menu-toggle[aria-expanded="true"] .cf-menu-toggle-caret { transform: rotate(180deg); }
  .cf-header .cf-menu-toggle .cf-burger { display: inline-flex; flex-direction: column; gap: 4px; width: auto; height: auto; background: none; }
  .cf-header .cf-menu-toggle .cf-menu-toggle-label { display: block; width: auto; height: auto; background: none; }
  .cf-topbar { padding: 8px 16px; line-height: 1.5; }
  .cf-header .cf-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }

  .cf-mobile-nav { grid-area: mnav; padding: 0 4px; border-top: 0; }
  .cf-mobile-nav .cf-mmenu > li > .cf-menu-row > a { padding: 12px 0; }

  .cf-header-actions {
    grid-area: actions; justify-content: space-around; gap: 8px;
    padding-top: 12px; border-top: 1px solid var(--cf-line);
  }
  .cf-header-actions .cf-icon-btn { flex-direction: column; gap: 2px; font-size: 12px; position: relative; }
  .cf-header-actions .cf-hide-sm, .cf-header-actions .cf-only-sm { display: inline; }
  .cf-header-actions .cf-cart-toggle .cf-cart-count { position: absolute; top: -6px; right: -10px; }
  .cf-cart-wrap { display: flex; }
}

/* Small UI buttons (menu toggles, slideshow controls) opt out of the big
   blue button hover effect defined for `button` at the top of this file. */
.cf-sub-toggle, .cf-menu-toggle, .cf-hs-dot, .cf-hs-pause { margin-right: 0; line-height: 1; }
.cf-sub-toggle:hover, .cf-menu-toggle:hover, .cf-hs-dot:hover, .cf-hs-pause:hover { transform: none; box-shadow: none; }
.cf-sub-toggle:hover { background: var(--cf-off); color: var(--cf-navy); }
.cf-menu-toggle:hover { background: var(--cf-off); color: var(--cf-navy); }
.cf-hs-pause:hover { background: rgba(255,255,255,.12); color: #fff; }
.cf-hs-dot:hover { background: rgba(255,255,255,.7); }
.cf-hs-dot.is-active:hover { background: #fff; }
.cf-menu-item.is-open .cf-sub-toggle:hover { transform: rotate(180deg); }
.cf-mmenu .cf-sub-toggle[aria-expanded="true"]:hover { transform: rotate(180deg); }

/* =================================================
 * Pagination (shop, categories, search)
 * Replaces WooCommerce's grey boxed default.
 * ================================================= */
.woocommerce nav.woocommerce-pagination { margin: 48px 0 8px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul.page-numbers {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
  margin: 0; padding: 0; border: 0; white-space: normal;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li {
  float: none; display: block; border: 0; margin: 0; overflow: visible;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 14px; box-sizing: border-box;
  border: 1px solid var(--cf-line); border-radius: var(--cf-radius);
  background: #fff; color: var(--cf-navy);
  font-family: var(--cf-display); font-size: 15px; font-weight: 700; line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus-visible {
  background: var(--cf-off); border-color: var(--cf-blue); color: var(--cf-blue);
  transform: translateY(-1px); box-shadow: var(--cf-shadow);
}
.woocommerce nav.woocommerce-pagination ul li a:focus-visible { outline: 2px solid var(--cf-blue); outline-offset: 2px; }
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--cf-blue); border-color: var(--cf-blue); color: #fff;
  box-shadow: 0 6px 18px rgba(31,111,197,.3);
}
.woocommerce nav.woocommerce-pagination ul li span.dots {
  min-width: 24px; padding: 0 2px; border: 0; background: none; color: var(--cf-muted);
}
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
  padding: 0 18px; background: var(--cf-navy); border-color: var(--cf-navy); color: #fff;
}
.woocommerce nav.woocommerce-pagination ul li a.prev:hover,
.woocommerce nav.woocommerce-pagination ul li a.next:hover,
.woocommerce nav.woocommerce-pagination ul li a.prev:focus-visible,
.woocommerce nav.woocommerce-pagination ul li a.next:focus-visible {
  background: var(--cf-blue); border-color: var(--cf-blue); color: #fff;
}
.woocommerce nav.woocommerce-pagination .cf-pg-arrow { flex: none; }
.woocommerce nav.woocommerce-pagination ul li a .cf-pg-label { display: inline; padding: 0; min-width: 0; font: inherit; color: inherit; background: none; }
.woocommerce nav.woocommerce-pagination ul li a.prev { margin-right: 8px; }
.woocommerce nav.woocommerce-pagination ul li a.next { margin-left: 8px; }

@media (max-width: 575px) {
  .woocommerce nav.woocommerce-pagination ul.page-numbers { gap: 6px; }
  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span.page-numbers { min-width: 40px; height: 40px; padding: 0 10px; font-size: 14px; }
  .woocommerce nav.woocommerce-pagination .cf-pg-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
  }
  .woocommerce nav.woocommerce-pagination ul li a.prev,
  .woocommerce nav.woocommerce-pagination ul li a.next { padding: 0; width: 40px; margin: 0; }
  /* Keep one row on phones: arrows, first, current, last (+ dots); hide the other numbers. */
  .woocommerce nav.woocommerce-pagination ul li:has(> a.page-numbers:not(.prev):not(.next)) { display: none; }
  .woocommerce nav.woocommerce-pagination ul li:first-child:has(> a.page-numbers:not(.prev):not(.next)),
  .woocommerce nav.woocommerce-pagination ul li:last-child:has(> a.page-numbers:not(.prev):not(.next)),
  .woocommerce nav.woocommerce-pagination ul li:has(> a.prev) + li:has(> a.page-numbers:not(.prev):not(.next)),
  .woocommerce nav.woocommerce-pagination ul li:has(> a.page-numbers:not(.prev):not(.next)):has(+ li > a.next) { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .woocommerce nav.woocommerce-pagination ul li a { transition: none; }
  .woocommerce nav.woocommerce-pagination ul li a:hover { transform: none; }
}


/* =========================================================
 * ClearFlow homepage sections
 * ========================================================= */
.cf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cf-hero-actions .button { margin-right: 0; }
.cf-btn-ghost {
  background: transparent !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
}
.cf-btn-ghost:hover { background: rgba(255,255,255,.12) !important; box-shadow: inset 0 0 0 2px #fff !important; }
.cf-btn-light { background: #fff !important; color: var(--cf-navy) !important; white-space: nowrap; }
.cf-btn-light:hover { background: var(--cf-aqua-light) !important; color: var(--cf-navy) !important; }

/* water-drop accent line under section titles */
.cf-section-head h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px;
  background: var(--cf-gradient); margin: 14px auto 0;
}

/* why filter */
.cf-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cf-benefit {
  background: #fff; border: 1px solid var(--cf-line); border-radius: var(--cf-radius);
  padding: 28px 24px; box-shadow: var(--cf-shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.cf-benefit:hover { transform: translateY(-3px); box-shadow: var(--cf-shadow-lg); }
.cf-benefit-ic {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cf-aqua-light); font-size: 24px; margin-bottom: 16px;
}
.cf-benefit h3 { font-size: 18px; margin-bottom: 8px; }
.cf-benefit p { color: var(--cf-muted); font-size: 15px; margin: 0; }

/* filter change reminder band */
.cf-reminder { background: var(--cf-gradient); color: #fff; padding: 48px 0; }
.cf-reminder-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cf-reminder h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cf-reminder p { margin: 0; max-width: 720px; color: rgba(255,255,255,.92); }

@media (max-width: 1024px) {
  .cf-benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cf-benefit-grid { grid-template-columns: 1fr; }
  .cf-reminder-inner { flex-direction: column; align-items: flex-start; }
  .cf-hero-actions .button { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-benefit, .cf-benefit:hover { transition: none; transform: none; }
}
