/*
Theme Name: PaintisPassion Kadence
Theme URI: https://paintispassion.com
Description: Child theme for the Kadence theme, customized for PaintisPassion.
Author: Olga Tchefranov
Author URI: https://paintispassion.com
Template: kadence
Version: 1.0.0
Text Domain: paintispassion-kadence
*/

/* More Original Artworks */

.paintis-more-artworks {
    margin-top: 60px;
}

.paintis-more-artworks h2 {
    margin-bottom: 30px;
}

.paintis-more-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 767px) {
    .paintis-more-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* More Original Artworks — hover effect */

.paintis-more-card {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.paintis-more-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.paintis-more-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.35s ease;
}

/* Image zoom */
.paintis-more-card:hover .paintis-more-image img {
    transform: scale(1.025);
}

/* Title overlay */
.paintis-more-content {
    position: relative;
    z-index: 2;

    width: calc(100% - 24px);
    margin: -8px auto 0;
    padding: 8px 10px;

    background: transparent;
    box-shadow: none;
    border-radius: 3px;

    text-align: center;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.paintis-more-card:hover .paintis-more-content {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* Show title on hover */
.paintis-more-card:hover .paintis-more-content {
    opacity: 1;
}

.paintis-more-title {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.paintis-more-price {
    margin: 0;
    font-size: 15px;
    color: #555;
}

/* Product Catalog — artwork card hover */

.woocommerce ul.products li.product {
    position: relative;
    overflow: visible;
}

.woocommerce ul.products li.product img {
    display: block;
    transition: transform 0.35s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.025);
}

/* Product information panel */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
    position: relative;
    z-index: 2;
    width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin-top: -8px;
    margin-bottom: 0;
    padding: 8px 10px 3px;
}

.woocommerce ul.products li.product .price {
    margin-top: 0;
    padding: 3px 10px 8px;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:hover .price {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    transform: translateY(-8px);
}

.woocommerce ul.products li.product:hover .price {
    transform: translateY(-8px);
}

/* Hide Add to Cart from product cards */
.woocommerce ul.products li.product .product-action-wrap {
    display: none;
}

/* Artwork Details */

.paintis-artwork-details {
    background: #ffffff;
    border: 1px solid #d9dee5;
    border-radius: 6px;
    padding: 24px 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    margin-top: 20px;
    margin-bottom: 24px;
}

.paintis-artwork-details h3 {
    margin: 0 0 22px;
    font-size: 20px;
}

.paintis-artwork-details p {
    display: grid;
    grid-template-columns: 75px 1fr;
    column-gap: 12px;
    margin-bottom: 18px;
}

.paintis-artwork-details .label {
    font-weight: 400;
}

.paintis-artwork-details .value {
    min-width: 0;
}

/* Remove duplicate headings inside product tabs */

.woocommerce-Tabs-panel--description > h2 {
    display: none;
}

.woocommerce-Tabs-panel--reviews h2,
#reviews .woocommerce-Reviews-title {
    display: none;
}



