.col-page-product {
    padding: 40px 0 0;
    background: #fff;
}

.product-list-section {
    padding-bottom: 80px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.product-sidebar {
    border: 1px solid rgba(15, 36, 28, 0.12);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

.product-sidebar-title {
    margin: 0;
    height: 115px;
    line-height: 115px;
    background: var(--gm-theme);
    color: #fff;
    font-size:var(--f36);
    font-weight: 500;
        border-radius: 20px;
        text-align: center;
}

.product-category-list {
    list-style: none;
    margin: 0;
    padding: 14px 0 25px;
}

.product-category-item {
    border-bottom: 1px solid rgba(15, 36, 28, 0);
}

.product-category-item:last-child {
    border-bottom: none;
}

.product-category-link {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 25px 25px 10px;
    color: #575757;
    text-decoration: none;
    font-size: var(--f20);
    transition: color 0.25s ease, background-color 0.25s ease;
    align-items: center;
    gap: 12px;
}

.product-category-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}

.product-category-mark {
    display: inline-block;
    width: 16px;
    font-size:var(--f20);
    line-height: 1;
    color: var(--gm-theme);
    flex: 0 0 auto;
    opacity: 0;
}

.product-category-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 10px;
}

.product-category-arrow {
    width: 18px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color:  var(--gm-theme-grey);
    flex: 0 0 auto;
    transform: rotate(180deg);
    transition: transform 0.25s ease, color 0.25s ease;
}

.product-category-item.is-active > .product-category-link,
.product-category-link:hover {
    color: var(--gm-theme);
}
.product-category-item.is-active > .product-category-link {
    padding-bottom: 0px;
}

.product-category-link:hover .product-category-arrow,
.product-category-item.is-active > .product-category-link .product-category-arrow {
    color: var(--gm-theme);
}

.product-category-item.is-active > .product-category-link .product-category-arrow {
    transform: rotate(0deg);
}

.product-subcategory-list {
    list-style: none;
    margin-top: 15px;
  
}

.product-subcategory-item a {
    display: block;
    padding: 10px 50px  ;
    color:  var(--gm-theme-grey);
    text-decoration: none;
    font-size:var(--f16);
    line-height: 1.5;
}

.product-subcategory-item.is-active a,
.product-subcategory-item a:hover {
    color: var(--gm-theme);
}

.product-category-item.is-active .product-category-icons {
    justify-content: flex-end;
}

.product-category-item.is-active > .product-category-link .product-category-text {
    text-decoration: underline;
}

.product-category-item.is-active > .product-category-link .product-category-mark {
    opacity: 1;
}

.product-category-item.is-active {
    border-bottom-color: rgba(32, 181, 107, 0.65);
      padding: 0px 0 25px;
}

.product-main {
    min-width: 0;
}

.product-main-header {
    display: grid;
    margin-bottom: 70px;
}

.product-main-title {
    margin: 0;
    color: var(--gm-theme-deep);
    font-size: var(--f42);
    font-weight: 700;
}

.product-search {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(15, 36, 28, 0.12);
    border-radius: 999px;
    overflow: hidden;
    max-width: 420px;
}

.product-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 0 20px;
    height: 52px;
    font-size: var(--f18);
    outline: none;
}

.product-search-button {
    width: 58px;
    height: 52px;
    border: none;
    background: var(--gm-theme);
    color: #fff;
    cursor: pointer;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
    border-radius: 5px;
    background: #F9F9F9;
    border: 1px solid rgba(15, 36, 28, 0.08);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
    border-color: rgba(32, 181, 107, 0.26);
    box-shadow: 0 0 50px rgba(29, 162, 98, 0.2);
}

.product-card-image {
    aspect-ratio: 1 / 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
}

.product-card-image img {
    width: auto;
    height: auto;
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    display: block;
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 0 14px 0 14px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--gm-theme) 0%, var(--gm-theme-darker) 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.product-card-heading {
    flex: 1 1 auto;
    min-width: 0;
}

.product-card-title {
    margin: 0;
    color: #fff;
    font-size: var(--f18);
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-card-more {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    align-self: center;
    padding: 0 0 0 12px;
    min-height: 46px;
    color: #fff;
    font-size: var(--f14);
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.product-card-more-text {
    display: none;
    line-height: 1;
}

.product-card-more-mask {
    position: absolute;
    right: 0;
    top: -3px;
    width: 22%;
    height:10px;
    background: #F9F9F9;
       clip-path: polygon(0px 0, 100% 0, 100% 100%, 25px 100%, 0 0px);
    z-index: 1;
}

.product-card-more .iconfont {
    font-size: 10px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gm-theme);
    color: #fff;
    padding: 5px;
    box-sizing: border-box;
}

.product-card-specs {
    display: flex;
    flex-wrap: nowrap;
           gap: 5px;
    justify-content: space-between;
}

.product-card-spec {
    min-width: 0;
}

.product-card-spec-label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--f16);
    font-weight: 700;
}

.product-card-spec-value {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    word-break: break-word;
}

.product-content {
    margin-top: 40px;
    color: #3f4744;
    font-size: var(--f18);
    line-height: 1.8;
}

.product-advantages-section {
    padding: 80px 0 ;
    background: #F6F6F6;
}

.product-advantages-title {
    margin: 0 0 70px;
    color: var(--gm-theme-deep);
    font-size: var(--f60);
    font-weight: 500;
}

.product-advantages-swiper {
    overflow: hidden;
}

.product-advantages-swiper .swiper-slide {
    height: auto;
}

.product-advantages-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 60px 75px;
    border: 1px solid rgba(27, 163, 99, 0.35);
    border-radius: 24px;
    background: #fff;
}

.product-advantages-card-main {
    display: grid;
    align-content: start;
}

.product-advantages-card-head {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
}

.product-advantages-card-icon {
     border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: transparent;
    border: 1px solid rgba(43, 55, 49, 0.12);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 55%);
}

.product-advantages-card-icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f5f2;
    padding: 15px;
}

.product-advantages-card-icon img {
    width: 45px;
    height: 45px;
}
.product-advantages-card-heading{
    display: flex;
    flex-direction: column;
       justify-content: space-between;
       height: 100%;
}
.product-advantages-card-heading h3 {
    color: #043A1C;
    font-size: var(--f30);
    font-weight: 600;
}

.product-advantages-card-line {
    width: 80px;
    height: 4px;
    margin-top: 40px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gm-theme) 0%, rgba(27, 163, 99, 0) 100%);
}

.product-advantages-card-desc {
    color: var(--gm-theme-grey);
    font-size: var(--f18);
    margin-bottom: 90px;
}

.product-advantages-card-corner {
    width: min(100%, 280px);
    align-self: end;
    justify-self: end;
    overflow: hidden;
}

.product-advantages-card-corner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-advantages-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.product-advantages-prev,
.product-advantages-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--gm-theme-deep);
    background: #fff;
    color: var(--gm-theme-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    font-weight: 700;
    font-size: 20px;
}

.product-advantages-prev:hover,
.product-advantages-next:hover {
    background: var(--gm-theme);
    color: #fff;
    border-color: var(--gm-theme);
}

@media (min-width: 768px) {
    .product-advantages-section {
       padding: 170px 0 150px;
    }

    .product-advantages-card {
        grid-template-columns: minmax(0, 1fr) 260px;
        align-items: end;
        gap:120px;
    }

    .product-advantages-card-corner {
        width: 100%;
    }
}



.product-empty-state {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 40px 24px;
    border: 1px dashed rgba(15, 36, 28, 0.16);
    border-radius: 18px;
    background: #fafbf9;
    text-align: center;
}

.product-empty-title {
    margin: 0 0 12px;
    color: #111;
    font-size: var(--f28);
    line-height: 1.3;
    font-weight: 700;
}

.product-empty-text {
    margin: 0;
    max-width: 520px;
    color: var(--gm-theme-grey);
    font-size: var(--f18);
    line-height: 1.7;
}
@media (min-width: 557px) {
  .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
       
    }
    }
@media (min-width: 768px) {
    .col-page-product {
        padding: 90px 0 0;
    }

    .product-list-section {
        padding-bottom: 100px;
    }
 .product-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
       
    }
  
    .product-layout {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 75px;
        align-items: start;
    }

    .product-sidebar {
        position: sticky;
        top: 100px;
    }
    }
@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
       
    }
}
@media (min-width: 1200px) {
    .product-list-section {
        padding-bottom: 120px;
    }

     
    .product-layout {
        grid-template-columns: 345px minmax(0, 1fr);
        gap: 75px;
        align-items: start;
    }
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
         gap: 50px 30px;
    }
}