/*

Theme Name: WordPress Theme
Author: Amapolazul
Author URI: http://www.amapolazul.com
Description: Template for Amapolazul.
Version: 1.0

*/

@import "build/app.css";

.product-catalog-layout {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.product-catalog-sidebar {
    padding-right: 2rem;
}

.product-catalog-sidebar .widget-title,
.product-catalog-sidebar .wp-block-heading {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-catalog-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-catalog-sidebar li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    border-bottom: 1px solid #e9e5dc;
}

.product-catalog-sidebar li a {
    display: block;
    padding: 0.7rem 0;
    color: #264b3e;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.product-catalog-sidebar li a:hover,
.product-catalog-sidebar .current-cat > a {
    padding-left: 0.4rem;
    color: #b59a45;
}

.product-catalog-content .woocommerce-products-header__title {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    line-height: 1.2;
}

.product-catalog-sidebar .all-product-categories {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e9e5dc;
    color: #264b3e;
    line-height: 1.4;
    text-decoration: none;
}

.product-catalog-sidebar .all-product-categories:hover,
.product-catalog-sidebar .all-product-categories.is-active {
    color: #b59a45;
}

.product-catalog-content ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 2rem;
    clear: both;
    margin-top: 2rem;
}

.product-catalog-content ul.products::before,
.product-catalog-content ul.products::after {
    display: none;
}

.product-catalog-content ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    text-align: center;
}

.product-catalog-content ul.products li.product img {
    width: 100%;
    height: 260px;
    object-fit: contain;
}

.woocommerce .product-catalog-content ul.products.columns-3 li.product {
    float: none;
    width: 90%;
    margin: 0 auto;
}

.attachment-woocommerce_thumbnail {
    margin: 0 auto 10px !important;
}

.product-catalog-layout .tabs {
    border: none !important;
}

@media (max-width: 1024px) {
    .product-catalog-content ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .product-catalog-sidebar {
        margin-bottom: 2rem;
        padding-right: 0.9375rem;
    }

    .product-catalog-content ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce .product-catalog-content ul.products.columns-3 li.product {
        width: 100%;
    }
}

.pdr-about {
    --pdr-green: #00564d;
    --pdr-text: #505763;
    --pdr-soft: #f0f5f3;
    box-sizing: border-box;
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 32px);
    background: #fff;
    color: var(--pdr-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
}
.pdr-about *,
.pdr-about *::before,
.pdr-about *::after {
    box-sizing: border-box;
}
.pdr-about h1,
.pdr-about h2 {
    margin: 0;
    color: var(--pdr-green);
    font-family: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}
.pdr-about h1 {
    font-size: clamp(32px, 4vw, 48px);
    text-align: center;
    padding-bottom: 1.5rem;
}
.pdr-about h2 {
    margin-bottom: 20px;
    font-size: clamp(24px, 2.5vw, 30px);
}
.pdr-about p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
}
.pdr-about p + p {
    margin-top: 20px;
}
.pdr-about__heading {
    margin-bottom: clamp(32px, 4vw, 48px);
}
.pdr-about__heading p {
    max-width: 850px;
    margin-top: 16px;
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
}
.pdr-about__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
}
.pdr-about__image {
    min-width: 0;
}
.pdr-about__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.pdr-about__content {
    min-width: 0;
}
.pdr-about__purpose {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 64px);
    margin-top: clamp(40px, 5vw, 64px);
    padding: clamp(24px, 4vw, 40px);
    background: var(--pdr-soft);
    border-radius: 8px;
}
.pdr-about__work {
    margin-top: clamp(40px, 5vw, 64px);
}
.pdr-about__work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 5vw, 64px);
}
.pdr-about__work-grid p + p {
    margin-top: 0;
}
@media (max-width: 767px) {
    .category-grid .panel-grid {
        flex-direction: column !important;
        gap: 2rem !important;
        align-items: center !important;
    }

    .category-grid .panel-grid .panel-grid-cell {
        width: 100% !important;
    }

    .pdr-about__intro,
    .pdr-about__purpose,
    .pdr-about__work-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .pdr-about__intro {
        gap: 28px;
    }
    .pdr-about__purpose {
        gap: 32px;
    }
    .pdr-about__work-grid {
        gap: 20px;
    }
}