/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/
#supportBox-iframe {
    z-index: 101 !important;
}

.single-product div.product form.cart .button.added::before, #payment .place-order .button:before, .cart-collaterals .checkout-button:before, .widget_shopping_cart .buttons .checkout:before {
    display: none !important;
}
/*pokladna - pozadí timeru odpočet*/
#commercekit-timer.non-product, #commercekit-timer-message.non-product {
    background: #fef1fb;
    border: 1px solid #f488bd;
}

/*skryje defaultní header na stránce pokladny*/
body.woocommerce-checkout:not(.mobile-toggled).sticky-m .site-header {
    display: none !important;
  }

body.woocommerce-checkout .site-header {
  display: none !important;
}


@media (min-width: 993px) {
  .menu-primary-menu-container > ul > li.menu-button > a:hover span {
    background: #fea416;
  }
}

@media (min-width: 993px) {
  .menu-primary-menu-container > ul > li.menu-button > a span {
    border-radius: 8px;
    color: #000;
    background: #fec76f;
    font-size: 12px;
	font-weight: 600;
  }
}

#commercekit-timer.product .commercekit-timer-title {
    width: 100%;
    font-size: 17px;
    margin-bottom: 2px;
    font-weight: 500;
    color: #dc2f23;
}

#commercekit-timer.product .commercekit-timer-digit, #commercekit-timer.product .commercekit-timer-sep {
    font-size: 17px;
    line-height: 26px;
    margin: 0px 2px;
}

#commercekit-timer.product {
    width: 50%;
    float: left;
    margin-right: 3%;
    margin-bottom: 10px;
    padding: 13px;
    border-radius: 12px;
    background-color: #fef1fb;
	border: 0.5px solid #f6d8ef;                 /* jemnější než červená */
  box-shadow:
    0 4px 10px rgba(0,0,0,.09),              /* lehký vnější stín */
    0 0 0 2px rgba(246,216,239,.7) inset;    /* jemný vnitřní obrys */
}

@media (max-width: 768px){
  #commercekit-timer.product{
    width: 100%;
    float: none;
    margin-right: 0;
  }
}

@media (max-width: 768px){
  #commercekit-timer.product .commercekit-timer-blocks{
    justify-content: center;
  }
}

/*.ckit-badge {
    opacity: 0.9 !important;
}*/

/*product badges*/
div.product .ckit-badge_wrapper {
    font-size: 13px !important;
	opacity: 0.9 !important;
}

.ckit-badge_wrapper {
  font-size: 12px;
}

/*==================== checkout doprava =====================*/

/* podle ID inputu, ale přes label[for="..."] */
.woocommerce-checkout ul#shipping_method li label[for="shipping_method_0_zasilkovnaz-points"],
.woocommerce-checkout ul#shipping_method li label[for="shipping_method_0_toret_tcp_doruky"]{
  display: block;
  border-bottom: 1px solid #ebe8e8;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* Nadpis nad dopravou */
.woocommerce-checkout-review-order-table .shipping-heading .shipping-title{
  margin: 8px 0 4px;
  font-size: 18px;
  font-weight: 600;
}

/* Label "– Doručení …" */
.woocommerce-checkout-review-order-table tr.shipping th{
  font-weight: 600;
}

@media (max-width: 992px) {
    .col-full-nav {
        width: 330px !important;
		left: -330px;
  }
}

@media (max-width: 992px) {
    .mobile-menu.close-drawer {
        left: 330px;
}			
}

@media (max-width: 768px) {
  .woocommerce-products-header__title.page-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

header.woocommerce-products-header, .shoptimizer-category-banner {
    border-radius: 15px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/*zobrazení jen na mobilu*/
.only-mobile { display: none; }
@media (max-width: 768px) {
  .only-mobile { display: block; }
}

summary {
    color: #c2228b !important;
    padding: 2px !important;
    font-size: 17px !important;
	cursor: pointer !important;
	transition: color 0.2s ease !important;
}

/*==== POKLADNA – informacni letaky (field #1) + darek (field #2) =====*/

/* box */
#order_wcj_checkout_field_1_field,
#order_wcj_checkout_field_2_field{
  border: 1px solid #e9e9e9;
  background: #fafafa;
  padding: 18px;
  border-radius: 10px;
}

/* schovej "(volitelný)" jen u těchto polí */
#order_wcj_checkout_field_1_field .optional,
#order_wcj_checkout_field_2_field .optional{
  display: none !important;
}

/* Nadpis pole */
#order_wcj_checkout_field_1_field > label,
#order_wcj_checkout_field_2_field > label{
  display: block;
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

/* speciální span v nadpisu */
#order_wcj_checkout_field_1_field span.letak,
#order_wcj_checkout_field_2_field span.darecek{
  display: block;
  font-weight: 700;
  text-transform: none;
  background-repeat: no-repeat;
  background-size: 28px 28px;
  background-position: 10px 50%;
  padding: 6px 0 6px 48px;
  min-height: 28px;
}

/* ikona pro field 1 */
#order_wcj_checkout_field_1_field span.letak{
  background-image: url("https://gengigel.cz/wp-content/uploads/2025/10/ikona-pouziti-navod.webp");
}

/* ikona pro field 2 */
#order_wcj_checkout_field_2_field span.darecek{
  background-image: url("https://oroxid.cz/wp-content/uploads/2024/03/DAREK-k-nakupu.png");
}

/* wrapper voleb */
#order_wcj_checkout_field_1_field .woocommerce-input-wrapper,
#order_wcj_checkout_field_2_field .woocommerce-input-wrapper{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* schovej default radio */
#order_wcj_checkout_field_1_field input[type="radio"],
#order_wcj_checkout_field_2_field input[type="radio"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* karta volby */
#order_wcj_checkout_field_1_field label.radio,
#order_wcj_checkout_field_2_field label.radio{
  position: relative;
  display: block;
  padding: 10px 12px 10px 42px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  line-height: 1.25;
  font-weight: 500;
  margin: 0;
}

/* kolečko */
#order_wcj_checkout_field_1_field label.radio::before,
#order_wcj_checkout_field_2_field label.radio::before{
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #bdbdbd;
  background: #fff;
}

/* hover */
#order_wcj_checkout_field_1_field label.radio:hover,
#order_wcj_checkout_field_2_field label.radio:hover{
  border-color: #cfcfcf;
}

/* checked */
#order_wcj_checkout_field_1_field input[type="radio"]:checked + label.radio,
#order_wcj_checkout_field_2_field input[type="radio"]:checked + label.radio{
  border-color: #2d7d46;
  background: #f3fbf6;
}

#order_wcj_checkout_field_1_field input[type="radio"]:checked + label.radio::before,
#order_wcj_checkout_field_2_field input[type="radio"]:checked + label.radio::before{
  border-color: #2d7d46;
  box-shadow: inset 0 0 0 4px #2d7d46;
}

/*========= POKLADNA CUSTOM FIELD 1 + 2 KONEC ========*/

/* Single product – widget pozadí bílé */
body.single-product .product-widget .textwidget{
  background: #fff !important;
  border-radius: 12px !important;
}

/* Complementary item – zaoblení jen thumbnailu */
.pdp-complementary-item img.attachment-woocommerce_thumbnail{
  border-radius: 10px !important;
}

#empolas_dotaznik_wrap{
  margin-top: 18px !important;
  padding: 25px !important;
  border: 2px solid #f1f1f1 !important;
}

.tgls-block-parcelshops input[type="text"], #tgls-open-popup-widget,
.tpppl-block-parcelshops input[type="text"], #tppl-open-popup-widget {
    line-height: 1.2em !important;
}

/*skryje custom lištu empolas na strance košíku a pokladny*/
.woocommerce-checkout .empolas-notice-bar,
.woocommerce-cart .empolas-notice-bar {
	display:none !important;
}

body.woocommerce-checkout .header-widget-region,
body.woocommerce-cart .header-widget-region {
    display: none !important;
}