/* Shared site header, footer and typography. */
.ame-footer { letter-spacing: normal; text-transform: none; }
.ame-footer__grid { padding: 0; }
.ame-footer__brand p { opacity: 1; font: inherit; }
.ame-footer__bottom { padding: 0; opacity: 1; align-items: flex-start; }
@font-face { font-family: 'Manrope'; src: url('/bitrix/templates/ame/assets/fonts/manrope-light.ttf') format('truetype'); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/bitrix/templates/ame/assets/fonts/manrope-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
.ame-footer { padding-block: 80px 28px; background: #e1e2e3; color: #474747; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 400; line-height: 1.65; }
.ame-footer__grid { display: grid; grid-template-columns: 1.75fr 1fr 1fr 1.46fr 1fr 1fr; gap: 64px; }
.ame-footer__grid > div { min-width: 0; }
.ame-footer .ame-footer__logo { width: 196px; height: auto; margin-bottom: 24px; }
.ame-footer__brand p { max-width: 260px; margin: 0; }
.ame-footer h2 { margin: 0 0 22px; font: inherit; font-size: 12px; color: #1a1c1c; text-transform: uppercase; }
.ame-footer a, .ame-footer button, .ame-footer__grid span { display: block; width: fit-content; max-width: 100%; margin: 0 0 2px; color: inherit; font: inherit; text-align: left; overflow-wrap: anywhere; }
.ame-footer button { padding: 0; border: 0; background: none; cursor: pointer; }
.ame-footer a:hover, .ame-footer button:hover { color: #000; text-decoration: underline; }
.ame-footer :focus-visible { outline: 2px solid #474747; outline-offset: 3px; }
.ame-footer__bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #d7d8da; margin-top: 40px; padding-top: 36px; font-size: 12px; }
@media (max-width: 1500px) { .ame-footer__grid { gap: 32px; grid-template-columns: 1.4fr .8fr 1fr 1.6fr 1fr 1fr; } }
@media (max-width: 1100px) {
    .ame-footer { padding-top: 56px; }
    .ame-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
}
@media (max-width: 600px) {
    .ame-footer { padding-top: 48px; }
    .ame-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
    .ame-footer__brand, .ame-footer__documents { grid-column: 1 / -1; }
    .ame-footer .ame-footer__logo { width: 160px; }
    .ame-footer h2 { margin-bottom: 16px; }
    .ame-footer__bottom { flex-direction: column; gap: 12px; margin-top: 32px; padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .ame-marquee__track { animation-play-state: paused; }
}
@media (min-width: 1501px) { .ame-footer__documents { width: calc(100% + 40px); } }
@media (min-width: 1200px) {
    .ame-footer { padding-top: 72px; }
    .ame-marquee { margin-top: 106px; padding-block: 11.5px; }
}
@media (min-width: 1200px) {
    .ame-footer .ame-footer__logo { margin-bottom: 12px; }
    .ame-footer__bottom { margin-top: 38px; padding-top: 40px; }
    .ame-footer { padding-bottom: 18px; }
}
:root { --ame-header-height: 106px; }
.about { margin-top: calc(var(--ame-header-height) + 28px); }
.ame-navbar { height: var(--ame-header-height); padding-block: 24px; background: #f8f8f8; border-bottom: 1px solid #e8e8e8; }
.ame-navbar .ame-navbar__logo { flex: 0 0 132px; }
.ame-navbar .ame-navbar__logo img { display: block; width: 132px; height: 58px; }
.ame-navbar .ame-navbar__menu { display: flex; gap: 41px; }
.ame-navbar .ame-navbar__link { font-family: 'Manrope', sans-serif; font-style: normal; font-size: 13.5px; line-height: 22px; font-weight: 400; letter-spacing: .07em; color: #474747; opacity: 1; white-space: nowrap; }
.ame-navbar .ame-navbar__link--active { border-bottom: 0; padding-bottom: 0; }
.ame-navbar .ame-navbar__link:hover { color: #171717; }
.ame-navbar .ame-navbar__icons { display: flex; align-items: center; gap: 24px; }
.ame-navbar .ame-navbar__icon { position: relative; display: flex; flex: 0 0 22px; align-items: center; justify-content: center; width: 22px; height: 22px; min-width: 22px; padding: 0; border: 0; background: transparent; color: #1a1c1c; cursor: pointer; }
.ame-navbar .ame-navbar__icon svg { width: 22px; height: 22px; }
.ame-navbar .ame-navbar__favorites img { width: 23px; height: 20px; max-width: none; }
.ame-navbar :focus-visible { outline: 2px solid #474747; outline-offset: 5px; }
.ame-marquee { margin-top: 106px; }
@media (max-width: 1100px) {
    :root { --ame-header-height: 72px; }
    .ame-navbar { height: var(--ame-header-height); padding-block: 14px; }
    .ame-navbar .ame-navbar__logo { flex-basis: 100px; }
    .ame-navbar .ame-navbar__logo img { width: 100px; height: auto; }
    .ame-navbar .ame-navbar__menu { display: none; }
    .ame-navbar .ame-navbar__icons { gap: 12px; }
    .ame-navbar .ame-navbar__mobile-toggle { display: flex; flex: 0 0 24px; }
    .ame-marquee { margin-top: 72px; }
    .ame-mobile-menu__link { font-family: 'Manrope', sans-serif; font-size: 26px; }
}

@font-face { font-family: 'Manrope'; src: url('/bitrix/templates/ame/assets/fonts/manrope-medium.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
.ame-footer h2 { font-weight: 500; }

/* Page headings shared by content pages and listings. */
h1.page-title { margin: 0 0 28px; font-family: 'Manrope', sans-serif; font-style: normal; font-weight: 300; font-size: 46px; line-height: 1.3; letter-spacing: -.03em; color: #1a1c1c; text-transform: none; }
@media (max-width: 1199px) { h1.page-title { font-size: 44px; } }
@media (max-width: 767px) { h1.page-title { font-size: 36px; } }
.ame-breadcrumbs__list { flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.ame-breadcrumbs__list li { display: inline-flex; align-items: center; gap: 12px; }
.ame-breadcrumbs__list li + li::before { content: '/'; color: var(--color-outline); }

/* Shared content width and side gutters. */
.site-container { box-sizing: border-box; width: 100%; margin-inline: auto; padding-inline: clamp(24px, 3.333333vw, 64px); }
@media (max-width: 767px) { .site-container { padding-inline: 20px; } }

.ame-navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Shared favorite link in product cards. */
.ame-product-card__main { display: block; color: inherit; text-decoration: none; }
.ame-product-card__fav { top: 12px; right: 12px; width: 36px; height: 36px; padding: 8px; background: #fff; border-radius: 50%; }
.ame-product-card__fav img { display: block; width: 20px; height: auto; }

/* Catalog breadcrumbs match the shops page. */
.ame-catalog .ame-breadcrumbs { margin-bottom: 56px; }
.ame-catalog .ame-breadcrumbs__list { font-family: Manrope, sans-serif; font-size: 12px; font-weight: 400; line-height: 20px; letter-spacing: 0; text-transform: none; }
@media (max-width: 1199px) { .ame-catalog .ame-breadcrumbs { margin-bottom: 36px; } }

/* Preserve the full photo inside catalog cards. */
.ame-catalog .ame-product-card__image { object-fit: cover; object-position: center; }

/* Responsive catalog: four, three, then two columns. */
.ame-catalog__grid { margin-bottom: 64px; min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ame-catalog .ame-product-card { min-width: 0; }
@media (max-width: 1200px) { .ame-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .ame-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Header menu underline, matching the reference. */
.ame-navbar .ame-navbar__link { position: relative; }
.ame-navbar .ame-navbar__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; opacity: 0; transition: opacity .2s; }
.ame-navbar .ame-navbar__link:hover::after, .ame-navbar .ame-navbar__link:focus-visible::after { opacity: 1; }

/* Preserve logo boxes while fitting the SVG without distortion. */
.ame-navbar .ame-navbar__logo img, .ame-footer .ame-footer__logo { aspect-ratio: 132 / 58; object-fit: contain; object-position: left center; }

/* Checkout button interaction states. */
#basket-root .basket-btn-checkout, #bx-soa-order .btn-order-save, #bx-soa-orderSave .btn { transition: background-color .2s, border-color .2s, box-shadow .2s; }
@media (hover: hover) {
 #basket-root .basket-btn-checkout:not(:disabled):not(.disabled):hover, #bx-soa-order .btn-order-save:not(:disabled):not(.disabled):hover, #bx-soa-orderSave .btn:not(:disabled):not(.disabled):hover { background-color: #CDD0D2; color: #171717 !important; }
}
#basket-root .basket-btn-checkout:focus-visible, #bx-soa-order .btn-order-save:focus-visible, #bx-soa-orderSave .btn:focus-visible { outline: 2px solid #474747; outline-offset: 3px; }

/* Shared spacing for delivery and payment information. */
.about.ame-info-page { margin-top: calc(var(--ame-header-height) + 48px); }
.ame-info-page h1.page-title { margin-bottom: 40px; }
.ame-info-page .ame-info-region + .ame-info-region, .ame-info-page .ame-info-payment + .ame-info-payment, .ame-info-page .ame-info-notes { margin-top: 40px; }
.ame-info-page .ame-info-region > h2 { margin: 0 0 24px; font-size: 21.3333px; line-height: 1.4; font-weight: 400; }
.ame-info-page .ame-info-blocks { display: grid; gap: 40px; }
.ame-info-page .ame-info-block h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 18.6667px; line-height: 1.4; font-weight: 400; }
.ame-info-page .ame-info-block h3 img { flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; }
.ame-info-page .ame-info-block ul { display: block; margin: 0; padding-left: 1.2em; list-style: disc; }
.ame-info-page .ame-info-block li { list-style: disc; }
.ame-info-page .ame-info-payment > h2 { margin: 0 0 8px; font: inherit; }
.ame-info-page .ame-info-copy, .ame-info-page .ame-info-notes { display: grid; gap: 8px; }
.ame-info-page p { margin: 0; }
.ame-info-page nobr { white-space: normal; }

.ame-document-link { text-decoration: underline; }
.ame-document-link:hover { text-decoration: none; }

/* Checkout and personal account use the site palette. */
.ame-personal, #bx-soa-order { color: #171717; }
.ame-personal .order-final, .ame-personal .my-btn,
.ame-personal .sale-order-list-button,
.ame-personal .sale-order-detail-about-order-inner-container-repeat-button,
.ame-personal .sale-order-detail-payment-options-methods-button-element,
.ame-personal .sale-order-payment-change-pp-list .btn,
.ame-personal input[type="submit"], .ame-personal .btn-primary,
#bx-soa-order .btn, #bx-soa-orderSave .btn {
 background: #E1E2E3 !important; border-color: #E1E2E3 !important; color: #171717 !important;
 box-shadow: none; transition: background-color .2s, border-color .2s;
}
.ame-personal .btn-exit { border-color: #E1E2E3; color: #171717; }
.ame-personal .order-final:hover, .ame-personal .my-btn:hover,
.ame-personal .sale-order-list-button:hover,
.ame-personal .sale-order-detail-about-order-inner-container-repeat-button:hover,
.ame-personal .sale-order-detail-payment-options-methods-button-element:hover,
.ame-personal input[type="submit"]:hover, .ame-personal .btn-primary:hover,
.ame-personal .btn-exit:hover,
#bx-soa-order .btn:not(:disabled):not(.disabled):hover, #bx-soa-orderSave .btn:not(:disabled):not(.disabled):hover {
 background: #CDD0D2 !important; border-color: #CDD0D2 !important; color: #171717 !important; opacity: 1;
}
.ame-personal a, #bx-soa-order a { color: #474747; }
.ame-personal a:hover, #bx-soa-order a:hover { color: #171717; }
.ame-personal .sale-order-list-title-container,
.ame-personal .sale-order-detail-general-head { background: #E1E2E3 !important; color: #171717; }
.ame-personal .sale-order-detail-general-head * { color: #171717 !important; }
.ame-personal .sale-order-detail-general,
.ame-personal .sale-order-detail-payment-options-methods-template,
.ame-personal .sale-order-detail-order-item-imgcontainer,
#bx-soa-order .bx-soa-section, #bx-soa-order .bx-soa-item-imgcontainer { border-color: #E1E2E3 !important; }
#bx-soa-order .bx-soa-section.bx-selected { border-color: #767676 !important; }
#bx-soa-order .bx-soa-section-title-container { background: #E1E2E3; color: #171717; }
#bx-soa-order .bx-soa-section-title-count { background: #E1E2E3 !important; border-color: #767676 !important; color: #171717 !important; }
#bx-soa-order .bx-soa-pp-company-graf-container { border-color: #E1E2E3 !important; }
#bx-soa-order .bx-soa-pp-company.bx-selected .bx-soa-pp-company-graf-container { border-color: #474747 !important; box-shadow: 0 0 0 1px #474747; }
.ame-personal input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.ame-personal textarea, .ame-personal select, #bx-soa-order .form-control {
 background-color: #fff; color: #171717; border: 1px solid #BFC2C4;
}
.ame-personal input:focus, .ame-personal textarea:focus, .ame-personal select:focus,
#bx-soa-order .form-control:focus { border-color: #767676; box-shadow: 0 0 0 2px rgba(71,71,71,.15); }
.ame-personal input, #bx-soa-order input { accent-color: #474747; }
.ame-personal button:focus-visible, .ame-personal a:focus-visible,
#bx-soa-order .btn:focus-visible { outline: 2px solid #474747; outline-offset: 3px; }
.main-user-consent-request-popup-button-acc { background: #E1E2E3 !important; color: #171717 !important; }
.main-user-consent-request-popup-button-acc:hover { background: #CDD0D2 !important; }
.main-user-consent-request-popup-button-rej { color: #474747 !important; }

/* Keep step numbers legible on the neutral background in every state. */
#bx-soa-order .bx-soa-section .bx-soa-section-title-count::after { color: #171717; }

/* Payment remains the green primary action. */
.ame-personal .sale-order-list-button.ajax_reload, .ame-personal .sale-order-detail-payment-options-methods-button-element { background: #70BB18 !important; border-color: #70BB18 !important; color: #fff !important; }
.ame-personal .sale-order-list-button.ajax_reload:hover, .ame-personal .sale-order-detail-payment-options-methods-button-element:hover { background: #5E9E14 !important; border-color: #5E9E14 !important; color: #fff !important; }

/* Readable secondary text and catalog navigation. */
:root { --ame-text-secondary: #5A5A5A; }
.ame-filters .ame-filters__type-link { color: var(--ame-text-secondary) !important; opacity: 1; }
.ame-filters .ame-filters__type-link:hover,
.ame-filters .ame-filters__type-link:focus-visible,
.ame-filters .ame-filters__type-link--active { color: #000 !important; }
.ame-breadcrumbs .ame-breadcrumbs__link,
.ame-catalog .ame-catalog__count,
.ame-detail .ame-detail__article,
.ame-detail .ame-detail__old-price,
.ame-detail .ame-detail__payment p,
.ame-detail .ame-detail__size-btn.js-preorder:not(.ame-detail__size-btn--active),
.ame-about .ame-about__gallery figcaption,
.shops-page .shops-intro,
.ame-brand-story .ame-brand-story__stats span,
.ame-newsletter .ame-newsletter__form .ame-form-consent,
.new-email-body > p,
.new-email-body .ame-form-consent { color: var(--ame-text-secondary); }
.ame-product-card .ame-product-card__old-price { color: var(--ame-text-secondary); opacity: 1; }
.ame-breadcrumbs .ame-breadcrumbs__link:hover,
.ame-breadcrumbs .ame-breadcrumbs__link:focus-visible { color: #000; }
.ame-detail .ame-detail__article,
.ame-detail .ame-detail__payment p,
.ame-catalog .ame-catalog__count,
.ame-brand-story .ame-brand-story__stats span,
.ame-newsletter .ame-newsletter__form .ame-form-consent,
.new-email-body .ame-form-consent { font-weight: 400; }
.ame-newsletter .ame-newsletter__input::placeholder,
.new-email-body .new-email-field::placeholder { color: var(--ame-text-secondary); opacity: 1; }
.ame-form-consent a:hover { opacity: 1; color: #000; }

/* Full photos in similar products and outfit selections. */
.ame-similar .ame-similar__card-image { aspect-ratio: 3 / 4.5; }
.ame-similar .ame-similar__card-image img { object-fit: contain; object-position: center; }

/* Compact catalog intro; same header offset as delivery/payment. */
.ame-catalog { padding-top: calc(var(--ame-header-height) + 24px); }
.ame-catalog .ame-breadcrumbs { margin-bottom: 16px; }
.ame-catalog .ame-catalog__title-wrap { margin-bottom: 24px; }
.ame-catalog .ame-catalog__title-wrap h1.page-title { margin-bottom: 0; }
.ame-catalog .ame-catalog__controls { padding-block: 12px; margin-bottom: 24px; }

/* Readable catalog sorting links. */
.ame-catalog__sort-link { font-family: var(--font-main); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 1; color: #5A5A5A; }
.ame-catalog__sort-link.is-active, .ame-catalog__sort-link:hover, .ame-catalog__sort-link:focus-visible { color: #000; }

/* Neutral photo-edge background for product cards. */
.ame-product-card__image-wrap, .ame-new-arrivals .ame-product-card__image-wrap { background: #F0F0EF; }

/* Product gallery: portrait proportions on desktop and mobile. */
.ame-detail .ame-detail__gallery-item { aspect-ratio: 2 / 3; }

/* Product breadcrumbs: one scrollable line on phones. */
@media (max-width: 767px) {
 .ame-detail .ame-breadcrumbs { min-width: 0; max-width: 100%; }
 .ame-detail .ame-breadcrumbs__list { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 400; line-height: 20px; text-transform: none; letter-spacing: 0; gap: 8px; }
 .ame-detail .ame-breadcrumbs__list::-webkit-scrollbar { display: none; }
 .ame-detail .ame-breadcrumbs__list li { flex: 0 0 auto; white-space: nowrap; gap: 8px; }
}

/* Mobile navigation: catalog sublevel. */
.ame-mobile-menu__links[hidden] { display: none; }
.ame-mobile-menu__action { display: block; width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(26,26,26,0.15); border-radius: 0; text-align: left; color: inherit; cursor: pointer; }

/* Keep mobile navigation above Slick slide layers. */
.ame-mobile-menu { z-index: 1001; }
.ame-navbar { z-index: 1002; }

/* Contain banner controls below navigation. */
.ame-hero { isolation: isolate; background: #111; }
.ame-mobile-menu__action:focus:not(:focus-visible) { outline: none; }

/* Product color links, matching the reference swatches. */
.ame-detail__swatches { display:flex; flex-wrap:wrap; gap:11px; margin-top:13px; }
.ame-detail__swatch { display:block; box-sizing:border-box; flex:0 0 31px; width:31px; height:31px; border:1px solid #D2D2D0; border-radius:50%; padding:0; overflow:hidden; }
.ame-detail__swatch span, .ame-detail__swatch img { display:block; box-sizing:border-box; width:100%; height:100%; border:2px solid #fff; border-radius:50%; object-fit:cover; }
.ame-detail__swatch--selected, .ame-detail__swatch:hover { border-color:#171717; }
.ame-detail__swatch:focus-visible { outline:2px solid #171717; outline-offset:3px; }

/* Filter swatches use the same HL dictionary as product color links. */
.ame-filters__color-swatch { flex: 0 0 16px; overflow: hidden; }
.ame-filters__color-swatch img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ame-filters__color-item input:checked ~ .ame-filters__color-name { color: #171717; text-decoration: underline; text-underline-offset: 3px; }

/* Unspecified shade: neutral outline with a diagonal mark. */
.ame-filters__color-swatch--unspecified { position: relative; background: transparent; border-color: #767676; }
.ame-filters__color-swatch--unspecified::after { content: ""; position: absolute; top: 50%; left: -2px; right: -2px; height: 1px; background: #767676; transform: rotate(-45deg); }

/* Catalog cards match home-page typography, spacing and photo proportions. */
.ame-catalog .ame-product-card { min-width: 0; }
.ame-catalog .ame-product-card__main { display: block; color: inherit; text-decoration: none; }
.ame-catalog .ame-product-card__image-wrap { aspect-ratio: 2 / 3; margin-bottom: 14px; }
.ame-catalog .ame-product-card__image { display: block; }
.ame-catalog .ame-product-card__name { margin: 0 0 8px; color: #474747; font: 300 15px/22px 'Manrope', sans-serif; letter-spacing: 0; text-transform: none; }
.ame-catalog .ame-product-card__main > p { margin: 0; line-height: 22px; }
.ame-catalog .ame-product-card__price { color: #171717; font: 400 14px/22px 'Manrope', sans-serif; letter-spacing: .016em; }
.ame-catalog .ame-product-card__old-price { font: 400 14px/22px 'Manrope', sans-serif; letter-spacing: .016em; }
.ame-catalog .ame-product-card a:focus-visible { outline: 2px solid #474747; outline-offset: 4px; }
@media (max-width: 767px) { .ame-catalog .ame-product-card__fav { top: 6px; right: 6px; } }

/* Existing heart icons, powered by intensa.favorite. */
.js-ame-favorite[data-favorite-status="Y"] { background: #171717; }
.js-ame-favorite[data-favorite-status="Y"] img { filter: invert(1); }
.js-ame-favorite:disabled { cursor: progress; }
.ame-navbar__favorites { position: relative; }
.ame-favorite-count { position:absolute; top:-6px; right:-8px; min-width:14px; height:14px; padding:0 3px; border-radius:7px; background:#171717; color:#fff; font:10px/14px Manrope,sans-serif; text-align:center; }
.ame-favorite-count.hide { display:none; }
.ame-favorite-status { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); background:#E1E2E3; color:#171717; padding:12px 20px; z-index:1100; max-width:calc(100% - 32px); font:14px/20px Manrope,sans-serif; pointer-events:none; }
.ame-favorite-status:empty { display:none; }
.ame-favorites-page { padding-bottom:64px; }
.ame-favorites-pagination { grid-column:1 / -1; }
.ame-favorites-empty { font:400 16px/26px Manrope,sans-serif; }
.ame-favorites-empty a { color:#171717; text-decoration:underline; }

/* Unified typography in the Bitrix checkout, including dynamically refreshed steps. */
#bx-soa-order, #bx-soa-order :where(h1,h2,h3,h4,h5,h6,p,div,span,a,label,input,button,select,textarea,strong,b,small,ul,ol,li,table,td,th,dl,dt,dd), #bx-soa-orderSave, #bx-soa-orderSave .btn { font-family: Manrope, sans-serif !important; }

/* Sign-in button and validation shown after submission is attempted. */
.ame-auth #auth__form .order-final { background:#141414; color:#fff; border:1px solid #141414; font-family:Manrope,sans-serif; transition:background-color .2s,border-color .2s; }
.ame-auth #auth__form .order-final:hover { background:#333; border-color:#333; color:#fff; }
.ame-auth #auth__form .order-final:focus-visible { outline:2px solid #141414; outline-offset:3px; }
.ame-auth #auth__form .ame-auth__error { display:block; margin-top:6px; color:#B42318; font:400 13px/1.4 Manrope,sans-serif; }
.ame-auth #auth__form .ame-auth__error[hidden] { display:none !important; }
.ame-auth #auth__form input[aria-invalid="true"] { border-color:#B42318; }

/* Personal account and order history. */

.ame-personal, .ame-personal :where(h1,h2,h3,h4,h5,h6,p,div,span,a,label,input,button,select,textarea,strong,b,small,ul,ol,li,td,th,dt,dd) { font-family:Manrope,sans-serif !important; }

.ame-personal .sale-order-list-button.ajax_reload { background:#141414 !important; border-color:#141414 !important; color:#fff !important; }
.ame-personal .sale-order-list-button.ajax_reload:hover { background:#333 !important; border-color:#333 !important; color:#fff !important; }
.ame-personal .sale-order-list-status-alert, .ame-personal .sale-order-list-status-restricted, .ame-personal .sale-order-list-shipment-status-block { background:#E1E2E3; border-color:#C8CACC; color:#141414; }
.ame-personal .sale-order-list-status-success { background:#141414; border-color:#141414; color:#fff; }
.ame-personal .ame-order-money, .ame-personal .sale-order-list-payment-number { white-space:nowrap; }
.ame-personal .ame-order-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px 28px; margin:0; padding:20px 0; border-top:1px solid #E1E2E3; }
.ame-personal .ame-order-actions .sale-order-list-top-border { display:none; }
.ame-personal .ame-order-actions > div { flex:0 0 auto; width:auto; max-width:none; padding:0; margin:0; }
.ame-personal .ame-order-actions a { display:inline-block; padding:0; white-space:nowrap; font-size:14px; line-height:22px; font-weight:400; color:#141414; text-decoration:underline; text-underline-offset:3px; }
.ame-personal .ame-order-actions a:hover { text-decoration:none; }
@media(max-width:767px) {  .ame-personal .ame-order-actions { gap:12px 24px; } }

.ame-personal .ame-order-actions::before, .ame-personal .ame-order-actions::after { display:none; }
.ame-personal .ame-order-actions > div { text-align:left; }
.ame-personal .sale-order-list-repeat-link::before { filter:grayscale(1); }

/* Lighter typography in the personal account. */
.ame-personal, .ame-personal :where(p,div,span,a,label,input,button,select,textarea,strong,b,small,li,td,th,dt,dd) { font-weight:400 !important; }
.ame-personal :is(h1,h2,h3,h4,h5,h6), .ame-personal .sale-order-list-title, .ame-personal .sale-order-list-payment-title-element, .ame-personal .sale-order-list-shipment-element { font-weight:500 !important; }

/* Catalog heading: breadcrumbs 24px, one row, products 32px below. */
.ame-catalog .ame-breadcrumbs { margin-bottom:24px; }
.ame-catalog__heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:32px; }
.ame-catalog .ame-catalog__heading .ame-catalog__title-wrap { min-width:0; margin-bottom:0; flex-wrap:wrap; gap:8px 24px; }
.ame-catalog .ame-catalog__heading .ame-catalog__controls { flex-shrink:0; margin:0 0 0 auto; padding:0; border:0; gap:24px; }
.ame-catalog__heading .ame-catalog__count { white-space:nowrap; }
@media(max-width:1023px) {
 .ame-catalog__heading { flex-wrap:wrap; gap:16px; }
 .ame-catalog .ame-catalog__heading .ame-catalog__controls { width:100%; margin-left:0; }
}

/* Mobile sort links and filters share one row. */
@media(max-width:767px) {
 .ame-catalog .ame-catalog__heading .ame-catalog__controls { align-items:center; flex-wrap:nowrap; gap:12px; }
 .ame-catalog__heading .ame-catalog__controls > div, .ame-catalog__heading .ame-catalog__controls > div > form > div { display:flex; flex-direction:row; flex-wrap:nowrap; gap:16px !important; }
 .ame-catalog__heading .ame-catalog__sort-link, .ame-catalog__heading .ame-catalog__filter-toggle { font-size:11px; letter-spacing:0; line-height:18px; white-space:nowrap; }
 .ame-catalog__heading .ame-catalog__sort-link { display:block; }
 .ame-catalog__heading .ame-catalog__filter-toggle { margin:0; }
}
@media(max-width:359px) {
 .ame-catalog .ame-catalog__heading .ame-catalog__controls { gap:8px; }
 .ame-catalog__heading .ame-catalog__controls > div, .ame-catalog__heading .ame-catalog__controls > div > form > div { gap:8px !important; }
 .ame-catalog__heading .ame-catalog__sort-link, .ame-catalog__heading .ame-catalog__filter-toggle { font-size:10px; }
}


/* Banner artwork supplies its own text; the whole slide is clickable. */
.ame-hero .ame-hero__media { filter:none; object-fit:cover; object-position:center 6%; }
.ame-hero__slide-link { position:absolute; inset:0; z-index:2; display:block; }
.ame-hero__slide-link:focus-visible { outline:2px solid #141414; outline-offset:-4px; }
.ame-categories .ame-category-card__img { filter:none; transition:transform 1s; }
.ame-category-card:hover .ame-category-card__img { transform:scale(1.1); }

/* Public storefront typography; Bitrix administration and icon fonts are excluded. */
body.ame-site { font-family:Manrope,sans-serif; }
body.ame-site :where(h1,h2,h3,h4,h5,h6,p,div,span,a,label,input,button,select,textarea,strong,b,small,ul,ol,li,table,td,th,dl,dt,dd,legend,fieldset,summary,em,font,code):not(:where(#bx-panel,#bx-panel *, .bx-core-adm-dialog,.bx-core-adm-dialog *, .fa,.fas,.far,.fab,.material-icons)) { font-family:Manrope,sans-serif !important; }
body.ame-site :is(.order-final,.my-btn,.btn-primary,.ame-detail__add-to-cart,.ame-newsletter__btn,.new-email-submit,.submit__review,.ame-filters__apply,.ame-cookie__button--primary,.ame-cookie-policy button), body.ame-site .ame-personal :is(.sale-order-list-button,.sale-order-detail-about-order-inner-container-repeat-button,.sale-order-detail-payment-options-methods-button-element,.sale-order-payment-change-pp-list .btn) { background:#141414 !important; border-color:#141414 !important; color:#fff !important; border-radius:0; box-shadow:none; text-decoration:none; transition:background-color .2s,border-color .2s; }
body.ame-site :is(.order-final,.my-btn,.btn-primary,.ame-detail__add-to-cart,.ame-newsletter__btn,.new-email-submit,.submit__review,.ame-filters__apply,.ame-cookie__button--primary,.ame-cookie-policy button):not(:disabled):not(.disabled):hover, body.ame-site .ame-personal :is(.sale-order-list-button,.sale-order-detail-about-order-inner-container-repeat-button,.sale-order-detail-payment-options-methods-button-element,.sale-order-payment-change-pp-list .btn):not(:disabled):not(.disabled):hover { background:#333 !important; border-color:#333 !important; color:#fff !important; opacity:1; }
body.ame-site :is(.order-final,.my-btn,.btn,.ame-detail__add-to-cart,.ame-newsletter__btn,.new-email-submit,.submit__review,.ame-filters__apply):focus-visible { outline:2px solid #474747; outline-offset:3px; }
body.ame-site :is(.btn-secondary,.ame-cookie__button:not(.ame-cookie__button--primary),.main-user-consent-request-popup-button) { background:#E1E2E3; border-color:#C8CACC; color:#141414; border-radius:0; }
body.ame-site :is(.btn-secondary,.ame-cookie__button:not(.ame-cookie__button--primary),.main-user-consent-request-popup-button):hover { background:#CDD0D2; color:#141414; }
body.ame-site #basket-root .basket-btn-checkout, body.ame-site #bx-soa-order .btn, body.ame-site #bx-soa-orderSave .btn { background:#E1E2E3 !important; border-color:#E1E2E3 !important; color:#141414 !important; border-radius:0; box-shadow:none; }
body.ame-site #basket-root .basket-btn-checkout:hover, body.ame-site #bx-soa-order .btn:hover, body.ame-site #bx-soa-orderSave .btn:hover { background:#CDD0D2 !important; border-color:#CDD0D2 !important; }

body.ame-site .cloudpay_button { display:inline-flex; align-items:center; justify-content:center; padding:12px 24px; background:#141414 !important; border:1px solid #141414 !important; border-radius:0; color:#fff !important; font-size:14px; line-height:20px; cursor:pointer; }
body.ame-site .cloudpay_button:hover { background:#333 !important; border-color:#333 !important; }
body.ame-site .ame-service-page { width:100%; max-width:none; margin:0 auto; padding-top:calc(var(--ame-header-height) + 48px); padding-bottom:64px; }
body.ame-site .btn.btn-secondary { background:#E1E2E3; color:#141414 !important; }
body.ame-site .btn.btn-secondary:hover { background:#CDD0D2; }

/* Long contact labels must wrap inside the mobile dialog. */
body.ame-site #contacts .delivery-modal { overflow-wrap:anywhere; }
body.ame-site #contacts nobr { white-space:normal; }
body.ame-site .modal-content { border-radius:0; border-color:#E1E2E3; }
body.ame-site .modal .nav-tabs .nav-link { color:#141414; }

/* Keep the Bitrix toolbar visible above the fixed storefront header. */
#bx-panel { z-index:3000 !important; }
.ame-navbar { top:var(--ame-admin-panel-offset, 0px); }
.ame-mobile-menu { top:calc(var(--ame-header-height) + var(--ame-admin-panel-offset, 0px)); }

.ame-navbar__mobile-toggle span:nth-child(2) { transition:opacity .2s ease; }
.ame-navbar__mobile-toggle--open span:nth-child(2) { opacity:0; }

.ame-navbar__mobile-toggle:not(.ame-navbar__mobile-toggle--open) span:first-child { transform:translateY(-6px); }
.ame-navbar__mobile-toggle:not(.ame-navbar__mobile-toggle--open) span:last-child { transform:translateY(6px); }

/* Empty basket starts below the fixed header. */
body.ame-site > .bx-sbb-empty-cart-container { padding-top:calc(var(--ame-header-height) + 48px); }
body.ame-site > .bx-sbb-empty-cart-container .bx-sbb-empty-cart-image { margin-top:0; }

/* Shared action buttons: newsletter reference. Icon and choice controls keep their own layout. */
html body.ame-site :is(.order-final,.my-btn,.btn-primary,.btn-secondary,.ame-detail__add-to-cart,.ame-detail__preorder,.ame-newsletter__btn,.new-email-submit,.submit__review,.ame-filters__apply,.ame-cookie__button,.ame-cookie-policy button,.main-user-consent-request-popup-button,.cloudpay_button,.sale-order-list-button,.sale-order-detail-about-order-inner-container-repeat-button,.sale-order-detail-payment-options-methods-button-element,.sale-order-payment-change-pp-list .btn,.ame-personal .btn-exit,#basket-root .basket-btn-checkout,#bx-soa-order .btn,#bx-soa-orderSave .btn,#bx-soa-orderSave .pull-right.btn.btn-default.btn-lg) { align-items:center; justify-content:center; box-sizing:border-box; height:50px !important; min-height:50px !important; padding:14px 20px !important; background:#141414 !important; border:1px solid #141414 !important; border-radius:0 !important; color:#fff !important; font-family:Manrope,sans-serif !important; font-size:14px !important; font-weight:300 !important; line-height:20px !important; letter-spacing:.0155em !important; text-transform:uppercase; text-decoration:none; box-shadow:none !important; cursor:pointer; }
html body.ame-site :is(.order-final,.my-btn,.btn-primary,.btn-secondary,.ame-detail__add-to-cart,.ame-detail__preorder,.ame-newsletter__btn,.new-email-submit,.submit__review,.ame-filters__apply,.ame-cookie__button,.ame-cookie-policy button,.main-user-consent-request-popup-button,.cloudpay_button,.sale-order-list-button,.sale-order-detail-about-order-inner-container-repeat-button,.sale-order-detail-payment-options-methods-button-element,.sale-order-payment-change-pp-list .btn,.ame-personal .btn-exit,#basket-root .basket-btn-checkout,#bx-soa-order .btn,#bx-soa-orderSave .btn,#bx-soa-orderSave .pull-right.btn.btn-default.btn-lg):not(:disabled):not(.disabled):hover { background:#333 !important; border-color:#333 !important; color:#fff !important; opacity:1; }
html body.ame-site :is(.order-final,.my-btn,.btn-primary,.btn-secondary,.ame-detail__add-to-cart,.ame-detail__preorder,.ame-newsletter__btn,.new-email-submit,.submit__review,.ame-filters__apply,.ame-cookie__button,.ame-cookie-policy button,.main-user-consent-request-popup-button,.cloudpay_button,.sale-order-list-button,.sale-order-detail-about-order-inner-container-repeat-button,.sale-order-detail-payment-options-methods-button-element,.sale-order-payment-change-pp-list .btn,.ame-personal .btn-exit,#basket-root .basket-btn-checkout,#bx-soa-order .btn,#bx-soa-orderSave .btn,#bx-soa-orderSave .pull-right.btn.btn-default.btn-lg):focus-visible { outline:2px solid #474747; outline-offset:3px; }
:root { --ame-marquee-height:39px; }
@media(min-width:1101px) {
 :root { --ame-header-height:84px; }
 .ame-navbar { padding-block:20.5px; border-bottom:0; box-shadow:inset 0 -1px #e8e8e8; }
 .ame-navbar .ame-navbar__logo { flex-basis:149.62px; }
 .ame-navbar .ame-navbar__logo img { width:auto; height:43px; aspect-ratio:auto; max-width:none; }
 .ame-marquee { margin-top:84px; padding-block:11.5px; }
}
.ame-hero { height:calc(88vh - var(--ame-header-height) - var(--ame-marquee-height)); min-height:0; max-height:none; }
@media(max-width:1100px) {
 :root { --ame-marquee-height:48px; }
 .ame-hero { height:calc(88dvh - var(--ame-header-height) - var(--ame-marquee-height)); }
}
body.ame-site .bx-sbb-empty-cart-image { width:96px; height:96px; background:url('/bitrix/components/bitrix/sale.basket.basket/templates/bootstrap_v4/images/empty_cart.svg') center / contain no-repeat; opacity:1; filter:brightness(.25); }
body.ame-site .bx-sbb-empty-cart-image img { display:none; }

.ame-hero__arrow { background:rgba(206, 206, 206, 0.5); }

/* Product statuses below the price, shared by home and catalog cards. */
.ame-product-card__statuses { display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:8px; }
.ame-product-card__status { color:#7A2232; font:400 12px/20px Manrope,sans-serif; letter-spacing:.016em; text-transform:none; }
.ame-product-card__status--preorder { color:#8A8580; }
