/*
Theme Name: Imaayah
Theme URI: http://example.com
Description: Child theme for Blocksy
Author: Your Name
Author URI: http://example.com
Template: blocksy
Version: 1.0.5
Text Domain: imaayah
*/

/* Custom CSS goes here */

/* im-products-style:start */
[data-products] .product figure .ct-media-container { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; }
[data-products] .product figure img { width: 100%; height: 100% !important; aspect-ratio: 3 / 4 !important; object-fit: cover; transition: transform .5s ease; }
[data-products] .product:hover figure img { transform: scale(1.05); }
[data-products] .product { text-align: center; }
[data-products] .product .woocommerce-loop-product__title { font-size: 16px; font-weight: 500; margin: 14px 0 6px; }
[data-products] .product .price { color: #7a5f47; font-weight: 600; justify-content: center; }
[data-products] .product .price del { opacity: .5; margin-right: 8px; font-weight: 400; }
[data-products] .product .price ins { text-decoration: none; }
[data-products] .product .onsale { background: #916F6F; color: #fff; border-radius: 20px; letter-spacing: .5px; }
[data-products] .product .button { border-radius: 25px; background: transparent; border: 1px solid #916F6F; color: #916F6F; }
[data-products] .product .button:hover { background: #916F6F; color: #fff; }
/* im-products-style:end */

/* Homepage-only polish */
body.home { border: 0 !important; }
.elementor-element-11f152b .product .entry-meta,
.elementor-element-b68eac6 .product .entry-meta { display: none !important; }
.elementor-element-11f152b .product .button,
.elementor-element-b68eac6 .product .button { border-radius: 8px !important; }

/* Homepage hero call-to-action */
.elementor-element-1b404a3 .elementor-button {
transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.elementor-element-1b404a3 .elementor-button:hover,
.elementor-element-1b404a3 .elementor-button:focus-visible {
background-color: #765858 !important;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(79, 62, 49, .2);
}
@media (prefers-reduced-motion: reduce) {
.elementor-element-1b404a3 .elementor-button { transition: none; }
}

/* Clean product cards on the shop archive only */
body.woocommerce-shop ul.products li.product .entry-meta { display: none !important; }

@media (max-width: 689.98px) {
body { border: 0 !important; }
}

@media (max-width: 689.98px) {
[data-header*="type-1"] { --header-height: 64px !important; }
[data-header*="type-1"] .ct-header [data-row*="middle"] { --height: 64px !important; }
[data-header*="type-1"] .ct-header button[data-id="trigger"] {
width: 44px !important;
min-width: 44px !important;
height: 44px !important;
min-height: 44px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
}
}

.store-coupon-banner {
    background: #4f3e31;
    color: #fffaf5;
    padding: 10px 18px;
    text-align: center;
}

.store-coupon-banner p {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 6px;
    justify-content: center;
    line-height: 1.5;
    margin: 0;
}

.store-coupon-banner strong {
    font-weight: 700;
}

.store-coupon-banner__code {
    border: 1px solid rgba(255, 250, 245, .65);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 2px 7px;
}

@media (max-width: 480px) {
    .store-coupon-banner {
        padding: 9px 12px;
    }

    .store-coupon-banner p {
        font-size: 13px;
        gap: 4px;
    }
}
