/* ==========================================================
   BE ORGANIC - MASTER CSS v3
   Opravy: Blog layout, Košík ceny, Sociálne ikony
   ========================================================== */

/* ========================================
   GLOBÁLNE FONTY
   ======================================== */

body, html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.h1-style, .h2-style, .h3-style,
.productDetailTitle, .categoryTitle, .sectionTitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

a, label, input, textarea, button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* ========================================
   TYPOGRAFIA — scoped na BO sekcie
   ======================================== */

#page_home_out h1, #page_home_out .h1-style {
  font-size: 48px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

#page_home_out h2, #page_home_out .h2-style {
  font-size: 36px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}

#page_home_out h3, #page_home_out .h3-style {
  font-size: 24px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

.productName, .product-title { font-size: 18px !important; line-height: 1.4 !important; font-weight: 500 !important; }
.productPrice, .price { font-size: 18px !important; font-weight: 600 !important; }

/* ========================================
   LOGO
   ======================================== */

#header .logo, #header .logo img, #header .logo a, #header .logo a img,
.header-logo, .header-logo img {
  max-width: 200px !important;
  width: 200px !important;
  height: auto !important;
}

@media (max-width: 768px) {
  #header .logo, #header .logo img, #header .logo a, #header .logo a img,
  .header-logo, .header-logo img {
    max-width: 160px !important;
    width: 160px !important;
  }
}

/* ========================================
   FEATURES IKONY
   ======================================== */

#page_home_out .bo-features-grid,
#page_home_out .features-grid,
#page_home_out .bo-features-wrap .bo-features-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  padding: 40px 20px !important;
}

#page_home_out .bo-feature-item, #page_home_out .feature-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 16px !important;
}

#page_home_out .bo-feature-icon, #page_home_out .feature-icon, #page_home_out .bo-feature-item img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
}

#page_home_out .bo-feature-title, #page_home_out .feature-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* ========================================
   VÝHODNÉ BALENIA — CAROUSEL
   ======================================== */

#page_home_out .bo-sets-arrow {
  position: relative;
  flex-shrink: 0 !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  border: 1px solid #ced7c9 !important;
  background: #fff !important;
  cursor: pointer;
}

#page_home_out .bo-sets-arrow svg { display: none !important; }

#page_home_out .bo-sets-arrow::before {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  font-size: 26px;
  font-weight: 700;
  color: #5f6f5a;
  line-height: 1;
}

#page_home_out .bo-sets-arrow-left::before { content: "‹"; }
#page_home_out .bo-sets-arrow-right::before { content: "›"; }

#page_home_out .bo-sets-carousel-container {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 42px !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  overflow: hidden !important;
}

#page_home_out .bo-sets-carousel {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100% !important;
}

#page_home_out .bo-sets-carousel::-webkit-scrollbar { display: none; }

#page_home_out .bo-sets-item {
  flex: 0 0 280px !important;
  width: 280px !important;
  max-width: 280px !important;
  box-sizing: border-box !important;
}

#page_home_out .bo-sets-img,
#page_home_out .bo-sets-item img {
  width: 100% !important;
  height: 220px !important;
  max-height: 220px !important;
  object-fit: cover !important;
  aspect-ratio: unset !important;
  display: block !important;
  border-radius: 12px !important;
}

/* ========================================
   OBĽÚBENÉ PRODUKTY
   ======================================== */

#page_home_out .bo-super-section { padding-top: 34px !important; }

#page_home_out .bo-super-h2 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 36px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 12px !important;
}

#page_home_out .bo-super-sub,
#page_home_out .bo-super-wrap > p {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #555 !important;
  margin-bottom: 24px !important;
}

/* ========================================
   PREČO BEORGANIC — SPACING
   ======================================== */

#page_home_out .bo-why-clean-section { padding-bottom: 34px !important; }
#page_home_out .bo-why-clean-footer { padding-top: 12px !important; }
#page_home_out .bo-why-clean-footer > p:first-child { display: none !important; }
#page_home_out .bo-why-clean-footer .bo-why-clean-p-foot { margin: 0 auto 8px !important; }

/* ========================================
   BLOG LAYOUT — OPRAVA #9
   Problém: column_block nemal width:100%, 1fr=0px
   ======================================== */

#page_link_out #page_link[data-id="222"] .page-width {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* KĽÚČOVÁ OPRAVA: width:100% na column_block */
#page_link_out #page_link[data-id="222"] .column_block {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 24px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-sizing: border-box !important;
}

#page_link_out #page_link[data-id="222"] .column_block:last-of-type {
  border-bottom: 0 !important;
}

/* OPRAVA: pevná šírka image kontajnera */
#page_link_out #page_link[data-id="222"] .column_block > div:first-child {
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

#page_link_out #page_link[data-id="222"] .column_block > div:first-child img {
  display: block !important;
  width: 280px !important;
  height: 200px !important;
  max-width: 100% !important;
  object-fit: cover !important;
  border-radius: 12px !important;
}

#page_link_out #page_link[data-id="222"] .column_block > div:last-child {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

#page_link_out #page_link[data-id="222"] .column_block h2,
#page_link_out #page_link[data-id="222"] .column_block h3 {
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
  margin: 0 0 10px !important;
}

#page_link_out #page_link[data-id="222"] .column_block p {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin: 0 0 10px !important;
}

/* ========================================
   PRODUKT DETAIL
   ======================================== */

#page_product_detail_out .divProductCategoryPath { display: none !important; }
#page_product_detail_out .productDetailTop { margin-bottom: 18px !important; }

#page_product_detail_out .productDetailTitle {
  font-size: clamp(32px, 3.4vw, 56px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

#page_product_detail_out #divProductDetailInformation { font-size: 16px !important; line-height: 1.55 !important; }
#page_product_detail_out .attr-title, #page_product_detail_out .divProductParameterTxt { font-size: 16px !important; }
#page_product_detail_out .divProductParameterValue, #page_product_detail_out .divProductParameterValue label { font-size: 15px !important; }
#page_product_detail_out #block_product_price { font-size: 18px !important; }
#page_product_detail_out .productDetailPriceVatValue { white-space: nowrap !important; }
#page_product_detail_out #span_productPriceVAT { font-size: 44px !important; line-height: 1 !important; }
#page_product_detail_out #productItemMetric { font-size: 30px !important; line-height: 1 !important; }

#page_product_detail_out .divProductDetailLongText .productTabberContent,
#page_product_detail_out .divProductDetailLongText .productTabberContent p,
#page_product_detail_out .divProductDetailLongText .productTabberContent li,
#page_product_detail_out .divProductDetailLongText .productTabberContent div {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #2b2b2b !important;
}

#page_product_detail_out .divProductDetailLongText .tabberNav a { font-size: 16px !important; }

/* ========================================
   KOŠÍK — CENY #24
   Prevencia: euro znak nesmie ísť pod sumu
   ======================================== */

#page_cart_out .amount,
#page_cart_out .cartSummary,
#page_cart_out .total-price,
#page_cart_out .cartTotalPrice,
#page_cart_out [class*="price"],
#page_cart_out [class*="Price"],
#page_cart_out [class*="total"],
#page_cart_out [class*="Total"] {
  white-space: nowrap !important;
  font-size: 16px !important;
}

/* Cena produktu v riadku košíka - trochu väčšia */
#page_cart_out .cartItemPrice,
#page_cart_out .item-price {
  font-size: 18px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* Celková suma - výraznejšia ale nie gigantická */
#page_cart_out .cartSummaryPrice,
#page_cart_out .summary-total,
#page_cart_out .priceTotal {
  font-size: 22px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  color: #2d5016 !important;
}

/* ========================================
   KOŠÍK — OBCHODNÉ PODMIENKY
   ======================================== */

#page_cart_out .bo-cart-terms,
#page_order_out .bo-cart-terms,
#page_checkout_out .bo-cart-terms,
#page_order_payment_out .bo-cart-terms {
  margin: 12px 0 16px !important;
  padding: 10px 12px !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 10px !important;
  background: #fafafa !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#page_cart_out .bo-cart-terms a,
#page_order_out .bo-cart-terms a,
#page_checkout_out .bo-cart-terms a,
#page_order_payment_out .bo-cart-terms a {
  text-decoration: underline !important;
}

/* ========================================
   GOOGLE RECENZIE TLAČIDLO
   ======================================== */

#page_home_out .bors-more,
#page_cart_out .bors-more,
#page_link_out .bors-more,
.bo-google-reviews-more {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 12px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid #2d5016 !important;
  color: #2d5016 !important;
  background: #fff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

#page_home_out .bors-more:hover,
#page_cart_out .bors-more:hover,
#page_link_out .bors-more:hover,
.bo-google-reviews-more:hover {
  background: #2d5016 !important;
  color: #fff !important;
}

/* ========================================
   ADMIN BUTTON FIX
   ======================================== */

.ce-buttonLink { display: inline-block !important; line-height: 1 !important; }
.ce-buttonLink > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  text-decoration: none !important;
  color: inherit !important;
  background: inherit !important;
  border-radius: inherit !important;
}

#page_home_out .bo-super-btn-wrap > a,
#page_home_out .bo-guide-btn-wrap > a,
#page_home_out .bo-blog-btn-wrap > a,
#page_home_out .bo-top-btn,
#page_home_out .bo-sets-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

/* ========================================
   SOCIÁLNE IKONY — VIDITEĽNÝ BAR #3
   Injectovaný JS-om ako .bo-social-bar
   ======================================== */

.bo-social-bar {
  width: 100%;
  background: #f0f5eb;
  border-top: 1px solid #dde8d4;
  border-bottom: 1px solid #dde8d4;
  padding: 40px 20px;
  text-align: center;
}

.bo-social-bar-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.bo-social-bar-label {
  font-size: 20px;
  font-weight: 600;
  color: #2d5016;
  letter-spacing: 0.01em;
  margin: 0;
}

.bo-social-bar-links {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.bo-social-bar-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none !important;
}

.bo-social-bar-links a:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.bo-social-bar-links a img,
.bo-social-bar-links a svg {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  display: block;
}

/* ========================================
   FOOTER — SOCIÁLNE IKONY (pôvodné)
   ======================================== */

.bo-footer-social-section {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.bo-footer-social-top {
  display: inline-flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.bo-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  transition: all 0.3s ease;
}

.bo-social-link:hover { transform: translateY(-4px) scale(1.1); }

.bo-social-link img, .bo-social-link svg {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Social ikony vo footer-social-under-cert */
.bo-footer-social-under-cert {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  margin-top: 20px !important;
  flex-wrap: wrap;
}

.bo-footer-social-under-cert .bo-social-link {
  width: 48px !important;
  height: 48px !important;
}

.bo-footer-social-under-cert .bo-social-link img,
.bo-footer-social-under-cert .bo-social-link svg {
  width: 48px !important;
  height: 48px !important;
}

/* ========================================
   FOOTER — LAYOUT
   ======================================== */

.bo-footer-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
}

.bo-footer-col { display: flex; flex-direction: column; gap: 16px; }
.bo-footer-h4 { font-size: 18px; font-weight: 600; margin: 0 0 16px 0; color: #2d5016; letter-spacing: 0.02em; }
.bo-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bo-footer-list li { margin: 0; padding: 0; }
.bo-footer-list a { color: #4a4a4a; text-decoration: none; font-size: 14px; line-height: 1.6; transition: color 0.2s ease; }
.bo-footer-list a:hover { color: #67a532; text-decoration: underline; }
.bo-cert-badge { max-width: 180px; height: auto; margin-top: 24px; }
.bo-footer-bottom { background-color: #f5f5f5; padding: 24px 20px; text-align: center; margin-top: 40px; border-top: 1px solid #e0e0e0; }
.bo-footer-bottom p { margin: 0; font-size: 14px; color: #666; }

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */

@media (max-width: 1024px) {
  .bo-footer-wrap { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .bo-footer-col:nth-child(4), .bo-footer-col:nth-child(5) { grid-column: span 3; }

  #page_link_out #page_link[data-id="222"] .column_block {
    grid-template-columns: 240px minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  #page_link_out #page_link[data-id="222"] .column_block > div:first-child { width: 240px !important; min-width: 240px !important; max-width: 240px !important; }
  #page_link_out #page_link[data-id="222"] .column_block > div:first-child img { width: 240px !important; height: 180px !important; }

  #page_home_out .bo-sets-item { flex: 0 0 240px !important; width: 240px !important; max-width: 240px !important; }

  #page_product_detail_out #span_productPriceVAT { font-size: 38px !important; }
  #page_product_detail_out #productItemMetric { font-size: 26px !important; }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */

@media (max-width: 768px) {

  /* Typografia */
  #page_home_out h1, #page_home_out .h1-style { font-size: 36px !important; }

  #page_home_out h2, #page_home_out .h2-style,
  #page_home_out .bo-super-h2, #page_home_out .bo-sets-h2,
  #page_home_out .bo-why-clean-h2, #page_home_out .bo-guide-h2,
  #page_home_out .bo-blog-title, #page_home_out .bo-top-h2,
  #page_home_out .bo-customers-h2, #page_home_out .bo-review-h2 {
    display: block !important;
    visibility: visible !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
  }

  #page_home_out .bo-super-sub, #page_home_out .bo-super-wrap > p {
    display: block !important;
    visibility: visible !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #555 !important;
  }

  /* Features: 2 stĺpce */
  #page_home_out .bo-features-grid,
  #page_home_out .features-grid,
  #page_home_out .bo-features-wrap .bo-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    padding: 32px 16px !important;
  }
  #page_home_out .bo-feature-icon, #page_home_out .feature-icon, #page_home_out .bo-feature-item img { width: 64px !important; height: 64px !important; }
  #page_home_out .bo-feature-title, #page_home_out .feature-title { font-size: 14px !important; }

  /* Carousel */
  #page_home_out .bo-sets-item { flex: 0 0 220px !important; width: 220px !important; max-width: 220px !important; }
  #page_home_out .bo-sets-img, #page_home_out .bo-sets-item img { height: 180px !important; max-height: 180px !important; }

  /* Blog */
  #page_link_out #page_link[data-id="222"] .page-width { padding: 0 14px !important; }
  #page_link_out #page_link[data-id="222"] .column_block {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 20px 0 !important;
  }
  #page_link_out #page_link[data-id="222"] .column_block > div:first-child { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  #page_link_out #page_link[data-id="222"] .column_block > div:first-child img { width: 100% !important; height: 200px !important; }

  /* Social bar */
  .bo-social-bar { padding: 32px 16px; }
  .bo-social-bar-links { gap: 24px; }
  .bo-social-bar-links a { width: 60px; height: 60px; }
  .bo-social-bar-links a img, .bo-social-bar-links a svg { width: 32px !important; height: 32px !important; }

  /* Footer */
  .bo-footer-social-top { gap: 32px; }
  .bo-social-link { width: 70px; height: 70px; }
  .bo-social-link img, .bo-social-link svg { width: 70px; height: 70px; }
  .bo-footer-wrap { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; padding: 40px 16px 32px; }
  .bo-footer-col:nth-child(4), .bo-footer-col:nth-child(5) { grid-column: span 2; }
  .bo-footer-h4 { font-size: 16px; margin-bottom: 12px; }
  .bo-footer-list a { font-size: 13px; }
  .bo-cert-badge { max-width: 150px; margin-top: 16px; }

  /* Spacing */
  #page_home_out .bo-why-clean-section { padding-bottom: 24px !important; }
  #page_home_out .bo-super-section { padding-top: 24px !important; }

  /* Produkt */
  #page_product_detail_out .productDetailTitle { font-size: clamp(26px, 8vw, 34px) !important; }
  #page_product_detail_out #divProductDetailInformation { font-size: 15px !important; }
  #page_product_detail_out #span_productPriceVAT { font-size: 32px !important; }
  #page_product_detail_out #productItemMetric { font-size: 22px !important; }

  /* Košík — ceny na mobile */
  #page_cart_out .amount,
  #page_cart_out .cartSummary,
  #page_cart_out .total-price,
  #page_cart_out [class*="price"],
  #page_cart_out [class*="Price"],
  #page_cart_out [class*="total"],
  #page_cart_out [class*="Total"] {
    font-size: 14px !important;
    white-space: nowrap !important;
  }
}

/* ========================================
   RESPONSIVE — MALÝ MOBIL
   ======================================== */

@media (max-width: 480px) {
  .bo-footer-wrap { grid-template-columns: 1fr; gap: 24px; }
  .bo-footer-col { width: 100%; }
  .bo-footer-col:nth-child(4), .bo-footer-col:nth-child(5) { grid-column: span 1; }
  #page_home_out .bo-sets-item { flex: 0 0 200px !important; width: 200px !important; max-width: 200px !important; }
  #page_home_out .bo-sets-img, #page_home_out .bo-sets-item img { height: 160px !important; max-height: 160px !important; }
}
