.catalog-premium-body {
    background: #f7f9fc;
}

.catalog-premium-body .app-shell {
    width: min(100%, 1160px);
    padding-top: 12px;
    padding-bottom: 100px;
}

.demo-premium-top-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 16px 18px;
    border: 1px solid #dbe5ef;
    border-radius: 12px;
    background: linear-gradient(135deg, #fffdfa, #eef4ec);
    color: #0f172a;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.demo-premium-top-banner__copy {
    display: grid;
    gap: 5px;
}

.demo-premium-top-banner__copy span {
    color: #16a34a;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.demo-premium-top-banner__copy strong {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.18;
}

.demo-premium-top-banner b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: .92rem;
    font-weight: 900;
}

.premium-store-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
    margin-bottom: 12px;
    padding: 8px 2px;
}

.premium-store-brand-column {
    display: grid;
    flex: 1 1 auto;
    gap: 7px;
    min-width: 0;
}

.premium-store-brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.premium-branch-selector {
    display: grid;
    grid-template-columns: auto minmax(0, 220px);
    align-items: center;
    gap: 8px;
    margin: 0;
}

.premium-branch-selector label {
    color: #64748b;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.premium-branch-selector select {
    min-width: 0;
    height: 36px;
    padding: 0 30px 0 10px;
    border: 1px solid #dbe3ec;
    border-radius: 7px;
    background-color: #fff;
    color: #0f172a;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
}

.premium-store-brand img {
    width: auto;
    max-width: 190px;
    height: 54px;
    object-fit: contain;
}

.premium-store-brand--text {
    color: #111827;
    font-size: 1.45rem;
    font-weight: 800;
}

.premium-store-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
}

.premium-store-account svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hero--premium-store {
    gap: 14px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

.hero--premium-store .hero__brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.hero--premium-store .hero__branch-pill {
    min-width: 0;
    padding: 8px 11px;
    border: 0;
    border-radius: 6px;
    background: #f8fafc;
    box-shadow: none;
}

.hero--premium-store .hero__branch-icon {
    display: grid;
    place-items: center;
    color: var(--brand);
}

.hero--premium-store .hero__branch-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.hero--premium-store .business-status {
    margin-left: auto;
    border-radius: 6px;
}

.premium-wait-time {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid #bbf7d0;
    border-radius: 7px;
    background: #f0fdf4;
    color: #166534;
    font-size: .84rem;
    font-weight: 800;
}

.premium-wait-time svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hero--premium-store .search-card {
    border-radius: 8px;
    box-shadow: none;
}

.hero--premium-store .search-card button {
    min-width: 112px;
    border: 0;
    border-radius: 7px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
}

.hero--premium-store .chips {
    margin-inline: -18px;
    padding: 2px 18px 5px;
}

.hero--premium-store .chip {
    min-height: 44px;
    padding: 8px 13px;
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(15, 23, 42, .05);
}

.hero--premium-store .chip.is-active {
    border-color: #0f172a;
    background: #0f172a;
    color: #fff;
}

.chip__image,
.chip__icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 6px;
}

.premium-promo-banner {
    position: relative;
    display: grid;
    min-height: 190px;
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    background: #eaf8ef;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.premium-promo-banner.has-image {
    grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr);
    background: #f8fafc;
}

.premium-promo-banner img {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.premium-promo-banner__content {
    z-index: 1;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: clamp(22px, 4vw, 42px);
}

.premium-promo-banner__content h2 {
    max-width: 520px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.05;
}

.premium-promo-banner__content p {
    max-width: 520px;
    margin: 9px 0 0;
    color: #475569;
}

.premium-promo-banner__content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--brand);
    font-weight: 800;
}

.chip__icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.chip__icon--selected {
    background: #ecfdf5;
    color: #059669;
}

.chip__svg {
    width: 17px;
    height: 17px;
    fill: none !important;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.chip.is-active .chip__icon--selected {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.category-card__icon {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: #eefbf3;
    background: color-mix(in srgb, var(--brand) 9%, #fff);
    color: var(--brand);
}

.category-card__svg {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

.chip__image {
    object-fit: cover;
}

.chip__icon {
    background: #f1f5f9;
    color: var(--brand);
    font-size: .74rem;
    font-weight: 800;
}

.premium-catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 2px 12px;
}

#catalog-products .premium-catalog-heading:not(:first-child) {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid #e2e8f0;
}

.premium-catalog-heading span,
.premium-catalog-heading strong {
    color: var(--brand);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.premium-catalog-heading h2 {
    margin: 2px 0 0;
    font-size: 1.55rem;
}

.catalog-grid--premium-store {
    max-width: none;
    margin-top: 0;
    gap: 12px;
}

.catalog-grid--premium-store .product-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 112px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.catalog-grid--featured .product-card {
    border-color: #bbf7d0;
    box-shadow: 0 12px 30px rgba(22, 163, 74, .08);
}

.catalog-grid--premium-store .product-card--no-image {
    grid-template-columns: minmax(0, 1fr);
}

.catalog-grid--premium-store .product-card--no-image .product-card__body {
    padding-left: 16px;
}

.catalog-grid--premium-store .product-card__media {
    height: 112px;
    margin: 8px;
    border-radius: 7px;
    overflow: hidden;
}

.catalog-grid--premium-store .product-card__body {
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    column-gap: 14px;
    padding: 14px 16px 14px 4px;
}

.catalog-grid--premium-store .product-card__category,
.catalog-grid--premium-store .product-card h2,
.catalog-grid--premium-store .product-card__desc {
    grid-column: 1;
}

.catalog-grid--premium-store .product-card h2 {
    font-size: 1.08rem;
    line-height: 1.2;
}

.catalog-grid--premium-store .product-card__desc {
    display: block;
    overflow: hidden;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-grid--premium-store .product-card__footer {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    grid-template-columns: auto 46px;
    gap: 14px;
    align-items: center;
    margin: 0;
}

.catalog-grid--premium-store .product-card__footer strong {
    color: var(--brand);
    font-size: 1.3rem;
    letter-spacing: 0;
}

.product-card__add {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.product-card__quick-add {
    position: relative;
    z-index: 4;
    margin: 0;
}

.product-card__quick-add button {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.product-card__cart-quantity {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 5px 12px rgba(15, 23, 42, .18);
}

.product-card__quick-add button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 2px;
}

.floating-cart--premium-store {
    right: 50%;
    bottom: 18px;
    z-index: 45;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: min(calc(100% - 24px), 700px);
    padding: 10px 10px 10px 14px;
    border-radius: 8px;
    transform: translateX(50%);
}

.floating-cart--premium-store .floating-cart__count {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: .82rem;
}

.floating-cart__summary {
    display: grid;
    min-width: 0;
}

.floating-cart--premium-store .floating-cart__summary {
    background: transparent;
    color: inherit;
}

.floating-cart__summary strong,
.floating-cart__summary small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.floating-cart__summary small {
    color: rgba(255, 255, 255, .72);
}

.floating-cart__action {
    display: grid;
    place-items: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 7px;
    background: var(--brand);
    color: #fff;
}

.premium-mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 44;
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, .08);
}

.premium-mobile-nav a {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-width: 0;
    color: #64748b;
    font-size: .7rem;
    font-weight: 700;
}

.premium-mobile-nav svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.premium-mobile-nav a.is-active {
    color: var(--brand);
}

.catalog-premium-notice {
    position: fixed;
    right: 18px;
    bottom: 92px;
    z-index: 80;
    width: min(360px, calc(100vw - 36px));
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .24);
    font-size: .88rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}

.catalog-premium-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.catalog-premium-detail .app-shell {
    width: min(100%, 1120px);
    padding-bottom: 120px;
}

.detail-topbar--premium {
    min-height: 58px;
    margin-bottom: 14px;
    padding: 6px 0;
}

.detail-topbar--premium > strong {
    overflow: hidden;
    color: #0f172a;
    font-size: .95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-topbar--premium .back-link,
.detail-topbar--premium .cart-pill {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
}

.detail-topbar--premium .back-link svg,
.detail-topbar--premium .cart-pill svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.detail-topbar--premium .cart-pill {
    position: relative;
}

.detail-topbar--premium .cart-pill span {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: .65rem;
}

.detail-page--premium {
    gap: 20px;
}

.detail-media--premium {
    position: sticky;
    top: 18px;
    align-self: start;
    min-width: 0;
}

.detail-media__gallery {
    display: grid;
    grid-auto-columns: 100%;
    grid-auto-flow: column;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.detail-media__gallery::-webkit-scrollbar {
    display: none;
}

.detail-media__gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    scroll-snap-align: start;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.detail-media__count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 9px;
    border-radius: 6px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
}

.detail-content--premium {
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
}

.detail-product-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.detail-content--premium .eyebrow {
    color: var(--brand);
}

.detail-content--premium h1 {
    max-width: 640px;
    margin-top: 4px;
    color: #0f172a;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.04;
}

.detail-content--premium .detail-price {
    margin: 12px 0 0;
    color: var(--brand);
    font-size: 1.65rem;
    font-weight: 800;
}

.detail-content--premium .favorite-inline-form {
    margin: 0;
}

.detail-content--premium .favorite-inline-form button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 8px;
}

.detail-content--premium .favorite-inline-form svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.detail-content--premium .detail-description {
    margin: 18px 0 22px;
    color: #475569;
    line-height: 1.55;
}

.detail-content--premium .customizer {
    gap: 14px;
}

.detail-content--premium .option-group,
.detail-content--premium .note-box,
.detail-content--premium .quantity-card {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.detail-content--premium .option-group__header h2 {
    font-size: 1rem;
}

.detail-content--premium .option-group__header p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: .82rem;
}

.detail-content--premium .option-list {
    gap: 8px;
    margin-top: 12px;
}

.detail-content--premium .option-item {
    min-height: 54px;
    padding: 11px 12px;
    border-radius: 7px;
}

.detail-content--premium .note-box textarea {
    border-radius: 7px;
}

.detail-content--premium .sticky-action {
    z-index: 12;
    bottom: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr);
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
}

.detail-content--premium .sticky-action > div {
    padding: 5px 8px;
}

.detail-content--premium .sticky-action > div span {
    display: block;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
}

.detail-content--premium .sticky-action > div strong {
    color: #0f172a;
    font-size: 1.3rem;
}

.detail-content--premium .sticky-action .button {
    min-height: 52px;
    border-radius: 7px;
}

@media (min-width: 900px) {
    .catalog-grid--premium-store {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-page--premium {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        align-items: start;
    }

    .detail-page--premium.detail-page--no-image {
        grid-template-columns: minmax(0, 1fr);
        max-width: 780px;
        margin-inline: auto;
    }
}

@media (max-width: 700px) {
    .catalog-premium-body .app-shell {
        padding: 8px 12px 210px;
    }

    .premium-store-topbar {
        align-items: flex-start;
        gap: 8px;
        min-height: 58px;
        padding-inline: 4px;
    }

    .catalog-premium-body.has-public-sidebar .premium-store-topbar {
        padding-left: 58px;
    }

    .catalog-premium-body.has-public-sidebar .public-sidebar-toggle {
        top: max(18px, env(safe-area-inset-top));
    }

    .premium-store-brand-column {
        width: auto;
    }

    .premium-store-brand img {
        max-width: 150px;
        height: 46px;
    }

    .premium-branch-selector {
        grid-template-columns: 1fr;
        gap: 3px;
        width: 100%;
    }

    .premium-branch-selector select {
        width: 100%;
        height: 38px;
    }

    .premium-store-account span {
        display: none;
    }

    .premium-store-account {
        min-width: 42px;
        flex: 0 0 42px;
        padding: 8px;
    }

    .demo-premium-top-banner {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }

    .demo-premium-top-banner b {
        width: 100%;
    }

    .hero--premium-store {
        padding: 14px;
    }

    .hero--premium-store .hero__brand-block {
        align-items: stretch;
        flex-direction: column;
    }

    .hero--premium-store .business-status {
        margin-left: 0;
    }

    .premium-wait-time {
        width: fit-content;
    }

    .premium-promo-banner,
    .premium-promo-banner.has-image {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: 0;
        background: #fff;
    }

    .premium-promo-banner img {
        grid-column: 1;
        grid-row: 1;
        aspect-ratio: 16 / 7;
        height: auto;
        min-height: 0;
        object-fit: cover;
        opacity: 1;
    }

    .premium-promo-banner__content {
        grid-column: 1;
        grid-row: 2;
        padding: 18px 20px 20px;
        background: #fff;
    }

    .premium-promo-banner__content h2 {
        font-size: 1.55rem;
    }

    .hero--premium-store .search-card button {
        min-width: 88px;
    }

    .premium-catalog-heading {
        margin-top: 20px;
    }

    .premium-catalog-heading strong {
        display: none;
    }

    .catalog-grid--premium-store .product-card {
        grid-template-columns: 88px minmax(0, 1fr);
        min-height: 104px;
    }

    .catalog-grid--premium-store .product-card--no-image {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalog-grid--premium-store .product-card__media {
        height: 88px;
        margin: 8px 0 8px 8px;
    }

    .catalog-grid--premium-store .product-card__body {
        column-gap: 8px;
        padding: 10px 10px;
    }

    .catalog-grid--premium-store .product-card__footer {
        grid-template-columns: 1fr 40px;
        gap: 7px;
    }

    .catalog-grid--premium-store .product-card__footer strong {
        font-size: 1.08rem;
    }

    .product-card__add {
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
    }

    .product-card__quick-add button {
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
    }

    .premium-mobile-nav {
        display: grid;
    }

    .floating-cart--premium-store {
        bottom: 76px;
    }

    .catalog-premium-detail .app-shell {
        padding: 8px 12px 110px;
    }

    .catalog-premium-detail.has-public-sidebar .detail-topbar--premium {
        padding-left: 58px;
    }

    .detail-page--premium {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .detail-media--premium {
        position: relative;
        top: auto;
    }

    .detail-media__gallery {
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .detail-media__gallery img {
        aspect-ratio: 1.18 / 1;
    }

    .detail-content--premium {
        padding: 18px 14px;
    }

    .detail-product-head {
        gap: 10px;
    }

    .detail-content--premium h1 {
        font-size: 1.65rem;
    }

    .detail-content--premium .detail-price {
        font-size: 1.4rem;
    }

    .detail-content--premium .option-group,
    .detail-content--premium .note-box,
    .detail-content--premium .quantity-card {
        padding: 14px 12px;
    }

    .detail-content--premium .quantity-card {
        align-items: center;
    }

    .detail-content--premium .quantity-card > div:first-child strong {
        display: none;
    }

    .detail-content--premium .sticky-action {
        bottom: 8px;
        grid-template-columns: minmax(0, .85fr) minmax(150px, 1.15fr);
    }
}

@media (max-width: 390px) {
    .floating-cart__action {
        padding-inline: 14px;
    }

    .floating-cart__summary small {
        font-size: .72rem;
    }
}
