/*
Theme Name: Salient Child — TK Paintings
Theme URI: https://www.tkpaintings.com
Description: Fine art gallery child theme for TK Paintings (Salient V18). Syne + Libre Franklin, palette taxonomy, museum spacing.
Author: TK Paintings
Template: salient-3
Version: 1.3.23
Text Domain: tk-paintings
*/

:root {
  --font-display: "Syne", sans-serif;
  --font-body: "Libre Franklin", sans-serif;
  --tk-paper: #f7f5f1;
  --tk-ink: #1a1a1a;
  --tk-accent: #8b7355;
}

/* ==========================================================================
   A. Typography — Syne (display) + Libre Franklin (body)
   Exact Salient selectors (live DOM 2026-08-04) + !important
   ========================================================================== */
h1, h2, h3, h4,
h1.ns-heading-el,
.nectar-slider-wrap h1,
.nectar-slider-wrap h2,
.nectar-slider-wrap .content h1,
.nectar-slider-wrap .content h2,
.nectar-slider-wrap .swiper-slide .content h1,
.nectar-slider-wrap .swiper-slide .content h2,
.nectar-split-heading h2,
.nectar-split-heading h3,
.nectar-split-heading.markup-generated h2,
.nectar-split-heading.markup-generated h3,
.col h1, .col h2, .col h3,
.wpb_text_column h1,
.wpb_text_column h2,
.wpb_text_column h3,
.wpb_wrapper > h1,
.wpb_wrapper > h2,
.wpb_wrapper > h3,
.nectar-fancy-box h3,
.nectar-fancy-box .heading-wrap h3,
.fancy-box h3,
.fancybox-heading,
.page-heading h1,
#page-header-bg h1,
.section-title,
.woocommerce-loop-product__title,
h2.woocommerce-loop-product__title,
.product_title,
.nectar-fancy-ul ul li h4 {
  font-family: "Syne", sans-serif !important;
  letter-spacing: -0.01em;
}

h1,
h1.ns-heading-el,
.page-title,
.nectar-slider-wrap h1,
.nectar-slider-wrap h2,
.nectar-slider-wrap .content h1,
#page-header-bg h1 {
  font-weight: 600 !important;
  line-height: 1.05 !important;
}

h2,
.nectar-split-heading h2 {
  font-weight: 500 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.005em !important;
}

h3, h4,
.nectar-fancy-box h3,
.fancy-box h3,
.woocommerce-loop-product__title,
.product_title {
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body,
p, li,
.nectar_cta .cta-content,
.nectar_cta .link_wrap,
.menu-item a,
.sf-menu a,
.woocommerce-Price-amount,
.price,
.product_meta,
.product_meta a,
.tk-product-medium,
.nectar-slider-wrap .content p,
.nectar-slider-wrap .content span,
.nectar-slider-wrap .caption,
input, textarea, button, select,
.nectar-button,
.woocommerce a.button,
.woocommerce button.button,
#footer-outer,
#footer-outer p,
#footer-outer a {
  font-family: "Libre Franklin", sans-serif !important;
}

body, p, li {
  font-weight: 300 !important;
  line-height: 1.7 !important;
}

.micro-label {
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

/* Product card atmosphere line — smaller than title */
ul.products .tk-product-medium,
.product-meta .tk-product-medium,
.tk-product-medium {
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
}

#header-outer nav,
#header-outer .sf-menu a,
#header-secondary-outer,
#slide-out-widget-area {
  font-family: "Libre Franklin", sans-serif !important;
}

/* B7 — Hero overlay ~30% + brighter subtitle */
.nectar-slider-wrap .slide-bg-overlay,
.nectar-slider-wrap[data-overall_style="classic"] .slide-bg-overlay {
  opacity: 1 !important;
}
.nectar-slider-wrap .swiper-slide .slide-bg-overlay {
  background-color: rgba(26, 26, 26, 0.30) !important;
}
.nectar-slider-wrap .swiper-slide .content p,
.nectar-slider-wrap .swiper-slide .content span,
.nectar-slider-wrap .caption,
.nectar-slider-wrap .content .caption {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.nectar-slider-wrap .swiper-slide .container .caption,
.nectar-slider-wrap h1.ns-heading-el {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
@media only screen and (min-width: 1000px) {
  .wpb_row.vc_row-fluid:not(.full-width-content):not(.full-width-section) {
    padding-top: clamp(120px, 10vw, 160px);
    padding-bottom: clamp(120px, 10vw, 160px);
  }
  .wpb_row.full-width-section,
  .wpb_row.full-width-content {
    padding-top: clamp(100px, 9vw, 140px);
    padding-bottom: clamp(100px, 9vw, 140px);
  }
  /* Hero / first slider rows keep their own height */
  .wpb_row.full-width-content:has(.nectar-slider-wrap),
  .wpb_row:has(.nectar-slider-wrap) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media only screen and (max-width: 999px) {
  .wpb_row.vc_row-fluid {
    padding-top: clamp(64px, 12vw, 80px);
    padding-bottom: clamp(64px, 12vw, 80px);
  }
  .wpb_row:has(.nectar-slider-wrap) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Story band — Made slowly */
.tk-story-band .nectar-split-heading,
.wpb_row.tk-story-band .nectar-split-heading {
  text-align: center !important;
}
.nectar-split-heading[data-align="center"] h2,
.wpb_row .nectar-split-heading h2 {
  font-family: "Syne", sans-serif !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   Palette strip — real swatches + gaps + labels
   ========================================================================== */
.tk-palette-strip {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem 1.75rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 0.5rem 1rem 1rem;
}

.tk-palette-strip a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none !important;
  color: var(--tk-ink) !important;
  min-width: 4.5rem;
}

.tk-palette-strip .tk-palette-swatch {
  display: block !important;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.08);
  transition: transform 0.25s ease;
}

.tk-palette-strip a:hover .tk-palette-swatch {
  transform: scale(1.06);
}

.tk-palette-strip .tk-palette-label {
  display: block !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.tk-palette-band {
  height: 8px;
  width: 100%;
  margin: 0 0 2rem;
}

/* ==========================================================================
   Collection Fancy Boxes — readable overlay + typography
   ========================================================================== */
.nectar-fancy-box,
.fancy-box {
  overflow: hidden;
}
.nectar-fancy-box .inner,
.fancy-box .inner {
  padding: 1.75rem !important;
}
.nectar-fancy-box h3,
.fancy-box h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
  margin-bottom: 0.5rem !important;
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
}
.nectar-fancy-box p,
.fancy-box p {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  font-weight: 300 !important;
}
.nectar-fancy-box[data-style="hover_desc"] .box-bg:after,
.fancy-box .box-bg:after {
  background: linear-gradient(to top, rgba(26, 26, 26, 0.72) 0%, rgba(26, 26, 26, 0.15) 55%, rgba(26, 26, 26, 0.05) 100%) !important;
  opacity: 1 !important;
}

/* ==========================================================================
   B10 — Catalog grids: show price; keep add-to-cart / quick view hidden
   ========================================================================== */
.home ul.products .add_to_cart_button,
.home ul.products a.button.add_to_cart_button,
.home ul.products .product-add-to-cart,
.home ul.products .nectar_quick_view,
.tax-product_cat ul.products .add_to_cart_button,
.tax-product_cat ul.products a.button.add_to_cart_button,
.tax-product_cat ul.products .product-add-to-cart,
.tax-product_cat ul.products .nectar_quick_view,
.tax-palette ul.products .add_to_cart_button,
.tax-palette ul.products a.button.add_to_cart_button,
.tax-palette ul.products .product-add-to-cart,
.tax-palette ul.products .nectar_quick_view,
.post-type-archive-product ul.products .add_to_cart_button,
.post-type-archive-product ul.products .product-add-to-cart,
.post-type-archive-product ul.products .nectar_quick_view,
.woocommerce-page.archive ul.products .add_to_cart_button,
.woocommerce-page.archive ul.products .product-add-to-cart,
.woocommerce-page.archive ul.products .nectar_quick_view,
.page-id-5863 ul.products .add_to_cart_button,
.page-id-5863 ul.products .product-add-to-cart,
.page-id-5863 ul.products .nectar_quick_view,
.page-id-5864 ul.products .add_to_cart_button,
.page-id-5864 ul.products .product-add-to-cart,
.page-id-5864 ul.products .nectar_quick_view,
body.tk-gallery-large ul.products .add_to_cart_button,
body.tk-gallery-large ul.products .product-add-to-cart,
body.tk-gallery-large ul.products .nectar_quick_view,
body.single-product .related.products .add_to_cart_button,
body.single-product .related.products a.button.add_to_cart_button,
body.single-product .related.products .product-add-to-cart,
body.single-product .related.products .nectar_quick_view,
body.single-product .related.products a.button.product_type_variable,
body.single-product .related.products a.button.product_type_simple,
body.single-product .upsells.products .add_to_cart_button,
body.single-product .upsells.products a.button.add_to_cart_button,
body.single-product .upsells.products .product-add-to-cart,
body.single-product .upsells.products .nectar_quick_view,
body.single-product .upsells.products a.button.product_type_variable,
body.single-product .upsells.products a.button.product_type_simple {
  display: none !important;
}

/* Keep medium line visible under product title */
ul.products .tk-product-medium,
.product-meta .tk-product-medium,
.tk-product-medium {
  display: block;
  margin-top: 0.15rem;
  opacity: 0.65;
  color: var(--tk-ink);
}

/* ==========================================================================
   Shop / product archives: hide leftover Salient demo page header
   ========================================================================== */
.woocommerce-shop #page-header-wrap,
.woocommerce-shop #page-header-bg,
.post-type-archive-product #page-header-wrap,
.post-type-archive-product #page-header-bg,
.tax-product_cat #page-header-wrap,
.tax-product_cat #page-header-bg,
.tax-palette #page-header-wrap,
.tax-palette #page-header-bg {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ==========================================================================
   Header: extra air above logo / socials / cart
   centered-menu-bottom-bar — pad the fixed header, not only #logo margin
   ========================================================================== */
@media only screen and (min-width: 1000px) {
  body #header-outer[data-format="centered-menu-bottom-bar"] {
    padding-top: 20px;
  }
}
@media only screen and (max-width: 999px) {
  body #header-outer {
    padding-top: 12px;
  }
}

/* ==========================================================================
   Variable PDP: prefer selected variation price over static range
   ========================================================================== */
.single-product div.product.product-type-variable .summary:has(.woocommerce-variation-price .price) > p.price,
.single-product div.product.product-type-variable .summary:has(.woocommerce-variation-price .amount) > .price.nectar-inherit-default {
  display: none !important;
}
.single-product .woocommerce-variation-price {
  margin-bottom: 0.75em;
}
.single-product .woocommerce-variation-price .price {
  font-family: var(--font-body), "Libre Franklin", sans-serif !important;
  font-weight: 300;
  font-size: 1.15em;
}

/* ==========================================================================
   Logo: black transparent wordmark — 60% size
   ========================================================================== */
#header-outer #logo,
#header-outer #logo a,
#header-outer .logo-spacing,
#header-outer .logo-clone,
#logo,
.logo-spacing {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
#header-outer #logo img,
#header-outer .logo-clone img,
#header-outer .logo-spacing img,
#logo img,
#logo .default-logo,
#logo .starting-logo,
#logo .starting-logo.dark-version,
#logo .mobile-only-logo {
  background: transparent !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}
#header-outer #logo img,
#header-outer .logo-clone img,
#header-outer .logo-spacing img,
#logo img.default-logo,
#logo img.starting-logo {
  height: 24px !important;
  width: auto !important;
  max-height: 24px !important;
}
#header-outer #logo .mobile-only-logo,
#header-outer.small-nav #logo img,
#header-outer.small-nav .logo-clone img {
  height: 18px !important;
  max-height: 18px !important;
  width: auto !important;
}

/* Keep custom Etsy mark sized like FA icons */
.nectar-social img.nectar-dynamic-social-icon,
.off-canvas-social-links img.nectar-dynamic-social-icon,
ul.social img.nectar-dynamic-social-icon {
  width: 16px !important;
  height: 16px !important;
  max-width: 1.1em;
  object-fit: contain;
  vertical-align: middle;
}

/* ==========================================================================
   B12 — Subtle coming-soon cue in menus
   ========================================================================== */
#header-outer .sf-menu a[href*="coming-soon"]::after,
#slide-out-widget-area a[href*="coming-soon"]::after {
  content: "Soon";
  display: inline-block;
  margin-left: 0.45em;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
  vertical-align: middle;
}

/* Hide empty secondary header blue bar when no text */
#header-secondary-outer[data-secondary-text="false"] .nectar-center-text:empty {
  display: none;
}

/* B8 — Made slowly centered story band */
.nectar-split-heading.tk-story-heading,
.tk-story-heading,
.wpb_row .nectar-split-heading.tk-story-heading {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  max-width: 28ch;
}
.nectar-split-heading.tk-story-heading .heading-line,
.nectar-split-heading.tk-story-heading span,
.nectar-split-heading.tk-story-heading h2,
.nectar-split-heading.tk-story-heading > div {
  text-align: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ==========================================================================
   Newsletter — Join the studio (CF7 + fallback)
   Quiet gallery CTA: constrained, inline on desktop, hairline input
   ========================================================================== */
.tk-newsletter,
.wpb_text_column .wpcf7,
.wpcf7.tk-newsletter-cf7,
div.wpcf7[data-wpcf7-id="5881"] {
  max-width: 460px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 1.75rem;
  text-align: left;
}

.tk-newsletter .wpcf7-form,
div.wpcf7[data-wpcf7-id="5881"] .wpcf7-form,
.tk-newsletter-form {
  margin: 0;
}

.tk-newsletter .wpcf7-form p,
div.wpcf7[data-wpcf7-id="5881"] .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Micro-label above field (if visible); prefer placeholder-only via CF7 markup */
.tk-newsletter .wpcf7-form label,
div.wpcf7[data-wpcf7-id="5881"] .wpcf7-form label {
  display: block;
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.tk-newsletter .wpcf7-form label.tk-newsletter-label-sr,
div.wpcf7[data-wpcf7-id="5881"] label.tk-newsletter-label-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

.tk-newsletter-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
}

/* Inline email + button on desktop */
div.wpcf7[data-wpcf7-id="5881"] form.wpcf7-form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}

div.wpcf7[data-wpcf7-id="5881"] form.wpcf7-form > p:first-of-type {
  flex: 1 1 auto;
  min-width: 0;
}

div.wpcf7[data-wpcf7-id="5881"] form.wpcf7-form > p:nth-of-type(2) {
  flex: 0 0 auto;
}

div.wpcf7[data-wpcf7-id="5881"] form.wpcf7-form > .wpcf7-response-output {
  flex: 1 1 100%;
  margin-top: 0.85rem !important;
}

.tk-newsletter input[type="email"],
.tk-newsletter-form input[type="email"],
div.wpcf7[data-wpcf7-id="5881"] input.wpcf7-email,
div.wpcf7[data-wpcf7-id="5881"] input[type="email"] {
  display: block;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0.85rem 1rem !important;
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 300 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: #1a1a1a !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(26, 26, 26, 0.28) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tk-newsletter input[type="email"]::placeholder,
div.wpcf7[data-wpcf7-id="5881"] input[type="email"]::placeholder {
  color: rgba(26, 26, 26, 0.4);
  font-weight: 300;
}

.tk-newsletter input[type="email"]:focus,
div.wpcf7[data-wpcf7-id="5881"] input[type="email"]:focus {
  border-color: #1a1a1a !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
}

.tk-newsletter button[type="submit"],
.tk-newsletter-form button[type="submit"],
div.wpcf7[data-wpcf7-id="5881"] input.wpcf7-submit,
div.wpcf7[data-wpcf7-id="5881"] .wpcf7-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0.85rem 1.35rem !important;
  min-height: calc(0.85rem * 2 + 1.4em + 2px);
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  color: #1a1a1a !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.tk-newsletter button[type="submit"]:hover,
.tk-newsletter-form button[type="submit"]:hover,
div.wpcf7[data-wpcf7-id="5881"] input.wpcf7-submit:hover {
  color: #f7f5f1 !important;
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
}

.tk-newsletter button[type="submit"]:focus-visible,
div.wpcf7[data-wpcf7-id="5881"] input.wpcf7-submit:focus-visible {
  outline: 1px solid #8b7355;
  outline-offset: 3px;
}

div.wpcf7[data-wpcf7-id="5881"] .wpcf7-form-control-wrap,
div.wpcf7[data-wpcf7-id="5881"] span.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

div.wpcf7[data-wpcf7-id="5881"] br {
  display: none;
}

.tk-form-notice {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 300;
  font-size: 14px;
  text-align: center;
  margin: 0 0 1rem;
}
.tk-form-notice--ok { color: #5a6b55; }
.tk-form-notice--err { color: #8b4a3a; }

div.wpcf7[data-wpcf7-id="5881"] .wpcf7-response-output,
.tk-newsletter .wpcf7-response-output {
  margin: 0.85rem 0 0 !important;
  padding: 0.65rem 0 !important;
  border: none !important;
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 300 !important;
  font-size: 14px !important;
  text-align: center;
  background: transparent !important;
}

@media only screen and (max-width: 600px) {
  div.wpcf7[data-wpcf7-id="5881"] form.wpcf7-form,
  .tk-newsletter-row {
    flex-direction: column;
    align-items: stretch;
  }
  div.wpcf7[data-wpcf7-id="5881"] form.wpcf7-form > p:nth-of-type(2),
  .tk-newsletter-row button,
  div.wpcf7[data-wpcf7-id="5881"] input.wpcf7-submit {
    width: 100% !important;
  }
}

/* CF7 row markup (email wrap + submit side by side) */
div.wpcf7[data-wpcf7-id="5881"] .tk-newsletter-row {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
}
div.wpcf7[data-wpcf7-id="5881"] .tk-newsletter-row .wpcf7-form-control-wrap {
  flex: 1 1 auto;
  min-width: 0;
}
div.wpcf7[data-wpcf7-id="5881"] .tk-newsletter-row .wpcf7-submit {
  flex: 0 0 auto;
  align-self: stretch;
}
@media only screen and (max-width: 600px) {
  div.wpcf7[data-wpcf7-id="5881"] .tk-newsletter-row {
    flex-direction: column;
  }
  div.wpcf7[data-wpcf7-id="5881"] .tk-newsletter-row .wpcf7-submit {
    width: 100% !important;
  }
}

/* CF7 wraps row children in a single <p> — flex that instead */
div.wpcf7[data-wpcf7-id="5881"] .tk-newsletter-row > p {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
div.wpcf7[data-wpcf7-id="5881"] form.wpcf7-form {
  display: block;
}
@media only screen and (max-width: 600px) {
  div.wpcf7[data-wpcf7-id="5881"] .tk-newsletter-row > p {
    flex-direction: column;
  }
}

/* ==========================================================================
   Footer — paper gallery site map (3 columns)
   ========================================================================== */
#footer-outer,
#footer-outer[data-custom-color="true"],
body #footer-outer,
#footer-outer #copyright {
  background-color: #f7f5f1 !important;
  color: #1a1a1a !important;
}
#footer-outer,
#footer-widgets {
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}
#footer-outer .widget h4,
#footer-outer .widget .widgettitle,
#footer-outer .widgettitle {
  font-family: "Syne", sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  margin: 0 0 1.1rem !important;
}
#footer-outer .widget ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#footer-outer .widget ul li {
  margin: 0 0 0.55rem !important;
  padding: 0 !important;
}
#footer-outer .widget ul li a,
#footer-outer #copyright a,
#footer-outer p {
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 300 !important;
  font-size: 14px !important;
  color: #1a1a1a !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  opacity: 0.78;
  text-decoration: none !important;
}
#footer-outer .widget ul li a:hover {
  opacity: 1;
  color: #1a1a1a !important;
}
#footer-widgets .container .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 0;
}
#footer-widgets .container .row > div {
  text-align: left !important;
}
#footer-outer #copyright,
#footer-outer #copyright .container,
#footer-outer #copyright .col {
  background-color: #f7f5f1 !important;
  text-align: center;
}
#footer-outer #copyright .social li a,
#footer-outer #copyright .social li a i {
  color: #1a1a1a !important;
  border-color: rgba(26, 26, 26, 0.25) !important;
}
#footer-outer #copyright p,
#footer-outer #copyright .widget {
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 300 !important;
  font-size: 12px !important;
  opacity: 0.65;
}
@media only screen and (max-width: 999px) {
  #footer-widgets .container .row > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100%;
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   Home — align collection tiles with studio product grid
   ========================================================================== */
.home .tk-collection-tiles,
.home .wpb_row.tk-collection-tiles {
  /* in_container already matches studio; tame leftover full-bleed padding */
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.home .tk-collection-tiles .nectar-fancy-box,
.home .tk-collection-tiles .fancy-box {
  width: 100%;
}
/* Match column gutters feel with Woo products */
.home .tk-collection-tiles .vc_column_container,
.home .tk-collection-tiles > .span_12 > .vc_column_container {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* Tighter sync: collection tiles ↔ product cards */
@media only screen and (min-width: 1000px) {
  .home .tk-collection-tiles > .span_12,
  .home .tk-collection-tiles .row_col_wrap_12 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .home .tk-collection-tiles .wpb_column,
  .home .tk-collection-tiles .vc_column_container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  /* Woo minimal grid often uses 30px total gutter via padding */
  .home ul.products {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Align fancy tile outer edges with Woo product cards */
.home .tk-collection-tiles .vc_column_container,
.home .tk-collection-tiles .wpb_column,
.home .vc_col-sm-4:has(.nectar-fancy-box) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.home .tk-collection-tiles .vc_col-sm-4,
.home .vc_col-sm-4:has(.nectar-fancy-box) {
  /* recreate ~product gutter via column gap on the row */
}
.home .tk-collection-tiles > .span_12,
.home .wpb_row.tk-collection-tiles .row_col_wrap_12 {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.home .tk-collection-tiles .vc_col-sm-4,
.home .wpb_row.tk-collection-tiles .vc_col-sm-4 {
  width: calc((100% - 44px) / 3) !important;
  max-width: calc((100% - 44px) / 3) !important;
}
@media only screen and (max-width: 999px) {
  .home .tk-collection-tiles .vc_col-sm-4,
  .home .wpb_row.tk-collection-tiles .vc_col-sm-4 {
    width: 100% !important;
    max-width: 100% !important;
  }
  .home .tk-collection-tiles > .span_12,
  .home .wpb_row.tk-collection-tiles .row_col_wrap_12 {
    gap: 16px;
  }
}

/* ==========================================================================
   In-situ hover swap + statement band
   ========================================================================== */
ul.products li.product .hover-gallery-image,
ul.products li.product .background-color-behind .hover-gallery-image {
  opacity: 0;
  transition: opacity 0.35s ease;
}
ul.products li.product:hover .hover-gallery-image,
ul.products li.product:focus-within .hover-gallery-image {
  opacity: 1;
}
/* Prefer covering primary cleanly */
ul.products li.product .product-wrap img.hover-gallery-image,
ul.products li.product .product-image-wrap .hover-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
@media (hover: none) {
  /* Keep primary readable on touch; no sticky hover ghost */
  ul.products li.product .hover-gallery-image {
    opacity: 0 !important;
  }
}

.tk-insitu-band {
  background: #f7f5f1;
}
.tk-insitu-band .tk-insitu-heading h2,
.tk-insitu-band .nectar-split-heading h2 {
  font-family: "Syne", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.005em !important;
}
.tk-insitu-band .wpb_text_column p {
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #1a1a1a !important;
}
.tk-insitu-band-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Large gallery product cards (inspired by eigirdas.com/paveikslai)
   Image-first, paper frame, object-fit:contain — especially strong on mobile
   ========================================================================== */

/* Full-width main column (sidebar becomes top filter bar) */
body.tk-shop-top-filters.woocommerce .row:has(#sidebar),
body.tk-gallery-large.woocommerce .row:has(#sidebar) {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

body.tk-shop-top-filters #sidebar,
body.tk-shop-top-filters .post-area,
body.tk-gallery-large.woocommerce #sidebar.span_3,
body.tk-gallery-large.woocommerce .post-area.span_9 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---- Top filter bar (expanded by default; auto-hides into grid) ---- */
body.tk-shop-top-filters #sidebar {
  position: relative;
  z-index: 30;
  margin: 0 0 28px !important;
  order: -1;
}

body.tk-shop-top-filters #sidebar > .inner {
  position: relative;
  border: 1px solid rgba(26, 26, 26, 0.12);
  background: #fff;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

body.tk-shop-top-filters .tk-filter-bar {
  margin: 0;
}

body.tk-shop-top-filters .tk-filter-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display), "Syne", sans-serif;
  color: var(--tk-ink);
}

body.tk-shop-top-filters .tk-filter-toggle__label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.tk-shop-top-filters .tk-filter-toggle__hint {
  font-family: var(--font-body), "Libre Franklin", sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  opacity: 0.55;
}

body.tk-shop-top-filters .tk-filter-toggle__chev {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.7;
}

body.tk-shop-top-filters #sidebar.is-filter-open .tk-filter-toggle__chev {
  transform: rotate(-135deg);
  margin-top: 4px;
}

/* Expanded = full in-flow panel (not a collapsed strip / overlay dropdown). */
body.tk-shop-top-filters .tk-filter-panel {
  position: static;
  z-index: 40;
  background: #fff;
  border: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: none;
  padding: 8px 18px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px 32px;
}

body.tk-shop-top-filters .tk-filter-panel[hidden] {
  display: none !important;
}

body.tk-shop-top-filters .tk-filter-panel .widget {
  margin: 0 !important;
  padding: 8px 0 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.tk-shop-top-filters .tk-filter-panel .widget h4,
body.tk-shop-top-filters .tk-filter-panel .widget .widgettitle {
  font-family: var(--font-display), "Syne", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin: 0 0 12px !important;
  opacity: 0.7;
}

body.tk-shop-top-filters .tk-filter-panel .price_slider_wrapper {
  margin-top: 6px;
}

body.tk-shop-top-filters .tk-filter-panel .price_slider_amount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

body.tk-shop-top-filters .tk-filter-panel .widget_product_categories ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.tk-shop-top-filters .tk-filter-panel .widget_product_categories li {
  margin: 0 0 8px !important;
  padding: 0 !important;
}

/* Hide legacy price / category widgets (replaced by Palette · Series). */
body.tk-shop-top-filters .tk-filter-legacy-hidden,
body.tk-shop-top-filters .widget_price_filter,
body.tk-shop-top-filters .widget_product_categories {
  display: none !important;
}

body.tk-shop-top-filters .tk-filter-panel {
  grid-template-columns: 1.6fr 0.9fr;
  align-items: start;
}

body.tk-shop-top-filters .tk-filter-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.tk-shop-top-filters .tk-filter-list li {
  margin: 0 !important;
  padding: 0 !important;
}

body.tk-shop-top-filters .tk-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 8px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  background: transparent;
  color: var(--tk-ink);
  text-decoration: none !important;
  font-family: var(--font-body), "Libre Franklin", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

body.tk-shop-top-filters .tk-filter-chip:hover,
body.tk-shop-top-filters .tk-filter-chip:focus-visible {
  border-color: rgba(139, 115, 85, 0.55);
  color: var(--tk-ink);
}

body.tk-shop-top-filters .tk-filter-list li.is-active .tk-filter-chip,
body.tk-shop-top-filters .tk-filter-chip[aria-current="true"] {
  border-color: var(--tk-accent);
  background: rgba(139, 115, 85, 0.08);
}

body.tk-shop-top-filters .tk-filter-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.12);
}

body.tk-shop-top-filters .tk-filter-chip__label {
  white-space: nowrap;
}

body.tk-shop-top-filters .tk-filter-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--tk-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
}

body.tk-shop-top-filters .tk-widget-filter-clear {
  grid-column: 1 / -1;
  padding-top: 4px !important;
}

body.tk-shop-top-filters .tk-filter-clear {
  font-family: var(--font-body), "Libre Franklin", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--tk-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.tk-shop-top-filters .tk-filter-clear:hover {
  color: var(--tk-ink);
}

/* Auto-hide: tuck chrome; slim sticky hotzone for hover/focus peek */
body.tk-shop-top-filters #sidebar.is-filter-autohidden {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 14px;
  margin: 0 0 0 !important;
  overflow: visible;
}

body.tk-shop-top-filters #sidebar.is-filter-autohidden > .inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transform: translateY(calc(-100% + 3px));
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}

body.tk-shop-top-filters #sidebar.is-filter-autohidden.is-filter-peeking > .inner,
body.tk-shop-top-filters #sidebar.is-filter-autohidden:hover > .inner,
body.tk-shop-top-filters #sidebar.is-filter-autohidden:focus-within > .inner {
  transform: none;
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.08);
}

@media (max-width: 767px) {
  body.tk-shop-top-filters .tk-filter-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.tk-shop-top-filters .tk-filter-toggle__hint {
    display: none;
  }

  body.tk-shop-top-filters #sidebar.is-filter-autohidden {
    height: 10px;
  }
}

/* Product grid — 3 columns desktop, room to breathe */
body.tk-gallery-large ul.products,
body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.tax-palette ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* Visual-overload: room between cards — row ~56 / col ~48 */
  gap: 56px 48px !important;
  margin: 0 !important;
  padding: 0 0 48px !important;
  list-style: none !important;
}

body.tk-gallery-large ul.products::before,
body.tk-gallery-large ul.products::after,
body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after {
  display: none !important;
  content: none !important;
}

body.tk-gallery-large ul.products li.product,
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-palette ul.products li.product,
body.tax-product_cat ul.products li.product {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  padding: 0 !important;
}

/* Full-bleed image frame — taller portrait slot, art contained (not cropped) */
body.tk-gallery-large ul.products li.product .product-wrap,
body.woocommerce-shop ul.products li.product .product-wrap {
  position: relative;
  display: block;
}

body.tk-gallery-large ul.products li.product .product-wrap > a:first-child,
body.woocommerce-shop ul.products li.product .product-wrap > a:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f3f1ec;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.tk-gallery-large ul.products li.product .product-wrap > a:first-child img,
body.woocommerce-shop ul.products li.product .product-wrap > a:first-child img,
body.tk-gallery-large ul.products li.product .product-wrap img.attachment-woocommerce_thumbnail,
body.tk-gallery-large ul.products li.product .product-wrap img.attachment-large,
body.tk-gallery-large ul.products li.product .product-wrap img.size-large,
body.woocommerce-shop ul.products li.product .product-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
  margin: 0 auto !important;
}

/* Soften / disable Salient hover cover swap in large gallery (keeps art readable) */
body.tk-gallery-large ul.products li.product .hover-gallery-image {
  opacity: 0 !important;
  pointer-events: none !important;
}

body.tk-gallery-large ul.products li.product .product-meta,
body.woocommerce-shop ul.products li.product .product-meta {
  display: grid !important;
  /* Status natural width; price fills remainder and may shrink/wrap */
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  align-items: center !important;
  column-gap: 8px;
  row-gap: 6px;
  box-sizing: border-box !important;
  padding: 14px 14px 14px 10px !important;
  text-align: left !important;
  overflow: hidden;
}

body.tk-gallery-large ul.products li.product .product-meta > a,
body.woocommerce-shop ul.products li.product .product-meta > a,
body.tk-gallery-large ul.products li.product .tk-card-meta-top,
body.woocommerce-shop ul.products li.product .tk-card-meta-top,
body.tk-gallery-large ul.products li.product .tk-product-medium,
body.woocommerce-shop ul.products li.product .tk-product-medium {
  grid-column: 1 / -1;
}

body.tk-gallery-large ul.products li.product .tk-card-meta-top,
body.woocommerce-shop ul.products li.product .tk-card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
}

body.tk-gallery-large ul.products li.product .tk-card-size,
body.tk-gallery-large ul.products li.product .tk-card-year,
body.woocommerce-shop ul.products li.product .tk-card-size,
body.woocommerce-shop ul.products li.product .tk-card-year {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  line-height: 1.3 !important;
  color: var(--tk-ink);
  opacity: 0.72;
  text-transform: none;
}

body.tk-gallery-large ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tk-gallery-large ul.products li.product h2,
body.woocommerce-shop ul.products li.product h2 {
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  text-transform: none !important;
  color: var(--tk-ink) !important;
}

body.tk-gallery-large ul.products li.product .tk-product-medium,
body.woocommerce-shop ul.products li.product .tk-product-medium {
  margin-top: 0 !important;
  margin-bottom: 0.15rem;
}

body.tk-gallery-large ul.products li.product .tk-card-status,
body.woocommerce-shop ul.products li.product .tk-card-status {
  grid-column: 1;
  align-self: center;
  min-width: 0;
  margin: 0.35rem 0 0 !important;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3 !important;
  color: var(--tk-ink);
}

body.tk-gallery-large ul.products li.product .tk-card-status--available,
body.woocommerce-shop ul.products li.product .tk-card-status--available {
  color: #5a6b55;
}

body.tk-gallery-large ul.products li.product .tk-card-status--inquire,
body.woocommerce-shop ul.products li.product .tk-card-status--inquire {
  color: var(--tk-accent);
}

body.tk-gallery-large ul.products li.product .tk-card-status--sold,
body.woocommerce-shop ul.products li.product .tk-card-status--sold {
  color: rgba(26, 26, 26, 0.45);
}

body.tk-gallery-large ul.products li.product .price-hover-wrap,
body.woocommerce-shop ul.products li.product .price-hover-wrap {
  grid-column: 2;
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  margin: 0.35rem 0 0 !important;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  overflow: hidden;
}

body.tk-gallery-large ul.products li.product .price-hover-wrap .price,
body.woocommerce-shop ul.products li.product .price-hover-wrap .price,
body.tk-gallery-large ul.products li.product .price,
body.woocommerce-shop ul.products li.product .price {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 0.02em;
  line-height: 1.35 !important;
  text-align: right !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--tk-ink) !important;
  opacity: 1 !important;
}

body.tk-gallery-large ul.products li.product .price .amount,
body.woocommerce-shop ul.products li.product .price .amount {
  font-weight: 500 !important;
  white-space: inherit !important;
}

@media (min-width: 1200px) {
  body.tk-gallery-large ul.products,
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-palette ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 48px !important;
  }

  body.tk-gallery-large ul.products li.product .product-wrap > a:first-child,
  body.woocommerce-shop ul.products li.product .product-wrap > a:first-child {
    padding: 0;
    aspect-ratio: 4 / 5;
  }

  body.tk-gallery-large ul.products li.product .woocommerce-loop-product__title,
  body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.15rem !important;
  }
}

/* Tablet — 2 cols */
@media (max-width: 999px) {
  body.tk-gallery-large ul.products,
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-palette ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 40px !important;
  }

  body.tk-gallery-large ul.products li.product .product-wrap > a:first-child,
  body.woocommerce-shop ul.products li.product .product-wrap > a:first-child {
    padding: 0;
    aspect-ratio: 4 / 5;
  }
}

/* Mobile — one large artwork per row */
@media (max-width: 767px) {
  body.tk-gallery-large ul.products,
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-palette ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  body.tk-gallery-large ul.products li.product .product-wrap > a:first-child,
  body.woocommerce-shop ul.products li.product .product-wrap > a:first-child {
    padding: 0;
    aspect-ratio: 4 / 5;
  }

  body.tk-gallery-large ul.products li.product .woocommerce-loop-product__title,
  body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem !important;
  }

  body.tk-gallery-large ul.products li.product .product-meta,
  body.woocommerce-shop ul.products li.product .product-meta {
    padding: 14px 14px 14px 10px !important;
  }
}

/* ==========================================================================
   Load more — gallery archives (replaces visible numeric pagination when JS ready)
   ========================================================================== */

body.tk-gallery-large.tk-load-more-ready nav.woocommerce-pagination,
body.tk-gallery-large.tk-load-more-ready .woocommerce-pagination {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.tk-gallery-large .tk-load-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 56px;
  margin: 0;
}

body.tk-gallery-large .tk-load-more-wrap[hidden] {
  display: none !important;
}

body.tk-gallery-large .tk-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.9rem 1.6rem;
  min-width: 10.5rem;
  font-family: var(--font-body), "Libre Franklin", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--tk-ink);
  background: transparent;
  border: 1px solid var(--tk-ink);
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

body.tk-gallery-large .tk-load-more:hover,
body.tk-gallery-large .tk-load-more:focus-visible {
  color: var(--tk-paper);
  background-color: var(--tk-ink);
  border-color: var(--tk-ink);
}

body.tk-gallery-large .tk-load-more:focus-visible {
  outline: 1px solid var(--tk-accent);
  outline-offset: 3px;
}

body.tk-gallery-large .tk-load-more:disabled,
body.tk-gallery-large .tk-load-more[aria-busy="true"] {
  opacity: 0.55;
  cursor: wait;
}

/* ==========================================================================
   Related / upsells on single product — same card language as shop gallery
   (body.tk-gallery-large is archive-only; PDP related needs its own scope)
   ========================================================================== */

body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px !important;
  margin: 0 !important;
  padding: 0 0 24px !important;
  list-style: none !important;
  align-items: start;
}

body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after,
body.single-product .upsells.products ul.products::before,
body.single-product .upsells.products ul.products::after {
  display: none !important;
  content: none !important;
}

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}

body.single-product .related.products ul.products li.product .product-wrap,
body.single-product .upsells.products ul.products li.product .product-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0 !important;
}

body.single-product .related.products ul.products li.product .product-wrap > a:first-child,
body.single-product .upsells.products ul.products li.product .product-wrap > a:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f3f1ec;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex: 0 0 auto;
}

body.single-product .related.products ul.products li.product .product-wrap > a:first-child img,
body.single-product .upsells.products ul.products li.product .product-wrap > a:first-child img,
body.single-product .related.products ul.products li.product .product-wrap img,
body.single-product .upsells.products ul.products li.product .product-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
  margin: 0 auto !important;
}

body.single-product .related.products ul.products li.product .hover-gallery-image,
body.single-product .upsells.products ul.products li.product .hover-gallery-image {
  opacity: 0 !important;
  pointer-events: none !important;
}

body.single-product .related.products ul.products li.product .product-meta,
body.single-product .upsells.products ul.products li.product .product-meta {
  display: grid !important;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  align-items: center !important;
  align-content: start !important;
  column-gap: 8px;
  row-gap: 6px;
  box-sizing: border-box !important;
  padding: 14px 14px 14px 10px !important;
  text-align: left !important;
  overflow: hidden;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
}

body.single-product .related.products ul.products li.product .product-meta > a,
body.single-product .upsells.products ul.products li.product .product-meta > a,
body.single-product .related.products ul.products li.product .tk-card-meta-top,
body.single-product .upsells.products ul.products li.product .tk-card-meta-top,
body.single-product .related.products ul.products li.product .tk-product-medium,
body.single-product .upsells.products ul.products li.product .tk-product-medium {
  grid-column: 1 / -1;
}

body.single-product .related.products ul.products li.product .tk-card-meta-top,
body.single-product .upsells.products ul.products li.product .tk-card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  min-height: 1.3em;
}

body.single-product .related.products ul.products li.product .tk-card-size,
body.single-product .related.products ul.products li.product .tk-card-year,
body.single-product .upsells.products ul.products li.product .tk-card-size,
body.single-product .upsells.products ul.products li.product .tk-card-year {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  line-height: 1.3 !important;
  color: var(--tk-ink);
  opacity: 0.72;
  text-transform: none;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
body.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title,
body.single-product .related.products ul.products li.product h2,
body.single-product .upsells.products ul.products li.product h2 {
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  text-transform: none !important;
  color: var(--tk-ink) !important;
}

body.single-product .related.products ul.products li.product .tk-product-medium,
body.single-product .upsells.products ul.products li.product .tk-product-medium {
  margin-top: 0 !important;
  margin-bottom: 0.15rem;
}

body.single-product .related.products ul.products li.product .tk-card-status,
body.single-product .upsells.products ul.products li.product .tk-card-status {
  grid-column: 1;
  align-self: center;
  min-width: 0;
  margin: 0.35rem 0 0 !important;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3 !important;
  color: var(--tk-ink);
}

body.single-product .related.products ul.products li.product .tk-card-status--available,
body.single-product .upsells.products ul.products li.product .tk-card-status--available {
  color: #5a6b55;
}

body.single-product .related.products ul.products li.product .tk-card-status--inquire,
body.single-product .upsells.products ul.products li.product .tk-card-status--inquire {
  color: var(--tk-accent);
}

body.single-product .related.products ul.products li.product .tk-card-status--sold,
body.single-product .upsells.products ul.products li.product .tk-card-status--sold {
  color: rgba(26, 26, 26, 0.45);
}

body.single-product .related.products ul.products li.product .price-hover-wrap,
body.single-product .upsells.products ul.products li.product .price-hover-wrap {
  grid-column: 2;
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  margin: 0.35rem 0 0 !important;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
  min-width: 0;
  min-height: 1.35em;
  max-width: 100%;
  overflow: hidden;
}

/* When Salient puts cart/quick-view inside price wrap (originals), keep the cell */
body.single-product .related.products ul.products li.product .price-hover-wrap:not(:has(.price .amount)),
body.single-product .upsells.products ul.products li.product .price-hover-wrap:not(:has(.price .amount)) {
  min-height: 1.35em;
}

body.single-product .related.products ul.products li.product .price-hover-wrap .price,
body.single-product .upsells.products ul.products li.product .price-hover-wrap .price,
body.single-product .related.products ul.products li.product .price,
body.single-product .upsells.products ul.products li.product .price {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 0.02em;
  line-height: 1.35 !important;
  text-align: right !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--tk-ink) !important;
  opacity: 1 !important;
}

body.single-product .related.products ul.products li.product .price .amount,
body.single-product .upsells.products ul.products li.product .price .amount {
  font-weight: 500 !important;
  white-space: inherit !important;
}

body.single-product .related.products ul.products li.product .price .screen-reader-text,
body.single-product .upsells.products ul.products li.product .price .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 999px) {
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 28px !important;
  }
}

@media (max-width: 767px) {
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  body.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem !important;
  }
}

