:root {
    --app-bg: #08070d;
    --app-panel: #12101b;
    --app-panel-soft: #171320;
    --app-panel-strong: #1c1529;
    --app-stroke: rgba(255, 255, 255, 0.1);
    --app-text: #ffffff;
    --app-muted: #bdb7cb;
    --app-purple: #8b35ff;
    --app-purple-2: #5e19ff;
    --app-gold: #ffbd4a;
    --app-green: #29d884;
    --app-red: #ff6571;
    --app-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
    --app-radius: 24px;
    --app-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.mobile-app-body {
    margin: 0;
    min-height: 100vh;
    color: var(--app-text);
    font-family: var(--app-font);
    background:
        radial-gradient(circle at 20% 0%, rgba(139, 53, 255, 0.28), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(255, 189, 74, 0.14), transparent 24%),
        linear-gradient(180deg, #050409 0%, #120b20 42%, #050409 100%);
    overflow-x: hidden;
}

.mobile-app-body * {
    box-sizing: border-box;
}

.mobile-app-body h1,
.mobile-app-body h2,
.mobile-app-body h3,
.mobile-app-body h4,
.mobile-app-body h5,
.mobile-app-body h6,
.mobile-app-body .page-title,
.mobile-app-body .detail-title,
.mobile-app-body .hero-card h2,
.mobile-app-body .section-heading h2,
.mobile-app-body .brand-copy h1,
.mobile-app-body .product-head h3,
.mobile-app-body .summary-card h3,
.mobile-app-body .checkout-card h3,
.mobile-app-body .account-card h3,
.mobile-app-body .content-card h1,
.mobile-app-body .content-card h2,
.mobile-app-body .content-card h3 {
    color: #fff !important;
}

.mobile-app-body a {
    color: inherit;
    text-decoration: none;
}

.mobile-app-body img {
    max-width: 100%;
    display: block;
}

.page-wrap {
    width: min(100%, 520px);
    min-height: 100vh;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(18, 16, 27, 0.98), rgba(8, 7, 13, 0.98));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), var(--app-shadow);
    position: relative;
}

@media (min-width: 700px) {
    body.mobile-app-body {
        padding: 24px 0;
    }

    .page-wrap {
        min-height: calc(100vh - 48px);
        border-radius: 34px;
        overflow: hidden;
    }
}

.app-main {
    padding-bottom: 132px;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 25;
    padding: 14px 16px 12px;
    background: rgba(8, 7, 13, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--app-stroke);
}

.app-topbar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-link {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 10%, #bc9eff, var(--app-purple-2) 45%, #1d0a50 100%);
    box-shadow: 0 12px 28px rgba(139, 53, 255, 0.32);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.brand-copy {
    min-width: 0;
}

.brand-copy h1 {
    margin: 0;
    font-size: 17px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.brand-copy p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--app-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    position: relative;
    border: 0;
    transition: transform 0.18s ease, background 0.18s ease;
}

.icon-btn:hover,
.icon-btn:focus-visible,
.app-btn:hover,
.app-btn:focus-visible,
.app-btn-secondary:hover,
.app-btn-secondary:focus-visible {
    transform: translateY(-1px);
}

.cart-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-gold);
    color: #221600;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    border: 2px solid var(--app-bg);
    transform: translate(35%, -35%);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
    pointer-events: none;
}

.searchContainer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(5, 4, 9, 0.92);
    backdrop-filter: blur(14px);
    padding: 16px;
}

.searchRow {
    width: min(100%, 520px);
    margin: 0 auto;
}

.searchAll {
    margin-top: 26px;
    border-radius: 28px;
    border: 1px solid var(--app-stroke);
    background: linear-gradient(180deg, rgba(23, 19, 32, 0.96), rgba(13, 11, 18, 0.98));
    box-shadow: var(--app-shadow);
    padding: 20px;
}

.searchAll h4 {
    margin: 0 0 16px;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.searchClose {
    width: min(100%, 520px);
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.searchClose button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
}

.searchClose img {
    width: 16px;
    filter: invert(1);
}

.searchInputArea,
.app-input,
.app-select,
.app-textarea,
.basic-login input,
.basic-login select,
.basic-login textarea,
.checkout-form-list input,
.checkout-form-list select,
.checkout-form-list textarea {
    width: 100%;
    border: 1px solid var(--app-stroke);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    min-height: 52px;
    padding: 14px 16px;
    outline: 0;
    box-shadow: none;
}

.app-select option,
.basic-login select option,
.checkout-form-list select option {
    background: #ffffff;
    color: #161020;
}

.app-select option:checked,
.basic-login select option:checked,
.checkout-form-list select option:checked {
    background: #efe7ff;
    color: #161020;
}

.app-select.is-invalid {
    border-color: rgba(255, 101, 113, 0.95);
    box-shadow: 0 0 0 3px rgba(255, 101, 113, 0.16);
}

.app-input[readonly] {
    background: rgba(255, 255, 255, 0.045);
    color: #e8e2f4;
    cursor: not-allowed;
}

.mobile-app-body .nice-select.app-select.is-invalid {
    border-color: rgba(255, 101, 113, 0.95);
    box-shadow: 0 0 0 3px rgba(255, 101, 113, 0.16);
}

.mobile-app-body .nice-select.app-select {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--app-stroke);
    color: #fff;
}

.mobile-app-body .nice-select.app-select .current {
    color: #fff;
}

.mobile-app-body .nice-select.app-select .list {
    background: #ffffff;
    border: 1px solid rgba(18, 16, 27, 0.12);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.mobile-app-body .nice-select.app-select .option {
    color: #161020;
    background: #ffffff;
}

.mobile-app-body .nice-select.app-select .option:hover,
.mobile-app-body .nice-select.app-select .option.focus,
.mobile-app-body .nice-select.app-select .option.selected {
    background: #efe7ff;
    color: #161020;
}

.searchInputArea::placeholder,
.app-input::placeholder,
.app-textarea::placeholder,
.checkout-form-list input::placeholder,
.checkout-form-list textarea::placeholder {
    color: #8c8798;
}

.app-textarea,
.basic-login textarea,
.checkout-form-list textarea {
    min-height: 112px;
    resize: vertical;
}

.pResult {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.pResultLink {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.pResultLink img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 14px;
}

.pResultDetail {
    font-size: 14px;
    line-height: 1.35;
}

.app-hero {
    padding: 16px 16px 12px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    min-height: 192px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(139, 53, 255, 0.94), rgba(32, 14, 60, 0.92) 48%, rgba(2, 2, 2, 0.94)),
        radial-gradient(circle at 92% 18%, rgba(255, 189, 74, 0.45), transparent 32%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -52px -80px auto auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
}

.hero-badge,
.mini-chip,
.app-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.hero-badge {
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card h2,
.section-heading h2,
.page-title,
.detail-title,
.auth-card h2,
.summary-card h3 {
    letter-spacing: -0.04em;
}

.hero-card h2 {
    margin: 16px 0 8px;
    font-size: 30px;
    line-height: 1;
    max-width: 280px;
}

.hero-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.84);
    max-width: 282px;
}

.hero-pills {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.hero-pill {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
}

.hero-emoji {
    position: absolute;
    right: 14px;
    bottom: -16px;
    font-size: 96px;
    transform: rotate(-8deg);
    filter: drop-shadow(0 15px 22px rgba(0, 0, 0, 0.35));
}

.quick-info {
    padding: 0 16px 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.info-card,
.content-card,
.summary-card,
.auth-card,
.sheet-card,
.cart-line,
.checkout-card,
.account-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.045));
    border: 1px solid var(--app-stroke);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.info-card {
    min-height: 82px;
    border-radius: 18px;
    padding: 12px;
}

.info-card b {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.info-card span {
    display: block;
    color: var(--app-muted);
    font-size: 12px;
    line-height: 1.4;
}

.app-section {
    padding: 8px 16px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.section-heading h2,
.section-heading h3 {
    margin: 0;
    font-size: 20px;
}

.section-heading span,
.section-heading a {
    color: var(--app-muted);
    font-size: 12px;
    font-weight: 700;
}

.category-scroller,
.category-tabs,
.app-link-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar,
.category-tabs::-webkit-scrollbar,
.app-link-grid::-webkit-scrollbar {
    display: none;
}

.category-card,
.category-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 164px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--app-stroke);
}

.category-card {
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.category-card.active {
    background: linear-gradient(135deg, rgba(139, 53, 255, 0.22), rgba(94, 25, 255, 0.18));
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 34px rgba(70, 22, 148, 0.28);
}

.category-card.active .category-card-body span {
    color: rgba(255, 255, 255, 0.78);
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
    padding-bottom: 0;
}

.home-category-card {
    width: 100%;
    min-width: 0;
    min-height: 168px;
    padding: 18px 16px;
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.045));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-category-card:hover {
    transform: translateY(-2px);
}

.home-category-card.active {
    background: linear-gradient(160deg, rgba(106, 42, 224, 0.92), rgba(45, 25, 88, 0.96));
    border-color: rgba(188, 147, 255, 0.7);
    box-shadow: 0 18px 38px rgba(70, 22, 148, 0.34);
}

.home-category-card .category-card-thumb {
    width: 62px;
    height: 62px;
    border-radius: 20px;
}

.home-category-card .category-card-body {
    width: 100%;
    display: grid;
    gap: 8px;
}

.home-category-card .category-card-body strong {
    font-size: 15px;
    line-height: 1.28;
    min-height: 38px;
}

.home-category-card .category-card-body span {
    margin-top: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.68);
}

.home-category-card.active .category-card-body strong,
.home-category-card.active .category-card-body span {
    color: #fff;
}

.category-card-thumb {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 189, 74, 0.92), rgba(255, 91, 107, 0.76) 52%, rgba(139, 53, 255, 0.72));
    display: grid;
    place-items: center;
}

.category-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-body strong {
    display: block;
    font-size: 14px;
    line-height: 1.2;
}

.category-card-body span {
    display: block;
    margin-top: 4px;
    color: var(--app-muted);
    font-size: 11px;
}

.category-tab {
    min-width: auto;
    white-space: nowrap;
    padding: 10px 14px;
    gap: 8px;
    border-radius: 999px;
}

.category-tab.active {
    background: linear-gradient(135deg, var(--app-purple), var(--app-purple-2));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
}

.product-stack {
    display: grid;
    gap: 12px;
}

.home-category-panel[hidden] {
    display: none !important;
}

.home-category-groups {
    display: grid;
    gap: 18px;
}

.home-category-subgroup + .home-category-subgroup {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading.section-heading-compact {
    margin-bottom: 12px;
}

.section-heading.section-heading-compact h3 {
    margin: 0;
    font-size: 17px;
}

.product-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 23px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.045));
    border: 1px solid var(--app-stroke);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.product-thumb {
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.32), transparent 18%),
        linear-gradient(135deg, rgba(255, 189, 74, 0.92), rgba(255, 91, 107, 0.76) 52%, rgba(139, 53, 255, 0.72));
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

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

.product-thumb.product-thumb-placeholder {
    font-size: 38px;
}

.product-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.product-head h3,
.product-head h4 {
    margin: 0;
    font-size: 15px;
    line-height: 1.18;
}

.product-head a {
    color: #fff;
}

.mini-chip {
    width: max-content;
    background: rgba(255, 189, 74, 0.12);
    color: #ffd28a;
}

.product-body p,
.product-summary,
.detail-copy p,
.content-card p,
.content-card li,
.contact-grid p {
    color: var(--app-muted);
    line-height: 1.5;
}

.product-body p {
    margin: 0;
    font-size: 12px;
    min-height: 34px;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.app-price,
.detail-price {
    font-weight: 900;
    font-size: 18px;
}

.app-price small {
    font-size: 11px;
    color: var(--app-muted);
}

.app-btn,
.app-btn-secondary,
.tp-btn-h1,
.tp-in-btn,
.cart-btn,
.error-btn,
.single-product-buy-now a,
.checkout button,
.order-button-payment button {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-weight: 900;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.app-btn,
.tp-btn-h1,
.tp-in-btn,
.cart-btn,
.error-btn,
.order-button-payment button {
    background: linear-gradient(135deg, var(--app-purple), var(--app-purple-2));
    color: #fff;
    box-shadow: 0 12px 28px rgba(139, 53, 255, 0.26);
}

.app-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid var(--app-stroke);
}

.empty-state,
.empty {
    text-align: center;
    padding: 26px 16px;
    border-radius: 20px;
    color: var(--app-muted);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.page-hero,
.detail-shell,
.checkout-layout,
.account-layout,
.contact-grid,
.info-layout {
    display: grid;
    gap: 14px;
}

.page-hero {
    padding: 18px 16px 4px;
}

.page-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--app-stroke);
    color: #ece7f7;
}

.content-card,
.sheet-card,
.summary-card,
.checkout-card,
.account-card,
.auth-card {
    border-radius: 26px;
    padding: 18px;
}

.page-title,
.detail-title,
.auth-card h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
}

.page-subtitle {
    margin: 10px 0 0;
    color: var(--app-muted);
    font-size: 14px;
    line-height: 1.55;
}

.detail-shell {
    padding: 6px 16px 0;
}

.detail-visual {
    padding: 14px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--app-stroke);
}

.detail-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
}

.detail-thumbs {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.detail-thumb {
    width: 74px;
    height: 74px;
    flex: 0 0 auto;
    border-radius: 18px;
    border: 1px solid transparent;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    padding: 0;
}

.detail-thumb.is-active {
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 0 0 2px rgba(139, 53, 255, 0.26);
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy {
    display: grid;
    gap: 14px;
}

.detail-copy p {
    margin: 0;
    font-size: 13px;
}

.option-grid {
    display: grid;
    gap: 10px;
}

.option-grid label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid var(--app-stroke);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.option-grid input {
    display: none;
}

.option-grid input:checked + span {
    color: #fff;
}

.option-grid input:checked + span::before {
    content: "Secili";
    margin-right: 8px;
    color: var(--app-gold);
    font-size: 11px;
    font-weight: 900;
}

.qty-row,
.product__modal-form .pro-quan-area,
.cart-line-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.qty-box,
.cart-plus-minus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid var(--app-stroke);
    background: rgba(255, 255, 255, 0.06);
}

.app-product-modal-actions {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    gap: 12px;
}

.cart-plus-minus {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
}


.qty-box input,
.cart-plus-minus input,
.product-quantity-box,
.line_quantity,
#product_quantity {
    width: 46px;
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
    color: #fff;
    font-weight: 800;
}

.qty-btn,
.qtybutton {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
    line-height: 1;
}

.cart-screen,
.checkout-screen,
.auth-screen,
.account-screen {
    padding-top: 8px;
}

.cart-stack,
.checkout-layout,
.account-layout,
.mobile-stack {
    display: grid;
    gap: 14px;
}

.cart-line {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    border-radius: 24px;
    padding: 12px;
}

.cart-line-media {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.cart-line-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-line-body {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.cart-line-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.cart-line-head h3 {
    margin: 0;
    font-size: 15px;
}

.cart-line-meta {
    margin: 0;
    color: var(--app-muted);
    font-size: 12px;
}

.remove-btn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 0;
    background: rgba(255, 101, 113, 0.16);
    color: #ff9ca4;
    display: grid;
    place-items: center;
}

.summary-card h3,
.checkout-card h3,
.account-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.summary-row,
.checkout-summary-row,
.account-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--app-muted);
}

.summary-row:last-child,
.checkout-summary-row:last-child,
.account-summary-row:last-child {
    border-bottom: 0;
}

.summary-row strong,
.checkout-summary-row strong,
.account-summary-row strong {
    color: #fff;
}

.order-success-address {
    flex-wrap: wrap;
}

.order-success-address strong {
    flex: 1 1 170px;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    line-height: 1.45;
}

.order-success-address span {
    flex: 0 0 auto;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

.summary-actions,
.coupon-all,
.checkout-actions-row {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.checkout-layout .checkout-card + .summary-card {
    position: static;
}

.form-grid,
.contact-grid {
    display: grid;
    gap: 12px;
}

.form-grid.two-col {
    grid-template-columns: 1fr 1fr;
}

.field-group label,
.checkout-form-list label,
.basic-login label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #f1ecfb;
    font-weight: 700;
}

.field-help,
.legal-note,
.muted-text {
    color: var(--app-muted);
    font-size: 12px;
    line-height: 1.5;
}

.delivery-zone-help {
    display: block;
    margin-top: 8px;
    color: #d8d1ff;
    font-size: 12px;
    line-height: 1.45;
}

.delivery-zone-help.is-invalid {
    color: #ffb4b4;
    font-weight: 700;
}

.phone-input-shell {
    position: relative;
}

.phone-input-shell .phone-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.phone-input-shell .app-input {
    padding-left: 34px;
}

.phone-input-shell.is-valid .app-input {
    border-color: rgba(69, 211, 146, 0.85);
}

.phone-input-shell.is-invalid .app-input {
    border-color: rgba(255, 101, 113, 0.9);
}

.phone-help {
    display: block;
    margin-top: 6px;
    color: var(--app-muted);
    font-size: 12px;
    line-height: 1.4;
}

.phone-input-shell.is-valid + .phone-help {
    color: #8ff0c2;
}

.phone-input-shell.is-invalid + .phone-help {
    color: #ffb4b4;
}

.auth-screen {
    padding: 18px 16px 0;
}

.auth-card {
    display: grid;
    gap: 16px;
}

.auth-actions,
.auth-links {
    display: grid;
    gap: 10px;
}

.app-footer {
    padding: 12px 16px 120px;
}

.footer-card {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--app-stroke);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    padding: 18px;
}

.footer-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.footer-card p {
    margin: 0;
    color: var(--app-muted);
    font-size: 13px;
}

.footer-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links a {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #eae4f8;
    font-size: 12px;
    font-weight: 700;
}

.floating-cart {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(100%, 520px);
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    pointer-events: none;
}

.floating-cart-link {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 22px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #ffffff, #e9ddff);
    color: #161020;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
}

.floating-cart-link,
.floating-cart-link strong,
.floating-cart-link span {
    color: #161020;
}

.floating-cart-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--app-purple), var(--app-purple-2));
    color: #fff;
    font-size: 20px;
}

.floating-cart-copy strong {
    display: block;
    font-size: 14px;
    color: #161020;
}

.floating-cart-copy span {
    display: block;
    margin-top: 2px;
    color: #655d70;
    font-size: 12px;
}

.floating-cart-cta {
    margin-left: auto;
    min-height: 44px;
    border-radius: 16px;
    background: #111;
    color: #fff;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 900;
}

.floating-cart-link .floating-cart-icon,
.floating-cart-link .floating-cart-icon i,
.floating-cart-link .floating-cart-cta {
    color: #fff;
}

.floating-cart[hidden] {
    display: none;
}

.toast,
#basketToasty {
    z-index: 130;
}

#basketToasty {
    background: linear-gradient(135deg, #ffffff, #f4ecff);
    color: #12101b;
    border-radius: 22px;
    border: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

#basketToasty .toast-header {
    background: transparent;
    border-bottom: 1px solid rgba(18, 16, 27, 0.08);
}

#basketToasty,
#basketToasty .toast-header,
#basketToasty .toast-body,
#basketToasty strong,
#basketToasty small {
    color: #12101b;
}

.app-modal .modal-dialog {
    width: min(100% - 24px, 480px);
    margin: 18px auto;
}

.app-modal .modal-content {
    border: 1px solid var(--app-stroke);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(18, 16, 27, 0.98), rgba(8, 7, 13, 0.98));
    color: #fff;
    overflow: hidden;
}

.app-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(8, 8, 8, 0.35);
    color: #fff;
    border: 0;
    z-index: 2;
}

.product__modal-img {
    padding: 16px 16px 0;
}

.product__modal-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.product__modal-content {
    padding: 18px;
}

.product__modal-content h4,
.product__modal-content h5 {
    margin: 0;
}

.product__modal-content h4 {
    font-size: 24px;
    text-align: left !important;
}

.product__modal-content h5 {
    margin-top: 10px;
    font-size: 22px;
    text-align: left !important;
}

.product__modal-content .rating {
    margin-top: 12px;
}

.product__modal-content .rating span {
    display: grid;
    gap: 10px;
    color: var(--app-muted);
    font-size: 13px;
    line-height: 1.5;
}

#productModalId .modal-dialog {
    width: min(100% - 18px, 460px);
    margin: 10px auto;
}

#productModalId .app-product-modal-shell {
    max-height: calc(100vh - 20px);
    border-radius: 30px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

#productModalId .app-product-modal-shell::-webkit-scrollbar {
    display: none;
}

#productModalId .product__modal-img {
    padding: 16px 16px 0;
    background:
        radial-gradient(circle at top right, rgba(139, 53, 255, 0.24), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

#productModalId .product__modal-img img {
    display: block;
    max-height: min(42vh, 330px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
}

#productModalId .product__modal-content {
    display: grid;
    gap: 14px;
    padding: 18px 18px 20px;
}

#productModalId .product__modal-content h4 {
    font-size: clamp(24px, 4.8vw, 30px);
    line-height: 1.08;
}

#productModalId .product__modal-content h4 a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

#productModalId .product__modal-content h5 {
    margin-top: 0;
    color: #ffd28a;
    font-size: clamp(22px, 4.3vw, 28px);
}

#productModalId .product__modal-content .rating {
    margin-top: 0;
    justify-content: flex-start;
}

#productModalId .product__modal-content .rating span {
    overflow-wrap: anywhere;
}

#productModalId .app-product-modal-form {
    margin-top: 2px !important;
}

#productModalId .app-product-modal-actions {
    display: grid;
    grid-template-columns: minmax(0, 138px) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

#productModalId .cart-plus-minus {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    gap: 8px;
    padding: 8px;
}

#productModalId .cart-plus-minus .qtybutton {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    font-size: 24px;
    line-height: 1;
}

#productModalId .cart-plus-minus input,
#productModalId .product-quantity-box {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    font-size: 20px;
}

#productModalId .pro-cart-btn,
#productModalId .cart-btn {
    width: 100%;
}

#productModalId .cart-btn {
    min-height: 58px;
    border-radius: 18px;
    font-size: 15px;
    letter-spacing: 0.01em;
}

@media (max-width: 520px) {
    #productModalId .modal-dialog {
        width: calc(100% - 14px);
        margin: 7px auto;
    }

    #productModalId .app-product-modal-shell {
        max-height: calc(100vh - 14px);
        border-radius: 26px;
    }

    #productModalId .product__modal-img {
        padding: 12px 12px 0;
    }

    #productModalId .product__modal-img img {
        max-height: min(35vh, 280px);
        border-radius: 22px;
    }

    #productModalId .product__modal-content {
        gap: 12px;
        padding: 16px 14px 16px;
    }

    #productModalId .product__modal-content h4 {
        font-size: 18px;
        line-height: 1.16;
    }

    #productModalId .product__modal-content h5 {
        font-size: 18px;
    }

    #productModalId .app-product-modal-actions {
        grid-template-columns: 1fr;
    }

    #productModalId .cart-plus-minus {
        max-width: 168px;
    }

    #productModalId .cart-btn {
        min-height: 54px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    #productModalId .modal-dialog {
        width: calc(100% - 10px);
        margin: 5px auto;
    }

    #productModalId .app-product-modal-shell {
        max-height: calc(100vh - 10px);
        border-radius: 24px;
    }

    #productModalId .product__modal-img img {
        max-height: min(31vh, 230px);
    }

    #productModalId .cart-plus-minus {
        max-width: 100%;
    }
}

.productModalSection {
    display: grid;
    gap: 8px;
}

.productModalSectionTitle {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.productSelections,
.sauceSelections {
    display: grid;
    gap: 10px;
}

.productSelections .btn,
.sauceSelections .btn {
    width: 100%;
    text-align: left;
    justify-content: space-between;
    border-radius: 16px;
    border: 1px solid var(--app-stroke);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.productSelections .btn-check:checked + .btn,
.sauceSelections .btn-check:checked + .btn {
    background: linear-gradient(135deg, var(--app-purple), var(--app-purple-2));
    border-color: transparent;
}

.alert {
    border: 0;
    border-radius: 18px;
    padding: 14px 16px;
}

.alert-danger {
    background: rgba(255, 101, 113, 0.14);
    color: #ffc1c7;
}

.alert-success {
    background: rgba(41, 216, 132, 0.16);
    color: #b5ffd8;
}

.content-card ul,
.content-card ol,
.about-content ul,
.about-content ol {
    padding-left: 18px;
}

.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4,
.content-card h5,
.content-card h6,
.about-content h1,
.about-content h2,
.about-content h3,
.about-content h4,
.about-content h5,
.about-content h6 {
    color: #fff;
}

.mobile-app-body table {
    width: 100%;
    color: #fff;
}

.mobile-app-body .table-responsive {
    overflow-x: auto;
}

.mobile-app-body .table thead th,
.mobile-app-body .table tbody td,
.mobile-app-body .table tbody th {
    border-color: rgba(255, 255, 255, 0.08);
}

.mobile-app-body .accordion-item,
.mobile-app-body .product-widget,
.mobile-app-body .your-order,
.mobile-app-body .basic-login,
.mobile-app-body .coupon-accordion,
.mobile-app-body .error-content,
.mobile-app-body .error-info {
    border: 1px solid var(--app-stroke);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.045));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.mobile-app-body .basic-login,
.mobile-app-body .your-order,
.mobile-app-body .coupon-accordion,
.mobile-app-body .product-widget,
.mobile-app-body .error-content {
    padding: 18px;
}

.mobile-app-body .accordion-button {
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.mobile-app-body .accordion-button:not(.collapsed) {
    background: transparent;
    color: #fff;
}

.account-menu {
    display: grid;
    gap: 10px;
}

.account-menu button,
.account-menu a {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 700;
}

.account-menu .active {
    background: linear-gradient(135deg, var(--app-purple), var(--app-purple-2));
}

.content {
    display: none;
}

.content.active {
    display: block;
}

@media (max-width: 460px) {
    .quick-info,
    .form-grid.two-col {
        grid-template-columns: 1fr;
    }

    .product-card,
    .cart-line {
        grid-template-columns: 72px 1fr;
    }

    .product-thumb,
    .cart-line-media {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 380px) {
    .home-category-grid {
        grid-template-columns: 1fr;
    }
}
