/* Prohřejeme.cz | Shoptet Samba | 2026-09-23
   ÚPLNÁ NÁHRADA /user/documents/upload/sablona-nemazat/style.css
   (nikoli CSS šablony Shoptet).
   Odstraňte dřívější prohrejeme-navrh.css, pokud se načítá samostatně.
   Bez externích závislostí. */
:root {
  --ph-ink: #302a25;
  --ph-muted: #62594f;
  --ph-accent: #995020;
  --ph-hover: #743a17;
  --ph-paper: #faf7f3;
  --ph-line: #e4dbd1;
}
body { color: var(--ph-ink); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.homepage-group-title.h4 { color: var(--ph-ink); line-height: 1.3; }
a, .link-like { color: var(--ph-accent); }
a:hover, .link-like:hover { color: var(--ph-hover); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #21649a; outline-offset: 3px;
}
.category-appendix, .product-appendix { display: block; }
/* Zachování původního skrytí duplicitního uvítání a newsletteru. */
.footer-newsletter-full-width, .welcome-wrapper { display: none; }
/* Rozměry ovládacích prvků hlavičky a ikon řídí původní šablona. */
#navigation .menu-level-1 > li > a { color: var(--ph-ink); }
#carousel video {
  display: block; width: 100% !important; height: auto !important;
  max-height: 520px; margin: 0 auto; object-fit: contain; background: #fff;
}
/* Šest výhod: stejná struktura s odkazem i bez odkazu. */
.benefitBanner.position--benefitHomepage {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin: 32px 0 48px; padding: 0;
}
.position--benefitHomepage .benefitBanner__item {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
  width: auto; max-width: none; min-width: 0; margin: 0; padding: 20px;
  gap: 16px; background: var(--ph-paper); border: 1px solid var(--ph-line);
  border-radius: 8px; text-align: left;
}
.position--benefitHomepage .benefitBanner__link {
  display: flex; flex-direction: row; align-items: center; gap: 16px;
  width: 100%; min-width: 0; color: inherit; text-decoration: none;
}
.position--benefitHomepage .benefitBanner__picture {
  flex: 0 0 56px; width: 56px; height: 56px; margin: 0;
}
.position--benefitHomepage .benefitBanner__img {
  width: 100%; height: 100%; max-height: 56px; object-fit: contain;
}
.position--benefitHomepage .benefitBanner__content { flex: 1; min-width: 0; padding: 0; }
.position--benefitHomepage .benefitBanner__title {
  display: block; margin: 0 0 5px; font-size: 18px; line-height: 1.4; color: var(--ph-ink);
}
.position--benefitHomepage .benefitBanner__data { font-size: 16px; line-height: 1.55; color: var(--ph-muted); }
/* Články: obrázek a text v normálním toku, žádné překrývání a ořez textu. */
.blog-wrapper .news-item { min-width: 0; }
.blog-wrapper .news-item > a {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; color: var(--ph-ink); border: 1px solid var(--ph-line);
  border-radius: 8px; overflow: hidden; text-decoration: none;
}
.blog-wrapper .news-item a .image {
  display: block; position: relative; flex: none; width: 100%;
  height: auto; min-height: 0; padding: 0; overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-wrapper .news-item a .image img {
  display: block; position: static; width: 100%; height: 100%;
  max-height: none; object-fit: cover; transform: none;
}
.blog-wrapper .news-item a .text {
  display: flex; flex-direction: column; flex: 1 0 auto;
  position: static !important; width: 100%; height: auto !important;
  min-height: 0; max-height: none; padding: 24px !important;
  background: #fff !important; transform: none; opacity: 1; visibility: visible;
  overflow: visible; text-align: left;
}
.blog-wrapper .news-item a .text .title {
  display: block; height: auto; min-height: 0; margin: 0 0 14px;
  font-size: 22px; line-height: 1.4; font-weight: 700; color: var(--ph-ink);
}
.blog-wrapper .news-item a .text .description {
  display: block; height: auto; max-height: none; margin: 0 0 20px;
  font-size: 17px; line-height: 1.65; color: var(--ph-muted); overflow: visible;
}
.blog-wrapper .news-item a .text .read-article {
  position: static; display: block; margin-top: auto; padding-top: 4px;
  color: var(--ph-accent); font-size: 17px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 4px;
}
.blog-wrapper .news-item > a:hover { border-color: var(--ph-accent); }
@media (min-width: 1200px) {
  .homepage-blog-wrapper .news-item { flex-basis: 33.333333%; width: 33.333333%; }
}
/* Hlavička samostatného článku z původního vlastního CSS. */
.header-post { margin-bottom: 24px; position: relative; }
.header-post::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 20%, #fff 100%);
}
.header-post img { width: 100%; }
.header-post h1 {
  position: absolute; bottom: 12px; left: 0; width: 100%;
  margin: 0; padding: 0 20px; color: var(--ph-ink);
  font-size: clamp(24px, 3vw, 36px); line-height: 1.3; text-align: center;
}
/* Produkty bez zásahu do mřížky a funkčních stavů šablony. */
.product .p .p-in .p-in-in a.name { color: var(--ph-ink); font-size: 19px; line-height: 1.45; }
.product-appendix { font-size: 16px; line-height: 1.5; color: var(--ph-muted); }
.flags.flags-default { display: inline-flex; flex-direction: column; left: 0; width: auto; }
.flag.flag-discount { background-color: var(--ph-accent); }
.p-detail .basic-description, #description { font-size: 18px; line-height: 1.7; }
.p-detail .basic-description a, #description a { text-decoration: underline; text-underline-offset: 3px; }
.btn.btn-cart, .btn.btn-conversion {
  background-color: var(--ph-accent); border-color: var(--ph-accent); color: #fff;
}
.btn.btn-cart:hover, .btn.btn-conversion:hover {
  background-color: var(--ph-hover); border-color: var(--ph-hover); color: #fff;
}
/* Zápatí: ponechané originální logo, dostatek prostoru pod ním. */
footer#footer { padding-top: 120px; position: relative; background-color: var(--ph-paper); }
footer#footer::after, footer#footer::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; pointer-events: none;
}
footer#footer::after { background-color: #fff; height: 79px; z-index: 2; }
footer#footer::before {
  background-image: url('/user/documents/upload/sablona-nemazat/logopata.png');
  background-position: top center; background-repeat: no-repeat;
  background-size: auto 158px; height: 158px; z-index: 3;
}
footer#footer .custom-footer { justify-content: center; }
#footer .pageElement__heading { color: var(--ph-ink); }
#footer a { color: var(--ph-accent); }
@media (max-width: 991px) {
  .benefitBanner.position--benefitHomepage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .benefitBanner.position--benefitHomepage { gap: 12px; margin: 24px 0 32px; }
  .position--benefitHomepage .benefitBanner__item { padding: 16px; }
  .blog-wrapper .news-item a .text { padding: 20px !important; }
  .blog-wrapper .news-item a .text .title { font-size: 21px; }
  .header-post h1 { position: relative; bottom: auto; padding: 16px 0 0; }
  .header-post::before { display: none; }
}
@media (max-width: 575px) {
  .benefitBanner.position--benefitHomepage { grid-template-columns: minmax(0, 1fr); }
}
/* Jednotné čitelné písmo; velikosti systémových ovladačů zůstávají šabloně. */
body { font-family: 'Noto Sans', Arial, sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
#navigation .menu-level-1 > li > a, .btn, .benefitBanner__title,
.blog-wrapper .news-item .text { font-family: 'Noto Sans', Arial, sans-serif; }
.blog-wrapper .news-item a .text { color: var(--ph-ink); }
.homepage-blog-wrapper { padding-top: 32px; padding-bottom: 32px; }
.btn.btn-primary, .btn.btn-default {
  background-color: var(--ph-accent); border-color: var(--ph-accent); color: #fff;
}
.btn.btn-primary:hover, .btn.btn-default:hover {
  background-color: var(--ph-hover); border-color: var(--ph-hover); color: #fff;
}
/* Odstranění velkých mezer mezi slovy z inline zarovnání popisu produktu. */
.p-detail #description p, .p-detail #description li,
.p-detail .basic-description p { text-align: left !important; }

/* UX 60+ – 2026-09-23. Nahrazuje celý dosavadní vlastní style.css.
   Nasadit na /user/documents/upload/sablona-nemazat/style.css.
   !important pouze proti inline barvám a silnějším pravidlům šablony. */
.price-final, .price-final strong, .price-final-holder,
.p-detail .price-save { color: #873f16 !important; }
.flags .flag-horky-tip, .flags .flag-custom1 {
  color: #302a25 !important;
}
.flags .flag-discount, .flags .flag-discount .price-standard,
.flags .flag-discount .price-save { color: #fff !important; background-color: #873f16; }
.availability-label, .availability-value, .availability-value span,
.availability span { color: #302a25 !important; font-size: 16px; }
/* Dostupnost rozlišuje vždy i původní text; barva neslibuje stav skladu. */
body .btn.btn-default, body .btn.btn-primary,
body .btn.btn-cart, body .btn.btn-conversion {
  background-color: #873f16; border-color: #873f16; color: #fff;
  min-height: 44px; font-size: 16px; white-space: normal;
}
body .btn.btn-default:hover, body .btn.btn-primary:hover,
body .btn.btn-cart:hover, body .btn.btn-conversion:hover {
  background-color: #653011; border-color: #653011; color: #fff;
}
body a:focus-visible, body button:focus-visible, body input:focus-visible,
body select:focus-visible, body textarea:focus-visible, body [tabindex]:focus-visible {
  outline: 3px solid #21649a !important; outline-offset: 3px;
}
/* Tři plnohodnotné dotykové plochy: minus, počet, plus. */
body .quantity {
  display: inline-grid; grid-template-columns: 44px 48px 44px;
  width: 136px; min-width: 136px; height: 48px; padding: 0;
  vertical-align: middle;
}
body .quantity > label { grid-column: 2; grid-row: 1; margin: 0; width: 48px; }
body .quantity input.amount {
  width: 48px; height: 48px; padding: 0 2px; font-size: 18px; text-align: center;
}
body .quantity .increase, body .quantity .decrease {
  position: static; grid-row: 1; width: 44px; height: 48px;
  padding: 0; color: #302a25; background: #f4eee7; font-size: 22px;
}
body .quantity .decrease { grid-column: 1; border-right: 1px solid #a99b8d; }
body .quantity .increase { grid-column: 3; border-left: 1px solid #a99b8d; }
body .quantity button:hover { background: #e4dbd1; }
.p-detail .add-to-cart { flex-wrap: wrap; gap: 12px; }
.p-detail .add-to-cart .quantity { margin: 0; flex: 0 0 136px; }
/* Čitelné články a dlouhé adresy bez ořezání obsahu. */
.pageArticleDetail { font-size: 18px; line-height: 1.65; overflow-wrap: anywhere; min-width: 0; }
.pageArticleDetail p, .pageArticleDetail li { text-align: left !important; }
.pageArticleDetail a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.pageArticleDetail .scroll-wrapper { max-width: 100%; overflow: visible; }
.pageArticleDetail .scroll-wrapper table {
  width: 100%; max-width: 100%; table-layout: fixed; font-size: 16px;
}
.pageArticleDetail .scroll-wrapper td, .pageArticleDetail .scroll-wrapper th {
  width: auto; min-width: 0; padding: 8px 4px; overflow-wrap: anywhere; vertical-align: top;
}
.pageArticleDetail .scroll-wrapper .cookiesSetting__item,
.pageArticleDetail .scroll-wrapper .cookiesSetting__item__col1 { min-width: 0; width: auto; }
.pageArticleDetail .scroll-wrapper p { margin: 0 0 8px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .blog-wrapper .news-item a, #navigation { transition: none; }
}
/* Barva šablony se používá také v cenách dopravy a krocích košíku. */
:root {
  --color-secondary: #873f16 !important;
  --color-secondary-hover: #653011 !important;
  --color-secondary-h: 22 !important;
  --color-secondary-s: 72% !important;
  --color-secondary-l: 31% !important;
  --color-secondary-hover-h: 22 !important;
  --color-secondary-hover-s: 71% !important;
  --color-secondary-hover-l: 23% !important;
}
.price-save { color: #873f16 !important; }
.shipping-billing-table .radio-wrapper { border-bottom: 1px solid #d6cdc3; }
.shipping-billing-table .radio-wrapper.active {
  background: #faf7f3; box-shadow: inset 4px 0 #873f16;
}
.shipping-billing-table .radio-wrapper > label {
  min-height: 48px; font-size: 16px; line-height: 1.5;
}
.shipping-billing-table .payment-info { min-width: 0; overflow-wrap: anywhere; }
.shipping-billing-table .sublabel a { text-decoration: underline; text-underline-offset: 3px; }
