/*
Theme Name: Divi Child Theme
Theme URI: http://jenniferottconsulting.com/
Description: Child Theme For Divi
Author: Walker Media Agency
Author URI: http://jenniferottconsulting.com/
Version: 1.0.0
Template: Divi
*/


.inline-buttons .et_pb_button_module_wrapper {
   display: inline-block;
	align-content: center;
	margin-right: 10px;
}

.home-nl .gform_button {
	width: 100%;
	background: #776d8a;
	color: #fff;
	padding: 14px 0 !important;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
}
.home-nl .gform_button:hover {
	background: #b4acc4;
}
.home-nl .gfield_label {
	color: #000;
}
.home-nl .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=email] {
	padding: 10px; 
	background: rgba(255, 255, 255, 0.43);
	border: none;
	border-radius: 3px;
	color: #000 !important;
}
.home-nl .gform_wrapper.gravity-theme .ginput_complex label {
	padding: 0;
	font-size: 13px;
}

.gform_required_legend, .gform_wrapper.gravity-theme .gfield_requiredd {
	display: none !important;
}

#main-footer {
	display:none;
}
.menu_toggle {
    justify-content: center!important;
    display: flex;
}
.et_pb_equal_columns >.et_pb_column {
margin-top:auto;
margin-bottom:auto;
}
.slide-from-left .et_pb_slide_description {    
    animation-name: fadeInLeft;
}
.et_pb_section.menu_section .et_pb_menu {
    max-width: 600px;
    margin: 0 auto;
}
.et_pb_section.menu_section .et_pb_menu .et_pb_menu__menu>nav>ul {
    flex-direction: column;
}
.et_pb_section.menu_section  .et_pb_menu .et_pb_menu__wrap {
    width: 100%;
    display: block;
}
.et_pb_section.menu_section.open
{
	top:0px;
}
.et_pb_module.et_pb_icon.menu_toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
body.menu_open {
    overflow: hidden;
}
body.menu_open  ul.et_pb_side_nav.et-visible
{
	display:none;
}
.et_pb_section.menu_section {
    width: 100%;
    height: 100%;
    position: fixed;
    top: -100%;
    left: 0px;
    z-index: 222;
	transition:all 0.5s ease-in-out;
}
@media only screen and (max-width: 600px) {
 .et_pb_section.menu_section .et_pb_menu .et_pb_menu__menu {
    display: block;
}
	.et_pb_section.menu_section .et_pb_menu .et_mobile_nav_menu {
 display: none;
}
}




/* Custom product styles */
.custom-product-grid {
	gap: 0;
}

.custom-product-grid .product {
    display: flex;
    flex: 1 100%;
    gap: 2rem;
	padding-block: 2rem;
	border-bottom: 1px solid #b4acc4;
}

@media screen and (max-width: 580px) {
    .custom-product-grid .product {
        flex-direction: column;
    }
	
}

.custom-product-grid .product:first-child {
	padding-top: 0;
}

.custom-product-grid .product:last-child {
	border-bottom: none;
}

@media screen and (min-width: 580px) {
	.custom-product-grid .product-thumb-wrapper,
	.product-thumb-wrapper {
		flex: 1 0 35%;
	}
}

@media screen and (min-width: 767px) {
	.product-thumb-wrapper,
	.custom-product-grid .product-thumb-wrapper,
	.product-thumb-wrapper {
		flex: 1 0 250px;
	}
}

.product-thumb-wrapper,
.product-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-thumb-wrapper a {
	display: flex;
	width: 100%;
}

.product-thumb-wrapper img {
	object-fit: contain;
	flex: 1;
}

.product-title {
    font-size: clamp(20px, 5vw, 30px);
}

.woocommerce-info a, .woocommerce-message a {
	color: #776d8a !important;
	text-decoration: underline !important;
}
.woocommerce-product-gallery.images .woocommerce-product-gallery__image a,
#learning-packages-section .product-thumb-wrapper a {	
	aspect-ratio: 16/9;
	border: 1px solid #776d8a;
	overflow: hidden; 	
	border-radius: 1rem;
	display: flex;
}
.woocommerce-product-gallery.images .woocommerce-product-gallery__image a img,
#learning-packages-section .product-thumb-wrapper img {	
	object-fit: cover;
}

.woocommerce-product-gallery.images .woocommerce-product-gallery__image a img {	
	width: 100%!important;
	height: 100%!important;
}

/* Global WooCommerce button styling */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-MyAccount-downloads-file.button {
    background-color: #776d8a!important; /* Brand color */
    color: #fff!important;               /* White text */
    
}


.custom-product-grid .product .button {
    color: #776d8a;
    border-color: #776d8a;
}

.nav-cart-link {
	padding-left: 2rem;
	background-image: url(https://jenottcons1stg.wpenginepowered.com/wp-content/uploads/2025/05/noun-cart-4737663-776D8A.png);
	background-repeat: no-repeat;
	background-size: 27px auto;
}

form.cart .quantity {
	display: none!important;
}

/*---   Purchase Agreement Modal   ---*/
 .purchase-agreement-overlay {
	position: fixed;
	top: 0; left: 0; right:0; bottom:0;
	background: rgba(0,0,0,0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

 .purchase-agreement-overlay h2 {
	color: #776d8a !important;
}
.purchase-agreement-content {
	background: #fff;
	padding: 30px;
	max-width: 980px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	border-radius: 8px;
	box-shadow: 0 5px 25px rgba(0,0,0,0.3);
	text-align: center;

	/* Smooth scrolling feel */
	scroll-behavior: smooth;
}

/* Chrome, Edge, Safari */
.purchase-agreement-content::-webkit-scrollbar {
	width: 8px;
}

.purchase-agreement-content::-webkit-scrollbar-track {
	background: #f3f3f3;
	border-radius: 8px;
}

.purchase-agreement-content::-webkit-scrollbar-thumb {
	background-color: #776d8a;
	border-radius: 8px;
	border: 2px solid #f3f3f3; /* little inset look */
}

.purchase-agreement-content::-webkit-scrollbar-thumb:hover {
	background-color: #6b6280;
}

/* Firefox */
.purchase-agreement-content {
	scrollbar-width: thin;
	scrollbar-color: #776d8a #f3f3f3;
}
#agree-purchase-btn {
	cursor: pointer;
	margin-top: 2rem;
}
.woocommerce-message, .woocommerce-error, .woocommerce-info {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-size: 18px !important;
    color: #767676 !important;
    padding: 15px !important;
    border: none;
} 

.woocommerce-message .button, 
.woocommerce-error .button, 
.woocommerce-info .button {
	 color: #767676 !important;
}

 .woocommerce .woocommerce-error li {
	display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}

.woocommerce-page .product .et_pb_wc_description ul > li {
	text-wrap: pretty;
}

.woocommerce-page.woocommerce-checkout.et_right_sidebar #main-content .container:before   {
	display: none;
}

.woocommerce-page.woocommerce-checkout.et_right_sidebar #left-area {
	padding-right: 0;
	width: 100%;
}

.woocommerce-page.woocommerce-checkout.et_right_sidebar #sidebar {
	display: none;
}


