


/* ============================================================================
   Design tokens (extended, backward-compatible)
   Notes: comments are in English only
============================================================================ */

/* ===== Primitives (RGB for easy alpha) ===== */
:root{
  /* Colors (RGB components) */
  --rgb-bg:   246 248 251;   /* #f6f8fb */
  --rgb-text:  28  35  48;   /* #1c2330 */
  --rgb-muted:109 120 134;   /* #6d7886 */
  --rgb-card: 255 255 255;   /* #ffffff */
  --rgb-gold: 217 182  95;   /* #d9b65f */
  --rgb-gold2:184 154  78;   /* #b89a4e */

  /* Base (kept as in your code) */
  --bg: #f6f8fb;
  --text: #1c2330;
  --muted: #6d7886;
  --gold: #d9b65f;
  --gold-2: #b89a4e;
  --card: #ffffff;

  /* Borders & shadows */
  --border: #e6ecf3;               /* subtle border */
  --border-weak: rgb(var(--rgb-text) / .06);
  --border-strong: rgb(var(--rgb-text) / .14);

  /* Shadow colors and levels */
  --shadow-color: 20 35 60;        /* for rgba */
  --shadow-sm: 0 2px 8px rgba(var(--shadow-color) / .08);
  --shadow-md: 0 6px 20px rgba(var(--shadow-color) / .12);
  --shadow-lg: 0 10px 30px rgba(var(--shadow-color) / .12);
  --shadow: var(--shadow-lg);       /* backward alias */

  /* Layout */
  --container: 1200px;
  --container-gutter: 24px;         /* horizontal page padding */

  /* Shape & controls */
  --radius: 0px;    /* global corner radius (0 = sharp) */
  --r-0: 0px;
  --r-1: 6px;
  --r-2: 12px;
  --r-pill: 999px;

  --btn-h: 42px;
  --btn-h-sm: 36px;
  --btn-h-lg: 46px;
  --btn-px: 18px;
  --pill-h: 36px;

  /* Spacing scale (8pt-ish) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --section-py: clamp(56px, 8vw, 96px); /* reuse in sections */

  /* Typography */
  --font-sans: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fs-300: 14px;
  --fs-400: 16px;
  --fs-500: 18px;
  --fs-600: 20px;
  --fs-700: 24px;
  --fs-800: 32px;

  /* Motion */
  --dur-1: .15s;
  --dur-2: .25s;
  --dur-3: .35s;
  --ease-out: cubic-bezier(.2,.65,.3,1);
  --ease-inout: cubic-bezier(.4,0,.2,1);

  /* Z-index scale */
  --z-base: 0;
  --z-header: 1000;
  --z-overlay: 2000;
  --z-modal: 3000;

  /* WP admin bar (set via JS when logged in) */
  --adminbar: 0px;

  /* Semantic aliases (optional) */
  --color-bg: var(--bg);
  --color-surface: var(--card);
  --color-text: var(--text);
  --color-muted: var(--muted);
  --color-brand: var(--gold);
  --color-brand-2: var(--gold-2);
  --color-border: var(--border);
}

/* ===== Dark theme (opt-in via [data-theme="dark"]) ===== */
:root[data-theme="dark"]{
  --bg: #0e1217;
  --text: #e6e9ef;
  --muted: #9aa5b2;
  --card: #121823;
  --border: rgba(230,233,239,.12);

  --rgb-bg:   14 18 23;
  --rgb-text: 230 233 239;
  --rgb-muted:154 165 178;
  --rgb-card: 18 24 35;

  --shadow-color: 0 0 0;
  --shadow-sm: 0 1px 6px rgba(var(--shadow-color) / .25);
  --shadow-md: 0 6px 18px rgba(var(--shadow-color) / .35);
  --shadow-lg: 0 10px 28px rgba(var(--shadow-color) / .45);
}

/* ===== Auto dark if no explicit data-theme set ===== */
@media (prefers-color-scheme: dark){
  :root:not([data-theme]){
    --bg: #0e1217;
    --text: #e6e9ef;
    --muted: #9aa5b2;
    --card: #121823;
    --border: rgba(230,233,239,.12);

    --rgb-bg:   14 18 23;
    --rgb-text: 230 233 239;
    --rgb-muted:154 165 178;
    --rgb-card: 18 24 35;

    --shadow-color: 0 0 0;
    --shadow-sm: 0 1px 6px rgba(var(--shadow-color) / .25);
    --shadow-md: 0 6px 18px rgba(var(--shadow-color) / .35);
    --shadow-lg: 0 10px 28px rgba(var(--shadow-color) / .45);
  }
}




/* ============================================================================
   Base (clean, a11y-friendly)
============================================================================ */

/* Consistent sizing model */
*,
*::before,
*::after{ box-sizing: border-box; }

/* Remove default margins */
html, body{ margin:0; padding:0; }

/* Smooth scroll but respect reduced motion */
html{ scroll-behavior: smooth; }
html{ scrollbar-gutter: stable; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* Global typography + colors */
body{
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden; /* guard against accidental horizontal scroll */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body { height: 100%; }                 /* щоб min-height працював стабільно */
body{
  min-height: 100dvh;                        /* 100% висоти вікна */
  display: flex;
  flex-direction: column;
}

/* контент займає весь вільний простір між хедером і футером */
.site-main{
  flex: 1 0 auto;                            /* розтягується */
}

/* футер завжди внизу, але не fixed */
.footer{
  margin-top: auto;                           /* притискає футер до низу */
  flex: 0 0 auto;
}

/* Media defaults */
img, svg, video, canvas{ display:block; max-width:100%; }
img{ height:auto; }

/* Links: inherit color; clear underline by default, show on hover/focus */
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(184,196,210,.35);
  border-radius: 4px;
}

/* Form elements inherit font */
input, select, textarea, button{
  font: inherit;
  color: inherit;
}

/* Page container */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-gutter, 16px); /* fallback if token missing */
}

/* Section titles */
.sec-title{
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.2;
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text);
}

/* Visually hidden utility (for a11y, skip links, labels, etc.) */
.visually-hidden{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0);
  white-space:nowrap; border:0;
}

/* Text selection */
::selection{
  background: rgba(217,182,95,.28); /* --gold with alpha */
  color: var(--text);
}



 /* Прибрати білий фон для контентних карток на сторінках */
 .page .card,
 .page .entry-content,
 .page .container article {
   background: transparent !important;
   box-shadow: none !important;
   border: none !important;
 }
 














:root{
  --pis-orange:#f28c28;
  --pis-dark:#2f3135;
  --pis-light:#f5f5f5;
  --pis-border:#e7e7e7;
  --pis-text:#333;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--pis-text);
  background:#fff;
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
ul{margin:0;padding:0;list-style:none}
.pis-container{
  width: 100%;
  max-width: var(--container);
  padding-inline: var(--container-gutter, 16px);
  margin:0 auto;
}
.pis-topbar{
  background:#f3f3f3;
  border-bottom:1px solid var(--pis-border);
  font-size:13px;
}
.pis-topbar-inner{
  min-height:44px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.pis-topbar-promo strong{
  background:var(--pis-orange);
  color:#fff;
  padding:6px 10px;
  margin-right:10px;
}
.pis-topbar small,
.pis-topbar-delivery small{
  color:#777;
  margin-left:6px;
}

.pis-main-header{
  padding:14px 0;
  background:#fff;
  border-top:1px solid #f0f0f0;
  border-bottom:1px solid #e7e7e7;
  box-shadow:0 2px 6px rgba(0,0,0,.04);
}
.pis-main-header--nav{
  position:relative;
  z-index:20;
}
.pis-main-header-nav-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:28px;
  align-items:center;
}
.pis-text-logo,.pis-footer-logo{
  font-size:42px;
  font-weight:800;
  line-height:1;
}
.pis-branding{
  display:flex;
  align-items:center;
}
.pis-branding .custom-logo{
  max-height:58px;
  width:auto;
}
.pis-main-navigation{
  min-width:0;
}
.pis-header-cta{
  display:flex;
  justify-content:flex-end;
}
.pis-cta-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 28px;
  border-radius:999px;
  background:#d8b456;
  color:#1f2430;
  font-size:16px;
  font-weight:700;
  box-shadow:0 4px 10px rgba(216,180,86,.35);
  white-space:nowrap;
}
.pis-search,
.pis-header-contact,
.pis-header-icons{
  display:none;
}
.pis-category-nav{
  display:none;
}
.pis-mobile-menu-toggle{
  display:none;
  background:none;
  border:0;
  color:#1f2430;
  font-size:26px;
  padding:10px 0;
  cursor:pointer;
}
.pis-primary-menu{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px;
  width:100%;
}
.pis-primary-menu > li > a{
  display:flex;
  align-items:center;
  min-height:54px;
  padding:0 14px;
  color:#2d3139;
  font-size:16px;
  font-weight:500;
}
.pis-primary-menu > li > a:hover{
  color:#000;
}
.site-main{
  padding:24px 0 50px;
}

body:is(.single-product, .post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand, .woocommerce-cart) .site-main{
  padding-top:18px;
}
.pis-breadcrumbs{
  font-size:12px;
  color:#9aa0a8;
  margin:0 0 20px;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.pis-breadcrumbs a,
.pis-breadcrumbs span{
  color:#9aa0a8;
  font-weight:600;
}
.pis-breadcrumbs .delimiter{
  margin:0 8px;
}
.pis-shop-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:28px;
}
.pis-shop-layout--no-sidebar{
  grid-template-columns:1fr;
  gap:0;
}
.pis-shop-sidebar{
  border-right:1px solid var(--pis-border);
  padding-right:18px;
}
.pis-widget{
  margin-bottom:34px;
}
.widget-title{
  font-size:24px;
  line-height:1.2;
  font-weight:700;
  margin:0 0 14px;
}
.pis-widget li{
  padding:7px 0;
  color:#555;
}
.pis-widget li .count{
  color:#888;
  margin-left:4px;
}
.pis-archive-hero{
  background:transparent;
  border:0;
  width:auto;
  margin-left:0;
  margin-right:0;
  padding:0 0 10px;
  margin-top:0;
  margin-bottom:20px;
}

.pis-archive-hero .woocommerce-products-header{
  margin:0;
}

.pis-archive-hero .pis-breadcrumbs,
.pis-archive-hero .woocommerce-products-header {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

.pis-archive-hero .pis-breadcrumbs{
  border-top:1px solid #dfe3ea;
  border-bottom:0;
  padding-top:12px;
  padding-bottom:8px;
  margin-bottom:10px;
  font-size:13px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:#9aa0a8;
}

.pis-archive-hero .pis-breadcrumbs a,
.pis-archive-hero .pis-breadcrumbs span{
  color:#9aa0a8;
  font-weight:700;
}

.pis-archive-hero .pis-breadcrumbs .delimiter{
  color:#b2b7bf;
  font-weight:600;
  margin:0 2px;
}

.pis-archive-hero .woocommerce-products-header__title{
  display:block;
  margin:0;
  padding:8px 0 10px;
  border-bottom:1px solid #dfe3ea;
  color:var(--text);
  font-size:clamp(30px, 3.4vw, 36px);
  line-height:1.2;
  font-weight:700;
  letter-spacing:-0.01em;
}

@media (max-width: 980px){
  .pis-archive-hero{
    padding:0 0 10px;
    margin-bottom:16px;
  }

  .pis-archive-hero .pis-breadcrumbs,
  .pis-archive-hero .woocommerce-products-header {
    width: 100%;
    max-width: none;
    padding-inline: 0;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  .pis-archive-hero .pis-breadcrumbs{
    padding-top:10px;
    padding-bottom:7px;
    margin-bottom:6px;
    font-size:13px;
  }

  .pis-archive-hero .woocommerce-products-header__title{
    font-size:clamp(30px, 3.4vw, 36px);
    padding:6px 0 8px;
  }
}
.woocommerce-result-count{
  color:#666;
  margin:0;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .woocommerce-no-products-found,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .woocommerce-no-products-found p,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .woocommerce-notices-wrapper .woocommerce-info,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) p.woocommerce-info{
  width:100%;
  max-width:var(--container);
  display:block;
  margin:0 auto 24px !important;
  padding-inline:var(--container-gutter, 16px);
  text-align:center !important;
  color:#2f3540;
  background:transparent;
  border:0;
  box-shadow:none;
}

.woocommerce-ordering{
  margin:0 0 26px !important;
}
.woocommerce-ordering select{
  min-width:220px;
  height:40px;
  border:1px solid var(--pis-border);
  background:#fff;
  padding:0 12px;
}
.woocommerce ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{
  display:none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  width:auto !important;
  float:none !important;
  margin:0 !important;
}
.pis-product-card{
  position:relative;
  background: #e7e7ea;
  border: 1px solid #e1e2e6;
  border-radius: 10px;
  padding: 18px 16px 20px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.pis-product-card:hover,
.pis-product-card:focus-within{
  border-color: #d4d7de;
  box-shadow: 0 8px 20px rgba(22, 32, 48, 0.08);
}
.pis-product-thumb{
  position: relative;
  background:transparent;
  border:0;
  min-height:310px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
  overflow:hidden;
}
.pis-product-thumb img{
  width:88%;
  height:auto;
  object-fit:contain;
  aspect-ratio:1/1;
}
.pis-product-meta{
  text-align:center;
}
.pis-product-category{
  font-size:12px;
  color:#8f96a1;
  text-transform:uppercase;
  letter-spacing:.04em;
  min-height:16px;
  margin-bottom:8px;
}
.woocommerce-loop-product__title{
  font-size:16px;
  line-height:1.26;
  font-weight:700;
  margin:0 0 8px;
  color:#222831;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.star-rating{
  margin:0 auto 10px !important;
}

.pis-rating-empty{
  display:inline-block;
  letter-spacing:1.5px;
  color:#bcc2ca;
  font-size:13px;
  line-height:1;
}

.pis-product-hover-actions{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  opacity:0;
  transform:translateY(12px);
  transition:opacity .2s ease, transform .2s ease;
  z-index:3;
}

.pis-like-btn{
  position: absolute;
  top: 3mm;
  right: 3mm;
  width: 36px;
  height: 36px;
  border: 1px solid #d8dee8;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #2f3746;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  transition: transform .15s ease, border-color .2s ease, color .2s ease;
}

/* Keep list actions hidden in grid mode to avoid duplicate wishlist buttons. */
.pis-product-list-actions{
  display:none;
}

.pis-product-list-actions .pis-like-btn--inline{
  position:static;
  top:auto;
  right:auto;
  width:40px;
  height:40px;
  flex:0 0 40px;
  font-size:20px;
}

.pis-product-list-actions .pis-list-view-btn{
  width:40px;
  height:40px;
  border:1px solid #d8dee8;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#2f3746;
  background:#fff;
}

.pis-product-list-actions .pis-list-view-btn span{
  width:18px;
  height:18px;
  display:block;
  background-repeat:no-repeat;
  background-position:center;
  background-size:18px 18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232f3746' stroke-width='1.9'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E");
}

.pis-product-list-actions .pis-list-view-btn:hover{
  text-decoration:none;
  background:#f5f7fb;
}

.pis-product-zoom-link{
  position:absolute;
  top:10px;
  left:10px;
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  z-index:4;
  color:#7f8a98;
}

.pis-product-zoom-link span{
  width:18px;
  height:18px;
  display:block;
  background-repeat:no-repeat;
  background-position:center;
  background-size:18px 18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237f8a98' stroke-width='1.9'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E");
}

.pis-product-zoom-link:hover{
  text-decoration:none;
}

.single-product div.product > .woocommerce-product-gallery{
  position:relative;
}

.single-product .pis-single-breadcrumb-wrap{
  margin: 0 0 18px;
}

.single-product .pis-single-breadcrumb{
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #9aa0a8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.single-product .pis-single-breadcrumb a{
  color: #9aa0a8;
  text-decoration: none;
}

.single-product .pis-single-breadcrumb a:hover{
  color: #2b313d;
}

.single-product .pis-breadcrumb-delimiter{
  color: #b2b7bf;
  font-weight: 600;
  margin: 0 2px;
}

.single-product div.product .woocommerce-product-gallery::before{
  content:"";
  position:absolute;
  top:10px;
  left:10px;
  width:18px;
  height:18px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:18px 18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237f8a98' stroke-width='1.9'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E");
  z-index:4;
  pointer-events:none;
}

.pis-like-btn:hover{
  transform: scale(1.06);
}

.pis-like-btn.is-liked{
  border-color: #e26a7b;
  color: #e25569;
}

.pis-like-btn.is-liked span{
  transform: translateY(-1px);
}

.pis-product-hover-actions .pis-add-to-cart,
.pis-product-hover-actions .button.pis-add-to-cart{
  width:100%;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  min-height:40px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  background:#f08a00 !important;
  color:#fff !important;
  font-size:14px;
  font-weight:700;
  text-transform:uppercase;
  line-height:1;
}

.pis-product-hover-actions .pis-add-to-cart:hover,
.pis-product-hover-actions .button.pis-add-to-cart:hover{
  background:#de7d00 !important;
  text-decoration:none;
}

.pis-product-card:hover .pis-product-hover-actions,
.pis-product-card:focus-within .pis-product-hover-actions{
  opacity:1;
  transform:translateY(0);
}
.price{
  font-size:16px !important;
  font-weight:700;
  line-height:1.25;
  color:#3a4049;
}
.price del{
  color:#a5a5a5 !important;
  opacity:1 !important;
  margin-right:6px;
  font-size:.92em;
}
.price ins{
  text-decoration:none !important;
}
.onsale{
  position:absolute !important;
  left:2px !important;
  top:2px !important;
  min-height:auto !important;
  min-width:auto !important;
  line-height:1 !important;
  border-radius:999px !important;
  padding:6px 12px !important;
  margin:0 !important;
  background:#ef6152 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:700 !important;
}
.woocommerce ul.products li.product .button:not(.pis-add-to-cart){
  display:none !important;
}
.site-footer{
  background:#2b2d30;
  color:#fff;
  padding:54px 0 20px;
}
.pis-footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr;
  gap:40px;
}
.site-footer h4{
  margin:0 0 18px;
  font-size:24px;
}
.site-footer p,
.site-footer li,
.site-footer a{
  color:#cfcfcf;
}
.site-footer li{
  padding:6px 0;
}
.pis-footer-phone{
  color:var(--pis-orange);
  font-size:34px;
  font-weight:800;
  margin-top:20px;
}
.pis-footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:30px;
  padding-top:20px;
  color:#c9c9c9;
}
.pis-post-list{
  display:grid;
  gap:20px;
}
.pis-post-card{
  border:1px solid var(--pis-border);
  padding:20px;
}
.screen-reader-text{
  position:absolute !important;
  width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
@media (max-width: 1200px){
  .pis-main-header-nav-inner{
    grid-template-columns:auto 1fr auto;
    gap:18px;
  }
  .pis-primary-menu > li > a{
    padding:0 10px;
    font-size:15px;
  }
  .woocommerce ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 900px){
  .pis-topbar-inner,
  .pis-footer-grid,
  .pis-shop-layout{
    grid-template-columns:1fr;
    display:grid;
  }
  .pis-topbar-inner{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding:10px 0;
  }
  .pis-main-header-nav-inner{
    grid-template-columns:auto auto;
    gap:12px;
  }
  .pis-main-navigation{
    grid-column:1 / -1;
    order:3;
  }
  .pis-primary-menu{
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    width:100%;
    padding-top:8px;
  }
  .pis-primary-menu.is-open{
    display:flex;
  }
  .pis-mobile-menu-toggle{
    display:block;
    justify-self:end;
  }
  .pis-primary-menu > li{
    width:100%;
  }
  .pis-primary-menu > li > a{
    min-height:48px;
    width:100%;
    border-bottom:1px solid #ececec;
    padding:0 4px;
  }
  .pis-header-cta{
    display:none;
  }
  .pis-shop-sidebar{
    border-right:0;
    padding-right:0;
  }
  .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .widget-title,
  .site-footer h4{
    font-size:22px;
  }

  .woocommerce-loop-product__title{
    font-size:18px;
    line-height:1.2;
  }
  .pis-footer-phone{
    font-size:28px;
  }
}
@media (max-width: 560px){
  .pis-container{
    width: 100%;
    max-width: var(--container);
    padding-inline: var(--container-gutter, 16px);
  }
  .search-field{
    padding-right:110px;
  }
  .search-submit{
    padding:0 14px;
  }
  .woocommerce ul.products{
    grid-template-columns:1fr;
  }
}



/* ===== Header redesign matching latest reference ===== */
.pis-main-header,
.pis-main-header--nav,
.pis-main-header-nav-inner,
.pis-header-cta,
.pis-cta-button,
.pis-main-navigation{
  display:none;
}
.site-header{
  border:1px solid #d8d8d8;
  border-left:0;
  border-right:0;
  background:#fff;
}
.pis-topbar{
  background:#f3f3f3;
  border-bottom:1px solid #ddd;
}
.pis-topbar-inner{
  min-height:42px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.pis-header-row--main{
  padding:10px 0 8px;
}
.pis-header-main-inner{
  display:grid;
  grid-template-columns:minmax(280px, 360px) 1fr 230px;
  gap:18px;
  align-items:center;
}
.pis-branding{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.pis-branding .custom-logo{
  width:auto;
  max-width:58px;
  max-height:58px;
}
.pis-site-name{
  font-size:30px;
  line-height:0.95;
  font-weight:800;
  color:#333;
  display:block;
  word-break:break-word;
}
.pis-header-search-compact{
  min-height:40px;
  display:flex;
  align-items:center;
  color:#6b6b6b;
  overflow:hidden;
}
.pis-search-ghost{
  font-size:15px;
  color:#7b7b7b;
}
.pis-header-contact{
  text-align:left;
  font-size:13px;
  justify-self:end;
}
.pis-header-contact .label,
.pis-header-contact small{
  display:block;
  color:#777;
  line-height:1.05;
}
.pis-header-contact a{
  display:block;
  font-size:24px;
  line-height:0.95;
  font-weight:800;
  letter-spacing:0.02em;
}
.pis-header-divider{
  height:5px;
  background:#f2f4f7;
  border-top:1px solid #e2e5e9;
  border-bottom:1px solid #e2e5e9;
}
.pis-header-row--search{
  padding:14px 0 12px;
}
.pis-header-search-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
}
.pis-search{
  display:block;
}
.pis-search--wide .search-form{
  position:relative;
}
.pis-search--wide .search-field{
  width:100%;
  height:54px;
  border:1px solid #d8d8d8;
  border-radius:30px;
  padding:0 150px 0 26px;
  font-size:15px;
  background:#fff;
}
.pis-search--wide .search-submit{
  position:absolute;
  right:10px;
  top:7px;
  height:40px;
  min-width:92px;
  padding:0 22px;
  border-radius:22px;
  background:#2d3139;
  color:#fff;
  border:0;
  font-size:15px;
}
.pis-header-icons{
  display:flex;
  align-items:center;
  gap:18px;
  font-size:18px;
  font-weight:700;
  white-space:nowrap;
}
.pis-header-icons a{
  color:#333;
}
.pis-cart-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  border-radius:50%;
  margin-left:6px;
  background:#ec922d;
  color:#fff;
  font-size:12px;
  font-weight:700;
}
.pis-category-nav{
  display:block;
  background:#ffffff;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
}
.pis-category-nav-inner{
  display:block;
}
.pis-primary-menu{
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:0;
  width:100%;
}
.pis-primary-menu > li{
  flex:0 0 auto;
}
.pis-primary-menu > li > a{
  display:flex;
  align-items:center;
  min-height:54px;
  padding:0 22px;
  color:#fff;
  font-size:15px;
  font-weight:600;
  border-right:1px solid rgba(255,255,255,.08);
}
.pis-primary-menu > li:first-child > a{
  background:#3b3d42;
}

@media (max-width: 1100px){
  .pis-header-main-inner{
    grid-template-columns:1fr;
    gap:10px;
  }
  .pis-header-contact{
    justify-self:start;
  }
}

@media (max-width: 900px){
  .pis-header-search-inner{
    grid-template-columns:1fr;
  }
  .pis-header-icons{
    justify-content:flex-start;
  }
  .pis-primary-menu{
    flex-direction:column;
  }
  .pis-primary-menu > li > a{
    width:100%;
    min-height:46px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
}

@media (max-width: 560px){
  .pis-site-name{
    font-size:22px;
  }
  .pis-header-contact a{
    font-size:20px;
  }
  .pis-search--wide .search-field{
    padding-right:120px;
  }
  .pis-search--wide .search-submit{
    min-width:78px;
    padding:0 16px;
  }
}




/* ============================================================================
   Header / Nav (final, no-gold, underline handled globally)
============================================================================ */

/* Bars */
.header-static,
.sticky-bar{
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.header-static{
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.sticky-bar{
  position: fixed;
  top: var(--adminbar, 0px);
  left: 0; right: 0;
  height: 68px;
  box-shadow: 0 6px 20px rgba(18,28,45,.06);
  transform: translateY(-100%);
  transition: transform .35s ease;
  z-index: 999;
}
.sticky-bar.visible{ transform: translateY(0); }

/* Bar content */
.navbar{
  height: 68px;
  display: flex;
  align-items: center;
  gap: 100px;

}
.primary-nav{ flex: 1; }

/* Burger (aria-expanded toggles icons) */
.hamburger{
  display: none;
  background: transparent;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}
.hamburger .icon--open{ display:inline-block; }
.hamburger .icon--close{ display:none; }
.hamburger[aria-expanded="true"] .icon--open{ display:none; }
.hamburger[aria-expanded="true"] .icon--close{ display:inline-block; }

/* Menu base */
.nav-links,
.nav-links ul{ list-style:none; margin:0; padding:0; }
.nav-links{ display:flex; align-items:center; gap:1px; flex-wrap:nowrap;}
.nav-links > li{ position:relative; }
.nav-links a{
  display:inline-flex; align-items:center;
  padding:8px 12px;
  white-space:nowrap;
  color: var(--text);
  text-decoration:none;             /* підкреслення тепер глобальне */
  transition: color .15s ease;
  
}

/* Re-enable global underline animation inside the menu (CTA excluded) */
.nav-links a{
  /* inherit global effect but make it robust */
  --link-ul-gap: -5px;            /* відступ від тексту */
  --link-ul-h: 2px;              /* товщина лінії */

  /* дублюємо ключові властивості, щоб нічого не перебилось іншими правилами */
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 50% calc(100% - var(--link-ul-gap));
  background-size: 0% var(--link-ul-h);
  background-origin: content-box;        /* щоб лінія була під самим текстом, а не під падінгами */
  transition: background-size .22s cubic-bezier(.2,.65,.3,1);
}

/* ховер/фокус — розкриваємо лінію з центру */
@media (hover:hover){
  .nav-links a:hover,
  .nav-links a:focus-visible{
    background-size: 100% var(--link-ul-h);
    outline: none;
  }
}

/* CTA — без підкреслення */
.nav-links > li.is-cta > a{
  background-image: none !important;
}

/* Submenu (desktop hover) */
.nav-links .sub-menu{
  position:absolute; top:100%; left:0;
  min-width:220px; padding:8px;
  background:var(--card);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  display:none; z-index:2200;
}
@media (hover:hover){
  .nav-links li:hover > .sub-menu{ display:block; }
}

/* Caret */
.menu-item-has-children > a::after{
  content:"\f078"; /* FA chevron-down */
  font-family:"Font Awesome 6 Free"; font-weight:900;
  font-size:12px; opacity:.7; margin-left:6px;
  transition: transform .2s ease;
}
.menu-item-has-children.open > a::after{ transform: rotate(180deg); }

/* CTA (neutral, no gold) */
.nav-links > li.is-cta{ margin-left:auto; }
.nav-links > li.is-cta > a{
  display:inline-flex; align-items:center; gap:8px;
  height:42px; padding:0 18px;
  border-radius:999px; font-weight:700;
  background: var(--text); color:#fff; border:1px solid var(--text);
  box-shadow: 0 4px 12px rgba(20,35,60,.18);
  transition: transform .15s ease, filter .15s ease;
}
/* не підкреслюємо CTA глобальним правилом */
.nav-links > li.is-cta > a{ background-image:none !important; }
.nav-links > li.is-cta > a:hover{ transform: translateY(-1px); }

/* ================== Mobile ================== */
@media (max-width:960px){
  .navbar{ justify-content: space-between; gap:16px; }
  .hamburger{ display:block; margin-left:auto; }

  /* офканвас-панель */
  .nav-links{
    position: fixed;
    top: calc(var(--adminbar,0px) + 68px);
    left: 0; right: 0; z-index: 2050;
    background: var(--card);
    flex-direction: column; gap:10px;
    padding: 18px 24px;
    border-top: 1px solid var(--border);
    transform: translateY(-8px) scale(.98);
    opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-links.open{ transform:none; opacity:1; pointer-events:auto; }

  /* центрування пунктів */
  .nav-links a{ width:100%; justify-content:center; text-align:center; }

  /* акордеон підменю */
  .nav-links .sub-menu{
    position: static; border:0; box-shadow:none; padding:0;
    max-height:0; overflow:hidden; display:block;
    transition: max-height .25s ease;
  }
  .nav-links .menu-item-has-children > a{
    position: relative; padding-right:28px;
  }
  .nav-links .menu-item-has-children > a::after{
    position:absolute; right:10px; top:50%;
    transform:translateY(-50%); margin:0;
  }
  .nav-links .menu-item-has-children.open > a::after{
    transform: translateY(-50%) rotate(180deg);
  }
  .nav-links .menu-item-has-children.open > .sub-menu{
    max-height:400px; margin:6px 0 2px; padding:6px 0;
    background: rgba(16,24,40,.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }

  /* CTA full width */
  .nav-links > li.is-cta{ margin-left:0; align-self:stretch; }
  .nav-links > li.is-cta > a{ justify-content:center; width:100%; }
}

/* Touch: don’t rely on hover color */
@media (hover:none){
  .nav-links a:hover{ color: var(--text); }
}

/* Motion reduce */
@media (prefers-reduced-motion:reduce){
  .nav-links{ transition: none !important; }
}

/* Block body scroll when menu open (optional) */
body.menu-open{ overflow: hidden; }

/* не підкреслювати "кнопкові" пункти меню, коли класи на <li> */
.nav-links li[class*="btn"] > a,
.menu-item.no-underline > a,
.menu-item.is-cta > a { 
  background-image: none !important;
}
@media (hover:hover){
  .nav-links li[class*="btn"] > a:hover,
  .menu-item.no-underline > a:hover,
  .menu-item.is-cta > a:hover{
    background-size: 0 0 !important; /* на всяк випадок */
  }
}                                                                                               



.logo-badge {
  width: 50px;
  height: 50px;
}


/* ============================================================================
   Gambit Header (HeaderMenu)
============================================================================ */
.site-header.gambit-header {
  background: #ffffff;
  border: 0;
  border-bottom: 3px solid #111827;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.site-header.gambit-header .gambit-header__bar {
  border: 0;
  box-shadow: none;
  background: #ffffff;
}

.site-header.gambit-header .container {
  width: 100%;
  max-width: var(--container);
  padding-inline: var(--container-gutter, 16px);
}

.site-header.gambit-header .gambit-header__inner {
  height: 74px;
  gap: 26px;
  justify-content: space-between;
}

.gambit-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}

.gambit-header__brand:hover {
  text-decoration: none;
}

.gambit-header__brand .custom-logo,
.gambit-header__brand .logo-badge {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.gambit-header__title {
  display: inline-block;
  white-space: nowrap;
  color: #111827;
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.site-header.gambit-header .gambit-header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  padding-right: 0;
}

.site-header.gambit-header .gambit-header__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  margin: 0;
}

.site-header.gambit-header .gambit-header__menu > li {
  margin: 0;
}

.site-header.gambit-header .gambit-header__menu > li > a {
  padding: 0;
  min-height: 0;
  color: #1f2937;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.15;
  background-image: none;
}

.site-header.gambit-header .gambit-header__menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid #4b5563;
  border-bottom: 2px solid #4b5563;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.8;
}

.gambit-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 31px;
  border: 1px solid #bd9630;
  border-radius: 999px;
  background: linear-gradient(180deg, #e3c36d 0%, #d2aa4d 100%);
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 7px 16px rgba(191, 148, 42, 0.28);
}

.gambit-header__cta:hover,
.gambit-header__cta:focus-visible {
  text-decoration: none;
  filter: brightness(0.98);
}

.gambit-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1f2937;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gambit-header__toggle-icon,
.gambit-header__toggle-icon::before,
.gambit-header__toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}

.gambit-header__toggle-icon::before {
  transform: translateY(-6px);
}

.gambit-header__toggle-icon::after {
  transform: translateY(4px);
}

.gambit-header__toggle[aria-expanded="true"] .gambit-header__toggle-icon {
  background: transparent;
}

.gambit-header__toggle[aria-expanded="true"] .gambit-header__toggle-icon::before {
  transform: translateY(0) rotate(45deg);
}

.gambit-header__toggle[aria-expanded="true"] .gambit-header__toggle-icon::after {
  transform: translateY(-2px) rotate(-45deg);
}

.gambit-header__right {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.gambit-header__top-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  padding: 0 22px;
  min-height: 68px;
}

.gambit-header__top-contact-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23333' stroke-width='1.8'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2A19.8 19.8 0 0 1 11.2 19a19.3 19.3 0 0 1-6-6 19.8 19.8 0 0 1-2.9-8.6A2 2 0 0 1 4.2 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .8 3a2 2 0 0 1-.4 2L8.3 10a16 16 0 0 0 5.7 5.7l1.3-1.3a2 2 0 0 1 2-.5 13 13 0 0 0 3 .9A2 2 0 0 1 22 16.9Z'/%3E%3C/svg%3E");
}

.gambit-header__top-contact-text {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.gambit-header__top-contact .label {
  display: block;
  color: #71757c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.gambit-header__top-contact a {
  display: block;
  color: #1f2937;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  white-space: nowrap;
}

.gambit-header__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
}

.gambit-header__social-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #d7dde5;
  background: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.gambit-header__social-link--instagram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232f3135' stroke-width='1.8'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='1' fill='%232f3135' stroke='none'/%3E%3C/svg%3E");
}

.gambit-header__social-link--facebook {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%232f3135' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-2.9 0-5 2.1-5 5v3H7v4h2v4h4v-4h3l1-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E");
}

.gambit-header__social-link--youtube {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%232f3135' viewBox='0 0 24 24'%3E%3Cpath d='M22 12c0-3.3-.3-5.2-.9-5.8-.6-.6-2.5-.9-9.1-.9s-8.5.3-9.1.9C2.3 6.8 2 8.7 2 12s.3 5.2.9 5.8c.6.6 2.5.9 9.1.9s8.5-.3 9.1-.9c.6-.6.9-2.5.9-5.8ZM10 15.5v-7l6 3.5-6 3.5Z'/%3E%3C/svg%3E");
}

.gambit-header__social-link:hover {
  background-color: #f6f8fb;
}

@media (max-width: 1200px) {
  .site-header.gambit-header .gambit-header__inner {
    gap: 18px;
  }

  .site-header.gambit-header .gambit-header__menu {
    gap: 16px;
  }

  .site-header.gambit-header .gambit-header__menu > li > a {
    font-size: 15px;
  }

  .gambit-header__cta {
    padding-inline: 24px;
  }
}

@media (max-width: 980px) {
  .site-header.gambit-header .gambit-header__inner {
    height: 72px;
  }

  .gambit-header__toggle {
    display: inline-flex;
    order: 3;
  }

  .gambit-header__cta {
    display: none;
  }

  .gambit-header__top-contact {
    display: none;
  }

  .gambit-header__social {
    display: none;
  }

  .site-header.gambit-header .gambit-header__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-header.gambit-header .gambit-header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header.gambit-header .gambit-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-header.gambit-header .gambit-header__menu > li {
    width: 100%;
    border-bottom: 1px solid #eef2f7;
  }

  .site-header.gambit-header .gambit-header__menu > li:last-child {
    border-bottom: 0;
  }

  .site-header.gambit-header .gambit-header__menu > li > a {
    width: 100%;
    padding: 12px 0;
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .site-header.gambit-header .container {
    width: 100%;
    max-width: var(--container);
    padding-inline: var(--container-gutter, 16px);
  }

  .site-header.gambit-header .gambit-header__inner {
    height: 64px;
    gap: 10px;
  }

  .gambit-header__title {
    font-size: 20px;
  }

  .gambit-header__brand .custom-logo,
  .gambit-header__brand .logo-badge {
    width: 44px;
    height: 44px;
  }
}

/* ============================================================================
   Gambit Header Tools Row
============================================================================ */
.gambit-header__tools {
  background: #f7f8fa;
  border-top: 0;
  border-bottom: 1px solid #e8ecf1;
  padding: 12px 0;
}

.gambit-header__tools .pis-header-search-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.gambit-header__tools .pis-search--wide .search-form {
  position: relative;
}

.gambit-header__tools .pis-search--wide .search-field {
  height: 50px;
  border: 1px solid #d7dce2;
  border-radius: 999px;
  padding: 0 66px 0 24px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  font-style: normal;
  color: #6b7280;
}

.gambit-header__tools .pis-search--wide .search-field::placeholder {
  color: #9aa3af;
  font-style: normal;
  font-weight: 400;
}

.gambit-header__tools .pis-search--wide .search-submit {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 50px;
  height: 46px;
  min-width: 50px;
  padding: 0;
  border: 0;
  border-left: 1px solid #e4e8ee;
  border-radius: 0 999px 999px 0;
  background: transparent;
  color: transparent;
  font-size: 0;
}

.gambit-header__tools .pis-search--wide .search-submit::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232f3135' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
}

.gambit-tools__icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.gambit-tools__tool {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 8px;
  border-radius: 8px;
  transition: background-color .2s ease;
  color: #1f2937;
  flex-shrink: 0;
}

.gambit-tools__tool:hover {
  background: #f2f5fb;
}

.gambit-tools__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #d8dde4;
  background: #ffffff;
  transition: background-color .2s ease, border-color .2s ease;
}

.gambit-tools__tool-label {
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.gambit-tools__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.gambit-tools__icon--user::before {
  content: "";
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232f3135' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.2 4.1-4.8 8-4.8 3.9 0 6.5 1.6 8 4.8'/%3E%3C/svg%3E");
}

.gambit-tools__wishlist-count {
  position: absolute;
  right: -3px;
  top: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  padding: 0 4px;
  background: #e25569;
  color: #ffffff;
  font-size: 11px;
  line-height: 18px;
  font-weight: 700;
  text-align: center;
}

.gambit-tools__icon--heart::before {
  content: "";
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232f3135' stroke-width='1.8'%3E%3Cpath d='M12 20.4 3.8 12.2a5.2 5.2 0 0 1 0-7.3 5.2 5.2 0 0 1 7.3 0L12 5.8l.9-.9a5.2 5.2 0 0 1 7.3 0 5.2 5.2 0 0 1 0 7.3L12 20.4Z'/%3E%3C/svg%3E");
}

.gambit-tools__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: 2px;
  border-radius: 999px;
  border: 1px solid #d8dde4;
  background: #ffffff;
  transition: background-color .2s ease, border-color .2s ease;
}

.gambit-tools__cart:hover {
  text-decoration: none;
  background: #e7ecf4;
  border-color: #d7dde6;
}

.gambit-tools__tool:hover {
  background: #f2f5fb;
}

.gambit-tools__tool:hover .gambit-tools__icon-wrap {
  background: #e7ecf4;
  border-color: #d7dde6;
}

.gambit-tools__icon--cart::before {
  content: "";
  width: 26px;
  height: 26px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232f3135' stroke-width='1.8'%3E%3Cpath d='M3 7h18l-1.4 11.5H4.4L3 7Z'/%3E%3Cpath d='M8 7a4 4 0 0 1 8 0'/%3E%3C/svg%3E");
}

.gambit-tools__cart .pis-cart-count {
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(50%, -50%);
  min-width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 50%;
  padding: 0 4px;
  background: #f08a00;
  color: #ffffff;
  font-size: 11px;
  line-height: 18px;
  font-weight: 700;
  z-index: 2;
}

@media (max-width: 980px) {
  .gambit-header__tools .pis-header-search-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gambit-tools__icons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .gambit-tools__tool {
    min-height: 52px;
  }

  .gambit-tools__tool-label {
    font-size: 14px;
  }
}

/* ============================================================================
   Category Nav (All + 8 + More)
============================================================================ */
.gambit-header__categories {
  background: #e7e8ed;
  border-top: 1px solid #d9dce3;
  border-bottom: 1px solid #d9dce3;
}

.gambit-header__categories .pis-category-nav-inner {
  display: block;
}

.gambit-header__categories .pis-cat-slider {
  overflow: visible;
}

.gambit-header__categories .pis-primary-menu {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gambit-header__categories .pis-primary-menu > li {
  flex: 1 1 0;
  min-width: 0;
  border-right: 1px solid rgba(44, 52, 64, 0.18);
}

.gambit-header__categories .pis-primary-menu > li:first-child {
  border-left: 1px solid rgba(44, 52, 64, 0.18);
}

.gambit-header__categories .pis-primary-menu > li > a,
.gambit-header__categories .pis-cat-more__toggle {
  width: 100%;
  min-height: 78px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 0;
  background: transparent;
  color: #2b313d;
  font-size: 15px;
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.12;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.gambit-header__categories .pis-primary-menu > li > a:hover,
.gambit-header__categories .pis-cat-more__toggle:hover {
  background: #dfe3ea;
}

.gambit-header__categories .pis-primary-menu > li.current-cat > a,
.gambit-header__categories .pis-primary-menu > li.current-menu-item > a {
  background: #d4d9e2;
  color: #1f2530;
}

.gambit-header__categories .pis-cat-label {
  display: block;
  max-width: none;
}

.gambit-header__categories .pis-cat-icon {
  display: none;
}

.gambit-header__categories .pis-cat-item--more {
  position: relative;
}

.gambit-header__categories .pis-cat-more__toggle {
  cursor: pointer;
}

.gambit-header__categories .pis-cat-more__toggle .pis-cat-label::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid #555c66;
  border-bottom: 1.5px solid #555c66;
  transform: rotate(45deg) translateY(-2px);
}

.gambit-header__categories .pis-cat-item--more.is-open .pis-cat-more__toggle .pis-cat-label::after {
  transform: rotate(-135deg) translateY(-1px);
}

.gambit-header__categories .pis-cat-more__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 260px;
  max-height: 420px;
  overflow: auto;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
  z-index: 40;
}

.gambit-header__categories .pis-cat-more__menu li {
  margin: 0;
}

.gambit-header__categories .pis-cat-more__menu a {
  display: block;
  padding: 8px 16px;
  color: #3b4250;
  font-size: 14px;
  line-height: 1.3;
}

.gambit-header__categories .pis-cat-more__menu a:hover {
  background: #f5f7fb;
  color: #1f2937;
}

@media (max-width: 980px) {
  .gambit-header__categories .pis-primary-menu > li {
    flex: 0 0 auto;
    min-width: auto;
  }

  .gambit-header__categories .pis-primary-menu > li > a,
  .gambit-header__categories .pis-cat-more__toggle {
    min-height: 54px;
    padding: 0 12px;
    font-size: 14px;
  }
}

/* Page background override (matches provided reference) */
body {
  background: #eceef2;
}

/* ============================================================================
   Shop Toolbar (Sort / Show / View)
============================================================================ */
.pis-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 20px;
}

.pis-shop-toolbar__left,
.pis-shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pis-shop-toolbar__right {
  margin-left: auto;
}

.pis-shop-toolbar .woocommerce-ordering {
  margin: 0 !important;
}

.pis-shop-toolbar .woocommerce-ordering select,
.pis-shop-show-form select {
  height: 48px;
  min-width: 176px;
  border: 1px solid #e3e5ea;
  border-radius: 6px;
  background: #f2f2f4;
  color: #272c34;
  font-size: 15px;
  font-weight: 600;
  padding: 0 40px 0 14px;
}

.pis-shop-show-form {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
}

.pis-shop-show-form select {
  min-width: 76px;
}

.pis-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pis-view-switch__btn {
  width: 48px;
  height: 48px;
  border: 1px solid #e3e5ea;
  border-radius: 6px;
  background: #f2f2f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pis-view-switch__btn.is-active {
  border-color: #d8dbef;
  background: #eceeff;
}

.pis-view-switch__icon {
  width: 16px;
  height: 16px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
}

.pis-view-switch__icon--grid {
  background-image: linear-gradient(#3f51f5, #3f51f5), linear-gradient(#3f51f5, #3f51f5), linear-gradient(#3f51f5, #3f51f5), linear-gradient(#3f51f5, #3f51f5);
  background-size: 6px 6px, 6px 6px, 6px 6px, 6px 6px;
  background-position: 1px 1px, 9px 1px, 1px 9px, 9px 9px;
}

.pis-view-switch__icon--list {
  background-image: linear-gradient(#31353c, #31353c), linear-gradient(#31353c, #31353c), linear-gradient(#31353c, #31353c), linear-gradient(#31353c, #31353c), linear-gradient(#31353c, #31353c), linear-gradient(#31353c, #31353c);
  background-size: 3px 3px, 10px 3px, 3px 3px, 10px 3px, 3px 3px, 10px 3px;
  background-position: 1px 1px, 6px 1px, 1px 6px, 6px 6px, 1px 11px, 6px 11px;
}

.pis-filter-dropdown {
  position: relative;
}

.pis-filter-dropdown__toggle {
  height: 48px;
  min-width: 176px;
  padding: 0 40px 0 14px;
  border: 1px solid #e3e5ea;
  border-radius: 6px;
  background: #f2f2f4;
  color: #8a8f97;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  text-align: left;
}

.pis-filter-dropdown__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #555c66;
  border-bottom: 1.5px solid #555c66;
  transform: rotate(45deg);
  position: absolute;
  right: 14px;
  top: 18px;
}

.pis-filter-dropdown__menu,
.pis-filter-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #f5f5f6;
  border: 1px solid #e4e6eb;
  box-shadow: 0 8px 22px rgba(24, 32, 46, 0.08);
  padding: 10px;
  z-index: 35;
}

.pis-filter-dropdown__menu::before,
.pis-filter-dropdown__panel::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: #f5f5f6;
  border-left: 1px solid #e4e6eb;
  border-top: 1px solid #e4e6eb;
  transform: rotate(45deg);
}

.pis-filter-dropdown__menu {
  list-style: none;
  margin: 0;
}

.pis-filter-dropdown__menu li {
  margin: 0;
}

.pis-filter-dropdown__menu a {
  display: block;
  padding: 10px 10px;
  color: #70757d;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.pis-filter-dropdown__menu a:hover,
.pis-filter-dropdown__menu a.is-current {
  color: #2b313a;
}

.pis-price-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.pis-price-range input {
  height: 44px;
  border: 1px solid #dde0e6;
  background: #f1f1f2;
  text-align: center;
  font-size: 16px;
  color: #838991;
}

.pis-price-range__submit {
  width: 100%;
  height: 44px;
  border: 1px solid #e0e2e8;
  background: #ececee;
  color: #272d35;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

/* List mode */
.pis-shop-view-list .woocommerce ul.products {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

.woocommerce ul.products.pis-products--list {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

.pis-shop-view-list .woocommerce ul.products li.product,
.pis-shop-view-list .woocommerce-page ul.products li.product {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid #e3e7ed;
  background: #fff;
  padding: 14px;
}

.woocommerce ul.products.pis-products--list li.product,
.woocommerce-page ul.products.pis-products--list li.product {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid #e3e7ed;
  background: #fff;
  padding: 14px;
}

.pis-shop-view-list .pis-product-thumb {
  margin-bottom: 0;
  min-height: 180px;
}

.woocommerce ul.products.pis-products--list .pis-product-thumb {
  margin-bottom: 0;
  min-height: 180px;
}

.pis-shop-view-list .pis-product-meta {
  text-align: left;
}

.woocommerce ul.products.pis-products--list .pis-product-meta {
  text-align: left;
}

.woocommerce ul.products.pis-products--list .pis-product-list-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
}

.woocommerce ul.products.pis-products--list .pis-product-list-actions .pis-list-add-to-cart{
  min-height:40px;
  padding:0 16px;
}

.woocommerce ul.products.pis-products--list .pis-product-thumb .pis-like-btn:not(.pis-like-btn--inline){
  display:none;
}

.pis-shop-view-list .star-rating {
  margin: 0 0 8px !important;
}

.woocommerce ul.products.pis-products--list .star-rating {
  margin: 0 0 8px !important;
}

@media (max-width: 900px) {
  .pis-shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .pis-shop-toolbar__right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px 48px;
    width: 100%;
    justify-content: stretch;
  }

  .pis-filter-dropdown--sorting {
    grid-column: 1 / -1;
  }

  .pis-filter-dropdown--per-page,
  .pis-view-switch {
    width: 100%;
  }

  .pis-view-switch {
    display: grid;
    grid-column: span 2;
    grid-template-columns: repeat(2, 48px);
  }

  .pis-filter-dropdown__toggle {
    width: 100%;
    min-width: 0;
  }

  .pis-view-switch__btn {
    width: 48px;
    min-width: 0;
  }

  .pis-filter-dropdown__menu {
    width: 100%;
    min-width: 0;
  }

  .pis-shop-view-list .woocommerce ul.products li.product,
  .pis-shop-view-list .woocommerce-page ul.products li.product {
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products.pis-products--list li.product,
  .woocommerce-page ul.products.pis-products--list li.product {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   Typography Harmony (final override)
============================================================================ */
body {
  font-size: 16px;
}

.site-header.gambit-header .gambit-header__menu > li > a {
  font-size: 16px;
  line-height: 1.2;
}

.gambit-header__title-top {
  font-size: 38px;
}

.gambit-header__title-bottom {
  font-size: 38px;
}

.gambit-header__tools .pis-search--wide .search-field {
  font-size: 16px;
}

.gambit-tools__contact a {
  font-size: 15px;
}

.gambit-tools__account-text strong {
  font-size: 16px;
}

.pis-category-nav .pis-primary-menu > li > a,
.pis-category-nav .pis-cat-more__toggle {
  font-size: 15px;
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.12;
  font-weight: 700;
}

.widget-title {
  font-size: 24px;
  line-height: 1.2;
}

.pis-widget p,
.pis-widget li {
  font-size: 15px;
  line-height: 1.5;
}

.pis-shop-toolbar__label,
.pis-shop-show-form label {
  font-size: 16px;
}

.pis-shop-toolbar .woocommerce-ordering select,
.pis-shop-show-form select {
  font-size: 15px;
}

.pis-product-category {
  font-size: 12px;
}

.woocommerce-loop-product__title {
  font-size: 16px;
  line-height: 1.28;
}

.pis-rating-empty {
  font-size: 13px;
}

.price {
  font-size: 16px !important;
}

.site-footer h4 {
  font-size: 22px;
}

.site-footer p,
.site-footer li,
.site-footer a,
.pis-footer-bottom {
  font-size: 15px;
  line-height: 1.55;
}

.pis-footer-phone {
  font-size: 32px;
}

@media (max-width: 980px) {
  .gambit-tools__contact a {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .widget-title {
    font-size: 22px;
  }

  .woocommerce-loop-product__title {
    font-size: 18px;
  }
}

/* ============================================================================
   Footer Redesign
============================================================================ */
.site-footer {
  background: #f4f5f7;
  color: #1f2937;
  padding: 0 0 16px;
  margin-top: 52px;
  border-top: 1px solid #dfe3ea;
}

.gambit-footer-help {
  border-bottom: 1px solid #dfe3ea;
  padding: 16px 0;
}

.gambit-footer-help__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gambit-footer-help__card {
  border-radius: 8px;
  min-height: 140px;
  padding: 20px 26px;
}

.gambit-footer-help__card--purple {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px;
  color: #fff;
  background: linear-gradient(120deg, #7e48ea 0%, #8f4bf2 60%, #7d3fea 100%);
}

.gambit-footer-help__dots {
  width: 28px;
  height: 74px;
  border-radius: 4px;
  background-image: radial-gradient(circle, rgba(255,255,255,.75) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  background-position: center;
}

.gambit-footer-help__icon {
  width: 42px;
  height: 42px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M12 18h.01M9 9a3 3 0 1 1 5.2 2.1c-.6.6-1.2 1-1.2 2.1'/%3E%3Cpath d='M6.5 19.5A9 9 0 1 1 19 6.9 9 9 0 0 1 6.5 19.5Z'/%3E%3C/svg%3E");
}

.gambit-footer-help__card--purple h3 {
  margin: 0 0 4px;
  font-size: 42px;
  line-height: 1.04;
  font-weight: 800;
}

.gambit-footer-help__card--purple p {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: rgba(255,255,255,.9);
}

.gambit-footer-help__card--light {
  border: 1px solid #d7dce4;
  background: #f9fafb;
}

.gambit-footer-help__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.gambit-footer-help__row + .gambit-footer-help__row {
  margin-top: 16px;
}

.gambit-footer-help__phone {
  position: relative;
  padding-left: 30px;
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

.gambit-footer-help__phone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232f3135' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2A19.8 19.8 0 0 1 11.2 19a19.3 19.3 0 0 1-6-6 19.8 19.8 0 0 1-2.9-8.6A2 2 0 0 1 4.2 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .8 3a2 2 0 0 1-.4 2L8.3 10a16 16 0 0 0 5.7 5.7l1.3-1.3a2 2 0 0 1 2-.5 13 13 0 0 0 3 .9A2 2 0 0 1 22 16.9Z'/%3E%3C/svg%3E");
}

.gambit-footer-help__time {
  font-size: 14px;
  color: #6b7280;
}

.gambit-footer-help__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 4px;
  background: #eceff5;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.gambit-footer-help__faq {
  color: #6d28d9;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
}

.gambit-footer {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  padding-top: 34px;
  padding-bottom: 18px;
}

.gambit-footer__left .gambit-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.gambit-footer__brand:hover {
  text-decoration: none;
}

.gambit-footer__logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.gambit-footer__brand-text {
  font-size: 40px;
  font-weight: 500;
  color: #4b5563;
}

.gambit-footer__brand-text strong {
  color: #1f2937;
  font-weight: 800;
}

.gambit-footer__contact-group {
  margin-top: 16px;
}

.gambit-footer__contact-group strong {
  display: block;
  margin-bottom: 6px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
  color: #1f2937;
}

.gambit-footer__contact-group a,
.gambit-footer__contact-group p {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  color: #4b5563;
  text-decoration: none;
}

.gambit-footer__links-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.gambit-footer__col h4,
.gambit-footer__newsletter h4 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
  color: #1f2937;
}

.gambit-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.gambit-footer__links li a {
  font-size: 30px;
  color: #4b5563;
}

.gambit-footer__newsletter {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid #dce1ea;
}

.gambit-footer__newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d4d9e1;
  border-radius: 999px;
  background: #fff;
  padding: 6px;
  max-width: 620px;
}

.gambit-footer__newsletter-form input {
  flex: 1;
  border: 0;
  background: transparent;
  height: 46px;
  padding: 0 14px;
  font-size: 18px;
  color: #1f2937;
}

.gambit-footer__newsletter-form input:focus {
  outline: none;
}

.gambit-footer__newsletter-form button {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 20px;
  background: #1f2733;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.gambit-footer__newsletter > p {
  margin: 12px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.gambit-footer__newsletter > p a {
  color: #4b5563;
  text-decoration: underline;
}

.gambit-footer__bottom {
  border-top: 1px solid #dde3ed;
  padding-top: 14px;
  color: #7b8794;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .gambit-footer-help__inner {
    grid-template-columns: 1fr;
  }

  .gambit-footer {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .gambit-footer__contact-group strong {
    font-size: 30px;
  }

  .gambit-footer__contact-group a,
  .gambit-footer__contact-group p {
    font-size: 26px;
  }

  .gambit-footer__col h4,
  .gambit-footer__newsletter h4 {
    font-size: 36px;
  }

  .gambit-footer__links li a {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .site-footer {
    margin-top: 36px;
  }

  .gambit-footer-help__card {
    min-height: auto;
    padding: 16px;
  }

  .gambit-footer-help__card--purple {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .gambit-footer-help__dots {
    display: none;
  }

  .gambit-footer-help__card--purple h3 {
    font-size: 30px;
  }

  .gambit-footer-help__card--purple p {
    font-size: 20px;
  }

  .gambit-footer-help__phone {
    font-size: 24px;
  }

  .gambit-footer-help__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .gambit-footer__brand-text {
    font-size: 28px;
  }

  .gambit-footer__links-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gambit-footer__col h4,
  .gambit-footer__newsletter h4 {
    font-size: 30px;
  }

  .gambit-footer__links li a {
    font-size: 22px;
  }

  .gambit-footer__contact-group strong {
    font-size: 14px;
  }

  .gambit-footer__contact-group a,
  .gambit-footer__contact-group p {
    font-size: 14px;
  }

  .gambit-footer__newsletter-form {
    flex-direction: column;
    border-radius: 14px;
    padding: 10px;
  }

  .gambit-footer__newsletter-form input,
  .gambit-footer__newsletter-form button {
    width: 100%;
  }

  .gambit-footer__newsletter-form button {
    border-radius: 14px;
  }

  .gambit-footer__bottom {
    font-size: 14px;
  }
}

/* ============================================================================
   Single Product Redesign (reference style)
============================================================================ */
.single-product .site-main{
  padding-top: 18px;
}

.single-product div.product{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:32px;
  align-items:start;
}

.single-product div.product > .pis-single-breadcrumb-wrap{
  grid-column:1 / -1;
  grid-row:1;
  margin:0 0 10px;
}

.single-product div.product > .woocommerce-product-gallery{
  grid-column:1;
  grid-row:2;
  float:none !important;
  width:auto !important;
  margin:0 !important;
  background:#e8e9ed;
  border:1px solid #e1e3e8;
  border-radius:10px;
  padding:12px;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{
  border-radius:8px;
  overflow:hidden;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:560px;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img{
  max-height:520px;
  width:auto;
  object-fit:contain;
}

.single-product div.product .flex-control-thumbs{
  margin-top:12px !important;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:8px;
}

.single-product div.product .flex-control-thumbs li{
  border:1px solid #d9dde5;
  border-radius:8px;
  overflow:hidden;
  background:#eff1f4;
}

.single-product div.product > .summary{
  grid-column:2;
  grid-row:2;
  margin:0;
  float:none !important;
  width:auto !important;
  clear:none !important;
}

.single-product div.product .product_title{
  margin:0 0 8px;
  padding-top:clamp(18px, 2.2vw, 26px);
  padding-bottom:clamp(18px, 2.2vw, 26px);
  border-top:1px solid #dfe3ea;
  border-bottom:1px solid #dfe3ea;
  font-size:clamp(34px,4vw,56px);
  line-height:1.08;
  font-weight:800;
  color:#232a36;
}

.single-product div.product .woocommerce-product-rating{
  margin-bottom:16px;
  color:#8f96a1;
  font-size:15px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.single-product div.product .woocommerce-product-rating .star-rating{
  margin:0 !important;
  float:none;
  position:relative;
  display:inline-block;
  width:5ch;
  height:1em;
  line-height:1;
  font-size:18px;
  letter-spacing:0;
  font-family:"Courier New", monospace;
}

.single-product div.product .woocommerce-product-rating .star-rating::before{
  content:"★★★★★";
  color:#d1d5db;
}

.single-product div.product .woocommerce-product-rating .star-rating > span{
  display:block;
  position:absolute;
  top:0;
  left:0;
  overflow:hidden;
  font-size:18px !important;
  color:transparent;
  white-space:nowrap;
  height:100%;
  line-height:1;
}

.single-product div.product .woocommerce-product-rating .star-rating > span::before{
  content:"★★★★★";
  position:absolute;
  top:0;
  left:0;
  font-size:18px;
  line-height:1;
  letter-spacing:0;
  font-family:"Courier New", monospace;
  color:#f6b100;
}

.single-product div.product .woocommerce-product-rating .woocommerce-review-link{
  color:#8f96a1;
}

.single-product div.product .summary p.price,
.single-product div.product .summary span.price{
  margin:0 0 14px;
  font-size:clamp(10px,1.2vw,17px) !important;
  line-height:1.08;
  font-weight:800 !important;
  color:#000 !important;
}

.single-product div.product .woocommerce-product-details__short-description{
  margin-bottom:16px;
  max-width:640px;
}

.single-product div.product .woocommerce-product-details__short-description p{
  margin:0;
  color:#5f6773;
  font-size:16px;
  line-height:1.45;
}

.single-product div.product .product_meta{
  margin-bottom:20px;
  color:#7f8792;
  font-size:14px;
  line-height:1.75;
}

.single-product div.product .product_meta > span{
  display:block;
}

.single-product div.product .product_meta strong,
.single-product div.product .product_meta a,
.single-product div.product .product_meta .sku{
  color:#232a36;
  font-weight:700;
}

.single-product div.product .product_meta .posted_in{
  display:none;
}

.single-product div.product form.cart{
  margin:0;
  background:#e8e9f3;
  border:1px solid #dde0eb;
  border-radius:10px;
  padding:22px 24px 20px;
}

.single-product div.product form.cart .quantity{
  float:none;
  margin:0 auto 14px !important;
  width:min(100%, 360px);
  height:44px;
  border:1px solid #e0e2e8;
  border-radius:999px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 8px;
}

.single-product div.product form.cart .quantity input.qty{
  width:96px;
  border:0;
  height:42px;
  text-align:center;
  background:transparent;
  font-size:20px;
  font-weight:700;
  color:#1f2733;
  appearance:textfield;
  -moz-appearance:textfield;
}

.single-product div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product div.product form.cart .quantity input.qty::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.single-product div.product form.cart .quantity .gambit-qty-btn{
  width:46px;
  height:40px;
  border:0;
  background:transparent;
  color:#111827;
  font-size:38px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
}

.single-product div.product form.cart .quantity .gambit-qty-btn:hover{
  background:#f4f6fa;
}

.single-product div.product form.cart .single_add_to_cart_button{
  width:100%;
  min-height:54px;
  border:0 !important;
  border-radius:999px !important;
  background:#202733 !important;
  color:#fff !important;
  font-size:15px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.01em;
}

.single-product div.product form.cart .single_add_to_cart_button:hover{
  background:#171d27 !important;
}

.single-product div.product .tinv-wraper,
.single-product div.product .yith-wcwl-add-to-wishlist{
  margin-top:12px;
  text-align:center;
  font-size:13px;
  color:#8b929d;
}

.single-product .woocommerce-tabs{
  grid-column:1 / -1;
  margin-top:24px;
  clear:both !important;
}

.single-product .woocommerce-tabs ul.tabs{
  display:none;
}

.single-product .woocommerce-tabs .wc-tab{
  display:block !important;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description,
.single-product .woocommerce-tabs .woocommerce-Tabs-panel--additional_information{
  margin:0;
}

.single-product .woocommerce-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description{
  grid-column:1;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel--additional_information{
  grid-column:2;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel--reviews{
  grid-column:1 / -1;
  margin-top:4px;
}

.single-product .woocommerce-tabs h2{
  margin:0 0 10px;
  font-size:clamp(28px,3vw,42px);
  line-height:1.1;
  font-weight:800;
  color:#232a36;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description p{
  margin:0 0 14px;
  color:#5f6773;
  font-size:16px;
  line-height:1.6;
}

/* Reviews panel layout/style */
.single-product .woocommerce-Tabs-panel--reviews #reviews{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px, 1fr);
  gap:42px;
  align-items:start;
}

.single-product .woocommerce-Tabs-panel--reviews #comments{
  margin:0;
}

.single-product .woocommerce-Tabs-panel--reviews #comments .woocommerce-Reviews-title{
  margin:0 0 18px;
  font-size:44px;
  line-height:1.1;
  font-weight:800;
  color:#232a36;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary{
  max-width:360px;
  margin:0 0 20px;
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  column-gap:10px;
  row-gap:6px;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__average{
  margin:0;
  font-size:42px;
  line-height:1;
  font-weight:800;
  color:#13232e;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars .star-rating{
  margin:0 !important;
  font-size:22px;
  width:5ch;
  height:1em;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars .star-rating > span{
  font-size:22px !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars .star-rating::before,
.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars .star-rating > span::before{
  font-size:22px;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__based-on{
  margin:0 0 8px;
  font-size:16px;
  line-height:1.25;
  color:#22303c;
  flex-basis:100%;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__rows{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:6px;
  flex-basis:100%;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__rows li{
  display:grid;
  grid-template-columns:48px 1fr 34px;
  gap:10px;
  align-items:center;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__label,
.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__percent{
  font-size:20px;
  line-height:1;
  color:#6b7280;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__bar{
  height:10px;
  border-radius:999px;
  background:#e5e7eb;
  overflow:hidden;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__bar > span{
  display:block;
  height:100%;
  border-radius:999px;
  background:#c7c9ce;
}

.single-product .woocommerce-Tabs-panel--reviews .star-rating{
  position:relative;
  display:inline-block;
  width:5ch;
  height:1em;
  line-height:1;
  font-size:18px;
  letter-spacing:0;
  font-family:"Courier New", monospace;
  margin:0;
}

.single-product .woocommerce-Tabs-panel--reviews .star-rating::before{
  content:"★★★★★";
  color:#d1d5db;
}

.single-product .woocommerce-Tabs-panel--reviews .star-rating > span{
  display:block;
  position:absolute;
  top:0;
  left:0;
  overflow:hidden;
  font-size:18px !important;
  color:transparent;
  white-space:nowrap;
  height:100%;
  line-height:1;
}

.single-product .woocommerce-Tabs-panel--reviews .star-rating > span::before{
  content:"★★★★★";
  position:absolute;
  top:0;
  left:0;
  font-size:18px;
  line-height:1;
  letter-spacing:0;
  font-family:"Courier New", monospace;
  color:#f6b100;
}

.single-product .woocommerce-Tabs-panel--reviews #comments ol.commentlist{
  margin:0;
  padding:0;
  list-style:none;
}

.single-product .woocommerce-Tabs-panel--reviews #comments ol.commentlist > li{
  margin:0 0 18px;
  padding:0 0 14px;
  border-bottom:1px solid #e6e8ee;
}

.single-product .woocommerce-Tabs-panel--reviews #comments ol.commentlist > li:last-child{
  margin-bottom:0;
  border-bottom:0;
}

.single-product .woocommerce-Tabs-panel--reviews #comments .comment_container{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.single-product .woocommerce-Tabs-panel--reviews #comments img.avatar{
  float:none !important;
  width:64px !important;
  height:64px !important;
  border-radius:50%;
  margin:0 !important;
}

.single-product .woocommerce-Tabs-panel--reviews #comments .comment-text{
  margin:0 !important;
  border:0 !important;
  padding:0 !important;
}

.single-product .woocommerce-Tabs-panel--reviews #comments .star-rating{
  float:none !important;
  margin:0 0 8px !important;
}

.single-product .woocommerce-Tabs-panel--reviews #comments p.meta{
  margin:0 0 8px !important;
  font-size:15px;
  color:#6b7280;
}

.single-product .woocommerce-Tabs-panel--reviews #comments .woocommerce-review__author{
  color:#232a36;
  font-weight:800;
}

.single-product .woocommerce-Tabs-panel--reviews #comments .description p{
  margin:0;
  font-size:16px;
  line-height:1.55;
  color:#4b5563;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form_wrapper{
  margin:0;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-reply-title{
  display:block;
  margin:0 0 8px;
  font-size:18px;
  font-weight:800;
  color:#232a36;
  text-transform:uppercase;
  letter-spacing:.01em;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-notes{
  margin:0 0 14px;
  font-size:14px;
  color:#6b7280;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form p{
  margin:0 0 12px;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form label{
  display:block;
  margin:0 0 6px;
  font-size:14px;
  color:#4b5563;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating{
  margin:0 0 14px;
  padding:10px 12px;
  border-radius:10px;
  background:#f0f2f6;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating label{
  margin:0 0 8px;
  color:#202938;
  font-weight:600;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating select#rating{
  width:100%;
  height:38px;
  border:1px solid #d6dbe3;
  border-radius:8px;
  background:#fff;
  padding:0 10px;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating p.stars{
  margin:0;
  line-height:1;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating p.stars > span{
  display:inline-flex;
  gap:4px;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating p.stars a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  font-size:0;
  text-decoration:none;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating p.stars a::before{
  content:"☆";
  font-size:22px;
  line-height:1;
  color:#9ca3af;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating p.stars a.is-active::before,
.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating p.stars a.is-hover::before{
  content:"★";
  color:#f6b100;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form input[type="text"],
.single-product .woocommerce-Tabs-panel--reviews #review_form input[type="email"],
.single-product .woocommerce-Tabs-panel--reviews #review_form textarea{
  width:100%;
  border:0;
  border-radius:10px;
  background:#f0f2f6;
  color:#1f2937;
  font-size:15px;
  padding:12px 14px;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form textarea{
  min-height:140px;
  resize:vertical;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-cookies-consent{
  display:flex;
  align-items:center;
  gap:8px;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-cookies-consent label{
  margin:0;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .form-submit{
  margin-top:8px;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form input#submit{
  min-width:120px;
  min-height:40px;
  padding:0 24px;
  border:0 !important;
  border-radius:999px !important;
  background:#1f2733 !important;
  color:#fff !important;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  cursor:pointer;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form input#submit:hover{
  background:#171d27 !important;
}

.single-product table.shop_attributes{
  margin:0;
  border:0;
  border-collapse:collapse;
  width:100%;
}

.single-product table.shop_attributes th,
.single-product table.shop_attributes td{
  background:transparent !important;
  border:0;
  border-bottom:1px solid #e6e8ee;
  padding:8px 0;
  font-size:15px;
  line-height:1.25;
}

.single-product table.shop_attributes th{
  width:42%;
  color:#6d7581;
  font-weight:500;
  text-transform:none;
  text-align:left !important;
  padding-left:0 !important;
}

.single-product table.shop_attributes td{
  color:#222a36;
  font-weight:700;
  text-align:right;
}

.single-product table.shop_attributes td p{
  margin:0;
}

@media (max-width: 1200px){
  .single-product div.product{
    gap:24px;
  }

  .single-product div.product .product_title{
    font-size:40px;
  }

  .single-product div.product .summary p.price,
  .single-product div.product .summary span.price{
    font-size:12px !important;
  }

  .single-product .woocommerce-tabs h2{ font-size:34px; }
}

@media (max-width: 980px){
  .single-product div.product{
    grid-template-columns:1fr;
  }

  .single-product div.product > .pis-single-breadcrumb-wrap,
  .single-product div.product > .woocommerce-product-gallery,
  .single-product div.product > .summary{
    grid-column:1;
    grid-row:auto;
  }

  .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a{
    min-height:420px;
  }

  .single-product .woocommerce-tabs{
    grid-template-columns:1fr;
    gap:20px;
  }

  .single-product .woocommerce-tabs .woocommerce-Tabs-panel--description,
  .single-product .woocommerce-tabs .woocommerce-Tabs-panel--additional_information,
  .single-product .woocommerce-tabs .woocommerce-Tabs-panel--reviews{
    grid-column:1;
  }

  .single-product .woocommerce-Tabs-panel--reviews #reviews{
    grid-template-columns:1fr;
    gap:22px;
  }

  .single-product .woocommerce-Tabs-panel--reviews #comments .woocommerce-Reviews-title{
    font-size:36px;
  }

  .single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary{
    max-width:none;
  }

  .single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__average{
    font-size:40px;
  }

  .single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__based-on{
    font-size:18px;
  }

  .single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__label,
  .single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__percent{
    font-size:15px;
  }
}

@media (max-width: 640px){
  .single-product div.product .woocommerce-product-gallery{
    padding:8px;
  }

  .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a{
    min-height:280px;
  }

  .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img{
    max-height:320px;
  }

  .single-product div.product .product_title{
    font-size:30px;
  }

  .single-product div.product .summary p.price,
  .single-product div.product .summary span.price{
    font-size:10px !important;
  }

  .single-product .woocommerce-tabs h2{
    font-size:28px;
  }
}

/* ============================================================================
   Single Product: Related/Upsells — match catalog cards
============================================================================ */
.single-product div.product > .related.products,
.single-product div.product > .up-sells{
  grid-column:1 / -1;
  margin-top:30px;
}

.single-product div.product > .related.products > h2,
.single-product div.product > .up-sells > h2{
  margin:0 0 24px;
  color:#000 !important;
  font-size:clamp(30px, 3.4vw, 36px);
  line-height:1.2;
  font-weight:700;
  letter-spacing:-0.01em;
}

.single-product div.product > :is(.related.products, .up-sells) ul.products{
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:20px !important;
}

.single-product div.product > :is(.related.products, .up-sells) ul.products li.product.pis-product-card{
  background:#e7e8ed;
  border:1px solid #dfe3ea;
  padding:10px 12px 18px;
  box-shadow:none;
}

.single-product div.product > :is(.related.products, .up-sells) .pis-product-thumb{
  position:static;
  min-height:300px;
  padding-top:36px;
  margin-bottom:18px;
  overflow:visible;
}

.single-product div.product > :is(.related.products, .up-sells) .pis-product-thumb img{
  width:95%;
  max-width:260px;
  object-fit:contain;
}

.single-product div.product > :is(.related.products, .up-sells) .pis-product-zoom-link{
  display:none !important;
}

.single-product div.product > :is(.related.products, .up-sells) .pis-like-btn{
  top:3mm !important;
  right:3mm !important;
  width:42px;
  height:42px;
  border:1px solid #d7dde6;
  border-radius:999px !important;
  background:#f7f9fc;
}

.single-product div.product > :is(.related.products, .up-sells) .price{
  font-size:16px !important;
  line-height:1.2;
  color:#2c3340;
}

.single-product div.product > :is(.related.products, .up-sells) .pis-product-excerpt{
  display:none;
}

@media (max-width: 1200px){
  .single-product div.product > :is(.related.products, .up-sells) ul.products{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px){
  .single-product div.product > :is(.related.products, .up-sells) ul.products{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px){
  .single-product div.product > :is(.related.products, .up-sells) ul.products{
    grid-template-columns:1fr !important;
  }
}

/* Hide any Woo sidebar remnants on product pages */
.single-product #secondary,
.single-product .widget-area,
.single-product .sidebar,
.single-product aside.widget-area{
  display:none !important;
}

/* ============================================================================
   Footer Final Override (match reference)
============================================================================ */
.site-footer{
  background:#f3f5f8 !important;
  border-top:1px solid #dde3ec !important;
}

.site-footer .gambit-footer-help{
  padding:18px 0 !important;
  border-bottom:1px solid #dde3ec !important;
}

.site-footer .gambit-footer-help__inner{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:20px !important;
}

.site-footer .gambit-footer-help__card{
  border-radius:10px !important;
  min-height:142px !important;
  padding:22px 26px !important;
}

.site-footer .gambit-footer-help__card--purple{
  display:grid !important;
  grid-template-columns:auto auto 1fr !important;
  align-items:center !important;
  gap:16px !important;
  color:#fff !important;
  background:linear-gradient(110deg,#7f49ec 0%,#8f4bf3 55%,#7d43eb 100%) !important;
}

.site-footer .gambit-footer-help__card--purple h3{
  margin:0 0 6px !important;
  color:#fff !important;
  font-size:44px !important;
  line-height:1.03 !important;
  font-weight:800 !important;
}

.site-footer .gambit-footer-help__card--purple p{
  margin:0 !important;
  color:rgba(255,255,255,.92) !important;
  font-size:30px !important;
  line-height:1.2 !important;
}

.site-footer .gambit-footer-help__card--light{
  border:1px solid #d8dee7 !important;
  background:#f7f9fc !important;
}

.site-footer .gambit-footer-help__phone{
  font-size:34px !important;
  font-weight:700 !important;
  color:#1f2937 !important;
}

.site-footer .gambit-footer-help__time{
  font-size:14px !important;
  color:#6b7280 !important;
}

.site-footer .gambit-footer-help__btn{
  min-height:38px !important;
  padding:0 18px !important;
  border-radius:4px !important;
  background:#ebeff5 !important;
  font-size:14px !important;
  font-weight:700 !important;
}

.site-footer .gambit-footer-help__faq{
  color:#6d28d9 !important;
  font-size:14px !important;
}

.site-footer .gambit-footer{
  display:grid !important;
  grid-template-columns:1.35fr 1fr !important;
  gap:48px !important;
  padding-top:34px !important;
  padding-bottom:20px !important;
}

.site-footer .gambit-footer__left .gambit-footer__brand{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
}

.site-footer .gambit-footer__logo{
  width:74px !important;
  height:74px !important;
}

.site-footer .gambit-footer__brand-text{
  font-size:22px !important;
  color:#5b6472 !important;
  font-weight:500 !important;
}

.site-footer .gambit-footer__brand-text strong{
  color:#1f2937 !important;
  font-weight:800 !important;
}

.site-footer .gambit-footer__contact-group strong{
  font-size:20px !important;
  font-weight:800 !important;
  color:#1f2937 !important;
}

.site-footer .gambit-footer__contact-group p,
.site-footer .gambit-footer__contact-group a{
  font-size:14px !important;
  color:#4d5664 !important;
}

.site-footer .gambit-footer__links-wrap{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:38px !important;
}

.site-footer .gambit-footer__col h4,
.site-footer .gambit-footer__newsletter h4{
  margin:0 0 14px !important;
  font-size:18px !important;
  font-weight:800 !important;
}

.site-footer .gambit-footer__links li a{
  font-size:14px !important;
  color:#4b5563 !important;
}

.site-footer .gambit-footer__newsletter{
  margin-top:26px !important;
  padding-top:16px !important;
  border-top:1px solid #dce1ea !important;
}

.site-footer .gambit-footer__newsletter-form{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  max-width:620px !important;
  border:1px solid #d4d9e1 !important;
  border-radius:999px !important;
  background:#fff !important;
  padding:6px !important;
}

.site-footer .gambit-footer__newsletter-form input{
  height:46px !important;
  border:0 !important;
  background:transparent !important;
  font-size:18px !important;
  padding:0 14px !important;
}

.site-footer .gambit-footer__newsletter-form button{
  min-height:42px !important;
  border:0 !important;
  border-radius:999px !important;
  padding:0 20px !important;
  background:#1f2733 !important;
  color:#fff !important;
}

.site-footer .gambit-footer__newsletter > p{
  margin:12px 0 0 !important;
  font-size:14px !important;
  color:#6b7280 !important;
}

.site-footer .gambit-footer__bottom{
  border-top:1px solid #dde3ed !important;
  padding-top:14px !important;
  font-size:16px !important;
  color:#7b8794 !important;
}

@media (max-width: 1100px){
  .site-footer .gambit-footer-help__inner,
  .site-footer .gambit-footer{
    grid-template-columns:1fr !important;
  }
}

@media (max-width: 700px){
  .site-footer .gambit-footer-help__row{
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  .site-footer .gambit-footer__links-wrap{
    grid-template-columns:1fr !important;
  }

  .site-footer .gambit-footer__newsletter-form{
    flex-direction:column !important;
    border-radius:14px !important;
  }

  .site-footer .gambit-footer__newsletter-form input,
  .site-footer .gambit-footer__newsletter-form button{
    width:100% !important;
  }

  .site-footer .gambit-footer__newsletter-form button{
    border-radius:14px !important;
  }
}

/* ============================================================================
   Footer Layout V2
============================================================================ */
.site-footer .gambit-footer__newsletter-strip{
  border-bottom:1px solid #dde3ec !important;
  padding:34px 0 !important;
}

.site-footer .gambit-footer__newsletter-inner{
  max-width:720px;
}

.site-footer .gambit-footer__newsletter-inner h4{
  margin:0 0 12px !important;
  font-size:20px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  color:#1f2937 !important;
}

.site-footer .gambit-footer__newsletter-inner .gambit-footer__newsletter-form{
  max-width:620px !important;
}

.site-footer .gambit-footer__newsletter-inner > p{
  margin:12px 0 0 !important;
  font-size:14px !important;
  color:#6b7280 !important;
}

.site-footer .gambit-footer__newsletter-inner > p a{
  color:#4d5664 !important;
  text-decoration:underline;
}

.site-footer .gambit-footer__main{
  display:grid !important;
  grid-template-columns:1.5fr 1fr 1fr !important;
  gap:30px !important;
  padding-top:20px !important;
  padding-bottom:14px !important;
}

.site-footer .gambit-footer__contacts .gambit-footer__contact-group{
  margin-top:0;
  margin-bottom:8px;
}

.site-footer .gambit-footer__contacts .gambit-footer__contact-group strong{
  font-size:18px !important;
  margin-bottom:4px;
}

.site-footer .gambit-footer__contacts .gambit-footer__contact-group p,
.site-footer .gambit-footer__contacts .gambit-footer__contact-group a{
  font-size:14px !important;
  line-height:1.3 !important;
}

.site-footer .gambit-footer__main .gambit-footer__col h4{
  font-size:20px !important;
  margin:0 0 6px !important;
}

.site-footer .gambit-footer__main .gambit-footer__links{
  gap:4px !important;
}

.site-footer .gambit-footer__main .gambit-footer__links li{
  padding:0 !important;
}

.site-footer .gambit-footer__main .gambit-footer__links li a{
  font-size:15px !important;
  line-height:1.2 !important;
}

.site-footer .gambit-footer__bottom{
  margin-top:2px;
}

@media (max-width: 1100px){
  .site-footer .gambit-footer__main{
    grid-template-columns:1fr !important;
    gap:20px !important;
  }
}

/* Reviews Summary Final Size Override */
.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary{
  display:grid !important;
  grid-template-columns:auto 1fr !important;
  align-items:end !important;
  column-gap:10px !important;
  row-gap:6px !important;
  width:100% !important;
  max-width:680px !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__average{
  font-size:46px !important;
  line-height:1 !important;
  margin:0 !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars{
  line-height:1 !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars .star-rating,
.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars .star-rating::before,
.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars .star-rating > span,
.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars .star-rating > span::before{
  font-size:22px !important;
  line-height:1 !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__stars .star-rating{
  width:5ch !important;
  margin:0 !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__based-on{
  flex-basis:100% !important;
  grid-column:1 / -1 !important;
  margin:0 0 8px !important;
  font-size:16px !important;
  line-height:1.2 !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__rows{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:none !important;
  gap:6px !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__rows li{
  grid-template-columns:58px minmax(0, 1fr) 42px !important;
  gap:10px !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__label{
  font-size:13px !important;
  line-height:1.1 !important;
  white-space:nowrap !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__percent{
  font-size:13px !important;
  line-height:1 !important;
  text-align:right !important;
}

.single-product .woocommerce-Tabs-panel--reviews .gambit-reviews-summary__bar{
  width:100% !important;
  height:10px !important;
}

/* Single Product Headings: match archive heading style */
.single-product div.product .product_title{
  font-size:clamp(30px,3.4vw,36px) !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  color:#000 !important;
}

.single-product .woocommerce-tabs h2{
  font-size:clamp(14px,1.5vw,21px) !important;
}

.single-product .woocommerce-Tabs-panel--reviews #comments .woocommerce-Reviews-title{
  font-size:22px !important;
}

.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-reply-title{
  font-size:14px !important;
}

/* ============================================================================
   My Account Layout
============================================================================ */
.woocommerce-account .site-main{
  padding-top: 22px;
  padding-bottom: 48px;
}

.woocommerce-account .pis-myaccount-simple{
  display:grid;
  grid-template-columns:minmax(240px, 280px) minmax(0, 1fr);
  gap:22px;
  align-items:start;
}

.woocommerce-account .pis-myaccount-sidebar,
.woocommerce-account .woocommerce-MyAccount-navigation{
  background:#f7f9fc;
  border:1px solid #c5cfdd;
  border-radius:0;
  padding:14px;
  float:none;
  width:auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:4px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:block;
  padding:10px 12px;
  border:1px solid transparent;
  border-radius:0;
  color:#2c3440;
  font-size:15px;
  font-weight:600;
  line-height:1.2;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
  text-decoration:none;
  border-color:#c5cfdd;
  background:#edf1f6;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
  background:#202733;
  border-color:#202733;
  color:#fff;
}

.woocommerce-account .woocommerce-MyAccount-content{
  background:#f7f9fc;
  border:1px solid #c5cfdd;
  border-radius:0;
  padding:20px 22px;
  float:none;
  width:auto;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-child{
  margin-top:0;
}

.woocommerce-account .pis-myaccount-tiles{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:12px;
}

.woocommerce-account .pis-myaccount-tile{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:12px 14px;
  border:1px solid #c5cfdd;
  border-radius:0;
  background:#edf1f6;
  color:#1f2937;
  font-size:14px;
  font-weight:700;
  line-height:1.25;
}

.woocommerce-account .pis-myaccount-tile:hover{
  text-decoration:none;
  border-color:#b7c3d4;
  background:#e5ebf3;
}

.woocommerce-account .pis-myaccount-tile-icon{
  width:22px;
  height:22px;
  flex:0 0 22px;
  color:#404a58;
}

.woocommerce-account .pis-myaccount-tile-icon svg{
  width:100%;
  height:100%;
  display:block;
}

.woocommerce-account .pis-account-wishlist-count,
.woocommerce-account .pis-account-orders-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  margin-left:8px;
  padding:0 5px;
  border-radius:999px;
  background:#ec922d;
  color:#fff;
  font-size:12px;
  line-height:20px;
  font-weight:700;
}

@media (max-width: 980px){
  .woocommerce-account .pis-myaccount-simple{
    grid-template-columns:1fr;
  }
}

/* ============================================================================
   My Account: Orders Table
============================================================================ */
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table{
  width:100%;
  margin:0;
  border:1px solid #c5cfdd;
  border-radius:0;
  border-collapse:separate;
  border-spacing:0;
  background:#f7f9fc;
  table-layout:auto;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders thead th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table thead th{
  padding:14px 12px;
  border-bottom:1px solid #c5cfdd;
  background:#edf1f6;
  color:#2a3341;
  font-size:15px;
  line-height:1.2;
  font-weight:700;
  text-align:left;
  vertical-align:middle;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody td,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table tbody td{
  padding:14px 12px;
  border-bottom:1px solid #d4dce8;
  color:#2b3340;
  font-size:15px;
  line-height:1.4;
  text-align:left;
  vertical-align:middle;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:last-child td,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody tr:last-child td,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table tbody tr:last-child td{
  border-bottom:0;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-number,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table td.woocommerce-orders-table__cell-order-number{
  font-weight:700;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-total,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-total,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table td.woocommerce-orders-table__cell-order-total{
  font-weight:700;
  color:#1f2733;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table td.woocommerce-orders-table__cell-order-actions{
  white-space:nowrap;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table td.woocommerce-orders-table__cell-order-actions .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  margin:0;
  padding:7px 12px;
  border:1px solid #1f2733;
  border-radius:0;
  background:#1f2733;
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:700;
  text-decoration:none;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders td.woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table td.woocommerce-orders-table__cell-order-actions .button:hover{
  background:#161c26;
  border-color:#161c26;
  color:#fff;
}

@media (max-width: 900px){
  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table{
    border:0;
    background:transparent;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders thead,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table thead{
    display:none;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table tbody{
    display:grid;
    gap:10px;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody tr,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table tbody tr{
    display:block;
    border:1px solid #c5cfdd;
    background:#f7f9fc;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody td,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table tbody td{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    width:100%;
    padding:10px 12px;
    border-bottom:1px solid #d8e0eb;
    text-align:right;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td::before,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody td::before,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table tbody td::before{
    content:attr(data-title);
    color:#5d6879;
    font-size:13px;
    line-height:1.2;
    font-weight:700;
    text-align:left;
    text-transform:none;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-actions,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.my_account_orders tbody td.woocommerce-orders-table__cell-order-actions,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table.account-orders-table tbody td.woocommerce-orders-table__cell-order-actions{
    justify-content:space-between;
    white-space:normal;
  }
}

/* ============================================================================
   My Account: View Order Card
============================================================================ */
.woocommerce-account .woocommerce-MyAccount-content p.order-info{
  margin:0 0 16px;
  padding:12px 14px;
  border:1px solid #c5cfdd;
  background:#edf1f6;
  color:#2b3340;
  font-size:18px;
  line-height:1.45;
}

.woocommerce-account .woocommerce-MyAccount-content p.order-info mark{
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
  color:inherit;
  font-weight:700 !important;
  padding:0;
}

.woocommerce-account .woocommerce-MyAccount-content mark,
.woocommerce-account .woocommerce-MyAccount-content mark.order-number,
.woocommerce-account .woocommerce-MyAccount-content mark.order-date,
.woocommerce-account .woocommerce-MyAccount-content mark.order-status{
  background:none !important;
  background-color:transparent !important;
  box-shadow:none !important;
  color:inherit !important;
  font-weight:700 !important;
  padding:0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details{
  margin:0 0 16px;
  padding:14px;
  border:1px solid #c5cfdd;
  background:#f7f9fc;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title{
  margin:0 0 14px;
  color:#202733;
  font-size:28px;
  line-height:1.15;
  font-weight:800;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details{
  width:100%;
  margin:0;
  border:1px solid #c5cfdd;
  border-collapse:separate;
  border-spacing:0;
  background:#f7f9fc;
  table-layout:auto;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details thead th{
  padding:12px;
  border-bottom:1px solid #c5cfdd;
  background:#edf1f6;
  color:#2a3341;
  font-size:15px;
  line-height:1.2;
  font-weight:700;
  text-align:left;
  vertical-align:middle;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tbody th,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tbody td,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot th,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot td{
  padding:12px;
  border-bottom:1px solid #d4dce8;
  color:#2b3340;
  font-size:16px;
  line-height:1.4;
  text-align:left;
  vertical-align:middle;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tbody td.product-total,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot td{
  text-align:right;
  font-weight:700;
  color:#1f2733;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:last-child td{
  border-bottom:0;
}

.woocommerce-account .woocommerce-MyAccount-content .pis-order-item-with-thumb{
  display:inline-flex;
  align-items:center;
  gap:12px;
}

.woocommerce-account .woocommerce-MyAccount-content .pis-order-item-thumb{
  width:68px;
  height:68px;
  flex:0 0 68px;
  border:1px solid #c9d2df;
  background:#fff;
  overflow:hidden;
}

.woocommerce-account .woocommerce-MyAccount-content .pis-order-item-thumb__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details{
  margin:0;
  padding:14px;
  border:1px solid #c5cfdd;
  background:#f7f9fc;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address{
  margin:0;
  padding:12px;
  border:1px solid #d4dce8;
  background:#edf1f6;
  color:#2b3340;
  font-size:16px;
  line-height:1.5;
  font-style:normal;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-columns--addresses{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column--billing-address,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column--shipping-address{
  margin:0;
}

@media (max-width: 900px){
  .woocommerce-account .woocommerce-MyAccount-content p.order-info{
    font-size:16px;
  }

  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title{
    font-size:24px;
  }

  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-columns--addresses{
    grid-template-columns:1fr;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details thead{
    display:none;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tbody tr,
  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr{
    display:block;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tbody th,
  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tbody td,
  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot th,
  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot td{
    display:block;
    width:100%;
    text-align:left;
    padding:10px 12px;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tbody td.product-total,
  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot td{
    text-align:left;
  }
}

/* ============================================================================
   My Account: Login / Register (logged-out state)
============================================================================ */
.woocommerce-account .woocommerce .u-columns#customer_login{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
  margin:0;
}

.woocommerce-account .woocommerce .u-column1.col-1,
.woocommerce-account .woocommerce .u-column2.col-2{
  float:none;
  width:100%;
  margin:0;
}

.woocommerce-account .woocommerce form.woocommerce-form-login,
.woocommerce-account .woocommerce form.woocommerce-form-register{
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.woocommerce-account .woocommerce .u-column1 h2,
.woocommerce-account .woocommerce .u-column2 h2{
  margin:0 0 16px;
  font-size:32px;
  line-height:1.15;
  font-weight:800;
  color:#202733;
}

.woocommerce-account .woocommerce form .form-row{
  margin:0 0 14px;
  padding:0;
}

.woocommerce-account .woocommerce form .form-row label{
  display:block;
  margin:0 0 6px;
  color:#697587;
  font-size:15px;
  font-weight:500;
  line-height:1.35;
}

.woocommerce-account .woocommerce form .form-row input.input-text{
  width:100%;
  min-height:52px;
  margin:0;
  border:1px solid #c5cfdd;
  border-radius:0;
  background:#edf1f6;
  color:#1f2937;
  font-size:16px;
  line-height:1.2;
  padding:12px 14px;
  transition:border-color .2s ease, background-color .2s ease;
}

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

.woocommerce-account .woocommerce form .password-input input.input-text{
  padding-right:46px;
}

.woocommerce-account .woocommerce form .password-input .show-password-input{
  position:absolute;
  top:50%;
  right:10px;
  width:28px;
  height:28px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  transform:translateY(-50%);
  cursor:pointer;
  color:#7c8797;
}

.woocommerce-account .woocommerce form .password-input .show-password-input::before{
  content:"";
  position:absolute;
  top:7px;
  left:4px;
  width:20px;
  height:12px;
  border:1.5px solid currentColor;
  border-radius:999px;
}

.woocommerce-account .woocommerce form .password-input .show-password-input::after{
  content:"";
  position:absolute;
  top:11px;
  left:11px;
  width:6px;
  height:6px;
  background:currentColor;
  border-radius:50%;
}

.woocommerce-account .woocommerce form .password-input .show-password-input.display-password::before{
  border-color:#202733;
}

.woocommerce-account .woocommerce form .password-input .show-password-input.display-password::after{
  background:#202733;
}

.woocommerce-account .woocommerce form .form-row input.input-text:focus{
  border-color:#a7b4c7;
  outline:none;
  box-shadow:none;
  background:#fff;
}

.woocommerce-account .woocommerce .woocommerce-form-login__rememberme{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-right:14px;
  color:#4a5565;
  font-size:15px;
}

.woocommerce-account .woocommerce .woocommerce-form-login__rememberme input[type="checkbox"]{
  width:16px;
  height:16px;
  margin:0;
  border:1px solid #c7d0db;
  accent-color:#202733;
}

.woocommerce-account .woocommerce form .woocommerce-form-login__submit,
.woocommerce-account .woocommerce form .woocommerce-form-register__submit,
.woocommerce-account .woocommerce form button.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  border:1px solid #202733;
  border-radius:0;
  background:#202733;
  color:#fff;
  font-size:15px;
  font-weight:700;
  line-height:1;
  padding:10px 20px;
  cursor:pointer;
  text-decoration:none;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease;
}

.woocommerce-account .woocommerce form .woocommerce-form-login__submit:hover,
.woocommerce-account .woocommerce form .woocommerce-form-register__submit:hover,
.woocommerce-account .woocommerce form button.button:hover{
  background:#161c26;
  border-color:#161c26;
  color:#fff;
}

.woocommerce-account .woocommerce form .lost_password{
  margin-top:14px;
  margin-bottom:0;
}

.woocommerce-account .woocommerce form .lost_password a{
  font-size:15px;
  color:#4b5869;
}

.woocommerce-account .woocommerce form .lost_password a:hover{
  color:#202733;
}

.woocommerce-account .woocommerce form.woocommerce-form-register > p{
  margin:0 0 14px;
  color:#4a5565;
  font-size:16px;
  line-height:1.55;
}

@media (max-width: 980px){
  .woocommerce-account .woocommerce .u-columns#customer_login{
    grid-template-columns:1fr;
  }

  .woocommerce-account .woocommerce .u-column1 h2,
  .woocommerce-account .woocommerce .u-column2 h2{
    font-size:30px;
  }

  .woocommerce-account .woocommerce form.woocommerce-form-login,
  .woocommerce-account .woocommerce form.woocommerce-form-register{
    padding:0;
  }
}

/* ============================================================================
   Cart: Visual Divider Before Suggestions
============================================================================ */
.woocommerce-cart .cross-sells,
.woocommerce-cart .related.products,
.woocommerce-cart .up-sells,
.woocommerce-cart .wc-block-cart__cross-sells,
.woocommerce-cart .wc-block-cart__empty-cart__products,
.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-block,
.woocommerce-cart .wp-block-woocommerce-product-new{
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid #cfd5de;
}

.woocommerce-cart .cross-sells > h2,
.woocommerce-cart .wc-block-cart__cross-sells h2,
.woocommerce-cart .wp-block-woocommerce-product-new h2{
  margin-top:0;
}

/* ============================================================================
   Shop Catalog: Flat Corners
============================================================================ */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-shop-toolbar .woocommerce-ordering select,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-shop-show-form select,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-view-switch__btn,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-filter-dropdown__toggle,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-filter-dropdown__menu,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-filter-dropdown__panel,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-price-range input,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-price-range__submit,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-product-card,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .woocommerce ul.products.pis-products--list li.product,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .woocommerce-page ul.products.pis-products--list li.product,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-like-btn,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-product-list-actions .pis-list-view-btn,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .onsale {
  border-radius: 0 !important;
}

/* ============================================================================
   Shop Catalog Cards: Match Reference Look (grid mode)
============================================================================ */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .woocommerce ul.products li.product.pis-product-card{
  background:#e7e8ed;
  border:1px solid #dfe3ea;
  padding:10px 12px 18px;
  box-shadow:none;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .pis-product-thumb{
  position:static;
  min-height:300px;
  padding-top:36px;
  margin-bottom:18px;
  overflow:visible;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .pis-product-thumb img{
  width:95%;
  max-width:260px;
  object-fit:contain;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .pis-product-zoom-link{
  display:none !important;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .pis-like-btn{
  top:3mm !important;
  right:3mm !important;
  width:42px;
  height:42px;
  border:1px solid #d7dde6;
  border-radius:999px !important;
  background:#f7f9fc;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .onsale{
  top:10px !important;
  left:10px !important;
  padding:6px 12px !important;
  border-radius:999px !important;
  font-size:12px !important;
  line-height:1 !important;
  z-index:5;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .pis-sale-percent-badge{
  position:absolute;
  top:38px;
  left:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:0 11px;
  border-radius:999px;
  background:#d7b54e;
  color:#1f2430;
  font-size:12px;
  font-weight:700;
  line-height:1;
  z-index:5;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .pis-product-category{
  margin-bottom:8px;
  color:#929aa6;
  letter-spacing:.08em;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .woocommerce-loop-product__title{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.24;
  font-weight:700;
  color:#1f2632;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .star-rating{
  margin:0 auto 10px !important;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .price{
  font-size:16px !important;
  line-height:1.2;
  color:#2c3340;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .pis-product-excerpt{
  display:none;
}

/* ============================================================================
   Shop Header + Category Tiles (reference layout)
============================================================================ */
.gambit-header__tools{
  background:#f7f8fa;
  border-top:0;
  border-bottom:1px solid #e8ecf1;
  padding:10px 0;
  --gambit-tools-soft-radius:8px;
}

.gambit-header__tools .pis-header-search-inner{
  display:grid;
  grid-template-columns:176px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
}

.gambit-header__tools .gambit-tools__categories-toggle,
.gambit-header__tools .pis-search--wide .search-field,
.gambit-header__tools .pis-search--wide .search-submit,
.gambit-header__tools .gambit-tools__icon-wrap,
.gambit-header__tools .gambit-tools__cart,
.gambit-header__tools .gambit-tools__categories-menu{
  border-radius:var(--gambit-tools-soft-radius) !important;
}

.gambit-tools__categories{
  position:relative;
}

.gambit-tools__categories.is-open::before,
.gambit-tools__categories.is-open::after{
  content:"";
  position:absolute;
  pointer-events:none;
}

.gambit-tools__categories.is-open::before{
  left:20px;
  top:calc(100% + 2px);
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  border-bottom:8px solid #d5dae2;
  z-index:46;
}

.gambit-tools__categories.is-open::after{
  left:21px;
  top:calc(100% + 3px);
  border-left:7px solid transparent;
  border-right:7px solid transparent;
  border-bottom:7px solid #e9ebef;
  z-index:47;
}

.gambit-tools__categories-toggle{
  width:100%;
  height:50px;
  padding:0 42px 0 18px;
  border:1px solid #8a919d;
  border-radius:var(--gambit-tools-soft-radius);
  background:#eceef2;
  color:#69717e;
  font-size:15px;
  line-height:1;
  font-weight:700;
  text-align:left;
  cursor:pointer;
  position:relative;
  text-transform:none;
}

.gambit-tools__categories-toggle::after{
  content:"";
  position:absolute;
  right:16px;
  top:50%;
  width:8px;
  height:8px;
  border-right:1.5px solid #727a87;
  border-bottom:1.5px solid #727a87;
  transform:translateY(-60%) rotate(45deg);
}

.gambit-tools__categories.is-open .gambit-tools__categories-toggle::after{
  transform:translateY(-38%) rotate(-135deg);
}

.gambit-tools__categories-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  width:248px;
  max-height:380px;
  overflow:auto;
  margin:0;
  padding:10px 0;
  list-style:none;
  border:1px solid #d5dae2;
  border-top:0;
  background:#e9ebef;
  box-shadow:none;
  z-index:45;
}

.gambit-tools__categories-menu li{
  margin:0;
}

.gambit-tools__categories-menu a{
  display:block;
  padding:10px 20px;
  color:#666e79;
  font-size:15px;
  line-height:1.28;
  font-weight:800;
  letter-spacing:.01em;
  text-transform:uppercase;
  white-space:normal;
  text-decoration:none;
}

.gambit-tools__categories-menu a:hover{
  background:rgba(255,255,255,0.16);
  text-decoration:none;
}

.gambit-tools__categories-menu a.is-current{
  background:transparent;
  color:#1f2530;
  font-weight:900;
}

.gambit-header__tools .pis-search--wide .search-field{
  height:50px;
  border:1px solid #d8dde4;
  border-radius:25px;
}

.gambit-header__tools .pis-search--wide .search-submit{
  height:46px;
}

.gambit-header__categories{
  display:none;
}

.pis-featured-categories{
  margin:24px 0 26px;
}

.pis-featured-categories__slider{
  position:relative;
  padding-inline:46px;
}

.pis-featured-categories__track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -ms-overflow-style:none;
  scrollbar-width:none;
}

.pis-featured-categories__track::-webkit-scrollbar{
  display:none;
}

.pis-featured-categories__nav{
  position:absolute;
  top:50%;
  z-index:3;
  width:34px;
  height:34px;
  margin:0;
  padding:0;
  border:1px solid #d6dce5;
  background:#fff;
  color:#3d4654;
  transform:translateY(-50%);
  cursor:pointer;
}

.pis-featured-categories__nav::before{
  content:"";
  display:block;
  width:8px;
  height:8px;
  margin:0 auto;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
}

.pis-featured-categories__nav--prev{
  left:0;
}

.pis-featured-categories__nav--prev::before{
  transform:rotate(-135deg);
}

.pis-featured-categories__nav--next{
  right:0;
}

.pis-featured-categories__nav--next::before{
  transform:rotate(45deg);
}

.pis-featured-categories__nav:disabled{
  opacity:.35;
  cursor:default;
}

.pis-featured-category-card{
  position:relative;
  display:flex;
  align-items:flex-end;
  flex:0 0 clamp(190px, 24vw, 280px);
  aspect-ratio:1 / 1;
  overflow:hidden;
  text-decoration:none;
  background:#666;
  scroll-snap-align:start;
}

.pis-featured-category-card__media{
  position:absolute;
  inset:0;
  background:#727272 center / cover no-repeat;
  transition:transform .35s ease;
}

.pis-featured-category-card__overlay{
  position:absolute;
  inset:0;
  background:rgba(22, 27, 35, 0.56);
}

.pis-featured-category-card__content{
  position:relative;
  z-index:2;
  width:100%;
  text-align:center;
  color:#fff;
  padding:0 16px 28px;
}

.pis-featured-category-card__name{
  display:block;
  font-size:22px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.pis-featured-category-card__count{
  display:block;
  margin-top:9px;
  font-size:16px;
  line-height:1.1;
  opacity:.9;
  text-transform:uppercase;
}

.pis-featured-category-card:hover .pis-featured-category-card__media,
.pis-featured-category-card:focus-visible .pis-featured-category-card__media{
  transform:scale(1.05);
}

.pis-featured-category-card.is-current{
  outline:2px solid #d4b359;
  outline-offset:-2px;
}

@media (max-width: 1100px){
  .gambit-header__tools .pis-header-search-inner{
    grid-template-columns:168px minmax(0,1fr);
  }

  .gambit-tools__icons{
    grid-column:1 / -1;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .pis-featured-categories__slider{
    padding-inline:40px;
  }
}

@media (max-width: 680px){
  .gambit-header__tools .pis-header-search-inner{
    grid-template-columns:1fr;
  }

  .gambit-tools__categories-menu{
    width:100%;
  }

  .pis-featured-categories{
    margin:18px 0 22px;
  }

  .pis-featured-categories__slider{
    padding-inline:0;
  }

  .pis-featured-categories__nav{
    display:none;
  }

  .pis-featured-category-card{
    flex-basis:min(78vw, 280px);
  }
}

/* Final override: single product heading card style */
.single-product div.product .summary .product_title,
.single-product div.product .summary h1.product_title,
.single-product div.product .summary .product_title.entry-title{
  margin:0 0 8px !important;
  padding:8px 0 10px !important;
  border-top:1px solid #dfe3ea !important;
  border-bottom:1px solid #dfe3ea !important;
  font-size:clamp(30px, 3.4vw, 36px) !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  color:#000 !important;
}

/* Single Product layout hotfix: preserve stable block order */
.single-product div.product{
  display:flex !important;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:32px;
}

.single-product div.product > .pis-single-breadcrumb-wrap{
  order:1;
  flex:0 0 100%;
  width:100%;
}

.single-product div.product > .woocommerce-product-gallery{
  order:2;
  flex:1 1 calc(50% - 16px);
  width:calc(50% - 16px) !important;
  min-width:0;
  grid-column:auto !important;
  grid-row:auto !important;
}

.single-product div.product > .summary{
  order:3;
  flex:1 1 calc(50% - 16px);
  width:calc(50% - 16px) !important;
  min-width:0;
  grid-column:auto !important;
  grid-row:auto !important;
}

.single-product div.product > .woocommerce-tabs{
  order:4;
  flex:0 0 100%;
  width:100%;
  clear:both !important;
}

.single-product div.product > .related.products,
.single-product div.product > .up-sells{
  order:5;
  flex:0 0 100%;
  width:100%;
}

@media (max-width: 980px){
  .single-product div.product{
    gap:20px;
  }

  .single-product div.product > .woocommerce-product-gallery,
  .single-product div.product > .summary{
    flex:0 0 100%;
    width:100% !important;
  }
}

/* Single Product: square corners for product/related cards */
.single-product div.product > .woocommerce-product-gallery,
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
.single-product div.product .flex-control-thumbs li,
.single-product div.product .flex-control-thumbs li img{
  border-radius:0 !important;
}

.single-product div.product > :is(.related.products, .up-sells) ul.products li.product.pis-product-card,
.single-product div.product > :is(.related.products, .up-sells) .pis-product-thumb,
.single-product div.product > :is(.related.products, .up-sells) .pis-product-thumb img{
  border-radius:0 !important;
}

/* Single Product: thumbnail slider in product card */
.single-product .pis-product-thumbs-slider{
  position:relative;
  margin-top:12px;
  padding-inline:34px;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs,
.single-product div.product .pis-product-thumbs-slider .flex-control-thumbs{
  display:flex !important;
  flex-wrap:nowrap;
  justify-content:center;
  gap:8px;
  margin:0 !important;
  padding:0 !important;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  -ms-overflow-style:none;
  scrollbar-width:none;
}

.single-product div.product .pis-product-thumbs-slider .flex-control-thumbs::-webkit-scrollbar{
  display:none;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{
  display:none;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product div.product .pis-product-thumbs-slider .flex-control-thumbs li{
  display:flex !important;
  align-items:center;
  justify-content:center;
  float:none !important;
  flex:0 0 124px;
  width:124px;
  aspect-ratio:1 / 1;
  max-width:none;
  scroll-snap-align:start;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img,
.single-product div.product .pis-product-thumbs-slider .flex-control-thumbs li img{
  display:block;
  margin-inline:auto;
  object-fit:contain;
}

.single-product .pis-product-thumbs-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border:1px solid #cfd5de;
  background:#fff;
  color:#333b47;
  cursor:pointer;
  z-index:2;
}

.single-product .pis-product-thumbs-nav[disabled]{
  opacity:.35;
  cursor:default;
}

.single-product .pis-product-thumbs-nav::before{
  content:"";
  display:block;
  width:7px;
  height:7px;
  margin:0 auto;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
}

.single-product .pis-product-thumbs-nav--prev{
  left:0;
}

.single-product .pis-product-thumbs-nav--prev::before{
  transform:rotate(-135deg);
}

.single-product .pis-product-thumbs-nav--next{
  right:0;
}

.single-product .pis-product-thumbs-nav--next::before{
  transform:rotate(45deg);
}

@media (max-width: 640px){
  .single-product .pis-product-thumbs-slider{
    padding-inline:0;
  }

  .single-product .pis-product-thumbs-nav{
    display:none;
  }

  .single-product div.product .pis-product-thumbs-slider .flex-control-thumbs li{
    flex-basis:96px;
    width:96px;
  }
}

/* Single Product: flat review form fields */
.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating,
.single-product .woocommerce-Tabs-panel--reviews #review_form .comment-form-rating select#rating,
.single-product .woocommerce-Tabs-panel--reviews #review_form input[type="text"],
.single-product .woocommerce-Tabs-panel--reviews #review_form input[type="email"],
.single-product .woocommerce-Tabs-panel--reviews #review_form textarea{
  border-radius:0 !important;
}

/* Single Product: flat add-to-cart box + hide quantity control */
.single-product div.product form.cart,
.single-product div.product form.cart .single_add_to_cart_button{
  border-radius:0 !important;
}

.single-product div.product form.cart .quantity{
  display:none !important;
}

/* Single Product: breadcrumb divider line for path */
.single-product div.product > .pis-single-breadcrumb-wrap{
  margin:0 0 12px;
  padding-top:16px;
  padding-bottom:12px;
  border-top:1px solid #dfe3ea;
  border-bottom:1px solid #dfe3ea;
}

/* WooCommerce notice toasts */
.pis-toast-stack{
  position:fixed;
  top:calc(var(--adminbar, 0px) + 88px);
  right:clamp(10px, 2.5vw, 28px);
  z-index:3600;
  width:min(92vw, 460px);
  display:grid;
  gap:10px;
  pointer-events:none;
}

.pis-toast-stack .pis-toast-notice.woocommerce-message,
.pis-toast-stack .pis-toast-notice.woocommerce-info,
.pis-toast-stack .pis-toast-notice.woocommerce-error{
  margin:0 !important;
  padding:14px 16px !important;
  border:1px solid #1f2733 !important;
  background:#fff !important;
  color:#202733 !important;
  box-shadow:0 14px 34px rgba(20, 29, 42, 0.18);
  border-radius:0 !important;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  pointer-events:auto;
  opacity:0;
  transform:translateY(-10px);
}

.pis-toast-stack .pis-toast-notice.woocommerce-message::before,
.pis-toast-stack .pis-toast-notice.woocommerce-info::before,
.pis-toast-stack .pis-toast-notice.woocommerce-error::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:0;
  background:#1f2733;
  flex:0 0 10px;
}

.pis-toast-stack .pis-toast-notice.woocommerce-info::before{
  background:#3457d5;
}

.pis-toast-stack .pis-toast-notice.woocommerce-error::before{
  background:#c92f43;
}

.pis-toast-stack .pis-toast-notice.woocommerce-error li{
  margin:0;
}

.pis-toast-stack .pis-toast-notice.woocommerce-message .button.wc-forward,
.pis-toast-stack .pis-toast-notice.woocommerce-info .button.wc-forward,
.pis-toast-stack .pis-toast-notice.woocommerce-error .button.wc-forward{
  order:2;
  margin-left:auto;
  white-space:nowrap;
  min-height:36px;
  padding:8px 12px;
  border:1px solid #1f2733;
  border-radius:0 !important;
  background:#1f2733;
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:700;
  text-decoration:none;
}

.pis-toast-stack .pis-toast-notice.woocommerce-message .button.wc-forward:hover,
.pis-toast-stack .pis-toast-notice.woocommerce-info .button.wc-forward:hover,
.pis-toast-stack .pis-toast-notice.woocommerce-error .button.wc-forward:hover{
  background:#161c26;
  border-color:#161c26;
}

.pis-toast-stack .pis-toast-notice.is-enter{
  animation:pisToastIn .24s ease-out forwards;
}

.pis-toast-stack .pis-toast-notice.is-leaving{
  animation:pisToastOut .28s ease-in forwards;
}

@keyframes pisToastIn{
  from{
    opacity:0;
    transform:translateY(-8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes pisToastOut{
  from{
    opacity:1;
    transform:translateY(0);
  }
  98%{
    opacity:1;
    transform:translateY(-8px);
  }
  to{
    opacity:0;
    transform:translateY(-8px);
  }
}

@media (max-width: 640px){
  .pis-toast-stack{
    left:12px;
    right:12px;
    width:auto;
    top:calc(var(--adminbar, 0px) + 74px);
  }
}

/* Breadcrumbs: unified visual style for category, single-product, wishlist, cart */
.pis-archive-hero .pis-breadcrumbs,
.single-product .pis-single-breadcrumb,
.pis-context-path .pis-breadcrumbs,
.pis-context-path .pis-context-breadcrumb{
  font-size:13px;
  line-height:1;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:#9aa0a8;
}

.pis-archive-hero .pis-breadcrumbs a,
.pis-archive-hero .pis-breadcrumbs span,
.single-product .pis-single-breadcrumb a,
.single-product .pis-single-breadcrumb span,
.pis-context-path .pis-breadcrumbs a,
.pis-context-path .pis-breadcrumbs span,
.pis-context-path .pis-context-breadcrumb a,
.pis-context-path .pis-context-breadcrumb span{
  color:#9aa0a8;
  font-weight:700;
}

.pis-archive-hero .pis-breadcrumbs .delimiter,
.single-product .pis-breadcrumb-delimiter,
.pis-context-path .pis-breadcrumbs .delimiter,
.pis-context-path .pis-context-breadcrumb .delimiter{
  color:#b2b7bf;
  margin:0 2px;
  font-weight:600;
}

/* Shop archive/category: keep only breadcrumb row (same height as single product) */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-archive-hero .woocommerce-products-header{
  display:none !important;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-archive-hero{
  padding-bottom:0 !important;
  margin-bottom:10px !important;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-archive-hero .pis-breadcrumbs{
  margin-bottom:12px !important;
  padding-top:16px !important;
  padding-bottom:12px !important;
  border-top:1px solid #dfe3ea !important;
  border-bottom:1px solid #dfe3ea !important;
}

.pis-context-path{
  margin:0 0 12px;
}

.pis-context-path .pis-breadcrumbs{
  margin:0;
  padding-top:16px;
  padding-bottom:12px;
  border-top:1px solid #dfe3ea;
  border-bottom:1px solid #dfe3ea;
}

/* Final unify: cart/wishlist/category/single breadcrumb spacing + hide cart big title */
:is(
  .single-product div.product > .pis-single-breadcrumb-wrap,
  body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-archive-hero .pis-breadcrumbs,
  .pis-context-path .pis-breadcrumbs
){
  padding-top:20px !important;
  padding-bottom:16px !important;
}

:is(
  .single-product div.product > .pis-single-breadcrumb-wrap,
  body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-archive-hero .pis-breadcrumbs
){
  margin-bottom:14px !important;
}

.pis-context-path{
  margin:0 0 14px;
}

.woocommerce-cart .entry-title,
.woocommerce-cart h1.page-title{
  display:none !important;
}

/* Cart: force identical breadcrumb block with clear lines and bigger spacing */
.woocommerce-cart .pis-context-path{
  margin:0 0 18px !important;
}

.woocommerce-cart .pis-context-path .pis-breadcrumbs{
  display:block;
  margin:0 !important;
  padding-top:22px !important;
  padding-bottom:18px !important;
  border-top:1px solid #dfe3ea !important;
  border-bottom:1px solid #dfe3ea !important;
}

.woocommerce-cart .pis-context-path .pis-context-breadcrumb{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

/* Absolute final override: context breadcrumb block for cart/wishlist */
.pis-context-path.pis-context-path--cart,
.pis-context-path.pis-context-path--liked{
  margin:0 0 18px !important;
}

.pis-context-path.pis-context-path--cart .pis-breadcrumbs,
.pis-context-path.pis-context-path--liked .pis-breadcrumbs{
  display:block !important;
  margin:0 !important;
  padding-top:22px !important;
  padding-bottom:18px !important;
  border-top:1px solid #dfe3ea !important;
  border-bottom:1px solid #dfe3ea !important;
}

.pis-context-path.pis-context-path--cart .pis-context-breadcrumb,
.pis-context-path.pis-context-path--liked .pis-context-breadcrumb{
  display:flex !important;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

/* Cart page (page.php hero): force same breadcrumb block look as "Обране" */
.woocommerce-cart .pis-archive-hero.pis-cart-hero{
  padding:0 !important;
  margin-bottom:14px !important;
}

.woocommerce-cart .pis-archive-hero.pis-cart-hero .woocommerce-products-header{
  display:none !important;
}

.woocommerce-cart .pis-archive-hero.pis-cart-hero .pis-breadcrumbs{
  margin:0 0 14px !important;
  padding-top:22px !important;
  padding-bottom:18px !important;
  border-top:1px solid #dfe3ea !important;
  border-bottom:1px solid #dfe3ea !important;
  font-size:13px !important;
  line-height:1 !important;
  text-transform:uppercase;
  letter-spacing:.02em;
}

/* Account page (page.php hero): hide large title, keep breadcrumbs */
.woocommerce-account .pis-archive-hero.pis-account-hero{
  padding:0 !important;
  margin-bottom:14px !important;
}

.woocommerce-account .pis-archive-hero.pis-account-hero .woocommerce-products-header{
  display:none !important;
}

.woocommerce-account .pis-archive-hero.pis-account-hero .pis-breadcrumbs{
  margin:0 0 14px !important;
  padding-top:22px !important;
  padding-bottom:18px !important;
  border-top:1px solid #dfe3ea !important;
  border-bottom:1px solid #dfe3ea !important;
  font-size:13px !important;
  line-height:1 !important;
  text-transform:uppercase;
  letter-spacing:.02em;
}

/* Cart: highlight checkout action as primary dark button */
.woocommerce-cart .cart_totals .wc-proceed-to-checkout{
  margin-top:16px;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.button,
.woocommerce-cart .cart_totals .wc-proceed-to-checkout .button,
.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button,
.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button{
  width:100%;
  min-height:54px;
  display:flex !important;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:linear-gradient(90deg, #1f2733 0%, #243042 100%) !important;
  color:#fff !important;
  text-decoration:none !important;
  text-transform:uppercase;
  font-size:15px;
  font-weight:700;
  letter-spacing:.01em;
  line-height:1;
  box-shadow:none !important;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.button:hover,
.woocommerce-cart .cart_totals .wc-proceed-to-checkout .button:hover,
.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button:hover{
  background:linear-gradient(90deg, #19212d 0%, #1f2939 100%) !important;
  color:#fff !important;
}

/* Checkout: unified look with product card controls */
.woocommerce-checkout .entry-title{
  margin:0 0 16px;
  color:var(--text);
  font-size:clamp(38px, 3.8vw, 52px);
  line-height:1.08;
  font-weight:800;
}

.woocommerce-checkout .wc-block-checkout{
  margin-top:6px;
}

.woocommerce-checkout .wc-block-checkout__main{
  padding-right:28px;
}

.woocommerce-checkout .wc-block-components-sidebar{
  border:1px solid #dde0e8;
  background:#edf0f5;
  padding:0;
}

.woocommerce-checkout .wc-block-components-order-summary{
  border:0;
  background:transparent;
}

.woocommerce-checkout .wc-block-components-checkout-step{
  margin-bottom:18px;
  padding-bottom:8px;
  border-bottom:1px solid #dfe3ea;
}

.woocommerce-checkout .wc-block-components-checkout-step:last-child{
  border-bottom:0;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading,
.woocommerce-checkout .wc-block-components-title{
  color:#232a36;
  font-size:34px;
  line-height:1.12;
  font-weight:800;
  margin-bottom:14px;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-text-input select,
.woocommerce-checkout .wc-block-components-combobox-control .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-combobox-control .components-text-control__input,
.woocommerce-checkout .wc-block-components-address-form__address_2-toggle{
  min-height:54px;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  color:#1f2733 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input{
  border-radius:0 !important;
}

.woocommerce-checkout .wc-block-components-radio-control__option{
  border:1px solid #d7dde6;
  border-radius:0 !important;
  background:#f1f3f7;
  padding:12px 14px;
}

.woocommerce-checkout .wc-block-components-notice-banner{
  border-radius:0 !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .wc-block-components-button:not(.wc-block-components-quantity-selector__button){
  width:100%;
  min-height:54px;
  border:0 !important;
  border-radius:0 !important;
  background:linear-gradient(90deg, #1f2733 0%, #243042 100%) !important;
  color:#fff !important;
  text-transform:uppercase;
  letter-spacing:.01em;
  font-size:15px;
  font-weight:700;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout .wc-block-components-button:not(.wc-block-components-quantity-selector__button):hover{
  background:linear-gradient(90deg, #19212d 0%, #1f2939 100%) !important;
  color:#fff !important;
}

@media (max-width: 980px){
  .woocommerce-checkout .wc-block-checkout__main{
    padding-right:0;
  }

  .woocommerce-checkout .wc-block-components-checkout-step__heading,
  .woocommerce-checkout .wc-block-components-title{
    font-size:30px;
  }
}

/* Checkout: align with shop design system (blocks + classic fallback) */
.woocommerce-checkout .pis-archive-hero.pis-checkout-hero{
  padding:0 !important;
  margin-bottom:14px !important;
}

.woocommerce-checkout .pis-archive-hero.pis-checkout-hero .woocommerce-products-header{
  display:none !important;
}

.woocommerce-checkout .pis-archive-hero.pis-checkout-hero .pis-breadcrumbs{
  margin:0 0 14px !important;
  padding-top:22px !important;
  padding-bottom:18px !important;
  border-top:1px solid #dfe3ea !important;
  border-bottom:1px solid #dfe3ea !important;
  font-size:13px !important;
  line-height:1 !important;
  text-transform:uppercase;
  letter-spacing:.02em;
}

.woocommerce-checkout .wc-block-components-sidebar-layout{
  column-gap:clamp(22px, 2.6vw, 42px);
}

.woocommerce-checkout .wc-block-checkout{
  margin-top:0 !important;
}

.woocommerce-checkout .wc-block-checkout__main,
.woocommerce-checkout .wc-block-components-main{
  padding-right:0 !important;
}

.woocommerce-checkout .wc-block-checkout__sidebar,
.woocommerce-checkout .wc-block-components-sidebar,
.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#edf0f5 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-order-summary,
.woocommerce-checkout .wc-block-components-order-summary__content,
.woocommerce-checkout .wc-block-components-totals-wrapper{
  border-radius:0 !important;
  background:transparent !important;
}

.woocommerce-checkout .wc-block-components-checkout-step{
  margin-bottom:26px !important;
  padding-bottom:14px !important;
  border-bottom:1px solid #dfe3ea !important;
}

.woocommerce-checkout .wc-block-components-checkout-step:last-child{
  margin-bottom:0 !important;
  border-bottom:0 !important;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading,
.woocommerce-checkout .wc-block-components-title{
  margin:0 0 16px !important;
  color:#1f2733 !important;
  font-size:clamp(28px, 2.4vw, 36px) !important;
  line-height:1.14 !important;
  font-weight:800 !important;
  letter-spacing:-0.01em !important;
}

.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input select,
.woocommerce-checkout .wc-block-components-form .wc-block-components-select select,
.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea textarea,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-text-control__input,
.woocommerce-checkout .wc-block-components-address-form__address_2-toggle,
.woocommerce-checkout form.woocommerce-checkout input.input-text,
.woocommerce-checkout form.woocommerce-checkout select,
.woocommerce-checkout form.woocommerce-checkout textarea{
  min-height:54px !important;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  color:#1f2733 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea textarea,
.woocommerce-checkout form.woocommerce-checkout textarea{
  min-height:124px !important;
}

.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input select:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-select select:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea textarea:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-combobox-control__input:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-text-control__input:focus,
.woocommerce-checkout form.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout form.woocommerce-checkout select:focus,
.woocommerce-checkout form.woocommerce-checkout textarea:focus{
  border-color:#c9a74d !important;
  outline:none !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input,
.woocommerce-checkout form.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout form.woocommerce-checkout input[type="radio"]{
  border-radius:0 !important;
}

.woocommerce-checkout .wc-block-components-radio-control__option{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-panel,
.woocommerce-checkout .wc-block-components-notice-banner,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message{
  border-radius:0 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .wc-block-components-button:not(.wc-block-components-quantity-selector__button),
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout .place-order .button.alt{
  width:100% !important;
  min-height:54px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 18px !important;
  border:0 !important;
  border-radius:0 !important;
  background:linear-gradient(90deg, #1f2733 0%, #243042 100%) !important;
  color:#fff !important;
  text-transform:uppercase !important;
  letter-spacing:.01em !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout .wc-block-components-button:not(.wc-block-components-quantity-selector__button):hover,
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout .place-order .button.alt:hover{
  background:linear-gradient(90deg, #19212d 0%, #1f2939 100%) !important;
  color:#fff !important;
}

.woocommerce-checkout .wc-block-components-totals-item,
.woocommerce-checkout .wc-block-components-order-summary-item{
  padding-top:10px;
  padding-bottom:10px;
}

.woocommerce-checkout .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-order-summary-item__description,
.woocommerce-checkout .wc-block-components-product-name,
.woocommerce-checkout form.woocommerce-checkout label{
  color:#2f3641;
}

.woocommerce-checkout .wc-block-components-totals-item__value,
.woocommerce-checkout .wc-block-components-formatted-money-amount{
  color:#1f2733;
  font-weight:700;
}

.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button{
  color:#2a3341 !important;
}

.woocommerce-checkout form.woocommerce-checkout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(300px, 360px);
  gap:clamp(22px, 2.6vw, 42px);
}

.woocommerce-checkout form.woocommerce-checkout #customer_details,
.woocommerce-checkout form.woocommerce-checkout #order_review,
.woocommerce-checkout form.woocommerce-checkout .col2-set,
.woocommerce-checkout form.woocommerce-checkout .woocommerce-checkout-review-order{
  float:none !important;
  width:auto !important;
}

.woocommerce-checkout form.woocommerce-checkout #order_review{
  border:1px solid #d7dde6;
  border-radius:0;
  background:#edf0f5;
  padding:14px;
}

.woocommerce-checkout form.woocommerce-checkout .shop_table,
.woocommerce-checkout form.woocommerce-checkout .shop_table th,
.woocommerce-checkout form.woocommerce-checkout .shop_table td{
  border-color:#d7dde6;
}

@media (max-width: 980px){
  .woocommerce-checkout .pis-archive-hero.pis-checkout-hero{
    margin-bottom:14px !important;
  }

  .woocommerce-checkout .wc-block-components-checkout-step__heading,
  .woocommerce-checkout .wc-block-components-title{
    font-size:clamp(24px, 8vw, 32px) !important;
  }

  .woocommerce-checkout form.woocommerce-checkout{
    grid-template-columns:1fr;
    gap:20px;
  }
}

/* Checkout form controls: match single-product review form visual style */
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-form .wc-block-components-select label,
.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea label,
.woocommerce-checkout form.woocommerce-checkout label{
  display:block;
  margin:0 0 6px;
  font-size:14px;
  color:#4b5563;
  font-weight:400;
}

.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input select,
.woocommerce-checkout .wc-block-components-form .wc-block-components-select select,
.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea textarea,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-text-control__input,
.woocommerce-checkout .wc-block-components-address-form__address_2-toggle,
.woocommerce-checkout form.woocommerce-checkout input.input-text,
.woocommerce-checkout form.woocommerce-checkout select,
.woocommerce-checkout form.woocommerce-checkout textarea{
  min-height:52px !important;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  color:#1f2937 !important;
  font-size:15px !important;
  line-height:1.35;
  padding:12px 14px !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea textarea,
.woocommerce-checkout form.woocommerce-checkout textarea{
  min-height:140px !important;
  resize:vertical;
}

.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input select:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-select select:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea textarea:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-combobox-control__input:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-text-control__input:focus,
.woocommerce-checkout form.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout form.woocommerce-checkout select:focus,
.woocommerce-checkout form.woocommerce-checkout textarea:focus{
  box-shadow:inset 0 0 0 1px #c9a74d !important;
  outline:none !important;
}

.woocommerce-checkout .wc-block-components-checkbox,
.woocommerce-checkout form.woocommerce-checkout .woocommerce-form__label-for-checkbox{
  display:flex;
  align-items:center;
  gap:8px;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.woocommerce-checkout form.woocommerce-checkout input[type="checkbox"]{
  width:16px;
  height:16px;
  border:1px solid #b8bfca !important;
  border-radius:2px !important;
  background:#fff !important;
}

.woocommerce-checkout .wc-block-components-radio-control__option{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
}

/* Checkout blocks: keep order summary in right sidebar on desktop */
.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 360px) !important;
  column-gap:clamp(22px, 2.6vw, 42px) !important;
  align-items:start !important;
}

.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main,
.woocommerce-checkout .wc-block-checkout .wc-block-components-main{
  grid-column:1 !important;
  min-width:0 !important;
  width:auto !important;
}

.woocommerce-checkout .wc-block-checkout .wc-block-checkout__sidebar,
.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar{
  grid-column:2 !important;
  min-width:0 !important;
  width:auto !important;
  align-self:start !important;
  position:sticky;
  top:calc(var(--adminbar, 0px) + 20px);
}

@media (max-width: 980px){
  .woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{
    display:block !important;
  }

  .woocommerce-checkout .wc-block-checkout .wc-block-checkout__sidebar,
  .woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar{
    position:static;
    top:auto;
    margin-top:18px;
  }
}

/* Checkout: final flat controls (no rounding) + unified dropdowns + fixed checkbox/radio */
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input select,
.woocommerce-checkout .wc-block-components-form .wc-block-components-select select,
.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea textarea,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-text-control__input,
.woocommerce-checkout .wc-block-components-address-form__address_2-toggle,
.woocommerce-checkout form.woocommerce-checkout input.input-text,
.woocommerce-checkout form.woocommerce-checkout select,
.woocommerce-checkout form.woocommerce-checkout textarea,
.woocommerce-checkout form.woocommerce-checkout .select2-container .select2-selection{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input select,
.woocommerce-checkout .wc-block-components-form .wc-block-components-select select,
.woocommerce-checkout form.woocommerce-checkout select{
  min-height:52px !important;
  padding-right:40px !important;
  color:#1f2733 !important;
}

.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox-control .components-base-control__field,
.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container,
.woocommerce-checkout .wc-block-components-country-input,
.woocommerce-checkout .wc-block-components-country-input .wc-block-components-text-input{
  border-radius:0 !important;
}

.woocommerce-checkout .wc-block-components-radio-control__option{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.woocommerce-checkout form.woocommerce-checkout input[type="checkbox"]{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  border:1px solid #9ea7b5 !important;
  border-radius:2px !important;
  background:#fff !important;
  display:inline-grid !important;
  place-content:center !important;
  vertical-align:middle !important;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]::before,
.woocommerce-checkout form.woocommerce-checkout input[type="checkbox"]::before{
  content:"" !important;
  width:8px;
  height:8px;
  transform:scale(0);
  transition:transform .12s ease;
  background:#1f2733;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked::before,
.woocommerce-checkout form.woocommerce-checkout input[type="checkbox"]:checked::before{
  transform:scale(1);
}

.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input,
.woocommerce-checkout form.woocommerce-checkout input[type="radio"]{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  border:1px solid #9ea7b5 !important;
  border-radius:50% !important;
  background:#fff !important;
  display:inline-grid !important;
  place-content:center !important;
  vertical-align:middle !important;
}

.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input::before,
.woocommerce-checkout form.woocommerce-checkout input[type="radio"]::before{
  content:"" !important;
  width:8px;
  height:8px;
  border-radius:50%;
  transform:scale(0);
  transition:transform .12s ease;
  background:#1f2733;
}

.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input:checked::before,
.woocommerce-checkout form.woocommerce-checkout input[type="radio"]:checked::before{
  transform:scale(1);
}

/* Checkout country/state comboboxes: force same flat gray style */
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control,
.woocommerce-checkout .wc-block-components-address-form .components-input-control,
.woocommerce-checkout .wc-block-components-address-form .components-input-control__container,
.woocommerce-checkout .wc-block-components-address-form .components-base-control__field{
  border-radius:0 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-input-control__container,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-input-control__container,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control .components-input-control__container,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control .components-base-control__field{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control .components-text-control__input{
  min-height:52px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  color:#1f2733 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control:focus-within,
.woocommerce-checkout .wc-block-components-address-form .components-input-control:focus-within,
.woocommerce-checkout .wc-block-components-address-form .components-input-control__container:focus-within{
  border-color:#d7dde6 !important;
  box-shadow:inset 0 0 0 1px #c9a74d !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .wc-block-components-combobox-control__button,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .wc-block-components-combobox-control__button,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input button[aria-haspopup="listbox"],
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input button[aria-haspopup="listbox"]{
  min-height:52px !important;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  color:#1f2733 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .wc-block-components-combobox-control__button:focus,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .wc-block-components-combobox-control__button:focus,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input button[aria-haspopup="listbox"]:focus,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input button[aria-haspopup="listbox"]:focus{
  outline:none !important;
  border-color:#d7dde6 !important;
  box-shadow:inset 0 0 0 1px #c9a74d !important;
}

/* Woo blocks InputControl fallback: border/shape is painted via backdrop layer */
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-input-control,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-input-control{
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-input-control__container,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-input-control__container{
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-input-control__backdrop,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-input-control__backdrop{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
  outline:0 !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-input-control__input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-input-control__input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-combobox-control__input{
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#1f2733 !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-input-control__label,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-input-control__label{
  color:#4b5563 !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input:focus-within .components-input-control__backdrop,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input:focus-within .components-input-control__backdrop{
  border-color:#c9a74d !important;
  box-shadow:inset 0 0 0 1px #c9a74d !important;
}

/* Hard override: all WP Components controls inside checkout must be flat gray */
.woocommerce-checkout .components-input-control,
.woocommerce-checkout .components-input-control__container,
.woocommerce-checkout .components-base-control__field,
.woocommerce-checkout .components-combobox-control,
.woocommerce-checkout .components-combobox-control__button{
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .components-input-control__backdrop{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
  outline:0 !important;
}

.woocommerce-checkout .components-input-control__input,
.woocommerce-checkout .components-combobox-control__input,
.woocommerce-checkout .components-text-control__input{
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#1f2733 !important;
  box-shadow:none !important;
}

.woocommerce-checkout .components-input-control__label{
  color:#4b5563 !important;
}

.woocommerce-checkout .components-input-control:focus-within .components-input-control__backdrop,
.woocommerce-checkout .components-combobox-control:focus-within .components-input-control__backdrop{
  border-color:#c9a74d !important;
  box-shadow:inset 0 0 0 1px #c9a74d !important;
}

/* Checkout: restore stable checkbox/radio visuals */
.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.woocommerce-checkout form.woocommerce-checkout input[type="checkbox"]{
  -webkit-appearance:auto !important;
  appearance:auto !important;
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  border:1px solid #9ea7b5 !important;
  border-radius:2px !important;
  background:#fff !important;
  background-color:#fff !important;
  box-shadow:none !important;
  accent-color:#1f2733 !important;
  display:inline-block !important;
  vertical-align:middle !important;
}

.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input,
.woocommerce-checkout form.woocommerce-checkout input[type="radio"]{
  -webkit-appearance:auto !important;
  appearance:auto !important;
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  border:1px solid #9ea7b5 !important;
  border-radius:50% !important;
  background:#fff !important;
  background-color:#fff !important;
  box-shadow:none !important;
  accent-color:#1f2733 !important;
  display:inline-block !important;
  vertical-align:middle !important;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]::before,
.woocommerce-checkout form.woocommerce-checkout input[type="checkbox"]::before,
.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input::before,
.woocommerce-checkout form.woocommerce-checkout input[type="radio"]::before{
  content:none !important;
  display:none !important;
}

.woocommerce-checkout .wc-block-components-checkbox,
.woocommerce-checkout form.woocommerce-checkout .woocommerce-form__label-for-checkbox{
  display:flex;
  align-items:center;
  gap:10px;
}

.woocommerce-checkout .wc-block-components-radio-control__option{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

/* Checkout: stable country/state dropdown visuals (single border layer) */
.woocommerce-checkout .wc-block-components-country-input,
.woocommerce-checkout .wc-block-components-state-input{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
  min-height:52px !important;
  overflow:hidden !important;
}

.woocommerce-checkout .wc-block-components-country-input{
  margin-top:12px !important;
}

.woocommerce-checkout .wc-block-components-country-input *,
.woocommerce-checkout .wc-block-components-state-input *{
  border-radius:0 !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
}

.woocommerce-checkout .wc-block-components-country-input::before,
.woocommerce-checkout .wc-block-components-country-input::after,
.woocommerce-checkout .wc-block-components-state-input::before,
.woocommerce-checkout .wc-block-components-state-input::after,
.woocommerce-checkout .wc-block-components-country-input .components-base-control__field::before,
.woocommerce-checkout .wc-block-components-country-input .components-base-control__field::after,
.woocommerce-checkout .wc-block-components-state-input .components-base-control__field::before,
.woocommerce-checkout .wc-block-components-state-input .components-base-control__field::after,
.woocommerce-checkout .wc-block-components-country-input .components-input-control__container::before,
.woocommerce-checkout .wc-block-components-country-input .components-input-control__container::after,
.woocommerce-checkout .wc-block-components-state-input .components-input-control__container::before,
.woocommerce-checkout .wc-block-components-state-input .components-input-control__container::after{
  content:none !important;
  display:none !important;
}

.woocommerce-checkout .wc-block-components-country-input .components-input-control,
.woocommerce-checkout .wc-block-components-country-input .components-input-control__container,
.woocommerce-checkout .wc-block-components-country-input .components-base-control__field,
.woocommerce-checkout .wc-block-components-country-input .components-combobox-control,
.woocommerce-checkout .wc-block-components-state-input .components-input-control,
.woocommerce-checkout .wc-block-components-state-input .components-input-control__container,
.woocommerce-checkout .wc-block-components-state-input .components-base-control__field,
.woocommerce-checkout .wc-block-components-state-input .components-combobox-control{
  border:0 !important;
  background:transparent !important;
  margin:0 !important;
  padding:0 !important;
  min-height:52px !important;
}

.woocommerce-checkout .wc-block-components-country-input .components-input-control__backdrop,
.woocommerce-checkout .wc-block-components-state-input .components-input-control__backdrop{
  border:0 !important;
  background:transparent !important;
}

.woocommerce-checkout .wc-block-components-country-input .components-combobox-control__button,
.woocommerce-checkout .wc-block-components-country-input button[aria-haspopup="listbox"],
.woocommerce-checkout .wc-block-components-country-input [role="combobox"],
.woocommerce-checkout .wc-block-components-country-input select,
.woocommerce-checkout .wc-block-components-state-input .components-combobox-control__button,
.woocommerce-checkout .wc-block-components-state-input button[aria-haspopup="listbox"],
.woocommerce-checkout .wc-block-components-state-input [role="combobox"],
.woocommerce-checkout .wc-block-components-state-input select{
  border:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  color:#1f2733 !important;
  min-height:52px !important;
}

/* Checkout emergency fix: state/country dropdown must never become white/dark */
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-input-control__backdrop,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-input-control__backdrop{
  display:none !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-combobox-control__button,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input button[aria-haspopup="listbox"],
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input [role="combobox"],
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input select,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-combobox-control__button,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input button[aria-haspopup="listbox"],
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input [role="combobox"],
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input select{
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  color:#1f2733 !important;
  box-shadow:none !important;
  outline:0 !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-combobox-control__button:hover,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-combobox-control__button:focus,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-combobox-control__button:focus-visible,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input .components-combobox-control__button:active,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input button[aria-haspopup="listbox"]:hover,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input button[aria-haspopup="listbox"]:focus,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input button[aria-haspopup="listbox"]:focus-visible,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input button[aria-haspopup="listbox"]:active,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-combobox-control__button:hover,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-combobox-control__button:focus,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-combobox-control__button:focus-visible,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input .components-combobox-control__button:active,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input button[aria-haspopup="listbox"]:hover,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input button[aria-haspopup="listbox"]:focus,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input button[aria-haspopup="listbox"]:focus-visible,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input button[aria-haspopup="listbox"]:active{
  border-color:#d7dde6 !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  box-shadow:none !important;
  outline:0 !important;
}

/* Classic checkout: stable two-column layout + full-width fields */
.woocommerce-checkout form.checkout{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 420px) !important;
  column-gap:clamp(24px, 3vw, 48px) !important;
  row-gap:18px !important;
  align-items:start !important;
}

.woocommerce-checkout form.checkout #customer_details{
  grid-column:1 !important;
  margin:0 !important;
  float:none !important;
  width:auto !important;
}

.woocommerce-checkout form.checkout #order_review_heading{
  grid-column:2 !important;
  margin:0 !important;
  padding:0 0 10px !important;
  color:#1f2733 !important;
  font-size:32px !important;
  line-height:1.12 !important;
  font-weight:800 !important;
}

.woocommerce-checkout form.checkout #order_review{
  grid-column:2 !important;
  margin:0 !important;
  float:none !important;
  width:auto !important;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#edf0f5 !important;
  box-shadow:none !important;
  padding:16px !important;
  position:sticky;
  top:calc(var(--adminbar, 0px) + 20px);
}

.woocommerce-checkout form.checkout .col2-set{
  margin:0 !important;
  width:100% !important;
  float:none !important;
  display:block !important;
}

.woocommerce-checkout form.checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-2{
  float:none !important;
  width:100% !important;
  max-width:none !important;
  margin:0 0 16px !important;
}

.woocommerce-checkout form.checkout .form-row{
  width:100% !important;
  float:none !important;
  clear:both !important;
  margin:0 0 14px !important;
}

.woocommerce-checkout form.checkout .form-row-first,
.woocommerce-checkout form.checkout .form-row-last{
  width:calc(50% - 8px) !important;
  clear:none !important;
}

.woocommerce-checkout form.checkout .form-row-first{
  float:left !important;
  margin-right:16px !important;
}

.woocommerce-checkout form.checkout .form-row-last{
  float:right !important;
  margin-right:0 !important;
}

.woocommerce-checkout form.checkout input.input-text,
.woocommerce-checkout form.checkout select,
.woocommerce-checkout form.checkout textarea{
  width:100% !important;
  min-height:52px !important;
  padding:12px 14px !important;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  color:#1f2733 !important;
  box-shadow:none !important;
  outline:none !important;
}

.woocommerce-checkout form.checkout textarea{
  min-height:120px !important;
  resize:vertical !important;
}

.woocommerce-checkout form.checkout select{
  padding-right:40px !important;
}

.woocommerce-checkout form.checkout input.input-text:focus,
.woocommerce-checkout form.checkout select:focus,
.woocommerce-checkout form.checkout textarea:focus{
  border-color:#c9a74d !important;
  box-shadow:inset 0 0 0 1px #c9a74d !important;
}

.woocommerce-checkout form.checkout .select2-container{
  width:100% !important;
}

.woocommerce-checkout form.checkout .select2-container .select2-selection--single{
  height:52px !important;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
}

.woocommerce-checkout form.checkout .select2-container .select2-selection--single .select2-selection__rendered{
  line-height:50px !important;
  color:#1f2733 !important;
  padding-left:14px !important;
  padding-right:40px !important;
}

.woocommerce-checkout form.checkout .select2-container .select2-selection--single .select2-selection__arrow{
  height:50px !important;
  right:10px !important;
}

.woocommerce-checkout form.checkout .woocommerce-form-coupon-toggle .woocommerce-info{
  margin:0 0 14px !important;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#edf0f5 !important;
  color:#2f3641 !important;
}

.woocommerce-checkout form.checkout .woocommerce-form-coupon{
  margin:0 0 18px !important;
  padding:14px !important;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#edf0f5 !important;
}

.woocommerce-checkout form.checkout .woocommerce-form-coupon .form-row{
  margin-bottom:10px !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table{
  margin:0 0 14px !important;
  border-collapse:collapse !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table th,
.woocommerce-checkout form.checkout #order_review .shop_table td{
  padding:10px 0 !important;
  border-bottom:1px solid #d7dde6 !important;
  color:#2f3641 !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table tfoot th,
.woocommerce-checkout form.checkout #order_review .shop_table tfoot td{
  font-weight:700 !important;
  color:#1f2733 !important;
}

.woocommerce-checkout form.checkout #payment{
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  margin:10px 0 0 !important;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods{
  margin:0 0 12px !important;
  padding:12px !important;
  border:1px solid #d7dde6 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods li{
  margin:0 0 8px !important;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods li:last-child{
  margin-bottom:0 !important;
}

.woocommerce-checkout form.checkout #payment div.payment_box{
  margin:8px 0 0 !important;
  padding:0 !important;
  background:transparent !important;
  color:#4b5563 !important;
}

.woocommerce-checkout form.checkout input[type="checkbox"],
.woocommerce-checkout form.checkout input[type="radio"]{
  width:16px !important;
  height:16px !important;
  margin:0 8px 0 0 !important;
  vertical-align:middle !important;
}

@media (max-width: 980px){
  .woocommerce-checkout form.checkout{
    grid-template-columns:1fr !important;
    row-gap:18px !important;
  }

  .woocommerce-checkout form.checkout #order_review_heading,
  .woocommerce-checkout form.checkout #order_review{
    grid-column:1 !important;
  }

  .woocommerce-checkout form.checkout #order_review{
    position:static !important;
    top:auto !important;
  }
}

@media (max-width: 680px){
  .woocommerce-checkout form.checkout .form-row-first,
  .woocommerce-checkout form.checkout .form-row-last{
    width:100% !important;
    float:none !important;
    margin-right:0 !important;
  }
}

/* Classic checkout: marketplace card style */
.woocommerce-checkout{
  background:#eef1f5;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout #customer_details{
  background:#fff;
  border:1px solid #dfe4ec;
  border-radius:8px;
  padding:18px 20px;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle{
  margin:0 0 14px !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#2e3440 !important;
}

.woocommerce-checkout form.checkout #order_review_heading{
  margin:0 0 8px !important;
  padding:0 !important;
  font-size:30px !important;
}

.woocommerce-checkout form.checkout #order_review{
  border:1px solid #dfe4ec !important;
  border-radius:8px !important;
  background:#fff !important;
  padding:16px !important;
}

.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields > h3,
.woocommerce-checkout form.checkout #customer_details .woocommerce-shipping-fields > h3,
.woocommerce-checkout form.checkout #customer_details .woocommerce-additional-fields > h3{
  margin:0 0 14px !important;
  font-size:34px !important;
  line-height:1.1 !important;
  color:#1f2733 !important;
  font-weight:800 !important;
  letter-spacing:-0.01em;
}

.woocommerce-checkout form.checkout #customer_details label{
  font-size:13px !important;
  color:#616a78 !important;
  margin:0 0 6px !important;
}

.woocommerce-checkout form.checkout #customer_details .woocommerce-input-wrapper{
  display:block !important;
  width:100% !important;
}

.woocommerce-checkout form.checkout #customer_details .woocommerce-input-wrapper > input,
.woocommerce-checkout form.checkout #customer_details .woocommerce-input-wrapper > select,
.woocommerce-checkout form.checkout #customer_details .woocommerce-input-wrapper > textarea{
  width:100% !important;
}

.woocommerce-checkout form.checkout input.input-text,
.woocommerce-checkout form.checkout select,
.woocommerce-checkout form.checkout textarea,
.woocommerce-checkout form.checkout .select2-container .select2-selection--single{
  border:1px solid #d5dbe5 !important;
  border-radius:6px !important;
  background:#fff !important;
  min-height:48px !important;
  color:#212a36 !important;
}

.woocommerce-checkout form.checkout textarea{
  min-height:110px !important;
}

.woocommerce-checkout form.checkout .select2-container .select2-selection--single .select2-selection__rendered{
  line-height:46px !important;
}

.woocommerce-checkout form.checkout #customer_details .form-row{
  margin:0 0 12px !important;
}

.woocommerce-checkout form.checkout #customer_details .form-row-last,
.woocommerce-checkout form.checkout #customer_details .form-row-first{
  margin-bottom:12px !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table{
  margin-bottom:10px !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table th{
  font-size:13px !important;
  color:#5c6675 !important;
  font-weight:600 !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table td{
  font-size:14px !important;
  color:#242d3a !important;
}

.woocommerce-checkout form.checkout #order_review .order-total th,
.woocommerce-checkout form.checkout #order_review .order-total td{
  font-size:30px !important;
  color:#1f2733 !important;
  font-weight:800 !important;
  border-bottom:0 !important;
  padding-top:12px !important;
}

.woocommerce-checkout form.checkout #payment{
  margin-top:12px !important;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods{
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  padding:0 !important;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods > li{
  border:1px solid #d5dbe5;
  border-radius:6px;
  background:#fff;
  padding:10px 12px !important;
  margin-bottom:8px !important;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods > li:has(input[type="radio"]:checked){
  border-color:#14a84a;
  box-shadow:inset 0 0 0 1px #14a84a;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods label{
  font-size:14px !important;
  color:#2c3440 !important;
}

.woocommerce-checkout form.checkout #payment #place_order,
.woocommerce-checkout form.checkout .place-order .button.alt{
  border-radius:6px !important;
  background:#10a548 !important;
  background-image:none !important;
  min-height:50px !important;
  font-size:16px !important;
  font-weight:700 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}

.woocommerce-checkout form.checkout #payment #place_order:hover,
.woocommerce-checkout form.checkout .place-order .button.alt:hover{
  background:#0d963f !important;
}

.woocommerce-checkout form.checkout .woocommerce-terms-and-conditions-wrapper{
  margin-top:12px;
  color:#697385;
  font-size:12px;
  line-height:1.45;
}

/* Classic checkout: keep right summary block pinned to top under heading */
.woocommerce-checkout form.checkout{
  align-items:start !important;
}

.woocommerce-checkout form.checkout #customer_details{
  grid-column:1 !important;
  grid-row:1 !important;
}

.woocommerce-checkout form.checkout #order_review_heading{
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:start !important;
  margin:0 !important;
  padding:0 0 10px !important;
  line-height:1.12 !important;
}

.woocommerce-checkout form.checkout #order_review{
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:start !important;
  margin-top:54px !important;
}

@media (max-width: 980px){
.woocommerce-checkout form.checkout #order_review_heading,
.woocommerce-checkout form.checkout #order_review{
  grid-column:1 !important;
  grid-row:auto !important;
  margin-top:0 !important;
}
}

/* Classic checkout: single-column redesign (reference style) */
.woocommerce-checkout form.checkout{
  display:flex !important;
  flex-direction:column !important;
  gap:18px !important;
  max-width:760px !important;
  margin:0 auto !important;
}

.woocommerce-checkout form.checkout #order_review_heading{
  order:1 !important;
  margin:0 !important;
  padding:0 !important;
  font-size:52px !important;
  line-height:1.02 !important;
  font-weight:800 !important;
  color:#0f1724 !important;
  letter-spacing:-0.02em !important;
}

.woocommerce-checkout form.checkout #order_review{
  order:2 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  position:static !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table{
  width:100% !important;
  margin:0 !important;
  border:0 !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  background:transparent !important;
}

.woocommerce-checkout form.checkout #order_review .cart_item{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px 18px;
  align-items:start;
  margin:0 0 20px !important;
  padding:14px !important;
  border:1px solid #cfd6e1 !important;
  border-radius:8px !important;
  background:#fff !important;
}

.woocommerce-checkout form.checkout #order_review .cart_item th,
.woocommerce-checkout form.checkout #order_review .cart_item td{
  border:0 !important;
  padding:0 !important;
}

.woocommerce-checkout form.checkout #order_review .woocommerce-shipping-totals th,
.woocommerce-checkout form.checkout #order_review .woocommerce-shipping-totals td{
  display:block !important;
  width:100% !important;
  border:0 !important;
  padding:0 !important;
}

.woocommerce-checkout form.checkout #order_review .woocommerce-shipping-totals th{
  margin:0 0 10px !important;
  font-size:52px !important;
  line-height:1.02 !important;
  font-weight:800 !important;
  color:#0f1724 !important;
  letter-spacing:-0.02em !important;
}

.woocommerce-checkout form.checkout #order_review #shipping_method{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

.woocommerce-checkout form.checkout #order_review #shipping_method > li{
  margin:0 0 8px !important;
  padding:10px 12px !important;
  border:1px solid #d5dbe5 !important;
  border-radius:8px !important;
  background:#fff !important;
}

.woocommerce-checkout form.checkout #order_review #shipping_method > li:has(input[type="radio"]:checked){
  border-color:#12a24a !important;
  box-shadow:inset 0 0 0 1px #12a24a !important;
}

.woocommerce-checkout form.checkout #order_review #shipping_method input[type="radio"]{
  width:16px !important;
  height:16px !important;
  margin-right:8px !important;
  vertical-align:middle !important;
}

.woocommerce-checkout form.checkout #order_review .cart-subtotal th,
.woocommerce-checkout form.checkout #order_review .cart-subtotal td,
.woocommerce-checkout form.checkout #order_review .order-total th,
.woocommerce-checkout form.checkout #order_review .order-total td{
  border:0 !important;
  padding:8px 0 !important;
}

.woocommerce-checkout form.checkout #order_review .order-total th,
.woocommerce-checkout form.checkout #order_review .order-total td{
  font-size:44px !important;
  line-height:1 !important;
  font-weight:800 !important;
  color:#0f1724 !important;
}

.woocommerce-checkout form.checkout #payment{
  margin-top:16px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

.woocommerce-checkout form.checkout #payment::before{
  content:"Оплата:";
  display:block;
  margin:0 0 12px;
  font-size:52px;
  line-height:1.02;
  font-weight:800;
  color:#0f1724;
  letter-spacing:-0.02em;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods > li{
  margin:0 0 8px !important;
  padding:10px 12px !important;
  border:1px solid #d5dbe5 !important;
  border-radius:8px !important;
  background:#fff !important;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods > li:has(input[type="radio"]:checked){
  border-color:#12a24a !important;
  box-shadow:inset 0 0 0 1px #12a24a !important;
}

.woocommerce-checkout form.checkout #payment .place-order{
  margin-top:14px !important;
}

.woocommerce-checkout form.checkout #payment #place_order,
.woocommerce-checkout form.checkout .place-order .button.alt{
  width:100% !important;
  min-height:56px !important;
  border:0 !important;
  border-radius:8px !important;
  background:#10a548 !important;
  background-image:none !important;
  color:#fff !important;
  font-size:24px !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}

.woocommerce-checkout form.checkout #payment #place_order:hover,
.woocommerce-checkout form.checkout .place-order .button.alt:hover{
  background:#0d963f !important;
}

.woocommerce-checkout form.checkout #customer_details{
  order:3 !important;
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
}

.woocommerce-checkout form.checkout #customer_details .col2-set,
.woocommerce-checkout form.checkout #customer_details .col-1,
.woocommerce-checkout form.checkout #customer_details .col-2{
  width:100% !important;
  max-width:none !important;
  float:none !important;
  margin:0 !important;
}

.woocommerce-checkout form.checkout #customer_details .col-2{
  display:none !important;
}

.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields > h3{
  margin:0 0 12px !important;
  font-size:52px !important;
  line-height:1.02 !important;
  font-weight:800 !important;
  color:#0f1724 !important;
  letter-spacing:-0.02em !important;
}

.woocommerce-checkout form.checkout #customer_details .form-row{
  margin:0 0 10px !important;
}

.woocommerce-checkout form.checkout #customer_details .form-row-first,
.woocommerce-checkout form.checkout #customer_details .form-row-last{
  width:calc(50% - 8px) !important;
}

.woocommerce-checkout form.checkout #customer_details .form-row-first{
  float:left !important;
  margin-right:16px !important;
}

.woocommerce-checkout form.checkout #customer_details .form-row-last{
  float:right !important;
  margin-right:0 !important;
}

.woocommerce-checkout form.checkout #customer_details .woocommerce-input-wrapper{
  display:block !important;
  width:100% !important;
}

.woocommerce-checkout form.checkout #customer_details input.input-text,
.woocommerce-checkout form.checkout #customer_details select,
.woocommerce-checkout form.checkout #customer_details textarea{
  width:100% !important;
  min-height:50px !important;
  border:1px solid #cfd6e1 !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#1d2532 !important;
  box-shadow:none !important;
}

.woocommerce-checkout form.checkout #customer_details textarea{
  min-height:120px !important;
  resize:vertical !important;
}

@media (max-width: 900px){
  .woocommerce-checkout form.checkout{
    max-width:100% !important;
  }

  .woocommerce-checkout form.checkout #order_review_heading,
  .woocommerce-checkout form.checkout #order_review .woocommerce-shipping-totals th,
  .woocommerce-checkout form.checkout #payment::before,
  .woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields > h3{
    font-size:clamp(34px, 10vw, 48px) !important;
  }

  .woocommerce-checkout form.checkout #order_review .order-total th,
  .woocommerce-checkout form.checkout #order_review .order-total td{
    font-size:clamp(28px, 9vw, 42px) !important;
  }

  .woocommerce-checkout form.checkout #customer_details .form-row-first,
  .woocommerce-checkout form.checkout #customer_details .form-row-last{
    width:100% !important;
    float:none !important;
    margin-right:0 !important;
  }
}

/* Classic checkout final: full-width + site colors + cart-like order block */
.woocommerce-checkout form.checkout{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  gap:16px !important;
}

.woocommerce-checkout form.checkout #order_review_heading,
.woocommerce-checkout form.checkout #order_review .woocommerce-shipping-totals th,
.woocommerce-checkout form.checkout #payment::before,
.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields > h3{
  font-size:clamp(30px, 3.4vw, 36px) !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  letter-spacing:-0.01em !important;
  color:#1f2733 !important;
}

.woocommerce-checkout form.checkout #order_review{
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table{
  margin:0 0 14px !important;
  width:100% !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  background:transparent !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table thead th{
  padding:0 0 12px !important;
  border-bottom:1px solid #dfe3ea !important;
  font-size:13px !important;
  font-weight:700 !important;
  text-transform:uppercase !important;
  color:#5a6370 !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table thead th.product-name{
  text-align:left !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table thead th.product-total{
  text-align:right !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table tbody th,
.woocommerce-checkout form.checkout #order_review .shop_table tbody td,
.woocommerce-checkout form.checkout #order_review .shop_table tfoot th,
.woocommerce-checkout form.checkout #order_review .shop_table tfoot td{
  border-bottom:1px solid #dfe3ea !important;
  padding:12px 0 !important;
  font-size:16px !important;
  color:#1f2733 !important;
  background:transparent !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table tbody .product-total,
.woocommerce-checkout form.checkout #order_review .shop_table tfoot td{
  text-align:right !important;
  font-weight:700 !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table .order-total th,
.woocommerce-checkout form.checkout #order_review .shop_table .order-total td{
  border-bottom:0 !important;
  font-size:44px !important;
  line-height:1 !important;
  font-weight:800 !important;
  color:#1f2733 !important;
  padding-top:14px !important;
}

.woocommerce-checkout form.checkout #order_review .shop_table .cart_item{
  display:table-row !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
}

.woocommerce-checkout form.checkout #order_review #shipping_method > li,
.woocommerce-checkout form.checkout #payment ul.payment_methods > li{
  border:1px solid #d7dde6 !important;
  border-radius:6px !important;
  background:#f5f7fa !important;
}

.woocommerce-checkout form.checkout #order_review #shipping_method > li:has(input[type="radio"]:checked),
.woocommerce-checkout form.checkout #payment ul.payment_methods > li:has(input[type="radio"]:checked){
  border-color:#c9a74d !important;
  box-shadow:inset 0 0 0 1px #c9a74d !important;
}

.woocommerce-checkout form.checkout #payment #place_order,
.woocommerce-checkout form.checkout .place-order .button.alt{
  background:linear-gradient(90deg, #1f2733 0%, #243042 100%) !important;
  color:#fff !important;
  border-radius:6px !important;
  text-transform:uppercase !important;
  letter-spacing:.01em !important;
  font-size:15px !important;
  font-weight:700 !important;
  min-height:54px !important;
}

.woocommerce-checkout form.checkout #payment #place_order:hover,
.woocommerce-checkout form.checkout .place-order .button.alt:hover{
  background:linear-gradient(90deg, #19212d 0%, #1f2939 100%) !important;
}

/* Checkout order row: match cart-like visual */
.woocommerce-checkout form.checkout #order_review .shop_table .cart_item .product-name{
  padding-right:20px !important;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__thumb{
  width:74px;
  min-width:74px;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__thumb img{
  width:74px;
  height:74px;
  object-fit:cover;
  border-radius:0;
  display:block;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__meta{
  min-width:0;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__title{
  margin:0 0 4px;
  font-size:26px;
  line-height:1.08;
  font-weight:700;
  color:#1f2733;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__title a{
  color:inherit;
  text-decoration:none;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__price{
  margin:0 0 4px;
  font-size:54px;
  line-height:1;
  font-weight:800;
  color:#1f2733;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__excerpt{
  margin:0 0 8px;
  font-size:13px;
  line-height:1.35;
  color:#5a6370;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__controls{
  display:flex;
  align-items:center;
  gap:10px;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-shell{
  display:inline-flex;
  align-items:center;
  height:32px;
  border:1px solid #cfd6e1;
  border-radius:4px;
  overflow:hidden;
  background:#f5f7fa;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-btn,
.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-value{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  width:34px;
  font-size:18px;
  line-height:1;
  color:#1f2733;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-btn{
  background:#eef1f5;
}

.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__remove{
  color:#1f2733;
  text-decoration:none;
  font-size:18px;
  line-height:1;
}

.woocommerce-checkout form.checkout #order_review .shop_table .cart_item .product-total{
  vertical-align:top !important;
  text-align:right !important;
  white-space:nowrap;
  font-size:42px !important;
  line-height:1 !important;
  font-weight:700 !important;
  color:#1f2733 !important;
}

@media (max-width: 900px){
  .woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__title{
    font-size:22px;
  }

  .woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__price{
    font-size:42px;
  }

  .woocommerce-checkout form.checkout #order_review .shop_table .cart_item .product-total{
    font-size:32px !important;
  }
}

/* Checkout order row final override: match cart-style summary */
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table{
  width:100% !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  table-layout:fixed !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table thead th{
  padding:0 0 14px !important;
  border-bottom:1px solid #cfd6e1 !important;
  font-size:16px !important;
  line-height:1.2 !important;
  font-weight:500 !important;
  text-transform:uppercase !important;
  color:#4d5664 !important;
  letter-spacing:0 !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table thead th.product-name{
  text-align:left !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table thead th.product-total{
  width:190px !important;
  text-align:right !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .cart_item th,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .cart_item td{
  border-bottom:1px solid #cfd6e1 !important;
  vertical-align:top !important;
  padding:16px 0 !important;
  background:transparent !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .cart_item .product-name{
  padding-right:20px !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .cart_item .product-total{
  width:190px !important;
  text-align:right !important;
  white-space:nowrap !important;
  font-size:44px !important;
  line-height:1 !important;
  font-weight:700 !important;
  color:#1f2733 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item{
  display:flex !important;
  align-items:flex-start !important;
  gap:14px !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__thumb{
  width:72px !important;
  min-width:72px !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__thumb img{
  width:72px !important;
  height:72px !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:0 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__meta{
  min-width:0 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__title{
  margin:0 0 4px !important;
  font-size:22px !important;
  line-height:1.14 !important;
  font-weight:500 !important;
  color:#1f2733 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__title a{
  color:inherit !important;
  text-decoration:none !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__price{
  margin:0 0 4px !important;
  font-size:52px !important;
  line-height:1 !important;
  font-weight:700 !important;
  color:#1f2733 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__excerpt{
  margin:0 0 8px !important;
  font-size:13px !important;
  line-height:1.38 !important;
  font-weight:400 !important;
  color:#4d5664 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__controls{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-shell{
  display:inline-flex !important;
  align-items:center !important;
  height:34px !important;
  border:1px solid #c2cad7 !important;
  border-radius:4px !important;
  overflow:hidden !important;
  background:#eef2f7 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-btn,
body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-value{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:40px !important;
  height:34px !important;
  font-size:20px !important;
  line-height:1 !important;
  font-weight:600 !important;
  color:#1f2733 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-value{
  width:44px !important;
  font-size:16px !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-btn{
  background:#e8edf4 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__remove{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:20px !important;
  height:20px !important;
  color:#1f2733 !important;
  text-decoration:none !important;
  opacity:1 !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__remove svg{
  width:16px !important;
  height:18px !important;
}

@media (max-width: 900px){
  body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table thead th.product-total,
  body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .cart_item .product-total{
    width:130px !important;
  }

  body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .cart_item .product-total{
    font-size:32px !important;
  }

  body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__title{
    font-size:18px !important;
  }

  body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__price{
    font-size:38px !important;
  }
}

/* Checkout summary cleanup: hide subtotal and shipping rows */
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping{
  display:none !important;
}

/* Checkout order row tweaks from visual feedback */
body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__price,
body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__controls{
  display:none !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-note{
  margin:0 0 8px !important;
  font-size:14px !important;
  line-height:1.2 !important;
  font-weight:600 !important;
  color:#4d5664 !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .order-total td{
  font-size:30px !important;
  line-height:1.05 !important;
  font-weight:700 !important;
  padding-top:18px !important;
  white-space:nowrap !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .order-total td .amount{
  white-space:nowrap !important;
}

/* Checkout order final visual tweak */
body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__thumb{
  width:96px !important;
  min-width:96px !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__thumb img{
  width:96px !important;
  height:96px !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__meta{
  text-align:right !important;
  margin-left:auto !important;
}

body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__title,
body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__qty-note,
body.woocommerce-checkout form.checkout #order_review .pis-checkout-order-item__excerpt{
  text-align:right !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table .cart_item .product-total{
  font-size:22px !important;
  font-weight:700 !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.order-total{
  display:none !important;
}

/* Checkout delivery + place-order final fix */
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping{
  display:table-row !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal{
  display:none !important;
}

body.woocommerce-checkout form.checkout #payment .form-row.place-order{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
}

body.woocommerce-checkout form.checkout #payment .form-row.place-order #place_order,
body.woocommerce-checkout form.checkout #payment .form-row.place-order .button.alt{
  order:99 !important;
  margin-top:18px !important;
  float:none !important;
  align-self:stretch !important;
}

/* Checkout heading size tweak */
body.woocommerce-checkout form.checkout #order_review_heading{
  font-size:clamp(24px, 2.2vw, 30px) !important;
  line-height:1.2 !important;
}

/* Checkout shipping row: label text + left alignment */
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping th,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping td{
  text-align:left !important;
  font-size:16px !important;
  line-height:1.35 !important;
  font-weight:500 !important;
  color:#1f2733 !important;
  white-space:normal !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals ul#shipping_method,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping ul#shipping_method{
  margin:0 !important;
  padding:0 !important;
}

/* Checkout shipping final UX fix */
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping th,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping td{
  border:0 !important;
  text-align:left !important;
  padding:8px 0 !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping th{
  font-size:clamp(24px, 2.2vw, 30px) !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  color:#1f2733 !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping td{
  font-size:16px !important;
  line-height:1.35 !important;
  font-weight:500 !important;
  color:#1f2733 !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals ul#shipping_method,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping ul#shipping_method{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals ul#shipping_method > li,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping ul#shipping_method > li{
  margin:0 0 10px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals ul#shipping_method > li:last-child,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping ul#shipping_method > li:last-child{
  margin-bottom:0 !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals ul#shipping_method input[type="radio"],
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping ul#shipping_method input[type="radio"]{
  position:relative !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  margin-right:8px !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals ul#shipping_method label,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping ul#shipping_method label{
  cursor:pointer !important;
  pointer-events:auto !important;
}

/* WC Ukraine Shipping: keep plugin-native controls */
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals ul#shipping_method > li,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping ul#shipping_method > li{
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals ul#shipping_method input[type="radio"],
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping ul#shipping_method input[type="radio"]{
  pointer-events:auto !important;
}

body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals ul#shipping_method label,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.shipping ul#shipping_method label{
  pointer-events:auto !important;
  cursor:pointer !important;
}

/* Checkout flow reorder: shipping first, recipient after shipping checkboxes */
body.woocommerce-checkout form.checkout{
  display:flex !important;
  flex-direction:column !important;
}

body.woocommerce-checkout form.checkout #order_review{
  display:contents !important;
}

body.woocommerce-checkout form.checkout #order_review_heading{
  order:1 !important;
}

body.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table,
body.woocommerce-checkout form.checkout #order_review .woocommerce-checkout-review-order-table{
  order:2 !important;
}

body.woocommerce-checkout form.checkout #customer_details{
  order:3 !important;
  margin-top:16px !important;
}

body.woocommerce-checkout form.checkout #payment,
body.woocommerce-checkout form.checkout #order_review #payment{
  order:4 !important;
  margin-top:16px !important;
}

/* Recipient heading size = Delivery heading size */
body.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields > h3,
body.woocommerce-checkout form.checkout #customer_details .woocommerce-shipping-fields > h3{
  font-size:clamp(24px, 2.2vw, 30px) !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  color:#1f2733 !important;
  margin:0 0 12px !important;
}

/* Checkout fields full width */
body.woocommerce-checkout form.checkout #customer_details,
body.woocommerce-checkout form.checkout #customer_details .col2-set,
body.woocommerce-checkout form.checkout #customer_details .col-1,
body.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields,
body.woocommerce-checkout form.checkout #customer_details .woocommerce-shipping-fields,
body.woocommerce-checkout form.checkout #customer_details .woocommerce-additional-fields{
  width:100% !important;
  max-width:none !important;
}

body.woocommerce-checkout form.checkout #customer_details .form-row,
body.woocommerce-checkout form.checkout #customer_details .form-row-first,
body.woocommerce-checkout form.checkout #customer_details .form-row-last{
  width:100% !important;
  max-width:none !important;
  float:none !important;
  clear:both !important;
  margin-right:0 !important;
}

body.woocommerce-checkout form.checkout #customer_details .woocommerce-input-wrapper,
body.woocommerce-checkout form.checkout #customer_details input.input-text,
body.woocommerce-checkout form.checkout #customer_details select,
body.woocommerce-checkout form.checkout #customer_details textarea,
body.woocommerce-checkout form.checkout #customer_details .select2,
body.woocommerce-checkout form.checkout #customer_details .select2-container{
  width:100% !important;
  max-width:none !important;
}

/* Checkout final override: all form fields full width */
html body.woocommerce-checkout form.checkout #customer_details,
html body.woocommerce-checkout form.checkout #customer_details .col2-set,
html body.woocommerce-checkout form.checkout #customer_details .col-1,
html body.woocommerce-checkout form.checkout #customer_details .col-2,
html body.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields,
html body.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields__field-wrapper,
html body.woocommerce-checkout form.checkout #customer_details .woocommerce-shipping-fields,
html body.woocommerce-checkout form.checkout #customer_details .woocommerce-shipping-fields__field-wrapper,
html body.woocommerce-checkout form.checkout #customer_details .woocommerce-additional-fields,
html body.woocommerce-checkout form.checkout #customer_details .woocommerce-additional-fields__field-wrapper{
  width:100% !important;
  max-width:none !important;
  float:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

html body.woocommerce-checkout form.checkout #customer_details .form-row,
html body.woocommerce-checkout form.checkout #customer_details .form-row-first,
html body.woocommerce-checkout form.checkout #customer_details .form-row-last,
html body.woocommerce-checkout form.checkout #customer_details p.form-row,
html body.woocommerce-checkout form.checkout #customer_details p.form-row-first,
html body.woocommerce-checkout form.checkout #customer_details p.form-row-last{
  width:100% !important;
  max-width:none !important;
  flex:0 0 100% !important;
  float:none !important;
  clear:both !important;
  margin-right:0 !important;
}

html body.woocommerce-checkout form.checkout #customer_details input.input-text,
html body.woocommerce-checkout form.checkout #customer_details select,
html body.woocommerce-checkout form.checkout #customer_details textarea,
html body.woocommerce-checkout form.checkout #customer_details .woocommerce-input-wrapper,
html body.woocommerce-checkout form.checkout #customer_details .select2,
html body.woocommerce-checkout form.checkout #customer_details .select2-container,
html body.woocommerce-checkout form.checkout #customer_details .select2-selection{
  width:100% !important;
  max-width:none !important;
}

html body.woocommerce-checkout .wc-block-components-address-form,
html body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-address-form__first_name,
html body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-address-form__last_name,
html body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input,
html body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-select,
html body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-textarea,
html body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input,
html body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input,
html body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox,
html body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control{
  width:100% !important;
  max-width:100% !important;
  flex:0 0 100% !important;
  margin-right:0 !important;
}

/* Checkout: marketing checkbox directly below email */
body.woocommerce-checkout .pis-marketing-row{
  width:100% !important;
  clear:both !important;
  margin-top:8px !important;
  margin-bottom:12px !important;
}

/* Checkout: themed radio buttons (site colors) */
body.woocommerce-checkout form.woocommerce-checkout input[type="radio"],
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"],
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  margin:0 10px 0 0 !important;
  border:1px solid #8f99aa !important;
  border-radius:50% !important;
  background:#f5f7fb !important;
  box-shadow:none !important;
  position:relative !important;
  vertical-align:middle !important;
  cursor:pointer !important;
  transition:border-color .16s ease, background-color .16s ease, box-shadow .16s ease !important;
}

body.woocommerce-checkout form.woocommerce-checkout input[type="radio"]::before,
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input::before,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"]::before,
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  width:10px !important;
  height:10px !important;
  border-radius:50% !important;
  background:#c9a74d !important;
  transform:translate(-50%, -50%) scale(0) !important;
  transition:transform .16s ease !important;
}

body.woocommerce-checkout form.woocommerce-checkout input[type="radio"]:checked,
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input:checked,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"]:checked,
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:checked{
  border-color:#1f2733 !important;
  background:#ffffff !important;
}

body.woocommerce-checkout form.woocommerce-checkout input[type="radio"]:checked::before,
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input:checked::before,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"]:checked::before,
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:checked::before{
  transform:translate(-50%, -50%) scale(1) !important;
}

body.woocommerce-checkout form.woocommerce-checkout input[type="radio"]:focus-visible,
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input:focus-visible,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"]:focus-visible,
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:focus-visible{
  outline:none !important;
  box-shadow:0 0 0 3px rgba(201, 167, 77, 0.28) !important;
}

body.woocommerce-checkout #order_review #shipping_method label,
body.woocommerce-checkout #payment ul.payment_methods label,
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control__option label{
  cursor:pointer !important;
}

/* Checkout radios final: round markers + inline label text */
body.woocommerce-checkout form.checkout #order_review #shipping_method,
body.woocommerce-checkout form.checkout #order_review ul.woocommerce-shipping-methods{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

body.woocommerce-checkout form.checkout #order_review #shipping_method > li,
body.woocommerce-checkout form.checkout #order_review ul.woocommerce-shipping-methods > li{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 0 10px !important;
  padding:0 !important;
}

body.woocommerce-checkout form.checkout #order_review #shipping_method > li:last-child,
body.woocommerce-checkout form.checkout #order_review ul.woocommerce-shipping-methods > li:last-child{
  margin-bottom:0 !important;
}

body.woocommerce-checkout form.checkout #order_review #shipping_method > li > label,
body.woocommerce-checkout form.checkout #order_review ul.woocommerce-shipping-methods > li > label,
body.woocommerce-checkout form.checkout #payment ul.payment_methods > li > label,
body.woocommerce-checkout form.checkout .form-row input[type="radio"] + label,
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout .wc-block-components-radio-control__option label{
  display:inline-flex !important;
  align-items:center !important;
  width:auto !important;
  margin:0 !important;
  gap:10px !important;
  line-height:1.3 !important;
}

body.woocommerce-checkout form.woocommerce-checkout input[type="radio"],
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"],
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]{
  -webkit-appearance:none !important;
  appearance:none !important;
  inline-size:18px !important;
  block-size:18px !important;
  min-inline-size:18px !important;
  min-block-size:18px !important;
  aspect-ratio:1 / 1 !important;
  box-sizing:border-box !important;
  flex:0 0 18px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #cfd6e1 !important;
  border-radius:50% !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  box-shadow:none !important;
  line-height:0 !important;
  position:relative !important;
  cursor:pointer !important;
}

body.woocommerce-checkout form.woocommerce-checkout input[type="radio"]:checked,
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input:checked,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"]:checked,
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:checked{
  border-color:#cfd6e1 !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
}

body.woocommerce-checkout form.woocommerce-checkout input[type="radio"]::before,
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input::before,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"]::before,
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:50% auto auto 50% !important;
  inline-size:8px !important;
  block-size:8px !important;
  aspect-ratio:1 / 1 !important;
  border-radius:50% !important;
  background:#c9a74d !important;
  transform:translate(-50%, -50%) scale(0) !important;
  transform-origin:center !important;
  transition:transform .14s ease !important;
}

body.woocommerce-checkout form.woocommerce-checkout input[type="radio"]:checked::before,
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input:checked::before,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"]:checked::before,
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:checked::before{
  transform:translate(-50%, -50%) scale(1) !important;
}

body.woocommerce-checkout form.woocommerce-checkout input[type="radio"]:focus-visible,
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input:focus-visible,
body.woocommerce-checkout #order_review #shipping_method input[type="radio"]:focus-visible,
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:focus-visible{
  outline:none !important;
  box-shadow:0 0 0 3px rgba(201, 167, 77, 0.24) !important;
}

body.woocommerce-checkout #order_review #shipping_method input[type="radio"]::before{
  content:none !important;
  display:none !important;
}

body.woocommerce-checkout #order_review #shipping_method input[type="radio"]:checked{
  background:radial-gradient(circle at center, #c9a74d 0 4px, #f1f3f7 4.5px) !important;
  background-color:#f1f3f7 !important;
}

/* Checkout inputs final: flat gray with border */
body.woocommerce-checkout form.checkout #customer_details input.input-text,
body.woocommerce-checkout form.checkout #customer_details input[type="text"],
body.woocommerce-checkout form.checkout #customer_details input[type="email"],
body.woocommerce-checkout form.checkout #customer_details input[type="tel"],
body.woocommerce-checkout form.checkout #customer_details input[type="number"],
body.woocommerce-checkout form.checkout #customer_details select,
body.woocommerce-checkout form.checkout #customer_details textarea,
body.woocommerce-checkout form.checkout #customer_details .select2-container .select2-selection,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input select,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-country-input .components-input-control__backdrop,
body.woocommerce-checkout .wc-block-components-state-input .components-input-control__backdrop,
body.woocommerce-checkout .wc-block-components-country-input .components-combobox-control__button,
body.woocommerce-checkout .wc-block-components-state-input .components-combobox-control__button,
body.woocommerce-checkout .wc-block-components-country-input button[aria-haspopup="listbox"],
body.woocommerce-checkout .wc-block-components-state-input button[aria-haspopup="listbox"]{
  border:1px solid #cfd6e1 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  box-shadow:none !important;
  color:#1f2733 !important;
}

body.woocommerce-checkout form.checkout #customer_details input.input-text:focus,
body.woocommerce-checkout form.checkout #customer_details select:focus,
body.woocommerce-checkout form.checkout #customer_details textarea:focus,
body.woocommerce-checkout form.checkout #customer_details .select2-container--focus .select2-selection,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input select:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-country-input:focus-within .components-input-control__backdrop,
body.woocommerce-checkout .wc-block-components-state-input:focus-within .components-input-control__backdrop{
  border-color:#c9a74d !important;
  box-shadow:inset 0 0 0 1px #c9a74d !important;
  outline:none !important;
}

/* Checkout checkbox final: same style as inputs */
body.woocommerce-checkout form.checkout #customer_details .pis-marketing-row,
body.woocommerce-checkout form.checkout #customer_details .woocommerce-form__label-for-checkbox,
body.woocommerce-checkout form.checkout #customer_details .form-row label.checkbox,
body.woocommerce-checkout form.checkout #customer_details .form-row .woocommerce-form__label{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  margin:0 !important;
  line-height:1.35 !important;
}

body.woocommerce-checkout form.checkout #customer_details .pis-marketing-row input[type="checkbox"],
body.woocommerce-checkout form.checkout #customer_details input[type="checkbox"]{
  -webkit-appearance:none !important;
  appearance:none !important;
  inline-size:18px !important;
  block-size:18px !important;
  min-inline-size:18px !important;
  min-block-size:18px !important;
  aspect-ratio:1 / 1 !important;
  box-sizing:border-box !important;
  flex:0 0 18px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #cfd6e1 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  box-shadow:none !important;
  position:relative !important;
  cursor:pointer !important;
}

body.woocommerce-checkout form.checkout #customer_details .pis-marketing-row input[type="checkbox"]::before,
body.woocommerce-checkout form.checkout #customer_details input[type="checkbox"]::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:50% auto auto 50% !important;
  inline-size:8px !important;
  block-size:8px !important;
  transform:translate(-50%, -50%) scale(0) !important;
  transform-origin:center !important;
  transition:transform .14s ease !important;
  background:#c9a74d !important;
}

body.woocommerce-checkout form.checkout #customer_details .pis-marketing-row input[type="checkbox"]:checked::before,
body.woocommerce-checkout form.checkout #customer_details input[type="checkbox"]:checked::before{
  transform:translate(-50%, -50%) scale(1) !important;
}

body.woocommerce-checkout form.checkout #customer_details .pis-marketing-row input[type="checkbox"]:focus-visible,
body.woocommerce-checkout form.checkout #customer_details input[type="checkbox"]:focus-visible{
  outline:none !important;
  box-shadow:0 0 0 3px rgba(201, 167, 77, 0.24) !important;
}

/* Checkout NP address block: enforce same flat field style */
body.woocommerce-checkout form.checkout #customer_details .form-row select,
body.woocommerce-checkout form.checkout #customer_details .form-row .select2-container .select2-selection,
body.woocommerce-checkout form.checkout #customer_details .form-row [role="combobox"],
body.woocommerce-checkout form.checkout #customer_details .form-row button[aria-haspopup="listbox"],
body.woocommerce-checkout form.checkout #customer_details .form-row .components-input-control,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-input-control__container,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-input-control__backdrop,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-base-control__field,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-combobox-control,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-combobox-control__button{
  border:1px solid #cfd6e1 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  box-shadow:none !important;
  color:#1f2733 !important;
  min-height:52px !important;
}

body.woocommerce-checkout form.checkout #customer_details .form-row .components-input-control__input,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-combobox-control__input,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-text-control__input,
body.woocommerce-checkout form.checkout #customer_details .form-row .select2-selection__rendered{
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
  color:#1f2733 !important;
}

body.woocommerce-checkout form.checkout #customer_details .form-row .components-input-control__container::before,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-input-control__container::after,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-base-control__field::before,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-base-control__field::after{
  content:none !important;
  display:none !important;
}

body.woocommerce-checkout form.checkout #customer_details .form-row select:focus,
body.woocommerce-checkout form.checkout #customer_details .form-row [role="combobox"]:focus,
body.woocommerce-checkout form.checkout #customer_details .form-row button[aria-haspopup="listbox"]:focus,
body.woocommerce-checkout form.checkout #customer_details .form-row .select2-container--focus .select2-selection,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-input-control:focus-within .components-input-control__backdrop,
body.woocommerce-checkout form.checkout #customer_details .form-row .components-combobox-control:focus-within .components-input-control__backdrop{
  border-color:#c9a74d !important;
  box-shadow:inset 0 0 0 1px #c9a74d !important;
  outline:none !important;
}

/* Final checkout override for NP/WCUS dropdowns (outside #customer_details as well) */
html body.woocommerce-checkout form.checkout select,
html body.woocommerce-checkout form.checkout input.input-text,
html body.woocommerce-checkout form.checkout textarea,
html body.woocommerce-checkout form.checkout .select2-container .select2-selection,
html body.woocommerce-checkout form.checkout [role="combobox"],
html body.woocommerce-checkout form.checkout button[aria-haspopup="listbox"],
html body.woocommerce-checkout form.checkout .components-input-control,
html body.woocommerce-checkout form.checkout .components-input-control__container,
html body.woocommerce-checkout form.checkout .components-input-control__backdrop,
html body.woocommerce-checkout form.checkout .components-base-control__field,
html body.woocommerce-checkout form.checkout .components-combobox-control,
html body.woocommerce-checkout form.checkout .components-combobox-control__button,
html body.woocommerce-checkout .woocommerce form.checkout [class*="wcus"] select,
html body.woocommerce-checkout .woocommerce form.checkout [class*="wcus"] [role="combobox"],
html body.woocommerce-checkout .woocommerce form.checkout [class*="wcus"] button[aria-haspopup="listbox"],
html body.woocommerce-checkout .woocommerce-checkout [class*="wcus"] select,
html body.woocommerce-checkout .woocommerce-checkout [class*="wcus"] [role="combobox"],
html body.woocommerce-checkout .woocommerce-checkout [class*="wcus"] button[aria-haspopup="listbox"]{
  border:1px solid #cfd6e1 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  box-shadow:none !important;
  color:#1f2733 !important;
}

html body.woocommerce-checkout form.checkout .components-input-control__input,
html body.woocommerce-checkout form.checkout .components-combobox-control__input,
html body.woocommerce-checkout form.checkout .components-text-control__input,
html body.woocommerce-checkout form.checkout .select2-selection__rendered,
html body.woocommerce-checkout .woocommerce-checkout [class*="wcus"] .components-input-control__input,
html body.woocommerce-checkout .woocommerce-checkout [class*="wcus"] .components-combobox-control__input{
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
  color:#1f2733 !important;
}

html body.woocommerce-checkout form.checkout .components-input-control__container::before,
html body.woocommerce-checkout form.checkout .components-input-control__container::after,
html body.woocommerce-checkout form.checkout .components-base-control__field::before,
html body.woocommerce-checkout form.checkout .components-base-control__field::after,
html body.woocommerce-checkout .woocommerce-checkout [class*="wcus"] .components-input-control__container::before,
html body.woocommerce-checkout .woocommerce-checkout [class*="wcus"] .components-input-control__container::after{
  content:none !important;
  display:none !important;
}

/* Absolute fallback: any checkout dropdown/input should be flat gray */
.woocommerce-checkout select,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout .select2-container .select2-selection,
.woocommerce-checkout [role="combobox"],
.woocommerce-checkout button[aria-haspopup="listbox"],
.woocommerce-checkout .components-input-control,
.woocommerce-checkout .components-input-control__container,
.woocommerce-checkout .components-input-control__backdrop,
.woocommerce-checkout .components-base-control__field,
.woocommerce-checkout .components-combobox-control,
.woocommerce-checkout .components-combobox-control__button,
.woocommerce-checkout .zen-ui-select__value,
.woocommerce-checkout .zen-ui-select__search-input,
.woocommerce-checkout .zen-ui-select__dropdown,
.woocommerce-checkout .zen-ui-select__options,
.woocommerce-checkout [class*="mrkv_ua_shipping"] .select2-container .select2-selection--single,
.woocommerce-checkout [id*="mrkv_ua_shipping"] .select2-container .select2-selection--single{
  border:1px solid #cfd6e1 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  box-shadow:none !important;
  color:#1f2733 !important;
}

.woocommerce-checkout .zen-ui-select__value:hover,
.woocommerce-checkout .zen-ui-select__option:hover{
  background:#e9edf4 !important;
}

.woocommerce-checkout .zen-ui-select__value{
  display:flex !important;
  align-items:center !important;
  min-height:52px !important;
  padding:0 40px 0 12px !important;
  line-height:1.2 !important;
}

.woocommerce-checkout .zen-ui-select__value-text{
  display:block !important;
  line-height:1.2 !important;
}

/* Checkout payment methods: aligned and same flat style as form */
body.woocommerce-checkout form.checkout #payment ul.payment_methods{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  list-style:none !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods > li{
  margin:0 0 10px !important;
  padding:12px !important;
  border:1px solid #cfd6e1 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  box-shadow:none !important;
  width:100% !important;
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:18px minmax(0, 1fr) !important;
  align-items:center !important;
  column-gap:10px !important;
  row-gap:10px !important;
  min-height:56px !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods > li:last-child{
  margin-bottom:0 !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods > li:has(input[type="radio"]:checked){
  border-color:#c9a74d !important;
  box-shadow:inset 0 0 0 1px #c9a74d !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods > li > label{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-height:24px !important;
  margin:0 !important;
  padding:0 !important;
  line-height:1.2 !important;
  cursor:pointer !important;
  grid-column:2 !important;
  grid-row:1 !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods > li > label input[type="radio"],
body.woocommerce-checkout form.checkout #payment ul.payment_methods > li > input[type="radio"],
body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"]{
  margin:0 !important;
  justify-self:center !important;
  align-self:center !important;
  flex:0 0 18px !important;
  transform:none !important;
  grid-column:1 !important;
  grid-row:1 !important;
  position:static !important;
  top:auto !important;
  left:auto !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods > li > label img{
  max-height:24px !important;
  width:auto !important;
  height:auto !important;
  margin-left:8px !important;
  vertical-align:middle !important;
}

body.woocommerce-checkout form.checkout #payment div.payment_box{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#4d5664 !important;
  font-size:15px !important;
  line-height:1.45 !important;
  grid-column:1 / -1 !important;
}

body.woocommerce-checkout form.checkout #payment div.payment_box::before{
  content:none !important;
  display:none !important;
}

/* Blocks checkout payment list */
body.woocommerce-checkout .wc-block-components-payment-methods{
  margin:0 !important;
  padding:0 !important;
}

body.woocommerce-checkout .wc-block-components-payment-method{
  margin:0 0 10px !important;
  border:1px solid #cfd6e1 !important;
  border-radius:0 !important;
  background:#f1f3f7 !important;
  box-shadow:none !important;
}

body.woocommerce-checkout .wc-block-components-payment-method:last-child{
  margin-bottom:0 !important;
}

body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__option-layout{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-height:52px !important;
  margin:0 !important;
  padding:0 12px !important;
  line-height:1.2 !important;
}

body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__label-group,
body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-payment-method__label,
body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-payment-method__name{
  display:flex !important;
  align-items:center !important;
  min-height:20px !important;
  line-height:1.2 !important;
}

body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-payment-method__content{
  margin:0 12px 12px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#4d5664 !important;
}

/* Hide checkout marketing opt-in row */
body.woocommerce-checkout .pis-marketing-row{
  display:none !important;
}

/* Payment radios: always show centered inner dot for checked state */
body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"]{
  display:inline-block !important;
  opacity:1 !important;
  visibility:visible !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"]::before{
  content:none !important;
  display:none !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"]:checked{
  border-color:#c9a74d !important;
  background:radial-gradient(circle at center, #c9a74d 0 4px, #f1f3f7 4.5px) !important;
  background-color:#f1f3f7 !important;
}

body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__input::before{
  content:none !important;
  display:none !important;
}

body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__input:checked{
  border-color:#c9a74d !important;
  background:radial-gradient(circle at center, #c9a74d 0 4px, #f1f3f7 4.5px) !important;
  background-color:#f1f3f7 !important;
}

/* Final fallback for checkout marketing row + payment radio center dot */
body.woocommerce-checkout .pis-marketing-row,
body.woocommerce-checkout form.checkout [id*="mailpoet"],
body.woocommerce-checkout form.checkout [class*="mailpoet"],
body.woocommerce-checkout .wc-block-checkout [id*="mailpoet"],
body.woocommerce-checkout .wc-block-checkout [class*="mailpoet"]{
  display:none !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"],
body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__input{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #8e99ab !important;
  border-radius:50% !important;
  background:#f1f3f7 !important;
  background-color:#f1f3f7 !important;
  box-sizing:border-box !important;
  display:inline-grid !important;
  place-content:center !important;
  vertical-align:middle !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"]::before,
body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__input::before{
  content:"" !important;
  display:block !important;
  width:8px !important;
  height:8px !important;
  border-radius:50% !important;
  background:#c9a74d !important;
  transform:scale(0) !important;
  transition:transform .12s ease !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"]:checked,
body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__input:checked{
  border-color:#c9a74d !important;
  background:radial-gradient(circle at center, #c9a74d 0 4px, #f1f3f7 4.5px) !important;
  background-color:#f1f3f7 !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"]::before,
body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__input::before{
  content:none !important;
  display:none !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"]:checked::before,
body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-radio-control__input:checked::before{
  transform:none !important;
}

body.woocommerce-checkout form.checkout #payment,
body.woocommerce-checkout form.checkout #order_review #payment,
body.woocommerce-checkout form.checkout #payment ul.payment_methods,
body.woocommerce-checkout form.checkout #payment .form-row.place-order,
body.woocommerce-checkout form.checkout #payment #place_order,
body.woocommerce-checkout form.checkout .place-order .button.alt{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods > li{
  grid-template-columns:18px minmax(0, 1fr) !important;
  align-items:center !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods > li > label{
  grid-column:2 !important;
  align-items:center !important;
  justify-self:start !important;
}

body.woocommerce-checkout form.checkout #payment ul.payment_methods > li > label input[type="radio"],
body.woocommerce-checkout form.checkout #payment ul.payment_methods > li > input[type="radio"],
body.woocommerce-checkout form.checkout #payment ul.payment_methods input[type="radio"]{
  grid-column:1 !important;
  align-self:center !important;
}

/* Order received page: match checkout visual system */
body.woocommerce-order-received .site-main{
  background:#eceef2 !important;
}

body.woocommerce-order-received .woocommerce{
  width:100% !important;
  max-width:1150px !important;
  margin:0 auto !important;
  color:#1f2733 !important;
}

body.woocommerce-order-received .pis-archive-hero.pis-checkout-hero{
  padding:0 !important;
  margin-bottom:14px !important;
  border:0 !important;
}

body.woocommerce-order-received article,
body.woocommerce-order-received .entry-content,
body.woocommerce-order-received .woocommerce,
body.woocommerce-order-received .woocommerce-order{
  border-top:0 !important;
  border-bottom:0 !important;
}

body.woocommerce-order-received .pis-archive-hero.pis-checkout-hero .woocommerce-products-header,
body.woocommerce-order-received .pis-archive-hero.pis-checkout-hero .woocommerce-products-header__title{
  display:none !important;
  border:0 !important;
}

body.woocommerce-order-received .pis-breadcrumbs{
  margin:0 0 14px !important;
  padding-top:22px !important;
  padding-bottom:18px !important;
  border-top:1px solid #dfe3ea !important;
  border-bottom:1px solid #dfe3ea !important;
  color:#9aa3af !important;
  font-size:13px !important;
  line-height:1 !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
}

body.woocommerce-order-received .pis-archive-hero.pis-checkout-hero .pis-breadcrumbs{
  border-top:1px solid #dfe3ea !important;
  border-bottom:1px solid #dfe3ea !important;
}

body.woocommerce-order-received .pis-breadcrumbs .woocommerce-breadcrumb{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

body.woocommerce-order-received .woocommerce-order{
  display:grid !important;
  gap:24px !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#1f2733 !important;
  font-size:16px !important;
  line-height:1.45 !important;
  font-weight:400 !important;
  text-align:center !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-details{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #cfd6e1 !important;
  background:#f1f3f7 !important;
  list-style:none !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-details li{
  margin:0 !important;
  padding:16px !important;
  border-right:1px solid #cfd6e1 !important;
  color:#6b7280 !important;
  font-size:12px !important;
  line-height:1.35 !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-details li:last-child{
  border-right:0 !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-details .woocommerce-order-overview__email,
body.woocommerce-order-received .woocommerce-thankyou-order-details .woocommerce-order-overview__payment-method{
  display:none !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-details li strong{
  display:block !important;
  margin-top:6px !important;
  color:#1f2733 !important;
  font-size:16px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
  text-transform:none !important;
}

body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received){
  display:none !important;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details{
  margin:0 !important;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title{
  margin:0 0 14px !important;
  color:#1f2733 !important;
  font-size:clamp(24px, 2.2vw, 30px) !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  letter-spacing:-0.01em !important;
}

body.woocommerce-order-received table.shop_table.order_details{
  width:100% !important;
  margin:0 !important;
  border:1px solid #cfd6e1 !important;
  border-collapse:collapse !important;
  background:#f1f3f7 !important;
  color:#1f2733 !important;
}

body.woocommerce-order-received table.shop_table.order_details th,
body.woocommerce-order-received table.shop_table.order_details td{
  padding:14px 16px !important;
  border:0 !important;
  border-bottom:1px solid #cfd6e1 !important;
  color:#1f2733 !important;
  font-size:15px !important;
  line-height:1.45 !important;
  text-align:left !important;
}

body.woocommerce-order-received table.shop_table.order_details thead th,
body.woocommerce-order-received table.shop_table.order_details tfoot th{
  font-weight:800 !important;
}

body.woocommerce-order-received table.shop_table.order_details thead th{
  border-bottom:1px solid #cfd6e1 !important;
}

body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item th,
body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item td{
  border-bottom:0 !important;
}

body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item th.product-name,
body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item td.product-name{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}

body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item .product-quantity{
  display:inline-flex !important;
  align-items:center !important;
  align-self:center !important;
  margin:0 !important;
  white-space:nowrap !important;
}

body.woocommerce-order-received table.shop_table.order_details td:last-child,
body.woocommerce-order-received table.shop_table.order_details th:last-child{
  text-align:right !important;
}

body.woocommerce-order-received table.shop_table.order_details tr:last-child th,
body.woocommerce-order-received table.shop_table.order_details tr:last-child td{
  border-bottom:0 !important;
}

body.woocommerce-order-received table.shop_table.order_details .amount,
body.woocommerce-order-received table.shop_table.order_details strong{
  color:#1f2733 !important;
  font-weight:800 !important;
}

body.woocommerce-order-received table.shop_table.order_details .pis-order-item-with-thumb{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  min-width:0 !important;
}

body.woocommerce-order-received table.shop_table.order_details .pis-order-item-thumb{
  width:64px !important;
  height:64px !important;
  flex:0 0 64px !important;
  border:1px solid #c9d2df !important;
  background:#fff !important;
  overflow:hidden !important;
}

body.woocommerce-order-received table.shop_table.order_details .pis-order-item-thumb__img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

body.woocommerce-order-received table.shop_table.order_details .pis-order-item-title{
  min-width:0 !important;
}

body.woocommerce-order-received .woocommerce-columns--addresses{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:18px !important;
  margin:0 !important;
}

body.woocommerce-order-received .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-column--shipping-address{
  width:auto !important;
  float:none !important;
}

body.woocommerce-order-received .woocommerce-customer-details address{
  min-height:100% !important;
  margin:0 !important;
  padding:18px 20px !important;
  border:1px solid #cfd6e1 !important;
  background:#f1f3f7 !important;
  color:#1f2733 !important;
  font-size:16px !important;
  line-height:1.6 !important;
  font-style:normal !important;
}

@media (max-width: 900px){
  body.woocommerce-order-received .woocommerce-thankyou-order-details{
    grid-template-columns:1fr !important;
  }

  body.woocommerce-order-received .woocommerce-thankyou-order-details li{
    border-right:0 !important;
    border-bottom:1px solid #cfd6e1 !important;
  }

  body.woocommerce-order-received .woocommerce-thankyou-order-details li:last-child{
    border-bottom:0 !important;
  }

  body.woocommerce-order-received .woocommerce-columns--addresses{
    grid-template-columns:1fr !important;
  }

  body.woocommerce-order-received table.shop_table.order_details th,
  body.woocommerce-order-received table.shop_table.order_details td{
    padding:12px !important;
    font-size:14px !important;
  }
}

/* Header refinements: thinner divider and sliding menu underline. */
.site-header.gambit-header {
  border-bottom: 1px solid #dfe4eb;
}

.site-header.gambit-header .gambit-header__menu > li > a {
  position: relative;
  padding-bottom: 7px;
  overflow: hidden;
}

.site-header.gambit-header .gambit-header__menu > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #d2aa4d;
  transform: translateX(-105%);
  transition: transform .24s ease;
}

.site-header.gambit-header .gambit-header__menu > li > a:hover::before,
.site-header.gambit-header .gambit-header__menu > li > a:focus-visible::before {
  transform: translateX(0);
}

/* Shop tools buttons: match compact bordered controls from the reference. */
.gambit-header__tools .gambit-tools__icons {
  gap: 16px;
}

.gambit-header__tools .gambit-tools__tool,
.gambit-header__tools .gambit-tools__cart {
  min-height: 48px;
  height: 48px;
  border: 0;
  border-radius: 9px !important;
  background: transparent;
  color: #1f2937;
  box-shadow: none;
  position: relative;
  transition: color .18s ease;
}

.gambit-header__tools .gambit-tools__tool::before,
.gambit-header__tools .gambit-tools__cart::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 43px;
  border-radius: inherit;
  border: 1px solid #e0e5ec;
  border-right: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0 62%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, #000 0 62%, rgba(0, 0, 0, 0) 100%);
}

.gambit-header__tools .gambit-tools__tool {
  gap: 10px;
  padding: 0 18px 0 14px;
}

.gambit-header__tools .gambit-tools__wishlist {
  min-width: 124px;
}

.gambit-header__tools .gambit-tools__account {
  min-width: 153px;
}

.gambit-header__tools .gambit-tools__tool:hover,
.gambit-header__tools .gambit-tools__tool:focus-visible,
.gambit-header__tools .gambit-tools__cart:hover,
.gambit-header__tools .gambit-tools__cart:focus-visible {
  background: transparent;
  box-shadow: none;
  color: #111827;
  text-decoration: none;
}

.gambit-header__tools .gambit-tools__tool:hover::before,
.gambit-header__tools .gambit-tools__tool:focus-visible::before,
.gambit-header__tools .gambit-tools__cart:hover::before,
.gambit-header__tools .gambit-tools__cart:focus-visible::before {
  border-color: #cfd6e1;
}

.gambit-header__tools .gambit-tools__icon-wrap {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
}

.gambit-header__tools .gambit-tools__tool:hover .gambit-tools__icon-wrap {
  background: transparent;
  border-color: transparent;
}

.gambit-header__tools .gambit-tools__tool-label {
  color: #374151;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.gambit-header__tools .gambit-tools__cart {
  width: 48px;
  min-width: 48px;
  margin-left: 0;
}

.gambit-header__tools .gambit-tools__cart::before {
  width: 100%;
}

.gambit-header__tools .gambit-tools__icon--heart::before,
.gambit-header__tools .gambit-tools__icon--user::before {
  width: 22px;
  height: 22px;
  background-size: 22px 22px;
}

.gambit-header__tools .gambit-tools__icon--cart::before {
  width: 24px;
  height: 24px;
  background-size: 24px 24px;
}

.gambit-header__tools .gambit-tools__cart .pis-cart-count {
  right: -5px;
  top: -5px;
  transform: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 11px;
  line-height: 18px;
  font-weight: 800;
}

/* Featured category cards: brighter images with subtle rounded corners. */
.pis-featured-category-card {
  border-radius: 8px;
  background: #f3f5f8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.pis-featured-category-card__media {
  filter: brightness(1.12) contrast(1.04) saturate(1.08);
}

.pis-featured-category-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.08) 45%,
    rgba(0, 0, 0, 0.58) 100%
  );
}

.pis-featured-category-card:hover .pis-featured-category-card__media,
.pis-featured-category-card:focus-visible .pis-featured-category-card__media {
  filter: brightness(1.18) contrast(1.05) saturate(1.12);
}

/* Catalog refinements: rounded controls, product cards, and image surfaces. */
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-shop-toolbar .woocommerce-ordering select,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-shop-show-form select,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-view-switch__btn,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-filter-dropdown__toggle,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-filter-dropdown__menu,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .pis-filter-dropdown__panel {
  border-radius: 8px !important;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .woocommerce ul.products li.product.pis-product-card,
body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand) .woocommerce-page ul.products.pis-products--list li.product {
  border-radius: 8px !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .pis-product-thumb {
  border-radius: 8px;
}

body:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .tax-product_brand):not(.pis-shop-view-list) .pis-product-thumb img {
  border-radius: 6px;
}

.pis-featured-category-card {
  border-radius: 0 !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.pis-featured-category-card__media {
  filter: brightness(1.14) contrast(1.04) saturate(1.1);
}

.pis-featured-category-card:hover,
.pis-featured-category-card:focus-visible {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}
