/*
 Theme Name:   Blocksy Child
 Theme URI:    https://creativethemes.com/blocksy/
 Description:  Child theme for Blocksy
 Author:       Saurav Ghosh
 Author URI:   https://sauravghoshweb.com
 Template:     blocksy
 Version:      1.0.0
*/

/* YouTube RSS Embed Grid */
.yt-rss-embed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.yt-rss-embed .yt-video {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0 !important;
}

.yt-rss-embed .yt-video:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.yt-rss-embed iframe {
  width: 100%;
  height: 230px;
  border: none;
  display: block;
}

/* youtube embedd */
.video-container {
    width: 100%;
    max-width: 560px; 
    aspect-ratio: 16 / 9; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden; 
    margin: 5px auto;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.highlight {
  color: #10b982;
}

.bg-highlight {
  background: #10b982;
  color: #fff;
  padding: 0 10px;
  display: inline-block;
  transform: skew(-22deg);
}
.bg-highlight span {
  display: inline-block;
  transform: skew(22deg); /* reset text skew */
}

.subheading-highlight {
  font-weight: 800;
}

/* footer contact */
.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* newsletter */
.newsletter-input {
  border: 1px solid #ccc !important;
  margin-top: -30px;
}

.newsletter-input:focus {
  border: 1px solid #10b982 !important;
}

.newsletter-button:hover {
  background-color: #121724 !important;
}

.ct-widget h4 {
  font-size: 22px;
}

/* product listing */
.woocommerce ul.products li.product .product-dimensions {
  font-size: 16px;
  color: #444;
  margin: 0;
}

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

.woocommerce ul.products li.product .price {
  font-size: 18px;
  font-weight: normal;
}

.woocommerce ul.products li.product.type-product {
  overflow: hidden;
  padding-bottom: 10px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.woocommerce ul.products li.product.type-product > *:not(figure) {
  padding-left: 20px;
  padding-right: 20px;
}

.woocommerce ul.products li.product.type-product:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product.type-product .ct-woo-card-actions {
  transition: transform 0.3s ease;
}

.woocommerce ul.products li.product.type-product .ct-woo-card-actions:hover {
  transform: translateY(-3px);
}

.woocommerce ul.products li.product.type-product .ct-woo-card-actions a {
  border: 2px solid #10b982;
  padding: 2px 35px;
}

.woocommerce ul.products li.product.type-product .woosw-btn {
  transition: transform 0.3s ease;
  color: #121724;
}

.woocommerce ul.products li.product.type-product .woosw-btn:hover {
  color: #10b982;
  transform: scale(1.03);
}

.woocommerce ul.products li.product.type-product a img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  transition: transform 0.4s ease;
}

.woocommerce ul.products li.product.type-product a img:hover {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

.woocommerce ul.products li.product.type-product:hover a img {
  transform: scale(1.15);
}

/* product styling ends here */

.ct-woocommerce-cart-form .cart_totals h2 {
  font-size: 18px !important;
  font-family: "Poppins" !important;
}

.woocommerce-cart-form__contents .coupon button:hover {
  background-color: #121724;
  transition: background-color 0.3s ease;
}

.woocommerce-cart-form__contents button[type="submit"]:hover {
  background-color: #121724;
  transition: background-color 0.3s ease;
}

.wc-proceed-to-checkout a:hover {
  background-color: #121724;
  transition: background-color 0.3s ease;
}

.place-order button[type="submit"]:hover {
  background-color: #121724;
  transition: background-color 0.3s ease;
}

/* Apply only on single product page */
.single-product .summary .woosw-btn {
  color: #121724;
  font-size: 18px;
}

.single-product .summary .woosw-btn:hover {
  color: #10b982;
  transition: color 0.3s ease;
}

/* comment  */
.woocommerce-Reviews .woocommerce-Reviews-title {
  font-size: 22px;
  font-family: "Poppins";
  font-weight: 500;
}

.woocommerce-Reviews .woocommerce-Reviews-title span {
  font-weight: 700;
}

.wp-block-social-links {
  gap: 15px !important;
}

.wp-block-social-links li a {
  color: #121724 !important;
}

@media (min-width: 768px) {
  .page-id-1456 .woosw-item--atc a {
    margin-right: 10px;
  }
}

@media (max-width: 767px) {
  .page-id-1456 .woosw-item--atc a {
    margin-bottom: 5px;
  }
}

.newsletter-button {
  width: 100% !important;
}

.living-art-muse ul {
  padding-left: 20px !important;
}

.three-ways-card {
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),
    0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
    var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

/* Contact Form 7 Custom Styles */
.cf7-contact-form input,
.cf7-contact-form textarea {
  margin-top: 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.cf7-contact-form input[type="submit"] {
  padding: 8px 60px;
}

.product-dimensions-detail {
  font-size: 18px;
}

#footer #block-17 p {
  margin-top: -30px;
  margin-bottom: -10px;
}

#footer figure.wp-block-image.size-full.is-resized {
  margin-top: -20px;
}
