/*
 Theme Name: Nyla Child
 Template: nyla
 Version: 1.0.0
*/

.b2b-alert {
  border: 1px solid #1f2937;
  background: #f8f7f4;
  color: #111827;
  padding: 16px 18px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.b2b-alert--pending {
  border-color: #9a7b3a;
  background: #fff7e6;
  color: #5c3a00;
}

.b2b-alert--rejected {
  border-color: #8b1e2d;
  background: #fff1f2;
  color: #7f1d1d;
}

.b2b-price-message {
  display: inline-block;
  margin: 6px 0;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  font-size: 13px;
  line-height: 1.4;
}

.b2b-price-message a {
  color: #111827;
  text-decoration: underline;
}

.b2b-no-access .header-cart,
.b2b-no-access #mini-cart,
.b2b-no-access .menu-cart-content {
  display: none !important;
}

.b2b-no-access .woocommerce-variation-add-to-cart,
.b2b-no-access .single_add_to_cart_button,
.b2b-no-access .quantity {
  display: none !important;
}

.product .cart.hcw-variation-is-sold-out .product-add-to-cart {
  opacity: 0.55;
}

.product .cart.hcw-variation-is-sold-out .pseudo-add-to-cart.hcw-button-sold-out,
.product .cart.hcw-variation-is-sold-out .single_add_to_cart_button.hcw-button-sold-out {
  pointer-events: none;
  cursor: default;
}

.hcw-summary-variation-is-sold-out .wcpay-express-checkout-wrapper {
  display: none !important;
}

.hcw-user-guest .shop-container .shop-item .stock.out-of-stock {
  display: none !important;
}

.hcw-cart-minimum-notice {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid #e46b63;
  color: #d84d45;
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.hcw-cart-minimum-notice p {
  margin: 0;
}

.hcw-cart-minimum-notice--mini {
  margin: 0 0 18px;
  padding: 14px 16px;
  font-size: 13px;
}

.hcw-cart-summary-heading {
  margin-bottom: 22px;
}

.hcw-cart-summary-heading h5 {
  margin: 0 0 8px;
}

.hcw-cart-summary-heading p {
  margin: 0;
  color: #6b6b6b;
  font-size: 13px;
  line-height: 1.5;
}

.hcw-disabled-checkout {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.hcw-cart-tax-note {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.9em;
  font-weight: 400;
  vertical-align: baseline;
}

.hcw-cart-minimum-invalid.woocommerce-cart .wcpay-express-checkout-wrapper,
.hcw-cart-minimum-invalid.woocommerce-cart #wcpay-express-checkout-button-separator {
  display: none !important;
}

#mini-cart .cart-bottom .total h6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#mini-cart .cart-bottom .total .hcw-cart-tax-note {
  margin-left: auto;
  text-align: right;
}

h1,
h2,
h3,
h4,
h5,
h6,
.product_title,
.shop-container .shop-item .product-name,
.post-item .post-content .entry-title {
  font-family: 'Mulish', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 200;
}

#product .product-infos > .badges,
#product .product-infos .badges:first-child {
  display: block;
  margin: 0 0 18px;
  line-height: 1;
}

.shop-container .shop-item .badges .new-badge,
#product .product-infos .badges .new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 2px 8px;
  background: #000;
  color: #fff;
  border: 0;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
  vertical-align: top;
}

.shop-container .shop-item .badges,
#product .product-infos .badges {
  line-height: 1;
}

.shop-container .shop-item .badges .new-badge {
  margin: 0;
}

#product .product-infos .product_title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 200;
}

#product .product-infos .price {
  margin-top: 10px;
}

/* Made in Poland section fallback styles (kept in child for deployment safety) */
.made-in-poland-band {
  padding: 42px 0;
  background: #ffffff;
}

.made-in-poland-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  max-width: 1120px;
  margin: 0 auto;
}

.made-in-poland-badge {
  position: relative;
  flex: 0 0 185px;
  width: 185px;
  height: 185px;
}

.made-in-poland-ring {
  display: block;
  width: 100%;
  height: 100%;
  animation: madeInPolandSpin 14s linear infinite;
}

.made-in-poland-ring text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  fill: #2f2f2f;
}

.made-in-poland-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.made-in-poland-center span {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1f1f1f;
}

.made-in-poland-copy {
  max-width: 760px;
  text-align: left;
}

.made-in-poland-copy h2 {
  margin: 0 0 10px;
  line-height: 1.15;
  font-size: 28px;
}

.made-in-poland-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #4b4b4b;
  max-width: 640px;
}

@keyframes madeInPolandSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .made-in-poland-band {
    padding: 34px 0;
  }

  .made-in-poland-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .made-in-poland-badge {
    flex-basis: 145px;
    width: 145px;
    height: 145px;
  }

  .made-in-poland-ring text {
    font-size: 10px;
    letter-spacing: 4px;
  }

  .made-in-poland-center {
    width: 82px;
    height: 82px;
  }

  .made-in-poland-center span {
    font-size: 27px;
  }

  .made-in-poland-copy {
    text-align: center;
  }

  .made-in-poland-copy h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .made-in-poland-copy p {
    font-size: 15px;
    line-height: 1.55;
    max-width: 100%;
  }
}

.home .made-in-poland-band + .elementor > .elementor-section:first-child .elementor-widget-spacer {
  display: none;
}

.product .cart .hcw-linked-colors {
  margin: 0 0 20px;
}

.product .cart .hcw-linked-colors__label {
  display: block;
  margin: 0 0 12px;
  color: #111111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.product .cart .hcw-linked-colors__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product .cart .hcw-linked-colors__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #cfcfcf;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s ease, padding 0.2s ease, opacity 0.2s ease;
}

.product .cart .hcw-linked-colors__item:hover,
.product .cart .hcw-linked-colors__item:focus {
  border-color: #111111;
}

.product .cart .hcw-linked-colors__item.is-active {
  padding: 4px;
  border-width: 3px;
  border-color: #3d3d3d;
}

.product .cart .hcw-linked-colors__item.is-unavailable {
  opacity: 0.55;
}

.product .cart .hcw-linked-colors__swatch {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--hcw-swatch-color, #ffffff);
}

.product .cart .hcw-linked-colors__swatch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product .cart .hcw-linked-colors__item.is-unavailable::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 47%, rgba(17, 17, 17, 0.42) 48%, rgba(17, 17, 17, 0.42) 52%, transparent 53%);
  pointer-events: none;
}

.product .cart .hcw-linked-colors__item.has-color .hcw-linked-colors__swatch {
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.12);
}

@media (max-width: 640px) {
  .product .cart .hcw-linked-colors__list {
    gap: 7px;
  }

  .product .cart .hcw-linked-colors__item {
    width: 38px;
    height: 38px;
  }
}
