@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//savvykidsbooks.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.3") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//savvykidsbooks.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//savvykidsbooks.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//savvykidsbooks.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//savvykidsbooks.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//savvykidsbooks.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//savvykidsbooks.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//savvykidsbooks.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//savvykidsbooks.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-header-banner-h: 40px;
	--wd-text-font: "Nunito", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(74,74,74);
	--wd-text-font-size: 16px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-transform: none;
	--wd-title-color: rgb(31,41,55);
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: rgb(31,41,55);
	--wd-entities-title-color-hover: rgb(51, 51, 51);
	--wd-alternative-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(243,107,107);
	--wd-alternative-color: rgb(253,203,110);
	--btn-default-font-family: "Nunito", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 400;
	--btn-default-transform: uppercase;
	--btn-default-bgcolor: rgb(243,107,107);
	--btn-default-bgcolor-hover: rgb(49,60,114);
	--btn-accented-font-family: "Nunito", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 400;
	--btn-accented-transform: uppercase;
	--btn-accented-bgcolor: rgb(49,60,114);
	--btn-accented-bgcolor-hover: rgb(243,107,107);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(49,60,114);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(243,107,107);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(9,132,227);
	--wd-link-color-hover: rgb(243,107,107);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 500px;
	--wd-popup-padding: 50%;
}
.header-banner {
	background-color: rgb(238,123,73);
	background-image: none;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.product-labels .product-label.onsale {
	background-color: rgb(255,213,79);
	color: rgb(51,51,51);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 1000px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 12px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 40px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* Styles all default WordPress widgets in the sidebar to match your "card" design */
.woodmart-sidebar-content .widget {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

/* Styles the widget titles to match your H4 style */
.woodmart-sidebar-content .widget-title {
    border-bottom: 2px solid #F88A8A;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: "Georgia", serif;
    color: #F88A8A;
    font-size: 1.2rem;
}

/* Hides the default padding/background from the container holding your Elementor template */
.woodmart-sidebar-content .widget_elementor_template {
    padding: 0;
    background: none;
    box-shadow: none;
}
.section-image {
	    width: 100%;
	height: 450px;
	object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group input {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #DDD;
    box-sizing: border-box;
}

/* Animated Underline for Hero Section */

.savvy-kids-underline {
    position: relative; /* This is needed for the underline to be positioned correctly */
}

.savvy-underline-animation {
    height: 12px; /* Adjust the thickness of the line */
    background-color: #fde047; /* The yellow color */
    border-radius: 6px; /* Makes the ends of the line rounded */
    width: 0%; /* Starts with no width */
    animation: expand-underline 1s ease-out 0.9s forwards; /* The animation */
    margin: 0 auto; /* This centers the line */
    margin-top: -1rem; /* Adjust to position it perfectly under the text */
}

@keyframes expand-underline {
    from {
        width: 0%;
    }
    to {
        width: 450px; /* Adjust to the width of "Savvy Kids" */
    }
}
/* Savvy Kids - Custom Styles & Animations */

.bg-yellow-300/50 {
background-color: rgb(253, 224, 71, 0.5);
}
.rounded-full {
    border-radius: 9999px;
}

/* Custom Gradients & Effects */
.bg-gradient-playful {
  background: linear-gradient(135deg, #f36b6b 0%, #ff9a9e 50%, #fecfef 100%);
}

.bg-gradient-yellow {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.bg-gradient-blue {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.pattern-waves {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f36b6b' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Custom Animations */
.book-card {
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.book-card:hover {
  transform: translateY(-8px) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(243, 107, 107, 0.3);
}

.floating-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.bounce-in {
  animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.wiggle {
  animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 7% { transform: rotateZ(0); }
  15% { transform: rotateZ(-15deg); }
  20% { transform: rotateZ(10deg); }
  25% { transform: rotateZ(-10deg); }
  30% { transform: rotateZ(6deg); }
  35% { transform: rotateZ(-4deg); }
  40%, 100% { transform: rotateZ(0); }
}

/* Woodmart Product Grid Styling */
.product-grid-item {
    background-color: white;
    border-radius: 24px !important;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(243, 107, 107, 0.2) !important;
}

/* THIS IS THE KEY FIX for the image size */
.product-grid-item .product-element-top {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* This forces the image container to be a square */
}

.product-grid-item .product-element-top img{
    width: 100% !important;
    height: 100%;
    object-fit: cover; /* This makes the image fill the square without stretching */
}

.product-element-bottom {
    padding: 1.5rem;
}
.wd-product {
text-align:left;}

.wd-entities-title a {
    font-weight: 700 !important;
    color: #1f2937 !important;
    font-size: 1.25rem !important;
}

.price {
    color: #f36b6b !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

.price del {
    color: #9ca3af !important;
}

.wd-add-btn > a.add_to_cart_button {
    background: linear-gradient(135deg, #f36b6b 0%, #ff9a9e 50%, #fecfef 100%) !important;
    color: white !important;
    border-radius: 9999px !important;
    font-weight: 600 !important;
    border: none !important;
    width: 100%;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    transition: all 0.3s ease !important;
}

.wd-add-btn > a.add_to_cart_button:hover {
    opacity: 0.9;
    transform: scale(1.05);
}


elementor .btn  {
	display: inline-block;
 background-color: #F88A8A;
   color: #FFF;
   border-radius: 50px;
   font-weight: bold;
            font-size: 1rem;
    border: none !important;
    padding: 15px 30px;
    transition: all 0.3s ease !important;
 box-shadow: 0 4px 15px rgba(248, 138, 138, 0.4);}

.elementor .btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
.btn.btn-style-bordered {
background-color: transparent;
            color: #F88A8A;
            border: 2px solid #F88A8A;
text-transform:capitalize;}

/*add to cart styling*/
.wd-tools-element {
    border: 1px solid #f36b6b60;
    border-radius: 10px;
}

.wd-tools-element:hover {
    border: 1px solid #f36b6b;
    border-radius: 10px;
}

/* Savvy Kids - Contact Form 7 Styling (Corrected) */

.savvy-kids-form {
    background-color: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
}

.savvy-kids-form .form-header {
    display: flex;
    align-items: center; /* This vertically aligns the icon and text */
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
/* NEW FIX: Target any <p> tag inside the header to remove the theme's margin */
.savvy-kids-form .form-header p {
    margin: 0 !important;
}

.savvy-kids-form .form-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0; /* FIX: Removes default heading margin to fix alignment */
}

.savvy-kids-form .form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f36b6b 0%, #ff9a9e 50%, #fecfef 100%);
    border-radius: 50%;
    color: white;
    flex-shrink: 0; /* Prevents the icon from shrinking */
	 margin: 0 !important;
}

.savvy-kids-form .form-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}
.savvy-kids-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem; /* FIX: Reduced space between label and field */
    color: #374151;
}

fieldset {
    margin-bottom: 0; 
   padding: 0;
   border: 0;
   border-radius: 0;
}







@media (min-width: 768px) and (max-width: 1024px) {
	@media (min-width: 1024px) {
    .single-product div.product {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Style the image gallery on the left */
.single-product .woocommerce-product-gallery {
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

.single-product .summary.entry-summary {
    text-align: left;
}
.single-product .woocommerce-Reviews-col-2 {
    display: none;
}
.single-product .product_title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}
.single-product .price {
    color: #f36b6b !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
}
.single-product .price del {
    color: #9ca3af !important;
    font-size: 1.5rem !important;
}
.single-product .quantity {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: inline-flex;
    overflow: hidden;
}
.single-product .quantity .qty {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 600;
}
.single-product .quantity .plus,
.single-product .quantity .minus {
    background-color: #f9fafb;
    border: none;
    padding: 0 12px;
    cursor: pointer;
}
.single-product .single_add_to_cart_button {
    width: 100%;
    background: linear-gradient(135deg, #f36b6b 0%, #ff9a9e 50%, #fecfef 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    padding: 1rem !important;
    border: none !important;
    transition: all 0.3s ease !important;
    margin-top: 1rem !important;
    text-align: center;
}
.single-product .woocommerce-tabs {
    display: none;
}

/* Ratings & Reviews Styling */
.single-product .woocommerce-product-rating {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.single-product .star-rating span::before {
    color: #facc15 !important; /* Yellow for stars */
}
.single-product .woocommerce-review-link {
    color: #6b7280; /* text-gray-500 */
}

}

@media (max-width: 576px) {
	/*menu*/
.whb-row .whb-g1k0m1tib7raxrwkm1t3.wd-tools-element .wd-tools-inner, .whb-row .whb-g1k0m1tib7raxrwkm1t3.wd-tools-element > a > .wd-tools-icon {color: #fff;}

/*remove borders*/
.wd-tools-element {
    border: 0;
     border-radius: 0;
}

/*cart*/
.whb-row .whb-trk5sfmvib0ch1s1qbtc.wd-tools-element .wd-tools-inner, .whb-row .whb-trk5sfmvib0ch1s1qbtc.wd-tools-element > a > .wd-tools-icon

 {
    color: #fff;
}
@media (min-width: 768px) {
    .savvy-kids-form .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.savvy-kids-form .form-field {
    margin-bottom: 1.5rem;
}


.savvy-kids-form .wpcf7-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.savvy-kids-form .wpcf7-form-control:focus {
    border-color: #f36b6b;
    box-shadow: 0 0 0 2px rgba(243, 107, 107, 0.2);
    outline: none;
}

.savvy-kids-form .wpcf7-submit {
    width: 100%;
    background: linear-gradient(135deg, #f36b6b 0%, #ff9a9e 50%, #fecfef 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    padding: 1rem !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.savvy-kids-form .wpcf7-submit:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.savvy-kids-form .form-footer {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(243, 107, 107, 0.05);
    border-radius: 12px;
    text-align: center;
    font-size: 0.875rem;
    color: #4b5563;
}
/* Savvy Kids - Single Product Page Styling */

/* 1. Create the main two-column layout 
.single-product div.product {
    display: grid;
     grid-template-columns: 1fr;
    gap: 2rem;
}*/
}

