/*
Theme Name: Hello Biz Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Biz
Author: Your Name
Author URI: https://yourwebsite.com
Template: hello-biz
Version: 1.0.0
Text Domain: hello-biz-child
*/

/* ==== Custom Styles Below ==== */


.marquee {
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  background: #000;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee__track span {
  white-space: nowrap;
  font-family: "Spicy Rice", Sans-serif;
  font-size: 3rem;
  word-spacing: 0.5rem;
  padding-right: 0.5rem;
  font-weight: 100;
  letter-spacing: 1px;
  color: #ffc107;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================================
   PRODUCT CARD MOCKUP STYLE
================================ */
/* Remove default card style */
.eael-woo-product-carousel .product {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: 100%;
}
.product > .eael-product-carousel {
    padding: 1rem 1rem 3.5rem !important;
    position: relative;
} 
.product > .eael-product-carousel .product-image-wrap {
    position: initial !important;
}
.product > .eael-product-carousel .product-image-wrap .image-hover-wrap {
    position: absolute !important;
    bottom: 1rem;
    width: calc(100% - 2rem);
}
.product > .eael-product-carousel .product-image-wrap .image-hover-wrap > .icons-wrap {
    background: transparent;
}
.product > .eael-product-carousel .product-image-wrap .image-hover-wrap > .icons-wrap .add-to-cart {
    border: none;
}
.product > .eael-product-carousel .product-image-wrap .image-hover-wrap > .icons-wrap .add-to-cart .add_to_cart_button {
    height: auto;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem !important;
}
.product > .eael-product-carousel .product-image-wrap .image-hover-wrap > .icons-wrap .add-to-cart .add_to_cart_button::before {
    content: none;
}
.product > .eael-product-carousel .product-details-wrap {
    padding: 0 !important;
    margin-bottom: 0.5rem;
}
.product > .eael-product-carousel .product-details-wrap .eael-product-title > a {
    text-decoration: none;
}
.product > .eael-product-carousel .product-details-wrap .eael-product-title > a h2 {
    margin: 0;
    color: #000 !important;
}
.product > .eael-product-carousel .eael-product-price {
    display: flex;
    justify-content: center;
    gap: 0;
}
.product > .eael-product-carousel .eael-product-price del .amount, .product > .eael-product-carousel .eael-product-price .amount bdi {
    color: #000 !important;
}
.product > .eael-product-carousel .eael-product-price .amount bdi {
    font-size: 1.3rem;
    font-weight: 900;
    font-family: sans-serif;
}
.product > .eael-product-carousel .product-details-wrap .eael-product-excerpt {
    font-weight: 500;
    margin: 0;
}
.product > .eael-product-carousel .product-details-wrap .eael-product-excerpt p {
    margin: 0;
}
.product > .eael-product-carousel .eael-product-price del .amount bdi {
    font-size: 0.8rem;
    font-weight: 900;
    font-family: sans-serif;
}

/* Main Card */
.eael-woo-product-carousel .eael-product-carousel {
    background: linear-gradient(to bottom, #e8f4ff, #b6ddff);
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    border: 0.12rem solid #000;

    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

/* Pastel Variations */
.eael-woo-product-carousel .swiper-slide:nth-child(2n) .eael-product-carousel {
    background: linear-gradient(to bottom, #fff2cc, #ffd966);
}
.eael-woo-product-carousel .swiper-slide:nth-child(3n) .eael-product-carousel {
    background: linear-gradient(to bottom, #e6ffcc, #b7f774);
}
.eael-woo-product-carousel .swiper-slide:nth-child(4n) .eael-product-carousel {
    background: linear-gradient(to bottom, #ffd6d6, #ff8a8a);
}
.eael-woo-product-carousel .swiper-slide:nth-child(5n) .eael-product-carousel {
    background: linear-gradient(to bottom, #e0e5ff, #c3ccff);
}

/* Hide sale badge */
.eael-onsale {
    display: none !important;
}

/* IMAGE */
.eael-product-carousel .image-wrap img {
    height: 12rem;
    width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* DETAILS WRAP FLEX */
.eael-product-details-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* TITLE */
.eael-product-title h2 {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03rem;
}

/* PRICE */
.eael-product-price {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.eael-product-price del {
    opacity: 0.5;
    margin-right: 0.4rem;
}

/* SHORT DESCRIPTION */
.eael-product-excerpt {
    display: block !important;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #333;
}

.eael-product-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* REMOVE HOVER ICON SYSTEM */
.eael-product-carousel .image-hover-wrap {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    margin-top: auto !important;  /* THIS pushes button to bottom */
}

.eael-product-carousel .icons-wrap {
    display: flex;
    justify-content: center;
}

.eael-product-carousel .icons-wrap .add-to-cart {
    display: inline-block !important;
}
.eael-product-carousel .icons-wrap .view-details {
    display: none !important;
}

/* FORCE BUTTON TEXT */

.eael-product-carousel .add_to_cart_button::before {
    content: "ADD TO CART";
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
}

/* PERFECT BOTTOM PILL BUTTON */
.eael-product-carousel .add_to_cart_button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 85%;
    padding: 0.7rem 0;

    background: #fff !important;
    color: #000 !important;

    border: 0.1rem solid #000 !important;
    border-radius: 5rem !important;

    text-transform: uppercase;
    transition: 0.25s ease;

    box-shadow: none !important;
}

/* Hover */
.eael-product-carousel .add_to_cart_button:hover {
    background: #000 !important;
    color: #fff !important;
}

/* Remove Woo icon arrow */
.eael-product-carousel .add_to_cart_button::after {
    display: none !important;
}

/* Slide spacing */
.eael-woo-product-carousel .swiper-slide {
    padding: 1rem 0.5rem;
}

/* Pagination spacing */
.swiper-pagination-bullets {
    margin-top: 1.5rem;
}
