:root {
    --primary: #635bff;
    --primary-dark: #4a43d8;
    --primary-soft: #efefff;
    --navy: #101427;
    --text: #1a2035;
    --muted: #687086;
    --line: #e5e8f0;
    --surface: #ffffff;
    --surface-soft: #f6f7fb;
    --success: #139c68;
    --danger: #d9475c;
    --warning: #d88a18;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(16, 20, 39, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(229, 232, 240, .9);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #7a73ff, #4e46d9);
    box-shadow: 0 8px 20px rgba(99, 91, 255, .3);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a,
.nav-link-button {
    border: 0;
    border-radius: 10px;
    padding: 9px 12px;
    color: #525b70;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
}

.main-nav a:hover,
.main-nav a.active,
.nav-link-button:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.main-nav .nav-cta {
    margin-left: 6px;
    color: #fff;
    background: var(--primary);
}

.main-nav .nav-cta:hover {
    color: #fff;
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    padding: 8px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    display: block;
    margin: 5px 0;
    background: var(--navy);
}

.hero {
    overflow: hidden;
    padding: 88px 0;
    color: #fff;
    background:
        radial-gradient(circle at 75% 30%, rgba(111, 103, 255, .48), transparent 28%),
        linear-gradient(135deg, #11162c 0%, #27215f 60%, #4c43bb 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 68px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #c9c6ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.eyebrow.dark {
    color: var(--primary);
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: -2.6px;
}

.hero-content > p {
    max-width: 650px;
    margin: 24px 0 0;
    color: #d8d9e8;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 750;
    transition: .2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 10px 24px rgba(99, 91, 255, .22);
}

.button-primary:hover {
    background: var(--primary-dark);
}

.button-light {
    color: var(--navy);
    background: #fff;
}

.button-outline {
    color: var(--text);
    border-color: var(--line);
    background: #fff;
}

.button-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.button-disabled {
    color: #999fb0;
    border-color: var(--line);
    background: #eef0f5;
    cursor: not-allowed;
}

.button-disabled:hover {
    transform: none;
}

.button-full {
    width: 100%;
}

.button-large {
    min-height: 54px;
    padding: 14px 24px;
    font-size: 16px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    color: #c9ccdc;
    font-size: 13px;
}

.hero-panel {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
    backdrop-filter: blur(14px);
}

.hero-panel-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 750;
}

.live-dot {
    color: #7ff0bc;
}

.hero-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hero-service-grid div {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
}

.hero-service-grid b {
    font-size: 25px;
}

.hero-service-grid span {
    color: #d5d5e5;
    font-size: 13px;
}

.hero-order-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 12px;
    padding: 18px;
    border-radius: 16px;
    color: var(--navy);
    background: #fff;
}

.hero-order-card > span,
.hero-order-card small {
    color: var(--muted);
}

.section {
    padding: 76px 0;
}

.section-muted {
    background: var(--surface-soft);
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    letter-spacing: -1.2px;
}

.section-heading > a {
    color: var(--primary);
    font-weight: 750;
}

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

.category-card {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    transition: .2s ease;
}

.category-card:hover {
    border-color: #bdb9ff;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.category-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--primary);
    background: var(--primary-soft);
    font-weight: 850;
}

.category-card div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-card small {
    color: var(--muted);
}

.category-card > b {
    color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: .22s ease;
}

.product-card:hover {
    border-color: #c6c2ff;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    height: 205px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #27215f, #7169ff);
    font-size: 42px;
    font-weight: 850;
}

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

.featured-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--primary);
    background: #fff;
    font-size: 11px;
}

.product-card-body {
    padding: 18px;
}

.product-category {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.product-card h3 {
    min-height: 50px;
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.product-card h3 a:hover {
    color: var(--primary);
}

.product-card p {
    min-height: 44px;
    margin: 9px 0 17px;
    color: var(--muted);
    font-size: 14px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.product-meta strong {
    font-size: 21px;
}

.product-meta del {
    margin-left: 5px;
    color: #969bad;
    font-size: 13px;
}

.stock-ok {
    color: var(--success);
}

.stock-out {
    color: var(--danger);
}

.product-meta > span {
    font-size: 12px;
    font-weight: 750;
}

.empty-state {
    padding: 70px 20px;
    border: 1px dashed #cfd3df;
    border-radius: var(--radius);
    text-align: center;
    background: var(--surface-soft);
}

.empty-state > div {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 18px;
    color: var(--primary);
    background: var(--primary-soft);
    font-weight: 850;
}

.empty-state h3 {
    margin: 0;
    font-size: 25px;
}

.empty-state p {
    color: var(--muted);
}

.cta-section {
    padding-top: 0;
}

.cta-box {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 44px;
    border-radius: 25px;
    color: #fff;
    background: linear-gradient(135deg, #11162c, #5148c8);
}

.cta-box h2 {
    max-width: 720px;
    margin: 0;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-header {
    padding: 70px 0;
    color: #fff;
    background: linear-gradient(135deg, #11162c, #41398f);
}

.page-header.compact {
    padding: 52px 0;
}

.page-header h1 {
    margin: 0;
    font-size: clamp(35px, 5vw, 52px);
    letter-spacing: -1.7px;
}

.page-header p {
    margin: 10px 0 0;
    color: #d8d9e7;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 230px auto auto;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-soft);
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d9dde8;
    border-radius: 10px;
    outline: none;
    color: var(--text);
    background: #fff;
    transition: .15s ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, .11);
}

.result-line {
    margin: 22px 0;
    color: var(--muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
}

.pagination a,
.pagination .disabled {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .disabled {
    opacity: .45;
}

.product-detail-section {
    padding-top: 35px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.detail-image {
    min-height: 510px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 25px;
    color: #fff;
    background: linear-gradient(135deg, #211b55, #7a73ff);
    font-size: 85px;
    font-weight: 850;
}

.detail-image img {
    width: 100%;
    height: 510px;
    object-fit: cover;
}

.detail-content h1 {
    margin: 7px 0 13px;
    font-size: clamp(35px, 5vw, 51px);
    line-height: 1.08;
    letter-spacing: -1.7px;
}

.detail-short {
    color: var(--muted);
    font-size: 17px;
}

.detail-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
}

.detail-price strong {
    font-size: 38px;
}

.detail-price del {
    color: #a1a6b4;
    font-size: 18px;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.detail-facts div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.detail-facts span,
.detail-facts strong {
    display: block;
}

.detail-facts span {
    color: var(--muted);
    font-size: 12px;
}

.detail-facts strong {
    margin-top: 3px;
    font-size: 13px;
}

.buyer-protection {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.description-card,
.receipt-card,
.checkout-card,
.account-panel,
.table-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 35px rgba(16, 20, 39, .04);
}

.description-card {
    margin-top: 48px;
    padding: 30px;
}

.description-card h2 {
    margin-top: 0;
}

.description-content {
    color: #4f576a;
    line-height: 1.8;
}

.auth-section {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 55px 16px;
    background:
        radial-gradient(circle at 20% 10%, rgba(99, 91, 255, .15), transparent 30%),
        var(--surface-soft);
}

.auth-card {
    width: min(480px, 100%);
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.auth-brand {
    margin-bottom: 30px;
}

.auth-card h1 {
    margin: 0;
    font-size: 32px;
    letter-spacing: -1px;
}

.auth-card > p {
    color: var(--muted);
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.form-stack label > span,
.form-grid label > span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-label input {
    width: 17px;
    min-height: auto;
}

.checkbox-label span {
    margin: 0 !important;
}

.auth-switch {
    margin: 23px 0 0 !important;
    text-align: center;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 750;
}

.form-errors,
.alert {
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 11px;
    font-size: 14px;
}

.form-errors,
.alert-error {
    border: 1px solid #f2b8c1;
    color: #9d2034;
    background: #fff0f2;
}

.alert {
    margin-top: 18px;
}

.alert-success {
    border: 1px solid #a9e4cc;
    color: #087b51;
    background: #eafaf3;
}

.form-errors ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: .2s ease;
}

.stat-card:hover {
    border-color: #bbb7ff;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
}

.stat-card strong {
    margin: 7px 0;
    font-size: 31px;
}

.stat-card small {
    color: var(--primary);
    font-weight: 700;
}

.account-grid {
    display: grid;
    grid-template-columns: 1.6fr .8fr;
    gap: 20px;
}

.account-panel {
    padding: 25px;
}

.panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.panel-heading h2,
.account-panel h2 {
    margin: 0;
}

.panel-heading p {
    margin: 4px 0 0;
    color: var(--muted);
}

.panel-heading a {
    color: var(--primary);
    font-weight: 750;
}

.order-list {
    display: flex;
    flex-direction: column;
}

.order-list-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.order-list-item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-list-item > div:last-child {
    align-items: end;
}

.order-list-item span {
    color: var(--muted);
    font-size: 12px;
}

.account-profile dl,
.receipt-summary dl {
    margin: 20px 0 0;
}

.account-profile dl div,
.receipt-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

dt {
    color: var(--muted);
}

dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 24px;
    align-items: start;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkout-card {
    padding: 26px;
}

.checkout-step {
    display: flex;
    align-items: start;
    gap: 13px;
    margin-bottom: 23px;
}

.checkout-step > span {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--primary);
    font-weight: 800;
}

.checkout-step h2 {
    margin: 0;
}

.checkout-step p {
    margin: 3px 0 0;
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

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

.payment-options {
    display: grid;
    gap: 12px;
}

.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    cursor: pointer;
}

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.payment-option input {
    position: absolute;
    opacity: 0;
}

.payment-radio {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    border: 2px solid #b6bbca;
    border-radius: 50%;
}

.payment-option input:checked + .payment-radio {
    border: 6px solid var(--primary);
}

.payment-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--primary);
    background: #fff;
    font-weight: 850;
}

.payment-option > span:last-child {
    display: flex;
    flex-direction: column;
}

.payment-option small {
    color: var(--muted);
}

.order-summary {
    position: sticky;
    top: 96px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.order-summary h2 {
    margin-top: 0;
}

.summary-product {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 19px;
    border-bottom: 1px solid var(--line);
}

.summary-image {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #27215f, #7169ff);
    font-weight: 850;
}

.summary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-product > div:last-child {
    display: flex;
    flex-direction: column;
}

.summary-product span {
    color: var(--muted);
    font-size: 12px;
}

.quantity-field {
    display: block;
    margin: 18px 0;
}

.quantity-field span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

.summary-line,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
}

.summary-line {
    color: var(--muted);
}

.summary-total {
    margin-top: 8px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    font-size: 20px;
}

.summary-security {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 11px;
    color: #516172;
    background: var(--surface-soft);
    font-size: 12px;
}

.table-card {
    overflow: hidden;
}

.responsive-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

th,
td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 14px;
}

th {
    color: var(--muted);
    background: var(--surface-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.table-link {
    color: var(--primary);
    font-weight: 750;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    color: #586074;
    background: #edf0f5;
    font-size: 11px !important;
    font-weight: 800;
}

.status-processing,
.status-in_review,
.payment-pending {
    color: #99600c;
    background: #fff1d7;
}

.status-completed,
.payment-paid {
    color: #087b51;
    background: #e4f8ef;
}

.status-cancelled,
.status-refunded,
.payment-failed,
.payment-refunded {
    color: #a62c40;
    background: #ffe8ec;
}

.status-pending_payment,
.payment-unpaid {
    color: #596173;
    background: #edf0f5;
}

.receipt-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 24px;
    align-items: start;
}

.receipt-grid > div {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.receipt-card {
    padding: 25px;
}

.receipt-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.receipt-heading span {
    color: var(--muted);
}

.receipt-heading h2 {
    margin: 2px 0 0;
}

.order-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 27px;
}

.order-progress::before {
    position: absolute;
    z-index: 0;
    top: 18px;
    left: 16%;
    right: 16%;
    height: 2px;
    content: "";
    background: var(--line);
}

.order-progress div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #9ba1b0;
    text-align: center;
    font-size: 12px;
}

.order-progress span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #e7eaf0;
}

.order-progress .done {
    color: var(--success);
}

.order-progress .done span {
    color: #fff;
    background: var(--success);
}

.delivery-card {
    border-color: #abe1cb;
    background: #f5fffa;
}

.delivery-title > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.delivery-title h2,
.delivery-title p {
    margin: 0;
}

.delivery-title p {
    color: var(--muted);
}

.delivery-check {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--success);
}

.delivery-list {
    margin-top: 20px;
    border: 1px solid #c9ebdc;
    border-radius: 13px;
    background: #fff;
}

.delivery-list > div {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 13px;
    border-bottom: 1px solid #e5f3ec;
}

.delivery-list > div:last-child {
    border-bottom: 0;
}

.delivery-list span {
    color: var(--muted);
    font-size: 12px;
}

.delivery-list button {
    padding: 6px 9px;
    border: 0;
    border-radius: 7px;
    color: var(--primary);
    background: var(--primary-soft);
    cursor: pointer;
    font-weight: 750;
}

.waiting-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.waiting-card > span {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--warning);
    background: #fff1d8;
    font-size: 21px;
}

.waiting-card h2,
.waiting-card p {
    margin: 0;
}

.waiting-card p {
    margin-top: 4px;
    color: var(--muted);
}

.receipt-summary {
    position: sticky;
    top: 96px;
}

.billing-box {
    margin: 22px 0;
    padding: 15px;
    border-radius: 12px;
    background: var(--surface-soft);
}

.billing-box h3 {
    margin-top: 0;
}

.billing-box p {
    display: flex;
    flex-direction: column;
    margin: 9px 0;
}

.billing-box span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
}

.wallet-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 22px;
    align-items: start;
}

.wallet-balance-card {
    padding: 28px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #171b36, #635bff);
    box-shadow: var(--shadow);
}

.wallet-balance-card > span {
    color: #d5d6e6;
}

.wallet-balance-card strong {
    display: block;
    margin: 6px 0;
    font-size: 45px;
}

.wallet-balance-card p {
    margin-bottom: 0;
    color: #dddff0;
}

.add-funds-card {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.add-funds-card h2 {
    margin: 0;
}

.add-funds-card p {
    color: var(--muted);
}

.transaction-list {
    display: flex;
    flex-direction: column;
}

.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.transaction-item > div {
    display: flex;
    flex-direction: column;
}

.transaction-item span,
.transaction-item small {
    color: var(--muted);
}

.amount-positive {
    color: var(--success);
}

.amount-negative {
    color: var(--danger);
}

.mini-empty {
    padding: 32px 0;
    color: var(--muted);
    text-align: center;
}

.site-footer {
    padding: 55px 0 20px;
    color: #c5c8d6;
    background: var(--navy);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    color: #fff;
}

.footer-grid p {
    max-width: 420px;
    color: #9399ad;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-grid strong {
    margin-bottom: 5px;
    color: #fff;
}

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #858b9e;
    font-size: 13px;
}

@media (max-width: 1000px) {
    .hero-grid,
    .product-detail-grid,
    .checkout-grid,
    .receipt-grid,
    .wallet-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .order-summary,
    .receipt-summary {
        position: static;
    }

    .detail-image {
        min-height: 420px;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px 20px;
        border-bottom: 1px solid var(--line);
        background: #fff;
    }

    .menu-open .main-nav {
        display: flex;
    }

    .main-nav form,
    .nav-link-button {
        width: 100%;
        text-align: left;
    }

    .hero {
        padding: 62px 0;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero h1 {
        font-size: 44px;
        letter-spacing: -1.8px;
    }

    .section {
        padding: 55px 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .product-grid,
    .category-grid,
    .stat-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .detail-facts {
        grid-template-columns: 1fr;
    }

    .detail-image,
    .detail-image img {
        min-height: 330px;
        height: 330px;
    }

    .cta-box,
    .receipt-heading {
        align-items: start;
        flex-direction: column;
    }

    .cta-box {
        padding: 30px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .delivery-list > div {
        grid-template-columns: 1fr auto;
    }

    .delivery-list > div span {
        grid-column: 1 / -1;
    }

    .order-progress b {
        font-size: 10px;
    }

    .auth-card {
        padding: 25px 20px;
    }
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 42px;
    object-fit: contain;
}

.footer-logo {
    max-height: 46px;
}

.currency-form {
    margin: 0;
}

.currency-form select {
    width: auto;
    min-width: 76px;
    min-height: 39px;
    padding: 7px 28px 7px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--text);
    background-color: #fff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.oauth-divider {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 24px 0 18px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.oauth-divider::before {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    content: "";
    background: var(--line);
}

.oauth-divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #fff;
}

.google-button {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--text);
    background: #fff;
    font-weight: 750;
    transition: .2s ease;
}

.google-button:hover {
    border-color: #b9b5ff;
    background: var(--primary-soft);
    transform: translateY(-1px);
}

.google-mark {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: #4285f4;
    background: #fff;
    font-size: 16px;
    font-weight: 850;
}

@media (max-width: 760px) {
    .currency-form,
    .currency-form select {
        width: 100%;
    }
}
