.installation-kit__card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.installation-kit__card-body ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 24px;
  border-radius: 10px;
  background-color: #ffffff;
  list-style: none;
}

.installation-kit__card-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.installation-kit__card-body ul li::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border-radius: 3px;
  background-color: #663d00;
  background-image: url("../images/assets/installation/icons/icon-check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.installation-kit__card-body ul li > p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 0.28px;
  color: #4e2f00;
}

.installation-kit__card-body > p,
.installation-kit__card-body .installation-kit__note p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 0.28px;
  color: #663218;
}

@media (max-width: 767px) {
  .installation-kit__card-body ul {
    padding: 20px;
  }
}
/* Contact request form */
.contact-request-form__error {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0.35rem;
    color: #d11c1c !important;
    font-size: 0.875rem;
    line-height: 1.35;
    font-weight: 500;
    white-space: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.header__action--avatar,
.header__nav-action--avatar {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 50%;
    background-color: #f4e6d4;
    border: 1px solid rgba(102, 61, 0, 0.12);
}

.header__action--avatar:hover,
.header__nav-action--avatar:hover {
    opacity: 1;
    border-color: rgba(102, 61, 0, 0.28);
}

.header__action--avatar .header__action-avatar,
.header__nav-action--avatar .header__action-avatar {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background-color: transparent;
}

.header__action--cart,
.header__nav-action--cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header__cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cart-badge {
    position: absolute;
    top: -0.125rem;
    right: -0.125rem;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #e00000;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(152, 11, 11, 0.32);
    transform: translateZ(0);
    pointer-events: none;
}

.cart-badge__count {
    font-size: 0.6875rem;
    line-height: 1;
    font-weight: 600;
}

.cart-badge--hidden {
    display: none;
}

@media (max-width: 767px) {
    .cart-badge {
        top: -0.1rem;
        right: -0.1rem;
        min-width: 1rem;
        height: 1rem;
        padding: 0 0.2rem;
    }

    .cart-badge__count {
        font-size: 0.625rem;
    }
}

.personal-cabinet__photo-camera {
    right: 6px;
    bottom: 6px;
    width: 32px;
    height: 32px;
    border: 2px solid #fffbf5;
    border-radius: 50%;
    background-color: rgba(102, 61, 0, 0.88);
    box-shadow: 0 2px 8px rgba(102, 50, 24, 0.18);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.personal-cabinet__photo-camera img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.personal-cabinet__photo-camera:hover,
.personal-cabinet__photo-camera:focus-visible {
    background-color: #663d00;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(102, 50, 24, 0.24);
}

.personal-cabinet__photo-camera:active {
    transform: scale(0.96);
}

@media (max-width: 767px) {
    .personal-cabinet__photo-camera {
        right: 4px;
        bottom: 4px;
    }
}

.contacts-form__field,
.calculator__field,
.faq-ask__field,
.login-auth__field,
.personal-cabinet__fields,
.personal-cabinet__fields-row,
.personal-cabinet__fields--password,
.personal-cabinet__panel-content,
.contacts-form__fields,
.contacts-form__fields--split {
    max-width: 100%;
    min-width: 0;
}

.contacts-form__field input,
.contacts-form__field textarea,
.faq-ask__field input,
.faq-ask__field textarea,
.login-auth__field input {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.contacts-form__fields--split,
.personal-cabinet__fields-row,
.personal-cabinet__fields--password {
    align-items: flex-start;
}

.contacts-form__fields--split .contact-request-form__error,
.personal-cabinet__fields-row .contact-request-form__error,
.personal-cabinet__fields--password .contact-request-form__error {
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .personal-cabinet__fields-row > .contacts-form__field,
    .personal-cabinet__fields--password > .contacts-form__field,
    .contacts-form__fields--split > .contacts-form__field {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
}

.personal-cabinet,
.personal-cabinet__inner,
.personal-cabinet__main,
.personal-cabinet__panel-body {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.contacts-form__field--invalid > span:first-child,
.calculator__field--invalid > span:first-child,
.personal-cabinet__fields-row .contacts-form__field--invalid > span:first-child,
.personal-cabinet__fields--password .contacts-form__field--invalid > span:first-child {
    color: #d11c1c !important;
}

.contact-request-form__error--consent {
    margin-top: 0.5rem;
    padding-left: 2.75rem;
}

.contacts-form__field--invalid input,
.contacts-form__field--invalid textarea,
.calculator__field--invalid input,
.faq-ask__field--invalid input,
.faq-ask__field--invalid textarea {
    border: 1px solid #d11c1c !important;
    box-shadow: 0 0 0 1px rgba(209, 28, 28, 0.18) !important;
}

.contacts-form__field--invalid > .contact-request-form__error,
.calculator__field--invalid > .calculator__field-error,
.faq-ask__field--invalid > .contact-request-form__error {
    color: #d11c1c !important;
}

.calculator__field-error {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0.35rem;
    color: #d11c1c !important;
    font-size: 0.875rem;
    line-height: 1.35;
    font-weight: 500;
    white-space: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.calculator__field--invalid input:focus {
    outline-color: rgba(209, 28, 28, 0.35);
}

.contacts-form__consent--invalid p,
.faq-ask__consent--invalid p {
    color: #d11c1c !important;
}

.contacts-form__field--disabled > span:first-child,
.faq-ask__field--disabled > span:first-child,
.login-auth__field--disabled > span:first-child {
    color: rgba(102, 50, 24, 0.55);
}

.contacts-form__field--disabled input:disabled,
.contacts-form__field--disabled textarea:disabled,
.faq-ask__field--disabled input:disabled,
.faq-ask__field--disabled textarea:disabled,
.login-auth__field--disabled input:disabled {
    border-color: rgba(102, 61, 0, 0.08) !important;
    background-color: rgba(102, 61, 0, 0.06) !important;
    box-shadow: none !important;
    color: rgba(102, 50, 24, 0.55);
    -webkit-text-fill-color: rgba(102, 50, 24, 0.55);
    opacity: 1;
    cursor: not-allowed;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contacts-form__field--disabled input:disabled:focus,
.contacts-form__field--disabled textarea:disabled:focus,
.faq-ask__field--disabled input:disabled:focus,
.faq-ask__field--disabled textarea:disabled:focus,
.login-auth__field--disabled input:disabled:focus {
    outline: none;
}

.toast-container {
    --toast-magic-success: #663d00;
    --toast-magic-success-rgb: 102, 61, 0;
    --toast-magic-danger: #d11c1c;
    --toast-magic-danger-rgb: 209, 28, 28;
    --toast-magic-warning: #663d00;
    --toast-magic-warning-rgb: 102, 61, 0;
    --toast-magic-info: #663218;
    --toast-magic-info-rgb: 102, 50, 24;
    --toast-item-bg: #fef3df;
    --toast-item-color: #663218;
    --toast-close-btn-color: #663d00;
    --toast-magic-box-shadow: 0 12px 32px rgba(102, 61, 0, 0.12);
    width: max-content;
    max-width: min(420px, calc(100vw - 32px));
    font-family: "Montserrat", sans-serif;
}

.toast-container.toast-top-end {
    top: 104px !important;
    right: 24px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    align-items: flex-end;
}

.toast-container.toast-top-start {
    top: 104px !important;
    left: 24px !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    align-items: flex-start;
}

.toast-container.theme-minimal .toast-item {
    width: 100%;
    padding: 16px 18px !important;
    border: 1px solid rgba(102, 61, 0, 0.18);
    border-radius: 16px;
    background-color: #fef3df;
    box-shadow: 0 12px 32px rgba(102, 61, 0, 0.12);
    pointer-events: auto;
}

.toast-container.theme-minimal .toast-item.toast-success,
.toast-container.theme-minimal .toast-item.toast-danger,
.toast-container.theme-minimal .toast-item.toast-info,
.toast-container.theme-minimal .toast-item.toast-warning {
    border-left: 4px solid #663d00;
}

.toast-container.theme-minimal .toast-item.toast-danger {
    border-left-color: #d11c1c;
}

.toast-container.theme-minimal .toast-item-content-center {
    align-items: flex-start;
    gap: 12px !important;
}

.toast-container.theme-minimal .toast-body {
    gap: 12px !important;
}

.toast-container.theme-minimal .toast-body-icon-container {
    inline-size: 14px;
    block-size: 14px;
    margin-top: 3px;
    padding: 0;
    border-radius: 3px;
    flex-shrink: 0;
    background-color: #663d00;
    background-image: url("../images/assets/installation/icons/icon-check.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    color: transparent;
}

.toast-container.theme-minimal .toast-body-icon-container svg {
    display: none;
}

.toast-container.theme-minimal .toast-item.toast-danger .toast-body-icon-container {
    background-image: none;
    color: #ffffff;
}

.toast-container.theme-minimal .toast-item.toast-danger .toast-body-icon-container svg {
    display: block;
    width: 10px;
    height: 10px;
}

.toast-container.theme-minimal .toast-body h4 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.36px;
    color: #663218;
}

.toast-container.theme-minimal .toast-body p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.28px;
    color: #663218;
}

.toast-container.theme-minimal .toast-close-btn {
    color: #663d00;
    opacity: 0.55;
}

.login-auth__status {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid transparent;
    border-radius: 18px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.28px;
}

.login-auth__status strong {
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.32px;
}

.login-auth__status--success {
    border-color: rgba(102, 61, 0, 0.14);
    background-color: rgba(102, 61, 0, 0.08);
    color: #663218;
}

.login-auth__status--error {
    border-color: rgba(209, 28, 28, 0.18);
    background-color: rgba(209, 28, 28, 0.08);
    color: #d11c1c;
}

.login-auth__remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.28px;
    color: #663218;
    cursor: pointer;
}

.login-auth__remember input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #663d00;
}

.login-auth__forgot {
    margin: 0;
    align-self: flex-end;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.24px;
    text-align: right;
}

.login-auth__forgot a {
    color: #663218;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-auth__forgot a:hover {
    opacity: 0.85;
}

.login-auth__forgot a:focus-visible {
    outline: 2px solid #663d00;
    outline-offset: 2px;
    border-radius: 4px;
}

.login-auth__fields--stacked {
    flex-direction: column;
    gap: 24px;
}

.login-auth__fields-row--passwords {
    align-items: flex-start;
}

.login-auth__submit {
    align-self: flex-start;
}

.toast-container.theme-minimal .toast-close-btn:hover {
    opacity: 1;
}

/* Catalog filter color tooltips */
.filter-panel__group--colors .filter-panel__body,
.filter-panel__group--colors .filter-panel__colors {
    overflow: visible;
}

.filter-panel__color::before,
.filter-panel__color::after {
    position: absolute;
    left: 50%;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.filter-panel__color::before {
    content: attr(data-tooltip);
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: 180px;
    padding: 8px 12px;
    border: 1px solid rgba(102, 61, 0, 0.1);
    border-radius: 12px;
    background-color: #663d00;
    box-shadow: 0 10px 24px rgba(102, 50, 24, 0.18);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.24px;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, 6px);
}

.filter-panel__color::after {
    content: "";
    bottom: calc(100% + 4px);
    width: 10px;
    height: 10px;
    border-right: 1px solid rgba(102, 61, 0, 0.1);
    border-bottom: 1px solid rgba(102, 61, 0, 0.1);
    background-color: #663d00;
    transform: translate(-50%, 6px) rotate(45deg);
}

.filter-panel__color:hover,
.filter-panel__color:focus-within {
    z-index: 6;
}

.filter-panel__color:hover::before,
.filter-panel__color:hover::after,
.filter-panel__color:focus-within::before,
.filter-panel__color:focus-within::after {
    opacity: 1;
    visibility: visible;
}

.filter-panel__color:hover::before,
.filter-panel__color:focus-within::before {
    transform: translate(-50%, 0);
}

.filter-panel__color:hover::after,
.filter-panel__color:focus-within::after {
    transform: translate(-50%, 0) rotate(45deg);
}

/* Cart item color tooltips */
.cart-item__colors,
.cart-item__info,
.cart-item__product {
    overflow: visible;
}

.cart-item__color {
    position: relative;
    cursor: default;
}

.cart-item__color::before,
.cart-item__color::after {
    position: absolute;
    left: 50%;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.cart-item__color::before {
    content: attr(data-tooltip);
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: 180px;
    padding: 8px 12px;
    border: 1px solid rgba(102, 61, 0, 0.1);
    border-radius: 12px;
    background-color: #663d00;
    box-shadow: 0 10px 24px rgba(102, 50, 24, 0.18);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.24px;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, 6px);
}

.cart-item__color::after {
    content: "";
    bottom: calc(100% + 4px);
    width: 10px;
    height: 10px;
    border-right: 1px solid rgba(102, 61, 0, 0.1);
    border-bottom: 1px solid rgba(102, 61, 0, 0.1);
    background-color: #663d00;
    transform: translate(-50%, 6px) rotate(45deg);
}

.cart-item__color:hover {
    z-index: 6;
}

.cart-item__color:hover::before,
.cart-item__color:hover::after {
    opacity: 1;
    visibility: visible;
}

.cart-item__color:hover::before {
    transform: translate(-50%, 0);
}

.cart-item__color:hover::after {
    transform: translate(-50%, 0) rotate(45deg);
}

.cart-section--empty .cart-section__inner {
    margin-bottom: 130px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 56px 32px 64px;
    border-radius: 30px;
    background-color: #fef3df;
    text-align: center;
}

.cart-empty__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
}

.cart-empty__icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    color: #663d00;
}

.cart-empty__decor {
    position: absolute;
    display: block;
    pointer-events: none;
}

.cart-empty__decor--cloud {
    top: -8px;
    right: -18px;
    width: 72px;
    height: 61px;
    transform: rotate(17.49deg);
}

.cart-empty__decor--heart {
    right: -10px;
    bottom: 8px;
    width: 42px;
    height: 42px;
    transform: rotate(38.9deg);
}

.cart-empty__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
}

.cart-empty__content h2 {
    margin: 0;
    font-family: "e-Ukraine Head", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.64px;
    color: #4e2f00;
}

.cart-empty__content p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.32px;
    color: rgba(78, 47, 0, 0.78);
}

.cart-empty__action {
    min-width: min(100%, 220px);
    min-height: 44px;
    padding: 10px 24px;
    font-size: 16px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .cart-section--empty .cart-section__inner {
        margin-bottom: 78px;
    }

    .cart-empty {
        gap: 24px;
        padding: 40px 20px 48px;
        border-radius: 24px;
    }

    .cart-empty__visual {
        width: 112px;
        height: 112px;
    }

    .cart-empty__icon {
        width: 52px;
        height: 52px;
    }

    .cart-empty__content h2 {
        font-size: clamp(24px, 7vw, 28px);
    }

    .cart-empty__content p {
        font-size: 14px;
    }
}

/* Thanks page */
.thanks-section {
    width: 100%;
}

.thanks-section__inner {
    width: 1260px;
    max-width: calc(100% - 180px);
    margin: 120px auto 130px;
}

.thanks-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 56px 32px 64px;
    border-radius: 30px;
    background-color: #fef3df;
    text-align: center;
}

.thanks-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 220px);
    min-height: 160px;
}

.thanks-card__beaver {
    position: relative;
    z-index: 1;
    width: min(160px, 42vw);
    height: auto;
    object-fit: contain;
}

.thanks-card__decor {
    position: absolute;
    display: block;
    pointer-events: none;
}

.thanks-card__decor--cloud {
    top: -8px;
    right: -18px;
    width: 72px;
    height: 61px;
    transform: rotate(17.49deg);
}

.thanks-card__decor--heart {
    right: -10px;
    bottom: 8px;
    width: 42px;
    height: 42px;
    transform: rotate(38.9deg);
}

.thanks-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 560px;
}

.thanks-card__content h2 {
    margin: 0;
    font-family: "e-Ukraine Head", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.64px;
    color: #4e2f00;
}

.thanks-card__content p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.32px;
    color: rgba(78, 47, 0, 0.78);
}

.thanks-card__order {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background-color: rgba(102, 61, 0, 0.08);
}

.thanks-card__order span {
    color: rgba(78, 47, 0, 0.78);
}

.thanks-card__order strong {
    font-family: "e-Ukraine Head", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.4px;
    color: #663d00;
}

.thanks-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.thanks-card__action {
    min-width: min(100%, 220px);
    min-height: 44px;
    padding: 10px 24px;
    font-size: 16px;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .thanks-section__inner {
        max-width: calc(100% - 80px);
        margin-top: 72px;
        margin-bottom: 100px;
    }
}

@media (max-width: 767px) {
    .thanks-section__inner {
        max-width: calc(100% - 32px);
        margin-top: 56px;
        margin-bottom: 78px;
    }

    .thanks-card {
        gap: 24px;
        padding: 40px 20px 48px;
        border-radius: 24px;
    }

    .thanks-card__content h2 {
        font-size: clamp(24px, 7vw, 28px);
    }

    .thanks-card__content p {
        font-size: 14px;
    }

    .thanks-card__order strong {
        font-size: 18px;
    }

    .thanks-card__action {
        width: 100%;
    }
}

/* 404 page */
.error-page__content {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 86px;
}

.error-hero {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 186px;
    height: auto;
}

.error-hero__inner {
    position: relative;
    width: 1260px;
    max-width: calc(100% - 180px);
    min-height: 166px;
    height: auto;
    margin: 20px auto 0;
    overflow: hidden;
    overflow: clip;
    border-radius: 40px;
    background-color: #f7ebd5;
    isolation: isolate;
}

.error-hero__decor {
    position: absolute;
    z-index: 0;
    display: block;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
}

.error-hero__decor--blob-left {
    top: -8px;
    left: -168px;
    width: 356px;
    height: 341px;
}

.error-hero__decor--blob-top {
    top: -317px;
    left: 197px;
    width: 356px;
    height: 341px;
}

.error-hero__decor--bg-vector {
    top: -30px;
    left: 813px;
    width: 365px;
    height: 307px;
}

.error-hero__decor--sun {
    top: 9px;
    left: 591px;
    width: 86px;
    height: 88px;
    transform: rotate(-10.18deg);
}

.error-hero__decor--cloud {
    top: 19px;
    right: 149px;
    width: 91px;
    height: 77px;
    transform: rotate(17.49deg);
}

.error-hero__decor--flowers {
    right: 584px;
    bottom: -20px;
    width: 73px;
    height: 77px;
    transform: rotate(-18.81deg);
}

.error-hero__decor--heart {
    right: 53px;
    bottom: -4px;
    width: 56px;
    height: 55px;
    transform: rotate(38.9deg);
}

.error-hero__decor--beaver {
    top: 6px;
    left: 857px;
    z-index: 1;
    width: 209px;
    height: 209px;
    object-fit: contain;
    object-position: top center;
}

.error-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: calc(100% - 56px);
    margin-left: 52px;
    padding: 28px 0;
}

.error-hero__title-block {
    position: relative;
    width: 535px;
    max-width: 100%;
    min-height: 71px;
    padding: 34px 0 0 26px;
}

.error-hero__title-block img {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    transform: rotate(180deg) scaleY(-1);
}

.error-hero__title-block h1 {
    margin: 0;
    font-family: "e-Ukraine Head", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.8px;
    color: #4e2f00;
}

.error-hero__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 30px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.24px;
    color: rgba(102, 61, 0, 0.5);
}

.error-hero__breadcrumbs a {
    color: #663218;
    text-decoration: underline;
    text-underline-position: from-font;
}

.error-hero__breadcrumbs span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #663d00;
}

.error-hero__breadcrumbs p {
    margin: 0;
    white-space: nowrap;
}

.error-section__inner {
    width: 1260px;
    max-width: calc(100% - 180px);
    margin: 120px auto 130px;
}

.error-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 56px 32px 64px;
    border-radius: 30px;
    background-color: #fef3df;
    text-align: center;
}

.error-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 320px);
    min-height: 180px;
}

.error-card__code {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: "e-Ukraine Head", sans-serif;
    font-size: clamp(72px, 16vw, 120px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    color: rgba(102, 61, 0, 0.14);
}

.error-card__beaver {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(160px, 42vw);
    height: auto;
    transform: translate(-50%, -42%);
    object-fit: contain;
    pointer-events: none;
}

.error-card__decor {
    position: absolute;
    display: block;
    pointer-events: none;
}

.error-card__decor--cloud {
    top: 0;
    right: 18px;
    width: 72px;
    height: 61px;
    transform: rotate(17.49deg);
}

.error-card__decor--heart {
    right: 8px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    transform: rotate(38.9deg);
}

.error-card__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
}

.error-card__content h2 {
    margin: 0;
    font-family: "e-Ukraine Head", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.64px;
    color: #4e2f00;
}

.error-card__content p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.32px;
    color: rgba(78, 47, 0, 0.78);
}

.error-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.error-card__action {
    min-width: min(100%, 220px);
    min-height: 44px;
    padding: 10px 24px;
    font-size: 16px;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .error-hero__inner {
        max-width: calc(100% - 80px);
    }

    .error-hero__decor--bg-vector {
        left: auto;
        right: 72px;
    }

    .error-hero__decor--beaver {
        left: auto;
        right: 148px;
        opacity: 0.9;
    }

    .error-hero__decor--sun {
        left: 50%;
    }

    .error-hero__decor--flowers {
        right: 42%;
    }

    .error-section__inner {
        max-width: calc(100% - 80px);
        margin-top: 72px;
    }
}

@media (max-width: 767px) {
    .error-hero__inner {
        max-width: calc(100% - 32px);
        min-height: 178px;
        margin-top: 16px;
        border-radius: 30px;
    }

    .error-hero__content {
        gap: 18px;
        width: calc(100% - 48px);
        margin-left: 24px;
        padding: 26px 0 24px;
    }

    .error-hero__title-block {
        min-height: 64px;
        padding: 30px 0 0 22px;
    }

    .error-hero__title-block img {
        width: 30px;
        height: 30px;
    }

    .error-hero__title-block h1 {
        font-size: clamp(30px, 10vw, 36px);
        letter-spacing: 0.68px;
    }

    .error-hero__breadcrumbs {
        padding: 0 22px;
    }

    .error-hero__decor--blob-left {
        left: -220px;
    }

    .error-hero__decor--blob-top,
    .error-hero__decor--sun,
    .error-hero__decor--flowers {
        display: none;
    }

    .error-hero__decor--bg-vector {
        right: -118px;
    }

    .error-hero__decor--cloud {
        top: 24px;
        right: 18px;
        width: 72px;
        height: 61px;
    }

    .error-hero__decor--heart {
        right: 22px;
        bottom: 18px;
        width: 42px;
        height: 42px;
    }

    .error-hero__decor--beaver {
        right: 58px;
        width: 150px;
        height: 150px;
        opacity: 0.55;
    }

    .error-section__inner {
        max-width: calc(100% - 32px);
        margin-top: 56px;
        margin-bottom: 78px;
    }

    .error-card {
        gap: 24px;
        padding: 40px 20px 48px;
        border-radius: 24px;
    }

    .error-card__content h2 {
        font-size: clamp(24px, 7vw, 28px);
    }

    .error-card__content p {
        font-size: 14px;
    }

    .error-card__action {
        width: 100%;
    }
}

/* Catalog product grid */
.filter-results__grid .product-card {
    flex: 0 0 calc((100% - 50px) / 3);
}

/* Product gallery thumbs carousel */
.product-gallery__thumbs--carousel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: auto;
  align-self: flex-start;
}

.product-gallery__thumbs--carousel .product-gallery__thumbs-slider {
  flex: 0 0 auto;
  width: 108px;
  height: 584px;
  overflow: hidden;
}

.product-gallery__thumbs--carousel .swiper-slide {
  flex-shrink: 0;
  width: 108px;
  height: 137px;
}

.product-gallery__thumbs-nav {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 108px;
}

.product-gallery__thumbs-arrow {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background-color: #ffffff;
  transition: opacity 0.2s ease;
}

.product-gallery__thumbs-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #663d00;
  border-right: 2px solid #663d00;
  transform-origin: center;
}

.product-gallery__thumbs-arrow--prev::before {
  transform: translate(-50%, -35%) rotate(-45deg);
}

.product-gallery__thumbs-arrow--next::before {
  transform: translate(-50%, -65%) rotate(135deg);
}

.product-gallery__thumbs-arrow:focus-visible {
  outline: 2px solid #663d00;
  outline-offset: 2px;
}

.product-gallery__thumbs-arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .product-gallery__thumbs--carousel {
    width: 100%;
  }

  .product-gallery__thumbs--carousel .product-gallery__thumbs-slider {
    width: 100%;
    height: auto;
  }

  .product-gallery__thumbs--carousel .swiper-slide {
    width: 96px;
    height: 122px;
  }

  .product-gallery__thumbs-nav {
    width: 100%;
  }

  .product-gallery__thumbs-arrow--prev::before {
    transform: translate(-40%, -50%) rotate(-135deg);
  }

  .product-gallery__thumbs-arrow--next::before {
    transform: translate(-60%, -50%) rotate(45deg);
  }
}

@media (max-width: 767px) {
  .product-gallery__thumbs--carousel .swiper-slide {
    width: 72px;
    height: 92px;
  }
}

@media (max-width: 767px) {
    .toast-container.toast-top-end {
        top: 92px !important;
        right: 16px !important;
        left: auto !important;
    }

    .toast-container.toast-top-start {
        top: 92px !important;
        left: 16px !important;
        right: auto !important;
    }

    .toast-container.theme-minimal .toast-item {
        padding: 14px 16px !important;
    }

    .filter-results__grid .product-card {
        flex-basis: 100%;
    }
}

.personal-cabinet--avatar-modal-open {
  overflow: hidden;
}

.personal-cabinet__avatar-modal[hidden] {
  display: none;
}

.personal-cabinet__avatar-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(42, 28, 14, 0.74);
}

.personal-cabinet__avatar-modal__backdrop {
  position: absolute;
  inset: 0;
}

.personal-cabinet__avatar-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(100%, 920px);
  max-height: calc(100vh - 48px);
  padding: 24px;
  overflow: auto;
  border: 1px solid rgba(102, 61, 0, 0.1);
  border-radius: 32px;
  background: #fffaf2;
  box-shadow: 0 24px 84px rgba(62, 34, 0, 0.28);
}

.personal-cabinet__avatar-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.personal-cabinet__avatar-modal__eyebrow {
  margin: 0 0 8px;
  color: #8f5f1f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.personal-cabinet__avatar-modal__title {
  margin: 0;
  color: #3f2a16;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.personal-cabinet__avatar-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(102, 61, 0, 0.08);
  color: #3f2a16;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.personal-cabinet__avatar-modal__close:hover,
.personal-cabinet__avatar-modal__close:focus-visible {
  background: rgba(102, 61, 0, 0.14);
  transform: scale(1.03);
}

.personal-cabinet__avatar-modal__body {
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
  background: #f3e7d4;
}

.personal-cabinet__avatar-cropper {
  width: 100%;
  height: min(58vh, 560px);
}

.personal-cabinet__avatar-cropper > * {
  width: 100%;
  height: 100%;
}

.personal-cabinet__avatar-cropper-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.personal-cabinet__avatar-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.personal-cabinet__avatar-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid #663d00;
  border-radius: 999px;
  background: #663d00;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.personal-cabinet__avatar-modal__button:hover,
.personal-cabinet__avatar-modal__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(102, 61, 0, 0.18);
}

.personal-cabinet__avatar-modal__button:disabled {
  opacity: 0.68;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.personal-cabinet__avatar-modal__button--ghost {
  border-color: rgba(102, 61, 0, 0.16);
  background: transparent;
  color: #663d00;
}

.personal-cabinet__avatar-modal__button--ghost:hover,
.personal-cabinet__avatar-modal__button--ghost:focus-visible {
    background: rgba(102, 61, 0, 0.06);
}

.cart-form {
    margin-top: 0;
}

.cart-form .contacts-form__section {
    width: 100%;
}

.cart-form__fields.contacts-form__fields--split > .contacts-form__field {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 767px) {
    .personal-cabinet__avatar-modal {
        padding: 16px;
    }

  .personal-cabinet__avatar-modal__dialog {
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
  }

  .personal-cabinet__avatar-modal__title {
    font-size: 22px;
  }

  .personal-cabinet__avatar-modal__body {
    min-height: 360px;
  }

  .personal-cabinet__avatar-cropper {
    height: min(48vh, 420px);
  }

  .personal-cabinet__avatar-modal__button {
    width: 100%;
    min-width: 0;
  }
}

body.header-search-open {
    overflow: hidden;
}

.site-search-modal[hidden] {
    display: none;
}

.site-search-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(42, 28, 14, 0.68);
}

.site-search-modal__backdrop {
    position: absolute;
    inset: 0;
}

.site-search-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: min(100%, 720px);
    max-height: calc(100vh - 48px);
    padding: 28px;
    overflow: auto;
    border: 1px solid rgba(102, 61, 0, 0.1);
    border-radius: 28px;
    background: #fffaf2;
    box-shadow: 0 24px 84px rgba(62, 34, 0, 0.28);
}

.site-search-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.site-search-modal__eyebrow {
    margin: 0 0 8px;
    color: #8f5f1f;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-search-modal__title {
    margin: 0;
    color: #2f1d0f;
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
}

.site-search-modal__close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(102, 61, 0, 0.08);
    color: #663d00;
    font-size: 26px;
    line-height: 1;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.site-search-modal__close:hover,
.site-search-modal__close:focus-visible {
    background: rgba(102, 61, 0, 0.14);
    opacity: 1;
}

.site-search-modal__close:active {
    transform: scale(0.96);
}

.site-search-modal__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.site-search-modal__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-search-modal__label {
    color: #4f3110;
    font-size: 15px;
    font-weight: 600;
}

.site-search-modal__input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 64px;
    padding: 0 20px;
    border: 1px solid rgba(102, 61, 0, 0.16);
    border-radius: 18px;
    background: #ffffff;
    color: #2f1d0f;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-modal__input::placeholder {
    color: #9d7b58;
}

.site-search-modal__input:focus {
    border-color: rgba(102, 61, 0, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 192, 87, 0.2);
}

.site-search-modal__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.site-search-modal__button {
    min-width: 148px;
    height: 52px;
    padding: 0 20px;
    border-radius: 16px;
    background: #663d00;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.site-search-modal__button--ghost {
    background: rgba(102, 61, 0, 0.08);
    color: #663d00;
}

.site-search-modal__button:hover,
.site-search-modal__button:focus-visible {
    opacity: 1;
}

.site-search-modal__button:hover {
    background: #543100;
}

.site-search-modal__button--ghost:hover {
    background: rgba(102, 61, 0, 0.14);
}

.site-search-modal__button:active {
    transform: scale(0.98);
}

.search-page .filter-products__inner {
    display: block;
}

.search-page .filter-results {
    width: 100%;
}

@media (max-width: 767px) {
    .site-search-modal {
        padding: 16px;
    }

    .site-search-modal__dialog {
        gap: 18px;
        padding: 22px 18px;
        border-radius: 22px;
    }

    .site-search-modal__title {
        font-size: 22px;
    }

    .site-search-modal__input {
        height: 56px;
        padding-inline: 16px;
        font-size: 16px;
    }

    .site-search-modal__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .site-search-modal__button {
        width: 100%;
        min-width: 0;
    }
}

.wishlist-empty {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 520px;
    padding: 8px 4px;
}

.wishlist-empty__eyebrow {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.24px;
    color: rgba(102, 61, 0, 0.5);
    text-transform: uppercase;
}

.wishlist-empty__title {
    margin: 0;
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.56px;
    color: #663218;
}

.wishlist-empty__text {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.32px;
    color: #663218;
}

.wishlist-empty__button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: #663d00;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.28px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.wishlist-empty__button:hover,
.wishlist-empty__button:focus-visible {
    opacity: 0.9;
}

.wishlist-empty__button:focus-visible {
    outline: 2px solid #663d00;
    outline-offset: 3px;
}

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

.product-card__favorite img {
    max-width: 15px;
    max-height: 13px;
}

.product-info__favorite img {
    max-width: 22px;
    max-height: 20px;
}

.wishlist-page .wishlist-grid .product-card {
    flex: 0 0 calc((100% - 50px) / 3);
}

@media (max-width: 1024px) {
    .wishlist-page .wishlist-grid .product-card {
        flex: 0 0 calc((100% - 25px) / 2);
    }
}

@media (max-width: 767px) {
    .wishlist-page .wishlist-grid .product-card {
        flex: 0 0 100%;
    }
}

.product-info__columns--colors{
    margin-top: 10px;
}