:root { --customer-account-header-clearance: 230px; }

.customer-account-page {
    width: 100%;
    background: #fbf8f3;
    color: #2b2b2b;
}

.customer-account-layout {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    min-height: calc(100vh - var(--customer-account-header-clearance));
    min-height: calc(100dvh - var(--customer-account-header-clearance));
    color: #2b2b2b;
}

.customer-account-sidebar {
    position: sticky;
    top: var(--customer-account-header-clearance);
    align-self: start;
    height: calc(100vh - var(--customer-account-header-clearance));
    height: calc(100dvh - var(--customer-account-header-clearance));
    min-height: 0;
    max-height: calc(100dvh - var(--customer-account-header-clearance));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fffdfa;
    border-right: 1px solid #e9e3d9;
}

.customer-account-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 0 0 16px;
}

.customer-account-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 11px 20px;
    border-right: 3px solid transparent;
    color: #70685e;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.customer-account-link > i {
    width: 18px;
    color: #8a7755;
    text-align: center;
}

.customer-account-link:hover,
.customer-account-link.is-active {
    color: #806d4b;
    background: rgba(201, 164, 92, .13);
    text-decoration: none;
}

.customer-account-link.is-active {
    border-right-color: #c9a45c;
    font-weight: 600;
}

.customer-account-link.is-active > i { color: #a8843c; }

.customer-account-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: auto;
    padding: 0 6px;
    border-radius: 999px;
    background: #f4ede1;
    color: #806d4b;
    font-size: 11px;
    font-weight: 700;
}

.customer-account-logout {
    margin-top: auto;
    flex-shrink: 0;
    padding: 14px 18px 16px;
    border-top: 1px solid #e9e3d9;
}

.customer-account-logout form { margin: 0; }

.customer-account-logout button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 9px;
    background: #f7efed;
    color: #9b6257;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.customer-account-logout button:hover { background: #f0e2de; }

.customer-account-main {
    min-width: 0;
    padding: 22px 30px 34px;
}

.customer-account-main.customer-panel-main { padding: 0; }

.customer-panel-heading {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    padding: 22px 30px 18px;
    border-bottom: 1px solid #e9e3d9;
    background: transparent;
    box-shadow: none;
}

.customer-panel-heading h1 {
    margin: 0;
    color: #2b2b2b;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.customer-panel-heading p {
    margin: 5px 0 0;
    color: #77736d;
    font-size: 13px;
}

.customer-panel-heading.customer-page-heading { margin: 0; }
.customer-panel-heading .bg-green-50 { background: #f4ede1; color: #806d4b; border-color: #e9e3d9; }
.customer-panel-heading .bg-gray-50 { background: #f8f4ed; }
.customer-panel-heading .hover\:bg-gray-100:hover { background: #f0e8dc; }

.customer-panel-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px 30px 34px;
}

.customer-panel-content-narrow {
    max-width: 56rem;
    margin-right: auto;
    margin-left: auto;
}

.customer-page-heading { margin: 0 0 18px; }
.customer-page-heading h1 { margin: 0; color: #2b2b2b; font-size: 26px; font-weight: 700; line-height: 1.25; }
.customer-page-heading p { margin: 5px 0 0; color: #77736d; font-size: 13px; }

.customer-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.customer-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    padding: 16px;
    border: 1px solid #e9e3d9;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 3px 15px rgba(43, 33, 19, .04);
}

.customer-summary-label { margin: 0; color: #77736d; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.customer-summary-value { margin: 6px 0 0; color: #2b2b2b; font-size: 23px; font-weight: 700; line-height: 1.1; }
.customer-summary-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: 19px; }
.customer-summary-icon.is-orders { background: rgba(201, 164, 92, .15); color: #806d4b; }
.customer-summary-icon.is-progress { background: #f4ede1; color: #a8843c; }
.customer-summary-icon.is-amount { background: #f1eee7; color: #6f654e; }

.customer-orders-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
}

.customer-orders-heading h2 { margin: 0; color: #2b2b2b; font-size: 18px; font-weight: 700; }
.customer-orders-heading a { color: #806d4b; font-size: 13px; font-weight: 600; text-decoration: none; }
.customer-orders-heading a:hover { text-decoration: underline; }

.customer-order-card {
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid #e9e3d9;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(43, 33, 19, .06);
}

.customer-order-card-head,
.customer-order-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.customer-order-card-head { margin-bottom: 12px; }
.customer-order-number { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #2b2b2b; font-size: 14px; font-weight: 700; }
.customer-order-date { margin-top: 4px; color: #77736d; font-size: 11px; }
.customer-order-amount { color: #2b2b2b; font-size: 15px; font-weight: 700; white-space: nowrap; }
.customer-order-status { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 6px; background: #f4ede1; color: #70685e; font-size: 11px; font-weight: 700; }
.customer-order-status.is-delivered { background: #edf2e9; color: #5e7151; }
.customer-order-status.is-cancelled { background: #f7ece9; color: #9b6257; }
.customer-order-status.is-progress { background: #f8f1e3; color: #98722e; }
.customer-order-product { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 2px 0 14px; border-bottom: 1px solid #eee8dc; }
.customer-order-product img { width: 48px; height: 48px; border: 1px solid #e9e3d9; border-radius: 6px; object-fit: cover; }
.customer-order-product-name { color: #514b40; font-size: 13px; font-weight: 500; }
.customer-order-summary { margin: 14px 0; padding: 14px; border: 1px solid #e9e3d9; border-radius: 9px; background: #fbf8f3; color: #514b40; font-size: 12px; }
.customer-order-card-foot { color: #77736d; font-size: 12px; }
.customer-order-card-foot strong { color: #2b2b2b; }
.customer-order-view { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; background: #c9a45c; color: #2b2b2b; font-size: 12px; font-weight: 700; text-decoration: none; }
.customer-order-view:hover { background: #a8843c; color: #fff; text-decoration: none; }
.customer-account-empty { padding: 36px 18px; border: 1px solid #e9e3d9; border-radius: 15px; background: #fffdfa; color: #77736d; text-align: center; }

@media (max-width: 767.98px) {
    .customer-account-page { --customer-account-header-clearance: 0px; }
    .customer-account-layout { display: block; min-height: auto; }
    .customer-account-sidebar { position: static; height: auto; max-height: none; overflow: visible; border-right: 0; border-bottom: 1px solid #e9e3d9; }
    .customer-account-nav { flex: none; flex-direction: row; min-height: auto; overflow-x: auto; overflow-y: hidden; padding: 0; }
    .customer-account-link { flex: 0 0 auto; min-height: 48px; gap: 7px; padding: 10px 13px; border-right: 0; border-bottom: 3px solid transparent; font-size: 12px; }
    .customer-account-link.is-active { border-bottom-color: #c9a45c; }
    .customer-account-badge { min-width: 18px; height: 18px; padding: 0 5px; }
    .customer-account-logout { padding: 8px 12px; border-top: 0; }
    .customer-account-logout button { width: auto; min-height: 34px; margin-left: auto; padding: 0 14px; font-size: 12px; }
    .customer-account-main { padding: 18px 14px 26px; }
    .customer-account-main.customer-panel-main { padding: 0; }
    .customer-panel-heading { gap: 10px; padding: 16px 14px 14px; }
    .customer-panel-heading h1 { font-size: 22px; }
    .customer-panel-content { padding: 16px 14px 26px; }
    .customer-page-heading h1 { font-size: 22px; }
    .customer-summary-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
    .customer-summary-card { min-height: 72px; padding: 13px; }
    .customer-summary-value { font-size: 21px; }
    .customer-order-card { padding: 13px; }
    .customer-order-card-head { align-items: flex-start; }
    .customer-order-card-foot { align-items: flex-start; flex-wrap: wrap; }
}

/* Keep the storefront palette consistent across every customer page. */
body.customer-area {
    --primary: #c9a45c;
    --primary-rgb: 201, 164, 92;
    --customer-cream: #fbf8f3;
    --customer-surface: #fffdfa;
    --customer-gold: #c9a45c;
    --customer-gold-dark: #806d4b;
    --customer-ink: #2b2b2b;
    --customer-muted: #77736d;
    --customer-line: #e9e3d9;
    color: var(--customer-ink);
}

body.customer-area #storefront-content,
body.customer-area .site-themed-background {
    color: var(--customer-ink);
    background-color: var(--customer-cream);
}

body.customer-area #sidebar,
body.customer-area .customer-sidebar,
body.customer-area .customer-content,
body.customer-area .account-card {
    border-color: var(--customer-line) !important;
    background-color: var(--customer-surface) !important;
}

@media (min-width: 1024px) {
    body.customer-area #sidebar {
        position: sticky !important;
        top: 0;
        align-self: flex-start;
        height: 100vh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

body.customer-area #sidebar .border-gray-100,
body.customer-area #sidebar .border-gray-200,
body.customer-area .customer-content .border-gray-100,
body.customer-area .customer-content .border-gray-200 {
    border-color: var(--customer-line) !important;
}

body.customer-area .sidebar-item {
    color: #70685e !important;
}

body.customer-area .sidebar-item:hover,
body.customer-area .active-menu {
    border-color: var(--customer-gold) !important;
    background-color: #f4ede1 !important;
    color: var(--customer-gold-dark) !important;
}

body.customer-area .customer-account-link,
body.customer-area .customer-account-link > i {
    color: #70685e;
}

body.customer-area .customer-account-link:hover,
body.customer-area .customer-account-link.is-active {
    color: var(--customer-gold-dark);
    background-color: rgba(201, 164, 92, .13);
}

body.customer-area .account-title,
body.customer-area .customer-content h1,
body.customer-area .customer-content h2,
body.customer-area .customer-content h3,
body.customer-area .customer-content h4,
body.customer-area .customer-content h5 {
    color: var(--customer-ink) !important;
}

body.customer-area .account-divider {
    border-color: var(--customer-gold) !important;
}

body.customer-area .bg-white { background-color: var(--customer-surface) !important; }
body.customer-area .bg-gray-50 { background-color: var(--customer-cream) !important; }
body.customer-area .bg-gray-100 { background-color: #f4ede1 !important; }
body.customer-area .bg-indigo-50,
body.customer-area .bg-indigo-100,
body.customer-area .bg-blue-50,
body.customer-area .bg-blue-100,
body.customer-area .bg-purple-50,
body.customer-area .bg-purple-100 { background-color: #f4ede1 !important; }
body.customer-area .bg-indigo-500,
body.customer-area .bg-indigo-600,
body.customer-area .bg-blue-500,
body.customer-area .bg-blue-600,
body.customer-area .bg-purple-500,
body.customer-area .bg-purple-600 {
    background-color: var(--customer-gold) !important;
    color: var(--customer-ink) !important;
}
body.customer-area [class~="hover:bg-indigo-700"]:hover,
body.customer-area [class~="hover:bg-indigo-600"]:hover,
body.customer-area [class~="hover:bg-blue-600"]:hover,
body.customer-area [class~="hover:bg-purple-600"]:hover { background-color: #b8944f !important; }

body.customer-area .text-gray-800,
body.customer-area .text-gray-700 { color: var(--customer-ink) !important; }
body.customer-area .text-gray-600,
body.customer-area .text-gray-500 { color: var(--customer-muted) !important; }
body.customer-area .text-indigo-500,
body.customer-area .text-indigo-600,
body.customer-area .text-indigo-700,
body.customer-area .text-blue-500,
body.customer-area .text-blue-600,
body.customer-area .text-blue-700,
body.customer-area .text-purple-500,
body.customer-area .text-purple-600,
body.customer-area .text-purple-700 { color: var(--customer-gold-dark) !important; }
body.customer-area .border-gray-50,
body.customer-area .border-gray-100,
body.customer-area .border-gray-200,
body.customer-area .border-gray-300 { border-color: var(--customer-line) !important; }
body.customer-area .border-indigo-300,
body.customer-area .border-indigo-400,
body.customer-area .border-indigo-500,
body.customer-area .border-blue-300,
body.customer-area .border-blue-400,
body.customer-area .border-blue-500 { border-color: var(--customer-gold) !important; }

body.customer-area [class~="from-indigo-600"] {
    --tw-gradient-from: var(--customer-gold) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgb(201 164 92 / 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), #b8944f var(--tw-gradient-to-position) !important;
}

body.customer-area [class~="to-purple-600"] {
    --tw-gradient-to: #b8944f var(--tw-gradient-to-position) !important;
}

body.customer-area .card,
body.customer-area .card-header,
body.customer-area .list-group-item {
    border-color: var(--customer-line) !important;
    background-color: var(--customer-surface) !important;
    color: var(--customer-ink);
}

body.customer-area .card-header { background-color: #f4ede1 !important; }

body.customer-area .btn-primary,
body.customer-area .btn-primary:hover,
body.customer-area .btn-primary:focus,
body.customer-area .cf-submit-btn {
    border-color: var(--customer-gold) !important;
    background-color: var(--customer-gold) !important;
    color: var(--customer-ink) !important;
}

body.customer-area .btn-primary:hover,
body.customer-area .cf-submit-btn:hover { background-color: #b8944f !important; }

body.customer-area input:not([type="checkbox"]):not([type="radio"]),
body.customer-area select,
body.customer-area textarea,
body.customer-area .form-control,
body.customer-area .select2-container--default .select2-selection--single {
    border-color: var(--customer-line);
    background-color: #fffdfa;
    color: var(--customer-ink);
}

body.customer-area input:focus,
body.customer-area select:focus,
body.customer-area textarea:focus,
body.customer-area .form-control:focus,
body.customer-area .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--customer-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 164, 92, .18) !important;
    outline-color: var(--customer-gold);
}

body.customer-area .custom-table th,
body.customer-area table thead th {
    background-color: #f4ede1 !important;
    color: #70685e !important;
}

body.customer-area .custom-table td,
body.customer-area table th,
body.customer-area table td { border-color: var(--customer-line) !important; }

body.customer-area .profile-image-preview { border-color: var(--customer-line) !important; }
body.customer-area .profile-image-upload-btn,
body.customer-area .profile-image-upload-btn:hover {
    border-color: var(--customer-surface) !important;
    background-color: var(--customer-gold) !important;
}

body.customer-area .cf-file-wrap:hover { border-color: var(--customer-gold) !important; background-color: #fbf8f3 !important; }
body.customer-area .cf-submit-btn { box-shadow: 0 4px 14px rgba(201, 164, 92, .2) !important; }
body.customer-area [style*="#2563eb"],
body.customer-area [style*="#6366f1"] { color: var(--customer-gold-dark) !important; }

.customer-support-page .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.customer-support-main .page-hero {
    margin: 0 0 18px;
    padding: 0;
    background: transparent;
    color: var(--customer-ink);
    text-align: left;
}

.customer-support-page .page-hero-inner {
    display: flex;
    align-items: center;
    gap: 13px;
}

.customer-support-page .page-hero-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    background: #f4ede1;
    color: var(--customer-gold-dark);
    font-size: 18px;
}

.customer-support-page .page-hero h1 {
    justify-content: flex-start;
    margin: 0;
    color: var(--customer-ink);
    font-size: 24px;
    line-height: 1.25;
}

.customer-support-page .page-hero-breadcrumb { display: none; }
.customer-support-page .service-page-section { padding: 0; }
.customer-support-page .complaint-layout { grid-template-columns: minmax(230px, .72fr) minmax(0, 1.55fr); gap: 18px; }

.customer-support-page .complaint-info-panel {
    position: static;
    padding: 24px 20px;
    border: 1px solid var(--customer-line);
    border-radius: 15px;
    background: #f4ede1;
    color: var(--customer-ink);
}

.customer-support-page .complaint-info-head { margin-bottom: 18px; }
.customer-support-page .complaint-info-icon,
.customer-support-page .cci-icon { background: rgba(201, 164, 92, .2); color: var(--customer-gold-dark); }
.customer-support-page .complaint-info-head h3 { color: var(--customer-ink); }
.customer-support-page .complaint-info-head p { color: #70685e; opacity: 1; }
.customer-support-page .complaint-contact-list { gap: 9px; margin-bottom: 20px; }

.customer-support-page .complaint-contact-item,
.customer-support-page .complaint-contact-item:hover {
    border: 1px solid var(--customer-line);
    background: var(--customer-surface);
    color: var(--customer-ink);
}

.customer-support-page .complaint-contact-item:hover { border-color: var(--customer-gold); }
.customer-support-page .cci-label { color: var(--customer-muted); opacity: 1; }
.customer-support-page .cci-value { color: var(--customer-ink); overflow-wrap: anywhere; }
.customer-support-page .complaint-guarantee { border-color: #dfd4c0; }
.customer-support-page .cg-item { color: #655d51; opacity: 1; }
.customer-support-page .cg-item i { color: var(--customer-gold-dark); }

.customer-support-page .complaint-form-panel {
    border: 1px solid var(--customer-line);
    border-radius: 15px;
    background: var(--customer-surface);
    box-shadow: 0 4px 18px rgba(43, 33, 19, .06);
}

.customer-support-page .complaint-form-header {
    padding: 20px 24px 17px;
    border-color: var(--customer-line);
    background: #fffdfa;
}

.customer-support-page .complaint-form-header h2 { color: var(--customer-ink); }
.customer-support-page .complaint-form-header h2 i,
.customer-support-page .cf-input-wrap i { color: var(--customer-gold-dark); }
.customer-support-page .complaint-form-header p { color: var(--customer-muted); }
.customer-support-page .complaint-form { padding: 22px 24px; }
.customer-support-page .cf-label { color: #514b40; }
.customer-support-page .cf-input-wrap input,
.customer-support-page .cf-textarea-wrap textarea { border-color: var(--customer-line); background: #fffdfa; color: var(--customer-ink); }
.customer-support-page .cf-input-wrap input:focus,
.customer-support-page .cf-textarea-wrap textarea:focus { border-color: var(--customer-gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .16); }
.customer-support-page .cf-file-wrap { border-color: #d8c9ad; background: #fbf8f3; }
.customer-support-page .cf-file-wrap i { color: var(--customer-gold-dark); }
.customer-support-page .cf-file-wrap p { color: #70685e; }
.customer-support-page .cf-file-wrap small { color: var(--customer-muted); }
.customer-support-page .cf-error { color: #a24f45; }
.customer-support-page .cf-submit-btn { background: var(--customer-gold); color: var(--customer-ink); }
.customer-support-page .cf-submit-btn:hover { background: #b8944f; }

@media (max-width: 991px) {
    .customer-support-page .complaint-layout { grid-template-columns: 1fr; }
    .customer-support-page .complaint-info-panel { position: static; }
}

@media (max-width: 767.98px) {
    .customer-support-main { padding: 18px 14px 26px; }
    .customer-support-page .page-hero h1 { font-size: 21px; }
    .customer-support-page .complaint-form-header { padding: 18px 16px 14px; }
    .customer-support-page .complaint-form { padding: 16px; }
}

.customer-order-track-account .order-track-page {
    min-height: 0;
    padding: 10px 0 18px;
    background: transparent;
}

.customer-order-track-account .order-track-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .95fr);
    gap: 24px;
    width: 100%;
    margin: 0;
}

.customer-order-track-account .order-track-intro h1 {
    font-size: clamp(34px, 3.3vw, 46px);
    line-height: 1.08;
}

.customer-order-track-account .order-track-intro > p { margin: 14px 0 20px; }
.customer-order-track-account .order-track-card { border-color: var(--customer-line); border-radius: 16px; box-shadow: 0 4px 18px rgba(43, 33, 19, .06); }
.customer-order-track-account .order-track-submit { border-color: var(--customer-gold); background: var(--customer-gold); color: var(--customer-ink); }
.customer-order-track-account .order-track-submit:hover { background: #b8944f; }
.customer-order-track-account .order-track-help a { color: var(--customer-gold-dark); }

@media (max-width: 1200px) {
    .customer-order-track-account .order-track-layout {
        grid-template-columns: 1fr;
        gap: 22px;
        width: min(100%, 820px);
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .customer-order-track-account .order-track-page { padding: 0 0 10px; }
    .customer-order-track-account .order-track-intro h1 { font-size: clamp(32px, 9vw, 42px); }
    .customer-order-track-account .order-track-card { padding: 20px 16px; }
}

.customer-rewards-main { max-width: 1440px; }
.customer-rewards-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.customer-rewards-eyebrow,
.customer-rewards-section-kicker { color: #a8843c; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.customer-rewards-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.customer-rewards-shop-link { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 10px 14px; border: 1px solid #e9e3d9; border-radius: 9px; background: #fffdfa; color: #806d4b; font-size: 12px; font-weight: 700; text-decoration: none; }
.customer-rewards-shop-link:hover { border-color: #c9a45c; background: #f4ede1; color: #5e4d31; text-decoration: none; }

.customer-rewards-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 225px; overflow: hidden; margin-bottom: 17px; padding: 30px 34px; border: 1px solid #b8944f; border-radius: 18px; background: linear-gradient(112deg, #332d22 0%, #51432d 57%, #8b7041 100%); box-shadow: 0 10px 28px rgba(67, 52, 29, .15); color: #fff; }
.customer-rewards-hero-copy { position: relative; z-index: 1; }
.customer-rewards-hero-label { display: inline-flex; align-items: center; gap: 8px; color: #ead9b5; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.customer-rewards-hero-label i { color: #e2bd70; }
.customer-rewards-points { margin: 13px 0 2px; color: #fff; font-size: clamp(42px, 5vw, 60px); font-weight: 750; letter-spacing: -.045em; line-height: 1; }
.customer-rewards-points span { color: #e2bd70; font-size: 19px; font-weight: 700; letter-spacing: 0; }
.customer-rewards-hero-copy > p { margin: 9px 0 13px; color: #e7dfd0; font-size: 13px; }
.customer-rewards-conversion { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; font-size: 11px; font-weight: 600; }
.customer-rewards-conversion i { color: #e2bd70; }
.customer-rewards-member-card { position: relative; z-index: 1; display: flex; flex: 0 0 235px; flex-direction: column; align-items: flex-start; min-height: 158px; padding: 19px; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.customer-rewards-member-icon { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 12px; border-radius: 10px; background: #e4c47f; color: #44351e; font-size: 15px; }
.customer-rewards-member-label { color: #ead9b5; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.customer-rewards-member-card > strong { margin-top: 4px; color: #fff; font-size: 24px; line-height: 1.1; }
.customer-rewards-member-discount { margin-top: 6px; color: #eee3cf; font-size: 11px; }
.customer-rewards-hero-decoration { position: absolute; right: 245px; bottom: -96px; color: rgba(255,255,255,.045); font-size: 280px; line-height: 1; transform: rotate(-15deg); }

.customer-rewards-progress-card { margin-bottom: 18px; padding: 19px 22px 16px; border: 1px solid #e9e3d9; border-radius: 14px; background: #fffdfa; box-shadow: 0 3px 15px rgba(43, 33, 19, .035); }
.customer-rewards-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.customer-rewards-progress-head h2 { margin: 5px 0 0; color: #2b2b2b; font-size: 17px; font-weight: 750; }
.customer-rewards-progress-head h2 span { margin-left: 6px; color: #806d4b; font-size: 11px; font-weight: 600; }
.customer-rewards-progress-remaining { text-align: right; }
.customer-rewards-progress-remaining strong { display: block; color: #806d4b; font-size: 16px; }
.customer-rewards-progress-remaining span { color: #77736d; font-size: 10px; }
.customer-rewards-progress-track { height: 8px; overflow: hidden; border-radius: 99px; background: #f1ece2; }
.customer-rewards-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c9a45c, #e1c47f); transition: width .25s ease; }
.customer-rewards-progress-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: #77736d; font-size: 10px; }
.customer-rewards-progress-foot span:first-child,
.customer-rewards-progress-foot span:last-child { color: #806d4b; font-weight: 700; }

.customer-rewards-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 31px; }
.customer-rewards-stat { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px; border: 1px solid #e9e3d9; border-radius: 12px; background: #fff; }
.customer-rewards-stat-icon { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
.customer-rewards-stat-icon.is-earned { background: #edf3e8; color: #63814f; }
.customer-rewards-stat-icon.is-redeemed { background: #f8ece8; color: #a96d5d; }
.customer-rewards-stat-icon.is-orders { background: #f4ede1; color: #806d4b; }
.customer-rewards-stat-icon.is-spend { background: #f1eee7; color: #6f654e; }
.customer-rewards-stat > div { min-width: 0; }
.customer-rewards-stat > div span { display: block; overflow: hidden; color: #77736d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.customer-rewards-stat > div strong { display: block; margin-top: 4px; color: #2b2b2b; font-size: 18px; line-height: 1.1; }

.customer-rewards-tiers,
.customer-rewards-history { margin-bottom: 30px; }
.customer-rewards-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.customer-rewards-section-heading h2 { margin: 4px 0 0; color: #2b2b2b; font-size: 19px; font-weight: 750; }
.customer-rewards-section-heading > p { margin: 0 0 2px; color: #77736d; font-size: 11px; }
.customer-rewards-tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.customer-rewards-tier-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 168px; padding: 16px; border: 1px solid #e9e3d9; border-radius: 13px; background: #fffdfa; transition: transform .18s ease, box-shadow .18s ease; }
.customer-rewards-tier-card:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(43, 33, 19, .07); }
.customer-rewards-tier-card.is-current { border-color: #c9a45c; background: linear-gradient(145deg, #fffdfa, #f8f0df); box-shadow: 0 3px 14px rgba(168, 132, 60, .12); }
.customer-rewards-tier-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 9px; background: #f4ede1; color: #a8843c; }
.customer-rewards-tier-card h3 { margin: 0; color: #2b2b2b; font-size: 14px; font-weight: 750; }
.customer-rewards-current-badge { position: absolute; top: 16px; right: 13px; padding: 4px 7px; border-radius: 99px; background: #ead9b5; color: #6e5425; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.customer-rewards-tier-discount { margin-top: 4px; color: #806d4b; font-size: 23px; line-height: 1.1; }
.customer-rewards-tier-discount small { font-size: 14px; }
.customer-rewards-tier-benefit { margin-top: 2px; color: #77736d; font-size: 10px; }
.customer-rewards-tier-rule { margin-top: auto; padding-top: 12px; color: #514b40; font-size: 10px; font-weight: 650; }
.customer-rewards-empty { padding: 22px; border: 1px dashed #ded4c0; border-radius: 12px; background: #fffdfa; color: #77736d; font-size: 12px; text-align: center; }

.customer-rewards-history { overflow: hidden; border: 1px solid #e9e3d9; border-radius: 14px; background: #fff; box-shadow: 0 3px 15px rgba(43, 33, 19, .035); }
.customer-rewards-history > .customer-rewards-section-heading { margin: 0; padding: 17px 19px; border-bottom: 1px solid #eee8dc; }
.customer-rewards-history-count { padding: 6px 9px; border-radius: 99px; background: #f4ede1; color: #806d4b; font-size: 10px; font-weight: 700; }
.customer-rewards-history-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) minmax(145px, auto) auto; align-items: center; gap: 13px; padding: 13px 19px; border-bottom: 1px solid #f1ede5; }
.customer-rewards-history-row:last-child { border-bottom: 0; }
.customer-rewards-history-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 12px; }
.customer-rewards-history-icon.is-positive { background: #edf3e8; color: #63814f; }
.customer-rewards-history-icon.is-negative { background: #f8ece8; color: #a96d5d; }
.customer-rewards-history-details { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.customer-rewards-history-details strong { color: #36332e; font-size: 12px; font-weight: 700; }
.customer-rewards-history-details span { overflow: hidden; color: #888177; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.customer-rewards-history-reference { display: flex; flex-direction: column; gap: 3px; color: #77736d; font-size: 10px; }
.customer-rewards-history-reference time { color: #9a948a; }
.customer-rewards-history-points { font-size: 12px; white-space: nowrap; }
.customer-rewards-history-points.is-positive { color: #63814f; }
.customer-rewards-history-points.is-negative { color: #a96d5d; }
.customer-rewards-history-empty { padding: 34px 18px; border: 0; border-radius: 0; }
.customer-rewards-history-empty > span { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 10px; border-radius: 50%; background: #f4ede1; color: #a8843c; font-size: 17px; }
.customer-rewards-history-empty > strong { display: block; color: #2b2b2b; font-size: 14px; }
.customer-rewards-history-empty p { margin: 5px 0 12px; color: #77736d; font-size: 11px; }
.customer-rewards-history-empty a { display: inline-flex; padding: 8px 12px; border-radius: 8px; background: #c9a45c; color: #2b2b2b; font-size: 11px; font-weight: 700; text-decoration: none; }
.customer-rewards-history-empty a:hover { background: #a8843c; color: #fff; }
.customer-rewards-pagination { padding: 12px 18px; border-top: 1px solid #eee8dc; }
.customer-rewards-pagination .pagination { justify-content: flex-end; margin-bottom: 0; }
.customer-rewards-pagination .page-link { border-color: #e9e3d9; color: #806d4b; }
.customer-rewards-pagination .page-item.active .page-link { border-color: #c9a45c; background: #c9a45c; color: #2b2b2b; }

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

@media (max-width: 767.98px) {
    .customer-rewards-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .customer-rewards-shop-link { padding: 8px 11px; }
    .customer-rewards-hero { align-items: stretch; flex-direction: column; gap: 18px; padding: 22px 20px; }
    .customer-rewards-hero-decoration { right: -25px; bottom: 5px; font-size: 170px; }
    .customer-rewards-member-card { flex-basis: auto; min-height: 0; padding: 14px; }
    .customer-rewards-member-icon { margin-bottom: 8px; }
    .customer-rewards-progress-card { padding: 16px; }
    .customer-rewards-progress-head h2 { font-size: 15px; }
    .customer-rewards-progress-head h2 span { display: block; margin: 3px 0 0; }
    .customer-rewards-progress-foot { font-size: 9px; }
    .customer-rewards-stats { gap: 8px; margin-bottom: 25px; }
    .customer-rewards-stat { gap: 9px; padding: 11px 9px; }
    .customer-rewards-stat-icon { flex-basis: 32px; width: 32px; height: 32px; }
    .customer-rewards-stat > div span { font-size: 9px; }
    .customer-rewards-stat > div strong { font-size: 15px; }
    .customer-rewards-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
    .customer-rewards-tier-grid { gap: 8px; }
    .customer-rewards-tier-card { min-height: 155px; padding: 12px; }
    .customer-rewards-history > .customer-rewards-section-heading { align-items: center; flex-direction: row; padding: 14px; }
    .customer-rewards-history-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; padding: 12px; }
    .customer-rewards-history-reference { grid-column: 2; grid-row: 2; }
    .customer-rewards-history-points { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}
