/*
Theme Name: Krumpld Child
Template: kadence
Description: Custom child theme for krumpld
Version: 1.0.0   
*/
/* ==========================================
   KRUMPLD TYPOGRAPHY SYSTEM
   ========================================== */

/* Base font */
body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: #111;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  margin: 0;
}

/* Display serif (editorial only) */
.kp-display {
  font-family: 'Cormorant', serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* Force display font over Kadence defaults */
.kp-display {
  font-family: 'Cormorant', serif !important;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ==========================================
   HEADER TYPOGRAPHY FIX (GLOBAL)
   ========================================== */

.site-header,
.site-header * {
  font-family: 'Satoshi', sans-serif !important;
}

/* Navigation links */
.site-header a {
  font-size: 14px !important;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ==========================================
   HEADER CLEANUP — REMOVE CLUTTER
   ========================================== */

/* Only remove unnecessary extras, keep nav intact */
@media (max-width: 767px) {
  .site-header .header-html,
  .site-header .header-button,
  .site-header .header-search,
  .site-header .header-social {
    display: none !important;
  }
}

/* Remove background + borders */
.site-header {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
/* ==========================================
   KRUMPLD MOTION SYSTEM
   ========================================== */

:root {
  --kr-motion-fast: 0.15s ease-out;
  --kr-motion-base: 0.2s ease-out;
  --kr-motion-slow: 0.25s ease-out;
}

/* Apply to interactive elements */
a,
button,
.woocommerce ul.products li.product img,
.add_to_cart_button,
.size-btn,
.color-swatch {
  transition:
    opacity var(--kr-motion-base),
    transform var(--kr-motion-base),
    color var(--kr-motion-base),
    background var(--kr-motion-base);
}
/* ==========================================
   SHOP — REMOVE CARD UI
   ========================================== */

/* Target Woo product cards */
.woocommerce ul.products li.product {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Remove inner wrappers if Kadence adds any */
.woocommerce ul.products li.product .content-wrap,
.woocommerce ul.products li.product .product-details,
.woocommerce ul.products li.product .kt-product-inner {
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* ==========================================
   SHOP — PRODUCT BLOCK STRUCTURE
   ========================================== */

/* Product image */
.woocommerce ul.products li.product img {
  margin-bottom: 14px;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 500;
  margin-top: 0 !important; /* ADD THIS */
  margin-bottom: 4px;
  color: #111;
  line-height: 1.35;
}

/* Price */
.woocommerce ul.products li.product .price {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
  opacity: 0.6;
}

/* Hide product excerpt on shop loop */
.woocommerce ul.products li.product .product-excerpt {
  display: none !important;
}


/* ==========================================
   SHOP — REMOVE IMAGE ZOOM (FIX)
   ========================================== */

.woocommerce ul.products li.product img {
  transform: none !important;
  transition: opacity 0.2s ease !important;
}

/* Remove any hover scaling from Kadence */
.woocommerce ul.products li.product:hover img {
  transform: none !important;
}

/* Subtle dim instead */
.woocommerce ul.products li.product:hover img {
  opacity: 0.94;
}
/* ==========================================
   CTA SPACING — CLEAN RHYTHM FIX
   ========================================== */

.woocommerce ul.products li.product a.add_to_cart_button {
  margin-top: 0 !important;
}
/* ==========================================
   KRUMPLD FOOTER POLISH
   ========================================== */

.site-footer {
  background: #0a0a0a;
  color: #d1d1d1;
  padding: 60px 40px;
}

.site-footer .site-title {
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 10px;
}

.site-footer p {
  font-size: 13px;
  line-height: 1.6;
  color: #aaa;
}

.site-footer h2,
.site-footer h3 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 16px;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .site-info {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 12px;
  color: #777;
  text-align: center;
}

/* ==========================================
   CART — THUMBNAIL SIZE (CSS works fine here)
   ========================================== */

/* Desktop & Tablet */
.wc-block-cart-items td.wc-block-cart-item__image {
  width: 150px !important;
  min-width: 150px !important;
  vertical-align: top !important;
  padding: 12px 16px 12px 0 !important;
}
.wc-block-cart-items td.wc-block-cart-item__image a {
  display: block !important;
  width: 140px !important;
  height: 175px !important;
}
.wc-block-cart-items td.wc-block-cart-item__image img {
  width: 140px !important;
  height: 175px !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: 4px !important;
  display: block !important;
}

/* Mobile */
@media (max-width: 600px) {
  .wc-block-cart-items td.wc-block-cart-item__image {
    width: 110px !important;
    min-width: 110px !important;
    padding: 10px 12px 10px 0 !important;
  }
  .wc-block-cart-items td.wc-block-cart-item__image a {
    width: 100px !important;
    height: 125px !important;
  }
  .wc-block-cart-items td.wc-block-cart-item__image img {
    width: 100px !important;
    height: 125px !important;
  }
}
/* ==========================================
   BUTTON SYSTEM — KRUMPLD
   ========================================== */

/* PRIMARY BUTTON */

button.alt,
.woocommerce button.button.alt,
#place_order {

  background: #111 !important;
  color: #fff !important;
  border: none !important;
}

button.alt:hover,
#place_order:hover {
  opacity: 0.85;
}
/* SECONDARY BUTTON */
.woocommerce a.button:not(.alt),
.woocommerce button.button:not(.alt) {

  background: transparent !important;
  color: #111 !important;
  border: 1px solid #ddd !important;
}

.woocommerce a.button:not(.alt):hover {
  border-color: #111 !important;
}
/* ==========================================
   BUTTON RESET — FORCE CONSISTENCY
   ========================================== */

button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {

  border-radius: 0 !important; /* sharp edges */
  box-shadow: none !important;
  background-image: none !important;

  text-transform: none !important;
  letter-spacing: 0.04em;

  transition: opacity 0.2s ease, background 0.2s ease;
}
/* REMOVE BLUE HOVER */

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: inherit !important;
  color: inherit !important;
}
/* FORCE REMOVE UPPERCASE FROM ALL BUTTONS */

button,
.woocommerce button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button {

  text-transform: none !important;
}
/* FIX LINK-INSIDE-BUTTON ISSUE */

.kp-btn,
.kp-btn:visited,
.kp-btn:hover,
.kp-btn:active {
  color: #fff !important;
  text-decoration: none !important;
}

.kp-btn:hover {
  opacity: 0.85;
}
/* FIX "VIEW CART" BUTTON (AJAX ADDED) */

a.added_to_cart {

  background: #111 !important;
  color: #fff !important;
  border: none !important;

  padding: 14px 24px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none !important;

  border-radius: 0 !important;

  display: inline-block;
}

a.added_to_cart:hover {
  opacity: 0.85;
  color: #fff !important;
}
/* VIEW CART FIX */
body .woocommerce a.button.wc-forward {

  background: #111 !important;
  color: #fff !important;

  border: none !important;
  border-radius: 0 !important;

  font-size: 14px !important;
  text-transform: none !important;

  padding: 14px 22px !important;
}

body .woocommerce a.button.wc-forward:hover {
  background: #111 !important;
  color: #fff !important;
  opacity: 0.85;
}

/* REMOVE UPPERCASE */
body .woocommerce a.checkout-button,
body .woocommerce button.button,
body .woocommerce .button {

  text-transform: none !important;
  letter-spacing: 0.04em !important;
}

/* PAY BUTTON FIX */
#payment #place_order {

  background: #111 !important;
  color: #fff !important;

  border-radius: 0 !important;
  border: none !important;

  transition: opacity 0.2s ease;
}

#payment #place_order:hover {
  opacity: 0.85;
}

/* FIX CUSTOM BUTTON HOVER */
.kp-btn,
.kp-btn:hover {

  color: #fff !important;
  background: #111 !important;

  text-decoration: none !important;
}

/* ==========================================
   BUTTON FONT SYSTEM
   ========================================== */

body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce .button,
body .kp-btn {

  font-family: inherit !important;   /* unify */
  font-size: 14px !important;
  font-weight: 500 !important;

  letter-spacing: 0.04em !important;
  text-transform: none !important;

}
/* FORCE REMOVE UPPERCASE */
.checkout-button,
.checkout-button * {
  text-transform: none !important;
}

/* SECONDARY BUTTON SYSTEM */

body .woocommerce a.button.wc-forward {

  background: transparent !important;
  color: #111 !important;

  border: 1px solid #ddd !important;
  border-radius: 0 !important;

  font-size: 14px !important;
}

body .woocommerce a.button.wc-forward:hover {
  border-color: #111 !important;
  color: #111 !important;
}
/* FAILURE SECONDARY BUTTON */

body .kp-btn-secondary,
body .woocommerce a.button:not(.alt) {

  background: transparent !important;
  color: #111 !important;

  border: 1px solid #ddd !important;
  border-radius: 0 !important;

  padding: 14px 24px !important;
}

body .kp-btn-secondary:hover {
  border-color: #111 !important;
}

/* ==========================================
   SECURE CHECKOUT — PERFECT HOVER
   ========================================== */

body .woocommerce a.checkout-button.button.alt {

  text-transform: none !important;
  letter-spacing: 0.04em !important;

  color: #fff !important;
  background: #111 !important;

  transition: background 0.2s ease;
}

body .woocommerce a.checkout-button.button.alt:hover {

  background: #2a2a2a !important; /* lighter black */
  color: #fff !important; /* force white */
}

/* ==========================================
   VIEW CART — CLEAN SECONDARY BUTTON
   ========================================== */

body .woocommerce a.button.wc-forward {

  background: transparent !important;
  color: #111 !important;

  border: 1px solid #ddd !important;
  border-radius: 0 !important;

}

/* hover — NO weird grey fill */
body .woocommerce a.button.wc-forward:hover {

  background: transparent !important;
  color: #111 !important;

  border-color: #111 !important;
}

/* ==========================================
   GLOBAL BUTTON TYPOGRAPHY SYSTEM
   ========================================== */

body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce .button,
body a.button,
body button,
body .kp-btn {

  /* FONT */
  font-family: var(--global-body-font-family) !important;
  font-size: 14px !important;
  font-weight: 500 !important;

  /* TEXT STYLE */
  letter-spacing: 0.04em !important;
  text-transform: none !important;

  /* ALIGNMENT */
  text-align: inherit !important;

}



/* =========================
   KP SHOP LAYOUT
========================= */

.woocommerce-page .content-area {
  padding: 40px 20px 60px;
}

.woocommerce ul.products {
  max-width: 1200px;
  margin: 0 auto;
}



/* =========================
   REMOVE WOO CLUTTER
========================= */

.woocommerce-result-count,
.woocommerce-ordering {
  display: none !important;
}


/* FIX SHOP HEADER SPACING */

h1.entry-title {
  margin-bottom: 20px;
}

.woocommerce-page .content-area {
  padding: 40px 20px 60px;
}

h1.entry-title {
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 16px;
}


/* REMOVE KADENCE CONTENT WRAPPER SPACING */

.page-id-8 .content-area {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* REMOVE KADENCE INNER CONTAINER EFFECT */

.page-id-8 .content-container {
  max-width: 100% !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* REMOVE KADENCE ICONS INSIDE CTA */

.woocommerce ul.products li.product a.add_to_cart_button .kadence-svg-iconset {
  display: none !important;
}

/* CONTROL SHOP WIDTH */

/* EXPAND SHOP WIDTH — CORRECT TARGET */

.woocommerce-page .content-container {
  max-width: 1400px !important;
}
.woocommerce-page .content-area {
  padding: 30px 16px 60px;
}

.woocommerce ul.products li.product img {
  border-radius: 4px;
}

/* REMOVE KADENCE GRID CLASS EFFECT */

.woocommerce ul.products.grid-cols-4 {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* GLOBAL BACKGROUND */

body {
  background-color: #f5f5f5;
}

.woocommerce-page {
  background-color: #f5f5f5;
}
/* ABOUT PAGE  */
/* REMOVE INNER BOX */

.page-id-85 .content-container {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ABOUT PAGE BACKGROUND */

.page-id-85 {
  background-color: #ffffff !important;
}

/* TEXT COLUMN WIDTH */

.page-id-85 .entry-content {
  max-width: 640px;
  margin: 0 auto;
}

.page-id-85 .entry-content p {
  margin-bottom: 32px;
  line-height: 1.6;
}
.about-label {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.5;
  text-transform: lowercase;
}

/* ABOUT PAGE — LABEL */

.page-id-85 .about-label {
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.5;
  text-transform: lowercase;
}
/* ABOUT PAGE — HIGHLIGHT LINE */

.page-id-85 .about-highlight {
  font-size: 18px;
  font-weight: 500;
  margin-top: 8px;
  display: block;
}
.page-id-85 .about-highlight {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.page-id-85 a {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.6;
  text-decoration: none;
}

.page-id-85 a:hover {
  opacity: 1;
}

/* ABOUT HERO */
.page-id-85 .about-hero {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* ABOUT CLOSING */
.page-id-85 .about-closing {
  font-size: 22px;
  font-weight: 500;
  margin-top: 10px;
}

.page-id-85 .about-closing::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: #dcdcdc;
  margin-bottom: 24px;
}
/* ABOUT PAGE — BACK LINK */

.page-id-85 .about-back-link a {
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.6;
  text-decoration: none;
  display: inline-block;
  margin-top: 16px;
}
.page-id-85 .about-back-link {
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.6);
  display: inline-block;
  margin-top: 32px;
}

.page-id-85 .about-back-link::before {
  content: "← ";
}
.page-id-85 .about-back-link:hover {
  color: rgba(0,0,0,1);
}

.page-id-85 .about-back-link a:hover {
  opacity: 1;
}

.page-id-85 .about-back-link a {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-id-85 .about-back-link a:hover {
  opacity: 1;
  transform: translateX(-2px);
}
.page-id-85 .entry-content p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.page-id-85 .entry-content {
  padding-top: 60px;
  padding-bottom: 100px;
}

.page-id-85 .entry-content {
  max-width: 560px;
}
.page-id-85 .entry-content p:nth-of-type(2) {
  margin-bottom: 28px;
}

/* ABOUT PAGE — MOBILE PADDING */

.page-id-85 .entry-content {
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .page-id-85 .entry-content {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (min-width: 1024px) {
  .page-id-85 .entry-content {
    margin-left: 120px;
    margin-right: auto;
  }
}
.page-id-85 .entry-content p {
  margin-bottom: 14px;
}
.page-id-85 .entry-content a {
  font-weight: 400;
}
.page-id-85 .entry-content a {
  letter-spacing: 0.08em;
}
.page-id-85 .entry-content a {
  color: rgba(0,0,0,0.6);
}
.page-id-85 .entry-content a:hover {
  color: rgba(0,0,0,1);
}
.page-id-85 .entry-content a {
  display: inline-block;
  margin-top: 32px;
}
/* Fix footer tagline alignment on tablet */



@media (min-width: 768px) and (max-width: 1024px) {

  .site-bottom-footer-inner-wrap .footer-widget-area-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-bottom-footer-inner-wrap .footer-widget-area-inner p {
    text-align: center;
    white-space: nowrap;
  }
  
    .site-middle-footer-wrap .footer-widget-area-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-middle-footer-wrap .footer-widget-area-inner p {
    text-align: center;
    white-space: nowrap;
  }
}

/* ==========================================
   SHOP — CLEAN HOVER (SAFE OVERRIDE)
   ========================================== */

/* Keep Kadence structure, just simplify visuals */

/* Remove icon clutter */
.product-action-wrap .kadence-svg-iconset {
    display: none !important;
}

/* Optional: reduce aggressive hover effects */
.woocommerce ul.products li.product:hover img {
    transform: none !important;
}
/* ==========================================
   SHOP — GRID SYSTEM (DESIGN BIBLE)
   ========================================== */

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px; /* vertical | horizontal */
  margin: 24px auto !important;
  padding: 0 !important;
}

/* Desktop only */
@media (min-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }
}

/* Remove default Woo spacing conflicts */
.woocommerce ul.products li.product {
  margin: 0 !important;
  padding: 0 !important;
}


/* ==========================================
   SHOP — HOVER TONE SYSTEM (IMAGE DIM)
   ========================================== */

/* Ensure smooth transition */
.woocommerce ul.products li.product img {
  transition: opacity 0.25s ease;
}

/* Subtle dim on hover (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .woocommerce ul.products li.product:hover img {
    opacity: 0.92;
  }
}

/* ==========================================
   FIX — REMOVE KADENCE HOVER TEXT SHIFT
   ========================================== */

/* Stop content from sliding up */
.woocommerce ul.products li.product .product-details {
  transform: none !important;
}

/* Stop hover-triggered movement */
.woocommerce ul.products li.product:hover .product-details {
  transform: none !important;
}

/* Ensure stable stacking */
.woocommerce ul.products li.product .product-details {
  position: static !important;
}

/* ==========================================
   FIX — CTA CLIPPING (ALLOW OVERFLOW)
   ========================================== */

/* Allow content to extend naturally */
.woocommerce ul.products li.product {
  overflow: visible !important;
}

/* Ensure inner wrapper doesn’t clip */
.woocommerce ul.products li.product .product-details {
  overflow: visible !important;
}


/* ==========================================
   CTA — SMOOTH VISIBILITY SYSTEM (FINAL)
   ========================================== */

/* Hover */
@media (hover: hover) and (pointer: fine) {
  .woocommerce ul.products li.product:hover a.add_to_cart_button {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ==========================================
   PRODUCT CARD — SPACING SYSTEM
   ========================================== */

/* Title → Price */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  margin-bottom: 4px !important;
  padding-bottom: 0 !important;
}

/* Hide excerpt */
.woocommerce ul.products li.product .product-excerpt {
  display: none !important;
}

/* Kadence wrapper padding reset */
.woocommerce ul.products li.product .product-details.content-bg {
  padding-top: 0 !important;
}

/* Ensure CTA wrapper is always left-aligned */
.woocommerce ul.products li.product .product-details,
.woocommerce ul.products li.product .product-action-wrap {
  text-align: left !important;
}
/* ==========================================
   MOBILE — TYPOGRAPHY + CTA WRAP FIX
   ========================================== */

@media (max-width: 480px) {

  /* Title */
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    line-height: 1.3;
  }

  /* Price */
  .woocommerce ul.products li.product .price {
    font-size: 12px;
  }

  /* CTA */
  .woocommerce ul.products li.product a.add_to_cart_button {
    font-size: 12px;
    white-space: nowrap; /* KEY FIX */
  }

}

/* ==========================================
   TABLET TYPOGRAPHY
   ========================================== */

@media (max-width: 1024px) {

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
  }

  .woocommerce ul.products li.product .price {
    font-size: 12.5px;
  }
}

/* ==========================================
CTA SYSTEM — CLEAN (FINAL)
========================================== */

/* 1. BASE RESET + TYPOGRAPHY */
.woocommerce ul.products li.product a.add_to_cart_button {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;

  padding: 0 !important;
  margin: 0 !important;

  color: #111;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: left !important;

  display: inline-block;
  white-space: nowrap;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: none;
}

/* Remove Kadence icons */
.woocommerce ul.products li.product a.add_to_cart_button .kadence-svg-iconset {
  display: none !important;
}

/* 3. MOBILE / TABLET — always visible */
@media (hover: none) {
  .woocommerce ul.products li.product .product-action-wrap {
    position: static !important;
    margin-top: 8px !important;
  }
}

/* ==========================================
   PRODUCT CARD — SPACING SYSTEM (FINAL)
   ========================================== */

/* Title spacing */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin-top: 16px;
  margin-bottom: 4px;
}

/* Price spacing */
.woocommerce ul.products li.product .price {
  margin-bottom: 10px;
}

/* ==========================================
   CTA SPACING — FINAL (EDITORIAL SYSTEM)
   ========================================== */
/* DESKTOP — REFINED CTA INTERACTION */
/* Desktop — controlled compression */
@media (hover: hover) and (pointer: fine) {
  .woocommerce ul.products li.product .product-action-wrap {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 0 !important;
    margin-top: -4px !important;
  }
}

/* Ensure CTA aligns left (override global button system) */
.woocommerce ul.products li.product a.add_to_cart_button {
  text-align: left !important;
}

/* MOBILE / TABLET — CTA visibility + spacing */
@media (hover: none) and (pointer: coarse) {
  .woocommerce ul.products li.product .product-action-wrap {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    height: auto !important;
    overflow: visible !important;
    margin-top: 0px !important;
  }
}
/* Override Kadence wrapper padding — global */
.woocommerce ul.products li.product .product-action-wrap {
  padding: 0 !important;
  margin-left: 0 !important;
}

/* ==========================================
   SHOP — IMPERFECTION SYSTEM (MOBILE)
   ========================================== */

/* MOBILE — CLEAR STAGGER (2-COLUMN LOGIC) */
@media (max-width: 768px) {

  /* Right column */
  .woocommerce ul.products li.product:nth-child(2n) {
    transform: translateY(6px);
  }

  /* Occasional variation to avoid rigidity */
  .woocommerce ul.products li.product:nth-child(6n) {
    transform: translateY(10px);
  }

}

/* ==========================================
   SHOP — IMPERFECTION SYSTEM (TABLET)
   ========================================== */

/* TABLET — STRONGER STAGGER */
@media (min-width: 769px) and (max-width: 1023px) {

  .woocommerce ul.products li.product:nth-child(2n) {
    transform: translateY(10px);
  }

  .woocommerce ul.products li.product:nth-child(5n) {
    transform: translateY(14px);
  }

}

/* ==========================================
   SHOP — IMPERFECTION SYSTEM (DESKTOP)
   ========================================== */

@media (min-width: 1024px) {

  /* Middle column */
  .woocommerce ul.products li.product:nth-child(3n+2) {
    transform: translateY(8px);
  }

  /* Right column */
  .woocommerce ul.products li.product:nth-child(3n) {
    transform: translateY(14px);
  }

}

/* ==========================================
   SHOP — CTA INTERACTION (DESKTOP ONLY)
   ========================================== */
@media (min-width: 1025px) {

  .woocommerce ul.products li.product a.add_to_cart_button {
    position: relative;
    opacity: 0.6;
    transition: opacity 0.2s ease;
  }

  .woocommerce ul.products li.product:hover a.add_to_cart_button {
    opacity: 1;
  }

  li.product .product-action-wrap .add_to_cart_button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  li.product:hover .product-action-wrap .add_to_cart_button,
  li.product.krumpld-product-added .product-action-wrap .add_to_cart_button {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
  }
}

/* Added label — all devices */
.woocommerce ul.products li.product a.add_to_cart_button.krumpld-show-added {
  position: relative;
  color: transparent !important;
  pointer-events: none !important;
}

.woocommerce ul.products li.product a.add_to_cart_button.krumpld-show-added::after {
  content: "Added ✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #111;
  pointer-events: none;
}
/* Hide WooCommerce forward link */
li.product a.added_to_cart.wc-forward {
  display: none !important;
}

/* ==========================================
   SHOP — FULL TYPOGRAPHY ALIGNMENT
   ========================================== */

.page-title.archive-title,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {

    font-family: inherit !important;   /* 🔥 ensures same font */
    font-weight: 500 !important;       /* match PDP tone */

    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.01em;

    text-transform: none;
}

/* ==========================================
   MOBILE HEADER — KRUMPLD
   ========================================== */

@media (max-width: 767px) {

  .site-header .site-header-row-container-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px !important;
  }

  /* Logo */
  .site-branding {
    flex: 1;
  }

  /* Right controls */
  .header-navigation,
  .header-cart {
    display: flex;
    align-items: center;
    gap: 16px;
  }

}

/* ==========================================
   MENU TOGGLE BUTTON
   ========================================== */

.krumpld-menu-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;

  width: 28px;
  height: 20px;

  display: none;
  flex-direction: column;
  justify-content: space-between;

  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.krumpld-menu-toggle span {
  display: block;
  height: 2px;
  background: #111;
  width: 100%;
}
.krumpld-menu-toggle:focus,
.krumpld-menu-toggle:active {
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .krumpld-menu-toggle {
    display: flex;
  }
}
/* ==========================================
   MOBILE MENU PANEL
   ========================================== */

.krumpld-mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9998;
  overscroll-behavior: contain;
  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.krumpld-mobile-menu.is-open {
  transform: translateY(0);
}
.krumpld-mobile-menu.is-open .krumpld-menu li {
  opacity: 1;
  transform: translateY(0);
}

/* slight stagger */
.krumpld-mobile-menu.is-open .krumpld-menu li:nth-child(1) { transition-delay: 0.05s; }
.krumpld-mobile-menu.is-open .krumpld-menu li:nth-child(2) { transition-delay: 0.1s; }
.krumpld-mobile-menu.is-open .krumpld-menu li:nth-child(3) { transition-delay: 0.15s; }
.krumpld-mobile-menu.is-open .krumpld-menu li:nth-child(4) { transition-delay: 0.2s; }

.krumpld-mobile-menu .menu-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

/* ==========================================
   KRUMPLD MENU RESET (WP MENU)
   ========================================== */

.krumpld-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.krumpld-menu li {
  list-style: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.krumpld-menu a {
  font-size: 22px;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  letter-spacing: 0.02em;
}

.krumpld-menu a:active {
  opacity: 0.4;
}
/* ==========================================
   REMOVE KADENCE MOBILE TOGGLE (SAFE)
   ========================================== */

@media (max-width: 767px) {
  .mobile-toggle-open-container,
  .menu-toggle-open,
  .header-menu-toggle,
  .menu-toggle {
    display: none !important;
  }
}

/* ==========================================
   ACTIVE MENU STATE
   ========================================== */

.krumpld-menu .current-menu-item > a,
.krumpld-menu .current_page_item > a {
  opacity: 0.5;
}

/* ==========================================
   CHECKOUT CTA — SMALLER MOBILE SCREEN FIX
   ========================================== */

@media (max-width: 480px) {

  #place_order {

    width: 100% !important;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

}

/* ==========================================
   FIX: SWATCH COLOR OVERRIDE BUG
   ========================================== */

/* Prevent background override */
.variable-item,
.variable-item span {
    background-color: inherit !important;
}

/* Keep real color on hover */
.variable-item:hover,
.variable-item:focus {
    background-color: inherit !important;
}

/* Keep real color when selected */
.variable-item.selected,
.variable-item.active {
    background-color: inherit !important;
}

/* Interaction should be via border, not fill */
.variable-item {
    border: 1px solid transparent;
}

.variable-item:hover {
    border-color: #111;
}

.variable-item.selected {
    border-color: #111;
    box-shadow: 0 0 0 1px #111 inset;
}


/* Krumpld Lightbox */

body.single-product .kr-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

body.single-product .kr-lightbox img {
    max-width: 90%;
    max-height: 90%;
}

body.single-product .kr-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px !important;
  line-height: 1.35;
}