button.add-to-cart,
.item-card .item-card-bottom button.add-to-cart {
    display: block;
    width: 100%;
    background: var(--color-light-blue);
    color: #fff;
    border: 0;
    font-family: var(--primary-font-family);
    font-size: var(--font-size-100);
    text-transform: uppercase;
    border-radius: 50px;
    padding: 15px;
    cursor: pointer;
}

.item-card .item-card-bottom form { margin: 0; }

button.add-to-cart:hover,
button.add-to-cart:focus-visible,
.item-card .item-card-bottom button.add-to-cart:hover,
.item-card .item-card-bottom button.add-to-cart:focus-visible,
.favorite-cart:hover,
.favorite-cart:focus-visible {
    background: #fff;
    color: var(--theme-color);
    box-shadow: 0 0 8px 2px #298ce3 inset !important;
}

button.add-to-cart:disabled,
button.add-to-cart:disabled:hover,
.item-card .item-card-bottom button.add-to-cart:disabled,
.item-card .item-card-bottom button.add-to-cart:disabled:hover {
    background: var(--color-light-blue);
    color: #fff;
    opacity: .5;
    cursor: not-allowed;
    box-shadow: none;
}

.stock-warning { margin-bottom: 8px; font-size: 14px; color: orange; min-height: 21px; }
.stock-warning.is-hidden { color: transparent; }
.stock-warning.is-out { color: #dc3545; }

.item-card .item-image > a,
.item-card .item-image-sale > a {
    position: relative;
    z-index: 1;
}

.item-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    margin: 0;
}

.item-favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--color-gray);
    box-shadow: 0 4px 12px rgba(35, 36, 36, .14);
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
}

.item-favorite-btn .bi { line-height: 1; }

.item-favorite-btn:hover,
.item-favorite-btn:focus-visible,
.item-favorite-btn.is-active:hover,
.item-favorite-btn.is-active:focus-visible {
    background: #fff;
    color: var(--theme-color);
    box-shadow: 0 0 8px 2px #298ce3 inset !important;
}

.item-favorite-btn.is-active {
    background: #fff;
    color: var(--theme-color);
}

.item-favorite-btn:disabled {
    cursor: progress;
}

html[data-theme="dark"] .item-favorite-btn,
html[data-theme="dark"] .item-favorite-btn.is-active {
    background: #fff;
}

html[data-theme="dark"] .item-favorite-btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .item-favorite-btn:hover,
html[data-theme="dark"] .item-favorite-btn:focus-visible,
html[data-theme="dark"] .item-favorite-btn.is-active:hover,
html[data-theme="dark"] .item-favorite-btn.is-active:focus-visible {
    background: #fff;
    color: var(--theme-color);
    box-shadow: 0 0 8px 2px #298ce3 inset !important;
}

.slider-screen { background-repeat: no-repeat; }
.qty-buttons { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.qty-buttons form { display: inline-flex; }

.cart-lines {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100dvh - 260px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 8px;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(41, 140, 227, .45) transparent;
}

.cart-lines::-webkit-scrollbar {
    width: 8px;
}

.cart-lines::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(41, 140, 227, .4);
}

.cart-lines::-webkit-scrollbar-track {
    background: transparent;
}

html[data-theme="dark"] .cart-lines {
    scrollbar-color: rgba(126, 196, 245, .45) transparent;
}

html[data-theme="dark"] .cart-lines::-webkit-scrollbar-thumb {
    background: rgba(126, 196, 245, .4);
}

.js-cart-summary {
    padding: 18px 14px 14px;
    box-shadow: 0 18px 40px rgba(41, 140, 227, .08), 0 2px 8px rgba(35, 36, 36, .04);
}

.js-cart-summary .carttotals-head {
    margin: 0;
    padding: 2px 8px 14px;
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.js-cart-summary .summary-sheet {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: #f4f7f9;
}

.js-cart-summary .summary-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.js-cart-summary .summary-rows + .summary-rows {
    margin-top: 0;
}

.js-cart-summary .summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.js-cart-summary .summary-row[hidden] {
    display: none;
}

.js-cart-summary .summary-label {
    color: var(--color-gray-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.js-cart-summary .summary-value {
    color: var(--color-black);
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
}

.js-cart-summary .summary-row.is-earn {
    margin: 0;
    padding: 11px 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(41, 140, 227, .1);
}

.js-cart-summary .is-earn .summary-label,
.js-cart-summary .is-earn .summary-value,
.js-cart-summary [data-cashback-payment] {
    color: var(--theme-color);
}

.js-cart-summary .is-earn .summary-label {
    font-weight: 700;
}

.carttotals-card .is-cashback {
    color: var(--theme-color);
}

.js-cart-summary .cashback-pay {
    margin: 12px 0 0;
    padding: 14px;
    border-radius: 18px;
    background: var(--color-lightness-blue);
    box-shadow: inset 0 0 0 1px rgba(41, 140, 227, .16);
}

.cashback-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-black);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.cashback-switch:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.cashback-switch-track {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: #d5d8de;
}

.cashback-switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s ease;
}

.cashback-switch.is-on .cashback-switch-track {
    background: var(--theme-color);
}

.cashback-switch.is-on .cashback-switch-track::after {
    transform: translateX(18px);
}

.cashback-amount {
    display: block;
    margin: 12px 0 0;
    color: var(--color-black);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.cashback-amount input {
    display: block;
    width: 100%;
    height: 46px;
    margin-top: 6px;
    padding: 0 14px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(41, 140, 227, .28);
    color: var(--color-black);
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cashback-amount input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--theme-color);
}

.cashback-amount-hint {
    display: block;
    margin: 8px 0 0;
    color: var(--color-gray-dark);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
}

.js-cart-summary .summary-due {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 12px 0 0;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #e8f4fc 0%, #d7ecfa 100%);
}

.js-cart-summary .summary-due .total,
.js-cart-summary .summary-due .total-price {
    float: none;
    margin: 0;
    line-height: 1;
}

.js-cart-summary .summary-due .total {
    color: #3d6f93;
    font-size: 14px;
    font-weight: 600;
}

.js-cart-summary .summary-due .total-price {
    color: #14324c;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.js-cart-summary + .cartcheckout-btn {
    margin-top: 12px;
}

.checkout-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0 0;
    padding: 14px 16px;
    border-radius: 20px;
    background: var(--color-white);
    box-shadow: 0 10px 28px rgba(41, 140, 227, .07), 0 2px 8px rgba(35, 36, 36, .04);
    color: var(--color-gray-dark);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.checkout-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--theme-color);
    cursor: pointer;
}

.checkout-consent a {
    color: var(--theme-color);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.checkout-consent + .cartcheckout-btn {
    margin-top: 12px;
}

html[data-theme="dark"] .checkout-consent {
    background: #1b2430;
    box-shadow: none;
    color: #c5ced8;
}

.buyer-card {
    margin-top: 15px;
    padding: 18px 18px 16px;
    border-radius: 30px;
    background: var(--color-white);
    box-shadow: 0 18px 40px rgba(41, 140, 227, .08), 0 2px 8px rgba(35, 36, 36, .04);
}

.buyer-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.buyer-card-head h5 {
    margin: 0;
    color: var(--color-black);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.buyer-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--color-lightness-blue);
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.buyer-edit:hover,
.buyer-edit:focus-visible {
    color: var(--theme-color);
    filter: brightness(0.96);
}

.buyer-alert {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #fff4e8;
    color: #9a5b12;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.buyer-alert a {
    color: var(--theme-color);
    font-weight: 700;
    text-decoration: none;
}

.buyer-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 14px;
}

.buyer-facts div {
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 12px 14px;
    border-radius: 18px;
    background: #f4f7f9;
}

.buyer-facts dt {
    margin: 0;
    color: var(--color-gray);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.buyer-facts dd {
    margin: 0;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: anywhere;
}

.buyer-facts dd.is-missing {
    color: var(--color-gray);
    font-weight: 600;
}

.buyer-entry { margin-bottom: 12px; }

.buyer-entry-title {
    margin: 0 0 8px;
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.buyer-field > span {
    color: var(--color-black);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.buyer-fields,
.buyer-card > .buyer-field {
    display: grid;
    gap: 10px;
}

.buyer-fields {
    grid-template-columns: 1fr 1fr;
}

.buyer-fields .buyer-field:only-child {
    grid-column: 1 / -1;
}

.buyer-field {
    display: grid;
    gap: 6px;
    margin: 0;
}

.buyer-field > span em {
    margin-left: 6px;
    color: var(--color-gray);
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.buyer-card .form-control {
    background: var(--color-white);
}

.buyer-card .errors-list {
    margin: 14px 0 0;
    border-radius: 16px;
}

html[data-theme="dark"] .buyer-card {
    background: #1b2430;
    box-shadow: none;
}

html[data-theme="dark"] .buyer-card-head h5,
html[data-theme="dark"] .buyer-facts dd,
html[data-theme="dark"] .buyer-field > span {
    color: #f3f6f9;
}

html[data-theme="dark"] .buyer-field > span em {
    color: #9aa6b2;
}

html[data-theme="dark"] .buyer-facts div {
    background: #10161d;
}

html[data-theme="dark"] .buyer-facts dd.is-missing {
    color: #9aa6b2;
}

html[data-theme="dark"] .buyer-alert {
    background: #3a2a12;
    color: #fbbf24;
}

html[data-theme="dark"] .buyer-alert a {
    color: #9fd0f5;
}

html[data-theme="dark"] .buyer-card .form-control {
    background: #10161d;
}

.checkout-order {
    display: flex;
    flex-direction: column;
    height: 320px;
    margin-top: 12px;
    padding: 18px 8px 12px 18px;
    border-radius: 30px;
    background: var(--color-white);
    box-shadow: 0 18px 40px rgba(41, 140, 227, .08), 0 2px 8px rgba(35, 36, 36, .04);
}

.checkout-order-head {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    padding-right: 10px;
}

.checkout-order-head h5 {
    margin: 0;
    color: var(--color-black);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.checkout-order-head span {
    flex: 0 0 auto;
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 700;
}

.checkout-lines {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    margin: 0;
    padding: 0 8px 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(41, 140, 227, .45) transparent;
}

.checkout-lines::-webkit-scrollbar {
    width: 8px;
}

.checkout-lines::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(41, 140, 227, .4);
}

.checkout-lines::-webkit-scrollbar-track {
    background: transparent;
}

.checkout-line {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #eef2f5;
}

.checkout-line:first-child { border-top: 0; }

.checkout-line-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f7f9;
}

.checkout-line-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-line-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.checkout-line-copy a {
    color: var(--color-black);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.checkout-line-copy a:hover,
.checkout-line-copy a:focus-visible {
    color: var(--theme-color);
}

.checkout-line-copy span {
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 600;
}

.checkout-line-sum {
    color: var(--theme-color);
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

html[data-theme="dark"] .checkout-order {
    background: #1b2430;
    box-shadow: none;
}

html[data-theme="dark"] .checkout-order-head h5,
html[data-theme="dark"] .checkout-line-copy a {
    color: #f3f6f9;
}

html[data-theme="dark"] .checkout-line {
    border-top-color: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .checkout-line-photo {
    background: #10161d;
}

html[data-theme="dark"] .checkout-lines {
    scrollbar-color: rgba(126, 196, 245, .45) transparent;
}

html[data-theme="dark"] .checkout-lines::-webkit-scrollbar-thumb {
    background: rgba(126, 196, 245, .4);
}

@media (max-width: 575px) {
    .buyer-card { padding: 16px; }
    .buyer-card-head { align-items: flex-start; }
    .buyer-facts,
    .buyer-fields { grid-template-columns: 1fr; }
    .buyer-edit { padding: 8px 10px; }
    .checkout-order { height: 280px; padding: 16px 6px 10px 16px; }
    .checkout-line { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
    .checkout-line-photo { width: 52px; height: 52px; }
}

.main .row.cart-layout {
    width: calc(100% + var(--bs-gutter-x));
}

@media (min-width: 992px) {
    .cart-layout .carttotals-card {
        margin-top: 0;
    }
}

.cart-line {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(44px, 1fr);
    grid-template-areas:
        "photo name remove"
        "photo qty total";
    column-gap: 16px;
    row-gap: 12px;
    align-items: stretch;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
}

.cart-line-photo {
    grid-area: photo;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-bg);
}

.cart-line-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-line-name {
    grid-area: name;
    align-self: start;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.cart-line-remove {
    grid-area: remove;
    align-self: start;
    justify-self: end;
    margin: 0;
}

.cart-line-remove .pro-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-black);
    font-size: 16px;
}

.cart-line .qty-buttons {
    grid-area: qty;
    align-self: end;
    justify-content: flex-start;
    margin-top: 0;
}

.cart-line-name strong {
    font-weight: 700;
    color: var(--color-light-blue);
}

.cart-line .pro-quantity-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 24px;
    background-color: var(--color-white);
    color: var(--theme-color);
    font-weight: 600;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px;
}

.cart-line-total {
    grid-area: total;
    align-self: end;
    justify-self: end;
    color: var(--theme-color);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .cart-line {
        grid-template-columns: 88px minmax(0, 1fr) auto;
        column-gap: 12px;
        padding: 12px;
    }

    .cart-line-photo {
        min-height: 96px;
    }

    .cart-line .btn.blue-btn-minus,
    .cart-line .btn.blue-btn-plus {
        width: 36px;
        height: 36px;
    }

    .cart-line .pro-quantity-back {
        width: 108px;
        height: 36px;
    }

    .cart-line-total {
        font-size: 18px;
    }
}
button.blue-btn,
button.theme-btn,
button.black-btn,
button.pro-remove {
    border: 0;
    cursor: pointer;
}
button.pro-remove { background: transparent; }

.shopingCart .shoping-cart-card {
    width: 320px;
}

.header .shopingCart ul.cart_list,
.header .shopingCart ul.cart_list li {
    margin-left: 0;
}

.shopingCart ul.cart_list li .cart-item-card .cart-item-img {
    display: block;
    border-radius: 8px;
    background: #fff;
}

.shopingCart ul.cart_list li .cart-item-card .cart-item-img img {
    height: 100%;
    object-fit: contain;
}

.shopingCart ul.cart_list li .cart-item-card .cart-item-desc h6 {
    line-height: 1.3;
}

.shopingCart ul.cart_list li .cart-item-card .cart-item-desc h6 a {
    color: inherit;
    text-decoration: none;
}

.store-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

@media (max-width: 991px) {
    .store-toast {
        top: 80px;
        right: 12px;
    }
}

.store-toast-item {
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--color-black);
    box-shadow: 0 10px 30px rgba(35, 36, 36, 0.16);
    font-family: var(--primary-font-family);
    font-size: 15px;
    line-height: 1.4;
    border-left: 4px solid var(--theme-color);
    animation: store-toast-in 0.25s ease;
}

.store-toast-item.is-error {
    border-left-color: #dc3545;
}

.store-toast.is-leaving .store-toast-item {
    animation: store-toast-out 0.3s ease forwards;
}

@keyframes store-toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

@keyframes store-toast-out {
    to { opacity: 0; transform: translateY(-8px); }
}

html[data-theme="dark"] .store-toast-item {
    background: #1b2430;
    color: #f3f6f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
ul.categories-wrap li ul.nav-category-list > li > a[href="javascript:void(0);"] {
    cursor: default;
}
.catalog-nav { list-style: none; padding: 0; }
.catalog-nav a,
.catalog-nav > li > span { color: var(--color-black); text-decoration: none; cursor: default; }
.catalog-nav a { cursor: pointer; }
.catalog-nav a.is-current,
.catalog-nav > li > span.is-current { color: var(--theme-color); font-weight: 600; }
.catalog-nav ul { list-style: none; padding-left: 14px; }
.pr_buy_cart { display: flex; gap: 12px; flex-wrap: wrap; }
.pr_buy_cart .btn,
.pr_buy_cart .btn:hover,
.pr_buy_cart .btn:focus,
.pr_buy_cart .btn:active {
    width: auto;
    flex: 0 0 auto;
    transform: none;
}
.pr_buy_cart .btn.blue-btn:hover,
.pr_buy_cart .btn.blue-btn:focus,
.pr_buy_cart .btn.blue-btn:active {
    background: var(--color-white);
    color: var(--theme-color);
    box-shadow: 0 0 8px 2px #298ce3 inset !important;
}
.product-details-slider img { width: 100%; height: auto; object-fit: contain; }
.mobile-menu .dropdown { display: block; }
html, body { overflow-x: hidden; }

body,
.inner-section-bg,
.header,
.header-mobile,
.header-menu,
.search-for-mobile input.form-control,
.item-card .item-image,
.item-card .item-image-sale,
.shopping-cart .pro-image {
    background-color: var(--color-bg);
}

.header .logo .logo-dark { display: none; }
html[data-theme="dark"] .header .logo .logo-light { display: none; }
html[data-theme="dark"] .header .logo .logo-dark { display: block; }
.header-desktop .logo { width: 200px; }

@media (max-width: 991px) {
    .header-mobile-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 10px 0;
    }
    .header-mobile-card .bars-search-card,
    .header-mobile-card .logo-card,
    .header-mobile-card .head-round-card {
        float: none;
        width: auto;
    }
    .header-mobile-card .bars-search-card,
    .header-mobile-card .head-round-card {
        flex: 0 0 auto;
    }
    .header-mobile-card .logo-card {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    .header .header-mobile-card .logo-card .logo {
        width: auto;
        max-width: 100%;
        margin: 0;
    }
    .header .header-mobile-card .logo-card .logo img {
        width: auto;
        max-width: 100%;
        max-height: 32px;
    }
    .header-mobile-card .head-round-card {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .header .header-mobile-card .bars-search-card ul.head-round-icon,
    .header .header-mobile-card .head-round-card ul.head-round-icon {
        margin: 0;
        gap: 2px;
    }
    .header-mobile ul.head-round-icon li {
        margin-left: 0;
    }
    .header-mobile ul.head-round-icon .cart-icon,
    .header-mobile ul.head-round-icon .favorites-icon,
    .header-mobile ul.head-round-icon .profile-icon {
        width: 30px;
        height: 30px;
        margin-left: 0;
    }
    .header-mobile .head-switches { gap: 4px; }
    .header-mobile .head-switch {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 520px) {
    .header-mobile .bars-search-card li:not(.off-canvas-btn) { display: none; }
    .header-mobile .head-switch {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    .header .header-mobile-card .logo-card .logo img { max-height: 26px; }
}

.header-menu {
    margin-top: 22px;
    padding-bottom: 6px;
}

.home_3 .header-menu {
    margin-bottom: 0;
}

.home_3 .slider-section {
    margin-top: 32px;
}

.header-desktop-bar {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-desktop-bar .logo {
    flex: 0 0 auto;
}

.header-desktop-bar .tp-mega-full {
    flex: 1 1 auto;
    min-width: 0;
}

.header-desktop .tp-mega-full,
.header-desktop .tp-menu {
    width: auto;
    max-width: 100%;
    pointer-events: none;
}

.header-desktop .tp-menu a {
    pointer-events: auto;
}

.header-menu-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-menu-catalog {
    flex: 0 0 auto;
}

.header-menu-search {
    flex: 1 1 auto;
    min-width: 0;
}

.header-menu-search .search-card {
    margin-top: 0;
}

.head-menu-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex: 0 0 auto;
    margin-left: auto;
}

.head-menu-side > ul.head-round-icon {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 24px;
    align-items: center;
}

.head-menu-side > ul.head-round-icon > li {
    margin: 0;
}

.head-menu-side > ul.head-round-icon > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 1;
}

.head-menu-side > ul.head-round-icon > li > a .favorites-icon,
.head-menu-side > ul.head-round-icon > li > a .cart-icon,
.head-menu-side > ul.head-round-icon > li > a .profile-icon,
.head-menu-side > ul.head-round-icon > li > a .profile-photo {
    width: 40px;
    height: 40px;
    margin: 0;
    line-height: 40px;
    display: block;
}

.header ul.head-round-icon .profile-photo {
    display: block;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-lightness-blue);
}

.head-menu-side > ul.head-round-icon .profile-photo {
    width: 40px;
    height: 40px;
    margin: 0;
}

.header .head-menu-side > ul.head-round-icon > li > a .cart_count,
.header .head-menu-side > ul.head-round-icon > li > a .favorites_count {
    top: -4px;
    right: -4px;
    left: auto;
    margin: 0;
}

.head-tools {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
}

.head-tools .head-phone {
    float: none;
    display: flex;
    align-items: center;
    height: 40px;
    margin: 0;
    max-height: none;
}

.head-tools .head-phone .head-phone-text {
    font-size: 18px;
    line-height: 1;
    margin-top: 0;
    padding: 0 22px;
    color: #fff;
}

.head-tools .head-phone .head-phone-text a,
.head-tools .head-phone .head-phone-text a:hover,
.head-tools .head-phone .head-phone-text a:focus {
    color: #fff;
}

.footer-block ul.contacts-details li a,
.footer-block ul.contacts-details li a:hover,
.footer-block ul.contacts-details li a:focus {
    color: var(--color-white);
}

.mobile-menu li.mobile-contact {
    color: var(--color-white);
    font-size: var(--font-size-200);
    line-height: var(--line-height-300);
    display: block;
    padding: 10px 10px 10px 20px;
    font-family: var(--secondary-font-family);
    font-weight: 700;
}

.head-switches {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.head-switch {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #298CE3;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--primary-font-family);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.head-switch:hover,
.head-switch:focus {
    color: #fff;
    filter: brightness(1.08);
}

.theme-icon-sun { display: none; }

html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: inline-block; }


html[data-theme="dark"] {
    color-scheme: dark;
    --color-black: #f3f6f9;
    --color-gray-dark: #d5dee6;
    --color-gray: #9aa6b2;
    --color-gray-400: #10161d;
    --color-bg: #10161d;
    --color-lightness-blue: #1c3348;
}

html[data-theme="dark"] .item-card,
html[data-theme="dark"] .product-section,
html[data-theme="dark"] .shoping-cart-card,
html[data-theme="dark"] .carttotals-card,
html[data-theme="dark"] ul.categories-wrap li ul.nav-category-list,
html[data-theme="dark"] ul.categories-wrap li ul.nav-category-list li > ul,
html[data-theme="dark"] ul.categories-wrap li ul.nav-category-list li,
html[data-theme="dark"] ul.categories-wrap li ul.nav-category-list li > ul li,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .empty_card,
html[data-theme="dark"] .register,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .contact-info,
html[data-theme="dark"] .contact-map,
html[data-theme="dark"] .stores-card,
html[data-theme="dark"] .table {
    background-color: #1b2430;
    color: #f3f6f9;
}

html[data-theme="dark"] .cart-line,
html[data-theme="dark"] .shopping-cart .table td,
html[data-theme="dark"] .shopping-cart .pro-quantity-back,
html[data-theme="dark"] .btn.blue-btn-minus,
html[data-theme="dark"] .btn.blue-btn-plus,
html[data-theme="dark"] .btn.blue-btn-minus:hover,
html[data-theme="dark"] .btn.blue-btn-plus:hover {
    background-color: #1b2430;
    color: #f3f6f9;
}

html[data-theme="dark"] .btn.blue-btn-minus,
html[data-theme="dark"] .btn.blue-btn-plus,
html[data-theme="dark"] .btn.blue-btn-minus:hover,
html[data-theme="dark"] .btn.blue-btn-plus:hover,
html[data-theme="dark"] .shopping-cart .pro-quantity-back {
    color: var(--theme-color);
    background-color: transparent;
}

html[data-theme="dark"] .cart-line .btn.blue-btn-minus,
html[data-theme="dark"] .cart-line .btn.blue-btn-plus,
html[data-theme="dark"] .cart-line .btn.blue-btn-minus:hover,
html[data-theme="dark"] .cart-line .btn.blue-btn-plus:hover,
html[data-theme="dark"] .cart-line .pro-quantity-back {
    background-color: var(--color-white);
    color: var(--theme-color);
    box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px;
}

html[data-theme="dark"] .shopping-cart .pro-name,
html[data-theme="dark"] .shopping-cart .pro-name a,
html[data-theme="dark"] .shopping-cart .pro-price,
html[data-theme="dark"] .carttotals-card,
html[data-theme="dark"] .carttotals-card .carttotals-head,
html[data-theme="dark"] .carttotals-card .title,
html[data-theme="dark"] .carttotals-card .price,
html[data-theme="dark"] .carttotals-card .total,
html[data-theme="dark"] .carttotals-card .total-price,
html[data-theme="dark"] .cashback-switch,
html[data-theme="dark"] .cashback-amount,
html[data-theme="dark"] .js-cart-summary .summary-value {
    color: #f3f6f9;
}

html[data-theme="dark"] .js-cart-summary .summary-label,
html[data-theme="dark"] .js-cart-summary .cashback-amount-hint {
    color: #b7c3cf;
}

html[data-theme="dark"] .js-cart-summary {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .js-cart-summary .summary-sheet {
    background: #141c26;
}

html[data-theme="dark"] .js-cart-summary .summary-row.is-earn {
    background: #1a4668;
    box-shadow: none;
}

html[data-theme="dark"] .js-cart-summary .is-earn .summary-label,
html[data-theme="dark"] .js-cart-summary .is-earn .summary-value,
html[data-theme="dark"] .js-cart-summary [data-cashback-payment],
html[data-theme="dark"] .carttotals-card .title.is-cashback,
html[data-theme="dark"] .carttotals-card .price.is-cashback {
    color: #7ec4f5;
}

html[data-theme="dark"] .js-cart-summary .cashback-pay {
    background: #1a4668;
    box-shadow: inset 0 0 0 1px rgba(126, 196, 245, .35);
}

html[data-theme="dark"] .js-cart-summary .summary-due {
    background: #16324a;
}

html[data-theme="dark"] .js-cart-summary .summary-due .total {
    color: #9ec8e6;
}

html[data-theme="dark"] .js-cart-summary .summary-due .total-price {
    color: #f3f6f9;
}

html[data-theme="dark"] .cashback-switch-track {
    background: #2c3848;
}

html[data-theme="dark"] .cashback-amount input {
    background: #10161d;
    box-shadow: inset 0 0 0 1px rgba(126, 196, 245, .35);
    color: #f3f6f9;
}

.btn.blue-btn-minus::before,
.btn.blue-btn-plus::before {
    content: none;
}

.btn.blue-btn-minus,
.btn.blue-btn-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

.btn.blue-btn-minus svg,
.btn.blue-btn-plus svg {
    display: block;
    width: 18px;
    height: 18px;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
    border-color: #334155;
}

html[data-theme="dark"] .offcanvas-body,
html[data-theme="dark"] .btn.black-btn,
html[data-theme="dark"] a.scroll-to-top:hover {
    background-color: #10161d;
}

html[data-theme="dark"] .offcanvas-top .offcanvas-btn-close {
    color: #10161d;
    background: #fff;
}

.promotions-page .filter-card {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.promotions-page .filter-card .sort_by_select,
.promotions-page .filter-card .sort_by_select select {
    float: none;
    width: 220px;
    max-width: 100%;
}

.popular-grid,
.deals-grid,
.featured-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
    align-items: stretch;
}

.popular-grid .item-card,
.deals-grid .item-card,
.featured-grid .item-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    margin-bottom: 0;
}

.popular-grid .item-image,
.deals-grid .item-image,
.deals-grid .item-image-sale,
.featured-grid .item-image {
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 12px;
}

.popular-grid .item-image a,
.deals-grid .item-image a,
.deals-grid .item-image-sale a,
.featured-grid .item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.popular-grid .item-image img,
.deals-grid .item-image img,
.deals-grid .item-image-sale img,
.featured-grid .item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.popular-grid .item-pric-card,
.deals-grid .item-pric-card,
.featured-grid .item-pric-card {
    flex: 0 0 32px;
    height: 32px;
    min-height: 32px;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
    overflow: hidden;
    flex-wrap: nowrap;
}

.popular-grid .item-pric-card .new-price,
.popular-grid .item-pric-card .old-price,
.deals-grid .item-pric-card .new-price,
.deals-grid .item-pric-card .old-price,
.featured-grid .item-pric-card .new-price,
.featured-grid .item-pric-card .old-price {
    float: none;
    margin-top: 0;
    white-space: nowrap;
}

.popular-grid .item-title,
.deals-grid .item-title,
.featured-grid .item-title {
    flex: 0 0 calc(2 * 1.4em);
    height: calc(2 * 1.4em);
    min-height: calc(2 * 1.4em);
    max-height: calc(2 * 1.4em);
    margin-bottom: 10px;
    padding: 0 4px;
    font-size: var(--font-size-200);
    line-height: 1.4;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.popular-grid .item-title a,
.deals-grid .item-title a,
.featured-grid .item-title a {
    display: block;
    height: auto;
    overflow: visible;
    font-size: inherit;
    line-height: inherit;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.popular-grid .item-card-bottom,
.deals-grid .item-card-bottom,
.featured-grid .item-card-bottom {
    flex: 0 0 auto;
    margin-top: auto;
}

.popular-grid .stock-warning,
.deals-grid .stock-warning,
.featured-grid .stock-warning {
    height: 1.2em;
    min-height: 1.2em;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1199.98px) {
    .popular-grid,
    .deals-grid,
    .featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .popular-grid,
    .deals-grid,
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .popular-grid .item-pric-card .new-price,
    .deals-grid .item-pric-card .new-price,
    .featured-grid .item-pric-card .new-price {
        font-size: 18px;
    }

    .popular-grid .item-pric-card .old-price,
    .deals-grid .item-pric-card .old-price,
    .featured-grid .item-pric-card .old-price {
        font-size: 13px;
    }
}

.section-empty {
    text-align: center;
}

.section-empty .empty_img img {
    width: 300px;
    height: 300px;
    max-width: 100%;
    object-fit: contain;
}

.catalog-product-page .filter-card {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.catalog-product-page .filter-card .sort_by_select,
.catalog-product-page .filter-card .sort_by_select select {
    float: none;
    width: 220px;
    max-width: 100%;
}

.catalog-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.catalog-product-grid .item-card {
    padding: 22px 22px 18px;
}

@media (max-width: 767.98px) {
    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

.catalog-pages {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.catalog-pages nav,
.catalog-pages .d-sm-flex {
    justify-content: center !important;
    width: 100%;
}

.catalog-pages .d-sm-none,
.catalog-pages .small {
    display: none !important;
}

.catalog-pages .d-none.d-sm-flex {
    display: flex !important;
}

.catalog-pages .pagination {
    gap: 8px;
    margin-bottom: 0;
}

.catalog-pages .page-link {
    min-width: 42px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--color-black);
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 24px rgba(93, 93, 93, 0.08);
}

.catalog-pages .page-item.active .page-link {
    background: var(--color-light-blue);
    color: #fff;
}

.catalog-pages .page-item.disabled {
    display: none;
}

html[data-theme="dark"] .catalog-pages .page-link {
    background: #1b2430;
    color: #f3f6f9;
}

@media (max-width: 991.98px) {
    .contact_card .contact-info {
        margin-top: 24px;
    }
}

.contact-form .btn.blue-btn:disabled {
    opacity: 0.75;
    cursor: progress;
}

.contact-info .info .desc,
.contact-info .info .desc p {
    text-align: left;
}

.contact-info .info .desc p {
    margin: 0;
}

.delivery-page {
    margin-top: 20px;
}

.delivery-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 8px 10px 4px;
    padding: 18px;
    border-radius: 32px;
    background: linear-gradient(135deg, #298ce3 0%, #1a6fbe 100%);
    box-shadow: 0 14px 32px rgba(41, 140, 227, 0.22);
}

.delivery-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 96px;
    margin: 0;
    padding: 18px 20px;
    border-radius: 24px;
    background: #fff;
    color: #232424;
}

.delivery-highlight p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}

.delivery-highlight-icon {
    display: inline-flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e8f4fc;
    color: #298ce3;
    font-size: 24px;
}

@media (max-width: 767.98px) {
    .delivery-highlights {
        grid-template-columns: 1fr;
        margin: 8px 0 0;
        padding: 14px;
    }

    .delivery-highlight p {
        font-size: 16px;
    }
}

html[data-theme="dark"] .delivery-highlights {
    background: linear-gradient(135deg, #1c4f7a 0%, #163a5c 100%);
    box-shadow: none;
}

html[data-theme="dark"] .delivery-highlight {
    background: #1b2430;
    color: #f3f6f9;
}

html[data-theme="dark"] .delivery-highlight-icon {
    background: #1c3348;
    color: #7ec4f5;
}

.delivery-col h2 {
    margin: 30px 0 16px;
    color: var(--color-black);
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}

.delivery-note {
    margin: 16px 10px 0;
    padding: 15px;
    border-radius: 30px;
    background: #fff;
    color: #000;
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
}

html[data-theme="dark"] .delivery-note {
    background: #1b2430;
    color: #f3f6f9;
}

.legal-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 34px;
    background: var(--color-white);
    box-shadow: 0 18px 44px rgba(41, 140, 227, .08), 0 2px 8px rgba(35, 36, 36, .04);
}

.legal-page-head {
    margin-bottom: 26px;
    padding: 26px;
    border-radius: 26px;
    background: linear-gradient(135deg, #e8f4fc 0%, #f5faff 100%);
}

.legal-page-head > span {
    display: block;
    margin-bottom: 8px;
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.legal-page-head h1 {
    margin: 0;
    color: var(--color-black);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.legal-page-head p {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--color-gray-dark);
    font-size: 16px;
    line-height: 1.6;
}

.legal-sections {
    display: grid;
    gap: 14px;
}

.legal-sections section {
    padding: 22px 24px;
    border: 1px solid #e8edf2;
    border-radius: 24px;
}

.legal-sections h2 {
    margin: 0 0 12px;
    color: var(--color-black);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.legal-sections p,
.legal-sections li,
.legal-facts dt,
.legal-facts dd {
    color: var(--color-gray-dark);
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
}

.legal-sections p {
    margin: 0;
}

.legal-sections p + p {
    margin-top: 10px;
}

.legal-sections ul {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding-left: 22px;
}

.legal-sections a {
    color: var(--theme-color);
    font-weight: 700;
    text-decoration: none;
}

.legal-sections a:hover,
.legal-sections a:focus-visible {
    text-decoration: underline;
}

.legal-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.legal-facts div {
    padding: 14px 16px;
    border-radius: 18px;
    background: #f4f7f9;
}

.legal-facts dt {
    margin-bottom: 3px;
    color: var(--color-gray);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.legal-facts dd {
    margin: 0;
    color: var(--color-black);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.legal-page-foot {
    margin-top: 20px;
    color: var(--color-gray);
    font-size: 13px;
    text-align: center;
}

html[data-theme="dark"] .legal-page {
    background: #1b2430;
    box-shadow: none;
}

html[data-theme="dark"] .legal-page-head {
    background: linear-gradient(135deg, #1c4f7a 0%, #163a5c 100%);
}

html[data-theme="dark"] .legal-page-head h1,
html[data-theme="dark"] .legal-sections h2,
html[data-theme="dark"] .legal-facts dd {
    color: #f3f6f9;
}

html[data-theme="dark"] .legal-page-head p,
html[data-theme="dark"] .legal-sections p,
html[data-theme="dark"] .legal-sections li {
    color: #c5ced8;
}

html[data-theme="dark"] .legal-sections section {
    border-color: #2c3948;
}

html[data-theme="dark"] .legal-facts div {
    background: #10161d;
}

@media (max-width: 767.98px) {
    .legal-page {
        padding: 16px;
        border-radius: 26px;
    }

    .legal-page-head {
        margin-bottom: 16px;
        padding: 20px;
        border-radius: 22px;
    }

    .legal-sections section {
        padding: 18px;
        border-radius: 20px;
    }

    .legal-facts {
        grid-template-columns: 1fr;
    }
}

.about-wrap {
    display: flex;
    flex-wrap: wrap;
}

.about-hero,
.about-banner,
.about-why,
.about-certs,
.about-catalog {
    flex: 0 0 100%;
}

.about-hero {
    padding: 15px;
    text-align: center;
}

.about-hero-accent {
    color: #298ce3;
}

.about-banner {
    padding: 5px;
    margin-top: 15px;
}

.about-banner img {
    width: 100%;
    border-radius: 50px;
}

.about-why {
    padding: 5px;
    margin-top: 30px;
}

.about-why h3 {
    margin-bottom: 10px;
}

.about-mark,
.about-ink {
    font-size: 18px;
    line-height: 1.5;
}

.about-mark {
    margin-left: 10px;
    color: #298ce3;
}

.about-ink {
    color: #000;
}

.about-certs {
    margin-top: 50px;
    padding: 5px;
    border-radius: 30px;
    background: #298ce3;
}

.about-certs-copy {
    position: relative;
    z-index: 3;
    padding: 5px;
    margin-top: 30px;
    float: left;
}

.about-certs-title {
    margin-left: 15px;
    color: #fff;
    font-size: 30px;
}

.about-certs-text {
    margin-left: 15px;
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
}

.about-certs-link {
    margin-left: 15px;
    color: #fff;
    font-size: 18px;
}

.about-certs-photos {
    padding: 5px;
    margin-right: 15px;
    float: right;
    position: relative;
}

.about-cert-back {
    width: 200px;
    height: 300px;
    margin-top: -55px;
    margin-right: 200px;
    position: relative;
    z-index: 2;
}

.about-cert-front {
    width: 250px;
    height: 350px;
    position: absolute;
    right: 0;
    top: 0;
    margin-top: -100px;
    margin-right: 50px;
}

.about-catalog {
    margin-top: 30px;
}

.about-catalog .catalog-section img {
    width: 100%;
    height: auto;
    display: block;
}

.certificates-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.certificates-title {
    flex: 0 0 40%;
    padding: 15px;
}

.certificates-photos {
    flex: 0 0 60%;
    padding: 5px;
    text-align: right;
}

.certificates-photos img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    background: #fff;
    vertical-align: top;
}

.certificates-photos img.is-gap {
    margin: 10px;
}

.certificates-photos img.is-end {
    margin-right: 10px;
}

@media (max-width: 767px) {
    .certificates-title,
    .certificates-photos {
        flex: 0 0 100%;
        text-align: left;
    }
}

html[data-theme="dark"] .about-ink {
    color: var(--color-black);
}

html[data-theme="dark"] .section-footer .widget-title,
html[data-theme="dark"] .footer-block ul.widget-list li a,
html[data-theme="dark"] .footer-block ul.contacts-details li,
html[data-theme="dark"] .head-phone .head-phone-text,
html[data-theme="dark"] .head-switch {
    color: #fff;
}

.stars { color: #d5dee8; letter-spacing: 1px; }
.stars .is-on { color: #f5b301; }

html[data-theme="dark"] .stars { color: #3a4b5c; }

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 180ms ease both page-out;
}

::view-transition-new(root) {
    animation: 320ms cubic-bezier(.2, .8, .2, 1) both page-in;
}

@keyframes page-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@keyframes page-out {
    to { opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
    @supports not (view-transition-name: none) {
        main.main {
            animation: page-in .4s cubic-bezier(.2, .8, .2, 1);
        }
    }

    button,
    .btn,
    a.btn,
    .head-switch,
    button.add-to-cart,
    .header .search-card .search-btn,
    .header .search-card .search-btn .btn-search,
    ul.categories-wrap > li > a,
    .tp-menu ul.main-menu > li > a,
    .mobile-menu li > a,
    .footer-block ul.widget-list li a,
    .head-menu-side > ul.head-round-icon > li > a,
    .header-mobile ul.head-round-icon li a,
    .catalog-nav a,
    .item-card,
    .offcanvas-top .offcanvas-btn-close {
        transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease, transform .2s ease, opacity .2s ease;
    }

    button:hover,
    .btn:hover,
    a.btn:hover,
    button.add-to-cart:hover,
    .head-switch:hover,
    ul.categories-wrap > li:hover > a {
        transform: translateY(-1px);
    }

    button:active,
    .btn:active,
    a.btn:active,
    .head-switch:active,
    ul.categories-wrap > li > a:active {
        transform: translateY(0) scale(.98);
    }

    button:disabled,
    button:disabled:hover,
    .btn:disabled,
    .btn:disabled:hover {
        transform: none;
    }

    .head-switch:hover {
        transform: translateY(-1px) scale(1.05);
        filter: brightness(1.08);
    }

    ul.categories-wrap > li:hover > a {
        box-shadow: 0 8px 18px rgba(41, 140, 227, .28);
    }

    .tp-menu ul.main-menu > li > a {
        border-radius: 999px;
    }

    .tp-menu ul.main-menu > li:hover > a,
    .tp-menu ul.main-menu > li.active > a {
        background: var(--color-lightness-blue);
    }

    .head-menu-side > ul.head-round-icon > li > a:hover,
    .header-mobile ul.head-round-icon li a:hover {
        transform: translateY(-2px);
    }

    .btn.btn-search:hover,
    .header .search-card .search-btn:hover .btn-search,
    button.add-to-cart:hover,
    button.add-to-cart:focus-visible,
    .favorite-cart:hover,
    .favorite-cart:focus-visible,
    .pr_buy_cart .btn:hover,
    .pr_buy_cart .btn:active {
        transform: none;
    }

    .mobile-menu li > a {
        border-radius: 12px;
        transition: background-color .2s ease, color .2s ease, padding .2s ease;
    }

    .mobile-menu li > a:hover,
    .mobile-menu li.active > a {
        background: rgba(255, 255, 255, .08);
        padding-left: 26px;
    }

    .footer-block ul.widget-list li a {
        display: inline-block;
    }

    .footer-block ul.widget-list li a:hover {
        transform: translateX(4px);
    }

    .catalog-nav a:hover {
        color: var(--theme-color);
    }

    ul.categories-wrap li ul.nav-category-list,
    ul.categories-wrap li ul.nav-category-list li > ul,
    .shopingCart .shoping-cart-card {
        transform: translateY(8px) scale(.98);
        transform-origin: top center;
    }

    ul.categories-wrap li ul.nav-category-list li > ul {
        transform: translateX(8px);
        transform-origin: left center;
    }

    ul.categories-wrap > li:hover > ul.nav-category-list,
    ul.categories-wrap li ul.nav-category-list.open,
    ul.categories-wrap li ul.nav-category-list li:hover > ul,
    ul.categories-wrap li ul.nav-category-list li > ul.open,
    .shopingCart .shoping-cart-card.open {
        transform: none;
    }

    ul.categories-wrap li ul.nav-category-list li:hover,
    ul.categories-wrap li ul.nav-category-list li > ul li:hover {
        background: var(--color-lightness-blue);
    }

    .item-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(41, 140, 227, .12);
    }

    .item-favorite-btn,
    .item-favorite-btn:hover,
    .item-favorite-btn:focus,
    .item-favorite-btn:active {
        transform: none;
    }

    .item-favorite-btn.is-pop i {
        animation: favorite-pop .35s ease;
    }

    .btn.blue-btn-minus:hover,
    .btn.blue-btn-plus:hover {
        transform: scale(1.06);
    }

    .mobile-menu-wrapper,
    .mobile-menu-wrapper .offcanvas-body {
        transition: opacity .28s ease, visibility .28s ease, transform .32s cubic-bezier(.2, .8, .2, 1);
    }

    .offcanvas-top .offcanvas-btn-close:hover {
        transform: rotate(90deg);
        background: var(--color-lightness-blue);
    }

    .cart_count.is-bump,
    .favorites_count.is-bump {
        animation: cart-bump .35s ease;
    }
}

@keyframes cart-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.28); }
    100% { transform: scale(1); }
}

@keyframes favorite-pop {
    0% { transform: scale(.6); }
    55% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

.order-hero {
    margin-bottom: 16px;
    padding: 22px 24px 20px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(41, 140, 227, .1), transparent 92px),
        var(--color-white);
    box-shadow: 0 12px 30px rgba(41, 140, 227, .08);
    text-align: left;
}

.order-hero-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.order-hero-titles { display: grid; gap: 14px; min-width: 0; }

.order-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.order-hero-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--color-lightness-blue);
    color: var(--theme-color);
    font-size: 28px;
}

.order-hero.is-processing .order-hero-mark { background: #fff4e5; color: #9a6700; }
.order-hero.is-shipped .order-hero-mark { background: #ecebff; color: #4338ca; }
.order-hero.is-completed .order-hero-mark { background: #e7f8ee; color: #166534; }
.order-hero.is-cancelled .order-hero-mark { background: #fde8e8; color: #9f1239; }

.order-kicker {
    margin: 2px 0 8px;
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}

.order-number-label {
    margin: 0;
    color: var(--color-gray);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
}

.order-hero h1 {
    margin: 2px 0 0;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.order-lead {
    max-width: 640px;
    margin: 0;
    color: var(--color-gray-dark);
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--color-bg);
    color: var(--color-black);
    font-size: 14px;
    font-weight: 700;
}

.order-meta i { color: var(--theme-color); font-size: 15px; }

.order-badge {
    display: inline-flex;
    align-items: center;
    flex: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e8f3fc;
    color: #1d6eae;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.order-badge.is-processing { background: #fff4e5; color: #9a6700; }
.order-badge.is-shipped { background: #ecebff; color: #4338ca; }
.order-badge.is-completed { background: #e7f8ee; color: #166534; }
.order-badge.is-cancelled { background: #fde8e8; color: #9f1239; }

.order-cancel {
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 20px;
    background: #fde8e8;
    color: #9f1239;
    font-weight: 600;
    text-align: left;
}

.order-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.order-steps li {
    min-height: 92px;
    padding: 14px 16px;
    border-radius: 20px;
    background: var(--color-white);
    color: var(--color-gray);
    font-size: 14px;
    font-weight: 700;
}

.order-steps li.is-done,
.order-steps li.is-current { color: var(--color-black); }

.order-steps li.is-current { box-shadow: inset 0 0 0 2px var(--theme-color); }

.step-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--color-bg);
    font-size: 13px;
}

.order-steps li.is-done .step-mark,
.order-steps li.is-current .step-mark {
    background: var(--theme-color);
    color: #fff;
}

.order-steps li.is-cancelled {
    color: #9f1239;
    box-shadow: inset 0 0 0 2px #e11d48;
}

.order-steps li.is-cancelled .step-mark {
    background: #e11d48;
    color: #fff;
}

.order-lines { display: flex; flex-direction: column; gap: 12px; }

.order-line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: var(--color-white);
}

.order-line-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-bg);
}

.order-line-photo img { width: 100%; height: 100%; object-fit: contain; }

.order-line-copy { display: grid; gap: 6px; }

.order-line-copy a,
.order-line-copy strong {
    color: var(--color-black);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.order-line-copy span { color: var(--color-gray); font-size: 14px; }

.order-line-sum {
    color: var(--theme-color);
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.order-card {
    margin-bottom: 12px;
    border-radius: 30px;
    background: var(--color-white);
    overflow: hidden;
}

.order-card-head {
    padding: 16px 20px 0;
    color: var(--color-black);
    font-size: 18px;
    font-weight: 700;
}

.order-facts {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 14px 20px 20px;
}

.order-facts div { display: grid; gap: 2px; }
.order-facts dt { color: var(--color-gray); font-size: 13px; }
.order-facts dd { margin: 0; color: var(--color-black); font-weight: 700; }
.order-facts a { font-weight: 700; text-decoration: none; }

.order-comment {
    margin: 0 20px 20px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--color-bg);
    color: var(--color-black);
    text-align: left;
}

.order-comment span {
    display: block;
    margin-bottom: 4px;
    color: var(--color-gray);
    font-size: 12px;
    font-weight: 700;
}

.order-actions { display: grid; gap: 10px; margin-top: 4px; }

.order-btn-quiet {
    display: block;
    padding: 14px 18px;
    border: 1px solid var(--color-lightness-blue);
    border-radius: 50px;
    background: var(--color-white);
    color: var(--color-black);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.order-btn-quiet:hover { color: var(--theme-color); }

html[data-theme="dark"] .order-hero {
    background:
        linear-gradient(180deg, rgba(41, 140, 227, .18), transparent 92px),
        #1b2430;
    box-shadow: none;
    color: #f3f6f9;
}

html[data-theme="dark"] .order-steps li,
html[data-theme="dark"] .order-line,
html[data-theme="dark"] .order-card,
html[data-theme="dark"] .order-btn-quiet {
    background: #1b2430;
    color: #f3f6f9;
}

html[data-theme="dark"] .order-lead,
html[data-theme="dark"] .order-number-label,
html[data-theme="dark"] .order-line-copy span,
html[data-theme="dark"] .order-facts dt,
html[data-theme="dark"] .order-comment span { color: #9aa6b2; }

html[data-theme="dark"] .order-meta li {
    background: #243140;
    color: #f3f6f9;
}

html[data-theme="dark"] .order-hero .order-hero-mark { background: #16324a; color: #9fd0f5; }
html[data-theme="dark"] .order-hero.is-processing .order-hero-mark { background: #3a2a12; color: #fbbf24; }
html[data-theme="dark"] .order-hero.is-shipped .order-hero-mark { background: #241f4a; color: #c4b5fd; }
html[data-theme="dark"] .order-hero.is-completed .order-hero-mark { background: #143024; color: #86efac; }
html[data-theme="dark"] .order-hero.is-cancelled .order-hero-mark { background: #3a1d28; color: #fda4af; }

html[data-theme="dark"] .order-steps li.is-done,
html[data-theme="dark"] .order-steps li.is-current,
html[data-theme="dark"] .order-line-copy a,
html[data-theme="dark"] .order-line-copy strong,
html[data-theme="dark"] .order-card-head,
html[data-theme="dark"] .order-facts dd,
html[data-theme="dark"] .order-comment,
html[data-theme="dark"] .order-btn-quiet { color: #f3f6f9; }

html[data-theme="dark"] .order-badge.is-new,
html[data-theme="dark"] .order-badge { background: #16324a; color: #9fd0f5; }
html[data-theme="dark"] .order-badge.is-processing { background: #3a2a12; color: #fbbf24; }
html[data-theme="dark"] .order-badge.is-shipped { background: #241f4a; color: #c4b5fd; }
html[data-theme="dark"] .order-badge.is-completed { background: #143024; color: #86efac; }
html[data-theme="dark"] .order-badge.is-cancelled,
html[data-theme="dark"] .order-cancel { background: #3a1d28; color: #fda4af; }
html[data-theme="dark"] .order-steps li.is-cancelled { color: #fda4af; }

@media (max-width: 1100px) {
    .order-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .order-hero { padding: 18px; }
    .order-hero-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }
    .order-badge { justify-self: end; }
    .order-hero h1 { font-size: 28px; }
    .order-steps { grid-template-columns: 1fr; }
    .order-line { grid-template-columns: 88px minmax(0, 1fr); }
    .order-line-sum { grid-column: 2; justify-self: start; font-size: 18px; }
}

.account {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.account-side,
.account-panel {
    border-radius: 30px;
    background: var(--color-white);
}

.account-side {
    position: sticky;
    top: 16px;
    padding: 18px;
}

.account-person {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.account-person strong,
.account-person span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-person span { color: var(--color-gray); font-size: 14px; }

.account-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-lightness-blue);
    color: var(--theme-color);
    font-weight: 700;
    object-fit: cover;
}

.account-menu { display: grid; gap: 4px; }

.account-menu a,
.account-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--color-black);
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account-menu a span { flex: 1; }

.account-menu b {
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--color-bg);
    color: var(--color-gray-dark);
    font-size: 12px;
    text-align: center;
}

.account-menu a.is-current {
    background: var(--color-lightness-blue);
    color: var(--theme-color);
}

.account-menu a.is-current b { background: #fff; color: var(--theme-color); }

.account-logout { margin-top: 8px; color: var(--color-gray-dark); }

.account-delete {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 4px 14px;
    border: 0;
    background: transparent;
    color: #dc3545;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.account-delete:hover,
.account-delete:focus-visible { text-decoration: underline; }

.account-delete-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.account-delete-cancel,
.account-delete-confirm {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.account-delete-cancel { background: var(--color-bg); color: var(--color-black); }

.account-delete-confirm { background: #dc3545; color: #fff; }

.account-panel { padding: 24px; }

.account-panel h1 { margin: 0 0 16px; font-size: 32px; }

.account-note { margin: 0 0 14px; color: var(--color-gray-dark); }

.account-tabs { display: flex; gap: 8px; margin-bottom: 16px; }

.account-tabs a {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--color-bg);
    color: var(--color-black);
    font-weight: 700;
    text-decoration: none;
}

.account-tabs a.is-current { background: var(--theme-color); color: #fff; }

.account-orders.is-hidden { display: none; }

.account-list { display: grid; gap: 10px; }

.account-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: var(--color-bg);
    color: var(--color-black);
    text-decoration: none;
}

.account-sums {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.account-sums article {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--color-bg);
}

.account-sums article.is-active,
.account-stats article.is-active { background: #e8f3fc; }

.account-sums article.is-completed,
.account-stats article.is-completed { background: #e7f8ee; }

.account-sums article.is-cancelled,
.account-stats article.is-cancelled { background: #fde8e8; }

.account-sums span { display: block; color: var(--color-gray); font-size: 13px; }

.account-sums strong {
    display: block;
    margin-top: 6px;
    color: var(--color-black);
    font-size: 20px;
    line-height: 1.2;
}

.account-table { display: grid; }

.account-table-head,
.account-order {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 210px 168px;
    gap: 12px;
    align-items: center;
}

.account-table-head {
    padding: 0 16px 8px;
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 700;
}

.account-table-head span:last-child { text-align: right; }

.account-order {
    margin-bottom: 8px;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--color-bg);
    color: var(--color-black);
    text-decoration: none;
}

.account-order-main { display: grid; gap: 4px; min-width: 0; }

.account-order .order-badge { justify-self: start; }

.account-order b {
    color: var(--theme-color);
    font-size: 18px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.account-row-photo,
.account-row-photo img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: contain;
    background: var(--color-white);
}

.account-row a,
.account-order strong { color: var(--color-black); font-weight: 700; text-decoration: none; }

.account-row span,
.account-order-main span { display: block; color: var(--color-gray); font-size: 14px; }

.account-row-actions { display: grid; gap: 8px; justify-items: end; }

.account-quiet {
    border: 0;
    background: transparent;
    color: var(--color-gray-dark);
    font-weight: 700;
    cursor: pointer;
}

.account-link {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin: 0 0 16px;
}

.account-link-input {
    flex: 1;
    min-width: 0;
    height: 52px;
    font-weight: 700;
}

.account-copy {
    flex: none;
    height: 52px;
    padding: 0 22px;
    border-radius: 16px;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.account-stats.is-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.account-stats article {
    padding: 16px;
    border-radius: 18px;
    background: var(--color-bg);
}

.account-stats span { display: block; color: var(--color-gray); font-size: 13px; }

.account-stats strong {
    display: block;
    margin-top: 6px;
    color: var(--color-black);
    font-size: 24px;
}

.account-progress {
    height: 8px;
    margin: 0 0 12px;
    border-radius: 999px;
    background: var(--color-bg);
    overflow: hidden;
}

.account-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--theme-color);
}

.account-facts { padding-left: 0; padding-right: 0; }

.account-photo-card {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 24px;
    background: var(--color-bg);
}

.account-photo { margin: 0; cursor: pointer; }

.account-photo-frame {
    position: relative;
    display: block;
    width: 112px;
    height: 112px;
}

.account-photo-frame img[hidden],
.account-photo-fallback[hidden] { display: none; }

.account-photo-frame img,
.account-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--color-lightness-blue);
    color: var(--theme-color);
    font-size: 32px;
    font-weight: 700;
    object-fit: cover;
    box-shadow: inset 0 0 0 4px var(--color-white), 0 0 0 2px var(--theme-color);
}

.account-photo-cam {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 3px solid var(--color-bg);
    border-radius: 50%;
    background: var(--theme-color);
    color: #fff;
    font-size: 15px;
}

.account-photo:hover .account-photo-frame img,
.account-photo:hover .account-photo-fallback { filter: brightness(.94); }

.account-photo input { display: none; }

.account-photo-copy strong { display: block; margin-bottom: 4px; color: var(--color-black); }

.account-photo-copy p { margin: 0 0 4px; color: var(--color-gray); font-size: 14px; }

.account-photo-copy .account-quiet { margin-top: 6px; padding: 0; }

.account-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.account-fields label { display: grid; gap: 6px; color: var(--color-gray); font-size: 13px; font-weight: 700; }

.account-fields .is-wide { grid-column: 1 / -1; }

.account-save { margin-top: 4px; }

.pr-favorite { margin-top: 12px; }
.pr-favorite .bi { margin-right: 6px; color: var(--theme-color); }
.pr-favorite .order-btn-quiet:hover,
.pr-favorite .order-btn-quiet:focus-visible {
    background: #fff;
    color: var(--theme-color);
    box-shadow: 0 0 8px 2px #298ce3 inset !important;
}
.pr-favorite .order-btn-quiet.is-active,
.pr-favorite .order-btn-quiet.is-active .bi {
    color: var(--theme-color);
}
.favorites-page { max-width: 860px; }
.favorites-page h4 { margin-bottom: 8px; }
.favorites-page .account-note { margin-bottom: 16px; }

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

.favorite-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(35, 36, 36, .06);
}

.favorite-row-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 112px;
    height: 112px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--color-bg);
}

.favorite-row-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.favorite-row-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    padding: 2px 0;
}

.favorite-row-head,
.favorite-row-foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.favorite-row-foot { align-items: flex-end; }

.favorite-row-name {
    flex: 1;
    min-width: 0;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.favorite-row-meta { display: grid; gap: 2px; min-width: 0; }

.favorite-row-meta b {
    color: var(--theme-color);
    font-size: 20px;
    line-height: 1.1;
}

.favorite-row-meta span { color: var(--color-gray); font-size: 13px; }

.favorite-row-head form,
.favorite-cart-form { margin: 0; }

.favorite-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: var(--theme-color);
    color: #fff;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(41, 140, 227, .22);
}

.favorite-cart .bi { font-size: 16px; line-height: 1; }

.favorite-cart:hover,
.favorite-cart:focus,
.favorite-cart:focus-visible {
    background: #fff;
    color: var(--theme-color);
    box-shadow: 0 0 8px 2px #298ce3 inset !important;
}

.favorite-cart:disabled,
.favorite-cart:disabled:hover {
    background: var(--theme-color);
    color: #fff;
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.favorite-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin: -4px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--color-gray);
    font-size: 14px;
    cursor: pointer;
}

.favorite-remove:hover,
.favorite-remove:focus {
    background: #fde8e8;
    color: #dc3545;
}

.favorites-empty-card {
    max-width: 460px;
    margin: 28px auto 12px;
    padding: 40px 28px 32px;
    border-radius: 28px;
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(35, 36, 36, .06);
    text-align: center;
}

.favorites-empty-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--color-lightness-blue);
}

.favorites-empty-mark img {
    width: 40px;
    height: 40px;
}

.favorites-empty-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.favorites-empty-card p {
    margin: 0 0 20px;
    color: var(--color-gray);
}

.favorites-empty-btn {
    height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
}

.account-panel .favorites-empty-card {
    max-width: none;
    margin: 0;
    box-shadow: none;
    background: var(--color-bg);
}

html[data-theme="dark"] .account-side,
html[data-theme="dark"] .account-panel,
html[data-theme="dark"] .account-row-photo,
html[data-theme="dark"] .account-row-photo img { background: #1b2430; color: #f3f6f9; }

html[data-theme="dark"] .account-photo-card { background: #121820; }

html[data-theme="dark"] .account-photo-frame img,
html[data-theme="dark"] .account-photo-fallback { box-shadow: inset 0 0 0 4px #1b2430, 0 0 0 2px var(--theme-color); }

html[data-theme="dark"] .account-photo-cam { border-color: #121820; }

html[data-theme="dark"] .account-photo-copy strong { color: #f3f6f9; }

html[data-theme="dark"] .account-menu a,
html[data-theme="dark"] .account-logout,
html[data-theme="dark"] .account-panel h1,
html[data-theme="dark"] .account-row a,
html[data-theme="dark"] .account-order,
html[data-theme="dark"] .account-order strong,
html[data-theme="dark"] .account-tabs a,
html[data-theme="dark"] .account-stats strong,
html[data-theme="dark"] .account-sums strong,
html[data-theme="dark"] .account-person strong { color: #f3f6f9; }

html[data-theme="dark"] .account-row,
html[data-theme="dark"] .account-order,
html[data-theme="dark"] .account-stats article,
html[data-theme="dark"] .account-sums article,
html[data-theme="dark"] .account-tabs a,
html[data-theme="dark"] .account-progress,
html[data-theme="dark"] .account-menu b { background: #121820; }

html[data-theme="dark"] .account-sums article.is-active,
html[data-theme="dark"] .account-stats article.is-active { background: #16324a; }

html[data-theme="dark"] .account-sums article.is-completed,
html[data-theme="dark"] .account-stats article.is-completed { background: #143024; }

html[data-theme="dark"] .account-sums article.is-cancelled,
html[data-theme="dark"] .account-stats article.is-cancelled { background: #3a1d28; }

html[data-theme="dark"] .account-menu a.is-current { background: #16324a; color: #9fd0f5; }

html[data-theme="dark"] .account-tabs a.is-current { background: var(--theme-color); color: #fff; }

html[data-theme="dark"] .account-person span,
html[data-theme="dark"] .account-note,
html[data-theme="dark"] .account-row span,
html[data-theme="dark"] .account-order-main span,
html[data-theme="dark"] .account-stats span,
html[data-theme="dark"] .account-sums span,
html[data-theme="dark"] .account-table-head,
html[data-theme="dark"] .account-quiet { color: #9aa6b2; }

html[data-theme="dark"] .favorite-row { background: #121820; box-shadow: none; }

html[data-theme="dark"] .favorite-row-photo,
html[data-theme="dark"] .favorite-row-photo img { background: #1b2430; }

html[data-theme="dark"] .favorite-row-name { color: #f3f6f9; }

html[data-theme="dark"] .favorite-row-meta span,
html[data-theme="dark"] .favorite-remove { color: #9aa6b2; }

html[data-theme="dark"] .favorite-remove:hover,
html[data-theme="dark"] .favorite-remove:focus { background: #3a1d28; color: #ffb4b4; }

html[data-theme="dark"] .favorite-cart:hover,
html[data-theme="dark"] .favorite-cart:focus,
html[data-theme="dark"] .favorite-cart:focus-visible {
    background: #fff;
    color: var(--theme-color);
    box-shadow: 0 0 8px 2px #298ce3 inset !important;
}

html[data-theme="dark"] .favorites-empty-card { background: #121820; box-shadow: none; }

html[data-theme="dark"] .account-panel .favorites-empty-card { background: #1b2430; }

html[data-theme="dark"] .favorites-empty-mark { background: #16324a; }

html[data-theme="dark"] .favorites-empty-card h3 { color: #f3f6f9; }

html[data-theme="dark"] .favorites-empty-card p { color: #9aa6b2; }

@media (max-width: 900px) {
    .account { grid-template-columns: 1fr; }
    .account-side { position: static; }
    .account-menu { grid-template-columns: 1fr 1fr; }
    .account-stats,
    .account-stats.is-pair,
    .account-sums,
    .account-fields { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .account-panel { padding: 18px; }
    .account-panel h1 { font-size: 26px; }
    .account-row { grid-template-columns: 64px minmax(0, 1fr); }
    .account-table { overflow-x: auto; }
    .account-table-head,
    .account-order { min-width: 520px; }
    .account-row-actions { grid-column: 1 / -1; justify-items: start; }
    .account-link { flex-direction: column; }
    .account-copy { width: 100%; }
    .favorite-row { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .favorite-row-photo { width: 84px; height: 84px; align-self: start; }
    .favorite-row-foot { flex-direction: column; align-items: stretch; gap: 10px; }
    .favorite-row .favorite-cart,
    .favorite-row .favorite-cart-form { width: 100%; }
}

.auth-page { max-width: 440px; margin: 0 auto; }

.auth-card {
    padding: 28px 24px 24px;
    border-radius: 24px;
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(35, 36, 36, .06);
}

.auth-card h1 { margin: 0 0 8px; font-size: 28px; text-align: center; }

.auth-card p { margin-right: 0; margin-left: 0; text-align: center; }

.auth-label {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 700;
}

.auth-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--theme-color);
    border-radius: 20px;
    background: #fff;
}

.auth-phone > span {
    color: var(--color-black);
    font-size: 16px;
    font-weight: 800;
}

.auth-phone input {
    flex: 1;
    min-width: 0;
    padding: 14px 0;
    border: 0;
    background: transparent;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 700;
}

.auth-phone input::placeholder { color: var(--color-gray); font-weight: 600; }

.auth-channels {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.auth-channels legend {
    margin-bottom: 8px;
    padding: 0;
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 700;
}

.auth-channels > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.auth-channels label {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.auth-channels input {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
}

.auth-channels label span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 10px;
    border: 1px solid var(--color-gray-400);
    border-radius: 16px;
    background: #fff;
    color: var(--color-black);
    font-size: 15px;
    font-weight: 800;
}

.auth-channels label span .bi { font-size: 18px; }

.auth-channels input:checked + span {
    border-color: var(--theme-color);
    background: var(--color-lightness-blue);
    color: var(--theme-color);
}

.auth-channels input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(41, 140, 227, .28);
}

.auth-sms-hint {
    margin-top: -8px;
    font-size: 14px;
}

.auth-code {
    height: 52px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}

.auth-status {
    margin: -6px 0 14px;
    color: var(--theme-color);
    font-weight: 800;
}

.auth-status.is-error { color: #d64545; }

a.auth-telegram-open {
    display: block;
    margin-bottom: 14px;
    text-decoration: none;
}

.auth-preview {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--color-lightness-blue);
    color: var(--color-gray-dark);
    font-size: 13px;
    font-weight: 600;
}

.auth-preview strong {
    color: var(--color-black);
    font-size: 16px;
    letter-spacing: .08em;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.auth-links a {
    color: var(--theme-color);
    font-weight: 800;
    text-decoration: none;
}

.auth-links button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--theme-color);
    font-weight: 800;
    cursor: pointer;
}

.auth-form .turnstile-slot {
    display: flex;
    justify-content: center;
    margin: 0 0 16px;
}

.auth-form .cf-turnstile {
    display: flex !important;
    justify-content: center;
    width: 100% !important;
    margin: 0 !important;
}
.auth-submit { width: 100%; }

.auth-dialog {
    width: min(420px, calc(100vw - 32px));
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: var(--color-black);
    box-shadow: 0 24px 60px rgba(35, 36, 36, .22);
}

.auth-dialog::backdrop { background: rgba(35, 36, 36, .45); }

.auth-dialog-card { position: relative; padding: 28px 24px 24px; text-align: center; }

.auth-dialog-card h2 { margin: 0 0 10px; font-size: 24px; }

.auth-dialog-card p { margin: 0 0 18px; color: var(--color-gray-dark); }

.auth-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-gray-dark);
    cursor: pointer;
}

.auth-dialog-go { width: 100%; }

html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .auth-dialog {
    background: #121820;
    color: #f3f6f9;
    box-shadow: none;
}

html[data-theme="dark"] .auth-phone,
html[data-theme="dark"] .auth-channels label span {
    background: #1b2430;
    color: #f3f6f9;
}

html[data-theme="dark"] .auth-phone > span,
html[data-theme="dark"] .auth-phone input,
html[data-theme="dark"] .auth-preview strong { color: #f3f6f9; }

html[data-theme="dark"] .auth-channels input:checked + span {
    background: #16324a;
    color: #8ec8f5;
}

html[data-theme="dark"] .auth-preview { background: #16324a; color: #d5e6f5; }

html[data-theme="dark"] .auth-card .account-note,
html[data-theme="dark"] .auth-label,
html[data-theme="dark"] .auth-channels legend,
html[data-theme="dark"] .auth-dialog-card p { color: #9aa6b2; }

html[data-theme="dark"] .auth-dialog-close { background: #1b2430; color: #9aa6b2; }

html[data-theme="dark"] .account-delete-cancel { background: #1b2430; color: #f3f6f9; }

@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation: none !important;
    }
}

.item-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 20px;
    margin: 0 4px 10px;
    overflow: hidden;
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.item-rating .stars {
    flex: 0 0 auto;
    font-size: 14px;
    letter-spacing: 0;
}

.item-rating strong {
    color: var(--color-black);
    font-weight: 800;
}

.item-rating span {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
}

.item-rating:hover,
.item-rating:focus-visible {
    color: var(--theme-color);
}

.item-rating:hover strong,
.item-rating:focus-visible strong {
    color: var(--theme-color);
}

.popular-grid .item-rating,
.deals-grid .item-rating,
.featured-grid .item-rating {
    flex: 0 0 20px;
    margin-bottom: 8px;
}

.product-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
}

.product-hero,
.product-panel {
    min-width: 0;
    border-radius: 30px;
    background: #fff;
    color: var(--color-black);
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
}

.product-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    padding: 16px 20px;
    border-radius: 22px;
    background: var(--color-bg);
}

.product-gallery img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 4px 4px 8px;
}

.product-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--color-lightness-blue);
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.product-kicker:hover,
.product-kicker:focus-visible {
    color: var(--theme-color);
    background: #d7ecf9;
}

.product-name {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

.product-score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.product-score strong,
.reviews-score strong {
    color: var(--color-black);
    font-weight: 800;
}

.product-score:hover,
.product-score:focus-visible {
    color: var(--theme-color);
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.product-price-now {
    color: var(--theme-color);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.product-price-old {
    color: var(--color-gray);
    font-size: 18px;
    font-weight: 600;
    text-decoration: line-through;
}

.product-off {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--color-lightness-blue);
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.product-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: min(100%, calc(100vw - 72px));
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-fact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--color-bg);
    color: var(--color-black);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.product-fact span {
    color: var(--color-gray);
    font-weight: 600;
}

.product-fact.is-in { background: #e8f4fc; color: #1d6fb8; }
.product-fact.is-low { background: #fff4e5; color: #b86e00; }
.product-fact.is-out { background: #fdecee; color: #c62828; }

@media (max-width: 430px) {
    .product-facts {
        display: grid;
        grid-template-columns: max-content max-content;
        justify-content: start;
        width: auto;
        max-width: 100%;
    }

    .product-fact:nth-child(n + 3) {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

.product-purchase {
    width: 100%;
    margin-top: 4px;
}

.product-purchase-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 700;
}

.product-buy {
    display: grid;
    gap: 12px;
}

.product-qty {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    height: 52px;
    padding: 4px;
    border-radius: 999px;
    background: var(--color-bg);
}

.product-qty button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--theme-color);
    font-family: var(--primary-font-family);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.product-qty button:disabled {
    color: var(--color-gray);
    cursor: not-allowed;
    opacity: .55;
}

.product-qty input {
    width: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-black);
    font-family: var(--primary-font-family);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.product-actions .btn {
    flex: 1 1 148px;
    width: auto;
    padding: 16px 22px;
}

.product-actions .product-buy-now {
    background: transparent;
    color: var(--theme-color);
    box-shadow: inset 0 0 0 1.5px var(--theme-color);
}

.product-actions .product-buy-now:hover,
.product-actions .product-buy-now:focus-visible {
    background: var(--color-lightness-blue);
    color: var(--theme-color);
    box-shadow: inset 0 0 0 1.5px var(--theme-color);
}

.product-actions .btn:disabled,
.product-actions .btn:disabled:hover,
.product-actions .btn.blue-btn:disabled,
.product-actions .btn.blue-btn:disabled:hover,
.product-actions .product-buy-now:disabled,
.product-actions .product-buy-now:disabled:hover {
    background: #eceff2;
    color: #8d949d;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    transform: none;
}

.product-fav-form { margin: 12px 0 0; }

.product-fav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-gray-dark);
    font-family: var(--primary-font-family);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.product-fav .bi { font-size: 18px; }

.product-fav:hover,
.product-fav:focus-visible,
.product-fav.is-active {
    color: var(--theme-color);
}

.product-panel {
    padding: 22px 20px 24px;
}

.product-panel h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.product-copy {
    max-width: 72ch;
    margin-top: 12px;
    color: var(--color-gray-dark);
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

.product-panel p,
.reviews-head p,
.product-reviews .review-card p {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.product-reviews { scroll-margin-top: 20px; }

.reviews-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 20px;
}

.reviews-head p {
    margin: 6px 0 0;
    color: var(--color-gray);
    font-size: 14px;
}

.reviews-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.reviews-score strong {
    font-size: 40px;
    line-height: .9;
}

.reviews-meter {
    display: grid;
    gap: 8px;
    max-width: 440px;
    margin-top: 18px;
}

.reviews-meter-row {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) 24px;
    gap: 10px;
    align-items: center;
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 700;
}

.reviews-meter-track {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-bg);
}

.reviews-meter-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f5b301;
}

.reviews-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.product-reviews .review-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 14px;
    border-radius: 20px;
    background: var(--color-bg);
}

.review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-lightness-blue);
    color: var(--theme-color);
    font-size: 18px;
    font-weight: 800;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.review-meta strong { font-size: 15px; }

.review-meta time {
    color: var(--color-gray);
    font-size: 13px;
}

.product-reviews .review-card p {
    margin: 8px 0 0;
    color: var(--color-gray-dark);
    line-height: 1.55;
}

.review-form,
.review-gate {
    max-width: none;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e6eef4;
}

.review-form h3,
.review-gate h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
}

.review-gate p,
.review-as {
    max-width: 52ch;
    margin: 0 0 16px;
    color: var(--color-gray-dark);
    font-size: 15px;
    line-height: 1.5;
}

.review-gate .btn.blue-btn {
    width: auto;
    padding: 14px 28px;
}

.review-grid {
    display: grid;
    gap: 12px;
}

.review-form .form-control {
    border: 1px solid #e1e8ef;
    border-radius: 16px;
    background: var(--color-bg);
    color: var(--color-black);
    padding: 14px 16px;
}

.review-form .form-control:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(41, 140, 227, .16);
}

.review-rate {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
}

.review-rate-label {
    color: var(--color-gray);
    font-size: 14px;
    font-weight: 700;
}

.review-stars {
    position: relative;
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}

.review-stars input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.review-stars label {
    color: #d5dee8;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.review-stars label:hover,
.review-stars label:hover ~ label,
.review-stars input:checked ~ label {
    color: #f5b301;
}

.review-stars input:focus-visible + label {
    border-radius: 6px;
    box-shadow: 0 0 0 3px rgba(41, 140, 227, .35);
}

.review-form .errors-list { margin-top: 12px; }

.review-form .btn.blue-btn {
    width: auto;
    margin-top: 14px;
    padding: 14px 28px;
}

.product-actions .btn:hover,
.product-actions .btn:active,
.product-qty button:hover,
.product-qty button:active,
.product-fav:hover,
.product-fav:active,
.review-form .btn:hover,
.review-form .btn:active {
    transform: none;
}

@media (min-width: 720px) {
    .product-buy {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }

    .review-grid {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .review-grid .is-wide { grid-column: 1 / -1; }
}

.main .row { width: 100%; }

.catalog-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.footer-block ul.widget-list li a,
.footer-block ul.contacts-details li,
.footer-block ul.contacts-details li a {
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .home_3 .slider-screen {
        background-position: left center;
    }

    .home_3 .slider-screen.h1-height,
    .home_3 .slider-screen .slider-content {
        padding: 28px 0;
    }

    .home_3 .slider-screen .slider-content {
        max-width: min(520px, 92%);
        padding: 12px 16px 12px 8px;
    }

    .home_3 .slider-screen .slider-content h1 {
        font-size: 32px;
        line-height: 1.15;
    }

    .footer-block {
        width: 50%;
        margin-bottom: 16px;
    }

    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .about-certs { padding-bottom: 8px; }

    .about-certs-copy,
    .about-certs-photos {
        float: none;
        width: auto;
        margin: 0;
        position: static;
    }

    .about-certs-photos {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        gap: 12px;
        padding: 8px 16px 20px;
    }

    .about-cert-back,
    .about-cert-front {
        position: static;
        width: min(42%, 220px);
        height: auto;
        margin: 0;
    }
}

@media (max-width: 767.98px) {
    .home_3 .slider-section {
        margin-top: 16px;
        border-radius: 24px;
    }

    .home_3 .slider-screen .slider-content h1 { font-size: 26px; }

    .home_3 .slider-screen .slider-content p { font-size: 14px; }

    .catalog-section,
    .catalog-big,
    .catalog-small-first,
    .catalog-small-second {
        float: none;
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        flex: 0 0 calc(100% - 24px);
        margin: 0 12px 12px;
    }

    .about-certs-title { font-size: 24px; }

    .about-certs-text { font-size: 16px; }

    .certificates-photos img {
        width: calc(50% - 8px);
        max-width: 200px;
        height: auto;
        margin: 4px !important;
    }
}

@media (max-width: 575.98px) {
    .footer-block {
        float: none;
        width: 100%;
        margin-bottom: 4px;
    }

    .footer-block ul.widget-list li,
    .footer-block ul.contacts-details li {
        float: none;
    }

    .catalog-pages .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .popular-grid .item-card,
    .deals-grid .item-card,
    .featured-grid .item-card,
    .catalog-product-grid .item-card {
        padding: 12px;
    }

    .popular-grid .item-title,
    .deals-grid .item-title,
    .featured-grid .item-title {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .popular-grid .item-card,
    .deals-grid .item-card,
    .featured-grid .item-card,
    .catalog-product-grid .item-card {
        padding: 10px;
    }

    .popular-grid .item-pric-card,
    .deals-grid .item-pric-card,
    .featured-grid .item-pric-card {
        gap: 4px;
    }

    .popular-grid .item-pric-card .new-price,
    .deals-grid .item-pric-card .new-price,
    .featured-grid .item-pric-card .new-price {
        font-size: 15px;
    }

    .popular-grid .item-pric-card .old-price,
    .deals-grid .item-pric-card .old-price,
    .featured-grid .item-pric-card .old-price {
        font-size: 11px;
    }

    .popular-grid .item-card .item-card-bottom button.add-to-cart,
    .deals-grid .item-card .item-card-bottom button.add-to-cart,
    .featured-grid .item-card .item-card-bottom button.add-to-cart,
    .catalog-product-grid .item-card .item-card-bottom button.add-to-cart {
        padding: 10px 4px;
        font-size: 11px;
    }
}

@media (min-width: 992px) {
    .product-sheet { gap: 20px; }

    .product-hero {
        grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
        gap: 32px;
        align-items: center;
        padding: 22px;
    }

    .product-gallery {
        height: auto;
        aspect-ratio: 1;
        max-height: 520px;
        padding: 28px;
    }

    .product-summary { padding: 8px 12px 8px 0; }

    .product-name { font-size: 34px; }

    .product-panel { padding: 28px 32px 32px; }
}

html[data-theme="dark"] .product-hero,
html[data-theme="dark"] .product-panel {
    background: #1b2430;
}

html[data-theme="dark"] .product-kicker:hover,
html[data-theme="dark"] .product-kicker:focus-visible {
    background: #16324a;
}

html[data-theme="dark"] .product-fact { background: #243140; }

html[data-theme="dark"] .product-actions .btn:disabled,
html[data-theme="dark"] .product-actions .btn:disabled:hover,
html[data-theme="dark"] .product-actions .btn.blue-btn:disabled,
html[data-theme="dark"] .product-actions .btn.blue-btn:disabled:hover,
html[data-theme="dark"] .product-actions .product-buy-now:disabled,
html[data-theme="dark"] .product-actions .product-buy-now:disabled:hover {
    background: #243140;
    color: #7d8b99;
}

html[data-theme="dark"] .product-fact.is-in { background: #16324a; color: #9fd0f5; }
html[data-theme="dark"] .product-fact.is-low { background: #3a2a12; color: #fbbf24; }
html[data-theme="dark"] .product-fact.is-out { background: #3a1d28; color: #fda4af; }

html[data-theme="dark"] .product-qty button {
    background: #243140;
}

html[data-theme="dark"] .review-form,
html[data-theme="dark"] .review-gate {
    border-top-color: #2c3c4c;
}

html[data-theme="dark"] .review-form .form-control {
    border-color: #2c3c4c;
    background: #10161d;
    color: #f3f6f9;
}

html[data-theme="dark"] .review-stars label { color: #3a4b5c; }

html[data-theme="dark"] .review-stars label:hover,
html[data-theme="dark"] .review-stars label:hover ~ label,
html[data-theme="dark"] .review-stars input:checked ~ label {
    color: #f5b301;
}
