/*
Theme Name: PI SOLERGY THEME
Theme URI: https://pi-solergy.gr
Author: Brandery Digital Agency
Author URI: https://brandery.io
Description: Light, dependency-free WooCommerce theme for Pi-Solergy. Shop-56 inspired layout, brand tokens, premium product cards, coded home page, category mega menu.
Version: 1.2.4
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pi-solergy
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --navy: #0D294D;
  --navy-deep: #091D38;
  --navy-soft: #1B3D6B;
  --orange: #FC9B05;
  --orange-hover: #E88A00;
  --orange-active: #D47E00;
  --orange-soft: #FFF4E0;
  --slate: #526175;
  --ink: #0D294D;
  --surface: #F4F7FA;
  --surface-2: #E9EEF4;
  --line: #D9E2EC;
  --white: #FFFFFF;
  --green: #1F8F5F;
  --red: #D7263D;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(13, 41, 77, .06), 0 1px 1px rgba(13, 41, 77, .04);
  --shadow: 0 10px 30px -12px rgba(13, 41, 77, .25);
  --shadow-l: 0 24px 60px -20px rgba(13, 41, 77, .35);
  --container: 1440px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 160ms;
  --t: 260ms;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; text-underline-offset: .2em; }
a:hover { color: var(--orange-hover); }
h1, h2, h3, h4, h5, h6 { color: var(--navy); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13, 41, 77, .12); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.hp { position: absolute !important; left: -9999px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon.flip { transform: scaleX(-1); }
.icon.up { transform: rotate(-90deg); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-active); }
.eyebrow .icon { color: var(--orange); }
.eyebrow--light { color: var(--orange); }

/* Buttons --------------------------------------------------------------- */
.btn, .button, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-s);
  font-weight: 600; font-size: .975rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; position: relative; overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .icon { transition: transform var(--t) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button {
  background: var(--orange); color: var(--navy); border-color: var(--orange);
}
.btn--primary:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--navy); }
.btn--primary:active { background: var(--orange-active); }
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--surface); color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--dark:hover { background: var(--navy-deep); color: #fff; }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); min-height: 42px; padding: 8px 16px; }
.btn--ghost:hover { border-color: var(--navy); background: var(--white); }
.woocommerce a.button.disabled, .woocommerce button.button:disabled { opacity: .55; cursor: not-allowed; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header { position: relative; z-index: 60; background: var(--white); }
.topbar { background: var(--navy-deep); color: rgba(255,255,255,.85); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__msg .icon { color: var(--orange); }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; white-space: nowrap; }
.topbar__right { flex: none; }
.topbar__menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.topbar__menu a { color: rgba(255,255,255,.85); }
.topbar__menu a:hover, .topbar__phone:hover { color: var(--orange); }

.mainbar { border-bottom: 1px solid var(--line); background: var(--white); }
.mainbar__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 92px; }
.mainbar__burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-s); color: var(--navy); align-items: center; justify-content: center; }
.mainbar__burger:hover { background: var(--surface); }
.brand img, .custom-logo { height: 52px; width: auto; }
.mainbar__actions { display: flex; align-items: center; gap: 6px; }
.action { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--radius-s); color: var(--navy); font-size: .8125rem; font-weight: 600; line-height: 1.2; transition: background var(--t-fast); }
.action .icon { width: 26px; height: 26px; }
.action:hover { background: var(--surface); color: var(--navy); }
.action__label { display: flex; flex-direction: column; }
.header-cart__icon { position: relative; display: inline-flex; }
.header-cart__count { position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--navy); font-size: .7rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.header-cart__total { font-weight: 700; color: var(--navy); }
.header-cart__total .woocommerce-Price-amount { font-weight: 700; }

/* Search */
.search { display: flex; align-items: stretch; height: 52px; border: 2px solid var(--navy); border-radius: var(--radius-s); overflow: hidden; background: var(--white); max-width: 760px; width: 100%; justify-self: center; transition: box-shadow var(--t-fast); }
.search:focus-within { box-shadow: 0 0 0 4px rgba(13, 41, 77, .12); }
.search__cat { position: relative; display: flex; align-items: center; border-right: 1px solid var(--line); background: var(--surface); }
.search__cat select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0 36px 0 14px; height: 100%; font-size: .875rem; font-weight: 600; color: var(--navy); max-width: 210px; cursor: pointer; border-radius: 0; }
.search__cat select:focus { box-shadow: none; }
.search__cat .icon { position: absolute; right: 10px; pointer-events: none; width: 18px; height: 18px; color: var(--slate); }
.search__input { flex: 1; border: 0 !important; border-radius: 0 !important; padding: 0 16px !important; min-width: 0; }
.search__input:focus { box-shadow: none !important; }
.search__btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; background: var(--navy); color: #fff; font-weight: 600; transition: background var(--t-fast); }
.search__btn:hover { background: var(--navy-deep); }
.search--inline { margin: 20px 0; height: 50px; }

/* Nav bar */
.navbar { background: var(--navy); color: #fff; }
.navbar__inner { display: flex; align-items: center; gap: 10px; min-height: 54px; }
.navbar__menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.navbar__menu > li { position: relative; }
.navbar__menu > li > a { display: inline-flex; align-items: center; gap: 8px; padding: 15px 14px; color: rgba(255,255,255,.92); font-weight: 600; font-size: .9375rem; border-radius: var(--radius-s); position: relative; transition: color var(--t-fast); }
.navbar__menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.navbar__menu > li > a:hover::after, .navbar__menu > li.current-menu-item > a::after { transform: scaleX(1); }
.navbar__menu > li > a:hover { color: #fff; }
.navbar__menu > li.is-hot > a { color: var(--orange); }
.navbar__menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; color: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-l); padding: 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--t) var(--ease); z-index: 70; }
.navbar__menu > li:hover > .sub-menu, .navbar__menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.navbar__menu .sub-menu a { display: block; padding: 9px 12px; border-radius: var(--radius-s); color: var(--navy); font-weight: 500; }
.navbar__menu .sub-menu a:hover { background: var(--surface); color: var(--navy); }
.navbar__help { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.92); font-size: .8125rem; line-height: 1.2; white-space: nowrap; }
.navbar__help .icon { color: var(--orange); width: 26px; height: 26px; }
.navbar__help:hover { color: #fff; }

/* Mega menu */
.mega { position: relative; }
.mega__toggle { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; background: var(--orange); color: var(--navy); font-weight: 700; font-size: .9375rem; min-width: 260px; transition: background var(--t-fast); }
.mega__toggle:hover { background: var(--orange-hover); }
.mega__toggle .icon--chevron { margin-left: auto; transform: rotate(90deg); transition: transform var(--t); }
.mega__toggle[aria-expanded="true"] .icon--chevron { transform: rotate(-90deg); }
.mega__panel { position: absolute; top: 100%; left: 0; width: 260px; background: #fff; color: var(--navy); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-l); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--t) var(--ease); z-index: 80; }
.mega.is-open .mega__panel, .mega:hover .mega__panel, .mega:focus-within .mega__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__list { list-style: none; margin: 0; padding: 8px 0; }
.mega__top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; font-weight: 600; font-size: .9rem; color: var(--navy); transition: background var(--t-fast); }
.mega__top img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.mega__top .icon--chevron { margin-left: auto; width: 16px; height: 16px; color: var(--slate); }
.mega__item:hover > .mega__top, .mega__item.is-active > .mega__top { background: var(--surface); color: var(--navy); }
.mega__sub { position: absolute; top: 0; left: 100%; width: min(760px, calc(100vw - 300px)); min-height: 100%; background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-l); padding: 24px 28px; opacity: 0; visibility: hidden; transition: opacity var(--t); display: flex; flex-direction: column; gap: 18px; }
.mega__item:hover > .mega__sub, .mega__item:focus-within > .mega__sub { opacity: 1; visibility: visible; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 28px; }
.mega__h { display: block; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.mega__col ul { list-style: none; margin: 0; padding: 0; }
.mega__col li a { display: block; padding: 4px 0; font-size: .875rem; color: var(--slate); }
.mega__col li a:hover, .mega__h:hover { color: var(--orange-hover); }
.mega__all { align-self: flex-start; margin-top: auto; }

/* Sticky compact header */
.site-header.is-stuck .mainbar { position: fixed; top: 0; left: 0; right: 0; z-index: 90; box-shadow: var(--shadow); animation: slideDown .3s var(--ease); }
.site-header.is-stuck .mainbar__inner { min-height: 68px; }
.site-header.is-stuck .brand img, .site-header.is-stuck .custom-logo { height: 40px; }
.site-header.is-stuck .search { height: 46px; }
.site-header.is-stuck .action__label { display: none; }
.site-header.is-stuck + .site-content, body.is-stuck .site-content { padding-top: 0; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Off-canvas */
.offcanvas { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.offcanvas.is-open { visibility: visible; }
.offcanvas__backdrop { position: absolute; inset: 0; background: rgba(9, 29, 56, .6); opacity: 0; transition: opacity var(--t); }
.offcanvas.is-open .offcanvas__backdrop { opacity: 1; }
.offcanvas__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: #fff; transform: translateX(-100%); transition: transform var(--t) var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-l); }
.offcanvas.is-open .offcanvas__panel { transform: translateX(0); }
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.offcanvas__head .brand img { height: 36px; }
.offcanvas__close { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.offcanvas__close:hover { background: var(--surface); }
.offcanvas__body { padding: 16px 20px 32px; overflow-y: auto; }
.offcanvas__label { margin: 14px 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.offcanvas__cats, .offcanvas__menu { list-style: none; margin: 0; padding: 0; }
.offcanvas__cats > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.offcanvas__cats > li > a, .offcanvas__menu a { flex: 1; display: block; padding: 12px 0; font-weight: 600; color: var(--navy); }
.offcanvas__more { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--slate); }
.offcanvas__more .icon { transition: transform var(--t); }
.offcanvas__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.offcanvas__cats > li > ul { display: none; flex-basis: 100%; list-style: none; margin: 0 0 10px; padding: 0 0 0 14px; }
.offcanvas__cats > li.is-open > ul { display: block; }
.offcanvas__cats > li > ul a { display: block; padding: 7px 0; color: var(--slate); font-size: .9375rem; }
.offcanvas__contact { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.offcanvas__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   4. Sections & home
   ========================================================================== */
.section { padding: 72px 0; }
.section--tight { padding: 36px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section__title { margin: 0; }
.section__sub { margin: 6px 0 0; color: var(--slate); max-width: 60ch; }
.section__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.section__link .icon { transition: transform var(--t) var(--ease); }
.section__link:hover .icon { transform: translateX(4px); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 80% -10%, #FFF1D6 0%, transparent 60%), linear-gradient(180deg, var(--surface) 0%, #fff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(13,41,77,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding: 64px 0 72px; }
.hero__title { margin: 0 0 18px; animation: rise .7s var(--ease) both; }
.hero__lead { font-size: 1.125rem; color: var(--slate); max-width: 56ch; margin-bottom: 28px; animation: rise .7s .08s var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; animation: rise .7s .16s var(--ease) both; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 30px 0 0; padding: 0; font-size: .875rem; font-weight: 600; color: var(--slate); animation: rise .7s .24s var(--ease) both; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--green); }
.hero__media { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; display: flex; align-items: center; justify-content: center; }
.hero__blob { position: absolute; inset: 9%; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: linear-gradient(135deg, var(--orange) 0%, #FFC860 100%); opacity: .95; animation: morph 14s ease-in-out infinite alternate; }
.hero__img { position: relative; width: 70%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(13,41,77,.25)); animation: floaty 7s ease-in-out infinite; }
.hero__card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(8px); font-size: .8125rem; line-height: 1.25; animation: rise .8s .4s var(--ease) both; }
.hero__card .icon { width: 30px; height: 30px; color: var(--orange-active); }
.hero__card strong { display: block; color: var(--navy); font-size: .9rem; }
.hero__card span { color: var(--slate); }
.hero__card--1 { left: 0; top: 18%; }
.hero__card--2 { right: 0; bottom: 14%; animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes morph { 0% { border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; } 100% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; } }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 20px; list-style: none; margin: 0; padding: 0; }
.tile a { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--navy); }
.tile__img { width: 150px; height: 150px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t-fast); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.tile a:hover .tile__img { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--orange); }
.tile a:hover .tile__img img { transform: scale(1.06); }
.tile__name { font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.tile__count { font-size: .75rem; color: var(--slate); margin-top: -8px; }

/* Tabs */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: 999px; }
.tab { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--slate); transition: all var(--t-fast); }
.tab:hover { color: var(--navy); }
.tab.is-active { background: var(--navy); color: #fff; box-shadow: var(--shadow-s); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Banners */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.banner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 16px; min-height: 300px; padding: 36px; border-radius: var(--radius-l); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.banner:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.banner--navy { background: radial-gradient(600px 300px at 100% 0%, var(--navy-soft), var(--navy) 60%); color: #fff; }
.banner--navy h3, .banner--navy p { color: #fff; }
.banner--navy p { opacity: .8; }
.banner--sand { background: linear-gradient(135deg, #FFF4E0, #FFE4B5); }
.banner--sand h3 { color: var(--navy); }
.banner--sand p { color: var(--slate); }
.banner h3 { font-size: 1.5rem; margin-bottom: 10px; }
.banner .btn { margin-top: 8px; pointer-events: none; }
.banner img { justify-self: center; max-height: 260px; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); transition: transform .6s var(--ease); }
.banner--navy img { mix-blend-mode: normal; }
.banner:hover img { transform: scale(1.05) rotate(-2deg); }

/* Scroller */
.scroller { position: relative; }
.scroller__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; }
.scroller__track::-webkit-scrollbar { display: none; }
.products.products--scroll { display: flex !important; gap: 20px; flex-wrap: nowrap; }
.products.products--scroll > li { flex: 0 0 calc(25% - 15px); scroll-snap-align: start; }
.scroller__btn { position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--navy); transition: all var(--t-fast); }
.scroller__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.scroller__btn--prev { left: -22px; } .scroller__btn--next { right: -22px; }

/* USPs */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.usp { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t-fast); }
.usp:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.usp__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-active); display: grid; place-items: center; }
.usp__icon .icon { width: 26px; height: 26px; }
.usp h3 { font-size: 1rem; margin-bottom: 4px; }
.usp p { margin: 0; font-size: .875rem; color: var(--slate); }

/* Brands */
.brands-section { background: var(--surface); }
.brands__label { text-align: center; color: var(--slate); font-size: .875rem; margin-bottom: 18px; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; list-style: none; margin: 0; padding: 0; }
.brands a { font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; color: #9AA7B8; transition: color var(--t-fast), transform var(--t) var(--ease); display: inline-block; }
.brands a:hover { color: var(--navy); transform: translateY(-2px); }

/* Posts */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16/9; background: var(--surface); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--orange); }
.post-card__ph .icon { width: 48px; height: 48px; }
.post-card__body { padding: 20px 22px 24px; }
.post-card time { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.post-card h3, .post-card h2 { font-size: 1.125rem; margin: 8px 0 8px; }
.post-card p { margin: 0; color: var(--slate); font-size: .9375rem; }

/* Help band */
.help { background: var(--navy); color: #fff; }
.help__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.help h2, .help h2 + p { color: #fff; }
.help h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.help__text > p { opacity: .82; max-width: 60ch; }
.help__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-card { background: #fff; color: var(--navy); border-radius: var(--radius-l); padding: 32px; box-shadow: var(--shadow-l); }
.store-card h3 { font-size: 1.375rem; margin-bottom: 10px; }
.store-card p { color: var(--slate); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
.reveal > .product-card, .tiles.reveal > .tile, .usps.reveal > .usp { transition-delay: calc(var(--i, 0) * 60ms); }

/* ==========================================================================
   5. Product cards & shop
   ========================================================================== */
ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 20px; list-style: none; margin: 0 0 30px; padding: 0; }
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
ul.products.columns-5 { grid-template-columns: repeat(5, 1fr); }
ul.products::before, ul.products::after, .woocommerce ul.products::before, .woocommerce ul.products::after, .woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product, .product-card { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t-fast); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.product-card__link { display: block; width: 100%; height: 100%; }
.product-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.product-card__img--alt { opacity: 0; }
.product-card:hover .product-card__img--alt { opacity: 1; }
.product-card:hover .product-card__img:not(.product-card__img--alt) { transform: scale(1.04); }
.product-card:hover .product-card__img--alt + .product-card__img, .product-card:has(.product-card__img--alt):hover .product-card__img:first-child { opacity: 0; }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.badge--sale { background: var(--red); color: #fff; }
.badge--new { background: var(--navy); color: #fff; }
.badge--out { background: var(--surface-2); color: var(--slate); }
.woocommerce span.onsale { display: none; }
.product-card__wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate); opacity: 0; transform: translateY(-6px); transition: all var(--t) var(--ease); }
.product-card:hover .product-card__wish, .product-card__wish:focus-visible { opacity: 1; transform: none; }
.product-card__wish:hover { color: var(--red); border-color: var(--red); }
.product-card__wish .icon { width: 18px; height: 18px; }
.product-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.product-card__cat { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.product-card__title { font-size: .9375rem; font-weight: 600; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.product-card__title a { color: var(--navy); }
.product-card__title a:hover { color: var(--orange-hover); }
.woocommerce .star-rating { font-size: .8rem; color: var(--orange); margin: 2px 0; }
.product-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.product-card__price .price { display: flex; flex-direction: column; font-weight: 800; color: var(--navy); font-size: 1.125rem; line-height: 1.15; }
.product-card__price .price del { font-weight: 500; font-size: .8rem; color: var(--slate); opacity: 1; }
.product-card__price .price ins { text-decoration: none; color: var(--red); }
.product-card__cta .button { min-height: 42px; padding: 8px 14px; font-size: .85rem; border-radius: var(--radius-s); white-space: nowrap; }
.product-card__cta .button.added::after { display: none; }
.product-card__cta .added_to_cart { display: none; }
.product-card__cta .button.loading { opacity: .7; }
.woocommerce .products .button { margin: 0; }
.yith-wcwl-add-to-wishlist { margin: 0 !important; font-size: .8125rem; }

/* Shop header & layout */
.shop-header { background: var(--surface); border-bottom: 1px solid var(--line); padding: 22px 0 26px; }
.shop-header__title { margin: 6px 0 4px; }
.shop-header__desc { color: var(--slate); max-width: 80ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8125rem; color: var(--slate); }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--navy); }
.crumbs .sep { opacity: .5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--navy); transition: all var(--t-fast); }
.chip span { color: var(--slate); font-weight: 500; }
.chip:hover { border-color: var(--navy); color: var(--navy); background: #fff; transform: translateY(-1px); }
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 28px; padding-bottom: 60px; }
.shop-layout.has-sidebar { grid-template-columns: 270px 1fr; }
.shop-sidebar__head { display: none; }
.shop-widget { padding: 18px 0; border-bottom: 1px solid var(--line); }
.shop-widget:first-child { padding-top: 0; }
.widget-title { font-size: .9375rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.shop-widget ul { list-style: none; margin: 0; padding: 0; }
.shop-widget li { padding: 5px 0; font-size: .9375rem; }
.shop-widget li a { color: var(--slate); }
.shop-widget li a:hover { color: var(--navy); }
.shop-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.shop-toolbar__filters { display: none; }
.woocommerce .woocommerce-result-count { margin: 0; color: var(--slate); font-size: .9rem; flex: 1; float: none; }
.woocommerce .woocommerce-ordering { margin: 0; float: none; }
.woocommerce .woocommerce-ordering select { width: auto; padding: 9px 36px 9px 12px; font-size: .9rem; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230D294D' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-s); border: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--surface); border-color: var(--navy); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--navy); background: var(--surface); border-radius: var(--radius-s); }
.woocommerce-message::before { color: var(--green); }
.woocommerce-info::before { color: var(--navy); }

/* Single product */
.single-product .shop-main { padding-top: 10px; }
.woocommerce div.product { display: block; }
.woocommerce div.product .product-summary-wrap, .woocommerce div.product > .woocommerce-product-gallery, .woocommerce div.product > .summary { margin-bottom: 40px; }
.woocommerce div.product div.images { width: 46%; }
.woocommerce div.product div.summary { width: 50%; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.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: 84px; float: none; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.woocommerce div.product div.images .flex-control-thumbs img { opacity: .6; transition: opacity var(--t-fast); }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 10px; }
.woocommerce div.product p.price { font-size: 1.75rem; font-weight: 800; color: var(--navy); margin: 10px 0 14px; }
.woocommerce div.product p.price del { font-size: 1rem; color: var(--slate); opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--red); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--slate); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 18px 0; }
.woocommerce div.product form.cart .variations { width: 100%; }
.woocommerce div.product form.cart .quantity { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.woocommerce .quantity .qty { width: 70px; border: 0; text-align: center; min-height: 48px; }
.woocommerce div.product form.cart .button { min-height: 48px; padding: 12px 28px; }
.woocommerce div.product .product_meta { font-size: .875rem; color: var(--slate); display: flex; flex-direction: column; gap: 4px; }
.trust-list { list-style: none; margin: 14px 0 0; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); display: grid; gap: 10px; font-size: .875rem; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate); }
.trust-list .icon { color: var(--navy); width: 20px; height: 20px; margin-top: 1px; }
.woocommerce div.product .woocommerce-tabs { clear: both; margin: 20px 0 50px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 26px; border-bottom: 2px solid var(--line); display: flex; gap: 6px; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 0 -2px; padding: 0; }
.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 a { padding: 12px 18px; font-weight: 600; color: var(--slate); border-bottom: 2px solid transparent; display: block; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--navy); border-bottom-color: var(--orange); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 1000px; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.woocommerce table.shop_attributes { border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; font-style: normal; }
.woocommerce table.shop_attributes tr:nth-child(odd) th, .woocommerce table.shop_attributes tr:nth-child(odd) td { background: var(--surface); }
.woocommerce table.shop_attributes th { width: 34%; color: var(--navy); }
.woocommerce table.shop_attributes td p { margin: 0; }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 { font-size: 1.5rem; margin-bottom: 20px; }

/* Cart / checkout / account */
.page-main--wc .entry-content { max-width: none; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; }
.woocommerce table.shop_table th { background: var(--surface); color: var(--navy); font-weight: 700; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top: 1px solid var(--line); padding: 14px 16px; }
.woocommerce table.shop_table thead th { border-top: 0; }
.woocommerce-cart table.cart img { width: 72px; border-radius: var(--radius-s); border: 1px solid var(--line); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce-checkout #payment { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.woocommerce-checkout #payment { background: var(--surface) !important; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: var(--radius-s); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce form .form-row label { font-weight: 600; font-size: .875rem; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: 48%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--navy); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--surface); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover { background: var(--navy); }

/* ==========================================================================
   6. Pages, entry content & legacy (Spectra) normalisation
   ========================================================================== */
.page-header { background: var(--surface); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.page-header--post { padding: 48px 0 20px; background: #fff; border: 0; text-align: center; }
.page-header--post .eyebrow { justify-content: center; }
.page-title { margin: 6px 0 0; }
.page-desc, .post-meta { color: var(--slate); }
.page-main { padding-bottom: 60px; }
.entry--page { padding: 36px 0 20px; }
.entry-content--narrow { max-width: 820px; }
.entry__thumb img { border-radius: var(--radius-l); margin-bottom: 28px; }
.entry-content { font-size: 1.0625rem; line-height: 1.75; }
.entry-content h2 { margin-top: 1.6em; font-size: 1.5rem; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); }
.entry-content table, .woocommerce-Tabs-panel table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .9375rem; }
.entry-content th, .entry-content td, .woocommerce-Tabs-panel th, .woocommerce-Tabs-panel td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th, .woocommerce-Tabs-panel th { background: var(--surface); color: var(--navy); }
.pisol-table-scroll { overflow-x: auto; margin: 1.2em 0; -webkit-overflow-scrolling: touch; }
.pisol-table-scroll table { margin: 0; min-width: 520px; }
.entry-content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--orange); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.entry-content .wp-block-button__link { border-radius: var(--radius-s); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; background: var(--surface); border-radius: 999px; font-size: .8125rem; }
.blog-layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 36px; }
.blog-layout:has(.blog-sidebar) { grid-template-columns: 1fr 300px; }
.error404-wrap { padding: 80px 0; max-width: 680px; }

/* Legacy product descriptions built with Spectra on the old shop: make the structure readable even without the plugin CSS. */
.woocommerce-Tabs-panel .wp-block-uagb-container, .entry-content .wp-block-uagb-container { display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 1em; }
.woocommerce-Tabs-panel .wp-block-uagb-container > *, .entry-content .wp-block-uagb-container > * { flex: 1 1 260px; min-width: 0; }
.woocommerce-Tabs-panel .wp-block-uagb-container .wp-block-uagb-container { margin: 0; }
.wp-block-uagb-advanced-heading { margin: 1.2em 0 .6em; }
.wp-block-uagb-advanced-heading .uagb-heading-text { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.wp-block-uagb-advanced-heading .uagb-desc-text { color: var(--slate); margin: 0; }
.wp-block-uagb-separator { margin: 1.2em 0; }
.wp-block-uagb-separator .wp-block-uagb-separator__inner, .uagb-separator { border-top: 1px solid var(--line); }
.wp-block-uagb-separator--text .uagb-html-tag { font-weight: 700; color: var(--navy); background: #fff; padding: 0 12px; }
.wp-block-uagb-separator--text .wp-block-uagb-separator__inner { display: flex; align-items: center; gap: 10px; border: 0; }
.wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before, .wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.wp-block-uagb-icon-list .uagb-icon-list__wrap, .wp-block-uagb-icon-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wp-block-uagb-icon-list-child { display: flex; align-items: flex-start; gap: 10px; }
.wp-block-uagb-icon-list-child .uagb-icon-list__source-wrap svg { width: 18px; height: 18px; fill: var(--orange-active); margin-top: 3px; }
.wp-block-uagb-info-box { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 1em; }
.wp-block-uagb-info-box .uagb-ifb-icon-wrap svg { width: 36px; height: 36px; fill: var(--orange-active); }
.wp-block-uagb-info-box .uagb-ifb-title { font-size: 1.1rem; font-weight: 700; margin: 10px 0 6px; }
.wp-block-uagb-info-box .uagb-ifb-desc { color: var(--slate); margin: 0; }
.wp-block-uagb-image img { border-radius: var(--radius); }
.wp-block-uagb-image--layout-overlay .wp-block-uagb-image--layout-overlay__inner { display: none; }
.wp-block-uagb-tabs .uagb-tabs__panel { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; border-bottom: 2px solid var(--line); }
.wp-block-uagb-tabs .uagb-tab { padding: 10px 16px; font-weight: 600; color: var(--slate); cursor: pointer; }
.wp-block-uagb-tabs .uagb-tabs__active, .wp-block-uagb-tabs .uagb-tab.uagb-tabs__active { color: var(--navy); box-shadow: inset 0 -2px 0 var(--orange); }
.wp-block-uagb-tabs .uagb-tabs__body-container > .uagb-tabs__body-wrap:not(.uagb-tabs-body__active) { display: none; }
.wp-block-uagb-slider .swiper-wrapper { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; transform: none !important; }
.wp-block-uagb-slider .swiper-slide { width: auto !important; }
.wp-block-uagb-slider .swiper-button-prev, .wp-block-uagb-slider .swiper-button-next, .wp-block-uagb-slider .swiper-pagination { display: none; }
.wp-block-uagb-image-gallery .wp-block-uagb-image-gallery-media-wrapper { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.uagb-container-inner-blocks-wrap { width: 100%; }
.woocommerce-Tabs-panel .wp-block-buttons, .woocommerce-Tabs-panel .wp-block-embed, .woocommerce-Tabs-panel .wp-block-uagb-forms { display: none; } /* old CTAs / forms inside descriptions */

/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); margin-top: 60px; }
.newsletter { background: var(--navy); }
.newsletter__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 36px 0; }
.newsletter h2 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.newsletter p { margin: 0; color: rgba(255,255,255,.75); }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.newsletter__form input[type="email"] { flex: 1; min-width: 220px; min-height: 48px; border: 0; }
.newsletter__msg { flex-basis: 100%; margin: 6px 0 0 !important; font-size: .875rem; color: var(--orange) !important; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer__col--brand .brand img { height: 48px; }
.footer__about { margin: 18px 0; font-size: .9375rem; }
.footer__contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--orange); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.footer__contact a, .footer__links a { color: rgba(255,255,255,.78); }
.footer__contact a:hover, .footer__links a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; transition: all var(--t-fast); }
.footer__social a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.footer__h { color: #fff; font-size: .9375rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9375rem; }
.footer__links a { position: relative; }
.footer__links a::before { content: "›"; margin-right: 8px; color: var(--orange); opacity: 0; transform: translateX(-6px); display: inline-block; transition: all var(--t-fast); }
.footer__links a:hover::before { opacity: 1; transform: none; }
.footer__brands { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px var(--gutter) 24px; border-top: 1px solid rgba(255,255,255,.08); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; color: rgba(255,255,255,.35); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; font-size: .8125rem; }
.footer__legal { margin: 0; color: rgba(255,255,255,.55); }
.payments { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.payments li { padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); font-weight: 600; font-size: .75rem; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow-l); display: grid; place-items: center; opacity: 0; transform: translateY(12px); transition: all var(--t) var(--ease); z-index: 100; pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); color: var(--navy); }

/* ==========================================================================
   8. Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  ul.products, ul.products.columns-5 { grid-template-columns: repeat(3, 1fr); }
  .products.products--scroll > li { flex-basis: calc(33.333% - 14px); }
  .usps { grid-template-columns: repeat(2, 1fr); }
  .mega__toggle { min-width: 230px; }
  .navbar__help span strong { display: none; }
}
@media (max-width: 1024px) {
  .mainbar__inner { grid-template-columns: auto auto 1fr auto; gap: 14px; min-height: 76px; }
  .mainbar__burger { display: inline-flex; }
  .search { grid-column: 1 / -1; grid-row: 2; height: 46px; margin-bottom: 14px; max-width: none; }
  .search__cat { display: none; }
  .navbar { display: none; }
  .hero__inner { grid-template-columns: 1fr; padding: 40px 0 48px; gap: 28px; }
  .hero__media { max-width: 420px; }
  .banners { grid-template-columns: 1fr; }
  .help__inner { grid-template-columns: 1fr; }
  .shop-layout.has-sidebar { grid-template-columns: 1fr; }
  .shop-sidebar { position: fixed; inset: 0 auto 0 0; width: min(360px, 90vw); background: #fff; z-index: 210; padding: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform var(--t) var(--ease); box-shadow: var(--shadow-l); }
  .shop-sidebar.is-open { transform: none; }
  .shop-sidebar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
  .shop-toolbar__filters { display: inline-flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100%; float: none; }
  .site-header.is-stuck .search { display: none; }
}
@media (max-width: 720px) {
  .topbar__right .topbar__menu { display: none; }
  .mainbar__inner { gap: 10px; }
  .action__label { display: none; }
  .action { padding: 8px; }
  .brand img, .custom-logo { height: 40px; }
  .section { padding: 48px 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .tile__img { width: 120px; height: 120px; }
  ul.products, ul.products.columns-3, ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .products.products--scroll > li { flex-basis: 70%; }
  .product-card__body { padding: 12px; }
  .product-card__foot { flex-direction: column; align-items: stretch; }
  .product-card__cta .button { width: 100%; }
  .usps, .posts-grid { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; padding: 26px; min-height: 0; }
  .banner img { max-height: 180px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .scroller__btn { display: none; }
  .woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: 100%; }
  .hero__card { display: none; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .tabs { width: 100%; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   9. v1.1 — promo banners (public.gr style), deals ribbon, contact page, legal pages, core filter widgets
   ========================================================================== */
/* Promo grid */
.promos { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: repeat(2, minmax(210px, auto)); gap: 20px; }
.promo { position: relative; display: flex; align-items: flex-end; min-height: 210px; padding: 28px; border-radius: var(--radius-l); overflow: hidden; isolation: isolate; color: #fff; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.promo--lg { grid-row: 1 / span 2; min-height: 440px; padding: 40px; }
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.promo__glow { position: absolute; right: -20%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 65%); z-index: 0; transition: transform .7s var(--ease); }
.promo:hover .promo__glow { transform: scale(1.15); }
.promo--navy { background: linear-gradient(135deg, #0D294D 0%, #1B3D6B 55%, #2D5A95 100%); }
.promo--orange { background: linear-gradient(135deg, #FC9B05 0%, #FFB63D 60%, #FFD08A 100%); color: var(--navy); }
.promo--sand { background: linear-gradient(135deg, #F4F7FA 0%, #E3EAF2 100%); color: var(--navy); }
.promo__body { position: relative; z-index: 2; max-width: 62%; }
.promo--lg .promo__body { max-width: 55%; }
.promo__pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.promo--orange .promo__pill, .promo--sand .promo__pill { background: rgba(13,41,77,.08); }
.promo__pill .icon { width: 1em; height: 1em; }
.promo__title { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.15; color: inherit; }
.promo--lg .promo__title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.promo__text { margin: 0 0 18px; font-size: .95rem; opacity: .85; }
.promo--lg .promo__text { font-size: 1.05rem; max-width: 42ch; }
.promo .btn { pointer-events: none; }
.promo__img { position: absolute; right: -4%; bottom: -6%; width: 46%; max-height: 80%; object-fit: contain; z-index: 1; filter: drop-shadow(0 24px 30px rgba(0,0,0,.28)); transition: transform .7s var(--ease); }
.promo--lg .promo__img { width: 44%; right: 2%; bottom: 6%; max-height: 78%; }
.promo--sand .promo__img { mix-blend-mode: multiply; filter: drop-shadow(0 20px 24px rgba(13,41,77,.18)); }
.promo:hover .promo__img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.promo__icon { position: absolute; right: 6%; bottom: 8%; z-index: 1; opacity: .18; }
.promo__icon .icon { width: 140px; height: 140px; }
.promo__count { position: absolute; top: 20px; right: 20px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--navy); font-size: .75rem; font-weight: 600; }
.promo--navy .promo__count { background: rgba(255,255,255,.14); color: #fff; }

/* Deals ribbon */
.ribbon { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 22px; margin-top: 20px; padding: 16px 22px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); color: var(--navy); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t-fast); }
.ribbon:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.ribbon__badge { display: grid; place-items: center; min-width: 92px; padding: 14px 12px; border-radius: 14px; background: var(--red); color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.ribbon__text strong { display: block; font-size: 1.125rem; }
.ribbon__text span { color: var(--slate); font-size: .9rem; }
.ribbon__thumbs { display: flex; }
.ribbon__thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; background: var(--surface); margin-left: -14px; box-shadow: var(--shadow-s); }
.ribbon__thumbs img:first-child { margin-left: 0; }
.ribbon .btn { pointer-events: none; }

/* Contact page */
.page-lead { margin: 8px 0 0; color: var(--slate); max-width: 62ch; font-size: 1.0625rem; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 48px 0 24px; }
.contact__cards { display: grid; gap: 14px; align-content: start; }
.contact-card { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t-fast); }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-active); display: grid; place-items: center; }
.contact-card > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.contact-card > span:last-child > span { font-weight: 600; font-size: 1.05rem; }
.contact-card small { color: var(--slate); }
.contact__form { padding: 28px; border-radius: var(--radius-l); background: var(--surface); }
.contact__form h2 { font-size: 1.375rem; margin: 0 0 18px; }
.pisol-form label, .wpcf7 label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.pisol-form input:not([type=checkbox]), .pisol-form textarea, .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), .wpcf7 textarea, .wpcf7 select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; font: inherit; color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.pisol-form input:focus, .pisol-form textarea:focus, .wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,41,77,.12); }
.pisol-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pisol-form__check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; }
.pisol-form__check input { margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; }
.wpcf7-submit { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-s); background: var(--orange); color: var(--navy); font: inherit; font-weight: 600; border: 0; cursor: pointer; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t-fast); }
.wpcf7-submit:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.wpcf7 .wpcf7-response-output { border-radius: var(--radius-s); margin: 14px 0 0; padding: 12px 16px; }
.wpcf7 .wpcf7-spinner { display: none; }
.notice-box { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--radius-s); margin-bottom: 16px; font-weight: 500; }
.notice-box--ok { background: #E6F6EE; color: var(--green); }
.notice-box--error { background: #FDE8EB; color: var(--red); }
.contact__map { padding-bottom: 56px; }
.contact__map iframe { display: block; border-radius: var(--radius-l); box-shadow: var(--shadow-s); }

/* Legal / info pages */
.legal-nav { margin: 0 0 24px; }
.legal-nav .chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pisol-legal h2 { font-size: 1.3rem; margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.pisol-legal > h2:first-child { border: 0; padding-top: 0; margin-top: 0; }
.pisol-legal__updated { margin-top: 2.5em; font-size: .875rem; color: var(--slate); }
.pisol-legal ol, .pisol-legal ul { padding-left: 1.3em; }
.pisol-legal li { margin: .35em 0; }
.pisol-legal th[scope=row] { width: 34%; }

/* WooCommerce core filter widgets in the shop sidebar */
.shop-widget .product-categories li, .shop-widget .woocommerce-widget-layered-nav-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.shop-widget .product-categories .count, .shop-widget .woocommerce-widget-layered-nav-list .count { margin-left: auto; font-size: .72rem; color: var(--slate); background: var(--surface); padding: 1px 8px; border-radius: 999px; }
.shop-widget .product-categories .children { width: 100%; padding-left: 14px; }
.shop-widget .current-cat > a, .shop-widget .chosen > a { color: var(--navy); font-weight: 600; }
.shop-widget .chosen > a::before { content: "✓ "; color: var(--green); }
.shop-widget.widget_price_filter .price_slider { position: relative; height: 4px; background: var(--line); border-radius: 2px; margin: 18px 9px 22px; }
.shop-widget.widget_price_filter .ui-slider .ui-slider-range { position: absolute; height: 100%; background: var(--orange); border-radius: 2px; }
.shop-widget.widget_price_filter .ui-slider .ui-slider-handle { position: absolute; top: -7px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); cursor: grab; }
.shop-widget.widget_price_filter .price_slider_amount { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .875rem; }
.shop-widget.widget_price_filter .price_slider_amount .button { min-height: 36px; padding: 6px 14px; font-size: .85rem; order: 2; }
.shop-widget.widget_price_filter .price_label { color: var(--slate); order: 1; }
.shop-widget .wc-layered-nav-rating a { display: inline-flex; align-items: center; gap: 6px; }
.shop-widget .woocommerce-widget-layered-nav-dropdown__submit { display: none; }
.shop-widget.widget_layered_nav_filters li a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--navy); font-size: .85rem; }

@media (max-width: 1024px) {
  .promos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .promo--lg { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
  .contact__grid { grid-template-columns: 1fr; }
  .ribbon { grid-template-columns: auto 1fr; }
  .ribbon__thumbs { display: none; }
  .ribbon .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 720px) {
  .promos { grid-template-columns: 1fr; }
  .promo, .promo--lg { min-height: 250px; padding: 24px; }
  .promo__body, .promo--lg .promo__body { max-width: 72%; }
  .promo__img, .promo--lg .promo__img { width: 42%; right: -8%; bottom: -4%; }
  .promo--lg .promo__title { font-size: 1.6rem; }
  .promo__count { display: none; }
  .pisol-form__row { grid-template-columns: 1fr; }
  .contact__grid { padding-top: 28px; gap: 24px; }
  .contact__form { padding: 20px; }
  .ribbon { gap: 14px; padding: 14px; }
}
