/* ==============================
   REG FORM
============================== */

.reg_form_new {
 background: linear-gradient(180deg, #2d332c 0%, #1d211c 100%);
	padding: 10px;
	border-radius: 10px;
	text-align: center;
    margin-bottom: 10px;
}
.reg_form_new h5 {
    font-weight: bold;
    color: #fff;
}
.reg_form_new_image {
    display: block;
    width: min(100%, 200px);
    height: auto;
    margin: 20px auto 10px;

}
.reg_form_new li {
	display: flex;
	align-items: flex-start;
	margin: 10px 0;
}

.ast-woo-account-form-link {
    font-weight: 700;
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 768px) {

	.woocommerce-checkout #customer_details,
	.woocommerce-checkout #order_review {
		padding: 16px;
	}

	.reg_form_new li {
		margin-left: 0 !important;
		white-space: normal;
	}

	.site-header .ast-inline-search.ast-search-menu-icon .search-field {
		width: 100%;
	}
}
/* ==============================
   LOGIN FORM
============================== */

.login_form_new {
    background: linear-gradient(180deg, #2d332c 0%, #1d211c 100%);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 10px;
}

.login_form_new h5 {
    font-weight: bold;
    color: #fff;
    line-height: 1.4;
    margin: 5px 0 15px;
}

.login_form_new_image {
    display: block;
    width: min(100%, 200px);
    height: auto;
   margin: 20px auto 10px;
}

/* ==============================
LOGIN / REGISTER INPUTS
============================== */

.woocommerce-form-login .form-row input.woocommerce-Input.input-text {
    height: 50px !important;
    border-radius: 10px !important;
    border: 1px solid #d5d5d5 !important;
    background: #fff !important;
    padding: 0 16px !important;
    font-size: 15px !important;
}

/*--- uprava fields --*/
.woocommerce-form-login .form-row input.woocommerce-Input.input-text:focus {
    border-color: #2d332c !important;
    box-shadow: 0 0 0 2px rgba(45,51,44,0.15) !important;
}

/* ==============================
Mobile - update - sirka
============================== */

@media (max-width: 768px) {

    .woocommerce-account .entry-content .woocommerce {
        max-width: none !important;
        width: 100% !important;
        margin: 1em 0 !important;
        padding: 10px !important;
        box-sizing: border-box;
    }

 .woocommerce-privacy-policy-text {
        text-align: center;
        font-size: 13px;
        line-height: 1.5;
        padding: 0 10px;
    }

}

/* ==============================
   HEADER / ACCOUNT ICONS
=============================== */

:not(.logged-in) .ast-header-account {
	position: relative;
}

:not(.logged-in) .ast-header-account::after {
	content: '+';
	position: absolute;
	top: -7px;
	right: 6px;
	font-weight: 600;
	font-size: 12px;
}

body.logged-in .ast-header-account {
	position: relative;
}

body.logged-in .ast-header-account::after {
	content: '';
	position: absolute;
	top: 3px;
	right: 6px;
	width: 7px;
	height: 7px;
	background: #2ecc71;
	border-radius: 50%;
	box-shadow: 0 0 4px rgba(46, 204, 113, 0.4);
}

/* cart icon highlight */
.ast-site-header-cart .ast-addon-cart-wrap i.astra-icon::after {
	background-color: #4ab866;
}
/*===============================
  DOPORUCENE PRODUKTY
=============================== */
.woocommerce .related.products h2 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}
@media (max-width: 544px) {

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    .wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {
        font-size: 17px !important;
    }

}

/* ===============================
   WOOCOMMERCE - PRODUCT CARD 
=============================== */

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	background: #ffffff;

	border-radius: 18px;
	overflow: hidden;

	border: 1px solid #e0e0e0;

	transition: transform 0.3s, box-shadow 0.3s;
	margin: 0 0 24px 0 !important;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
}

/* ===========================
   IMAGE (CLEAN PROPORTION)
=============================== */

.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap,
.woocommerce-page ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ast-loop-product__link {
	flex-grow: 1;
}
/* ===========================
   RAMECEK OKOLO FOTKY
=============================== */
.single-product .woocommerce-product-gallery {
    border: 1px solid #d6d6d6;
    padding: 12px;
    background: #fff;
}

/* ============================
   BUTTONS  MINI CART
============================== */

.ast-site-header-cart .widget_shopping_cart {
    padding: 22px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,.12);
    background: #fff;
}


.ast-site-header-cart .woocommerce-mini-cart__empty-message {
    text-align: center;
    font-size: 15px;
    color: #333;
    margin: 8px 0 20px;
}


/* tlačítko pokračovat */
.ast-site-header-cart .woocommerce-mini-cart__buttons a {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .25s ease;
}


/* odstranění starého rámečku */
.ast-site-header-cart .woocommerce-mini-cart__buttons a.button {
    border: 1px solid #111;
    background: #3a3a3a;
    color: #fff;
}


.ast-site-header-cart .woocommerce-mini-cart__buttons a.button:hover {
border: 1px solid #111;
    background:#111;
    color:#fff;
}

/* ==========================================
   MOBIL – Variabilní produkty Astra
========================================== */
@media (max-width:768px){

    .single-product .woocommerce-variation-add-to-cart{
        display:flex;
        align-items:center;
        flex-wrap:nowrap;
        gap:8px;
        width:100%;
    }

    .single-product .woocommerce-variation-add-to-cart .quantity{
        flex:0 0 auto;
        margin:0 !important;
    }

    .single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button{
        flex:1 1 0;
        width:auto !important;
        min-width:0 !important;
        max-width:100%;
        margin:0 !important;
        white-space:nowrap;
    }

}

/* ==========================================
   MOBIL – SIMPLE PRODUCT QUANTITY + BUTTON
========================================== */

@media (max-width:768px){

    .single-product form.cart:not(.variations_form){

        display:flex;
        align-items:center;
        flex-wrap:nowrap;
        gap:8px;
        width:100%;
    }


    .single-product form.cart:not(.variations_form) .quantity{

        flex:0 0 auto;
        margin:0 !important;
    }


    .single-product form.cart:not(.variations_form) .single_add_to_cart_button{

        flex:1 1 0;
        width:auto !important;
        min-width:0 !important;
        max-width:100%;
        margin:0 !important;
        white-space:nowrap;

    }

}


/*===============================
PRICE CURRENCY - MEZERA
===============================*/
.woocommerce-Price-currencySymbol {
	margin-left: 0.3125rem;
}


/*===============================
NENÍ SKLADEM - PRODUCT CARD
===============================*/
.ast-shop-product-out-of-stock {
	left: 0 !important;
	top: 251px;
	width: 100%;
	background: #fff;
	color: red;
	padding-bottom: 39px !important;
}

/*===============================
SKLADEM - PRODUKT CARD
===============================*/

#inside-stock {
	color: green;
margin-top: 10px;
}

/*=============================== 
SKLADEM - DETAIL PRODUKTU
===============================*/
.stock {
    font-size: 20px;
    font-weight: 700;
}
#inside-stock {
    margin-top: 0px;
}

/* ================================
   PRODUCT ATTRIB
================================ */

/* Desktop */
@media screen and (min-width:45em){

.product-attrib{
    width:65%;
    padding:0;
    margin:0;
    background:#F8FAFB;
    border-collapse:collapse;
    border:none !important;
}

.product-attrib td,
.product-attrib th{
    border:none;
    border-bottom:1px solid #dae1e6;
    padding:6px 10px;
    vertical-align:middle;
}

.product-attrib tr:last-child td{
    border-bottom:none !important;
}

}



/* ==============================
 MEGA MENU 3. ÚROVEŇ - MENU 
============================== */

.ast-desktop
.ast-mega-menu-enabled
:not(.menu-container-width-mega).astra-megamenu-li:hover
.astra-megamenu.sub-menu
.menu-item
.sub-menu {
	padding: 0 0 0 30px;
}

.ast-desktop
.ast-mega-menu-enabled
:not(.menu-container-width-mega).astra-megamenu-li:hover
.astra-megamenu.sub-menu
.menu-item
.sub-menu
.menu-text {
	font-weight: 400;
	font-size: 16px;
	display: flex;
	align-items: center;
}

/* ===================================
   KAJMAN CUSTOM TABS - ONLY TABS
=================================== */


/* záložky */

.custom-tabs ul.tabs,
.woocommerce-tabs ul.tabs {

    display:flex;
    align-items:center;

    gap:10px;

    border-bottom:1px solid #d6d6d6;

    padding:0;

    margin:0 0 35px;

}


/* jednotlivé záložky */

.custom-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li {

    background:none !important;

    border:none !important;

    margin:0;

    padding:0;

}


/* tlačítko záložky */

.custom-tabs ul.tabs li a,
.woocommerce-tabs ul.tabs li a {

    display:flex;

    align-items:center;

    padding:14px 26px;

    color:#666;

    font-size:14px;

    font-weight:600;

    letter-spacing:.4px;

    text-transform:uppercase;

    text-decoration:none;

    border-radius:2px;

    transition:.25s ease;

}


/* hover */

.custom-tabs ul.tabs li a:hover {

    color:#111;

    background:#f5f5f5;

}


/* aktivní */

.custom-tabs ul.tabs li.active a {

    background:#3a3a3a;

    color:#fff;

}



/* ===================================
   MOBIL
=================================== */

@media(max-width:768px){

.woocommerce-tabs ul.tabs,
.custom-tabs ul.tabs {

    display:flex;
    flex-direction:column;

    gap:0;

    border-bottom:none;

    margin:0 0 25px;
    padding:0;

}


/* jednotlivé položky */

.woocommerce-tabs ul.tabs li,
.custom-tabs ul.tabs li {

    width:100%;

    border-bottom:1px solid #ddd !important;

}


/* tlačítko */

.woocommerce-tabs ul.tabs li a,
.custom-tabs ul.tabs li a {

    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px 15px;
text-indent:15px;
    font-size:14px;

    background:#fff;

    color:#222;

}


/* aktivní */

.woocommerce-tabs ul.tabs li.active a {

    background:#3a3a3a;

    color:#fff !important;

}


/* obsah */

.woocommerce-tabs .panel {

    margin-top:0;

    padding:20px 15px;

    border-bottom:1px solid #ddd;

}


/* odstranění zbytečných mezer Astra/Woo */

.woocommerce div.product .woocommerce-tabs {

    margin-top:25px;

}

}