.fitting-home {
    --home-canvas: #faf9f7;
    --home-ink: #352318;
    --home-olive: #56633b;
    --home-muted: #756b63;
    --home-line: #e3dfda;
    --home-gutter: 16px;
    --home-header-height: 64px;
    --home-tabs-height: 52px;
    --home-safe-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--home-canvas);
    color: var(--home-ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    padding-bottom: calc(var(--home-tabs-height) + var(--home-safe-bottom));
}

.fitting-home .wrap {
    min-height: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.fitting-home #main > .container {
    width: 100%;
    max-width: 1120px;
    padding: 0 var(--home-gutter);
}

.fitting-home #main {
    padding-bottom: 32px;
    background: transparent;
}

.fitting-home .home-header a,
.fitting-home .home-content a,
.fitting-home .home-tabs a {
    color: inherit;
    text-decoration: none;
}

.fitting-home .home-header svg,
.fitting-home .home-tabs svg,
.fitting-home .home-product-favorite svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fitting-home .home-header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: var(--home-header-height);
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--home-gutter);
}

.fitting-home .home-brand {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-right: auto;
    white-space: nowrap;
}

.fitting-home .home-brand img {
    display: block;
    width: auto;
    max-width: 128px;
    height: 22px;
    object-fit: contain;
    object-position: left center;
}

.fitting-home .home-header .home-location {
    color: var(--home-olive);
}

.fitting-home .home-header .home-location::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.fitting-home .home-header-icon {
    position: relative;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
}

.fitting-home .home-header-icon:hover {
    background: #f1efed;
}

.fitting-home #layout-cart-count {
    position: absolute;
    top: 1px;
    right: 1px;
    width: auto;
    height: auto;
    min-width: 17px;
    padding: 1px 4px;
    border-radius: 999px;
    background: var(--home-olive);
    color: #fff;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
}

.fitting-home #toast-container.toast-top-right {
    top: calc(var(--home-header-height) + 8px);
}

.fitting-home .home-search-form {
    display: flex;
    gap: 8px;
    max-width: 552px;
    margin: 0 auto;
    padding: 0 var(--home-gutter) 12px;
}

.fitting-home .home-search-form button {
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
    background: var(--home-olive);
    color: #fff;
}

.fitting-home .home-content {
    max-width: 520px;
    margin: 0 auto;
    padding-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}

/* Motion layer: quiet entrance choreography and tactile hover states. */
.fitting-home .home-motion-section {
    animation: home-motion-rise .62s cubic-bezier(.22, .8, .24, 1) both;
}

.fitting-home .home-motion-section:nth-child(2) { animation-delay: .08s; }
.fitting-home .home-motion-section:nth-child(3) { animation-delay: .14s; }
.fitting-home .home-motion-section:nth-child(4) { animation-delay: .2s; }
.fitting-home .home-motion-section:nth-child(5) { animation-delay: .26s; }
.fitting-home .home-motion-section:nth-child(6) { animation-delay: .32s; }
.fitting-home .home-motion-section:nth-child(7) { animation-delay: .38s; }
.fitting-home .home-motion-section:nth-child(8) { animation-delay: .44s; }

@keyframes home-motion-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.fitting-home .home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(104px, 40%);
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    padding: 20px;
    overflow: hidden;
    border-radius: 24px;
    color: #f8f1df;
    background: radial-gradient(ellipse 70% 65% at 106% -6%, rgba(116,126,70,.28) 0 50%, transparent 51%),
        radial-gradient(ellipse 58% 25% at 1% 110%, rgba(119,130,63,.32) 0 48%, transparent 49%),
        linear-gradient(120deg, #3b4520, #2a3517);
    background-color: #30391c;
    isolation: isolate;
    box-shadow: 0 12px 28px rgba(48, 57, 28, .12);
    transition: box-shadow .35s ease, transform .35s ease;
}

.fitting-home .home-hero::after {
    position: absolute;
    z-index: -1;
    top: -45%;
    right: -12%;
    width: 52%;
    aspect-ratio: 1;
    border: 1px solid rgba(248, 241, 223, .15);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(248, 241, 223, .045), 0 0 0 38px rgba(248, 241, 223, .03);
    content: "";
    animation: home-hero-orbit 9s ease-in-out infinite;
    pointer-events: none;
}

@keyframes home-hero-orbit {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-12px, 8px, 0) rotate(8deg); }
}

.fitting-home .home-hero-kicker {
    margin: 0 0 8px;
    color: #e9e5d1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.fitting-home .home-hero h1 {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 36px;
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.045em;
}

.fitting-home .home-hero-summary {
    margin: 10px 0 0;
    color: #f0ead7;
    font-size: 13px;
    line-height: 1.35;
}

.fitting-home .home-hero .home-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    margin-top: 12px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f8f1df;
    color: var(--home-olive);
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.fitting-home .home-hero .home-hero-link:hover,
.fitting-home .home-hero .home-hero-link:focus-visible {
    background: #fff;
    color: #30391c;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
    transform: translateY(-2px);
}

.fitting-home .home-hero-mascot {
    display: block;
    width: 100%;
    max-width: 160px;
    height: auto;
    margin: 0 auto;
    animation: home-mascot-float 4.8s ease-in-out infinite;
    filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .1));
}

@keyframes home-mascot-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-7px) rotate(1deg); }
}

.fitting-home .home-gender,
.fitting-home .home-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.fitting-home .home-gender {
    margin-bottom: 32px;
}

.fitting-home .home-gender a {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #e9e5e1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(53, 35, 24, .04);
    transition: box-shadow .3s ease, transform .3s ease;
}

.fitting-home .home-gender a::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.fitting-home .home-gender a::before {
    display: block;
    padding-top: 83.333%;
    background: url("../img/home/gender-shoes.jpg") no-repeat left center / 200% 100%;
    filter: brightness(1.06) saturate(.94);
    content: "";
    transition: transform .55s cubic-bezier(.22, .8, .24, 1), filter .35s ease;
}

.fitting-home .home-gender .home-gender-men::before {
    background-position: right center;
}

.fitting-home .home-gender a > span {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: clamp(16px, 4.3vw, 22px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.03em;
    transition: transform .3s ease;
}

.fitting-home .home-gender a:hover,
.fitting-home .home-gender a:focus-visible {
    box-shadow: 0 10px 24px rgba(53, 35, 24, .12);
    transform: translateY(-4px);
}

.fitting-home .home-gender a:hover::before,
.fitting-home .home-gender a:focus-visible::before {
    filter: brightness(1.1) saturate(1);
    transform: scale(1.045);
}

.fitting-home .home-gender a:hover > span,
.fitting-home .home-gender a:focus-visible > span {
    transform: translateX(3px);
}

.fitting-home .home-section + .home-section {
    margin-top: 24px;
}

.fitting-home .home-section h2 {
    margin: 0 0 12px;
    color: inherit;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.035em;
}

.fitting-home .home-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-bottom: 12px;
}

.fitting-home .home-section-heading h2 {
    margin: 0;
    font-size: clamp(16px, 4.5vw, 24px);
}

.fitting-home .home-section-heading a {
    color: var(--home-olive);
    font-size: clamp(11px, 3vw, 15px);
    font-weight: 600;
}

.fitting-home .home-products-track {
    position: relative;
    display: flex;
    gap: 2.3%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
}

.fitting-home .home-products-track.has-controls {
    scrollbar-width: none;
}

.fitting-home .home-products-track.has-controls::-webkit-scrollbar {
    display: none;
}

/* ListView still renders an empty pager for the horizontal home carousel.
   Keep it from reserving vertical space between cards and the dots. */
.fitting-home .home-products-list > .pagination {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fitting-home .home-product-slide {
    flex: 0 0 43%;
    min-width: 0;
    scroll-snap-align: start;
}

.fitting-home .home-product {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #f3efeb;
    transition: box-shadow .3s ease, transform .3s ease;
}

.fitting-home .home-product:hover,
.fitting-home .home-product:focus-within {
    box-shadow: 0 10px 22px rgba(53, 35, 24, .11);
    transform: translateY(-4px);
}

.fitting-home .home-product-link {
    display: block;
    min-height: 100%;
    padding-bottom: 9px;
}

.fitting-home .home-product-link:focus {
    outline-offset: -3px;
}

.fitting-home .home-product-image {
    position: relative;
    padding-top: 80%;
}

.fitting-home .home-product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .45s cubic-bezier(.22, .8, .24, 1);
}

.fitting-home .home-product:hover .home-product-image img,
.fitting-home .home-product:focus-within .home-product-image img {
    transform: scale(1.045);
}

.fitting-home .home-product-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    padding: 3px 6px;
    border-radius: 10px;
    background: #fff;
    color: #923c2f;
    font-size: 11px;
    font-weight: 600;
}

.fitting-home .home-product h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 5px 10px 0;
    color: inherit;
    font-size: clamp(12px, 3.4vw, 15px);
    line-height: 1.25;
    font-weight: 500;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fitting-home .home-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 5px;
    padding: 2px 10px 0;
    font-size: clamp(15px, 4.5vw, 20px);
    line-height: 1.2;
}

.fitting-home .home-product-price del {
    color: var(--home-muted);
    font-size: clamp(10px, 3vw, 13px);
}

.fitting-home .home-product-favorite {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
}

.fitting-home .home-product-favorite svg {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 50%;
    background: #fff;
}

.fitting-home .home-product-favorite.in-wishlist svg {
    fill: currentColor;
}

.fitting-home .home-products-dots:not([hidden]) {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.fitting-home .home-products-dots button {
    display: grid;
    place-items: center;
    min-width: 20px;
    min-height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
}

.fitting-home .home-products-dots button::before {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #eee3d4;
    content: "";
}

.fitting-home .home-products-dots [aria-current="true"]::before {
    width: 16px;
    background: var(--home-olive);
}

.fitting-home .home-category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 64px;
    padding: 13px;
    border-radius: 14px;
    background: #f4ebdf center / cover no-repeat;
    font-size: clamp(14px, 3.5vw, 18px);
    line-height: 1.2;
    font-weight: 650;
    transition: box-shadow .3s ease, transform .3s ease, background-position .55s ease;
}

.fitting-home .home-category:hover,
.fitting-home .home-category:focus-visible {
    box-shadow: 0 8px 18px rgba(53, 35, 24, .1);
    background-position: 54% center;
    transform: translateY(-3px);
}

.fitting-home .home-category span:last-child {
    color: var(--home-muted);
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
}

.fitting-home .home-category-shoes { background-image: url("../img/home/category-shoes.jpg"); }
.fitting-home .home-category-bags { background-image: url("../img/home/category-bags.jpg"); }
.fitting-home .home-category-belts { background-image: url("../img/home/category-belts.jpg"); }
.fitting-home .home-category-wallets { background-image: url("../img/home/category-wallets.svg"); }

.fitting-home .home-service-links,
.fitting-home .home-news,
.fitting-home .home-features,
.fitting-home .home-welcome {
    display: grid;
    gap: 8px;
    margin-bottom: 0;
    padding: 14px;
    border: 1px solid var(--home-line);
    border-radius: 14px;
}

.fitting-home .home-news a,
.fitting-home .home-service-links a,
.fitting-home .home-welcome a {
    color: var(--home-olive);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fitting-home .home-tabs {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: var(--home-safe-bottom);
    border-top: 1px solid var(--home-line);
    background: var(--home-canvas);
    color: #4c2f20;
}

.fitting-home .floating-fitting-dock {
    display: none !important;
}

.fitting-home .home-tabs-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 480px;
    margin: 0 auto;
}

.fitting-home .home-tabs a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    min-height: var(--home-tabs-height);
    font-size: 12px;
    line-height: 16px;
}

.fitting-home .home-tabs svg {
    width: 20px;
    height: 20px;
}

.fitting-home .home-tabs [aria-current] {
    font-weight: 600;
}

.fitting-home .home-tabs [aria-current] svg {
    fill: currentColor;
}

.fitting-home .floating-fitting-dock {
    z-index: 1001;
    right: 50%;
    bottom: calc(var(--home-tabs-height) + var(--home-safe-bottom) + 8px);
    justify-content: space-between;
    width: calc(100% - 44px);
    max-width: 360px;
    border: 1px solid var(--home-line);
    background: #fff;
    color: var(--home-ink);
    box-shadow: 0 6px 24px rgba(53, 35, 24, .14);
    transform: translateX(50%);
}

.fitting-home .floating-fitting-dock .dock-hint {
    color: var(--home-muted);
}

.fitting-home .floating-fitting-dock .dock-action {
    color: var(--home-olive);
    white-space: nowrap;
}

.fitting-home .floating-fitting-dock:hover { transform: translate(50%, -3px); }
.fitting-home.modal-open .home-tabs,
.fitting-home.modal-open .floating-fitting-dock { visibility: hidden; }

.fitting-home .home-header :focus-visible,
.fitting-home .home-content :focus-visible,
.fitting-home .home-tabs :focus-visible {
    outline: 2px solid #76451e;
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    .fitting-home .home-motion-section,
    .fitting-home .home-hero::after,
    .fitting-home .home-hero-mascot {
        animation: none;
    }

    .fitting-home .home-hero,
    .fitting-home .home-hero .home-hero-link,
    .fitting-home .home-gender a,
    .fitting-home .home-gender a::before,
    .fitting-home .home-gender a > span,
    .fitting-home .home-product,
    .fitting-home .home-product-image img,
    .fitting-home .home-category {
        transition: none;
    }
}

/* Motion is intentionally mobile-only. Keep the desktop layout static. */
@media (min-width: 700px) {
    .fitting-home .home-motion-section,
    .fitting-home .home-hero::after,
    .fitting-home .home-hero-mascot {
        animation: none;
    }

    .fitting-home .home-hero {
        box-shadow: none;
        transition: none;
    }

    .fitting-home .home-hero::after {
        display: none;
    }

    .fitting-home .home-hero-mascot {
        filter: none;
    }

    .fitting-home .home-hero .home-hero-link,
    .fitting-home .home-gender a,
    .fitting-home .home-gender a::before,
    .fitting-home .home-gender a > span,
    .fitting-home .home-product,
    .fitting-home .home-product-image img,
    .fitting-home .home-category {
        transition: none;
    }

    .fitting-home .home-hero .home-hero-link:hover,
    .fitting-home .home-hero .home-hero-link:focus-visible {
        background: #f8f1df;
        color: var(--home-olive);
        box-shadow: none;
        transform: none;
    }

    .fitting-home .home-gender a:hover,
    .fitting-home .home-gender a:focus-visible,
    .fitting-home .home-product:hover,
    .fitting-home .home-product:focus-within,
    .fitting-home .home-category:hover,
    .fitting-home .home-category:focus-visible {
        box-shadow: none;
        background-position: center;
        transform: none;
    }

    .fitting-home .home-gender a:hover::before,
    .fitting-home .home-gender a:focus-visible::before {
        filter: brightness(1.06) saturate(.94);
        transform: none;
    }

    .fitting-home .home-product:hover .home-product-image img,
    .fitting-home .home-product:focus-within .home-product-image img {
        filter: none;
        transform: none;
    }

    .fitting-home .home-gender a:hover > span,
    .fitting-home .home-gender a:focus-visible > span {
        transform: none;
    }
}

@media (max-width: 540px) {
    .fitting-home .home-location,
    .fitting-home .home-header-profile,
    .fitting-home .home-hero-summary,
    .fitting-home .home-hero-mascot {
        display: none;
    }

    .fitting-home .home-hero {
        display: flex;
        align-items: center;
        min-height: clamp(128px, 41vw, 212px);
        padding: 12px clamp(16px, 5.6vw, 26px);
        border-radius: clamp(16px, 5.2vw, 24px);
        background: #30391c url("../img/home/hero-background.jpg") center / 100% 100% no-repeat;
    }

    .fitting-home .home-hero h1 {
        font-size: clamp(24px, 7.1vw, 36px);
    }

    .fitting-home .home-hero-kicker {
        font-size: clamp(8px, 2.25vw, 10px);
        letter-spacing: .12em;
    }

    .fitting-home .home-hero .home-hero-link {
        min-height: clamp(28px, 7.5vw, 36px);
        font-size: clamp(10px, 2.7vw, 12px);
    }
}

@media (max-width: 359px) {
    .fitting-home { --home-gutter: 12px; }
}

@media (min-width: 700px) {
    .fitting-home { --home-gutter: 28px; --home-header-height: 80px; }
    .fitting-home .home-header-inner { gap: 16px; }
    .fitting-home .home-brand img { max-width: 148px; height: 26px; }
}

/* Modernize the legacy product/cart dialogs inside the new home shell. */
.fitting-home #basket-modal .modal-dialog {
    width: min(94vw, 820px);
    margin: 5vh auto;
}

.fitting-home #basket-modal .modal-content {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: var(--home-canvas);
    box-shadow: 0 16px 60px rgba(45, 34, 26, .25);
}

.fitting-home #basket-modal .catalog-product-modal-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #efebe6;
    color: var(--home-ink);
    font-size: 25px;
    line-height: 1;
}

.fitting-home #basket-modal .catalog-basket-product-modal {
    padding: 24px;
    color: var(--home-ink);
}

.fitting-home #basket-modal .catalog-basket-product-modal h1 {
    display: block;
    margin: 0 44px 22px 0;
    color: var(--home-ink);
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
}

.fitting-home #basket-modal .catalog-basket-product-modal__view {
    color: var(--home-ink);
}

.fitting-home #basket-modal .catalog-basket-product-modal__view .mainimage {
    display: block;
    width: 100%;
    max-width: 311px !important;
    max-height: 380px !important;
    margin: 0 auto;
    object-fit: contain;
}

.fitting-home #basket-modal .catalog-basket-product-modal__view .product-price {
    color: var(--home-ink);
    font-size: 26px;
    font-weight: 700;
}

.fitting-home #basket-modal .catalog-basket-product-modal__view .product-cart-box {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.fitting-home #basket-modal .catalog-basket-product-modal__view .product-cart-box button {
    border: 0;
    border-radius: 14px;
    background: var(--home-ink) !important;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.fitting-home #basket-modal .catalog-cart-success {
    color: var(--home-ink);
}

.fitting-home #basket-modal .catalog-cart-success .modal-header,
.fitting-home #basket-modal .catalog-cart-success .modal-body,
.fitting-home #basket-modal .catalog-cart-success .modal-footer {
    border: 0;
}

.fitting-home #basket-modal .catalog-cart-success .modal-header {
    padding: 24px 24px 14px;
}

.fitting-home #basket-modal .catalog-cart-success .modal-body {
    padding: 0 24px 18px;
}

.fitting-home #basket-modal .catalog-cart-success .modal-footer {
    padding: 0 24px 24px;
}

.fitting-home #basket-modal .catalog-cart-success .modal-footer .btn,
.fitting-home #basket-modal .catalog-cart-success .modal-footer a {
    border: 0;
    border-radius: 14px;
    font-weight: 700;
}

.fitting-home #basket-modal .catalog-cart-success .modal-footer .btn-default {
    background: transparent;
    color: var(--home-muted);
}

.fitting-home #basket-modal .catalog-cart-success .modal-footer .btn-success {
    background: var(--home-ink);
    color: #fff;
}

.fitting-home #basket-modal .catalog-cart-success__title {
    margin: 0 44px 6px 0;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

.fitting-home #basket-modal .catalog-cart-success__summary {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
}

.fitting-home #basket-modal .catalog-cart-success__summary a {
    color: var(--home-olive);
    font-weight: 700;
}

.fitting-home #basket-modal .catalog-cart-success #cart-list .item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas: "image info total";
    gap: 10px;
    align-items: center;
    min-height: 76px;
    padding: 12px !important;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: #fff;
}

.fitting-home #basket-modal .catalog-cart-success #cart-list .item > [class*="col-"] {
    float: none;
    width: auto;
    height: auto !important;
    padding: 0;
}

.fitting-home #basket-modal .catalog-cart-success #cart-list .item > .col-md-2:first-child { grid-area: image; }
.fitting-home #basket-modal .catalog-cart-success #cart-list .item > .col-md-3:nth-child(2) { grid-area: info; min-width: 0; }
.fitting-home #basket-modal .catalog-cart-success #cart-list .item > .price,
.fitting-home #basket-modal .catalog-cart-success #cart-list .item > .amountbox { display: none; }
.fitting-home #basket-modal .catalog-cart-success #cart-list .item > .tprice { grid-area: total; font-weight: 700; }
.fitting-home #basket-modal .catalog-cart-success #cart-list .item img { width: 56px; height: 64px; object-fit: contain; }
.fitting-home #basket-modal .catalog-cart-success #cart-list .item a { color: var(--home-ink); font-weight: 700; }
.fitting-home #basket-modal .catalog-cart-success #cart-list .item .vertical-middle { display: block; }

@media (max-width: 699px) {
    .fitting-home #basket-modal .modal-dialog {
        width: auto;
        margin: 12px;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal {
        padding: 18px;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal h1 {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 30px;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view > .row {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view > .row > [class*="col-"] {
        float: none;
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view > .row > .col-lg-6:first-child {
        padding: 14px;
        border-radius: 18px;
        background: #efebe6;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view .mainimage {
        max-height: 220px !important;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view > .row > .col-lg-6:last-child {
        padding-top: 18px;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view .product-wishlist {
        position: absolute;
        top: 18px;
        right: 58px;
        color: var(--home-olive);
        font-size: 13px;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view .product-price {
        margin-top: 12px;
        font-size: 24px;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view select.form-control,
    .fitting-home #basket-modal .catalog-basket-product-modal__view #count-modal {
        height: 48px;
        border: 1px solid var(--home-line);
        border-radius: 14px;
        background: #fff;
        box-shadow: none;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view #count-modal {
        width: 72px !important;
        text-align: center;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view .product-cart-box {
        margin-top: 14px !important;
        padding: 0;
    }

    .fitting-home #basket-modal .catalog-basket-product-modal__view .product-cart-box button {
        width: 100% !important;
        height: 52px !important;
    }

    .fitting-home #basket-modal .catalog-cart-success .modal-header {
        padding: 24px 18px 14px;
    }

    .fitting-home #basket-modal .catalog-cart-success .modal-body {
        padding: 0 18px 18px;
    }

    .fitting-home #basket-modal .catalog-cart-success .modal-footer {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
        padding: 0 18px 18px;
    }

    .fitting-home #basket-modal .catalog-cart-success .modal-footer .btn,
    .fitting-home #basket-modal .catalog-cart-success .modal-footer a {
        float: none !important;
        width: 100%;
        min-height: 48px;
        border: 0;
        border-radius: 14px;
        display: grid;
        place-items: center;
        margin: 0;
        font-weight: 700;
    }

    .fitting-home #basket-modal .catalog-cart-success .modal-footer .btn-default {
        background: transparent;
        color: var(--home-muted);
    }

    .fitting-home #basket-modal .catalog-cart-success .modal-footer .btn-success {
        background: var(--home-ink);
        color: #fff;
    }
}

.fitting-home #toast-container {
    z-index: 1100;
}

.fitting-home #toast-container > div {
    width: min(360px, calc(100vw - 24px));
    margin: 0 0 8px;
    padding: 14px 40px 14px 46px;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background-color: var(--home-canvas) !important;
    background-image: none !important;
    color: var(--home-ink);
    opacity: 1;
    box-shadow: 0 12px 32px rgba(53, 35, 24, .18);
    font-size: 14px;
    line-height: 20px;
}

.fitting-home #toast-container > div::before {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: var(--home-olive);
    color: #fff;
    content: "✓";
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

.fitting-home #toast-container > div.toast-error::before { content: "!"; background: #a94a3d; }
.fitting-home #toast-container > div.toast-warning::before { content: "!"; background: #9a6a2c; }
.fitting-home #toast-container > div.toast-info::before { content: "i"; background: #7f8b68; }

.fitting-home #toast-container .toast-message a {
    color: var(--home-ink);
    font-weight: 700;
    text-decoration: none;
}

.fitting-home #toast-container .toast-close-button {
    top: -.1em;
    right: -.1em;
    color: var(--home-muted);
    text-shadow: none;
}

@media (max-width: 699px) {
    .fitting-home #toast-container.toast-top-right {
        top: calc(var(--home-header-height) + 8px);
        right: 12px;
        left: 12px;
        width: auto;
    }

    .fitting-home #toast-container.toast-top-right > div {
        width: 100%;
    }
}
