/* =====================================================================
   icligo Shop — behaviour and motion layer
   Colours, type and spacing come from theme.json. This file only holds
   what theme.json cannot express.
   ===================================================================== */

:root{
  --icligo-ease: cubic-bezier(.22,.61,.36,1);
  --icligo-radius: 12px;
  --icligo-radius-tile: 14px;
}

/* ---------------------------------------------------------------------
   1. Buttons — rounded rectangle, lift + coloured shadow on hover
   --------------------------------------------------------------------- */
.wp-block-button__link,
.wp-element-button{
  transition: transform .35s var(--icligo-ease),
              box-shadow .35s var(--icligo-ease),
              background-color .3s var(--icligo-ease),
              border-color .3s var(--icligo-ease),
              color .3s var(--icligo-ease);
  will-change: transform;
}
.wp-block-button__link:hover,
.wp-element-button:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(224,81,31,.42);
}
.wp-block-button__link:active,
.wp-element-button:active{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(224,81,31,.35);
}

/* Secondary (outline) button — fills in on hover */
.wp-block-button.is-style-outline > .wp-block-button__link{
  background-color: transparent;
  color: var(--wp--preset--color--ink);
  border-color: rgba(17,17,19,.18);
  box-shadow: none;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover{
  background-color: var(--wp--preset--color--ink);
  border-color: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
  box-shadow: 0 12px 26px rgba(11,3,3,.2);
}
/* Dark (ink) primary — used where orange would be too loud */
.wp-block-button.is-style-ink > .wp-block-button__link{
  background-color: var(--wp--preset--color--ink);
  border-color: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
}
.wp-block-button.is-style-ink > .wp-block-button__link:hover{
  background-color: #000;
  border-color: #000;
  box-shadow: 0 12px 26px rgba(11,3,3,.28);
}

/* ---------------------------------------------------------------------
   2. Dark sections — pinned to absolute values so text never goes
      dark-on-dark, whatever the visitor's colour scheme is.
   --------------------------------------------------------------------- */
.icligo-on-night,
.icligo-on-night :where(h1,h2,h3,h4,h5,h6,p,li,strong,figcaption,.wp-block-heading){
  color: #FFFFFF;
}
.icligo-on-night :where(.has-ink-soft-color, .has-steel-color, .icligo-muted){
  color: rgba(255,255,255,.66) !important;
}
.icligo-on-night a:not(.wp-block-button__link){ color:#FFFFFF; }
.icligo-on-night a:not(.wp-block-button__link):hover{ color: var(--wp--preset--color--flame); }
.icligo-on-night .wp-block-button.is-style-outline > .wp-block-button__link{
  color:#FFFFFF; border-color: rgba(255,255,255,.34);
}
.icligo-on-night .wp-block-button.is-style-outline > .wp-block-button__link:hover{
  background-color:#FFFFFF; border-color:#FFFFFF; color: var(--wp--preset--color--night);
  box-shadow: 0 12px 26px rgba(0,0,0,.45);
}
.icligo-on-night input,
.icligo-on-night .wp-block-search__input{
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: var(--icligo-radius);
  color:#FFFFFF; padding: 13px 15px;
}
.icligo-on-night input::placeholder{ color: rgba(255,255,255,.4); }
.icligo-on-night input:focus{ outline:none; border-color: var(--wp--preset--color--flame); }

/* ---------------------------------------------------------------------
   3. Product photography — cursor-tracked hover zoom
      Add the class "icligo-zoom" to an Image or Group block.
      "icligo-zoom--strong" magnifies further (product page).
   --------------------------------------------------------------------- */
.icligo-zoom,
.icligo-zoom figure,
.icligo-zoom .wp-block-image{
  overflow: hidden;
  border-radius: var(--icligo-radius-tile);
}
.icligo-zoom img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform .5s var(--icligo-ease);
  will-change: transform;
}
.icligo-zoom:hover img{ transform: scale(1.45); }
.icligo-zoom--strong:hover img{ transform: scale(1.9); }
.icligo-zoom.is-locked img{ transform: scale(2.6); transition: transform .22s ease-out; }
.icligo-zoom{ cursor: zoom-in; }
.icligo-zoom.is-locked{ cursor: zoom-out; }

/* Fixed 4:5 product frame */
.icligo-frame img{ aspect-ratio: 4 / 5; }
.icligo-frame--wide img{ aspect-ratio: 4 / 3; }

/* Touch devices: no hover zoom, no misleading cursor */
@media (hover: none){
  .icligo-zoom{ cursor: default; }
  .icligo-zoom:hover img,
  .icligo-zoom.is-locked img{ transform: none; }
}
@media (prefers-reduced-motion: reduce){
  .icligo-zoom img,
  .wp-block-button__link,
  .wp-element-button{ transition: none !important; }
  .icligo-zoom:hover img{ transform: none; }
}

/* ---------------------------------------------------------------------
   4. Sticky header
   --------------------------------------------------------------------- */
.icligo-header{
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--wp--preset--color--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--icligo-ease), padding .4s var(--icligo-ease);
}
.icligo-header.is-stuck{ border-bottom-color: rgba(17,17,19,.08); }
.admin-bar .icligo-header{ top: 32px; }
@media (max-width: 782px){ .admin-bar .icligo-header{ top: 46px; } }
.icligo-header .wp-block-site-logo img{ height: 24px; width: auto; }

/* Nav links get the orange underline slide */
.icligo-header .wp-block-navigation-item__content{ position: relative; padding-bottom: 4px; }
.icligo-header .wp-block-navigation-item__content::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background: var(--wp--preset--color--flame);
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--icligo-ease);
}
.icligo-header .wp-block-navigation-item__content:hover::after,
.icligo-header .current-menu-item .wp-block-navigation-item__content::after{ transform: scaleX(1); }

/* ---------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------- */
.icligo-hero{ min-height: 100svh; }
.icligo-hero .wp-block-cover__image-background{ will-change: transform; }
.icligo-hero .icligo-logo img{ height: clamp(30px, 4.4vw, 50px); width: auto; }
@media (max-width: 781px){
  .icligo-hero .wp-block-cover__image-background{ object-position: 73% 50% !important; }
}

/* ---------------------------------------------------------------------
   6. Small pieces
   --------------------------------------------------------------------- */
.icligo-strip{ border-top: 1px solid rgba(17,17,19,.08); border-bottom: 1px solid rgba(17,17,19,.08);
  padding-left: max(var(--wp--style--root--padding-left, 24px), calc((100% - 1240px) / 2)) !important;
  padding-right: max(var(--wp--style--root--padding-right, 24px), calc((100% - 1240px) / 2)) !important;
  box-sizing: border-box; }
.icligo-strip p{ margin: 0; font-size: .88rem; }
.icligo-price{ font-weight: 700; font-size: 1.05rem; }
.icligo-swatch{
  display:inline-flex; align-items:center; gap:9px;
  border:1.5px solid rgba(17,17,19,.15); border-radius:10px;
  padding:7px 13px 7px 7px; font-size:.84rem;
}
.icligo-on-night .icligo-swatch{ border-color: rgba(255,255,255,.3); }
.icligo-swatch span.dot{ width:20px; height:20px; border-radius:6px; display:inline-block; border:1px solid rgba(17,17,19,.08); }
.wp-block-details summary{ font-weight: 700; cursor: pointer; transition: color .25s; }
.wp-block-details summary:hover{ color: var(--wp--preset--color--flame); }
.wp-block-details p{ color: var(--wp--preset--color--ink-soft); font-size: .93rem; max-width: 54ch; }

/* ---------------------------------------------------------------------
   7. WooCommerce — brand styling for the shop, cart and checkout
      (only applies when WooCommerce is active)
   --------------------------------------------------------------------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button{
  background-color: var(--wp--preset--color--flame) !important;
  border: 1.5px solid var(--wp--preset--color--flame) !important;
  color: #FFFFFF !important;
  border-radius: var(--icligo-radius) !important;
  font-weight: 700;
  padding: 15px 30px;
  transition: transform .35s var(--icligo-ease), box-shadow .35s var(--icligo-ease), background-color .3s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:hover{
  background-color: var(--wp--preset--color--flame-deep) !important;
  border-color: var(--wp--preset--color--flame-deep) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(224,81,31,.42);
}
.woocommerce .price,
.wc-block-components-product-price{ font-weight: 700; color: var(--wp--preset--color--ink); }
.woocommerce div.product div.images img{ border-radius: var(--icligo-radius-tile); }
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info{ border-top-color: var(--wp--preset--color--flame); border-radius: var(--icligo-radius-tile); }
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before{ color: var(--wp--preset--color--flame); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.wc-block-components-text-input input{
  border: 1.5px solid rgba(17,17,19,.15);
  border-radius: var(--icligo-radius);
  padding: 13px 14px;
}
.woocommerce form .form-row input.input-text:focus,
.wc-block-components-text-input input:focus{ border-color: var(--wp--preset--color--flame); outline: none; }
/* Variation swatches / size buttons rendered as pills */
.woocommerce div.product form.cart .variations select{ border-radius: var(--icligo-radius); padding: 12px; }

/* Sticky buying column on the product page */
@media (min-width: 782px){
  .icligo-sticky-col{ position: sticky; top: 100px; align-self: flex-start; }
  .admin-bar .icligo-sticky-col{ top: 132px; }
}

/* =====================================================================
   8. Parity fixes — things WordPress renders differently by default
   ===================================================================== */

/* 8.1 Typography: pin Inter hard, so a plugin's global styles cannot
   silently fall back to Arial. */
body,
body .wp-site-blocks,
.editor-styles-wrapper{
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
body :where(h1,h2,h3,h4,h5,h6),
.editor-styles-wrapper :where(h1,h2,h3,h4,h5,h6){
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.035em;
}

/* 8.2 The sticky header lives on the <header> element, not on an inner
   group — an inner group cannot escape its parent's box. */
header.icligo-header{
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.icligo-header .wp-block-group{ background: transparent; }

/* Logo badge: fixed white/black chip behind the mark so it stays legible
   whatever the page background is, and switches with the OS colour scheme
   (light system → dark mark on white chip; dark system → white mark on
   black chip). Bumped from 26px to 38px — the old size read as a favicon. */
.icligo-brand a{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff;
}
.icligo-brand img{ height: 38px; width: auto; display: block; }
@media (prefers-color-scheme: dark){
  .icligo-brand a{ background: #111; }
}

/* 8.3 Icon links in the header */
.icligo-icons{ display: flex; align-items: center; gap: 2px; }
.icligo-icons a{
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; color: var(--wp--preset--color--ink);
  transition: background-color .25s, color .25s;
}
.icligo-icons a:hover{ background: rgba(224,81,31,.12); color: var(--wp--preset--color--flame); }
.icligo-icons svg{ width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* 8.4 Size chips — a Button block with the "Size" style */
.wp-block-button.is-style-size > .wp-block-button__link{
  background-color: transparent;
  color: var(--wp--preset--color--ink);
  border: 1.5px solid rgba(17,17,19,.15);
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 54px;
  text-align: center;
  font-size: .86rem;
  box-shadow: none;
}
.wp-block-button.is-style-size > .wp-block-button__link:hover{
  border-color: var(--wp--preset--color--flame);
  color: var(--wp--preset--color--flame);
  background-color: transparent;
  transform: translateY(-2px);
  box-shadow: none;
}
.icligo-on-night .wp-block-button.is-style-size > .wp-block-button__link{
  color: #FFFFFF;
  border-color: rgba(255,255,255,.3);
}
.icligo-on-night .wp-block-button.is-style-size > .wp-block-button__link:hover{
  border-color: var(--wp--preset--color--flame);
  color: var(--wp--preset--color--flame);
}
.icligo-sizes{ gap: 8px; }

/* 8.5 Footer link lists carry no bullets */
.icligo-footer-list,
.icligo-on-night ul.wp-block-list{
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.icligo-footer-list li{ margin: 0; }

/* 8.6 Newsletter field + button on one row */
.icligo-signup{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  max-width: 440px;
}
.icligo-signup input[type="email"]{
  flex: 1;
  min-width: 190px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: var(--icligo-radius);
  padding: 14px 16px;
  color: #FFFFFF;
  font-size: .95rem;
}
.icligo-signup input[type="email"]::placeholder{ color: rgba(255,255,255,.42); }
.icligo-signup input[type="email"]:focus{ outline: none; border-color: var(--wp--preset--color--flame); }
.icligo-signup button{
  background: var(--wp--preset--color--flame);
  border: 1.5px solid var(--wp--preset--color--flame);
  color: #FFFFFF;
  font-weight: 700;
  font-size: .93rem;
  border-radius: var(--icligo-radius);
  padding: 14px 28px;
  cursor: pointer;
  transition: transform .35s var(--icligo-ease), box-shadow .35s var(--icligo-ease), background-color .3s;
}
.icligo-signup button:hover{
  background: var(--wp--preset--color--flame-deep);
  border-color: var(--wp--preset--color--flame-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(224,81,31,.42);
}

/* 8.7 Muted copy on dark, including headings */
.icligo-on-night .icligo-muted,
.icligo-on-night h4.icligo-muted{ color: rgba(255,255,255,.55) !important; }

/* 8.8 Keep the two product columns from drifting apart when one side is
   much shorter than the photograph. */
@media (min-width: 782px){
  .wp-block-columns.are-vertically-aligned-center > .wp-block-column{ align-self: center; }
}

/* 8.9 Cap the product photograph so a short text column does not leave a
   tall empty band beside it (object-fit keeps the crop clean). */
.icligo-frame img{
  aspect-ratio: 4 / 5;
  max-height: min(74vh, 700px);
  object-fit: cover;
}
.icligo-frame--wide img{ aspect-ratio: 4 / 3; max-height: min(64vh, 620px); }

/* =====================================================================
   9. Live WooCommerce product sections
      ([icligo_product] renders this markup; stock and prices are Woo's)
   ===================================================================== */
.icligo-product{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(26px, 4.5vw, 72px);
  padding-block: clamp(54px, 8vh, 112px);
  max-width: 1560px;
  margin-inline: auto;
}
.icligo-product.is-media-right .icligo-product__media{ order: 2; }
.icligo-product__media{ display: grid; gap: 10px; }
.icligo-product__media figure{ margin: 0; }
.icligo-product__media img{ width: 100%; border-radius: var(--icligo-radius-tile); }
.icligo-frame--empty{
  aspect-ratio: 4/5; background: var(--wp--preset--color--mist); border-radius: var(--icligo-radius-tile);
}
.icligo-product__info{ display: grid; gap: 16px; align-content: center; }
.icligo-product__title{
  font-size: var(--wp--preset--font-size--x-large);
  letter-spacing: -.042em; margin: 0;
}
.icligo-product__price{
  margin: 0; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.icligo-product__price .woocommerce-Price-amount{ font-weight: 700; }
.icligo-product__price del{ opacity: .5; font-weight: 300; }
.icligo-product__price .icligo-muted{ font-weight: 300; font-size: .84rem; color: var(--wp--preset--color--steel); }
.icligo-product__excerpt p{ margin: 0; color: var(--wp--preset--color--ink-soft); }
@media (max-width: 880px){
  .icligo-product{ grid-template-columns: 1fr; padding-inline: clamp(20px,5vw,72px); }
  .icligo-product.is-media-right .icligo-product__media{ order: 0; }
}

/* 9.1 Size chips driven by the real variations */
.icligo-sizes-head{ display: flex; justify-content: space-between; gap: 12px; font-size: .79rem; }
.icligo-sizes-wrap{ display: grid; gap: 9px; }
.icligo-sizes{ display: flex; flex-wrap: wrap; gap: 8px; }
.icligo-size{
  min-width: 54px; padding: 12px 14px; cursor: pointer;
  background: transparent; color: var(--wp--preset--color--ink);
  border: 1.5px solid rgba(17,17,19,.15); border-radius: 10px;
  font-size: .86rem; font-weight: 700;
  transition: border-color .25s, color .25s, transform .25s var(--icligo-ease);
}
.icligo-size:hover:not(:disabled){ border-color: var(--wp--preset--color--flame); color: var(--wp--preset--color--flame); transform: translateY(-2px); }
.icligo-size[aria-pressed="true"]{
  background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper);
  border-color: var(--wp--preset--color--ink); transform: none;
}
.icligo-size:disabled{ opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.icligo-on-night .icligo-size{ color: #fff; border-color: rgba(255,255,255,.3); }
.icligo-on-night .icligo-size[aria-pressed="true"]{ background: #fff; color: var(--wp--preset--color--night); border-color: #fff; }

/* 9.2 Stock line */
.icligo-stock{ margin: 0; display: inline-flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--wp--preset--color--ink-soft); }
.icligo-on-night .icligo-stock{ color: rgba(255,255,255,.72); }
.icligo-stock .dot{ width: 8px; height: 8px; border-radius: 3px; background: #2E8B57; flex: none; }
.icligo-stock .dot.low{ background: var(--wp--preset--color--flame); }
.icligo-stock .dot.out{ background: var(--wp--preset--color--steel); }

/* 9.3 Woo's own add-to-cart form, wearing the icligo clothes.
   The native select stays in the DOM and is only hidden once the chips
   are confirmed working, so the product is buyable without JavaScript. */
.icligo-product .variations_form{ margin: 0; }
.icligo-product .variations{ margin: 0 0 14px; }
.icligo-product .variations th,
.icligo-product .variations td{ padding: 0 0 8px; text-align: left; }
.icligo-product .variations select{
  background: var(--wp--preset--color--surface, #fff);
  border: 1.5px solid rgba(17,17,19,.15);
  border-radius: var(--icligo-radius);
  padding: 13px 14px; min-width: 200px;
}
.icligo-has-chips .variations{
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.icligo-product .woocommerce-variation-price{ margin-bottom: 12px; font-weight: 700; }
.icligo-product .woocommerce-variation-availability{ display: none; } /* our stock line says it */
.icligo-product form.cart{ display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.icligo-product form.cart .quantity{ display: inline-flex; align-items: center; border: 1.5px solid rgba(17,17,19,.15); border-radius: var(--icligo-radius); }
.icligo-product form.cart .quantity input{
  width: 64px; height: 46px; border: 0; background: transparent; text-align: center; font-weight: 700;
  -moz-appearance: textfield;
}
.icligo-on-night .icligo-product form.cart .quantity,
.icligo-on-night .variations select{ border-color: rgba(255,255,255,.3); background: transparent; color: #fff; }
.icligo-product form.cart .button,
.icligo-product form.cart button[type="submit"]{
  flex: 1; min-width: 200px;
  background: var(--wp--preset--color--flame) !important;
  border: 1.5px solid var(--wp--preset--color--flame) !important;
  color: #fff !important; border-radius: var(--icligo-radius) !important;
  padding: 15px 30px; font-weight: 700; font-size: .93rem; cursor: pointer;
}
.icligo-product form.cart .button:hover{
  background: var(--wp--preset--color--flame-deep) !important;
  border-color: var(--wp--preset--color--flame-deep) !important;
  transform: translateY(-3px); box-shadow: 0 12px 28px rgba(224,81,31,.42);
}
.icligo-product form.cart .button[disabled],
.icligo-product .woocommerce-variation-add-to-cart-disabled .button{ opacity: .4; pointer-events: none; }
.icligo-product .reset_variations{ font-size: .8rem; }

/* 9.4 Per-size stock table */
.icligo-stock-table{
  width: 100%; border-collapse: collapse; font-size: .9rem;
  border: 1px solid rgba(17,17,19,.1); border-radius: var(--icligo-radius-tile); overflow: hidden;
}
.icligo-stock-table caption{ text-align: left; font-weight: 700; padding: 0 0 10px; }
.icligo-stock-table th,
.icligo-stock-table td{ padding: 11px 14px; text-align: left; border-bottom: 1px solid rgba(17,17,19,.07); }
.icligo-stock-table thead th{ font-size: .78rem; color: var(--wp--preset--color--steel); font-weight: 700; }
.icligo-stock-table tbody tr:last-child th,
.icligo-stock-table tbody tr:last-child td{ border-bottom: 0; }
.icligo-stock-table .dot{ width: 8px; height: 8px; border-radius: 3px; background: #2E8B57; display: inline-block; }
.icligo-stock-table .dot.low{ background: var(--wp--preset--color--flame); }
.icligo-stock-table .dot.out{ background: var(--wp--preset--color--steel); }

/* 9.5 "Not connected yet" placeholder */
.icligo-notice{
  border: 1.5px dashed rgba(224,81,31,.5); border-radius: var(--icligo-radius-tile);
  padding: 22px 24px; margin: 24px auto; max-width: 620px; font-size: .92rem;
}
.icligo-notice p{ margin: 6px 0 0; color: var(--wp--preset--color--ink-soft); }
.icligo-notice code{ background: rgba(224,81,31,.1); padding: 2px 6px; border-radius: 5px; }

/* =====================================================================
   10. Storefront layout matched to the icligo prototype (1.1.3)
   ===================================================================== */
:root{ --icligo-pad: clamp(20px, 5vw, 72px); }

/* 10.1 Full-bleed bands: a product section spans the window; its night
   variant paints the whole width, the content keeps the prototype gutters. */
.icligo-band{ width: auto; max-width: none !important; }
.wp-site-blocks > .icligo-band{ width: 100%; }
.icligo-band.icligo-on-night{ background: var(--wp--preset--color--night); }
main.wp-block-group:has(> .icligo-band){ padding-bottom: 0 !important; }
.icligo-product.is-section{
  max-width: none; margin: 0;
  padding: clamp(54px, 8vh, 112px) var(--icligo-pad);
}
.icligo-product.is-section .icligo-frame img{ max-height: none; }
.icligo-product__media figure{ overflow: hidden; border-radius: var(--icligo-radius-tile); background: var(--wp--preset--color--mist); }
.icligo-product__media img{ display: block; border-radius: 0; }
.icligo-product__info{ gap: 15px; }
.icligo-product__head{ display: grid; gap: 15px; }
.icligo-product__title{ margin: 0; font-size: clamp(1.95rem, 4.4vw, 3.5rem); letter-spacing: -.042em; line-height: 1.02; font-weight: 700; }
.icligo-product__title a{ color: inherit; text-decoration: none; }
.icligo-product__price{ margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 1.05rem; }
.icligo-product__excerpt{ font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.6; max-width: 48ch; }
.icligo-product__excerpt ul{ margin: 0; padding-left: 1.1em; }
.icligo-on-night .icligo-product__excerpt, .icligo-on-night .icligo-product__excerpt p{ color: rgba(255,255,255,.66); }
.icligo-meta{ font-size: .79rem; color: var(--wp--preset--color--steel); }
.icligo-small{ font-size: .84rem; }
.icligo-on-night .icligo-meta{ color: rgba(255,255,255,.66); }

/* 10.2 Colour swatch next to the stock count */
.icligo-swatch-row{ display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.icligo-swatch{ display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid rgba(17,17,19,.15); border-radius: 10px; padding: 7px 13px 7px 7px; font-size: .84rem; justify-self: start; }
.icligo-swatch i{ width: 20px; height: 20px; border-radius: 6px; border: 1px solid rgba(17,17,19,.08); display: inline-block; }
.icligo-on-night .icligo-swatch{ border-color: rgba(255,255,255,.3); }
.icligo-field{ display: grid; gap: 9px; }

/* 10.3 Buttons row: Add to cart — price, and the ghost "See the details" */
.icligo-product__cart{ display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; margin-top: 6px; }
.icligo-product.is-section .icligo-product__cart form.cart{ flex: 0 0 auto; }
.icligo-product.is-section form.cart .quantity{ display: none !important; }
.icligo-product.is-section form.cart .button,
.icligo-product.is-section form.cart button[type="submit"]{ flex: 0 0 auto; min-width: 0; }
.icligo-product .single_variation_wrap .woocommerce-variation-price{ display: none; }
.icligo-btn-ghost{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: var(--icligo-radius); border: 1.5px solid rgba(17,17,19,.15);
  font-size: .93rem; font-weight: 700; line-height: 1; color: var(--wp--preset--color--ink); text-decoration: none;
  transition: transform .35s var(--icligo-ease), box-shadow .35s var(--icligo-ease), background-color .3s, color .3s, border-color .3s;
}
.icligo-btn-ghost:hover{ background: var(--wp--preset--color--ink); color: #fff; border-color: var(--wp--preset--color--ink); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11,3,3,.18); }
.icligo-on-night .icligo-btn-ghost{ color: #fff !important; border-color: rgba(255,255,255,.34); }
.icligo-on-night .icligo-btn-ghost:hover{ background: #fff; color: var(--wp--preset--color--night) !important; border-color: #fff; }
.icligo-on-night .icligo-product form.cart .button{ box-shadow: none; }
.icligo-product .woocommerce-variation-description p{ margin: 0 0 8px; }

/* 10.4 Product page: stacked gallery on the left, sticky buying column */
.icligo-product.is-page{
  grid-template-columns: 1.12fr .88fr; align-items: start;
  gap: clamp(24px, 4vw, 60px); padding: clamp(10px, 2vh, 24px) 0 clamp(54px, 8vh, 104px);
  max-width: none;
}
.icligo-product.is-page .icligo-product__media{ gap: 10px; }
.icligo-product.is-page .icligo-frame img{ max-height: none; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.icligo-product.is-page .icligo-product__info{ position: sticky; top: 100px; gap: 22px; align-content: start; }
.admin-bar .icligo-product.is-page .icligo-product__info{ top: 132px; }
.icligo-product.is-page .icligo-product__head{ gap: 10px; }
.icligo-product.is-page .icligo-product__title{ font-size: clamp(1.95rem, 4vw, 3.1rem); }
.icligo-thumbs{ display: flex; gap: 8px; flex-wrap: wrap; }
.icligo-thumb{ width: 70px; aspect-ratio: 4/5; border: 1.5px solid transparent; border-radius: 10px; overflow: hidden; background: var(--wp--preset--color--mist); transition: transform .3s var(--icligo-ease), border-color .3s; }
.icligo-thumb:hover{ transform: translateY(-3px); }
.icligo-thumb[aria-current="true"]{ border-color: var(--wp--preset--color--flame); }
.icligo-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.icligo-product.is-page form.cart{ flex: 1; }
.icligo-product.is-page .icligo-product__cart{ display: block; }
.icligo-product form.cart .quantity{ overflow: hidden; }
.icligo-step{ width: 44px; height: 46px; background: none; border: 0; cursor: pointer; font-size: 1.1rem; color: inherit; transition: color .25s; }
.icligo-step:hover{ color: var(--wp--preset--color--flame); }
.icligo-product form.cart .quantity input{ width: 34px; padding: 0; }
.icligo-product form.cart .quantity input::-webkit-inner-spin-button,
.icligo-product form.cart .quantity input::-webkit-outer-spin-button{ -webkit-appearance: none; margin: 0; }
.icligo-product.is-page .woocommerce-variation-add-to-cart{ display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.icligo-product.is-page .woocommerce-variation-add-to-cart .button{ flex: 1; }

/* 10.5 Accordions */
.icligo-accordion{ margin-top: 4px; }
.icligo-acc{ border-top: 1px solid rgba(17,17,19,.08); }
.icligo-acc:last-child{ border-bottom: 1px solid rgba(17,17,19,.08); }
.icligo-acc summary{
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: .95rem; transition: color .25s;
}
.icligo-acc summary::-webkit-details-marker{ display: none; }
.icligo-acc summary:hover{ color: var(--wp--preset--color--flame); }
.icligo-acc summary i{ width: 11px; height: 11px; position: relative; flex: none; }
.icligo-acc summary i::before, .icligo-acc summary i::after{ content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--icligo-ease); }
.icligo-acc summary i::after{ transform: rotate(90deg); }
.icligo-acc[open] summary i::after{ transform: rotate(0); }
.icligo-acc__body{ padding-bottom: 16px; color: var(--wp--preset--color--ink-soft); font-size: .93rem; max-width: 58ch; }
.icligo-acc__body p{ margin: 0 0 10px; }
.icligo-acc__body table{ width: 100%; border-collapse: collapse; }
.icligo-acc__body th, .icligo-acc__body td{ text-align: left; padding: 6px 0; border-bottom: 1px solid rgba(17,17,19,.06); font-weight: 400; }
.icligo-acc__body th{ color: var(--wp--preset--color--steel); width: 40%; }
.icligo-acc__body td p{ margin: 0; }

@media (max-width: 880px){
  .icligo-product.is-section, .icligo-product.is-page{ grid-template-columns: 1fr; }
  .icligo-product.is-section.is-media-right .icligo-product__media{ order: 0; }
  .icligo-product.is-page .icligo-product__info{ position: static; }
  .icligo-product.is-page .icligo-product__media{ display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--wp--style--root--padding-left, 20px) * -1); }
  .icligo-product.is-page .icligo-product__media figure{ flex: 0 0 100%; scroll-snap-align: center; border-radius: 0; }
  .icligo-thumbs{ display: none; }
}

/* 10.6 Trust strip with icons */
.icligo-strip-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 26px var(--icligo-pad); border-top: 1px solid rgba(17,17,19,.08); border-bottom: 1px solid rgba(17,17,19,.08); }
.icligo-strip-grid > div{ display: flex; gap: 10px; align-items: center; font-size: .88rem; }
.icligo-strip-grid svg{ width: 18px; height: 18px; stroke: var(--wp--preset--color--flame); fill: none; stroke-width: 1.6; flex: none; }
@media (max-width: 760px){ .icligo-strip-grid{ grid-template-columns: 1fr; gap: 12px; } }

/* 10.7 Shop page head and product breadcrumb */
.icligo-page-head{ display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.icligo-page-head h1{ margin: 0; font-size: clamp(1.95rem, 4.4vw, 3.5rem); letter-spacing: -.042em; }
.icligo-crumbs, .icligo-crumbs a{ font-size: .79rem; color: var(--wp--preset--color--steel); text-decoration: none; }
.icligo-crumbs a:hover{ color: var(--wp--preset--color--flame); }
.icligo-pdp-wrap{ padding-left: var(--icligo-pad) !important; padding-right: var(--icligo-pad) !important; }

/* 10.8 Prototype details: hero gutter, full-strength cart button before a
   size is picked (Woo still asks for the size), no gap above the footer. */
.icligo-hero .wp-block-cover__inner-container{ padding-left: var(--icligo-pad); padding-right: var(--icligo-pad); box-sizing: border-box; }
.icligo-product form.cart .button.wc-variation-selection-needed,
.icligo-product .woocommerce-variation-add-to-cart-disabled .button{ opacity: 1; pointer-events: auto; }
.wp-site-blocks > footer, .wp-site-blocks > .wp-block-template-part:last-child{ margin-block-start: 0; }
.icligo-product .screen-reader-text{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =====================================================================
   11. Prototype typography (1.1.4): Inter Light 300 at 16.5px for copy,
       Inter Bold 700 for headings and buttons — the only two weights
       that are loaded, so nothing is synthesised.
   ===================================================================== */
body{
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 300; font-size: 16.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body :where(p, li, a, span, label, td, th, dd, dt, summary, input, select, textarea, button){ font-family: inherit; }
body :where(p, li, span, label, td, dd, input, select, textarea){ font-weight: 300; }
strong, b, th{ font-weight: 700; }
h1, h2, h3{ font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.icligo-size, .icligo-step, .icligo-btn-ghost, .wp-element-button, .button{ font-family: inherit !important; }
.icligo-size{ font-size: .86rem; font-weight: 700; letter-spacing: 0; }

/* Hero line: light, 86% white, wraps at 26 characters like the design */
.icligo-hero p{ font-weight: 300; }
.icligo-hero .icligo-on-night > p:first-of-type,
.icligo-hero p[style*="clamp(1.1rem"]{ color: rgba(255,255,255,.86) !important; max-width: 26ch; }
.icligo-hero .icligo-muted{ color: rgba(255,255,255,.62) !important; }
.icligo-hero .icligo-on-night{ gap: 26px; }

/* Header: "Shop" link and the three icons as in the design */
.icligo-header .wp-block-navigation-item__content{ font-size: .92rem; font-weight: 300; padding: 9px 4px; }
.icligo-header .wp-block-navigation{ margin-right: 10px; }
.icligo-icons{ gap: 4px; }
.icligo-icons a{ position: relative; }
.icligo-count{
  position: absolute; top: 2px; right: 0; transform: translate(4px, 0);
  background: var(--wp--preset--color--flame); color: #fff; font-size: .62rem; font-weight: 700;
  min-width: 17px; height: 17px; border-radius: 6px; display: grid; place-items: center; padding: 0 4px;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.icligo-count[hidden]{ display: none; }
.icligo-header .wp-block-woocommerce-customer-account,
.icligo-header .wp-block-woocommerce-mini-cart{ display: none !important; }

/* Product copy sizes from the design */
.icligo-product__excerpt, .icligo-product__excerpt p, .icligo-product__excerpt li{ font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.6; }
.icligo-product__price .woocommerce-Price-amount{ font-size: 1.05rem; letter-spacing: -.018em; }
.icligo-product__price .icligo-muted{ font-size: .84rem; }
.icligo-crumbs{ margin: 0 0 clamp(14px, 2.5vh, 28px); }
.icligo-product.is-page form.cart, .icligo-product.is-page .single_variation_wrap, .icligo-product.is-page .woocommerce-variation-add-to-cart{ width: 100%; }
.icligo-product.is-page form.cart:not(.variations_form){ display: flex; gap: 12px; }

/* 1.1.5: one VAT note (ours), store notices on the page gutter */
.icligo-product__price .woocommerce-price-suffix{ display: none; }
.icligo-pdp-wrap .wc-block-store-notices, .icligo-pdp-wrap .woocommerce-notices-wrapper{ max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
