/* Grid products block – same product card style as you may like / thank you */
.wt-shop-grid-products-block {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.wt-shop-grid-products-block.style-two{
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
}


.wt-shop-grid-products-block .wt-shop-thankyou-also-like-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #83AAD1;
    
    text-align: center;
}

/* Style switch placeholder for future frontend style two */
.wt-shop-grid-products-block.style-two {
    padding: 2.5rem 0 3rem;
}

.wt-shop-grid-products-block.style-two.has-split-bg {
    background: linear-gradient(to bottom, #e7eef7 0 62%, #ffffff 62% 100%);
}

.wt-shop-grid-products-block.style-two .wt-grid-style-two-side-logo-wrap {
    position: absolute;
    left: 38px;
    top: 18%;
    opacity: 0.22;
    z-index: 1;
    transform-origin: left top;
    transform: rotate(-90deg) translate(-100%, 0);
}

.wt-shop-grid-products-block.style-two .wt-grid-style-two-side-logo {
    width: 550px;
    height: auto;
    display: block;
}

@media (max-width: 1608px) {
    .wt-shop-grid-products-block.style-two .wt-grid-style-two-side-logo-wrap {
        left: 50%;
        top: 50px;
        transform: translateX(-50%);
        transform-origin: center;
        opacity: 0.1;
    }

    .wt-shop-grid-products-block.style-two .wt-grid-style-two-side-logo {
        width: 1000px;
    }
}

@media (max-width: 991.98px) {
    .wt-shop-grid-products-block.style-two .products.wt-shop-products-grid {
        grid-template-columns: 1fr;
    }
}

.wt-shop-grid-products-block.style-two .products.wt-shop-products-grid {
    margin: 80px auto 0;
    align-items: start;
    gap: 1.6rem;
}

@media (min-width: 992px) {
    .wt-shop-grid-products-block.style-two .products.wt-shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.wt-shop-grid-products-block .products li.product.wt-grid-style-two-card {
    border: 0;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    background: #fff;
    transform: translateY(0);
    height: auto !important;
    align-self: start;
}

.wt-shop-grid-products-block .products li.product.wt-grid-style-two-card.is-favorite {
    transform: translateY(-70px);
}

.wt-grid-style-two-headline {
    background: var(--wt-shop-primary, var(--ycona-blue800, #091057));
    color: #fff;
    text-align: center;
    padding: 10px 14px;
}

.wt-grid-style-two-stars .star {
    color: var(--secondary-color, var(--wt-shop-secondary, #fec72d));
    margin: 0 1px;
}

.wt-grid-style-two-favorite-title {
    font-weight: 700;
}

.wt-grid-style-two-body {
    padding: 30px 45px;
    text-align: center;
}

.wt-shop-grid-products-block.style-two .wt-grid-style-two-card .wt-grid-style-two-logo {
    width: 150px;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    margin: 0 auto 8px;
    display: block;

}

.wt-grid-style-two-title {
    margin: 0 0 8px;
    font-size: 36px;
    line-height: 1.2;
    color: var(--wt-shop-primary, var(--ycona-blue800, #091057));
}

.wt-grid-style-two-title a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.wt-grid-style-two-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    color: var(--wt-shop-primary, var(--ycona-blue800, #091057));
}

.wt-grid-style-two-price-currency {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.wt-grid-style-two-price-amount {
    font-size: 52px;
    font-weight: 700;
    line-height: 0.95;
}

.wt-grid-style-two-price-suffix {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.wt-grid-style-two-price-note {
    margin-top: -4px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--wt-black);
    text-align: center;
}

.wt-grid-style-two-card .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px !important;
    background: var(--secondary-color, var(--wt-shop-secondary, #fec72d)) !important;
    border-color: var(--secondary-color, var(--wt-shop-secondary, #fec72d)) !important;
    color: #fff !important;
}

.wt-grid-style-two-description {
    margin-top: 14px;
    font-size: 13px;
    color: var(--wt-shop-gray, #737373);
}

.wt-grid-style-two-footer {
    margin-top: auto;
    background: var(--wt-shop-primary, var(--ycona-blue800, #091057));
    color: #fff;
    text-align: center;
    font-style: italic;
    padding: 10px 14px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wt-grid-style-two-footer p {
    margin: 0;
}

.wt-grid-style-two-features {
    margin-top: 14px;
    text-align: left;
    font-size: 14px;
}

.wt-grid-style-two-features > p:first-of-type {
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.wt-grid-style-two-features p strong {
    color: var(--primary-color)
}


.wt-grid-style-two-features ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.wt-grid-style-two-features li {
    position: relative;
    margin-bottom: 6px;
    font-size: 18px;
    color: var(--wt-black);
    font-weight: 500;
    padding-left: 35px;
}

.wt-grid-style-two-features li::before {
    content: "\f26a";
    font-family: "bootstrap-icons", serif;
    position: absolute;
    left: 0;
    top: -5px;
    color: var(--secondary-color, var(--wt-shop-secondary, #fec72d));
    font-size: 25px;
    padding-left: 0;
}

.wt-grid-style-two-features .wt-grid-feature-hidden {
    display: none;
}

.wt-grid-more-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wt-grid-more-toggle:checked ~ .wt-grid-style-two-features .wt-grid-feature-hidden {
    display: list-item;
}

.wt-grid-style-two-more-btn {
    display: inline-block;
    margin-top: 4px;
    font-size: 16px;
    padding-top: 20px;
    font-weight: 600;
    color: #2f7fca;
    text-decoration: underline;
    cursor: pointer;
}

.wt-grid-style-two-more-btn .wt-grid-more-close {
    display: none;
}

.wt-grid-more-toggle:checked ~ .wt-grid-style-two-more-btn .wt-grid-more-open {
    display: none;
}

.wt-grid-more-toggle:checked ~ .wt-grid-style-two-more-btn .wt-grid-more-close {
    display: inline;
}

@media (max-width: 991.98px) {
    .wt-grid-style-two-card.is-favorite {
        transform: none;
    }
}

.wt-shop-grid-products-description {
    margin: 0 0 1.25rem;
    color: #83AAD1;
    text-align: center;
}

.wt-shop-grid-products-block.style-one .wt-shop-thankyou-also-like-title,
.wt-shop-grid-products-block.style-one .wt-shop-grid-products-description {
    color: var(--wt-shop-black, #111);
    text-align: left;
}


.wt-shop-grid-products-description p:last-child {
    margin-bottom: 0;
}

.wt-shop-grid-products-block .products.wt-shop-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 576px) {
    .wt-shop-grid-products-block .products.wt-shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 992px) {
    .wt-shop-grid-products-block .products.wt-shop-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Product cards – same as .wt-shop-thankyou-also-like */
.wt-shop-grid-products-block .products li.product {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border: 2px solid var(--wt-shop-black, #1a1a2e);
    border-radius: 12px;
    overflow: hidden;
    background: var(--wt-shop-white, #fff);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.wt-shop-grid-products-block .products li.product:hover {
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.wt-shop-grid-products-block .products li.product .woocommerce-loop-product__link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f1f5f9;
}

/* Variable + Out of stock hovers: see woocommerce.long.css (global product loop hovers) */

.wt-shop-grid-products-block .products li.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.wt-shop-grid-products-block .products li.product:hover img {
    transform: scale(1.05);
}

.wt-shop-grid-products-block .products li.product .woocommerce-loop-product__title {
    margin: 0;
    padding: 1rem 1.25rem 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.wt-shop-grid-products-block .products li.product .woocommerce-loop-product__title a {
    color: var(--wt-shop-black, #1a1a2e);
    text-decoration: none;
}

.wt-shop-grid-products-block .products li.product .woocommerce-loop-product__title a:hover {
    color: var(--wt-shop-primary);
}

.wt-shop-grid-products-block .products li.product .price {
    padding: 0 1.25rem 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wt-shop-black, #1a1a2e);
}

.wt-shop-grid-products-block .products li.product .button {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wt-shop-white, #fff);
    background: var(--wt-shop-primary, #0e7490);
    border: 2px solid var(--wt-shop-primary, #0e7490);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wt-shop-grid-products-block .products li.product .button:hover {
    background: var(--wt-shop-primary-hover, #0f766e);
    border-color: var(--wt-shop-primary-hover, #0f766e);
    color: var(--wt-shop-white, #fff);
}
