/*!
Theme Name: Sabrina
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.1
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: sabrina
*/

/* Theme customization starts here
-------------------------------------------------------------- */
/* === СТИЛИ ДЛЯ РАДИОКНОПОК === */
.woocommerce-shipping-methods input[type="radio"],
.woocommerce-checkout-payment input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
  border: 2px solid #F7DEDE; /* ЧЕРНЫЙ — НЕАКТИВНАЯ */
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.woocommerce-shipping-methods input[type="radio"]::before,
.woocommerce-checkout-payment input[type="radio"]::before {
  content: '';
  width: 12px;
  height: 12px;
  background: transparent;
  border-radius: 50%;
  display: block;
  transition: background 0.3s ease;
}

.woocommerce-shipping-methods input[type="radio"]:checked,
.woocommerce-checkout-payment input[type="radio"]:checked {
  border-color: #D86C97; /* ЗЕЛЁНАЯ ОБВОДКА — АКТИВНАЯ */
}

.woocommerce-shipping-methods input[type="radio"]:checked::before,
.woocommerce-checkout-payment input[type="radio"]:checked::before {
  background-color: #D86C97; /* ЗЕЛЁНАЯ ТОЧКА ВНУТРИ */
}

.woocommerce ul#shipping_method li label {
  display: flex;
  align-items: center;
 gap: 5px;
	margin-right: 10px;
	padding-left: 5px
}


/*----Cart ------*/

.woocommerce-cart table.cart img {
	width: 100px
}

@media screen and (max-width: 719px) {
tbody > tr.woocommerce-shipping-totals.shipping td {
		display: flex;
	flex-direction: column;
	align-items: flex-start;
	}
}
@media screen and (max-width: 719px) {
	.woocommerce table.shop_table_responsive ul#shipping_method li, .woocommerce-page table.shop_table_responsive ul#shipping_method li {
		justify-content: flex-start!important;
		text-align: right;
	}
}

@media screen and (max-width: 719px) {
.woocommerce ul#shipping_method {
		margin-top: 15px;
	
	}
}
@media screen and (max-width: 719px) {
	.cart_totals h2 {
	text-align: right;
	
}
	
}

.woocommerce-cart .cart-collaterals .cart_totals  tbody{
	display: flex;
	flex-direction: column;
}

tr.cart-subtotal  {
	display: flex;
	justify-content: space-between;
}
.woocommerce-shipping-totals {
	display: flex;
	flex-direction: column;
	
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
	width: 100%;
}
tr.woocommerce-shipping-totals.shipping > td {
	border-top: none!important;
}

.woocommerce-shipping-methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 10px!important
	
}
.woocommerce ul#shipping_method li {
	flex-wrap: nowrap;
}

/*.woocommerce ul#shipping_method li label {
	margin-right: 2.7em;
}*/

/*-----END-------*/

/*------Checkout------*/
@media only screen and (max-width: 767px) {
    #order_review .shipping td:nth-child(2)
 {
        min-width: 0;
        width: 100%!important;
    }
}

 #terms {
	 width: 20px;
    height: 20px;
	 margin-left: 5px
}

tr.pickups_location{
	  display: flex;
    justify-content: space-between;
	border-top: 1px solid #015D6C;
}

tr.order-total{
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #015D6C;
}
.woocommerce-checkout-review-order-table thead{
	display: flex;

}

.woocommerce-checkout-review-order-table thead tr{
	  display: flex;
	  width: 100%;
    display: flex;
    justify-content: space-between;
	border-top: 1px solid #015D6C;
}
.woocommerce-checkout-review-order-table {
	display: flex;
    flex-direction: column;
	  margin-top: 20px!important;
}
.woocommerce-checkout-review-order-table tbody{
	display: flex;
	flex-direction: column;
}

.woocommerce-checkout-review-order-table tbody tr{
	display: flex;
    justify-content: space-between;
    width: 100%;
	border-top: 1px solid #015d6c63;

	
}
.woocommerce-checkout-review-order-table  td {
	border: none!important;
}
.woocommerce-checkout-review-order-table th {
	border: none!important;
}

.woocommerce-checkout-review-order-table .cart-subtotal {
	border-top: 1px solid #015d6c63;
}
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals {
	border-top: 1px solid #015D6C;
}
.woocommerce-checkout-review-order-table .product-name {
	display: flex;
}
/*------Checkout END------*/

/* ===========================
   MiniCart (Kadence drawer)
   Optimized — minimal selectors
   =========================== */

/* Remove button (X) — centered */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .cart_list li a.remove{
  display:flex; align-items:center; justify-content:center;
  right:0; width:22px; height:22px; line-height:1;
  font-size:22px; font-weight:400; text-decoration:none;
}

/* Total price section */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .total{ padding-top:30px; }

/* Buttons container */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons{
  display:flex; flex-direction:row; gap:10px; margin-top:32px;
}

/* General button styles */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons a{
  display:inline-flex; align-items:center; justify-content:center;
  width:50%; height:48px; border-radius:8px;
  font:600 18px/1 inherit; padding:0 10px; border:0; margin-bottom:5px;
}

/* "Continue Shopping" button */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons a:not(.checkout){
  background:#603913; color:#fff;
}
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons a:not(.checkout):hover{
  background:#00aa4a; color:#fff;
}

/* "Checkout" button */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .button.checkout.wc-forward.wp-element-button{
  background:#603913; color:#fff; border:0;
}
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .button.checkout.wc-forward.wp-element-button:hover{
  background:#F7DEDE;
}

/* RTL layout — keep "Checkout" on the left */
html[dir="rtl"] :is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons{
  flex-direction:row-reverse;
}

/* Free-shipping progress bar */
/*.kadence-mini-cart-shipping-progress-wrap .kadence-mini-cart-shipping-progress{ background:#34E0A1; }*/
.kadence-mini-cart-shipping {
padding-top: 1.5em;
margin-bottom: 1.5em;
}

/* Quantity text size */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart :is(ul.cart_list li .quantity, ul.product_list_widget li .quantity){
  font-size:1em;
}

/* Product thumbnails */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart :is(ul.cart_list li img, ul.product_list_widget li img){
  float:left; margin-right:8px; width:80px; height:auto; box-shadow:none;
}

/* Drawer headers */
#cart-drawer .drawer-inner .drawer-header{
  background:#D86C97; color:#fff; margin-bottom:5px; padding-bottom:3px !important;
}
#mobile-drawer .drawer-inner .drawer-header{
  margin-bottom:24px !important; padding-bottom:20px !important; min-height:calc(1.2em + 36px);
}
h2.side-cart-header{ color:#fff; }

/* Shipping helper text */
.kadence-mini-cart-shipping-message{ font-size:100% !important; }

