/* Plain CSS — home / site shell */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #fafaf9;
    --bg-elevated: rgba(255, 255, 255, 0.72);
    --text: #1c1917;
    --text-muted: #57534e;
    --text-soft: #78716c;
    --border: rgba(214, 211, 209, 0.85);
    --accent: #d97706;
    --accent-hover: #ea580c;
    --accent-text: #78350f;
    --badge-bg: rgba(254, 243, 199, 0.85);
    --badge-border: rgba(251, 191, 36, 0.55);
    --code-bg: rgba(231, 229, 228, 0.9);
    --glow-amber: rgba(251, 191, 36, 0.22);
    --glow-rose: rgba(251, 113, 133, 0.12);
    --shadow-btn: 0 10px 25px -5px rgba(217, 119, 6, 0.35);
    --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c0a09;
        --bg-elevated: rgba(28, 25, 23, 0.75);
        --text: #fafaf9;
        --text-muted: #a8a29e;
        --text-soft: #78716c;
        --border: rgba(68, 64, 60, 0.9);
        --accent: #f59e0b;
        --accent-hover: #fbbf24;
        --accent-text: #fde68a;
        --badge-bg: rgba(120, 53, 15, 0.45);
        --badge-border: rgba(180, 83, 9, 0.5);
        --code-bg: rgba(41, 37, 36, 0.95);
        --glow-amber: rgba(217, 119, 6, 0.18);
        --glow-rose: rgba(225, 29, 72, 0.1);
        --shadow-btn: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
    }
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

/* Page shell */
.home-page {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.home-page__bg {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: -1;
}

.home-page__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--glow-amber), transparent);
}

.home-page__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.85;
}

.home-page__blob--tr {
    top: -5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(251, 191, 36, 0.12);
}

.home-page__blob--bl {
    bottom: -4rem;
    left: -4rem;
    width: 20rem;
    height: 20rem;
    background: var(--glow-rose);
}

/* Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 64rem;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .site-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .site-header {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.site-header__brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.site-header__logo {
    flex-shrink: 0;
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: 11rem;
    object-fit: contain;
    border-radius: 8px;
}

.site-header__text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.site-header__name {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--accent-text);
    line-height: 1.2;
}

.site-header__tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.3;
}

.site-header__brand {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--accent-text);
}

.site-header__nav {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.site-header__nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-header__nav a:hover {
    color: var(--accent);
}

/* Main */
.site-main {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem 5rem;
}

@media (min-width: 640px) {
    .site-main {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .site-main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.hero__badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-text);
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 9999px;
}

.hero__title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text);
}

.hero__lead {
    margin: 1rem 0 0;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: #d97706;
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-btn);
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn--ghost {
    color: var(--accent);
    background: transparent;
    border: 2px solid rgba(217, 119, 6, 0.55);
    box-shadow: none;
}

.btn--ghost:hover {
    background: rgba(217, 119, 6, 0.08);
}

@media (prefers-color-scheme: dark) {
    .btn--ghost {
        border-color: rgba(251, 191, 36, 0.45);
    }

    .btn--ghost:hover {
        background: rgba(251, 191, 36, 0.08);
    }
}

.section {
    margin-top: 3.5rem;
}

.section__title {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    color: var(--text);
}

.section--trust {
    margin-top: 2.5rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.section--trust p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-strip {
    margin-top: 2.5rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.35), rgba(255, 228, 230, 0.2));
    border: 1px solid var(--badge-border);
}

.contact-strip p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-color-scheme: dark) {
    .contact-strip {
        background: linear-gradient(135deg, rgba(120, 53, 15, 0.35), rgba(136, 19, 55, 0.15));
    }
}

.hero__meta {
    font-size: 0.875rem;
    color: var(--text-soft);
}

.hero__meta code {
    padding: 0.125rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--text);
    background: var(--code-bg);
    border-radius: 0.375rem;
}

/* Feature cards */
.feature-grid {
    display: grid;
    gap: 1.5rem;
    margin: 5rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
}

.feature-card__icon--amber {
    background: rgba(254, 243, 199, 0.9);
    color: #92400e;
}

.feature-card__icon--rose {
    background: rgba(255, 228, 230, 0.9);
    color: #9f1239;
}

.feature-card__icon--violet {
    background: rgba(237, 233, 254, 0.9);
    color: #5b21b6;
}

@media (prefers-color-scheme: dark) {
    .feature-card__icon--amber {
        background: rgba(120, 53, 15, 0.5);
        color: #fde68a;
    }

    .feature-card__icon--rose {
        background: rgba(136, 19, 55, 0.45);
        color: #fda4af;
    }

    .feature-card__icon--violet {
        background: rgba(76, 29, 149, 0.45);
        color: #ddd6fe;
    }
}

.feature-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.feature-card__text {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.feature-card__text code {
    font-size: 0.75rem;
}

/* Footer */
.site-footer {
    padding: 2rem 1rem;
    font-size: 0.875rem;
    color: var(--text-soft);
    text-align: center;
    border-top: 1px solid var(--border);
}

.site-footer p {
    margin: 0;
}

/* Legal pages — Privacy Policy, About Us (Play Store / public web) */
.legal-page {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.65;
}

.legal-page__header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.legal-page__brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-text);
    text-decoration: none;
}

.legal-page__main {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.legal-page__article h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--accent-text);
}

.legal-page__updated {
    margin: 0 0 2rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.legal-page__section {
    margin-bottom: 2rem;
}

.legal-page__section h2 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    color: var(--text);
}

.legal-page__body {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.legal-page__body p {
    margin: 0 0 0.85rem;
}

.legal-page__body ul {
    margin: 0 0 0.85rem;
    padding-left: 1.35rem;
}

.legal-page__body li {
    margin-bottom: 0.35rem;
}

.legal-page__body a {
    color: var(--accent);
}

.legal-page__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.legal-page__footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* ——— Storefront ——— */
.store-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.store-main {
    flex: 1;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.5rem 0.75rem 2rem;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    backdrop-filter: blur(12px);
}

.store-header__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.store-header__brand {
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.store-header__menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: transparent;
    cursor: pointer;
}

.store-header__menu-btn span {
    display: block;
    height: 2px;
    width: 1.1rem;
    margin: 0 auto;
    background: var(--text);
    border-radius: 1px;
}

.store-header__nav {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.store-header__nav.is-open {
    display: flex;
}

.store-header__nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.35rem 0;
}

.store-header__nav a:hover,
.store-header__cta {
    color: var(--accent) !important;
}

.store-header__cart {
    position: relative;
}

.store-header__cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    margin-left: 0.25rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.store-header__logout {
    margin: 0;
}

.store-header__logout button {
    background: none;
    border: none;
    font: inherit;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
}

@media (min-width: 900px) {
    .store-header__inner {
        position: relative;
    }

    .store-header__menu-btn {
        display: none;
    }

    .store-header__nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: static;
        padding: 0;
        border: none;
        background: transparent;
        gap: 1.25rem;
    }
}

.store-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1rem;
    margin-top: auto;
}

/* Professional site footer */
.site-footer-pro {
    margin-top: auto;
    background: linear-gradient(180deg, #1a1614 0%, #0c0a09 100%);
    color: #e7e5e4;
    font-size: 0.9rem;
    line-height: 1.55;
}

.site-footer-pro__main {
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 1.25rem 2.5rem;
}

.site-footer-pro__grid {
    display: grid;
    gap: 2.5rem 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .site-footer-pro__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .site-footer-pro__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
    }
}

.site-footer-pro__col--brand {
    max-width: 22rem;
}

.site-footer-pro__logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #fafaf9;
    margin-bottom: 0.75rem;
}

.site-footer-pro__logo {
    display: block;
    height: 2.75rem;
    width: auto;
    max-width: 11rem;
    object-fit: contain;
    border-radius: 0.65rem;
}

.site-footer-pro__name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.site-footer-pro__tagline {
    margin: 0 0 0.5rem;
    color: #fafaf9;
    font-weight: 600;
    font-size: 0.85rem;
}

.site-footer-pro__about {
    margin: 0 0 1.25rem;
    color: #a8a29e;
    font-size: 0.88rem;
}

.site-footer-pro__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer-pro__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
}

.site-footer-pro__btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.site-footer-pro__btn:hover {
    transform: translateY(-1px);
}

.site-footer-pro__btn--whatsapp {
    background: #25d366;
    color: #fff;
}

.site-footer-pro__btn--email {
    background: rgba(255, 255, 255, 0.1);
    color: #fafaf9;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer-pro__heading {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fafaf9;
}

.site-footer-pro__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-pro__links li {
    margin-bottom: 0.55rem;
}

.site-footer-pro__links a {
    color: #a8a29e;
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer-pro__links a:hover {
    color: #fff;
}

.site-footer-pro__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-pro__contact li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    color: #a8a29e;
}

.site-footer-pro__contact svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #fafaf9;
}

.site-footer-pro__contact a {
    color: #d6d3d1;
    text-decoration: none;
}

.site-footer-pro__contact a:hover {
    color: #fff;
}

.site-footer-pro__contact-empty a {
    color: #fafaf9;
    font-weight: 600;
}

.site-footer-pro__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}

.site-footer-pro__bottom-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
}

@media (min-width: 640px) {
    .site-footer-pro__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.site-footer-pro__copy {
    margin: 0;
    font-size: 0.8rem;
    color: #78716c;
}

.site-footer-pro__bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.site-footer-pro__bottom-links a {
    color: #a8a29e;
    text-decoration: none;
}

.site-footer-pro__bottom-links a:hover {
    color: #fff;
}

.site-footer-pro__bottom-links span {
    color: #57534e;
}

.site-footer-pro__credit {
    margin: 0;
    font-size: 0.78rem;
    color: #78716c;
}

.site-footer-pro__credit a {
    color: #a8a29e;
    text-decoration: none;
    font-weight: 600;
}

.site-footer-pro__credit a:hover {
    color: #fff;
}

.store-footer__inner {
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
}

.store-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.store-footer__links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.store-footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.store-alert {
    max-width: 72rem;
    margin: 0 auto 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.store-alert--success {
    background: #ecfccb;
    border: 1px solid #84cc16;
    color: #365314;
}

.store-alert--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.store-alert ul {
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
}

.store-section {
    margin: 1rem 0 1.5rem;
}

.store-home .store-section:first-of-type {
    margin-top: 0.5rem;
}

.store-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.store-section__head h2 {
    margin: 0;
    font-size: 1.35rem;
}

.store-section__head a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.store-hero {
    text-align: center;
    padding: 3rem 1rem;
}

.store-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 5vw, 2.75rem);
}

.store-main:has(.store-home) {
    padding-top: 0.35rem;
}

/* Banner carousel — swipe, arrows, dots, infinite loop */
.store-home .banner-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.25rem;
    border-radius: 0.875rem;
    overflow: hidden;
    background: var(--code-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 640px) {
    .store-home .banner-carousel {
        margin-bottom: 1.5rem;
        border-radius: 1.25rem;
    }
}

.banner-carousel__viewport {
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    user-select: none;
}

.banner-carousel__viewport.is-dragging {
    cursor: grabbing;
}

.banner-carousel__track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.banner-carousel__track.is-dragging {
    transition: none;
}

.banner-carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.banner-carousel__link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 2.4 / 1;
    background: #1c1917;
    border-radius: inherit;
    overflow: hidden;
}

@media (max-width: 640px) {
    .banner-carousel__link {
        aspect-ratio: 16 / 9;
    }
}

.banner-carousel__link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: inherit;
}

.banner-carousel__caption {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: 20rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 100%);
    backdrop-filter: blur(8px);
    color: #fff;
    pointer-events: none;
}

@media (min-width: 640px) {
    .banner-carousel__caption {
        left: 1.25rem;
        right: auto;
        bottom: 1.15rem;
        max-width: 24rem;
        padding: 0.9rem 1.1rem;
        border-radius: 0.75rem;
    }
}

.banner-carousel__title {
    margin: 0;
    font-size: clamp(1rem, 2.8vw, 1.45rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.banner-carousel__subtitle {
    margin: 0.3rem 0 0;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    font-weight: 500;
    opacity: 0.92;
    line-height: 1.35;
}

.banner-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #1c1917;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s, transform 0.2s;
}

.banner-carousel:hover .banner-carousel__arrow,
.banner-carousel:focus-within .banner-carousel__arrow {
    opacity: 1;
}

.banner-carousel__arrow svg {
    width: 1.25rem;
    height: 1.25rem;
}

.banner-carousel__arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.banner-carousel__arrow--prev {
    left: 0.65rem;
}

.banner-carousel__arrow--next {
    right: 0.65rem;
}

.banner-carousel__dots {
    position: absolute;
    left: 50%;
    bottom: 0.7rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

@media (min-width: 640px) {
    .banner-carousel__arrow--prev {
        left: 0.85rem;
    }

    .banner-carousel__arrow--next {
        right: 0.85rem;
    }

    .banner-carousel__dots {
        bottom: 0.85rem;
    }
}

.banner-carousel__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}

.banner-carousel__dot.is-active {
    width: 1.35rem;
    background: #fff;
}

.banner-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 640px) {
    .banner-carousel__arrow {
        opacity: 1;
        width: 2.15rem;
        height: 2.15rem;
        background: rgba(255, 255, 255, 0.85);
    }

    .banner-carousel__arrow--prev {
        left: 0.5rem;
    }

    .banner-carousel__arrow--next {
        right: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .banner-carousel__track {
        transition: none;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 1rem;
}

.product-card {
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    overflow: hidden;
    background: var(--bg-elevated);
    display: flex;
    flex-direction: column;
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    background: var(--code-bg);
    overflow: hidden;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__frame {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-card:not(.product-card--premium) .product-card__frame img {
    position: static;
    display: block;
    transition: transform 0.3s ease, opacity 0.35s ease;
}

.product-card:not(.product-card--premium).product-card--has-hover-image .product-card__img--primary,
.product-card:not(.product-card--premium).product-card--has-hover-image .product-card__img--hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card:not(.product-card--premium) .product-card__img--hover {
    z-index: 1;
    opacity: 0;
}

.product-card:not(.product-card--premium).product-card--has-hover-image .product-card__media:hover .product-card__img--hover {
    opacity: 1;
}

.product-card:not(.product-card--premium) .product-card__media:hover .product-card__frame img {
    transform: scale(1.06);
}

.product-card:not(.product-card--premium) .product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-soft);
    font-size: 0.85rem;
}

.product-card__badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-text);
}

.product-card__body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.product-card__category {
    margin: 0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-soft);
}

.product-card__title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.product-card__title a {
    text-decoration: none;
    color: inherit;
}

.product-card__desc {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-card__rating {
    margin: 0;
    font-size: 0.8rem;
    color: var(--accent-text);
}

.product-card__price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-card__sale {
    font-weight: 700;
    color: var(--accent-text);
}

.product-card__mrp {
    font-size: 0.8rem;
    color: var(--text-soft);
    text-decoration: line-through;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.75rem;
}

.category-card {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--bg-elevated);
}

.category-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.category-card__body {
    padding: 0.65rem;
}

.category-card__body h3 {
    margin: 0;
    font-size: 0.9rem;
}

.category-card--child {
    opacity: 0.92;
}

.store-page__layout {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .store-page__layout {
        grid-template-columns: 14rem 1fr;
    }
}

.store-sidebar h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.store-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.store-sidebar__list a {
    display: block;
    padding: 0.4rem 0;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.store-sidebar__list .is-active a {
    color: var(--accent);
    font-weight: 700;
}

.store-sidebar__child {
    padding-left: 0.75rem;
}

.store-page__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.store-page__header h1 {
    margin: 0 0 0.35rem;
}

.store-search {
    display: flex;
    gap: 0.5rem;
}

.store-search input {
    min-width: 12rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--bg);
    color: var(--text);
}

.store-search button {
    padding: 0.5rem 0.85rem;
    border: none;
    border-radius: 0.5rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.store-page--narrow {
    max-width: 36rem;
}

.store-empty {
    color: var(--text-muted);
}

.btn--block {
    width: 100%;
    text-align: center;
}

.btn--ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
    box-shadow: none;
}

.product-detail {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

@media (min-width: 900px) {
    .product-detail {
        grid-template-columns: 1fr 1fr;
    }
}

/* Premium product layout overrides site grid + sticky media */
@media (min-width: 960px) {
    .store-product__layout.product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.product-detail__main-image img {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.product-detail__thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.product-detail__thumbs button {
    border: 1px solid var(--border);
    border-radius: 0.35rem;
    padding: 0;
    background: none;
    cursor: pointer;
    width: 3.5rem;
    height: 3.5rem;
    overflow: hidden;
}

.product-detail__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail__video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 0.75rem;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--bg);
    color: var(--text);
    font: inherit;
}

.form-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-field--full {
        grid-column: 1 / -1;
    }
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin: 0.35rem 0 0;
}

.border-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
    gap: 0.5rem;
}

.border-picker__item {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.border-picker__item:has(input:checked) {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.border-picker__item input {
    position: absolute;
    opacity: 0;
}

.border-picker__item img {
    width: 100%;
    height: 3rem;
    object-fit: contain;
}

.cart-layout {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr 18rem;
    }
}

.cart-item {
    display: grid;
    grid-template-columns: 5rem 1fr auto;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-item__media img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.cart-item__remove {
    border: none;
    background: none;
    font-size: 1.5rem;
    color: var(--text-soft);
    cursor: pointer;
}

.cart-summary {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    height: fit-content;
    background: var(--bg-elevated);
}

.cart-summary dl {
    margin: 0 0 1rem;
}

.cart-summary dl div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.cart-summary__total {
    font-weight: 700;
    font-size: 1rem !important;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.cart-coupon {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.cart-coupon input {
    flex: 1;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    margin-bottom: 0.75rem;
}

.auth-card {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    background: var(--bg-elevated);
    margin-top: 1rem;
}

.auth-card h1,
.auth-card h2 {
    margin-top: 0;
}

.auth-card__footer {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-card__footer a {
    color: var(--accent);
    font-weight: 600;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.checkout-section {
    margin: 1.5rem 0;
}

.checkout-section h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.checkout-address {
    font-style: normal;
    line-height: 1.5;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

.checkout-lines {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-lines li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.checkout-totals {
    margin: 0.75rem 0 0;
}

.checkout-totals div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.checkout-totals__grand {
    font-weight: 700;
    font-size: 1.05rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.order-list__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.order-list__item:hover {
    border-color: var(--accent);
}

.order-list__meta {
    text-align: right;
    font-size: 0.9rem;
}

.order-status {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-text);
}

.store-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
    align-items: center;
}

.store-pagination a,
.store-pagination span {
    padding: 0.35rem 0.65rem;
    border-radius: 0.35rem;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.store-pagination__current {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.legal-page--in-store {
    max-width: 48rem;
    margin: 0 auto;
}

.help-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.account-dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.payment-box {
    margin: 1rem 0 1.5rem;
    padding: 1rem;
    border: 1px solid var(--badge-border);
    border-radius: 0.75rem;
    background: var(--badge-bg);
}

.upload-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

