/* ==========================================================================
   Chłonę Design — WooCommerce Styles (Shop Grid, Badges, Single Product)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shop Archive Header & Toolbar
   -------------------------------------------------------------------------- */
.shop-page-header {
  padding: 36px 20px 18px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .shop-page-header {
    padding: 96px 48px 28px;
  }
}

.shop-page-header h1 {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-light);
}

@media (min-width: 900px) {
  .shop-toolbar {
    padding: 20px 48px;
  }
}

.shop-toolbar__count {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.shop-toolbar__filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  background-color: var(--bg);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Seamless Product Grid (Border-Grid per Design)
   -------------------------------------------------------------------------- */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1px !important;
  background-color: var(--line) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 680px) {
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (min-width: 1080px) {
  ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

ul.products li.product {
  background-color: var(--bg) !important;
  padding: 0 0 28px !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
  text-align: left !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

/* Product Card Photo Container */
.product-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background-color: var(--bg-card);
  overflow: hidden;
  margin-bottom: 20px;
}

.product-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

ul.products li.product:hover .product-card-thumb-wrap img {
  transform: scale(1.03);
}

/* Badges */
.product-badges-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-badge {
  display: inline-block;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  line-height: 1;
}

.product-badge--low-stock {
  background-color: #fff9eb;
  color: #8c6819;
}

.product-badge--sale {
  background-color: var(--terracotta-soft);
  color: var(--ink);
}

/* Titles & Prices in Loop */
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 22px 6px;
  color: var(--ink);
}

ul.products li.product .price {
  margin: 0 22px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink-muted);
}

ul.products li.product .price ins {
  text-decoration: none;
  color: var(--terracotta);
  font-weight: 600;
}

ul.products li.product .price del {
  opacity: 0.55;
  margin-right: 8px;
}

ul.products li.product .button {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Product Archive Pagination
   -------------------------------------------------------------------------- */
.woocommerce-pagination {
  display: flex !important;
  justify-content: center !important;
  margin: 56px 0 40px !important;
  width: 100% !important;
  clear: both;
}

.woocommerce-pagination ul.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.woocommerce-pagination ul.page-numbers li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  border: none !important;
}

.woocommerce-pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 4px !important;
  background-color: var(--bg) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
  line-height: 1 !important;
}

.woocommerce-pagination a.page-numbers:hover {
  background-color: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important;
}

.woocommerce-pagination span.page-numbers.current {
  background-color: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important;
  font-weight: 600 !important;
}

.woocommerce-pagination .page-numbers.prev,
.woocommerce-pagination .page-numbers.next {
  padding: 0 18px !important;
  font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   Single Product Layout — Container & Grid
   -------------------------------------------------------------------------- */
.product-single-container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 0 80px;
}

@media (min-width: 900px) {
  .product-single-container {
    padding: 96px 48px 120px;
  }
}

.chlone-single-product-layout {
  display: block;
  margin: 0;
}

@media (min-width: 900px) {
  .chlone-single-product-layout {
    display: grid !important;
    grid-template-columns: 1.15fr 1fr !important;
    gap: 72px !important;
    align-items: start !important;
  }
}

/* --------------------------------------------------------------------------
   Single Product — Gallery Unit
   -------------------------------------------------------------------------- */
.chlone-product-gallery-unit {
  position: relative;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 899px) {
  body.single-product {
    overflow-x: clip !important;
    max-width: 100% !important;
  }

  body.single-product .site-header {
    display: none !important;
  }

  .product-single-container {
    padding: 0 0 40px !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  .product-single-container > .chlone-breadcrumbs {
    display: none !important;
  }

  .chlone-single-product-layout {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    margin: 0 !important;
  }

  .chlone-product-gallery-unit {
    position: sticky !important;
    top: 0 !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 72vh !important;
    height: 72svh !important;
    overflow: hidden !important;
  }

  .chlone-gallery-mobile-slider {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: unset !important;
    overflow: hidden !important;
    background-color: var(--bg-card);
  }

  .chlone-gallery-mobile-track {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .chlone-gallery-mobile-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    cursor: zoom-in;
  }

  .chlone-gallery-mobile-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}

/* Mobile Floating Top Nav Actions (<, ♡, ⇪) */
.product-mobile-gallery-actions {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

@media (min-width: 900px) {
  .product-mobile-gallery-actions {
    display: none;
  }
}

.product-mobile-gallery-actions .action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: none;
  transition: transform .15s ease, background-color .15s ease;
}

.product-mobile-gallery-actions .action-btn:active {
  transform: scale(0.94);
  background-color: #ffffff;
}

.product-mobile-gallery-actions .action-right-group {
  display: flex;
  gap: 10px;
}

/* Mobile Gallery Slider (Desktop hidden) */
@media (min-width: 900px) {
  .chlone-gallery-mobile-slider {
    display: none;
  }
}

.chlone-gallery-mobile-track {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.chlone-gallery-mobile-track::-webkit-scrollbar {
  display: none;
}

.chlone-gallery-mobile-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}

.chlone-gallery-mobile-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile Dots Indicator */
.chlone-gallery-mobile-dots {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
}

.chlone-gallery-mobile-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all .25s ease;
}

.chlone-gallery-mobile-dots .dot.is-active {
  width: 16px;
  border-radius: 3px;
  background-color: #ffffff;
}

/* Mobile Gallery Navigation Arrows */
.gallery-mobile-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(34, 29, 25, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all .2s ease;
}

.gallery-mobile-arrow:active {
  background-color: rgba(34, 29, 25, 0.75);
  transform: translateY(-50%) scale(1.05);
}

.gallery-mobile-arrow--prev {
  left: 12px;
}

.gallery-mobile-arrow--next {
  right: 12px;
}

/* Desktop Gallery Unit */
.chlone-gallery-desktop-unit {
  display: none;
}

@media (min-width: 900px) {
  .chlone-gallery-desktop-unit {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .chlone-gallery-desktop-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--bg-card);
    overflow: hidden;
  }

  .chlone-gallery-desktop-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .3s ease;
  }

  /* Desktop Gallery Navigation Arrows */
  .gallery-desktop-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .gallery-desktop-arrow:hover {
    background-color: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
    transform: translateY(-50%) scale(1.06);
  }

  .gallery-desktop-arrow--prev {
    left: 16px;
  }

  .gallery-desktop-arrow--next {
    right: 16px;
  }

  .chlone-gallery-desktop-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .chlone-gallery-desktop-thumbs .thumb-btn {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1.5px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: all .2s ease;
  }

  .chlone-gallery-desktop-thumbs .thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: opacity .2s ease;
  }

  .chlone-gallery-desktop-thumbs .thumb-btn:hover img,
  .chlone-gallery-desktop-thumbs .thumb-btn.is-active img {
    opacity: 1;
  }

  .chlone-gallery-desktop-thumbs .thumb-btn.is-active {
    border-color: var(--ink);
  }
}

/* --------------------------------------------------------------------------
   Single Product — Summary & Integrated Purchase Panel
   -------------------------------------------------------------------------- */
.chlone-product-summary {
  position: relative;
}

/* Mobile App Bottom Sheet Appearance */
@media (max-width: 899px) {
  .chlone-product-summary {
    position: relative !important;
    z-index: 10 !important;
    margin-top: -24px !important;
    background-color: var(--bg) !important;
    border-radius: 28px 28px 0 0 !important;
    padding: 12px 20px 80px !important;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.12) !important;
    min-height: calc(100vh - 60px) !important;
    min-height: calc(100svh - 60px) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  /* Mobile Bottom Sheet Drag Handle Bar ("kreska / uchwyt") */
  .bottom-sheet-handle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 0 10px;
    margin: 0 auto 6px;
    touch-action: pan-y;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    visibility: visible;
  }

  .bottom-sheet-handle-btn.is-hidden {
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .bottom-sheet-handle-btn .handle-bar {
    display: block;
    width: 44px;
    height: 4.5px;
    background-color: var(--line-strong);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: background-color .2s ease, transform .2s ease;
  }

  .bottom-sheet-handle-btn:active .handle-bar,
  .bottom-sheet-handle-btn:hover .handle-bar {
    background-color: var(--ink-muted);
    transform: scaleX(1.15);
  }
}

@media (min-width: 900px) {
  .bottom-sheet-handle-btn {
    display: none !important;
  }
}

/* Product Title (Full Width) */
.chlone-product-summary .product_title,
.product_title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
  width: 100%;
  display: block;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Short Description (Full Width) */
.woocommerce-product-details__short-description {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-light);
  margin-bottom: 18px;
  width: 100%;
  max-width: 100%;
}

/* Product Price Headline (Directly above sizes / variations) */
.product-price-headline {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  display: block;
  width: 100%;
  line-height: 1.2;
}

.product-price-headline ins {
  text-decoration: none;
  color: var(--terracotta);
  font-weight: 600;
}

.product-price-headline del {
  opacity: 0.55;
  font-size: 0.9em;
  margin-right: 6px;
}

/* --------------------------------------------------------------------------
   Variations Form & Custom Swatches / Size Buttons
   -------------------------------------------------------------------------- */
.chlone-purchase-form-wrap {
  width: 100%;
  margin-bottom: 24px;
}

/* Product Page Shipping & Delivery Trust Box */
.product-shipping-trust-box {
  background-color: rgba(250, 247, 242, 0.85);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  margin: -10px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shipping-lead-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.shipping-truck-icon {
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.shipping-lead-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shipping-lead-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}

.shipping-lead-sub {
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 1.4;
}

.shipping-methods-badges-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.shipping-methods-badges-list .methods-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.methods-items-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.shipping-method-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 4px 10px;
  transition: border-color .2s ease;
}

.shipping-method-chip:hover {
  border-color: var(--terracotta);
}

.shipping-method-icon {
  height: 24px;
  width: auto;
  max-width: 58px;
  object-fit: contain;
  display: block;
}

.shipping-method-default-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
}

.shipping-method-name {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
}

/* Product Page Secure Payment Badges */
.product-payment-trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  padding: 10px 14px;
  background-color: rgba(250, 247, 242, 0.75);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.product-payment-trust-row .payment-trust-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

@media (max-width: 599px) {
  .product-payment-trust-row {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
  }
}

form.cart {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.variations {
  display: block !important;
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 20px !important;
}

.variations tbody,
.variations tr,
.variations th,
.variations td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
}

.variations th.label {
  margin-bottom: 10px !important;
}

.variations th.label label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--ink-muted) !important;
}

.variations td.value {
  margin-bottom: 20px !important;
}

/* Size Pills Group */
.size-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-pill-btn {
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  background-color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  border-radius: 4px;
  transition: all .2s ease;
}

.size-pill-btn.is-active {
  border-color: var(--ink);
  background-color: var(--ink);
  color: var(--bg);
}

/* Color Swatches Group */
.swatch-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.swatch-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  position: relative;
  transition: transform .2s ease, outline .2s ease;
}

.swatch-circle.is-active {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.reset_variations {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Integrated Inline Add to Cart Row (Quantity Stepper + Dark Button)
   -------------------------------------------------------------------------- */
.single_variation_wrap {
  display: block !important;
  width: 100% !important;
  margin-top: 12px !important;
}

.woocommerce-variation-add-to-cart,
form.cart:not(.variations_form) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 16px !important;
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

.quantity {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background-color: #ffffff !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  height: 48px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.qty-stepper-btn {
  width: 38px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
}

.quantity input.qty {
  width: 34px !important;
  height: 46px !important;
  line-height: 46px !important;
  text-align: center !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.single_add_to_cart_button {
  flex: 1 !important;
  height: 48px !important;
  background-color: var(--ink) !important;
  color: var(--bg) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
  white-space: nowrap !important;
}

.single_add_to_cart_button:hover {
  background-color: var(--ink-light) !important;
}

@media (max-width: 480px) {
  .woocommerce-variation-add-to-cart,
  form.cart:not(.variations_form) {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .single_add_to_cart_button {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* Crisp Clean SVG Bag Outline Icon */
.single_add_to_cart_button::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  flex-shrink: 0;
  margin-right: 8px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12.5a1.5 1.5 0 0 1-1.5 1.5H8.5A1.5 1.5 0 0 1 7 20.5L6 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12.5a1.5 1.5 0 0 1-1.5 1.5H8.5A1.5 1.5 0 0 1 7 20.5L6 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

@media (min-width: 900px) {
  .single_add_to_cart_button {
    max-width: 360px !important;
    height: 52px !important;
  }

  .quantity {
    height: 52px !important;
  }

  .qty-stepper-btn {
    width: 42px !important;
    height: 50px !important;
  }

  .quantity input.qty {
    width: 38px !important;
    height: 50px !important;
    line-height: 50px !important;
  }
}

/* --------------------------------------------------------------------------
   Product Accordions (Opis, Materiał, Wysyłka, Pielęgnacja)
   -------------------------------------------------------------------------- */
.product-custom-accordions {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-header {
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: left;
}

.accordion-toggle span.icon {
  font-size: 1.1rem;
  transition: transform .25s ease;
}

.accordion-item.is-open .accordion-toggle span.icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-light);
}

.accordion-item.is-open .accordion-content {
  display: block;
}

.product-long-description p {
  margin-bottom: 0.8em;
}

.product-material-text {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Product Meta (SKU, Categories)
   -------------------------------------------------------------------------- */
.product_meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product_meta .sku_wrapper,
.product_meta .sku {
  display: none !important;
}

.product_meta a {
  color: var(--ink-light);
}

.product_meta a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Thank You / Order Received Page
   -------------------------------------------------------------------------- */
.thankyou-page-container {
  max-width: 740px;
  margin-inline: auto;
  padding: 60px 24px 100px;
  text-align: center;
}

.thankyou-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--sage-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #2b5732;
}

.thankyou-icon-circle--failed {
  background-color: #fae6e6 !important;
  color: #a83232 !important;
  font-size: 1.5rem;
  font-weight: 700;
}

.thankyou-page-container h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--ink);
}

.thankyou-page-container .eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.thankyou-page-container .order-lead {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
  margin-inline: auto;
}

.order-overview-list {
  list-style: none;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--bg-card);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  text-align: left;
  margin: 0 auto 36px;
}

.order-overview-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-overview-list .overview-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.order-overview-list strong {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--ink);
}

/* Order Details Table in Thank You page */
.thankyou-page-container .woocommerce-order-details {
  text-align: left;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: var(--bg);
}

.thankyou-page-container .woocommerce-order-details__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--ink);
}

.thankyou-page-container .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.thankyou-page-container .woocommerce-table--order-details th,
.thankyou-page-container .woocommerce-table--order-details td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.thankyou-page-container .woocommerce-table--order-details th {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.thankyou-page-container .woocommerce-customer-details {
  text-align: left;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: var(--bg);
}

.thankyou-page-container .woocommerce-customer-details h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--ink);
}

.thankyou-page-container .woocommerce-customer-details address {
  font-style: normal;
  line-height: 1.6;
  color: var(--ink-light);
  font-size: 0.9rem;
}

.thankyou-actions {
  margin-top: 40px;
}

/* Strictly hide any My Account navigation or links on Thankyou Page */
.thankyou-page-container a[href*="my-account"],
.thankyou-page-container a[href*="moje-konto"],
.thankyou-page-container .woocommerce-MyAccount-navigation,
.thankyou-page-container .woocommerce-customer-details--has-user {
  display: none !important;
}

/* --------------------------------------------------------------------------
   EU Omnibus Directive / Lowest Price Notices Styling
   -------------------------------------------------------------------------- */
.omnibus,
.wc-omnibus,
.wc-price-history,
.iworks-omnibus,
.iworks-omnibus-message,
.wpdesk_omnibus,
.wpdesk_omnibus_message,
.wc-price-history-lowest-price-message,
.wc-price-history-info,
.omnibus-lowest-price,
.omnibus-message,
.omnibus-price,
.woocommerce-price-suffix,
.price-history,
.lowest-price-notice,
.product-price-history,
p.omnibus-lowest-price,
.product-headline-row .omnibus,
.product-price-headline ~ .omnibus,
.summary .omnibus,
.woocommerce-variation-price .omnibus {
  display: block !important;
  font-family: var(--font-sans) !important;
  font-size: 0.76rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: var(--ink-muted) !important;
  letter-spacing: 0.01em !important;
  margin-top: 6px !important;
  margin-bottom: 12px !important;
  opacity: 0.95;
}

.omnibus strong,
.omnibus b,
.omnibus .amount,
.wc-price-history strong,
.wc-price-history-lowest-price-message .amount,
.iworks-omnibus strong,
.wpdesk_omnibus strong,
.omnibus-lowest-price strong {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  color: var(--ink-light) !important;
}

.chlone-product-card .omnibus,
.chlone-product-card .wc-price-history-lowest-price-message,
.news-product-card .omnibus {
  font-size: 0.68rem !important;
  margin-top: 3px !important;
  margin-bottom: 0 !important;
  color: var(--ink-muted) !important;
}

/* --------------------------------------------------------------------------
   Modern Floating Top Pop-up Notices (Success, Error, Info)
   -------------------------------------------------------------------------- */
.woocommerce-notices-wrapper {
  position: fixed !important;
  top: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 99999 !important;
  width: min(92vw, 560px) !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: center !important;
}

.woocommerce-notices-wrapper:empty {
  display: none !important;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-notice {
  pointer-events: auto !important;
  position: relative !important;
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  font-family: var(--font-sans) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 16px 38px rgba(34, 29, 25, 0.14), 0 4px 12px rgba(34, 29, 25, 0.06) !important;
  animation: wcNoticeSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  transition: opacity .3s ease, transform .3s ease !important;
  margin: 0 !important;
}

.woocommerce-message.is-dismissing,
.woocommerce-error.is-dismissing,
.woocommerce-info.is-dismissing {
  opacity: 0 !important;
  transform: translateY(-20px) scale(0.95) !important;
}

/* Success Notice */
.woocommerce-message {
  background-color: rgba(240, 248, 242, 0.96) !important;
  border: 1px solid rgba(163, 196, 168, 0.7) !important;
  color: #1a3820 !important;
}

.woocommerce-message::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--sage);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Error Notice */
.woocommerce-error {
  background-color: rgba(254, 243, 242, 0.96) !important;
  border: 1px solid rgba(217, 147, 121, 0.7) !important;
  color: #5a2016 !important;
  list-style: none !important;
}

.woocommerce-error li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-error::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--terracotta);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Info Notice */
.woocommerce-info {
  background-color: rgba(252, 249, 242, 0.96) !important;
  border: 1px solid rgba(237, 217, 155, 0.8) !important;
  color: #4a3e20 !important;
}

.woocommerce-info::before {
  content: 'i';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--butter);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  flex-shrink: 0;
}

/* Action button inside notice (e.g. "Zobacz koszyk") */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button,
.woocommerce-message a.button,
.woocommerce-message a.button.wc-forward {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: auto !important;
  background-color: var(--ink) !important;
  color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  height: auto !important;
  line-height: 1.4 !important;
  border-radius: 6px !important;
  border: none !important;
  transition: all .2s ease !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  float: none !important;
}

.woocommerce-message .button:hover,
.woocommerce-message a.button:hover {
  background-color: var(--ink-light) !important;
  transform: translateY(-1px);
}

/* Notice Close Button */
.wc-notice-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: currentColor;
  opacity: 0.6;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  margin-left: 4px;
  transition: opacity .2s ease;
}

.wc-notice-close-btn:hover {
  opacity: 1;
}

@keyframes wcNoticeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   100% Default & Native WooCommerce Cart & Checkout Normalization
   Ensure standard default layout, readable typography, and complete form controls
   ========================================================================== */
.woocommerce-cart,
.woocommerce-checkout {
  font-family: var(--font-sans);
}

.woocommerce-cart h1,
.woocommerce-cart h2,
.woocommerce-cart h3,
.woocommerce-cart h4,
.woocommerce-cart h5,
.woocommerce-cart h6,
.woocommerce-checkout h1,
.woocommerce-checkout h2,
.woocommerce-checkout h3,
.woocommerce-checkout h4,
.woocommerce-checkout h5,
.woocommerce-checkout h6 {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--ink);
}

/* Ensure standard form controls inside Classic Cart & Checkout (excluding modern Gutenberg blocks) */
.woocommerce form.checkout:not(.wc-block-components-form) input[type="text"],
.woocommerce form.checkout:not(.wc-block-components-form) input[type="password"],
.woocommerce form.checkout:not(.wc-block-components-form) input[type="email"],
.woocommerce form.checkout:not(.wc-block-components-form) input[type="tel"],
.woocommerce form.checkout:not(.wc-block-components-form) input[type="number"],
.woocommerce form.checkout:not(.wc-block-components-form) select,
.woocommerce form.checkout:not(.wc-block-components-form) textarea,
.woocommerce form.woocommerce-cart-form input[type="text"],
.woocommerce form.woocommerce-cart-form select,
.woocommerce form.woocommerce-cart-form textarea,
.woocommerce .woocommerce-billing-fields input:not([class*="wc-block"]),
.woocommerce .woocommerce-shipping-fields input:not([class*="wc-block"]) {
  border: 1px solid #d3ced2;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 8px 12px;
  color: #333333;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  outline: none;
  box-sizing: border-box;
}

.woocommerce form.checkout:not(.wc-block-components-form) input[type="text"]:focus,
.woocommerce form.checkout:not(.wc-block-components-form) input[type="email"]:focus,
.woocommerce form.checkout:not(.wc-block-components-form) input[type="tel"]:focus,
.woocommerce form.checkout:not(.wc-block-components-form) select:focus,
.woocommerce form.checkout:not(.wc-block-components-form) textarea:focus {
  border-color: #444444;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.woocommerce form.checkout:not(.wc-block-components-form) input[type="checkbox"],
.woocommerce form.checkout:not(.wc-block-components-form) input[type="radio"] {
  border: 1px solid #999999;
  appearance: auto;
  -webkit-appearance: auto;
  width: auto;
  height: auto;
  margin-right: 6px;
}

/* ==========================================================================
   WooCommerce Blocks (Cart & Checkout) Normalization & Floating Label Fixes
   ========================================================================== */

/* 1. Text Inputs (Email, Name, Phone, Address, Coupon, etc.) */
.wc-block-components-form .wc-block-components-text-input,
.wc-block-components-text-input {
  position: relative !important;
  margin-top: 14px !important;
}

.wc-block-components-form .wc-block-components-text-input input[type="text"],
.wc-block-components-form .wc-block-components-text-input input[type="email"],
.wc-block-components-form .wc-block-components-text-input input[type="tel"],
.wc-block-components-form .wc-block-components-text-input input[type="number"],
.wc-block-components-form .wc-block-components-text-input input[type="password"],
.wc-block-components-form .wc-block-components-text-input input[type="url"],
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input input[type="password"],
.wc-block-components-text-input input[type="url"],
.wc-block-components-text-input input {
  height: 52px !important;
  min-height: 52px !important;
  line-height: 22px !important;
  padding: 16px 12px 6px !important;
  border: 1px solid #d3ced2 !important;
  border-radius: 4px !important;
  background-color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  color: var(--ink, #1f1f1f) !important;
  box-sizing: border-box !important;
  outline: none !important;
}

/* When input has active value, is focused, or autofilled: 24px top padding keeps text below floating label */
.wc-block-components-form .wc-block-components-text-input.is-active input[type="text"],
.wc-block-components-form .wc-block-components-text-input.is-active input[type="email"],
.wc-block-components-form .wc-block-components-text-input.is-active input[type="tel"],
.wc-block-components-form .wc-block-components-text-input.is-active input[type="number"],
.wc-block-components-form .wc-block-components-text-input.is-active input[type="password"],
.wc-block-components-form .wc-block-components-text-input.is-active input[type="url"],
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus,
.wc-block-components-text-input input:-webkit-autofill {
  padding-top: 24px !important;
  padding-bottom: 6px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  border-color: #555555 !important;
}

/* Floating Label for text inputs */
.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label {
  position: absolute !important;
  left: 12px !important;
  top: 26px !important;
  transform: translateY(-50%) !important;
  transform-origin: top left !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #777777 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.18s ease-in-out !important;
  z-index: 2 !important;
  max-width: calc(100% - 24px) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.wc-block-components-form .wc-block-components-text-input.is-active label,
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:focus + label,
.wc-block-components-text-input input:-webkit-autofill + label {
  top: 7px !important;
  transform: scale(0.82) !important;
  color: #666666 !important;
  font-weight: 500 !important;
}

/* 2. Select / Country / State Dropdowns */
.wc-blocks-components-select,
.wc-block-components-country-input,
.wc-block-components-state-input {
  position: relative !important;
  width: 100% !important;
  margin-top: 14px !important;
}

.wc-blocks-components-select .wc-blocks-components-select__container {
  position: relative !important;
  width: 100% !important;
}

.wc-blocks-components-select .wc-blocks-components-select__select {
  height: 52px !important;
  min-height: 52px !important;
  line-height: 20px !important;
  padding: 22px 36px 6px 12px !important; /* Top padding (22px) positions selected option cleanly below label */
  border: 1px solid #d3ced2 !important;
  border-radius: 4px !important;
  background-color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  color: var(--ink, #1f1f1f) !important;
  box-sizing: border-box !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.wc-blocks-components-select .wc-blocks-components-select__select:focus {
  border-color: #555555 !important;
}

.wc-blocks-components-select .wc-blocks-components-select__label {
  position: absolute !important;
  left: 12px !important;
  top: 7px !important;
  transform: scale(0.82) !important;
  transform-origin: top left !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  color: #666666 !important;
  font-weight: 500 !important;
  pointer-events: none !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: calc(100% - 40px) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.wc-blocks-components-select .wc-blocks-components-select__expand {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

/* 3. Checkboxes & Radios inside Cart & Checkout */
.wp-block-woocommerce-checkout input[type="checkbox"],
.wp-block-woocommerce-checkout input[type="radio"],
.wp-block-woocommerce-cart input[type="checkbox"],
.wp-block-woocommerce-cart input[type="radio"],
.wc-block-components-checkbox__input,
.wc-block-components-radio-control__input {
  border: 1px solid #888888 !important;
  cursor: pointer !important;
}

/* Default buttons behavior */
.woocommerce-cart .button,
.woocommerce-checkout .button {
  font-family: var(--font-sans) !important;
  cursor: pointer !important;
  border-radius: 4px !important;
}

/* Allow WooCommerce table to span smoothly */
.woocommerce-cart .shop_table,
.woocommerce-checkout .shop_table {
  width: 100%;
  border-collapse: collapse;
}

/* Sidebar Logo Normalization on Cart & Checkout */
.desktop-vertical-sidebar .sidebar-logo-img,
body.woocommerce-cart .desktop-vertical-sidebar .sidebar-logo-img,
body.woocommerce-checkout .desktop-vertical-sidebar .sidebar-logo-img,
body.woocommerce-page .desktop-vertical-sidebar .sidebar-logo-img {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  max-width: 175px !important;
  aspect-ratio: 1629 / 684 !important;
  object-fit: contain !important;
  display: block !important;
}

.desktop-vertical-sidebar .sidebar-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  max-height: 38px !important;
  line-height: 1 !important;
}

/* ==========================================================================
   Product Gallery Lightbox / Lupka Zoom Modal & Inspection
   ========================================================================== */
.chlone-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s cubic-bezier(0.16, 1, 0.3, 1), visibility .28s ease;
  overflow: hidden;
}

.chlone-lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.chlone-lightbox-active {
  overflow: hidden !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(22, 18, 15, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.lightbox-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.lightbox-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}

.lightbox-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.lightbox-stage img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-stage img.is-zoomed {
  transform: scale(1.85);
  cursor: zoom-out;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}

.lightbox-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-arrow--prev {
  left: 16px;
}

.lightbox-arrow--next {
  right: 16px;
}

.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 20;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lightbox-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}

/* Desktop Main Image Zoom Button */
.gallery-desktop-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(34, 29, 25, 0.08);
  transition: all .2s ease;
}

.gallery-desktop-zoom-btn:hover {
  background-color: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-1px);
}
