header {
    position: sticky;
    top: 0;
    display: flex;
    height: 78px;
    background-color: rgb(25, 21, 52);
    width: 100%;
    justify-content: space-around;
    z-index: 100;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

footer {
    position: relative;
    height: 89px;
    background-color: rgb(25, 21, 52);
    width: 100%;
    margin-top: auto;
}

.navigation {
    height: 100%;
    flex-wrap: wrap-reverse;
    position: relative;
    display: flex;
    box-sizing: border-box;
}

.dl-wrapper {
    display: flex;
    width: 100%;
    margin: 0;
    position: relative;
}

.a-reg {
    padding: 0px 10px 0px 10px;
    color: rgb(235, 5, 90);
}

.a-reg:hover {
    text-decoration: underline;
}

.dl-wrapper>dt {
    width: 33%;
    padding: 15px 10px 15px 10px;
    background: transparent;
    text-align: right;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-end;
    align-items: center;
    border-right-color: rgb(60, 53, 93);
    border-right-style: solid;
    border-right-width: 0.8px;
}

.custom-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgb(60, 53, 93);
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.custom-checkbox:checked {
    background-color: rgb(235, 5, 90);
    border-color: rgb(235, 5, 90);
}

.custom-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 5px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.dl-wrapper>dd {
    display: flex;
    width: 67%;
    padding: 15px 10px 15px 10px;
    flex-wrap: wrap;
}

meter.meterBar {
    margin: 0px auto;
    width: 100%;
    height: 10px;
    border-radius: 999px;
}

/* WebKit */
meter.meterBar::-webkit-meter-bar {
    background: none;
    background-color: #efefef;
    border-radius: 999px;
}

meter.meterBar::-webkit-meter-optimum-value {
    background: #63b265;
    border-radius: 999px;
}

meter.meterBar::-webkit-meter-suboptimum-value {
    background: #dcda54;
    border-radius: 999px;
}

meter.meterBar::-webkit-meter-even-less-good-value {
    background: #c84448;
    border-radius: 999px;
}

/* Firefox */
:-moz-meter-optimum::-moz-meter-bar {
    background: #63b265;
}

:-moz-meter-sub-optimum::-moz-meter-bar {
    background: #dcda54;
}

:-moz-meter-sub-sub-optimum::-moz-meter-bar {
    background: #c84448;
}

.meterBarLabel {
    font-size: 13px;
}

/* HELP layout */
.help-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 28px;
    width: 100%;
    align-items: start;
}

.help-card {
    background-color: rgb(25, 21, 52);
    border: 0.8px solid rgb(60, 53, 93);
    border-radius: 4px;
    padding: 18px;
    box-sizing: border-box;
}

.help-card-title {
    color: rgb(245, 245, 245);
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.help-menu {
    display: flex;
    flex-direction: column;
    padding: 10px 0 0 0;
}

.help-menu-link {
    color: rgb(109, 100, 150);
    font-size: 22px;
    transition: color 190ms;
}

.help-menu-link.is-active {
    color: rgb(235, 5, 90) !important;
}

.help-div {
    padding: 9px 10px;
}

.help-div.is-active {
    border-left: 2px solid rgb(235, 5, 90);
}

.help-menu-link:hover {
    color: rgb(245, 245, 245);
}

.help-h {
    color: rgb(245, 245, 245);
    font-size: 20px;
}

.help-p {
    color: rgb(245, 245, 245);
    font-size: 20px;
    line-height: 1.25;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.wrapper,
.body-inner,
.body-inner-main,
.dl-wrapper,
.dl-wrapper>dd {
    min-width: 0;
}

* {
    box-sizing: border-box;
}

input:focus {
    outline: none;
}

.wrapper-in-product:hover .a-product {
    color: rgb(235, 5, 90);
}

.wrapper-in-product img {
    transition: filter 190ms;
}

.wrapper-in-product:hover .a-product-price {
    color: rgb(235, 5, 90);
}

.wrapper-in-product:hover img {
    filter: brightness(0.8);
}

.img-product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.wrapper-a {
    padding: 5px 0 0 0;
}

.wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    box-sizing: border-box;
    max-width: 1420px;
}

/* ===== Product page layout: image left, info right ===== */
.product-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;

    padding: 18px 16px 20px 16px;
    /* ← ВОТ ОН */
}

.product-gallery-thumbs {
    width: min(460px, 100%);
    margin: 10px auto 0;

    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-gallery-thumb {
    flex: 0 0 64px;
    height: 64px;

    padding: 0;
    border-radius: 8px;
    border: 1px solid rgb(60, 53, 93);
    background: rgb(25, 21, 52);

    cursor: pointer;
    overflow: hidden;

    transition: border-color 160ms, filter 160ms;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-thumb:hover {
    border-color: rgb(60, 53, 93);
    filter: brightness(0.8);
}

.product-gallery-thumb.is-active {
    border-color: rgb(235, 5, 90);
    filter: brightness(1) !important;
}

/* чтобы правая часть не растягивалась странно */
.product-page-right {
    min-width: 0;
}

.product-page-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.product-reviews-standalone {
    margin: 18px 16px 20px 16px;
    /* совпадает с паддингами product-page-grid */
    padding: 18px 16px;
    border: 0.8px solid rgb(60, 53, 93);
    border-radius: 12px;
    background-color: rgb(25, 21, 52);
}

/* мобильный: в колонку */
@media (max-width: 920px) {
    .product-page-grid {
        grid-template-columns: 1fr;
    }
}

.wrapper-product {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.wrapper-products {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 21px;
    padding: 20px 16px 16px 16px;
    justify-content: start;
    width: fit-content;
    max-width: 100%;
}

.wrapper-in-product {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
}

.wrapper-log-reg {
    display: flex;
    width: 35%;
    justify-content: center;
    align-items: center;
    justify-content: flex-end;
    padding-right: 16px;
}

.wrapper-log-reg2 {
    display: flex;
    width: 65%;
    justify-content: center;
    align-items: center;
    justify-content: flex-start;
    padding-right: 16px;
}

.wrapper-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 1420px;
}

.wrapper-wiki {
    display: flex;
    box-sizing: border-box;
}

.wrapper-wrapper {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-around;
}

#body-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

a {
    font-weight: 400;
    text-decoration: none;
    color: rgb(245, 245, 245);
    transition-property: color !important;
    transition-duration: 190ms;
}

.a-block {
    display: block !important;
}

.a-sections {
    font-size: 17px;
    line-height: 18px;
    color: rgb(109, 100, 150);
    transition-property: color !important;
    transition-duration: 190ms;
}

.a-sections.active {
    font-size: 17px;
    line-height: 18px;
    color: white;
    transition-property: color !important;
    transition-duration: 190ms;
}

.div-sections {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap-reverse;
    position: relative;
}

.div-sections>a {
    padding: 20px 17px 20px 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.div-sections-footer {
    font-size: 12px;
    color: rgb(109, 100, 150);
    padding: 16px 10px 16px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap-reverse;
}

.div-sections-footer span {
    display: block;
}

.a-sections-footer:hover {
    text-decoration: underline;
}

.div-sections:hover .a-sections {
    color: rgb(245, 245, 245);
    transition-delay: 0s;
}

#a-logo {
    font-size: 28px;
    font-weight: 700;
    animation-delay: 0s;
    animation-direction: normal;
    animation-duration: 0.65s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: glitch;
    animation-play-state: running;
    animation-timeline: auto;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#a-up-logo {
    width: fit-content;
    cursor: pointer;
    position: relative;
    top: -1px;
    z-index: 0;
    transition-property: color !important;
    transition-duration: 190ms;
    color: rgb(179, 167, 232);
}

#a-up-logo:hover {
    cursor: auto !important;
    color: rgb(235, 5, 90);
    transition-delay: 0s;
}

/* ===== dropdown (animated, hover + JS) ===== */
.dropdown {
    position: relative;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 17px;
}

.dropdown-container:hover .dropdown-label {
    cursor: pointer;
    color: rgb(235, 5, 90);
    transition: color 190ms;
}

.dropdown-main {
    position: absolute;
    right: 0;
    top: 60px;
    min-width: 170px;

    border-color: rgb(60, 53, 93);
    border-radius: 4px;
    border-style: solid;
    border-width: 0.8px;
    background-color: rgb(25, 21, 52);
    padding: 10px;

    z-index: 200;

    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;

    transition:
        opacity 160ms ease,
        transform 180ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.dropdown-container:hover .dropdown-main,
.dropdown-main:hover {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-container.is-open .dropdown-main {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-main a {
    transition: color 190ms;
}

.dropdown-main a:hover,
.dropdown-main a:focus {
    color: rgb(235, 5, 90) !important;
}

#main-logo {
    display: flex;
    flex-direction: column;
    padding-top: 96px;
    padding-bottom: 96px;
    box-sizing: border-box;
}

#main-logo-sections {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.body-inner {
    display: flex;
    flex-direction: column;
    color: rgb(245, 245, 245);
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.container-inner {
    color: rgb(245, 245, 245);
    font-size: 20px;
    background-color: rgb(25, 21, 52);
    border-color: rgb(60, 53, 93);
    border-radius: 4px;
    border-style: solid;
    border-width: 0.8px;
    box-sizing: border-box;
    padding: 6px 10px 6px 10px;
}

.body-inner-header {
    margin-bottom: 20px;
    font-size: 24px;
    width: 100%;
    box-sizing: border-box;
}

.body-inner-main {
    font-size: 20px;
    background-color: rgb(25, 21, 52);
    border-color: rgb(60, 53, 93);
    border-radius: 4px;
    border-style: solid;
    border-width: 0.8px;
    padding: 0px 10px 0px 10px;
    box-sizing: border-box;
}

body,
input,
button,
textarea,
select {
    font-family: "JosefinSans";
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    background: linear-gradient(to left, rgb(25, 21, 52), rgb(17, 15, 35));
    background-size: 200% 200%;
    animation: gradient 45s ease infinite;
    overflow-x: hidden;
    overflow-y: scroll !important;
    -webkit-font-smoothing: antialiased !important;
}

main {
    border-radius: 10px;
    width: 100%;
    min-height: 100vh;
}

/* ===== Product gallery (tight 460x460, centered) ===== */
.product-gallery {
    position: relative;
    width: 100%;
    margin-top: 6px;
}

/* wrap создаёт нормальный слой для стрелок */
.product-gallery-track-wrap {
    position: relative;
    width: min(460px, 100%);
    margin: 0 auto;
}

/* track внутри wrap */
.product-gallery-track {
    width: 100%;
    margin: 0;

    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    border-radius: 12px;
}

.product-gallery-track::-webkit-scrollbar {
    height: 0;
}

.product-gallery-track {
    scrollbar-width: none;
}

.product-gallery-slide {
    position: relative;
    z-index: 0;
    /* ВАЖНО: ниже стрелок */

    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 100%;

    height: min(460px, 80vw);
    max-height: 460px;

    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgb(60, 53, 93);
    background-color: rgb(25, 21, 52);

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

/* чтобы миниатюры/картинки точно принимали клики */
.product-gallery-track,
.product-gallery-slide,
.product-gallery-slide *,
.product-gallery-thumbs,
.product-gallery-thumb,
.product-gallery-thumb * {
    pointer-events: auto;
}

/* thumbs row */
.product-gallery-thumbs {
    width: min(460px, 100%);
    margin: 10px auto 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.product-gallery-thumbs::-webkit-scrollbar {
    height: 0;
}

.product-gallery-thumb {
    border: 1px solid rgb(60, 53, 93);
    background: rgb(25, 21, 52);
    border-radius: 10px;
    padding: 0;
    width: 64px;
    height: 64px;
    overflow: hidden;
    cursor: pointer;
}

.hover-red:hover {
    color: rgb(235, 5, 90);
    ;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* active thumb */
.product-gallery-thumb.is-active {
    border-color: rgb(235, 5, 90);
    box-shadow: 0 0 0 2px rgba(235, 5, 90, 0.25);
}


.product-gallery-img {
    position: relative;
    z-index: 0;
    /* ВАЖНО: ниже стрелок */

    max-width: 460px;
    max-height: 460px;
    width: 100%;
    height: 100%;

    object-fit: contain;
    display: block;
}

/* ===== Arrows: ONLY glyphs, реально hover/click ===== */
.product-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: none !important;
    border: none !important;
    box-shadow: none !important;

    padding: 0;
    width: auto;
    height: auto;

    font-size: 60px;
    line-height: 1;

    cursor: pointer;
    user-select: none;

    z-index: 10;
    /* ВАЖНО: выше слайда/картинки */
    pointer-events: auto;

    opacity: 0;
    color: rgb(25, 21, 52);

    transition: opacity 160ms ease, color 160ms ease;
}

.product-gallery-btn--prev {
    left: 14px;
}

.product-gallery-btn--next {
    right: 14px;
}

/* показываем, когда курсор на фото-области ИЛИ на самой стрелке (чтобы hover работал) */
.product-gallery-track-wrap:hover .product-gallery-btn,
.product-gallery-btn:hover {
    opacity: 1;
    color: rgb(25, 21, 52);
}


.product-gallery-btn:hover {
    color: rgb(235, 5, 90) !important;
}

/* touch — всегда видны */
@media (hover: none) {
    .product-gallery-btn {
        opacity: 1;
        color: rgb(25, 21, 52);
    }
}

/* dots */
.product-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.product-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgb(60, 53, 93);
    background: transparent;
    cursor: pointer;
}

.product-gallery-dot.is-active {
    background-color: rgb(235, 5, 90);
    border-color: rgb(235, 5, 90);
}


::-webkit-scrollbar {
    background-color: #110f23;
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: #2a2257;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #eb055a;
}

/* ===== Drawer menu + overlay ===== */
.site-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 500;
}

.site-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(420px, 86vw);

    background: rgb(25, 21, 52);
    border-right: 0.8px solid rgb(60, 53, 93);
    box-shadow: 12px 0 24px rgba(0, 0, 0, 0.35);

    transform: translateX(-105%);
    transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
    z-index: 600;

    display: flex;
    flex-direction: column;
    padding: 18px;
}

.site-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 0.8px solid rgb(60, 53, 93);
}

.site-drawer__title {
    font-size: 28px;
    font-weight: 800;
    color: rgb(245, 245, 245);
}

.site-drawer__close {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0.8px solid rgb(60, 53, 93);
    background: rgba(255, 255, 255, 0.04);
    color: rgb(245, 245, 245);
    cursor: pointer;
}

.site-drawer__nav {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-drawer__link * {
    pointer-events: none;
}

.site-drawer__link {
    color: rgb(245, 245, 245);
    font-size: 22px;
    padding: 10px 8px;
    border-radius: 10px;
    /*
    background-color: rgba(235, 5, 90, 0);
    transition: background-color 240ms ease, color 240ms ease;
    */
}


.site-drawer__link:hover {
    /*
    background: rgba(235, 5, 90, 0.12);
    */
    color: rgb(235, 5, 90);
}

/* open state */
body.is-drawer-open .site-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.is-drawer-open .site-drawer {
    transform: translateX(0);
}

/* lock scroll */
body.is-scroll-locked {
    overflow: hidden !important;
}

/* ===== Checkout ===== */
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    gap: 16px;
    align-items: start;
}

.checkout-checkbox {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    flex: 0 0 22px;
    margin-top: 0;
}

.checkout-field-error{
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 0.8px solid rgba(235, 5, 90, 0.85);
  background: rgba(235, 5, 90, 0.10);
  color: rgb(255, 170, 200);
  font-size: 13px;
  line-height: 1.35;
}


.checkout-checkbox:checked::after {
    top: 1px;
    left: 6px;
    width: 6px;
    height: 12px;
    border-width: 0 3px 3px 0;
}


.checkout-card {
    background-color: rgb(25, 21, 52);
    border: 0.8px solid rgb(60, 53, 93);
    border-radius: 14px;
    padding: 16px;
}

.checkout-card__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.checkout-muted {
    color: rgb(109, 100, 150);
    font-size: 13px;
    line-height: 1.35;
}

.checkout-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.checkout-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.checkout-auth__btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.checkout-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;

    color: rgb(245, 245, 245);
    background-color: rgb(235, 5, 90);
    border: 0.8px solid rgb(235, 5, 90);
    border-radius: 12px;

    padding: 12px 14px;
    font-weight: 800;
    cursor: pointer;

    transition: filter 190ms, transform 190ms;
}

.checkout-primary-btn:hover {
    filter: brightness(0.9);
}

.checkout-primary-btn:active {
    transform: translateY(1px);
}

.checkout-primary-btn--big {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
}

.checkout-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;

    color: rgb(245, 245, 245);
    background: rgba(255, 255, 255, 0.03);
    border: 0.8px solid rgb(60, 53, 93);
    border-radius: 12px;

    padding: 12px 14px;
    font-weight: 700;
    cursor: pointer;

    transition: filter 190ms;
}

.checkout-secondary-btn:hover {
    filter: brightness(0.92);
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.checkout-label {
    font-size: 13px;
    font-weight: 700;
    /* color: rgb(220, 215, 245); */
}

.checkout-required {
    color: rgb(235, 5, 90);
}

.checkout-input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
}

.checkout-textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    padding: 12px 12px;
    border-radius: 12px;
}

.checkout-consent {
    margin-top: 14px;
}

.checkout-summary {
    position: sticky;
    top: 96px;
    background-color: rgb(25, 21, 52);
    border: 0.8px solid rgb(60, 53, 93);
    border-radius: 14px;
    padding: 16px;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.checkout-summary__label {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.checkout-summary__total {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}

.checkout-optional {
    font-size: 13px;
    color: rgb(140, 135, 180);
    font-weight: 400;
}

.checkout-summary__note {
    margin-top: 10px;
    margin-bottom: 18px;
    line-height: 1.5;
}


.checkout-summary__total {
    font-size: 22px;
    font-weight: 900;
    color: rgb(245, 245, 245);
}

/* mobile */
@media (max-width: 920px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

.checkout-danger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;
    padding: 12px 14px;

    border-radius: 12px;
    border: 0.8px solid rgb(235, 5, 90);
    background: rgba(235, 5, 90, 0.14);

    color: rgb(235, 5, 90);
    font-weight: 800;

    transition: filter 190ms, transform 190ms;
}

.checkout-danger-btn i {
    font-size: 16px;
}


/* ===== Cart UI (Checkout) ===== */
.cart-ui {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-ui__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.cart-ui__title {
    font-size: 28px;
    font-weight: 900;
    color: rgb(245, 245, 245);
}

.cart-ui__total {
    text-align: right;
}

.cart-ui__muted {
    display: block;
    font-size: 12px;
    color: rgb(109, 100, 150);
    margin-bottom: 4px;
}

.cart-ui__sum {
    font-size: 20px;
    font-weight: 900;
    color: rgb(245, 245, 245);
}

.cart-ui__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    padding: 12px;
    border-radius: 12px;
    border: 0.8px solid rgb(60, 53, 93);
    background: rgba(255, 255, 255, 0.02);
}

.cart-item__main {
    min-width: 0;
}

.cart-item__title {
    font-size: 16px;
    font-weight: 800;
    color: rgb(245, 245, 245);
    margin-bottom: 6px;
}

.cart-item__meta {
    font-size: 13px;
    color: rgb(179, 167, 232);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cart-item__dot {
    opacity: 0.6;
}

.cart-item__line-sum {
    color: rgb(245, 245, 245);
    font-weight: 800;
}

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

.cart-qty {
    min-width: 34px;
    text-align: center;
    font-weight: 900;
    color: rgb(245, 245, 245);
}

.cart-qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 0.8px solid rgb(60, 53, 93);
    background: rgba(255, 255, 255, 0.03);
    color: rgb(245, 245, 245);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: filter 190ms, transform 190ms;
}

.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 5px;
}

.catalog-filters .filter-reset-btn {
    margin-left: auto;
}


.filter-reset-btn {
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;

    color: rgb(235, 5, 90);
    border: 2px solid rgb(235, 5, 90);
    background: transparent;

     transition:
      background-color 0.25s ease,
      color 0.001s ease;
}

.filter-reset-btn:hover {
    background: rgb(235, 5, 90);
    color: #fff;
}

.cart-qty-btn:hover {
    filter: brightness(0.9);
}

.cart-qty-btn:active {
    transform: translateY(1px);
}

.cart-ui__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.cart-secondary-btn {
    border-radius: 12px;
    border: 0.8px solid rgb(60, 53, 93);
    background: rgba(255, 255, 255, 0.03);
    color: rgb(245, 245, 245);
    font-weight: 800;
    padding: 10px 12px;
    cursor: pointer;
    transition: filter 190ms;
}

.cart-secondary-btn:hover {
    filter: brightness(0.92);
}

.cart-ui--empty {
    color: rgb(109, 100, 150);
    font-size: 14px;
}

.cart-ui__empty {
    padding: 10px 0;
}

.terms-link {
    color: rgb(235, 5, 90);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}


@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes glitch {
    0% {
        text-shadow: none;
    }

    25% {
        text-shadow: -2px -2px 0 #eb055a, 2px 2px 0 #4632f0;
    }

    50% {
        text-shadow: 2px -2px 0 #eb055a, -2px 2px 0 #4632f0;
    }

    75% {
        text-shadow: -2px 2px 0 #eb055a, 2px -2px 0 #4632f0;
    }

    100% {
        text-shadow: 2px 2px 0 #eb055a, -2px -2px 0 #4632f0;
    }
}

@font-face {
    font-family: "JosefinSans";
    src: url("/static/fonts/JosefinSansExt-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "JosefinSans";
    src: url("/static/fonts/fa-regular-400.woff2") format("woff2");
}