/*
Theme Name: Ciltreva
Theme URI: https://ciltreva.com/
Author: Ciltreva
Description: WordPress port of the Ciltreva Shopify storefront — editorial bone/olive/gold skincare design with full WooCommerce support.
Version: 2.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ciltreva
*/

/* ============================================================
   1. Design tokens
   ============================================================ */
:root {
  --bone: #f4eee2;
  --bone-2: #efe7d6;
  --paper: #fbf7ee;
  --ink: #1d1b15;
  --ink-soft: #5a564a;
  --olive: #2c3526;
  --olive-2: #3c4733;
  --sage: #8b9a82;
  --glow: #c98a3c;
  --glow-2: #e0a85a;
  --clay: #e7d8c2;
  --line: rgba(29, 27, 21, .14);
  --r: 14px;
  --r-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(44, 53, 38, .4);
  --shadow-sm: 0 10px 30px -16px rgba(44, 53, 38, .35);
  --cil-maxw: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
}

/* ============================================================
   2. Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; }
button { font-family: inherit; }

.cil-home img { max-width: 100%; display: block; }
.cil-home a { color: inherit; text-decoration: none; }
.cil-home .wrap { max-width: var(--cil-maxw); margin: 0 auto; padding: 0 40px; }

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker .num { color: var(--glow); }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--olive); opacity: .5; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  cursor: pointer;
  border: none;
  padding: 16px 30px;
  border-radius: 999px;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
}
/* Specificity note: `.cil-home a { color: inherit }` below would otherwise win
   over a bare `.btn--dark`, painting the label ink-on-olive (invisible). */
.btn--dark, .cil-home a.btn--dark { background: var(--olive); color: #f4eee2; }
.btn--dark:hover, .cil-home a.btn--dark:hover { background: var(--ink); color: #f4eee2; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--glow, .cil-home a.btn--glow { background: var(--glow); color: #23200f; }
.btn--glow:hover, .cil-home a.btn--glow:hover { background: var(--glow-2); color: #23200f; transform: translateY(-2px); }

.link-ul { font-weight: 600; border-bottom: 2px solid var(--glow); padding-bottom: 3px; transition: color .3s; }
.link-ul:hover { color: var(--glow); }

.arrow { transition: transform .3s var(--ease); display: inline-block; }
.btn:hover .arrow, .link-ul:hover .arrow { transform: translate(4px); }

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 18ch;
  margin: 14px 0 0;
}
.sec-title em { font-style: italic; color: var(--glow); }
.sec-intro { font-size: 16px; color: var(--ink-soft); max-width: 35ch; margin: 0; }

/* ============================================================
   3. Announcement bar + header
   ============================================================ */
.cil-announce {
  background: var(--olive);
  color: rgba(233, 226, 210, .78);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .05em;
  padding: 9px 20px;
}
/* Inline (not flex) so the arrow flows after the last word when the message
   wraps to two lines, instead of being pushed to the far right edge. */
.cil-announce a { display: inline; }
.cil-announce a:hover { color: #f4eee2; }
.cil-announce svg { display: inline; vertical-align: -1px; margin-left: 8px; }

.cil-header {
  position: relative;
  z-index: 100;
  background: transparent;
}
.cil-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  min-height: 145px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

/* Nav — left column */
.cil-header__nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
}
.cil-header__nav a {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(29, 27, 21, .72);
  padding: 12px;
  transition: color .25s var(--ease);
}
.cil-header__nav a:hover,
.cil-header__nav .current-menu-item > a,
.cil-header__nav .current_page_item > a { color: var(--ink); }

/* Logo — centre column */
.cil-header__logo {
  justify-self: center;
  display: block;
  line-height: 0;
}
.cil-header__logo img {
  width: auto;
  height: 130px;
  max-width: none;
}

/* Icons — right column */
.cil-header__icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cil-header__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color .25s var(--ease);
}
.cil-header__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.cil-header__icon:hover { color: var(--glow); }

.cil-header__cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--olive);
  color: #f4eee2;
  border-radius: 999px;
  padding: 11px 22px;
  margin-left: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: background .3s var(--ease);
}
.cil-header__cart:hover { background: var(--ink); }
.cil-header__count {
  background: var(--glow);
  color: #23200f;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  text-decoration: none;
}

/* Slide-down search */
.cil-header__search {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.cil-header__search[hidden] { display: none; }
.cil-header__search form {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 50px;
  display: flex;
  gap: 12px;
}
.cil-header__search input[type="search"] {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bone);
  padding: 11px 20px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.cil-header__search button {
  border: none;
  border-radius: 999px;
  background: var(--olive);
  color: #f4eee2;
  padding: 11px 26px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.cil-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  position: relative;
  padding: 0;
}
.cil-burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
}
.cil-burger span:nth-child(1) { top: 12px; }
.cil-burger span:nth-child(2) { top: 18px; }
.cil-burger span:nth-child(3) { top: 24px; }
.cil-header.nav-open .cil-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.cil-header.nav-open .cil-burger span:nth-child(2) { opacity: 0; }
.cil-header.nav-open .cil-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.cil-mobile-nav {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.cil-mobile-nav ul { list-style: none; margin: 0; }
.cil-mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 16px;
  border-top: 1px solid var(--line);
}
.cil-header.nav-open + .cil-mobile-nav { display: block; }

/* ============================================================
   4. Hero banner + intro
   ============================================================ */
.cil-slideshow { position: relative; width: 100%; overflow: hidden; background: var(--bone-2); }
.cil-slideshow--banner { aspect-ratio: 1920 / 800; }
.cil-slideshow a, .cil-slideshow picture { display: block; width: 100%; height: 100%; }
.cil-slideshow__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.cil-hero { position: relative; padding: 70px 0 64px; overflow: hidden; }
.cil-hero .hero__glow {
  position: absolute;
  right: -8%;
  top: -10%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(224, 168, 90, .5), rgba(224, 168, 90, .12) 40%, transparent 64%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}
.cil-hero .wrap { position: relative; z-index: 2; }
.cil-hero .intro__eyebrow { margin-bottom: 0; }
.cil-hero .intro__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: stretch;
  margin-top: 28px;
}
.cil-hero .intro__title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: .97;
  letter-spacing: -.022em;
  margin: 0;
}
.cil-hero .intro__title em { font-style: italic; color: var(--glow); font-weight: 360; }
.cil-hero .intro__sub { font-size: 18px; line-height: 1.62; color: var(--ink-soft); max-width: 46ch; margin: 22px 0 0; }
.cil-hero .intro__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 34px; }
.cil-hero .intro__proof {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  padding-left: clamp(30px, 3.2vw, 52px);
}
.cil-hero .intro__score { display: flex; align-items: baseline; gap: 12px; }
.cil-hero .intro__score-num { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; color: var(--ink); }
.cil-hero .intro__stars { color: var(--glow); letter-spacing: 2px; font-size: 15px; }
.cil-hero .intro__score-label { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.cil-hero .intro__creds {
  list-style: none;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cil-hero .intro__cred { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.cil-hero .intro__cred::before {
  content: "";
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--olive);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3526' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================================================
   5. Bestsellers
   ============================================================ */
.cil-best { padding: 90px 0; }
.cil-best .best__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cil-best .pcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.cil-best .pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cil-best .pcard--feature { grid-row: span 2; grid-column: span 2; }
.cil-best .pcard__media { position: relative; aspect-ratio: 1/1; background: var(--bone-2); overflow: hidden; display: block; }
.cil-best .pcard--feature .pcard__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.cil-best .pcard__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.cil-best .pcard:hover .pcard__media img { transform: scale(1.05); }
.cil-best .pcard__save {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--olive);
  color: var(--bone);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}
.cil-best .pcard__add {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  display: grid;
  place-items: center;
  font-size: 20px;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px) scale(.9);
  transition: .35s var(--ease);
  z-index: 2;
}
.cil-best .pcard:hover .pcard__add { opacity: 1; transform: none; }
.cil-best .pcard__body { padding: 20px 20px 24px; border-top: 1px solid var(--line); }
.cil-best .pcard__type { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 9px; }
.cil-best .pcard__name { font-family: var(--serif); font-size: 19px; line-height: 1.2; margin: 0 0 6px; color: var(--ink); font-weight: 500; }
.cil-best .pcard--feature .pcard__name { font-size: 30px; }
.cil-best .pcard__detail { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.cil-best .pcard__rate { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 14px; }
.cil-best .pcard__rate .stars, .stars { color: var(--glow); }
.cil-best .pcard__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cil-best .pcard__price .now { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.cil-best .pcard__price .was { font-size: 14px; color: var(--ink-soft); text-decoration: line-through; }
.cil-best .pcard--feature .pcard__body { display: flex; flex-direction: column; }
.cil-best .pcard--feature .pcard__desc { color: var(--ink-soft); font-size: 15px; margin: 4px 0 18px; }
.cil-best .pcard--feature .btn { align-self: flex-start; margin-top: 14px; }

/* ============================================================
   6. Ingredients (actives)
   ============================================================ */
.cil-actives {
  padding: 90px 0;
  background: var(--olive);
  color: #ede6d6;
  border-radius: 40px;
  margin: 0 16px;
}
.cil-actives .kicker { color: var(--glow-2); }
.cil-actives .kicker::before { background: var(--glow-2); }
.cil-actives .sec-title { color: #f3ecdd; }
.cil-actives .sec-intro { color: #bcc3b0; }
.cil-actives .actives__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(237, 230, 214, .16);
  border: 1px solid rgba(237, 230, 214, .16);
  border-radius: var(--r);
  overflow: hidden;
}
.cil-actives .el {
  background: var(--olive);
  padding: 28px 22px;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  transition: background .4s;
}
.cil-actives .el:hover { background: var(--olive-2); }
.cil-actives .el__sym { font-family: var(--serif); font-size: 40px; font-weight: 300; color: var(--glow-2); line-height: 1; }
.cil-actives .el__no { font-size: 12px; color: #9aa491; margin-left: auto; }
.cil-actives .el__top { display: flex; align-items: flex-start; gap: 8px; }
.cil-actives .el__name { font-family: var(--serif); font-size: 21px; margin: auto 0 7px; color: #f3ecdd; }
.cil-actives .el__fn { font-size: 13.5px; color: #bcc3b0; line-height: 1.45; }

/* ============================================================
   7. Results (before/after + stats)
   ============================================================ */
.cil-results { padding: 100px 0; }
.cil-results .results__in { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; }
.cil-results .results__visual {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bone-2);
  box-shadow: var(--shadow);
}
.cil-results .results__visual img { width: 100%; height: 100%; object-fit: cover; }
.cil-results .results__chip {
  position: absolute;
  top: 18px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.cil-results .results__chip.before { left: 18px; }
.cil-results .results__chip.after { right: 18px; background: var(--glow); color: #23200f; }
.cil-results .sec-title { margin-bottom: 30px; }
.cil-results .stat { border-top: 1px solid var(--line); padding: 26px 0; display: flex; align-items: baseline; gap: 22px; }
.cil-results .stat:first-of-type { border-top: none; }
.cil-results .stat__n {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: .9;
  color: var(--olive);
  white-space: nowrap;
}
.cil-results .stat__n em { font-style: normal; color: var(--glow); font-size: .42em; vertical-align: super; }
.cil-results .stat__t { font-size: 15.5px; color: var(--ink-soft); max-width: 32ch; }
.cil-results .stat__t b { color: var(--ink); font-weight: 600; display: block; font-size: 16.5px; margin-bottom: 2px; }

/* ============================================================
   8. Reviews
   ============================================================ */
.cil-reviews { padding: 90px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cil-reviews .reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 46px; }
.cil-reviews .reviews__score { text-align: right; }
.cil-reviews .reviews__score .big { font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--olive); }
.cil-reviews .reviews__score .stars { color: var(--glow); font-size: 18px; letter-spacing: 2px; }
.cil-reviews .reviews__score small { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 4px; }
.cil-reviews .rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cil-reviews .rcard { background: var(--bone); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.cil-reviews .rcard .stars { letter-spacing: 2px; margin-bottom: 16px; }
.cil-reviews .rcard__q { font-family: var(--serif); font-size: 20px; line-height: 1.42; margin: 0 0 22px; color: var(--ink); }
.cil-reviews .rcard__who { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.cil-reviews .rcard__av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--glow-2);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 17px;
}
.cil-reviews .rcard__who b { display: block; }
.cil-reviews .rcard__who span { color: var(--ink-soft); font-size: 12.5px; }
.cil-reviews .rcard__verified { margin-left: auto; font-size: 11px; color: var(--sage); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ============================================================
   9. Why (difference)
   ============================================================ */
.cil-why { padding: 96px 0; }
.cil-why .why__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cil-why .why__item { padding: 34px 22px 30px; border-right: 1px solid var(--line); }
.cil-why .why__item:last-child { border-right: none; }
.cil-why .why__ic { width: 38px; height: 38px; color: var(--glow); margin-bottom: 18px; }
.cil-why .why__ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; }
.cil-why .why__item h4 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin: 0 0 8px; color: var(--ink); }
.cil-why .why__item p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* ============================================================
   10. FAQ
   ============================================================ */
.cil-faq { padding: 40px 0 100px; }
.cil-faq .faq__in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; }
.cil-faq .faq__list { border-top: 1px solid var(--line); }
.cil-faq .faq__item { border-bottom: 1px solid var(--line); }
.cil-faq .faq__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  transition: color .25s;
}
.cil-faq .faq__q:hover { color: var(--glow); }
.cil-faq .faq__ic { flex: 0 0 26px; width: 26px; height: 26px; position: relative; }
.cil-faq .faq__ic::before, .cil-faq .faq__ic::after {
  content: "";
  position: absolute;
  background: var(--glow);
  transition: transform .3s var(--ease);
}
.cil-faq .faq__ic::before { top: 12px; left: 3px; right: 3px; height: 2px; }
.cil-faq .faq__ic::after { left: 12px; top: 3px; bottom: 3px; width: 2px; }
.cil-faq .faq__item.open .faq__ic::after { transform: scaleY(0); }
.cil-faq .faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.cil-faq .faq__a p { padding: 0 0 26px; color: var(--ink-soft); font-size: 15.5px; max-width: 60ch; margin: 0; }

/* ============================================================
   11. Footer
   ============================================================ */
.cil-footer { background: var(--olive); color: #d9d2c2; padding: 80px 0 38px; font-family: var(--sans); }
.cil-footer .wrap { max-width: var(--cil-maxw); margin: 0 auto; padding: 0 40px; }
.cil-footer a { color: inherit; text-decoration: none; }
.cil-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(237, 230, 214, .16);
}
.cil-footer__logo {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: #f3ecdd;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  margin-bottom: 18px;
}
.cil-footer__leaf { width: 13px; height: 18px; background: var(--glow); border-radius: 0 70%; transform: rotate(18deg); display: inline-block; margin-top: -8px; }
.cil-footer__tag { color: #bcc3b0; max-width: 300px; font-size: 15px; line-height: 1.6; margin: 0; }
.cil-footer__news {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  max-width: 320px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(237, 230, 214, .22);
  border-radius: 999px;
  overflow: hidden;
  padding: 4px;
}
.cil-footer__news input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #f3ecdd;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 14px;
}
.cil-footer__news input::placeholder { color: #9aa491; }
.cil-footer__news button {
  background: var(--glow);
  color: #23200f;
  border: none;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  cursor: pointer;
  font-size: 18px;
  transition: background .2s ease;
}
.cil-footer__news button:hover { background: var(--glow-2); }
.cil-footer__col .cil-footer__head {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--glow-2);
  margin: 0 0 18px;
  font-weight: 600;
}
.cil-footer__col a { display: block; padding: 7px 0; font-size: 14.5px; color: #c7c0b0; transition: color .2s ease; }
.cil-footer__col a:hover { color: #f3ecdd; }
.cil-footer__social { display: flex; gap: 12px; margin-top: 24px; }
.cil-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(237, 230, 214, .3);
  display: grid;
  place-items: center;
  color: #d9d2c2;
  padding: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cil-footer__social a:hover { background: var(--glow); border-color: var(--glow); color: #23200f; }
.cil-footer__social svg { width: 17px; height: 17px; fill: currentColor; }
.cil-footer__cinfo { margin-bottom: 20px; }
.cil-footer__cinfo:last-child { margin-bottom: 0; }
.cil-footer__clabel { display: block; font-weight: 600; font-size: 14.5px; color: #e2dbca; margin-bottom: 4px; }
.cil-footer__cval { display: block; padding: 0; font-size: 14.5px; color: #c7c0b0; line-height: 1.55; }
a.cil-footer__cval:hover { color: #f3ecdd; }
.cil-footer__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 12.5px;
  color: #9aa491;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   12. Content pages / blog
   ============================================================ */
.cil-page { padding: 70px 0 100px; }
.cil-page .wrap { max-width: var(--cil-maxw); margin: 0 auto; padding: 0 40px; }
.cil-page__title, .cil-archive__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 30px;
}
.cil-page--narrow .wrap { max-width: 820px; }
.cil-page .entry-meta { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.cil-rte { color: rgba(29, 27, 21, .8); line-height: 1.72; font-size: 16px; }
.cil-rte h2, .cil-rte h3, .cil-rte h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  margin-top: 1.7em;
  margin-bottom: .45em;
  line-height: 1.2;
}
.cil-rte h2 { font-size: 30px; }
.cil-rte h3 { font-size: 24px; }
.cil-rte h4 { font-size: 20px; }
.cil-rte a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.cil-rte strong { color: var(--ink); }
.cil-rte img { border-radius: var(--r); }
.cil-rte blockquote {
  border-left: 3px solid var(--glow);
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
}

.cil-post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.cil-post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cil-post-card__media { aspect-ratio: 16/9; background: var(--bone-2); overflow: hidden; display: block; }
.cil-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cil-post-card__body { padding: 24px; }
.cil-post-card__body h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 8px; }
.cil-post-card__body h3 a:hover { color: var(--glow); }
.cil-post-card__body p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 12px; }
.cil-post-card__body time { font-size: 12.5px; color: var(--sage); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.cil-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.cil-pagination { margin-top: 44px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cil-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  background: var(--paper);
}
.cil-pagination .page-numbers.current { background: var(--olive); color: var(--bone); border-color: var(--olive); }
.cil-pagination a.page-numbers:hover { border-color: var(--glow); color: var(--glow); }

.cil-404 { text-align: center; padding: 110px 0 130px; }
.cil-404 .big { font-family: var(--serif); font-size: 90px; color: var(--glow); line-height: 1; }

/* ============================================================
   13. WooCommerce styling
   ============================================================ */
.woocommerce .products ul, .woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
/* Woo's float clearfix becomes a phantom grid item and shunts the first row
   one column across, so it has to be removed once the list is a grid. */
.woocommerce .products ul::before, .woocommerce .products ul::after,
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  padding: 0 0 20px;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a img { margin: 0 !important; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  padding: 18px 20px 4px;
}
.woocommerce ul.products li.product .price { padding: 0 20px; font-family: var(--serif); font-size: 18px; color: var(--olive); }
.woocommerce ul.products li.product .price del { color: rgba(29, 27, 21, .5); font-size: 14px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce #place_order {
  background: var(--olive) !important;
  color: var(--bone) !important;
  border-radius: 999px !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border: none !important;
  box-shadow: none !important;
  transition: background .3s;
}
.woocommerce ul.products li.product .button { margin: 16px 20px 0 !important; display: inline-block; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce #place_order:hover { background: var(--ink) !important; }
.woocommerce ul.products li.product .onsale {
  background: #121212 !important;
  color: #fff !important;
  border-radius: 5px !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: none;
  min-height: 0;
  min-width: 0;
  width: auto;
  padding: 5px 13px;
  line-height: 1.5;
  margin: 12px 0 0 12px !important;
  top: 0;
  left: 0;
  right: auto;      /* Woo pins right:0, which stretches the badge full-width. */
  bottom: auto;
  position: absolute;
  z-index: 2;
}
.woocommerce span.onsale {
  background: var(--olive) !important;
  color: var(--bone) !important;
  border-radius: 999px !important;
  padding: 5px 12px !important;
  min-height: 0;
  min-width: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  line-height: 1.6;
}

.woocommerce div.product .product_title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--ink);
}
.woocommerce div.product p.price { font-family: var(--serif); font-size: 24px; color: var(--olive); }
.woocommerce div.product p.price del { color: rgba(29, 27, 21, .5); font-size: 18px; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs { background: transparent; padding: 0; margin: 0 0 -1px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink-soft);
  padding: 14px 18px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--glow) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--line); }
.woocommerce div.product .woocommerce-tabs .panel { background: transparent; }

.woocommerce-message, .woocommerce-info {
  border-top-color: var(--glow);
  background: var(--paper);
  border-radius: 0 0 var(--r) var(--r);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--glow); }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border-radius: 12px;
  border: 1px solid rgba(29, 27, 21, .22);
  background: var(--paper);
  padding: 10px 14px;
}
.woocommerce .quantity .qty {
  border-radius: 999px;
  border: 1px solid rgba(29, 27, 21, .2);
  background: var(--paper);
  padding: 8px;
}
.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  border-collapse: separate;
}
.woocommerce nav.woocommerce-pagination ul { border: none; }
.woocommerce nav.woocommerce-pagination ul li { border: none; margin: 0 4px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 999px !important;
  border: 1px solid var(--line);
  background: var(--paper);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--olive); color: var(--bone); border-color: var(--olive); }

.woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px !important; }
.woocommerce-breadcrumb a:hover { color: var(--glow); }

.woocommerce .woocommerce-result-count { color: var(--ink-soft); font-size: 14px; }
.woocommerce .woocommerce-ordering select {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 14px;
}

.cil-shop-wrap { padding: 50px 0 100px; }
.cil-shop-wrap .wrap { max-width: var(--cil-maxw); margin: 0 auto; padding: 0 40px; }
.cil-shop-wrap .woocommerce-notices-wrapper:empty { display: none; }

/* ============================================================
   13b. Single product page
   ============================================================ */
.cil-pdp .wrap { max-width: var(--cil-maxw); margin: 0 auto; padding: 0 40px; }
.cil-pdp__top { padding: 34px 0 20px; }
.cil-pdp__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }

/* Gallery */
.cil-pdp__stage {
  border-radius: 9px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.cil-pdp__stage img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.cil-pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.cil-pdp__thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
  aspect-ratio: 1/1;
  transition: border-color .25s var(--ease);
}
.cil-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cil-pdp__thumb.is-active { border-color: var(--olive); }
.cil-pdp__thumb:hover { border-color: var(--glow); }

/* Info column */
.cil-pdp__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.cil-stars { letter-spacing: 1.5px; font-size: 14px; white-space: nowrap; }
.cil-stars .on { color: var(--glow); }
.cil-stars .half { color: var(--glow); opacity: .55; }
.cil-stars .off { color: rgba(29, 27, 21, .25); }

.cil-pdp__rating { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.cil-pdp__rating-text { font-size: 13.5px; color: var(--ink-soft); }
.cil-pdp__rating:hover .cil-pdp__rating-text { color: var(--glow); }

.cil-pdp__price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.cil-pdp__price .now { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.cil-pdp__price .was { font-family: var(--serif); font-size: 19px; color: rgba(29, 27, 21, .62); text-decoration: line-through; }
.cil-pdp__sale {
  background: var(--glow);
  color: #23200f;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
}

/* Buy box */
.cil-pdp__qty-label { display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 7px; }
.cil-pdp__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(29, 27, 21, .25);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}
.cil-qty__btn {
  width: 40px;
  height: 45px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 17px;
  color: var(--ink-soft);
  transition: color .2s;
}
.cil-qty__btn:hover { color: var(--glow); }
.cil-pdp__qty input {
  width: 48px;
  height: 45px;
  border: none;
  background: none;
  text-align: center;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  -moz-appearance: textfield;
}
.cil-pdp__qty input::-webkit-outer-spin-button,
.cil-pdp__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cil-pdp__ship { font-size: 12.5px; color: var(--ink-soft); margin: 10px 0 18px; }
.cil-pdp__ship a { text-decoration: underline; text-underline-offset: 2px; }
.cil-pdp__ship a:hover { color: var(--glow); }

.cil-pdp__atc, .cil-pdp__cod {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  border-radius: 999px;
  padding: 13px 30px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s, border-color .3s;
}
.cil-pdp__atc { background: var(--olive); color: #f4eee2; border: 1px solid var(--olive); }
.cil-pdp__atc:hover { background: var(--ink); border-color: var(--ink); }
.cil-pdp__cod {
  margin-top: 10px;
  background: var(--paper);
  color: #dba422;
  border: 1px solid rgba(219, 164, 34, .55);
}
.cil-pdp__cod:hover { background: #fdf6e8; border-color: #dba422; }
.cil-pdp__cod svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cil-pdp__oos { color: var(--ink-soft); font-weight: 600; }

/* Countdown */
.cil-pdp__countdown {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  padding: 18px 20px 20px;
  text-align: center;
}
.cil-pdp__countdown-title { font-size: 18px; font-weight: 500; color: var(--ink); margin: 0 0 14px; }
.cil-pdp__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cil-pdp__tile {
  background: var(--olive);
  border-radius: 10px;
  padding: 10px 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cil-pdp__tile .num { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--glow-2); }
.cil-pdp__tile .lab { font-size: 10.5px; letter-spacing: .04em; color: #bcc3b0; }

/* Accordions — the shared .faq__* rules are scoped to .cil-faq, so the
   product tabs need their own collapse/expand styling. */
.cil-pdp__tabs { margin-top: 26px; border-top: 1px solid var(--line); }
.cil-pdp__tab { border-bottom: 1px solid var(--line); }
.cil-pdp__tab .faq__q {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 17px 2px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.cil-pdp__tab .faq__q:hover { color: var(--glow); }
.cil-pdp__tab-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; opacity: .65; }
.cil-pdp__tab-name { flex: 1; }
.cil-pdp__tab .faq__ic { flex: 0 0 14px; width: 14px; height: 14px; position: relative; }
.cil-pdp__tab .faq__ic::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--ink-soft);
  border-bottom: 1.6px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.cil-pdp__tab.open .faq__ic::before { transform: rotate(225deg); }
.cil-pdp__tab .faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.cil-pdp__tab .faq__a .cil-rte { padding: 0 2px 20px; font-size: 14.5px; color: var(--ink-soft); }
.cil-pdp__tab .faq__a .cil-rte p { margin: 0 0 11px; }
.cil-pdp__tab .faq__a .cil-rte strong { color: var(--ink); }

/* Reviews */
.cil-pdp-reviews { padding: 54px 0 20px; }
.cil-pdp-reviews .wrap { max-width: var(--cil-maxw); margin: 0 auto; padding: 0 40px; }
.cil-pdp-reviews__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  text-align: center;
  margin: 0 0 30px;
  color: var(--ink);
}
.cil-pdp-reviews__head {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) 1.6fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}
.cil-pdp-reviews__score {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 26px;
  text-align: center;
}
.cil-pdp-reviews__score strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; margin-top: 6px; }
.cil-pdp-reviews__based { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.cil-pdp-reviews__hist { max-width: 470px; }
.cil-hist__row { display: grid; grid-template-columns: auto 1fr 34px; align-items: center; gap: 12px; margin-bottom: 7px; }
.cil-hist__bar { height: 13px; background: rgba(29, 27, 21, .09); border-radius: 3px; overflow: hidden; }
.cil-hist__bar > span { display: block; height: 100%; background: var(--glow); }
.cil-hist__n { font-size: 12.5px; color: var(--ink-soft); text-align: right; }

.cil-pdp-reviews__list { display: grid; gap: 14px; }
.cil-review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; }
.cil-review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cil-review__top time { font-size: 12px; color: var(--ink-soft); }
.cil-review__who { display: flex; align-items: center; gap: 9px; margin: 10px 0 8px; font-size: 13.5px; font-weight: 600; }
.cil-review__av {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--olive);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.cil-review__title { font-family: var(--serif); font-size: 16px; font-weight: 500; margin: 0 0 5px; color: var(--ink); }
.cil-review__body { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
.cil-pdp-reviews__more, .cil-pdp-reviews__empty { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 20px; }

/* You may also like */
.cil-similar { padding: 40px 0 90px; }
.cil-similar .wrap { max-width: var(--cil-maxw); margin: 0 auto; padding: 0 40px; }
.cil-similar__title { font-family: var(--sans); font-weight: 600; font-size: 26px; letter-spacing: -.01em; margin: 0 0 22px; color: var(--ink); }
.cil-similar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cil-scard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.cil-scard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cil-scard__media { position: relative; display: block; aspect-ratio: 1/1; background: var(--bone-2); overflow: hidden; }
.cil-scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cil-scard:hover .cil-scard__media img { transform: scale(1.05); }
.cil-scard__sale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #121212;
  color: #fff;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 5px 13px;
}
.cil-scard__body { padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.cil-scard__name { font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.3; margin: 0 0 9px; }
.cil-scard__name a:hover { color: var(--glow); }
.cil-scard__price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.cil-scard__price .now { font-family: var(--serif); font-size: 15px; }
.cil-scard__price .was { font-size: 13px; color: rgba(29, 27, 21, .62); text-decoration: line-through; }

/* ============================================================
   13c. WooCommerce Cart & Checkout blocks
   ============================================================ */
.cil-page--wide .wrap { max-width: var(--cil-maxw); }
.cil-page--wide .cil-page__title { margin-bottom: 26px; }

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { max-width: none; margin: 0; }

/* The order summary column collapses if it is allowed to shrink. */
.wc-block-components-sidebar-layout .wc-block-components-main { flex: 1 1 60%; min-width: 0; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { flex: 1 1 40%; min-width: 320px; }

/* Product titles must wrap on words, not characters. */
.wc-block-components-product-name,
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
  max-width: none;
  overflow-wrap: break-word;
  word-break: normal;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.wc-block-components-order-summary-item__description { min-width: 0; flex: 1 1 auto; }
.wc-block-components-order-summary-item { gap: 14px; }
.wc-block-components-order-summary-item__image { width: 60px; flex: none; }
.wc-block-components-order-summary-item__image img { border-radius: 8px; }
.wc-block-components-order-summary-item__total-price { white-space: nowrap; }

/* Panels */
.wc-block-components-order-summary,
.wp-block-woocommerce-checkout-order-summary-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.wp-block-woocommerce-checkout-order-summary-block { padding: 8px 22px; }
.wc-block-components-order-summary__content { padding: 4px 0; }

/* Headings */
.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.wc-block-components-checkout-step__description { color: var(--ink-soft); }

/* Fields */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-block-components-combobox-control input.components-combobox-control__input {
  border-radius: 12px !important;
  border: 1px solid rgba(29, 27, 21, .22) !important;
  background: var(--paper) !important;
  font-family: var(--sans);
  color: var(--ink);
}
.wc-block-components-text-input.is-active input:focus,
.wc-block-components-textarea:focus { box-shadow: 0 0 0 1px var(--glow) !important; outline: none; }
.wc-block-components-text-input label,
.wc-blocks-components-select__label { color: var(--ink-soft); }

/* Payment options */
.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control__option {
  border-radius: 12px;
  border: 1px solid rgba(29, 27, 21, .18);
  background: var(--paper);
}
.wc-block-components-radio-control-accordion-option:has(input:checked),
.wc-block-components-radio-control__option:has(input:checked) { border-color: var(--olive); }
.wc-block-components-radio-control__label { color: var(--ink); font-weight: 500; }

/* Buttons */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--olive) !important;
  color: #f4eee2 !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 14px 30px !important;
  transition: background .3s var(--ease);
}
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { background: var(--ink) !important; }
.wc-block-components-button.is-link { color: var(--glow) !important; }

/* Totals */
.wc-block-components-totals-item { color: var(--ink-soft); }
.wc-block-components-totals-footer-item,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--serif);
  color: var(--ink);
}
.wc-block-components-totals-wrapper { border-top-color: var(--line) !important; }
.wc-block-components-panel__button { color: var(--ink) !important; }

/* Cart line items */
.wc-block-cart-items__row { border-bottom: 1px solid var(--line); }
.wc-block-cart-item__wrap .wc-block-components-product-name { font-size: 16px; }
.wc-block-cart-item__image img { border-radius: 10px; }
.wc-block-components-quantity-selector { border-radius: 999px; border-color: rgba(29, 27, 21, .22); }
table.wc-block-cart-items { background: transparent; border: none; }
table.wc-block-cart-items th { color: var(--ink-soft); }

/* Notices */
.wc-block-components-notice-banner { border-radius: var(--r); }

/* Block buttons and cart product links should not carry underlines. */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button { text-decoration: none !important; }
.wc-block-cart-item__wrap .wc-block-components-product-name { text-decoration: none; }
.wc-block-cart-item__wrap .wc-block-components-product-name:hover { color: var(--glow); }

/* Account login / register forms read better constrained. */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-ResetPassword {
  max-width: 540px;
  border: 1px solid var(--line) !important;
  border-radius: var(--r);
  background: var(--paper);
  padding: 28px 30px !important;
}
.woocommerce-account h2 { font-family: var(--serif); font-weight: 500; }
.woocommerce form .form-row label { color: var(--ink-soft); font-size: 14px; }

/* My account (classic templates inside the page wrapper) */
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation li a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
}
.woocommerce-MyAccount-navigation li.is-active a { background: var(--olive); color: var(--bone); border-color: var(--olive); }
.woocommerce-MyAccount-navigation li a:hover { border-color: var(--glow); color: var(--glow); }
.woocommerce-MyAccount-navigation li.is-active a:hover { color: var(--bone); }
.woocommerce-MyAccount-content { font-size: 15.5px; color: var(--ink-soft); }

/* ============================================================
   14. Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .cil-best .best__grid { grid-template-columns: repeat(2, 1fr); }
  .cil-best .pcard--feature { grid-column: span 2; grid-row: auto; }
  .cil-actives .actives__grid { grid-template-columns: repeat(2, 1fr); }
  .cil-results .results__in { grid-template-columns: 1fr; gap: 40px; }
  .cil-reviews .rgrid { grid-template-columns: 1fr; }
  .cil-why .why__grid { grid-template-columns: repeat(2, 1fr); }
  .cil-why .why__item { border-bottom: 1px solid var(--line); }
  .cil-why .why__item:nth-child(2n) { border-right: none; }
  .cil-faq .faq__in { grid-template-columns: 1fr; gap: 30px; }
  .cil-footer__top { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .cil-footer__brand { grid-column: 1 / -1; }
  /* Compact header, matching the live store's mobile metrics. */
  .cil-header__nav { display: none; }
  .cil-burger { display: block; width: 44px; height: 44px; }
  .cil-burger span { left: 12px; right: 12px; }
  .cil-burger span:nth-child(1) { top: 15px; }
  .cil-burger span:nth-child(2) { top: 21px; }
  .cil-burger span:nth-child(3) { top: 27px; }
  .cil-header__inner { min-height: 130px; padding: 0 18px; }
  .cil-header__logo img { height: 115px; }
  .cil-header__icon { width: 44px; height: 44px; }
  .cil-header__account { display: none; } /* Hidden on mobile on the live store. */
  .cil-header__search form { padding: 16px 24px; }

  /* Product page stacks; side-by-side columns overflow below ~900px. */
  .cil-pdp__cols { grid-template-columns: 1fr; gap: 30px; }
  .cil-pdp-reviews__head { grid-template-columns: 1fr; gap: 22px; }
  .cil-pdp-reviews__hist { max-width: none; }
  .cil-similar__grid { grid-template-columns: repeat(2, 1fr); }

  /* Block cart/checkout stack, so the sidebar must be free to shrink. */
  .wc-block-components-sidebar-layout .wc-block-components-sidebar { min-width: 0; }

  /* Drop the line price below the title, otherwise it starves the name column. */
  .wc-block-components-order-summary-item { flex-wrap: wrap; }
  .wc-block-components-order-summary-item__description { flex: 1 1 0; min-width: 130px; }
  .wc-block-components-order-summary-item__total-price {
    flex: 1 0 100%;
    margin-top: 6px;
    text-align: left;
    white-space: normal;
  }
  .cil-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .cil-hero .intro__grid { grid-template-columns: 1fr; gap: 38px; }
  .cil-hero .intro__proof { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 32px; }
}

@media (max-width: 749px) {
  .cil-slideshow--banner { aspect-ratio: 1 / 1; }
}

@media (max-width: 600px) {
  .cil-home .wrap, .cil-footer .wrap, .cil-page .wrap, .cil-shop-wrap .wrap,
  .cil-pdp .wrap, .cil-pdp-reviews .wrap, .cil-similar .wrap { padding-left: 22px; padding-right: 22px; }
  .cil-similar__grid { grid-template-columns: 1fr; }

  /* The cart table's min-content is driven by the "Save Rs.x" badge, which
     pushes the table past the viewport unless it is allowed to wrap. */
  table.wc-block-cart-items { width: 100% !important; max-width: 100%; }
  .wc-block-cart-item__total,
  .wc-block-cart-item__total-price-and-sale-badge-wrapper { min-width: 0; }
  .wc-block-components-sale-badge {
    white-space: normal;
    word-break: break-word;
    font-size: 11px;
    padding: 3px 8px;
  }

  .cil-pdp__tiles { gap: 7px; }
  .cil-pdp__tile .num { font-size: 19px; }
  .cil-pdp__title { font-size: 21px; }
  .cil-review { padding: 18px 18px; }
  .cil-header__inner { min-height: 130px; padding: 0 18px; gap: 6px; }
  .cil-header__logo img { height: 115px; }
  .cil-header__cart { padding: 11px 22px; margin-left: 0; }
  .cil-announce { font-size: 13.2px; letter-spacing: .05em; padding: 9px 30px; }
  .cil-header__search form { padding: 14px 18px; }
  .cil-best .best__grid { grid-template-columns: 1fr; }
  .cil-best .pcard--feature { grid-column: auto; }
  .cil-actives .actives__grid { grid-template-columns: 1fr 1fr; }
  .cil-why .why__grid { grid-template-columns: 1fr; }
  .cil-why .why__item { border-right: none; }
  .cil-actives { margin: 0 8px; border-radius: 26px; }
  .cil-footer { padding: 54px 0 30px; }
  .cil-footer__top { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .cil-footer__bot { justify-content: center; text-align: center; }
  .cil-posts-grid { grid-template-columns: 1fr; }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: 1fr; }
}
