/* WORKA PRODUCT DESCRIPTION - BOSCH STYLE */
:root {
  --w-primary: #067e34;
  --w-primary-dark: #055a26;
  --w-black: #1A1A1A;
  --w-dark: #333333;
  --w-gray: #666666;
  --w-light: #F5F5F5;
  --w-border: #E0E0E0;
}

/* ZÁKLADNÍ LAYOUT */
.product-description { 
  font-family: 'Segoe UI', Arial, sans-serif; 
  line-height: 1.6; 
  color: var(--w-dark);
}

.desc-section { 
  background: #fff;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--w-border);
  border-top: 4px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.desc-section h3 { 
  color: var(--w-black);
  font-size: 1.1em;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding: 0 0 12px 0;
  border-bottom: 2px solid #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.desc-section h3 svg {
  width: 24px;
  height: 24px;
  stroke: var(--w-primary);
  flex-shrink: 0;
}

/* ÚVOD S VIDEEM */
.desc-intro {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.intro-row {
  display: flex;
  gap: 32px;
  align-items: center;
}

.intro-video, .intro-text {
  flex: 1;
}

.intro-text p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.7;
}

.intro-text strong {
  color: var(--w-primary);
  font-weight: 700;
}

/* ========================================
   VIDEO - CENTROVÁNÍ BEZ ARTEFAKTŮ
   ======================================== */
.intro-video {
  background: transparent !important;
  border: 0 none !important;
  outline: 0 none !important;
  box-shadow: none !important;
}

.video-square {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  background: transparent !important;
  border: 0 none !important;
  outline: 0 none !important;
  box-shadow: none !important;
}

.video-square video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  -webkit-transform: translate(-50%, -50%) translateZ(0);
  height: 100%;
  width: auto;
  max-width: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 0 none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: 0 none !important;
  outline-width: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Shoptet globální reset pro video */
.product-description video,
.desc-section video,
.desc-intro video,
.p-detail video,
.p-detail-inner video,
.p-detail-inner-main video,
#content video,
.content video,
main video {
  border: 0 none !important;
  outline: 0 none !important;
  box-shadow: none !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--w-light);
  border-left: 4px solid #e0e0e0;
  transition: all 0.25s ease;
}

.feature-item:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(6,126,52,0.12);
  transform: translateY(-2px);
}

.feature-item .icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--w-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item .icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.feature-item .text strong {
  display: block;
  color: var(--w-black);
  font-size: 0.95em;
  margin-bottom: 4px;
}

.feature-item .text span {
  color: var(--w-gray);
  font-size: 0.85em;
  line-height: 1.5;
}

/* USE GRID */
.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.use-grid div {
  padding: 12px 16px;
  background: var(--w-light);
  border-left: 4px solid #e0e0e0;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.use-grid div:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* TABULKA PARAMETRŮ */
.params-table { 
  width: 100%; 
  border-collapse: collapse;
}

.params-table tr { 
  border-bottom: 1px solid var(--w-border);
}

.params-table tr:nth-child(even) {
  background: var(--w-light);
}

.params-table tr:last-child { 
  border-bottom: none; 
}

.params-table tr:hover { 
  background: rgba(6,126,52,0.04);
}

.params-table td { 
  padding: 12px 16px; 
  font-size: 0.9em;
}

.params-table td:first-child { 
  font-weight: 700; 
  color: var(--w-black); 
  width: 50%;
  border-right: 2px solid #e0e0e0;
}

/* DELIVERY LIST */
.delivery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.delivery-list span {
  padding: 12px 18px;
  background: var(--w-light);
  border-left: 4px solid #e0e0e0;
  font-size: 0.9em;
  font-weight: 500;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--w-border);
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}

.faq-item:last-child { 
  margin-bottom: 0; 
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--w-black);
  font-size: 0.95em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--w-light);
  transition: all 0.2s ease;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4em;
  font-weight: 700;
  color: var(--w-primary);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #e0e0e0;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--w-primary);
  color: #fff;
}

.faq-item summary:hover {
  background: #eee;
}

.faq-item .answer {
  padding: 16px 20px;
  color: var(--w-gray);
  font-size: 0.9em;
  line-height: 1.7;
  border-top: 2px solid #e0e0e0;
}

/* SHOPTET PARAMETRY - PŘEPIS */
.extended-description.more-param {
  background: #fff !important;
  padding: 24px !important;
  margin-bottom: 16px !important;
  border: 1px solid var(--w-border) !important;
  border-top: 4px solid #e0e0e0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

.extended-description.more-param > h3 {
  color: var(--w-black) !important;
  font-size: 1.1em !important;
  font-weight: 700 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 0 12px 0 !important;
  border-bottom: 2px solid #e0e0e0 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.detail-parameters {
  width: 100% !important;
  border-collapse: collapse !important;
}

.detail-parameters tbody {
  display: table-row-group !important;
}

.detail-parameters tr {
  display: table-row !important;
  visibility: visible !important;
  opacity: 1 !important;
  border-bottom: 1px solid var(--w-border) !important;
}

.detail-parameters tr:nth-child(even) {
  background: var(--w-light) !important;
}

.detail-parameters tr:hover {
  background: rgba(6,126,52,0.04) !important;
}

.detail-parameters th,
.detail-parameters td {
  display: table-cell !important;
  visibility: visible !important;
  padding: 12px 16px !important;
  font-size: 0.9em !important;
  text-align: left !important;
}

.detail-parameters th {
  font-weight: 700 !important;
  color: var(--w-black) !important;
  width: 50% !important;
  border-right: 2px solid #e0e0e0 !important;
}

.detail-parameters tr.hidden,
.detail-parameters tr[style*="display: none"],
.detail-parameters tr[style*="display:none"] {
  display: table-row !important;
  visibility: visible !important;
}

.all-param,
.produkt-kat,
h3.popis-nadpis,
a.all-param,
.show-more-params,
.params-toggle {
  display: none !important;
}

.p-detail-inner-main-params,
.params-wrapper,
.parameters-wrapper {
  max-height: none !important;
  overflow: visible !important;
}

/* VIDEO SEKCE */
#param-video {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

/* RESPONZIVITA */
@media (max-width: 768px) {
  .features-grid, .use-grid { 
    grid-template-columns: 1fr; 
  }
  .intro-row { 
    flex-direction: column; 
  }
  .intro-video { 
    order: -1;
    width: 100%;
  }
  .video-square {
    padding-bottom: 56.25%;
    max-width: 300px;
    margin: 0 auto 20px auto;
  }
}

@media (max-width: 480px) {
  .desc-section { 
    padding: 16px; 
  }
  .delivery-list { 
    flex-direction: column; 
  }
  .delivery-list span { 
    width: 100%; 
  }
  .video-square {
    padding-bottom: 100%;
    max-width: 250px;
  }
}

/* Skrytí parametru */
.hide-param {
  display: none !important;
}
