/*
Theme Name: Pro3D Lab Studio
Description: Nowa strona główna Pro3D Lab z animacjami. Motyw potomny Astry.
Author: Pro3D Lab
Version: 1.0.0
Template: astra
Text Domain: pro3dlab-child
Requires at least: 6.0
Requires PHP: 7.4
*/


/* === Pro3D Lab Dark Theme for Astra & WooCommerce Subpages === */
body:not(.home) {
  --ast-global-color-0: #ff754c;
  --ast-global-color-1: #ff8a66;
  --ast-global-color-2: #f5f5f0;
  --ast-global-color-3: #d8dad6;
  --ast-global-color-4: #1e211f;
  --ast-global-color-5: #171918;
  --ast-global-color-6: #222521;
  --ast-global-color-7: #171918;
  --ast-global-color-8: #2d312e;
  background-color: #171918;
  color: #d8dad6;
}

body:not(.home) .site,
body:not(.home) .site-content,
body:not(.home) .ast-separate-container,
body:not(.home) .ast-separate-container .ast-article-post,
body:not(.home) .ast-separate-container .ast-article-single,
body:not(.home) .ast-plain-container,
body:not(.home) .ast-primary-header-bar,
body:not(.home) .ast-mobile-header-wrap .ast-mobile-header-content,
body:not(.home) .site-footer,
body:not(.home) .site-below-footer-wrap {
  background-color: #171918;
  color: #d8dad6;
}

body:not(.home) .ast-primary-header-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body:not(.home) .site-below-footer-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a7aaa5;
}

body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4,
body:not(.home) h5,
body:not(.home) h6,
body:not(.home) .entry-title,
body:not(.home) .site-title a {
  color: #f5f5f0;
}

body:not(.home) a {
  color: #ff754c;
}

body:not(.home) a:hover {
  color: #ff8a66;
}

body:not(.home) .main-header-menu .menu-link,
body:not(.home) .ast-footer-menu .menu-link {
  color: #f5f5f0;
}

body:not(.home) .main-header-menu .menu-link:hover,
body:not(.home) .main-header-menu .current-menu-item > .menu-link,
body:not(.home) .ast-footer-menu .menu-link:hover {
  color: #ff754c;
}

body:not(.home) .ast-header-button-1 .ast-custom-button {
  background-color: #ff754c;
  color: #171918;
  border: none;
  white-space: nowrap;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
}

body:not(.home) .ast-header-button-1 .ast-custom-button:hover {
  background-color: #ff8a66;
  color: #171918;
}

body:not(.home) .ast-site-header-cart .ast-cart-menu-wrap,
body:not(.home) .ast-site-header-cart .ast-addon-cart-wrap,
body:not(.home) .ast-site-header-cart .ast-addon-cart-wrap .astra-icon {
  color: #f5f5f0;
  border-color: transparent;
}

body:not(.home) .ast-site-header-cart a:hover .astra-icon,
body:not(.home) .ast-site-header-cart .ast-cart-menu-wrap:hover .count {
  color: #ff754c;
}

body:not(.home) .ast-site-header-cart .ast-cart-menu-wrap .count,
body:not(.home) .ast-site-header-cart .ast-addon-cart-wrap .count {
  background-color: #ff754c;
  color: #171918;
  border-color: #ff754c;
}

body:not(.home) input[type="text"],
body:not(.home) input[type="email"],
body:not(.home) input[type="tel"],
body:not(.home) input[type="number"],
body:not(.home) input[type="password"],
body:not(.home) input[type="search"],
body:not(.home) select,
body:not(.home) textarea,
body:not(.home) .select2-container--default .select2-selection--single {
  background-color: #1e211f;
  color: #f5f5f0;
  border: 1px solid #2d312e;
  border-radius: 6px;
}

body:not(.home) .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #f5f5f0;
}

body:not(.home) .woocommerce-checkout,
body:not(.home) #order_review,
body:not(.home) #payment,
body:not(.home) .woocommerce-cart,
body:not(.home) .cart_totals,
body:not(.home) .woocommerce-info,
body:not(.home) .woocommerce-message,
body:not(.home) .woocommerce-error,
body:not(.home) .woocommerce-notices-wrapper > div,
body:not(.home) table.shop_table,
body:not(.home) .woocommerce-checkout #payment div.payment_box,
body:not(.home) .wc-block-cart,
body:not(.home) .wc-block-checkout {
  background-color: #1e211f;
  color: #f5f5f0;
  border-color: #2d312e;
}

body:not(.home) .woocommerce-info,
body:not(.home) .woocommerce-message,
body:not(.home) .woocommerce-error {
  border-top: 3px solid #ff754c;
}

body:not(.home) table.shop_table th,
body:not(.home) table.shop_table td {
  border-color: #2d312e;
  color: #f5f5f0;
}

body:not(.home) .woocommerce a.button.alt,
body:not(.home) .woocommerce button.button.alt,
body:not(.home) .woocommerce input.button.alt,
body:not(.home) .woocommerce a.button,
body:not(.home) .woocommerce button.button,
body:not(.home) .woocommerce input.button,
body:not(.home) .wc-block-components-button {
  background-color: #ff754c;
  color: #171918;
  border: none;
  border-radius: 6px;
  font-weight: 600;
}

body:not(.home) .woocommerce a.button.alt:hover,
body:not(.home) .woocommerce button.button.alt:hover,
body:not(.home) .woocommerce input.button.alt:hover,
body:not(.home) .woocommerce a.button:hover,
body:not(.home) .woocommerce button.button:hover,
body:not(.home) .woocommerce input.button:hover,
body:not(.home) .wc-block-components-button:hover {
  background-color: #ff8a66;
  color: #171918;
}

/* === Pro3D Lab Brand Logo on Astra Subpages === */
body:not(.home) a.pro3d-astra-brand,
body:not(.home) a.pro3d-astra-brand:hover,
body:not(.home) a.pro3d-astra-brand:focus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -1.5px;
  line-height: 1;
  white-space: nowrap;
  color: #f5f5f0;
  text-decoration: none;
}

body:not(.home) .pro3d-astra-brand svg {
  width: 31px;
  height: 35px;
  flex-shrink: 0;
  fill: none;
  stroke: #ff754c;
  stroke-width: 1.5;
}

body:not(.home) .pro3d-astra-brand .brand-light {
  font-weight: 400;
}

@media (max-width: 760px) {
  body:not(.home) a.pro3d-astra-brand,
  body:not(.home) a.pro3d-astra-brand:hover,
  body:not(.home) a.pro3d-astra-brand:focus {
    font-size: 25px;
  }

  body:not(.home) .pro3d-astra-brand svg {
    width: 27px;
    height: 30px;
  }
}

/* Stage 9C: Shop hero, filter pills, custom-print banner, shipping bar & product cards */
body:not(.home) .p3d-shop-hero {
  background: #1e211f;
  border: 1px solid #2d312e;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 0 28px;
}

body:not(.home) .p3d-shop-eyebrow {
  color: #ff754c;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

body:not(.home) .p3d-shop-subtitle {
  color: #d5d6d0;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 68ch;
}

body:not(.home) .p3d-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

body:not(.home) .p3d-trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 500;
  color: #d5d6d0;
  background: #171918;
  border: 1px solid #2d312e;
  border-radius: 999px;
}

body:not(.home) .p3d-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body:not(.home) .p3d-cat-pills a.p3d-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f0;
  background: #171918;
  border: 1px solid #2d312e;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body:not(.home) .p3d-cat-pills a.p3d-cat-pill:hover,
body:not(.home) .p3d-cat-pills a.p3d-cat-pill:focus {
  border-color: #ff754c;
  color: #ff754c;
}

body:not(.home) .p3d-cat-pills a.p3d-cat-pill.is-active,
body:not(.home) .p3d-cat-pills a.p3d-cat-pill.is-active:hover,
body:not(.home) .p3d-cat-pills a.p3d-cat-pill.is-active:focus {
  background: #ff754c;
  border-color: #ff754c;
  color: #171918;
}

body:not(.home) .p3d-custom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding: 28px;
  background: #1e211f;
  border: 1px solid #2d312e;
  border-radius: 12px;
}

body:not(.home) .p3d-custom-banner-eyebrow {
  display: block;
  color: #ff754c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

body:not(.home) .p3d-custom-banner-title {
  color: #f5f5f0;
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

body:not(.home) a.p3d-custom-banner-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: #ff754c;
  color: #171918;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

body:not(.home) a.p3d-custom-banner-btn:hover,
body:not(.home) a.p3d-custom-banner-btn:focus {
  background: #ff8a66;
  color: #171918;
  transform: translateY(-1px);
}

body:not(.home) .p3d-ship-bar {
  background: #1e211f;
  border: 1px solid #2d312e;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 24px;
}

body:not(.home) .p3d-ship-bar-text {
  color: #f5f5f0;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
}

body:not(.home) .p3d-ship-bar.is-free .p3d-ship-bar-text {
  color: #ff754c;
}

body:not(.home) .p3d-ship-bar-track {
  height: 8px;
  background: #171918;
  border: 1px solid #2d312e;
  border-radius: 999px;
  overflow: hidden;
}

body:not(.home) .p3d-ship-bar-fill {
  height: 100%;
  background: #ff754c;
  border-radius: 999px;
  transition: width 0.3s ease;
}

body:not(.home).woocommerce ul.products li.product,
body:not(.home) .woocommerce ul.products li.product {
  background: #1e211f;
  border: 1px solid #2d312e;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

body:not(.home).woocommerce ul.products li.product:hover,
body:not(.home) .woocommerce ul.products li.product:hover {
  border-color: #ff754c;
  transform: translateY(-3px);
}

body:not(.home).woocommerce ul.products li.product img,
body:not(.home) .woocommerce ul.products li.product img {
  border-radius: 8px;
}

body:not(.home).woocommerce ul.products li.product .woocommerce-loop-product__title,
body:not(.home) .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #f5f5f0;
}

body:not(.home).woocommerce ul.products li.product .price,
body:not(.home) .woocommerce ul.products li.product .price {
  color: #ff754c;
  font-weight: 700;
}

body:not(.home).woocommerce ul.products li.product a.button,
body:not(.home) .woocommerce ul.products li.product a.button,
body:not(.home).woocommerce ul.products li.product .add_to_cart_button,
body:not(.home) .woocommerce ul.products li.product .add_to_cart_button {
  width: 100%;
  text-align: center;
  background: #ff754c;
  color: #171918;
  border-radius: 999px;
  font-weight: 700;
  padding: 11px 16px;
  margin-top: auto;
  box-sizing: border-box;
  border: none;
}

body:not(.home).woocommerce ul.products li.product a.button:hover,
body:not(.home) .woocommerce ul.products li.product a.button:hover,
body:not(.home).woocommerce ul.products li.product .add_to_cart_button:hover,
body:not(.home) .woocommerce ul.products li.product .add_to_cart_button:focus {
  background: #ff8a66;
  color: #171918;
}



/* === Pro3D Lab Checkout UI Upgrade === */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background-color: #1e211f !important;
  border: 1px solid #2d312e !important;
  border-radius: 10px !important;
  padding: 14px 18px !important; padding-left: 44px !important;
  color: #d8dad6 !important;
}

body.woocommerce-checkout form.checkout {
  display: block !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
}

body.woocommerce-checkout form.checkout::after {
  content: "";
  display: table;
  clear: both;
}

body.woocommerce-checkout #customer_details {
  background-color: #1e211f !important;
  border: 1px solid #2d312e !important;
  border-radius: 14px !important;
  padding: 28px !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.woocommerce-checkout #customer_details .col-2 {
  margin-top: 24px !important;
  padding-top: 20px !important;
  border-top: 1px solid #2d312e !important;
}

@media (min-width: 922px) {
  body.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr !important;
    column-gap: 32px !important;
    row-gap: 0 !important;
    align-items: start !important;
  }

  body.woocommerce-checkout form.checkout::after {
    display: none !important;
  }

  body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-checkout,
  body.woocommerce-checkout form.checkout > .woocommerce-error,
  body.woocommerce-checkout form.checkout > .wc-stripe-express-checkout-element {
    grid-column: 1 / -1 !important;
  }

  body.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    grid-row: span 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 24px 28px 16px !important;
    background-color: #1e211f !important;
    border: 1px solid #2d312e !important;
    border-bottom: none !important;
    border-radius: 14px 14px 0 0 !important;
  }

  body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 28px 28px !important;
    background-color: #1e211f !important;
    border: 1px solid #2d312e !important;
    border-top: none !important;
    border-radius: 0 0 14px 14px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 921px) {
  body.woocommerce-checkout #customer_details {
    width: 100% !important;
    float: none !important;
    margin-bottom: 24px !important;
  }

  body.woocommerce-checkout #order_review_heading {
    width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 24px 24px 16px !important;
    background-color: #1e211f !important;
    border: 1px solid #2d312e !important;
    border-bottom: none !important;
    border-radius: 14px 14px 0 0 !important;
  }

  body.woocommerce-checkout #order_review {
    width: 100% !important;
    float: none !important;
    position: static !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 24px 24px !important;
    background-color: #1e211f !important;
    border: 1px solid #2d312e !important;
    border-top: none !important;
    border-radius: 0 0 14px 14px !important;
  }
}

body.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3 {
  color: #f5f5f0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout .form-row label {
  color: #d8dad6 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
  background-color: #171918 !important;
  color: #f5f5f0 !important;
  border: 1px solid #333834 !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  height: auto !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #f5f5f0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  right: 10px !important;
}

body.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--single:focus {
  border-color: #ff754c !important;
  outline: none !important;
}

body.woocommerce-checkout #payment {
  background-color: transparent !important;
  border: none !important;
}

body.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
  border-bottom-color: #2d312e !important;
  padding: 0 0 12px !important;
  margin: 0 0 18px !important;
  list-style: none !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  background: #171918 !important;
  border: 1px solid #2d312e !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  margin-bottom: 10px !important;
  color: #f5f5f0 !important;
}

body.woocommerce-checkout #payment div.payment_box {
  background: #222521 !important;
  color: #d8dad6 !important;
  border: 1px solid #2d312e !important;
  border-radius: 8px !important;
  margin-top: 10px !important;
  padding: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout #payment div.payment_box input {
  width: 100% !important;
  max-width: 240px !important;
}

body.woocommerce-checkout #place_order {
  width: 100% !important;
  background-color: #ff754c !important;
  color: #171918 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 15px 24px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus {
  background-color: #ff8a66 !important;
  color: #171918 !important;
}

/* === Personalizacja produktu (kategoria: personalizowane) === */
.p3d-personalizacja-box {
  background: #1e211f;
  border: 1px solid #2d312e;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 18px;
}
.p3d-personalizacja-box label {
  display: block;
  color: #f5f5f0;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}
.p3d-personalizacja-box label .required {
  color: #ff754c;
}
.p3d-personalizacja-box input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  background: #171918;
  color: #f5f5f0;
  border: 1px solid #333834;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.p3d-personalizacja-box input[type="text"]::placeholder {
  color: #a7aaa5;
}
.p3d-personalizacja-box input[type="text"]:focus {
  border-color: #ff754c;
}
.p3d-personalizacja-box small {
  display: block;
  color: #a7aaa5;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 8px;
}

/* === Minimalist Pro3D Lab Header Cart Icon === */
body:not(.home) .ast-site-header-cart .p3d-cart-svg {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: #f5f5f0 !important;
  stroke-width: 1.75 !important;
  transition: stroke 0.2s ease;
  vertical-align: middle;
}
body:not(.home) .ast-site-header-cart a:hover .p3d-cart-svg,
body:not(.home) .ast-site-header-cart .ast-addon-cart-wrap:hover .p3d-cart-svg {
  stroke: #ff754c !important;
}
body:not(.home) .ast-site-header-cart .ast-icon-shopping-bag::after,
body:not(.home) .ast-site-header-cart .ast-icon-shopping-cart::after,
body:not(.home) .ast-site-header-cart .ast-icon-shopping-basket::after,
body:not(.home) .ast-site-header-cart .count {
  background-color: #ff754c !important;
  color: #171918 !important;
  font-weight: 700 !important;
  border-color: #ff754c !important;
}

/* === Modern Cart Floating Button & Orange Badge (Pro3D Lab) === */
:root,
#moderncart-floating-cart,
.moderncart-floating-cart {
  --moderncart-floating-icon-bg-color: #1E211F;
  --moderncart-floating-icon-color: #F5F5F0;
  --moderncart-floating-count-bg-color: #FF754C;
  --moderncart-floating-count-text-color: #171918;
  --moderncart-highlight-color: #FF754C;
}
#moderncart-floating-cart button,
#moderncart-floating-cart .moderncart-floating-cart-button,
.moderncart-floating-cart .moderncart-floating-cart-button,
.moderncart-floating-cart-button {
  background-color: #1e211f !important;
  color: #f5f5f0 !important;
  border: 1.5px solid #ff754c !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}
#moderncart-floating-cart button:hover,
#moderncart-floating-cart .moderncart-floating-cart-button:hover,
.moderncart-floating-cart .moderncart-floating-cart-button:hover,
.moderncart-floating-cart-button:hover {
  background-color: #222521 !important;
  color: #ff754c !important;
  border-color: #ff754c !important;
  box-shadow: 0 10px 28px rgba(255, 117, 76, 0.25) !important;
}
#moderncart-floating-cart .moderncart-floating-cart-icon,
#moderncart-floating-cart .moderncart-floating-cart-icon svg,
.moderncart-floating-cart-button .moderncart-floating-cart-icon,
.moderncart-floating-cart-button .moderncart-floating-cart-icon svg {
  color: #f5f5f0 !important;
  transition: color 0.2s ease !important;
}
#moderncart-floating-cart .moderncart-floating-cart-button:hover .moderncart-floating-cart-icon,
#moderncart-floating-cart .moderncart-floating-cart-button:hover .moderncart-floating-cart-icon svg,
.moderncart-floating-cart-button:hover .moderncart-floating-cart-icon,
.moderncart-floating-cart-button:hover .moderncart-floating-cart-icon svg {
  color: #ff754c !important;
}
#moderncart-floating-cart .moderncart-floating-cart-count,
.moderncart-floating-cart .moderncart-floating-cart-count,
.moderncart-floating-cart-count {
  background-color: #ff754c !important;
  color: #171918 !important;
  font-weight: 700 !important;
  border: 1.5px solid #171918 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}
#moderncart-floating-cart .moderncart-floating-cart-count span,
.moderncart-floating-cart-count span {
  color: #171918 !important;
  font-weight: 700 !important;
}

/* === Breadcrumb High Contrast (Accessibility 100) === */
body:not(.home) .woocommerce-breadcrumb,
body:not(.home) .woocommerce-breadcrumb a {
  color: #d8dad6 !important;
}
body:not(.home) .woocommerce-breadcrumb a:hover {
  color: #ff754c !important;
}
/* === Cart Table Header & Totals Dark Fix === */
body.woocommerce-cart table.shop_table thead,
body.woocommerce-cart table.shop_table thead tr,
body.woocommerce-cart table.shop_table thead th,
body.woocommerce-cart .cart_totals h2,
body.woocommerce-cart table.cart th {
  background-color: #222521 !important;
  color: #f5f5f0 !important;
  border-color: #2d312e !important;
}
/* === InPost Paczkomat Modal Close Button High Contrast === */
body .inpost-map-modal .inpost-map-close,
body .inpost-map-header .inpost-map-close,
body .inpost-map-close,
body .easypack-modal .close-modal-button,
body .inpost-paczkomaty-modal-close,
body [class*="easypack"] .close,
body [id*="inpost"] .close {
  color: #171918 !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body .inpost-map-modal .inpost-map-close:hover,
body .inpost-map-header .inpost-map-close:hover,
body .inpost-map-close:hover,
body .easypack-modal .close-modal-button:hover,
body .inpost-paczkomaty-modal-close:hover,
body [class*="easypack"] .close:hover,
body [id*="inpost"] .close:hover {
  color: #ff754c !important;
  background: transparent !important;
  background-color: transparent !important;
}
#widget-modal [class*="close"],
#widget-modal [id*="close"],
#widget-modal .widget-modal__close-button,
#widget-modal > div > a,
#widget-modal > div > span,
#widget-modal > div > button {
  color: #171918 !important;
  fill: #171918 !important;
  stroke: #171918 !important;
  opacity: 1 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}
#widget-modal [class*="close"]:hover,
#widget-modal [id*="close"]:hover,
#widget-modal .widget-modal__close-button:hover {
  color: #ff754c !important;
  fill: #ff754c !important;
  stroke: #ff754c !important;
}
/* === Modern Cart Slide-Out Drawer Dark Mode (Pro3D Lab) === */
#moderncart-slide-out-modal,
#moderncart-slide-out,
#moderncart-popup-modal,
.moderncart-modal {
  --moderncart-background-color: #171918 !important;
  --moderncart-body-color: #f5f5f0 !important;
  --moderncart-heading-color: #f5f5f0 !important;
  --moderncart-header-background-color: #1e211f !important;
  --moderncart-header-font-color: #f5f5f0 !important;
  --moderncart-quantity-background-color: #222521 !important;
  --moderncart-quantity-font-color: #f5f5f0 !important;
  --moderncart-primary-color-light: #1e211f !important;
}
#moderncart-slide-out,
#moderncart-slide-out .moderncart-panel,
.moderncart-panel,
.moderncart-slide-out,
.moderncart-slide-out-content,
.moderncart-modal-content,
.moderncart-cart-header,
.moderncart-cart-body,
.moderncart-cart-footer,
.moderncart-slide-out-header,
.moderncart-slide-out-body,
.moderncart-slide-out-footer,
.moderncart-slide-out-cart,
.moderncart-slide-out-cart-data,
.moderncart-slide-out-cart-empty,
.moderncart-slide-out-recommendations,
.moderncart-slide-out-coupon,
.moderncart-slide-out-notices-wrapper,
.moderncart-cart-total,
.moderncart-style2-order-summary-style,
.moderncart-order-summary-style-style2,
.moderncart-order-summary-items,
[id*="moderncart-slide-out"] > div,
.moderncart-cart-items-wrapper {
  background-color: #171918 !important;
  color: #f5f5f0 !important;
  border-color: #2d312e !important;
}
#moderncart-slide-out .moderncart-cart-item,
#moderncart-slide-out .moderncart-cart-item-product-data,
#moderncart-slide-out .moderncart-order-summary-item,
#moderncart-slide-out .moderncart-have-coupon-code-area,
#moderncart-slide-out #moderncart-coupon-form-container,
[id*="moderncart-slide-out"] .moderncart-cart-item,
[id*="moderncart-slide-out"] .moderncart-cart-item-product-data,
[id*="moderncart-slide-out"] [class*="details"],
[id*="moderncart-slide-out"] [class*="tooltip"],
[id*="moderncart-slide-out"] [class*="popover"],
[id*="moderncart-slide-out"] [class*="dropdown"],
[id*="moderncart-slide-out"] [class*="coupon"],
[id*="moderncart-slide-out"] [class*="summary"],
[id*="moderncart-slide-out"] [class*="shipping"],
.moderncart-slide-out [class*="details"],
.moderncart-slide-out [class*="popover"],
.moderncart-slide-out [class*="tooltip"] {
  background-color: #1e211f !important;
  color: #f5f5f0 !important;
  border-color: #2d312e !important;
}
#moderncart-slide-out a,
#moderncart-slide-out p,
#moderncart-slide-out span,
#moderncart-slide-out div,
#moderncart-slide-out dt,
#moderncart-slide-out dd,
#moderncart-slide-out h1,
#moderncart-slide-out h2,
#moderncart-slide-out h3,
#moderncart-slide-out h4,
[id*="moderncart-slide-out"] a,
[id*="moderncart-slide-out"] p,
[id*="moderncart-slide-out"] span,
[id*="moderncart-slide-out"] div,
[id*="moderncart-slide-out"] dt,
[id*="moderncart-slide-out"] dd,
[id*="moderncart-slide-out"] h1,
[id*="moderncart-slide-out"] h2,
[id*="moderncart-slide-out"] h3,
[id*="moderncart-slide-out"] h4,
.moderncart-slide-out p,
.moderncart-slide-out span,
.moderncart-slide-out dt,
.moderncart-slide-out dd {
  color: #f5f5f0;
}
#moderncart-slide-out .moderncart-collapse-btn-link {
  color: #ff754c !important;
}
#moderncart-slide-out .moderncart-cart-item-actions-remove svg,
#moderncart-slide-out .moderncart-slide-out-header-close svg {
  fill: #d8dad6 !important;
  color: #d8dad6 !important;
}
#moderncart-slide-out input,
[id*="moderncart-slide-out"] input,
.moderncart-slide-out input {
  background-color: #171918 !important;
  color: #f5f5f0 !important;
  border: 1px solid #333834 !important;
}
#moderncart-slide-out .moderncart-button,
#moderncart-slide-out .moderncart-checkout-btn,
#moderncart-slide-out a.checkout,
[id*="moderncart-slide-out"] .moderncart-button,
[id*="moderncart-slide-out"] .moderncart-checkout-btn,
[id*="moderncart-slide-out"] a.checkout,
.moderncart-slide-out .moderncart-checkout-btn {
  background-color: #ff754c !important;
  color: #171918 !important;
  font-weight: 700 !important;
}

/* === Quote Calculator Select/Input Text Clipping Fix === */
.sm-config-section select,
.sm-config-section input:not([type="range"]) {
  height: auto !important;
  min-height: 46px !important;
  line-height: 1.5 !important;
  padding: 10px 14px !important;
}
/* === Pro3D Lab Social Media Icons === */
.p3d-socials { display: inline-flex; align-items: center; gap: 10px; }
.p3d-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f5f5f0 !important; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.p3d-socials a:hover {
  color: #ff754c !important; border-color: #ff754c; background: rgba(255, 117, 76, 0.12); transform: translateY(-2px);
}
.p3d-footer-socials-item { display: inline-flex !important; align-items: center !important; margin-left: 8px; }
/* === Batch A Mobile Widget Hide & Desktop Astra Footer Menu Polish === */
.p3d-socials svg {
  width: 18px !important;
  height: 18px !important;
  opacity: 1 !important;
  display: block;
}
@media (min-width: 769px) {
  .ast-footer-menu-wrap ul {
    flex-wrap: nowrap !important;
    gap: 16px !important;
  }
  .ast-footer-menu-wrap ul a {
    white-space: nowrap !important;
  }
}
@media (max-width: 768px) {
  .p3d-socials {
    justify-content: flex-start !important;
    gap: 12px !important;
  }
  #wpconsent-floating-button,
  .wpconsent-floating-button,
  button[aria-label="Cookie Preferences"] {
    display: none !important;
  }
}

/* === Materiały (ID 7873) Header Match Homepage === */
body.page-id-7873 header a,
body.page-id-7873 header .brand,
body.page-id-7873 header nav a {
  color: #f5f5f0 !important;
}
body.page-id-7873 header nav a:hover,
body.page-id-7873 header nav a.active,
body.page-id-7873 header nav a[aria-current="page"] {
  color: #ff754c !important;
}
body.page-id-7873 header .button {
  color: #171918 !important;
}

/* UX/CRO: Nagłówek Astra w 1 linii, brak dublowania koszyka na desktopie, wyszukiwarka, box zaufania, /materialy/ mobile */
.main-header-menu .menu-link { white-space: nowrap !important; padding-left: 11px !important; padding-right: 11px !important; }
.ast-primary-header-bar .site-header-primary-section-center { flex: 1 1 auto !important; }
@media (min-width: 922px) {
    #moderncart-floating-cart, .moderncart-floating-cart { display: block !important; bottom: 84px !important; right: 24px !important; }
}
body.page-id-7873 header a { white-space: nowrap !important; }
@media (max-width: 900px) {
    body.page-id-7873 header { flex-wrap: wrap !important; gap: 10px !important; padding: 12px 14px !important; }
    body.page-id-7873 header nav { overflow-x: auto !important; max-width: 100% !important; flex-wrap: nowrap !important; }
    body.page-id-7873 header a[href*="wycena"] { margin-left: 0 !important; font-size: 13px !important; padding: 8px 12px !important; }
}
.woocommerce button.single_add_to_cart_button, .woocommerce a.add_to_cart_button { text-transform: none !important; }
.woocommerce div.product .woocommerce-tabs { margin-top: 24px !important; clear: both !important; }
.p3d-shop-search { display: flex; gap: 8px; max-width: 480px; margin: 0 0 20px; clear: both; }
.p3d-shop-search input[type="search"] { flex: 1; padding: 10px 14px; background: #1e211f !important; color: #f5f5f0 !important; border: 1px solid #333834 !important; border-radius: 8px; font-size: 14px; }
.p3d-shop-search input[type="search"]:focus { border-color: #ff754c !important; outline: none; }
.p3d-shop-search button { padding: 10px 18px; background: #ff754c; color: #171918; border: none; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.p3d-shop-search button:hover { background: #ff8a66; }
.p3d-product-trust { margin-top: 18px; padding: 14px 16px; background: #1e211f; border: 1px solid #2d312e; border-radius: 10px; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: #d8dad6; line-height: 1.45; }
.p3d-product-trust strong { color: #f5f5f0; }

/* Ciemne listy rozwijane <select>/<option> (naprawa białego tekstu na białym tle w sortowaniu i formularzach) */
html, select { color-scheme: dark; }
select, .woocommerce-ordering select.orderby { background-color: #1e211f !important; color: #f5f5f0 !important; border: 1px solid #333834 !important; border-radius: 8px !important; }
select option, .woocommerce-ordering select.orderby option { background-color: #1e211f !important; color: #f5f5f0 !important; }

/* Stopka Astra + kontrast zakladek + Stripe Express + rowne karty sklepu */
.site-footer .ast-footer-copyright, .site-footer .site-footer-below-section-1 { min-width: max-content !important; white-space: nowrap !important; }
.site-footer ul, .site-footer .ast-nav-menu { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; gap: 8px 16px !important; }
.site-footer .menu-link, .site-footer nav a { color: #a7aaa5 !important; font-size: 13px !important; white-space: nowrap !important; padding: 4px 8px !important; transition: color .15s ease !important; }
.site-footer .menu-link:hover, .site-footer nav a:hover { color: #ff754c !important; }
@media (min-width: 922px) {
  .site-footer, .site-below-footer-wrap { padding-left: 76px !important; padding-right: 76px !important; }
  .site-footer .ast-builder-grid-row-2-equal, .site-footer .ast-builder-grid-row { display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 24px !important; }
  .site-footer ul, .site-footer .ast-nav-menu { justify-content: flex-end !important; flex-wrap: nowrap !important; }
}
@media (max-width: 921px) {
  .site-footer, .site-below-footer-wrap { padding-left: 16px !important; padding-right: 16px !important; text-align: center !important; }
  .site-footer .ast-builder-grid-row, .site-footer .ast-builder-grid-row-2-equal { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 12px !important; }
  .site-footer .ast-footer-copyright, .site-footer .site-footer-below-section-1 { min-width: 0 !important; white-space: normal !important; }
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #d8dad6 !important; font-weight: 600 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a, .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: #ff754c !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before { background: #ff754c !important; }
#wc-stripe-express-checkout-element, .wc-stripe-express-checkout-element { background: transparent !important; min-height: 0 !important; }
.woocommerce ul.products li.product { display: flex !important; flex-direction: column !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap a.button { margin-top: auto !important; }

/* === GTranslate Dark Language Switcher (Astra Subpages) === */
body:not(.home) #masthead {
  position: relative;
  z-index: 100;
}
body:not(.home) #masthead:has(.gt_white_content[style*="block"]) {
  z-index: 99999;
}
body:not(.home) #ast-desktop-header .site-header-primary-section-right {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 16px !important;
}
body:not(.home) #ast-desktop-header .site-header-primary-section-right-center {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
}
body:not(.home) #ast-desktop-header .ast-header-woo-cart,
body:not(.home) #ast-desktop-header .ast-header-html-1,
body:not(.home) #ast-desktop-header .ast-header-button-1 {
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
body:not(.home) #ast-desktop-header .ast-header-woo-cart .ast-site-header-cart,
body:not(.home) #ast-desktop-header .ast-header-woo-cart .ast-addon-cart-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
}
body:not(.home) #ast-mobile-header .site-header-primary-section-right {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
}
body:not(.home) #ast-mobile-header .ast-header-html-2 {
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
body:not(.home) .pro3dlab-lang-switcher {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}
body:not(.home) .pro3dlab-lang-switcher .gtranslate_wrapper {
  display: inline-flex;
  align-items: center;
}
body:not(.home) .pro3dlab-lang-switcher a.gt_switcher-popup {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 12px !important;
  background: #1e211f !important;
  border: 1px solid #3a3d3b !important;
  border-radius: 999px !important;
  color: #f5f1e9 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: border-color .2s, background-color .2s !important;
}
body:not(.home) .pro3dlab-lang-switcher a.gt_switcher-popup:hover,
body:not(.home) .pro3dlab-lang-switcher a.gt_switcher-popup:focus-visible {
  border-color: #fa663b !important;
  background: #262927 !important;
  color: #f5f1e9 !important;
  outline: none;
}
body:not(.home) .pro3dlab-lang-switcher a.gt_switcher-popup img {
  width: 18px !important;
  height: 18px !important;
  object-fit: cover !important;
  border-radius: 2px !important;
  opacity: 1 !important;
  margin: 0 !important;
  flex-shrink: 0;
}
body:not(.home) .pro3dlab-lang-switcher a.gt_switcher-popup span {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  color: #f5f1e9 !important;
}
body:not(.home) .pro3dlab-lang-switcher a.gt_switcher-popup span:last-child {
  font-size: 9px !important;
  color: #a7aaa5 !important;
  margin-left: 1px !important;
}
body:not(.home) .gt_black_overlay {
  background-color: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(4px);
  z-index: 99998 !important;
}
body:not(.home) .gt_white_content {
  background-color: #1c1f1d !important;
  color: #f5f1e9 !important;
  border: 1px solid #3a3d3b !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  width: 220px !important;
  max-width: calc(100vw - 32px) !important;
  height: auto !important;
  max-height: 280px !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65) !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
}
body:not(.home) .gt_white_content .gt_languages {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  max-height: none !important;
  gap: 4px !important;
  overflow: visible !important;
}
body:not(.home) .gt_white_content a.glink {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border: 1px solid transparent !important;
  border-bottom: none !important;
  border-radius: 8px !important;
  color: #f5f1e9 !important;
  background: transparent !important;
  line-height: 1.2 !important;
  flex-basis: auto !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background-color .15s, border-color .15s, color .15s !important;
}
body:not(.home) .gt_white_content a.glink:hover,
body:not(.home) .gt_white_content a.glink:focus-visible {
  background-color: #262a27 !important;
  border-color: #fa663b !important;
  color: #fa663b !important;
  outline: none;
}
body:not(.home) .gt_white_content a.glink.gt-current-lang {
  background-color: rgba(250, 102, 59, 0.14) !important;
  border-color: rgba(250, 102, 59, 0.45) !important;
  color: #fa663b !important;
  font-weight: 600 !important;
}
body:not(.home) .gt_white_content a.glink img {
  width: 20px !important;
  height: 20px !important;
  object-fit: cover !important;
  border-radius: 3px !important;
  opacity: 1 !important;
  margin: 0 !important;
  flex-shrink: 0;
}
body:not(.home) .gt_white_content a.glink span {
  font-size: 14px !important;
  color: inherit !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
@media (max-width: 768px) {
  body:not(.home) .pro3dlab-lang-switcher a.gt_switcher-popup {
    padding: 7px 9px !important;
    gap: 5px !important;
  }
  body:not(.home) .pro3dlab-lang-switcher a.gt_switcher-popup span:nth-of-type(1) {
    display: none !important;
  }
}

/* === Spójna typografia podstron (DM Sans + Manrope) jak na stronie głównej === */
body:not(.home),
body:not(.home) button,
body:not(.home) input,
body:not(.home) select,
body:not(.home) textarea {
  font-family: 'DM Sans', sans-serif !important;
}

body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4,
body:not(.home) h5,
body:not(.home) h6,
body:not(.home) .entry-title,
body:not(.home) .woocommerce-loop-product__title,
body:not(.home) .site-title a {
  font-family: 'Manrope', sans-serif !important;
}

body:not(.home) .main-header-menu .menu-link,
body:not(.home) .ast-builder-menu-1 .menu-item > .menu-link,
body:not(.home) .ast-primary-header-bar .menu-link {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #d5d6d0;
}

body:not(.home) .main-header-menu .menu-link:hover,
body:not(.home) .main-header-menu .current-menu-item > .menu-link,
body:not(.home) .ast-builder-menu-1 .menu-item:hover > .menu-link,
body:not(.home) .ast-builder-menu-1 .current-menu-item > .menu-link {
  color: #ff754c !important;
}

body:not(.home) .ast-mobile-header-wrap .menu-link {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}