:root {
    --bg: #fcf7f9;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --text: #182033;
    --muted: #6f7891;
    --border: rgba(24, 32, 51, 0.08);
    --primary: #ff3f8e;
    --primary-2: #ff7a29;
    --success: #17b26a;
    --danger: #ef4e7b;
    --shadow: 0 18px 50px rgba(20, 28, 45, 0.08);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 111, 151, 0.18), transparent 24%),
        radial-gradient(circle at top right, rgba(255, 175, 87, 0.12), transparent 18%),
        linear-gradient(180deg, #fffafb 0%, #fcf7f9 45%, #fbf5f8 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-shell {
    min-height: 100vh;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(24, 32, 51, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.95rem;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.7rem;
    font-size: 0.95rem;
}

.site-nav a {
    color: var(--muted);
    position: relative;
    padding: 0.2rem 0;
}

.site-nav a.is-active,
.site-nav a:hover {
    color: var(--text);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.55rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    border-radius: 999px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.account-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.8rem 0.35rem 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.account-pill__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    font-weight: 700;
}

.account-pill__content {
    display: grid;
    line-height: 1.2;
}

.account-pill__content small {
    color: var(--muted);
    font-size: 0.72rem;
}

.icon-button {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.75);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.icon-button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 63, 142, 0.22);
}

.badge-count {
    position: absolute;
    top: -0.3rem;
    right: -0.18rem;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--primary), var(--primary-2));
    color: #fff;
    font-size: 0.68rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.24rem;
}

.mobile-nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.alert {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow);
}

.alert--error {
    color: #a4355d;
    border-color: rgba(239, 78, 123, 0.18);
    background: rgba(255, 236, 243, 0.92);
}

.alert--success {
    color: #0f6f45;
    border-color: rgba(23, 178, 106, 0.16);
    background: rgba(233, 252, 242, 0.92);
}

.alert--warning {
    color: #8f5f18;
    border-color: rgba(255, 174, 0, 0.2);
    background: rgba(255, 247, 225, 0.92);
}

.hero {
    padding: 3.5rem 0 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 63, 142, 0.12);
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 600;
}

.hero-copy h1,
.page-hero h1 {
    margin: 1rem 0 0.7rem;
    font-size: clamp(2.5rem, 5vw, 4.1rem);
    line-height: 1.05;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p,
.page-hero p,
.section-copy {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    line-height: 1.75;
}

.hero-actions,
.button-row,
.stack-buttons {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.hero-actions {
    margin: 1.5rem 0 1.7rem;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 0.95rem 1.3rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    box-shadow: 0 18px 24px rgba(255, 84, 133, 0.18);
}

.btn--secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
}

.btn--ghost {
    color: var(--primary);
    background: rgba(255, 63, 142, 0.08);
}

.btn--block {
    width: 100%;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.3rem;
}

.stat-card {
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    font-size: 1.55rem;
    margin-bottom: 0.15rem;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-panel,
.surface-card,
.contact-band,
.about-band {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(24, 32, 51, 0.06);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 1.7rem;
    background:
        linear-gradient(135deg, rgba(255, 90, 146, 0.1), rgba(255, 140, 72, 0.08)),
        rgba(255, 255, 255, 0.92);
}

.hero-panel h3,
.surface-card h3,
.summary-card h3,
.empty-state h3,
.auth-card h2 {
    margin-top: 0;
}

.hero-panel ul {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: grid;
    gap: 0.9rem;
}

.hero-panel li,
.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--muted);
}

.hero-panel li span,
.benefit-list li span,
.step-icon,
.about-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(255, 63, 142, 0.1);
    color: var(--primary);
    font-weight: 700;
}

.section {
    padding: 1.5rem 0 3rem;
}

.section--tight {
    padding-top: 0;
}

.section-head,
.section-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.35rem;
}

.section-head h2,
.section-top h2,
.related-products h2 {
    margin: 0 0 0.3rem;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.section-head p,
.section-top p,
.related-products p {
    margin: 0;
    color: var(--muted);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.category-card {
    padding: 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 63, 142, 0.14);
}

.category-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.72), transparent 34%),
        linear-gradient(135deg, var(--category-color), rgba(255, 255, 255, 0.16));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 15px 30px rgba(24, 32, 51, 0.1);
}

.category-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.category-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-card__visual,
.cart-item__media,
.product-detail__visual,
.media-swatch {
    position: relative;
    min-height: 210px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 28%),
        linear-gradient(135deg, var(--product-color), var(--product-color-2));
    color: #fff;
}

.product-card__visual img,
.cart-item__media img,
.product-detail__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__mark,
.cart-item__media span,
.product-detail__visual span {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.product-card__flag {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
}

.product-card__body {
    padding: 1rem 1rem 0.9rem;
}

.product-card__eyebrow,
.product-meta,
.meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.product-card__eyebrow {
    justify-content: space-between;
    margin-bottom: 0.7rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.product-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
}

.product-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0 0.6rem;
}

.product-price strong {
    font-size: 1.45rem;
}

.product-price span {
    text-decoration: line-through;
    color: var(--muted);
}

.product-price small {
    color: var(--success);
    font-weight: 700;
}

.product-meta {
    color: var(--muted);
    font-size: 0.78rem;
}
.product-card__form,
.detail-purchase-form {
    display: grid;
    gap: 0.85rem;
}

.product-card__form {
    padding: 0 1rem 1rem;
    margin-top: auto;
}

.detail-purchase-form {
    margin: 1.4rem 0;
}

.product-card__selector,
.detail-variant-select {
    display: grid;
    gap: 0.4rem;
}

.product-card__selector span,
.detail-variant-select span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.product-card__selector select,
.detail-variant-select select {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.9rem 1rem;
    color: var(--text);
}

.product-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.product-card__actions .btn,
.detail-actions .btn {
    white-space: nowrap;
}

.availability-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.66rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.72rem;
}

.availability-pill.is-in {
    color: #0f7f4d;
    background: rgba(23, 178, 106, 0.11);
}

.availability-pill.is-out {
    color: #a93f69;
    background: rgba(239, 78, 123, 0.11);
}

.page-hero {
    padding: 2.7rem 0 1.3rem;
}

.page-hero__card {
    padding: 2rem;
}

.search-form,
.filter-bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.search-form input,
.auth-card input,
.auth-card select,
.summary-card input,
.summary-card textarea,
.field input,
.field select,
.field textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.95rem 1rem;
    color: var(--text);
}

.chip-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    color: var(--muted);
}

.chip.is-active,
.chip:hover {
    color: var(--text);
    border-color: rgba(255, 63, 142, 0.18);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.product-detail__visual {
    min-height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-detail__panel {
    padding: 1.8rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.option-pill-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.option-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 63, 142, 0.18);
    background: rgba(255, 63, 142, 0.08);
    color: var(--primary);
    font-weight: 600;
}

.detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.meta-row {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.feature-panel {
    border-radius: 24px;
    padding: 1.25rem;
    background: rgba(255, 76, 140, 0.05);
    border: 1px solid rgba(255, 76, 140, 0.14);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--muted);
}

.feature-list li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 178, 106, 0.12);
    color: var(--success);
    font-size: 0.8rem;
    flex: 0 0 auto;
}

.steps-grid,
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.step-card,
.about-item,
.summary-card,
.cart-card,
.empty-state {
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.step-card p,
.about-item p,
.summary-card p,
.empty-state p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-band,
.about-band {
    padding: 2rem;
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 1.5rem;
    align-items: start;
}

.payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.about-grid {
    margin-top: 1.2rem;
}

.cart-page {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    gap: 1.5rem;
    align-items: start;
}

.cart-list {
    display: grid;
    gap: 1rem;
}

.cart-card {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 1rem;
    align-items: center;
}

.media-swatch {
    min-height: 120px;
    border-radius: 22px;
}

.cart-item__media {
    min-height: 74px;
    width: 74px;
    border-radius: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(24, 32, 51, 0.06);
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item__content {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
}

.cart-item__content a {
    font-weight: 600;
}

.cart-item__content small,
.qty-form span,
.summary-list li span:last-child {
    color: var(--muted);
}

.cart-item__actions {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: center;
    margin-top: 0.6rem;
}

.qty-form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-form button {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.85);
}

.cart-item__remove {
    border: 0;
    background: transparent;
    color: var(--danger);
    padding: 0;
}

.cart-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.payment-option-list {
    display: grid;
    gap: 0.85rem;
}

.payment-option-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.payment-option-card input {
    position: absolute;
    opacity: 0;
    inset: 0;
}

.payment-option-card__content {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.payment-option-card__content small {
    color: var(--muted);
    line-height: 1.6;
}

.payment-option-card input:checked + .payment-option-card__content {
    border-color: rgba(255, 63, 142, 0.28);
    background: rgba(255, 244, 249, 0.98);
    box-shadow: 0 16px 30px rgba(255, 84, 133, 0.12);
    transform: translateY(-1px);
}

.payment-account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.1rem;
}

.payment-account-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.86);
    color: var(--muted);
    font-weight: 600;
}

.payment-account-tab.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.payment-qr-card {
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: 24px;
    background: rgba(255, 63, 142, 0.04);
    border: 1px solid rgba(255, 63, 142, 0.12);
}

.payment-qr-card__visual {
    width: min(320px, 100%);
    margin: 0 auto 1rem;
    padding: 1rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.payment-qr-card__visual img {
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.payment-qr-card__meta {
    display: grid;
    gap: 0.35rem;
    text-align: center;
    margin-bottom: 1rem;
}

.payment-qr-card__meta span {
    color: var(--muted);
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 0.8rem;
}

.summary-list li,
.cart-total-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.empty-state {
    text-align: center;
}

.empty-state.compact {
    margin: auto 1rem;
}

.site-footer {
    padding: 2rem 0 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(24, 32, 51, 0.05);
    background: rgba(255, 255, 255, 0.66);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
    gap: 1.25rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--text);
}

.social-row {
    display: flex;
    gap: 0.7rem;
    margin-top: 1rem;
}

.social-row a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
}

.footer-bottom {
    padding-top: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(24, 32, 51, 0.05);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(18, 24, 38, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 28;
}

.cart-drawer {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: min(420px, 100%);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -30px 0 70px rgba(11, 17, 29, 0.14);
    z-index: 30;
    transform: translateX(100%);
    transition: transform 0.22s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer__header,
.cart-drawer__footer {
    padding: 1.3rem 1.2rem;
    border-bottom: 1px solid rgba(24, 32, 51, 0.06);
}

.cart-drawer__footer {
    border-bottom: 0;
    border-top: 1px solid rgba(24, 32, 51, 0.06);
    margin-top: auto;
}

.cart-drawer__items {
    padding: 0 1.2rem;
    overflow-y: auto;
}

body.cart-open {
    overflow: hidden;
}

body.cart-open .cart-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.cart-open .cart-drawer {
    transform: translateX(0);
}

.auth-layout {
    min-height: calc(100vh - 180px);
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0 4rem;
}

.auth-panel,
.auth-card {
    padding: 2rem;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.auth-panel {
    background:
        linear-gradient(180deg, rgba(255, 112, 156, 0.08), rgba(255, 255, 255, 0.9)),
        rgba(255, 255, 255, 0.92);
}

.auth-panel .brand-mark {
    width: 112px;
    height: 112px;
    border-radius: 32px;
    display: grid;
    place-items: center;
    background: #fff;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.benefit-list {
    list-style: none;
    margin: 1.8rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.form-stack {
    display: grid;
    gap: 1rem;
}

.auth-switch {
    margin-top: 1.25rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 63, 142, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}

.auth-switch a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--muted);
}

.auth-switch a.is-active {
    background: #fff;
    color: var(--text);
    box-shadow: 0 10px 22px rgba(20, 28, 45, 0.08);
}

.order-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.order-card {
    padding: 1.15rem;
    border-radius: 22px;
    background: rgba(255, 63, 142, 0.04);
    border: 1px solid rgba(255, 63, 142, 0.12);
}

.order-card__header,
.order-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-card__header small {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted);
}

.order-card__meta {
    margin: 0.85rem 0 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-pill--pending {
    background: rgba(255, 189, 92, 0.2);
    color: #946100;
}

.status-pill--submitted {
    background: rgba(93, 128, 255, 0.14);
    color: #3259c9;
}

.status-pill--confirmed,
.status-pill--processing {
    background: rgba(93, 128, 255, 0.14);
    color: #3259c9;
}

.status-pill--completed {
    background: rgba(23, 178, 106, 0.14);
    color: #0f7b4b;
}

.status-pill--cancelled {
    background: rgba(239, 78, 123, 0.14);
    color: #a33a63;
}

.status-pill--failed {
    background: rgba(239, 78, 123, 0.14);
    color: #a33a63;
}

.status-pill--not_required {
    background: rgba(24, 32, 51, 0.08);
    color: var(--muted);
}

.setup-note {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 247, 225, 0.9);
    color: #90611c;
    border: 1px solid rgba(255, 186, 60, 0.25);
}

@media (max-width: 1120px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-grid,
    .product-detail,
    .cart-page,
    .account-grid,
    .payment-grid,
    .auth-layout,
    .footer-grid,
    .steps-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 840px) {
    .mobile-nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.6rem);
        padding: 1rem;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 22px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .site-nav.is-open {
        display: flex;
    }

    .stats-row,
    .product-card__actions,
    .detail-actions {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 580px) {
    .container {
        width: min(var(--container), calc(100% - 1.2rem));
    }

    .product-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .cart-card {
        grid-template-columns: 1fr;
    }

    .cart-item__actions,
    .detail-actions,
    .button-row,
    .hero-actions,
    .order-card__header,
    .order-card__meta {
        flex-direction: column;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .brand span small {
        display: none;
    }

    .account-pill {
        padding-right: 0.35rem;
    }

    .account-pill__content {
        display: none;
    }
}
