/*
Theme Name: DesignLamp Astra Child
Theme URI: https://designlamp.pl/
Description: Child theme for DesignLamp.pl based on Astra. Custom DesignLamp PHP and CSS are kept outside the Astra parent theme so parent updates are safe.
Author: DesignLamp
Template: astra
Version: 1.1.0
Text Domain: designlamp-astra-child
*/

/* =========================================================
   DESIGNLAMP – WŁASNY CSS
   Przeniesiony z: Wygląd -> Dostosuj -> Dodatkowy CSS
   Stan migracyjny: zachowany 1:1, aby po przełączeniu motywu
   wygląd sklepu nie zmienił się podczas migracji.
========================================================= */

/* Fibo/Astra: lewy panel filtrów z własnym scroll */
@media (min-width: 992px) {
  .woocommerce-page .widget-area {
    position: sticky;
    top: 90px;              /* dopasuj jeśli masz wysoki header */
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding-right: 10px;
  }
}

/* ==================================================
   DESIGNLAMP 2026 – FINAL CLEAN CSS
================================================== */


/* =============================
   ASTRA PRODUCT EXTRAS (PayPo)
============================= */

.ast-single-product-extras img,
.ast-woocommerce-product-extras img{
    height:60px !important;
    width:auto !important;
    display:block;
}


/* =============================
   QUANTITY – PREMIUM LOOK
============================= */

.single-product form.cart{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
}

.woocommerce .quantity input.qty{
    width:64px;
    height:44px;
    font-size:16px;
    font-weight:600;
    border-radius:12px;
    border:1px solid #ddd;
    background:#fff;
    text-align:center;
}

.woocommerce .quantity input.qty:focus{
    border-color:#111;
    outline:none;
}


/* =============================
   FREE SHIPPING BAR
============================= */

.free-shipping-bar{
    background:#f5f6f8;
    padding:16px;
    border-radius:12px;
    margin-bottom:20px;
    text-align:center;
    font-weight:600;
}

.free-shipping-bar .bar{
    background:#e5e7eb;
    height:8px;
    border-radius:8px;
    margin-top:10px;
    overflow:hidden;
}

.free-shipping-bar .bar span{
    display:block;
    height:100%;
    background:#111;
    transition:width .3s ease;
}

.free-shipping-bar.success{
    background:#e7f7ec;
    color:#1b7f3c;
}


/* =============================
   REMOVE DEFAULT SALE BADGE
============================= */

.woocommerce span.onsale,
.woocommerce .onsale,
span.onsale.circle{
    display:none !important;
}


/* =============================
   BADGES – PREMIUM SPLIT
============================= */

/* ==================================================
   BADGES – STABLE SPLIT (LEFT / RIGHT)
================================================== */

/* produkt */
.woocommerce ul.products li.product{
    position:relative;
}

/* LEWA STRONA – promocja / kod */
.dl-badges-left{
    position:absolute;
    top:14px;
    left:14px;
    display:flex;
    flex-direction:column;
    gap:6px;
    z-index:20;
}

/* PRAWA STRONA – nowość */
.dl-badges-right{
    position:absolute;
    top:14px;
    right:14px;
    display:flex;
    flex-direction:column;
    gap:6px;
    z-index:20;
}

/* pojedynczy badge */
.dl-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 14px;
    font-size:12px;
    font-weight:600;
    border-radius:999px;
    white-space:nowrap;
    line-height:1;
    letter-spacing:.3px;
    box-shadow:0 3px 8px rgba(0,0,0,.08);
}

/* -10% */
.dl-badge.sale{
    background:#111;
    color:#fff;
}

/* kod rabatowy */
.dl-badge.code{
    background:rgba(0,0,0,0.65);
    color:#fff;
}

/* nowość */
.dl-badge.new{
    background:#fff;
    color:#111;
    border:1px solid rgba(0,0,0,0.15);
}


/* =============================
   COUPON BOX – CLEAN PREMIUM
============================= */

.dl-coupon-wrapper{
    flex:0 0 100%;
    width:100%;
    margin-top:18px;
}

.dl-coupon-box{
    width:100%;
    max-width:520px;
    padding:18px 22px;
    background:#fff;
    border:1.5px solid #111;
    border-radius:14px;
    transition:.3s ease;
}

.dl-coupon-box:hover{
    box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.dl-coupon-top{
    font-size:15px;
    margin-bottom:10px;
}

.dl-coupon-code-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:8px;
}

.dl-label{
    font-size:13px;
    opacity:.65;
}

.dl-code{
    background:#111;
    color:#fff;
    padding:7px 14px;
    border-radius:8px;
    font-weight:700;
    font-size:14px;
    letter-spacing:.8px;
    cursor:pointer;
    transition:.2s ease;
}

.dl-code:hover{
    background:#333;
}

.dl-code.copied{
    background:#2e7d32 !important;
    transform:scale(1.04);
}

.dl-discount{
    background:#2e7d32;
    color:#fff;
    padding:4px 9px;
    border-radius:6px;
    font-weight:700;
    font-size:12px;
}

.dl-coupon-price{
    font-size:16px;
}

.dl-coupon-price del{
    opacity:.4;
    margin:0 5px;
}

.dl-coupon-price strong{
    font-size:18px;
    font-weight:700;
}

.dl-copy-info{
    font-size:11px;
    opacity:.55;
    margin-top:4px;
}
.product-shipping-time{
  margin: 10px 0 14px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  opacity: 1;
  display: inline-block;
  padding: 8px 1px;
  border-radius: 10px;
  }

.product-brand-logo{
  margin: 6px 0 10px;
}

.product-brand-logo .brand-logo{
  width: 120px;      /* zmień np. 70–120px */
  height: auto;
  border-radius: 0; /* jeśli chcesz bez zaokrągleń */
  display: block;
}

.dl-summary {
  display: inline-block;
  cursor: pointer;
  padding: 14px 28px;
  background: #000;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
}

.dl-summary:hover {
  background: #c6a75e;
  color: #000;
}

.dl-summary::-webkit-details-marker {
  display: none;
}

/* WooCommerce kategorie produktów – ukryj tytuł archiwum */
.tax-product_cat h1.woocommerce-products-header__title,
.tax-product_cat .woocommerce-products-header__title,
.tax-product_cat .page-title,
.tax-product_cat .entry-title,
.tax-product_cat .ast-archive-title,
.tax-product_cat header.woocommerce-products-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Wymuszenie jasnego motywu */
:root {
  color-scheme: light !important;
}

html {
  background: #ffffff !important;
}

body {
  background: #ffffff !important;
  color: #222222 !important;
}

/* Ignoruj dark mode systemu */
@media (prefers-color-scheme: dark) {
  html, body {
    background: #ffffff !important;
    color: #222222 !important;
  }
}

/* =========================
   DESIGN LAMP – FINAL GRID (3 LINIE)
   ========================= */

/* Karta produktu */
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

/* Obszar obrazu – stała wysokość */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
  display: block;
  width: 100%;
  height: 260px;            /* możesz zmienić 240–300 */
  object-fit: contain;
  margin: 0 auto 12px;
}

/* Tytuł – max 3 linie */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 500;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: 66px;          /* miejsce na 3 linie */
  margin: 8px 0 6px;
}

/* Cena */
.woocommerce ul.products li.product .price {
  font-size: 17px;
  font-weight: 600;
  margin: 6px 0 14px;
}

/* Przycisk zawsze na dole */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  margin-top: auto;
}

/* Usuń czas wysyłki z listy produktów */
.woocommerce ul.products li.product .product-shipping-time {
    display: none !important;
}

.home .wp-block-group{
padding-top:30px !important;
padding-bottom:30px !important;
}

.dl-badges-left,
.dl-badges-right {
    position: absolute;
    top: 10px;
    display: flex;
    gap: 6px;
    z-index: 5;
}

.dl-badges-left {
    left: 10px;
    flex-wrap: wrap;
}

.dl-badges-right {
    right: 10px;
}

.dl-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.designlamp-brands {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    transition: all 0.25s ease;
    border: 1px solid #eee;
}

.brand-item img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.25s ease;
}

.brand-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-name {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

/* ================================
   DESIGNLAMP – BRANDS PREMIUM UI
================================ */

/* GRID */
.designlamp-brands {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 22px;
}

/* KARTA */
.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* DELIKATNY OVERLAY */
.brand-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,0.03), transparent);
    opacity: 0;
    transition: 0.3s;
}

/* LOGO — KOLOROWE (KLUCZOWE) */
.brand-item img {
    max-height: 90px;
    max-width: 95%;
}

/* HOVER KARTA */
.brand-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #ffffff, #eef2ff);
    border-color: transparent;
}

/* HOVER OVERLAY */
.brand-item:hover::before {
    opacity: 1;
}

/* LEKKI ZOOM LOGO */
.brand-item:hover img {
    transform: scale(1.05);
}

/* FALLBACK TEXT */
.brand-name {
    font-weight: 600;
    font-size: 15px;
    color: #111;
    text-align: center;
}

/* A-Z NAV */
.az-nav {
    position: sticky;
    top: 80px;
    background: #fff;
    padding: 10px 0;
    margin-bottom: 30px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #eee;
}

/* LITERY NAV */
.az-nav a {
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.2s;
}

.az-nav a:hover {
    background: #111;
    color: #fff;
}

/* SEKCJA */
.az-group {
    margin-bottom: 50px;
}

/* STICKY LITERA */
.az-letter {
    position: sticky;
    top: 130px;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    background: #fff;
    z-index: 5;
    color: #111;
}

/* FORCE COLOR LOGOS */
.brand-item img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

/* jeśli Astra coś dodaje */
img {
    filter: none;
}

/* ================================
   DESIGNLAMP – A-Z NAV PREMIUM
================================ */

/* WRAPPER NAV */
.az-nav {
    position: sticky;
    top: 80px;
    z-index: 20;
    margin: 20px 0 30px;
    padding: 12px 18px;

    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);

    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* LITERY */
.az-nav a {
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;

    color: #555;
    font-weight: 600;
    font-size: 13px;

    transition: all 0.2s ease;
}

/* HOVER */
.az-nav a:hover {
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
}

/* AKTYWNA LITERA (pod JS w przyszłości) */
.az-nav a.active {
    background: #111;
    color: #fff;
}

/* ================================
   STICKY LITERA SEKCJI (A, B, C...)
================================ */

.az-letter {
    position: sticky;
    top: 140px;
    z-index: 10;

    font-size: 24px;
    font-weight: 700;

    padding: 6px 10px;
    margin-bottom: 15px;

    background: #fff;
    border-radius: 8px;

    display: inline-block;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* ================================
   LEPSZY ODSTĘP OD MENU
================================ */

.designlamp-az-wrapper {
    padding-top: 10px;
}

/* ================================
   BOX SZZYNY
================================ */

/* FIX NACHODZENIA + spacing */
.designlamp-help-box {
    margin-top: 30px; /* było 20px */
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(205deg, #eeeeee, #ddd1c1);
    border: 1px solid #e3e7ed;

    position: relative;
    z-index: 1;
    clear: both; /* 🔥 KLUCZOWE — spycha PayPo */
}

/* dodatkowy odstęp od PayPo jeśli trzeba */
.single-product .designlamp-help-box {
    margin-top: 60px;
}

/* LAYOUT */
.designlamp-help-box .help-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.designlamp-help-box .help-text {
    max-width: 70%;
}

/* 🔥 BADGE — większy i bardziej widoczny */
.help-badge {
    display: inline-block;
    font-size: 14px; /* było 12px */
    font-weight: 700;
    color: #0a7d3b;
    background: #eeeeee;
    padding: 6px 12px; /* większy */
    border-radius: 999px;
    margin-bottom: 10px;
}

/* TEKST */
.designlamp-help-box strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.designlamp-help-box p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* BUTTON */
.designlamp-help-box .help-btn {
    white-space: nowrap;
    padding: 12px 18px;
    background: #000;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.designlamp-help-box .help-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

/* MOBILE */
@media (max-width: 768px) {
    .designlamp-help-box .help-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .designlamp-help-box .help-text {
        max-width: 100%;
    }

    .designlamp-help-box .help-btn {
        width: 100%;
        text-align: center;
    }
}

.brand-description-bottom {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination {
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-block;
}

/* === SEKCJA PRODUCENTA === */

.dl-producer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  margin: 60px 0;
}

/* === LEWA STRONA === */

.dl-left {
  background: #f6f6f6;
  padding: 30px;
  border-radius: 20px;
}

/* TOP (logo + tekst) */
.dl-card-top {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.dl-brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
}

/* tekst */
.dl-left h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.dl-left p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

/* button */
.dl-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
}

/* produkty lewa (4 sztuki) */
.dl-left-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* === PRAWA STRONA === */

.dl-right {
  background: #f6f6f6;
  padding: 30px;
  border-radius: 20px;

  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 🔥 klucz */
  gap: 25px;
}

/* === PRODUKT === */

.dl-product,
.dl-left-product {
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  text-decoration: none;
  color: #000;

  height: 380px; /* 🔥 stabilna wysokość */
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: 0.2s;
}

.dl-product:hover,
.dl-left-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* === ZDJĘCIA === */

.dl-product img,
.dl-left-product img {
  width: 100%;
  height: 240px; /* 🔥 większe */
  object-fit: contain;
  margin-bottom: 10px;
}

/* === NAZWA === */

.dl-product span,
.dl-left-product span {
  font-size: 13px;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  min-height: 34px;
}

/* === CENA === */

.dl-product strong,
.dl-left-product strong {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
}

/* === MOBILE === */

@media (max-width: 1024px) {

  .dl-producer {
    grid-template-columns: 1fr;
  }

  .dl-right {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {

  .dl-left-products {
    grid-template-columns: 1fr;
  }

  .dl-right {
    grid-template-columns: 1fr;
  }

}

.usp-section.luxury {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px 20px;
  background: #fafafa;
  border-radius: 14px;
}

.usp-section.luxury .usp-item {
  text-align: center;
  padding: 10px 15px;
  position: relative;
}

.usp-section.luxury .usp-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #e5e5e5;
}

/* IKONY */
.usp-section.luxury .usp-icon svg {
  width: 32px;
  height: 32px;
  fill: #c8a46b; /* 🔥 złoty akcent */
  margin-bottom: 10px;
}

/* TEKST */
.usp-section.luxury .usp-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.usp-section.luxury .usp-desc {
  font-size: 13px;
  color: #777;
}

/* MOBILE */
@media (max-width: 768px) {
  .usp-section.luxury {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .usp-section.luxury .usp-item::after {
    display: none;
  }
}

.usp-section.luxury {
  max-width: 1300px; /* było 1100px */
  padding: 50px 30px; /* więcej przestrzeni */
}

.usp-section.luxury .usp-icon svg {
  width: 42px;  /* było 32px */
  height: 42px;
}

.usp-section.luxury .usp-title {
  font-size: 18px; /* było 15px */
}

.usp-section.luxury .usp-desc {
  font-size: 15px; /* było 13px */
}

.usp-section.luxury {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 60px 80px;
}

.usp-section.luxury {
  max-width: 1300px;   /* kontrolowana szerokość */
  margin: 60px auto;
  padding: 50px 40px;
}

.usp-section.luxury {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.usp-section.luxury .usp-item:not(:last-child)::after {
  right: 0;
  top: 25%;
  height: 50%;
}

.brand-carousel {
  overflow-x: scroll;
  overflow-y: hidden;
  width: 100%;
  padding: 20px 0;
  scroll-behavior: smooth;
}

/* ukrycie scrollbara */
.brand-carousel::-webkit-scrollbar {
  display: none;
}

.brand-track {
  display: flex;
  width: max-content;
  animation: brandScroll 45s linear infinite;
}

/* ⏸ pauza na hover */
.brand-carousel:hover .brand-track {
  animation-play-state: paused;
}

.brand-track img {
  height: 80px;
  margin: 0 60px;
  opacity: 0.7;
  transition: 0.3s;
  user-select: none;
  pointer-events: auto;
}

.brand-track img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* cursor do drag */
.draggable {
  cursor: grab;
}

.draggable:active {
  cursor: grabbing;
}

@keyframes brandScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-track img {
  scroll-snap-align: center;
}

.brand-carousel {
  scroll-snap-type: x mandatory;
}

@media (max-width: 768px) {

  .usp-section.luxury {
    grid-template-columns: 1fr 1fr; /* 2 kolumny */
    padding: 30px 15px; /* mniej paddingu */
    gap: 20px;
  }

  .usp-section.luxury .usp-icon svg {
    width: 28px;
    height: 28px;
  }

  .usp-section.luxury .usp-title {
    font-size: 14px;
  }

  .usp-section.luxury .usp-desc {
    font-size: 12px;
  }

}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #ccc;
}

footer .widget-title {
  color: #fff !important;
}

footer .widget-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

footer ul {
  padding: 0;
  list-style: none;
}

footer li {
  margin-bottom: 6px;
}

.category-description-bottom {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.category-description-bottom {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.category-description-bottom p {
    text-align: center;
}

.dual-stock-box {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px; /* 🔥 odsuwa od PayPo */
    flex-wrap: wrap;
}

.stock-item {
    flex: 1;
    min-width: 220px;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #eee;
    background: #fafafa;
}

.stock-24h {
    border-color: #4CAF50;
    background: #f6fff7;
}

.stock-producer {
    border-color: #f0a500;
    background: #fffaf2;
}

.stock-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.stock-sub {
    font-size: 14px;
    color: #666;
}

/* 🔥 BOX MAGAZYNÓW */
.dual-stock-box {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
    width: 100%;
    align-items: stretch;
}

/* 🔲 POJEDYNCZY BOX */
.stock-item {
    flex: 1;
    min-width: 240px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 2px solid #eee;
    background: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* 🔥 center */
    text-align: center;  /* 🔥 center */
}

/* 🟢 MAGAZYN 24H */
.stock-24h {
    border-color: #4CAF50;
    background: #f6fff7;
}

/* 🟠 MAGAZYN PRODUCENTA */
.stock-producer {
    border-color: #f0a500;
    background: #fffaf2;
}

/* 🏷️ TYTUŁ */
.stock-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;

    display: flex;
    align-items: center;
    justify-content: center; /* 🔥 center */
    gap: 6px;

    min-height: 24px; /* równa wysokość */
}

/* ℹ️ OPIS */
.stock-sub {
    font-size: 14px;
    color: #555;
    line-height: 1.5;

    min-height: 42px; /* 🔥 wyrównanie boxów */
}

/* ❌ UKRYJ STARY CZAS WYSYŁKI */
.product-shipping-time {
    display: none !important;
}

/* ❌ UKRYJ DOSTĘPNOŚĆ */
body.single-product p.stock,
.woocommerce div.product p.stock,
.woocommerce div.product .stock.in-stock {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.stock-sub {
    font-size: 14px;
    color: #555;
    line-height: 1.5;

    min-height: 36px; /* 🔥 było 42px → zmniejszamy */
}

.stock-item {
    justify-content: flex-start; /* 🔥 zamiast center */
}

.stock-qty {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stock-item {
    padding: 12px 14px; /* było 18px → mniej powietrza */
}

.dual-stock-box {
    gap: 10px; /* było 15px */
}

.dual-stock-box {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    align-items: flex-start;
    max-width: 520px; /* 🔥 KLUCZ – zmniejsza całość */
}

.stock-item {
    flex: 1;
    padding: 10px 12px; /* 🔥 mniej paddingu */
    border-radius: 10px;
}

.stock-item {
    gap: 1px;
}

.dual-stock-box {
    display: flex;
    gap: 10px;
    align-items: stretch; /* 🔥 wyrównuje wysokość */
}

.stock-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 🔥 rozkłada content */
}

.stock-sub {
    margin-top: auto;
}

.custom-shipping-info {
    order: 3;
    font-size: 14.5px;
    line-height: 1.4;
    color: #333;
    max-width: 200px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* każda linia */
.custom-shipping-info br {
    display: none;
}

.custom-shipping-info span {
    display: block;
}

/* pogrubienia */
.custom-shipping-info strong {
    font-weight: 600;
}

/* zielony akcent dla darmowej */
.custom-shipping-info .free {
    color: #2e7d32;
    font-weight: 600;
}

.custom-shipping-info {
    padding-left: 10px;
    border-left: 2px solid #e5e5e5;
}

@media (max-width: 768px) {
    .custom-shipping-info {
        font-size: 15.5px;
        line-height: 1.5;
        width: 100%;
        margin-top: 10px;
    }

    .custom-shipping-info strong {
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    .stock-box, 
    .elementor-widget-container .stock-box, 
    .woocommerce div.product .stock-box {
        padding: 10px !important;
        border-radius: 8px;
        font-size: 13px;
    }

    .stock-box strong {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .stock-box {
        padding: 8px 10px !important;
        border-radius: 6px;
        font-size: 13px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stock-box strong {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .custom-shipping-info {
        font-size: 15px;
        line-height: 1.4;
        margin: 10px 0;
        padding: 10px;
        background: #f8f9fb;
        border-radius: 8px;
        border: 1px solid #eee;
    }

    .custom-shipping-info span {
        display: block;
    }

    .custom-shipping-info .free {
        color: #2e7d32;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .custom-shipping-info {
        width: 100%;
        max-width: 100%;
        display: block;
    }
}

@media (max-width: 768px) {
    .custom-shipping-info {
        width: 100%;
        padding: 12px;
        border-radius: 10px;
        background: #f8f9fb;
        border: 1px solid #e6e8eb;
        font-size: 15px;
        line-height: 1.4;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .custom-shipping-info .free {
        color: #2e7d32;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .custom-shipping-info {
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        background: #f8f9fb;
        border: 1px solid #e6e8eb;
        
        display: flex;
        flex-direction: column;
        gap: 4px;

        font-size: 15px;
        line-height: 1.4;
        color: #333;
    }

    .custom-shipping-info span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .custom-shipping-info strong {
        font-weight: 600;
    }

    .custom-shipping-info .free {
        color: #2e7d32;
        font-weight: 600;
    }
}

/* CLS FIX */
.woocommerce ul.products {
  min-height: 500px;
}

.woocommerce ul.products li.product {
  min-height: 380px;
}

img {
  height: auto;
}

/* ===== KARUZELA MAREK ===== */

.brand-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 12px 0 18px;
}

.brand-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 18px;
}

.brand-item {
    flex: 0 0 150px;
    width: 150px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.brand-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    overflow: visible;
}

.brand-item img {
    display: block;
    width: 125px !important;
    height: 50px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    opacity: 0.9;
    transform: scale(1.35);
    transform-origin: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand-item:hover img {
    opacity: 1;
    transform: scale(1.45);
}

/* Logo AQForm ma lepsze proporcje, więc nie trzeba go aż tak powiększać */
.brand-item img[src*="aqform"] {
    transform: scale(1.05);
}

.brand-item:hover img[src*="aqform"] {
    transform: scale(1.12);
}

/* Markslöjd jest pionowe – ograniczamy powiększenie */
.brand-item img[src*="marklogo"] {
    transform: scale(1.05);
}

.brand-item:hover img[src*="marklogo"] {
    transform: scale(1.12);
}

/* Mobile */
@media (max-width: 768px) {
    .brand-track {
        gap: 12px;
    }

    .brand-item {
        flex: 0 0 120px;
        width: 120px;
        height: 62px;
    }

    .brand-item img {
        width: 100px !important;
        height: 42px !important;
        transform: scale(1.3);
    }
}