/*
Theme Name: CuteQuokka
Theme URI: https://cutequokka.gr
Author: CuteQuokka.gr
Author URI: https://cutequokka.gr
Description: A soft, warm WooCommerce theme for cutequokka.gr — a Greek boutique for gentle baby products. Cream background, cocoa brown, sage and blush accents, rounded cards and Comfortaa / Manrope type. Built on the myCollectibles theme (mega menu, live search, hero slideshow, infinite homepage grid, related Load More, SEO, contact layout).
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
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: cutequokka
WC requires at least: 7.0
WC tested up to: 9.4
*/

/* =================================================================
   Design tokens — taken from the cutequokka Lovable mockup
   (oklch values converted to hex).
   ================================================================= */
:root {
  --cq-cream: #fbf6ec;          /* page background            oklch(97.5% .014 85) */
  --cq-card: #fefbf6;           /* cards, panels              oklch(99% .008 85)   */
  --cq-ink: #4e3829;            /* headings + text            oklch(36% .04 55)    */
  --cq-text: #4e3829;
  --cq-soft: #816d5d;           /* muted text                 oklch(55% .035 60)   */
  --cq-primary: #70503a;        /* cocoa: buttons, prices     oklch(46% .055 55)   */
  --cq-primary-hover: #7e5f49;  /* primary at 90% on cream                           */
  --cq-primary-ink: #fcf8f0;    /* text on primary                                   */
  --cq-sand: #f3e6d2;           /* secondary: pills, stepper  oklch(93% .03 80)    */
  --cq-sand-ink: #553c2b;
  --cq-off: #f3ece0;            /* muted: image wells         oklch(94.5% .018 82) */
  --cq-sage-light: #c5dbc8;     /* accent: top bar, badges    oklch(87% .035 150)  */
  --cq-sage-ink: #2b412f;
  --cq-sage: #94ac98;           /* focus ring, heart          oklch(72% .04 150)   */
  --cq-blush: #f4cdc6;          /* eyebrow pill               oklch(88% .045 30)   */
  --cq-danger: #cf413a;
  --cq-line: #e4d9c9;           /* borders                    oklch(89% .025 80)   */
  --cq-white: #fefbf6;

  --cq-radius: 20px;            /* --radius 1.25rem */
  --cq-radius-lg: 28px;         /* rounded-2xl */
  --cq-radius-xl: 32px;         /* rounded-3xl */
  --cq-radius-2xl: 36px;        /* rounded-4xl */
  --cq-pill: 999px;
  --cq-blob: 58% 42% 55% 45% / 50% 55% 45% 50%;

  --cq-shadow: 0 12px 32px -14px rgba(112,80,58,.35);   /* shadow-soft */
  --cq-shadow-lg: 0 22px 44px -18px rgba(112,80,58,.45);
  --cq-ring: 0 0 0 3px rgba(148,172,152,.45);

  --cq-display: "Comfortaa", system-ui, sans-serif;
  --cq-body: "Manrope", system-ui, sans-serif;
  --cq-wrap: 1152px;            /* max-w-6xl */
}

* { box-sizing: border-box; }

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

h1,h2,h3,h4,h5,h6 {
  font-family: var(--cq-display);
  color: var(--cq-ink);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
}

a { color: var(--cq-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cq-primary-hover); }
::selection { background: var(--cq-sage-light); color: var(--cq-sage-ink); }

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

:focus-visible { outline: none; box-shadow: var(--cq-ring); border-radius: 8px; }

.cq-container {
  max-width: var(--cq-wrap);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Buttons (pill, cocoa, soft shadow) ---------- */
.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(--cq-primary);
  color: var(--cq-primary-ink);
  border: none;
  border-radius: var(--cq-pill);
  padding: 12px 28px;
  font-family: var(--cq-body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--cq-shadow);
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease, color .2s ease;
  display: inline-block;
  line-height: 1.5;
  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,
.woocommerce #respond input#submit:hover, .woocommerce input.button:hover {
  background: var(--cq-primary-hover);
  color: var(--cq-primary-ink);
  transform: translateY(-1px);
  box-shadow: var(--cq-shadow-lg);
}
.woocommerce a.button.disabled, .woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled], .woocommerce button.button.alt.disabled {
  background: var(--cq-primary); color: var(--cq-primary-ink); opacity: .5;
}
.cq-btn-outline, .woocommerce a.button.cq-btn-outline {
  background: transparent !important;
  color: var(--cq-ink) !important;
  border: 2px solid rgba(112,80,58,.2) !important;
  box-shadow: none !important;
  padding: 10px 26px;
}
.cq-btn-outline:hover, .woocommerce a.button.cq-btn-outline:hover { background: var(--cq-sand) !important; color: var(--cq-ink) !important; }

/* Pill label ("Νέα συλλογή χειμώνα ♡") */
.cq-eyebrow {
  display: inline-block; background: var(--cq-blush); color: var(--cq-ink);
  font-family: var(--cq-body); font-weight: 600; font-size: 14px;
  padding: 4px 16px; border-radius: var(--cq-pill); margin-bottom: 20px;
}

/* Inline icons (lucide) */
.cq-ico { width: 20px; height: 20px; flex: none; display: block; }
.cq-ico--sm { width: 16px; height: 16px; }
.cq-ico--lg { width: 24px; height: 24px; }

/* ---------- Top bar ---------- */
.cq-topbar {
  background: var(--cq-sage-light);
  color: var(--cq-sage-ink);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
}
.cq-topbar a { color: var(--cq-sage-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.cq-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,246,236,.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cq-line);
}
.admin-bar .cq-header { top: 32px; }
.cq-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 16px;
  max-width: var(--cq-wrap);
  margin: 0 auto;
}
.cq-logo-wrap { flex: none; }
.cq-logo-wrap a { display: flex; align-items: center; }
.cq-header .cq-logo-wrap img, .cq-header .cq-logo-wrap .custom-logo { height: 56px; width: auto; max-width: none; display: block; }
.cq-logo {
  font-family: var(--cq-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--cq-ink);
  white-space: nowrap;
}
.cq-nav { display: flex; flex: 1; justify-content: center; min-width: 0; }
.cq-nav a { color: var(--cq-ink); font-weight: 600; font-size: 14px; font-family: var(--cq-body); }
.cq-header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.cq-icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cq-sand); color: var(--cq-ink);
  font-weight: 600; font-size: 12px;
  transition: background-color .2s ease, transform .15s ease;
}
.cq-icon-btn:hover { background: #ecdcc4; color: var(--cq-ink); transform: translateY(-1px); }
.cq-icon-btn .cq-btn-label { display: none; }
.cq-cart-count {
  position: absolute; top: -4px; right: -4px;
  display: grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--cq-primary); color: var(--cq-primary-ink); border-radius: var(--cq-pill);
  font-size: 10px; font-weight: 700; line-height: 1;
}
.cq-cart-count.is-empty { display: none; }

/* ---------- Search (pill) ---------- */
.cq-search { display: flex; align-items: center; flex: 0 1 260px; position: relative; }
.cq-search input {
  flex: 1; min-width: 0; height: 44px;
  border: 1px solid var(--cq-line); background: var(--cq-card); color: var(--cq-text);
  border-radius: var(--cq-pill);
  padding: 0 48px 0 18px; font-size: 14px; font-family: var(--cq-body);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.cq-search input::placeholder { color: #a8978a; }
.cq-search input:focus { outline: none; border-color: var(--cq-sage); box-shadow: var(--cq-ring); }
.cq-search button {
  position: absolute; right: 4px; top: 4px;
  width: 36px; height: 36px; padding: 0; margin: 0;
  display: grid; place-items: center;
  border-radius: 50%; box-shadow: none;
}
.cq-search button:hover { transform: none; box-shadow: none; }

/* ---------- Hero ---------- */
.cq-hero { padding: 48px 0 0; position: relative; }
.cq-hero-inner {
  max-width: var(--cq-wrap); margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
}
.cq-hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.25; margin: 0 0 20px; }
.cq-hero p { font-size: 18px; line-height: 1.55; color: var(--cq-soft); max-width: 448px; margin: 0 0 32px; }
.cq-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cq-hero-actions .button { margin: 0; }

/* Static hero image (Customizer) — blob with a sage halo */
.cq-hero-figure { position: relative; margin: 0; }
.cq-hero-figure::before {
  content: ""; position: absolute; inset: -16px;
  background: rgba(197,219,200,.6); border-radius: var(--cq-blob);
}
.cq-hero .cq-hero-figure img {
  position: relative; display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--cq-blob); box-shadow: var(--cq-shadow);
}

/* ---------- Sections ---------- */
.cq-section { padding: 80px 0 0; }
.cq-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px;
  flex-wrap: wrap; margin: 0 0 32px;
}
.cq-section-head h2 { font-size: 30px; line-height: 1.2; margin: 0; }
.cq-section-head p { color: var(--cq-soft); font-size: 16px; margin: 8px 0 0; max-width: 620px; }
.cq-section-link { font-size: 14px; font-weight: 600; color: var(--cq-ink); white-space: nowrap; text-underline-offset: 4px; }
.cq-section-link:hover { color: var(--cq-ink); text-decoration: underline; }
.cq-section-foot { text-align: center; margin-top: 36px; }

/* feature cards */
.cq-features {
  max-width: var(--cq-wrap); margin: 80px auto 0; padding: 0 16px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.cq-feature {
  display: flex; align-items: center; gap: 16px;
  background: var(--cq-card); border-radius: var(--cq-radius-xl); padding: 20px;
  box-shadow: var(--cq-shadow);
}
.cq-feature .ic {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--cq-sage-light); color: var(--cq-sage-ink);
}
.cq-feature h4 { font-size: 16px; margin: 0 0 2px; letter-spacing: 0; }
.cq-feature p { color: var(--cq-soft); font-size: 14px; margin: 0; line-height: 1.4; }

/* category cards: same card language as products */
.cq-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cq-cat-card {
  display: block; background: var(--cq-card); border-radius: var(--cq-radius-xl); padding: 12px;
  box-shadow: var(--cq-shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.cq-cat-card:hover { transform: translateY(-4px); box-shadow: var(--cq-shadow-lg); }
.cq-cat-card .cq-cat-media {
  display: block; aspect-ratio: 4 / 3; border-radius: var(--cq-radius-lg); overflow: hidden; background: var(--cq-off);
}
.cq-cat-card .cq-cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cq-cat-card:hover .cq-cat-media img { transform: scale(1.05); }
.cq-cat-card .lbl {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 8px 4px; font-family: var(--cq-display); font-weight: 700; font-size: 18px; color: var(--cq-ink);
}
.cq-cat-card .lbl small { font-family: var(--cq-body); font-size: 12px; font-weight: 600; color: var(--cq-soft); }

/* ---------- Footer ---------- */
.cq-footer {
  background: #f6ecde; /* secondary at 60% over cream */
  border-top: 1px solid var(--cq-line);
  color: var(--cq-soft); padding: 48px 0 24px; margin-top: 96px; font-size: 14px;
}
.cq-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; }
.cq-footer h4 { color: var(--cq-ink); font-family: var(--cq-body); font-size: 14px; font-weight: 600; letter-spacing: 0; margin: 0 0 10px; }
.cq-footer a { color: var(--cq-soft); display: block; padding: 3px 0; font-size: 14px; }
.cq-footer a:hover { color: var(--cq-ink); }
.cq-footer-brand { font-family: var(--cq-display); font-size: 20px; font-weight: 700; color: var(--cq-ink); margin: 0 0 8px; }
.cq-footer-about { max-width: 320px; line-height: 1.6; margin: 0 0 14px; }
.cq-footer-contact { line-height: 1.7; margin: 0; }
.cq-footer-contact a { display: inline; padding: 0; }
.cq-footer .cq-search { max-width: 280px; }
.cq-footer-bottom {
  border-top: 1px solid var(--cq-line); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 10px 24px;
}
.cq-footer-bottom a { display: inline; }
.cq-made-with { display: inline-flex; align-items: center; gap: 6px; }
.cq-made-with svg { color: var(--cq-sage); fill: var(--cq-sage); }

/* "A project of" credit block on the homepage */
.cq-credit { text-align: center; color: var(--cq-soft); font-size: 14px; }
.cq-credit img { display: block; margin: 12px auto 0; max-width: 200px; height: auto; mix-blend-mode: multiply; }

/* ---------- WooCommerce: product grid + cards ---------- */
.woocommerce ul.products, .woocommerce-page ul.products {
  gap: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  position: relative;
  width: auto !important; margin: 0 !important; float: none !important; text-align: left;
  background: var(--cq-card); border: 0; border-radius: var(--cq-radius-xl);
  padding: 12px 12px 16px; box-shadow: var(--cq-shadow);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--cq-shadow-lg); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--cq-ink); }
.cq-card-media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--cq-radius-lg); background: var(--cq-off); margin-bottom: 16px;
}
.woocommerce ul.products li.product a img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--cq-radius-lg); margin: 0 0 16px; box-shadow: none;
}
.woocommerce ul.products li.product .cq-card-media img {
  border-radius: 0; margin: 0; transition: transform .5s ease;
}
.woocommerce ul.products li.product:hover .cq-card-media img { transform: scale(1.05); }
.cq-card-cat {
  display: block; padding: 0 60px 0 8px; margin: 0 0 2px;
  font-size: 12px; line-height: 1.4; color: var(--cq-soft); font-weight: 500;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--cq-display); font-size: 16px !important; font-weight: 700; line-height: 1.375;
  color: var(--cq-ink); padding: 0 60px 0 8px; margin: 0;
}
.woocommerce ul.products li.product .star-rating { margin: 6px 0 0 8px; font-size: .8em; }
.woocommerce ul.products li.product .price {
  color: var(--cq-primary) !important; font-weight: 600; font-size: 16px;
  padding: 4px 60px 0 8px; margin: 0; display: block;
}
.woocommerce ul.products li.product .price del { color: var(--cq-soft); font-weight: 400; font-size: 13px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

/* Round add-to-cart icon button, bottom-right of the card */
.woocommerce ul.products li.product .button {
  position: absolute; right: 16px; bottom: 16px; margin: 0;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  font-size: 0; line-height: 0; color: var(--cq-primary-ink);
  display: grid; place-items: center; box-shadow: none;
}
.woocommerce ul.products li.product .button:hover { transform: none; box-shadow: var(--cq-shadow); }
.woocommerce ul.products li.product .button::before {
  content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: var(--cq-i-bag) center / contain no-repeat; mask: var(--cq-i-bag) center / contain no-repeat;
}
.woocommerce ul.products li.product .button:not(.add_to_cart_button)::before,
.woocommerce ul.products li.product .button.product_type_variable::before,
.woocommerce ul.products li.product .button.product_type_grouped::before,
.woocommerce ul.products li.product .button.product_type_external::before {
  -webkit-mask-image: var(--cq-i-arrow); mask-image: var(--cq-i-arrow);
}
.woocommerce ul.products li.product .button.loading { opacity: .7; }
.woocommerce ul.products li.product .button.loading::before { animation: cq-spin .8s linear infinite; -webkit-mask-image: var(--cq-i-loader); mask-image: var(--cq-i-loader); }
.woocommerce ul.products li.product .button.added::before { -webkit-mask-image: var(--cq-i-check); mask-image: var(--cq-i-check); }
.woocommerce ul.products li.product .button::after { display: none !important; }
.woocommerce ul.products li.product a.added_to_cart { display: none; }
:root {
  --cq-i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3Cpath d='M3.103 6.034h17.794'/%3E%3Cpath d='M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z'/%3E%3C/svg%3E");
  --cq-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  --cq-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --cq-i-loader: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E");
}

/* Badges: sage pill ("Νέο", "Προσφορά!") */
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
  position: absolute; top: 12px; left: 12px; right: auto; margin: 0; z-index: 2;
  min-height: 0; min-width: 0; line-height: 1.5;
  background: var(--cq-sage-light); color: var(--cq-sage-ink); border-radius: var(--cq-pill);
  padding: 4px 12px; font-family: var(--cq-body); font-size: 12px; font-weight: 600;
}
.woocommerce .star-rating span, .woocommerce .star-rating::before { color: var(--cq-primary); }

/* ---------- Single product ---------- */
.woocommerce div.product div.images img { border-radius: var(--cq-radius-2xl); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: var(--cq-radius-2xl); }
.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child,
.woocommerce div.product div.images.woocommerce-product-gallery .flex-viewport {
  border-radius: var(--cq-radius-2xl); overflow: hidden; box-shadow: var(--cq-shadow); background: var(--cq-card);
}
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 72px !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 16px; opacity: .6; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  background: var(--cq-card); border-radius: 50%; top: 16px; right: 16px; box-shadow: var(--cq-shadow);
}
.woocommerce div.product div.summary { padding-top: 24px; }
.woocommerce div.product .product_title { font-size: clamp(28px, 3.4vw, 36px); margin-top: 12px; }
.woocommerce div.product div.summary .price,
.woocommerce div.product p.price { color: var(--cq-primary); font-size: 24px; font-weight: 600; }
.woocommerce div.product p.price del { color: var(--cq-soft); font-size: 17px; font-weight: 400; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--cq-soft); line-height: 1.625; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 32px 0; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { content: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; float: none; margin: 0; min-width: 200px; padding: 12px 28px; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.woocommerce div.product form.cart table.variations td, .woocommerce div.product form.cart table.variations th { padding: 6px 0; }
.woocommerce div.product form.cart .variations select {
  border: 1px solid var(--cq-line); border-radius: var(--cq-pill); background-color: var(--cq-card);
  padding: 10px 16px; font-family: var(--cq-body); color: var(--cq-text);
}
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.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 {
  background: var(--cq-sand); border: 0; border-radius: var(--cq-pill); margin: 0; padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 8px 20px; font-size: 14px; font-weight: 600; color: var(--cq-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--cq-primary); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--cq-primary-ink); }
.woocommerce div.product .woocommerce-tabs .panel { color: var(--cq-soft); line-height: 1.7; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 22px; color: var(--cq-ink); }

/* Quantity stepper: sand pill with −/+ (buttons added by main.js) */
.woocommerce .quantity { display: inline-flex; align-items: center; }
.woocommerce .quantity.cq-qty { background: var(--cq-sand); border-radius: var(--cq-pill); }
.cq-qty-btn {
  width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 50%;
  display: grid; place-items: center; background: transparent; color: var(--cq-ink); box-shadow: none;
}
.cq-qty-btn:hover { background: rgba(112,80,58,.08); color: var(--cq-ink); transform: none; box-shadow: none; }
.woocommerce .quantity input.qty, .woocommerce div.product form.cart .quantity input.qty {
  width: 40px; height: 44px; padding: 0; border: 0; background: transparent; text-align: center;
  font-family: var(--cq-body); font-weight: 600; font-size: 16px; color: var(--cq-ink);
  -moz-appearance: textfield; appearance: textfield;
}
.woocommerce .quantity:not(.cq-qty) input.qty {
  width: 80px; border: 1px solid var(--cq-line); border-radius: var(--cq-pill); background: var(--cq-card);
}
.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity.cq-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce .quantity input.qty:focus { outline: none; box-shadow: none; }
.woocommerce .quantity.cq-qty:focus-within { box-shadow: var(--cq-ring); }

/* "✓ Δωρεάν αποστολή…" list under the add-to-cart row */
.cq-perks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--cq-soft); }
.cq-perks li { display: flex; align-items: center; gap: 8px; }
.cq-perks li::before { content: "✓"; color: var(--cq-primary); font-weight: 700; }

/* ---------- Page head (shop, categories, pages) ---------- */
.cq-page-head { padding: 48px 0 0; }
.cq-page-head h1 { margin: 0; font-size: 36px; line-height: 1.2; }
.cq-breadcrumb, .woocommerce .woocommerce-breadcrumb { color: var(--cq-soft); font-size: 14px; margin: 0 0 12px; }
.cq-breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--cq-soft); }
.cq-breadcrumb a:hover, .woocommerce .woocommerce-breadcrumb a:hover { color: var(--cq-ink); text-decoration: underline; }

/* category filter pills (shop + category archives) */
.cq-cat-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.cq-cat-pills a {
  display: inline-block; padding: 8px 20px; border-radius: var(--cq-pill);
  background: var(--cq-sand); color: var(--cq-ink); font-size: 14px; font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.cq-cat-pills a:hover { background: #ecdcc4; color: var(--cq-ink); }
.cq-cat-pills a.is-active, .cq-cat-pills a[aria-current] { background: var(--cq-primary); color: var(--cq-primary-ink); }

.cq-main { padding: 32px 0 0; min-height: 50vh; }
.woocommerce .woocommerce-result-count { color: var(--cq-soft); font-size: 14px; margin: 10px 0 24px; }
.woocommerce .woocommerce-ordering { margin: 0 0 24px; }

/* notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border: 0; border-left: 4px solid var(--cq-sage); border-radius: var(--cq-radius);
  background: var(--cq-card); color: var(--cq-text); box-shadow: var(--cq-shadow);
}
.woocommerce-error { border-left-color: var(--cq-danger); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cq-sage); }
.woocommerce-message .button, .woocommerce-info .button { box-shadow: none; }

/* generic page content */
.cq-page-content { max-width: 760px; color: var(--cq-text); line-height: 1.7; }
.cq-page-content > p, .cq-page-content > ul, .cq-page-content > ol { color: var(--cq-soft); }
.cq-page-content img, .cq-page-content .wp-block-image img { border-radius: var(--cq-radius-2xl); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .cq-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cq-footer-grid { grid-template-columns: 1fr 1fr; }
  .cq-search { flex-basis: 200px; }
}
@media (max-width: 900px) {
  .cq-hero-inner { grid-template-columns: 1fr; }
  .cq-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cq-nav { display: none; }
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cq-menu-toggle { display: flex !important; }
  .cq-hero { padding-top: 32px; }
  .cq-section, .cq-features { padding-top: 56px; margin-top: 0; }
  .cq-section-head h2 { font-size: 26px; }
}
@media (max-width: 480px) {
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .woocommerce ul.products li.product { padding: 8px 8px 12px; border-radius: 24px; }
  .cq-card-media, .woocommerce ul.products li.product a img { border-radius: 18px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; padding-right: 4px; }
  .cq-card-cat { padding-right: 4px; }
  .woocommerce ul.products li.product .price {
    padding-right: 44px; font-size: 15px; min-height: 38px;
    display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; margin-top: 4px;
  }
  .woocommerce ul.products li.product .button { width: 38px; height: 38px; right: 8px; bottom: 12px; }
  .cq-cat-grid { grid-template-columns: 1fr; }
  .cq-footer-grid { grid-template-columns: 1fr; }
}

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


/* =================================================================
   Cart & Checkout BLOCK styling (WooCommerce 8.3+)
   For the modern Cart & Checkout BLOCKS (wc-block-*), not the classic shortcodes.
   WooCommerce considers block internals "private" and may rename these classes;
   if a Woo update breaks the look, re-check the class names here.
   ================================================================= */

/* =================================================================
   BUTTONS  (the block button has NO .button class — it's .wc-block-components-button)
   ================================================================= */
.wc-block-components-button:not(.is-link) {
  background-color: var(--cq-primary);
  color: var(--cq-primary-ink);
  border: none;
  border-radius: var(--cq-pill);
  box-shadow: var(--cq-shadow);
  font-family: var(--cq-body);
  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(--cq-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--cq-shadow-lg);
}
.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(--cq-primary);
}
.wc-block-components-button.is-link:hover { color: var(--cq-primary-hover); }

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

/* line-item product titles */
.wc-block-cart-item__product-name,
.wc-block-components-product-name {
  font-family: var(--cq-body);
  font-weight: 600;
  color: var(--cq-ink);
}
.wc-block-components-product-name:hover { color: var(--cq-primary); }

/* product images */
.wc-block-cart-item__image img {
  border-radius: 18px;
  border: 0;
}

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

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

/* quantity stepper */
.wc-block-components-quantity-selector {
  border: 0;
  border-radius: var(--cq-pill);
  background: var(--cq-sand);
  overflow: hidden;
}
.wc-block-components-quantity-selector::after { border: 0 !important; }
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { background: transparent; font-weight: 600; }
.wc-block-components-quantity-selector__button {
  color: var(--cq-ink);
  font-weight: 600;
}
.wc-block-components-quantity-selector__button:hover {
  background: rgba(112,80,58,.08);
  color: var(--cq-primary);
}
.wc-block-components-quantity-selector__input {
  color: var(--cq-text);
  font-family: var(--cq-body);
}

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

/* remove-item link */
.wc-block-cart-item__remove-link {
  color: var(--cq-soft);
}
.wc-block-cart-item__remove-link:hover { color: var(--cq-danger); }

/* ---------- Cart totals sidebar ("Cart totals" panel) ---------- */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-totals-block {
  background: var(--cq-sand);
  margin-top: 20px;
  border: 0;
  border-radius: var(--cq-radius-xl);
  box-shadow: none;
  padding: 24px;
}
.wc-block-components-totals-item__label {
  color: var(--cq-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(--cq-primary);
  font-weight: 700;
}
.wc-block-components-totals-item__description,
.wc-block-components-totals-footer-item-tax {
  color: var(--cq-soft);
}

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

/* sticky mobile "Proceed to checkout" container */
.wc-block-cart__submit-container {
  background-color: var(--cq-card);
}

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

/* section headings (Contact, Shipping address, Payment options…) */
.wc-block-components-checkout-step__title,
.wc-block-components-title {
  font-family: var(--cq-body);
  color: var(--cq-ink);
}
.wc-block-components-checkout-step__heading-content {
  color: var(--cq-soft);
}

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

/* form field labels & inputs */
.wc-block-components-text-input label,
.wc-block-components-checkout-step__description {
  font-family: var(--cq-body);
  color: var(--cq-ink);
}
.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(--cq-line);
  border-radius: 16px;
  background-color: var(--cq-card);
  color: var(--cq-text);
  font-family: var(--cq-body);
}
/* 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(--cq-sage);
  box-shadow: var(--cq-ring);
}
.wc-block-components-text-input.is-active label,
.wc-block-components-checkout-step--with-step-number .wc-block-components-text-input label {
  color: var(--cq-soft);
}

/* validation error */
.has-error input.input-text,
.wc-block-components-text-input.has-error input {
  border-color: var(--cq-danger) !important;
}
.wc-block-components-validation-error {
  color: var(--cq-danger);
}

/* ---------- Order summary sidebar ---------- */
.wc-block-checkout__sidebar,
.wp-block-woocommerce-checkout-totals-block {
  background: var(--cq-sand);
  border: 0;
  border-radius: var(--cq-radius-xl);
  box-shadow: none;
  padding: 24px;
}
.wc-block-components-order-summary__content .wc-block-components-product-name {
  color: var(--cq-ink);
}
.wc-block-components-order-summary-item__total-price {
  color: var(--cq-ink);
  font-weight: 600;
}

/* quantity badge on order-summary thumbnails */
.wc-block-components-order-summary-item__quantity {
  background-color: var(--cq-primary);
  border-color: var(--cq-primary);
  box-shadow: 0 0 0 2px var(--cq-sand);
  color: var(--cq-primary-ink);
}

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

/* payment method area */
.wc-block-components-radio-control__option {
  border-radius: 16px;
}
.wc-block-components-radio-control__input:checked {
  border-color: var(--cq-primary);
}
.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(--cq-primary);
}

/* place-order button (full width) */
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  background-color: var(--cq-primary);
  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(--cq-primary-hover);
}

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

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

/* =================================================================
   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 shop "sort by" dropdown to the header search bar */
.woocommerce .woocommerce-ordering select.orderby,
.woocommerce-page .woocommerce-ordering select.orderby {
  border: 1px solid var(--cq-line);
  border-radius: var(--cq-pill);
  padding: 10px 40px 10px 18px;        /* extra right padding for the arrow */
  font-family: var(--cq-body);
  font-size: 14px;
  color: var(--cq-text);
  background-color: var(--cq-card);
  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 cocoa 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='%234e3829' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Focus state — sage ring used across the theme */
.woocommerce .woocommerce-ordering select.orderby:focus,
.woocommerce-page .woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: var(--cq-sage);
  box-shadow: var(--cq-ring);
}

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

/* Cart block bits that sat in the old flyout section */
.wc-block-components-product-metadata { display: none; }
.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; }

/* =================================================
 * Slide-in cart drawer (inc/cart-drawer.php + assets/js/cart-drawer.js)
 * ================================================= */
.cq-cart-wrap { position: relative; display: flex; }

html.cq-drawer-open { overflow: hidden; }
html.cq-drawer-open body { padding-right: var(--cq-scrollbar, 0px); }

.cq-drawer-overlay {
  position: fixed; inset: 0; z-index: 9990;
  background: rgba(78,56,41,.32);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s ease;
}
.cq-drawer-overlay.is-open { opacity: 1; }
.cq-drawer-overlay[hidden], .cq-drawer[hidden] { display: none; }

.cq-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 9991;
  width: min(420px, 90vw);
  display: flex; flex-direction: column;
  background: var(--cq-cream);
  border-radius: var(--cq-radius-xl) 0 0 var(--cq-radius-xl);
  box-shadow: -24px 0 48px -24px rgba(112,80,58,.45);
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.32,.72,0,1);
  outline: none;
}
.cq-drawer.is-open { transform: translateX(0); }
.admin-bar .cq-drawer { top: 32px; border-top-left-radius: var(--cq-radius-lg); }
@media (max-width: 782px) { .admin-bar .cq-drawer { top: 46px; } }

.cq-drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 20px 16px 24px; border-bottom: 1px solid var(--cq-line);
}
.cq-drawer-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; margin: 0;
}
.cq-drawer-count {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px;
  border-radius: var(--cq-pill); background: var(--cq-sage-light); color: var(--cq-sage-ink);
  font-family: var(--cq-body); font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.cq-drawer .cq-drawer-close {
  width: 44px; height: 44px; padding: 0; margin: 0; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--cq-sand); color: var(--cq-ink); box-shadow: none;
}
.cq-drawer .cq-drawer-close:hover { background: #ecdcc4; color: var(--cq-ink); transform: rotate(90deg); box-shadow: none; }

/* Body: the item list scrolls, total + buttons stay pinned at the bottom */
.cq-drawer-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cq-drawer .widget_shopping_cart_content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cq-drawer ul.cart_list {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  list-style: none; margin: 0; padding: 16px 20px 8px;
  display: flex; flex-direction: column; gap: 12px;
}
.cq-drawer ul.cart_list li {
  position: relative;
  display: grid; grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr; column-gap: 14px; row-gap: 4px;
  align-items: start; align-content: start;
  padding: 10px 44px 10px 10px; margin: 0;
  background: var(--cq-card); border-radius: var(--cq-radius); box-shadow: var(--cq-shadow);
  font-size: 14px;
}
.cq-drawer ul.cart_list li > a:not(.remove) {
  display: contents;
  font-family: var(--cq-display); font-weight: 700; line-height: 1.35; color: var(--cq-ink);
}
.cq-drawer ul.cart_list li > a:not(.remove):hover { color: var(--cq-primary); }
.cq-drawer ul.cart_list li img {
  grid-column: 1; grid-row: 1 / -1;
  width: 72px !important; height: 72px; object-fit: cover;
  border-radius: 16px; background: var(--cq-off);
  float: none !important; margin: 0 !important; box-shadow: none;
}
.cq-drawer ul.cart_list li dl.variation {
  grid-column: 2; margin: 0; font-size: 12px; color: var(--cq-soft);
  border: 0; padding: 0;
}
.cq-drawer ul.cart_list li dl.variation dt, .cq-drawer ul.cart_list li dl.variation dd,
.cq-drawer ul.cart_list li dl.variation p { display: inline; margin: 0; padding: 0; float: none; }
.cq-drawer ul.cart_list li .quantity {
  grid-column: 2; display: block; color: var(--cq-soft); font-size: 13px; margin-top: 2px;
}
.cq-drawer ul.cart_list li .quantity .amount { color: var(--cq-primary); font-weight: 600; }
.cq-drawer ul.cart_list li a.remove {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 18px; line-height: 1; font-weight: 400;
  color: var(--cq-soft) !important; background: var(--cq-off);
  border: 0; transition: background-color .2s ease, color .2s ease;
}
.cq-drawer ul.cart_list li a.remove:hover {
  background: var(--cq-danger) !important; color: var(--cq-card) !important;
}

.cq-drawer .woocommerce-mini-cart__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0; padding: 16px 24px 0; border-top: 1px solid var(--cq-line);
  font-family: var(--cq-body); font-size: 15px; color: var(--cq-ink);
}
.cq-drawer .woocommerce-mini-cart__total strong { font-weight: 600; }
.cq-drawer .woocommerce-mini-cart__total .amount {
  font-family: var(--cq-display); font-size: 20px; font-weight: 700; color: var(--cq-primary);
}
.cq-drawer .woocommerce-mini-cart__buttons {
  display: flex; flex-direction: column; gap: 10px;
  margin: 0; padding: 14px 24px 24px;
}
.cq-drawer .woocommerce-mini-cart__buttons::before, .cq-drawer .woocommerce-mini-cart__buttons::after { content: none; }
.cq-drawer .woocommerce-mini-cart__buttons .button {
  display: block; width: 100%; margin: 0; padding: 13px 20px; text-align: center;
}
.cq-drawer .woocommerce-mini-cart__buttons .button:not(.checkout) {
  background: var(--cq-sand); color: var(--cq-ink); box-shadow: none;
}
.cq-drawer .woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: #ecdcc4; color: var(--cq-ink); }

/* Empty cart */
.cq-drawer .woocommerce-mini-cart__empty-message {
  margin: auto 0 0; padding: 48px 32px 16px; text-align: center; color: var(--cq-soft); font-size: 15px;
}
.cq-drawer .woocommerce-mini-cart__empty-message::before {
  content: ""; display: block; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--cq-sand) center / 30px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2370503a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3Cpath d='M3.103 6.034h17.794'/%3E%3Cpath d='M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z'/%3E%3C/svg%3E");
}
.cq-drawer-empty-cta { display: none; padding: 0 32px; margin-bottom: auto; text-align: center; }
.cq-drawer-empty-cta .button { margin: 0; }
.cq-drawer:has(.woocommerce-mini-cart__empty-message) .cq-drawer-body { flex: 0 1 auto; margin-top: auto; }
.cq-drawer:has(.woocommerce-mini-cart__empty-message) .cq-drawer-empty-cta { display: block; padding-bottom: 25vh; }

@media (max-width: 480px) {
  .cq-drawer { width: 92vw; border-radius: 24px 0 0 24px; }
  .cq-drawer-head { padding: 16px 16px 14px 20px; }
  .cq-drawer ul.cart_list { padding: 14px 14px 8px; }
  .cq-drawer .woocommerce-mini-cart__total { padding: 14px 18px 0; }
  .cq-drawer .woocommerce-mini-cart__buttons { padding: 12px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cq-drawer, .cq-drawer-overlay, .cq-drawer .cq-drawer-close { transition: none; }
  .cq-drawer .cq-drawer-close:hover { transform: 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
   Port of the WD (wallpaper calculator) card language to the --cq-* 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(--cq-text);
	background: var(--cq-off);
	border: 1px solid var(--cq-line);
	border-left: 3px solid var(--cq-sage);
	border-radius: var(--cq-radius);
}

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

.single-product .summary .product_meta > span {
	display: block;
	margin: 0;
	padding: 0.75em 0;
	color: inherit;
	/* border-top: 1px dashed var(--cq-line); */
	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(--cq-display);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--cq-primary);
	background: #f7efe4;
	background: color-mix(in srgb, var(--cq-primary) 8%, #fff);
	border: 1px solid rgba(112,80,58, 0.3);
	border-color: color-mix(in srgb, var(--cq-primary) 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(--cq-soft);
}

.single-product .summary .product_meta .product-id {
	font-weight: 600;
	color: var(--cq-text);
}

/*
.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(--cq-display);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	color: var(--cq-text);
	background: var(--cq-card);
	border: 1px solid var(--cq-line);
	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: var(--cq-primary-ink);
	background: var(--cq-primary);
	border-color: var(--cq-primary);
	box-shadow: 0 4px 12px rgba(112,80,58, 0.25);
}

.single-product .summary .product_meta a[rel="tag"]:focus-visible {
	outline: 2px solid rgba(112,80,58, 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(112,80,58, 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(--cq-soft);
}

/* ---------- 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 .cq-assurance {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0.75em 0 0;
	padding: 0.85em 1.2em;
	color: var(--cq-ink);
	background: var(--cq-card);
	border: 1px solid var(--cq-line);
	border-left: 3px solid var(--cq-sage);
	border-radius: var(--cq-radius);
}
 
.single-product .summary .cq-assurance__icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--cq-primary);
}
 
.single-product .summary .cq-assurance__icon svg {
	display: block;
}
 
.single-product .summary .cq-assurance__text {
	font-family: var(--cq-display);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.01em;
}
 
@media (max-width: 575px) {
	.single-product .summary .cq-assurance {
		padding: 0.85em 1em;
	}
 
	.single-product .summary .cq-assurance__text {
		font-size: 14px;
	}
}
/* =================================================
 * v1.1.0 — Live search
 * ================================================= */
.cq-search--live { position: relative; }
.cq-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: var(--cq-card); border: 1px solid var(--cq-line); border-radius: var(--cq-radius-lg);
  box-shadow: var(--cq-shadow-lg); padding: 8px 0; text-align: left;
}
.cq-ls-panel[hidden] { display: none; }
.cq-ls-heading {
  padding: 10px 16px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cq-soft);
}
.cq-ls-option { display: flex; align-items: center; gap: 12px; padding: 8px 16px; color: var(--cq-text); }
.cq-ls-option:hover, .cq-ls-option.is-active { background: var(--cq-off); color: var(--cq-ink); }
.cq-ls-panel .cq-ls-item img {
  width: 56px; height: 56px; object-fit: cover; flex: 0 0 56px;
  border-radius: 14px; border: 0; background: var(--cq-off);
}
.cq-ls-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cq-ls-title {
  font-family: var(--cq-display); font-weight: 600; font-size: 14px; color: var(--cq-ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cq-ls-title mark, .cq-ls-cat mark { background: var(--cq-blush); color: var(--cq-ink); font-weight: 700; padding: 0 2px; border-radius: 4px; }
.cq-ls-price { color: var(--cq-primary); font-weight: 600; font-size: 14px; }
.cq-ls-price del { color: var(--cq-soft); font-weight: 400; margin-right: 4px; }
.cq-ls-price ins { text-decoration: none; }
.cq-ls-oos { font-size: 12px; color: #b23a33; }
.cq-ls-cat { justify-content: space-between; font-weight: 600; font-size: 14px; }
.cq-ls-count {
  font-size: 12px; color: var(--cq-soft); background: var(--cq-off);
  border-radius: 999px; padding: 1px 8px; background: var(--cq-sand);
}
.cq-ls-all {
  justify-content: center; margin-top: 4px; padding: 12px 16px;
  border-top: 1px solid var(--cq-line); font-weight: 700; color: var(--cq-primary);
}
.cq-ls-msg { padding: 14px 16px; font-size: 14px; color: var(--cq-soft); }
.cq-ls-msg.is-loading::before {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px;
  border: 2px solid var(--cq-line); border-top-color: var(--cq-primary); border-radius: 50%;
  animation: cq-spin .7s linear infinite;
}


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

/* =================================================
 * v1.1.0 — SEO intro + FAQ
 * ================================================= */
.cq-seo-intro .cq-seo-grid { background: var(--cq-sand); border-radius: var(--cq-radius-2xl); padding: 48px; }
.cq-seo-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.cq-seo-text h2, .cq-faq h2 { font-size: 26px; margin-top: 0; }
.cq-seo-text p { color: var(--cq-soft); font-size: 16px; line-height: 1.75; }
.cq-faq details {
  background: var(--cq-card); border: 0; border-radius: var(--cq-radius);
  padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--cq-shadow);
}
.cq-faq summary {
  cursor: pointer; font-family: var(--cq-display); font-weight: 700; color: var(--cq-ink); font-size: 15px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.cq-faq summary::-webkit-details-marker { display: none; }
.cq-faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--cq-sage-light); color: var(--cq-sage-ink); font-family: var(--cq-body); font-size: 18px; line-height: 1;
}
.cq-faq details[open] summary::after { content: "−"; }
.cq-faq details p { margin: 10px 0 0; color: var(--cq-soft); font-size: 14px; line-height: 1.7; }
.cq-page-head .term-description, .cq-page-head .page-description {
  max-width: 820px; margin-top: 12px; color: var(--cq-soft); font-size: 15px; line-height: 1.7;
}
.cq-page-head .term-description p:last-child, .cq-page-head .page-description p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .cq-seo-grid { grid-template-columns: 1fr; gap: 28px; }
  .cq-seo-intro .cq-seo-grid { padding: 28px 20px; border-radius: var(--cq-radius-xl); }
}

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

/* =================================================
 * Mega menu (desktop) — pill top items, cream panel
 * ================================================= */
.cq-menu { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cq-menu-item { position: static; }
.cq-nav .cq-menu-row {
  display: flex; align-items: center; gap: 2px;
  border-radius: var(--cq-pill); padding: 8px 16px;
  transition: background-color .2s ease;
}
.cq-nav .has-mega > .cq-menu-row { padding-right: 8px; }
.cq-nav .cq-menu-item:hover > .cq-menu-row,
.cq-nav .cq-menu-item.is-open > .cq-menu-row,
.cq-nav .cq-menu-item.is-current > .cq-menu-row { background: var(--cq-sand); }
.cq-nav .cq-menu-link { font-size: 14px; font-weight: 600; color: var(--cq-ink); white-space: nowrap; }
.cq-sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; padding: 0; margin: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--cq-ink); cursor: pointer; box-shadow: none;
  transition: transform .2s ease, background-color .2s ease;
}
.cq-sub-toggle:focus-visible, .cq-mega a:focus-visible, .cq-menu-link:focus-visible {
  outline: none; box-shadow: var(--cq-ring); border-radius: 8px;
}
.cq-menu-item.is-open .cq-sub-toggle { transform: rotate(180deg); }

.cq-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cq-card); border-top: 1px solid var(--cq-line);
  border-radius: 0 0 var(--cq-radius-xl) var(--cq-radius-xl);
  box-shadow: 0 30px 50px -24px rgba(112,80,58,.35);
  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 */
.cq-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; }
.cq-menu-item.is-open > .cq-mega,
html:not(.cq-js) .cq-menu-item.has-mega:hover > .cq-mega,
html:not(.cq-js) .cq-menu-item.has-mega:focus-within > .cq-mega {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.cq-mega-inner {
  max-width: var(--cq-wrap); margin: 0 auto; padding: 32px 16px 36px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px;
}
.cq-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;
}
.cq-nav .cq-mega-heading {
  display: block; font-family: var(--cq-display); font-size: 15px; font-weight: 700; color: var(--cq-ink);
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--cq-line);
}
.cq-mega-links { list-style: none; margin: 0; padding: 0; }
.cq-nav .cq-mega-link {
  display: block; padding: 5px 0; font-family: var(--cq-body); font-size: 14px; font-weight: 500;
  color: var(--cq-soft); transition: color .15s ease, transform .15s ease;
}
.cq-nav .cq-mega-link:hover, .cq-nav .cq-mega-heading:hover { color: var(--cq-primary); }
.cq-nav .cq-mega-link:hover { transform: translateX(3px); }

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

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

/* =================================================
 * Hero slideshow — product images in the mockup's blob
 * with a sage halo; name + price on a floating label.
 * ================================================= */
.cq-hero-slider { position: relative; width: 100%; max-width: 520px; justify-self: end; }
.cq-hs-stage { position: relative; }
.cq-hs-stage::before {
  content: ""; position: absolute; inset: -16px;
  background: rgba(197,219,200,.6); border-radius: var(--cq-blob);
}
.cq-hs-track {
  position: relative; aspect-ratio: 1; border-radius: var(--cq-blob); overflow: hidden;
  background: var(--cq-card); box-shadow: var(--cq-shadow);
}
.cq-hs-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}
.cq-hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; z-index: 1; }
.cq-hs-link { display: block; height: 100%; color: var(--cq-ink); }
.cq-hs-img { position: absolute; inset: 0; background: var(--cq-card); }
.cq-hero-slider .cq-hs-img img { width: 100%; height: 100%; object-fit: contain; padding: 12% 14% 27%; transform: scale(1.04); transition: transform 10s linear; }
.cq-hero-slider .cq-hs-slide.is-active .cq-hs-img img { transform: scale(1); }
.cq-hs-meta {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%);
  width: min(72%, 340px); padding: 10px 18px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
  background: rgba(254,251,246,.94); border-radius: var(--cq-radius); box-shadow: var(--cq-shadow);
}
.cq-hs-cat { font-size: 12px; font-weight: 500; color: var(--cq-soft); }
.cq-hs-title {
  font-family: var(--cq-display); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--cq-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cq-hs-price { font-size: 15px; font-weight: 600; color: var(--cq-primary); }
.cq-hs-price del { color: var(--cq-soft); font-weight: 400; font-size: 13px; margin-right: 6px; }
.cq-hs-price ins { text-decoration: none; }
.cq-hs-link:hover .cq-hs-title { text-decoration: underline; text-underline-offset: 3px; }
.cq-hs-link:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--cq-sage); }
.cq-hs-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.cq-hs-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.cq-hs-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; box-shadow: none;
  background: rgba(112,80,58,.22); cursor: pointer; transition: width .3s ease, background-color .3s ease;
}
.cq-hs-dot.is-active { width: 24px; background: var(--cq-primary); }
.cq-hs-pause {
  width: 28px; height: 28px; padding: 0; border-radius: 50%; box-shadow: none;
  border: 1px solid rgba(112,80,58,.3); background: transparent; color: var(--cq-primary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.cq-hs-pause-icon { width: 8px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.cq-hero-slider.is-paused .cq-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;
}
.cq-hs-dot:focus-visible, .cq-hs-pause:focus-visible { outline: none; box-shadow: var(--cq-ring); }
@media (max-width: 900px) {
  .cq-hero-slider, .cq-hero-figure { justify-self: center; max-width: 420px; width: calc(100% - 32px); }
}
@media (max-width: 600px) {
  .cq-hero-slider .cq-hs-img img { padding: 10% 20% 38%; }
  .cq-hs-meta { bottom: 7%; width: 78%; padding: 8px 14px 10px; }
  .cq-hs-title { font-size: 14px; }
  .cq-hs-price { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cq-mega, .cq-hs-slide, .cq-hs-img img, .cq-mega-thumb img,
  .cq-card-media img, .cq-cat-card img { transition: none !important; }
  .cq-mega-line, .cq-mega-card.is-skeleton .cq-mega-thumb { animation: none; }
  .woocommerce ul.products li.product:hover, .cq-cat-card:hover { transform: none; }
}
.cq-hero-slider .screen-reader-text, .cq-nav .screen-reader-text, .cq-mobile-nav .screen-reader-text,
.cq-header .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

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

/* =================================================
 * Mobile header (portrait): logo + actions on one row,
 * then search, then the "Μενού" bar with its accordion.
 * ================================================= */
.cq-only-sm { display: none; }
@media (max-width: 768px) {
  .cq-header { position: relative; top: auto !important; } /* too tall to stay pinned on a phone */
  .cq-header-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo actions" "search search" "menu menu" "mnav mnav";
    gap: 10px 12px; padding: 8px 16px 14px;
  }
  .cq-logo-wrap { grid-area: logo; }
  .cq-header .cq-logo-wrap img, .cq-header .cq-logo-wrap .custom-logo { height: 52px; }
  .cq-logo { font-size: 20px; }

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

  .cq-header .cq-menu-toggle {
    grid-area: menu; display: flex !important; flex-direction: row; align-items: center; gap: 10px;
    width: 100%; height: 44px; padding: 0 18px; border: 0; border-radius: var(--cq-pill);
    background: var(--cq-sand); color: var(--cq-ink); cursor: pointer; box-shadow: none;
    font-family: var(--cq-body); font-weight: 600; font-size: 15px; text-align: left;
  }
  .cq-header .cq-menu-toggle[aria-expanded="true"] { background: #ecdcc4; }
  .cq-menu-toggle-label { flex: 1; }
  .cq-menu-toggle-caret { transition: transform .2s ease; }
  .cq-menu-toggle[aria-expanded="true"] .cq-menu-toggle-caret { transform: rotate(180deg); }
  .cq-header .cq-menu-toggle .cq-burger { display: inline-flex; flex-direction: column; gap: 4px; width: auto; height: auto; background: none; }
  .cq-header .cq-menu-toggle .cq-menu-toggle-label { display: block; width: auto; height: auto; background: none; }
  .cq-header .cq-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

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

  .cq-header-actions { grid-area: actions; gap: 6px; }
  .cq-icon-btn { width: 42px; height: 42px; }
  .cq-cart-wrap { display: flex; }
}
@media (max-width: 360px) {
  .cq-header-actions .cq-hide-xs { display: none; }
}

/* Small UI buttons (menu toggles, slideshow controls, qty) opt out of the big
   button hover effect defined for `button` at the top of this file. */
.cq-sub-toggle, .cq-menu-toggle, .cq-hs-dot, .cq-hs-pause, .cq-qty-btn { margin-right: 0; line-height: 1; }
.cq-sub-toggle:hover, .cq-menu-toggle:hover, .cq-hs-dot:hover, .cq-hs-pause:hover { transform: none; box-shadow: none; }
.cq-sub-toggle:hover { background: rgba(112,80,58,.08); color: var(--cq-ink); }
.cq-menu-toggle:hover { background: #ecdcc4; color: var(--cq-ink); }
.cq-hs-pause:hover { background: var(--cq-sand); color: var(--cq-primary); }
.cq-hs-dot:hover { background: rgba(112,80,58,.45); }
.cq-hs-dot.is-active:hover { background: var(--cq-primary); }
.cq-menu-item.is-open .cq-sub-toggle:hover { transform: rotate(180deg); }
.cq-mmenu .cq-sub-toggle[aria-expanded="true"]:hover { transform: rotate(180deg); }

/* =================================================
 * Pagination (shop, categories, search) — round pills
 * ================================================= */
.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: 0; border-radius: var(--cq-pill);
  background: var(--cq-card); color: var(--cq-ink); box-shadow: var(--cq-shadow);
  font-family: var(--cq-body); font-size: 15px; font-weight: 600; line-height: 1;
  text-decoration: none;
  transition: background-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(--cq-sand); color: var(--cq-ink); transform: translateY(-1px);
}
.woocommerce nav.woocommerce-pagination ul li a:focus-visible { outline: none; box-shadow: var(--cq-ring); }
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--cq-primary); color: var(--cq-primary-ink);
}
.woocommerce nav.woocommerce-pagination ul li span.dots {
  min-width: 24px; padding: 0 2px; background: none; box-shadow: none; color: var(--cq-soft);
}
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
  padding: 0 20px; background: var(--cq-sand); box-shadow: none;
}
.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(--cq-primary); color: var(--cq-primary-ink);
}
.woocommerce nav.woocommerce-pagination .cq-pg-arrow { flex: none; }
.woocommerce nav.woocommerce-pagination ul li a .cq-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 .cq-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; }
}

/* =================================================
 * v1.6.0 — Contact page (template-contact.php)
 * ================================================= */
.cq-contact-head { padding: 48px 0 32px; }
.cq-contact-head .cq-eyebrow { margin-bottom: 14px; }
.cq-contact-head h1 { font-size: clamp(28px, 4vw, 40px); }
.cq-contact-head .page-description { font-size: 17px; margin-top: 12px; }

.cq-contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start;
}
.cq-contact-card {
  background: var(--cq-card); border: 0; border-radius: var(--cq-radius-xl);
  box-shadow: var(--cq-shadow); padding: 32px;
}
.cq-contact-card h2 { font-size: 22px; margin: 0 0 20px; }
.cq-contact-side { display: flex; flex-direction: column; gap: 24px; }

/* Form: works with Contact Form 7, WPForms, Fluent Forms and plain blocks */
.cq-contact-form .cq-page-content > :first-child { margin-top: 0; }
.cq-contact-form form p { margin: 0 0 18px; }
.cq-contact-form label,
.cq-contact-form .wpforms-field-label,
.cq-contact-form .ff-el-input--label label {
  display: block; font-family: var(--cq-body); font-size: 14px; font-weight: 600; color: var(--cq-ink); margin-bottom: 6px;
}
.cq-contact-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.cq-contact-form input[type="text"],
.cq-contact-form input[type="email"],
.cq-contact-form input[type="tel"],
.cq-contact-form input[type="url"],
.cq-contact-form input[type="number"],
.cq-contact-form select,
.cq-contact-form textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  padding: 13px 16px; font-family: var(--cq-body); font-size: 16px; color: var(--cq-text);
  background: var(--cq-cream); border: 1px solid var(--cq-line); border-radius: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cq-contact-form textarea { min-height: 170px; resize: vertical; }
.cq-contact-form input:focus,
.cq-contact-form select:focus,
.cq-contact-form textarea:focus {
  outline: none; background: var(--cq-card); border-color: var(--cq-sage); box-shadow: var(--cq-ring);
}
.cq-contact-form input::placeholder, .cq-contact-form textarea::placeholder { color: #a8978a; }
.cq-contact-form input[type="submit"],
.cq-contact-form button[type="submit"],
.cq-contact-form .wpcf7-submit {
  width: auto; padding: 14px 34px; font-size: 16px; margin: 4px 0 0;
}
.cq-contact-form input[type="checkbox"], .cq-contact-form input[type="radio"] { accent-color: var(--cq-primary); margin-right: 8px; }
.cq-contact-form .wpcf7-list-item { margin: 0 12px 0 0; }
.cq-contact-form .wpcf7-not-valid { border-color: var(--cq-danger); background: var(--cq-card); }
.cq-contact-form .wpcf7-not-valid-tip { color: #b23a33; font-size: 13px; margin-top: 6px; }
.cq-contact-form .wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0; padding: 12px 16px; border-radius: var(--cq-radius); border-width: 1px; font-size: 14px;
}
.cq-contact-form .wpcf7 form.sent .wpcf7-response-output { border-color: #12b76a; background: #ecfdf3; color: #05603a; }
.cq-contact-form .wpcf7 form.invalid .wpcf7-response-output,
.cq-contact-form .wpcf7 form.failed .wpcf7-response-output { border-color: #f79009; background: #fffaeb; color: #93370d; }
.cq-contact-form .wpcf7-spinner { vertical-align: middle; }

/* Details */
.cq-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.cq-contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.cq-contact-ic {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--cq-sage-light); color: var(--cq-sage-ink);
}
.cq-contact-list strong {
  display: block; font-family: var(--cq-body); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--cq-soft); margin-bottom: 2px;
}
.cq-contact-list address { font-style: normal; color: var(--cq-ink); font-weight: 600; line-height: 1.5; }
.cq-contact-list a { color: var(--cq-ink); font-weight: 600; word-break: break-word; }
.cq-contact-list a:hover { color: var(--cq-primary); }
.cq-contact-hours { color: var(--cq-ink); line-height: 1.6; }

/* Map */
.cq-contact-map { padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.cq-map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--cq-radius-lg); overflow: hidden; background: var(--cq-off); }
.cq-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cq-contact-map .cq-map-directions { text-align: center; margin: 0; }

@media (max-width: 900px) {
  .cq-contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 575px) {
  .cq-contact-card { padding: 22px 18px; }
  .cq-contact-form input[type="submit"], .cq-contact-form .wpcf7-submit, .cq-contact-form button[type="submit"] { width: 100%; }
}

/* =================================================
 * CuteQuokka extras
 * ================================================= */
.cq-cat-pills--sub { margin-top: 10px; }
.cq-cat-pills--sub a { background: transparent; border: 1px solid var(--cq-line); padding: 6px 16px; font-size: 13px; }
.cq-cat-pills--sub a:hover { background: var(--cq-sand); }

/* WordPress core helpers */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus {
  clip: auto; clip-path: none; width: auto; height: auto; margin: 0; z-index: 1000;
  top: 8px; left: 8px; padding: 10px 18px; background: var(--cq-card); color: var(--cq-ink);
  border-radius: var(--cq-pill); box-shadow: var(--cq-shadow-lg); font-weight: 600;
}
.alignwide { max-width: var(--cq-wrap); }
.wp-block-button__link { border-radius: var(--cq-pill); background: var(--cq-primary); color: var(--cq-primary-ink); }
.wp-block-quote { border-left: 3px solid var(--cq-sage); padding-left: 1em; }

/* Classic cart / checkout (shortcode) fallbacks */
.woocommerce table.shop_table { border: 0; border-radius: var(--cq-radius-xl); background: var(--cq-card); box-shadow: var(--cq-shadow); overflow: hidden; }
.woocommerce table.shop_table th { font-family: var(--cq-body); color: var(--cq-ink); }
.woocommerce table.shop_table td { border-top-color: var(--cq-line); }
.woocommerce table.shop_table img { border-radius: 14px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order { background: var(--cq-sand); border-radius: var(--cq-radius-xl); padding: 24px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  border: 1px solid var(--cq-line); border-radius: 16px; background: var(--cq-card); padding: 10px 14px; color: var(--cq-text);
}
.woocommerce .select2-container .select2-selection--single { height: auto; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--cq-sage); box-shadow: var(--cq-ring); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 18px; border-radius: var(--cq-pill); color: var(--cq-ink); font-weight: 600; font-size: 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--cq-sand); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--cq-primary); color: var(--cq-primary-ink); }
