/*
Theme Name: Botiga Child
Theme URI: http://athemes.com/theme/botiga
Author: aThemes
Author URI: http://athemes.com
Template: botiga
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: botiga
*/
/* category icons start */
.category-icons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;              /* bylo 24px */
    margin: 40px 0;         /* bylo 60px */
    padding: 0 20px;
}

.category-icon {
    text-align: center;
}

.category-icon img {
    width: 64px;            /* bylo 100px */
    height: auto;
    margin-bottom: 8px;     /* bylo 12px */
    opacity: 0.9;           /* lehčí vizuálně */
}

.category-icon p {
    margin: 0;
    font-size: 12px;        /* bylo 14px */
    line-height: 1.35;
    color: #555;            /* méně dominantní */
}

/* Tablet */
@media (max-width: 1024px) {
    .category-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        margin: 32px 0;
    }

    .category-icon img {
        width: 56px;
    }
}

/* Mobil */
@media (max-width: 600px) {
    .category-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 28px 0;
    }

    .category-icon img {
        width: 52px;
    }

    .category-icon p {
        font-size: 12px;
    }
}
/* category icons end */
/* h1 product category start */
.h1-product-category {
	text-align: center;
	font-size: 3.0em;
}
/* h1 product category end */
/* šířka buy now buttonu start */
.product-gallery-summary .botiga-single-addtocart-wrapper  {
	width: 50%;
}
/* Hover efekt na cover bloky */
.wp-block-cover {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.wp-block-cover:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

/* ========== Sidebar menu (simple headings + lists) ========== */

.shop-sidebar-menu {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  margin: 50px;
}

.shop-sidebar-menu h3 {
  margin: 50px 0 8px;
  padding: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.shop-sidebar-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}


.shop-sidebar-menu li {
  margin-top: 2px;
  padding-bottom: 2px!important; 
}


.shop-sidebar-menu a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.shop-sidebar-menu a:hover,
.shop-sidebar-menu a:focus-visible {
  border-bottom-color: currentColor;
  opacity: 0.85;
  outline: none;
}

/* Optional: make long labels wrap nicely */
.shop-sidebar-menu a {
  max-width: 100%;
  word-break: break-word;
}

/* Optional: slightly tighter spacing on mobile */
@media (max-width: 768px) {
  .shop-sidebar-menu h3 {
    margin-top: 16px;
  }
  .shop-sidebar-menu li + li {
    margin-top: 5px;
  }
}
/* ========== Sidebar menu (simple headings + lists) END ========== */
/* ===== Product loop ===== */

li.product .price {
    text-align: center;
}

.woocommerce-loop-product__title { 
    margin-top: 10px !important;
    text-align: center;
}

.woocommerce ul.products li.product {
    overflow: visible !important;
}

.woocommerce ul.products li.product .loop-image-wrap {
    overflow: visible !important;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.06),
        0 8px 24px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.woocommerce ul.products li.product:hover .loop-image-wrap {
    overflow: visible !important;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.09),
        0 16px 40px rgba(0,0,0,0.13);
    transform: translateY(-3px);
}


/* ===== ikona košíku na produktové kartě v loop ===== */

/* 1. Skryje původní oko i předchozí pokusy */
.loop-button-wrap a.product_type_external svg,
.loop-button-wrap a.product_type_external::before,
.loop-button-wrap a.product_type_external::after {
    display: none !important;
}

/* 2. Vloží ikonu externího odkazu jako 'content' */
.loop-button-wrap a.product_type_external {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px; /* Zajistí výšku tlačítka */
	width: 70ox;
}

.loop-button-wrap a.product_type_external::before {
    content: "";
    display: block !important;
    width: 22px;
    height: 22px;
    background-color: white; /* Barva ikony */
    /* Maska vytvoří tvar ikony */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}


.product-grid .button-layout4 {
  width: auto;
}

/* ===== MV Shop content (under product loop) ===== */

.mv-shop-content{
  max-width: 1100px;
  margin: 56px auto;
  padding: 0 18px;
}

.mv-shop-content h2{
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.mv-shop-content h3{
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.mv-shop-content p{
  margin: 0 0 12px;
  opacity: .95;
}

.mv-shop-content a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mv-muted{ opacity: .82; }
.mv-center{ text-align: center; }
.mv-gap-lg{ margin-top: 34px; }
.mv-mt-sm{ margin-top: 10px; }

.mv-max{
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.mv-card{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

.mv-pad{ padding: 22px; }

.mv-grid-2{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
  align-items: center;
}

.mv-grid-2--media{
  align-items: start;
}

.mv-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.mv-img--logo{
  max-width: 320px;
  margin: 0 auto;
}

.mv-badge{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  opacity: .9;
  margin-bottom: 10px;
}

.mv-list{
  margin: 10px 0 0;
  padding-left: 18px;
}

.mv-list li{ margin: 6px 0; }

.mv-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mv-btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  text-decoration: none;
}

.mv-btn:hover{ opacity: .9; }

.mv-social{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.mv-social a{
  display: inline-block;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  padding: 8px 12px;
}

.mv-social a:hover{ opacity: .9; }

.mv-hr{
  height: 1px;
  background: rgba(0,0,0,.10);
  border: 0;
  margin: 28px 0;
}

/* ===== Shared accordion styles (Print materials + FAQ) ===== */

.mv-accordion,
.mv-faq{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.mv-acc-item,
.mv-faq-item{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}

.mv-acc-q,
.mv-faq-q{
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

/* Hide default marker */
.mv-acc-q::-webkit-details-marker,
.mv-faq-q::-webkit-details-marker{ display: none; }

/* Custom + / – indicator */
.mv-acc-q::after,
.mv-faq-q::after{
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 700;
  opacity: .7;
}

.mv-acc-item[open] .mv-acc-q::after,
.mv-faq-item[open] .mv-faq-q::after{
  content: "–";
}

.mv-acc-a,
.mv-faq-a{
  margin-top: 10px;
  opacity: .92;
}

/* Better spacing inside accordion content */
.mv-acc-a .mv-list{ margin-top: 12px; }
.mv-acc-a .mv-buttons{ margin-top: 14px; }

/* Mobile */
@media (max-width: 900px){
  .mv-shop-content{ margin: 42px auto; }
  .mv-grid-2{ grid-template-columns: 1fr; }
}

/* ===== MV Shop content (under product loop) ===== END */
/* ===== Trust row - tři položky u CTA na product page ===== */
.mv-trust-row{
	display:flex;
	flex-wrap:wrap;
	gap:14px;
	margin-top:14px;
	font-size:14px;
	color:#555;
}

.mv-trust-item{
	display:flex;
	opacity: 0.9;
	align-items:center;
	gap:6px;
}

.mv-trust-icon{
	font-size:15px;
	line-height:1;
}

@media (max-width: 768px){
	.mv-trust-row{
		flex-direction:column;
		gap:8px;
	}
}
.mv-trust-row--meta{
	margin: 8px 0 18px 0;
}
.mv-trust-row--cta{
	margin: 10px 0 22px;
	font-size: 13px;
	color: #666;
}

/* ===== Trust row - tři položky u CTA na product page ===== END */

/* Micro-copy under CTA */
.mv-cta-microcopy{
	margin: 6px 0 10px;
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

/* Trust row under CTA */
.mv-trust-row--cta{
	margin-bottom: 22px;
	font-size: 13px;
	color: #666;
}

.mv-trust-item{
	opacity: 0.9;
}
/* Micro-copy under CTA END */
/* Product meta lines under author */
.product_meta .mv-meta-lines{
	margin-top: 14px;
	font-size: 13px;
	color: #666;
	line-height: 1.55;
}

.product_meta .mv-meta-line{
	margin: 6px 0;
}

/* Label (Category/Tag) */
.product_meta .mv-meta-label{
	font-weight: 600;
	color: #666; /* stejné, jen tučné */
}

/* Links in meta */
.product_meta .mv-meta-link,
.product_meta .mv-meta-lines a{
	color: #666;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.product_meta .mv-meta-lines a:hover{
	color: #333;
}

/* separators */
.product_meta .mv-meta-sep{
	margin: 0 6px;
	color: #999;
}
/* Product meta lines under author END */
/* Mobile filters toggle button */
/* Mobile "Show filters" button */
.mv-filters-toggle{
	display:none;
	width:100%;
	padding:14px 18px;
	border:1px solid #cfcfcf;
	background:transparent;
	text-transform:uppercase;
	letter-spacing:.08em;
	font-size:13px;
	cursor:pointer;
	margin: 10px 0 18px;
}

/* Mobile behaviour */
@media (max-width: 768px){

	.mv-filters-toggle{ display:block; }

	/* Sidebar with filters: collapsed by default */
	.mv-filters-sidebar{
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
		margin-bottom: 0;
	}

	/* When open */
	body.mv-filters-open .mv-filters-sidebar{
		max-height: 2000px; /* dost velké, aby se rozbalilo */
		margin-bottom: 18px;
	}

	/* Optional: add a subtle border when open */
	body.mv-filters-open .mv-filters-sidebar{
		border: 1px solid #eee;
		padding: 12px;
		background:#fff;
	}
}
@media (max-width: 768px){
  .mv-filters-sidebar .wp-block-spacer{
    display:none !important;
  }
}

/* Mobile filters toggle button END */
/* Single product – keep tall images fully visible  start*/
.single-product .woocommerce-product-gallery img {
  max-height: 75vh;     /* uprav třeba na 70–85vh */
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Single product – keep tall images fully visible end*/
/* Tab description width start */
#tab-description {
	max-width: 1000px;
	}
/* Tab description width end */

/* Abstract category content */

.abstract-info,
.abstract-types,
.abstract-faq {
  max-width: 1100px;
  margin: 0 auto 3rem auto;
}

.abstract-info h2,
.abstract-types h2,
.abstract-faq h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.abstract-types h3,
.abstract-faq h3 {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.abstract-hero-figure {
  margin: 2rem 0;
  text-align: center;
}

.abstract-hero-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.abstract-hero-figure figcaption,
.abstract-image-grid figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
  text-align: center;
}

.abstract-image-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.2rem !important;
  margin: 1.5rem 0 3rem 0 !important;
}

.abstract-image-grid figure {
  margin: 0 !important;
}

.abstract-image-grid img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .abstract-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .abstract-image-grid {
    grid-template-columns: 1fr !important;
  }
}
/* Abstract category content END */