:root {
  --nectar-accent-color: #2257ca;
  --nectar-extra-color-1: #7541c1;
  --nectar-extra-color-2: #243156;
  --nectar-extra-color-3: #515e86;
}

body #footer ul {
  margin: 0;
  padding: 0;
}
body #footer ul li {
  list-style: none;
}

body p {
  color: #243156;
}
body .gradient-text {
  background: linear-gradient(90deg, #2257CA 0%, #7541C1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
body .nectar-badge .nectar-badge__inner {
  text-transform: uppercase;
  font-weight: 700;
}
body .wpcf7-form .wpcf7-not-valid-tip {
  top: -3px;
  padding: 2px 6px;
  border: 0;
  box-shadow: 0 4px 9px rgba(53, 6, 62, 0.07);
  background: transparent;
  box-shadow: none;
  font-size: 14px;
}
body .wpcf7-form .wpcf7-response-output {
  margin: 2em 0.5em 1em;
  padding: 0.2em 1em;
  border: 2px solid #00a0d2;
  border: none;
  background: transparent;
  padding: 0;
  font-weight: 600;
  font-size: 16px;
  color: #ed1c24;
}
body .book-wrap {
  position: relative;
  min-height: 520px;
  overflow: visible;
}
body .book-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(130, 88, 200, 0.45) 0%, rgba(44, 132, 200, 0.18) 45%, rgba(44, 132, 200, 0) 75%);
  filter: blur(45px);
  z-index: 0;
}
body .book-wrap .img-with-aniamtion-wrap {
  position: absolute !important;
}
body .book-wrap img.book {
  width: 320px;
  border-radius: 28px;
  position: relative;
  z-index: 2;
  transition: all 0.35s ease;
  filter: drop-shadow(0 28px 30px rgba(53, 6, 62, 0.25)) drop-shadow(0 10px 14px rgba(53, 6, 62, 0.15));
}
body .book-wrap .left_position_desktop_0px {
  left: 0;
  top: 90px;
  z-index: 1;
}
body .book-wrap img.book-left {
  transform: rotate(-8deg) !important;
}
body .book-wrap .center {
  left: 50%;
  top: 80px;
  transform: translateX(-50%) !important;
  z-index: 3;
}
body .book-wrap img.book-center {
  transform: scale(1.15) !important;
  filter: drop-shadow(0 34px 40px rgba(53, 6, 62, 0.25)) drop-shadow(0 14px 18px rgba(53, 6, 62, 0.2));
}
body .book-wrap img.book-center:hover {
  transform: scale(1.2) !important;
}
body .book-wrap .right_position_desktop_0px {
  right: 0;
  top: 90px;
  z-index: 2;
}
body .book-wrap img.book-right {
  transform: rotate(8deg) !important;
}
body .book-wrap img.book-left:hover {
  transform: rotate(-8deg) scale(1.03) !important;
}
body .book-wrap img.book-right:hover {
  transform: rotate(8deg) scale(1.03) !important;
}
body {
  /* MOBILE */
}
@media (max-width: 767px) {
  body .book-wrap {
    min-height: 720px;
  }
  body .book-wrap img.book {
    width: 220px;
  }
  body .book-wrap .left_position_desktop_0px {
    left: 50%;
    top: 180px;
    transform: translateX(-65%);
  }
  body .book-wrap .center {
    top: 40px;
  }
  body .book-wrap .right_position_desktop_0px {
    right: auto;
    left: 50%;
    top: 340px;
    transform: translateX(-35%);
  }
}

.product-wrap .product-add-to-cart {
  display: none !important;
}

.woocommerce .product-wrap {
  border-radius: 10px;
}

.woocommerce-product-gallery__image {
  border-radius: 20px;
}

ul.products li.product a img,
ul.products li.product .woocommerce-LoopProduct-link img {
  aspect-ratio: 3/4;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  background: white;
}

ul.products li.product {
  display: flex;
  flex-direction: column;
}

ul.products li.product .product-wrap,
ul.products li.product .woocommerce-loop-product__title {
  margin-top: 0;
}

/* Mobile only: undo the above, back to theme default */
@media (max-width: 690px) {
  ul.products li.product a img,
  ul.products li.product .woocommerce-LoopProduct-link img {
    aspect-ratio: unset;
    width: revert;
    height: revert;
    object-fit: revert;
    object-position: revert;
    display: revert;
    background: transparent;
  }
  ul.products li.product {
    display: revert;
    flex-direction: revert;
  }
  ul.products li.product .product-wrap,
  ul.products li.product .woocommerce-loop-product__title {
    margin-top: revert;
  }
}
/*
|--------------------------------------------------------------------------
| Author / Illustrator Tab
|--------------------------------------------------------------------------
*/
.author-section,
.illustrator-section {
  margin-bottom: 20px;
}
.author-section:last-child,
.illustrator-section:last-child {
  margin-bottom: 0;
}

.author-section h3,
.illustrator-section h3 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #1d2f63;
}

.author-section p,
.illustrator-section p {
  font-size: 18px;
  line-height: 1.9;
  color: #4f6487;
}

/*
|--------------------------------------------------------------------------
| Tab Content Width
|--------------------------------------------------------------------------
*/
.single-product .woocommerce-Tabs-panel {
  max-width: 1000px;
}

/*
|--------------------------------------------------------------------------
| Space Between Author & Illustrator
|--------------------------------------------------------------------------
*/
.illustrator-section {
  padding-top: 20px;
}

/*
|--------------------------------------------------------------------------
| Amazon Button
|--------------------------------------------------------------------------
*/
.amazon-purchase {
  margin: 35px 0;
}

/* =====================================
PRODUCT TABS
===================================== */
/* Tabs Wrapper */
.woocommerce-tabs ul.tabs {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: -1px !important;
  padding: 0 !important;
  border: none !important;
}

/* Remove Salient Defaults */
.woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li.active,
.woocommerce-tabs ul.tabs li:hover {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove Salient Pseudo Elements */
.woocommerce-tabs ul.tabs li:before,
.woocommerce-tabs ul.tabs li:after,
.woocommerce-tabs ul.tabs li.active:before,
.woocommerce-tabs ul.tabs li.active:after {
  display: none !important;
}

/* Tab Links */
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 20px 35px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  color: #c9c9c9 !important;
  text-decoration: none;
  background: transparent !important;
  border: 1px solid transparent;
  border-radius: 18px 18px 0 0;
  transition: all 0.25s ease;
}

/* Hover */
.woocommerce-tabs ul.tabs li a:hover {
  color: #2257ca !important;
}

/* Active Tab */
.woocommerce-tabs ul.tabs li.active a {
  color: #2257ca !important;
  background-color: #faf8ff !important;
  border: 1px solid #dcdcdc !important;
  border-bottom: 1px solid #fff !important;
  border-radius: 18px 18px 0 0;
  position: relative;
  z-index: 100;
}

/* =====================================
TAB CONTENT PANEL
===================================== */
.woocommerce-tabs .panel {
  border: 1px solid #dcdcdc !important;
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
  padding: 50px !important;
  margin-top: -1px !important;
  box-shadow: none !important;
}

/* Hide Woo Heading */
.hidden-tab-heading {
  display: none !important;
}

/* =====================================
MOBILE
===================================== */
@media (max-width: 767px) {
  .woocommerce-tabs ul.tabs {
    gap: 10px;
    padding: 0 !important;
  }
  .woocommerce-tabs ul.tabs li a {
    font-size: 18px !important;
    padding: 14px 20px !important;
  }
  .woocommerce-tabs .panel {
    padding: 30px !important;
  }
}
/*
|--------------------------------------------------------------------------
| Details Table
|--------------------------------------------------------------------------
*/
.kidsbooks-details {
  width: 100%;
  border-collapse: collapse;
}

.kidsbooks-details th {
  width: 180px;
  text-align: left;
  padding: 15px 0;
  font-weight: 700;
}

.kidsbooks-details td {
  padding: 15px 0;
}

/*
|--------------------------------------------------------------------------
| Related Products
|--------------------------------------------------------------------------
*/
.related.products .price {
  display: none !important;
}

.related.products li.product {
  position: relative;
}

/*
|--------------------------------------------------------------------------
| Related Amazon Button
|--------------------------------------------------------------------------
*/
.kidsbooks-amazon-btn {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 95px;
  text-align: center;
  padding: 14px 20px;
  border-radius: 40px;
  background: linear-gradient(90deg, #6d3bd1, #2d5be3);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 10;
}

.related.products li.product:hover .kidsbooks-amazon-btn {
  opacity: 1;
  visibility: visible;
}

/*
|--------------------------------------------------------------------------
| Hide WooCommerce Meta
|--------------------------------------------------------------------------
*/
.product_meta {
  display: none !important;
}

/* Product Image Hover Zoom */
.woocommerce ul.products li.product .product-wrap {
  overflow: hidden;
  border-radius: 10px;
}

.woocommerce ul.products li.product img {
  transition: transform 0.4s ease !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.05) !important;
}

.woocommerce ul.products li.product .product-wrap,
.woocommerce ul.products li.product .product-wrap img {
  border-radius: 10px;
}

.kidsbooks-loop-amazon {
  margin-top: 12px;
}

.kidsbooks-amazon-btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg, #6d3bd1, #2d5be3);
  color: #fff !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
}

.kidsbooks-amazon-btn-small:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 20px;
}

body.woocommerce:not(.single-product) ul.products[data-n-desktop-columns="3"] li.product {
  margin: 0 2% 5% 0 !important;
}

body #ajax-content-wrap .nectar-shop-header-bottom .widget_layered_nav_filters ul li a {
  color: #2257ca;
}