:root {
    --kt-primary: #0f766e;
    --kt-primary-dark: #115e59;
    --kt-accent: #f59e0b;
    --kt-dark: #0f172a;
    --kt-muted: #64748b;
    --kt-border: #e2e8f0;
    --kt-background: #f8fafc;
    --kt-white: #ffffff;
    --kt-danger: #b91c1c;
    --kt-success: #166534;
}

* {
    box-sizing: border-box;
}

body.kitomanga-public-body {
    margin: 0;
    background: var(--kt-background);
    color: var(--kt-dark);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

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

.public-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--kt-border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(12px);
}

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

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--kt-dark);
    text-decoration: none;
}

.public-brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(
        135deg,
        var(--kt-primary),
        #14b8a6
    );
    color: white;
    font-size: 1.3rem;
    font-weight: 900;
}

.public-brand strong,
.public-brand small {
    display: block;
}

.public-brand strong {
    font-size: 1.15rem;
}

.public-brand small {
    margin-top: 2px;
    color: var(--kt-muted);
    font-size: 0.72rem;
}

.public-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.public-menu a,
.public-link-button {
    border: 0;
    background: transparent;
    color: #334155;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.public-nav-button {
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--kt-primary);
    color: white !important;
}

.public-main {
    min-height: calc(100vh - 220px);
}

.auth-section {
    display: grid;
    min-height: calc(100vh - 150px);
    padding: 60px 20px;
    place-items: center;
    background:
        radial-gradient(
            circle at top left,
            rgba(20, 184, 166, 0.15),
            transparent 34%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(245, 158, 11, 0.12),
            transparent 30%
        );
}

.auth-card {
    width: min(470px, 100%);
    padding: 34px;
    border: 1px solid var(--kt-border);
    border-radius: 22px;
    background: white;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.auth-card-wide {
    width: min(820px, 100%);
}

.auth-heading {
    margin-bottom: 25px;
}

.auth-heading h1 {
    margin: 12px 0 9px;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.auth-heading p {
    margin: 0;
    color: var(--kt-muted);
    line-height: 1.6;
}

.auth-badge {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    background: #ccfbf1;
    color: var(--kt-primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.public-form,
.public-form-group {
    display: flex;
    flex-direction: column;
}

.public-form {
    gap: 18px;
}

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

.public-form-group {
    gap: 7px;
}

.public-form-group label {
    font-size: 0.82rem;
    font-weight: 750;
}

.public-form-group input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    outline: none;
    font: inherit;
    transition: 0.2s ease;
}

.public-form-group input:focus {
    border-color: var(--kt-primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.11);
}

.public-primary-button {
    min-height: 47px;
    padding: 11px 20px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(
        135deg,
        var(--kt-primary),
        var(--kt-primary-dark)
    );
    color: white;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.public-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 650;
}

.public-alert.success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: var(--kt-success);
}

.public-alert.error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: var(--kt-danger);
}

.auth-switch {
    margin: 22px 0 0;
    color: var(--kt-muted);
    text-align: center;
}

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

.account-hero {
    padding: 55px 0;
    background: linear-gradient(
        135deg,
        #0f172a,
        #134e4a
    );
    color: white;
}

.account-hero h1 {
    margin: 13px 0 8px;
    font-size: clamp(2rem, 5vw, 3rem);
}

.account-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.account-section {
    padding: 36px 0 70px;
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    margin-bottom: 22px;
}

.account-stat-card,
.public-card {
    border: 1px solid var(--kt-border);
    border-radius: 16px;
    background: white;
    box-shadow: 0 9px 28px rgba(15, 23, 42, 0.06);
}

.account-stat-card {
    padding: 20px;
}

.account-stat-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--kt-muted);
    font-size: 0.76rem;
    font-weight: 750;
    text-transform: uppercase;
}

.account-stat-card strong {
    font-size: 1.45rem;
}

.account-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 22px;
    margin-bottom: 22px;
}

.public-card {
    padding: 24px;
}

.public-card h2 {
    margin: 0 0 18px;
}

.profile-list {
    margin: 0;
}

.profile-list div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #eef2f7;
}

.profile-list dt {
    color: var(--kt-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.profile-list dd {
    margin: 0;
    font-weight: 650;
}

.reward-value {
    padding: 16px 0;
    border-bottom: 1px solid #eef2f7;
}

.reward-value span,
.reward-value strong {
    display: block;
}

.reward-value span {
    margin-bottom: 7px;
    color: var(--kt-muted);
    font-size: 0.8rem;
}

.reward-value strong {
    font-size: 1.3rem;
}

.public-table-wrap {
    overflow-x: auto;
}

.public-table {
    width: 100%;
    border-collapse: collapse;
}

.public-table th,
.public-table td {
    padding: 13px;
    border-bottom: 1px solid #eef2f7;
    font-size: 0.84rem;
    text-align: left;
}

.public-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.public-footer {
    padding: 34px 0;
    background: var(--kt-dark);
    color: white;
}

.public-footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.public-footer p {
    color: #94a3b8;
    font-size: 0.83rem;
}

@media (max-width: 800px) {
    .public-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .public-menu {
        width: 100%;
        overflow-x: auto;
    }

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

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

@media (max-width: 520px) {
    .public-container {
        width: min(100% - 24px, 1180px);
    }

    .auth-card {
        padding: 24px;
    }

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

    .public-menu {
        gap: 13px;
    }
}
cat >> public/assets/css/kitomanga-public.css <<'CSS'

/* Public marketplace */

.shop-hero {
    padding: 70px 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(20, 184, 166, 0.25),
            transparent 35%
        ),
        linear-gradient(135deg, #0f172a, #134e4a);
    color: white;
}

.shop-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    align-items: center;
    gap: 50px;
}

.shop-hero h1 {
    max-width: 720px;
    margin: 16px 0;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.shop-hero p {
    max-width: 650px;
    color: #ccfbf1;
    font-size: 1.05rem;
    line-height: 1.7;
}

.shop-search {
    display: flex;
    max-width: 680px;
    margin-top: 28px;
    padding: 6px;
    border-radius: 14px;
    background: white;
}

.shop-search input {
    min-width: 0;
    flex: 1;
    padding: 12px;
    border: 0;
    outline: 0;
    font: inherit;
}

.shop-search button {
    padding: 12px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--kt-accent);
    color: #422006;
    font-weight: 850;
    cursor: pointer;
}

.shop-hero-card {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
}

.shop-hero-card span,
.shop-hero-card strong {
    display: block;
}

.shop-hero-card span {
    color: #ccfbf1;
    font-size: .82rem;
    font-weight: 750;
    text-transform: uppercase;
}

.shop-hero-card strong {
    margin: 12px 0;
    font-size: 3rem;
}

.shop-section {
    padding: 40px 0 75px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
}

.shop-sidebar .public-card {
    position: sticky;
    top: 100px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px;
    border-radius: 9px;
    color: #475569;
    font-size: .85rem;
    text-decoration: none;
}

.category-link:hover,
.category-link.active {
    background: #ccfbf1;
    color: var(--kt-primary-dark);
}

.shop-results-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.shop-results-heading h2 {
    margin: 0 0 5px;
}

.shop-results-heading p {
    margin: 0;
    color: var(--kt-muted);
}

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

.product-card {
    overflow: hidden;
    border: 1px solid var(--kt-border);
    border-radius: 17px;
    background: white;
    box-shadow: 0 9px 28px rgba(15,23,42,.06);
    transition: .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(15,23,42,.12);
}

.product-image {
    position: relative;
    display: grid;
    height: 220px;
    overflow: hidden;
    place-items: center;
    background: #f1f5f9;
    text-decoration: none;
}

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

.product-placeholder {
    display: grid;
    width: 90px;
    height: 90px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg,#ccfbf1,#99f6e4);
    color: var(--kt-primary-dark);
    font-size: 2.5rem;
    font-weight: 900;
}

.product-placeholder.large {
    width: 150px;
    height: 150px;
    font-size: 4rem;
}

.featured-label {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--kt-accent);
    color: #422006;
    font-size: .7rem;
    font-weight: 850;
}

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

.product-category {
    color: var(--kt-primary);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-card h3 {
    margin: 9px 0;
    font-size: 1rem;
}

.product-card h3 a {
    color: var(--kt-dark);
    text-decoration: none;
}

.product-vendor {
    color: var(--kt-muted);
    font-size: .78rem;
}

.product-price-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}

.product-price-row strong {
    color: var(--kt-primary-dark);
    font-size: 1rem;
}

.product-price-row span {
    color: var(--kt-muted);
    font-size: .7rem;
}

.shop-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    text-align: center;
}

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
}

.shop-pagination a,
.public-primary-link {
    display: inline-flex;
    padding: 11px 17px;
    border-radius: 10px;
    background: var(--kt-primary);
    color: white;
    font-weight: 800;
    text-decoration: none;
}

.product-detail-section {
    padding: 45px 0 80px;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--kt-primary);
    font-weight: 750;
    text-decoration: none;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 45px;
}

.product-detail-image {
    display: grid;
    min-height: 500px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--kt-border);
    border-radius: 22px;
    background: white;
}

.product-detail-content {
    padding: 15px 0;
}

.product-detail-content h1 {
    margin: 12px 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: -.045em;
}

.product-detail-vendor {
    color: var(--kt-muted);
}

.product-detail-price {
    margin: 25px 0;
    color: var(--kt-primary-dark);
    font-size: 2rem;
    font-weight: 900;
}

.product-description {
    color: #475569;
    line-height: 1.75;
}

.product-facts {
    margin: 25px 0;
}

.product-facts div {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--kt-border);
}

.product-facts dt {
    color: var(--kt-muted);
}

.product-facts dd {
    margin: 0;
    font-weight: 750;
}

.customer-action-notice {
    padding: 15px;
    border: 1px solid #99f6e4;
    border-radius: 11px;
    background: #f0fdfa;
    color: var(--kt-primary-dark);
    font-weight: 700;
}

@media (max-width: 1000px) {
    .product-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 800px) {
    .shop-hero-grid,
    .shop-layout,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .shop-sidebar .public-card {
        position: static;
    }

    .product-detail-image {
        min-height: 350px;
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .shop-search {
        align-items: stretch;
        flex-direction: column;
    }
}
CSS
/* Customer cart */
.product-purchase-form {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 120px auto;
    gap: 14px;
    align-items: end;
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #dfe6ee;
    border-radius: 18px;
    background: #f8fafc;
}

.product-purchase-form label {
    display: grid;
    gap: 7px;
    font-size: .84rem;
    font-weight: 700;
    color: #475569;
}

.product-purchase-form input,
.product-purchase-form select,
.customer-cart-actions input {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
}

.customer-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.customer-cart-items {
    display: grid;
    gap: 16px;
}

.customer-cart-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
}

.customer-cart-image {
    height: 100px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f1f5f9;
    font-size: 2rem;
}

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

.customer-cart-details h2 {
    margin: 5px 0;
    font-size: 1.05rem;
}

.customer-cart-details h2 a {
    color: #0f172a;
    text-decoration: none;
}

.customer-cart-details p,
.customer-cart-details small {
    color: #64748b;
}

.customer-cart-actions,
.customer-cart-actions form {
    display: flex;
    gap: 9px;
    align-items: center;
}

.customer-cart-actions {
    margin-top: 14px;
    flex-wrap: wrap;
}

.customer-cart-actions input {
    width: 90px;
}

.customer-cart-actions button,
.public-danger-button {
    min-height: 42px;
    padding: 8px 14px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.customer-cart-actions button {
    background: #e2e8f0;
    color: #0f172a;
}

.customer-cart-actions .public-danger-button {
    background: #fee2e2;
    color: #991b1b;
}

.customer-cart-total {
    white-space: nowrap;
    font-size: 1.05rem;
}

.customer-cart-summary {
    position: sticky;
    top: 100px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
}

.customer-cart-summary h2 {
    margin-top: 0;
}

.customer-cart-summary > div {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.customer-cart-summary p {
    color: #64748b;
    font-size: .88rem;
    line-height: 1.6;
}

.public-error {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 850px) {
    .product-purchase-form,
    .customer-cart-layout,
    .customer-cart-item {
        grid-template-columns: 1fr;
    }

    .customer-cart-summary {
        position: static;
    }

    .customer-cart-total {
        white-space: normal;
    }
}

/* Marketplace product-card price visibility fix */
.product-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.product-card-body {
    display: flex !important;
    flex: 1 !important;
    flex-direction: column !important;
    padding: 20px !important;
    overflow: visible !important;
}

.product-price-row {
    position: static !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 12px !important;
    margin-top: auto !important;
    margin-bottom: 16px !important;
    padding-top: 16px !important;
}

.product-price-row strong {
    display: block !important;
    color: #087f6f !important;
    font-size: 1.08rem !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-price-row span {
    color: #64748b !important;
    font-size: .82rem !important;
    white-space: nowrap !important;
}

.product-card .public-full-button {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

@media (max-width: 480px) {
    .product-price-row {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
}

/* Customer checkout */
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.checkout-form-card,
.order-confirmation-card {
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
}

.checkout-form-card h2 {
    margin: 0 0 20px;
}

.checkout-form-card h2:not(:first-child) {
    margin-top: 32px;
}

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

.checkout-form-grid label {
    display: grid;
    gap: 8px;
    font-size: .88rem;
    font-weight: 700;
    color: #334155;
}

.checkout-form-grid input,
.checkout-form-grid select,
.checkout-form-grid textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #fff;
    color: #0f172a;
    font: inherit;
}

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

.checkout-wallet-note {
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    background: #f1f5f9;
}

.order-confirmation-card {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.order-confirmation-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 2rem;
    font-weight: 800;
}

.order-confirmation-number {
    margin: 24px 0;
    padding: 18px;
    border-radius: 14px;
    background: #f1f5f9;
}

.order-confirmation-number span,
.order-confirmation-number strong {
    display: block;
}

.order-confirmation-number strong {
    margin-top: 6px;
    font-size: 1.35rem;
}

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

.order-confirmation-grid div {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
}

.order-confirmation-grid span,
.order-confirmation-grid strong {
    display: block;
}

.order-confirmation-grid span {
    margin-bottom: 7px;
    color: #64748b;
    font-size: .8rem;
}

.confirmation-items {
    margin: 24px 0;
    text-align: left;
}

.confirmation-items > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .checkout-layout,
    .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    .checkout-full-field {
        grid-column: auto;
    }

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

@media (max-width: 520px) {
    .order-confirmation-grid {
        grid-template-columns: 1fr;
    }
}

/* Complete public marketplace styling */
.shop-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 42px;
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(45, 212, 191, .22),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0f172a 0%,
            #123b3a 55%,
            #087f6f 100%
        );
    color: #fff;
}

.shop-hero h1 {
    max-width: 720px;
    margin: 10px 0 14px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.shop-hero p {
    max-width: 720px;
    margin: 0;
    color: #d5f5ef !important;
    font-size: 1.05rem;
    line-height: 1.7;
}

.shop-hero .public-eyebrow {
    color: #5eead4;
}

.shop-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 820px;
    margin-top: 28px;
    padding: 7px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .2);
}

.shop-search input {
    min-width: 0;
    padding: 13px 15px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
}

.shop-search button {
    min-width: 110px;
    padding: 12px 20px;
    border: 0;
    border-radius: 11px;
    background: #f59e0b;
    color: #172033;
    font-weight: 800;
    cursor: pointer;
}

.shop-search button:hover {
    background: #fbbf24;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 105px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
}

.shop-sidebar h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.15rem;
}

.shop-sidebar a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    color: #475569;
    font-size: .9rem;
    line-height: 1.35;
    text-decoration: none;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.shop-sidebar a:hover {
    transform: translateX(2px);
    background: #f0fdfa;
    color: #087f6f;
}

.shop-sidebar a.active {
    background: #ccfbf1;
    color: #0f766e;
    font-weight: 800;
}

.shop-sidebar a strong {
    min-width: 26px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: .72rem;
    text-align: center;
}

.shop-sidebar a.active strong {
    background: #fff;
    color: #0f766e;
}

.shop-results {
    min-width: 0;
}

.shop-results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 18px;
}

.shop-results-header h1,
.shop-results-header h2 {
    margin: 0 0 5px;
    color: #0f172a;
}

.shop-results-header p {
    margin: 0;
    color: #64748b;
}

.product-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-image {
    position: relative !important;
    min-height: 250px;
    display: grid !important;
    place-items: center !important;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #f8fafc,
            #e8eef5
        );
    color: #64748b;
    font-size: 2.2rem;
    text-decoration: none;
}

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

.product-image em {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    bottom: auto !important;
    display: inline-flex !important;
    align-items: center;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: #f59e0b !important;
    color: #172033 !important;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .14);
    font-size: .72rem !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.product-card-body > small {
    color: #0f766e;
    font-size: .78rem;
    font-weight: 750;
}

.product-card-body h3 {
    margin: 8px 0 10px;
    line-height: 1.35;
}

.product-card-body h3 a {
    color: #0f172a;
    text-decoration: none;
}

.product-card-body h3 a:hover {
    color: #0f766e;
}

.product-store {
    margin: 0 0 15px;
    color: #64748b;
    font-size: .9rem;
}

.public-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.public-pagination a {
    min-width: 42px;
    min-height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    text-decoration: none;
}

.public-pagination a.active,
.public-pagination a:hover {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

@media (max-width: 1150px) {
    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .shop-hero {
        padding: 30px 24px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .shop-sidebar h2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .shop-search,
    .product-grid,
    .shop-sidebar {
        grid-template-columns: 1fr;
    }

    .shop-search button {
        width: 100%;
    }

    .product-image,
    .product-image img {
        min-height: 210px;
    }
}

/* Order confirmation styling completion */
.order-confirmation-card {
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .08);
}

.order-confirmation-card > h1 {
    margin: 12px 0;
    color: #0f172a;
    font-size: clamp(1.8rem, 4vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.order-confirmation-card > .public-eyebrow {
    display: inline-flex;
    color: #15803d;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.order-confirmation-card .public-notice {
    margin: 20px auto;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #166534;
}

.order-confirmation-number {
    border: 1px solid #dbe4ee;
    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #eef4f8
        );
}

.order-confirmation-number span {
    color: #64748b;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.order-confirmation-number strong {
    color: #0f172a;
    overflow-wrap: anywhere;
}

.order-confirmation-grid div {
    background: #fff;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.order-confirmation-grid div:hover {
    transform: translateY(-2px);
    border-color: #99f6e4;
    box-shadow: 0 10px 25px rgba(15, 118, 110, .08);
}

.order-confirmation-grid strong {
    color: #0f172a;
}

.confirmation-items h2 {
    margin-bottom: 10px;
    color: #0f172a;
}

.confirmation-items > div {
    align-items: center;
    padding: 16px 0;
    color: #334155;
}

.confirmation-items > div strong {
    color: #0f172a;
    white-space: nowrap;
}

.public-action-row {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px !important;
    flex-wrap: wrap;
    margin-top: 26px;
}

.public-primary-button,
.public-secondary-button {
    min-height: 46px;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 11px 20px;
    border-radius: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.public-primary-button {
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(15, 118, 110, .18);
}

.public-primary-button:hover {
    transform: translateY(-2px);
    border-color: #115e59;
    background: #115e59;
    box-shadow: 0 12px 25px rgba(15, 118, 110, .24);
}

.public-secondary-button {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155 !important;
}

.public-secondary-button:hover {
    transform: translateY(-2px);
    border-color: #0f766e;
    background: #f0fdfa;
    color: #0f766e !important;
}

.order-confirmation-card .public-action-row a {
    min-width: 165px;
}

@media (max-width: 520px) {
    .confirmation-items > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .confirmation-items > div strong {
        white-space: normal;
    }

    .order-confirmation-card .public-action-row {
        align-items: stretch;
        flex-direction: column;
    }

    .order-confirmation-card .public-action-row a {
        width: 100%;
    }
}

/* Customer wishlist */
.product-wishlist-form {
    margin-top: 12px;
}

.product-wishlist-form button {
    width: 100%;
    cursor: pointer;
}

.wishlist-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.wishlist-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
}

.wishlist-card-image {
    position: relative;
    min-height: 230px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #f8fafc, #e8eef5);
    color: #64748b;
    font-size: 2rem;
    text-decoration: none;
}

.wishlist-card-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.wishlist-card-image em {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f59e0b;
    color: #172033;
    font-size: .72rem;
    font-style: normal;
    font-weight: 800;
}

.wishlist-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.wishlist-card-body small {
    color: #0f766e;
    font-size: .78rem;
    font-weight: 750;
}

.wishlist-card-body h2 {
    margin: 8px 0;
    font-size: 1.08rem;
    line-height: 1.35;
}

.wishlist-card-body h2 a {
    color: #0f172a;
    text-decoration: none;
}

.wishlist-card-body > p {
    margin: 0 0 18px;
    color: #64748b;
}

.wishlist-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
}

.wishlist-price strong {
    color: #0f766e;
}

.wishlist-price span {
    color: #64748b;
    font-size: .8rem;
}

.wishlist-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 17px;
}

.wishlist-actions form {
    display: flex;
}

.wishlist-actions .public-danger-button {
    min-height: 46px;
    padding: 10px 15px;
    border: 1px solid #fecaca;
    border-radius: 11px;
    background: #fef2f2;
    color: #991b1b;
    font-weight: 750;
    cursor: pointer;
}

.wishlist-actions .public-danger-button:hover {
    border-color: #ef4444;
    background: #fee2e2;
}

.wishlist-empty-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fce7f3;
    color: #be185d;
    font-size: 2.4rem;
}

@media (max-width: 1050px) {
    .wishlist-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .wishlist-grid,
    .wishlist-actions {
        grid-template-columns: 1fr;
    }

    .wishlist-actions .public-danger-button {
        width: 100%;
    }
}

/* Wishlist and shared empty-state styling */
.public-section {
    padding-top: 34px;
    padding-bottom: 70px;
}

.public-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: #64748b;
    font-size: .88rem;
}

.public-breadcrumb a {
    color: #0f766e !important;
    font-weight: 700;
    text-decoration: none !important;
}

.public-breadcrumb a:hover {
    color: #115e59 !important;
    text-decoration: underline !important;
}

.public-breadcrumb span:last-child {
    color: #334155;
    font-weight: 700;
}

.shop-results-header .public-eyebrow {
    display: inline-flex;
    margin-bottom: 7px;
    color: #0f766e;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shop-results-header h1 {
    margin: 0 0 7px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.shop-results-header p {
    color: #64748b;
    font-size: .95rem;
}

.public-empty-state {
    width: 100%;
    min-height: 340px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
    box-sizing: border-box;
    margin-top: 24px;
    padding: 48px 24px !important;
    border: 1px dashed #cbd5e1;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(204, 251, 241, .55),
            transparent 34%
        ),
        #fff;
    text-align: center !important;
}

.public-empty-state h1,
.public-empty-state h2,
.public-empty-state h3 {
    margin: 15px 0 9px;
    color: #0f172a;
    text-align: center !important;
}

.public-empty-state p {
    max-width: 520px;
    margin: 0 auto 22px;
    color: #64748b;
    line-height: 1.65;
    text-align: center !important;
}

.public-empty-state .public-primary-button {
    margin: 0 auto;
}

.wishlist-empty-icon {
    flex: 0 0 auto;
    margin: 0 auto 6px !important;
    border: 1px solid #fbcfe8;
    box-shadow: 0 12px 30px rgba(190, 24, 93, .1);
}

@media (max-width: 600px) {
    .public-section {
        padding-top: 24px;
        padding-bottom: 45px;
    }

    .public-breadcrumb {
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .public-empty-state {
        min-height: 300px;
        padding: 36px 18px !important;
    }
}

/* Shared customer feedback messages */
.public-notice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    box-sizing: border-box;
    margin: 20px 0 24px;
    padding: 14px 17px;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    background: #ecfdf5;
    color: #166534;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 7px 20px rgba(22, 101, 52, .06);
}

.public-notice::before {
    content: "✓";
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
}

.public-error {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    box-sizing: border-box;
    margin: 20px 0 24px;
    padding: 14px 17px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.5;
}

.public-error::before {
    content: "!";
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
}

/* Public tracking page */
.tracking-hero {
    padding: 58px 0 68px;
    background:
        radial-gradient(circle at 82% 12%, rgba(45,212,191,.25), transparent 28%),
        linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
}

.tracking-hero h1 {
    margin: 9px 0 12px;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.tracking-hero p {
    margin: 0;
    color: #ccfbf1;
    font-size: 1.04rem;
}

.tracking-hero .public-eyebrow {
    color: #5eead4;
}

.public-tracking-form {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin-top: 30px;
    padding: 17px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 17px;
    background: rgba(255,255,255,.12);
}

.public-tracking-form label {
    display: grid;
    gap: 7px;
    color: #ecfeff;
    font-size: .78rem;
    font-weight: 800;
}

.public-tracking-form input {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 10px;
    outline: 0;
    background: #fff;
    font: inherit;
}

.public-tracking-form button {
    min-height: 49px;
    padding: 12px 23px;
    border: 0;
    border-radius: 10px;
    background: #f59e0b;
    color: #172033;
    font-weight: 850;
    cursor: pointer;
}

.tracking-content {
    padding-top: 34px;
    padding-bottom: 70px;
}

.tracking-help-grid,
.tracking-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tracking-help-grid article,
.tracking-info-grid article,
.tracking-result-header,
.tracking-progress-card,
.tracking-timeline-card,
.tracking-package-card {
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #fff;
}

.tracking-help-grid article {
    padding: 23px;
}

.tracking-help-grid article > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #ccfbf1;
    color: #0f766e;
    font-weight: 900;
}

.tracking-help-grid h2 {
    margin: 15px 0 6px;
    font-size: 1.05rem;
}

.tracking-help-grid p {
    margin: 0;
    color: #64748b;
}

.tracking-error-card {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    border: 1px solid #fecaca;
    border-radius: 15px;
    background: #fef2f2;
    color: #991b1b;
}

.tracking-error-card > span {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-weight: 900;
}

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

.tracking-error-card h2 {
    font-size: 1.05rem;
}

.tracking-error-card p {
    margin-top: 4px;
}

.tracking-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 23px;
}

.tracking-result-header small,
.tracking-result-header p {
    color: #64748b;
}

.tracking-result-header h2 {
    margin: 5px 0;
    overflow-wrap: anywhere;
}

.tracking-result-header p {
    margin: 0;
}

.tracking-status {
    padding: 8px 13px;
    border-radius: 999px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: .76rem;
    white-space: nowrap;
}

.tracking-status.delivered {
    background: #dcfce7;
    color: #166534;
}

.tracking-progress-card {
    margin-top: 18px;
    padding: 26px 15px;
    overflow-x: auto;
}

.tracking-progress {
    min-width: 820px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

.tracking-step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: .7rem;
    text-align: center;
}

.tracking-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
    height: 3px;
    background: #e2e8f0;
}

.tracking-step > span {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    font-weight: 900;
}

.tracking-step.complete,
.tracking-step.current {
    color: #0f766e;
}

.tracking-step.complete > span {
    border-color: #14b8a6;
    background: #14b8a6;
    color: #fff;
}

.tracking-step.complete::after {
    background: #14b8a6;
}

.tracking-step.current > span {
    border-color: #0f766e;
    box-shadow: 0 0 0 5px #ccfbf1;
}

.tracking-info-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
}

.tracking-info-grid article {
    padding: 19px;
}

.tracking-info-grid small {
    color: #64748b;
}

.tracking-info-grid h3 {
    margin: 7px 0;
    font-size: 1rem;
}

.tracking-info-grid p {
    margin: 0;
    color: #64748b;
}

.tracking-details-grid {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.tracking-timeline-card,
.tracking-package-card {
    padding: 23px;
}

.tracking-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.tracking-section-heading h2,
.tracking-package-card h2 {
    margin: 5px 0 0;
}

.tracking-timeline {
    display: grid;
}

.tracking-event {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    padding-bottom: 25px;
}

.tracking-event:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 17px;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: #dbe4ee;
}

.tracking-event-dot {
    position: relative;
    z-index: 1;
    width: 15px;
    height: 15px;
    margin-top: 3px;
    border: 4px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
}

.tracking-event.latest .tracking-event-dot {
    border-color: #14b8a6;
    background: #0f766e;
    box-shadow: 0 0 0 4px #ccfbf1;
}

.tracking-event-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.tracking-event-title h3 {
    margin: 0;
    font-size: 1rem;
}

.tracking-event-title em {
    padding: 3px 7px;
    border-radius: 999px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: .65rem;
    font-style: normal;
    font-weight: 850;
}

.tracking-event p {
    margin: 7px 0;
    color: #475569;
}

.tracking-event footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #64748b;
    font-size: .78rem;
}

.tracking-package-card > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.tracking-package-card > div span {
    color: #64748b;
}

@media (max-width: 900px) {
    .public-tracking-form,
    .tracking-info-grid,
    .tracking-details-grid {
        grid-template-columns: 1fr 1fr;
    }

    .public-tracking-form button,
    .tracking-details-grid > * {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .public-tracking-form,
    .tracking-help-grid,
    .tracking-info-grid {
        grid-template-columns: 1fr;
    }

    .tracking-result-header,
    .tracking-event footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Customer orders */
.orders-page-header,
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 25px;
}

.orders-page-header h1,
.order-detail-header h1 {
    margin: 7px 0;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.orders-page-header p,
.order-detail-header p {
    margin: 0;
    color: #64748b;
}

.orders-statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-bottom: 25px;
}

.orders-statistics article {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}

.orders-statistics span,
.orders-statistics strong {
    display: block;
}

.orders-statistics span {
    margin-bottom: 8px;
    color: #64748b;
    font-size: .8rem;
}

.orders-statistics strong {
    color: #0f172a;
    font-size: 1.25rem;
}

.customer-orders-list {
    display: grid;
    gap: 17px;
}

.customer-order-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.04);
}

.customer-order-card > header,
.customer-order-card > footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px;
}

.customer-order-card > header {
    border-bottom: 1px solid #e2e8f0;
}

.customer-order-card h2 {
    margin: 5px 0;
    font-size: 1.1rem;
}

.customer-order-card small,
.customer-order-card p,
.order-tracking-number {
    color: #64748b;
}

.customer-order-card p {
    margin: 0;
}

.customer-order-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 20px;
}

.customer-order-meta > div {
    padding: 18px 12px;
    border-right: 1px solid #e2e8f0;
}

.customer-order-meta > div:first-child {
    padding-left: 0;
}

.customer-order-meta > div:last-child {
    border-right: 0;
}

.customer-order-meta span,
.customer-order-meta strong {
    display: block;
}

.customer-order-meta span {
    margin-bottom: 6px;
    color: #64748b;
    font-size: .78rem;
}

.order-status {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: .72rem;
    font-weight: 850;
    white-space: nowrap;
}

.order-status-delivered,
.order-status-paid {
    background: #dcfce7;
    color: #166534;
}

.order-status-cancelled,
.order-status-returned,
.order-status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.order-status-in_transit,
.order-status-shipped,
.order-status-processing {
    background: #ccfbf1;
    color: #0f766e;
}

.payment-text-paid,
.payment-text-successful {
    color: #15803d !important;
}

.payment-text-unpaid,
.payment-text-pending {
    color: #b45309 !important;
}

.payment-text-failed {
    color: #b91c1c !important;
}

.order-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 20px;
    align-items: start;
}

.order-detail-main {
    display: grid;
    gap: 20px;
}

.order-detail-sidebar {
    position: sticky;
    top: 105px;
    display: grid;
    gap: 20px;
}

.order-detail-card {
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
}

.order-detail-card > h2 {
    margin: 0 0 18px;
}

.order-product-list {
    display: grid;
}

.order-product-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.order-product-image {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9;
}

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

.order-product-item h3 {
    margin: 5px 0;
    font-size: 1rem;
}

.order-product-item small,
.order-product-item p {
    color: #64748b;
}

.order-product-item p {
    margin: 0;
}

.order-payment-row,
.order-shipment-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.order-payment-row > div {
    display: grid;
    gap: 5px;
}

.order-payment-row > div:last-child {
    text-align: right;
}

.order-payment-row span {
    color: #64748b;
    font-size: .82rem;
}

.order-shipment-summary {
    align-items: center;
    margin-bottom: 17px;
}

.order-shipment-summary div {
    display: grid;
    gap: 5px;
}

.order-detail-sidebar .order-detail-card > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.order-detail-sidebar .order-detail-card > div span {
    color: #64748b;
}

.order-summary-total {
    font-size: 1.1rem;
}

.order-detail-card address {
    display: grid;
    gap: 8px;
    color: #475569;
    font-style: normal;
    line-height: 1.5;
}

.order-muted {
    color: #64748b;
}

@media (max-width: 950px) {
    .orders-statistics,
    .customer-order-meta {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .order-detail-sidebar {
        position: static;
    }
}

@media (max-width: 620px) {
    .orders-page-header,
    .order-detail-header,
    .customer-order-card > header,
    .customer-order-card > footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .orders-statistics,
    .customer-order-meta,
    .order-product-item {
        grid-template-columns: 1fr;
    }

    .customer-order-meta > div {
        padding-left: 0;
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .order-product-item > strong {
        justify-self: start;
    }
}

/* Customer sandbox payments */
.order-payment-action,
.order-paid-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 17px 20px;
    border-radius: 15px;
}

.order-payment-action {
    border: 1px solid #fde68a;
    background: #fffbeb;
}

.order-paid-action {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #166534;
}

.order-payment-action > div,
.order-paid-action {
    line-height: 1.5;
}

.order-payment-action strong,
.order-payment-action span,
.order-paid-action strong,
.order-paid-action span {
    display: block;
}

.order-payment-action span {
    color: #92400e;
    font-size: .86rem;
}

.payment-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
}

.payment-page-header h1 {
    margin: 7px 0;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.payment-page-header p {
    margin: 0;
    color: #64748b;
}

.payment-state {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: .74rem;
    font-weight: 850;
}

.payment-state-processing {
    background: #fef3c7;
    color: #92400e;
}

.payment-state-paid {
    background: #dcfce7;
    color: #166534;
}

.payment-state-failed {
    background: #fee2e2;
    color: #991b1b;
}

.customer-payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: start;
}

.customer-payment-card,
.payment-order-summary {
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 19px;
    background: #fff;
}

.customer-payment-card > h2,
.payment-order-summary > h2 {
    margin-top: 0;
}

.payment-card-intro {
    color: #64748b;
}

.payment-provider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin: 20px 0;
}

.payment-provider-option {
    position: relative;
    cursor: pointer;
}

.payment-provider-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-provider-option > span {
    display: grid;
    gap: 5px;
    padding: 17px;
    border: 2px solid #e2e8f0;
    border-radius: 13px;
    background: #fff;
    transition: .2s ease;
}

.payment-provider-option input:checked + span {
    border-color: #0f766e;
    background: #f0fdfa;
    box-shadow: 0 0 0 3px #ccfbf1;
}

.payment-provider-option small {
    color: #64748b;
}

.sandbox-callback-panel {
    margin-top: 22px;
    padding: 20px;
    border: 1px dashed #f59e0b;
    border-radius: 15px;
    background: #fffbeb;
}

.sandbox-callback-panel h2 {
    margin: 7px 0;
}

.sandbox-callback-panel p {
    color: #92400e;
    line-height: 1.6;
}

.sandbox-complete-button {
    width: 100%;
    min-height: 47px;
    padding: 11px 18px;
    border: 0;
    border-radius: 11px;
    background: #f59e0b;
    color: #172033;
    font-weight: 850;
    cursor: pointer;
}

.payment-order-summary {
    position: sticky;
    top: 105px;
}

.payment-order-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 17px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.payment-order-summary > div span {
    color: #64748b;
}

.payment-order-summary > div strong {
    text-align: right;
    overflow-wrap: anywhere;
}

.payment-total-row {
    font-size: 1.1rem;
}

.payment-reference-box {
    display: grid;
    gap: 7px;
    margin-top: 18px;
    padding: 15px;
    border-radius: 12px;
    background: #f1f5f9;
}

.payment-reference-box small {
    color: #64748b;
}

.payment-reference-box strong {
    margin-bottom: 7px;
    overflow-wrap: anywhere;
}

.payment-success-panel {
    display: grid;
    justify-items: center;
    text-align: center;
}

.payment-success-panel > span {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 2rem;
    font-weight: 900;
}

.payment-success-panel h2 {
    margin-bottom: 5px;
}

.payment-success-panel p {
    color: #64748b;
}

.payment-success-panel > div {
    width: 100%;
    display: grid;
    gap: 5px;
    margin-top: 12px;
    padding: 14px;
    box-sizing: border-box;
    border-radius: 11px;
    background: #f1f5f9;
}

.payment-success-panel > div strong {
    overflow-wrap: anywhere;
}

.payment-success-panel > a {
    margin-top: 20px;
}

@media (max-width: 850px) {
    .customer-payment-layout {
        grid-template-columns: 1fr;
    }

    .payment-order-summary {
        position: static;
    }
}

@media (max-width: 600px) {
    .payment-page-header,
    .order-payment-action,
    .order-paid-action {
        align-items: flex-start;
        flex-direction: column;
    }

    .payment-provider-grid {
        grid-template-columns: 1fr;
    }
}

/* Customer account dashboard */
.account-hero {
    padding: 46px 0;
    background:
        radial-gradient(circle at 83% 10%, rgba(45,212,191,.24), transparent 27%),
        linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
}

.account-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.account-hero .public-eyebrow {
    color: #5eead4;
}

.account-hero h1 {
    margin: 8px 0;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.account-hero p {
    margin: 0;
    color: #ccfbf1;
}

.account-identity {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    background: rgba(255,255,255,.1);
}

.account-identity > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #14b8a6;
    font-size: 1.25rem;
    font-weight: 900;
}

.account-identity strong,
.account-identity small {
    display: block;
}

.account-identity small {
    margin-top: 4px;
    color: #ccfbf1;
}

.account-dashboard {
    padding-top: 28px;
    padding-bottom: 70px;
}

.account-statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.account-statistics article {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}

.account-stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 13px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 900;
}

.account-stat-icon.active {
    background: #ccfbf1;
    color: #0f766e;
}

.account-stat-icon.wallet {
    background: #fef3c7;
    color: #92400e;
    font-size: .64rem;
}

.account-stat-icon.loyalty {
    background: #fce7f3;
    color: #be185d;
}

.account-statistics small,
.account-statistics strong {
    display: block;
}

.account-statistics small {
    margin-bottom: 5px;
    color: #64748b;
}

.account-statistics strong {
    font-size: 1.22rem;
}

.account-quick-actions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 18px 0;
}

.account-quick-actions a {
    display: grid;
    gap: 5px;
    padding: 17px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    transition: .2s ease;
}

.account-quick-actions a:hover {
    transform: translateY(-3px);
    border-color: #99f6e4;
    box-shadow: 0 12px 25px rgba(15,118,110,.08);
}

.account-quick-actions a > span {
    color: #0f766e;
    font-size: 1.25rem;
}

.account-quick-actions small {
    color: #64748b;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 19px;
    align-items: start;
}

.account-main-column,
.account-side-column {
    display: grid;
    gap: 19px;
}

.account-side-column {
    position: sticky;
    top: 105px;
}

.account-card {
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #fff;
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 17px;
}

.account-card-header h2 {
    margin: 5px 0 0;
}

.account-card-header > a {
    color: #0f766e;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.account-order-list,
.account-transaction-list {
    display: grid;
}

.account-order-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 34px;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.account-order-list h3 {
    margin: 5px 0;
    font-size: .98rem;
}

.account-order-list small,
.account-order-list p {
    color: #64748b;
}

.account-order-list p {
    margin: 0;
}

.account-order-list article > div:nth-child(2) {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.account-row-arrow {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f766e;
    font-size: 1.4rem;
    text-decoration: none;
}

.account-transaction-list article {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.account-transaction-list article > div {
    display: grid;
    gap: 5px;
}

.account-transaction-list article > div:last-child {
    text-align: right;
}

.account-transaction-list span {
    color: #64748b;
    font-size: .8rem;
}

.account-shipment-card > h2 {
    margin: 7px 0 12px;
    overflow-wrap: anywhere;
    font-size: 1.05rem;
}

.account-shipment-card > div,
.account-profile-card > div {
    display: grid;
    gap: 5px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.account-shipment-card small,
.account-profile-card small {
    color: #64748b;
}

.account-shipment-card strong,
.account-profile-card strong {
    overflow-wrap: anywhere;
}

.account-shipment-card > a {
    margin-top: 17px;
}

.account-spend-card {
    padding: 22px;
    border-radius: 17px;
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
}

.account-spend-card small,
.account-spend-card strong {
    display: block;
}

.account-spend-card small {
    color: #ccfbf1;
}

.account-spend-card strong {
    margin-top: 8px;
    font-size: 1.4rem;
}

.account-empty {
    padding: 25px;
    border-radius: 13px;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
}

@media (max-width: 1100px) {
    .account-quick-actions {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .account-statistics,
    .account-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .account-layout > * {
        grid-column: 1 / -1;
    }

    .account-side-column {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .account-hero-content,
    .account-order-list article,
    .account-transaction-list article {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-hero-content {
        display: flex;
    }

    .account-statistics,
    .account-quick-actions,
    .account-side-column {
        grid-template-columns: 1fr;
    }

    .account-order-list article {
        display: flex;
    }

    .account-order-list article > div:nth-child(2) {
        justify-items: start;
    }

    .account-transaction-list article > div:last-child {
        text-align: left;
    }
}


/* ===== CUSTOMER ACCOUNT SETTINGS V1 ===== */

.customer-settings-page {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.customer-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: #64748b;
    font-size: .92rem;
}

.customer-breadcrumb a {
    color: #087f70;
    font-weight: 700;
    text-decoration: none;
}

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

.customer-settings-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #087f70;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.customer-settings-header h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.customer-settings-header p {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 1.05rem;
}

.customer-settings-back,
.customer-settings-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 13px;
    background: #087f70;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(8, 127, 112, .17);
}

.customer-settings-alert {
    margin-bottom: 24px;
    padding: 16px 19px;
    border: 1px solid;
    border-radius: 14px;
    font-weight: 700;
}

.customer-settings-alert.success {
    border-color: #86efac;
    background: #ecfdf5;
    color: #166534;
}

.customer-settings-alert.error {
    border-color: #fecaca;
    background: #fff1f2;
    color: #991b1b;
}

.customer-settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 24px;
    align-items: start;
}

.customer-settings-main {
    display: grid;
    gap: 24px;
}

.customer-settings-card {
    padding: 28px;
    border: 1px solid #dce5ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .055);
}

.customer-settings-card.sticky {
    position: sticky;
    top: 110px;
}

.customer-settings-card h2 {
    margin: 9px 0 7px;
    color: #0f172a;
    font-size: 1.5rem;
}

.customer-settings-card p {
    color: #64748b;
}

.customer-settings-card-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5edf5;
}

.customer-settings-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ccfbf1;
    color: #087f70;
    font-size: .78rem;
    font-weight: 900;
}

.customer-settings-form {
    display: grid;
    gap: 18px;
}

.customer-settings-grid {
    display: grid;
    gap: 18px;
}

.customer-settings-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-settings-full {
    grid-column: 1 / -1;
}

.customer-settings-form label {
    display: grid;
    gap: 8px;
}

.customer-settings-form label > span {
    color: #334155;
    font-size: .86rem;
    font-weight: 800;
}

.customer-settings-form input,
.customer-settings-form select,
.customer-settings-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #cfdbe7;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #0f172a;
    font: inherit;
}

.customer-settings-form input:focus,
.customer-settings-form select:focus,
.customer-settings-form textarea:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, .12);
}

.customer-settings-form input:disabled {
    background: #f1f5f9;
    color: #64748b;
}

.customer-settings-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.customer-settings-check input {
    width: 18px;
    height: 18px;
}

.customer-address-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.customer-address-card {
    padding: 20px;
    border: 1px solid #dce5ef;
    border-radius: 16px;
    background: #f8fafc;
}

.customer-address-card h3 {
    margin: 17px 0 7px;
    color: #0f172a;
}

.customer-address-card p {
    margin: 7px 0;
    line-height: 1.55;
}

.customer-address-top {
    display: flex;
    justify-content: space-between;
}

.customer-default-badge {
    display: inline-flex;
    margin-left: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: .72rem;
    font-weight: 900;
}

.customer-address-actions {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

.customer-address-actions button {
    padding: 9px 12px;
    border: 1px solid #99f6e4;
    border-radius: 9px;
    background: #fff;
    color: #087f70;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
}

.customer-address-actions button.danger {
    border-color: #fecaca;
    color: #b91c1c;
}

.customer-address-empty {
    margin-bottom: 26px;
    padding: 22px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
}

.customer-address-form-wrap {
    padding-top: 4px;
}

.customer-address-form-wrap > h3 {
    margin: 0 0 20px;
    color: #0f172a;
}

@media (max-width: 1050px) {
    .customer-settings-layout {
        grid-template-columns: 1fr;
    }

    .customer-settings-card.sticky {
        position: static;
    }
}

@media (max-width: 700px) {
    .customer-settings-page {
        width: min(100% - 24px, 1400px);
        padding-top: 26px;
    }

    .customer-settings-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-settings-grid.two,
    .customer-address-list {
        grid-template-columns: 1fr;
    }

    .customer-settings-card {
        padding: 20px;
        border-radius: 17px;
    }

    .customer-settings-back,
    .customer-settings-primary {
        width: 100%;
        box-sizing: border-box;
    }
}


/* ===== KITOMANGA SETTINGS NAV LINK V1 ===== */

.kitomanga-settings-nav-link {
    display: inline-flex;
    align-items: center;
    color: #334155;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.kitomanga-settings-nav-link:hover,
.kitomanga-settings-nav-link:focus {
    color: #087f70;
}


/* ===== CHECKOUT SAVED ADDRESSES V1 ===== */

.checkout-address-section {
    margin: 0 0 30px;
}

.checkout-address-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 16px;
}

.checkout-address-heading h3 {
    margin: 0 0 5px;
    color: #0f172a;
    font-size: 1rem;
}

.checkout-address-heading p {
    margin: 0;
    color: #64748b;
    font-size: .88rem;
}

.checkout-address-heading a,
.checkout-no-address a {
    color: #087f70;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

.checkout-address-options {
    display: grid;
    grid-template-columns: repeat(
        2,
        minmax(0, 1fr)
    );
    gap: 13px;
}

.checkout-address-option {
    position: relative;
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 17px;
    border: 1px solid #d8e2ec;
    border-radius: 15px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.checkout-address-option:hover {
    border-color: #5eead4;
    transform: translateY(-1px);
}

.checkout-address-option:has(input:checked) {
    border-color: #0d9488;
    background: #f0fdfa;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .1);
}

.checkout-address-option input {
    flex: 0 0 auto;
    width: 18px !important;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #0d9488;
}

.checkout-address-content {
    display: grid;
    gap: 5px;
    min-width: 0;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.4;
}

.checkout-address-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}

.checkout-address-title strong {
    font-size: .94rem;
}

.checkout-address-title em {
    padding: 4px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: .68rem;
    font-style: normal;
    font-weight: 900;
}

.checkout-address-option.manual {
    border-style: dashed;
}

.checkout-no-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 25px;
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.checkout-no-address > div {
    display: grid;
    gap: 5px;
}

.checkout-no-address strong {
    color: #0f172a;
}

.checkout-no-address span {
    color: #64748b;
    font-size: .85rem;
}

.checkout-form-grid input[readonly],
.checkout-form-grid textarea[readonly] {
    border-color: #cbd5e1;
    background: #f1f5f9;
    color: #475569;
    cursor: not-allowed;
}

@media (max-width: 740px) {
    .checkout-address-options {
        grid-template-columns: 1fr;
    }

    .checkout-address-heading,
    .checkout-no-address {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ===== DASHBOARD HERO BUTTON VISIBILITY FIX V1 ===== */

.account-hero .account-hero-actions {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    margin-top: 28px !important;
}

.account-hero .account-hero-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 22px !important;
    border-radius: 13px !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.account-hero .account-hero-actions .account-hero-primary {
    border: 1px solid #f59e0b !important;
    background: #f59e0b !important;
    color: #111827 !important;
    box-shadow: 0 13px 28px rgba(245, 158, 11, .24) !important;
}

.account-hero .account-hero-actions .account-hero-primary:visited {
    color: #111827 !important;
}

.account-hero .account-hero-actions .account-hero-primary:hover {
    border-color: #fbbf24 !important;
    background: #fbbf24 !important;
    color: #111827 !important;
    transform: translateY(-2px);
}

.account-hero .account-hero-actions .account-hero-primary span {
    margin-left: 10px;
    color: inherit !important;
    font-size: 1.15rem !important;
}

.account-hero .account-hero-actions .account-hero-secondary {
    border: 1px solid rgba(255, 255, 255, .3) !important;
    background: rgba(255, 255, 255, .1) !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px);
}

.account-hero .account-hero-actions .account-hero-secondary:visited {
    color: #fff !important;
}

.account-hero .account-hero-actions .account-hero-secondary:hover {
    border-color: rgba(255, 255, 255, .55) !important;
    background: rgba(255, 255, 255, .18) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

@media (max-width: 650px) {
    .account-hero .account-hero-actions {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .account-hero .account-hero-actions a {
        width: 100% !important;
    }
}


/* ===== CUSTOMER WALLET REWARDS V1 ===== */

.wallet-rewards-page {
    padding: 42px 0 90px;
}

.wallet-rewards-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin: 30px 0;
    padding: 36px;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(45, 212, 191, .35),
            transparent 30%
        ),
        linear-gradient(130deg, #071426, #087f70);
    color: #fff;
}

.wallet-rewards-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.wallet-rewards-hero p {
    margin: 0;
    color: #ccfbf1;
}

.wallet-hero-identity {
    display: grid;
    gap: 6px;
    min-width: 250px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 17px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
}

.wallet-hero-identity span,
.wallet-hero-identity small {
    color: #ccfbf1;
}

.wallet-alert {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 14px;
    font-weight: 750;
}

.wallet-alert.success {
    border-color: #86efac;
    background: #ecfdf5;
    color: #166534;
}

.wallet-alert.error {
    border-color: #fecaca;
    background: #fff1f2;
    color: #991b1b;
}

.wallet-balance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.wallet-balance-card {
    display: grid;
    gap: 8px;
    padding: 25px;
    border: 1px solid #dce5ef;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15,23,42,.055);
}

.wallet-balance-card span,
.wallet-balance-card small {
    color: #64748b;
}

.wallet-balance-card strong {
    color: #0f172a;
    font-size: 1.65rem;
    letter-spacing: -.035em;
}

.wallet-balance-card.primary {
    border-color: #5eead4;
    background: linear-gradient(145deg, #f0fdfa, #fff);
}

.wallet-balance-card.rewards {
    background: linear-gradient(145deg, #fdf2f8, #fff);
}

.wallet-balance-card.value {
    background: linear-gradient(145deg, #fffbeb, #fff);
}

.wallet-action-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.wallet-action-card,
.wallet-history-card {
    padding: 25px;
    border: 1px solid #dce5ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15,23,42,.045);
}

.wallet-step {
    display: inline-flex;
    min-width: 38px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ccfbf1;
    color: #087f70;
    font-size: .75rem;
    font-weight: 900;
}

.wallet-action-card h2,
.wallet-history-card h2 {
    margin: 12px 0 7px;
    color: #0f172a;
}

.wallet-action-card > p {
    min-height: 46px;
    color: #64748b;
}

.wallet-action-form {
    display: grid;
    gap: 15px;
}

.wallet-action-form label {
    display: grid;
    gap: 7px;
}

.wallet-action-form label span {
    color: #334155;
    font-size: .82rem;
    font-weight: 800;
}

.wallet-action-form input,
.wallet-action-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 13px;
    border: 1px solid #cfdbe7;
    border-radius: 11px;
    font: inherit;
}

.wallet-action-form button {
    min-height: 47px;
    border: 0;
    border-radius: 12px;
    background: #087f70;
    color: #fff;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.wallet-action-form button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.wallet-rule,
.wallet-disabled {
    padding: 13px;
    border-radius: 11px;
    background: #f8fafc;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.5;
}

.wallet-action-card.info ul {
    display: grid;
    gap: 13px;
    padding-left: 20px;
    color: #475569;
    line-height: 1.5;
}

.wallet-history-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.wallet-history-card header {
    margin-bottom: 15px;
    padding-bottom: 17px;
    border-bottom: 1px solid #e5edf5;
}

.wallet-transaction-list {
    display: grid;
}

.wallet-transaction-list article {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid #e8eef5;
}

.wallet-transaction-list article:last-child {
    border-bottom: 0;
}

.wallet-transaction-list article > div {
    display: grid;
    gap: 4px;
}

.wallet-transaction-list article > div:last-child {
    text-align: right;
}

.wallet-transaction-list small {
    color: #64748b;
    font-size: .75rem;
}

.wallet-transaction-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 900;
}

.wallet-transaction-icon.deposit,
.wallet-transaction-icon.refund,
.wallet-transaction-icon.earn {
    background: #dcfce7;
    color: #15803d;
}

.wallet-empty {
    padding: 28px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
}

@media (max-width: 1000px) {
    .wallet-balance-grid,
    .wallet-action-layout {
        grid-template-columns: 1fr;
    }

    .wallet-history-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .wallet-rewards-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px;
    }

    .wallet-hero-identity {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .wallet-transaction-list article {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .wallet-transaction-list article > div:last-child {
        grid-column: 2;
        text-align: left;
    }
}


/* ===== DASHBOARD WALLET REWARDS ACTION V1 ===== */

@media (min-width: 1201px) {
    .account-quick-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* =========================================================
   CUSTOMER NOTIFICATION CENTRE
   ========================================================= */

.customer-notifications-page {
    padding-top: 42px;
    padding-bottom: 80px;
}

.customer-notification-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 0 30px;
}

.customer-notification-header h1 {
    margin: 8px 0 8px;
    color: #071127;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: .95;
    letter-spacing: -.055em;
}

.customer-notification-header p {
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
}

.customer-notification-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.customer-notification-stats article {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}

.customer-notification-stats span {
    display: block;
    margin-bottom: 8px;
    color: #718096;
    font-size: .86rem;
}

.customer-notification-stats strong {
    color: #071127;
    font-size: 1.55rem;
}

.customer-notification-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
}

.customer-notification-tabs {
    display: flex;
    gap: 6px;
}

.customer-notification-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #64748b;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 700;
}

.customer-notification-tabs a.active {
    color: #087f73;
    background: #ccfbf1;
}

.customer-notification-tabs a span {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    color: #fff;
    background: #0f8b7e;
    border-radius: 999px;
    font-size: .72rem;
}

.customer-notification-toolbar select {
    min-width: 210px;
    padding: 11px 38px 11px 14px;
    color: #243147;
    background: #fff;
    border: 1px solid #cfdbe7;
    border-radius: 11px;
    font: inherit;
    font-weight: 600;
}

.customer-notification-list {
    display: grid;
    gap: 12px;
}

.customer-notification-item {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.customer-notification-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .07);
}

.customer-notification-item.unread {
    border-color: #99e8dc;
    background:
        linear-gradient(90deg, rgba(204, 251, 241, .55), #fff 24%);
}

.customer-notification-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: #087f73;
    background: #ccfbf1;
    border-radius: 16px;
    font-weight: 900;
}

.customer-notification-icon.type-payment,
.customer-notification-icon.type-wallet {
    color: #92400e;
    background: #fef3c7;
    font-size: .78rem;
}

.customer-notification-icon.type-delivery {
    color: #166534;
    background: #dcfce7;
}

.customer-notification-icon.type-security {
    color: #991b1b;
    background: #fee2e2;
}

.customer-notification-content h2 {
    margin: 4px 0 6px;
    color: #071127;
    font-size: 1.08rem;
}

.customer-notification-content p {
    margin: 0;
    color: #5f6f86;
    line-height: 1.6;
}

.customer-notification-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8492a6;
    font-size: .78rem;
}

.customer-notification-meta span {
    color: #087f73;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.customer-notification-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-notification-actions form {
    margin: 0;
}

.customer-notification-actions button {
    padding: 9px 13px;
    color: #087f73;
    background: #fff;
    border: 1px solid #9fded5;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
}

.customer-unread-dot {
    width: 10px;
    height: 10px;
    background: #14b8a6;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(20, 184, 166, .12);
}

.customer-read-label {
    color: #94a3b8;
    font-size: .82rem;
    font-weight: 700;
}

.customer-notification-empty {
    padding: 80px 24px;
    text-align: center;
    background:
        radial-gradient(circle at center, #e5fffa 0, #fff 42%);
    border: 1px dashed #cbd9e7;
    border-radius: 24px;
}

.customer-notification-empty-icon {
    display: flex;
    width: 82px;
    height: 82px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: #087f73;
    background: #ccfbf1;
    border-radius: 50%;
    font-size: 2rem;
}

.customer-notification-empty h2 {
    margin: 0 0 10px;
    color: #071127;
}

.customer-notification-empty p {
    margin: 0 0 26px;
    color: #64748b;
}

.customer-primary-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #fff;
    background: #0f8b7e;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(15, 139, 126, .18);
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
}

.customer-notification-nav-link {
    position: relative;
}

.customer-notification-badge {
    display: inline-flex;
    min-width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    padding: 0 5px;
    color: #fff;
    background: #ef4444;
    border-radius: 999px;
    font-size: .67rem;
    font-weight: 900;
    vertical-align: top;
}

@media (max-width: 900px) {
    .customer-notification-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-notification-header,
    .customer-notification-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-notification-toolbar select {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .customer-notification-stats {
        grid-template-columns: 1fr;
    }

    .customer-notification-item {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
    }

    .customer-notification-icon {
        width: 48px;
        height: 48px;
    }

    .customer-notification-actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

/* =========================================================
   CUSTOMER RETURNS
   ========================================================= */

.customer-returns-page {
    padding-top: 42px;
    padding-bottom: 90px;
}

.customer-returns-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 0 30px;
}

.customer-returns-header h1 {
    margin: 8px 0;
    color: #071127;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.customer-returns-header p {
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
}

.customer-return-alert {
    padding: 16px 18px;
    margin-bottom: 20px;
    border-radius: 14px;
    font-weight: 700;
}

.customer-return-alert.success {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.customer-return-alert.error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.customer-return-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.customer-return-stats article {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
}

.customer-return-stats span {
    display: block;
    margin-bottom: 8px;
    color: #718096;
    font-size: .85rem;
}

.customer-return-stats strong {
    color: #071127;
    font-size: 1.45rem;
}

.customer-return-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(350px, .65fr);
    gap: 22px;
    align-items: start;
}

.customer-return-panel {
    padding: 26px;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .045);
}

.customer-return-panel-heading {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e6edf4;
}

.customer-return-panel-heading > span {
    display: inline-flex;
    min-width: 46px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: #087f73;
    background: #ccfbf1;
    border-radius: 999px;
    font-weight: 900;
}

.customer-return-panel-heading h2 {
    margin: 0 0 5px;
    color: #071127;
}

.customer-return-panel-heading p {
    margin: 0;
    color: #718096;
}

.customer-eligible-orders {
    display: grid;
    gap: 10px;
}

.customer-eligible-orders > a {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 17px;
    color: #172033;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    text-decoration: none;
}

.customer-eligible-orders > a.active {
    background: #e8fffa;
    border-color: #6ee7d8;
}

.customer-eligible-orders div {
    display: grid;
    gap: 5px;
}

.customer-eligible-orders span {
    color: #718096;
    font-size: .82rem;
}

.customer-return-form {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid #e6edf4;
}

.customer-return-selected-order {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 20px;
    color: #075e54;
    background: #ccfbf1;
    border-radius: 13px;
}

.customer-return-items {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.customer-return-items article {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 15px;
}

.customer-return-item-title {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.customer-return-item-title div {
    display: grid;
    gap: 5px;
}

.customer-return-item-title span {
    color: #718096;
    font-size: .82rem;
}

.customer-return-item-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.customer-return-item-fields label,
.customer-return-wide-field {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: .84rem;
    font-weight: 800;
}

.customer-return-item-fields input,
.customer-return-item-fields select,
.customer-return-wide-field textarea {
    width: 100%;
    padding: 12px 13px;
    color: #172033;
    background: #fff;
    border: 1px solid #cfdbe7;
    border-radius: 11px;
    font: inherit;
    box-sizing: border-box;
}

.customer-return-wide-field {
    margin-bottom: 16px;
}

.customer-return-history {
    display: grid;
    gap: 14px;
}

.customer-return-history article {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 15px;
}

.customer-return-history-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.customer-return-history-top div {
    display: grid;
    gap: 4px;
}

.customer-return-history-top div span {
    color: #718096;
    font-size: .78rem;
}

.customer-return-status {
    height: fit-content;
    padding: 6px 10px;
    color: #075e54;
    background: #ccfbf1;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 900;
}

.customer-return-status.status-rejected,
.customer-return-status.status-cancelled {
    color: #991b1b;
    background: #fee2e2;
}

.customer-return-status.status-completed {
    color: #166534;
    background: #dcfce7;
}

.customer-return-history dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 0;
    margin: 0;
    border-top: 1px solid #e0e8f0;
    border-bottom: 1px solid #e0e8f0;
}

.customer-return-history dl div {
    display: grid;
    gap: 3px;
}

.customer-return-history dt {
    color: #718096;
    font-size: .75rem;
}

.customer-return-history dd {
    margin: 0;
    color: #172033;
    font-weight: 800;
}

.customer-return-history p {
    margin: 14px 0 0;
    color: #5f6f86;
    line-height: 1.55;
}

.customer-return-empty {
    padding: 34px 20px;
    color: #718096;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #cbd9e7;
    border-radius: 15px;
}

.customer-return-empty h3 {
    margin: 0 0 8px;
    color: #172033;
}

.customer-return-empty p {
    margin: 0;
}

@media (max-width: 1000px) {
    .customer-return-layout {
        grid-template-columns: 1fr;
    }

    .customer-return-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .customer-returns-header {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-return-stats,
    .customer-return-item-fields {
        grid-template-columns: 1fr;
    }

    .customer-eligible-orders > a,
    .customer-return-item-title {
        flex-direction: column;
    }
}

/* =========================================================
   CUSTOMER REVIEWS
   ========================================================= */

.customer-reviews-page {
    padding-top: 42px;
    padding-bottom: 90px;
}

.customer-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 0 30px;
}

.customer-reviews-header h1 {
    margin: 8px 0;
    color: #071127;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.customer-reviews-header p {
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
}

.customer-review-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.customer-review-stats article {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
}

.customer-review-stats span {
    display: block;
    margin-bottom: 8px;
    color: #718096;
    font-size: .85rem;
}

.customer-review-stats strong {
    color: #071127;
    font-size: 1.45rem;
}

.customer-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr);
    gap: 22px;
    align-items: start;
}

.customer-review-panel {
    padding: 26px;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .045);
}

.customer-review-panel-heading {
    display: flex;
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e6edf4;
}

.customer-review-panel-heading > span {
    display: inline-flex;
    min-width: 46px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: #087f73;
    background: #ccfbf1;
    border-radius: 999px;
    font-weight: 900;
}

.customer-review-panel-heading h2 {
    margin: 0 0 5px;
    color: #071127;
}

.customer-review-panel-heading p {
    margin: 0;
    color: #718096;
}

.customer-review-eligible-list {
    display: grid;
    gap: 18px;
}

.customer-review-eligible-list > article {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 17px;
}

.customer-review-product {
    margin-bottom: 18px;
}

.customer-review-product > span {
    color: #087f73;
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.customer-review-product h3 {
    margin: 7px 0 5px;
    color: #071127;
}

.customer-review-product p {
    margin: 0;
    color: #718096;
    font-size: .85rem;
}

.customer-review-eligible-list form {
    display: grid;
    gap: 14px;
}

.customer-review-eligible-list form > label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: .84rem;
    font-weight: 800;
}

.customer-review-eligible-list input[type="text"],
.customer-review-eligible-list textarea {
    width: 100%;
    padding: 12px 13px;
    color: #172033;
    background: #fff;
    border: 1px solid #cfdbe7;
    border-radius: 11px;
    box-sizing: border-box;
    font: inherit;
}

.customer-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 3px;
    padding: 0;
    margin: 0;
    border: 0;
}

.customer-star-rating legend {
    width: 100%;
    margin-bottom: 7px;
    color: #344054;
    font-size: .84rem;
    font-weight: 800;
}

.customer-star-rating input {
    position: absolute;
    opacity: 0;
}

.customer-star-rating label {
    color: #cbd5e1;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.customer-star-rating label:hover,
.customer-star-rating label:hover ~ label,
.customer-star-rating input:checked ~ label {
    color: #f59e0b;
}

.customer-review-history {
    display: grid;
    gap: 14px;
}

.customer-review-history article {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 15px;
}

.customer-review-history-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.customer-review-history-top span {
    color: #718096;
    font-size: .78rem;
}

.customer-review-history-top h3 {
    margin: 5px 0 0;
    color: #071127;
}

.customer-review-status {
    height: fit-content;
    padding: 6px 10px;
    color: #166534 !important;
    background: #dcfce7;
    border-radius: 999px;
    font-weight: 900;
}

.customer-review-stars {
    margin: 13px 0 9px;
    color: #f59e0b;
    font-size: 1.35rem;
    letter-spacing: .05em;
}

.customer-review-history article > p {
    color: #5f6f86;
    line-height: 1.55;
}

.customer-review-history small {
    display: block;
    margin-top: 12px;
    color: #087f73;
    font-weight: 800;
}

@media (max-width: 1000px) {
    .customer-review-layout {
        grid-template-columns: 1fr;
    }

    .customer-review-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .customer-reviews-header {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-review-stats {
        grid-template-columns: 1fr;
    }
}

/* CUSTOMER DISPUTE CENTRE */

.customer-disputes-page {
    padding-top: 42px;
    padding-bottom: 90px;
}

.customer-disputes-header {
    margin: 28px 0 30px;
}

.customer-disputes-header h1 {
    margin: 8px 0;
    color: #071127;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.customer-disputes-header p {
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
}

.customer-dispute-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr);
    gap: 22px;
    align-items: start;
}

.customer-dispute-panel,
.customer-dispute-detail {
    padding: 26px;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .045);
}

.customer-dispute-form {
    display: grid;
    gap: 15px;
}

.customer-dispute-form label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: .84rem;
    font-weight: 800;
}

.customer-dispute-form input,
.customer-dispute-form select,
.customer-dispute-form textarea,
.customer-dispute-message-form textarea {
    width: 100%;
    padding: 12px 13px;
    color: #172033;
    background: #fff;
    border: 1px solid #cfdbe7;
    border-radius: 11px;
    box-sizing: border-box;
    font: inherit;
}

.customer-dispute-form small {
    color: #718096;
    font-weight: 500;
}

.customer-dispute-list {
    display: grid;
    gap: 11px;
}

.customer-dispute-list > a {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    color: #172033;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    text-decoration: none;
}

.customer-dispute-list > a.active {
    background: #e8fffa;
    border-color: #6ee7d8;
}

.customer-dispute-list div {
    display: grid;
    gap: 4px;
}

.customer-dispute-list div > span,
.customer-dispute-list small {
    color: #718096;
    font-size: .78rem;
}

.customer-dispute-detail {
    margin-top: 22px;
}

.customer-dispute-detail > header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #e6edf4;
}

.customer-dispute-detail header h2 {
    margin: 5px 0;
    color: #071127;
}

.customer-dispute-detail header p {
    margin: 0;
    color: #718096;
}

.customer-dispute-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 24px;
}

.customer-dispute-messages {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.customer-dispute-messages article {
    max-width: 82%;
    padding: 14px 16px;
    background: #f1f5f9;
    border-radius: 15px 15px 15px 4px;
}

.customer-dispute-messages article.sender-customer {
    margin-left: auto;
    color: #064e46;
    background: #ccfbf1;
    border-radius: 15px 15px 4px 15px;
}

.customer-dispute-messages p {
    margin: 6px 0;
    line-height: 1.5;
}

.customer-dispute-messages time {
    color: #718096;
    font-size: .72rem;
}

.customer-dispute-message-form {
    display: grid;
    gap: 11px;
}

.customer-dispute-detail aside {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
}

.customer-dispute-detail aside dl {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
}

.customer-dispute-detail aside dl div {
    display: grid;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dbe4ee;
}

.customer-dispute-detail aside dt {
    color: #718096;
    font-size: .75rem;
}

.customer-dispute-detail aside dd {
    margin: 0;
    font-weight: 700;
}

.customer-dispute-evidence {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.customer-dispute-evidence a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 11px;
    color: #087f73;
    background: #fff;
    border: 1px solid #cfdbe7;
    border-radius: 10px;
    text-decoration: none;
    font-size: .8rem;
}

.customer-dispute-upload {
    display: grid;
    gap: 9px;
}

.customer-dispute-upload button {
    padding: 10px;
    color: #087f73;
    background: #fff;
    border: 1px solid #9fded5;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
}

@media (max-width: 1000px) {
    .customer-dispute-layout,
    .customer-dispute-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .customer-dispute-list > a,
    .customer-dispute-detail > header {
        flex-direction: column;
    }

    .customer-dispute-messages article {
        max-width: 94%;
    }
}

/* =========================================================
   PUBLIC ACCOUNT DROPDOWN
   ========================================================= */

.public-account-menu {
    position: relative;
    z-index: 100;
}

.public-account-menu > summary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    color: #243147;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    font-weight: 800;
    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.public-account-menu > summary::-webkit-details-marker {
    display: none;
}

.public-account-menu > summary:hover,
.public-account-menu[open] > summary {
    color: #087f73;
    background: #effcf9;
    border-color: #8eddd2;
}

.public-account-chevron {
    color: #718096;
    font-size: 1rem;
    transition: transform .2s ease;
}

.public-account-menu[open] .public-account-chevron {
    transform: rotate(180deg);
}

.public-account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(330px, calc(100vw - 32px));
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, .16),
        0 8px 20px rgba(15, 23, 42, .08);
}

.public-account-dropdown::before {
    position: absolute;
    top: -7px;
    right: 28px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-top: 1px solid #dbe4ee;
    border-left: 1px solid #dbe4ee;
    content: "";
    transform: rotate(45deg);
}

.public-account-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background:
        linear-gradient(
            135deg,
            #07172b,
            #096b66
        );
}

.public-account-avatar {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #14b8a6;
    border-radius: 13px;
    font-size: 1.05rem;
    font-weight: 900;
}

.public-account-identity div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.public-account-identity strong {
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-account-identity small {
    overflow: hidden;
    color: #b7e9e4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-account-dropdown-links {
    display: grid;
    padding: 10px;
}

.public-menu .public-account-dropdown-links a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 11px;
    color: #344054;
    border-radius: 10px;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
}

.public-menu .public-account-dropdown-links a:hover {
    color: #087f73;
    background: #effcf9;
}

.public-account-dropdown-links a > span {
    color: #0f8b7e;
    text-align: center;
    font-size: 1rem;
}

.public-account-menu-count {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    color: #fff;
    background: #ef4444;
    border-radius: 999px;
    box-sizing: border-box;
    font-size: .68rem;
}

.public-account-signout {
    padding: 10px;
    margin: 0;
    border-top: 1px solid #e6edf4;
}

.public-account-signout button {
    display: grid;
    width: 100%;
    min-height: 42px;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    color: #b42318;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
}

.public-account-signout button:hover {
    background: #fff1f0;
}

.public-account-signout button span {
    text-align: center;
}

@media (max-width: 900px) {
    .public-account-menu {
        width: 100%;
    }

    .public-account-menu > summary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .public-account-dropdown {
        position: static;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
    }

    .public-account-dropdown::before {
        display: none;
    }
}
