/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
html{
    overflow-x: hidden;
}
.hello-product-cat-banner {
    position: relative;
    width: 100%;
    height: 720px;
    margin: 0 0 32px;
    background-color: #111827;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hello-product-cat-banner__breadcrumb {
    position: absolute;
    left: 8%;
    top: 28px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}

.hello-product-cat-banner__breadcrumb .woocommerce-breadcrumb,
.hello-product-cat-banner__breadcrumb .woocommerce-breadcrumb a {
    color: inherit;
}

.hello-product-cat-banner__inner {
    width: 100%;
    padding: 0 8% 52px;
}

.hello-product-cat-banner__title {
    margin: 0;
    color: #ffffff;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 600;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hello-product-cat-banner__subtitle {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 24px;
    line-height: 1.4;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
}

@media (max-width: 1366px) {
    .hello-product-cat-banner {
        height: 600px;
    }

    .hello-product-cat-banner__title {
        font-size: 42px;
    }

    .hello-product-cat-banner__subtitle {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .hello-product-cat-banner {
        height: 280px;
        margin-bottom: 18px;
    }

    .hello-product-cat-banner__inner {
        padding: 0 16px 18px;
    }

    .hello-product-cat-banner__breadcrumb {
        left: 16px;
        top: 14px;
        font-size: 12px;
    }

    .hello-product-cat-banner__title {
        font-size: 28px;
    }

    .hello-product-cat-banner__subtitle {
        margin-top: 8px;
        font-size: 14px;
    }
}

/* 产品分类页专用模板（taxonomy-product_cat.php） */
.tax-product_cat .hec-cat-wrap {
    margin: 0 8% 36px;
}

/* 解除 Hello 主题在大屏对 .site-main 的 1140px 宽度限制 */
@media (min-width: 1200px) {
    body.tax-product_cat:not([class*=elementor-page-]) .site-main {
        max-width: none;
    }
}

.tax-product_cat .hec-cat-title {
    margin: 0 0 40px;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 600;
    color: #111827;
}

.tax-product_cat .hec-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;
}

.tax-product_cat .hec-cat-grid,
.tax-product_cat .hec-cat-grid * {
    box-sizing: border-box;
}

.tax-product_cat .hec-cat-card {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.tax-product_cat .hec-cat-card__image-link {
    display: block;
    text-decoration: none;
    outline: none;
    border: 0;
    box-shadow: none;
}

.tax-product_cat .hec-cat-card__image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #f4f4f5;
}

.tax-product_cat .hec-cat-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    object-fit: cover;
    object-position: center center;
    transition: opacity .25s ease, transform .35s ease;
}

.tax-product_cat .hec-cat-card__image--secondary {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.tax-product_cat .hec-cat-card:hover .hec-cat-card__image--secondary {
    opacity: 1;
}

.tax-product_cat .hec-cat-card:hover .hec-cat-card__image--primary {
    opacity: 0;
}

.tax-product_cat .hec-cat-card:hover .hec-cat-card__image {
    transform: scale(1.02);
}

.tax-product_cat .hec-cat-card__meta {
    margin-top: 10px;
}

.tax-product_cat .hec-cat-card__name {
    display: block;
    margin: 0 0 6px;
    text-decoration: none;
    color: #111827;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
}

.tax-product_cat .hec-cat-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tax-product_cat .hec-cat-card__price {
    color: #4b5563;
    font-size: 16px;
}

.tax-product_cat .hec-cat-card__price .price,
.tax-product_cat .hec-cat-card__price .amount {
    color: inherit;
    font-size: inherit;
    font-weight: 500;
}

.tax-product_cat .hec-cat-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #111827;
    font-size: 14px;
    line-height: 1;
}

.tax-product_cat .hec-cat-card__rating-num {
    font-weight: 500;
}

.tax-product_cat .hec-cat-card__rating-star {
    color: #f59e0b;
    font-size: 12px;
}

.tax-product_cat .hec-cat-pagination {
    margin-top: 36px;
    margin-bottom: 56px;
}

@media (max-width: 1200px) {
    .tax-product_cat .hec-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .tax-product_cat .hec-cat-wrap {
        margin-left: 16px;
        margin-right: 16px;
    }

    .tax-product_cat .hec-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tax-product_cat .hec-cat-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .tax-product_cat .hec-cat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 产品分类页强制宽度修正（避免主题容器1140px等限制） */
.tax-product_cat .site,
.tax-product_cat .site-content,
.tax-product_cat .site-main,
.tax-product_cat .content-area,
.tax-product_cat .woocommerce {
    max-width: none !important;
    width: 100% !important;
}

.tax-product_cat .woocommerce-products-header,
.tax-product_cat .woocommerce-breadcrumb,
.tax-product_cat ul.products,
.tax-product_cat nav.woocommerce-pagination {
    margin-left: 8% !important;
    margin-right: 8% !important;
}

.tax-product_cat ul.products {
    width: auto !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px 20px !important;
    float: none !important;
}

.tax-product_cat ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

@media (max-width: 1200px) {
    .tax-product_cat ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .tax-product_cat ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .tax-product_cat .woocommerce-products-header,
    .tax-product_cat .woocommerce-breadcrumb,
    .tax-product_cat ul.products,
    .tax-product_cat nav.woocommerce-pagination {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    .tax-product_cat ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* 单品详情页（上半部分）自定义模板 hec-sp-* */
.single-product .hec-sp-product {
    margin: 0;
}

.single-product .woocommerce-breadcrumb {
    display: none;
}

.single-product .hec-sp-product * {
    box-sizing: border-box;
}

/* 单品页面包屑：视觉隐藏但保留DOM结构，避免影响抓取/可访问性 */
.single-product .hec-sp-seo-breadcrumb {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 1200px) {
    body.single-product:not([class*=elementor-page-]) .site-main {
        max-width: none !important;
    }
}

.single-product .hec-sp-hero {
    width: auto;
    margin: 64px 8% 32px;
    display: grid;
    grid-template-columns: minmax(0, 62%) minmax(0, 38%);
    gap: 34px;
}

.single-product .hec-sp-gallery {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
}

.single-product .hec-sp-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-product .hec-sp-gallery__thumb {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    padding: 0;
    width: 72px;
    height: 72px;
    overflow: hidden;
    cursor: pointer;
}

.single-product .hec-sp-gallery__thumb.is-active {
    border-color: #111827;
}

.single-product .hec-sp-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-product .hec-sp-gallery__stage {
    position: relative;
    background: #f3f4f6;
    aspect-ratio: 1 / 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.single-product .hec-sp-gallery__main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.single-product .hec-sp-gallery__zoom {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease;
    background-repeat: no-repeat;
    background-size: 220%;
    background-position: center center;
}

.single-product .hec-sp-gallery__stage.is-zooming .hec-sp-gallery__zoom {
    opacity: 1;
}

.single-product .hec-sp-gallery__stage.is-zooming .hec-sp-gallery__main-image {
    opacity: 0;
}

@media (hover: none), (pointer: coarse) {
    .single-product .hec-sp-gallery__zoom {
        display: none;
    }

    .single-product .hec-sp-gallery__stage.is-zooming .hec-sp-gallery__main-image {
        opacity: 1;
    }
}

.single-product .hec-sp-summary {
    padding-top: 8px;
}

.single-product .hec-sp-summary__title {
    margin: 0;
    color: #111827;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 600;
}

.single-product .hec-sp-summary__subtitle {
    margin-top: 14px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.45;
}

.single-product .hec-sp-summary__subtitle p {
    margin: 0;
}

.single-product .hec-sp-summary__rating {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.single-product .hec-sp-summary__rating .star-rating {
    margin: 0;
}

.single-product .hec-sp-summary__rating-text {
    color: #4b5563;
    font-size: 13px;
}

.single-product .hec-sp-summary__price {
    margin-top: 18px;
    color: #111827;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
}

.single-product .hec-sp-summary__price .price,
.single-product .hec-sp-summary__price .amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* 同系颜色：不同商品互链（Shopify 式） */
.single-product .hec-sp-linked-colors {
    margin-top: 20px;
}

.single-product .hec-sp-linked-colors__label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.3;
    color: #111827;
}

.single-product .hec-sp-linked-colors__key {
    font-weight: 600;
}

.single-product .hec-sp-linked-colors__value {
    font-weight: 400;
    color: #374151;
}

.single-product .hec-sp-linked-colors__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single-product .hec-sp-linked-colors__item {
    display: block;
    padding: 0;
    border: 1px solid #d1d5db;
    line-height: 0;
    text-decoration: none;
    background: #f3f4f6;
    transition: border-color .2s ease, border-width .2s ease;
    box-sizing: border-box;
}

.single-product .hec-sp-linked-colors__item:hover {
    border-color: #9ca3af;
}

.single-product .hec-sp-linked-colors__item.is-current {
    border: 2px solid #111827;
}

.single-product .hec-sp-linked-colors__thumb {
    display: block;
    width: 72px;
    height: 72px;
    overflow: hidden;
}

.single-product .hec-sp-linked-colors__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Woo 后台「属性」里勾选「在商品页可见」的表格，显示在颜色缩略图下方 */
.single-product .hec-sp-native-attributes {
    margin-top: 22px;
}

.single-product .hec-sp-native-attributes table.shop_attributes {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.45;
    color: #111827;
}

.single-product .hec-sp-native-attributes table.shop_attributes th {
    width: 38%;
    max-width: 200px;
    padding: 10px 16px 10px 0;
    font-weight: 600;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
}

.single-product .hec-sp-native-attributes table.shop_attributes td {
    padding: 10px 0;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
}

.single-product .hec-sp-native-attributes table.shop_attributes tr:last-child th,
.single-product .hec-sp-native-attributes table.shop_attributes tr:last-child td {
    border-bottom: 0;
}

.single-product .hec-sp-native-attributes p {
    margin: 0;
}

/* 可变产品：变体行版式与参考图一致（标题 Size: 7-Way + 下方胶囊） */
.single-product table.variations {
    width: 100%;
    border: 0;
    margin: 0;
}

.single-product table.variations tbody {
    display: block;
}

.single-product table.variations tr {
    display: block;
    margin-bottom: 20px;
}

.single-product table.variations tr:last-child {
    margin-bottom: 0;
}

.single-product table.variations th.label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    padding: 0 0 12px;
    margin: 0;
    border: 0;
    text-align: left;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.3;
    color: #111827;
}

.single-product table.variations th.label label {
    margin: 0;
    font-weight: 600;
    cursor: default;
}

.single-product table.variations th.label label::after {
    content: ':';
}

.single-product .hec-sp-variation-heading-value {
    font-weight: 400;
    color: #374151;
}

.single-product table.variations td.value {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    position: relative;
    vertical-align: top;
}

/*
 * 首屏即隐藏原生变体下拉：胶囊由 footer 的 JS 注入，避免未执行脚本前闪现 select。
 * 使用 .hec-sp-summary__cart 限定为自定义单品模板区域；!important 压过 Woo 默认表单样式。
 */
.single-product .hec-sp-summary__cart table.variations td.value select[name^="attribute_"] {
    position: absolute !important;
    left: 0;
    top: 0;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    pointer-events: none !important;
}

.single-product .hec-sp-summary__cart table.variations td.value {
    min-height: 48px;
}

/* 变体属性：下拉改为胶囊按钮 */
.single-product .hec-sp-variation-select-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.single-product .hec-sp-variation-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}

.single-product .hec-sp-variation-pill {
    box-sizing: border-box;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.single-product .hec-sp-variation-pill:hover {
    border-color: #9ca3af;
}

.single-product .hec-sp-variation-pill.is-active {
    border-width: 2px;
    border-color: #111827;
    padding: 0 21px;
    margin: -1px;
}

/* 覆盖主题/Elementor 等在变体表或购物车表单上的灰底（如 #f2f2f2） */
.single-product .hec-sp-native-attributes,
.single-product .hec-sp-native-attributes table.shop_attributes,
.single-product .hec-sp-native-attributes tr,
.single-product .hec-sp-native-attributes th,
.single-product .hec-sp-native-attributes td,
.single-product .hec-sp-summary__cart,
.single-product .hec-sp-summary__cart form.cart,
.single-product .hec-sp-summary__cart form.variations_form,
.single-product .hec-sp-summary__cart table.variations,
.single-product .hec-sp-summary__cart table.variations tbody,
.single-product .hec-sp-summary__cart table.variations tr,
.single-product .hec-sp-summary__cart table.variations th,
.single-product .hec-sp-summary__cart table.variations td,
.single-product .hec-sp-summary__cart .single_variation_wrap,
.single-product .hec-sp-summary__cart .woocommerce-variation-add-to-cart {
    background: transparent !important;
}

.single-product .hec-sp-summary__cart {
    margin-top: 32px;
}

/* 变体表与按钮在同一 form 内：在加购区域（Woo 默认 .woocommerce-variation-add-to-cart / .variations_button）上推开间距 */
.single-product .hec-sp-summary__cart form.cart.variations_form .woocommerce-variation-add-to-cart,
.single-product .hec-sp-summary__cart form.cart.variations_form .variations_button {
    margin-top: 44px;
}

.single-product .hec-sp-summary__cart form.cart {
    margin: 0;
}

.single-product .hec-sp-summary__cart .quantity,
.single-product .hec-sp-summary__cart .reset_variations,
.single-product .hec-sp-summary__cart .stock,
.single-product .hec-sp-summary__cart .woocommerce-variation-description,
.single-product .hec-sp-summary__cart .woocommerce-variation-price {
    display: none !important;
}

.single-product .hec-sp-summary__cart form.cart .single_add_to_cart_button {
    width: 100%;
    min-height: 56px;
    border-radius: 999px;
    border: 0;
    background: #15161a;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    padding: 10px 22px;
}

.single-product .hec-sp-summary__cart form.cart .single_add_to_cart_button:hover {
    background: #0f1115;
}

.single-product .hec-sp-accordion {
    margin-top: 22px;
    border-top: 1px solid #e5e7eb;
}

.single-product .hec-sp-accordion__item {
    border-bottom: 1px solid #e5e7eb;
}

.single-product .hec-sp-accordion__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    padding: 16px 0;
    margin: 0;
    color: #111827;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.single-product .hec-sp-accordion__icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    transition: transform .2s ease;
}

.single-product .hec-sp-accordion__item.is-open .hec-sp-accordion__icon {
    transform: rotate(180deg);
}

.single-product .hec-sp-accordion__body {
    padding: 0 0 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.single-product .hec-sp-accordion__content p {
    margin: 0 0 10px;
}

.single-product .hec-sp-after {
    width: auto;
    margin-left: 8%;
    margin-right: 8%;
    margin-bottom: 40px;
}

.single-product .hec-sp-elementor-content {
    width: auto;
    margin-left: 8%;
    margin-right: 8%;
    margin-bottom: 40px;
}

@media (max-width: 1199px) {
    .single-product .hec-sp-hero {
        margin-top: 32px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .single-product .hec-sp-gallery__stage {
        aspect-ratio: 1 / 1;
    }

    .single-product .hec-sp-summary__title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .single-product .hec-sp-hero,
    .single-product .hec-sp-after,
    .single-product .hec-sp-elementor-content {
        margin-left: 16px;
        margin-right: 16px;
    }

    .single-product .hec-sp-gallery {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 10px;
    }

    .single-product .hec-sp-gallery__thumb {
        width: 56px;
        height: 56px;
    }

    .single-product .hec-sp-gallery__stage {
        aspect-ratio: 1 / 1;
    }

    .single-product .hec-sp-summary__title {
        font-size: 30px;
    }

    .single-product .hec-sp-summary__cart form.cart .single_add_to_cart_button {
        font-size: 24px;
        min-height: 52px;
    }

    .single-product .hec-sp-accordion__head {
        font-size: 24px;
        padding: 14px 0;
    }
}

/* Woo 分类页：列表区域与 Banner 同宽（左右8%） */
.post-type-archive-product .woocommerce,
.tax-product_cat .woocommerce,
.tax-product_tag .woocommerce {
    max-width: none;
}

.tax-product_cat .woocommerce-breadcrumb,
.tax-product_cat .woocommerce-products-header,
.tax-product_cat .woocommerce-notices-wrapper,
.tax-product_cat .woocommerce-result-count,
.tax-product_cat .woocommerce-ordering,
.tax-product_cat ul.products,
.tax-product_cat nav.woocommerce-pagination {
    width: auto;
    margin-left: 8%;
    margin-right: 8%;
}

/* 分类名称（保留系统标题） */
.tax-product_cat .woocommerce-products-header__title.page-title {
    margin: 0 0 22px;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 600;
}

/* 面包屑与排序条间距 */
.tax-product_cat .woocommerce-breadcrumb {
    margin-top: 8px;
    margin-bottom: 24px;
}

.tax-product_cat .woocommerce-result-count,
.tax-product_cat .woocommerce-ordering {
    margin-bottom: 20px;
}

/* PC端一行4个 */
.tax-product_cat ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 28px;
}

.tax-product_cat ul.products::before,
.tax-product_cat ul.products::after {
    display: none;
}

.tax-product_cat ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.tax-product_cat ul.products li.product a img {
    width: 100%;
    height: auto;
    display: block;
}

/* 保留分页并与内容同宽 */
.tax-product_cat nav.woocommerce-pagination {
    margin-top: 26px;
    margin-bottom: 36px;
}

@media (max-width: 1200px) {
    .tax-product_cat ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .tax-product_cat ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tax-product_cat .woocommerce-products-header__title.page-title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .tax-product_cat .woocommerce-breadcrumb,
    .tax-product_cat .woocommerce-products-header,
    .tax-product_cat .woocommerce-notices-wrapper,
    .tax-product_cat .woocommerce-result-count,
    .tax-product_cat .woocommerce-ordering,
    .tax-product_cat ul.products,
    .tax-product_cat nav.woocommerce-pagination {
        margin-left: 16px;
        margin-right: 16px;
    }

    .tax-product_cat ul.products {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .tax-product_cat .woocommerce-products-header__title.page-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
}

