/*
Theme Name: MJ theme
Theme URI: 
Author: MJ
Author URI: www.seznam.cz
Description:  The best wordpress theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: draftspot_theme

/* =============================================================================
   ACCESSIBILITY & SEO IMPROVEMENTS
   ============================================================================= */

/* Social Links Styles */
.social-links {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(131, 183, 53, 0.1);
  color: #83b735;
  border: 2px solid #83b735;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #83b735;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(131, 183, 53, 0.4);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* Herbar banner button improvements */
.herbar-banner-button {
  background: #83b735 !important;
  color: white !important;
  border: 2px solid #83b735 !important;
  border-radius: 0 !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(131, 183, 53, 0.2) !important;
  display: block !important;
  text-align: center !important;
  width: fit-content !important;
  margin: 0 auto !important;
}

.herbar-banner-button .herbar-banner-button-title {
  color: white !important;
  transition: color 0.3s ease !important;
}

.herbar-banner-button:hover {
  background: white !important;
  color: #83b735 !important;
  border-color: #83b735 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(131, 183, 53, 0.4) !important;
}

.herbar-banner-button:hover .herbar-banner-button-title {
  color: #83b735 !important;
}

.herbar-banner-content h3 {
  color: #2d4a22 !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.herbar-banner-content p {
  color: #4a5d4a !important;
  line-height: 1.5 !important;
  margin-bottom: 16px !important;
}

/* Screen reader only styles */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Skip link styles */
.skip-link {
  position: absolute !important;
  top: -40px !important;
  left: 6px !important;
  width: auto !important;
  height: auto !important;
  padding: 8px 16px !important;
  margin: 0 !important;
  background: #83b735 !important;
  color: white !important;
  text-decoration: none !important;
  border-radius: 0 0 4px 4px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  font-weight: 600 !important;
  z-index: 100000 !important;
  transition: top 0.3s ease !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0 !important;
  clip: unset !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  outline: 2px solid #ffffff !important;
  outline-offset: 2px !important;
}

.skip-link:hover {
  background: #6da028 !important;
  color: white !important;
}

/* Focus Management - Global Focus Styles */
*:focus {
  outline: none !important;
}

/* Focus-visible styles for keyboard navigation */
*:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 2px !important;
  border-radius: 2px !important;
}

/* Specific focus styles for different elements */
a:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 2px !important;
  background: rgba(131, 183, 53, 0.1) !important;
  border-radius: 2px !important;
}

button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(131, 183, 53, 0.2) !important;
}

a.btn:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(131, 183, 53, 0.2) !important;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 0 !important;
  border-color: #83b735 !important;
  box-shadow: 0 0 0 2px rgba(131, 183, 53, 0.2) !important;
}

/* Focus for dropdown menu items */
.dropdown-item:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: -2px !important;
  background: rgba(131, 183, 53, 0.1) !important;
}

/* Focus for pagination links */
.page-numbers:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 2px !important;
  background: rgba(131, 183, 53, 0.1) !important;
}

/* Focus for product cards and category links */
.woocommerce-LoopProduct-link:focus-visible,
.homepage-category-item a:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 2px !important;
  background: rgba(131, 183, 53, 0.05) !important;
  border-radius: 4px !important;
}

/* Focus for social media links */
.social-links a:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 2px !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(131, 183, 53, 0.4) !important;
}

/* Focus for search form */
.mj_search input:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 0 !important;
  border-color: #83b735 !important;
  box-shadow: 0 0 0 2px rgba(131, 183, 53, 0.2) !important;
}

/* Focus for language dropdown */
.dropdown-toggle:focus-visible {
  outline: 2px solid #83b735 !important;
  outline-offset: 2px !important;
  background: rgba(131, 183, 53, 0.1) !important;
}

/* =============================================================================
   END ACCESSIBILITY & SEO IMPROVEMENTS
   ============================================================================= */
/* Tags: mj */
a{
	color: #83b735!important;
	text-decoration: none!important;
}
a:hover{
	text-decoration: underline!important;
}
p, div {
    color:#333;
}
p{
    color: #777;
    font-size: 14px;
	line-height: 1.6;
}
.ds_hide{
    display: none!important;
}
.ds_hide{
    display: none!important;
}
.d-flex{
    display: flex;
}
.opac0{
    opacity: 0;
}
.shop_sort_check_txt,.shop_sort_color_value{
    pointer-events: none;
}

.noUi-connect {
    background: #0075ff!important;
}

#ds_shop_price_range .noUi-tooltip {
    display: none;
}
#ds_shop_price_range .noUi-active .noUi-tooltip {
    display: block;
}
body{
    scroll-behavior: smooth;
}
table.variations,.woocommerce-variation-add-to-cart{
    width:1px;
    height:1px;
    opacity:0;
}
.ds_single_title{
    justify-content: space-between;
}
.woocommerce div.product form.cart {
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}
.single_variation_wrap{
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden; 
}
.ds_order_item_row{
    display: flex;
}
.ds_order_item{
    width:25%;
}

.woocommerce-edit-account .woocommerce-MyAccount-content .edit-account > .woocommerce-form-row {
    width: 100%!important;
}

/*
.megaMenu{
    position: absolute;
    top: -152px;
    transition: .5s all;
    z-index: 99!important;
}
.megaMenu_active{
    transform: translateY(220px); 
}
#masthead{
    background: #fff!important; 
}
body.home #masthead{
    background: #ef5a3d!important;
}
*/
.ds_shop_item_color{
    padding: 5px 10px;
}
@media only screen and (min-width: 1200px){
    .container{
        max-width: 1120px!important;
    }
}

.container{
    padding-left: 20px!important;
    padding-right: 20px!important;
}

p, li, a, span {
    font-family:"Open Sans";
}
h1, h2, h3, h4, h5 {
    font-family:"Source Sans Pro";
    font-weight:800!important;
}

/* header*/

.mj_logo {
    display:flex;
    align-items:center;
    justify-content:flex-start;
}
.mj_logo img {
    width: auto;
    height: fit-content;
    max-width: 380px;
    max-height:80px;
}
.mj_logo a:nth-of-type(1) img{
    background-image: linear-gradient(#ffffff,#ffffff);
    width: 138px;
    max-width: 138px;
    margin-top: 10px;
}
.mj_logo a:nth-of-type(2) img{
    max-width: 296px;
    height: 55px;
    position: relative;
    left: -30px;
    top: 4px;
    width: 296px;
}
.header_row {
    display:flex;
    align-items:center;
}
header {
    padding-top:12px;
    padding-bottom:20px;
}
.mj_search input[type="submit"] {
    background-color: #83b735;
    color: #fff;
    border: 1px solid #83b735;
    padding: 6px 30px;
	pointer-events: none;
}
.mj_search input[type="submit"].active{
	pointer-events: auto;
}
.mj_search input[type="text"] {
    background-color: #ffffff;
    color: #000;
    border: 1px solid #000;
    padding: 6px 10px;
    margin-right:5px;
}
footer {
    margin-top:100px;
}
footer img {
    display:block;
    width: 138px!important;
    height:auto!important;
}
footer .footer_content{
	color: #777;
}
.copy_container {
    border-top:1px solid #0000001c;
    margin-top:50px;
    padding-top:8px;
    padding-bottom:8px;
}
.copy_content {
    text-align:right;
}
.menu a {
    color: #333;
    text-decoration: none;
}
.menu a:hover {
    text-decoration: underline;
}
.woocommerce .woocommerce-pagination ul.page-numbers li, .woocommerce-page .woocommerce-pagination ul.page-numbers li {
    border:0;
}
.woocommerce nav.woocommerce-pagination ul {
    border:0;    
}





ul.menu {
    list-style-type:none;
    display:flex;
    height: 100%;
    align-items: center;
    padding-left:0;
    padding-left: 10px;
}
ul.menu li {
    font-weight: 600;
    font-size: 14px;
    margin: 0 10px 0 0;
}
ul.menu li a{
    padding: 0 10px;
}
.homepage-category-item a {
    border: 1px solid rgb(0 0 0 / 8%);
    padding: 12px 18px;
    width: 100%;
	display: block;
    color: #000;
    text-decoration:none;
    font-size: 14px;
}
.homepage-category-item a:hover {
    background: #ededed;
}
.mj_submenu_section {
    border:1px solid #e8e8e8;
}
.mj_submenu_section .row,
.mj_content_section .row{
    margin-left: 0;
    margin-right: 0;
}
.mj_submenu_section .row > *,
.mj_content_section .row > *{
    padding-left: 0;
    padding-right: 0;
}
.mj_content_section .row{
	align-items: flex-start;
	position: relative;
}
@media only screen and (max-width: 767px){
	/*.mj_content_section .col-md-3{
		max-height: 0;
		overflow: hidden;
		transition: 0.3s ease-out;
		position: absolute;
		z-index: 1;
		background: white;
	}*/
}
.mj_cat_header {
    font-size: 14px;
    padding-top: 13px;
    padding-bottom: 13px;
    width: 100%;
    padding-left: 32px;
    background-color: #83b735;
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

@media (max-width: 1199px) {
    .mj_cat_header {
        cursor: pointer !important;
    }
}

@media (min-width: 1200px) {
    .mj_cat_header {
        cursor: default !important;
    }
}
.mj_right_content p {
    text-align: justify;
}
h1 {
    margin-bottom: 20px!important;
    font-size: 36px!important;
    text-align: justify;
}
.mj_right_content .image_container {
    margin: 0 auto;
    text-align: center;
}
.mj_right_content {
    padding: 20px;
}
.archive .mj_right_content{
    width: 75%;
}
.archive .mj_right_content p{
    text-align: left;
}
.archive .mj_right_content .term-description p{
	font-size: 16px;
    color: #777777;
}
.archive .mj_right_content h1{
    font-size: 26px!important;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
}
/*.woocommerce ul.products li.product a, .woocommerce-page ul.products li.product a {
    display: flex;
    flex-direction: row;    
}*/
.woocommerce ul.products li.product a{
    max-width: 25%;
    width: 100%;
}
.woocommerce ul.products li.product .wc-img-wrapper{
    width: 100%;
}
.woocommerce ul.products li.product a img {
    width: auto;
    height: auto;
    display: block;
    margin: 0 0 1em;
    box-shadow: none;
    max-width: 250px;
    max-height: 250px;
    width: 100%;
    height: auto;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    display: flex;
    align-items: center;
}
a.btn {
    background-color: #83b735;
    color: #fff!important;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 15px !important;
    border-radius: 0px !important;
    width: 170px;
    text-align: center;
}
a.btn:hover{
    background-color: #fff !important;
    color: #83b735 !important;
	border: 1px solid #83B735 !important;
	text-decoration: none !important;
}
a.btn:focus-visible {
    color: #83b735 !important;
    background: rgba(131, 183, 53, 0.1) !important;
    background-color: rgba(131, 183, 53, 0.1) !important;
}
.mj_title_button h2, .mj_title_button div {
    color: #333;
}
.mj_title_button div p, .mj_title_button div .oxy-post-content{
	margin-bottom: 10px;
}
.mj_title_button div .oxy-post-content{
	color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.mj_title_button{
    width: 75%;
    margin-left: 20px;
}
.mj_title_button a{
    width: 170px !important;
    max-width: unset !important;
}
section.related.products{
    display: none;
}
.single .mj_right_content{
    width: 75%;
}
.single .woocommerce-product-details__short-description{
    display: none;
}
.woocommerce .product_meta span {
    font-size: 12px;
}
.woocommerce .product_meta span a{
    color: #6799b2;
    transition: all ease 0.2s;
    text-decoration: none;
}
.woocommerce .product_meta span a:hover{
    color: #65bec2;
    text-decoration: underline;
}
.woocommerce div.product div.images img{
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 1px solid #d3ced2;
}

.woocommerce div.product .woocommerce-tabs {
    padding-top: 2em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li{
    padding: 0;
    border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
    padding: 16px 48px;
    color: #000000;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: normal;
}
.woocommerce div.product .woocommerce-tabs .panel p{
    color: #666666;
    font-weight: 400;
    line-height: 1.6;
    font-size: 16px;
    font-style: normal
}
.page-template-rn_o-nas .wp-block-image .aligncenter{
    margin-left: 0;
    margin-bottom: 1.4em;
	margin-top: 1em;
}

.mj_search_opener{
	display: none;
}
.page-template-rn_o-nas .mj_right_content h1,
.page-template-rn_kontakt .mj_right_content h1{
	margin-bottom: 36px!important;
}
.page-template-rn_o-nas .mj_right_content h2,
.page-template-rn_kontak .mj_right_content h2{
	font-size: 30px;
	margin-bottom: 0;
}
.page-template-rn_o-nas .mj_right_content h3,
.page-template-rn_kontakt .mj_right_content h3{
	font-size: 24px;
	margin-bottom: 0;
}
.page-template-rn_o-nas .mj_right_content p,
.page-template-rn_kontakt .mj_right_content p{
	margin-top: 1em;
	margin-bottom: 1em;
	font-size: 16px;
}

/*SEARCHPAGE*/
.searchItem_product li{
	display: flex;
    align-items: center;
	margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
}
.searchItem_product li > a{
	max-width: 25%;
    width: 100%;
}
.searchItem_product li > a .wc-img-wrapper{
	width: 100%;
}
.searchItem_product li > a img{
	display: block;
    margin: 0 0 1em;
    box-shadow: none;
    max-width: 250px;
    max-height: 250px;
    width: 100%;
    height: auto;
}
.page-template-searchpage .mj_right_content{
	width: 75%;
}
.page-template-searchpage .woocommerce-loop-product__title{
	padding: 0.5em 0;
    margin: 0;
    font-size: 1em;
}
.ds_single_related_content .ds_image a{
	display: block;
}
.ds_single_related_content .ds_image a img{
	display: block;
    width: 300px;
    height: auto;
}
.searchItem_page, .searchItem_post{
	margin-bottom: 15px;
}
.searchItem_page header{
	padding-top: 0;
	padding-bottom: 0;
}
.searchItem_page header h2{
	font-size: 1em;
}
.searchItem_post .ds_single_related_wrapper{
	display: none;
}
.searchItem_post .ds_article_img_wrapper img{
	display: block;
    width: 300px;
    height: auto;
}
.woocommerce-product-gallery__image a{
	pointer-events: none;
}
.woocommerce-product-gallery__image a img{
	/*max-height: 450px !important;
    height: auto !important;
    margin: 0 auto !important;*/
}
.woocommerce-product-gallery__image{
	cursor: pointer;
}
.overlay{
	position: fixed;
	transition: 0.3s ease-out;
	z-index: 99999;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	opacity: 0;
	pointer-events: none;
	background-color: rgba(0, 0, 0, 0.75);
}
.overlay.active{
	opacity: 1;
	pointer-events: auto;
}
.ds_modal{
	max-width: 80vw;
	transition: 0.3s ease-out;
	max-height: 80vh;
	z-index: 100000;
	position: fixed;
	left: 50%;
	top: 50%;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%);
}
.ds_modal figure{
	position: relative;
	margin-bottom: 0;
}
.ds_modal figure button{
	position: absolute;
	right: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border: 0;
	background-color: unset;
}
.ds_modal figure button span{
	height: 4px;
	width: 100%;
	background-color: white;
	position: absolute;
	left: 0%;
	top: calc(50% - 2px);
}
.ds_modal figure button span:nth-of-type(1){
	transform: rotate(45deg);
}
.ds_modal figure button span:nth-of-type(2){
	transform: rotate(-45deg);
}
.ds_modal.active{
	opacity: 1;
	pointer-events: auto;
}

.dropdown-toggle {
    color: #fff;                    /* white text */
}
.dropdown-menu {
    background-color: #1a7f37;      /* your green */
}
.dropdown-item:hover {
background-color: #10642b;
color: #fff;
}
  
/**
 * herbar banner
 */
.herbar-banner {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('/assets/img/herbar_3_270x229.png'); /* Polopropustný obrázek */
    background-size: cover;          /* --cover */
    background-position: top;     /* --center */
    background-repeat: no-repeat;    /* --no-repeat */
    width:100%;
    height:100%;
    margin-top: 2em;
}

.herbar-banner-content {
    padding: 3.6em 2.9em 0;                  /* p-4 */
    display: flex;                    /* d-flex */
    flex-direction: column;           /* flex-column */
    row-gap: 0.25rem;                 /* row-gap-1 */
}  

.herbar-banner-content h3 {
    font-weight: bold !important;
    font-size: 1.25rem;                /* text-xl */
    color: #104839;                   /* dark green */
    margin-bottom: 0.5rem;             /* mb-2 */
}  

.herbar-banner-content p {
    font-weight: normal;
    font-size: 0.9rem;                /* text-xl */
    color: #333;                   /* dark green */
    margin-bottom: 0.5rem;             /* mb-2 */
}  

.herbar-banner-button {
    display: inline-flex;             /* d-inline-flex */
    align-items: center;              /* align-items-center */
    justify-content: center;          /* justify-content-center */
    padding: 0.5rem 1rem 0.2rem 1rem;             /* p-2 */
    background-color: #83b735;           /* white background */
    border: 2px solid #000;        /* dark green border */
    border-radius: 0.375rem;          /* rounded corners */
    text-decoration: none;             /* no underline */
    font-weight: 600;                 /* bold text */
}

.herbar-banner-button:hover {
    background-color: #205849;        /* dark green background on hover */
    color: #fcc;                      /* white text on hover */
    border-color: #666;            /* keep the border color same */
}

.herbar-banner-button-title {
    text-align: center !important;
}

/* --- detail byliny: obrázek float vpravo, responsivně --- */
.herb-page .herb-image {
    float: right;
    width: 60%;
    max-width: 400px;
    margin: 0 0 1em 1em;
  }
  .herb-page .herb-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border:1px solid #ddd;
    border-radius: 0.5rem;
  }
  
/**
 * --- category page
 */
  .category-page header {
    padding-top: 12px;
    padding-bottom: 0px;
  }
 
  .category-page h1 {
    margin-bottom: 20px !important;
    font-size: 36px !important;
    text-align: justify;
  }

  .category-page h1, h2, h3, h4, h5 {
    font-family: "Source Sans Pro";
    font-weight: 800 !important;
  }

  .category-page p, .category-page div {
    color: #333;
  }

  .category-page ul.products li.product {
    display: flex;
    align-items: center;
    float: none;
    margin: 0;
    margin-bottom: 0px;
    margin-left: 0px;
    padding: 10px;
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
  }

  .category-page ul.products li.first, 
  .category-page ul.products li.first {
    clear: both;
  }

  .category-page .products ul li, 
  .category-page ul.products li {
    list-style: none outside;
  }

  /*
  .category-page ul.products li.product a img {
    width: auto;
    height: auto;
    display: block;
    margin: 0 0 1em;
    box-shadow: none;
    max-width: 142px;
    max-height: 250px;
    width: 100%;
    height: auto;
  }*/

  .category-page ul.products li.product a {
    max-width: 25%;
    width: 100%;
  }

  .category-page ul.products li.product .woocommerce-loop-category__title, 
  .category-page ul.products li.product .woocommerce-loop-product__title, 
  .category-page ul.products li.product h3 {
     padding: .5em 0;
     margin: 0;
     font-size: 1em;
  }

  .mj_right_content .category-page h1 {
    font-size: 26px !important;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 40px;
    text-transform: uppercase;
  }
 
  .mj_right_content {
     padding: 20px;
     /*width: 75% !important;*/
  }

  .category-page ul.products li.product .wc-img-wrapper {
    width: 100% !important;
  }
  
  .category-page .type-product a {
    width: 170px !important;
    max-width: unset !important;
  }

  .mj_right_content .category-page .term-description p {
    font-size: 16px;
    color: #777777;
  }

  .mj_right_content .category-page p {
    text-align: left;
  }

  .category-page p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
  }

  .category-page ul.products.columns-4 {
    padding-left: 0 !important;
  }

  .category-page a:hover {
    --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
    text-decoration: underline !important;
  }
   
  .category-page a {
    color: #83b735 !important;
    text-decoration: none !important;
  }

  .category-page a.btn {
    background-color: #83b735;
    color: #fff !important;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 15px !important;
    border-radius: 0px !important;
    width: 170px;
    text-align: center;
  }

  .category-page a.btn:hover {
    background-color: #fff !important;
    color: #83b735 !important;
    border: 1px solid #83B735 !important;
    text-decoration: none !important;
  }


  .category-page nav.woocommerce-pagination {
    text-align: center;
  }
  
  .category-page nav.woocommerce-pagination ul {
    display: inline-block;
    white-space: nowrap;
    padding: 0;
    clear: both;
    border: 1px solid #cfc8d8;
    border-right: 0;
    margin: 1px;
  }
  
  .category-page nav.woocommerce-pagination ul {
    border: 0;
  }
  
  .category-page nav.woocommerce-pagination {
    text-align: center;
  }
  
  .category-page nav.woocommerce-pagination ul li {
    border-right: 1px solid #cfc8d8;
    padding: 0;
    margin: 0;
    float: left;
    display: inline;
    overflow: hidden;
  }
  
  .category-page nav.woocommerce-pagination ul li a, .category-page nav.woocommerce-pagination ul li span {
    margin: 0;
    text-decoration: none;
    padding: 0;
    line-height: 1;
    font-size: 1em;
    font-weight: 400;
    padding: .5em;
    min-width: 1em;
    display: block;
  }
  
  .category-page a {
    color: #83b735 !important;
    text-decoration: none !important;
  }
  
  .category-page nav.woocommerce-pagination ul li a:focus, .category-page nav.woocommerce-pagination ul li a:hover, .category-page nav.woocommerce-pagination ul li span.current {
    background: #e9e6ed;
    color: #816e99;
  }
  
  .category-page .woocommerce-pagination ul.page-numbers li, .woocommerce-page .woocommerce-pagination ul.page-numbers li {
    border: 0;
  }
  
  .category-page .woocommerce-pagination ul.page-numbers li, .woocommerce-page .woocommerce-pagination ul.page-numbers li {
    display: inline-block;
  }
  
  .category-page nav.woocommerce-pagination ul {
    white-space: nowrap;
  }
  
  .category-page nav.woocommerce-pagination {
    text-align: center;
  }

  h2.wp-block-heading {
    font-size: 1.9rem;
  }

  .right {
    float: right;
  }

  .woocommerce-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #777;
  }


  /* Pořád plná šířka galerie ve vaší .col-md-9: */
.col-md-9 .woocommerce-product-gallery {
    width: 100%;
    max-width: none; /* pokud by bylo nějak omezováno */
  }
  
  /* Obal obrázků v galerii uprostřed */
  .col-md-9 .woocommerce-product-gallery__wrapper {
    display: flex;
    justify-content: center;
  }
  
  /* Zamez, aby se do galerie promítala nějaká šířka z .container */
  .col-md-9 .woocommerce-product-gallery__image img {
    max-width: 100%;
    height: auto;
  }


  .products.columns-4 .product.type-product a[rel="tag"] {
    font-size: 12px !important;
  }

  @media (min-width: 1200px) {
    #tab-description .btn {
        margin-right:16.4em;
    }
  }

  @media (min-width: 991px) and (max-width: 1199px) {
    #tab-description .btn {
        margin-right:21.3em;
    }
  }

  @media (max-width: 991px) {
    /* gallery i summary ve 100% šířce a žádné floaty */
    #primary .woocommerce-product-gallery,
    #primary .summary.entry-summary {
      float: none !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    /* přidáme trochu prostoru pod galerií */
    #primary .woocommerce-product-gallery {
      margin-bottom: 1.5rem;
    }
  }

  
  @media (min-width: 768px) and (max-width: 991px) {
    /* vezmeme oba sloupce a dáme jim 50% šířku napříč tímto breakpointem */
    .product.type-product 
      .row > .woocommerce-product-gallery,
    .product.type-product 
      .row > .summary.entry-summary
    {
      flex: 0 0 50% !important;
      max-width: 50% !important;
    }

    #tab-description .btn {
        margin-right:9.8em;
    }
  }

  @media (min-width: 768px) {
    .summary.entry-summary {
        padding-left: 2em;
    }
  }


/* mobil: obrázek zabere 100% a float vypneme */
@media (max-width: 767px) {
    .herb-page .herb-image {
        float: none;
        width: 100%;
        margin: 0 0 1em 0;
    }
}
  

@media only screen and (max-width: 991px){
	.archive li.product{
		width: 100%!important;
	}
	.archive .mj_right_content {
		width: 100%;
	}
	.mj_logo a:nth-of-type(1) img{
		width: 100px;
    	max-width: 100px;
		height: auto;
	}
	.mj_logo a:nth-of-type(2) img{
		max-width: 256px;
    	height: 46px;
		width: 256px;
	}
}

@media only screen and (max-width: 767px){
	ul.menu{
		margin-top: 1rem;
	}
	.single .mj_right_content{
		width: 100%;
	}
	.mj_right_content .image_container img{
		width: 100%;
	}
	.mj_search_opener{
		display: block;
		transform: translate(-10px, 0px);
	}
	.mj_search_opener svg{
		width: 24px;
		height: 24px;
	}
	.mj_search {
		position: absolute;
		width: 100%;
		transform: translateY(-100%);
		background-color: white;
		transition: 0.5s ease-out;
		opacity: 0;
		padding: 10px 0;
		left: 0;
		top: 0;
	}
	.mj_search.opened{
		opacity: 1;
		transform: translatey(120%);
	}
	.mj_logo a:nth-of-type(2) img{
		max-width: 226px;
    	height: 40px;
		width: 200px;
	}
	.ds_modal{
		width: 100%;
	}

}
@media only screen and (max-width: 575px){
	.archive li.product{
		flex-wrap: wrap;
	}
	.archive li.product > a{
		max-width: 100%!important;
	}
	.archive li.product > a img{
		margin-left: auto!important;
		margin-right: auto!important;
		object-fit: contain;
	}
	.mj_title_button{
		margin-left: 0;
		width: 100%;
	}
	ul.menu li a{
		font-size: 12px;
	}
}

/* Order Dialog Popup */
.order-dialog-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	display: none;
}

.order-dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	border: 2px solid #83b735;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	z-index: 1001;
	display: none;
}

.order-dialog-header {
	background: #83b735;
	color: white;
	padding: 15px 20px;
	border-radius: 6px 6px 0 0;
	position: relative;
}

.order-dialog-header h2 {
	margin: 0;
	font-size: 18px;
}

.order-dialog-close {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
}

.order-dialog-close:hover {
	opacity: 0.7;
}

.order-dialog-content {
	padding: 20px;
}

.order-dialog-content p {
	margin-bottom: 15px;
	line-height: 1.6;
}

.order-dialog-content strong {
	color: #83b735;
}

.order-dialog-content a {
	color: #83b735;
}

.order-dialog-content a:hover {
	text-decoration: underline;
}