
:root{
  --bg:#f8f5f0; --paper:#fffdfa; --ink:#1e1e1c; --muted:#77736c;
  --line:#ddd7ce; --accent:#8e4f45; --accent2:#efe4dc; --dark:#242421;
  --radius:18px; --max:1240px;
}
*{box-sizing:border-box} body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--ink)}
a{color:inherit;text-decoration:none} img{max-width:100%;display:block}
.wrap{max-width:var(--max);margin:auto;padding:0 28px}
.top{font-size:12px;text-align:center;padding:9px;background:var(--dark);color:white;letter-spacing:.04em}
header{background:rgba(248,245,240,.94);position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.logo{font-family:Georgia,serif;font-size:26px;letter-spacing:.08em}.logo small{display:block;font:9px Arial;letter-spacing:.28em;text-align:center;margin-top:2px}
nav{display:flex;gap:28px;font-size:14px}.icons{display:flex;gap:16px;align-items:center;font-size:14px}
.badge{background:var(--accent);color:#fff;border-radius:99px;padding:2px 7px;font-size:11px}
.hero{min-height:650px;display:grid;grid-template-columns:1.02fr .98fr;overflow:hidden;background:#e9dfd4}
.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:80px max(28px,calc((100vw - var(--max))/2))}
.kicker{text-transform:uppercase;letter-spacing:.18em;font-size:11px;color:var(--accent);font-weight:700}
h1,h2,h3{font-family:Georgia,serif;font-weight:400} h1{font-size:64px;line-height:.98;margin:18px 0 22px;max-width:650px}
.hero p{color:#5f5a53;line-height:1.65;max-width:520px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:99px;background:var(--dark);color:white;font-size:13px;border:1px solid var(--dark);cursor:pointer}
.btn.light{background:transparent;color:var(--dark)}.actions{display:flex;gap:10px;margin-top:25px}
.hero-art{min-height:650px;background:linear-gradient(135deg,#d9c7b8,#b48e78);position:relative;overflow:hidden}
.hero-art:before{content:"OLIVIA";position:absolute;font:140px Georgia;color:rgba(255,255,255,.16);right:-35px;top:60px;writing-mode:vertical-rl}
.dress{position:absolute;width:52%;height:74%;left:24%;top:13%;background:#f2eee8;clip-path:polygon(34% 0,66% 0,74% 10%,100% 23%,81% 40%,73% 32%,78% 100%,22% 100%,27% 32%,19% 40%,0 23%,26% 10%);filter:drop-shadow(0 22px 30px rgba(50,30,20,.15))}
.section{padding:88px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:32px}.section h2{font-size:42px;margin:8px 0}.muted{color:var(--muted);font-size:14px;line-height:1.6}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.card{position:relative}.photo{aspect-ratio:3/4;background:#e7dfd7;border-radius:var(--radius);overflow:hidden;position:relative}
.photo:before{content:"";position:absolute;width:52%;height:74%;left:24%;top:14%;background:var(--cloth,#c7a995);clip-path:polygon(32% 0,68% 0,74% 10%,95% 22%,80% 40%,72% 32%,77% 100%,23% 100%,28% 32%,20% 40%,5% 22%,26% 10%)}
.photo.alt:before{--cloth:#9d8170}.photo.dark:before{--cloth:#3d3b39}.photo.rose:before{--cloth:#b88683}
.chip{position:absolute;left:12px;top:12px;background:white;padding:7px 10px;border-radius:99px;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.card h3{font:16px Arial;margin:14px 0 7px}.price{font-weight:700;font-size:14px}.old{text-decoration:line-through;color:#999;margin-left:7px;font-weight:400}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.benefit{background:var(--paper);padding:32px}.benefit b{display:block;margin-bottom:8px}
footer{background:var(--dark);color:#eee;padding:55px 0;margin-top:70px}.foot{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.foot p,.foot a{color:#aaa;font-size:13px;line-height:1.8}
.page-title{padding:55px 0 25px}.page-title h1{font-size:48px;margin:0 0 12px}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}.filter{border:1px solid var(--line);background:var(--paper);padding:11px 15px;border-radius:99px;font-size:12px}
.product{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;padding:42px 0 55px}
.product-breadcrumbs{display:flex;align-items:center;gap:9px;padding-top:25px;color:var(--muted);font-size:12px;white-space:nowrap;overflow-x:auto;scrollbar-width:none}.product-breadcrumbs::-webkit-scrollbar{display:none}.product-breadcrumbs a:hover,.product-breadcrumbs .current{color:var(--ink)}
.product-gallery{min-width:0}.product-main-photo{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;border-radius:var(--radius);background:#e7dfd7}.product-main-photo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .15s ease}
.gallery-arrow{position:absolute;top:50%;z-index:3;width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;transform:translateY(-50%);border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink);box-shadow:0 4px 18px rgba(0,0,0,.08);font-size:18px;cursor:pointer}.gallery-prev{left:16px}.gallery-next{right:16px}
.product-thumbs{display:flex;gap:10px;margin-top:10px;overflow-x:auto;scrollbar-width:none}.product-thumbs::-webkit-scrollbar{display:none}.product-thumb{flex:0 0 78px;width:78px;height:98px;padding:3px;border:1px solid transparent;border-radius:10px;background:transparent;opacity:.6;cursor:pointer;overflow:hidden}.product-thumb:hover{opacity:.9}.product-thumb.active{opacity:1;border-color:var(--ink)}.product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}
.product-info{position:sticky;top:120px;align-self:start}.product-info h1{font-size:45px;margin:10px 0}.product-price{font-size:22px;margin:15px 0 25px}
.label{font-size:12px;font-weight:700;margin:22px 0 10px;display:flex;justify-content:space-between}.options{display:flex;gap:8px;flex-wrap:wrap}
.option{padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:white;cursor:pointer}.option.active{border-color:var(--ink);background:var(--ink);color:#fff}
.buy{width:100%;margin-top:28px}.note{background:var(--accent2);padding:18px;border-radius:14px;font-size:13px;line-height:1.5;margin-top:18px}
.product-accordions{margin-top:28px;border-top:1px solid var(--line)}.product-accordion{border-bottom:1px solid var(--line)}.accordion-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border:0;background:transparent;color:var(--ink);font-size:14px;text-align:left;cursor:pointer}.accordion-plus{font-size:25px;font-weight:300;line-height:1;transition:transform .25s}.product-accordion.open .accordion-plus{transform:rotate(45deg)}.accordion-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}.product-accordion.open .accordion-body{grid-template-rows:1fr}.accordion-inner{overflow:hidden;color:var(--muted);font-size:13px;line-height:1.7}.product-accordion.open .accordion-inner{padding:0 30px 20px 0}
.accord{border-top:1px solid var(--line);padding:18px 0;font-size:14px}.accord:last-child{border-bottom:1px solid var(--line)}
.cart-layout{display:grid;grid-template-columns:1fr 380px;gap:50px;padding:35px 0 80px}.cart-item{display:grid;grid-template-columns:110px 1fr auto;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
.thumb{background:#e2d8ce;border-radius:12px;aspect-ratio:3/4}.cart-item h3{font:18px Arial;margin:5px 0 10px}.remove{font-size:12px;color:var(--muted)}
.summary{background:var(--paper);border:1px solid var(--line);padding:28px;border-radius:var(--radius);height:max-content}.row{display:flex;justify-content:space-between;margin:14px 0;font-size:14px}.total{font-size:20px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.mobile{display:none}
@media(max-width:850px){
 nav{display:none}.mobile{display:block}.hero{grid-template-columns:1fr}.hero-art{min-height:430px}.hero-copy{padding:65px 28px}h1{font-size:46px}.grid{grid-template-columns:1fr 1fr}.product{grid-template-columns:1fr;gap:30px}.product-info{position:static}.cart-layout{grid-template-columns:1fr}.benefits{grid-template-columns:1fr}.foot{grid-template-columns:1fr 1fr}.product-thumbs{gap:8px}.gallery-arrow{width:40px;height:40px}
}
@media(max-width:520px){.wrap{padding:0 18px}.grid{gap:12px}.section{padding:60px 0}.section h2{font-size:34px}.card h3{font-size:14px}.page-title h1{font-size:38px}.foot{grid-template-columns:1fr}.cart-item{grid-template-columns:85px 1fr}.cart-item>.price{grid-column:2}.hero h1{font-size:43px}}

/* Header account + mobile navigation */
.icon-link,.account-link,.cart-link{display:inline-flex;align-items:center;gap:7px}
.account-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.burger{width:38px;height:38px;border:0;background:transparent;padding:8px;cursor:pointer}
.burger span{display:block;width:22px;height:1.5px;background:var(--ink);margin:5px 0;transition:.25s}
.mobile-overlay{position:fixed;inset:0;background:rgba(25,23,20,.38);z-index:49;opacity:0;visibility:hidden;transition:.3s}
.mobile-menu{position:fixed;top:0;right:0;width:min(88vw,390px);height:100dvh;background:var(--paper);z-index:50;padding:22px 24px 28px;transform:translateX(102%);transition:transform .32s ease;display:flex;flex-direction:column}
.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:25px;border-bottom:1px solid var(--line)}
.menu-close{border:0;background:transparent;font:32px/1 Arial;font-weight:200;cursor:pointer;padding:5px 0 5px 15px}
.mobile-nav{display:flex!important;flex-direction:column;gap:0;margin-top:14px}
.mobile-nav a{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);font:25px Georgia,serif}
.mobile-nav a span{font:16px Arial;color:var(--muted)}
.mobile-menu-bottom{margin-top:auto;display:grid;gap:15px;padding-top:24px;font-size:14px}
body.menu-open{overflow:hidden}
body.menu-open .mobile-overlay{opacity:1;visibility:visible}
body.menu-open .mobile-menu{transform:translateX(0)}
@media(max-width:850px){
  .account-text{display:none}
  .icons{gap:12px}
  .cart-link{font-size:0}
  .cart-link .badge{font-size:11px}
  .mobile-menu .logo{font-size:21px}
}
@media(max-width:430px){
  .icon-link[aria-label="Избранное"]{display:none}
  .nav{gap:10px}
  .icons{gap:9px}
}

@media(max-width:520px){
  .product-breadcrumbs{padding-top:18px;font-size:11px}
  .product-main-photo{border-radius:14px}
  .gallery-arrow{width:36px;height:36px}
  .gallery-prev{left:10px}.gallery-next{right:10px}
  .product-thumb{flex-basis:62px;width:62px;height:78px}
}

.card {
    display: block;
    color: var(--ink);
    text-decoration: none;
}

.card-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    background: #eee9e3;
}

.card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.card:hover .card-photo img {
    transform: scale(1.025);
}

.card-photo .chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.card h3 {
    margin: 14px 0 6px;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
}

.card .price {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

/* ==========================================================
   PAGINATION
   ========================================================== */

.pagination {
    display: flex;
    justify-content: center;

    width: 100%;

    margin: 55px 0 25px;
}

.pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.pagination li {
    margin: 0;
    padding: 0;
}

.pagination li a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid var(--line);
    border-radius: 50%;

    background: transparent;
    color: var(--ink);

    font-size: 13px;
    font-weight: 500;
    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


/* hover */

.pagination li:not(.active) a:hover {
    border-color: var(--ink);

    background: var(--paper);

    transform: translateY(-1px);
}


/* текущая страница */

.pagination li.active a {
    border-color: var(--ink);

    background: var(--ink);
    color: #fff;

    cursor: default;
}


/* стрелки */

.pagination li a[title="следующая страница"],
.pagination li a[title="предыдущая страница"],
.pagination li a[title="последняя страница"],
.pagination li a[title="первая страница"] {
    font-size: 16px;
}


/* небольшой отступ перед стрелкой "следующая" */

.pagination li a[title="следующая страница"] {
    margin-left: 7px;
}


/* небольшой отступ после стрелки "предыдущая" */

.pagination li a[title="предыдущая страница"] {
    margin-right: 7px;
}


/* ==========================================================
   MOBILE PAGINATION
   ========================================================== */

@media (max-width: 520px) {

    .pagination {
        margin: 40px 0 20px;

        overflow-x: auto;

        scrollbar-width: none;
    }

    .pagination::-webkit-scrollbar {
        display: none;
    }

    .pagination ul {
        gap: 5px;

        min-width: max-content;
    }

    .pagination li a {
        width: 37px;
        height: 37px;

        font-size: 12px;
    }

    .pagination li a[title="следующая страница"],
    .pagination li a[title="предыдущая страница"],
    .pagination li a[title="последняя страница"],
    .pagination li a[title="первая страница"] {
        font-size: 14px;
    }

    .pagination li a[title="следующая страница"],
    .pagination li a[title="предыдущая страница"] {
        margin-left: 0;
        margin-right: 0;
    }

}

/* ==========================================================
   CART CHECKOUT FIELDS
   ========================================================== */

.checkout-fields {
    display: grid;
    gap: 18px;

    margin-top: 28px;
}

.checkout-field {
    display: grid;
    gap: 8px;
}

.checkout-field label {
    font-size: 12px;
    font-weight: 600;
}

.checkout-field input {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    border: 1px solid var(--line);
    border-radius: 10px;

    outline: none;

    background: var(--bg);
    color: var(--ink);

    font-size: 14px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.checkout-field input::placeholder {
    color: #aaa59e;
}

.checkout-field input:hover {
    border-color: #bdb7ae;
}

.checkout-field input:focus {
    border-color: var(--ink);

    background: #fff;

    box-shadow:
        0 0 0 1px var(--ink);
}

.field-note {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.5;
}


/* кнопка оплаты */

.cart-summary .checkout-btn {
    width: 100%;

    margin-top: 25px;
}


/* очистить корзину */

.clear-cart {
    width: 100%;

    margin-top: 10px;
    padding: 12px;

    border: 0;

    background: transparent;
    color: var(--muted);

    font-size: 12px;

    cursor: pointer;

    transition: color .2s ease;
}

.clear-cart:hover {
    color: #a1483f;
    text-decoration: underline;

    text-underline-offset: 3px;
}

/* ==========================================================
   CART ITEM / ORDER CARD
   ========================================================== */

.order_card {
    position: relative;

    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 22px;

    padding: 18px;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: var(--paper);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.order_card:hover {
    border-color: #cbc5bc;
}


/* PHOTO
   ========================================================== */

.order_card > a {
    display: block;
}

.order_card .preview {
    width: 130px;
    height: 165px;

    border-radius: 12px;

    background-color: #eee9e3;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* CONTENT
   ========================================================== */

.order_card .group {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.order_card .title {
    display: block;

    padding-right: 35px;

    color: var(--ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
}


/* STOCK WARNING
   ========================================================== */

.order_card .quantity-exceed {
    display: inline-block;

    margin-top: 8px;

    color: #a1483f;

    font-size: 12px;
    line-height: 1.4;
}


/* PRICE + QUANTITY
   ========================================================== */

.order_card .manage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: auto;
    padding-top: 25px;
}


/* PRICE */

.order_card .price {
    display: flex;
    align-items: baseline;
    gap: 9px;

    white-space: nowrap;
}

.order_card .price .current {
    color: var(--ink);

    font-size: 17px;
    font-weight: 600;
}

.order_card .price .old {
    color: var(--muted);

    font-size: 12px;

    text-decoration: line-through;
}


/* QUANTITY
   ========================================================== */

.order_card .quantity {
    display: flex;
    align-items: center;

    height: 42px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: #fff;
}

.order_card .quantity .less,
.order_card .quantity .more {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    user-select: none;

    transition: background .2s ease;
}

.order_card .quantity .less:hover,
.order_card .quantity .more:hover {
    background: var(--bg);
}

.order_card .quantity svg {
    width: 12px;
    height: 12px;
}

.order_card .quantity input {
    width: 42px;
    height: 40px;

    padding: 0;

    border: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);

    outline: none;

    background: transparent;
    color: var(--ink);

    font-size: 13px;
    font-weight: 500;
    text-align: center;

    appearance: textfield;
}

.order_card .quantity input::-webkit-outer-spin-button,
.order_card .quantity input::-webkit-inner-spin-button {
    margin: 0;

    appearance: none;
}


/* DELETE
   ========================================================== */

.order_card .delete {
    display: flex;
    align-items: center;
    gap: 7px;

    width: fit-content;

    margin-top: 16px;

    color: var(--muted);

    font-size: 11px;

    cursor: pointer;

    transition: color .2s ease;
}

.order_card .delete:hover {
    color: #a1483f;
}

.order_card .delete svg {
    width: 10px;
    height: 10px;
}

.order_card .delete svg path {
    transition: fill .2s ease,
                stroke .2s ease;
}


/* OUT OF STOCK
   ========================================================== */

.order_card.cart-out-stock {
    opacity: .55;
}

.order_card.cart-out-stock .preview {
    filter: grayscale(.6);
}


/* QUANTITY EXCEED
   ========================================================== */

.order_card.cart-quantity-exceed {
    border-color: rgba(161, 72, 63, .35);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 850px) {

    .order_card {
        grid-template-columns: 110px minmax(0, 1fr);

        gap: 16px;

        padding: 14px;
    }

    .order_card .preview {
        width: 110px;
        height: 140px;
    }

    .order_card .title {
        font-size: 18px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {

    .order_card {
        grid-template-columns: 92px minmax(0, 1fr);

        gap: 13px;

        padding: 12px;

        border-radius: 14px;
    }

    .order_card .preview {
        width: 92px;
        height: 122px;

        border-radius: 9px;
    }

    .order_card .title {
        padding-right: 0;

        font-size: 16px;
        line-height: 1.25;
    }

    .order_card .manage {
        align-items: flex-end;
        gap: 10px;

        padding-top: 15px;
    }

    .order_card .price {
        flex-direction: column;
        gap: 2px;
    }

    .order_card .price .current {
        font-size: 15px;
    }

    .order_card .price .old {
        font-size: 10px;
    }

    .order_card .quantity {
        height: 36px;
    }

    .order_card .quantity .less,
    .order_card .quantity .more {
        width: 34px;
        height: 34px;
    }

    .order_card .quantity input {
        width: 34px;
        height: 34px;

        font-size: 12px;
    }

    .order_card .delete {
        margin-top: 12px;

        font-size: 10px;
    }

}


/* очень маленькие экраны */

@media (max-width: 380px) {

    .order_card {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .order_card .preview {
        width: 80px;
        height: 108px;
    }

    .order_card .quantity .less,
    .order_card .quantity .more {
        width: 30px;
    }

    .order_card .quantity input {
        width: 30px;
    }

}

/* ==========================================================
   CART TOTALS / SUMMARY
   ========================================================== */

.cart_totals {
    width: 100%;

    margin: 0;
    padding: 24px;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: var(--paper);
}


/* каждая строка */

.cart_totals > div {
    display: flex;
    align-items: baseline;

    width: 100%;

    margin-bottom: 14px;

    color: var(--ink);

    font-size: 13px;
    line-height: 1.4;
}

.cart_totals > div:last-child {
    margin-bottom: 0;
}


/* название */

.cart_totals .name {
    flex: 0 0 auto;

    color: var(--muted);
}


/* линия между названием и ценой */

.cart_totals .divide {
    flex: 1 1 auto;

    min-width: 15px;

    margin: 0 10px 4px;

    border-bottom: 1px dotted var(--line);
}


/* цена */

.cart_totals .price {
    flex: 0 0 auto;

    color: var(--ink);

    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;
}


/* ==========================================================
   ПОСЛЕДНЯЯ СТРОКА — ИТОГО
   ========================================================== */

.cart_totals > div:last-child {
    align-items: center;

    margin-top: 20px;
    padding-top: 20px;

    border-top: 1px solid var(--line);
}

.cart_totals > div:last-child .name {
    color: var(--ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.cart_totals > div:last-child .divide {
    display: none;
}

.cart_totals > div:last-child .price {
    margin-left: auto;

    font-size: 21px;
    font-weight: 600;
}


/* ==========================================================
   ВОЗМОЖНЫЕ СКИДКИ
   ========================================================== */

.cart_totals .discount,
.cart_totals .sale,
.cart_totals .special {
    color: var(--accent);
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {

    .cart_totals {
        padding: 20px;

        border-radius: 14px;
    }

    .cart_totals > div {
        margin-bottom: 12px;

        font-size: 12px;
    }

    .cart_totals .price {
        font-size: 12px;
    }

    .cart_totals > div:last-child {
        margin-top: 17px;
        padding-top: 17px;
    }

    .cart_totals > div:last-child .name {
        font-size: 18px;
    }

    .cart_totals > div:last-child .price {
        font-size: 19px;
    }

}

/* ==========================================================
   EMPTY CART + 404
   ========================================================== */

.empty-page,
.error-page {
    min-height: calc(100vh - 260px);

    display: flex;
    align-items: center;

    padding: 80px 0 100px;
}

.empty-page .wrap,
.error-page .wrap {
    width: 100%;
}


/* ==========================================================
   EMPTY STATE
   ========================================================== */

.empty-state,
.error-state {
    max-width: 650px;

    margin: 0 auto;

    text-align: center;
}

.empty-state h1,
.error-state h1 {
    max-width: none;

    margin: 14px 0 18px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.08;
}

.empty-state p,
.error-state p {
    max-width: 530px;

    margin: 0 auto 30px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   EMPTY CART ICON
   ========================================================== */

.empty-icon {
    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 28px;

    border-radius: 50%;

    background: var(--accent2);
}

.empty-cart-icon svg {
    width: 38px;
    height: 38px;

    fill: none;

    stroke: var(--ink);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   404
   ========================================================== */

.error-code {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 150px;

    margin-bottom: 12px;

    color: #ded4cb;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 145px;
    font-weight: 400;
    line-height: 1;

    user-select: none;
}


/* центральный ноль */

.error-zero {
    width: 100px;
    height: 130px;

    margin: 0 4px;
}

.error-zero svg {
    width: 100%;
    height: 100%;
}

.error-zero svg path:first-child {
    fill: #ded4cb;
}

.error-zero svg path:last-child {
    fill: var(--bg);
}


/* ==========================================================
   404 BUTTONS
   ========================================================== */

.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}

.error-actions .btn {
    min-width: 160px;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {

    .empty-page,
    .error-page {
        min-height: calc(100vh - 180px);

        padding: 60px 0 80px;
    }

    .empty-icon {
        width: 70px;
        height: 70px;

        margin-bottom: 24px;
    }

    .empty-cart-icon svg {
        width: 32px;
        height: 32px;
    }

    .empty-state h1,
    .error-state h1 {
        font-size: 36px;
    }

    .empty-state p,
    .error-state p {
        font-size: 13px;

        margin-bottom: 25px;
    }


    /* 404 */

    .error-code {
        height: 105px;

        margin-bottom: 18px;

        font-size: 100px;
    }

    .error-zero {
        width: 68px;
        height: 95px;

        margin: 0 2px;
    }


    /* кнопки */

    .error-actions {
        flex-direction: column;

        width: 100%;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 300px;
    }

}

/* ==========================================================
   ORDER SUCCESS
   ========================================================== */

.success-page {
    min-height: 70vh;
}


/* breadcrumbs */

.success-page .breadcrumbs {
    padding: 25px 0 0;
}

.success-page .breadcrumbs ul {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.success-page .breadcrumbs li {
    display: flex;
    align-items: center;

    color: var(--muted);

    font-size: 12px;
}

.success-page .breadcrumbs li:not(:last-child)::after {
    content: "—";

    margin-left: 8px;

    color: var(--line);
}

.success-page .breadcrumbs a {
    color: var(--muted);

    transition: color .2s ease;
}

.success-page .breadcrumbs a:hover {
    color: var(--ink);
}


/* ==========================================================
   SUCCESS SECTION
   ========================================================== */

.order-success {
    padding: 60px 0 100px;
}

.success-card {
    max-width: 720px;

    margin: 0 auto;

    text-align: center;
}


/* ==========================================================
   CHECK ICON
   ========================================================== */

.success-icon {
    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 27px;

    border-radius: 50%;

    background: var(--accent2);
}

.success-icon svg {
    width: 42px;
    height: 42px;

    fill: none;

    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   TITLE
   ========================================================== */

.success-card h1 {
    max-width: none;

    margin: 13px 0 18px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.08;
}

.success-description {
    max-width: 540px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   ORDER INFO
   ========================================================== */

.success-order-info {
    margin-top: 40px;
    padding: 25px 27px;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: var(--paper);

    text-align: left;
}

.success-info-row {
    display: flex;
    align-items: baseline;

    width: 100%;

    margin-bottom: 15px;

    font-size: 13px;
}

.success-info-row:last-child {
    margin-bottom: 0;
}

.success-info-name {
    flex: 0 0 auto;

    color: var(--muted);
}

.success-info-line {
    flex: 1 1 auto;

    min-width: 20px;

    margin: 0 12px 4px;

    border-bottom: 1px dotted var(--line);
}

.success-info-row strong {
    flex: 0 0 auto;

    color: var(--ink);

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
}


/* итог */

.success-info-total {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 20px;

    border-top: 1px solid var(--line);
}

.success-info-total .success-info-name {
    color: var(--ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

.success-info-total strong {
    font-size: 18px;
}


/* ==========================================================
   EMAIL NOTICE
   ========================================================== */

.success-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-top: 18px;
    padding: 19px 21px;

    border-radius: 14px;

    background: var(--accent2);

    text-align: left;
}

.success-notice-icon {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.65);
}

.success-notice-icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: var(--ink);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-notice strong {
    display: block;

    margin: 1px 0 5px;

    font-size: 13px;
}

.success-notice p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.55;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.success-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 30px;
}

.success-actions .btn {
    min-width: 190px;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {

    .success-page .breadcrumbs {
        padding-top: 18px;
    }

    .order-success {
        padding: 45px 0 70px;
    }

    .success-icon {
        width: 68px;
        height: 68px;

        margin-bottom: 23px;
    }

    .success-icon svg {
        width: 36px;
        height: 36px;
    }

    .success-card h1 {
        font-size: 35px;
    }

    .success-description {
        font-size: 13px;
    }


    /* order info */

    .success-order-info {
        margin-top: 30px;
        padding: 20px;
    }

    .success-info-row {
        font-size: 12px;
    }

    .success-info-row strong {
        font-size: 12px;
    }

    .success-info-total .success-info-name,
    .success-info-total strong {
        font-size: 16px;
    }


    /* notice */

    .success-notice {
        padding: 17px;
    }


    /* buttons */

    .success-actions {
        flex-direction: column;

        width: 100%;
    }

    .success-actions .btn {
        width: 100%;
        max-width: 320px;
    }

}

/* ==========================================================
   ACCOUNT
   ========================================================== */

.account-page {
    min-height: 70vh;
}

.account-page .breadcrumbs {
    padding: 25px 0 0;
}


/* ==========================================================
   HEADER
   ========================================================== */

.account-content {
    padding: 55px 0 100px;
}

.account-head {
    margin-bottom: 38px;
}

.account-head h1 {
    max-width: none;

    margin: 10px 0 12px;

    font-size: 48px;
}

.account-head p {
    max-width: 550px;

    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   DASHBOARD
   ========================================================== */

.account-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.account-card {
    position: relative;

    min-height: 180px;

    display: flex;
    flex-direction: column;

    padding: 25px;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: var(--paper);

    color: var(--ink);
    text-decoration: none;

    transition:
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.account-card:hover {
    border-color: #c5beb5;

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(40, 30, 20, .05);
}


/* icon */

.account-card-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 50%;

    background: var(--accent2);
}

.account-card-icon svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: var(--ink);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* text */

.account-card-content {
    padding-right: 25px;
}

.account-card-content > span {
    display: block;

    margin-bottom: 6px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.account-card-content p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.55;
}


/* arrow */

.account-card-arrow {
    position: absolute;

    right: 23px;
    bottom: 23px;

    color: var(--muted);

    font-size: 18px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.account-card:hover .account-card-arrow {
    color: var(--ink);

    transform: translateX(3px);
}


/* ==========================================================
   ACCOUNT INFO
   ========================================================== */

.account-info {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    min-height: 340px;

    margin-top: 18px;

    overflow: hidden;

    border-radius: var(--radius);

    background: #e9dfd4;
}

.account-info-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px;
}

.account-info-content h2 {
    max-width: 520px;

    margin: 10px 0 15px;

    font-size: 35px;
    line-height: 1.1;
}

.account-info-content p {
    max-width: 510px;

    margin: 0 0 25px;

    color: #665f58;

    font-size: 13px;
    line-height: 1.7;
}

.account-info-content .btn {
    width: fit-content;
}


/* ==========================================================
   DECORATIVE DRESS
   ========================================================== */

.account-info-art {
    position: relative;

    min-height: 340px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #d8c6b8,
            #b88f79
        );
}

.account-info-art > span {
    position: absolute;

    right: -20px;
    top: 20px;

    color: rgba(255,255,255,.13);

    font-family: Georgia, serif;
    font-size: 80px;

    writing-mode: vertical-rl;

    user-select: none;
}

.account-info-art svg {
    position: relative;
    z-index: 2;

    width: 170px;
    height: 220px;

    filter: drop-shadow(
        0 18px 20px rgba(70, 40, 25, .13)
    );
}

.account-info-art svg path {
    fill: #f4f0eb;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 850px) {

    .account-dashboard {
        grid-template-columns: 1fr;
    }

    .account-card {
        min-height: auto;

        display: grid;
        grid-template-columns: 50px 1fr auto;
        align-items: center;
        gap: 15px;

        padding: 20px;
    }

    .account-card-icon {
        margin: 0;
    }

    .account-card-arrow {
        position: static;
    }

    .account-info {
        grid-template-columns: 1fr;
    }

    .account-info-art {
        min-height: 260px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {

    .account-page .breadcrumbs {
        padding-top: 18px;
    }

    .account-content {
        padding: 40px 0 70px;
    }

    .account-head {
        margin-bottom: 28px;
    }

    .account-head h1 {
        font-size: 38px;
    }


    /* cards */

    .account-card {
        grid-template-columns: 42px 1fr 20px;

        gap: 12px;

        padding: 17px;

        border-radius: 14px;
    }

    .account-card-icon {
        width: 40px;
        height: 40px;
    }

    .account-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .account-card-content {
        padding: 0;
    }

    .account-card-content > span {
        margin-bottom: 3px;

        font-size: 17px;
    }

    .account-card-content p {
        font-size: 11px;
    }


    /* info */

    .account-info {
        margin-top: 14px;

        border-radius: 14px;
    }

    .account-info-content {
        padding: 35px 25px;
    }

    .account-info-content h2 {
        font-size: 28px;
    }

    .account-info-content .btn {
        width: 100%;
    }

    .account-info-art {
        min-height: 220px;
    }

    .account-info-art svg {
        width: 135px;
        height: 180px;
    }

}

/* ==========================================================
   ACCOUNT HISTORY
   ========================================================== */

.account-history {
    padding: 50px 0 100px;
}

.account-history-head {
    margin-bottom: 35px;
}

.account-history-head h1 {
    max-width: none;

    margin: 9px 0 11px;

    font-size: 48px;
}

.account-history-head p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================================
   LIST
   ========================================================== */

.history-list {
    display: grid;
    gap: 12px;
}


/* ==========================================================
   CARD
   ========================================================== */

.history-card {
    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: var(--paper);

    transition: border-color .2s ease;
}

.history-card.open {
    border-color: #c8c1b8;
}


/* ==========================================================
   CARD HEADER
   ========================================================== */

.history-card-head {
    width: 100%;
    min-height: 92px;

    display: grid;
    grid-template-columns:
        minmax(120px, 1fr)
        minmax(120px, .8fr)
        minmax(100px, .7fr)
        auto
        30px;

    align-items: center;
    gap: 25px;

    padding: 20px 25px;

    border: 0;

    background: transparent;
    color: var(--ink);

    text-align: left;

    cursor: pointer;
}


/* labels */

.history-number,
.history-date,
.history-total {
    display: grid;
    gap: 5px;
}

.history-number span,
.history-date span,
.history-total span {
    color: var(--muted);

    font-size: 10px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.history-number strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
}

.history-date strong,
.history-total strong {
    font-size: 13px;
    font-weight: 500;
}


/* ==========================================================
   STATUS
   ========================================================== */

.history-status {
    padding: 8px 12px;

    border-radius: 99px;

    background: var(--accent2);

    color: var(--ink);

    font-size: 11px;
    font-weight: 500;

    white-space: nowrap;
}


/* ==========================================================
   ARROW
   ========================================================== */

.history-arrow {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    transition:
        background .2s ease,
        transform .3s ease;
}

.history-card-head:hover .history-arrow {
    background: var(--bg);
}

.history-arrow svg {
    width: 16px;
    height: 16px;

    fill: none;

    stroke: var(--ink);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.history-card.open .history-arrow {
    transform: rotate(180deg);
}


/* ==========================================================
   ACCORDION
   ========================================================== */

.history-card-body {
    display: grid;
    grid-template-rows: 0fr;

    transition: grid-template-rows .35s ease;
}

.history-card.open .history-card-body {
    grid-template-rows: 1fr;
}

.history-card-body > .history-card-inner {
    overflow: hidden;
}

.history-card-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 45px;

    padding: 0 25px;
}

.history-card.open .history-card-inner {
    padding-top: 28px;
    padding-bottom: 28px;

    border-top: 1px solid var(--line);
}


/* ==========================================================
   TITLES
   ========================================================== */

.history-card-inner h3 {
    margin: 0 0 20px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
}


/* ==========================================================
   PRODUCTS
   ========================================================== */

.history-products-list {
    display: grid;
    gap: 12px;
}

.history-product {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--line);
}

.history-product:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.history-product-image {
    display: block;
}

.history-product .preview {
    width: 82px;
    height: 105px;

    border-radius: 9px;

    background-color: #eee9e3;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.history-product-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 5px 0;
}

.history-product-title {
    color: var(--ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.3;

    transition: color .2s ease;
}

.history-product-title:hover {
    color: var(--accent);
}

.history-product-meta {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: auto;
}

.history-product-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.history-product-price strong {
    font-size: 13px;
}

.history-product-price .old {
    color: var(--muted);

    font-size: 11px;

    text-decoration: line-through;
}

.history-product-quantity {
    color: var(--muted);

    font-size: 11px;
}


/* ==========================================================
   ORDER INFO
   ========================================================== */

.history-order-info {
    padding: 23px;

    border-radius: 14px;

    background: var(--bg);
}

.history-info-row {
    display: flex;
    align-items: baseline;

    margin-bottom: 13px;

    font-size: 12px;
}

.history-info-row > span {
    flex: 0 0 auto;

    color: var(--muted);
}

.history-info-row > i {
    flex: 1 1 auto;

    min-width: 10px;

    margin: 0 8px 4px;

    border-bottom: 1px dotted var(--line);
}

.history-info-row > strong {
    flex: 0 0 auto;

    max-width: 55%;

    font-size: 12px;
    font-weight: 500;

    text-align: right;
}

.history-info-total {
    margin-top: 18px;
    margin-bottom: 0;
    padding-top: 18px;

    border-top: 1px solid var(--line);
}

.history-info-total > span {
    color: var(--ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}

.history-info-total > strong {
    font-size: 16px;
    font-weight: 600;
}


/* ==========================================================
   DOWNLOAD
   ========================================================== */

.history-download-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin-top: 22px;
    padding: 14px;

    border-radius: 10px;

    background: var(--accent2);
}

.history-download-note > svg {
    flex: 0 0 auto;

    width: 19px;
    height: 19px;

    margin-top: 1px;

    fill: none;

    stroke: var(--ink);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.history-download-note strong {
    display: block;

    margin-bottom: 3px;

    font-size: 11px;
}

.history-download-note p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.5;
}

.history-download-btn {
    width: 100%;

    margin-top: 12px;
}


/* ==========================================================
   EMPTY HISTORY
   ========================================================== */

.history-empty {
    max-width: 550px;

    margin: 80px auto;

    text-align: center;
}

.history-empty-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    border-radius: 50%;

    background: var(--accent2);
}

.history-empty-icon svg {
    width: 30px;
    height: 30px;

    fill: none;

    stroke: var(--ink);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.history-empty h2 {
    margin: 0 0 12px;

    font-size: 32px;
}

.history-empty p {
    max-width: 420px;

    margin: 0 auto 25px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.6;
}


/* ==========================================================
   PAGINATION
   ========================================================== */

.history-pagination {
    margin-top: 35px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 850px) {

    .history-card-head {
        grid-template-columns: 1fr 1fr auto 30px;

        gap: 15px;
    }

    .history-date {
        display: none;
    }

    .history-card-inner {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {

    .account-history {
        padding: 40px 0 70px;
    }

    .account-history-head h1 {
        font-size: 38px;
    }

    .history-card {
        border-radius: 14px;
    }

    .history-card-head {
        min-height: 82px;

        grid-template-columns: 1fr auto 26px;

        gap: 10px;

        padding: 16px;
    }

    .history-total {
        display: none;
    }

    .history-number strong {
        font-size: 17px;
    }

    .history-status {
        padding: 7px 9px;

        font-size: 9px;
    }

    .history-arrow {
        width: 26px;
        height: 26px;
    }

    .history-card-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .history-card.open .history-card-inner {
        padding-top: 20px;
        padding-bottom: 20px;
    }


    /* product */

    .history-product {
        grid-template-columns: 70px minmax(0, 1fr);

        gap: 12px;
    }

    .history-product .preview {
        width: 70px;
        height: 92px;
    }

    .history-product-title {
        font-size: 14px;
    }


    /* info */

    .history-order-info {
        padding: 18px;
    }

    .history-info-row > strong {
        max-width: 50%;
    }

}

/* ==========================================================
   INFORMATION / ARTICLE PAGE
   ========================================================== */

.information-page {
    min-height: 70vh;
}


/* ==========================================================
   ARTICLE
   ========================================================== */

.information-article {
    padding: 45px 0 100px;
}


/* ==========================================================
   HEADER
   ========================================================== */

.information-head {
    max-width: 900px;

    margin-bottom: 45px;
}

.information-head h1 {
    max-width: 850px;

    margin: 10px 0 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.05;
}


/* ==========================================================
   ARTICLE CONTENT
   ========================================================== */

.article-content {
    max-width: 850px;

    color: var(--ink);

    font-size: 15px;
    line-height: 1.8;
}


/* paragraphs */

.article-content p {
    margin: 0 0 22px;

    color: #5f5a53;
}


/* ==========================================================
   HEADINGS
   ========================================================== */

.article-content h2 {
    margin: 55px 0 20px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.15;
}

.article-content h3 {
    margin: 38px 0 15px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
}

.article-content h4 {
    margin: 30px 0 12px;

    font-size: 16px;
    font-weight: 600;
}


/* ==========================================================
   LINKS
   ========================================================== */

.article-content a {
    color: var(--accent);

    text-decoration: underline;

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: opacity .2s ease;
}

.article-content a:hover {
    opacity: .65;
}


/* ==========================================================
   LISTS
   ========================================================== */

.article-content ul,
.article-content ol {
    margin: 20px 0 28px;

    padding-left: 0;

    list-style: none;
}

.article-content li {
    position: relative;

    margin-bottom: 11px;

    padding-left: 24px;

    color: #5f5a53;
}


/* unordered */

.article-content ul > li::before {
    content: "";

    position: absolute;

    left: 3px;
    top: .75em;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--accent);
}


/* ordered */

.article-content ol {
    counter-reset: article-counter;
}

.article-content ol > li {
    counter-increment: article-counter;

    padding-left: 32px;
}

.article-content ol > li::before {
    content: counter(article-counter) ".";

    position: absolute;

    left: 0;
    top: 0;

    color: var(--accent);

    font-weight: 600;
}


/* ==========================================================
   IMAGES
   ========================================================== */

.article-content img {
    max-width: 100%;
    height: auto;

    display: block;

    margin: 35px 0;

    border-radius: var(--radius);
}


/* image inside link */

.article-content a img {
    text-decoration: none;
}


/* ==========================================================
   BLOCKQUOTE
   ========================================================== */

.article-content blockquote {
    position: relative;

    margin: 40px 0;
    padding: 28px 32px;

    border: 0;
    border-left: 3px solid var(--accent);

    border-radius: 0 14px 14px 0;

    background: var(--accent2);

    color: var(--ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.55;
}

.article-content blockquote p {
    margin: 0;

    color: inherit;
}


/* ==========================================================
   TABLE
   ========================================================== */

.article-content table {
    width: 100%;

    margin: 35px 0;

    border-collapse: collapse;

    font-size: 13px;
}

.article-content th,
.article-content td {
    padding: 14px 15px;

    border-bottom: 1px solid var(--line);

    text-align: left;
    vertical-align: top;
}

.article-content th {
    background: var(--accent2);

    color: var(--ink);

    font-weight: 600;
}


/* ==========================================================
   HR
   ========================================================== */

.article-content hr {
    height: 1px;

    margin: 45px 0;

    border: 0;

    background: var(--line);
}


/* ==========================================================
   STRONG
   ========================================================== */

.article-content strong,
.article-content b {
    color: var(--ink);

    font-weight: 600;
}


/* ==========================================================
   NOTICE / COLORED BLOCK
   ========================================================== */

.article-content .note,
.article-content .notice {
    margin: 30px 0;
    padding: 20px 22px;

    border-radius: 14px;

    background: var(--accent2);

    font-size: 13px;
    line-height: 1.65;
}

.article-content .note p:last-child,
.article-content .notice p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   VIDEO / IFRAME
   ========================================================== */

.article-content iframe {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 35px 0;

    border: 0;
    border-radius: var(--radius);
}


/* ==========================================================
   VIEWED PRODUCTS
   ========================================================== */

.information-viewed {
    margin-top: 20px;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {

    .information-article {
        padding: 35px 0 70px;
    }

    .information-head {
        margin-bottom: 30px;
    }

    .information-head h1 {
        font-size: 38px;
    }

    .article-content {
        font-size: 14px;
        line-height: 1.75;
    }

    .article-content p {
        margin-bottom: 18px;
    }


    /* headings */

    .article-content h2 {
        margin-top: 42px;

        font-size: 28px;
    }

    .article-content h3 {
        margin-top: 32px;

        font-size: 22px;
    }


    /* image */

    .article-content img {
        margin: 27px 0;

        border-radius: 12px;
    }


    /* quote */

    .article-content blockquote {
        margin: 30px 0;
        padding: 22px;

        font-size: 17px;
    }


    /* table */

    .article-content table {
        display: block;

        overflow-x: auto;

        font-size: 12px;
    }

    .article-content th,
    .article-content td {
        min-width: 130px;

        padding: 12px;
    }

}

/* ==========================================================
   VIEWED PRODUCTS
   ========================================================== */

.viewed-products {
    padding: 80px 0;
    margin-top: 40px;

    border-top: 1px solid var(--line);
}

.viewed-products .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 30px;
}

.viewed-products .section-head h2 {
    margin: 8px 0 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.1;
}


/* все выкройки */

.viewed-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding-bottom: 3px;

    border-bottom: 1px solid var(--line);

    color: var(--ink);

    font-size: 12px;
    font-weight: 500;

    white-space: nowrap;

    transition:
        border-color .2s ease,
        color .2s ease;
}

.viewed-all span {
    font-size: 17px;

    transition: transform .2s ease;
}

.viewed-all:hover {
    border-color: var(--ink);
}

.viewed-all:hover span {
    transform: translateX(3px);
}


/* ==========================================================
   GRID
   ========================================================== */

.viewed-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}


/* ==========================================================
   CARDS
   ========================================================== */

.viewed-products-grid .card {
    min-width: 0;

    display: block;

    color: var(--ink);
    text-decoration: none;
}

.viewed-products-grid .card-photo {
    position: relative;

    width: 100%;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    border-radius: var(--radius);

    background: #eee9e3;
}

.viewed-products-grid .card-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform .4s ease;
}

.viewed-products-grid .card:hover .card-photo img {
    transform: scale(1.025);
}


/* label */

.viewed-products-grid .chip {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 2;
}


/* title */

.viewed-products-grid .card h3 {
    margin: 14px 0 7px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3;
}


/* price */

.viewed-products-grid .card .price {
    display: block;

    font-size: 14px;
    font-weight: 600;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 850px) {

    .viewed-products {
        padding: 65px 0;
    }

    .viewed-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {

    .viewed-products {
        padding: 55px 0;
        margin-top: 20px;
    }

    .viewed-products .section-head {
        align-items: flex-end;

        margin-bottom: 22px;
    }

    .viewed-products .section-head h2 {
        font-size: 29px;
    }

    .viewed-all {
        font-size: 11px;
    }

    .viewed-all span {
        display: none;
    }

    .viewed-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 10px;
    }

    .viewed-products-grid .card h3 {
        margin: 10px 0 5px;

        font-size: 14px;
    }

    .viewed-products-grid .card .price {
        font-size: 13px;
    }

    .viewed-products-grid .chip {
        top: 8px;
        left: 8px;

        padding: 6px 8px;

        font-size: 8px;
    }

}

/* MOBILE — PRODUCT PAGE */

@media (max-width: 850px) {

    .product {
        padding-left: 18px;
        padding-right: 18px;
    }

    .product .gallery,
    .product .product-info {
        width: 100%;
        min-width: 0;
    }

    .product-info {
        padding-left: 0;
        padding-right: 0;
    }

}

@media (max-width: 520px) {

    .product {
        padding: 25px 18px 55px;
        gap: 28px;
    }

    .product-info h1 {
        font-size: 34px;
        line-height: 1.08;
    }

}

/* ==========================================================
   LOGIN PAGE
   ========================================================== */

.login-page {
    padding: 70px 0 100px;
}

.login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);

    max-width: 1050px;
    margin: 0 auto;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 22px;

    background: var(--paper);
}


/* ==========================================================
   ERROR
   ========================================================== */

.login-error {
    display: flex;
    align-items: center;
    gap: 15px;

    max-width: 1050px;

    margin: 0 auto 20px;
    padding: 16px 20px;

    border: 1px solid rgba(161, 72, 63, .25);
    border-radius: 12px;

    background: #f6e8e5;

    font-size: 12px;
    line-height: 1.5;

    color: #8e4f45;
}

.login-error strong {
    flex: 0 0 auto;
}

.login-error a {
    color: inherit;

    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ==========================================================
   FORM SIDE
   ========================================================== */

.login-form-side {
    padding: 65px 65px 60px;
}

.login-form-side h1 {
    max-width: 480px;

    margin: 12px 0 16px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.05;
}

.login-intro {
    max-width: 430px;

    margin: 0 0 35px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}


/* ==========================================================
   FORM
   ========================================================== */

.login-form {
    display: grid;
    gap: 22px;
}

.login-field {
    display: grid;
    gap: 8px;
}

.login-field label {
    color: var(--ink);

    font-size: 11px;
    font-weight: 600;
}

.login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* inputs */

.login-field input {
    width: 100%;
    height: 52px;

    padding: 0 15px;

    border: 1px solid var(--line);
    border-radius: 10px;

    outline: none;

    background: var(--bg);

    color: var(--ink);

    font-family: inherit;
    font-size: 13px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.login-field input::placeholder {
    color: #aaa59e;
}

.login-field input:hover {
    border-color: #bbb4aa;
}

.login-field input:focus {
    border-color: var(--ink);

    background: #fff;

    box-shadow: 0 0 0 1px var(--ink);
}


/* ==========================================================
   PASSWORD
   ========================================================== */

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 8px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--muted);

    cursor: pointer;

    transform: translateY(-50%);

    transition: color .2s ease;
}

.password-toggle:hover,
.password-toggle.active {
    color: var(--ink);
}

.password-toggle svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   FORGOT
   ========================================================== */

.forgot-link {
    color: var(--muted);

    font-size: 10px;

    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;

    transition:
        color .2s ease,
        text-decoration-color .2s ease;
}

.forgot-link:hover {
    color: var(--ink);

    text-decoration-color: var(--ink);
}


/* ==========================================================
   BUTTON
   ========================================================== */

.login-submit {
    width: 100%;

    margin-top: 4px;

    border: 1px solid var(--dark);

    font-family: inherit;
}


/* ==========================================================
   REGISTER
   ========================================================== */

.login-register {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding-top: 4px;

    color: var(--muted);

    font-size: 11px;
}

.login-register a {
    color: var(--ink);

    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ==========================================================
   BENEFITS
   ========================================================== */

.login-benefits {
    display: flex;

    padding: 65px 55px;

    background: var(--accent2);
}

.login-benefits-content {
    display: flex;
    flex-direction: column;

    width: 100%;
}

.login-benefits h2 {
    max-width: 390px;

    margin: 12px 0 38px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1.15;
}


/* item */

.login-benefit {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);

    gap: 14px;

    padding: 19px 0;

    border-top: 1px solid rgba(30, 30, 28, .12);
}

.login-benefit-number {
    padding-top: 2px;

    color: var(--accent);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
}

.login-benefit strong {
    display: block;

    margin-bottom: 5px;

    color: var(--ink);

    font-size: 13px;
}

.login-benefit p {
    max-width: 320px;

    margin: 0;

    color: #6f6962;

    font-size: 11px;
    line-height: 1.6;
}


/* bottom note */

.login-benefits-note {
    margin-top: auto;
    padding-top: 30px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.6;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 850px) {

    .login-page {
        padding: 45px 0 75px;
    }

    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-form-side {
        padding: 50px 45px;
    }

    .login-benefits {
        padding: 45px;
    }

    .login-benefits-note {
        margin-top: 30px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {

    .login-page {
        padding: 25px 0 55px;
    }

    .login-page .wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    .login-layout {
        border-radius: 16px;
    }

    .login-form-side {
        padding: 35px 22px 38px;
    }

    .login-form-side h1 {
        margin-top: 9px;

        font-size: 34px;
    }

    .login-intro {
        margin-bottom: 28px;

        font-size: 12px;
    }

    .login-field input {
        height: 50px;
    }

    .login-register {
        flex-wrap: wrap;
    }


    /* benefits */

    .login-benefits {
        padding: 38px 22px;

        border-top: 1px solid var(--line);
    }

    .login-benefits h2 {
        margin-bottom: 25px;

        font-size: 27px;
    }

    .login-benefit {
        padding: 17px 0;
    }


    /* error */

    .login-error {
        display: block;

        margin-bottom: 15px;
        padding: 14px 16px;
    }

    .login-error strong {
        display: block;

        margin-bottom: 4px;
    }

}

/* ==========================================================
   CATALOG FILTER
   ========================================================== */

.catalog-filter {
    width: 100%;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: var(--paper);

    overflow: hidden;
}


/* HEADER */

.filter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding: 25px 25px 20px;

    border-bottom: 1px solid var(--line);
}

.filter-head h3 {
    margin: 5px 0 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}


.filter-close {
    display: none;

    width: 35px;
    height: 35px;

    padding: 9px;

    border: 0;

    background: transparent;

    color: var(--ink);

    cursor: pointer;
}

.filter-close svg {
    width: 100%;
    height: 100%;
}


/* ==========================================================
   PARAMETERS
   ========================================================== */

.filter-content {
    padding: 0 25px;
}

.filter-parameter {
    border-bottom: 1px solid var(--line);
}

.filter-parameter:last-child {
    border-bottom: 0;
}


.filter-parameter-head {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 20px 0;

    border: 0;

    background: transparent;

    color: var(--ink);

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    text-align: left;

    cursor: pointer;
}


/* PLUS */

.filter-plus {
    position: relative;

    flex: 0 0 14px;

    width: 14px;
    height: 14px;
}

.filter-plus::before,
.filter-plus::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    background: var(--ink);

    transform: translate(-50%, -50%);

    transition: transform .2s ease;
}

.filter-plus::before {
    width: 12px;
    height: 1px;
}

.filter-plus::after {
    width: 1px;
    height: 12px;
}


/* opened */

.filter-parameter.closed .filter-plus::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}

.filter-parameter:not(.closed) .filter-plus::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* BODY */

.filter-parameter-body {
    padding: 0 0 20px;
}

.filter-parameter.closed .filter-parameter-body {
    display: none;
}


/* ==========================================================
   OPTIONS
   ========================================================== */

.filter-options {
    display: grid;

    gap: 5px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.filter-option {
    margin: 0;
    padding: 0;
}


/* hide after 5 */

.filter-option:nth-child(n + 6) {
    display: none;
}

.filter-options.show-all .filter-option {
    display: block;
}


/* native input */

.filter-option input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* LABEL */

.filter-option label {
    display: flex;
    align-items: center;

    min-height: 38px;

    padding: 5px 0;

    color: var(--ink);

    font-size: 12px;

    cursor: pointer;

    transition: opacity .2s ease;
}


/* CHECKBOX */

.filter-checkbox {
    position: relative;

    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    margin-right: 10px;

    border: 1px solid var(--line);
    border-radius: 5px;

    background: #fff;

    transition:
        border-color .2s ease,
        background .2s ease;
}


.filter-option label:hover .filter-checkbox {
    border-color: var(--ink);
}


/* checked */

.filter-option input:checked + label .filter-checkbox {
    border-color: var(--ink);

    background: var(--ink);
}

.filter-option input:checked + label .filter-checkbox::after {
    content: "";

    position: absolute;

    top: 4px;
    left: 6px;

    width: 4px;
    height: 7px;

    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;

    transform: rotate(45deg);
}


/* TEXT */

.filter-option-name {
    min-width: 0;

    flex: 1;
}


/* COUNTER */

.filter-count {
    margin-left: 10px;

    color: var(--muted);

    font-size: 10px;
}


/* disabled */

.filter-option.disabled {
    opacity: .35;
}

.filter-option.disabled label {
    cursor: default;
}


/* ==========================================================
   SHOW ALL
   ========================================================== */

.filter-show-all {
    margin-top: 10px;
    padding: 0;

    border: 0;
    border-bottom: 1px solid var(--line);

    background: transparent;

    color: var(--muted);

    font-family: inherit;
    font-size: 10px;

    cursor: pointer;
}

.filter-show-all:hover {
    color: var(--ink);

    border-color: var(--ink);
}


/* ==========================================================
   FOOTER
   ========================================================== */

.filter-footer {
    display: flex;

    gap: 8px;

    padding: 20px 25px;

    border-top: 1px solid var(--line);

    background: var(--bg);
}


.filter-reset {
    flex: 0 0 auto;

    padding: 0 15px;

    border: 1px solid var(--line);
    border-radius: 99px;

    background: transparent;

    color: var(--muted);

    font-family: inherit;
    font-size: 11px;

    cursor: pointer;

    transition:
        border-color .2s ease,
        color .2s ease;
}

.filter-reset:hover {
    border-color: var(--ink);

    color: var(--ink);
}


.filter-apply {
    flex: 1;

    min-height: 44px;

    padding: 0 17px;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 850px) {

    .catalog-filter {
        position: fixed;

        top: 0;
        right: 0;

        z-index: 100;

        width: min(90vw, 390px);
        height: 100dvh;

        display: flex;
        flex-direction: column;

        border: 0;
        border-radius: 0;

        transform: translateX(102%);

        transition: transform .3s ease;
    }


    body.filter-open {
        overflow: hidden;
    }

    body.filter-open .catalog-filter {
        transform: translateX(0);
    }


    .filter-head {
        flex: 0 0 auto;

        padding:
            max(22px, env(safe-area-inset-top))
            22px
            18px;
    }

    .filter-close {
        display: block;
    }


    .filter-content {
        flex: 1;

        padding: 0 22px;

        overflow-y: auto;
        overscroll-behavior: contain;
    }


    .filter-footer {
        flex: 0 0 auto;

        padding:
            15px
            22px
            max(15px, env(safe-area-inset-bottom));
    }

}

.variant-page-loading::before {
    content: "";

    position: fixed;
    inset: 0;

    z-index: 9998;

    background: rgba(30, 30, 28, .35);

    backdrop-filter: blur(1px);
}

.variant-page-loading::after {
    content: "";

    position: fixed;
    top: 50%;
    left: 50%;

    z-index: 9999;

    width: 34px;
    height: 34px;

    margin: -17px 0 0 -17px;

    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;

    animation: variant-spin .7s linear infinite;
}

@keyframes variant-spin {
    to {
        transform: rotate(360deg);
    }
}

.catalog-categories {
    margin: 34px 0 42px;
}

.catalog-categories__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.catalog-categories__heading h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.5px;
}

.catalog-categories__heading > span {
    color: #999;
    font-size: 13px;
}

.catalog-categories__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.catalog-category {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: 108px;
    padding: 16px;
    background: #f7f6f3;
    border: 1px solid #efede9;
    border-radius: 9px;
    color: #242424;
    text-decoration: none;
    transition: background .2s, transform .2s, border-color .2s;
}

.catalog-category small {
    color: #a7a39d;
    font-size: 11px;
}

.catalog-category span {
    max-width: 140px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.catalog-category b {
    position: absolute;
    right: 14px;
    top: 12px;
    font-size: 17px;
    font-weight: 400;
    color: #aaa;
    transition: transform .2s;
}

.catalog-category:hover {
    background: #eeebe6;
    border-color: #ded9d1;
    color: #111;
    transform: translateY(-2px);
}

.catalog-category:hover b {
    transform: translate(2px, -2px);
}

@media (max-width: 900px) {
    .catalog-categories__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .catalog-categories {
        margin: 26px 0 30px;
    }

    .catalog-categories__heading h2 {
        font-size: 19px;
    }

    .catalog-categories__heading > span {
        display: none;
    }

    .catalog-categories__list {
        display: flex;
        overflow-x: auto;
        gap: 9px;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .catalog-categories__list::-webkit-scrollbar {
        display: none;
    }

    .catalog-category {
        flex: 0 0 145px;
        min-height: 100px;
        scroll-snap-align: start;
    }
}

.subcat-item {
    flex: 0 0 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f8f7;
    border-radius: 10px;
    text-decoration: none;
    color: #222;
    transition: background .2s;
}

.subcat-item img {
    display: block;
    width: 100%;
    height: 105px;
    object-fit: contain;
}

.subcat-item span {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.subcat-item:hover {
    background: #eeedea;
}

@media (max-width: 600px) {
    .subcat-item {
        flex-basis: 120px;
        padding: 10px;
    }

    .subcat-item img {
        height: 85px;
    }
}

.subcategories {
    margin: 28px 0 36px;
    max-width: 100%;
    min-width: 0;
}

.subcategories-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.subcategories-top h2 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.4px;
    margin: 0;
}

.subcategories-nav {
    display: flex;
    gap: 7px;
}

.subcategories-nav button {
    width: 35px;
    height: 35px;
    border: 1px solid #e7e7e7;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
}

.subcategories-nav button:hover:not(:disabled) {
    background: #222;
    color: #fff;
    border-color: #222;
}

.subcategories-nav button:disabled {
    opacity: .3;
    cursor: default;
}

.subcategories-nav svg {
    width: 17px;
    height: 17px;
}

.subcategories-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 2px 0 5px;
    -webkit-overflow-scrolling: touch;
}

.subcategories-scroll::-webkit-scrollbar {
    display: none;
}

.subcat-item {
    flex: 0 0 150px;
    min-height: 104px;
    padding: 17px;
    background: #f8f8f7;
    border: 1px solid transparent;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    scroll-snap-align: start;
    color: #292929;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}

.subcat-item svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.5;
}

.subcat-item span {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
}

.subcat-item:hover {
    background: #eeedea;
    color: #111;
}

.subcat-item.active {
    background: #f0eee9;
    border-color: #dfdcd6;
}

@media(max-width: 600px) {
    .subcategories {
        margin: 22px 0 28px;
    }

    .subcategories-top h2 {
        font-size: 18px;
    }

    .subcat-item {
        flex-basis: 128px;
        min-height: 96px;
        padding: 14px;
    }

    .subcat-item svg {
        width: 23px;
        height: 23px;
    }
}

@media(prefers-reduced-motion: reduce) {
    .subcat-item,
    .subcategories-nav button {
        transition: none;
    }
}

.pattern-cats {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 30px 0 40px;
    overflow: hidden;
}

.pattern-cats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.pattern-cats-header h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 500;
}

.pattern-cats-arrows {
    display: flex;
    gap: 8px;
}

.pattern-cats-arrows button {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 20px;
    cursor: pointer;
    transition: .2s;
}

.pattern-cats-arrows button:hover:not(:disabled) {
    background: #222;
    border-color: #222;
    color: #fff;
}

.pattern-cats-arrows button:disabled {
    opacity: .3;
    cursor: default;
}

/* Горизонтальная прокрутка */

.pattern-cats-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    overflow-x: auto !important;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pattern-cats-track::-webkit-scrollbar {
    display: none;
}

/* Карточки */

.pattern-cats-item {
    flex: 0 0 155px !important;
    width: 155px;
    min-width: 155px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    padding: 15px;
    box-sizing: border-box;

    background: #f8f8f7;
    border-radius: 10px;

    color: #222;
    text-decoration: none;
    scroll-snap-align: start;
    transition: background .2s;
}

.pattern-cats-item:hover {
    background: #eeedea;
}

.pattern-cats-item img {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: contain;
}

.pattern-cats-item span {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 600px) {
    .pattern-cats-item {
        flex-basis: 125px !important;
        width: 125px;
        min-width: 125px;
        padding: 10px;
    }

    .pattern-cats-item img {
        height: 90px;
    }
}

/* PASSWORD RECOVERY */

.password-recovery-page {
    padding: 75px 0 110px;
}

.password-recovery-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    max-width: 1050px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: var(--paper);
}

/* LEFT */

.password-recovery-content {
    padding: 70px 65px;
}

.password-recovery-content h1 {
    margin: 12px 0 18px;
    font-family: Georgia, serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.1;
}

.recovery-description {
    max-width: 390px;
    margin: 0 0 35px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.recovery-field {
    display: grid;
    gap: 9px;
    margin-bottom: 22px;
}

.recovery-field label {
    font-size: 12px;
    font-weight: 600;
}

.recovery-field input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
    background: var(--bg);
    color: var(--ink);
    font: 13px Inter, Arial, sans-serif;
    box-sizing: border-box;
}

.recovery-field input:focus {
    border-color: var(--ink);
    background: #fff;
}

.recovery-submit {
    width: 100%;
    min-height: 50px;
}

.recovery-submit:disabled {
    opacity: .6;
    cursor: wait;
}

/* MESSAGES */

.recovery-message {
    margin: 0 0 18px;
    padding: 16px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.7;
}

.recovery-message[hidden] {
    display: none;
}

.recovery-message.error {
    background: #f6e8e5;
    color: #8e4f45;
}

.recovery-message.success {
    padding: 25px;
    background: var(--accent2);
    color: var(--ink);
}

.recovery-message.success strong {
    display: block;
    margin-bottom: 8px;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 400;
}

.recovery-message.success p {
    margin: 8px 0;
}

.recovery-login-btn {
    width: 100%;
    margin-top: 20px;
}

/* LINKS */

.recovery-links,
.recovery-register {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
}

.recovery-links {
    margin-top: 25px;
}

.recovery-register {
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.recovery-links a,
.recovery-register a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* RIGHT */

.password-recovery-aside {
    display: flex;
    padding: 70px 55px;
    background: var(--accent2);
}

.recovery-aside-inner {
    width: 100%;
}

.password-recovery-aside h2 {
    margin: 12px 0 20px;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.15;
}

.password-recovery-aside > .recovery-aside-inner > p {
    margin-bottom: 35px;
    color: #6f6962;
    font-size: 13px;
    line-height: 1.7;
}

.recovery-feature {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid rgba(30,30,28,.12);
}

.recovery-feature > span {
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 13px;
}

.recovery-feature strong {
    font-size: 13px;
}

.recovery-feature p {
    margin: 5px 0 0;
    color: #6f6962;
    font-size: 12px;
    line-height: 1.5;
}

/* TABLET */

@media (max-width: 850px) {
    .password-recovery-card {
        grid-template-columns: 1fr;
    }

    .password-recovery-content {
        padding: 50px 40px;
    }

    .password-recovery-aside {
        padding: 45px 40px;
    }
}

/* MOBILE */

@media (max-width: 520px) {
    .password-recovery-page {
        padding: 25px 0 60px;
    }

    .password-recovery-page .wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    .password-recovery-card {
        border-radius: 15px;
    }

    .password-recovery-content {
        padding: 38px 22px;
    }

    .password-recovery-content h1 {
        font-size: 35px;
    }

    .password-recovery-aside {
        padding: 38px 22px;
    }

    .password-recovery-aside h2 {
        font-size: 29px;
    }
}