/* PP PHONE Catalog — BNPL app motion (Dribbble 26011040 inspired) */

.catalog-app {
    --cat-glass: rgba(34, 37, 46, 0.72);
    --cat-glass-border: rgba(255, 255, 255, 0.06);
    --cat-radius: 1.75rem;
    --cat-radius-sm: 1.125rem;
    --cat-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --cat-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --cat-font: var(--font-sans, 'Inter', 'Noto Sans Lao', system-ui, sans-serif);
    font-family: var(--cat-font);
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

/* Soft mesh background */
.catalog-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(229, 184, 66, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 20%, rgba(243, 210, 121, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 10% 80%, rgba(229, 184, 66, 0.06) 0%, transparent 45%);
}

.catalog-mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: catBlobDrift 12s ease-in-out infinite;
}

.catalog-mesh-blob-1 { width: 280px; height: 280px; background: rgba(229,184,66,0.12); top: 5%; right: -5%; }
.catalog-mesh-blob-2 { width: 200px; height: 200px; background: rgba(243,210,121,0.08); bottom: 20%; left: -5%; animation-delay: -4s; }

@keyframes catBlobDrift {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-15px, 20px) scale(1.08); }
}

.catalog-shell {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .catalog-shell { max-width: 72rem; }
}

/* Glass search */
.catalog-glass-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    border-radius: var(--cat-radius);
    background: var(--cat-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--cat-glass-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: border-color 0.35s var(--cat-ease), box-shadow 0.35s var(--cat-ease), transform 0.35s var(--cat-ease);
    animation: catSlideDown 0.6s var(--cat-ease) both;
}

.catalog-glass-search:focus-within {
    border-color: rgba(229, 184, 66, 0.35);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 3px rgba(229, 184, 66, 0.08);
    transform: translateY(-1px);
}

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

/* Circular category chips */
.catalog-cat-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.25rem 0.25rem 0.75rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: catSlideDown 0.6s 0.08s var(--cat-ease) both;
}

.catalog-cat-scroll::-webkit-scrollbar { display: none; }

.catalog-cat-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.35s var(--cat-bounce);
}

.catalog-cat-item:active { transform: scale(0.92); }

.catalog-cat-circle {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: var(--cat-glass);
    backdrop-filter: blur(12px);
    border: 2px solid var(--cat-glass-border);
    transition: all 0.4s var(--cat-ease);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.catalog-cat-item:hover .catalog-cat-circle {
    transform: translateY(-3px);
    border-color: rgba(229, 184, 66, 0.3);
}

.catalog-cat-item.is-active .catalog-cat-circle {
    background: linear-gradient(145deg, #F3D279, #E5B842);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(229, 184, 66, 0.45);
    transform: scale(1.08);
}

.catalog-cat-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #9EA4B0;
    transition: color 0.3s;
}

.catalog-cat-item.is-active .catalog-cat-label { color: #E5B842; }

/* Hero carousel */
.catalog-carousel-wrap {
    position: relative;
    animation: catSlideDown 0.6s 0.15s var(--cat-ease) both;
}

.catalog-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 0.25rem 0 1rem;
    scrollbar-width: none;
}

.catalog-carousel::-webkit-scrollbar { display: none; }

.catalog-hero-slide {
    flex: 0 0 88%;
    scroll-snap-align: center;
    position: relative;
    border-radius: var(--cat-radius);
    padding: 1.5rem;
    min-height: 11rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.45s var(--cat-ease);
}

@media (min-width: 640px) {
    .catalog-hero-slide { flex: 0 0 70%; }
}

.catalog-hero-slide:active { transform: scale(0.98); }

.catalog-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.9;
    border-radius: inherit;
}

.catalog-hero-slide[data-gradient="gold"]::before {
    background: linear-gradient(135deg, rgba(229,184,66,0.25) 0%, rgba(34,37,46,0.95) 60%, #181A20 100%);
}
.catalog-hero-slide[data-gradient="warm"]::before {
    background: linear-gradient(135deg, rgba(243,210,121,0.2) 0%, rgba(34,37,46,0.92) 55%, #121318 100%);
}
.catalog-hero-slide[data-gradient="cool"]::before {
    background: linear-gradient(135deg, rgba(100,149,237,0.15) 0%, rgba(34,37,46,0.92) 55%, #121318 100%);
}

.catalog-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    min-height: 8rem;
}

.catalog-hero-phone {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    animation: catHeroFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
}

@keyframes catHeroFloat {
    0%, 100% { transform: translateY(-50%) rotate(-2deg); }
    50% { transform: translateY(calc(-50% - 12px)) rotate(2deg); }
}

.catalog-hero-tag {
    display: inline-flex;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0;
    margin-bottom: 0.5rem;
}

.catalog-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-top: -0.25rem;
}

.catalog-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: rgba(158, 164, 176, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s var(--cat-ease);
}

.catalog-dot.active {
    width: 1.25rem;
    background: #E5B842;
}

/* Brand row */
.catalog-brands {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem;
    scrollbar-width: none;
    animation: catSlideDown 0.6s 0.22s var(--cat-ease) both;
}

.catalog-brands::-webkit-scrollbar { display: none; }

.catalog-brand-bubble {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
}

.catalog-brand-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #22252E;
    border: 1px solid #2E323E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 800;
    color: #E5B842;
    letter-spacing: -0.02em;
    transition: all 0.35s var(--cat-bounce);
}

.catalog-brand-bubble:hover .catalog-brand-circle {
    transform: scale(1.1);
    border-color: rgba(229,184,66,0.4);
    box-shadow: 0 4px 16px rgba(229,184,66,0.2);
}

.catalog-brand-name {
    font-size: 0.6rem;
    color: #9EA4B0;
}

/* Section title */
.catalog-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    animation: catSlideDown 0.6s 0.28s var(--cat-ease) both;
}

/* Product feed — tall app cards */
.catalog-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .catalog-feed {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.catalog-product {
    position: relative;
    border-radius: var(--cat-radius);
    background: #22252E;
    border: 1px solid rgba(46, 50, 62, 0.8);
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(28px);
    animation: catProductIn 0.55s var(--cat-ease) forwards;
    transition: transform 0.45s var(--cat-ease), box-shadow 0.45s var(--cat-ease), border-color 0.3s;
}

.catalog-product:nth-child(1) { animation-delay: 0.05s; }
.catalog-product:nth-child(2) { animation-delay: 0.12s; }
.catalog-product:nth-child(3) { animation-delay: 0.19s; }
.catalog-product:nth-child(4) { animation-delay: 0.26s; }
.catalog-product:nth-child(5) { animation-delay: 0.33s; }
.catalog-product:nth-child(6) { animation-delay: 0.4s; }

@keyframes catProductIn {
    to { opacity: 1; transform: translateY(0); }
}

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

.catalog-product:hover {
    transform: translateY(-4px);
    border-color: rgba(229,184,66,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(229,184,66,0.08);
}

.catalog-product:active { transform: scale(0.985); }

/* Image stage with gradient */
.catalog-product-stage {
    position: relative;
    height: 12.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-product-stage-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s var(--cat-ease);
}

.catalog-product:hover .catalog-product-stage-bg {
    transform: scale(1.05);
}

.catalog-product-stage-bg.g-apple {
    background: linear-gradient(160deg, rgba(229,184,66,0.18) 0%, rgba(18,19,24,0.4) 100%);
}
.catalog-product-stage-bg.g-samsung {
    background: linear-gradient(160deg, rgba(100,149,237,0.12) 0%, rgba(18,19,24,0.4) 100%);
}
.catalog-product-stage-bg.g-default {
    background: linear-gradient(160deg, rgba(243,210,121,0.12) 0%, rgba(18,19,24,0.4) 100%);
}

.catalog-product-img {
    position: relative;
    z-index: 2;
    max-height: 9rem;
    object-fit: contain;
    animation: catProductBob 5s ease-in-out infinite;
    filter: drop-shadow(0 16px 24px rgba(0,0,0,0.35));
}

@keyframes catProductBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Monthly pill on image — signature BNPL element */
.catalog-pay-pill {
    position: absolute;
    bottom: 0.875rem;
    right: 0.875rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    background: rgba(18, 19, 24, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 184, 66, 0.35);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: catPillPop 0.5s var(--cat-bounce) both;
}

@keyframes catPillPop {
    from { opacity: 0; transform: scale(0.8) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.catalog-pay-pill-amount {
    font-family: var(--cat-font);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #E5B842;
}

.catalog-pay-pill-label {
    font-size: 0.55rem;
    color: #9EA4B0;
}

.catalog-product-body {
    padding: 1rem 1.125rem 1.125rem;
}

.catalog-product-brand {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #E5B842;
}

.catalog-product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.2rem;
    line-height: 1.35;
}

.catalog-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.catalog-product-full {
    font-family: var(--cat-font);
    font-size: 0.7rem;
    color: #9EA4B0;
    text-decoration: line-through;
    opacity: 0.7;
}

.catalog-product-down {
    font-family: var(--cat-font);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

/* Bottom sheet — liquid glass */
.catalog-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    pointer-events: none;
    transition: background 0.45s ease, backdrop-filter 0.45s ease;
}

.catalog-sheet-backdrop.is-open {
    background: rgba(8, 10, 14, 0.42);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    pointer-events: auto;
}

.catalog-sheet {
    --sheet-blur: 26px;
    --sheet-glass: rgba(255, 255, 255, 0.06);
    --sheet-glass-deep: rgba(22, 24, 30, 0.52);
    --sheet-border: rgba(255, 255, 255, 0.11);
    --sheet-highlight: rgba(255, 255, 255, 0.14);
    --sheet-radius: 1.625rem;
    --sheet-radius-sm: 1rem;
    --sheet-radius-xs: 0.75rem;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 201;
    max-height: 94vh;
    background: rgba(22, 24, 30, 0.58);
    backdrop-filter: blur(var(--sheet-blur)) saturate(165%);
    -webkit-backdrop-filter: blur(var(--sheet-blur)) saturate(165%);
    border-radius: var(--sheet-radius) var(--sheet-radius) 0 0;
    border: 1px solid var(--sheet-border);
    border-bottom: none;
    box-shadow:
        0 -12px 48px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 var(--sheet-highlight),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transform: translateY(100%);
    transition: transform 0.45s var(--cat-ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.catalog-sheet::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(243, 210, 121, 0.14) 0%, transparent 58%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 32%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.catalog-sheet.is-open {
    transform: translateY(0);
}

.catalog-sheet-handle,
.catalog-sheet-scroll,
.catalog-sheet-footer {
    position: relative;
    z-index: 1;
}

.catalog-sheet-handle {
    width: 2.75rem;
    height: 0.3125rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    margin: 0.875rem auto 0.25rem;
    flex-shrink: 0;
}

.catalog-sheet-scroll {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding: 0.5rem 1.25rem 1rem;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(229, 184, 66, 0.22) transparent;
}

.catalog-sheet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0 0.875rem;
}

.catalog-sheet-heading {
    flex: 1;
    min-width: 0;
}

.catalog-sheet-brand {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(229, 184, 66, 0.92);
    margin: 0;
}

.catalog-sheet-title {
    margin: 0.35rem 0 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.96);
}

.catalog-sheet-variant {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(158, 164, 176, 0.92);
}

.catalog-sheet-close {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(200, 206, 216, 0.95);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.catalog-sheet-close:hover {
    color: #fff;
    border-color: rgba(229, 184, 66, 0.28);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.03);
}

.catalog-sheet-visual {
    height: 11.5rem;
    border-radius: var(--sheet-radius-sm);
    margin: 0.35rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.catalog-sheet-visual-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0.85;
}

.catalog-sheet-visual-bg.g-apple {
    background: linear-gradient(155deg, rgba(229, 184, 66, 0.22) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 100%);
}
.catalog-sheet-visual-bg.g-samsung {
    background: linear-gradient(155deg, rgba(100, 149, 237, 0.18) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 100%);
}
.catalog-sheet-visual-bg.g-default {
    background: linear-gradient(155deg, rgba(243, 210, 121, 0.16) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 100%);
}

.catalog-sheet-image-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.catalog-sheet-image-wrap img {
    max-height: 9rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.22));
}

.catalog-sheet-placeholder-icon {
    width: 4rem;
    height: 7rem;
    color: rgba(229, 184, 66, 0.5);
}

.catalog-sheet-body {
    display: block;
}

.catalog-sheet-details {
    display: block;
}

.catalog-sheet-price {
    display: block;
    width: fit-content;
    margin: 0 auto 1.25rem;
    padding: 0.45rem 0.95rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(158, 164, 176, 0.95);
    text-align: center;
    text-decoration: line-through;
}

.catalog-sheet-section {
    margin-bottom: 0.75rem;
}

.catalog-sheet-section-label {
    margin: 0 0 0.625rem;
    padding-left: 0.125rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    color: rgba(158, 164, 176, 0.9);
}

/* Installment timeline */
.catalog-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin: 0 0 1.25rem;
    padding: 1rem 0.625rem;
    border-radius: var(--sheet-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.catalog-timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 0;
}

.catalog-timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0.75rem;
    left: 50%;
    width: 100%;
    height: 3px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.catalog-timeline-dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5625rem;
    font-weight: 600;
    color: rgba(180, 186, 198, 0.95);
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: all 0.35s var(--cat-ease);
}

.catalog-timeline-step.is-today .catalog-timeline-dot {
    background: linear-gradient(135deg, rgba(243, 210, 121, 0.92), rgba(229, 184, 66, 0.88));
    border-color: rgba(255, 255, 255, 0.28);
    color: #121318;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(229, 184, 66, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.catalog-timeline-label {
    font-size: 0.625rem;
    color: rgba(158, 164, 176, 0.92);
    margin-top: 0.5rem;
    text-align: center;
    line-height: 1.2;
}

.catalog-timeline-amt {
    font-family: var(--cat-font);
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
    margin-top: 0.25rem;
    text-align: center;
    line-height: 1.2;
}

/* Sheet month tabs */
.catalog-sheet-tabs {
    display: flex;
    gap: 0.375rem;
    padding: 0.3125rem;
    border-radius: var(--sheet-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.catalog-sheet-tab {
    flex: 1;
    min-height: 2.75rem;
    padding: 0.625rem 0.5rem;
    border-radius: var(--sheet-radius-xs);
    border: 1px solid transparent;
    background: transparent;
    color: rgba(158, 164, 176, 0.95);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--cat-font);
    cursor: pointer;
    transition: all 0.3s var(--cat-ease);
}

.catalog-sheet-tab.active {
    background: linear-gradient(135deg, rgba(243, 210, 121, 0.88), rgba(229, 184, 66, 0.82));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.22);
    color: #121318;
    box-shadow: 0 4px 16px rgba(229, 184, 66, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.catalog-sheet-tab:not(.active):hover {
    color: rgba(228, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Split cards in sheet */
.catalog-split-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.catalog-split-card {
    padding: 1.125rem 0.875rem;
    border-radius: var(--sheet-radius-sm);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    text-align: center;
    transition: border-color 0.3s, transform 0.3s var(--cat-bounce), background 0.3s;
}

.catalog-split-card--accent {
    border-color: rgba(229, 184, 66, 0.22);
    background: rgba(229, 184, 66, 0.07);
}

.catalog-split-card-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(158, 164, 176, 0.9);
    margin-bottom: 0.5rem;
}

.catalog-split-card-hint {
    font-size: 0.6875rem;
    color: rgba(125, 132, 148, 0.95);
    margin-top: 0.375rem;
}

.catalog-split-card-value {
    font-family: var(--cat-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(229, 184, 66, 0.95);
    line-height: 1.2;
    transition: transform 0.3s var(--cat-bounce);
}

.catalog-split-card-value--light {
    color: rgba(255, 255, 255, 0.96);
}

.catalog-split-card-value.bump {
    transform: scale(1.06);
}

.catalog-sheet-footer {
    flex-shrink: 0;
    padding: 0.75rem 1.25rem calc(0.875rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.catalog-sheet-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.95rem 1rem;
    border-radius: var(--sheet-radius-sm);
    background: linear-gradient(135deg, rgba(243, 210, 121, 0.9) 0%, rgba(229, 184, 66, 0.85) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #121318;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(229, 184, 66, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
    transition: transform 0.25s, box-shadow 0.25s;
}

.catalog-sheet-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: catShimmer 2.5s ease-in-out infinite;
}

@keyframes catShimmer {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

.catalog-sheet-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 32px rgba(229, 184, 66, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.catalog-product.hidden { display: none; }

.catalog-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    animation: catSlideDown 0.5s var(--cat-ease) both;
}

/* Status info row */
.catalog-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    border-radius: 9999px;
    background: var(--cat-glass);
    border: 1px solid var(--cat-glass-border);
}

.catalog-status-pill {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.catalog-status-divider {
    color: rgba(229, 184, 66, 0.45);
    font-weight: 300;
    user-select: none;
}

/* Large device buttons */
.catalog-device-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.catalog-device-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    padding: 1rem;
    border-radius: var(--cat-radius-sm);
    border: 1px solid var(--cat-glass-border);
    background: var(--cat-glass);
    text-decoration: none;
    transition: border-color 0.25s var(--cat-ease), transform 0.25s var(--cat-ease), box-shadow 0.25s var(--cat-ease);
}

.catalog-device-btn:hover {
    border-color: rgba(229, 184, 66, 0.35);
    transform: translateY(-1px);
}

.catalog-device-btn.is-active {
    border-color: rgba(229, 184, 66, 0.55);
    background: linear-gradient(135deg, rgba(243, 210, 121, 0.14) 0%, rgba(229, 184, 66, 0.08) 100%);
    box-shadow: 0 0 0 1px rgba(229, 184, 66, 0.12);
}

.catalog-device-btn-title {
    font-family: var(--cat-font);
    font-size: 1.0625rem;
    font-weight: 600;
    color: #E5B842;
}

/* Removable filter chip */
.catalog-filter-chip-wrap {
    display: flex;
    justify-content: center;
}

.catalog-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem 0.375rem 1rem;
    border-radius: 9999px;
    background: rgba(229, 184, 66, 0.12);
    border: 1px solid rgba(229, 184, 66, 0.35);
    font-size: 0.75rem;
    font-weight: 600;
    color: #E5B842;
}

.catalog-filter-chip-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.catalog-filter-chip-clear:hover {
    background: rgba(229, 184, 66, 0.35);
}

/* Subcategory pills */
.catalog-subcat-scroll {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.catalog-subcat-scroll::-webkit-scrollbar {
    display: none;
}

.catalog-subcat-pill {
    flex-shrink: 0;
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid var(--cat-glass-border);
    background: var(--cat-glass);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9EA4B0;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.catalog-subcat-pill:hover {
    border-color: rgba(229, 184, 66, 0.35);
    color: #fff;
}

.catalog-subcat-pill.is-active {
    border-color: rgba(229, 184, 66, 0.55);
    background: rgba(229, 184, 66, 0.12);
    color: #E5B842;
}

.catalog-subcat-group-label {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
    color: rgba(158, 164, 176, 0.85);
    padding: 0 0.25rem;
    margin-left: 0.25rem;
}

.catalog-subcat-group-label:first-of-type {
    margin-left: 0.5rem;
}

.catalog-config-group { margin-bottom: 1rem; }
.catalog-config-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.catalog-config-pill {
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: rgba(200, 206, 216, 0.95);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s var(--cat-ease);
}
.catalog-config-pill.is-active {
    border-color: rgba(229, 184, 66, 0.45);
    background: rgba(229, 184, 66, 0.14);
    color: #fff;
}
.catalog-sheet-cta.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.catalog-sheet-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
}
.catalog-sheet-gallery-main {
    max-height: 9rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.22));
}
.catalog-sheet-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.375rem;
}
.catalog-sheet-gallery-thumb {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    cursor: pointer;
}
.catalog-sheet-gallery-thumb.is-active {
    border-color: rgba(229, 184, 66, 0.55);
}
.catalog-sheet-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.catalog-config-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.catalog-config-swatch {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

/* Tablet / desktop — same stacked layout as mobile, full height, no handle */
@media (min-width: 640px) {
    .catalog-sheet {
        top: 1rem;
        bottom: 1rem;
        left: 50%;
        right: auto;
        width: min(28rem, calc(100vw - 2rem));
        max-width: 28rem;
        height: auto;
        max-height: calc(100vh - 2rem);
        max-height: calc(100dvh - 2rem);
        transform: translate(-50%, calc(100% + 1rem));
        border-radius: var(--sheet-radius);
        border: 1px solid var(--sheet-border);
        box-shadow:
            0 -12px 48px rgba(0, 0, 0, 0.28),
            0 12px 48px rgba(0, 0, 0, 0.18),
            inset 0 1px 0 var(--sheet-highlight),
            inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    }
    .catalog-sheet.is-open {
        transform: translate(-50%, 0);
    }
    .catalog-sheet-handle {
        display: none;
    }
    .catalog-sheet-scroll {
        padding: 1.25rem 1.5rem 1.25rem;
    }
    .catalog-sheet-header {
        padding: 0.15rem 0 1rem;
    }
    .catalog-sheet-title {
        font-size: 1.375rem;
    }
    .catalog-sheet-visual {
        height: 15rem;
        margin: 0.25rem 0 1.15rem;
    }
    .catalog-sheet-gallery-main,
    .catalog-sheet-image-wrap img {
        max-height: 12rem;
    }
    .catalog-sheet-price {
        margin-bottom: 1.35rem;
        font-size: 0.8125rem;
        padding: 0.5rem 1.05rem;
    }
    .catalog-sheet-section {
        margin-bottom: 1rem;
    }
    .catalog-sheet-section-label {
        margin-bottom: 0.75rem;
        font-size: 0.875rem;
    }
    .catalog-config-group {
        margin-bottom: 1.15rem;
    }
    .catalog-sheet-tab {
        min-height: 3rem;
        font-size: 0.875rem;
    }
    .catalog-timeline {
        margin-bottom: 1.35rem;
        padding: 1.15rem 0.75rem;
    }
    .catalog-split-cards {
        gap: 0.85rem;
        margin-bottom: 0.75rem;
    }
    .catalog-sheet-footer {
        padding: 1rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    }
    .catalog-sheet-cta {
        min-height: 3.4rem;
        font-size: 0.975rem;
    }
}

@media (min-width: 900px) {
    .catalog-sheet {
        width: min(30rem, calc(100vw - 2rem));
        max-width: 30rem;
    }
    .catalog-sheet-scroll {
        padding: 1.5rem 1.75rem 1.35rem;
    }
    .catalog-sheet-title {
        font-size: 1.45rem;
    }
    .catalog-sheet-visual {
        height: 16.5rem;
    }
    .catalog-sheet-gallery-main,
    .catalog-sheet-image-wrap img {
        max-height: 13.5rem;
    }
    .catalog-sheet-footer {
        padding: 1.1rem 1.75rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-product, .catalog-glass-search, .catalog-cat-scroll,
    .catalog-carousel-wrap, .catalog-brands, .catalog-section-head,
    .catalog-hero-phone, .catalog-product-img, .catalog-pay-pill,
    .catalog-sheet-cta::after, .catalog-mesh-blob {
        animation: none !important;
        transition: none !important;
    }
    .catalog-product { opacity: 1; transform: none; }
}
