/* depozitpolicarbonat.ro - DP MODERN V3
   Moved verbatim out of the inline <style id="dp-modern-v3"> block.
   The block used to sit ~1 MB into the body: every rule it owns applied after the
   first paint, which is what produced the catalog CLS (sort select 10.5px -> 16px). */
/* DP MODERN V3 — styling owned here; native routes and controls retained. */
html body #main.default {
  background: #f3f5f8 !important;
  color: #15263e !important;
  padding-bottom: 48px !important;
}
html body #main.default .homepage-seo {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) !important;
  align-items: end !important;
  gap: 40px !important;
  width: calc(100% - 48px) !important;
  max-width: 1440px !important;
  margin: 28px auto 24px !important;
  padding: clamp(28px, 4vw, 64px) !important;
  background: linear-gradient(115deg, #0d203b, #173e6c) !important;
  border: 1px solid #284b73 !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
  text-align: left !important;
}
html body #main.default .homepage-seo__title {
  color: #fff !important;
  font-size: clamp(1.75rem, 3.2vw, 3.5rem) !important;
  font-weight: 750 !important;
  line-height: 1.14 !important;
  letter-spacing: -.035em !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance;
}
html body #main.default .homepage-seo__subtitle {
  color: #d5e3f4 !important;
  font-size: 1.0625rem !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  max-width: none !important;
}
html body #main.default .widget-categories-slider,
html body #main.default .widget-products-grid {
  max-width: 1488px !important;
  margin: 0 auto !important;
  padding: 24px !important;
  box-sizing: border-box !important;
}
html body #main.default .widget-products-grid > .widget-header {
  margin: 8px 0 28px !important;
  padding: 0 !important;
  text-align: left !important;
}
html body #main.default .widget-products-grid__heading {
  font-size: clamp(1.5rem, 2.5vw, 2.4rem) !important;
  font-weight: 750 !important;
  letter-spacing: -.03em !important;
  line-height: 1.2 !important;
  color: #15263e !important;
  margin: 0 !important;
}
/* Preserve Splide sizing, transforms, navigation and keyboard behavior. */
html body #main.default .category-block {
  min-height: 0 !important;
  background: #122942 !important;
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 18px rgba(15, 35, 58, .09) !important;
}
html body #main.default .category-block__link,
html body #main.default .category-block__image-container {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
}
html body #main.default .category-block__image-container {
  aspect-ratio: 4 / 5 !important;
  min-height: 220px !important;
  padding: 0 !important;
}
html body #main.default .category-block__image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: .85 !important;
}
html body #main.default .category-block__name {
  position: absolute !important;
  inset: auto 0 0 !important;
  transform: none !important;
  padding: 54px 18px 20px !important;
  background: linear-gradient(transparent, rgba(7, 21, 39, .98) 55%) !important;
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-transform: none !important;
  white-space: normal !important;
  text-shadow: none !important;
}
/* Only native product grids, never a carousel list or a parent of sections. */
html body #main.default .products-grid__items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 24px !important;
}
html body #main.default .products-grid { padding-left: 0 !important; padding-right: 0 !important; }
html body #main.default .products-grid__items > .product--grid {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #dfe5ed !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 16px rgba(15, 35, 58, .035) !important;
  overflow: hidden !important;
}
html body #main.default .dpmp-product-card__visual { background: #fff !important; padding: 18px !important; }
html body #main.default .product--grid .grid-image__image-wrapper {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4 / 3 !important;
  padding: 0 !important;
}
html body #main.default .product--grid .grid-image__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #fff !important;
}
html body #main.default .product--grid .product__data,
html body #main.default .dpmp-product-card__body {
  padding: 22px !important;
  gap: 0 !important;
  border-top: 1px solid #edf0f5 !important;
}
html body #main.default .product--grid .product__name {
  display: block !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  font-size: 1.0625rem !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
  color: #15263e !important;
  margin: 0 0 16px !important;
}
html body #main.default .dpmp-product-card__category {
  font-size: .875rem !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  text-transform: none !important;
  margin-bottom: 8px !important;
  color: #53647a !important;
}
html body #main.default .product--grid .product__info--price-gross {
  color: #163f78 !important;
  font-size: 1.5rem !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
}
html body #main.default .product--grid .product__info--old-price-gross { font-size: .875rem !important; color: #626f7f !important; }
html body #main.default .dpmp-product-card__stock { font-size: .875rem !important; line-height: 1.5 !important; margin: 10px 0 !important; }
html body #main.default .dpmp-product-card__description {
  font-size: .875rem !important;
  line-height: 1.65 !important;
  color: #53647a !important;
  margin: 0 0 18px !important;
}
html body #main.default .dpmp-product-card__actions { margin-top: auto !important; padding-top: 16px !important; }
html body #main.default .dpmp-product-card__button,
html body #main.default .btn-primary {
  min-height: 48px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  white-space: normal !important;
}
html body #main.default .dpmp-product-card__button--primary,
html body #main.default .btn-primary {
  background: #245eae !important;
  color: #fff !important;
  box-shadow: none !important;
}
html body #main.default .dpmp-product-card__button--disabled { background: #e9edf3 !important; color: #5b687a !important; }
html body #main.default .facets-sidebar { background: #fff !important; border: 1px solid #dfe5ed !important; border-radius: 16px !important; box-shadow: none !important; }
html body #main.default .facets-sidebar .facet__title { font-size: 1rem !important; line-height: 1.5 !important; color: #15263e !important; }
html body #main.default .catalog-actions { padding: 16px 0 !important; }
html body #main.default .catalog-actions select { min-height: 44px !important; font-size: 1rem !important; border-radius: 10px !important; }
html body #main.default .product-summary .accordion__button { background: #edf2f9 !important; color: #15263e !important; font-size: 1rem !important; line-height: 1.5 !important; }
html body #main.default .product-summary .accordion__body { font-size: 1rem !important; line-height: 1.75 !important; }
html body #main.default:has(.homepage-seo) .widget-testimonials .testimonial { background: #fff !important; border: 1px solid #dfe5ed !important; border-radius: 16px !important; padding: 22px !important; }
html body #main.default:has(.homepage-seo) .widget-testimonials .testimonial__message { font-size: 1rem !important; line-height: 1.7 !important; }
html body #main.default:has(.homepage-seo) .widget-testimonials .testimonial__name { font-size: .875rem !important; }
html body #header .header__menu-wrapper { background: #102d50 !important; }
html body #main.default .btn:focus-visible,
html body #main.default .dpmp-product-card__button:focus-visible,
html body #main.default .category-block__link:focus-visible { outline: 3px solid #2e7be0 !important; outline-offset: -3px !important; }
@media (min-width: 1200px) {
  html body #main.default .widget-products-grid .products-grid__items { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 1023px) {
  html body #main.default .homepage-seo { grid-template-columns: 1fr !important; gap: 22px !important; }
  html body #main.default .products-grid__items { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; }
}
@media (max-width: 767px) {
  html body #main.default .homepage-seo { width: calc(100% - 24px) !important; margin: 16px auto !important; padding: 28px 22px !important; border-radius: 18px !important; }
  html body #main.default .homepage-seo__title { font-size: clamp(1.75rem, 6vw, 2.5rem) !important; }
  html body #main.default .homepage-seo__subtitle { font-size: 1rem !important; line-height: 1.65 !important; }
  html body #main.default .widget-categories-slider,
  html body #main.default .widget-products-grid { padding: 16px 12px !important; }
  html body #main.default .category-block__image-container { aspect-ratio: 3 / 4 !important; min-height: 190px !important; }
  html body #main.default .category-block__name { font-size: .9375rem !important; padding: 46px 12px 16px !important; }

  /* Mobile product grid: exactly one product per row. */
  html body #main.default .products-grid__items {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  html body #main.default .products-grid__items > .product--grid {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  html body #main.default .dpmp-product-card__visual { padding: 14px !important; }
  html body #main.default .product--grid .product__data,
  html body #main.default .dpmp-product-card__body { padding: 16px !important; }
  html body #main.default .product--grid .product__name { font-size: 1rem !important; margin-bottom: 12px !important; }
  html body #main.default .product--grid .product__info--price-gross { font-size: 1.25rem !important; }
  html body #main.default .dpmp-product-card__button { font-size: .95rem !important; padding: 11px 12px !important; }
}
@media (hover: hover) {
  html body #main.default .products-grid__items > .product--grid:hover { border-color: #95b3d7 !important; box-shadow: 0 12px 28px rgba(15,35,58,.1) !important; }
  html body #main.default .dpmp-product-card__button--primary:hover,
  html body #main.default .btn-primary:not(:disabled):not(.disabled):hover { background: #174782 !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body #main.default .product--grid,
  html body #main.default .dpmp-product-card__button { transition: none !important; transform: none !important; }
}


/* V3.1 — refinements based on the desktop screenshot */
html body #main.default .homepage-seo {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 36px !important;
  padding: clamp(26px, 3.2vw, 48px) !important;
  margin-bottom: 8px !important;
}
html body #main.default .homepage-seo__title {
  font-size: clamp(28px, 2.7vw, 42px) !important;
  line-height: 1.22 !important;
  letter-spacing: -.025em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
html body #main.default .homepage-seo__subtitle {
  font-size: 16px !important;
  line-height: 1.75 !important;
}
html body #main.default .widget-categories-slider {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
html body #main.default .widget-categories-slider > .widget-header {
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
html body #main.default .widget-products-grid > .widget-header {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}
html body #main.default .widget-products-grid > .widget-header h2,
html body #main.default .widget-products-grid > .widget-header h2 span {
  color: #15263e !important;
  font-size: clamp(24px, 2.3vw, 34px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  text-align: left !important;
  letter-spacing: -.02em !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body #main.default .widget-products-grid > .widget-header::before,
html body #main.default .widget-products-grid > .widget-header::after,
html body #main.default .widget-products-grid > .widget-header h2::before,
html body #main.default .widget-products-grid > .widget-header h2::after,
html body #main.default .widget-products-grid > .widget-header h2 span::before,
html body #main.default .widget-products-grid > .widget-header h2 span::after {
  content: none !important;
}
html body #main.default .category-block__name {
  font-size: 16px !important;
}
@media (max-width: 1023px) {
  html body #main.default .homepage-seo {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
}
@media (max-width: 767px) {
  html body #main.default .homepage-seo {
    padding: 26px 20px !important;
    gap: 16px !important;
  }
  html body #main.default .homepage-seo__title {
    font-size: clamp(26px, 6.5vw, 34px) !important;
    overflow-wrap: anywhere !important;
  }
  html body #main.default .category-block__name { font-size: 15px !important; }
}

/* ============================================================
   CATALOG ACTIONS BAR - why these rules must stay in <head>
   ------------------------------------------------------------
   Measured on /catalog at 390x844 (4x CPU throttling):
     .sort-view     prev [146,227,190,66] -> cur [146,239,231,74]
     .facets-toggle prev [28,233,122,48]  -> cur [28,249,122,48]
     section.page__content pushed down 32px, layout-shift 0.0273 @2954ms
   Cause: this file used to be an inline <style> ~1 MB into the body, so the
   sort <select> was painted with the UA metrics (font-size 10.5px, 36px tall)
   and only picked up the `min-height:44px; font-size:1rem` rules above when the
   parser reached that block.

   Loading the rules from <head> is the fix: the first painted frame already
   matches the settled frame, so no layout is recalculated after paint.
   No hardcoded min-height is reserved on purpose - the bar is 76px on desktop
   and 79.61px on a 390px viewport, so a magic number would shift one of them.
   ============================================================ */