/* ==========================================================================
   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: 60px 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.25rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 22px 6px;
  color: var(--ink);
}

ul.products li.product .price {
  margin: 0 22px;
  font-size: 0.9rem;
  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;
}

/* --------------------------------------------------------------------------
   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: 56px 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%;
}

/* Mobile Floating Top Nav Actions (<, ♡, ⇪) */
.product-mobile-gallery-actions {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 30;
  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;
}

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

/* Mobile Gallery Slider */
.chlone-gallery-mobile-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 390/480;
  max-height: 520px;
  overflow: hidden;
  background-color: var(--bg-card);
}

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

.chlone-gallery-mobile-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  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: 44px;
  transform: translateX(-50%);
  z-index: 25;
  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: 25;
  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 Bottom Sheet Appearance */
@media (max-width: 899px) {
  body.single-product .site-header {
    display: none !important;
  }

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

  .chlone-product-summary {
    z-index: 20;
    margin-top: -30px;
    background-color: var(--bg);
    border-radius: 28px 28px 0 0;
    padding: 18px 20px 48px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  }

  /* Mobile Bottom Sheet Drag Handle Button */
  .bottom-sheet-handle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 auto 14px;
    touch-action: pan-y;
  }

  .bottom-sheet-handle-btn .handle-bar {
    display: block;
    width: 44px;
    height: 4.5px;
    background-color: var(--line-strong);
    border-radius: 3px;
    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);
  }
}

.bottom-sheet-handle-btn {
  display: none;
}

@media (max-width: 899px) {
  .bottom-sheet-handle-btn {
    display: flex;
  }
}

/* Headline Row (Title on Left, Price on Right) */
.product-headline-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.product-headline-row .product_title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

.product-headline-row .product-price-headline {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

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

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

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

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

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;
}

/* 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-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-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  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: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

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

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

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

.thankyou-page-container h1 {
  margin-bottom: 12px;
}

.thankyou-page-container .order-lead {
  font-size: 1.05rem;
  color: var(--ink-light);
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   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);
  }
}
