:root {
    --front-bg: #fff6ea;
    --front-surface: #ffffff;
    --front-surface-soft: #fffdf8;
    --front-ink: #18202b;
    --front-muted: #5d6777;
    --front-brand: #c9471b;
    --front-brand-strong: #a23310;
    --front-accent: #188846;
    --front-accent-strong: #106433;
    --front-border: #f0d9c7;
    --front-shadow: 0 14px 34px rgba(25, 22, 18, 0.12);
    --front-shadow-soft: 0 8px 20px rgba(35, 29, 24, 0.08);
}

body.ui-front {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--front-ink);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    background:
        radial-gradient(1200px 520px at 90% -12%, #f8c36f66, transparent 60%),
        radial-gradient(900px 460px at -10% 25%, #d05b2f22, transparent 65%),
        var(--front-bg);
}

body.ui-front main {
    animation: fade-up 0.5s ease-out both;
}

body.ui-front h1,
body.ui-front h2,
body.ui-front h3,
body.ui-front h4,
body.ui-front h5 {
    font-family: 'Sora', 'Manrope', sans-serif;
    letter-spacing: -0.02em;
}

.ui-front .banner {
    background: linear-gradient(120deg, #3c1208, #a84f1f 55%, #d88a2a);
    padding: 14px 0;
    text-align: center;
    border-bottom: 1px solid #00000040;
    box-shadow: 0 8px 20px rgba(64, 28, 7, 0.28);
}

.ui-front .banner a {
    display: inline-block;
}

.ui-front .banner img {
    max-width: 180px;
    width: min(42vw, 180px);
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.ui-front .alert-container {
    text-align: center;
    padding: 11px 44px 11px 18px;
    font-weight: 700;
    position: relative;
    border-bottom: 1px solid #00000033;
    overflow: hidden;
}

.ui-front .alert-container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ui-front .alert-container.alert-open {
    background: linear-gradient(90deg, #11713c, #0b5f31);
    color: #fff;
}

.ui-front .alert-container.alert-open::before {
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 48%, transparent 100%);
    opacity: 0.55;
}

.ui-front .alert-container.alert-closed {
    background:
        linear-gradient(135deg, #fff6ef 0%, #ffe2d4 52%, #fff5ec 100%);
    color: #9c1f11;
    border-top: 1px solid rgba(178, 43, 22, 0.2);
    border-bottom: 1px solid rgba(178, 43, 22, 0.28);
    box-shadow:
        inset 0 -1px 0 rgba(255, 255, 255, 0.72),
        0 10px 26px rgba(170, 43, 22, 0.16);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
    animation: critical-banner-pulse 1.9s ease-in-out infinite;
}

.ui-front .alert-container.alert-closed::before {
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.7) 46%, transparent 100%);
    opacity: 0.7;
    animation: critical-banner-sheen 3.1s linear infinite;
}

.ui-front .alert-container .closebtn {
    position: absolute;
    right: 16px;
    top: 7px;
    cursor: pointer;
    font-size: 1.25rem;
    opacity: 0.9;
}

.ui-front .alert-container.alert-closed .closebtn {
    color: #b12a17;
}

.ui-front .navbar {
    background: linear-gradient(90deg, #171b22, #10151d) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 26px rgba(12, 16, 23, 0.3);
}

.ui-front .navbar .container,
.ui-front .navbar .container-fluid {
    padding-top: 4px;
    padding-bottom: 4px;
}

.ui-front .navbar-brand {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.2rem, 2vw, 1.9rem);
}

.ui-front .navbar-nav .nav-link {
    color: #f7f8fa !important;
    border-radius: 12px;
    padding: 8px 12px !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ui-front .navbar-nav .nav-link:hover,
.ui-front .navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffce73 !important;
}

.ui-front .badge.bg-danger {
    background: #d62f2f !important;
}

.ui-front .site-main,
.ui-front main {
    flex: 1 0 auto;
    display: block;
    min-height: 52vh;
}

.ui-front .container,
.ui-front .container-fluid {
    position: relative;
}

.ui-front #sidebar {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border-radius: 18px;
    border: 1px solid #ffffff22;
    background: linear-gradient(180deg, #171b23, #0f1319) !important;
    box-shadow: var(--front-shadow-soft);
}

.ui-front #sidebar .nav-link {
    border-radius: 10px;
    padding: 7px 10px;
    margin: 1px 0;
    font-weight: 600;
}

.ui-front #sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ui-front .promo-spotlight {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 24px;
    min-height: clamp(250px, 24vw, 340px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 20px 38px rgba(18, 15, 12, 0.26);
    animation: promo-card-breath 6s ease-in-out infinite;
    transition: filter 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    background-position: center top;
    background-size: cover;
}

.ui-front .promo-spotlight::before {
    content: "";
    position: absolute;
    inset: -40% -35%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 28%, rgba(255, 214, 148, 0.18), rgba(255, 214, 148, 0) 58%),
        radial-gradient(circle at 78% 66%, rgba(205, 54, 19, 0.12), rgba(205, 54, 19, 0) 62%);
    animation: promo-lens-sweep 7.5s linear infinite;
}

.ui-front .promo-spotlight::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(118deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02) 42%, rgba(255, 123, 61, 0.08));
    opacity: 0.42;
    animation: promo-overlay-wave 9s ease-in-out infinite alternate;
}

.ui-front .promo-pill {
    font-size: 0.74rem;
    background: linear-gradient(90deg, #e11717, #be0e0e);
    animation: promo-pill-pop 2.8s ease-in-out infinite;
}

.ui-front .promo-spotlight h3 {
    max-width: 700px;
    animation: promo-title-rise 4.8s ease-in-out infinite;
}

.ui-front .promo-spotlight p {
    animation: promo-subtitle-fade 3.8s ease-in-out infinite;
}

.ui-front .promo-spotlight .promo-spotlight-overlay {
    position: relative;
    z-index: 1;
    max-width: min(680px, 72%);
    background: linear-gradient(90deg, rgba(6, 8, 13, 0.84) 0%, rgba(6, 8, 13, 0.66) 54%, rgba(6, 8, 13, 0.2) 100%);
    backdrop-filter: blur(1.5px);
}

.ui-front .promo-spotlight--swap {
    animation-duration: 0.5s;
    filter: saturate(1.08) brightness(1.06);
}

.ui-front .promo-featured {
    margin-bottom: 26px;
    border-radius: 24px;
    padding: clamp(16px, 2.8vw, 26px);
    background: linear-gradient(130deg, #0f1f35, #163257 58%, #235b90);
    color: #fff;
    border: 1px solid #ffffff29;
    box-shadow: 0 20px 34px rgba(15, 24, 36, 0.28);
}

.ui-front .promo-featured--homepage {
    margin-top: -4px;
}

.ui-front .promo-featured__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 14px;
}

.ui-front .promo-featured__eyebrow {
    margin: 0 0 5px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 800;
    color: #d6e9ff;
}

.ui-front .promo-featured__head h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.6vw, 1.9rem);
}

.ui-front .promo-featured__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ui-front .promo-featured-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff, #f4f8ff);
    border: 1px solid #d2e5ff;
    border-radius: 18px;
    overflow: hidden;
    color: #192233;
    box-shadow: 0 10px 22px rgba(7, 17, 30, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ui-front .promo-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(90deg, #e11818, #c20f0f);
    box-shadow: 0 7px 14px rgba(173, 27, 27, 0.35);
}

.ui-front .menu-promo-badge {
    display: inline-flex;
    align-items: center;
    margin: 0 0 8px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(90deg, #e11818, #bf1010);
}

.ui-front .promo-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 24px rgba(7, 17, 30, 0.24);
}

.ui-front .promo-featured-card img {
    width: 100%;
    height: 186px;
    object-fit: cover;
    display: block;
}

.ui-front .promo-featured-card__content {
    padding: 14px 14px 15px;
}

.ui-front .promo-featured-card__content h4 {
    margin: 0 0 7px;
    font-size: 1.14rem;
    font-weight: 800;
}

.ui-front .promo-featured-card__content p {
    margin: 0 0 9px;
    color: #4b5e78;
    font-size: 0.98rem;
    min-height: 78px;
}

.ui-front .promo-featured-card__content strong {
    color: #b63313;
    font-size: 1.05rem;
}

.ui-front .promo-focus-ring {
    position: relative;
    box-shadow: 0 0 0 4px #6ec0ff, 0 14px 26px rgba(34, 83, 138, 0.26) !important;
}

.ui-front .menu-grid {
    align-items: start;
    gap: 24px;
}

.ui-front .menu-page-with-sidebar-cart {
    position: relative;
}

.ui-front .mini-cart-floating-toggle {
    position: fixed;
    right: 14px;
    bottom: 86px;
    z-index: 1042;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(13, 26, 44, 0.3);
    display: inline-flex;
    align-items: center;
}

.ui-front .mini-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 12, 20, 0.46);
    z-index: 1043;
}

.ui-front .mini-cart-panel {
    position: fixed;
    top: 168px;
    right: 14px;
    width: min(360px, 92vw);
    max-height: calc(100vh - 188px);
    border-radius: 16px;
    background: linear-gradient(180deg, #0f1d31, #0a1626);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 34px rgba(5, 10, 16, 0.45);
    color: #eaf1ff;
    z-index: 1044;
    display: flex;
    flex-direction: column;
    transform: translateX(calc(100% + 36px));
    transition: transform 0.25s ease;
}

.ui-front .mini-cart-panel.is-open {
    transform: translateX(0);
}

.ui-front .mini-cart-panel__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.ui-front .mini-cart-panel__head h5 {
    color: #f4f8ff;
}

.ui-front .mini-cart-panel__body {
    overflow: auto;
    padding: 10px;
    display: grid;
    gap: 10px;
}

.ui-front .mini-cart-empty {
    padding: 8px 4px;
    color: #d2d9ea;
}

.ui-front .mini-cart-line {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    padding: 8px;
}

.ui-front .mini-cart-line img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ui-front .mini-cart-line__name {
    margin: 0;
    font-weight: 700;
    color: #f3f7ff;
    line-height: 1.2;
}

.ui-front .mini-cart-line__meta {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: #b8c3d9;
}

.ui-front .mini-cart-line__price {
    margin: 4px 0 0;
    color: #7ef0b6;
    font-weight: 700;
    font-size: 0.9rem;
}

.ui-front .mini-cart-line__actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
}

.ui-front .mini-cart-line__actions .btn {
    min-height: 28px;
    min-width: 28px;
    border-radius: 8px;
    padding: 0 8px;
    font-size: 0.9rem;
}

.ui-front .mini-cart-line__qty {
    min-width: 18px;
    text-align: center;
    font-weight: 700;
}

.ui-front .mini-cart-line__remove {
    border: 0;
    background: transparent;
    color: #ff9090;
    font-size: 1.05rem;
    line-height: 1;
    padding: 0 4px;
}

.ui-front .mini-cart-line__remove:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ui-front .mini-cart-line__lock {
    margin-top: 6px;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.14);
    color: #d8e3f7;
}

.ui-front .mini-cart-panel__foot {
    padding: 10px 12px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(5, 10, 16, 0.36);
}

.ui-front .mini-cart-totals {
    font-size: 0.94rem;
}

.ui-front .mini-cart-totals .d-flex + .d-flex {
    margin-top: 3px;
}

.ui-front #menuMiniCartDiscount {
    color: #7ef0b6;
}

.ui-front .mini-cart-panel .btn#menuMiniCartCheckoutBtn.order-action-disabled {
    background: #8d95a2 !important;
    border-color: #8d95a2 !important;
    color: #eef3ff !important;
    pointer-events: none;
}

.ui-front .menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #fffaf3);
    border: 1px solid var(--front-border);
    box-shadow: 0 16px 28px rgba(27, 26, 23, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ui-front .menu-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(140deg, rgba(201, 71, 27, 0.22), rgba(24, 136, 70, 0.22)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.45;
    transition: opacity 0.22s ease;
}

.ui-front .menu-item:hover {
    transform: translateY(-6px);
    border-color: #ebc7ae;
    box-shadow: 0 24px 40px rgba(25, 23, 19, 0.18);
}

.ui-front .menu-item:hover::before {
    opacity: 0.9;
}

.ui-front .menu-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid var(--front-border);
    transition: transform 0.38s ease;
}

.ui-front .menu-item:hover img {
    transform: scale(1.03);
}

.ui-front .menu-item .menu-content {
    padding: 14px 14px 16px;
}

.ui-front .menu-item .menu-title,
.ui-front .menu-item .menu-title-item {
    color: #1d2531;
    font-size: clamp(1.02rem, 1.4vw, 1.22rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
}

.ui-front .menu-item .menu-description,
.ui-front .menu-item .menu-description-item {
    color: var(--front-muted);
    min-height: 48px;
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.ui-front .menu-item .add-to-cart {
    width: 100%;
    min-height: 42px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.ui-front .mobile-family-accordion {
    display: none;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid #dae6fa;
    background: linear-gradient(180deg, #f9fcff, #eff5ff);
    box-shadow: 0 14px 26px rgba(15, 27, 47, 0.08);
}

.ui-front .mobile-family-accordion__head {
    margin-bottom: 12px;
}

.ui-front .mobile-family-head-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ui-front .mobile-family-head-stats span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.77rem;
    font-weight: 700;
    color: #233247;
    background: #ffffff;
    border: 1px solid #d2e0f7;
}

.ui-front .mobile-family-group {
    border: 1px solid #d5e2f5;
    border-radius: 18px;
    background: #f9fbff;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 8px 18px rgba(20, 39, 70, 0.08);
}

.ui-front .mobile-family-toggle {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.ui-front .mobile-family-cover {
    position: relative;
    min-height: 178px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
}

.ui-front .mobile-family-cover__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 8, 16, 0.16), rgba(3, 8, 16, 0.78));
}

.ui-front .mobile-family-cover__shine {
    position: absolute;
    top: -120%;
    left: -52%;
    width: 58%;
    height: 300%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(24deg);
    animation: mobile-family-shine 8s linear infinite;
}

.ui-front .mobile-family-order,
.ui-front .mobile-family-title,
.ui-front .mobile-family-preview,
.ui-front .mobile-family-count {
    position: relative;
    z-index: 1;
    color: #fff;
}

.ui-front .mobile-family-order {
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 800;
    background: rgba(8, 19, 34, 0.62);
    border: 1px solid rgba(230, 239, 255, 0.26);
    padding: 4px 10px;
    border-radius: 999px;
}

.ui-front .mobile-family-title {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    background: linear-gradient(120deg, #19823f, #0f6d32);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-front .mobile-family-preview {
    font-size: 0.82rem;
    line-height: 1.35;
    max-width: 95%;
    color: #f2f8ff;
    text-shadow: 0 2px 10px rgba(6, 14, 25, 0.8);
}

.ui-front .mobile-family-bottom-line {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ui-front .mobile-family-count {
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(6, 15, 27, 0.55);
    padding: 4px 10px;
    border-radius: 999px;
}

.ui-front .mobile-family-chevron {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-right: 4px;
    transition: transform 0.24s ease;
}

.ui-front .mobile-family-group.is-open .mobile-family-chevron {
    transform: rotate(225deg);
}

.ui-front .mobile-family-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.33s ease;
    background: linear-gradient(180deg, #f5f9ff, #eef4ff);
}

.ui-front .mobile-family-group.is-open .mobile-family-content {
    border-top: 1px solid #d6e2f3;
}

.ui-front .menu-grid-mobile-family {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: none;
    padding: 12px;
}

.ui-front .mobile-menu-item {
    border-radius: 16px;
    border-color: #e2d2c5;
    background: linear-gradient(180deg, #fffdf8, #fff7ee);
}

.ui-front .mobile-menu-item img {
    height: 172px;
}

.ui-front .menu-price {
    color: var(--front-brand);
    font-weight: 800;
}

.ui-front .btn {
    border-radius: 12px;
    font-weight: 700;
}

.ui-front .order-closed-note {
    border-radius: 12px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(174, 40, 22, 0.22) !important;
    background:
        linear-gradient(135deg, rgba(255, 247, 240, 0.98) 0%, rgba(255, 225, 212, 0.96) 48%, rgba(255, 244, 236, 0.98) 100%) !important;
    color: #a52614 !important;
    box-shadow:
        0 12px 30px rgba(166, 38, 20, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    animation: critical-note-pulse 1.8s ease-in-out infinite;
}

.ui-front .order-closed-note::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.48) 44%, transparent 100%);
    animation: critical-banner-sheen 3.6s linear infinite;
}

.ui-front .order-closed-note strong,
.ui-front .order-closed-note span,
.ui-front .order-closed-note i {
    position: relative;
    z-index: 1;
}

.ui-front .order-closed-note strong {
    color: #8f180a;
    letter-spacing: 0.01em;
}

.ui-front .menu-item.ordering-closed,
.ui-front .promo-featured-card.ordering-closed {
    opacity: 0.88;
}

.ui-front .btn.order-action-disabled,
.ui-front .btn:disabled {
    background: #a2a9b3 !important;
    border-color: #a2a9b3 !important;
    color: #f8fafc !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.ui-front .btn-success,
.ui-front .btn.btn-success,
.ui-front .menu-btn,
.ui-front #orderBtn,
.ui-front #orderBtnPickup {
    background: linear-gradient(120deg, var(--front-accent), var(--front-accent-strong));
    border-color: transparent;
    color: #fff;
}

.ui-front .btn-success:hover,
.ui-front .btn.btn-success:hover,
.ui-front .menu-btn:hover,
.ui-front #orderBtn:hover,
.ui-front #orderBtnPickup:hover {
    background: linear-gradient(120deg, #1e9e52, #12753c);
    color: #fff;
}

.ui-front .btn-primary,
.ui-front .btn.btn-primary,
.ui-front .btn-delivery,
.ui-front .btn-pickup {
    background: linear-gradient(120deg, var(--front-brand), var(--front-brand-strong));
    border-color: transparent;
    color: #fff;
}

.ui-front .btn-primary:hover,
.ui-front .btn.btn-primary:hover,
.ui-front .btn-delivery:hover,
.ui-front .btn-pickup:hover {
    background: linear-gradient(120deg, #dd5425, #b03f17);
    color: #fff;
}

.ui-front .btn-outline-success,
.ui-front .btn-outline-primary,
.ui-front .btn-outline-danger {
    border-radius: 10px;
    font-weight: 700;
}

.ui-front .card {
    border: 1px solid #f0dccd;
    border-radius: 18px;
    box-shadow: var(--front-shadow-soft);
}

@keyframes critical-banner-pulse {
    0%,
    100% {
        box-shadow:
            inset 0 -1px 0 rgba(255, 255, 255, 0.72),
            0 10px 26px rgba(170, 43, 22, 0.16);
    }
    50% {
        box-shadow:
            inset 0 -1px 0 rgba(255, 255, 255, 0.78),
            0 14px 34px rgba(170, 43, 22, 0.26);
    }
}

@keyframes critical-note-pulse {
    0%,
    100% {
        transform: translateY(0);
        box-shadow:
            0 12px 30px rgba(166, 38, 20, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }
    50% {
        transform: translateY(-1px);
        box-shadow:
            0 16px 38px rgba(166, 38, 20, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.82);
    }
}

@keyframes critical-banner-sheen {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

.ui-front .table {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.ui-front .table thead {
    background: #f2eee8;
}

.ui-front .table th {
    border-bottom: 0;
    color: #1e2735;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.78rem;
}

.ui-front .table td {
    vertical-align: middle;
}

.ui-front .form-control,
.ui-front .form-select,
.ui-front textarea {
    border-radius: 11px;
    border: 1px solid #dec5ae;
    min-height: 44px;
}

.ui-front .form-control:focus,
.ui-front .form-select:focus,
.ui-front textarea:focus {
    border-color: #d26b3c;
    box-shadow: 0 0 0 0.22rem rgba(210, 107, 60, 0.15);
}

.ui-front .hero-shell {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: min(78vh, 640px);
    box-shadow: 0 26px 46px rgba(15, 14, 12, 0.32);
    border: 1px solid #ffffff2a;
    margin-bottom: 26px;
    isolation: isolate;
}

.ui-front .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.ui-front .hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(140deg, rgba(10, 12, 16, 0.78), rgba(8, 9, 12, 0.35) 50%, rgba(166, 61, 20, 0.48));
    z-index: -1;
}

.ui-front .hero-content {
    color: #fff;
    padding: clamp(24px, 5vw, 54px);
    max-width: 850px;
    animation: fade-up 0.75s ease both;
}

.ui-front .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    background: #00000055;
    border: 1px solid #ffffff33;
    margin-bottom: 12px;
}

.ui-front .hero-content h1 {
    font-size: clamp(1.95rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
}

.ui-front .hero-content p {
    color: #f2f1ef;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.ui-front .order-panel {
    margin-top: 20px;
    background: rgba(8, 11, 16, 0.38);
    border: 1px solid #ffffff30;
    border-radius: 20px;
    padding: 16px;
    backdrop-filter: blur(6px);
}

.ui-front .quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.ui-front .quick-stat {
    border-radius: 18px;
    padding: 18px;
    color: #fff;
    box-shadow: var(--front-shadow-soft);
    animation: fade-up 0.6s ease both;
}

.ui-front .quick-stat h5 {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.92;
}

.ui-front .quick-stat p {
    margin: 8px 0 0;
    font-size: 1.7rem;
    font-weight: 900;
}

.ui-front .quick-stat.is-brand {
    background: linear-gradient(135deg, #d85f2f, #b93f18);
}

.ui-front .quick-stat.is-green {
    background: linear-gradient(135deg, #1d9a52, #0f7039);
}

.ui-front .quick-stat.is-blue {
    background: linear-gradient(135deg, #2d79c7, #1e4f93);
}

.ui-front .quick-stat.is-dark {
    background: linear-gradient(135deg, #1f2734, #0e141f);
}

.ui-front .section-shell {
    background: var(--front-surface);
    border-radius: 24px;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid #efd6c4;
    box-shadow: var(--front-shadow-soft);
    margin-bottom: 26px;
}

.ui-front .section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.ui-front .section-header h2,
.ui-front .section-header h3 {
    margin: 0;
}

.ui-front .feature-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ui-front .feature-card {
    background: var(--front-surface-soft);
    border: 1px solid #edd9ca;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ui-front .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--front-shadow-soft);
}

.ui-front .feature-card i {
    font-size: 2rem;
    color: var(--front-brand);
    margin-bottom: 8px;
}

.ui-front .client-home-families {
    background: linear-gradient(180deg, #fffdf8, #fff7ee);
}

.ui-front .client-home-family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.ui-front .client-home-family-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid #ecd7c4;
    background:
        radial-gradient(130% 95% at 0% 100%, rgba(201, 71, 27, 0.16), rgba(201, 71, 27, 0)),
        linear-gradient(145deg, #ffffff, #fff7ec 68%);
    padding: 16px;
    color: #1d2531;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(28, 24, 20, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
}

.ui-front .client-home-family-card::after {
    content: "";
    position: absolute;
    top: -65%;
    right: -15%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 136, 70, 0.2), rgba(24, 136, 70, 0));
    pointer-events: none;
}

.ui-front .client-home-family-card:hover {
    transform: translateY(-4px);
    border-color: #e6c0a3;
    box-shadow: 0 18px 30px rgba(29, 23, 18, 0.16);
    color: #111b27;
}

.ui-front .client-home-family-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(130deg, #1a8b48, #126736);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.ui-front .client-home-family-card h4 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 800;
}

.ui-front .client-home-family-card p {
    margin: 0 0 12px;
    color: #4f5c6b;
    font-size: 0.89rem;
    line-height: 1.45;
}

.ui-front .client-home-family-cta {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    background: #173557;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ui-front .home-menu-catalog {
    background:
        radial-gradient(125% 130% at 0% -12%, rgba(38, 118, 235, 0.11), rgba(38, 118, 235, 0)),
        radial-gradient(120% 110% at 100% 115%, rgba(208, 66, 23, 0.16), rgba(208, 66, 23, 0)),
        linear-gradient(180deg, #fffdf9, #fff4e7);
}

.ui-front .home-menu-catalog__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.ui-front .home-family-catalog {
    background:
        radial-gradient(125% 130% at 0% -12%, rgba(38, 118, 235, 0.11), rgba(38, 118, 235, 0)),
        radial-gradient(120% 110% at 100% 115%, rgba(208, 66, 23, 0.16), rgba(208, 66, 23, 0)),
        linear-gradient(180deg, #fffdf9, #fff4e7);
}

.ui-front .home-family-groups {
    display: grid;
    gap: 16px;
}

.ui-front .home-family-group {
    position: relative;
    isolation: isolate;
    border: 1px solid #e4d2c0;
    border-radius: 22px;
    background: linear-gradient(150deg, #ffffff, #fff8ee 62%, #fff3e4);
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(27, 20, 13, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ui-front .home-family-group::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--family-cover, none);
    background-size: cover;
    background-position: 50% 50%;
    opacity: 0.74;
    filter: saturate(1.02) contrast(1.03);
    transition: opacity 0.35s ease, filter 0.35s ease, background-size 0.35s ease, background-position 0.35s ease;
    animation: homeFamilyCoverDrift 10s ease-in-out infinite alternate;
}

.ui-front .home-family-group::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(130deg, rgba(253, 249, 239, 0.5), rgba(252, 245, 233, 0.4) 48%, rgba(248, 235, 218, 0.45)),
        radial-gradient(90% 120% at 0% 100%, rgba(25, 110, 58, 0.1), rgba(25, 110, 58, 0));
}

.ui-front .home-family-group[open] {
    box-shadow: 0 22px 34px rgba(24, 18, 12, 0.15);
    border-color: #dbbaa0;
}

.ui-front .home-family-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 38px rgba(24, 18, 12, 0.16);
}

.ui-front .home-family-group:hover::before,
.ui-front .home-family-group[open]::before {
    opacity: 0.86;
    background-size: 112%;
    filter: saturate(1.08) contrast(1.06);
}

@keyframes homeFamilyCoverDrift {
    0% {
        background-position: 50% 48%;
    }
    50% {
        background-position: 44% 56%;
    }
    100% {
        background-position: 56% 46%;
    }
}

.ui-front .home-family-summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    min-height: 108px;
    padding: 12px 14px 10px;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.67), rgba(255, 251, 243, 0.46));
    border-bottom: 1px solid #f0decd;
    position: relative;
    z-index: 2;
}

.ui-front .home-family-summary::-webkit-details-marker {
    display: none;
}

.ui-front .home-family-corner-label {
    position: relative;
    top: 0;
    left: 0;
    max-width: min(75%, 360px);
    display: inline-flex;
    align-items: center;
    border-radius: 11px;
    padding: 8px 14px;
    background: linear-gradient(130deg, #1a8f4c, #146e3a);
    color: #f7fff9;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 9px 18px rgba(15, 93, 47, 0.32);
    z-index: 2;
}

.ui-front .home-family-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.ui-front .home-family-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 5px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d2f49, #131f31);
    color: #eef4ff;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(12, 23, 39, 0.22);
}

.ui-front .home-family-chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid #273e63;
    border-bottom: 2px solid #273e63;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: 0;
}

.ui-front .home-family-group[open] .home-family-chevron {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.ui-front .home-family-content {
    padding: 0 14px 14px;
    border-top: 0;
    position: relative;
    z-index: 2;
}

.ui-front .home-family-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0 12px;
}

.ui-front .home-family-menu-grid {
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.ui-front .home-catalog-card .menu-content .menu-price strong {
    color: #34465f;
}

.ui-client .client-home-catalog {
    background:
        radial-gradient(140% 120% at 0% -10%, rgba(21, 116, 192, 0.14), rgba(21, 116, 192, 0)),
        radial-gradient(120% 120% at 100% 110%, rgba(210, 92, 30, 0.14), rgba(210, 92, 30, 0)),
        linear-gradient(180deg, #fffdfa, #fff6eb);
}

.ui-client .client-home-catalog__head p {
    margin: 6px 0 0;
    max-width: 760px;
    color: #516072;
}

.ui-client .client-home-family-stack {
    display: grid;
    gap: 22px;
}

.ui-client .client-home-family-showcase {
    border: 1px solid #ead8c5;
    border-radius: 28px;
    background: linear-gradient(180deg, #fffefc, #fff7ed);
    box-shadow: 0 20px 36px rgba(34, 24, 15, 0.1);
    overflow: hidden;
}

.ui-client .client-home-family-showcase[open] {
    border-color: #dcb58d;
    box-shadow: 0 24px 44px rgba(34, 24, 15, 0.14);
}

.ui-client .client-home-family-showcase__summary {
    list-style: none;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
    cursor: pointer;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 235, 0.92)),
        radial-gradient(90% 160% at 100% 0%, rgba(21, 116, 192, 0.08), rgba(21, 116, 192, 0));
}

.ui-client .client-home-family-showcase__summary::-webkit-details-marker {
    display: none;
}

.ui-client .client-home-family-showcase__media {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f6eee2, #fffaf3);
    box-shadow: inset 0 0 0 1px rgba(235, 214, 189, 0.6);
}

.ui-client .client-home-family-showcase__media::before,
.ui-client .client-home-subfamily__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(100% 100% at 0% 0%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(9, 17, 28, 0.02), rgba(9, 17, 28, 0.16));
    pointer-events: none;
}

.ui-client .client-home-family-showcase__media::after,
.ui-client .client-home-subfamily__media::after {
    content: "";
    position: absolute;
    top: -35%;
    left: -42%;
    z-index: 2;
    width: 34%;
    height: 180%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
    transform: rotate(24deg);
    animation: clientCatalogSweep 6.8s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

.ui-client .client-home-family-showcase__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    animation: clientCatalogFloat 15s ease-in-out infinite alternate;
}

.ui-client .client-home-family-showcase__body {
    min-width: 0;
}

.ui-client .client-home-family-showcase__eyebrow,
.ui-client .client-home-subfamily__eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(23, 53, 87, 0.08);
    color: #173557;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ui-client .client-home-family-showcase__body h3 {
    margin: 12px 0 10px;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    line-height: 1.05;
    color: #192433;
}

.ui-client .client-home-family-showcase__body p {
    margin: 0;
    color: #556475;
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 720px;
}

.ui-client .client-home-family-showcase__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ui-client .client-home-family-showcase__chips span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #ead9c7;
    color: #314153;
    font-size: 0.84rem;
    font-weight: 700;
}

.ui-client .client-home-family-showcase__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.ui-client .client-home-family-showcase__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    border-radius: 999px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #1d2f49, #131f31);
    color: #eef4ff;
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(14, 24, 39, 0.2);
}

.ui-client .client-home-family-showcase__count.is-soft {
    background: linear-gradient(135deg, #f2e8db, #eadbca);
    color: #314153;
    box-shadow: none;
}

.ui-client .client-home-family-showcase__chevron {
    width: 14px;
    height: 14px;
    border-right: 2px solid #2a3d5e;
    border-bottom: 2px solid #2a3d5e;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: 6px;
}

.ui-client .client-home-family-showcase[open] .client-home-family-showcase__chevron {
    transform: rotate(-135deg);
}

.ui-client .client-home-family-showcase:hover .client-home-family-showcase__media::after,
.ui-client .client-home-family-showcase[open] .client-home-family-showcase__media::after {
    animation-duration: 4.8s;
}

.ui-client .client-home-family-showcase__content {
    padding: 0 22px 22px;
}

.ui-client .client-home-family-showcase__toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.ui-client .client-home-family-showcase__toolbar .btn {
    border-radius: 999px;
    padding-inline: 16px;
}

.ui-client .client-home-subfamily {
    border: 1px solid #ecdccc;
    border-radius: 24px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 241, 0.92)),
        radial-gradient(85% 120% at 100% 0%, rgba(21, 116, 192, 0.06), rgba(21, 116, 192, 0));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.ui-client .client-home-subfamily + .client-home-subfamily {
    margin-top: 18px;
}

.ui-client .client-home-subfamily__summary {
    list-style: none;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}

.ui-client .client-home-subfamily__summary::-webkit-details-marker {
    display: none;
}

.ui-client .client-home-subfamily--foldable {
    padding: 0;
    overflow: hidden;
}

.ui-client .client-home-subfamily--foldable .client-home-subfamily__summary {
    padding: 18px;
}

.ui-client .client-home-subfamily--foldable[open] {
    border-color: #dfc2a4;
    box-shadow: 0 14px 30px rgba(34, 24, 15, 0.08);
}

.ui-client .client-home-subfamily__media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 96px;
    background: linear-gradient(135deg, #f7efe5, #fffaf5);
    box-shadow: inset 0 0 0 1px rgba(235, 214, 189, 0.6);
}

.ui-client .client-home-subfamily__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    animation: clientCatalogFloat 12s ease-in-out infinite alternate-reverse;
}

.ui-client .client-home-subfamily__body h4 {
    margin: 10px 0 8px;
    font-size: 1.16rem;
    font-weight: 800;
    color: #1c2736;
}

.ui-client .client-home-subfamily__body p {
    margin: 0;
    color: #5a6979;
    line-height: 1.5;
}

.ui-client .client-home-subfamily__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.ui-client .client-home-subfamily__meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(19, 31, 49, 0.08);
    color: #26384f;
    font-size: 0.82rem;
    font-weight: 800;
}

.ui-client .client-home-subfamily__chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid #2a3d5e;
    border-bottom: 2px solid #2a3d5e;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.ui-client .client-home-subfamily--foldable[open] .client-home-subfamily__chevron {
    transform: rotate(-135deg);
}

.ui-client .client-home-subfamily--foldable[open] .client-home-subfamily__media::after,
.ui-client .client-home-subfamily:hover .client-home-subfamily__media::after {
    animation-duration: 4.4s;
}

.ui-client .client-home-subfamily__content {
    padding: 0 18px 18px;
}

.ui-client .client-home-subfamily__toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.ui-client .client-home-subfamily__toolbar .btn {
    border-radius: 999px;
    padding-inline: 16px;
}

.ui-client .client-home-subfamily-grid {
    grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
    gap: 18px;
}

.ui-client .client-home-menu-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid #ead8c5;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.96));
    box-shadow: 0 12px 24px rgba(34, 24, 15, 0.08);
}

.ui-client .client-home-menu-card .menu-img {
    height: 210px;
    object-fit: cover;
    border-bottom: 1px solid #efdecc;
}

.ui-client .client-home-menu-card .menu-content {
    text-align: left;
}

.ui-client .client-home-menu-card .menu-title-item {
    min-height: 2.8rem;
}

.ui-client .client-home-menu-card .menu-description-item {
    min-height: 4.2rem;
}

.ui-front .site-footer {
    clear: both;
    position: static !important;
    float: none !important;
    transform: none !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 3;
    margin-top: 2rem;
    background: linear-gradient(115deg, #111826, #1b2434 58%, #151d28);
    border-top: 1px solid #ffffff14;
    box-shadow: 0 -8px 18px rgba(5, 8, 14, 0.3);
}

.ui-front footer {
    position: static !important;
    bottom: auto !important;
    inset: auto !important;
}

.ui-front .site-footer h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #f5bb4a;
}

.ui-front .site-footer a {
    color: #ecf0f8 !important;
    transition: color 0.2s ease;
}

.ui-front .site-footer a:hover {
    color: #ffd682 !important;
}

.ui-front #scrollTopBtn {
    right: 22px;
    bottom: 22px;
    background: linear-gradient(130deg, #ce4617, #982d0e) !important;
    box-shadow: 0 12px 18px rgba(152, 45, 14, 0.34);
}

.ui-front #scrollTopBtn:hover {
    background: linear-gradient(130deg, #e65b2a, #b03a15) !important;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes promo-card-breath {
    0%,
    100% { transform: translateY(0); box-shadow: 0 20px 38px rgba(18, 15, 12, 0.26); }
    50% { transform: translateY(-3px); box-shadow: 0 26px 45px rgba(18, 15, 12, 0.34); }
}

@keyframes promo-lens-sweep {
    0% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    50% { transform: rotate(8deg) scale(1.08); opacity: 0.75; }
    100% { transform: rotate(16deg) scale(1); opacity: 0.5; }
}

@keyframes promo-overlay-wave {
    0% { opacity: 0.78; }
    100% { opacity: 1; }
}

@keyframes promo-pill-pop {
    0%,
    100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-2px) scale(1.04); }
}

@keyframes promo-title-rise {
    0%,
    100% { transform: translateY(0); text-shadow: 0 0 0 transparent; }
    50% { transform: translateY(-1px); text-shadow: 0 10px 24px rgba(0, 0, 0, 0.36); }
}

@keyframes promo-subtitle-fade {
    0%,
    100% { opacity: 0.9; }
    50% { opacity: 1; }
}

@keyframes mobile-family-shine {
    0% { left: -60%; }
    100% { left: 125%; }
}

@keyframes clientCatalogSweep {
    0%,
    12% {
        transform: translateX(-210%) rotate(24deg);
        opacity: 0;
    }
    20% {
        opacity: 0.9;
    }
    42% {
        transform: translateX(410%) rotate(24deg);
        opacity: 0;
    }
    100% {
        transform: translateX(410%) rotate(24deg);
        opacity: 0;
    }
}

@keyframes clientCatalogFloat {
    0% {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.08) translate3d(-1.5%, 1.5%, 0);
    }
    100% {
        transform: scale(1.05) translate3d(1.2%, -1.2%, 0);
    }
}

@media (max-width: 991.98px) {
    .ui-front .navbar-brand {
        font-size: 1.25rem;
    }

    .ui-front .hero-shell {
        min-height: 68vh;
    }

    .ui-front #sidebar {
        position: static;
        max-height: none;
    }

    .ui-front .promo-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ui-front .mini-cart-panel {
        top: 112px;
        max-height: calc(100vh - 126px);
    }
}

@media (min-width: 992px) {
    .ui-front .promo-spotlight {
        display: none !important;
    }
}

@media (max-width: 1499.98px) and (min-width: 1200px) {
    .ui-front .promo-featured__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.ui-public .hero-shell {
        display: none !important;
    }

    body.ui-public .house-selection-section {
        display: none !important;
    }

    body.ui-public .promo-featured--homepage {
        margin-top: 8px;
        border: 1px solid #ffffff4d;
        box-shadow: 0 16px 26px rgba(9, 19, 33, 0.34);
    }

    body.ui-public .promo-featured--homepage .promo-featured__head {
        margin-bottom: 10px;
    }

    .ui-front .banner img {
        max-width: 140px;
    }

    .ui-front .hero-content {
        padding: 22px;
    }

    .ui-front .hero-content h1 {
        line-height: 1.12;
    }

    .ui-front .order-panel {
        padding: 14px;
    }

    .ui-front .quick-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ui-front .feature-grid {
        grid-template-columns: 1fr;
    }

    .ui-front .client-home-family-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ui-front .home-family-summary {
        min-height: 114px;
        padding: 12px;
    }

    .ui-front .home-family-corner-label {
        max-width: calc(100% - 14px);
        font-size: 0.84rem;
        line-height: 1.2;
    }

    .ui-front .home-family-meta {
        gap: 8px;
    }

    .ui-front .home-family-content {
        padding: 0 12px 12px;
    }

    .ui-front .home-family-toolbar {
        justify-content: stretch;
    }

    .ui-front .home-family-toolbar .btn {
        width: 100%;
    }

    .ui-front .home-family-menu-grid {
        grid-template-columns: 1fr;
    }

    .ui-front .promo-featured {
        border-radius: 16px;
        padding: 14px;
    }

    .ui-front .promo-featured__grid {
        grid-template-columns: 1fr;
    }

    .ui-front .promo-spotlight {
        min-height: 190px;
        background-size: contain;
        background-position: center center;
    }

    .ui-front .promo-spotlight .promo-spotlight-overlay {
        max-width: 92%;
        backdrop-filter: none;
    }

    .ui-front .mini-cart-panel {
        top: 0;
        right: 0;
        width: min(94vw, 360px);
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        transform: translateX(100%);
        z-index: 1050;
    }

    .ui-front .mini-cart-floating-toggle {
        display: inline-flex !important;
    }

    .ui-front .menu-page-with-sidebar-cart {
        padding-right: 0 !important;
    }

    .ui-front .mobile-family-accordion {
        display: block;
    }

    .ui-front .desktop-menu-grid {
        display: none !important;
    }

    .ui-front .menu-item .menu-description,
    .ui-front .menu-item .menu-description-item {
        min-height: 0;
    }
}

@media (min-width: 1200px) {
    .ui-front .menu-page-with-sidebar-cart {
        padding-right: 390px !important;
    }
}

@media (max-width: 480px) {
    .ui-front .quick-stats {
        grid-template-columns: 1fr;
    }

    .ui-front .section-shell {
        border-radius: 18px;
    }

    .ui-front .client-home-family-grid {
        grid-template-columns: 1fr;
    }

    .ui-front .home-family-count {
        min-width: 74px;
        font-size: 0.78rem;
    }

    .ui-front .home-family-summary {
        gap: 10px;
        min-height: 120px;
    }

    .ui-front .home-family-corner-label {
        max-width: 60%;
        padding: 8px 12px;
    }

    .ui-client .client-home-family-showcase__media {
        min-height: 180px;
    }

    .ui-client .client-home-family-showcase__count {
        min-width: 0;
        width: 100%;
    }

    .ui-client .client-home-family-showcase__meta {
        flex-direction: column;
        align-items: stretch;
    }

    .ui-client .client-home-family-showcase__chips span {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .ui-client .client-home-catalog__head {
        align-items: flex-start;
    }

    .ui-client .client-home-catalog__head .btn {
        width: 100%;
    }

    .ui-client .client-home-family-showcase__summary {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .ui-client .client-home-family-showcase__media {
        min-height: 220px;
    }

    .ui-client .client-home-family-showcase__meta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .ui-client .client-home-family-showcase__content {
        padding: 0 16px 16px;
    }

    .ui-client .client-home-family-showcase__toolbar {
        justify-content: stretch;
    }

    .ui-client .client-home-family-showcase__toolbar .btn {
        width: 100%;
    }

    .ui-client .client-home-subfamily {
        padding: 14px;
    }

    .ui-client .client-home-subfamily__summary {
        grid-template-columns: 1fr;
    }

    .ui-client .client-home-subfamily--foldable .client-home-subfamily__summary {
        padding: 14px;
    }

    .ui-client .client-home-subfamily__media {
        min-height: 180px;
    }

    .ui-client .client-home-subfamily__meta {
        align-items: stretch;
    }

    .ui-client .client-home-subfamily__meta .btn {
        width: 100%;
    }

    .ui-client .client-home-subfamily__content {
        padding: 0 14px 14px;
    }

    .ui-client .client-home-subfamily__toolbar {
        justify-content: stretch;
    }

    .ui-client .client-home-subfamily__toolbar .btn {
        width: 100%;
    }

    .ui-client .client-home-subfamily-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ui-front .home-family-group::before,
    .ui-front .home-family-group:hover::before,
    .ui-front .home-family-group[open]::before {
        animation: none;
    }

    .ui-front .promo-spotlight,
    .ui-front .promo-spotlight::before,
    .ui-front .promo-spotlight::after,
    .ui-front .promo-pill,
    .ui-front .promo-spotlight h3,
    .ui-front .promo-spotlight p {
        animation: none !important;
    }

    .ui-client .client-home-family-showcase__media::after,
    .ui-client .client-home-subfamily__media::after,
    .ui-client .client-home-family-showcase__media img,
    .ui-client .client-home-subfamily__media img {
        animation: none !important;
    }
}
