/*
 Theme Name: Kanonkop Wine Estate
 Theme URI: http://www.aquaconsulting.co.za/
 Description: Kanonkop Wine Estate Child Theme built for Divi
 Author: Aqua IT Consulting
 Author URI: https://www.aquadzign.com/
 Template: Divi
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Add your custom styles below */

/* START C7 STYLES */
:root {
    /* --c7-page-width: ; */
    /* --c7-page-width-checkout: ; */
    /* --c7-font-family: ; */
    /* --c7-body-text-color: ; */
    /* --c7-alt-text-color: ; */
    /* --c7-font-size: ; */
    /* --c7-font-size-sub: ; */
    /* --c7-heading-font-family: ; */
    /* --c7-heading-text-color: ; */
    /* --c7-heading-font-weight: ; */

    /* --c7-primary-color: ; */
    /* --c7-primary-color-text: ; */
    /* --c7-primary-color-dark: ; */
    /* --c7-primary-color-focus: ; */
    
    --c7-link-color: #862633;
    --c7-bg: #fffded;
    --c7-bg-alt: transparent;
    /* --c7-border-color: ; */
    /* --c7-border-radius: ; */
    
    /* --c7-loading-bg: ; */
    /* --c7-modal-border-radius: ; */
    /* --c7-modal-shadow: ; */
    /* --c7-overlay-bg: ; */
    /* --c7-progress-bar: ; */
    /* --c7-pill-bg: ; */
    /* --c7-pill-text-color: ; */

    /* --c7-field-bg: ; */
    /* --c7-field-border-radius: ; */
    /* --c7-field-border-color: ; */
    /* --c7-field-focus-color: ; */
    --c7-field-option-selected-color: #862633fc;
    --c7-field-option-focus-color: #862633fc;
    /* --c7-field-placeholder: ; */

    --c7-primary-button-bg: #862633fc;
    --c7-primary-button-bg-hover: #776f65fc;
    --c7-primary-button-text-color: #fffad1fc;
    --c7-alt-button-bg: #776f65fc;
    --c7-alt-button-bg-hover: #862633fc;
    --c7-alt-button-text-color: #fffad1fc;
    --c7-button-border-radius: 0;
    
    /* --c7-info-bg: ; */
    /* --c7-error: ; */
    /* --c7-error-bg: ; */
    /* --c7-warning: ; */
    /* --c7-warning-bg: ; */
    /* --c7-success: ; */
    /* --c7-success-bg: ; */

    /* --c7-header-text-color: ; */
    /* --c7-notification: ; */
    --c7-cart-count-bg: #862633;
    --c7-cart-count-bg-focus: #812531;
    /* --c7-cart-count-text-color: ; */
    /* --c7-side-cart-shadow: ; */
    /* --c7-dropdown-border-radius: ; */
    /* --c7-dropdown-shadow: ; */
    /* --c7-dropdown-hover: ; */

    --c7-block-bg: transparent;
    /* --c7-block-border-color: ; */
    /* --c7-block-border-radius: ; */
    /* --c7-block-shadow: ; */
}

#sold-out-btn{
    margin-top: 57px;
}

#sold-out-btn a{
    background-color: #862633;
    color: #fffad1fc;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 17px;
    padding-right: 17px;
}

.c7-product-detail__photo__thumbs{
    display: flex;
    gap: 10px;
}

/* .et_pb_text_0{
    background-color: transparent !important;
} */

#c7wp-cart-box{
    position: fixed;
}

.menu-item-250229{
    opacity: 0;
    pointer-events: none;
}

.club-bundle-collection .c7-product-collection__products .c7-product-collection__product-list{
    justify-content: center;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, 1fr) !important;
}

@media screen and (max-width: 1024px) {
    .c7-product-collection .c7-product-collection__products .c7-product-collection__product-list{
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media screen and (max-width: 768px) {
    #c7-account{
        display: none;
    }
    .menu-item-250229{
        opacity: 1;
    pointer-events:all;
    }
    .c7-product-collection .c7-product-collection__products .c7-product-collection__product-list{
        grid-template-columns: repeat(2, 1fr) !important;
    }
  #c7wp-cart-box{
    position: absolute;
    top: 209px;
    left: calc(50% + 0px);
  }
  .et_pb_menu__wrap{
    transform: translateX(-10px);
  }

  .club-bundle-collection .c7-product-collection__products .c7-product-collection__product-list{
   gap: 20px;
}
}

@media screen and (max-width: 536px) {
    #sold-out-btn{
        display: flex;
        justify-content: center;        
    }
    .c7-product-collection .c7-product-collection__products .c7-product-collection__product-list{
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .c7-product-collection .c7-product-collection__products .c7-product-collection__product-list .c7-product .c7-product__title{
        text-align: center;
    }
    .c7-product-collection .c7-product-collection__products .c7-product-collection__product-list .c7-product .c7-product__add-to-cart__price{
        text-align: center;
    }
    .c7-product-collection .c7-product-collection__products .c7-product-collection__product-list .c7-product .c7-product__add-to-cart__form{
        justify-content: center;
    }
}

#mobile_menu2 a{
    color: #00000099;
}

.page-id-80 footer{
    display: none !important;
}

.page-id-80 .et-l--header{
    position: relative;
    z-index: 0;
}

.c7-product-collection .c7-product-collection__products .c7-product-collection__product-list{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.c7-product-collection .c7-product-collection__products .c7-product-collection__product-list .c7-product{
	flex-direction: column;
}

.c7-product-collection .c7-product-collection__products .c7-product-collection__product-list .c7-product .c7-product__image{
    background-color: white;
    padding: 10px;
    box-shadow: 6px 6px 18px 0px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.c7-product-collection .c7-product-collection__products .c7-product-collection__product-list .c7-product .c7-product__title{
	font-size: 16px;
    padding-top: 20px;
}

.c7-product-collection .c7-product-collection__products .c7-product-collection__product-list .c7-product .c7-product__add-to-cart__price{
	font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.c7-product-collection .c7-product-collection__products .c7-product-collection__product-list .c7-product .c7-product__add-to-cart__price__variant{
	display: none;
}

.c7-product-template{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.c7-product-template .c7-product__title{
    text-align: center;
}

.c7-product-template .product-title::after{
    content: "";
    background: #666;
    position: absolute;
    left: 42%;
    height: 2px;
    width: 16%;
}

.c7-product-template .c7-product{
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.c7-product-template .c7-product .c7-product__details .c7-product__info .c7-product__content{
    margin-top: 30px;
    margin-bottom: 20px;
}

.c7-product-template .c7-product .c7-product__add-to-cart__price__variant{
    display: none;
}

.c7-product-template .c7-product .c7-product__add-to-cart__price{
    color: #862633;
    font-size: 30px;
    font-weight: 700;
}

/* .c7-btn--primary:hover{
    color: #fffad1fc;
} */

.c7-pagination{
	display: none;
}

/* END C7 STYLES */

/* Quantity Arrow Chrome Fix */
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    opacity: 1 !important;
}

/* Shop Css */
.shop_cat_menu li.current-menu-item a {
	border-bottom: 2px solid #776f65 !important;
}

.shop_cat_menu #menu-shop-categories li a {
	padding-bottom: 25px !important;
}

.shop_pageination_kan .woocommerce nav.woocommerce-pagination ul li span.current {
	background: #862633;
	color: #ffffff !important;
	padding: 10px 15px;
}

.shop_pageination_kan .woocommerce nav.woocommerce-pagination ul li {
    border-right: 1px solid #862633 !important;
}

.woocommerce nav.woocommerce-pagination ul {
    border: 1px solid #862633 !important;
}

.shop_pageination_kan .woocommerce nav.woocommerce-pagination ul li:last-child {
    border-right: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: #776f65 !important;
    color: #fff !important;
}

.shop_pageination_kan .woocommerce nav.woocommerce-pagination ul li a {
	padding: 10px 15px;
}

@media only screen and (max-width: 980px) {
	.kan_shop_cat .et_pb_menu--style-centered .et_pb_menu__wrap {
		justify-content: flex-end !important;
	}

	.kan_shop_cat .mobile_menu_bar::after {
		content: "SHOP CATEGORIES";
		position: absolute !important;
		bottom: 53.5%;
		right: 53px;
		color: #812531;
		width: 146px;
		font-weight: bold;
	}
}

/* Widget Kit Links */

.uk-scope .uk-link, .uk-scope a {
    color: #862633 !important;
}

/* CHECKOUT PAGE */
.woocommerce-page .checkout.woocommerce-checkout .col2-set,
.woocommerce .checkout.woocommerce-checkout .col2-set {
    width: 50%;
    float: left;
    margin-right: 2%;
}

.woocommerce-page .checkout.woocommerce-checkout .col2-set .col-1,
.woocommerce .checkout.woocommerce-checkout .col2-set .col-1,
.woocommerce-page .checkout.woocommerce-checkout .col2-set .col-2,
.woocommerce .checkout.woocommerce-checkout .col2-set .col-2 {
	float: left;
    width: 100%;
}

.woocommerce-page .checkout.woocommerce-checkout .col2-set .col-2,
.woocommerce .checkout.woocommerce-checkout .col2-set .col-2 {
	margin-top: 15px;
}

.woocommerce-page .checkout.woocommerce-checkout #order_review_heading,
.woocommerce .checkout.woocommerce-checkout #order_review_heading,
.woocommerce-page .checkout.woocommerce-checkout #order_review,
.woocommerce .checkout.woocommerce-checkout #order_review {
	width: 48%;
    float: left;
}

@media only screen and (max-width: 980px) { 
	.woocommerce-page .checkout.woocommerce-checkout .col2-set,
	.woocommerce .checkout.woocommerce-checkout .col2-set {
		width: 100%;
		float: left;
		margin-right: 0;
	}
	
	.woocommerce-page .checkout.woocommerce-checkout #order_review_heading,
	.woocommerce .checkout.woocommerce-checkout #order_review_heading,
	.woocommerce-page .checkout.woocommerce-checkout #order_review,
	.woocommerce .checkout.woocommerce-checkout #order_review {
		width: 100%;
		float: left;
	}
}

.woocommerce-checkout #order_review #payment {
	background: transparent;
}

.woocommerce-info, .woocommerce-message {
	color: #333 !important;
}
.woocommerce-info a {
	color: #666 !important;
}

.woocommerce-checkout #main-content .cart-subtotal td,
.woocommerce table.shop_table tbody th, 
.woocommerce table.shop_table tfoot td, 
.woocommerce table.shop_table tfoot th {
    font-weight: 700;
    border-top: 1px dashed #dadada;
}

.woocommerce table.shop_table {
	border: none !important;
}

#add_payment_method #payment ul.payment_methods, 
.woocommerce-cart #payment ul.payment_methods, 
.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px dashed #dadada;
}

.woocommerce-shipping-fields input[type=tel],
.woocommerce-shipping-fields input[type=email],
.woocommerce-shipping-fields input[type=text],
.woocommerce-shipping-fields .select2-container--default .select2-selection--single,
.woocommerce-additional-fields textarea,
.woocommerce-account-fields input[type=password],
.woocommerce-account-fields input[type=text],
.woocommerce-billing-fields input[type=tel],
.woocommerce-billing-fields input[type=email],
.woocommerce-billing-fields input[type=text],
.woocommerce-billing-fields .select2-container--default .select2-selection--single{
	border: 1px solid #dadada !important;
}

/* checkout form radio buttons and check boxes */
/* payment type */
.woocommerce-checkout-payment input[type="radio"] {
  display: none;
}

.woocommerce-checkout-payment label {
  cursor: pointer;
}

.woocommerce-checkout-payment input[type="radio"] + label:before {
	font-family: ETmodules!important;
	content: "\5b";
	display: inline-block;
	font-size: 18px;
	vertical-align: middle;
}

.woocommerce-checkout-payment input[type="radio"]:checked + label:before {
  color: #333;
  content: "\5c";
  text-align: center;
}

/* billing & shipping form */
.woocommerce-shipping-fields label,
.woocommerce-account-fields label {
  cursor: pointer;
}

.woocommerce-shipping-fields label.checkbox input[type="checkbox"]:before,
.woocommerce-account-fields label.checkbox input[type="checkbox"]:before {
  font-family: ETmodules!important;
  content: "";
  display: block;
  font-size: 100%;
  height: 100%;
  width: 100%;
  border: 1px solid #333;
  background: #fff;
  cursor: pointer;
}

.woocommerce-shipping-fields label.checkbox input[type="checkbox"]:checked:before,
.woocommerce-account-fields label.checkbox input[type="checkbox"]:checked:before {
  background: #333 !important;
  color: #fff;
  content: "\4e";
  text-align: center;
}

/* payment privacy policy text margin */
.woocommerce-privacy-policy-text {
		margin-bottom: 15px;
}

/* State Dropdown */
.woocommerce-checkout .select2-container .select2-selection--single {
	height: 48px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px
}

/* MEMBERSHIP MESSAGES */
.woocommerce .wc-memberships-restriction-message {
    margin: 0!important;
}


/*POPUP FOR USA SHOPS*/
#shop-usa-wrapper .et_pb_button_module_wrapper{
    display: flex;
    align-items: center;
    gap: 5px;
}
#shop-usa-wrapper .et_pb_button_module_wrapper .shop-usa-option__buttons{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-20px);
    transition: all .3s ease-in-out;
}
#shop-usa-wrapper .et_pb_button_module_wrapper .shop-usa-option__buttons.active{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0px);
    transition: all .3s ease-in-out;
}
@media (max-width:980px) {
    #shop-usa-wrapper .et_pb_button_module_wrapper{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}