:root {
    --ldm-primary: #0052cc;
    --ldm-primary-dark: #0040a2;
    --ldm-background: #faf8ff;
    --ldm-surface: #faf8ff;
    --ldm-surface-lowest: #ffffff;
    --ldm-surface-low: #f3f3fd;
    --ldm-surface-container: #ededf8;
    --ldm-surface-high: #e7e7f2;
    --ldm-surface-highest: #e1e2ec;
    --ldm-on-surface: #191b23;
    --ldm-on-surface-variant: #434654;
    --ldm-outline: #737685;
    --ldm-outline-variant: #c3c6d6;
    --ldm-inverse-surface: #2e3038;
    --ldm-urgency: #ef4444;
    --ldm-success: #22c55e;
    --ldm-display: "Plus Jakarta Sans", system-ui, sans-serif;
    --ldm-body: "Inter", system-ui, sans-serif;
    --ldm-sidebar-width: 280px;
    --ldm-sidebar-collapsed: 80px;
    --ldm-page-padding: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.ldm-home {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--ldm-background);
    color: var(--ldm-on-surface);
    font-family: var(--ldm-body);
}

.ldm-home a {
    color: inherit;
    text-decoration: none;
}

.ldm-home img {
    display: block;
    max-width: 100%;
}

.material-symbols-outlined {
    display: inline-block;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    line-height: 1;
    vertical-align: middle;
}

.ldm-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1070;
    display: flex;
    width: var(--ldm-sidebar-width);
    height: 100vh;
    flex-direction: column;
    overflow: visible;
    /* border-right: 1px solid rgba(195, 198, 214, 0.3); */
    background: var(--ldm-surface-lowest);
    transition: width 0.3s ease;
}

.ldm-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
}

.ldm-sidebar__brand,
.ldm-sidebar__brand-icon {
    color: var(--ldm-primary);
    font-family: var(--ldm-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.ldm-sidebar__brand {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ldm-sidebar__brand span {
    font-size: 24px;
}

.ldm-sidebar__brand small {
    color: var(--ldm-on-surface-variant);
    font-family: var(--ldm-body);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.ldm-sidebar__brand-icon {
    display: none;
    font-size: 24px;
}

.ldm-icon-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ldm-on-surface);
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.ldm-icon-button:hover,
.ldm-icon-button:focus-visible {
    background: var(--ldm-surface-low);
    color: var(--ldm-primary);
}

.ldm-icon-button:active {
    transform: scale(0.92);
}

.ldm-sidebar__nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px 16px;
}

.ldm-sidebar__footer {
    border-top: 1px solid rgba(195, 198, 214, 0.3);
    padding: 24px 16px;
}

.ldm-sidebar__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    border-radius: 8px;
    color: var(--ldm-on-surface-variant);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    padding: 12px 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.ldm-sidebar__item:hover,
.ldm-sidebar__item:focus-visible {
    background: var(--ldm-surface-low);
    color: var(--ldm-primary);
}

.ldm-sidebar__item .material-symbols-outlined {
    flex: 0 0 auto;
}

.sidebar-link-active {
    /* border-right: 4px solid var(--ldm-primary); */
    background: rgba(0, 82, 204, 0.08);
    color: var(--ldm-primary);
}

.sidebar-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.tooltip {
    position: absolute;
    left: 100%;
    z-index: 1090;
    margin-left: 12px;
    border-radius: 6px;
    background: var(--ldm-inverse-surface);
    color: #fff;
    font-size: 12px;
    opacity: 0;
    padding: 8px 12px;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.sidebar-collapsed {
    width: var(--ldm-sidebar-collapsed);
}

.sidebar-collapsed .logo-full {
    display: none;
}

.sidebar-collapsed .logo-icon {
    display: block;
}

.sidebar-collapsed .sidebar-label {
    width: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
}

.sidebar-collapsed .ldm-sidebar__item {
    justify-content: center;
    padding-inline: 12px;
}

.sidebar-collapsed .sidebar-item:hover .tooltip,
.sidebar-collapsed .sidebar-item:focus-visible .tooltip {
    opacity: 1;
}

.ldm-page {
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.main-content-expanded {
    margin-left: var(--ldm-sidebar-width);
}

.main-content-collapsed {
    margin-left: var(--ldm-sidebar-collapsed);
}

.ldm-live-banner {
    position: sticky;
    top: 0;
    z-index: 1060;
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--ldm-urgency);
    color: #fff;
    padding: 7px var(--ldm-page-padding);
}

.ldm-live-banner strong {
    font-family: var(--ldm-display);
    font-size: 14px;
}

.ldm-live-banner a {
    border-radius: 999px;
    background: #fff;
    color: var(--ldm-urgency);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    padding: 8px 16px;
}

.ldm-topnav {
    position: sticky;
    top: 40px;
    z-index: 1050;
    border-bottom: 1px solid rgba(195, 198, 214, 0.3);
    background: rgba(250, 248, 255, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 8px rgba(25, 27, 35, 0.04);
    transition: transform 0.3s ease;
}

.ldm-topnav__inner,
.ldm-main,
.ldm-footer__grid {
    width: min(100%, 1280px);
    margin-inline: auto;
}

.ldm-topnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px var(--ldm-page-padding);
}

.ldm-topnav__title {
    display: flex;
    align-items: center;
    gap: 32px;
}

.ldm-topnav__title h2 {
    margin: 0;
    color: var(--ldm-on-surface);
    font-family: var(--ldm-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.ldm-mobile-brand,
.ldm-mobile-link {
    display: none;
}

.ldm-topnav__actions {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    max-width: 672px;
}

.ldm-action-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ldm-icon-button--notifications { display: none; }

.ldm-main {
    display: grid;
    gap: 32px;
    padding: 32px var(--ldm-page-padding) 0;
}

.home-feed {
    align-content: start;
}

.ldm-hero {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

.ldm-hero__media {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 360px;
}

.ldm-hero__media img,
.ldm-partner-card img,
.ldm-show-card img,
.ldm-bento img,
.ldm-deal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ldm-hero__media img {
    opacity: 0.8;
}

.ldm-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    padding: 12px;
}

.ldm-hero__badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ldm-live-pill,
.ldm-viewers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

.ldm-live-pill {
    border-radius: 8px;
    background: var(--ldm-urgency);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 7px 12px;
    text-transform: uppercase;
}

.ldm-live-pill i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    animation: ldmPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    background: #fff;
}

.ldm-glass {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
}

.ldm-viewers {
    border-radius: 8px;
    color: var(--ldm-on-surface);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 12px;
}

.ldm-viewers .material-symbols-outlined {
    font-size: 16px;
}

.ldm-hero__card {
    width: min(100%, 512px);
    border-radius: 12px;
    color: var(--ldm-on-surface);
    margin: 0 0 16px;
    padding: 24px;
    pointer-events: auto;
    transition: transform 0.2s ease;
}

.ldm-hero__card:hover {
    transform: scale(1.02);
}

.ldm-hero__card h1 {
    margin: 0 0 8px;
    font-family: var(--ldm-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.ldm-hero__card p,
.ldm-section__heading p,
.ldm-copy {
    color: var(--ldm-on-surface-variant);
    font-size: 16px;
    line-height: 24px;
}

.ldm-hero__card p {
    margin: 0 0 24px;
}

.ldm-hero__play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
    backdrop-filter: blur(12px);
}

.ldm-hero:hover .ldm-hero__play {
    opacity: 1;
}

.ldm-hero__play .material-symbols-outlined {
    font-size: 54px;
}

.ldm-button-row {
    display: flex;
    gap: 16px;
}

.ldm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
    padding: 12px 28px;
    text-transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.ldm-btn .material-symbols-outlined,
.home-merchant-card b .material-symbols-outlined,
.home-curated-product__body b .material-symbols-outlined {
    flex: 0 0 auto;
    color: currentColor;
    font-size: 18px;
    line-height: 1;
}

.ldm-btn:active {
    transform: scale(0.97);
}

.ldm-btn--primary {
    background: var(--ldm-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 82, 204, 0.22);
}

.ldm-btn--soft {
    background: var(--ldm-surface-highest);
    color: var(--ldm-on-surface);
}

.ldm-btn--success {
    flex: 1;
    border-radius: 12px;
    background: var(--ldm-success);
    color: #fff;
    text-transform: uppercase;
}

.ldm-btn--icon {
    width: 56px;
    flex: 0 0 56px;
    border: 1px solid var(--ldm-outline-variant);
    border-radius: 12px;
    background: #fff;
    color: var(--ldm-on-surface);
    padding: 0;
}

.ldm-btn:hover {
    opacity: 0.9;
}

.ldm-section {
    min-width: 0;
}

.ldm-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.ldm-section__heading--single {
    align-items: center;
}

.ldm-section__heading h2,
.ldm-section-title {
    margin: 0;
    font-family: var(--ldm-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.ldm-section-title {
    margin-bottom: 32px;
}

.ldm-primary-heading {
    color: var(--ldm-primary);
}

.ldm-section__heading p {
    margin: 4px 0 0;
}

.ldm-section__heading > span,
.ldm-countdown span {
    color: var(--ldm-outline);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ldm-section__heading > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ldm-primary);
    font-size: 14px;
    font-weight: 800;
}

.ldm-countdown {
    text-align: right;
}

.ldm-countdown span {
    color: var(--ldm-urgency);
}

.ldm-countdown strong {
    display: block;
    font-family: var(--ldm-display);
    font-size: 24px;
    line-height: 32px;
}

.ldm-deal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    border: 1px solid rgba(195, 198, 214, 0.3);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(25, 27, 35, 0.04);
    padding: 32px;
}

.ldm-deal__image {
    position: relative;
    overflow: hidden;
    height: 400px;
    border-radius: 16px;
}

.ldm-deal__image span {
    position: absolute;
    left: 16px;
    top: 16px;
    border-radius: 999px;
    background: var(--ldm-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 16px;
    text-transform: uppercase;
}

.ldm-deal__content {
    display: grid;
    gap: 20px;
}

.ldm-eyebrow {
    margin: 0;
    color: var(--ldm-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ldm-deal__content h3 {
    margin: -10px 0 0;
    font-family: var(--ldm-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 56px;
}

.ldm-price {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.ldm-price strong {
    font-family: var(--ldm-display);
    font-size: 32px;
    font-weight: 800;
    line-height: 40px;
}

.ldm-price span {
    color: var(--ldm-on-surface-variant);
    font-size: 18px;
    text-decoration: line-through;
}

.ldm-copy {
    margin: 0;
}

.ldm-sold {
    display: grid;
    gap: 8px;
}

.ldm-sold div {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.ldm-sold span {
    color: var(--ldm-urgency);
}

.ldm-sold progress {
    width: 100%;
    height: 12px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: var(--ldm-surface-high);
}

.ldm-sold progress::-webkit-progress-bar {
    background: var(--ldm-surface-high);
}

.ldm-sold progress::-webkit-progress-value,
.ldm-sold progress::-moz-progress-bar {
    border-radius: 999px;
    background: var(--ldm-urgency);
}

.home-live-section {
    position: relative;
    min-width: 0;
}

.home-live-section .ldm-section__heading {
    margin-bottom: 18px;
}

.home-live-section .ldm-section__heading h2 {
    color: var(--ldm-on-surface);
    letter-spacing: 0;
}

.home-live-section .ldm-section__heading a {
    border: 1px solid rgba(0, 82, 204, 0.14);
    border-radius: 999px;
    background: rgba(0, 82, 204, 0.07);
    padding: 8px 14px;
}

.home-live-rail,
.home-curated-rail,
.home-merchant-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 420px);
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 4px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.home-live-rail.is-single {
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: minmax(0, min(860px, 100%));
    justify-content: center;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
}

.home-live-rail.is-slider {
    margin-inline: calc(var(--ldm-page-padding) * -1);
    padding-inline: var(--ldm-page-padding);
}

.home-live-rail.is-empty {
    display: block;
    overflow: visible;
}

.home-live-rail::-webkit-scrollbar,
.home-curated-rail::-webkit-scrollbar,
.home-merchant-rail::-webkit-scrollbar {
    display: none;
}

.home-live-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    scroll-snap-align: start;
}

.home-live-card--featured {
    border: 1px solid rgba(195, 198, 214, 0.34);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 18px 40px rgba(25, 27, 35, 0.09);
    padding: 8px;
}

.home-live-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: var(--ldm-surface-low);
}

.home-live-card--featured .home-live-card__image {
    aspect-ratio: 16 / 8.2;
    border-radius: 20px;
}

.home-live-card__image img,
.home-curated-product img,
.home-merchant-card img,
.home-featured-product .ldm-deal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-live-card__shade,
.home-curated-product__overlay,
.home-merchant-card::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.home-live-card__shade {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 58%);
}

.home-live-card--featured .home-live-card__shade {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2) 58%, transparent),
        linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 60%);
}

.home-live-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.home-live-card--featured .home-live-card__badges {
    top: 18px;
    left: 18px;
}

.home-live-badge,
.home-viewers-badge,
.home-upcoming-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 9px;
}

.home-live-card--featured .home-live-badge,
.home-live-card--featured .home-viewers-badge,
.home-live-card--featured .home-upcoming-badge {
    border-radius: 999px;
    font-size: 12px;
    padding: 8px 12px;
}

.home-live-badge {
    background: var(--ldm-urgency);
    color: #fff;
    letter-spacing: 0.08em;
}

.home-live-badge i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    animation: ldmPulse 1.4s ease infinite;
    background: #fff;
}

.home-viewers-badge {
    background: rgba(255, 255, 255, 0.88);
    color: var(--ldm-on-surface);
}

.home-upcoming-badge {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    text-transform: uppercase;
}

.home-live-card__info {
    position: absolute;
    inset: auto 14px 14px;
    display: grid;
    gap: 4px;
    color: #fff;
}

.home-live-card--featured .home-live-card__info {
    inset: auto auto 28px 28px;
    width: min(560px, calc(100% - 56px));
    gap: 8px;
}

.home-live-card__info strong {
    font-size: 18px;
    font-weight: 800;
    line-height: 24px;
}

.home-live-card--featured .home-live-card__info strong {
    font-family: var(--ldm-display);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.05;
    text-wrap: balance;
}

.home-live-card__info small {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 700;
}

.home-live-card--featured .home-live-card__info small {
    font-size: 15px;
}

.home-live-card__summary {
    display: grid;
    gap: 4px;
    color: var(--ldm-on-surface-variant);
    font-size: 12px;
    font-weight: 800;
}

.home-live-card--featured .home-live-card__summary {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 14px;
    padding: 8px 8px 10px;
}

.home-live-card__summary b {
    overflow: hidden;
    color: var(--ldm-on-surface);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-live-card--featured .home-live-card__summary small {
    border-radius: 999px;
    background: var(--ldm-surface-low);
    color: var(--ldm-primary);
    padding: 6px 10px;
}

.home-live-card--featured .home-live-card__summary b {
    font-size: 16px;
}

.home-live-card__summary em {
    grid-column: 1 / -1;
    color: var(--ldm-on-surface-variant);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.home-live-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    width: min(100%, 560px);
    margin-inline: auto;
    border: 1px dashed rgba(0, 82, 204, 0.24);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ldm-on-surface);
    padding: 28px 20px;
    text-align: center;
}

.home-live-empty > .material-symbols-outlined {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 82, 204, 0.09);
    color: var(--ldm-primary);
    font-size: 28px;
}

.home-live-empty strong {
    font-family: var(--ldm-display);
    font-size: 20px;
    font-weight: 900;
}

.home-live-empty small {
    max-width: 360px;
    color: var(--ldm-on-surface-variant);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.home-live-empty a {
    margin-top: 4px;
    border-radius: 999px;
    background: var(--ldm-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    padding: 9px 14px;
}

.home-live-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.home-live-section.is-single .home-live-dots {
    display: none;
}

.home-live-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ldm-outline-variant);
}

.home-live-dots .is-active {
    background: var(--ldm-primary);
}

.home-card-loader,
.home-category-card.is-loading,
.home-curated-product.is-loading,
.home-merchant-card.is-loading {
    display: grid;
    min-height: 120px;
    place-items: center;
    border-radius: 16px;
    background: var(--ldm-surface-low);
    color: var(--ldm-on-surface-variant);
    font-size: 13px;
    font-weight: 800;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-category-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    border: 1px solid rgba(195, 198, 214, 0.35);
    border-radius: 16px;
    background: var(--ldm-surface-low);
    padding: 16px;
    text-align: center;
}

.home-category-card__icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 999px;
    background: var(--ldm-surface-highest);
    color: var(--ldm-primary);
}

.home-category-card strong {
    color: var(--ldm-on-surface);
    font-size: 14px;
    font-weight: 800;
}

.home-curated-section {
    display: grid;
    gap: 24px;
}

.home-subsection-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-subsection-heading span {
    color: var(--ldm-primary);
}

.home-subsection-heading h3,
.home-merchants-column h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.home-slider-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.home-slider-controls {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.home-slider-controls button {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(195, 198, 214, 0.5);
    border-radius: 999px;
    background: #fff;
    color: var(--ldm-on-surface);
    box-shadow: 0 8px 18px rgba(25, 27, 35, 0.06);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-slider-controls button:hover,
.home-slider-controls button:focus-visible {
    background: var(--ldm-primary);
    color: #fff;
}

.home-slider-controls button:active {
    transform: scale(0.94);
}

.home-slider-controls .material-symbols-outlined {
    color: currentColor;
    font-size: 22px;
}

.home-curated-rail {
    grid-auto-columns: minmax(210px, 240px);
    padding-bottom: 8px;
}

.home-curated-product {
    position: relative;
    overflow: hidden;
    height: 240px;
    border: 1px solid rgba(195, 198, 214, 0.35);
    border-radius: 20px;
    background: var(--ldm-surface-low);
    scroll-snap-align: start;
}

.home-curated-product__overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
}

.home-curated-product__body {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 8px;
    color: #fff;
    padding: 16px;
}

.home-curated-product__body b {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.9);
    font-size: 11px;
    padding: 4px 8px;
}

.home-curated-product__body b .material-symbols-outlined {
    font-size: 14px;
}

.home-curated-product__body strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    line-height: 20px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-curated-product__body em {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-style: normal;
    font-weight: 900;
}

.home-curated-product__body small {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 7px;
}

.home-curated-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 16px;
}

.home-merchants-column {
    min-width: 0;
}

.home-merchant-rail {
    grid-auto-columns: minmax(220px, 260px);
    padding-bottom: 8px;
}

.home-merchant-card {
    position: relative;
    overflow: hidden;
    height: 164px;
    border: 1px solid rgba(195, 198, 214, 0.35);
    border-radius: 20px;
    background: var(--ldm-surface-low);
    scroll-snap-align: start;
}

.home-merchant-card::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.08) 68%);
}

.home-merchant-card span {
    position: absolute;
    inset: auto 16px 16px;
    z-index: 1;
    display: grid;
    gap: 6px;
    color: #fff;
}

.home-merchant-card strong {
    overflow: hidden;
    font-size: 17px;
    font-weight: 900;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-merchant-card small {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-merchant-card b {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #fff;
    color: var(--ldm-primary);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    padding: 8px 11px;
}

.home-rewards-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    overflow: hidden;
    border-radius: 24px;
    background: #dbe6ff;
    color: var(--ldm-on-surface);
    padding: 24px;
}

.home-rewards-card > .material-symbols-outlined {
    color: var(--ldm-primary);
    font-size: 48px;
}

.home-rewards-card strong {
    font-size: 22px;
    font-weight: 900;
}

.home-rewards-card small {
    color: var(--ldm-on-surface-variant);
    font-size: 14px;
    line-height: 20px;
}

.home-rewards-card b {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ldm-primary);
    font-size: 14px;
}

.ldm-partner-grid,
.ldm-show-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ldm-partner-card {
    position: relative;
    overflow: hidden;
    height: 400px;
    border-radius: 24px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.15);
}

.ldm-partner-card::after,
.ldm-show-card > div::after,
.ldm-bento::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.ldm-partner-card::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 60%);
}

.ldm-partner-card img,
.ldm-show-card img,
.ldm-bento img {
    transition: transform 0.6s ease;
}

.ldm-partner-card:hover img,
.ldm-show-card:hover img,
.ldm-bento:hover img {
    transform: scale(1.08);
}

.ldm-partner-card .ldm-glass {
    position: absolute;
    inset: auto 24px 24px;
    z-index: 1;
    border-radius: 16px;
    padding: 24px;
}

.ldm-partner-card p {
    margin: 0 0 4px;
    color: var(--ldm-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ldm-partner-card h3 {
    margin: 0 0 18px;
    font-family: var(--ldm-display);
    font-size: 24px;
    line-height: 32px;
}

.ldm-partner-card a {
    display: flex;
    justify-content: center;
    border-radius: 12px;
    background: var(--ldm-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 12px;
}

.ldm-show-card {
    cursor: pointer;
}

.ldm-show-card > div,
.ldm-show-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(195, 198, 214, 0.2);
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 6px 14px rgba(25, 27, 35, 0.06);
}

.ldm-show-card > div::after,
.ldm-show-card__media::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 65%);
}

.ldm-show-card__media-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ldm-show-card > div > span,
.ldm-show-card__status {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.ldm-show-card button {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 3;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(10px);
}

.ldm-show-card p:first-of-type {
    margin: 0 0 4px;
    color: var(--ldm-primary);
    font-size: 13px;
    font-weight: 800;
}

.ldm-show-card h3 {
    margin: 0 0 8px;
    font-family: var(--ldm-display);
    font-size: 24px;
    line-height: 32px;
}

.ldm-show-card p:last-of-type {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--ldm-on-surface-variant);
    font-size: 16px;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ldm-show-card[data-live-status="live"] .ldm-show-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ldm-show-card[data-live-status="live"] .ldm-show-card__status::before {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff4242;
    box-shadow: 0 0 0 5px rgba(255, 66, 66, 0.2);
    content: "";
}

.ldm-show-card__body {
    display: grid;
    gap: 8px;
}

.ldm-show-card__host {
    margin: 0;
    color: var(--ldm-primary);
    font-size: 13px;
    font-weight: 800;
}

.ldm-show-card__description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--ldm-on-surface-variant);
    font-size: 16px;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ldm-show-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ldm-show-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ldm-on-surface-variant);
    font-size: 12px;
    font-weight: 700;
}

.ldm-show-card__meta .material-symbols-outlined {
    color: var(--ldm-primary);
    font-size: 16px;
}

.ldm-show-card__deal {
    display: grid;
    gap: 2px;
    border: 1px solid rgba(195, 198, 214, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    padding: 12px;
}

.ldm-show-card__deal span {
    color: var(--ldm-on-surface-variant);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ldm-show-card__deal strong {
    overflow: hidden;
    color: var(--ldm-on-surface);
    font-size: 14px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ldm-show-card__deal em {
    color: var(--ldm-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

.ldm-bento-grid {
    display: grid;
    grid-auto-rows: 184px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ldm-bento {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 180px;
    border: 1px solid rgba(195, 198, 214, 0.2);
    border-radius: 24px;
    color: #fff;
}

.ldm-bento::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.64), transparent 70%);
}

.ldm-bento > span {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    display: grid;
    color: #fff;
    gap: 8px;
    padding: 24px;
}

.ldm-bento strong {
    display: block;
    font-family: var(--ldm-display);
    font-size: 32px;
    font-weight: 800;
    line-height: 40px;
}

.ldm-bento--large strong {
    font-size: 48px;
    line-height: 56px;
}

.ldm-bento small {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
}

.ldm-bento b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
}

.ldm-bento b .material-symbols-outlined {
    color: currentColor;
}

.ldm-bento--large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 380px;
}

.ldm-bento--medium {
    grid-column: span 1;
    min-height: 184px;
}

.ldm-bento--small {
    align-items: center;
    justify-content: center;
}

.ldm-bento--small::after {
    background: rgba(0, 0, 0, 0.32);
}

.ldm-bento--small > span {
    inset: 0;
    place-items: center;
}

.ldm-bento--trend {
    display: grid;
    align-content: space-between;
    background: var(--ldm-primary);
    color: #fff;
    padding: 24px;
}

.ldm-bento--trend::after {
    display: none;
}

.ldm-bento--trend > .material-symbols-outlined {
    font-size: 40px;
}

.ldm-bento--trend strong {
    font-size: 24px;
    line-height: 32px;
}

.ldm-bento--trend small {
    color: rgba(255, 255, 255, 0.84);
}

.ldm-footer {
    border-top: 1px solid var(--ldm-outline-variant);
    background: var(--ldm-surface-highest);
    margin-top: 80px;
}

.ldm-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 24px;
    padding: 48px var(--ldm-page-padding);
}

.ldm-footer h3 {
    margin: 0;
    color: var(--ldm-primary);
    font-family: var(--ldm-display);
    font-size: 24px;
    font-weight: 900;
}

.ldm-footer small {
    color: var(--ldm-on-surface-variant);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.ldm-footer p,
.ldm-footer a {
    color: var(--ldm-on-surface-variant);
    font-size: 16px;
    line-height: 24px;
}

.ldm-footer h4 {
    margin: 0 0 20px;
    font-size: 14px;
    font-weight: 800;
}

.ldm-footer__grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ldm-footer__social {
    display: flex;
    gap: 12px;
}

.ldm-footer__social a {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--ldm-surface-container);
}

.ldm-footer__form {
    display: flex;
    gap: 8px;
}

.ldm-footer__form input {
    min-width: 0;
    flex: 1;
    border: 1px solid var(--ldm-outline-variant);
    border-radius: 8px;
    padding: 10px 12px;
}

.ldm-footer__form button {
    border: 0;
    border-radius: 8px;
    background: var(--ldm-primary);
    color: #fff;
    font-weight: 800;
    padding: 10px 16px;
}

.ldm-footer__legal {
    border-top: 1px solid var(--ldm-outline-variant);
    color: var(--ldm-on-surface-variant);
    font-size: 14px;
    margin: 0;
    padding: 24px;
    text-align: center;
}

.ldm-quick-buy {
    position: fixed;
    inset: auto 0 0;
    z-index: 1080;
    display: none;
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.ldm-quick-buy.is-open {
    transform: translateY(0);
}

.ldm-quick-buy__handle {
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: var(--ldm-surface-highest);
    margin: 0 auto 24px;
}

.ldm-quick-buy__product {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.ldm-quick-buy__product img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.ldm-quick-buy h5 {
    margin: 0 0 4px;
    font-weight: 800;
}

.ldm-quick-buy p {
    margin: 0;
    color: var(--ldm-primary);
    font-weight: 800;
}

.ldm-quick-buy small {
    color: var(--ldm-on-surface-variant);
}

@keyframes ldmPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@media (max-width: 991.98px) {
    :root {
        --ldm-page-padding: 16px;
    }

    .ldm-sidebar {
        display: none;
    }

    .ldm-page,
    .main-content-expanded,
    .main-content-collapsed {
        margin-left: 0;
    }

    .ldm-topnav__title h2 {
        display: none;
    }

    .ldm-mobile-brand {
        display: inline-flex;
        color: var(--ldm-primary);
        font-family: var(--ldm-display);
        font-size: 32px;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .ldm-mobile-link {
        display: inline-flex;
        border-bottom: 2px solid var(--ldm-primary);
        color: var(--ldm-primary);
        font-weight: 800;
        padding-bottom: 4px;
    }

    .ldm-topnav__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ldm-topnav__actions {
        width: 100%;
        max-width: none;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-curated-grid {
        grid-template-columns: 1fr;
    }

    .ldm-bento-grid {
        grid-template-columns: 2fr 1fr;
    }
}

@media (max-width: 767.98px) {
    body.ldm-home {
        background: #fbf9ff;
    }

    .ldm-live-banner {
        min-height: 32px;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-start;
        overflow: hidden;
        padding-block: 6px;
        text-align: center;
    }

    .ldm-live-banner strong {
        overflow: hidden;
        font-size: 10px;
        line-height: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ldm-live-banner a {
        flex: 0 0 auto;
        font-size: 11px;
        padding: 5px 10px;
    }

    .ldm-topnav__inner {
        align-items: center !important;
        flex-direction: row !important;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
        padding-block: 12px;
    }

    .ldm-topnav__title {
        flex: 0 1 auto;
        min-width: 0;
        gap: 0;
    }

    .ldm-mobile-brand {
        max-width: 84px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ldm-action-icons .ldm-icon-button {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: 999px;
        background: var(--ldm-surface-low);
    }

    .ldm-topnav__actions {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
        width: auto;
        margin-left: auto;
    }

    .ldm-action-icons {
        align-items: center;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .ldm-icon-button--wishlist { display: none; }
    .ldm-icon-button--notifications { display: grid; }

    .ldm-main {
        gap: 24px;
        padding: 18px var(--ldm-page-padding) 0;
    }

    .ldm-hero__media {
        min-height: 520px;
    }

    .ldm-hero__card {
        margin-bottom: 0;
        padding: 18px;
    }

    .ldm-section__heading h2,
    .ldm-section-title {
        font-size: 19px;
        line-height: 26px;
    }

    .ldm-section-title {
        margin-bottom: 14px;
    }

    .ldm-section__heading {
        align-items: center;
        flex-direction: row;
        gap: 12px;
        margin-bottom: 14px;
    }

    .ldm-section__heading > div {
        min-width: 0;
    }

    .ldm-section__heading p {
        display: -webkit-box;
        overflow: hidden;
        margin-top: 2px;
        font-size: 11px;
        line-height: 16px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ldm-section__heading > a {
        flex: 0 0 auto;
        font-size: 12px;
    }

    .ldm-button-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ldm-deal,
    .ldm-partner-grid,
    .ldm-show-grid,
    .ldm-footer__grid {
        grid-template-columns: 1fr;
    }

    .ldm-deal {
        gap: 12px;
        border-radius: 18px;
        padding: 10px;
    }

    .ldm-deal__image {
        height: auto;
        aspect-ratio: 1 / 0.82;
        border-radius: 14px;
    }

    .ldm-deal__image span {
        left: 10px;
        top: 10px;
        font-size: 10px;
        padding: 6px 9px;
    }

    .ldm-deal__content {
        gap: 9px;
        padding: 0 2px 2px;
    }

    .ldm-eyebrow {
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .ldm-deal__content h3 {
        margin: -4px 0 0;
        font-size: 18px;
        line-height: 23px;
    }

    .ldm-price {
        gap: 8px;
    }

    .ldm-price strong {
        font-size: 22px;
        line-height: 28px;
    }

    .ldm-price span {
        font-size: 12px;
    }

    .ldm-copy {
        display: -webkit-box;
        overflow: hidden;
        font-size: 11px;
        line-height: 16px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ldm-sold {
        gap: 5px;
    }

    .ldm-sold div {
        gap: 8px;
        font-size: 9px;
    }

    .ldm-sold progress {
        height: 7px;
    }

    .home-featured-product {
        width: min(100%, 360px);
    }

    .home-live-rail {
        grid-auto-columns: minmax(264px, calc(100vw - 48px));
    }

    .home-live-rail.is-single {
        grid-template-columns: 1fr;
    }

    .home-live-card--featured {
        border-radius: 18px;
        padding: 6px;
    }

    .home-live-card--featured .home-live-card__image {
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }

    .home-live-card--featured .home-live-card__info {
        inset: auto 16px 16px;
        width: auto;
    }

    .home-live-card--featured .home-live-card__summary {
        grid-template-columns: 1fr;
        padding-inline: 4px;
    }

    .home-live-empty {
        border-radius: 18px;
        padding: 24px 16px;
    }

    .home-category-grid {
        gap: 10px;
    }

    .home-category-card {
        min-height: 84px;
        gap: 8px;
        border-radius: 12px;
        padding: 12px 8px;
    }

    .home-category-card__icon {
        width: 38px;
        height: 38px;
    }

    .home-category-card__icon .material-symbols-outlined {
        font-size: 20px;
    }

    .home-category-card strong {
        font-size: 11px;
        line-height: 15px;
    }

    .home-curated-section {
        gap: 16px;
    }

    .home-curated-block,
    .home-merchants-column {
        min-width: 0;
    }

    .home-slider-heading {
        margin-bottom: 10px;
    }

    .home-subsection-heading h3,
    .home-merchants-column h3 {
        font-size: 13px;
        line-height: 18px;
    }

    .home-slider-controls {
        gap: 6px;
    }

    .home-slider-controls button {
        width: 30px;
        height: 30px;
    }

    .home-slider-controls .material-symbols-outlined {
        font-size: 20px;
    }

    .home-curated-rail {
        grid-auto-columns: minmax(188px, 58vw);
        margin-inline: calc(var(--ldm-page-padding) * -1);
        padding-inline: var(--ldm-page-padding);
        scroll-padding-inline: var(--ldm-page-padding);
    }

    .home-curated-product {
        height: 224px;
        border-radius: 18px;
    }

    .home-curated-product__body {
        gap: 7px;
        padding: 14px;
    }

    .home-curated-product__body b {
        font-size: 10px;
        padding: 4px 8px;
    }

    .home-curated-product__body strong {
        font-size: 14px;
        line-height: 19px;
    }

    .home-curated-product__body em {
        align-items: center;
        flex-direction: row;
        gap: 8px;
        font-size: 14px;
    }

    .home-curated-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(278px, 82vw);
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        margin-inline: calc(var(--ldm-page-padding) * -1);
        padding-inline: var(--ldm-page-padding);
        padding-bottom: 8px;
        scroll-padding-inline: var(--ldm-page-padding);
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    .home-curated-grid::-webkit-scrollbar {
        display: none;
    }

    .home-curated-grid > * {
        min-width: 0;
        scroll-snap-align: start;
    }

    .home-merchant-rail {
        grid-auto-columns: minmax(220px, 100%);
        margin-inline: 0;
        padding-inline: 0;
        scroll-padding-inline: 0;
    }

    .home-merchant-card {
        height: 150px;
        border-radius: 18px;
    }

    .home-merchant-card span {
        inset: auto 14px 14px;
        gap: 5px;
    }

    .home-merchant-card strong {
        font-size: 15px;
        line-height: 20px;
    }

    .home-merchant-card small {
        font-size: 11px;
        line-height: 15px;
    }

    .home-merchant-card b {
        gap: 5px;
        font-size: 11px;
        padding: 7px 10px;
    }

    .home-rewards-card {
        border-radius: 18px;
        padding: 18px;
    }

    .ldm-deal__content h3 {
        font-size: 18px;
        line-height: 23px;
    }

    .ldm-countdown {
        display: none;
    }

    .ldm-bento-grid {
        grid-auto-rows: clamp(112px, 29vw, 150px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .ldm-bento {
        min-height: 0;
        border-radius: 18px;
    }

    .ldm-bento--large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .ldm-bento--medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    .ldm-bento > span {
        gap: 5px;
        padding: 14px;
    }

    .ldm-bento strong,
    .ldm-bento--large strong {
        display: -webkit-box;
        overflow: hidden;
        font-size: clamp(16px, 5vw, 28px);
        line-height: 1.06;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ldm-bento--large strong {
        font-size: clamp(24px, 8vw, 38px);
    }

    .ldm-bento small {
        display: -webkit-box;
        overflow: hidden;
        font-size: clamp(10px, 3vw, 14px);
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ldm-bento b {
        gap: 5px;
        font-size: 11px;
    }

    .ldm-footer {
        margin-top: 56px;
    }

    .ldm-quick-buy {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .ldm-topnav__actions {
        align-items: center;
        flex-direction: row;
    }

    .ldm-action-icons {
        justify-content: flex-end;
    }

    .ldm-hero__media {
        min-height: 600px;
    }

    .ldm-hero__badges {
        flex-wrap: wrap;
    }

    .ldm-hero__overlay {
        padding: 10px;
    }

    .ldm-btn {
        min-height: 42px;
        padding: 10px 16px;
    }

    .ldm-btn--icon {
        width: 42px;
        flex: 0 0 42px;
    }

    .home-featured-product .ldm-btn--success {
        flex: 1 1 0;
        min-width: 0;
    }

    .ldm-footer__form {
        flex-direction: column;
    }

    .home-live-card__badges {
        flex-wrap: wrap;
        max-width: calc(100% - 24px);
    }

    .home-live-card--featured .home-live-card__badges {
        top: 12px;
        left: 12px;
    }

    .home-live-card--featured .home-live-card__info strong {
        font-size: 25px;
        line-height: 31px;
    }
}

/* Recommended products rail */
#recommendedSection .ldm-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
#recommendedSection .ldm-section__heading a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ldm-primary, #0052cc);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.ldm-product-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ldm-product-card {
    position: relative;
    border: 1px solid rgba(195, 198, 214, .3);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .2s;
}
.ldm-product-card:hover { box-shadow: 0 6px 20px rgba(0,61,155,.1); }
.ldm-product-card__image {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ldm-surface-2, #f6f7fb);
}
.ldm-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}
.ldm-product-card:hover .ldm-product-card__image img { transform: scale(1.04); }
.ldm-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 6px;
    background: var(--ldm-primary, #0052cc);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
}
.ldm-product-card__body { padding: 12px 14px 8px; }
.ldm-product-card__vendor {
    display: block;
    color: var(--ldm-outline, #8c8fa8);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.ldm-product-card__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 8px;
}
.ldm-product-card__name a { color: inherit; text-decoration: none; }
.ldm-product-card__price strong { font-size: 15px; font-weight: 800; color: var(--ldm-primary, #0052cc); }
.ldm-product-card__price del { font-size: 12px; color: var(--ldm-outline, #8c8fa8); margin-left: 6px; }
.ldm-product-card__cart {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: none;
    border-radius: 50%;
    background: var(--ldm-primary, #0052cc);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    transition: opacity .2s;
}
.ldm-product-card:hover .ldm-product-card__cart { opacity: 1; }
@media (max-width: 767.98px) {
    .ldm-product-rail { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ldm-product-card__cart { opacity: 1; width: 32px; height: 32px; font-size: 16px; }
}
