/* ========================================
   ERGOMÅTTER — PrestaShop 8.x + CE Theme
   Complete CSS: original design + PS overrides
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* === VARIABLES === */
:root {
  --teal: #339999;
  --teal-dk: #2A7D7D;
  --teal-lt: #E6F2F2;
  --dark: #1A1A1A;
  --g900: #2D2D2D;
  --g700: #555;
  --g500: #888;
  --g300: #CCC;
  --g100: #F0F0F0;
  --cream: #F5F2ED;
  --white: #FFF;
  --border: #E5E5E5;
  --ff: 'Plus Jakarta Sans', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --max: 1440px;
}

/* === GLOBAL === */
body { font-family: var(--ff) !important; color: var(--dark); background: var(--cream) !important; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.container, #wrapper .container { max-width: var(--max); }
h1 em, h2 em, h3 em { font-family: var(--serif)!important; font-style: italic!important; color: var(--teal)!important;}

/* === ICON GRID (product specs) === */
.js-ico-grid { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.js-ico-cell { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.js-ico-cell:hover { opacity: .7; }
.js-ico-cell img { width: 40px; height: 40px; object-fit: contain; }
.js-tooltip { display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--dark); color: var(--white); font-family: var(--ff); font-size: .72rem; font-weight: 500; padding: 6px 10px; border-radius: 6px; white-space: nowrap; z-index: 10000000; }
.js-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--dark); }
.js-ico-cell:hover .js-tooltip { display: block; }

/* === TOP BAR === */
.topbar { background: var(--dark); color: var(--white); font-size: .75rem; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--teal); }
.topbar-l { display: flex; gap: 14px; align-items: left;text-align:left; }
.topbar-l i { margin-right: 4px; }
.topbar-r { display: flex; gap: 14px;text-align:right; align-items: right;}
@media(max-width:767px) { .topbar-r { display: none; } .topbar-l span:nth-child(2), .topbar-l span:nth-child(3) { display: none; } }



/* === TRUST BAR === */
.trust { background: var(--white); padding: 12px 0;  }
.trust .wrap { display: flex; padding: 0; max-width: 100%; }
.trust-i { display: flex; align-items: center; gap: 10px; padding: 6px 0; flex: 1; justify-content: center; font-size: .82rem; font-weight: 600; color: var(--dark); }
.trust-ic { font-size: 1.1rem; color: var(--teal); flex-shrink: 0; }
@media(max-width:767px) {
  .trust .wrap { flex-wrap: wrap; }
  .trust-i { flex: 0 0 50%; padding: 10px 12px; gap: 8px; border-bottom: 1px solid var(--border); justify-content: flex-start; }
  .trust-i:nth-child(odd) { border-right: 1px solid var(--border); }
  .trust-i:nth-child(n+3) { border-bottom: none; }
  .trust-i { font-size: .75rem; }
  .trust-ic { font-size: 1rem; }
}
@media(min-width:768px) {
  .trust-i { border-right: 1px solid var(--border); }
  .trust-i:last-child { border-right: none; }
}


/* === BUTTONS === */
.btn { display: inline-block; padding: 13px 28px; font-size: .88rem; font-weight: 600; font-family: var(--ff); border-radius: 28px; cursor: pointer; border: none; text-align: center; white-space: nowrap; }
.btn-p { background: var(--teal); color: var(--white); }
.btn-p:hover { background: var(--teal-dk); color: var(--white); }
.btn-o { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-o:hover { border-color: var(--teal); color: var(--teal); }
.btn-primary, .add-to-cart, #content .btn-primary {
  font-family: var(--ff); font-size: .88rem; font-weight: 600;
  border-radius: 28px !important; padding: 13px 28px;
  background: var(--teal) !important; color: var(--white) !important; border: none !important;
}
.btn-primary:hover, .add-to-cart:hover { background: var(--teal-dk) !important; }
.btn-secondary { background: transparent !important; color: var(--dark) !important; border: 1.5px solid var(--dark) !important; border-radius: 28px !important; }
.btn-secondary:hover { border-color: var(--teal) !important; color: var(--teal) !important; }



/* === HERO === */
.hero { background: var(--cream); padding: 40px 0 48px; }
.hero .wrap { display: flex; flex-direction: column; gap: 32px; }
.hero-txt h1 { font-size: 1.85rem; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.hero-txt p { font-size: .92rem; color: var(--g700); margin-bottom: 24px; max-width: 420px; line-height: 1.65; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cats { display: grid; grid-template-columns: 1fr; gap: 20px; }
.hero-section { background: var(--cream); padding: 40px 0 48px; }
.hero-section h1 { font-size: 1.85rem; font-weight: 700; line-height: 1.2; }
.hero-section p { font-size: .92rem; color: var(--g700); line-height: 1.65; }

/* === CATEGORY CARDS === */
.cat-card,
.elementor-column.cat-card { background: var(--white); border-radius: 10px; overflow: hidden; display: block; color: inherit; transition: box-shadow .2s; }
.cat-card:hover,
.elementor-column.cat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); color: inherit; }
.cat-card img,
.elementor-column.cat-card .elementor-widget-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--g100); }
.cat-card-body { padding: 0 20px 10px 20px; }
.cat-card-body h3 { font-size: 1.05rem; font-weight: 700;}
.cat-card-body p { font-size: .83rem; color: var(--g700); line-height: 1.55; margin-bottom: 10px; }
.cat-lnk { font-size: .83rem; font-weight: 600; color: var(--teal); }
.cat-lnk i { margin-left: 4px; font-size: .75rem; }

/* CE column overrides */
.elementor-column.cat-card { margin: 0 10px 10px; align-self: flex-start !important; }
.elementor-column.cat-card .elementor-column-wrap,
.elementor-column.cat-card .elementor-element-populated { height: auto !important; min-height: 0 !important; }
.elementor-column.cat-card .elementor-widget-wrap { display: flex; flex-direction: column; height: auto !important; min-height: 0 !important; padding: 0 !important; }
.elementor-section.quality .elementor-widget-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
@media(max-width:767px) {
  .elementor-column.cat-card { margin: 0 0 10px 0 !important; }
}


/* === PRODUCT GRID === */
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard { background: var(--white); border-radius: 10px; overflow: hidden; display: block; color: inherit; }
.pcard:hover { color: inherit; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.pcard img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--g100); }
.pcard-info { padding: 14px 16px 16px; }
.pcard-name { font-size: .88rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-price { font-size: .92rem; color: var(--teal); font-weight: 700; }
.pcard-price small { font-size: .72rem; color: var(--g500); font-weight: 400; margin-left: 4px; }



/* === QUALITY SECTION === */
.quality { color: var(--white); padding: 0; background: #339999; }
.quality .wrap { display: flex; flex-direction: column; gap: 28px; }
.quality img { width: 50%; aspect-ratio: 16/10;}
.elementor-section.quality .elementor-widget-image img { object-position: center -500px; }
.quality-txt h2 { font-size: 1.9rem; font-weight: 700; line-height: 1.2; color: #ffffff !important; }
.quality-txt h2 em { color: var(--teal-lt) !important; }
.quality-txt p { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 10px; }
.quality-feats { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.quality-feat { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--white); }
.quality-feat i { color: var(--teal-lt); font-size: 1rem; flex-shrink: 0; }
.quality-section { background: #339999 !important; color: var(--white); padding: 48px 0; }
.quality-section h2 { font-size: 1.7rem; font-weight: 700; line-height: 1.2; color: var(--white); }
.quality-section h2 em { color: var(--dark) !important; }
.quality-section p { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.7; }
.quality-section img { border-radius: 10px; }



/* === BREADCRUMBS === */
.breadcrumb, #wrapper .breadcrumb {display:none;}
.elementor-widget-breadcrumb{padding: 10px 0 10px 0;}

/* === CATEGORY HEADER === */
.cat-hdr { background: var(--white); border-bottom: 1px solid var(--border); }
.cat-hdr .wrap { display: flex; flex-direction: column; min-height: 280px; }
.cat-hdr-txt { padding: 32px 0; display: flex; flex-direction: column; justify-content: center; }
.cat-hdr-txt h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.cat-hdr-txt p { font-size: .88rem; color: var(--g700); line-height: 1.7; max-width: 500px; }
.cat-count { margin-top: 16px; font-size: .78rem; color: var(--g500); font-weight: 500; }
.cat-hdr-img { width: 100%; height: 220px; border-radius: 10px; object-fit: cover; background: var(--g100); margin-bottom: 24px; }

/* === TOOLBAR === */
.toolbar { padding: 20px 0; border-bottom: 1px solid var(--border);font-size: .82rem; color: var(--g500); }
.toolbar select{width:100px;}
.toolbar-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--g700);
}

@media (max-width: 500px) {
    #sticky {
        position: fixed !important;
        top: 0;
		z-index:9999;
		box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }
}


/* CE Product Quantity */
.ce-product-quantity { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.ce-product-quantity__btn { width: 40px; height: 36px; background: var(--g100); font-size: 1.1rem; cursor: pointer; color: var(--dark); display: flex; align-items: center; justify-content: center; }
.ce-product-quantity__btn:hover { background: var(--g300); }
.ce-product-quantity input { width: 50px; height: 20px; border: none; text-align: center; font-family: var(--ff); font-size: .95rem; font-weight: 600; background: var(--white); }
.ce-product-quantity input:focus { outline: none; }
.ce-product-quantity--view-inline input[type=number] { margin: 0 !important; }
.ce-product-quantity--view-inline .ce-product-quantity__btn{height:24px}



/* Features bar */
.pd-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 0; padding: 20px; background: var(--teal-lt); border-radius: 10px; }
.pd-feat { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.pd-feat i { color: var(--teal); font-size: .9rem; flex-shrink: 0; }

/* === PRODUCT DESCRIPTION + SPECS LAYOUT === */
.pd-layout { display: flex; gap: 2rem; align-items: flex-start; }
.pd-description { flex: 1 1 50%; }
.pd-description h2 { margin: 0 0 1rem 0; font-size: 1.4rem; }
.pd-description p { margin: 0 0 0.75rem 0; line-height: 1.6; color: #444; }
.pd-specs-wrap { flex: 0 0 48%; min-width: 300px; }
@media (max-width: 768px) {
  .pd-layout { flex-direction: column; }
  .pd-specs-wrap { min-width: 100%; }
}

/* === SPECS ACCORDION === */
.pd-specs { background: var(--white); border-radius: 10px 10px 0 0; padding: 24px; position: relative; max-height: 9999px; overflow: hidden; transition: max-height .4s ease; border: 1px solid var(--border); }
.pd-specs.is-collapsed { max-height: 200px; }
.pd-specs.is-collapsed::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(transparent, var(--white)); pointer-events: none; }
.pd-specs h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.pd-specs table { width: 100%; border-collapse: collapse; }
.pd-specs td { padding: 10px 0; border-bottom: 1px solid var(--g100); font-size: .85rem; }
.pd-specs td:first-child { font-weight: 600; color: var(--dark); width: 25%; }
.pd-specs td:last-child { color: var(--g700); }
.pd-specs tr:last-child td { border-bottom: none; }
.pd-specs-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; background: var(--white); border: 1px solid var(--border); border-top: none; border-radius: 0 0 10px 10px; font-family: var(--ff); font-size: .82rem; font-weight: 600; color: var(--teal); cursor: pointer; transition: background .15s; }
.pd-specs-toggle:hover { background: var(--teal-lt); }
.pd-specs-toggle i { transition: transform .3s; }
.pd-specs:not(.is-collapsed) + .pd-specs-toggle i { transform: rotate(180deg); }

/* === FOOTER === */
.ftr { background: var(--dark); color: var(--g300); padding: 40px 0 24px; }
.ftr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ftr-col h4 { color: var(--white); font-size: .88rem; font-weight: 700; margin-bottom: 10px; }
.ftr-col p, .ftr-col a { font-size: .8rem; color: var(--g300); line-height: 1.9; display: block; }
.ftr-col a:hover { color: var(--teal); }
.ftr-col i { margin-right: 6px; color: var(--teal); width: 14px; text-align: center; }
.ftr-btm { border-top: 1px solid var(--g700); padding: 16px 0 0; text-align: center; font-size: .72rem; color: var(--g500); margin-top: 32px; }
.ergo-footer { background: var(--dark) !important; color: var(--g300); padding: 40px 0 24px; }
.ergo-footer h4, .ergo-footer .elementor-heading-title { color: var(--white) !important; font-size: .88rem; font-weight: 700; margin-bottom: 10px; }
.ergo-footer p, .ergo-footer a, .ergo-footer .elementor-icon-list-text { font-size: .8rem !important; color: var(--g300) !important; line-height: 1.9; }
.ergo-footer a:hover, .ergo-footer .elementor-icon-list-item:hover .elementor-icon-list-text { color: var(--teal) !important; }
.ergo-footer .elementor-icon-list-icon i { color: var(--teal); }



/* === RESPONSIVE === */
@media(min-width:768px) {
  .ham { display: none; }
  .nav-d { display: block; }
  .hero .wrap { flex-direction: row; align-items: flex-start; gap: 40px; }
  .hero-txt { flex: 0 0 32%; padding-top: 16px; }
  .hero-txt h1 { font-size: 2.2rem; }
  .hero-section h1 { font-size: 2.2rem; }
  .hero-cats { flex: 1; grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .products, #products .products, .featured-products .products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .quality .wrap { flex-direction: row; align-items: center; gap: 48px; }
  .quality img { flex: 0 0 50%; }
  .quality-txt { flex: 1; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: repeat(4, 1fr); }
  .sec-t-line::before, .sec-t-line::after { flex: 0 0 80px; }
  .cat-hdr .wrap { flex-direction: row; align-items: stretch; min-height: 400px; }
  .cat-hdr-txt { flex: 0 0 40%; padding: 48px 40px 48px 0; }
  .cat-hdr-txt h1 { font-size: 2.2rem; }
  .cat-hdr-img { flex: 0 0 60%; height: auto; min-height: 400px; border-radius: 0; margin-bottom: 0; }
  .pd .wrap { flex-direction: row; align-items: flex-start; gap: 48px; }
  .pd-gallery { flex: 0 0 50%; position: sticky; top: 90px; }
  .pd-info { flex: 1; }
  .pd-info h1 { font-size: 2rem; }
  .product-information h1, #product h1 { font-size: 2rem !important; }
  .pd-desc .wrap { flex-direction: row; gap: 48px; }
  .pd-desc-txt { flex: 1; }
  .pd-specs-wrap { flex: 0 0 40%; }
}
@media(min-width:1024px) {
  .wrap { padding: 0 40px; }
  .hero-txt h1 { font-size: 2.6rem; }
  .hero-section h1 { font-size: 2.6rem; }
  .sec-t h2 { font-size: 1.7rem; }
  .sec-t-line::before, .sec-t-line::after { flex: 0 0 120px; }
  .cat-hdr-txt h1 { font-size: 2.6rem; }
  .pd-gallery { flex: 0 0 55%; }
}
@media(min-width:1440px) {
  .wrap { padding: 0 60px; }
  .hero-txt h1 { font-size: 2.8rem; }
}

 
/* === SECTION TITLE === */
.sec-t { text-align: center; padding:20px 0 20px 0; }
.sec-t h2 { font-size: 1.4rem; font-weight: 700; line-height: 1.3; }
.sec-t-line { display: flex; align-items: center; justify-content: center; gap: 16px; }
.sec-t-line::before,
.sec-t-line::after { content: ''; height: 1px; background: var(--border); flex: 0 0 40px; }

/* === USP BLOCKS === */
.usp { padding: 48px 0; }
.usp-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.usp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
}
.usp-ic {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-lt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.usp-card h3 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.usp-card p {
  font-size: .78rem;
  color: var(--g700);
  line-height: 1.5;
}

@media(min-width:768px) {
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .usp-card { padding: 24px 20px; }
  .usp-ic { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 12px; }
  .usp-card h3 { font-size: .92rem; }
  .usp-card p { font-size: .8rem; }
}

@media(min-width:1024px) {
  .usp-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .usp-card {
    border-radius: 14px;
    min-height: 220px;
    justify-content: flex-start;
  }
  .usp-ic { width: 52px; height: 52px; font-size: 1.25rem; margin-bottom: 16px; }
  .usp-card h3 { font-size: .95rem; margin-bottom: 8px; }
  .usp-card p { font-size: .82rem; line-height: 1.6; }
}

/* === CE PRODUCT CUSTOMIZATION === */
.ce-product-customization { margin-bottom: 20px;text-align:left}
.ce-product-customization .elementor-heading-title { font-size: .82rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.ce-product-customization .elementor-text-editor { font-size: .75rem; color: var(--g500); margin-bottom: 16px; }
.ce-product-customization .elementor-field-label { display: block; font-size: .82rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }

/* Layout: upload 35% | comment 61% | button 100% */
.ce-product-customization .elementor-form-fields-wrapper { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 16px; align-items: stretch; }
.ce-product-customization .elementor-column.elementor-col-100.elementor-field-type-image { width: 35% !important; max-width: 35% !important; flex: 0 0 35% !important; }
.ce-product-customization .elementor-column.elementor-col-100.elementor-field-type-text { width: calc(65% - 16px) !important; max-width: calc(65% - 16px) !important; flex: 0 0 calc(65% - 16px) !important; display: flex; flex-direction: column; }
.ce-product-customization .elementor-column.elementor-col-100.elementor-field-type-submit { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }

/* Upload drop zone */
.ce-product-customization .elementor-field-type-image .elementor-field {
	border: 2px dashed var(--border); border-radius: 10px; background: var(--white);
	cursor: pointer; transition: border-color .2s, background .2s; display: flex; flex-direction: column;
	align-items: center; justify-content: center; text-align: center; position: relative;
	width: 100px; height: 100px; box-sizing: border-box;
}
.ce-product-customization .elementor-field-type-image .elementor-field::before { content: '\f382'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 2rem; color: var(--g300); display: block; margin-bottom: -7px; transition: color .2s; }
.ce-product-customization .elementor-field-type-image .elementor-field::after { content: 'Træk fil hertil eller klik'; font-family: var(--ff); font-size: .6rem; color: var(--g500); display: block; }
.ce-product-customization .elementor-field-type-image .elementor-field:hover { border-color: var(--teal); background: var(--teal-lt); }
.ce-product-customization .elementor-field-type-image .elementor-field:hover::before { color: var(--teal); }
.ce-product-customization .elementor-field-type-image input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* Comment textarea */
.ce-product-customization textarea { width: 100%; height: 60px; min-height: 100px; max-height: 100px; padding: 10px; border: 1px solid var(--border) !important; border-radius: 10px !important; font-family: var(--ff); font-size: .85rem; color: var(--dark); resize: none; background: var(--white); box-sizing: border-box; }
.ce-product-customization textarea:focus { outline: none; border-color: var(--teal) !important; }


/* Kwadratowe zdjęcia na listingu */
.ce-product-image img,
.product-miniature img,
.combination-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}




/* Mobile stack */
@media(max-width:767px) {
  .ce-product-customization .elementor-column.elementor-col-100.elementor-field-type-image,
  .ce-product-customization .elementor-column.elementor-col-100.elementor-field-type-text { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
}

.ce-product-variants__pattern .jk-variant-price{display:none!important;}


/* ========================================
   THECHECKOUT — Ergomaatter skin FINAL
   Override German Style motywu od zera
   ======================================== */

/* === BODY WRAPPER === */
body#checkout #content { background: var(--cream); }
#checkout .container, .page-order .container { max-width: var(--max); }

/* === RESET: wszystkie bloki dostają padding ZERO === */
/* Bo German Style dodaje padding: 15px 7px które psuje layout */
.checkout-block.main-block,
#thecheckout-newsletter,
#thecheckout-psgdpr,
#thecheckout-data-privacy,
#thecheckout-confirm,
#thecheckout-cart-summary,
#thecheckout-order-message,
#thecheckout-shipping,
#thecheckout-payment,
#thecheckout-account,
#thecheckout-address-invoice,
#thecheckout-address-delivery {
  padding: 0;
  margin-bottom: 16px;
  position: relative;
  background: transparent;
}


.modal-content{border-radius:20px!important;}
.page-header{display:none;}

/* === KARTA: inner-area staje się kartą === */
.checkout-block.main-block .inner-area,
#thecheckout-newsletter .inner-area,
#thecheckout-psgdpr .inner-area,
#thecheckout-data-privacy .inner-area,
#thecheckout-confirm .inner-area,
#thecheckout-cart-summary .inner-area,
#thecheckout-order-message .inner-area,
#thecheckout-shipping .inner-area,
#thecheckout-payment .inner-area,
#thecheckout-account .inner-area,
#thecheckout-address-invoice .inner-area,
#thecheckout-address-delivery .inner-area {
  background: var(--white);
  border: none;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  overflow: hidden;
}

/* === HEADER: reset position absolute z motywu === */
.checkout-block .block-header,
.checkout-block.main-block .inner-area > .block-header,
#checkout .block-header {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  background: var(--white);
  color: var(--dark);
  font-family: var(--ff);
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 24px;
  margin: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  text-align: left;
  line-height: 1.2;
  display: block;
  width: auto;
}

.checkout-block .block-header::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 10px;
  vertical-align: middle;
  position: static;
}

/* === INNER WRAPPER: treść pod headerem === */
.checkout-block .inner-wrapper {
  padding: 24px;
  background: transparent;
  border: none;
}

/* === FORM FIELDS === */
.form-fields .form-group,
#checkout .form-group {
  padding: 0 6px;
  margin-bottom: 20px;
}

/* Inputy zwykłe, bez sztuczek floating label */
.page-content .form-control,
.page-content select.form-control-select.form-control,
#checkout .form-control,
#checkout input[type="text"],
#checkout input[type="email"],
#checkout input[type="tel"],
#checkout input[type="password"],
#checkout select,
#checkout textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--ff);
  font-size: .88rem;
  color: var(--dark);
  background: var(--white);
  height: 46px;
  width: 100%;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
#checkout textarea {
  height: auto;
  min-height: 90px;
  padding: 14px;
  resize: vertical;
}
.page-content .form-control:focus,
.has-float-label input:focus,
.has-float-label select:focus,
.has-float-label textarea:focus,
#checkout .form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(51,153,153,.12);
  outline: none;
}
.has-float-label :not(:placeholder-shown):not(:focus) {
  border-color: var(--border);
}

/* === LABELS: zawsze nad polem === */
label.has-float-label {
  margin-top: 22px;
  display: block;
  position: relative;
}
.has-float-label.required span.field-label,
.need-dni .has-float-label span.field-label,
.has-float-label span.field-label {
  position: absolute;
  top: -20px;
  left: 2px;
  font-family: var(--ff);
  font-size: .78rem;
  font-weight: 600;
  color: var(--g700);
  opacity: 1;
  line-height: 1;
  background: transparent;
  cursor: default;
}
.has-float-label.required span.field-label::after {
  content: ' *';
  color: var(--teal);
}
/* Pusty input bez focusu → label jako placeholder w środku */
.has-float-label input:placeholder-shown:not(:focus) ~ span.field-label,
.has-float-label select:placeholder-shown:not(:focus) ~ span.field-label {
  top: 14px;
  left: 16px;
  font-size: .88rem;
  font-weight: 400;
  color: var(--g500);
  cursor: text;
}

/* === SELECT arrow === */
.page-content .has-float-label select.form-control {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: 10px;
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
}

/* === CHECKBOX === */
body#checkout span.custom-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  cursor: pointer;
  margin: 0 10px 0 0;
  appearance: auto;
  -webkit-appearance: checkbox;
  opacity: 1;
  position: static;
}
body#checkout span.custom-checkbox > span:not(.label) {
  display: none;
}
body#checkout span.custom-checkbox .label {
  font-size: .82rem;
  color: var(--g700);
  line-height: 1.5;
}
body#checkout span.custom-checkbox .label em {
  font-style: normal;
  font-size: .74rem;
  color: var(--g500);
  display: block;
  margin-top: 2px;
}

/* === RADIO (custom, bo motyw ukrywa natywny) === */
body#checkout span.custom-radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}
body#checkout span.custom-radio input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
body#checkout span.custom-radio > span {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  transition: all .15s;
  position: relative;
}
body#checkout span.custom-radio input[type="radio"]:checked + span,
body#checkout span.custom-radio > span:has(+ input:checked),
body#checkout .tc-main-title.selected span.custom-radio > span {
  border-color: var(--teal);
}
body#checkout span.custom-radio input[type="radio"]:checked + span::after,
body#checkout .tc-main-title.selected span.custom-radio > span::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

/* === ADDRESS NOTES === */
.address-is-used {
  font-size: .74rem;
  color: var(--g500);
  padding: 8px 6px 0;
  background: transparent;
  border: none;
}
.address-is-used a,
.address-is-used .asterisk { color: var(--teal); font-weight: 600; }

.second-address {
  margin-top: 18px;
  padding: 0 6px;
  font-size: .82rem;
  background: transparent;
  border: none;
}
.second-address label { cursor: pointer; color: var(--g700); margin: 0; }

/* ========================================
   CART SUMMARY
   ======================================== */
#thecheckout-cart-summary .inner-area {
  padding: 0;
}

/* Reset wszystkich wewnętrznych kontenerów koszyka */
#thecheckout-cart-summary section#main,
#thecheckout-cart-summary .cart-inner-wrapper,
#thecheckout-cart-summary .cart-grid,
#thecheckout-cart-summary .cart-grid.row,
#thecheckout-cart-summary .card,
#thecheckout-cart-summary .card.cart-container,
#thecheckout-cart-summary .card.cart-summary,
#thecheckout-cart-summary .card-block,
#thecheckout-cart-summary .cart-overview,
#thecheckout-cart-summary .cart-detailed-totals {
  background: var(--white);
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

#thecheckout-cart-summary .block-header.shopping-cart-header {
  position: static;
  padding: 18px 24px;
  margin: 0;
  background: var(--white);
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
}

/* Cart items list */
#thecheckout-cart-summary .cart-items {
  margin: 0;
  padding: 0;
  list-style: none;
}
#thecheckout-cart-summary .cart-item {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  list-style: none;
  background: transparent;
}

/* Product line — reset wszystkiego */
#thecheckout-cart-summary .product-line,
#thecheckout-cart-summary .product-line-body,
#thecheckout-cart-summary .product-line-desc,
#thecheckout-cart-summary .product-line-info,
#thecheckout-cart-summary .product-line-image,
#thecheckout-cart-summary .product-image,
#thecheckout-cart-summary .media-middle {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

#thecheckout-cart-summary .product-line {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: flex-start;
}
#thecheckout-cart-summary .product-line-image { flex: 0 0 80px; }
#thecheckout-cart-summary .product-line img,
#thecheckout-cart-summary .product-line-image img {
  width: 80px;
  height: 80px;
  max-width: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}
#thecheckout-cart-summary .product-line-body {
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
  display: block;
}
#thecheckout-cart-summary .product-line-desc {
  min-width: 0;
  margin-bottom: 6px;
  display: block;
}
#thecheckout-cart-summary .product-line-desc br { display: none; }
#thecheckout-cart-summary .product-line-info.product-title,
#thecheckout-cart-summary .product-title {
  font-weight: 700;
  font-size: .88rem;
  display: block;
}
#thecheckout-cart-summary .product-title a {
  color: var(--dark);
  line-height: 1.3;
}
#thecheckout-cart-summary .product-title a:hover { color: var(--teal); }
#thecheckout-cart-summary .product-reference {
  font-size: .7rem;
  color: var(--g500);
  margin: 4px 0;
}
#thecheckout-cart-summary .product-line-info.product-attribute {
  font-size: .72rem;
  color: var(--g700);
  line-height: 1.6;
  display: block;
}
#thecheckout-cart-summary .product-line-info.product-attribute .label {
  font-weight: 600;
  color: var(--dark);
}

/* Qty + price + delete */
#thecheckout-cart-summary .product-line-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  flex-basis: auto;
  background: transparent;
  border: none;
}
#thecheckout-cart-summary .product-line-qty { flex: 0 0 auto; }
#thecheckout-cart-summary .qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
#thecheckout-cart-summary .product-line-actions .qty-box input {
  width: 36px;
  height: 30px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: var(--ff);
  font-size: .82rem;
  font-weight: 600;
  padding: 0;
}
#thecheckout-cart-summary .product-line-actions .qty-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 30px;
  border: none;
  background: var(--g100);
  color: var(--dark);
  font-size: .9rem;
  text-decoration: none;
}
#thecheckout-cart-summary .product-line-actions .qty-box a:hover {
  background: var(--teal-lt);
  color: var(--teal);
}
#thecheckout-cart-summary .cart-line-product-quantity-up::before { content: '+'; }
#thecheckout-cart-summary .cart-line-product-quantity-down::before { content: '−'; }
#thecheckout-cart-summary .product-line-price {
  flex: 1;
  text-align: right;
  font-size: .88rem;
  font-weight: 700;
  color: var(--dark);
}
#thecheckout-cart-summary .product-line-delete {
  display: inline-block;
  flex: 0 0 auto;
}
#thecheckout-cart-summary .product-line-delete a {
  color: var(--g500);
  font-size: 1rem;
  transition: color .15s;
}
#thecheckout-cart-summary .product-line-delete a:hover { color: #d9534f; }

/* Totals */
#thecheckout-cart-summary .cart-detailed-totals {
  padding: 18px 24px;
  border-top: none;
}
#thecheckout-cart-summary .cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: .85rem;
  color: var(--g700);
  background: transparent;
  border: none;
}
#thecheckout-cart-summary .cart-summary-line.cart-total,
#thecheckout-cart-summary .cart-summary-line.cart-total:last-child {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}
#thecheckout-cart-summary .cart-summary-line.cart-total .value { color: var(--teal); }
#thecheckout-cart-summary .tax-lbl {
  font-size: .7rem;
  font-weight: 400;
  color: var(--g500);
}
#thecheckout-cart-summary .cart-total-weight { display: none; }

/* ========================================
   DELIVERY METHODS
   ======================================== */
.delivery-options-list { display: flex; flex-direction: column; gap: 10px; }
.delivery-option {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.delivery-option:hover { border-color: var(--teal); }
.delivery-options-list .alert {
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  color: #721c24;
  font-size: .82rem;
  margin: 0;
}

/* ========================================
   PAYMENT
   ======================================== */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.tc-main-title {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition: all .15s;
  overflow: hidden;
}
.tc-main-title:hover { border-color: var(--teal); }
.tc-main-title.selected {
  border-color: var(--teal);
  background: var(--teal-lt);
}
.payment-options .payment-option {
  padding: 14px 16px;
  background: transparent;
  border: none;
  position: relative;
}
.payment-option label {
  padding-top: 0;
  display: flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}
.payment-option label span.h6 {
  flex-grow: 1;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}
.payment-option .payment-logo img {
  max-height: 28px;
  width: auto;
}
.js-additional-information {
  padding: 14px 16px;
  background: var(--cream);
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--g700);
  line-height: 1.6;
}

/* ========================================
   TERMS + CONFIRM
   ======================================== */
#thecheckout-confirm .inner-area {
  padding: 24px;
  text-align: center;
}
.terms-and-conditions {
  padding: 0 0 16px;
  font-size: .82rem;
  text-align: center;
  border: none;
}
.terms-and-conditions ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.terms-and-conditions li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.terms-and-conditions label {
  margin: 0;
  color: var(--g700);
  line-height: 1.5;
  cursor: pointer;
}
.terms-and-conditions a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

#tc-payment-confirmation { text-align: center; }
#confirm_order,
#tc-payment-confirmation button.btn-primary {
  width: 100%;
  max-width: 420px;
  height: 54px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 28px;
  font-family: var(--ff);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(51,153,153,.2);
  margin: 0 auto;
}
#confirm_order:hover,
#tc-payment-confirmation button.btn-primary:hover {
  background: var(--teal-dk);
}
#confirm_order::after {
  content: '→';
  font-size: 1.2rem;
  transition: transform .15s;
}
#confirm_order:hover::after { transform: translateX(4px); }

/* ========================================
   ERRORS
   ======================================== */
.checkout-block .error-msg {
  padding: 10px 14px;
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  color: #721c24;
  font-size: .8rem;
  margin-bottom: 14px;
}
.form-group.has-error .form-control { border-color: #d9534f; }

/* ========================================
   DELIVERY MESSAGE
   ======================================== */
#delivery {
  padding: 0;
  background: transparent;
  border: none;
}
#delivery label {
  font-size: .82rem;
  color: var(--g700);
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

/* ========================================
   HIDE UNUSED FIELDS & JUNK
   ======================================== */
.checkout-block .form-group.hidden,
.checkout-block .form-group.company,
.checkout-block .form-group.vat_number,
.checkout-block .form-group.dni,
.checkout-block .form-group.address2,
.checkout-block .form-group.phone_mobile,
.checkout-block .form-group.other,
.checkout-block .form-group.birthday,
.checkout-block .form-group.id_gender.hidden,
.checkout-block .form-group.id_state.hidden {
  display: none;
}

.thecheckout-reassurance,
#thecheckout-html-box-1 {
  display: none;
}

/* ========================================
   ORDER REVIEW
   ======================================== */
#thecheckout-order-review .border {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
}
#thecheckout-order-review .header {
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 767px) {
  .checkout-area-3, .checkout-area-7,
  .checkout-area-5, .checkout-area-6,
  .checkout-area-8, .checkout-area-9 {
    flex-basis: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
  .checkout-block .inner-wrapper { padding: 18px; }
  .checkout-block .block-header,
  #thecheckout-cart-summary .block-header.shopping-cart-header {
    padding: 16px 18px;
  }
  #thecheckout-cart-summary .cart-item,
  #thecheckout-cart-summary .cart-detailed-totals {
    padding: 16px 18px;
  }
  .checkout-block .form-group[style*="flex-basis: 50%"] {
    flex-basis: 100% !important;
  }
  #thecheckout-cart-summary {
    order: -1;
    margin-bottom: 20px;
  }
}

/* === LOADER === */
.tc-loader { display: none; }
#confirm_order.loading .tc-loader { display: inline-block; }
#confirm_order.loading::after { display: none; }


/* === FIX: Gap między kolumnami checkout === */
.checkout-area-3,
.checkout-area-7 {
  gap: 20px;
}
.checkout-area-5 {
  padding-right: 10px;
}
.checkout-area-6 {
  padding-left: 10px;
}

/* === FIX: Cart summary — ostateczny reset section#main i row === */
#thecheckout-cart-summary section,
#thecheckout-cart-summary section#main,
#thecheckout-cart-summary #main,
#thecheckout-cart-summary .row,
#thecheckout-cart-summary .cart-grid.row,
#thecheckout-cart-summary div[class*="col-"] {
  background: var(--white);
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

/* Bootstrap row ma domyślnie ujemne marginy — usuwamy */
#thecheckout-cart-summary .row {
  margin-left: 0;
  margin-right: 0;
  display: block;
}
#thecheckout-cart-summary .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

/* === RESPONSIVE FIX: paddingi tylko na desktop === */
@media (max-width: 767px) {
  .checkout-area-5,
  .checkout-area-6 {
    padding-left: 0;
    padding-right: 0;
  }
}

/* === FIX: Order message block — przywróć textarea === */
#thecheckout-order-message .inner-area {
  padding: 20px 24px;
}
#thecheckout-order-message #delivery {
  padding: 0;
  background: transparent;
  border: none;
}
#thecheckout-order-message #delivery label {
  font-size: .82rem;
  color: var(--g700);
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
}
#thecheckout-order-message #delivery textarea,
#thecheckout-order-message textarea#delivery_message {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--ff);
  font-size: .88rem;
  color: var(--dark);
  background: var(--white);
  resize: vertical;
  box-sizing: border-box;
}
#thecheckout-order-message #delivery textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(51,153,153,.12);
  outline: none;
}

/* === FIX: Cart card border — precyzyjnie === */
#thecheckout-cart-summary .card,
#thecheckout-cart-summary div.card,
#thecheckout-cart-summary .card.cart-container,
#thecheckout-cart-summary .card.cart-summary,
#thecheckout-cart-summary .js-cart {
  border: 0 none transparent !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: var(--white) !important;
  background-image: none !important;
  outline: none !important;
}

/* === FIX: Wszystkie bloki w prawej kolumnie tej samej szerokości === */
#thecheckout-cart-summary,
#thecheckout-order-message,
#thecheckout-shipping,
#thecheckout-payment,
#thecheckout-confirm {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* === STICKY SHRINKING HEADER === */
#header { position: sticky; top: 0; z-index: 1040; background: var(--white); transition: box-shadow .25s ease; }
#header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

/* Topbar — znika całkowicie przy scrollu (tylko desktop, na mobile jest hidden przez .elementor-hidden-phone) */
#header .topbar {
  max-height: 40px;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease, opacity .25s ease;
}
#header.is-scrolled .topbar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

/* === DESKTOP: Trust bar + Breadcrumb — kompaktowe, nie znikają === */
@media (min-width: 768px) {
  #header .elementor-element-3b0f3e5,
  #header .elementor-element-e05812e {
    transition: padding .3s ease;
  }
  #header .elementor-element-3b0f3e5 .trust {
    transition: padding .3s ease;
  }
  #header .elementor-element-3b0f3e5 .trust-i {
    transition: padding .3s ease, font-size .3s ease;
  }
  #header.is-scrolled .elementor-element-3b0f3e5 .trust {
    padding: 4px 0;
  }
  #header.is-scrolled .elementor-element-3b0f3e5 .trust-i {
    padding: 2px 0;
    font-size: .72rem;
  }
  #header.is-scrolled .elementor-element-3b0f3e5 .trust-ic {
    font-size: .9rem;
  }
  #header.is-scrolled .elementor-element-e05812e .elementor-widget-breadcrumb {
    padding: 4px 0;
  }
  #header.is-scrolled .elementor-element-e05812e .ce-breadcrumb {
    font-size: .75rem;
  }
}

/* === MOBILE: wszystko widoczne, tylko kompaktowe === */
@media (max-width: 767px) {
		.trust { background: var(--white); padding: 0px 0;  }
		.elementor-10170101 .elementor-element.elementor-element-3b0f3e5{margin-top: 0px;}
  #header .elementor-element-3b0f3e5,
  #header .elementor-element-e05812e {
    transition: padding .3s ease;
  }
  #header .elementor-element-3b0f3e5 .trust,
  #header .elementor-element-3b0f3e5 .elementor-container,
  #header .elementor-element-3b0f3e5 .elementor-row,
  #header .elementor-element-3b0f3e5 .elementor-column-wrap,
  #header .elementor-element-3b0f3e5 .elementor-widget-wrap,
  #header .elementor-element-3b0f3e5 .elementor-widget-container {
    transition: padding .3s ease;
  }
  #header .elementor-element-3b0f3e5 .trust-i {
    transition: padding .3s ease, font-size .3s ease;
  }

  /* Shrink trust bar na mobile */
  #header.is-scrolled .elementor-element-3b0f3e5 .trust {
    padding: 2px 0;
  }
  #header.is-scrolled .elementor-element-3b0f3e5 .trust-i {
    padding: 4px 8px;
    font-size: .65rem;
  }
  #header.is-scrolled .elementor-element-3b0f3e5 .trust-ic {
    font-size: .8rem;
  }
  /* Usuń paddingi Elementora które tworzą białe paski */
  #header.is-scrolled .elementor-element-3b0f3e5 .elementor-container,
  #header.is-scrolled .elementor-element-3b0f3e5 .elementor-column-wrap,
  #header.is-scrolled .elementor-element-3b0f3e5 .elementor-widget-wrap,
  #header.is-scrolled .elementor-element-3b0f3e5 .elementor-widget-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Shrink breadcrumb na mobile */
  #header.is-scrolled .elementor-element-e05812e .elementor-widget-breadcrumb {
    padding: 2px 0 !important;
  }
  #header.is-scrolled .elementor-element-e05812e .ce-breadcrumb {
    font-size: .7rem;
  }
  #header.is-scrolled .elementor-element-e05812e .elementor-container,
  #header.is-scrolled .elementor-element-e05812e .elementor-column-wrap,
  #header.is-scrolled .elementor-element-e05812e .elementor-widget-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Main bar (logo + menu + koszyk) — shrink */
#header #sticky { transition: padding .3s ease; }

/* Logo shrink */
#header #sticky .elementor-element-6fe0cb8 img,
#header #sticky .elementor-element-e75d167 img {
  max-height: 70px;
  width: auto;
  transition: max-height .3s ease;
}
#header.is-scrolled #sticky .elementor-element-6fe0cb8 img,
#header.is-scrolled #sticky .elementor-element-e75d167 img {
  max-height: 42px;
}

/* "Din partner siden 2016" — zostaje, tylko mniejszy */
#header #sticky .elementor-element-62c5013 {
  transition: margin .3s ease;
}
#header #sticky .elementor-element-62c5013 .elementor-heading-title {
  transition: font-size .3s ease;
}
#header.is-scrolled #sticky .elementor-element-62c5013 .elementor-heading-title {
  font-size: .72rem;
  margin: 0;
}

/* Zmniejsz padding sekcji głównej przy scrollu */
#header.is-scrolled #sticky > .elementor-container {
  padding-top: 4px;
  padding-bottom: 4px;
}
#header.is-scrolled #sticky .elementor-column-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Mobile — nadpisujemy stary fixed z @media max-width:500px */
@media (max-width: 500px) {
  #sticky {
    position: static !important;
  }
  #header.is-scrolled #sticky {
    box-shadow: none;
  }
}

.payment_module.quickpay.imgf {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.payment_module.quickpay.imgf img {
    height: 24px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.customization-value img {
  display: none !important;
}


.customization-value::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content:'\f058';
  font-size: 1rem;
  color: var(--teal);
  display: inline-block;
}


body#checkout,
body#checkout.is-loading {
  overflow: auto !important;
  position: static !important;
}


/* ── CE Filters: inline label + visible dropdown ── */
.ce-filters {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 0 !important;
}

.ce-filters .elementor-field-group {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
}

.ce-filters .ce-filters__tab {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.ce-filters .ce-filters__title {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #555 !important;
  white-space: nowrap;
  cursor: default !important;
  pointer-events: none;
}

.ce-filters .elementor-field-subgroup {
  display: flex !important;
  visibility: visible !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
}

.ce-filters select.elementor-field {
  -webkit-appearance: none;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  padding: 6px 30px 6px 10px !important;
  font-size: 13px !important;
  height: 34px !important;
  min-width: 160px !important;
  width: auto !important;
  cursor: pointer;
}

.ce-filters select.elementor-field:hover { border-color: #aaa !important; }
.ce-filters select.elementor-field:focus {
  outline: none !important;
  border-color: #888 !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06) !important;
}

/* ── MOBILE ── */
@media (max-width: 767px) {

  /* Cały kontener: pionowo, pełna szerokość */
  .ce-filters {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  /* Każda grupa: etykieta nad dropdownem */
  .ce-filters .elementor-field-group {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    width: 100% !important;
  }

  /* Etykieta mniejsza, jako caption */
  .ce-filters .ce-filters__title {
    font-size: 11px !important;
    color: #888 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  /* Select pełna szerokość */
  .ce-filters select.elementor-field {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Slider cenowy: pełna szerokość, żeby nie wychodził poza ekran */
  .ce-filters .elementor-field-subgroup {
    flex-direction: column !important;
    width: 100% !important;
  }

  /* Jeśli CE renderuje slider w .ce-price-range lub podobne */
  .ce-filters input[type="range"] {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Wrapper slidera — też pełna szerokość */
  .ce-filters .elementor-field-group--price,
  .ce-filters .ce-filters__price {
    width: 100% !important;
  }
}

.ce-product-variants__item:has(select[name="group[32]"]) {
  display: none!important;
}

.psgdpr.account-fields {
  display: flex;
  justify-content: center;
  padding-top:15px;
}

.psgdpr .form-group {
  display: flex;
  justify-content: center;
}

.psgdpr .custom-checkbox {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Ukryj pole "Motiv" tylko na produktach z kategorii Designer Måtter (id=11) */
body.product-id-category-11 .ce-product-variants__item:has(select[name="group[33]"]) {
  display: none !important;
}
