/*
Theme Name: Hello Biz Child
Theme URI: https://github.com/elementor/hello-biz-child/
Description: Hello Biz Child is a child theme of Hello Biz, created by Elementor team
Author: Elementor Team
Template: hello-biz
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Version: 1.0.0
Stable tag: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-biz-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready, style-variations
*/

/* Add your custom styles here */

.icon-right a {
    display: flex;
}

.icon-right a span:first-child {
    order: 2;
    margin-left: 10px;
}

.icon-right a span:last-child {
    order: 1;
}

.wpgs-for,
.wpgs-nav .slick-slide {
    background-color: transparent;
    background-image: linear-gradient(180deg, var(--e-global-color-accent) 0%, var(--e-global-color-secondary) 100%);
}

.single_add_to_cart_button,
.elementor-11 .elementor-element.elementor-element-2f70f60 .ha-testimonial-carousel__content,
.custom-contact-form input[type=submit],
.place-order input[type=submit]#place_order,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button,
.cky-prefrence-btn-wrapper .cky-btn.cky-btn-accept,
.cky-btn.cky-btn-accept {
    background-color: transparent !important;
    background-image: linear-gradient(180deg, var(--e-global-color-accent) 0%, var(--e-global-color-secondary) 100%) !important;
    border: 0;
    color: #ffffff;
}

.single_add_to_cart_button:hover,
.custom-contact-form input[type=submit]:hover,
.place-order input[type=submit]#place_order:hover,
.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce-page .woocommerce-error .button:hover,
.woocommerce-page .woocommerce-info .button:hover,
.woocommerce-page .woocommerce-message .button:hover,
.cky-prefrence-btn-wrapper .cky-btn.cky-btn-accept:hover,
.elementor-1578 .elementor-element.elementor-element-29a9a965 .elementor-button:hover,
.cky-btn.cky-btn-accept:hover {
    background-color: transparent !important;
    background-image: linear-gradient(180deg, var(--e-global-color-secondary) 0%, var(--e-global-color-accent) 100%) !important;
    color: #ffffff;
}

.wpgs-for {
    margin-bottom: 10px;
    padding: 30px;
    border-radius: 30px;
}

.wpgs-for img {
    width: auto !important;
    height: auto !important;
    max-height: 400px;
}

.wpgs-for .slick-slide {
    display: flex !important;
    justify-content: center;
}

.wpgs-nav .slick-slide {
    display: flex !important;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    margin: 0 10px;
}

.wpgs-nav .slick-slide img {
    width: auto !important;
    height: auto !important;
    max-height: 80px;
}

.wpgs-for .slick-arrow::before,
.wpgs-nav .slick-prev::before,
.wpgs-nav .slick-next::before {
    color: #EBBC2E !important;
}

.variations th {
    padding: 20px 20px 10px !important;
}

.variations td {
    padding: 0 20px 20px !important;
}

.elementor-11 .elementor-element.elementor-element-2f70f60 .ha-testimonial-carousel__content:after {
    color: #6d5f35 !important;
}

/* Custom WooCommerce Product Grid */
.custom-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px 24px;
    margin: 0 0 40px;
    list-style: none;
    padding: 0;
}

.custom-product-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    margin: 0 !important;
    position: relative;
}

/* Gradient background for product card */
.custom-product-card.has-custom-gradient {
    background: linear-gradient(var(--gradient-angle, 135deg),
            var(--gradient-start, #667eea),
            var(--gradient-end, #764ba2));
    border: none;
}

/* Apply gradient colors via inline style */
.custom-product-card {
    --gradient-angle: 135deg;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
}

.custom-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    mix-blend-mode: multiply;
}

.custom-product-card.has-custom-gradient .product-image-wrapper img {
    mix-blend-mode: normal;
    opacity: 0.95;
}

.custom-product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

/* Articles Badge */
.articles-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: white;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    letter-spacing: -0.2px;
}

.custom-product-card.has-custom-gradient .articles-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    border: none;
}

/* Variation Badge */
.variation-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    margin: 8px 0;
    color: #4b5563;
}

.custom-product-card.has-custom-gradient .variation-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Product Info */
.product-info-wrapper {
    padding: 20px 20px 24px;
    position: relative;
    z-index: 1;
}

.custom-product-card.has-custom-gradient .product-info-wrapper {
    color: white;
}

.woocommerce-loop-product__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    padding: 0;
    color: #0f172a;
}

.custom-product-card.has-custom-gradient .woocommerce-loop-product__title {
    color: white;
}

.woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
}

/* Categories */
.product-categories {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: #4f6f8f;
    margin-bottom: 10px;
}

.custom-product-card.has-custom-gradient .product-categories {
    color: rgba(255, 255, 255, 0.8);
}

/* Short Description */
.product-short-description {
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
    margin: 12px 0 16px;
}

.custom-product-card.has-custom-gradient .product-short-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Price */
.price-wrapper {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e66;
}

.custom-product-card.has-custom-gradient .price-wrapper {
    color: white;
}

.price-wrapper .price {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.price-wrapper del {
    font-size: 14px;
    opacity: 0.7;
    margin-right: 8px;
}

.price-wrapper ins {
    text-decoration: none;
}

/* View Details Button */
.view-details-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 60px;
    padding: 12px 0;
    font-weight: 600;
    font-size: 14px;
    color: #1f3a5f;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.custom-product-card.has-custom-gradient .view-details-btn {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.view-details-btn:hover {
    background: #1f3a5f;
    border-color: #1f3a5f;
    color: white;
}

.custom-product-card.has-custom-gradient .view-details-btn:hover {
    background: white;
    color: #1f3a5f;
    border-color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-products-grid {
        gap: 20px;
    }

    .woocommerce-loop-product__title {
        font-size: 18px;
    }

    .price-wrapper {
        font-size: 20px;
    }
}

/* Animation for gradient cards */
.custom-product-card.has-custom-gradient {
    animation: gradientPulse 2s ease-in-out infinite;
}

@keyframes gradientPulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    50% {
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    }
}

.custom-height img {
    max-height: 300px !important;
    width: auto !important;
}

.elementor-nav-menu--dropdown a {
    justify-content: space-between !important;
}

.custom-contact-form select {
    background: none;
}

.custom-contact-form .wpcf7-select option {
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 10px;
}

.custom-contact-form textarea {
    height: 120px;
    resize: none;
}

#wc-custom-checkout input,
#wc-custom-checkout select {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.checkout-right {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 20px;
    border-radius: 10px;
}

.woocommerce-billing-fields h3 {
    display: none;
}

#wc-custom-checkout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.checkout-right {
    width: 100%;
    max-width: 380px;
    position: sticky;
    top: 0;
    background: none;
}

.checkout-right .product-thumb img {
    padding: 10px;
    background: #10141E;
    border-radius: 10px;
}

.woocommerce-message,
.woocommerce-custom {
    border-top-color: #E7B92D !important;
}

.cky-btn-revisit-wrapper {
    background: #E7B92D !important;
}

.woocommerce-message::before,
.woocommerce-custom::before,
.cky-show-desc-btn,
.cky-btn.cky-btn-preferences,
.cky-btn.cky-btn-reject,
.cky-btn.cky-btn-customize {
    color: #E7B92D !important;
}

.cky-btn.cky-btn-preferences,
.cky-btn.cky-btn-reject,
.cky-btn.cky-btn-customize {
    border-color: #E7B92D !important;
}

.cky-btn.cky-btn-preferences:hover,
.cky-btn.cky-btn-reject:hover,
.cky-btn.cky-btn-customize:hover {
    background: #E7B92D !important;
    color: #ffffff !important;
}

.animated-section .e-con-full img {
    transition: transform 0.4s ease;
    transform-origin: center;
}

.animated-section .e-con-full:hover>div>img {
    transition: transform 0.4s ease;
    transform: scale(1.1) rotate(2deg);
}

.animated-section .e-con-full .elementor-heading-title a:hover {
    color: #E7B92D !important;
}

@media (max-width: 768px) {
    #wc-custom-checkout {
        flex-direction: column;
    }

    .form-row-first,
    .form-row-last {
        width: 100% !important;
    }

	.ha-card .elementor-widget-container{
		text-align: center !important;
	}
}