/* =========================================================
   CG Derma — theme styles
   Breakpoints follow the live site: 1279px (tablet), 720px (mobile)
   ========================================================= */

@font-face {
  font-family: "UBOptima";
  src: url("../fonts/UB-Optima.woff2") format("woff2");
  font-weight: 100 900; /* single cut: never synthesise a bold */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Book.woff2") format("woff2");
  font-weight: 100 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Medium.woff2") format("woff2");
  font-weight: 500 900; /* boldest cut available: used for bold too */
  font-style: normal;
  font-display: swap;
}

:root {
  --cg-black: #181717;
  --cg-text: #181717;
  --cg-muted: #666666;
  --cg-light: #cfcfcf;
  --cg-line: #e9e9e9;
  --cg-grey: #d3d3d3;
  --cg-white: #ffffff;
  --cg-heading: "UBOptima", sans-serif;
  --cg-body: "Gotham", sans-serif;
  /* Two families only. Work Sans / Marcellus / Montserrat (live) have no Greek glyphs:
     Greek text fell back to a system font. UI text uses Gotham, display text UBOptima. */
  --cg-ui: var(--cg-body);
  --cg-display: var(--cg-heading);
  --cg-success: #6b6608;
  --cg-error: #a8454a;
  --cg-gutter: 80px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-synthesis: none;
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 1.56em;
  color: var(--cg-text);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--cg-heading);
  font-weight: normal;
  color: var(--cg-text);
}

/*=== UTILITY CLASSES ===*/

.cg-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.cg-icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* buttons */
.cg-button {
  display: inline-block;
  font-family: var(--cg-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.42em;
  color: var(--cg-black);
  background-color: #fff;
  border: 1px solid var(--cg-line);
  padding: 18px 40px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.cg-button-white {
  border-color: #fff;
}

@media (hover: hover) {
  .cg-button:hover {
    background-color: var(--cg-black);
    border-color: var(--cg-black);
    color: #fff;
  }
}

/* section titles */
.cg-section-title {
  font-family: var(--cg-heading);
  font-size: 32px;
  line-height: 1.23em;
}

.cg-section-text {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 1.56em;
  color: var(--cg-muted);
  margin-top: 20px;
}

/*=== TOP BAR ===*/

.cg-topbar {
  background-color: var(--cg-black);
  padding: 8px 0;
}

.cg-topbar-text {
  font-family: var(--cg-body);
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  text-align: center;
}

.cg-topbar-text a {
  color: #fff;
  text-decoration: underline;
}

/*=== HEADER ===*/

/* every in-page link (hero scroll hint, table of contents, «Εμφάνιση προϊόντων») stops below the sticky header */
html {
  scroll-padding-top: 190px; /* header 166 + 24 */
}

@media (max-width: 1279px) {
  html {
    scroll-padding-top: 112px; /* header 87 + 24 */
  }
}

.cg-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

body.admin-bar .cg-site-header {
  top: 32px;
}

.cg-header {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid rgba(211, 211, 211, 0.4);
  transition: padding 0.3s;
}

.cg-header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 85px;
  padding: 0 42px;
}

.cg-nav-menu {
  display: flex;
  align-items: center;
  gap: 0 32px;
}

/* menu items never break in two («Η Γιατρός», «E-shop»); between 1280 and 1400 the menu column is narrower than
   the six items with 32px between them, so the space shrinks there */
.cg-nav-menu > li > a {
  white-space: nowrap;
}

@media (min-width: 1280px) and (max-width: 1399px) {
  .cg-nav-menu {
    gap: 0 clamp(16px, calc((100vw - 1280px) * 0.13 + 16px), 32px);
  }
}

.cg-nav-menu > li {
  position: relative;
}

.cg-nav-menu a {
  display: block;
  font-family: var(--cg-ui);
  font-size: 15px;
  line-height: 15px;
  color: #000;
  padding: 1.5px 0;
  transition: opacity 0.3s;
}

.cg-nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 220px;
  padding: 20px 0;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.cg-nav-menu > li > .sub-menu {
  margin-top: 30px;
}

.cg-nav-menu .sub-menu .sub-menu {
  top: -20px;
  left: 100%;
}

.cg-nav-menu .sub-menu a {
  padding: 8px 20px;
}

.cg-nav-menu li:hover > .sub-menu,
.cg-nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* E-shop mega menu (template-parts/header/shop-mega.php): full width under the sticky header.
   Hierarchy (as the shop filters): group titles in black medium caps → links in grey, black on hover
   → «Όλα τα προϊόντα» in black medium.
   Spacing from the scale: 12 between links, 16 under a label, 32 inside a group, 96 between groups. */
.cg-nav-menu > li.cg-has-mega {
  position: static; /* the panel is placed against .cg-site-header */
}

/* bridge from the menu row down to the panel, so it stays open while the pointer moves
   (on the panel, not the link: the link's focus outline stays the link's size) */
.cg-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 40px;
}

.cg-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background-color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
}

.cg-nav-menu > li.cg-has-mega:hover > .cg-mega,
.cg-nav-menu > li.cg-has-mega:focus-within > .cg-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.cg-mega-inner {
  display: grid;
  /* the two link groups as wide as their longest link (no wrapped names); the brands take the rest of the row */
  grid-template-columns: max-content max-content minmax(0, 1fr);
  column-gap: 96px;
  padding: 48px 42px 56px; /* 42: same left / right edge as the menu */
}

@media (max-width: 1439px) {
  .cg-mega-inner {
    column-gap: 64px;
  }
}

.cg-mega-title {
  font-family: var(--cg-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cg-black);
  margin: 0 0 16px;
}

.cg-mega-cats .cg-mega-list {
  columns: 2;
  column-gap: 32px; /* clearly less than between groups: one group in two columns */
}

.cg-mega-list li {
  break-inside: avoid;
  margin-bottom: 12px;
}

.cg-nav-menu .cg-mega a {
  display: inline-block;
  font-size: 15px;
  line-height: 1.4;
  color: var(--cg-muted);
  padding: 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}

.cg-nav-menu .cg-mega a:hover,
.cg-nav-menu .cg-mega a:focus-visible {
  color: var(--cg-black);
  text-decoration-color: currentColor;
}

.cg-nav-menu .cg-mega .cg-mega-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px; /* apart from the list: an action, not one more category */
  font-weight: 500;
  color: var(--cg-black);
}

.cg-mega-all .cg-icon-arrow {
  width: 16px;
  height: 16px;
}

/* brand logos: one row of equal tiles (the files have different margins), the grey of the product images;
   a tile is never wider than 240px, so on wide screens the row does not stretch the logos apart */
.cg-mega-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 240px));
  gap: 16px;
}

.cg-nav-menu .cg-mega-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 88px;
  padding: 0 16px;
  background-color: #f6f6f6;
  transition: background-color 0.2s;
}

.cg-nav-menu .cg-mega-logos a:hover,
.cg-nav-menu .cg-mega-logos a:focus-visible {
  background-color: #ececec;
}

.cg-mega-logos img {
  display: block;
  width: 100%;
  max-width: 168px;
  height: 40px;
  object-fit: contain;
  mix-blend-mode: multiply; /* logos on white grounds take the tile's grey */
}

@media (prefers-reduced-motion: reduce) {
  .cg-mega {
    transition: none;
  }
}

/* bridge so the dropdown does not close while moving the pointer down */
.cg-nav-menu > li.menu-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 32px;
}

.cg-logo {
  display: block;
  width: 130px;
}

.cg-header-user-column {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding-right: 25px;
}

.cg-cart-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--cg-body);
  font-size: 14px;
  line-height: 25px;
  color: var(--cg-black);
}

.cg-cart-toggle .cg-icon-bag {
  width: 18px;
  height: 18px;
  fill: none;
}

.cg-account-link {
  display: block;
  width: 18px;
  height: 18px;
}

.cg-hamburger {
  display: none;
  width: 34px;
  height: 34px;
}

.cg-icon-burger line {
  stroke: var(--cg-black);
  stroke-width: 7;
}

/* mobile menu panel */
.cg-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(18, 18, 18, 0); /* the backdrop fades in, the panel stays solid */
  transition: background-color 0.3s ease;
}

.cg-mobile-menu[hidden] {
  display: none;
}

.cg-mobile-menu.is-open {
  background-color: rgba(18, 18, 18, 0.45);
}

.cg-mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100%);
  background-color: #fff;
  padding: 80px var(--cg-gutter, 30px) 40px;
  overflow-y: auto;
  transform: translateX(100%); /* slides in from the right, the side of the menu button */
  transition: transform 0.3s ease;
}

.cg-mobile-menu.is-open .cg-mobile-menu-inner {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cg-mobile-menu,
  .cg-mobile-menu-inner {
    transition: none;
  }
}

.cg-mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 26px;
  height: 26px;
}

.cg-icon-close path {
  fill: none;
  stroke: var(--cg-black);
  stroke-width: 1.5;
}

.cg-mobile-nav a {
  display: block;
  font-family: var(--cg-ui);
  font-size: 18px;
  line-height: 1.4;
  padding: 10px 0;
}

.cg-mobile-nav .sub-menu {
  padding-left: 18px;
}

.cg-mobile-nav .sub-menu a {
  font-size: 16px;
  color: var(--cg-muted);
}

/* E-shop in the mobile menu: the link, and a button that opens its categories */
.cg-mobile-nav li.cg-has-sub-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.cg-mobile-nav li.cg-has-sub-toggle > a {
  flex: 1 1 auto;
}

.cg-sub-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  color: var(--cg-black);
}

.cg-sub-toggle .cg-icon {
  width: 20px;
  height: 20px;
  fill: none; /* thin chevron, like the other line icons */
  transition: transform 0.2s;
}

.cg-sub-toggle[aria-expanded="true"] .cg-icon {
  transform: rotate(180deg);
}

.cg-mobile-shop-sub {
  flex-basis: 100%;
}

.cg-mobile-nav .cg-mobile-shop-all a {
  color: var(--cg-black);
  font-weight: 500;
}

body.cg-menu-open {
  overflow: hidden;
}

/* floating buttons (booking, phone, cookies) would sit on the open menu */
body.cg-menu-open .cg-float-actions,
body.cg-menu-open #cmplz-manage-consent {
  display: none;
}

/*=== FLOATING ACTIONS ===*/

.cg-float-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cg-float-btn {
  display: block;
  width: 48px;
  height: 48px;
  padding: 9px;
  border: 2px solid var(--cg-black);
  border-radius: 50%;
  background-color: #fff;
  color: #000;
}

/*=== HOME: HERO ===*/

.cg-hero {
  background-color: var(--cg-black);
}

.cg-hero-swiper {
  height: 70vh;
}

.cg-hero-slide {
  position: relative;
  overflow: hidden;
  background-color: #d7dde8;
}

.cg-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* white titles on photos: a soft glow (blur only, no offset) keeps them readable on light pictures */
.cg-split-title,
.cg-page-hero-title,
.cg-blog-hero-title {
  text-shadow: 0 0 24px rgba(24, 23, 23, 0.35);
}

/* white text sits on the left of light photos: a soft shade behind it keeps it readable on every slide */
.cg-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 23, 23, 0.45) 0%, rgba(24, 23, 23, 0.2) 45%, rgba(24, 23, 23, 0) 70%);
  pointer-events: none;
}

.cg-hero-content {
  z-index: 1;
}

.cg-hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 173px;
}

.cg-hero-subtitle {
  font-family: var(--cg-ui);
  font-size: 17px;
  line-height: 1.5em;
  color: #fff;
}

.cg-hero-title {
  font-family: var(--cg-display);
  font-size: 52px;
  line-height: 1.2em;
  color: #fff;
  margin-top: 23px;
}

.cg-hero-content .cg-button {
  margin-top: 34px;
  line-height: 15px;
  padding: 18px 36px;
}

.cg-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.cg-hero-arrow .cg-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.cg-hero-prev {
  left: 47px;
}

.cg-hero-next {
  right: 29px;
}

.cg-hero-swiper:hover .cg-hero-arrow {
  opacity: 1;
}

/*=== HOME: BEST SELLERS ===*/

.cg-best {
  padding-top: 82px;
}

.cg-best-swiper {
  margin-top: 46px;
}

/*=== PRODUCT CARD ===*/

.cg-product-card {
  text-align: center;
}

/* one frame for every product card: the ratio of most product photos (744×798, 110 of 136 within 1%),
   the whole photo shown (contain), never cropped. White frame: most photos have a white ground, so the
   space left by a different ratio does not show; the grey Dermaceutic photos are exactly 744×798 */
.cg-product-card-img {
  position: relative;
  display: block;
  aspect-ratio: 744 / 798;
  background-color: #fff;
  overflow: hidden;
}

.cg-product-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s;
}

.cg-product-card-hover {
  opacity: 0;
}

/* out of stock: the same badge as the service cards, and the photo steps back (the text says it, not only the fade) */
.cg-product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-family: var(--cg-body);
  font-size: 12px;
  line-height: 1em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--cg-black);
  padding: 6px 12px;
}

.is-out-of-stock .cg-product-card-main {
  opacity: 0.5;
}

/* no hover on touch screens: hidden, so the lazy image is never downloaded */
@media (hover: none) {
  .cg-product-card-hover {
    display: none;
  }
}

@media (hover: hover) {
  .cg-product-card-img.has-hover:hover .cg-product-card-hover {
    opacity: 1;
  }
}

.cg-product-card-title {
  font-family: var(--cg-ui);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.44em;
  margin-top: 24px;
}

.cg-product-card-price {
  font-family: var(--cg-ui);
  font-size: 14px;
  line-height: 1.28em;
  margin-top: 6px;
}

.cg-product-card-price del {
  color: var(--cg-muted);
  margin-right: 6px;
}

.cg-product-card-price ins {
  text-decoration: none;
}

/*=== HOME: SPLIT CARDS ===*/

.cg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 100px 32px 0;
}

.cg-split-card {
  position: relative;
  min-height: 648px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
  background-color: var(--cg-black);
}

.cg-split-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cg-split-card.has-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--cg-black);
  opacity: 0.2;
}

.cg-split-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cg-split-title {
  font-family: var(--cg-display);
  font-size: 36px;
  line-height: 1.23em;
  color: #fff;
}

.cg-split-content .cg-button {
  margin-top: 24px;
  padding: 15px 40px;
}

/*=== HOME: STATIC HERO ===*/
/* the client's sample (18/11): warm photo, text on the left of it, label, short rule, serif h1, text, one light button */

.cg-shero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 78vh, 820px);
  overflow: hidden;
  background-color: #8a7566; /* the tone of the photo while it loads */
}

.cg-shero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* the photo is light: a warm shade from the left keeps the white text at 4.5:1 or more */
.cg-shero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(62, 48, 39, 0.66) 0%, rgba(62, 48, 39, 0.6) 38%, rgba(62, 48, 39, 0) 68%);
  pointer-events: none;
}

.cg-shero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 80px;
  color: #fff;
}

.cg-shero-label {
  font-family: var(--cg-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

/* the short rule under the label */
.cg-shero-label::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 28px;
  background-color: rgba(255, 255, 255, 0.8);
}

.cg-shero-title {
  font-family: var(--cg-display);
  font-weight: 400;
  color: #fff; /* the theme's h1 sets its own colour */
  font-size: 56px;
  line-height: 1.18;
  max-width: 11em;
  margin-top: 32px;
}

.cg-shero-text {
  font-family: var(--cg-body);
  font-size: 18px;
  line-height: 1.7;
  max-width: 28em;
  margin-top: 28px;
  color: #fff;
}

/* the one action: light warm button with an arrow, as in the sample */
.cg-shero-book {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding: 20px 32px 20px 40px;
  font-family: var(--cg-ui);
  font-size: 16px;
  line-height: 1.4;
  color: var(--cg-black);
  background-color: #f4efe9;
  transition: background-color 0.3s;
}

.cg-shero-book .cg-icon-arrow {
  width: 24px;
  height: 24px;
  flex: none;
  transition: transform 0.3s;
}

@media (hover: hover) {
  .cg-shero-book:hover {
    background-color: #fff;
  }

  .cg-shero-book:hover .cg-icon-arrow {
    transform: translateX(4px);
  }
}

/* wide screens: the photo keeps its 3:2 shape on the right (it is 1536px wide: covering 1920px would enlarge it
   and cut the eyes), and fades into the colour of its wall on the left */
@media (min-width: 1280px) {
  .cg-shero {
    background-color: #d6c8bb;
  }

  .cg-shero-img {
    left: auto;
    right: 0;
    width: auto;
    max-width: none;
    aspect-ratio: 3 / 2;
    object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
}

@media (max-width: 1279px) {
  .cg-shero-content {
    padding: 64px var(--cg-gutter);
  }

  /* 1024–1279: the text takes half the width, so the shade reaches a little further, and stops before the face */
  .cg-shero::after {
    background: linear-gradient(90deg, rgba(62, 48, 39, 0.68) 0%, rgba(62, 48, 39, 0.62) 50%, rgba(62, 48, 39, 0) 76%);
  }
}

/* tablets and phones: the photo on top (the face whole, never under the text), the text under it on the white
   of the site, in black */
@media (max-width: 1023px) {
  .cg-shero {
    display: block;
    min-height: 0;
    background-color: #fff;
  }

  .cg-shero-content,
  .cg-shero-label,
  .cg-shero-title,
  .cg-shero-text {
    color: var(--cg-black);
  }

  .cg-shero-label::after {
    background-color: var(--cg-black);
  }

  /* the warm tone of the photo fading out under it */
  .cg-shero-content {
    background: linear-gradient(45deg, #b6a292, transparent);
  }

  /* the button of the client's mobile sample (19/11): the warm grey of the photo, capitals; white on it 5:1 */
  .cg-shero-book {
    color: #fff;
    background-color: #806b5c;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  @media (hover: hover) {
    .cg-shero-book:hover {
      color: #fff;
      background-color: #6b594c;
    }
  }

  .cg-shero-img {
    position: relative;
    display: block;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .cg-shero::after {
    content: none;
  }

  .cg-shero-content {
    padding: 48px var(--cg-gutter) 56px;
  }
}

/* phones (client's mobile sample, 19/11): a lower photo and tight spacing, so the first screen shows the photo,
   the label, the h1, the text and the button */
@media (max-width: 720px) {
  .cg-shero-img {
    height: 265px;
    aspect-ratio: auto;
    object-position: 72% 30%;
  }

  .cg-shero-content {
    padding: 24px var(--cg-gutter) 32px;
  }

  .cg-shero-label {
    font-size: 12px;
    line-height: 1.7;
  }

  .cg-shero-label::after {
    width: 48px;
    margin-top: 14px;
  }

  .cg-shero-title {
    max-width: none; /* the 11em of the desktop made it 4 lines */
    margin-top: 16px;
    line-height: 1.2;
  }

  .cg-shero-text {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 12px;
  }

  .cg-shero-book {
    gap: 16px;
    margin-top: 20px;
    padding: 16px 24px;
    font-size: 13px;
  }

  /* the round phone / booking buttons stay out of the way while the hero is on screen: it has its own booking
     button. Hidden from the start by CSS (FlyingPress runs the scripts only after the first touch), shown by app.js
     («cg-hero-out») once the hero has scrolled away */
  .cg-float-actions,
  #cmplz-manage-consent {
    transition: opacity 0.25s, visibility 0s linear 0s;
  }

  /* the cookie settings bubble too: it sat on the first of the three points */
  body:has(.cg-shero):not(.cg-hero-out) .cg-float-actions,
  body:has(.cg-shero):not(.cg-hero-out) #cmplz-manage-consent {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0s linear 0.25s;
  }
}

/*=== HOME: THE DOCTOR ===*/

.cg-hdoc {
  padding-top: 120px;
}

.cg-hdoc-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 96px;
  align-items: center;
  max-width: 1140px;
}

/* landscape photo, shown as a portrait: the doctor sits on the right of the frame */
.cg-hdoc-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 90% 50%;
}

.cg-hdoc-label {
  font-family: var(--cg-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cg-muted);
}

.cg-hdoc-name {
  font-family: var(--cg-heading);
  font-size: 36px;
  line-height: 1.2;
  margin-top: 12px;
}

.cg-hdoc-role {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--cg-muted);
  margin-top: 8px;
}

.cg-hdoc-text {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 1.6;
  max-width: 34em;
  margin-top: 24px;
}

.cg-hdoc-points {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--cg-line);
}

.cg-hdoc-points li {
  font-family: var(--cg-body);
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 0;
  border-top: 1px solid var(--cg-line);
}

.cg-hdoc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 32px;
}

/* the one primary action of the section: solid */
.cg-hdoc .cg-hdoc-book {
  background-color: var(--cg-black);
  border-color: var(--cg-black);
  color: #fff;
}

.cg-hdoc-bio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cg-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--cg-black);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cg-hdoc-bio .cg-icon {
  width: 16px;
  height: 16px;
}

@media (hover: hover) {
  .cg-hdoc .cg-hdoc-book:hover {
    background-color: #fff;
    color: var(--cg-black);
  }

  .cg-hdoc-bio:hover {
    text-decoration: none;
  }
}

@media (max-width: 1279px) {
  .cg-hdoc {
    padding-top: 80px;
  }

  .cg-hdoc-inner {
    gap: 48px;
    align-items: start; /* the text column is taller than the photo here: photo starts with the text */
  }
}

@media (max-width: 720px) {
  .cg-hdoc {
    padding-top: 48px;
  }

  .cg-hdoc-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cg-hdoc-img img {
    aspect-ratio: 1 / 1;
  }

  .cg-hdoc-name {
    font-size: 30px;
  }
}

/*=== HOME: GOOGLE REVIEWS (plugin markup, .tngr) ===*/
/* The plugin's own look (grey rounded bar, blue pill, shadows, round cards, centred text in a fixed-height card)
   is redrawn in the site's style: flat, square, one line colour, left-aligned text that is never cut. */

.cg-reviews {
  padding-top: 120px;
}

.cg-reviews .tngr {
  --tngr-gap: 20px;
}

.cg-reviews .tngr-header {
  align-items: flex-end;
  gap: 24px;
  padding: 0 0 24px;
  background: none;
  border-radius: 0;
  border-bottom: 1px solid var(--cg-line);
}

.cg-reviews .tngr-brand {
  gap: 8px;
  font-family: var(--cg-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cg-muted);
}

.cg-reviews .tngr-brand img {
  width: 60px;
  height: 20px;
}

.cg-reviews .tngr-summary {
  gap: 12px;
  margin-top: 12px;
  font-family: var(--cg-body);
  font-size: 15px;
  color: var(--cg-muted);
}

.cg-reviews .tngr-avg {
  font-family: var(--cg-heading);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: var(--cg-black);
}

.cg-reviews .tngr-count strong {
  font-weight: 500;
  color: var(--cg-black);
}

/* secondary action of the section: the site's outline button */
.cg-reviews .tngr-write {
  font-family: var(--cg-ui);
  font-size: 15px;
  line-height: 1.4;
  padding: 14px 24px;
  border: 1px solid var(--cg-black);
  border-radius: 0;
  background: #fff;
  color: var(--cg-black) !important;
  transition: background-color 0.3s, color 0.3s;
}

@media (hover: hover) {
  .cg-reviews .tngr-write:hover {
    background: var(--cg-black);
    color: #fff !important;
  }
}

.cg-reviews .tngr-slider {
  margin-top: 32px;
}

.cg-reviews .tngr-track {
  padding: 0;
  align-items: flex-start; /* each card as tall as its own review: no empty boxes next to a long one */
}

/* card: avatar, name, stars and date on top, the whole review under them */
.cg-reviews .tngr-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  height: auto;
  padding: 24px;
  text-align: left;
  border: 1px solid var(--cg-line);
  border-radius: 0;
  box-shadow: none;
}

.cg-reviews .tngr-avatar {
  position: static;
  grid-row: 1 / span 3;
  width: 48px;
  height: 48px;
  transform: none;
}

.cg-reviews .tngr-avatar span {
  font-size: 20px;
}

.cg-reviews .tngr-g {
  top: 24px;
  right: 24px;
  left: auto;
  width: 16px;
  height: 16px;
}

.cg-reviews .tngr-name {
  grid-column: 2;
  padding-right: 24px;
  font-family: var(--cg-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  color: var(--cg-black) !important;
}

.cg-reviews .tngr-card .tngr-stars {
  grid-column: 2;
  margin-top: 4px;
}

.cg-reviews .tngr-card .tngr-star {
  width: 14px;
  height: 14px;
}

.cg-reviews .tngr-date {
  grid-column: 2;
  margin-top: 4px;
  font-family: var(--cg-body);
  font-size: 13px;
  color: var(--cg-muted);
}

.cg-reviews .tngr-text {
  grid-column: 1 / -1;
  margin-top: 16px;
  font-family: var(--cg-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--cg-text);
  overflow: visible;
}

/* arrows: the square, flat look of the site; hidden when every card fits */
.cg-reviews .tngr-nav {
  top: 50%;
  border: 1px solid var(--cg-line);
  border-radius: 0;
  box-shadow: none;
}

.cg-reviews .tngr-nav::before {
  border-color: var(--cg-black);
  border-width: 0 0 1.5px 1.5px;
}

.cg-reviews .tngr-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.cg-reviews .tngr.is-static .tngr-nav {
  display: none;
}

@media (max-width: 1279px) {
  .cg-reviews {
    padding-top: 80px;
  }
}

@media (max-width: 720px) {
  .cg-reviews {
    padding-top: 48px;
  }

  /* one card and the edge of the next, so it is clear there are more */
  .cg-reviews .tngr {
    --tngr-per-view: 1.15;
    --tngr-gap: 12px;
  }

  .cg-reviews .tngr-header {
    align-items: flex-start;
  }

  .cg-reviews .tngr-avg {
    font-size: 30px;
  }

  .cg-reviews .tngr-nav {
    display: none;
  }
}

/*=== HOME: FEATURED CATEGORY PRODUCTS ===*/

.cg-feat {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  padding: 110px 0 0 70px;
}

.cg-feat-title {
  font-family: var(--cg-heading);
  font-size: 42px;
  line-height: 1.26em;
}

.cg-feat-intro {
  padding-bottom: 82px;
}

.cg-feat-text {
  font-family: var(--cg-ui);
  font-size: 16px;
  line-height: 1.56em;
  color: var(--cg-muted);
  max-width: 330px;
  margin-top: 22px;
}

.cg-feat-intro .cg-button {
  margin-top: 38px;
  padding-right: 56px;
}

.cg-feat-swiper {
  width: 100%;
  padding-bottom: 40px;
}

.cg-feat-swiper .swiper-slide {
  width: 364px;
}

.cg-feat-swiper .cg-product-card {
  padding: 0 15px;
}

.cg-feat-swiper .cg-product-card-img {
  margin: 0 -15px;
}

.cg-feat-scrollbar.swiper-scrollbar {
  position: absolute;
  left: 0;
  right: 70px;
  bottom: 0;
  width: auto;
  height: 1px;
  background-color: var(--cg-line);
  border-radius: 0;
}

.cg-feat-scrollbar .swiper-scrollbar-drag {
  background-color: var(--cg-line);
  border-radius: 0;
}

/*=== HOME: BRANDS ===*/

.cg-brands {
  padding-top: 120px;
}

.cg-brands-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.cg-brands-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cg-brands-title {
  font-family: var(--cg-body);
  font-size: 23px;
  line-height: 1em;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.cg-brands-line {
  flex: 1;
  height: 1px;
  background-color: var(--cg-grey);
}

.cg-brands-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 30px 10px 0;
}

.cg-brand-logo {
  display: block;
  max-width: 360px;
}

/*=== HOME: PROTOCOLS ===*/

.cg-protocols {
  padding-top: 136px;
}

.cg-protocols-grid {
  display: grid;
  grid-template-columns: 626fr 307fr 307fr;
  gap: 20px;
  margin-top: 41px;
  align-items: start;
}

.cg-protocol-img {
  display: block;
}

/* every card image fills its column at the same height (portrait and landscape photos alike) */
.cg-protocol-img img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.cg-protocol-title {
  font-family: var(--cg-display);
  font-size: 24px;
  line-height: 1.26em;
  margin-top: 26px;
}

.cg-protocol-title .cg-icon-arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: -2px;
  margin-left: 6px;
}

.cg-icon-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.cg-protocol-sub {
  font-family: var(--cg-ui);
  font-size: 15px;
  line-height: 1.56em;
  color: var(--cg-muted);
  margin-top: 10px;
}

/*=== HOME: VIDEO ===*/

.cg-video {
  padding-top: 120px;
}

.cg-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #000;
}

/*=== HOME: LATEST STORIES ===*/

.cg-stories {
  padding: 100px 0 120px;
  overflow: hidden; /* the mobile slider peeks past the edge: clip it to the page */
}

.cg-stories .cg-section-text {
  margin-top: 19px;
}

.cg-stories-swiper {
  margin-top: 50px;
}

/*=== POST CARD ===*/

.cg-post-card-img {
  display: block;
  aspect-ratio: 407 / 301;
  overflow: hidden;
  background-color: #f6f6f6; /* while the photo loads (lazy), the frame shows instead of white */
}

.cg-post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

@media (hover: hover) {
  .cg-post-card-img:hover img {
    transform: scale(1.04);
  }
}

.cg-post-card-title {
  font-family: var(--cg-heading);
  font-size: 26px;
  line-height: 1.26em;
  margin-top: 29px;
}


/*=== SHOP / PRODUCT ARCHIVES ===*/

.cg-shop {
  padding-bottom: 77px;
}

.cg-shop-notice {
  max-width: 1140px;
  margin: 50px auto 0;
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 1.56em;
}

.cg-shop-notice a {
  text-decoration: underline;
}

/* category / brand archives: page head on the same left edge as the filters and products.
   Hierarchy: the name, large → optional description in grey. Spacing from the 16px scale. */
.cg-archive-head {
  padding-top: 64px;
}

.cg-archive-title {
  font-family: var(--cg-heading);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--cg-black);
  margin: 0;
}

.cg-archive-desc {
  max-width: 640px; /* ~70 characters a line */
  margin-top: 16px;
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 1.56em;
  color: var(--cg-muted);
}

.cg-shop.has-title .cg-shop-layout {
  padding-top: 48px;
}

/* search results: what was searched, and the way back to the whole shop */
.cg-search-summary strong {
  font-weight: 500;
}

.cg-search-summary p {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px; /* on one line: space between; wrapped: the link starts where the text starts */
  row-gap: 4px;
}

.cg-search-summary .cg-search-clear {
  white-space: nowrap;
}

.cg-shop-layout {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  column-gap: 76px;
  align-items: start;
  padding-top: 80px;
}

.cg-shop.is-shop .cg-shop-layout {
  padding-top: 90px;
}

.cg-filters-toggle {
  display: none;
}

/* mobile / tablet only (panel head and foot, active filters) */
.cg-filters-head,
.cg-filters-foot,
.cg-filters-active {
  display: none;
}

/* search facet */
.cg-filter.cg-filter-search .facetwp-facet {
  margin: 0;
}

.cg-filter-search .facetwp-input-wrap {
  position: relative;
  display: block;
}

.cg-filter-search .facetwp-search {
  width: 100%;
  height: 54px;
  font-family: var(--cg-ui);
  font-size: 14px;
  line-height: 1.56em;
  color: var(--cg-text);
  background-color: #fafafa;
  border: 0;
  border-radius: 0;
  padding: 16px 15px 16px 30px;
  outline: none;
}

.cg-filter-search .facetwp-search::placeholder {
  color: #666;
}

.cg-filter-search .facetwp-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='2'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 1;
  cursor: pointer;
}

.cg-filter-search .facetwp-icon::before {
  display: none;
}

/* filter groups (refactoring-ui): more space between groups (48) than inside them (12),
   the title stands out because the choices step back (grey); the chosen ones come forward (black, medium) */
.cg-filter {
  margin-top: 48px;
}

.cg-filter.is-empty {
  display: none;
}

.cg-filter-search {
  margin-top: 0;
}

.cg-filters .cg-filter-search + .cg-filter,
.cg-filters .cg-filter-search + .cg-filters-clear[hidden] + .cg-filter {
  margin-top: 48px;
}

/* «Καθαρισμός φίλτρων (N)»: desktop sidebar, only while a filter is active */
.cg-filters-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  margin-top: 24px;
  font-family: var(--cg-ui);
  font-size: 14px;
  line-height: 1.3;
  color: #2c2d33;
  background-color: #fff;
  border: 1px solid #2c2d33;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.cg-filters-clear[hidden] {
  display: none;
}

.cg-filters-clear + .cg-filter {
  margin-top: 48px;
}

@media (hover: hover) {
  .cg-filters-clear:hover {
    color: #fff;
    background-color: #2c2d33;
  }
}

.cg-filter-title {
  font-family: var(--cg-body);
  font-size: 16px;
  font-weight: 500; /* Gotham Medium: the title stands out from its choices */
  line-height: 1.56em;
  color: var(--cg-black);
}

.cg-filter .facetwp-facet {
  margin: 12px 0 0;
}

/* checkboxes drawn like the native ones on the live site */
.cg-filter .facetwp-checkbox {
  position: relative;
  display: block;
  font-family: var(--cg-ui);
  font-size: 16px;
  line-height: 1.56em;
  color: var(--cg-muted);
  background: none;
  padding: 0 0 0 21px;
  margin: 0 0 12px;
  cursor: pointer;
  transition: color 0.15s;
}

.cg-filter .facetwp-checkbox.checked {
  color: var(--cg-black);
  font-weight: 500;
}

@media (hover: hover) {
  .cg-filter .facetwp-checkbox:not(.disabled):hover {
    color: var(--cg-black);
  }
}

.cg-filter .facetwp-checkbox::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 13px;
  border: 1px solid #767676;
  border-radius: 2px;
  background-color: #fff;
}

.cg-filter .facetwp-checkbox.checked {
  background: none;
}

.cg-filter .facetwp-checkbox.checked::before {
  border-color: var(--cg-black);
  background: var(--cg-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6 9.6 3.6' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.cg-filter .facetwp-checkbox.disabled {
  opacity: 0.4;
  cursor: default;
}

.cg-filter .facetwp-counter,
.cg-filter .facetwp-toggle {
  display: none;
}

/* toolbar */
.cg-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 22px;
}

.woocommerce-result-count {
  font-family: var(--cg-body);
  font-size: 14px;
  line-height: 1.5em;
}

.woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  width: 250px; /* longest label «Προκαθορισμένη ταξινόμηση» + the arrow */
  height: 22px;
  font-family: var(--cg-body);
  font-size: 15px;
  color: #191919;
  background: transparent url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.80754 12.6L15.3 5.69134L15.0087 5.40001L8.76592 11.1434L2.56477 5.40001L2.27344 5.69134L8.80754 12.6Z' fill='black' stroke='black' stroke-width='0.5'/%3E%3C/svg%3E") right center / 18px no-repeat;
  border: 0;
  border-radius: 0;
  padding: 0 26px 0 0;
  cursor: pointer;
  outline: none;
}

/* grid */
.cg-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 45px;
  margin-top: 37px;
}

.cg-products-grid .cg-product-card-title {
  margin-top: 12px;
}

.cg-products-grid .cg-product-card-price {
  margin-top: 10px;
}

.woocommerce-info,
.woocommerce-no-products-found {
  font-family: var(--cg-body);
  font-size: 16px;
}

/* pager */
.cg-pagination {
  margin-top: 80px;
  text-align: center;
}

.cg-pagination .facetwp-facet {
  margin: 0;
}

.cg-pagination:not(:has(.facetwp-page)) {
  display: none;
}

/* single-page results: the live site keeps a little more air before the footer */
.cg-shop-main:not(:has(.facetwp-page)) {
  padding-bottom: 13px;
}

.facetwp-pager {
  display: block;
}

.facetwp-pager .facetwp-page {
  display: inline-block;
}

.facetwp-pager .facetwp-page {
  font-family: var(--cg-ui);
  font-size: 16px;
  line-height: 1.3em;
  color: var(--cg-text);
  margin: 0 15px;
  padding: 0;
  cursor: pointer;
}

.facetwp-pager .facetwp-page.active {
  font-weight: 400;
}

.facetwp-template.is-loading,
.facetwp-loading + .cg-shop-results {
  opacity: 0.5;
}


/*=== SINGLE PRODUCT ===*/

/* breadcrumb strip under the header (single product): light grey ground, small black text, one line;
   a long product name is cut with … rather than wrapping the strip */
.cg-breadcrumb {
  background-color: #f6f6f6;
}

.cg-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-family: var(--cg-ui);
  font-size: 13px;
  line-height: 1.4;
  color: var(--cg-black);
  white-space: nowrap;
}

.cg-crumb {
  flex: none;
}

.cg-crumb:last-child {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cg-breadcrumb a {
  color: var(--cg-black);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.cg-breadcrumb a:hover,
.cg-breadcrumb a:focus-visible {
  text-decoration-color: currentColor;
}

.cg-breadcrumb-sep {
  flex: none;
  color: var(--cg-muted);
}

.cg-product {
  display: grid;
  grid-template-columns: 630px minmax(0, 1fr);
  column-gap: 90px;
  align-items: start;
  padding-top: 66px;
}

.cg-product-gallery {
  min-width: 0;
}

.cg-product-main .swiper-slide img,
.cg-product-main.is-placeholder img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.cg-product-thumbs {
  margin-top: 17px;
  padding: 0 2px;
}

.cg-product-thumbs .swiper-slide {
  height: 150px;
  cursor: pointer;
  border: 1px solid transparent;
}

.cg-product-thumbs .swiper-slide-thumb-active {
  border-color: #e5e5e5;
}

.cg-product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cg-product-summary {
  padding-top: 70px;
  margin-right: -10px; /* the design's info column is 570px wide, 10px past the content edge */
}

.cg-product-title {
  font-family: var(--cg-heading);
  font-size: 42px;
  line-height: 1.26em;
}

.cg-product-price {
  font-family: var(--cg-heading);
  font-size: 32px;
  line-height: 1.23em;
  margin-top: 8px;
}

.cg-product-price del {
  color: var(--cg-muted);
  font-size: 0.7em;
  margin-right: 10px;
}

.cg-product-price ins {
  text-decoration: none;
}

.cg-product-short {
  font-family: var(--cg-ui);
  font-size: 14px;
  line-height: 1.56em;
  color: var(--cg-muted);
  margin-top: 85px;
}

.cg-product-short > * + * {
  margin-top: 0.8em;
}

.cg-product-cart {
  margin-top: 24px;
}

.cg-product-cart .stock {
  font-family: var(--cg-body);
  font-size: 14.72px;
  line-height: 24.96px;
  color: var(--cg-success);
  margin-bottom: 9px;
}

.cg-product-cart .stock.out-of-stock {
  color: var(--cg-error);
}

.cg-product-cart form.cart {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.quantity {
  position: relative;
  display: flex;
  align-items: center;
  width: 160px;
  height: 55px;
  background-color: #f5f5f5;
}

.quantity input.qty {
  width: 100%;
  height: 100%;
  font-family: var(--cg-ui);
  font-size: 15px;
  text-align: center;
  color: var(--cg-text);
  background: transparent;
  border: 0;
  padding: 16px 40px;
  -moz-appearance: textfield;
  outline: none;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cg-qty-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  font-family: var(--cg-ui);
  font-size: 15px;
  line-height: 15px;
  color: var(--cg-text);
}

.cg-qty-minus {
  left: 5px;
}

.cg-qty-plus {
  right: 5px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.single_add_to_cart_button {
  height: 57px;
  min-width: 190px;
  font-family: var(--cg-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  color: #fff;
  background-color: var(--cg-black);
  border: 1px solid var(--cg-black);
  padding: 20px 0;
  transition: background-color 0.3s, color 0.3s;
}

@media (hover: hover) {
  .single_add_to_cart_button:hover {
    background-color: #fff;
    color: var(--cg-black);
  }
}

.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cg-product-meta {
  margin-top: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(211, 211, 211, 0.4);
  border-bottom: 1px solid rgba(211, 211, 211, 0.4);
  font-family: var(--cg-ui);
  font-size: 14px;
  line-height: 1.5em;
}

.cg-product-meta p + p {
  margin-top: 13px;
}

.cg-meta-label {
  color: #191919;
}

.cg-meta-value,
.cg-meta-value a {
  color: var(--cg-muted);
}

.cg-meta-value a:hover {
  color: var(--cg-black);
}

.cg-share {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.cg-share a {
  display: block;
  width: 16px;
  height: 16px;
  color: var(--cg-black);
}

/* tabs */
.cg-product-tabs {
  grid-column: 1 / -1;
  padding-top: 101px;
}

.wc-tabs {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.wc-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: rgba(211, 211, 211, 0.4);
}

.wc-tabs li {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid transparent;
}

.wc-tabs li.active {
  border-bottom-color: var(--cg-black);
}

.wc-tabs li a {
  display: block;
  font-family: var(--cg-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75em;
  color: #000;
  padding: 9px 24px;
}

.woocommerce-Tabs-panel {
  padding-top: 40px;
}

.woocommerce-Tabs-panel > h2 {
  font-family: var(--cg-heading);
  font-size: 20px;
  line-height: 1.23em;
}

.woocommerce-Tabs-panel--description p,
.woocommerce-Tabs-panel--description li {
  font-family: var(--cg-body);
  font-size: 14px;
  line-height: 24.96px;
  color: var(--cg-muted);
}

.woocommerce-Tabs-panel > h2 + * {
  margin-top: 23px;
}

.woocommerce-Tabs-panel--description ul {
  list-style: disc;
  padding-left: 20px;
}

.woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--cg-body);
  font-size: 14px;
  line-height: 1.78em;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
  text-align: left;
  font-weight: 400;
  padding: 10px 0;
  border-bottom: 1px solid rgba(211, 211, 211, 0.4);
}

.woocommerce-product-attributes th {
  width: 200px;
  color: var(--cg-black);
}

.woocommerce-product-attributes td,
.woocommerce-product-attributes td p {
  color: var(--cg-muted);
}

/* related */
.cg-related {
  margin-top: 87px;
  padding: 88px 0 107px;
  border-top: 1px solid rgba(211, 211, 211, 0.4);
}

.cg-related-swiper {
  margin-top: 20px;
}

.cg-related .cg-product-card-title {
  font-family: var(--cg-heading);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5em;
  margin-top: 27px;
}

.cg-related .cg-product-card-price {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 1.56em;
  margin-top: 8px;
}


/*=== CART / CHECKOUT ===*/
/* Standard WooCommerce markup and woocommerce.css (loaded only on these two pages), with the site's fonts and buttons. */

.cg-woo-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 30px 90px;
}

.cg-woo-page .cg-page-title {
  padding: 56px 0 40px;
}

.cg-woo-page .woocommerce {
  font-family: var(--cg-body);
  font-size: 15px;
  line-height: 1.6em;
  color: var(--cg-text);
}

.cg-woo-page .woocommerce h2,
.cg-woo-page .woocommerce h3 {
  font-family: var(--cg-heading);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3em;
  margin: 0 0 20px;
}

.cg-woo-page .woocommerce a {
  color: var(--cg-black);
}

/* tables */
.cg-woo-page .woocommerce table.shop_table {
  border: 1px solid var(--cg-line);
  border-radius: 0;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.cg-woo-page .woocommerce table.shop_table th,
.cg-woo-page .woocommerce table.shop_table td {
  padding: 16px 18px;
  border-top: 1px solid var(--cg-line);
  vertical-align: middle;
}

.cg-woo-page .woocommerce table.shop_table th {
  font-weight: 500;
}

.cg-woo-page .woocommerce table.cart img {
  width: 80px;
}

.cg-woo-page .woocommerce table.cart .product-name a {
  text-decoration: none;
}

.cg-woo-page .woocommerce a.remove {
  color: var(--cg-black) !important;
  font-weight: 300;
}

.cg-woo-page .woocommerce a.remove:hover {
  color: #fff !important;
  background: var(--cg-black);
}

/* quantity: same box as on the product page (global .quantity rules), sized for the table */
.cg-woo-page .woocommerce .quantity {
  width: 130px;
  height: 48px;
}

.cg-woo-page .woocommerce .quantity .qty {
  width: 100%;
  height: 100%;
  padding: 0 36px;
  border: 0;
  background: transparent;
}

.cg-woo-page .cg-qty-btn {
  width: 36px;
  border: 0;
  background: none;
  cursor: pointer;
}

.cg-woo-page .cg-qty-minus {
  left: 0;
}

.cg-woo-page .cg-qty-plus {
  right: 0;
}

/* form fields */
.cg-woo-page .woocommerce form .form-row {
  margin-bottom: 14px;
}

.cg-woo-page .woocommerce form .form-row label {
  font-size: 14px;
  line-height: 1.4em;
  margin-bottom: 6px;
}

.cg-woo-page .woocommerce form .form-row .input-text,
.cg-woo-page .woocommerce form .form-row select,
.cg-woo-page .woocommerce table.cart td.actions .coupon .input-text,
.cg-woo-page .woocommerce form.checkout_coupon .input-text,
.cg-woo-page .woocommerce .select2-container .select2-selection--single {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--cg-light);
  border-radius: 0;
  font-family: var(--cg-body);
  font-size: 15px;
  line-height: 46px;
  color: var(--cg-text);
  background-color: #fff;
  box-sizing: border-box;
}

.cg-woo-page .woocommerce form .form-row textarea.input-text {
  height: 120px;
  padding: 12px 14px;
  line-height: 1.5em;
}

.cg-woo-page .woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding-left: 0;
}

.cg-woo-page .woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 8px;
}

.cg-woo-page .woocommerce form .form-row .input-text:focus,
.cg-woo-page .woocommerce form .form-row select:focus {
  border-color: var(--cg-black);
  outline: 0;
}

.cg-woo-page .woocommerce table.cart td.actions .coupon .input-text {
  width: 200px;
  margin-right: 10px;
}

/* buttons */
.cg-woo-page .woocommerce .button,
.cg-woo-page .woocommerce button.button,
.cg-woo-page .woocommerce a.button,
.cg-woo-page .woocommerce input.button {
  font-family: var(--cg-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2em;
  padding: 15px 26px;
  border: 1px solid var(--cg-black);
  border-radius: 0;
  color: var(--cg-black);
  background-color: #fff;
}

.cg-woo-page .woocommerce .button:hover,
.cg-woo-page .woocommerce button.button:hover,
.cg-woo-page .woocommerce a.button:hover {
  color: #fff;
  background-color: var(--cg-black);
}

.cg-woo-page .woocommerce .button.alt,
.cg-woo-page .woocommerce a.checkout-button,
.cg-woo-page .woocommerce #payment #place_order {
  color: #fff;
  background-color: var(--cg-black);
  border-color: var(--cg-black);
}

.cg-woo-page .woocommerce .button.alt:hover,
.cg-woo-page .woocommerce a.checkout-button:hover,
.cg-woo-page .woocommerce #payment #place_order:hover {
  background-color: #000;
}

.cg-woo-page .woocommerce .button:disabled,
.cg-woo-page .woocommerce .button:disabled[disabled] {
  padding: 15px 26px;
  opacity: 0.4;
}

.cg-woo-page .woocommerce .wc-proceed-to-checkout a.checkout-button {
  padding: 19px;
  font-size: 16px;
}

/* cart totals */
.cg-woo-page .woocommerce .cart_totals h2 {
  font-size: 22px;
}

/* checkout */
.cg-woo-page .woocommerce form.checkout h3 {
  margin-top: 10px;
}

.cg-woo-page .woocommerce #payment {
  border-radius: 0;
  background: #f7f7f7;
}

.cg-woo-page .woocommerce #payment ul.payment_methods {
  border-bottom-color: var(--cg-line);
}

.cg-woo-page .woocommerce #payment div.payment_box {
  border-radius: 0;
  background: #fff;
  color: var(--cg-text);
}

.cg-woo-page .woocommerce #payment div.payment_box::before {
  border-bottom-color: #fff;
}

.cg-woo-page .woocommerce #payment #place_order {
  float: none;
  width: 100%;
  padding: 19px;
  font-size: 16px;
}

.cg-woo-page .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info,
.cg-woo-page .woocommerce .woocommerce-form-login-toggle .woocommerce-info {
  border-top-color: var(--cg-black);
  background: #f7f7f7;
}

.cg-woo-page .woocommerce .woocommerce-info::before {
  color: var(--cg-black);
}

@media (min-width: 992px) {
  .woocommerce-checkout .cg-woo-page form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    column-gap: 64px;
    align-items: start;
  }

  .woocommerce-checkout .cg-woo-page form.checkout > * {
    grid-column: 1;
  }

  .woocommerce-checkout .cg-woo-page #customer_details {
    grid-row: 1 / span 3;
  }

  .woocommerce-checkout .cg-woo-page #order_review_heading,
  .woocommerce-checkout .cg-woo-page #order_review {
    grid-column: 2;
  }

  .woocommerce-checkout .cg-woo-page #order_review_heading {
    grid-row: 1;
    margin-top: 10px;
  }

  .woocommerce-checkout .cg-woo-page #order_review {
    grid-row: 2;
  }

  /* billing and shipping one under the other (WooCommerce puts them side by side) */
  .woocommerce-checkout .cg-woo-page .col2-set .col-1,
  .woocommerce-checkout .cg-woo-page .col2-set .col-2 {
    float: none;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .cg-woo-page {
    padding: 0 16px 60px;
  }

  .cg-woo-page .cg-page-title {
    padding: 34px 0 24px;
  }

  .cg-woo-page .woocommerce table.cart td.actions .coupon .input-text {
    width: 48%;
  }
}

/* empty cart */
.cg-cart-empty {
  max-width: 1220px;
  margin-left: 30px;
  text-align: center;
}

.cg-cart-empty-title,
.cg-cart-empty-new {
  font-family: var(--cg-heading);
  font-size: 22px;
  line-height: 1.23em;
  color: #121212;
}

.cg-cart-empty-title::before {
  content: "";
  display: block;
  width: 5em;
  height: 5em;
  margin: 0 auto 2em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzOCIgaGVpZ2h0PSIzOCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTkgMEM4LjUwNCAwIDAgOC41MDQgMCAxOXM4LjUwNCAxOSAxOSAxOSAxOS04LjUwNCAxOS0xOVMyOS40OTYgMCAxOSAwWm02LjEyOSAxMi44NzFhMi40NDkgMi40NDkgMCAwIDEgMi40NTIgMi40NTIgMi40NDkgMi40NDkgMCAwIDEtMi40NTIgMi40NTEgMi40NDkgMi40NDkgMCAwIDEtMi40NTItMi40NTEgMi40NDkgMi40NDkgMCAwIDEgMi40NTItMi40NTJaTTExLjY0NSAzMS4yNThjLTIuMDMgMC0zLjY3Ny0xLjYwOS0zLjY3Ny0zLjYgMC0xLjUzMyAyLjE4My00LjYyOCAzLjE4Ny01Ljk2MWEuNjEuNjEgMCAwIDEgLjk4IDBjMS4wMDQgMS4zMzMgMy4xODggNC40MjggMy4xODggNS45NiAwIDEuOTkyLTEuNjQ4IDMuNjAxLTMuNjc4IDMuNjAxWm0xLjIyNi0xMy40ODRhMi40NDkgMi40NDkgMCAwIDEtMi40NTItMi40NTEgMi40NDkgMi40NDkgMCAwIDEgMi40NTItMi40NTIgMi40NDkgMi40NDkgMCAwIDEgMi40NTIgMi40NTIgMi40NDkgMi40NDkgMCAwIDEtMi40NTIgMi40NTFabTEzLjA0IDExLjgxNEE4Ljk4OSA4Ljk4OSAwIDAgMCAxOSAyNi4zNTVjLTEuNjI0IDAtMS42MjQtMi40NTIgMC0yLjQ1MmExMS40IDExLjQgMCAwIDEgOC43ODggNC4xMjJjMS4wNTcgMS4yNTctLjg1OSAyLjc5Ni0xLjg3OCAxLjU2M1oiLz48L3N2Zz4=") center / 5em no-repeat;
  mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzOCIgaGVpZ2h0PSIzOCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTkgMEM4LjUwNCAwIDAgOC41MDQgMCAxOXM4LjUwNCAxOSAxOSAxOSAxOS04LjUwNCAxOS0xOVMyOS40OTYgMCAxOSAwWm02LjEyOSAxMi44NzFhMi40NDkgMi40NDkgMCAwIDEgMi40NTIgMi40NTIgMi40NDkgMi40NDkgMCAwIDEtMi40NTIgMi40NTEgMi40NDkgMi40NDkgMCAwIDEtMi40NTItMi40NTEgMi40NDkgMi40NDkgMCAwIDEgMi40NTItMi40NTJaTTExLjY0NSAzMS4yNThjLTIuMDMgMC0zLjY3Ny0xLjYwOS0zLjY3Ny0zLjYgMC0xLjUzMyAyLjE4My00LjYyOCAzLjE4Ny01Ljk2MWEuNjEuNjEgMCAwIDEgLjk4IDBjMS4wMDQgMS4zMzMgMy4xODggNC40MjggMy4xODggNS45NiAwIDEuOTkyLTEuNjQ4IDMuNjAxLTMuNjc4IDMuNjAxWm0xLjIyNi0xMy40ODRhMi40NDkgMi40NDkgMCAwIDEtMi40NTItMi40NTEgMi40NDkgMi40NDkgMCAwIDEgMi40NTItMi40NTIgMi40NDkgMi40NDkgMCAwIDEgMi40NTIgMi40NTIgMi40NDkgMi40NDkgMCAwIDEtMi40NTIgMi40NTFabTEzLjA0IDExLjgxNEE4Ljk4OSA4Ljk4OSAwIDAgMCAxOSAyNi4zNTVjLTEuNjI0IDAtMS42MjQtMi40NTIgMC0yLjQ1MmExMS40IDExLjQgMCAwIDEgOC43ODggNC4xMjJjMS4wNTcgMS4yNTctLjg1OSAyLjc5Ni0xLjg3OCAxLjU2M1oiLz48L3N2Zz4=") center / 5em no-repeat;
}

.cg-cart-empty-dots {
  border: 0;
  height: 6px;
  margin: 36px auto 20px;
  background: radial-gradient(circle, #181717 1.5px, transparent 1.6px) center / 54px 6px repeat-x;
  width: 162px;
}

.cg-cart-empty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  margin-top: 30px;
}

.cg-cart-empty-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cg-cart-empty-img img.woocommerce-placeholder {
  border: 1px solid #f2f2f2;
}

.cg-cart-empty-name {
  font-family: var(--cg-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2em;
  margin-top: 21px;
}

.cg-cart-empty-price {
  font-family: var(--cg-body);
  font-size: 12px;
  line-height: 24.96px;
  margin-top: 4px;
}

.cg-cart-empty-add {
  display: inline-block;
  font-family: var(--cg-body);
  font-size: 12px;
  line-height: 24.96px;
  color: #fff;
  background-color: #32373c;
  border-radius: 9999px;
  padding: 10px 18px;
  margin-top: 8px;
}

/* the cart page link colour (.cg-woo-page .woocommerce a) must not turn this white-on-dark button text dark */
.cg-woo-page .woocommerce a.cg-cart-empty-add {
  color: #fff;
}

.cg-cart-empty-add.added {
  opacity: 0.6;
}

.added_to_cart {
  display: block;
  font-family: var(--cg-body);
  font-size: 12px;
  margin-top: 8px;
  text-decoration: underline;
}


.woocommerce-error,
.woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
  font-family: var(--cg-body);
  font-size: 14px;
  line-height: 1.6em;
  padding: 14px 18px;
  margin-bottom: 24px;
  background-color: #fafafa;
  border-left: 3px solid var(--cg-black);
}

.woocommerce-error {
  border-left-color: var(--cg-error);
}

.woocommerce-error-item + .woocommerce-error-item {
  margin-top: 6px;
}

/* links inside notices: underlined, so they stand out from the text without relying on colour */
.woocommerce-error a,
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button) {
  text-decoration: underline;
}

.woocommerce-invalid .input-text,
.woocommerce-invalid .select2-selection {
  box-shadow: inset 0 -2px 0 #cc6a6d;
}

.blockUI.blockOverlay {
  background: rgba(255, 255, 255, 0.6) !important;
}


/*=== PAGES: titles, cards, listings ===*/

.cg-page-title {
  font-family: var(--cg-heading);
  font-size: 32px;
  line-height: 1.26em;
  text-align: center;
  padding-top: 102px;
}

.cg-page-cards {
  padding-bottom: 95px;
}

.cg-big-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.cg-big-card-img {
  width: 100%;
  aspect-ratio: 625 / 613;
  object-fit: cover;
}

.cg-big-card-title {
  display: block;
  font-family: var(--cg-heading);
  font-size: 26px;
  line-height: 1.23em;
  text-align: center;
  margin-top: 22px;
}

.cg-listing {
  padding-bottom: 92px;
}

.cg-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 43px;
  margin-top: 20px;
}

.cg-listing-img {
  width: 100%;
  aspect-ratio: 407 / 305;
  object-fit: cover;
}

.cg-listing-title {
  display: block;
  font-family: var(--cg-heading);
  font-size: 22px;
  line-height: 1.23em;
  text-align: center;
  margin-top: 12px;
}

/*=== CONTENT (editor HTML) ===*/

.cg-content {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
  color: var(--cg-text);
  overflow-wrap: break-word; /* long cookie names / URLs wrap instead of widening the page */
}

/* Complianz cookie tables (cookie policy): a grid cell may shrink below its longest word, so on phones
   a long cookie name wraps inside the table instead of widening the page */
.cg-content .cookies-per-purpose > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cg-content p,
.cg-content ul,
.cg-content ol {
  margin-bottom: 9px;
}

.cg-content h2,
.cg-content h3,
.cg-content h4 {
  font-family: var(--cg-heading);
  font-weight: 400;
  line-height: 1.26em;
  margin: 30px 0 9px;
}

/* tools/fix-headings.php numbers the content headings from h2 (the old content started at h3):
   main headings keep the 26px they had, sub-headings one step smaller */
.cg-content h2 { font-size: 26px; }
.cg-content h3 { font-size: 22px; }
.cg-content h4 { font-size: 20px; }

.cg-content > :first-child {
  margin-top: 0;
}

.cg-content ul {
  list-style: disc;
  padding-left: 20px;
}

.cg-content ol {
  list-style: decimal;
  padding-left: 20px;
}

.cg-content a {
  text-decoration: underline;
}

.cg-content img {
  height: auto;
  margin: 20px auto;
}

.cg-content iframe {
  max-width: 100%;
}

.cg-content-small {
  font-family: var(--cg-ui);
  font-size: 15px;
  line-height: 23.4px;
  color: var(--cg-muted);
}

.cg-content-small p + p {
  margin-top: 9px;
}

.cg-content-small ul {
  list-style: disc;
  padding-left: 40px;
}

/*=== SINGLE POST ===*/

.cg-single-head {
  text-align: center;
}

.cg-single-meta {
  font-family: var(--cg-body);
  font-size: 15px;
  line-height: 1em;
  padding-top: 74px;
}

.cg-single-meta .cg-sep {
  margin: 0 8px;
}

.cg-single-title {
  font-family: var(--cg-heading);
  font-size: 42px;
  line-height: 1.26em;
  margin-top: 20px;
}

.cg-single-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  margin-top: 52px;
}

.cg-single-body {
  padding-top: 77px;
}

.is-blog .cg-single-body {
  padding-top: 47px;
}

.is-blog .cg-single-body {
  display: grid;
  grid-template-columns: 890px minmax(0, 1fr);
  column-gap: 68px;
  align-items: start;
}

.is-service .cg-single-content {
  max-width: 896px;
  margin: 0 auto;
  padding-right: 26px;
}

.cg-author {
  display: flex;
  gap: 32px;
  background-color: #f3f2ee;
  padding: 40px;
  margin-top: 60px;
}

.is-service .cg-author {
  margin-left: -122px;
  margin-right: -148px;
  margin-top: 116px;
}

.cg-author-img {
  flex: none;
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0;
}

.cg-author-name {
  font-family: var(--cg-heading);
  font-size: 22px;
  line-height: 1.27em;
  margin: 0;
}

.cg-author-text {
  font-family: var(--cg-ui);
  font-size: 14px;
  line-height: 1.56em;
  color: var(--cg-muted);
  margin: 6px 0 0;
}

.cg-author-links {
  font-family: var(--cg-body);
  font-size: 15px;
  line-height: 1em;
  margin: 11px 0 0;
}

.cg-author-links a {
  text-decoration: none;
}

.cg-author-links .cg-sep {
  margin: 0 8px;
}

/* sidebar */
.cg-widget + .cg-widget {
  margin-top: 72px;
}

.cg-widget-title {
  font-family: var(--cg-display);
  font-size: 20px;
  line-height: 1.27em;
  margin-bottom: 24px;
}

.cg-search {
  display: flex;
  height: 51px;
  background-color: #f3f2ee;
}

.cg-search input {
  flex: 1;
  min-width: 0;
  font-family: var(--cg-ui);
  font-size: 14px;
  background: transparent;
  border: 0;
  padding: 13px 16px;
  outline: none;
}

.cg-search button {
  width: 60px;
  padding: 0 20px;
}

.cg-search svg {
  width: 18px;
  height: 18px;
}

.cg-widget-posts li + li {
  margin-top: 32px;
}

.cg-widget-posts a {
  display: block;
  font-family: var(--cg-ui);
  font-size: 18px;
  line-height: 1.27em;
}

.cg-widget-posts span {
  display: block;
  font-family: var(--cg-ui);
  font-size: 13px;
  line-height: 1.56em;
  margin-top: 6px;
}

.cg-widget-posts.is-small a {
  font-size: 15px;
}

.cg-widget-social {
  display: flex;
  gap: 16px;
}

.cg-widget-social a {
  display: block;
  width: 14px;
  height: 14px;
}

/* more posts / services */
.cg-more {
  background-color: #f3f2ee;
  padding: 72px 0;
  margin-top: 82px;
}

.is-service .cg-more {
  margin-top: 60px;
}

.cg-more-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.cg-more-all {
  font-family: var(--cg-ui);
  font-size: 16px;
  text-decoration: underline;
}

.cg-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 56px;
}

/* lists: search results, archives (index.php) */
.cg-list-page {
  padding-bottom: 92px;
}

.cg-list-empty {
  font-family: var(--cg-body);
  font-size: 16px;
  text-align: center;
  margin-top: 40px;
}

.cg-post-card-excerpt {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
  margin-top: 26px;
}

.cg-post-card-more {
  display: inline-block;
  font-family: var(--cg-ui);
  font-size: 15px;
  text-decoration: underline;
  margin-top: 0;
}

.cg-service-card {
  background-color: #fff;
  min-height: 376px;
}

.cg-service-card-img {
  position: relative;
  display: block;
}

.cg-service-card-img img {
  width: 100%;
  aspect-ratio: 407 / 301;
  object-fit: cover;
}

.cg-service-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--cg-body);
  font-size: 12px;
  line-height: 1em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--cg-black);
  padding: 6px 12px;
}

.cg-service-card-title {
  font-family: var(--cg-heading);
  font-size: 26px;
  line-height: 1.26em;
  padding: 23px 30px 30px;
}

/*=== BLOG PAGE ===*/

.cg-blog-hero,
.cg-page-hero {
  position: relative;
  height: 585px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--cg-black);
}

.cg-blog-hero-img,
.cg-page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cg-blog-hero-title,
.cg-page-hero-title {
  position: relative;
  font-family: var(--cg-heading);
  font-size: 42px;
  line-height: 1.26em;
  color: #fff;
  text-align: center;
  padding: 0 80px;
}

.cg-blog-hero-scroll,
.cg-page-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: 16px;
  height: 27px;
  margin-left: -8px;
  color: #fff;
}

.cg-blog-body {
  display: grid;
  grid-template-columns: 890px minmax(0, 1fr);
  column-gap: 68px;
  align-items: start;
  padding: 74px 0 110px;
}

.cg-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 40px;
}

.cg-blog-grid .cg-post-card-img {
  aspect-ratio: 430 / 284;
}

.cg-blog-grid .cg-post-card-title {
  margin-top: 23px;
}

.cg-blog-pager {
  text-align: center;
  margin-top: 60px;
  font-family: var(--cg-body);
  font-size: 15px;
  color: #111;
}

.cg-blog-pager .page-numbers {
  margin: 0 6px;
}

.cg-blog-pager .current {
  font-weight: 500;
}

/*=== DOCTOR ===*/

.cg-doctor-about {
  padding: 120px 180px 0;
}

.cg-doctor-intro {
  font-family: var(--cg-heading);
  font-size: 26px;
  line-height: 1.3em;
}

.cg-doctor-cols {
  margin-top: 42px;
  column-count: 2;
  column-gap: 40px;
}

.cg-doctor-cols > div {
  display: contents;
}

.cg-doctor-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 120px;
}

.cg-doctor-images-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 180px;
  background-color: #f3f2ee;
}

.cg-doctor-images-left img {
  width: 360px;
}

.cg-doctor-images-right img {
  width: 100%;
  height: 765px;
  object-fit: cover;
}

.cg-doctor-text {
  max-width: 1280px;
  margin: 0 auto;
  padding: 166px 0 170px;
}

.cg-doctor-text .cg-section-title {
  line-height: 1.4em;
}

.cg-doctor-edu {
  margin-top: 20px;
}

.cg-doctor-mem {
  max-width: 575px;
  margin: 60px auto 0;
}

.cg-doctor-mem .cg-content-small {
  margin-top: 20px;
}

.cg-doctor-blog {
  background-color: #f3f2ee;
  padding: 80px 0 88px;
}

.cg-doctor-blog .cg-more-grid {
  margin-top: 56px;
}

.cg-doctor-blog .cg-post-card-title {
  text-align: center;
}

/*=== CONTACT / BOOKING / FORMS ===*/

.cg-contact-body {
  display: grid;
  grid-template-columns: 542px minmax(0, 1fr);
  column-gap: 108px;
  padding-top: 90px;
}

.cg-contact-intro {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
  color: var(--cg-muted);
  max-width: 445px;
  margin: 18px 0 44px;
}

.cg-contact-info {
  padding-top: 39px;
}

.cg-contact-info p {
  margin-bottom: 9px;
}

.cg-contact-info a {
  text-decoration: underline;
}

.cg-contact-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  padding: 68px 0 80px;
}

.cg-contact-box:first-child {
  margin-left: 93px;
}

.cg-contact-box:nth-child(2) {
  margin-left: 18px;
}

.cg-contact-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.cg-contact-box-icon {
  display: block;
  width: 26px;
  height: 26px;
  margin-top: 10px;
}

.cg-contact-box-title {
  display: block;
  font-family: var(--cg-heading);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5em;
}

.cg-contact-box-text {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
}

.cg-cf input[type="text"],
.cg-cf input[type="email"],
.cg-cf input[type="tel"],
.cg-cf textarea,
.cg-cf select {
  width: 100%;
  font-family: var(--cg-body);
  font-size: 14px;
  color: var(--cg-text);
  background-color: #fafafa;
  border: 0;
  border-radius: 0;
  outline: none;
}

.cg-contact .cg-cf input,
.cg-contact .cg-cf textarea {
  height: 62px;
  padding: 20px 16px;
  margin-bottom: 16px;
}

.cg-contact .cg-cf textarea {
  height: 149px;
  resize: vertical;
}

.cg-cf input[type="submit"] {
  font-family: var(--cg-ui);
  font-size: 14px;
  color: #fff;
  background-color: var(--cg-black);
  border: 1px solid var(--cg-black);
  padding: 20px 30px;
  width: 200px;
  height: 56px;
  margin-top: 16px;
  cursor: pointer;
}

.cg-cf .wpcf7-spinner {
  display: block;
  margin: 10px 0 0;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
  font-family: var(--cg-body);
  font-size: 14px;
}

.wpcf7-not-valid-tip {
  color: var(--cg-error);
  margin: -10px 0 10px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--cg-line);
}

.cg-booking-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 0 44px;
  text-align: center;
}

.cg-booking-title {
  font-family: var(--cg-heading);
  font-size: 42px;
  line-height: 1.26em;
}

.cg-booking-intro {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
  margin-top: 40px;
}

.cg-cf-booking {
  text-align: left;
  padding: 60px 15px 0;
}

.cg-cf-booking label,
.cg-cf-booking .cg-cf-label {
  display: block;
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 1em;
}

.cg-cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 44px;
  margin-bottom: 19px;
}

.cg-cf-booking input[type="text"],
.cg-cf-booking input[type="email"],
.cg-cf-booking input[type="tel"],
.cg-cf-booking select {
  height: 54px;
  padding: 16px 15px;
  margin-top: 5px;
}

.cg-cf-booking textarea {
  height: 250px;
  padding: 16px 15px;
  margin-top: 10px;
}

.cg-cf-booking .wpcf7-radio {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  padding-left: 16px;
}

.cg-cf-booking .wpcf7-list-item {
  margin: 0;
}

.cg-cf-booking .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 3px;
}

.cg-cf-booking > label,
.cg-cf-booking > p,
.cg-cf-booking .cg-cf-group {
  margin-bottom: 20px;
}

.cg-cf-booking > p.cg-cf-label {
  margin-bottom: 33px;
}

.cg-cf-booking input[type="submit"] {
  width: auto;
  height: 59px;
  color: var(--cg-black);
  background-color: #fff;
  border: 1px solid var(--cg-grey);
  padding: 18px 40px;
  margin-top: 21px;
}

/*=== 404 ===*/

.cg-404 {
  position: relative;
  min-height: calc(100vh - 166px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--cg-black);
}

.cg-404-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cg-404-content {
  position: relative;
  color: #fff;
}

.cg-404-title {
  font-family: var(--cg-heading);
  font-size: 72px;
  line-height: 1.2em;
  color: #fff;
}

.cg-404-text {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
  margin-top: 20px;
}

.cg-404-content .cg-button {
  margin-top: 36px;
}

/*=== TEXT PAGES ===*/

.cg-text-page-title {
  font-family: var(--cg-heading);
  font-size: 42px;
  line-height: 1.26em;
  padding-top: 315px;
  margin-bottom: 82px;
}

.cg-text-page-body {
  padding: 72px 0;
}

.cg-text-page-grid {
  display: grid;
  grid-template-columns: 460px minmax(0, 734px);
  column-gap: 86px;
  align-items: start;
}

.cg-toc {
  position: sticky;
  top: 190px;
}

.cg-toc h2 {
  font-family: var(--cg-heading);
  font-size: 26px;
  line-height: 1.26em;
}

.cg-toc ol {
  list-style: decimal;
  padding-left: 18px;
  margin-top: 20px;
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
}

.cg-toc ol.is-plain {
  list-style: none;
  padding-left: 0;
}

.cg-toc li + li {
  margin-top: 8px;
}

.cg-text-page-content {
  grid-column: 2;
  color: var(--cg-muted);
}

.cg-text-page-content h2,
.cg-text-page-content h3 {
  color: var(--cg-text);
  font-size: 26px;
}

/* «Η γνώμη σας» survey (cgderma-core/inc/checkout-feedback.php): big tap targets, the chosen answer in black */
.cg-feedback {
  max-width: 560px;
  margin-top: 32px;
  font-family: var(--cg-ui);
}

.cg-feedback fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.cg-feedback legend {
  font-size: 18px;
  font-weight: 500;
  color: var(--cg-black);
  margin-bottom: 16px;
}

.cg-feedback-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  margin-bottom: 8px;
  border: 1px solid #dcdcdc;
  font-size: 16px;
  line-height: 1.4;
  color: var(--cg-black);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.cg-feedback-option:has(input:checked) {
  border-color: var(--cg-black);
  background-color: #f6f6f6;
}

.cg-feedback-option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--cg-black);
}

.cg-feedback-comment {
  display: block;
  margin-top: 24px;
  font-size: 15px;
  color: var(--cg-muted);
}

.cg-feedback-comment textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border: 0;
  background-color: #fafafa;
  font: inherit;
  color: var(--cg-black);
}

.cg-feedback-submit {
  margin-top: 24px;
  padding: 16px 48px;
  background-color: var(--cg-black);
  color: #fff;
  font-family: var(--cg-ui);
  font-size: 15px;
  cursor: pointer;
}

.cg-feedback-error {
  color: #b3261e;
  margin-bottom: 16px;
}

.cg-feedback-done p + p {
  margin-top: 12px;
}

.cg-feedback-link {
  text-decoration: underline;
}

/*=== MESSAGE PAGES (Ευχαριστούμε) ===*/

.cg-message-page {
  padding: 40px 0 60px;
  text-align: center;
}

.cg-message-page-title {
  font-family: var(--cg-heading);
  font-size: 42px;
  line-height: 1.26em;
  margin-bottom: 40px;
}

.cg-message-page-content > :last-child {
  margin-bottom: 0;
}


/*=== BRAND PAGE (Skinceuticals) ===*/

.cg-brand {
  padding: 0 10px 90px;
}

.cg-brand-top {
  text-align: center;
  padding-top: 60px;
}

.cg-brand-logo-img {
  width: 600px;
  margin: 0 auto;
}

.cg-brand-hero {
  width: 100%;
  margin-top: 40px;
}

.cg-brand-sec {
  margin-top: 80px;
}

.cg-brand-head {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--cg-body);
  font-size: 23px;
  line-height: 1em;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.cg-brand-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--cg-grey);
}

.cg-brand-sub {
  font-family: var(--cg-heading);
  font-size: 18px;
  line-height: 1.23em;
  margin-top: 20px;
}

.cg-brand-progs {
  display: grid;
  grid-template-columns: repeat(3, 440px);
  justify-content: center;
  column-gap: 40px;
  margin-top: 80px;
  text-align: center;
}

.cg-brand-prog img {
  width: 330px;
  height: 250px;
  object-fit: cover;
  margin: 0 auto;
}

.cg-brand-prog-title {
  font-family: var(--cg-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 20px;
}

.cg-brand-prog-text {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
}

.cg-brand-prog .cg-button {
  margin-top: 20px;
}

.cg-button-black-border {
  border-color: #000;
}

.cg-brand-concerns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  margin-top: 50px;
}

.cg-brand-best {
  margin-top: 40px;
  position: relative;
}

.cg-brand-best .swiper-slide {
  width: 333px;
}

.cg-brand-best .cg-product-card-img {
  background: none;
}

.cg-brand-best .cg-product-card-title,
.cg-plist .cg-product-card-title {
  font-family: var(--cg-heading);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.26em;
  margin-top: 13px;
}

.cg-brand-best .cg-product-card-price,
.cg-plist .cg-product-card-price {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
  margin-top: 15px;
}

.cg-brand-best-prev,
.cg-brand-best-next {
  position: absolute;
  top: 160px;
  z-index: 2;
  width: 32px;
  height: 32px;
}

.cg-brand-best-prev { left: 0; }
.cg-brand-best-next { right: 0; }

.cg-brand-best-prev .cg-icon,
.cg-brand-best-next .cg-icon {
  fill: none;
  stroke: var(--cg-black);
  stroke-width: 1.5;
}

.cg-brand-about {
  position: relative;
  min-height: 614px;
  margin-top: 80px;
  padding: 80px 60px 30px;
  overflow: hidden;
}

.cg-brand-about {
  background-color: #f6f6f6;
}

.cg-brand-about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  /* the photo has a white ground: on live a grey overlay covers it, here it takes the section's grey */
  mix-blend-mode: multiply;
}

.cg-brand-about-inner {
  position: relative;
  max-width: 614px;
}

.cg-brand-about-text {
  font-family: var(--cg-body);
  font-size: 16px;
  line-height: 24.96px;
  margin-top: 40px;
  max-width: 560px;
}

.cg-brand-sci {
  grid-template-columns: repeat(3, 447px);
  column-gap: 39px;
}

.cg-brand-sci img {
  width: 380px;
  height: 312px;
}

.cg-brand-sci .cg-brand-prog-title {
  font-size: 16px;
  line-height: 48px;
}

/*=== PRODUCT LIST PAGE ===*/

.cg-plist {
  max-width: 1140px;
  margin: 0 auto;
  padding: 90px 0 100px;
}

.cg-plist-title {
  font-family: var(--cg-heading);
  font-size: 42px;
  line-height: 1.26em;
  text-align: center;
}

.cg-plist .woocommerce {
  padding: 90px 15px 0;
}

.cg-plist .woocommerce-notices-wrapper:empty {
  display: none;
}

.cg-plist .woocommerce-result-count {
  float: left;
}

.cg-plist .woocommerce-ordering {
  float: right;
}

.cg-plist ul.products {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, 350px);
  column-gap: 30px;
  row-gap: 50px;
  padding-top: 20px;
}

.cg-plist .woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  font-family: var(--cg-ui);
  font-size: 16px;
}

.cg-plist .woocommerce-pagination .current {
  font-weight: 600;
}


/*=== MY ACCOUNT ===*/

.cg-account {
  max-width: 1220px;
  margin: 0 auto;
  padding: 60px 0 90px;
  font-family: var(--cg-body);
  color: var(--cg-text);
}

.cg-account-title {
  font-family: var(--cg-heading);
  font-size: 42px;
  line-height: 1.26em;
}

.cg-account h2 {
  font-family: var(--cg-heading);
  font-size: 32px;
  line-height: 1.23em;
  margin-bottom: 35px;
}

#customer_login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 586px));
  column-gap: 48px;
  margin-top: 40px;
}

.cg-account form.login,
.cg-account form.register,
.cg-account form.lost_reset_password,
.cg-account .woocommerce-EditAccountForm,
.cg-account .woocommerce-address-fields {
  padding: 0 3px;
}

.cg-account .form-row {
  margin-bottom: 12px;
}

.cg-account .form-row label,
.track_order .form-row label {
  display: block;
  font-size: 16px;
  line-height: 32px;
  margin-bottom: 10px;
}

.cg-account .required {
  color: #a00;
  font-weight: 700;
  text-decoration: none;
}

.cg-account .input-text,
.cg-account select,
.track_order .input-text {
  width: 100%;
  height: 54px;
  font-family: var(--cg-body);
  font-size: 14px;
  color: var(--cg-text);
  background-color: #fafafa;
  border: 0;
  border-radius: 0;
  padding: 16px 15px;
  outline: none;
}

.cg-account .password-input {
  position: relative;
  display: block;
}

.cg-account .password-input .input-text {
  padding-right: 45px;
}

.cg-account .show-password-input {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181717' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 0;
  cursor: pointer;
}

.cg-account .show-password-input.display-password {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181717' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.cg-account .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 32px;
  margin: 0;
}

.cg-account .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) {
  margin-top: 8px;
}

.cg-account .woocommerce-button,
.cg-account button.button,
.cg-account .button {
  display: inline-block;
  height: 58px;
  font-family: var(--cg-ui);
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  background-color: var(--cg-black);
  border: 1px solid var(--cg-black);
  padding: 20px 10px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

@media (hover: hover) {
  .cg-account .woocommerce-button:hover,
  .cg-account button.button:hover,
  .cg-account .button:hover {
    background-color: #fff;
    color: var(--cg-black);
  }
}

.cg-account .woocommerce-form-login__submit {
  width: 100%;
  margin-top: 16px;
}

.cg-account .woocommerce-LostPassword {
  font-size: 16px;
  line-height: 24.96px;
  margin-top: 31px;
  padding: 0;
}

.cg-account .woocommerce-privacy-policy-text p {
  font-size: 16px;
  line-height: 24.96px;
  color: var(--cg-text);
  margin: 0 -3px 15px;
}

.cg-account .woocommerce-privacy-policy-text a {
  text-decoration: none;
}

.cg-account .woocommerce-form-register__submit {
  margin-top: 2px;
}

/* logged in */
.cg-account .woocommerce {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  column-gap: 60px;
  margin-top: 40px;
}

.cg-account .woocommerce:has(#customer_login),
.cg-account .woocommerce:has(.lost_reset_password) {
  display: block;
  margin-top: 0;
}

.woocommerce-MyAccount-navigation ul {
  border-top: 1px solid rgba(211, 211, 211, 0.4);
}

.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid rgba(211, 211, 211, 0.4);
}

.woocommerce-MyAccount-navigation a {
  display: block;
  font-family: var(--cg-ui);
  font-size: 15px;
  padding: 16px 0;
}

.woocommerce-MyAccount-navigation .is-active a {
  font-weight: 600;
}

.woocommerce-MyAccount-content {
  font-size: 16px;
  line-height: 24.96px;
}

.woocommerce-MyAccount-content p + p {
  margin-top: 12px;
}

.woocommerce-MyAccount-content a {
  text-decoration: underline;
}

.woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.woocommerce-MyAccount-content th,
.woocommerce-MyAccount-content td {
  text-align: left;
  padding: 14px 10px 14px 0;
  border-bottom: 1px solid rgba(211, 211, 211, 0.4);
}

.woocommerce-MyAccount-content .button {
  height: auto;
  padding: 10px 16px;
  text-decoration: none;
}

.woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.woocommerce-Address-title h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.cg-account fieldset {
  border: 0;
  margin-top: 30px;
}

.cg-account legend {
  font-family: var(--cg-heading);
  font-size: 22px;
  margin-bottom: 16px;
}

/*=== FOOTER ===*/

.cg-footer {
  background-color: var(--cg-black);
  padding-top: 64px;
}

.cg-footer-main {
  display: grid;
  grid-template-columns: 444px minmax(0, 1fr);
  padding-top: 0;
}

.cg-footer-about {
  padding: 48px 80px 48px 0;
  border-right: 1px solid #363636;
}

.cg-footer-logo {
  display: block;
  width: 132px;
  filter: invert(1);
}

.cg-footer-text {
  font-family: var(--cg-body);
  font-size: 15px;
  line-height: 1.56em;
  color: var(--cg-light);
  margin-top: 32px;
}

.cg-footer-text p + p {
  margin-top: 1.56em;
}

.cg-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 254px);
  column-gap: 0;
  row-gap: 40px;
  padding: 48px 0 48px 73px;
}

.cg-footer-title {
  font-family: var(--cg-ui);
  font-size: 18px;
  line-height: 1.5em;
  color: #fff;
}

.cg-footer-menu {
  margin-top: 20px;
}

.cg-footer-menu li {
  line-height: 14px;
}

.cg-footer-menu li + li {
  margin-top: 14px;
}

.cg-footer-menu a {
  font-family: var(--cg-body);
  font-size: 14px;
  line-height: 14px;
  color: var(--cg-light);
  transition: color 0.3s;
}

.cg-footer-menu a:hover,
.cg-footer-legal a:hover {
  color: #fff;
}

.cg-footer-payments {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 17px;
}

.cg-footer-payments img {
  height: 26px;
  width: auto;
}

.cg-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 18px;
  padding-bottom: 46px;
}

.cg-footer-legal a {
  font-family: var(--cg-ui);
  font-size: 14px;
  line-height: 1.56em;
  color: var(--cg-light);
}

/* =========================================================
   TABLET (≤1279px)
   ========================================================= */

@media (max-width: 1279px) {
  /* one side gutter for every section: 30px tablet, 20px phone (below) */
  :root {
    --cg-gutter: 30px;
  }

  .cg-container {
    padding-left: var(--cg-gutter);
    padding-right: var(--cg-gutter);
  }

  .cg-brand {
    padding-left: var(--cg-gutter);
    padding-right: var(--cg-gutter);
  }

  .cg-topbar {
    display: none;
  }

  .cg-header {
    padding: 16px 0;
  }

  body.cg-scrolled .cg-header {
    padding: 8px 0;
  }

  .cg-header-content {
    grid-template-columns: auto 1fr;
    min-height: 70px;
    padding: 0 var(--cg-gutter);
  }

  .cg-header-nav,
  .cg-account-link {
    display: none;
  }

  .cg-header-logo-column {
    order: -1;
  }

  .cg-logo {
    width: 100px;
  }

  .cg-header-user-column {
    gap: 22px;
    padding-right: 0;
  }

  .cg-hamburger {
    display: block;
    margin-right: -6px;
  }

  .cg-hero-swiper {
    height: 60vh;
  }

  .cg-hero-content {
    padding: 0 47px;
  }

  .cg-hero-subtitle {
    font-size: 15px;
  }

  .cg-hero-title {
    font-size: 42px;
    margin-top: 15px;
  }

  .cg-hero-content .cg-button {
    margin-top: 24px;
    padding: 16px 32px;
  }

  .cg-hero-arrow {
    display: none;
  }

  .cg-section-title {
    font-size: 28px;
  }

  .cg-section-text {
    font-size: 15px;
  }

  .cg-feat {
    grid-template-columns: 1fr;
    padding: 50px 20px 0;
  }

  .cg-feat-intro {
    text-align: center;
    padding: 0 13px 40px;
  }

  .cg-feat-title {
    font-size: 33px;
  }

  .cg-feat-text {
    margin: 22px auto 0;
  }

  .cg-feat-intro .cg-button {
    margin-top: 38px;
    padding: 13px 30px;
  }

  .cg-feat-scrollbar.swiper-scrollbar {
    right: 0;
  }

  .cg-brands {
    padding: 52px var(--cg-gutter) 0;
  }

  .cg-brands-logos {
    flex-direction: column;
    gap: 35px;
    padding: 30px 0 0;
  }

  .cg-protocols-grid {
    grid-template-columns: 1fr;
  }

  .cg-product {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 34px;
  }

  .cg-product-main .swiper-slide img,
  .cg-product-main.is-placeholder img {
    height: auto;
  }

  .cg-product-thumbs {
    margin-top: 13px;
  }

  .cg-product-thumbs .swiper-slide {
    height: 64px;
  }

  .cg-product-summary {
    padding-top: 37px;
    margin-right: 0;
  }

  .cg-product-title {
    font-size: 33px;
  }

  .cg-product-price {
    font-size: 28px;
  }

  .cg-product-short {
    font-size: 15px;
    margin-top: 85px;
  }

  .cg-product-cart .stock {
    font-size: 13.8px;
    line-height: 23.4px;
  }

  .cg-product-cart form.cart {
    gap: 10px;
  }

  .cg-product-cart .quantity {
    width: 146px;
    height: 52px;
  }

  .cg-qty-btn {
    font-size: 13px;
  }

  .cg-product-cart .single_add_to_cart_button {
    flex: 1;
    min-width: 0;
  }

  .cg-product-tabs {
    padding-top: 76px;
  }

  .woocommerce-Tabs-panel {
    padding-top: 41px;
  }

  .woocommerce-Tabs-panel--description p,
  .woocommerce-Tabs-panel--description li {
    line-height: 23.4px;
  }

  .cg-product-meta p + p {
    margin-top: 10px;
  }

  .wc-tabs {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .cg-related {
    margin-top: 38px;
    padding: 32px 0 55px;
  }

  .cg-related .cg-section-title {
    margin-top: 11px;
  }

  .cg-related-swiper {
    margin-top: 9px;
  }

  .cg-related .cg-product-card-title {
    font-size: 18px;
    margin-top: 28px;
  }

  .cg-related .cg-product-card-price {
    font-size: 15px;
    margin-top: 7px;
  }


  /* cart */
  .cg-cart-empty {
    margin: 40px 20px 0;
  }

  .cg-cart-empty-grid {
    grid-template-columns: minmax(0, 302px);
    justify-content: center;
    row-gap: 40px;
  }


  /* pages */
  .cg-page-title {
    padding-top: 34px;
  }

  .cg-big-cards,
  .cg-listing-grid,
  .cg-more-grid,
  .cg-blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cg-listing-grid {
    margin-top: 12px;
    row-gap: 48px;
  }

  .cg-listing-img {
    aspect-ratio: 330 / 248;
  }

  .cg-content {
    font-size: 15px;
    line-height: 23.4px;
  }

  .cg-content h2 {
    font-size: 24px;
  }

  .cg-content h3 {
    font-size: 20px;
  }

  .cg-single-meta {
    padding-top: 34px;
  }

  .cg-single-title {
    font-size: 33px;
  }

  .cg-single-image img {
    height: 250px;
    margin-top: 28px;
  }

  .is-blog .cg-single-body,
  .cg-blog-body {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 60px;
  }

  .is-service .cg-author {
    margin-left: 0;
    margin-right: 0;
  }

  .cg-author {
    flex-direction: column;
    padding: 30px;
  }

  .cg-blog-hero,
  .cg-page-hero {
    height: 420px;
  }

  .cg-blog-hero-title,
  .cg-page-hero-title {
    font-size: 33px;
    padding: 0 var(--cg-gutter);
  }

  .cg-doctor-about {
    padding: 60px 30px 0;
  }

  .cg-doctor-cols {
    column-count: 1;
  }

  .cg-doctor-images {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .cg-doctor-images-left {
    padding: 40px 30px;
    justify-content: center;
  }

  .cg-doctor-images-right img {
    height: auto;
  }

  .cg-doctor-text {
    padding: 80px 30px;
  }

  .cg-contact-body {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
    padding-top: 50px;
  }

  .cg-contact-boxes {
    grid-template-columns: 1fr;
    row-gap: 30px;
    padding: 60px var(--cg-gutter);
  }

  .cg-contact-box:first-child,
  .cg-contact-box:nth-child(2) {
    margin-left: 0;
  }

  .cg-booking-inner {
    padding: 34px var(--cg-gutter) 60px;
  }

  .cg-booking-title {
    font-size: 33px;
  }

  .cg-cf-row {
    grid-template-columns: 1fr;
    row-gap: 19px;
  }

  .cg-cf-booking {
    padding: 40px 0 0;
  }

  .cg-404-title {
    font-size: 42px;
  }

  /* "more" rows are swipeable single cards on mobile, like the live sliders */
  .cg-more-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cg-more-grid::-webkit-scrollbar {
    display: none;
  }

  .cg-more-grid > * {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .cg-message-page-title {
    font-size: 33px;
  }

  .cg-text-page-title {
    font-size: 33px;
    padding-top: 60px;
    margin-bottom: 0;
  }

  .cg-text-page-body {
    padding: 40px 0;
  }

  .cg-text-page-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .cg-toc {
    position: static;
  }

  .cg-text-page-content {
    grid-column: 1;
  }


  /* brand + product list */
  .cg-brand-logo-img {
    width: 80%;
  }

  .cg-brand-progs,
  .cg-brand-sci {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 50px;
    margin-top: 40px;
  }

  .cg-brand-prog img {
    width: 100%;
    height: auto;
  }

  .cg-brand-concerns {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  /* as on live below 1280: the picture sits under the text, bottom right, instead of behind it */
  .cg-brand-about {
    --cg-about-img: 465px;
    min-height: 0;
    padding: 40px var(--cg-gutter) calc(var(--cg-about-img) * 0.5625 + 20px);
  }

  .cg-brand-about-bg {
    inset: auto 0 0 auto;
    width: var(--cg-about-img);
    height: auto;
  }

  .cg-plist {
    padding: 34px var(--cg-gutter) 60px;
  }

  .cg-plist-title {
    font-size: 33px;
  }

  .cg-plist .woocommerce {
    padding: 40px 0 0;
  }

  .cg-plist .woocommerce-result-count {
    display: none;
  }

  .cg-plist ul.products {
    grid-template-columns: minmax(0, 1fr);
  }


  /* my account */
  .cg-account {
    padding: 40px var(--cg-gutter) 80px;
  }

  .cg-account-title {
    font-size: 33px;
  }

  .cg-account h2 {
    font-size: 28px;
  }

  .cg-account .form-row label,
  .cg-account .woocommerce-form-login__rememberme {
    font-size: 15px;
    line-height: 30px;
  }

  .cg-account .woocommerce-LostPassword,
  .cg-account .woocommerce-privacy-policy-text p {
    font-size: 15px;
    line-height: 23.4px;
  }

  #customer_login,
  .cg-account .woocommerce,
  .woocommerce-Addresses {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 30px;
  }

  .cg-shop-notice {
    margin-top: 50px;
    padding: 0 var(--cg-gutter);
    font-size: 15px;
  }

  .cg-shop-layout,
  .cg-shop.is-shop .cg-shop-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
  }

  .cg-archive-head {
    padding-top: 32px;
  }

  .cg-archive-title {
    font-size: 30px;
  }

  .cg-shop.has-title .cg-shop-layout {
    padding-top: 24px;
  }

  .cg-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    font-family: var(--cg-ui);
    font-size: 16px;
    line-height: 24px;
    color: #2c2d33;
    border: 1px solid #2c2d33;
    padding: 7px 12px;
  }

  .cg-filters-toggle-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 11px;
  }

  .cg-filters-toggle-icon span {
    position: absolute;
    left: 0;
    width: 18px;
    height: 1px;
    background-color: #2c2d33;
    transition: transform 0.3s, opacity 0.3s;
  }

  .cg-filters-toggle-icon span:nth-child(1) { top: 0; }
  .cg-filters-toggle-icon span:nth-child(2) { top: 5px; }
  .cg-filters-toggle-icon span:nth-child(3) { top: 10px; }

  .cg-filters-toggle[aria-expanded="true"] .cg-filters-toggle-icon span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
  }

  .cg-filters-toggle[aria-expanded="true"] .cg-filters-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .cg-filters-toggle[aria-expanded="true"] .cg-filters-toggle-icon span:nth-child(3) {
    top: 5px;
    transform: rotate(-45deg);
  }

  .cg-filters-clear,
  .cg-filters-clear[hidden] {
    display: none; /* mobile / tablet: «Καθαρισμός» is in the panel foot */
  }

  .cg-filters .cg-filter-search + .cg-filters-clear + .cg-filter {
    margin-top: 48px;
  }

  .cg-filters-badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 13px;
    line-height: 1;
    color: #fff;
    background-color: #2c2d33;
    border-radius: 11px;
  }

  .cg-filters-badge[hidden] {
    display: none;
  }

  /* active filters: one chip per choice, × removes it (FacetWP selections) */
  .cg-filters-active {
    display: block;
  }

  .cg-filters-active .facetwp-selections ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
  }

  .cg-filters-active .facetwp-selections li {
    margin: 0;
  }

  .cg-filters-active .facetwp-selection-label {
    display: none;
  }

  .cg-filters-active .facetwp-selection-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    font-family: var(--cg-ui);
    font-size: 14px;
    line-height: 1.3;
    color: #2c2d33;
    background: #f4f4f4;
    border: 1px solid #2c2d33;
    padding: 6px 10px;
    cursor: pointer;
  }

  .cg-filters-active .facetwp-selections .facetwp-selection-value {
    background-image: none; /* FacetWP's own × icon: the one below is used */
  }

  .cg-filters-active .facetwp-selection-value::after {
    content: "\00d7";
    font-size: 18px;
    line-height: 1;
  }

  /* floating buttons (booking, phone, cookies) would cover the panel foot */
  html.cg-filters-lock .cg-float-actions,
  html.cg-filters-lock #cmplz-manage-consent {
    display: none;
  }

  /* the filters: full screen, own head and a fixed foot */
  .cg-filters {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.25s ease, visibility 0.25s; /* slides up from the bottom */
  }

  .cg-filters.is-open {
    visibility: visible;
    transform: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .cg-filters {
      transition: none;
    }
  }

  html.cg-filters-lock,
  html.cg-filters-lock body {
    overflow: hidden;
  }

  .cg-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: none;
    padding: 10px 10px 10px 20px;
    border-bottom: 1px solid #e5e5e5;
  }

  .cg-filters-head-title {
    font-family: var(--cg-ui);
    font-size: 18px;
    line-height: 24px;
    color: #2c2d33;
  }

  .cg-filters-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
    color: #2c2d33;
  }

  .cg-filters-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 20px 30px;
  }

  .cg-filters-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 10px;
    flex: none;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e5e5e5;
  }

  .cg-filters-reset,
  .cg-filters-apply {
    min-height: 48px;
    font-family: var(--cg-ui);
    font-size: 15px;
    line-height: 1.2;
    border: 1px solid #2c2d33;
    padding: 8px 10px;
  }

  .cg-filters-reset {
    color: #2c2d33;
    background-color: #fff;
  }

  .cg-filters-apply {
    color: #fff;
    background-color: #2c2d33;
  }

  .cg-filter .facetwp-checkbox {
    margin-bottom: 16px;
  }

  .facetwp-pager .facetwp-page {
    margin: 0 13px;
  }

  .woocommerce-result-count {
    display: none;
  }

  .cg-shop-toolbar {
    margin-top: 40px;
  }

  .cg-products-grid {
    grid-template-columns: 1fr;
    row-gap: 45px;
  }

  .cg-protocol-img img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .cg-video {
    padding-top: 72px;
  }

  .cg-video-container {
    padding: 0 10px;
  }

  .cg-post-card-title {
    font-size: 24px;
  }

  .cg-footer {
    padding: 36px 10px 0;
  }

  .cg-footer-main {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .cg-footer-about {
    padding: 0 0 40px;
    border-right: 0;
  }

  .cg-footer-logo {
    width: 100px;
  }

  .cg-footer-text {
    margin-top: 24px;
  }

  .cg-footer-columns {
    grid-template-columns: 1fr;
    row-gap: 30px;
    padding: 0;
  }

  .cg-footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 24px 20px 24px;
  }
}

/* =========================================================
   MOBILE (≤720px)
   ========================================================= */

/* =========================================================
   TABLET LANDSCAPE / SMALL LAPTOP (721–1279px): multi-column lists
   ========================================================= */
@media (min-width: 721px) and (max-width: 1279px) {
  .cg-products-grid,
  .cg-plist ul.products,
  .cg-listing-grid,
  .cg-more-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
    overflow: visible;
  }

  .cg-more-grid > * {
    flex: none;
  }

  .cg-big-cards,
  .cg-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .cg-protocols-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .cg-protocol-img img {
    height: 320px;
    aspect-ratio: auto;
  }

  .cg-product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }

  .cg-footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 720px) {
  :root {
    --cg-gutter: 20px;
  }

  .cg-brand-about {
    --cg-about-img: 253px;
  }

  .cg-best {
    padding-top: 42px;
  }

  .cg-best-swiper {
    margin-top: 36px;
  }

  .cg-product-card-title {
    margin-top: 26px;
  }

  .cg-split {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 44px 30px 0;
  }

  .cg-split-card {
    min-height: 0;
    padding: 120px 10px;
  }

  .cg-split-title {
    font-size: 28px;
  }

  .cg-feat {
    padding: 33px 20px 0;
  }

  .cg-feat-intro {
    padding: 0 0 32px;
  }

  .cg-feat-text {
    max-width: 324px;
    margin-top: 21px;
  }

  .cg-feat-intro .cg-button {
    margin-top: 27px;
    padding: 13px 46px 13px 30px;
  }

  .cg-feat-swiper {
    padding-bottom: 52px;
  }

  .cg-feat-swiper .swiper-slide {
    width: 100%;
  }

  .cg-brands {
    padding: 22px var(--cg-gutter) 0;
  }

  .cg-brands-logos {
    gap: 30px;
    padding: 30px 10px 0;
  }

  .cg-protocols {
    padding-top: 62px;
  }

  .cg-protocols-title {
    text-align: center;
  }

  .cg-protocols-grid {
    margin-top: 32px;
    gap: 32px;
  }

  .cg-protocol-title {
    margin-top: 25px;
  }

  .cg-protocol-sub {
    margin-top: 11px;
  }

  .cg-video {
    padding-top: 53px;
  }

  .cg-stories {
    padding: 52px 0 67px;
  }

  .cg-stories .cg-section-text {
    max-width: 318px;
    margin: 10px auto 0;
  }

  .cg-stories-swiper {
    margin-top: 35px;
    overflow: visible;
  }

  .cg-footer-text p + p {
    margin-top: 0;
  }

  .cg-footer-about {
    border-bottom: 1px solid #363636;
  }

  .cg-footer-columns {
    padding-top: 32px;
    row-gap: 32px;
  }

  .cg-footer-menu {
    margin-top: 16px;
  }

  .cg-footer-menu li + li {
    margin-top: 10px;
  }

  .cg-footer-bottom {
    margin-top: 25px;
    border-top: 1px solid #363636;
  }
}

/* =========================================================
   TOUCH: hit areas of at least 44px, without moving the layout
   (padding enlarges the target, the negative margin keeps the visual position)
   ========================================================= */
@media (pointer: coarse) {
  .cg-cart-toggle,
  .cg-account-link {
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
  }

  /* flex: no whitespace gaps between the numbers */
  .facetwp-pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .facetwp-pager .facetwp-page,
  .cg-blog-pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px; /* 10 page numbers still fit one row on a 360px phone */
    min-height: 44px;
    margin: 0 1px;
  }

  .cg-footer-menu a,
  .cg-footer-legal a {
    display: inline-block;
    padding: 12px 0;
    margin: -12px 0;
  }

  .cg-widget-social,
  .cg-share {
    gap: 30px; /* room for the enlarged hit areas */
  }

  .cg-share a,
  .cg-widget-social a {
    box-sizing: content-box;
    padding: 14px;
    margin: -14px;
  }

  .cg-page-hero-scroll,
  .cg-blog-hero-scroll {
    box-sizing: content-box;
    padding: 10px 14px;
    margin-left: -22px;
  }

  .woocommerce-ordering select {
    height: 44px;
  }
}

/* order tracking page (WooCommerce [woocommerce_order_tracking]): same fields as the account forms */
.track_order {
  max-width: 560px;
}

.track_order .form-row {
  margin-top: 20px;
}

.track_order .button {
  height: 54px;
  padding: 0 40px;
  font-family: var(--cg-body);
  font-size: 14px;
  color: #fff;
  background-color: var(--cg-black);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

/* =========================================================
   PHONES: product lists two per row (one per row left a screen of white space around each photo)
   ========================================================= */
@media (max-width: 720px) {
  .cg-products-grid,
  .cg-plist ul.products,
  .cg-cart-empty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 32px;
  }

  .cg-products-grid .cg-product-card-title,
  .cg-plist ul.products .cg-product-card-title,
  .cg-cart-empty-grid .cg-product-card-title {
    font-size: 14px;
    line-height: 1.4em;
  }
}

/* =========================================================
   HOME: ONE RHYTHM (17/11, after the new order of sections)
   The sections had spaces and heading sizes tuned to their old neighbours (24 to 162px between sections,
   h2 from 23 to 42px). One space between sections and one heading scale, on every screen.
   ========================================================= */

:root {
  --cg-section-space: 128px;
}

.cg-home > section:not(:first-child) {
  padding-top: var(--cg-section-space);
}

.cg-home > section:last-child {
  padding-bottom: var(--cg-section-space);
}

/* sliders: arrows and count under each one (app.js, cgSliderNav); no other space under them */
.cg-home .cg-feat-intro {
  padding-bottom: 0;
}

.cg-home .cg-feat-swiper {
  padding-bottom: 0;
}

.cg-slider-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.cg-slider-nav[hidden] {
  display: none;
}

.cg-slider-count {
  font-family: var(--cg-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cg-muted);
}

.cg-slider-arrows {
  display: flex;
  gap: 8px;
}

.cg-slider-arrows button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--cg-black);
  background-color: #fff;
  color: var(--cg-black);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.cg-slider-arrows svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.cg-slider-arrows button:disabled {
  border-color: var(--cg-line);
  color: var(--cg-light);
  cursor: default;
}

@media (hover: hover) {
  .cg-slider-arrows button:not(:disabled):hover {
    background-color: var(--cg-black);
    color: #fff;
  }
}



/* one left / right edge for the content in containers: the 1280px container on desktop, --cg-gutter below.
   The full-width blocks of the design (clinic cards, category slider) keep their width.
   Between 1280 and 1340px wide the container would touch the screen edge: at least 30px, as on tablets. */
@media (min-width: 1280px) {
  .cg-home .cg-shero-content {
    max-width: 1340px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .cg-home .cg-container,
  .cg-home .cg-brands-inner {
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
  }

  /* the clinic cards and the category slider stay full width, as designed (32px / 70px from the edge) */
  .cg-home .cg-feat .cg-slider-nav {
    padding-right: 32px;
  }
}

/* headings: the hero h1 56 (larger, as in the client's sample, 18/11), every section h2 36 */
.cg-home .cg-shero-title {
  font-size: 56px;
}

.cg-home .cg-section-title,
.cg-home .cg-feat-title,
.cg-home .cg-split-title,
.cg-home .cg-hdoc-name {
  font-size: 36px;
  line-height: 1.2;
}

/* one alignment: every section head (title, text, button) on the left, like the hero and the doctor */
.cg-home .cg-section-title,
.cg-home .cg-section-text,
.cg-home .cg-protocols-title,
.cg-home .cg-feat-intro {
  text-align: left;
}

.cg-home .cg-section-text {
  max-width: 34em;
  margin-left: 0;
  margin-right: 0;
}

.cg-home .cg-feat-text {
  margin-left: 0;
  margin-right: 0;
}

/* title → text → content: the same steps in every section */
.cg-home .cg-section-text {
  margin-top: 12px;
}

.cg-home .cg-best-swiper,
.cg-home .cg-stories-swiper,
.cg-home .cg-protocols-grid {
  margin-top: 32px;
}

/* brands: a quiet label, the logos carry the section */
.cg-home .cg-brands-title {
  font-family: var(--cg-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cg-muted);
}

.cg-home .cg-brands-line {
  background-color: var(--cg-line);
}

.cg-home .cg-brands-logos {
  padding: 32px 0 0;
}

.cg-home .cg-brand-logo {
  max-width: 240px;
}

@media (max-width: 1279px) {
  :root {
    --cg-section-space: 96px;
  }

  .cg-home .cg-shero-title {
    font-size: 42px;
  }

  .cg-home .cg-section-title,
  .cg-home .cg-feat-title,
  .cg-home .cg-split-title,
  .cg-home .cg-hdoc-name {
    font-size: 30px;
  }

  .cg-home .cg-hdoc-inner,
  .cg-home .cg-brands-inner {
    max-width: none;
  }

  .cg-home .cg-split,
  .cg-home .cg-feat,
  .cg-home .cg-video-container {
    padding-left: var(--cg-gutter);
  }

  .cg-home .cg-split,
  .cg-home .cg-video-container {
    padding-right: var(--cg-gutter);
  }

  /* the category slider runs to the screen edge here too; its arrows stop at the gutter */
  .cg-home .cg-feat {
    padding-right: 0;
  }

  .cg-home .cg-feat .cg-slider-nav {
    padding-right: var(--cg-gutter);
  }

  /* three logos still fit in one row */
  .cg-home .cg-brands-logos {
    flex-direction: row;
    justify-content: space-around;
    gap: 32px;
  }

  .cg-home .cg-brand-logo {
    max-width: 200px;
  }

  .cg-home .cg-feat-intro {
    padding: 0 0 32px;
  }
}

@media (max-width: 720px) {
  :root {
    --cg-section-space: 64px;
  }

  .cg-home .cg-shero-title {
    font-size: 26px; /* 3 lines on a phone, as in the client's mobile sample (19/11) */
  }

  .cg-home .cg-feat {
    padding-right: var(--cg-gutter);
  }

  /* phones: one card and the edge of the next */
  .cg-home .cg-feat-swiper .swiper-slide {
    width: 82%;
  }

  .cg-home .cg-feat .cg-slider-nav {
    padding-right: 0;
  }

  /* phones: one logo per line, small enough to read as a list of brands */
  .cg-home .cg-brands-logos {
    flex-direction: column;
    gap: 24px;
  }

  .cg-home .cg-brand-logo {
    max-width: 180px;
  }
}

/*=== CHECKOUT: CLIENT REQUESTS 18/11 (cgderma-core/inc/checkout.php; the invoice fields: plugin 2NET Τιμολόγιο) ===*/

/* the cash on delivery fee next to the method */
.cg-pay-fee {
  margin-left: 6px;
  font-weight: 500;
  white-space: nowrap;
}

/* free shipping: threshold, bar, what is missing */
.cg-freeship {
  margin: 0 0 24px;
  padding: 16px 20px;
  background-color: #f6f3ef;
  font-family: var(--cg-ui);
  font-size: 14px;
  line-height: 1.5;
  color: var(--cg-black);
}

.cg-freeship-title {
  font-weight: 500;
}

.cg-freeship-bar {
  height: 4px;
  margin: 10px 0 8px;
  background-color: #e3ddd6;
}

.cg-freeship-bar span {
  display: block;
  height: 100%;
  background-color: var(--cg-black);
}

.cg-freeship.is-free .cg-freeship-bar span {
  background-color: var(--cg-success);
}

.xoo-wsc-footer .cg-freeship {
  margin: 0 0 16px;
  padding: 12px 16px;
  font-size: 13px;
}

/* the invoice on the order page */
.cg-order-invoice {
  margin-top: 32px;
}

.cg-order-invoice dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
}

.cg-order-invoice dt {
  color: var(--cg-muted);
}

/* product page: «Complete Your Routine» (cross-sells, cgderma-core) */
.cg-routine {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--cg-line);
}

.cg-routine-title {
  font-family: var(--cg-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cg-black);
}

.cg-routine-list {
  margin-top: 16px;
  list-style: none;
}

.cg-routine-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.cg-routine-item + .cg-routine-item {
  margin-top: 12px;
}

.cg-routine-img {
  display: block;
  background-color: #fff;
  border: 1px solid var(--cg-line);
}

.cg-routine-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.cg-routine-name {
  display: block;
  font-family: var(--cg-body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--cg-black);
}

.cg-routine-price {
  display: block;
  margin-top: 4px;
  font-family: var(--cg-body);
  font-size: 14px;
  color: var(--cg-muted);
}

.cg-routine-add {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--cg-ui);
  font-size: 14px;
  color: var(--cg-black);
  border: 1px solid var(--cg-black);
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}

.cg-routine-add.loading {
  opacity: 0.5;
}

.cg-routine .added_to_cart {
  display: none;
}

@media (hover: hover) {
  .cg-routine-add:hover {
    color: #fff;
    background-color: var(--cg-black);
  }

  .cg-routine-name:hover {
    text-decoration: underline;
  }
}

/* product page: free shipping, under the add to cart button */
.cg-product-summary .cg-freeship {
  margin: 24px 0 0;
}

/* quantity that cannot change (1 in stock): the number stays, the − / + buttons are dimmed */
.quantity:has(.qty[readonly]) .cg-qty-btn {
  opacity: 0.3;
  pointer-events: none;
}

/* home hero: the site logo in white above the label (client's sample, 18/11) */
.cg-shero-logo {
  display: block;
  width: 200px;
  height: auto;
  margin-bottom: 48px;
  filter: brightness(0) invert(1);
}

/* tablets and phones: the photo is above the text and the header right above it has the logo: not twice (19/11) */
@media (max-width: 1023px) {
  .cg-shero-logo {
    display: none;
  }
}

/*=== HEADER: SHORT WHEN STICKY (scroll, app.js «cg-scrolled») ===*/
/* desktop 166 → 73px (the black phone bar goes; the phone stays in the round button), phones/tablets 87 → 61px */
.cg-header-content {
  transition: min-height 0.3s;
}

.cg-logo {
  transition: width 0.3s;
}

body.cg-scrolled .cg-topbar {
  display: none;
}

body.cg-scrolled .cg-header {
  padding: 8px 0;
}

body.cg-scrolled .cg-header-content {
  min-height: 56px;
}

body.cg-scrolled .cg-logo {
  width: 100px;
}

@media (max-width: 1279px) {
  body.cg-scrolled .cg-header {
    padding: 6px 0;
  }

  body.cg-scrolled .cg-header-content {
    min-height: 48px;
  }

  body.cg-scrolled .cg-logo {
    width: 80px;
  }
}

/* home hero, phones only: the three points of the client's mobile sample (19/11) */
.cg-shero-points {
  display: none;
}

@media (max-width: 720px) {
  .cg-shero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
  }

  .cg-shero-points li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
    text-align: center;
  }

  .cg-shero-points li + li {
    border-left: 1px solid rgba(24, 23, 23, 0.25);
  }

  .cg-shero-points svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--cg-black);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cg-shero-points span {
    font-family: var(--cg-ui);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cg-black);
  }
}
