/* Univerzální obsahové styly pro TinyMCE i frontend */
.perex{font-size:1.15em;line-height:1.75;font-weight:500;margin:0 0 1.2em;color:#1f2937}
.text-highlight{background:#fff7d6;border-left:4px solid #f0c542;padding:14px 16px;border-radius:8px;margin:0 0 1.2em}
.text-note{color:#475569;font-style:italic}
.text-muted-small{font-size:.9em;color:#64748b}

.c-content-box{margin:0 0 1.25rem;padding:1rem 1.1rem;border-radius:14px;border:1px solid #e5e7eb;background:#fff}
.c-content-box > *:first-child{margin-top:0}
.c-content-box > *:last-child{margin-bottom:0}
.c-content-box--info{background:#eef6ff;border-color:#bfdbfe}
.c-content-box--tip{background:#effcf6;border-color:#86efac}
.c-content-box--warning{background:#fff7ed;border-color:#fdba74}
.c-content-box--success{background:#ecfdf5;border-color:#6ee7b7}


.link-arrow{display:inline-flex;align-items:center;gap:.45rem;font-weight:600;text-decoration:none}
.link-arrow::after{content:'›';font-size:1.15em;line-height:1}

.c-cta{padding:1.4rem;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #dbeafe;margin:0 0 1.5rem}
.c-cta__title{margin:0 0 .5rem}
.c-cta__text{margin:0 0 1rem}
.c-cta__actions{margin:0}

.check-list{list-style:none;padding:0;margin:0 0 1.2rem}
.check-list li{position:relative;padding-left:1.8rem;margin:0 0 .65rem}
.check-list li::before{content:'✓';position:absolute;left:0;top:0;color:#059669;font-weight:700}

.table-specs{width:100%;border-collapse:collapse;margin:0 0 1.3rem;font-size:.98rem}
.table-specs th,.table-specs td{border:1px solid #e5e7eb;padding:.75rem .85rem;text-align:left;vertical-align:top}
.table-specs th{background:#f8fafc;font-weight:700}
.table-specs tr:nth-child(even) td{background:#fcfcfd}

.faq-list{display:grid;gap:.9rem;margin:0 0 1.4rem}
.faq-item{padding:1rem 1.1rem;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.faq-item h3{margin:0 0 .45rem}
.faq-item p{margin:0}

.gallery-grid{display:grid;gap:1rem;margin:0 0 1.5rem}
.gallery-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.gallery-grid__item{margin:0}
.gallery-grid__item img{display:block;width:100%;height:auto;border-radius:14px}
.gallery-grid__item figcaption{margin-top:.45rem;font-size:.92rem;color:#475569}

.zigzag{margin:0 0 1.75rem}
.zigzag .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem;align-items:center}
.zigzag .z_img img{display:block;width:100%;height:auto;border-radius:18px}
.zigzag .z_text > *:first-child{margin-top:0}
.zigzag .z_text > *:last-child{margin-bottom:0}
.zigzag .z_img.r{order:2}
.zigzag .z_text.l{order:1}
.clear{clear:both;}

.badge-list{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 1.2rem;padding:0;list-style:none}
.badge-list li{padding:.45rem .75rem;border-radius:999px;background:#f1f5f9;border:1px solid #e2e8f0;font-size:.92rem}

.price-note{padding:.9rem 1rem;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;color:#334155}

@media (max-width: 767px){
  .gallery-grid--2,.gallery-grid--3,.zigzag .wrap{grid-template-columns:1fr}
  .zigzag .z_img.r,.zigzag .z_text.l{order:initial}
  .btn{width:100%;justify-content:center;margin-right:0}
}

.btn.submit{display:inline-flex;align-items:center;justify-content:center}
.table-pricing{width:100%;border-collapse:collapse;margin:1rem 0}
.table-pricing th,.table-pricing td{border:1px solid #d9dee3;padding:.75rem .875rem;text-align:left}
.table-pricing th{background:#f5f7fa;font-weight:700}
.shop-admin-ai-plain-wrap{position:relative}
.shop-admin-ai-plain-bar{margin:0 0 6px 0}
.shop-admin-ai-plain-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #cfd5db;border-radius:6px;background:#fff;cursor:pointer;font:inherit}
.shop-admin-ai-plain-btn:hover{background:#f7f9fb}


/* Lepší návaznost odstavců před seznamem a nadpisem */
.tox-content-body p:has(+ ul),
.tox-content-body p:has(+ ol),
.tox-content-body p:has(+ h1),
.tox-content-body p:has(+ h2),
.tox-content-body p:has(+ h3),
.tox-content-body p:has(+ h4),
.tox-content-body p:has(+ h5),
.tox-content-body p:has(+ h6),
.wysiwyg-content p:has(+ ul),
.wysiwyg-content p:has(+ ol),
.wysiwyg-content p:has(+ h1),
.wysiwyg-content p:has(+ h2),
.wysiwyg-content p:has(+ h3),
.wysiwyg-content p:has(+ h4),
.wysiwyg-content p:has(+ h5),
.wysiwyg-content p:has(+ h6),
.editor-content p:has(+ ul),
.editor-content p:has(+ ol),
.editor-content p:has(+ h1),
.editor-content p:has(+ h2),
.editor-content p:has(+ h3),
.editor-content p:has(+ h4),
.editor-content p:has(+ h5),
.editor-content p:has(+ h6){margin-bottom:0}

/* Fallback i pro prohlížeče bez :has */
.tox-content-body p + ul,
.tox-content-body p + ol,
.tox-content-body p + h1,
.tox-content-body p + h2,
.tox-content-body p + h3,
.tox-content-body p + h4,
.tox-content-body p + h5,
.tox-content-body p + h6,
.wysiwyg-content p + ul,
.wysiwyg-content p + ol,
.wysiwyg-content p + h1,
.wysiwyg-content p + h2,
.wysiwyg-content p + h3,
.wysiwyg-content p + h4,
.wysiwyg-content p + h5,
.wysiwyg-content p + h6,
.editor-content p + ul,
.editor-content p + ol,
.editor-content p + h1,
.editor-content p + h2,
.editor-content p + h3,
.editor-content p + h4,
.editor-content p + h5,
.editor-content p + h6{margin-top:.2rem}





/* =========================================================
   ČLÁNEK: OBLEČENÍ NA RYBY DO NORSKA
   GeoffAndersonShop.cz
   ========================================================= */

.ga-guide-box { margin:26px 0; padding:20px 22px; background:#f5f5f5; border-left:4px solid #777; border-radius:0 10px 10px 0; line-height:1.65; }
.ga-guide-box-important { background:#fff8f0; border-left-color:#e29939; }
.ga-guide-box-tip { background:#f4f7f4; border-left-color:#627a64; }
.ga-guide-box-brand { background:#f2f4f2; border-left-color:#4f6251; }
.ga-guide-box-safety { background:#f3f6f8; border-left-color:#58758a; }
.ga-guide-box-final { background:#f5f5f2; border-left-color:#222; padding:24px 26px; }

.ga-guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:28px 0; }
.ga-guide-card { padding:22px; background:#f7f7f7; border-radius:12px; }
.ga-guide-card h3 { margin-top:0; }

.ga-guide-compare { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:28px 0; }
.ga-guide-compare-item { padding:22px 24px; background:#f7f7f7; border-radius:12px; }
.ga-guide-compare-item h3 { margin-top:0; }

.ga-guide-products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:30px 0; }
.ga-guide-product { position:relative; display:flex; flex-direction:column; padding:24px; border:1px solid #dedede; border-radius:12px; background:#fff; }
.ga-guide-product h3 { margin-top:0; }
.ga-guide-product-featured { border:2px solid #777; }
.ga-guide-product-label { display:inline-block; align-self:flex-start; margin-bottom:12px; padding:5px 9px; background:#f0f0f0; border-radius:5px; font-size:13px; font-weight:700; }

.ga-guide-button { display:inline-block; margin-top:auto; padding:11px 16px; border-radius:6px; background:#262626; color:#fff !important; text-decoration:none !important; font-weight:700; text-align:center; }
.ga-guide-button:hover { opacity:.88; }

.ga-guide-checklist { margin:18px 0 25px; }
.ga-guide-checklist li { margin-bottom:8px; }
.ga-guide-checklist-main { padding:20px 20px 20px 42px; background:#f7f7f7; border-radius:12px; }

.ga-guide-faq { margin-top:10px; }
.ga-guide-faq details { padding:17px 0; border-bottom:1px solid #ddd; }
.ga-guide-faq details:first-child { border-top:1px solid #ddd; }
.ga-guide-faq summary { cursor:pointer; font-weight:700; font-size:17px; line-height:1.45; }
.ga-guide-faq-content { padding-top:12px; }
.ga-guide-faq-content p:last-child { margin-bottom:0; }

@media (max-width:900px) {
    .ga-guide-products { grid-template-columns:1fr; }
}

@media (max-width:700px) {
    .ga-guide-grid, .ga-guide-compare { grid-template-columns:1fr; }
    .ga-guide-box, .ga-guide-card, .ga-guide-product, .ga-guide-compare-item { padding:18px; }
}


/* ===== OBRÁZKY PRODUKTŮ V POROVNÁVACÍCH KARTÁCH ===== */
.ga-guide-products .ga-guide-product > a[data-fancybox="gallery"] { display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; height:190px !important; margin:16px 0 20px !important; padding:0 !important; overflow:hidden !important; background:#fff !important; }
.ga-guide-products .ga-guide-product > a[data-fancybox="gallery"] .ga-guide-product-photo { display:block !important; width:auto !important; height:auto !important; max-width:100% !important; max-height:190px !important; margin:0 auto !important; padding:0 !important; object-fit:contain !important; }
.ga-guide-products .ga-guide-product > .ga-guide-product-photo { display:block !important; width:auto !important; height:auto !important; max-width:100% !important; max-height:190px !important; margin:16px auto 20px !important; object-fit:contain !important; }
.ga-guide-product h3 a { color:inherit !important; text-decoration:none !important; }
.ga-guide-product h3 a:hover { text-decoration:underline !important; }
@media (max-width:900px) { .ga-guide-products .ga-guide-product > a[data-fancybox="gallery"] { height:260px !important; } .ga-guide-products .ga-guide-product > a[data-fancybox="gallery"] .ga-guide-product-photo, .ga-guide-products .ga-guide-product > .ga-guide-product-photo { max-height:260px !important; } }



/* ================== TLAČÍTKO NA CELÝ POPIS PRODUKTU ================== */
#detail .right-side .seodesc a.ga-description-button{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;width:auto;max-width:100%;min-height:44px;margin:12px 0 6px;padding:10px 17px;box-sizing:border-box;border:1px solid #805b2d;border-radius:8px;background:#805b2d;color:#fff!important;font-family:inherit;font-size:14px!important;font-style:normal;font-weight:700;line-height:1.5!important;text-align:center;text-decoration:none!important;white-space:normal;box-shadow:0 3px 10px rgb(80 55 25 / 14%)}
#detail .right-side .seodesc a.ga-description-button::after{content:"↓";flex-shrink:0;font-size:20px;line-height:1}
#detail .right-side .seodesc a.ga-description-button:hover{background:#694923;border-color:#694923;box-shadow:0 5px 14px rgb(80 55 25 / 20%)}
#detail .right-side .seodesc a.ga-description-button:focus-visible{outline:3px solid #292d32;outline-offset:3px}
@media(max-width:700px){#detail .right-side .seodesc a.ga-description-button{width:100%;min-height:46px;margin:14px 0 8px;padding:11px 16px}}



/* ================== ŠÍŘKA HLAVNÍHO POPISU PRODUKTU ================== */
@media screen and (min-width:1024px){
  #detail-wrap #tab-container{width:100%!important;max-width:1300px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;}
  #detail-wrap #tab-container > #detailcontent{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;}
}