/*!
Theme Name: zippo
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
*/

@font-face {
  font-family: "Zippo Sans Regular";
  src: url("https://cdn.shopify.com/s/files/1/1295/7985/files/ZippoSans-Regular.woff2") format("woff2"),
       url("https://cdn.shopify.com/s/files/1/1295/7985/files/ZippoSans-Regular.woff") format("woff");
}  
@font-face {
  font-family: "Zippo Sans Bold";
  src: url("https://cdn.shopify.com/s/files/1/1295/7985/files/ZippoSans-Bold.woff2") format("woff2"),
       url("https://cdn.shopify.com/s/files/1/1295/7985/files/ZippoSans-Bold.woff") format("woff");
}  
@font-face {
  font-family: "Zippo Sans Headline";
  src: url("https://cdn.shopify.com/s/files/1/1295/7985/files/ZippoSans-Headline.woff2") format("woff2"),
       url("https://cdn.shopify.com/s/files/1/1295/7985/files/ZippoSans-Headline.woff") format("woff");
}

:root {
    --primary: #dd1229;
    --hover: #b60c1e;
    --title: #1a1b18;
    --text: rgba(26,27,24, 0.75);
    --white: #fff;
    --border-light: rgba(26, 27, 24, 0.1);
    --border-dark: #1a1b18;
    --border-gray: #a9aaa9;
    /* В фирменных шрифтах только латиница: кириллицу и армянский берут запасные шрифты. */
    --reg: "Zippo Sans Regular", "Noto Sans Armenian", Arial, Helvetica;
    --bold: "Zippo Sans Bold", "Montserrat", "Noto Sans Armenian", Arial, Helvetica;
    --heading: "Zippo Sans Headline", "Montserrat", "Noto Sans Armenian", Arial, Helvetica;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    line-height: calc(100% + 10px);
    text-underline-offset: 4px;
}

ul:last-child,
ol:last-child,
li:last-child,
p:last-child,
h1:last-child,
h2:last-child,
h3:last-child {
    padding-bottom: 0;
}

body {
    font-family: var(--reg), sans-serif;
    font-size: 16px;
    color: var(--text);
}

svg {
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    max-height: 100%;
}

a {
    color: inherit;
    transition: all 0.3s ease;
    text-underline-offset: 4px;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--title);
}

ul,
ol {
    margin: 0;
    padding-bottom: 20px;
}

ol, ul {
    padding-left: 20px;
}

li {
    padding-bottom: 12px;
    position: relative;
}

p {
    padding-bottom: 20px;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: inherit;
    transition: all 0.3s ease;
}

input {
    font-family: inherit;
    font-size: inherit;
    max-width: 100%;
    width: 100%;
    border: none;
}

input::placeholder {
    font-family: inherit;
    font-size: inherit;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

textarea {
    font-family: inherit;
    font-size: inherit;
    max-width: 100%;
    width: 100%;
}

textarea::placeholder {
    font-family: inherit;
    font-size: inherit;
}

strong {
    font-weight: 600;
}

h1,
h2,
h3 {
    color: var(--title);
    padding-bottom: 20px;
    line-height: calc(100% + 10px);
}

h1 {
    font-family: var(--heading);
    font-size: 40px;
}

h2 {
    font-family: var(--heading);
    font-size: 40px;
}

h3 {
    font-family: var(--heading);
    font-size: 18px;
}

form {
    max-width: 100%;
    width: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.header {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    max-width: 200px;
    width: 100%;
}

.header__actions {
    display: flex;
    gap: 15px;
}

.header__actions a, .header__actions button {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--title);
    transition: all 0s;
}

.header__actions a:hover .icon, .header__actions button:hover .icon {
    transform: scale(1.1);
}

.header__actions .icon {
    width: auto;
    height: 20px;
    transition: all 0s;
}

.open-cart {
    position: relative;
}

.open-cart .icon-cart--full {
    display: none;
    height: 23px;
}

.open-cart .icon-cart--empty {
    display: block;
}

.open-cart.open-cart--has-items .icon-cart--empty {
    display: none;
}

.open-cart.open-cart--has-items .icon-cart--full {
    display: block;
}

.open-cart__count {
    position: absolute;
    bottom: -3px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.open-cart__count[hidden] {
    display: none;
}

.nav {
    padding-top: 20px;
}

.top-menu {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 35px;
}

.top-menu li {
    padding-bottom: 0;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
}

.menu-item-has-children {
    padding-right: 20px;
}

.top-menu li:hover > a {
    color: var(--title);
}

.top-menu li.active > a {
    color: var(--title);
    text-decoration: underline;
}

.menu-arrow {
    position: absolute;
    right: 0;
    top: -2px;
    cursor: pointer;
}

.menu-arrow svg {
    width: 10px;
    height: 6px;
}

.sub-menu {
    display: none;
    position: absolute;
    background: var(--white);
    z-index: 5;
    list-style: none;
    border: 1px solid var(--border-light);
    min-width: 200px;
    padding: 10px 0;
    top: calc(100% + 5px);
}

.sub-menu a {
    padding: 8px 20px;
    display: flex;
}

.sub-menu a:hover {
    color: var(--title);
    text-decoration: underline;
}

/*СТР ТОВАРА*/

.product-page {
    padding-top: 35px;
}

.product__top {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.product-gallery {
    position: sticky;
    max-width: 385px;
    width: 100%;
    top: 0;
}

.product-gallery__img {
    border: 1px solid var(--border-light);
    width: 100%;
    height: 385px;
    overflow: hidden;
}

.product-gallery__img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-gallery__nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.product-gallery__btn {
    background: none;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

/*.product-gallery__btn img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*}*/

.product-gallery__btn.is-active {
    border-color: var(--border-dark);
}

.product__info {
    flex: 1;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 15px 0;
}

.icon-home {
    font-size: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.product_meta.sku {
    margin-bottom: 20px;
}

.price {
    font-size: 18px;
    color: var(--title);
}

.single_add_to_cart_button {
    background: var(--primary);
    color: var(--white);
    font-size: 15px;
    height: 47px;
    max-width: 440px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: .1rem;
    border-radius: 5px;
}

.single_add_to_cart_button:hover {
    background: var(--hover);
}

.single-product form.cart .quantity label {
    display: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity {
    display: flex;
    height: 47px;
    border: 1px solid var(--border-dark);
    width: max-content;
    margin-bottom: 20px;
}

.quantity button {
    width: 45px;
    height: 100%;
    background: var(--white);
}

.quantity input {
    width: 50px;
    height: 100%;
    text-align: center;
}

.woocommerce-product-details__short-description {
    margin-top: 25px;
}

.product__description {
    padding-top: 50px;
    margin-top: 50px;
    border-top: 1px solid var(--border-light);
}

.product-table {
    padding-top: 50px;
    margin-top: 50px;
    border-top: 1px solid var(--border-light);
}

.product-table__block {
    overflow: auto;
    border: 1px solid #D5D6D7;
}

.product-table table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border-style: hidden;
}

.product-table th {
    font-weight: bold;
}

.product-table th,
.product-table td  {
    border: 1px solid #D5D6D7;
    background-color: #fff;
    padding: 10px;
    text-align: center;
}

.product-note {
    padding: 24px;
    margin-top: 15px;
    background: #ffebeb;
    border: 1px solid #d3e7f5;
    border-radius: 4px;
}


/*СПИСОК ТОВАРОВ*/

.cat-page__row {
    display: flex;
    gap: 30px;
}

.cat-page__filter {
    position: sticky;
    top: 0;
    max-width: 260px;
    width: 100%;
}

.cat-page__products {
    flex: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    flex: 1;
}

.product-item {
    border: 1px solid var(--border-light);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-item__img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 170 / 219;
    padding: 15px;
    overflow: hidden;
}
.product-item__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-item h3 {
    font-size: 13px;
}

.product-item .price {
    display: block;
    color: var(--title);
    margin-top: 7px;
}

.add_to_cart_button {
    background: var(--primary);
    color: var(--white);
    font-size: 15px;
    height: 45px;
    max-width: 440px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: .1rem;
    border-radius: 5px;
}

.add_to_cart_button:hover {
    background: var(--hover);
    text-decoration: none;
    color: var(--white);
}

.product-item__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.page-header {
    padding: 30px 0;
    background: #fafafa;
}

.page-header__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 10px 6px;
    color: var(--text);
    background-color: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 0;
    padding: 0 20px;
}

.cats-nav__select {
    max-width: 255px;
    width: 100%;
    height: 45px;
}

.cat-page__wrapper {
    padding: 36px 0;
}

.shop-toolbar {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    align-items: center;
    flex-direction: row-reverse;
    margin-bottom: 20px;
}

.shop-toolbar .woocommerce-result-count {
    padding-bottom: 0;
    font-family: var(--heading);
    font-size: 14px;
}

.woocommerce-ordering {
    display: flex;
    width: max-content;
    gap: 10px;
    align-items: flex-end;
}

.woocommerce-ordering p {
    padding: 0;
    font-family: var(--heading);
    font-size: 14px;
}

.woocommerce-ordering select {
    border: none;
    max-width: 130px;
    width: 100%;
    font-size: 12px;
    padding: 0 10px;
    background-position: right 0 center;
    height: 21px;
}

.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background: none !important;
}

.added_to_cart.wc-forward {
    display: none !important;
}

.cat-page__row--collections {
    display: block;
}

.collections-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
}

.collection-cat__link {
    display: block;
    color: var(--title);
    text-decoration: none;
}

.collection-cat__link:hover {
    text-decoration: none;
    color: var(--title);
}

.collection-cat__img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 20px;
    border: 1px solid var(--border-light);
    background: #fff;
    margin-bottom: 12px;
}

.collection-cat__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.collection-cat__title {
    font-family: var(--heading);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--title);
}

.collection-cat__arrow {
    margin-left: 4px;
}

@media (max-width: 1024px) {
    .collections-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .collections-cats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/*ФИЛЬТЕР*/

.bapf_ckbox_sqchck input[type=checkbox] {
    border: 1px solid var(--border-gray);
}

.bapf_hascolarr {
    font-size: 14px;
    color: var(--text);
    font-family: var(--reg);
    font-weight: 400;
    margin-bottom: 15px;
    cursor: pointer;
}

.bapf_hascolarr:hover {
    text-decoration: underline;
}

.bapf_colaps_smb:before {
    display: none;
}

.bapf_colaps_smb {
    width: 10px;
    height: 6px;
    display: inline-block;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' fill-rule='evenodd' d='M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' fill-rule='evenodd' d='M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bapf_colaps_smb.fa-chevron-up {
    transform: rotate(180deg);
}

.bapf_sfilter {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    margin: 0;
}

.bapf_sfilter ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.bapf_sfilter label {
    font-size: 14px;
}

.bapf_sfilter label:hover {
    text-decoration: underline;
}

.bapf_sfilter.bapf_ckbox input[type=checkbox] {
    margin-right: 0;
}

.bapf_ckbox_sqchck input[type=checkbox] {
    width: 16px;
    height: 16px;
}

.bapf_sfilter ul li.checked input[type=checkbox] {
    border-color: var(--border-dark);
}

.bapf_sfilter ul li.checked label {
    color: var(--title);
}

.bapf_ckbox_sqchck input[type=checkbox]:checked:after {
    width: 12px;
    height: 9px;
    display: inline-block;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' fill-rule='evenodd' d='M11.35.643a.5.5 0 0 1 .006.707l-6.77 6.886a.5.5 0 0 1-.719-.006L.638 4.845a.5.5 0 1 1 .724-.69l2.872 3.011 6.41-6.517a.5.5 0 0 1 .707-.006z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' fill-rule='evenodd' d='M11.35.643a.5.5 0 0 1 .006.707l-6.77 6.886a.5.5 0 0 1-.719-.006L.638 4.845a.5.5 0 1 1 .724-.69l2.872 3.011 6.41-6.517a.5.5 0 0 1 .707-.006z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
    border: none;
    top: 2px !important;
    left: 1px !important;
    transform: rotate(0) !important;
}

.berocket_single_filter_widget_142 .bapf_head {
    display: none;
}

.cat-page__filter-title h3 {
    font-size: 15px;
}

.berocket_single_filter_widget_142 .berocket_aapf_widget_selected_area:not(:has(div)) {
    display: none !important;
}

.bapf-sfa-grey-rounded[data-name="Filter:"] .berocket_aapf_widget_selected_area {
    display: block;
}

.berocket_single_filter_widget_142 .bapf_sfa_unall {
    right: 0;
    top: 0;
    position: absolute;
}

.berocket_single_filter_widget_142 .bapf_sfa_unall a {
    color: #dd1229d9 !important;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 400 !important;
    font-family: var(--reg);
}

.berocket_single_filter_widget_142 .bapf_sfa_unall a:hover {
    text-decoration-thickness: .2rem;
}

.bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area .bapf_sfa_taxonomy span {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.bapf_sfa_taxonomy a {
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: var(--reg) !important;
    padding: 3px 25px 3px 10px !important;
    border: 1px solid var(--border-light) !important;
    text-decoration: none !important;
}

.bapf_sfa_taxonomy a:hover {
    text-decoration: none !important;
    border-color: var(--border-gray) !important;
}

.bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area .berocket_aapf_widget_selected_filter {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: column !important;
    align-items: flex-start;
}

.bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area li a:before {
    content: "";
    width: 14px;
    height: 14px;
    display: block;
    position: absolute;
    right: 5px;
    top: 8px;
    transform: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 12 13'%3E%3Cpath stroke='%231a1b18' stroke-linecap='round' stroke-linejoin='round' d='M8.486 9.33 2.828 3.67M2.885 9.385l5.544-5.77'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    rotate: 0deg;
    color: var(--title);
}

/*КОРЗИНА*/

.xoo-wsc-qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    height: 28px;
    width: max-content;
}

.xoo-wsc-chng {
    height: 100%;
    background: #fff;
    padding: 4px 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xoo-wsc-qty {
    width: 40px;
    padding: 4px;
    text-align: center;
    font-size: 14px;
    border: none;
    outline: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.xoo-wsch-section {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

.xoo-wsch-section a {
    color: var(--primary);
    text-decoration: underline;
}

.xoo-wsc-body {
    background-color: #fff;
}

.xoo-wsc-products:not(.xoo-wsc-pattern-card) .xoo-wsc-product {
    padding: 28px;
    border-bottom: 1px solid #eaeaea;
    box-shadow: none;
    margin: 0;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn, .xoo-wsc-container .xoo-wsc-btn {
    color: var(--white);
    background: var(--primary);
    height: 50px;
    font-size: 15px;
    border: none;
    font-weight: bold;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:hover, .xoo-wsc-container .xoo-wsc-btn:hover {
    opacity: .8;
    color: var(--white) !important;
    background: var(--primary);
    border: none;
}

.xoo-wsc-btn .amount {
    color: var(--white) !important;
}

.xoo-wsch-text {
    font-size: 18px;
}

a.xoo-wsc-ft-btn-checkout .amount:before {
    content: "•";
}

a.xoo-wsc-ft-btn-checkout .amount {
    font-style: normal;
}

.xoo-wsc-footer {
    box-shadow: none;
    background: #f6f6f7;
    padding: 23px;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

/* СТР КОРЗИНЫ */

.woocommerce-cart .woocommerce {
    max-width: 100%;
}

.cart-page {
    padding: 40px 15px 80px;
}

.cart-page__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.cart-page__title {
    font-family: var(--heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--title);
}

.cart-page__continue {
    color: var(--primary);
    font-size: 14px;
    text-decoration: underline;
    white-space: nowrap;
}

.cart-page__cols {
    display: grid;
    grid-template-columns: 1fr 180px 120px;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.cart-page__cols span:nth-child(2) {
    text-align: center;
}

.cart-page__cols span:nth-child(3) {
    text-align: right;
}

.cart-page__item {
    display: grid;
    grid-template-columns: 1fr 180px 120px;
    gap: 20px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-page__product {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.cart-page__thumb {
    width: 88px;
    flex-shrink: 0;
}

.cart-page__thumb img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.cart-page__name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--title);
    text-decoration: none;
    margin-bottom: 6px;
}

.cart-page__unit-price {
    font-size: 14px;
    color: var(--text);
}

.cart-page__qty-col {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cart-page .quantity {
    height: 28px;
    margin-bottom: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.cart-page .quantity button {
    width: 32px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    border: none;
}

.cart-page .quantity input {
    width: 40px;
    font-size: 14px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.cart-page__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
}

.cart-page__remove:hover {
    opacity: 0.7;
}

.cart-page__subtotal {
    text-align: right;
    font-size: 15px;
    font-weight: 600;
    color: var(--title);
}

.cart-page__actions {
    display: none;
}

.cart-page__summary {
    margin-top: 40px;
    margin-left: auto;
    max-width: 420px;
}

.cart-page__totals {
    width: 100%;
}

.cart-page__estimated {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.cart-page__estimated-label {
    font-size: 20px;
    font-weight: 600;
    color: var(--title);
}

.cart-page__estimated-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--title);
}

.cart-page__note {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 24px;
}

.cart-page__checkout {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    text-decoration: none;
}

.cart-page .wc-proceed-to-checkout {
    padding: 0;
}

@media (max-width: 768px) {
    .cart-page__cols {
        display: none;
    }

    .cart-page__item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cart-page__qty-col {
        justify-content: flex-start;
    }

    .cart-page__subtotal {
        text-align: left;
    }

    .cart-page__summary {
        max-width: 100%;
    }
}


.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
    display: none;
}

/* CHECKOUT */

.wc-block-components-address-form__country,
.wc-block-components-country-input {
    display: none !important;
}

/* ORDER RECEIVED */

.order-page {
    padding: 40px 15px 80px;
    max-width: 760px;
}

.order-page__hero {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}

.order-page__title {
    font-family: var(--heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--title);
    line-height: 1.2;
    margin-bottom: 8px;
}

.order-page__subtitle {
    font-size: 15px;
    color: var(--text);
}

.order-page__meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    list-style: none;
    margin: 0 0 36px;
    padding: 24px;
    background: #f8f8f7;
    border: 1px solid var(--border-light);
}

.order-page__meta li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-page__meta-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.order-page__meta strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--title);
}

.order-page__content > p {
    font-size: 14px;
    color: var(--text);
    margin: 0 0 24px;
}

.order-page__section {
    margin-bottom: 32px;
}

.order-page__section-title,
.woocommerce-order-details__title,
.woocommerce-column__title {
    font-family: var(--heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--title);
    margin-bottom: 16px;
}

.order-page .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
}

.order-page .woocommerce-table--order-details th,
.order-page .woocommerce-table--order-details td {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    font-size: 14px;
}

.order-page .woocommerce-table--order-details thead th {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 400;
    border-bottom: 1px solid var(--border-dark);
}

.order-page .woocommerce-table--order-details .product-total,
.order-page .woocommerce-table--order-details tfoot td {
    text-align: right;
}

.order-page .woocommerce-table--order-details tfoot th {
    font-weight: 600;
    color: var(--title);
}

.order-page .woocommerce-table--order-details .order-total th,
.order-page .woocommerce-table--order-details .order-total td {
    font-size: 16px;
    font-weight: 600;
    border-bottom: none;
    padding-top: 18px;
}

.order-page .woocommerce-customer-details address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: var(--title);
    padding: 20px;
    border: 1px solid var(--border-light);
    background: #fff;
}

.order-page .woocommerce-customer-details p {
    margin-top: 8px;
    color: var(--text);
}

.order-page__footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.order-page__link {
    color: var(--primary);
    font-size: 14px;
    text-decoration: underline;
}

.order-page__hero--failed .woocommerce-notice {
    margin-top: 12px;
}

.order-page .woocommerce-thankyou-order-failed-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .order-page__meta {
        grid-template-columns: 1fr;
    }
}


/* MY ACCOUNT */

.woocommerce-account .woocommerce {
    max-width: 100%;
}

.account-page {
    padding: 40px 15px 80px;
}

.account-page__layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

.account-page__title,
.account-page__section-title {
    font-family: var(--heading);
    font-weight: 400;
    color: var(--title);
}

.account-page__title {
    font-size: 32px;
    margin-bottom: 12px;
}

.account-page__section-title {
    font-size: 22px;
    margin-bottom: 20px;
}

.account-page__greeting,
.account-page__desc,
.account-page__order-status {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
}

.account-page__greeting {
    margin-bottom: 8px;
}

.account-page__desc a,
.account-page__greeting a,
.account-page .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button) {
    color: var(--primary);
    text-decoration: underline;
}

.account-page__welcome {
    margin-bottom: 8px;
}

.account-page__order-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.account-page__order-status mark {
    background: none;
    color: var(--title);
    font-weight: 600;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border-light);
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    color: var(--title);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce-MyAccount-navigation li:last-child a {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background: #f8f8f7;
    color: var(--primary);
}

.woocommerce-MyAccount-content {
    min-width: 0;
    font-size: 15px;
}

.woocommerce-MyAccount-content > p {
    margin-bottom: 16px;
    line-height: 1.5;
}

.account-page .woocommerce-orders-table,
.account-page .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
}

.account-page .woocommerce-orders-table th,
.account-page .woocommerce-orders-table td,
.account-page .woocommerce-table--order-details th,
.account-page .woocommerce-table--order-details td {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
}

.account-page .woocommerce-orders-table thead th,
.account-page .woocommerce-table--order-details thead th {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 400;
    border-bottom: 1px solid var(--border-dark);
}

.account-page .woocommerce-orders-table .woocommerce-orders-table__cell-order-total,
.account-page .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions,
.account-page .woocommerce-table--order-details .product-total,
.account-page .woocommerce-table--order-details tfoot td {
    text-align: right;
}

.account-page .woocommerce-orders-table a {
    color: var(--title);
    font-weight: 600;
}

.account-page .woocommerce-orders-table a:hover {
    color: var(--primary);
}

.account-page .woocommerce-Address {
    padding: 24px;
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.account-page .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.account-page .woocommerce-Address-title h2 {
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--title);
    margin: 0;
}

.account-page .woocommerce-Address-title .edit {
    font-size: 13px;
    color: var(--primary);
    text-decoration: underline;
}

.account-page .woocommerce-Address address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: var(--title);
}

.account-page .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.account-page .woocommerce-Addresses .woocommerce-Address {
    margin-bottom: 0;
}

.account-page .woocommerce-form-row {
    margin-bottom: 18px;
}

.account-page .woocommerce-form-row label {
    display: block;
    font-size: 13px;
    color: var(--title);
    margin-bottom: 6px;
}

.account-page .woocommerce-form-row .required {
    color: var(--primary);
}

.account-page .input-text,
.account-page select,
.account-page textarea {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--reg), sans-serif;
    font-size: 14px;
    color: var(--title);
    background: #fff;
}

.account-page textarea {
    height: auto;
    min-height: 100px;
    padding: 12px 14px;
}

.account-page .form-row-first,
.account-page .form-row-last {
    width: calc(50% - 10px);
    display: inline-block;
    vertical-align: top;
}

.account-page .form-row-first {
    margin-right: 20px;
}

.account-page fieldset {
    border: 1px solid var(--border-light);
    padding: 20px;
    margin: 24px 0;
}

.account-page fieldset legend {
    font-family: var(--heading);
    font-size: 18px;
    color: var(--title);
    padding: 0 8px;
}

.account-page .button,
.account-page .woocommerce-button {
    background: var(--primary);
    color: var(--white) !important;
    font-size: 14px;
    height: 44px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none !important;
    letter-spacing: 0.05em;
}

.account-page .button:hover,
.account-page .woocommerce-button:hover {
    background: var(--hover);
    color: var(--white) !important;
    text-decoration: none !important;
}

.account-page .woocommerce-orders-table .button,
.account-page .woocommerce-orders-table .woocommerce-button {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
}

.account-page .woocommerce-message,
.account-page .woocommerce-info,
.account-page .woocommerce-error,
.account-page .woocommerce-notice {
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    background: #f8f8f7;
    font-size: 14px;
    list-style: none;
}

.account-page .woocommerce-error {
    border-color: rgba(221, 18, 41, 0.3);
    background: #fff5f6;
}

.account-page .woocommerce-pagination {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.account-page__notes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-page__notes .woocommerce-OrderUpdate {
    padding: 16px 20px;
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
}

.account-page__notes .woocommerce-OrderUpdate-meta {
    font-size: 12px;
    color: var(--text);
    margin-bottom: 6px;
}

.account-page--auth {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.account-page--login-only,
.account-page--register-only,
.account-page--narrow {
    max-width: 480px;
}

.account-page__card {
    padding: 32px;
    border: 1px solid var(--border-light);
    background: #fff;
}

.account-page__card-title {
    font-family: var(--heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--title);
    margin-bottom: 24px;
}

.account-page__hint,
.woocommerce-privacy-policy-text {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.5;
}

.account-page__switch {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text);
}

.account-page__switch a {
    color: var(--primary);
    text-decoration: underline;
}

.account-page__login-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.account-page--auth .woocommerce-LostPassword {
    margin-top: 4px;
    font-size: 14px;
}

.account-page--auth .woocommerce-LostPassword a {
    color: var(--primary);
    text-decoration: underline;
}

.account-page--auth .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin: 0;
}

.account-page--auth .woocommerce-form-login__rememberme input {
    width: auto;
}

.account-page--auth .woocommerce-Button,
.account-page--auth .woocommerce-form-register__submit,
.account-page--auth .woocommerce-form-login__submit {
    width: 100%;
    max-width: 100%;
}

.account-page--auth .woocommerce-form-row label {
    display: block;
    font-size: 13px;
    color: var(--title);
    margin-bottom: 6px;
}

.account-page--auth .input-text {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--reg), sans-serif;
    font-size: 14px;
    color: var(--title);
    background: #fff;
}

.account-page--auth .woocommerce-Button,
.account-page--auth .button {
    background: var(--primary);
    color: var(--white) !important;
    font-size: 14px;
    height: 44px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none !important;
    letter-spacing: 0.05em;
}

.account-page--auth .woocommerce-Button:hover,
.account-page--auth .button:hover {
    background: var(--hover);
    color: var(--white) !important;
}

@media (max-width: 900px) {
    .account-page__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .account-page .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {
    .account-page .form-row-first,
    .account-page .form-row-last {
        width: 100%;
        margin-right: 0;
    }
}
/* Catalog pagination
--------------------------------------------- */

.woocommerce-pagination {
    margin: 48px 0 8px;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-pagination ul.page-numbers li {
    margin: 0;
}

.woocommerce-pagination li .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    background: #fff;
    color: var(--text);
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.woocommerce-pagination li a.page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.woocommerce-pagination li .page-numbers.current {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.woocommerce-pagination li .page-numbers.dots {
    min-width: 24px;
    padding: 0;
    border: none;
    background: none;
}

@media (max-width: 600px) {
    .woocommerce-pagination li .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Home banners
   -------------------------------------------------- */
.hero {
    padding: 40px 0 0;
}

.promo {
    padding: 60px 0;
}

.banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 340px;
    overflow: hidden;
    border-radius: 5px;
}

.banner__img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.banner:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    padding: 48px 44px;
}

.banner__text h1,
.banner__text h2,
.banner__text h3 {
    padding-bottom: 14px;
}

.banner__text p {
    padding-bottom: 12px;
}

.banner__text p:last-child {
    padding-bottom: 0;
}

.banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 14px 30px;
    border-radius: 5px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--bold), sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.banner__btn:hover {
    background: var(--hover);
    color: var(--white);
    text-decoration: none;
}

/* Первый экран — светлая подложка, тёмный текст */
.banner--hero {
    aspect-ratio: 1600 / 600;
    background: #efece5;
}

.banner--hero:before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.8) 34%, rgba(255, 255, 255, 0) 62%);
}

/* Большой рекламный баннер — тёмная подложка, светлый текст */
.banner--promo {
    min-height: 420px;
    background: var(--title);
}

.banner--promo:before {
    background: linear-gradient(90deg, rgba(26, 27, 24, 0.88) 0%, rgba(26, 27, 24, 0.7) 45%, rgba(26, 27, 24, 0.25) 100%);
}

.banner--promo .banner__content {
    max-width: 560px;
}

.banner--promo .banner__text,
.banner--promo .banner__text h1,
.banner--promo .banner__text h2,
.banner--promo .banner__text h3,
.banner--promo .banner__text a {
    color: var(--white);
}

@media (max-width: 900px) {
    .banner__content {
        max-width: 62%;
        padding: 36px 30px;
    }

    .banner--promo .banner__content {
        max-width: 70%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 20px;
    }

    .promo {
        padding: 36px 0;
    }

    .banner,
    .banner--hero,
    .banner--promo {
        display: block;
        min-height: 0;
        aspect-ratio: auto;
        border-radius: 0;
    }

    .banner:before {
        display: none;
    }

    .banner__img {
        position: relative;
        inset: auto;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .banner__content,
    .banner--promo .banner__content {
        max-width: 100%;
        padding: 24px 20px 28px;
    }

    .banner--promo .banner__content {
        background: var(--title);
    }

    .banner__text h1,
    .banner__text h2 {
        font-size: 28px;
    }

    .banner__btn {
        margin-top: 20px;
        width: 100%;
    }
}

/* Contacts page
   -------------------------------------------------- */
.contacts {
    padding: 50px 20px 70px;
}

.contacts__title {
    padding-bottom: 32px;
}

.contacts__subtitle {
    font-size: 24px;
    padding-bottom: 20px;
}

.contacts__row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contacts__col--info {
    flex: 1 1 320px;
    min-width: 280px;
}

.contacts__col--text {
    flex: 1 1 420px;
    min-width: 280px;
}

.contacts-card {
    padding: 28px 30px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
}

.contacts-card__item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.contacts-card__label {
    padding-bottom: 6px;
    font-family: var(--bold), sans-serif;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--title);
}

.contacts-card__value {
    padding-bottom: 4px;
    font-size: 16px;
    color: var(--title);
}

.contacts-card__value a:hover {
    color: var(--primary);
}

.contacts-card__note {
    padding-bottom: 0;
    font-size: 14px;
    color: var(--text);
}

.contacts-card__route {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--bold), sans-serif;
    font-size: 14px;
    color: var(--primary);
    text-decoration: underline;
}

.contacts-card__route:hover {
    color: var(--hover);
}

.contacts__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 12px;
}

.contacts__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--bold), sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.contacts__btn:hover {
    border-color: var(--hover);
    background: var(--hover);
    color: var(--white);
    text-decoration: none;
}

.contacts__btn--ghost {
    background: transparent;
    color: var(--primary);
}

.contacts__btn--ghost:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.contacts__map {
    margin-top: 50px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    overflow: hidden;
    line-height: 0;
}

.contacts__map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 900px) {
    .contacts__row {
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .contacts {
        padding: 30px 16px 50px;
    }

    .contacts__title {
        font-size: 30px;
        padding-bottom: 24px;
    }

    .contacts__subtitle {
        font-size: 20px;
    }

    .contacts-card {
        padding: 22px 20px;
    }

    .contacts__btn {
        width: 100%;
    }

    .contacts__map {
        margin-top: 32px;
    }

    .contacts__map iframe {
        height: 320px;
    }
}

/* Home popular collections
   -------------------------------------------------- */
.collections {
    padding: 60px 20px;
}

.collections__head h1,
.collections__head h2,
.collections__head h3 {
    padding-bottom: 24px;
}

.collections__head p {
    padding-bottom: 20px;
}

.collections__head p:last-child {
    padding-bottom: 24px;
}

.collections .collection-cat__title {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding-bottom: 0;
}

.collections .collection-cat__link:hover .collection-cat__arrow {
    color: var(--primary);
}

@media (max-width: 600px) {
    .collections {
        padding: 36px 16px;
    }

    .collections__head h1,
    .collections__head h2,
    .collections__head h3 {
        font-size: 28px;
        padding-bottom: 18px;
    }
}

/* Plain page text
   -------------------------------------------------- */
.page-text {
    padding: 50px 20px 70px;
}

.page-text__title {
    padding-bottom: 28px;
}

.page-text h2 {
    font-size: 24px;
    padding-top: 12px;
}

.page-text h3 {
    padding-top: 8px;
}

.page-text ul,
.page-text ol {
    padding-bottom: 20px;
}

.page-text > *:last-child {
    padding-bottom: 0;
}

@media (max-width: 600px) {
    .page-text {
        padding: 30px 16px 50px;
    }

    .page-text__title {
        font-size: 30px;
        padding-bottom: 20px;
    }

    .page-text h2 {
        font-size: 20px;
    }
}

/* Header nav: one row on desktop, burger below 1024px
   -------------------------------------------------- */
.header__top {
    gap: 20px;
}

.header__actions {
    align-items: center;
}

.header__actions .lang-switch {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 8px;
    order: -1;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.header__actions .lang-switch a,
.header__actions .lang-switch span {
    width: auto;
    height: auto;
    color: var(--text);
    text-decoration: none;
}

.header__actions .lang-switch a:hover {
    color: var(--primary);
    text-decoration: none;
}

.header__actions .lang-switch li {
    padding: 0;
}

.header__actions .lang-switch .current-lang a {
    font-family: var(--bold), sans-serif;
    color: var(--title);
}

.nav-toggle-cb {
    display: none;
}

.header__actions .nav-toggle {
    display: none;
    cursor: pointer;
    position: relative;
    order: 9;
    width: 24px;
    height: 18px;
    padding: 0;
    background: none;
}

.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--title);
    transition: all 0.3s ease;
}

.nav-toggle span {
    top: 8px;
}

.nav-toggle span:before {
    content: "";
    top: -7px;
}

.nav-toggle span:after {
    content: "";
    top: 7px;
}

.nav-toggle-cb:checked ~ .header__top .nav-toggle span {
    background: transparent;
}

.nav-toggle-cb:checked ~ .header__top .nav-toggle span:before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle-cb:checked ~ .header__top .nav-toggle span:after {
    top: 0;
    transform: rotate(-45deg);
}

.top-menu {
    flex-wrap: nowrap;
    gap: clamp(18px, 2.4vw, 35px);
}

.top-menu > li {
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .top-menu > li {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .header .container {
        padding: 0 16px;
    }

    .header__actions .nav-toggle {
        display: block;
    }

    .nav {
        display: none;
        padding-top: 0;
    }

    .nav-toggle-cb:checked ~ .nav {
        display: block;
    }

    .top-menu {
        flex-direction: column;
        gap: 0;
        margin-top: 15px;
        padding-top: 6px;
        border-top: 1px solid var(--border-light);
    }

    .top-menu > li {
        width: 100%;
        padding-right: 0;
        font-size: 14px;
        border-bottom: 1px solid var(--border-light);
    }

    .top-menu > li > a {
        display: block;
        padding: 14px 0;
    }

    .top-menu > li.menu-item-has-children > a {
        padding-right: 30px;
    }

    .top-menu > li > .menu-arrow {
        top: 18px;
        right: 6px;
    }

    .sub-menu {
        position: static;
        top: auto;
        min-width: 0;
        padding: 0 0 12px 16px;
        border: none;
    }

    .sub-menu a {
        padding: 8px 0;
    }
}

@media (max-width: 600px) {
    .header__top {
        gap: 12px;
    }

    .logo {
        max-width: 148px;
    }

    .header__actions {
        gap: 12px;
    }

    .header__actions .lang-switch {
        gap: 6px;
        font-size: 11px;
    }
}

/* Hero slider
   -------------------------------------------------- */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

/* Слайды сложены стопкой: перелистываются от уголка, как книга на айфоне. */
.hero-slider__track {
    display: grid;
}

.hero-slider__slide {
    grid-area: 1 / 1;
    min-width: 0;
    border-radius: 0;
    visibility: hidden;
}

.hero-slider__slide.is-active,
.hero-slider__slide.is-under {
    visibility: visible;
}

.hero-slider__slide.is-active {
    z-index: 2;
}

.hero-slider__slide.is-under {
    z-index: 1;
}

/* Изнанка отогнутого листа. По умолчанию треугольник вырожден в точку —
   элемент есть, но ничего не рисует. */
.hero-slider__curl {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(315deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 243, 237, 0.95) 10%, rgba(214, 210, 202, 0.93) 34%, rgba(166, 162, 154, 0.9) 68%, rgba(122, 119, 113, 0.88) 100%);
    clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
    filter: drop-shadow(-7px -7px 14px rgba(20, 18, 14, 0.38));
    pointer-events: none;
}

/* Линия сгиба — x + y = k, идёт от правого нижнего угла к левому верхнему.
   Плавность зашита в раскладку кадров: animation-timing-function в CSS действует
   между соседними кадрами, а не на всю анимацию, поэтому кривой её не задать.
   Сначала уголок неспешно цепляется, дальше лист смахивается. */
@keyframes page-peel {
    0% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 100% 100%, 0% 100%);
    }

    20% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 92%, 92% 100%, 0% 100%);
    }

    35% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 76%, 76% 100%, 0% 100%);
    }

    50% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 50% 100%, 0% 100%);
    }

    62% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 24%, 24% 100%, 0% 100%);
    }

    71% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 100%, 0% 100%);
    }

    82% {
        clip-path: polygon(0% 0%, 66% 0%, 66% 0%, 0% 66%, 0% 66%);
    }

    91% {
        clip-path: polygon(0% 0%, 34% 0%, 34% 0%, 0% 34%, 0% 34%);
    }

    100% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%);
    }
}

@keyframes page-peel-curl {
    0% {
        clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
    }

    20% {
        clip-path: polygon(100% 92%, 92% 100%, 92% 92%);
    }

    35% {
        clip-path: polygon(100% 76%, 76% 100%, 76% 76%);
    }

    50% {
        clip-path: polygon(100% 50%, 50% 100%, 50% 50%);
    }

    62% {
        clip-path: polygon(100% 24%, 24% 100%, 24% 24%);
    }

    71% {
        clip-path: polygon(100% 0%, 0% 100%, 0% 0%);
    }

    82% {
        clip-path: polygon(100% -34%, -34% 100%, -34% -34%);
    }

    91% {
        clip-path: polygon(100% -66%, -66% 100%, -66% -66%);
    }

    100% {
        clip-path: polygon(100% -100%, -100% 100%, -100% -100%);
    }
}

.hero-slider__slide.is-out {
    animation: page-peel 0.8s linear both;
    will-change: clip-path;
}

.hero-slider__slide.is-in {
    animation: page-peel 0.8s linear reverse both;
    will-change: clip-path;
}

.hero-slider.is-turning-out .hero-slider__curl {
    animation: page-peel-curl 0.8s linear both;
    will-change: clip-path;
}

.hero-slider.is-turning-in .hero-slider__curl {
    animation: page-peel-curl 0.8s linear reverse both;
    will-change: clip-path;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider__slide.is-out,
    .hero-slider__slide.is-in,
    .hero-slider.is-turning-out .hero-slider__curl,
    .hero-slider.is-turning-in .hero-slider__curl {
        animation: none;
    }
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--title);
    font-size: 26px;
    line-height: 1;
}

.hero-slider__arrow:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-slider__arrow--prev {
    left: 16px;
}

.hero-slider__arrow--next {
    right: 16px;
}

.hero-slider__dots {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    background: rgba(26, 27, 24, 0.25);
}

.hero-slider__dot.is-active {
    background: var(--primary);
}

@media (max-width: 600px) {
    .hero-slider {
        border-radius: 0;
    }

    .hero-slider__arrow {
        display: none;
    }

    .hero-slider__dots {
        position: static;
        padding: 14px 0 4px;
    }
}

/* Product banners
   -------------------------------------------------- */
.pbanners {
    padding: 60px 20px;
}

.pbanners__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pbanner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 5px;
}

.pbanner__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
}

.pbanner__img {
    position: absolute;
    top: 24px;
    left: 24px;
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.pbanner__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 28px 30px;
    background: #f2f2f2;
}

.pbanner__text h1,
.pbanner__text h2,
.pbanner__text h3 {
    font-size: 20px;
    padding-bottom: 10px;
}

.pbanner__text p {
    padding-bottom: 0;
}

.pbanner__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--primary);
    font-family: var(--bold), sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.pbanner__link:hover {
    color: var(--hover);
    text-decoration: none;
}

@media (max-width: 900px) {
    .pbanners__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .pbanners {
        padding: 36px 16px;
    }

    .pbanners__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pbanner__media {
        aspect-ratio: 4 / 3;
    }

    .pbanner__img {
        top: 18px;
        left: 18px;
        width: calc(100% - 36px);
        height: calc(100% - 36px);
    }

    .pbanner__body {
        padding: 20px 20px 24px;
    }
}

/* Blog
   -------------------------------------------------- */
.blog-latest {
    padding: 60px 20px 70px;
}

.blog-latest__head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 28px;
}

.blog-latest__title {
    padding-bottom: 0;
}

.blog-latest__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-family: var(--bold), sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.blog-latest__all:hover {
    color: var(--hover);
    text-decoration: none;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: 5px;
}

.post-card__img {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    background: #f2f2f2;
}

.post-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px 26px;
}

.post-card__date {
    padding-bottom: 8px;
    color: var(--text);
    font-size: 13px;
}

.post-card__title {
    padding-bottom: 10px;
    font-size: 17px;
}

.post-card__title a:hover {
    color: var(--primary);
    text-decoration: none;
}

.post-card__excerpt {
    padding-bottom: 0;
    font-size: 14px;
}

.post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--primary);
    font-family: var(--bold), sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.post-card__more:hover {
    color: var(--hover);
    text-decoration: none;
}

.blog-page {
    padding: 10px 0 20px;
}

@media (max-width: 900px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .blog-latest {
        padding: 36px 16px 46px;
    }

    .blog-latest__title {
        font-size: 28px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Home products (bestsellers, new)
   -------------------------------------------------- */
.home-products {
    padding: 60px 20px 10px;
}

.home-products__head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 28px;
}

.home-products__title {
    padding-bottom: 0;
}

.home-products__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-family: var(--bold), sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.home-products__all:hover {
    color: var(--hover);
    text-decoration: none;
}

@media (max-width: 900px) {
    .home-products .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .home-products {
        padding: 36px 16px 6px;
    }

    .home-products__title {
        font-size: 28px;
    }

    .home-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Trust
   -------------------------------------------------- */
.trust {
    padding: 60px 20px;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 24px;
    padding: 36px 30px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
}

.trust__icon {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    color: var(--primary);
}

.trust__title {
    padding-bottom: 8px;
    font-size: 16px;
}

.trust__text {
    padding-bottom: 0;
    font-size: 14px;
}

@media (max-width: 900px) {
    .trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .trust {
        padding: 36px 16px;
    }

    .trust__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 22px;
    }
}

/* CTA blocks (newsletter, corporate)
   -------------------------------------------------- */
.cta {
    padding: 20px 20px 60px;
}

.cta--news .cta__inner {
    padding: 44px 40px;
    border-radius: 5px;
    background: var(--title);
    text-align: center;
}

.cta--news .cta__title,
.cta--news .cta__text {
    color: var(--white);
}

.cta__title {
    padding-bottom: 10px;
    font-size: 28px;
}

.cta__text {
    padding-bottom: 22px;
    font-size: 15px;
}

.cta--news .cta__form {
    display: flex;
    justify-content: center;
}

.cta--news .cta__form form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 470px;
}

.cta--news .cta__form p {
    padding-bottom: 0;
}

.cta--corp .cta__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    padding: 40px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
}

.cta--corp .cta__col {
    flex: 1 1 320px;
    min-width: 280px;
}

.cta input[type="email"],
.cta input[type="text"],
.cta input[type="tel"],
.cta textarea {
    padding: 13px 16px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    background: var(--white);
    color: var(--title);
    font-size: 15px;
}

.cta--news input[type="email"] {
    min-width: 260px;
    flex: 1;
}

.cta--corp p {
    padding-bottom: 12px;
}

.cta--corp textarea {
    height: 110px;
}

.cta input[type="submit"] {
    padding: 13px 30px;
    border-radius: 5px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--bold), sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cta input[type="submit"]:hover {
    background: var(--hover);
}

.cta .wpcf7-not-valid-tip {
    padding-top: 4px;
    font-size: 13px;
}

.cta--news .wpcf7-response-output {
    margin: 14px 0 0;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

@media (max-width: 600px) {
    .cta {
        padding: 10px 16px 36px;
    }

    .cta__title {
        font-size: 24px;
    }

    .cta--news .cta__inner {
        padding: 30px 20px;
    }

    .cta--corp .cta__cols {
        gap: 26px;
        padding: 24px 20px;
    }

    .cta--news input[type="email"] {
        min-width: 0;
        width: 100%;
    }

    .cta input[type="submit"] {
        width: 100%;
    }
}

/* Mega menu (as on zippo.com)
   -------------------------------------------------- */
.nav {
    position: relative;
}

.top-menu > li {
    position: static;
}

.top-menu > li > .sub-menu {
    right: 0;
    left: 0;
    min-width: 0;
    padding: 28px 30px 22px;
    border-color: var(--border-light);
    box-shadow: 0 12px 24px rgba(26, 27, 24, 0.08);
}

.top-menu > li > .sub-menu > li {
    display: inline-block;
    min-width: 170px;
    margin-right: 40px;
    padding-bottom: 16px;
    vertical-align: top;
}

.top-menu > li > .sub-menu > li > a {
    padding: 0 0 12px;
    color: var(--title);
    font-family: var(--bold), sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
}

.top-menu > li > .sub-menu > li > .menu-arrow {
    display: none;
}

.top-menu .sub-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

.top-menu .sub-menu .sub-menu a {
    padding: 6px 0;
    font-family: var(--reg), sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
}

@media (max-width: 1024px) {
    .top-menu > li > .sub-menu {
        padding: 4px 0 12px 16px;
        box-shadow: none;
    }

    .top-menu > li > .sub-menu > li {
        display: block;
        margin-right: 0;
        padding-bottom: 10px;
    }

    .top-menu > li > .sub-menu > li > a {
        padding-bottom: 6px;
    }
}


/* Menu arrows */
.top-menu > li.menu-item-has-children {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-right: 0;
}

.top-menu > li > .menu-arrow {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

/* Сама иконка 10x6 — мало для попадания, растягиваем зону клика. */
.top-menu > li > .menu-arrow::after {
    content: "";
    position: absolute;
    top: -14px;
    right: -10px;
    bottom: -14px;
    left: -10px;
}

.top-menu > li > .menu-arrow svg {
    display: block;
}

.top-menu > li.menu-item-has-children:hover > .menu-arrow {
    color: var(--title);
    transform: translateY(2px);
}

.top-menu > li.menu-item-has-children.active > .menu-arrow,
.top-menu > li.menu-item-has-children.active:hover > .menu-arrow {
    color: var(--title);
    transform: rotate(180deg);
}

/* Заголовки колонок в панели раскрыты всегда — стрелка там не нужна. */
.top-menu .sub-menu .menu-arrow {
    display: none;
}

.top-menu .sub-menu .menu-item-has-children {
    padding-right: 0;
}

@media (max-width: 1024px) {
    .top-menu > li.menu-item-has-children {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* В разметке стрелка идёт после подменю, а тут подменю в потоке — задаём порядок явно. */
    .top-menu > li.menu-item-has-children > a {
        order: 1;
        padding-right: 0;
    }

    .top-menu > li > .menu-arrow {
        order: 2;
        top: auto;
        right: auto;
        padding: 12px 4px 12px 14px;
    }

    .top-menu > li > .sub-menu {
        order: 3;
        flex-basis: 100%;
        width: 100%;
    }
}


/* Desktop: меню раскрывается по наведению. */
/* hover: hover — чтобы на планшетах в альбомной ориентации остался тап. */
@media (min-width: 1025px) and (hover: hover) {
    /* Без зазора: иначе курсор проваливается между пунктом и панелью и меню закрывается. */
    .top-menu > li > .sub-menu {
        top: 100%;
        display: none !important;
    }

    .top-menu > li.menu-item-has-children:hover > .sub-menu {
        display: block !important;
    }

    .top-menu > li.menu-item-has-children:hover > a {
        color: var(--title);
        text-decoration: underline;
    }

    .top-menu > li.menu-item-has-children:hover > .menu-arrow {
        color: var(--title);
        transform: rotate(180deg);
    }

    /* Класс остаётся от мобильного аккордеона при смене ширины окна. */
    .top-menu > li.active > a {
        text-decoration: none;
    }
}


/* Hero: крупный первый экран во всю ширину окна, как на zippo.de */
.hero {
    padding: 0;
}

.hero > .container {
    max-width: none;
}

.hero-slider,
.hero-slider__slide {
    border-radius: 0;
}

.banner--hero {
    align-items: flex-end;
    aspect-ratio: auto;
    min-height: 720px;
}

/* Затемнение снизу: фото бывает светлым, иначе белый текст не читается. */
.banner--hero:before {
    background: linear-gradient(to top, rgba(12, 12, 11, 0.72) 0%, rgba(12, 12, 11, 0.38) 30%, rgba(12, 12, 11, 0.08) 60%, rgba(12, 12, 11, 0) 100%);
}

.banner--hero .banner__content {
    max-width: 660px;
    padding: 50px;
}

.banner--hero .banner__text,
.banner--hero .banner__text h1,
.banner--hero .banner__text h2,
.banner--hero .banner__text h3,
.banner--hero .banner__text p {
    color: var(--white);
}

.banner--hero .banner__text h1 {
    font-size: 52px;
}

.banner--hero .banner__text p {
    font-size: 17px;
}

/* Точки уводим вправо, по центру они наезжают на кнопку. */
.hero-slider__dots {
    right: 50px;
    bottom: 30px;
    left: auto;
}

.hero-slider__dot {
    background: rgba(255, 255, 255, 0.45);
}

.hero-slider__dot.is-active {
    background: var(--white);
}

@media (max-width: 1200px) {
    .banner--hero {
        min-height: 560px;
    }

    .banner--hero .banner__text h1 {
        font-size: 44px;
    }
}

@media (max-width: 900px) {
    .banner--hero {
        min-height: 480px;
    }

    .banner--hero .banner__content {
        max-width: 100%;
        padding: 36px 30px;
    }

    .hero-slider__dots {
        right: 30px;
        bottom: 20px;
    }
}

@media (max-width: 600px) {
    /* Текст остаётся поверх фото, а не стопкой «картинка сверху, подпись снизу». */
    .banner--hero {
        display: flex;
        min-height: 460px;
        aspect-ratio: auto;
    }

    /* Текста на узком экране больше, а фото ниже — затемняем сильнее. */
    .banner--hero:before {
        display: block;
        background: linear-gradient(to top, rgba(12, 12, 11, 0.8) 0%, rgba(12, 12, 11, 0.62) 42%, rgba(12, 12, 11, 0.24) 72%, rgba(12, 12, 11, 0) 100%);
    }

    .banner--hero .banner__img {
        position: absolute;
        inset: 0;
        height: 100%;
        aspect-ratio: auto;
    }

    .banner--hero .banner__content {
        padding: 28px 16px;
    }

    .banner--hero .banner__text h1 {
        font-size: 30px;
    }

    .hero-slider__dots {
        position: absolute;
        right: 16px;
        bottom: 14px;
        padding: 0;
    }
}


/* Корпоративные продажи с фото на фоне */
.cta--corp.cta--bg .cta__cols {
    position: relative;
    align-items: center;
    overflow: hidden;
    padding: 56px 48px;
    border: none;
    background-color: var(--title);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Затемнение: фон бывает любым, а текст поверх белый. */
.cta--corp.cta--bg .cta__cols:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 12, 11, 0.82) 0%, rgba(12, 12, 11, 0.55) 48%, rgba(12, 12, 11, 0.3) 100%);
}

.cta--corp.cta--bg .cta__col {
    position: relative;
    z-index: 1;
}

.cta--corp.cta--bg .cta__title,
.cta--corp.cta--bg .cta__text {
    color: var(--white);
}

/* Форма на своей подложке: иначе поля и подсказки теряются на фото. */
.cta--corp.cta--bg .cta__form {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    background: rgba(12, 12, 11, 0.55);
    backdrop-filter: blur(4px);
}

.cta--corp.cta--bg .cta__form p:last-of-type {
    padding-bottom: 0;
}

.cta--corp.cta--bg .wpcf7-response-output {
    margin: 14px 0 0;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.cta--corp.cta--bg .wpcf7-not-valid-tip {
    color: #ff8a94;
}

@media (max-width: 600px) {
    .cta--corp.cta--bg .cta__cols {
        padding: 26px 20px;
    }

    /* На узком экране колонки друг под другом — градиент вбок не работает. */
    .cta--corp.cta--bg .cta__cols:before {
        background: rgba(12, 12, 11, 0.82);
    }

    .cta--corp.cta--bg .cta__form {
        padding: 20px 16px;
    }
}


/* Появление блоков при скролле
   -------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* Угольки над первым экраном
   -------------------------------------------------- */
.hero-embers {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* Интерактивная зажигалка
   -------------------------------------------------- */
.lighter-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 26px;
}

.lighter {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 0;
}

.lighter__svg {
    width: 74px;
    height: auto;
    overflow: visible;
}

.lighter__lid {
    transform-box: fill-box;
    transform-origin: 2px 100%;
    transition: transform 0.5s cubic-bezier(0.5, -0.3, 0.4, 1.35);
}

/* Приоткрываем по наведению — подсказка, что с зажигалкой можно играть. */
.lighter:hover .lighter__lid,
.lighter:focus-visible .lighter__lid {
    transform: rotate(-28deg);
}

.lighter.is-lit .lighter__lid,
.lighter.is-lit:hover .lighter__lid {
    transform: rotate(-125deg);
}

.lighter__flame {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    opacity: 0;
    transform: scale(0.5, 0.1);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.lighter.is-lit .lighter__flame {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(255, 138, 0, 0.55));
    /* Наклон пламени за курсором задаёт JS через --flame-lean. */
    transform: rotate(var(--flame-lean, 0deg));
    animation: lighter-flicker 0.75s 0.25s infinite;
}

@keyframes lighter-flicker {
    0%,
    100% {
        transform: rotate(var(--flame-lean, 0deg)) scale(1, 1);
    }

    25% {
        transform: rotate(var(--flame-lean, 0deg)) scale(1.06, 1.12);
    }

    50% {
        transform: rotate(var(--flame-lean, 0deg)) scale(0.95, 0.9);
    }

    75% {
        transform: rotate(var(--flame-lean, 0deg)) scale(1.04, 1.06);
    }
}

.lighter__hint {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.lighter.is-lit ~ .lighter__hint {
    opacity: 0;
}

/* Карточка товара: вторая картинка и подъём
   -------------------------------------------------- */
.product-item {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.product-item__img {
    position: relative;
}

.product-item__img img {
    transition: opacity 0.45s ease;
}

/* inset у картинки не задаёт размер — заменяемому элементу нужны width/height. */
.product-item__img .product-item__img-hover {
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    opacity: 0;
}

@media (hover: hover) {
    .product-item:hover {
        position: relative;
        z-index: 1;
        border-color: rgba(26, 27, 24, 0.28);
        box-shadow: 0 10px 26px rgba(26, 27, 24, 0.12);
        transform: translateY(-3px);
    }

    .product-item:hover .product-item__img .product-item__img-hover {
        opacity: 1;
    }

    .product-item:hover .product-item__img > img:not(.product-item__img-hover) {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lighter__lid,
    .lighter__flame,
    .product-item,
    .product-item__img img {
        transition: none;
    }

    .lighter.is-lit .lighter__flame {
        animation: none;
        transform: none;
    }

    .product-item:hover {
        transform: none;
    }
}


/* Подарок по бюджету
   -------------------------------------------------- */
.budget {
    padding: 20px 20px 60px;
}

.budget__head {
    max-width: 560px;
    padding-bottom: 26px;
}

.budget__head p {
    color: var(--text);
    font-size: 15px;
}

.budget__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.budget-card {
    display: flex;
    flex-direction: column;
    gap: 34px;
    justify-content: space-between;
    padding: 26px 24px 22px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.budget-card:hover {
    border-color: rgba(26, 27, 24, 0.3);
    box-shadow: 0 10px 26px rgba(26, 27, 24, 0.12);
    transform: translateY(-3px);
    text-decoration: none;
}

.budget-card__range {
    color: var(--title);
    font-family: var(--heading);
    font-size: 21px;
    line-height: 1.25;
}

.budget-card__go {
    color: var(--primary);
    font-family: var(--bold), sans-serif;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .budget__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .budget {
        padding: 10px 16px 36px;
    }

    .budget__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .budget-card {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 16px 18px;
    }
}

/* Пожизненная гарантия
   -------------------------------------------------- */
.warranty {
    padding: 20px 20px 60px;
}

.warranty__inner {
    display: flex;
    gap: 34px;
    align-items: center;
    padding: 44px 48px;
    border-radius: 5px;
    background: var(--title);
}

.warranty__icon {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    color: var(--primary);
}

.warranty__title {
    padding-bottom: 10px;
    color: var(--white);
}

.warranty__text {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.warranty__note {
    padding-top: 12px;
    color: var(--primary);
    font-family: var(--bold), sans-serif;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .warranty {
        padding: 10px 16px 36px;
    }

    .warranty__inner {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        padding: 28px 20px;
    }

    .warranty__icon {
        flex-basis: auto;
        width: 56px;
        height: 56px;
    }
}

/* Живой поиск в шапке
   -------------------------------------------------- */
.header {
    position: relative;
}

.search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 30;
    padding: 14px 0 18px;
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(26, 27, 24, 0.1);
}

.search-panel__form {
    display: flex;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-panel__input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    color: var(--title);
    font-size: 16px;
}

.search-panel__input:focus {
    border-color: var(--title);
}

.search-panel__results {
    max-width: 720px;
    margin: 10px auto 0;
    padding: 0 20px;
    max-height: min(56vh, 460px);
    overflow: auto;
}

.search-hit {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 9px 8px;
    border-radius: 5px;
    text-decoration: none;
}

.search-hit:hover,
.search-hit.is-active {
    background: rgba(26, 27, 24, 0.05);
    text-decoration: none;
}

.search-hit__img {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.search-hit__name {
    flex: 1;
    color: var(--title);
    font-size: 14px;
}

.search-hit__price {
    color: var(--title);
    font-size: 14px;
    white-space: nowrap;
}

.search-hit__price del {
    padding-right: 6px;
    color: var(--text);
}

.search-hit__price ins {
    text-decoration: none;
}

.search-panel__all,
.search-panel__empty {
    display: block;
    padding: 12px 8px 2px;
    color: var(--text);
    font-size: 14px;
}

a.search-panel__all {
    color: var(--primary);
    font-family: var(--bold), sans-serif;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .search-panel__form,
    .search-panel__results {
        padding: 0 16px;
    }
}

/* Панель живёт внутри .header__actions, где ссылки глобально зажаты в 20x20 —
   возвращаем содержимому поиска естественные размеры. */
.header__actions .search-panel a,
.header__actions .search-panel img {
    width: auto;
    height: auto;
}

.header__actions .search-panel img.search-hit__img {
    width: 46px;
    height: 46px;
}

/* Шильдики товара («Популярный», «Новинка»)
   -------------------------------------------------- */
.zippo-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.zippo-badge {
    padding: 4px 10px;
    border-radius: 3px;
    color: var(--white);
    font-family: var(--bold), sans-serif;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.zippo-badge--new {
    background: var(--primary);
}

.zippo-badge--popular {
    background: var(--title);
}


/* 404 и пустой поиск */
.error-404,
.no-results {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 0 24px;
    text-align: center;
}
.error-404__title,
.no-results .page-title {
    margin: 0 0 16px;
    font-family: var(--heading), var(--bold), sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
}
.error-404__text,
.no-results .page-content p {
    margin: 0 0 28px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
}
.zippo-search {
    display: flex;
    gap: 8px;
    max-width: 520px;
    margin: 0 auto 24px;
}
.zippo-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-size: 15px;
}
.zippo-search__btn,
.error-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    background: var(--primary);
    color: #fff;
    font-family: var(--bold), sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}
.error-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.error-404__btn--ghost {
    background: transparent;
    color: var(--title);
    border-color: var(--title);
}
@media (max-width: 600px) {
    .error-404,
    .no-results { padding-top: 40px; }
    .error-404__title,
    .no-results .page-title { font-size: 28px; }
}


/* Мобильная вёрстка: боковые отступы у страниц без собственных, товар и шапка категории в колонку */
@media (max-width: 1132px) {
    .breadcrumb-page > .container,
    .product-page > .container,
    .cat-page > .page-header > .container,
    .cat-page > .container,
    .woocommerce-cart .site-main > .container,
    .woocommerce-checkout .site-main > .container,
    .error404 .site-main > .container,
    .search .site-main > .container,
    .single-post .site-main > .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .product-page {
        padding-top: 16px;
    }
    .product__top {
        flex-direction: column;
        gap: 24px;
    }
    .product-gallery {
        position: static;
        max-width: none;
    }
    .product-gallery__img {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .product-gallery__img img {
        max-height: 100%;
        width: auto;
        object-fit: contain;
    }
    .product-gallery__nav {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 8px;
    }
    .product__info {
        width: 100%;
    }
    .product__info .product_title {
        font-size: 28px;
        line-height: 1.2;
    }
    .breadcrumb {
        flex-wrap: wrap;
        row-gap: 4px;
        font-size: 13px;
    }

    .page-header {
        padding: 20px 0;
    }
    .page-header__row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .page-header__row h1 {
        font-size: 30px;
        line-height: 1.15;
    }
    .cats-nav__select {
        max-width: none;
    }
}


/* Карточка товара: цена не рвётся посреди числа, длинные подписи кнопок переносятся */
.product-item .price .woocommerce-Price-amount {
    white-space: nowrap;
}
.add_to_cart_button {
    height: auto;
    min-height: 45px;
    padding: 6px 10px;
    text-align: center;
    line-height: 1.2;
}
@media (max-width: 600px) {
    .add_to_cart_button {
        font-size: 13px;
        letter-spacing: .04em;
    }
}

/* Миниатюры в корзине: изображение целиком, без обрезки */
img.zippo-cart-thumb {
    width: 100%;
    height: 100%;
    max-height: 108px;
    object-fit: contain;
}
.xoo-wsc-img-col img.zippo-cart-thumb,
.xoo-wsc-pimg img.zippo-cart-thumb {
    height: 108px;
    background: #fff;
}

/* Оформление заказа */
.checkout-page__title {
    margin: 32px 0 8px;
    font-family: var(--heading);
    font-size: 36px;
    line-height: 1.15;
}
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 5px;
    font-family: var(--bold), sans-serif;
    letter-spacing: .04em;
}
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover {
    background: var(--hover) !important;
    border-color: var(--hover) !important;
}
.wc-block-components-order-summary-item__image img {
    object-fit: contain;
    height: 64px;
    background: #fff;
}
/* Описание товара в сводке заказа не нужно — оно длинное и растягивает блок */
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description {
    display: none;
}
@media (max-width: 600px) {
    .checkout-page__title {
        margin-top: 20px;
        font-size: 28px;
    }
}

/* Шапка боковой корзины: не зажимать левую секцию (иначе счётчик «N ապրանք» переносится и цифра уезжает вверх) */
.xoo-wsch-new.xoo-wsch-top {
    grid-template-columns: auto 1fr auto;
    align-items: center;
}
.xoo-wsch-new .xoo-wsch-sec-right {
    grid-column: 3;
}
.xoo-wsch-section {
    flex-wrap: nowrap;
    white-space: nowrap;
}
.xoo-wsch-header-count {
    white-space: nowrap;
}
