/* =========================================================
   FURRIO — PRODUCT DETAIL FINAL V5
   Soubor: furrio-product-final-v5.css

   Důležité:
   - smaž/odpoj všechny předchozí produktové CSS:
     furrio-product-top.css
     furrio-product-top-v2.css
     furrio-product-safe-v3.css
     furrio-product-safe-v4.css

   Tento soubor:
   - NEMĚNÍ funkci košíku
   - NEMĚNÍ logiku Shoptetu
   - pouze čistí a ladí detail produktu
   ========================================================= */

body.type-product {
  background: #f7f4ea !important;
}

body.type-product #content,
body.type-product .content-wrapper,
body.type-product .overall-wrapper,
body.type-product .content {
  background: #f7f4ea !important;
}

/* Šířka obsahu */
body.type-product .content-wrapper,
body.type-product .container {
  max-width: 1180px !important;
}

/* Breadcrumb */
body.type-product .breadcrumbs {
  background: transparent !important;
  border: 0 !important;
  margin: 0 0 34px !important;
  padding: 18px 0 0 !important;
}

body.type-product .breadcrumbs a,
body.type-product .breadcrumbs span {
  color: #6f706c !important;
  font-weight: 700 !important;
}

/* Název */
body.type-product h1 {
  color: #2f302e !important;
  font-size: clamp(36px, 4vw, 54px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  font-weight: 950 !important;
  margin: 0 0 28px !important;
}

body.type-product h1 small,
body.type-product h1 span {
  color: #6f706c !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

/* Pryč s hodnocením nahoře — zatím nemá recenze a dělá bordel */
body.type-product .stars-wrapper,
body.type-product .stars,
body.type-product .p-rating-wrapper,
body.type-product .votes-wrap,
body.type-product .vote-wrap,
body.type-product .rating,
body.type-product .rating-wrapper {
  display: none !important;
}

/* Pokud Shoptet vytvořil prázdný rating box, zrušit jeho kartu */
body.type-product .p-detail-info {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Horní produktový blok */
body.type-product .p-detail,
body.type-product .product-top,
body.type-product .p-detail-inner {
  background: transparent !important;
  margin-top: 0 !important;
}

/* Hlavní fotka */
body.type-product .p-image-wrapper,
body.type-product .p-main-image,
body.type-product .p-image {
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(47,48,46,.08) !important;
  border-radius: 30px !important;
  box-shadow: 0 22px 58px rgba(47,48,46,.09) !important;
  overflow: hidden !important;
}

body.type-product .p-image-wrapper img,
body.type-product .p-main-image img,
body.type-product .p-image img {
  border-radius: 24px !important;
}

/* Miniatury */
body.type-product .p-thumbnails,
body.type-product .p-thumbnails-wrapper {
  margin-top: 16px !important;
}

body.type-product .p-thumbnails a,
body.type-product .p-thumbnail {
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(47,48,46,.10) !important;
  box-shadow: 0 8px 20px rgba(47,48,46,.05) !important;
}

body.type-product .p-thumbnails a.active,
body.type-product .p-thumbnail.active {
  border-color: #8fa58e !important;
  box-shadow: 0 0 0 2px rgba(143,165,142,.24) !important;
}

/* Pravá nákupní část */
body.type-product .p-info-wrapper,
body.type-product .p-basic-info-block {
  background: rgba(255,255,255,.82) !important;
  border: 1px solid rgba(47,48,46,.09) !important;
  border-radius: 30px !important;
  box-shadow: 0 22px 58px rgba(47,48,46,.09) !important;
  padding: 34px !important;
}

/* Cena */
body.type-product .price-final,
body.type-product .price-final-holder,
body.type-product .p-final-price-wrapper,
body.type-product .price {
  color: #2f302e !important;
  font-size: clamp(38px, 3.4vw, 50px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.055em !important;
  margin: 0 0 12px !important;
}

/* Skladovost */
body.type-product .availability,
body.type-product .availability-label,
body.type-product .availability-value {
  color: #6f856e !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  margin: 0 0 24px !important;
}

/* Řádek množství + tlačítko */
body.type-product .add-to-cart,
body.type-product .add-to-cart-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 24px 0 18px !important;
}

/* Množství */
body.type-product .quantity {
  border: 1px solid rgba(47,48,46,.12) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(47,48,46,.04) !important;
}

body.type-product .quantity input {
  color: #2f302e !important;
  font-weight: 800 !important;
  border: 0 !important;
  background: #fff !important;
}

body.type-product .quantity .increase,
body.type-product .quantity .decrease {
  background: #fff !important;
  color: #2f302e !important;
}

/* Přidat do košíku */
body.type-product .btn-conversion,
body.type-product .add-to-cart-button,
body.type-product button[type="submit"].btn-conversion {
  background: #2f302e !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 950 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  min-height: 56px !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  box-shadow: 0 16px 34px rgba(47,48,46,.18) !important;
}

body.type-product .btn-conversion:hover,
body.type-product .add-to-cart-button:hover,
body.type-product button[type="submit"].btn-conversion:hover {
  background: #6f856e !important;
  color: #fff !important;
}

/* Krátký popis v pravém boxu */
body.type-product .p-info-wrapper p,
body.type-product .p-basic-info-block p {
  color: #555753 !important;
  line-height: 1.55 !important;
}

/* Detailní informace */
body.type-product .detail-parameters-link,
body.type-product .p-info-wrapper a,
body.type-product .p-basic-info-block a {
  color: #6f856e !important;
  font-weight: 800 !important;
}

/* Rušivé ikony pod nákupem pryč */
body.type-product .social-buttons-wrapper,
body.type-product .p-detail-info .social-buttons-wrapper,
body.type-product .p-info-wrapper .social-buttons-wrapper,
body.type-product .p-basic-info-block .social-buttons-wrapper {
  display: none !important;
}

/* Taby */
body.type-product .shp-tabs,
body.type-product .tabs {
  background: transparent !important;
  border: 0 !important;
  margin-top: 34px !important;
}

body.type-product .shp-tabs-holder {
  border: 0 !important;
  background: transparent !important;
}

body.type-product .shp-tabs a,
body.type-product .tabs a {
  border-radius: 999px !important;
  background: rgba(255,255,255,.82) !important;
  border: 1px solid rgba(47,48,46,.10) !important;
  color: #2f302e !important;
  font-weight: 900 !important;
  margin-right: 8px !important;
  box-shadow: 0 8px 20px rgba(47,48,46,.04) !important;
}

body.type-product .shp-tabs a.active,
body.type-product .tabs a.active {
  background: #2f302e !important;
  color: #fff !important;
}

/* Nadpis "Detailní popis produktu" pryč */
body.type-product .description-inner > h3,
body.type-product .extended-description h3,
body.type-product #description h3 {
  display: none !important;
}

/* Dlouhý popis */
body.type-product .description-inner,
body.type-product .extended-description,
body.type-product #description {
  background: transparent !important;
}

/* Mobil / tablet */
@media (max-width: 991px) {
  body.type-product .breadcrumbs {
    margin-bottom: 22px !important;
  }

  body.type-product h1 {
    font-size: 34px !important;
    margin-bottom: 20px !important;
  }

  body.type-product .p-info-wrapper,
  body.type-product .p-basic-info-block {
    margin-top: 22px !important;
    padding: 24px !important;
    border-radius: 26px !important;
  }

  body.type-product .price-final,
  body.type-product .price-final-holder,
  body.type-product .price {
    font-size: 38px !important;
  }

  body.type-product .add-to-cart,
  body.type-product .add-to-cart-wrapper {
    display: grid !important;
    grid-template-columns: 86px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.type-product .btn-conversion,
  body.type-product .add-to-cart-button,
  body.type-product button[type="submit"].btn-conversion {
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  body.type-product .p-info-wrapper,
  body.type-product .p-basic-info-block {
    padding: 20px !important;
  }

  body.type-product .add-to-cart,
  body.type-product .add-to-cart-wrapper {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }
}


/* =========================================================
   FURRIO — PRODUCT IMAGE CLEANUP V6
   Odstraní těžký bílý rám kolem hlavní produktové fotky.
   Fotka zůstane čistá, větší a prémiová.
   ========================================================= */

body.type-product .p-image-wrapper,
body.type-product .p-main-image,
body.type-product .p-image {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 30px !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.type-product .p-image-wrapper img,
body.type-product .p-main-image img,
body.type-product .p-image img {
  display: block !important;
  width: 100% !important;
  border-radius: 28px !important;
  box-shadow: 0 22px 58px rgba(47,48,46,.10) !important;
}

/* Miniatury necháme jako malé čisté karty, ale srovnáme je s fotkou */
body.type-product .p-thumbnails,
body.type-product .p-thumbnails-wrapper {
  margin-top: 18px !important;
  padding-left: 0 !important;
}

body.type-product .p-thumbnails a,
body.type-product .p-thumbnail {
  background: rgba(255,255,255,.82) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 20px rgba(47,48,46,.06) !important;
}
