*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #222;
    background: #fff;
}

img {
    max-width: 100%;
}

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

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

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 94%);
    margin: 0 auto;
}



:root {
    --red: #b5121b;
    --red-dark: #850b12;
    --red-light: #d71920;

    --gold: #c99a2e;
    --gold-light: #e4bd55;
    --gold-dark: #9b7115;

    --cream: #fffaf0;
    --cream-dark: #f7f0df;

    --border: #e7dfcf;
    --text: #222;
    --muted: #777;

    --green: #198754;
}




.topbar {
    background: linear-gradient(90deg, #850b12, #b5121b, #850b12);
    color: #fff;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 215, 100, 0.35);
}

.topbar-inner {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-contact span {
    white-space: nowrap;
}



.header {
    background: #fff;
    border-bottom: 0;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    line-height: 17px;
    font-weight: 800;
}

.brand-icon {
    font-size: 31px;
    color: var(--gold);
}

.brand b {
    color: var(--red);
}

.brand small {
    display: block;
    color: #777;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
    margin-left: 24px;
}

.nav-price-list,
.nav-invoices,
.nav a[href*="orders:my_orders"] {
    white-space: nowrap;
}

.nav a {
    position: relative;
    padding: 25px 0;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--red);
}

.nav a:first-child {
    color: var(--red);
}

.nav a:first-child::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold);
}

.cart-link {
    color: var(--red) !important;
    font-weight: 800 !important;
}



.hero {
    position: relative;
    height: 310px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 35%, rgba(214, 163, 44, 0.3), transparent 17%),
        radial-gradient(circle at 87% 65%, rgba(181, 18, 27, 0.4), transparent 20%),
        linear-gradient(100deg, #050916, #101832 55%, #080b18);
}

.hero::before {
    content: "✦  ✧  ✦  ✧  ✦";
    position: absolute;
    right: 7%;
    top: 15%;
    color: var(--gold-light);
    font-size: 62px;
    opacity: 0.55;
    letter-spacing: 14px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 75%, rgba(181, 18, 27, 0.35), transparent 20%),
        radial-gradient(circle at 70% 80%, rgba(228, 189, 85, 0.2), transparent 20%);
    pointer-events: none;
}

.hero-overlay {
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 75px 0 0 10%;
    color: #fff;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 31px;
    line-height: 1.2;
    font-weight: 800;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero p {
    margin: 0;
    color: #f4f4f4;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}



.btn {
    display: inline-block;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-red {
    background: linear-gradient(135deg, var(--red-light), var(--red-dark));
    color: #fff;
    border-color: var(--red);
}

.btn-red:hover {
    background: linear-gradient(135deg, var(--red-dark), #65070c);
}

.btn-light {
    background: #fff;
    color: var(--red);
}

.btn-white-red {
    background: #fff;
    color: var(--red);
    border-color: var(--gold);
}

.btn-white-red:hover {
    background: var(--cream);
}

.wide {
    width: 100%;
    margin-top: 10px;
}



.section {
    padding: 24px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.section-heading h2,
.page-title {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 800;
    color: var(--red-dark);
}



.category-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.category-card {
    padding: 8px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.category-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 14px rgba(155, 113, 21, 0.15);
    transform: translateY(-2px);
}

.category-card img,
.category-card .image-placeholder {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.category-card.large img {
    height: 135px;
}

.category-card strong {
    display: block;
    padding: 9px 3px;
    color: #333;
    font-size: 12px;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-dark);
    color: #aaa;
}

.center-link {
    margin-top: 12px;
    text-align: center;
    font-size: 10px;
}

.center-link a {
    color: var(--red);
    font-weight: 700;
}



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

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

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

.product-card {
    padding: 8px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.product-card:hover {
    border-color: var(--gold);
    box-shadow: 0 5px 18px rgba(155, 113, 21, 0.15);
    transform: translateY(-2px);
}

.product-image {
    display: block;
}

.product-image img,
.product-image .image-placeholder {
    width: 100%;
    height: 145px;
    object-fit: contain;
    border-radius: 5px;
}

.product-name {
    display: block;
    min-height: 28px;
    margin: 8px 0;
    font-size: 12px;
    font-weight: 600;
}

.price,
.detail-price {
    color: var(--red);
    font-weight: 800;
}

.btn-outline {
    margin-top: 9px;
    padding: 7px 12px;
    background: #fff;
    border: 1px solid var(--gold-dark);
    border-radius: 4px;
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}



.footer {
    margin-top: 28px;
    border-top: 1px solid var(--border);
}

.service-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 11px calc((100% - 1180px) / 2);
    background: linear-gradient(90deg, #850b12, #b5121b, #850b12);
    color: #fff;
}

.service-strip div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-strip small {
    margin-top: 3px;
    font-size: 9px;
    color: #f8e6b2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 25px 0;
}

.footer-main>div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-main h4 {
    margin: 0 0 4px;
    color: var(--red-dark);
    font-size: 11px;
}

.footer-main p,
.footer-main a {
    margin: 0;
    color: #555;
    font-size: 10px;
}

.footer-main a:hover {
    color: var(--red);
}

.footer-brand p {
    line-height: 1.6;
}

.socials {
    display: flex !important;
    flex-direction: row !important;
    gap: 7px;
}

.socials span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
}

.copyright {
    padding: 9px;
    border-top: 1px solid var(--border);
    color: #777;
    font-size: 9px;
    text-align: center;
}




.page {
    padding: 15px 0 30px;
}

.breadcrumb {
    margin-bottom: 18px;
    color: #777;
    font-size: 10px;
}

.breadcrumb a:hover {
    color: var(--red);
}



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

.category-grid .category-card {
    padding: 12px;
}




.products-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
}

.sidebar {
    padding-right: 18px;
    border-right: 1px solid var(--border);
}

.sidebar h4 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    color: var(--red-dark);
}

.search-form {
    display: flex;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.search-form input {
    width: 100%;
    padding: 8px;
    border: 0;
    outline: 0;
    font-size: 10px;
}

.search-form button {
    border: 0;
    background: #fff;
    color: var(--red);
}

.sidebar label {
    display: block;
    margin: 9px 0;
    font-size: 10px;
}

.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.results-head h2 {
    font-size: 12px;
}

.results-head select {
    padding: 6px;
    border: 1px solid var(--border);
    font-size: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 20px;
}

.pagination a {
    padding: 6px 9px;
    border: 1px solid var(--border);
    font-size: 10px;
}

.pagination a.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}



.detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.main-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 390px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: #fff;
}

.main-product-image img {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.thumbs button {
    width: 58px;
    height: 58px;
    padding: 3px;
    border: 1px solid var(--border);
    background: #fff;
}

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

.detail-info h1 {
    margin: 0 0 10px;
    font-size: 22px;
}

.rating {
    margin-bottom: 15px;
    color: var(--gold-dark);
}

.rating span {
    color: #777;
    font-size: 10px;
}

.detail-price {
    margin: 12px 0 3px;
    font-size: 21px;
}

.old-price {
    color: #777;
    text-decoration: line-through;
}

.old-price b {
    margin-left: 8px;
    color: var(--green);
    text-decoration: none;
}

.detail-info p {
    line-height: 1.7;
    color: #444;
}

.stock {
    margin: 10px 0;
    color: var(--red);
    font-size: 11px;
}

.stock.in {
    color: var(--green);
}

.quantity {
    display: flex;
    width: 105px;
    margin: 15px 0;
    border: 1px solid var(--gold);
}

.quantity button,
.quantity input {
    width: 35px;
    height: 32px;
    border: 0;
    background: #fff;
    text-align: center;
}

.quantity input {
    outline: 0;
}

.description-tabs {
    margin-top: 25px;
    border-top: 1px solid var(--border);
}

.tabs {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid var(--border);
}

.tabs button {
    padding: 12px 0;
    border: 0;
    background: none;
    font-size: 10px;
    font-weight: 700;
}

.tabs button.active {
    border-bottom: 2px solid var(--red);
    color: var(--red);
}

.tab-content {
    padding: 12px 0;
    line-height: 1.8;
}





.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.cart-table-wrap,
.quick-table-wrap {
    overflow-x: auto;
}

.cart-table,
.quick-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.quick-table th {
    padding: 9px;
    background: var(--cream-dark);
    font-size: 9px;
    text-align: left;
}

.cart-table td,
.quick-table td {
    padding: 8px;
    border-bottom: 1px solid var(--border);
    font-size: 10px;
}

.cart-table td img,
.quick-table td img {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.qty-control {
    display: flex;
    align-items: center;
    width: max-content;
    border: 1px solid var(--gold);
}

.qty-control button {
    width: 26px;
    height: 25px;
    border: 0;
    background: #fff;
}

.qty-control span {
    min-width: 26px;
    text-align: center;
}

.remove-btn {
    border: 0;
    background: none;
    color: var(--red);
    font-size: 17px;
}

.summary {
    height: max-content;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.summary h3,
.form-card h3 {
    margin: 0 0 15px;
    color: var(--red-dark);
    font-size: 11px;
}

.summary>div,
.order-line {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 10px;
}

.summary hr {
    border: 0;
    border-top: 1px solid var(--border);
}

.summary .total {
    font-size: 12px;
    font-weight: 800;
    color: var(--red);
}

.continue {
    display: block;
    margin-top: 14px;
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.empty {
    padding: 45px;
    border: 1px solid var(--border);
    text-align: center;
}



.quickshop-page {
    width: 100%;
    padding: 0 0 35px;
    background: #fff;
}

.quickshop-container {
    width: min(1225px, 96%);
    margin: 0 auto;
}



.quickshop-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
}

.qs-stat {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.qs-stat:last-child {
    border-right: 0;
}

.qs-stat span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.qs-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 21px;
    font-weight: 800;
}

.qs-orange {
    background: linear-gradient(135deg, #b5121b, #8b0b12);
}

.qs-blue {
    background: linear-gradient(135deg, #c99a2e, #a87812);
}

.qs-teal {
    background: linear-gradient(135deg, #9b7115, #c99a2e);
}

.qs-pink {
    background: linear-gradient(135deg, #8b0b12, #b5121b);
}



.quickshop-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
}

.quickshop-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

.quickshop-table thead th {
    padding: 12px 10px;
    background: var(--cream-dark);
    color: #4a3b1a;
    border-bottom: 2px solid var(--gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: left;
}

.quickshop-table tbody td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--border);
    color: #333;
    font-size: 13px;
    vertical-align: middle;
}

.quickshop-table tbody tr:hover:not(.qs-category-row) {
    background: #fffdf7;
}



.quickshop-table .qs-category-row td {
    padding: 10px 12px;
    background: linear-gradient(90deg, #fff8e8, #fffdf7);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    color: var(--red-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}



.quickshop-table .qs-image-col {
    width: 105px;
}

.quickshop-table .qs-price-col {
    width: 150px;
}

.quickshop-table .qs-qty-col {
    width: 130px;
}

.quickshop-table .qs-subtotal-col {
    width: 145px;
}



.qs-image-cell {
    text-align: center;
}

.qs-image-cell img {
    display: block;
    width: 64px;
    height: 58px;
    margin: 0 auto;
    object-fit: contain;
}

.qs-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 58px;
    margin: 0 auto;
    background: var(--cream);
    color: #aaa;
}



.qs-product-name {
    font-size: 14px !important;
    font-weight: 600;
}

.qs-product-name a {
    color: #333;
}

.qs-product-name a:hover {
    color: var(--red);
}

.qs-price-mobile {
    display: none;
}



.qs-price-cell {
    text-align: right;
}

.qs-price-cell strong {
    display: block;
    color: var(--red);
    font-size: 16px;
    font-weight: 800;
}

.qs-price-cell del {
    display: block;
    margin-top: 2px;
    color: #888;
    font-size: 11px;
}



.qs-qty-cell {
    text-align: center;
}

.qs-qty-control {
    display: flex;
    align-items: center;
    width: 106px;
    height: 34px;
    margin: 0 auto;
    border: 1px solid var(--gold-dark);
    background: #fff;
}

.qs-qty-control button {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--red);
    font-size: 18px;
    font-weight: 800;
    line-height: 32px;
}

.qs-qty-control button:hover {
    background: var(--cream);
    color: var(--red-dark);
}

.qs-qty-control button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.qs-qty-control input {
    width: 42px;
    height: 32px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    outline: 0;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
    appearance: none;
}

.qs-qty-control input::-webkit-inner-spin-button,
.qs-qty-control input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}



.qs-subtotal-cell {
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 700;
    text-align: right;
}



.qs-empty {
    padding: 55px !important;
    color: #777 !important;
    text-align: center !important;
}



.quickshop-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
}

.quickshop-note {
    color: #777;
    font-size: 11px;
}

.quickshop-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.qs-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    transition: all 0.2s ease;
}

.qs-btn-light {
    background: #fff;
    border: 1px solid var(--gold-dark);
    color: var(--red);
}

.qs-btn-light:hover {
    background: var(--cream);
}

.qs-btn-red {
    background: linear-gradient(135deg, var(--red-light), var(--red-dark));
    border: 1px solid var(--red);
    color: #fff;
}

.qs-btn-red:hover {
    background: #79080e;
}





.qs-row-loading {
    opacity: 0.55;
}

.qs-row-loading .quick-minus,
.qs-row-loading .quick-plus {
    pointer-events: none;
}

.qs-updated {
    animation: quickSubtotalUpdate 0.25s ease;
}

@keyframes quickSubtotalUpdate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
        color: var(--red);
    }

    100% {
        transform: scale(1);
    }
}




.checkout-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-card {
    padding: 14px;
    border: 1px solid var(--border);
}

.form-card label {
    display: block;
    margin: 9px 0;
    font-size: 10px;
}

.form-card input,
.form-card textarea {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 3px;
    outline: 0;
    background: #fff;
    font-size: 10px;
}

.form-card input:focus,
.form-card textarea:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 2px rgba(201, 154, 46, 0.12);
}

.form-card textarea {
    min-height: 70px;
    resize: vertical;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}





.success-card {
    max-width: 560px;
    margin: 40px auto;
    padding: 50px 25px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: auto;
    border: 3px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    font-size: 45px;
}

.success-card h1 {
    font-size: 22px;
    color: var(--red-dark);
}

.success-card h3 {
    font-size: 12px;
}

.success-card p {
    color: #555;
    font-size: 11px;
}



.messages {
    margin-top: 10px;
}

.message {
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 4px;
    background: #f1f1f1;
}

.message.success {
    background: #e8f7ed;
    color: #176c2d;
}

.message.error {
    background: #fdeaea;
    color: #9b1c1c;
}

.message.warning {
    background: #fff5d9;
    color: #765600;
}



@media (max-width: 1000px) {

    .nav {
        gap: 10px;
        margin-left: 16px;
    }

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

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

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .service-strip {
        padding: 11px 3%;
    }

    .detail,
    .cart-layout,
    .checkout-layout,
    .products-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        padding: 0 0 12px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

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

@media (max-width: 800px) {

    .quickshop-container {
        width: 94%;
    }

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

    .quickshop-table {
        min-width: 850px;
    }

    .quickshop-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .quickshop-actions {
        justify-content: stretch;
    }

    .qs-btn {
        flex: 1;
    }
}

@media (max-width: 600px) {

    .topbar-inner,
    .nav-wrap {
        flex-direction: column;
        height: auto;
        padding: 8px;
    }

    .top-contact {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
    }

    .nav a {
        padding: 8px 3px;
    }

    .hero {
        height: 280px;
    }

    .hero-content {
        padding: 55px 5%;
    }

    .hero h1 {
        font-size: 23px;
    }

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

    .service-strip {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

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

    .qs-stat {
        min-height: 85px;
    }

    .qs-stat span {
        font-size: 9px;
    }

    .qs-stat strong {
        font-size: 16px;
    }

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

@media (max-width: 400px) {

    .category-row,
    .category-grid,
    .product-grid,
    .product-grid.five,
    .product-grid.four {
        grid-template-columns: 1fr;
    }

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

    .service-strip {
        grid-template-columns: 1fr;
    }
}

.account-login-page {
    background: #fff;
    padding: 34px 0 58px;
}

.account-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #999;
    font-size: 14px;
    margin: 0 0 30px;
}

.account-breadcrumb a {
    color: #999;
    text-decoration: none;
    font-size: 18px;
}

.account-breadcrumb strong {
    color: var(--red);
    font-weight: 600;
}

.account-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.login-panel {
    min-height: 360px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 42px 52px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .035);
}

.login-panel h1 {
    margin: 0 0 8px;
    text-align: center;
    color: var(--red-dark);
    font-size: 29px;
    text-transform: none;
}

.login-panel h2 {
    margin: 0 0 28px;
    text-align: center;
    color: #6c6c6c;
    font-size: 17px;
    font-weight: 600;
}

.new-customer-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.new-customer-panel p {
    max-width: 540px;
    margin: 0 auto 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
}

.login-register-btn {
    align-self: center;
    min-width: 170px;
    text-align: center;
}

.account-login-form {
    max-width: 100%;
}

.account-login-form label {
    display: block;
    margin: 0 0 8px;
    color: #5f5f5f;
    font-weight: 700;
    font-size: 15px;
}

.account-login-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    margin: 0 0 24px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
}

.account-login-form input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(213, 24, 34, .08);
}

.login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 4px;
}

.login-actions a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.login-actions a:hover {
    color: var(--red);
}

.login-error {
    margin-bottom: 18px;
}

@media (max-width: 820px) {
    .account-login-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .login-panel {
        min-height: auto;
        padding: 34px 26px;
    }
}

.field-error {
    display: block;
    color: #b5121b;
    margin-top: 4px
}

.nav-logout {
    display: inline
}

.nav-logout button {
    border: 0;
    background: none;
    color: inherit;
    font-weight: 600;
    font-size: 13px;
    padding: 25px 0
}

.checkout-layout,
.payment-layout,
.account-layout,
.order-detail-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 20px;
    align-items: start
}

.form-card,
.summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.order-line,
.summary>div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0
}

.demo-banner {
    background: #fff4cf;
    border: 1px solid var(--gold);
    padding: 14px 18px;
    border-radius: 6px;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.demo-banner strong {
    color: var(--red-dark)
}

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

.payment-option {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 8px;
    align-items: center
}

.payment-option span {
    grid-column: 2/4;
    color: var(--muted);
    font-size: 12px
}

.demo-fields {
    padding: 12px 0
}

.demo-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px
}

.success-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px;
    text-align: center;
    max-width: 700px;
    margin: 40px auto
}

.success-card .success-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    font-size: 34px;
    line-height: 58px;
    margin: 0 auto 14px
}

.failure-card .success-icon {
    background: var(--red)
}

.compact {
    max-width: none
}

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

.data-table th,
.data-table td {
    padding: 11px;
    border-bottom: 1px solid var(--border);
    text-align: left
}

.table-wrap {
    overflow: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px
}

.admin-shell h1 {
    color: var(--red-dark)
}

.admin-head,
.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.admin-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0
}

.admin-nav a {
    padding: 9px 12px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 4px
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px
}

.stat-card small {
    display: block;
    color: var(--muted)
}

.stat-card strong {
    display: block;
    font-size: 22px;
    color: var(--red-dark);
    margin-top: 5px
}

.inline-form {
    display: inline
}

.link-button {
    border: 0;
    background: none;
    color: var(--red);
    cursor: pointer
}

.check {
    display: flex !important;
    align-items: center;
    gap: 8px
}

.check input {
    width: auto
}

.message {
    padding: 10px 14px;
    border-radius: 4px;
    margin: 8px 0
}

.message.success {
    background: #e8f6ee;
    color: #146c43
}

.message.danger {
    background: #fde9e9;
    color: #9b111e
}

@media(max-width:850px) {
    .nav {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end
    }

    .nav a,
    .nav-logout button {
        padding: 10px 0
    }

    .checkout-layout,
    .payment-layout,
    .account-layout,
    .order-detail-grid {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr
    }

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

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

    .demo-actions {
        flex-direction: column
    }
}



.status-badge {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.order-pending,
.payment-pending {
    background: #fff3cd;
    color: #856404;
}

.order-confirmed,
.payment-success {
    background: #d1e7dd;
    color: #0f5132;
}

.order-shipped {
    background: #cfe2ff;
    color: #084298;
}

.order-delivered {
    background: #d1e7dd;
    color: #0a3622;
}

.order-cancelled,
.payment-failed,
.payment-cancelled {
    background: #f8d7da;
    color: #842029;
}

.tracking-card {
    margin: 24px 0;
}

.tracking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    position: relative;
}

.tracking-step {
    text-align: center;
    padding: 12px 6px;
    opacity: .45;
}

.tracking-step.complete,
.tracking-step.current {
    opacity: 1;
}

.tracking-dot {
    display: flex;
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid currentColor;
    font-weight: 700;
}

.tracking-step.complete .tracking-dot {
    background: currentColor;
    color: white;
}

.tracking-step.current strong {
    text-decoration: underline;
}

.tracking-cancelled {
    font-weight: 600;
}

.payment-progress {
    margin: 16px 0;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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


.mobile-menu {
    display: none;
    border: 0;
    background: #fff;
    color: var(--red);
    font-size: 22px
}

.nav-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
    height: 34px
}

.nav-search input {
    width: 150px;
    border: 0;
    padding: 0 9px;
    outline: 0;
    font-size: 11px
}

.nav-search button {
    height: 100%;
    width: 34px;
    border: 0;
    background: var(--cream);
    color: var(--red);
    font-size: 18px
}

.nav-register {
    padding: 8px 12px !important;
    color: #fff !important
}

.nav-logout {
    margin: 0
}

.nav-logout button {
    border: 0;
    background: none;
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
    cursor: pointer
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 2px 8px;
    margin-left: 4px;
    border-radius: 12px;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.hero-slider {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: #080b18
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .45s ease, transform .7s ease
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1)
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff
}

.eyebrow {
    display: inline-block;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px
}

.hero-slide h1 {
    max-width: 680px;
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.12
}

.hero-slide p {
    max-width: 600px;
    font-size: 15px;
    margin: 0 0 20px;
    color: #f7f7f7
}

.slider-control {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .25);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px
}

.slider-control.prev {
    left: 22px
}

.slider-control.next {
    right: 22px
}

.slider-dots {
    position: absolute;
    z-index: 4;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    opacity: .5
}

.slider-dots button.active {
    opacity: 1;
    background: var(--gold-light)
}

.section-heading p {
    margin: -5px 0 12px;
    color: var(--muted);
    font-size: 10px
}

.section-soft {
    background: #fffaf0
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: #fff;
    border-radius: 12px;
    padding: 4px 7px;
    font-size: 9px;
    font-weight: 800
}

.product-card {
    position: relative
}

.price del {
    margin-left: 8px;
    color: #999;
    font-size: 10px;
    font-weight: 500
}

.stock-note {
    font-size: 9px;
    color: #b5121b;
    margin-top: 5px
}

.stock-note.in {
    color: var(--green)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 18px auto;
    padding: 8px 0
}

.trust-grid>div {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.trust-grid strong {
    font-size: 12px;
    color: var(--red-dark)
}

.trust-grid span {
    font-size: 10px;
    color: var(--muted)
}


.admin-layout {
    display: grid;
    grid-template-columns: 225px 1fr;
    gap: 22px;
    padding: 24px 0 45px;
    align-items: start
}

.admin-sidebar {
    position: sticky;
    top: 12px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 6px 22px rgba(50, 30, 10, .05)
}

.admin-brand {
    padding: 8px 10px 15px;
    color: var(--red-dark);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px
}

.admin-brand small {
    width: 100%;
    color: var(--muted);
    font-size: 9px;
    padding-left: 25px
}

.admin-link {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: #444
}

.admin-link:hover {
    background: var(--cream);
    color: var(--red)
}

.admin-section-title {
    padding: 14px 10px 5px;
    color: #999;
    font-size: 8px;
    letter-spacing: 1.2px;
    font-weight: 800
}

.logout-admin {
    margin-top: 10px;
    border-top: 1px solid var(--border);
    padding-top: 14px
}

.admin-main {
    min-width: 0
}

.admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px
}

.admin-head h1 {
    margin: 0;
    color: var(--red-dark);
    font-size: 25px
}

.admin-head .eyebrow {
    margin: 0 0 4px
}

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

.admin-stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 15px;
    min-height: 90px
}

.admin-stat small {
    display: block;
    color: #777;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .5px
}

.admin-stat strong {
    display: block;
    color: #222;
    font-size: 22px;
    margin: 6px 0
}

.admin-stat span {
    font-size: 9px;
    color: #999
}

.admin-stat.accent {
    background: linear-gradient(135deg, #fffaf0, #fff);
    border-color: #e5c66c
}

.admin-grid-two {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 14px;
    margin-bottom: 14px
}

.panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 16px;
    margin-bottom: 14px;
    overflow: hidden
}

.panel h2 {
    margin: 0 0 12px;
    color: var(--red-dark);
    font-size: 14px
}

.panel h3 {
    font-size: 12px;
    color: var(--red-dark)
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

.panel-head h2 {
    margin: 0
}

.panel-head a {
    font-size: 10px;
    color: var(--red);
    font-weight: 700
}

.sales-bars {
    height: 190px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 8px 5px 0;
    border-bottom: 1px solid var(--border)
}

.sales-day {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 4px
}

.sales-day .bar {
    width: 100%;
    max-width: 40px;
    min-height: 4px;
    background: linear-gradient(#d71920, #850b12);
    border-radius: 5px 5px 0 0
}

.sales-day strong {
    font-size: 8px;
    color: #777
}

.sales-day small {
    font-size: 9px;
    color: #999
}

.mini-list>div {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0eadf;
    font-size: 10px
}

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

.empty {
    padding: 20px !important;
    text-align: center;
    color: #999 !important
}

.muted,
.table-muted {
    color: #888;
    font-size: 10px
}

.table-muted {
    display: block;
    margin-top: 3px
}

.toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px
}

.admin-search {
    display: flex;
    gap: 6px;
    flex: 1;
    max-width: 430px
}

.admin-search input {
    flex: 1;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 5px;
    outline: 0;
    font-size: 11px
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px
}

.data-table th {
    background: var(--cream);
    text-align: left;
    color: #666;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .4px
}

.data-table th,
.data-table td {
    padding: 10px;
    border-bottom: 1px solid #eee6d8;
    vertical-align: middle
}

.data-table tr:last-child td {
    border-bottom: 0
}

.table-link {
    color: var(--red);
    font-weight: 700
}

.table-product {
    display: flex;
    align-items: center;
    gap: 8px
}

.table-product img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--border)
}

.table-wrap {
    overflow-x: auto
}

.btn-small {
    padding: 6px 9px;
    font-size: 9px
}

.link-button {
    border: 0;
    background: none;
    padding: 5px;
    color: var(--red);
    font-size: 10px;
    cursor: pointer
}

.inline-form {
    display: inline
}

.status {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 12px;
    font-size: 8px;
    font-weight: 700;
    background: #eee;
    color: #555
}

.status-pending {
    background: #fff2cf;
    color: #8a6500
}

.status-confirmed {
    background: #e5f7eb;
    color: #13723e
}

.status-shipped {
    background: #e5efff;
    color: #275c9b
}

.status-delivered {
    background: #dff7ef;
    color: #13723e
}

.status-cancelled {
    background: #ffe5e5;
    color: #9b111e
}

.warning-text {
    color: #9b7115
}

.danger-text {
    color: #b5121b
}

.stock-form {
    display: flex;
    gap: 5px
}

.stock-form input {
    width: 70px;
    padding: 6px;
    border: 1px solid var(--border);
    font-size: 10px
}

.form-panel {
    max-width: 760px
}

.form-panel form>label,
.form-panel label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: #555;
    margin-bottom: 13px
}

.form-panel input,
.form-panel select,
.form-panel textarea {
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 11px;
    outline: 0;
    background: #fff
}

.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus {
    border-color: var(--gold)
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px
}

.form-error {
    color: #b5121b;
    font-weight: 500
}

.order-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee6d8;
    font-size: 10px
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 11px
}

.order-total.grand {
    margin-top: 5px;
    padding-top: 13px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    color: var(--red-dark)
}

.filter-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.filter-tabs a {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 9px
}

.filter-tabs a.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red)
}

.banner-thumb {
    width: 85px;
    height: 45px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--border)
}

.setting-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee6d8
}

@media(max-width:1000px) {
    .nav {
        gap: 10px;
    }

    .nav-search input {
        width: 105px;
    }

    .admin-stats {
        grid-template-columns: repeat(3, 1fr)
    }
}

.nav-price-list,
.nav-invoices {
    color: var(--red);
    font-weight: 700;
}

.nav-price-list:hover,
.nav-invoices:hover {
    color: var(--red-dark);
}

@media(max-width:780px) {
    .top-contact {
        display: none
    }

    .mobile-menu {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        left: 3%;
        right: 3%;
        top: 100%;
        z-index: 20;
        background: #fff;
        border: 1px solid var(--border);
        padding: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .menu-open .nav {
        display: flex
    }

    .nav a {
        padding: 10px
    }

    .nav-search {
        margin: 6px 10px
    }

    .nav-search input {
        width: 100%
    }

    .header {
        position: relative
    }

    .admin-layout {
        grid-template-columns: 1fr
    }

    .admin-sidebar {
        position: relative;
        top: 0
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .admin-grid-two {
        grid-template-columns: 1fr
    }

    .category-row {
        grid-template-columns: repeat(4, 1fr)
    }

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

    .trust-grid {
        grid-template-columns: 1fr
    }

    .hero-slider,
    .hero {
        height: 330px
    }

    .hero-slide h1,
    .hero h1 {
        font-size: 29px
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:480px) {
    .admin-stats {
        grid-template-columns: 1fr 1fr
    }

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

    .footer-main {
        grid-template-columns: 1fr
    }

    .toolbar {
        align-items: stretch;
        flex-direction: column
    }

    .admin-search {
        max-width: none;
        width: 100%
    }

    .sales-bars {
        gap: 5px
    }

    .hero-content {
        padding: 0 6%
    }

    .slider-control {
        display: none
    }
}




.rainbow-hero {
    position: relative;
    width: 100%;
    height: clamp(360px, 33.854vw, 600px);
    min-height: 360px;
    overflow: hidden;
    background: #21030a;
    isolation: isolate;
}

.rainbow-slides,
.rainbow-slide {
    position: absolute;
    inset: 0;
}

.rainbow-slide {
    z-index: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.01);
    transform-origin: center center;
    backface-visibility: hidden;
    will-change: opacity, transform;
    transition:
        opacity 1000ms cubic-bezier(.22, .61, .36, 1),
        transform 1200ms cubic-bezier(.22, .61, .36, 1),
        visibility 1000ms linear;
}

.rainbow-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.rainbow-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    user-select: none;
    -webkit-user-drag: none;
}

.rainbow-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(17, 0, 8, .08), transparent 22%, transparent 78%, rgba(17, 0, 8, .12)),
        linear-gradient(0deg, rgba(12, 0, 5, .22), transparent 28%);
}

.rainbow-slide-caption {
    position: absolute;
    z-index: 3;
    left: clamp(24px, 7vw, 120px);
    top: 50%;
    max-width: min(480px, 42vw);
    transform: translateY(-50%);
    padding: 24px 28px;
    border: 1px solid rgba(255, 225, 140, .35);
    border-radius: 18px;
    background: rgba(45, 4, 14, .62);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
    backdrop-filter: blur(3px);
}

.rainbow-slide-caption h1 {
    margin: 0 0 10px;
    color: #fff7d6;
    font-size: clamp(30px, 3vw, 54px);
    line-height: 1.03;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .45);
}

.rainbow-slide-caption p {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(13px, 1.1vw, 18px);
    line-height: 1.5;
}

.rainbow-slide-kicker {
    display: block;
    margin-bottom: 8px;
    color: #ffd96a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.rainbow-slide-prev,
.rainbow-slide-next {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 231, 157, .7);
    border-radius: 50%;
    background: rgba(25, 2, 10, .48);
    color: #fff4bd;
    font-size: 31px;
    line-height: 1;
    transform: translateY(-50%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    transition: background .2s ease, transform .2s ease;
}

.rainbow-slide-prev {
    left: 22px;
}

.rainbow-slide-next {
    right: 22px;
}

.rainbow-slide-prev:hover,
.rainbow-slide-next:hover {
    background: rgba(128, 10, 24, .82);
    transform: translateY(-50%) scale(1.04);
}

.rainbow-slide-prev:focus-visible,
.rainbow-slide-next:focus-visible,
.rainbow-slider-dots button:focus-visible {
    outline: 3px solid #fff1a8;
    outline-offset: 3px;
}

.rainbow-slider-dots {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
    transform: translateX(-50%);
}

.rainbow-slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: width .25s ease, border-color .25s ease, background .25s ease;
}

.rainbow-slider-dots button.is-active {
    width: 28px;
    border-radius: 999px;
    border-color: #ffe48d;
    background: #ffd34e;
}

@media (max-width: 1024px) {
    .rainbow-slide-caption {
        left: 5%;
        max-width: 45vw;
    }

    .rainbow-slide-prev {
        left: 14px;
    }

    .rainbow-slide-next {
        right: 14px;
    }
}

@media (max-width: 780px) {
    .rainbow-hero {
        height: clamp(300px, 58vw, 430px);
        min-height: 300px;
    }

    .rainbow-slide-image {
        object-position: center center;
    }

    .rainbow-slide-caption {
        left: 6%;
        right: 6%;
        top: auto;
        bottom: 54px;
        max-width: none;
        padding: 16px 18px;
        transform: none;
    }

    .rainbow-slide-caption h1 {
        font-size: clamp(24px, 5vw, 38px);
    }

    .rainbow-slide-caption p {
        margin-bottom: 12px;
        font-size: 12px;
    }


    .rainbow-slide-prev,
    .rainbow-slide-next {
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .rainbow-hero {
        height: 270px;
        min-height: 270px;
    }

    .rainbow-slide-image {
        object-position: center center;
    }

    .rainbow-slide-caption {
        left: 12px;
        right: 12px;
        bottom: 44px;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .rainbow-slide-caption h1 {
        margin-bottom: 6px;
        font-size: 22px;
    }

    .rainbow-slide-caption p {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .rainbow-slide-kicker {
        margin-bottom: 4px;
        font-size: 8px;
        letter-spacing: 1.4px;
    }

    .rainbow-slide-prev,
    .rainbow-slide-next {
        width: 34px;
        height: 34px;
        font-size: 22px;
        background: rgba(25, 2, 10, .58);
    }

    .rainbow-slide-prev {
        left: 8px;
    }

    .rainbow-slide-next {
        right: 8px;
    }

    .rainbow-slider-dots {
        bottom: 10px;
    }

    .rainbow-slider-dots button {
        width: 8px;
        height: 8px;
    }

    .rainbow-slider-dots button.is-active {
        width: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rainbow-slide {
        transition: opacity .01ms linear;
        transform: none;
    }

    .rainbow-slide-prev,
    .rainbow-slide-next {
        transition: none;
    }
}


.orders-page-heading,
.order-detail-header,
.tracking-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.eyebrow-dark {
    display: block;
    margin-bottom: 5px;
    color: var(--red-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.page-subtitle {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.orders-table-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .05);
}

.orders-table td,
.orders-table th {
    vertical-align: middle;
}

.order-actions,
.order-detail-header-actions,
.tracking-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-red-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--red);
    border-radius: 4px;
    background: #fff;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.btn-red-outline:hover {
    background: var(--red);
    color: #fff;
}

.empty-state-cell {
    padding: 34px !important;
}

.empty-state {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.empty-state strong {
    color: var(--red-dark);
    font-size: 17px;
}

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

.order-detail-header h1,
.tracking-page-header h1 {
    margin: 0;
    color: var(--red-dark);
    font-size: clamp(24px, 3vw, 34px);
}

.order-detail-header p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.order-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.status-card {
    min-height: 132px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .05);
}

.status-card-label {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.status-card-value {
    display: block;
    margin: 7px 0 10px;
    color: var(--red-dark);
    font-size: 21px;
}

.status-card-meta {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.tracking-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .05);
}

.section-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section-card-heading h3 {
    margin: 0;
}

.tracking-current {
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff5dc;
    color: var(--red-dark);
    font-size: 11px;
    font-weight: 800;
}

.tracking-steps {
    gap: 0;
}

.tracking-step {
    position: relative;
    min-height: 100px;
    padding: 10px 8px 18px;
}

.tracking-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 2px;
    background: var(--border);
    z-index: -1;
}

.tracking-step.complete:not(:last-child)::after {
    background: var(--gold);
}

.tracking-step strong {
    display: block;
    color: var(--text);
    font-size: 12px;
}

.tracking-step small {
    display: block;
    margin-top: 5px;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
}

.tracking-note {
    margin: 4px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

.tracking-cancelled-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px;
    border: 1px solid #f1c5ca;
    border-radius: 8px;
    background: #fff4f5;
    color: #842029;
}

.tracking-cancelled-box strong {
    font-size: 14px;
}

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

.delivery-summary {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.delivery-summary strong {
    color: var(--text);
}

.tracking-page-header {
    align-items: center;
}

.tracking-hero-card {
    margin-bottom: 18px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(135deg, #fffdf8, #fff);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .06);
}

.tracking-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.tracking-hero-top h2 {
    margin: 6px 0 0;
    color: var(--red-dark);
}

.tracking-steps-large .tracking-step {
    min-height: 118px;
}

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

.tracking-info-card h3 {
    margin: 0 0 15px;
}

.payment-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.payment-status-row:last-child {
    border-bottom: 0;
}

.payment-status-row strong {
    color: var(--text);
    text-align: right;
}

.tracking-footer-actions {
    margin-top: 18px;
}

@media (max-width: 800px) {

    .orders-page-heading,
    .order-detail-header,
    .tracking-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-status-grid,
    .tracking-info-grid {
        grid-template-columns: 1fr;
    }

    .tracking-step:not(:last-child)::after {
        left: calc(50% + 18px);
        width: calc(100% - 36px);
    }
}

@media (max-width: 600px) {
    .orders-table-card {
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .orders-table thead {
        display: none;
    }

    .orders-table,
    .orders-table tbody,
    .orders-table tr,
    .orders-table td {
        display: block;
        width: 100%;
    }

    .orders-table tr {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: #fff;
    }

    .orders-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0;
        border-bottom: 1px solid #f1eee8;
        text-align: right;
    }

    .orders-table td:last-child {
        border-bottom: 0;
    }

    .orders-table td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        color: var(--muted);
        font-size: 10px;
        font-weight: 800;
        text-align: left;
        text-transform: uppercase;
    }

    .orders-table .order-actions {
        justify-content: flex-end;
    }

    .order-actions .btn {
        min-height: 34px;
        padding: 0 10px;
        font-size: 9px;
    }

    .tracking-hero-card,
    .status-card {
        padding: 18px;
    }

    .tracking-hero-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .tracking-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .tracking-step:not(:last-child)::after {
        display: none;
    }

    .tracking-step {
        min-height: 86px;
    }

    .payment-status-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .payment-status-row strong {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rainbow-slide {
        transition: none;
    }
}



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

.checkout-intro {
    margin: -6px 0 0;
    color: var(--muted);
    font-size: 11px;
    max-width: 650px
}

.checkout-required-note {
    font-size: 10px;
    color: #777;
    white-space: nowrap
}

.checkout-card {
    padding: 22px
}

.checkout-card .section-card-heading {
    margin-bottom: 18px
}

.checkout-card-hint {
    font-size: 9px;
    color: #999
}

.checkout-card input,
.checkout-card textarea {
    background: #fff
}

.checkout-card input::placeholder,
.checkout-card textarea::placeholder {
    color: #aaa
}

.checkout-summary {
    height: max-content
}

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

.summary-heading h3 {
    margin: 2px 0 0
}

.checkout-secure-badge {
    padding: 5px 9px;
    border-radius: 999px;
    background: #e9f7ef;
    color: #13723e;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase
}

.summary-quantity {
    color: #777
}

.checkout-validation-note {
    margin: 14px 0;
    padding: 10px;
    border-radius: 6px;
    background: var(--cream);
    color: #765f25;
    font-size: 9px;
    line-height: 1.5
}

.checkout-submit {
    min-height: 46px
}

.dashboard-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #fffaf0, #fff);
    border: 1px solid #ead9a4;
    border-radius: 10px
}

.dashboard-intro h2 {
    margin: 2px 0 5px;
    color: var(--red-dark);
    font-size: 17px
}

.dashboard-intro p {
    margin: 0;
    color: #777;
    font-size: 10px;
    line-height: 1.5;
    max-width: 720px
}

.dashboard-modules {
    margin-bottom: 14px
}

.dashboard-module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px
}

.dashboard-module {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease
}

.dashboard-module:hover {
    transform: translateY(-1px);
    border-color: #d8b84d;
    box-shadow: 0 5px 15px rgba(50, 30, 10, .06)
}

.dashboard-module strong {
    color: var(--red-dark);
    font-size: 11px
}

.dashboard-module span {
    color: #777;
    font-size: 9px;
    line-height: 1.45;
    min-height: 28px
}

.dashboard-module b {
    color: var(--red);
    font-size: 9px;
    margin-top: auto
}

.order-pipeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px
}

.order-pipeline a {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    background: #fff
}

.order-pipeline small {
    display: block;
    color: #777;
    font-size: 9px;
    text-transform: uppercase
}

.order-pipeline strong {
    display: block;
    color: var(--red-dark);
    font-size: 20px;
    margin-top: 4px
}

@media(max-width:1000px) {
    .dashboard-module-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:780px) {
    .checkout-page .checkout-header {
        align-items: flex-start;
        flex-direction: column
    }

    .dashboard-intro {
        align-items: flex-start;
        flex-direction: column
    }

    .dashboard-module-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .order-pipeline {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:480px) {

    .dashboard-module-grid,
    .order-pipeline {
        grid-template-columns: 1fr
    }

    .checkout-card {
        padding: 16px
    }

    .checkout-required-note {
        white-space: normal
    }
}



.cart-only-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.cart-only-link .cart-label {
    display: inline;
}

.nav-admin-dashboard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px !important;
    border-radius: 5px;
    background: var(--red);
    color: #fff !important;
    font-weight: 800 !important;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(181, 18, 27, 0.16);
}

.nav-admin-dashboard:hover {
    background: #8f0f16 !important;
    color: #fff !important;
}

.nav-admin-dashboard::after {
    display: none !important;
}

@media (max-width: 780px) {
    .nav-admin-dashboard {
        width: 100%;
        box-sizing: border-box;
    }
}



.admin-shell {
    padding-top: 28px
}

.admin-sidebar {
    padding: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(50, 30, 10, .06)
}

.admin-brand {
    gap: 9px;
    padding: 10px 10px 17px
}

.admin-brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--red-light), var(--red-dark));
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .5px
}

.admin-brand>span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px
}

.admin-brand small {
    width: auto;
    padding: 0;
    color: #999;
    font-size: 8px
}

.admin-nav-label {
    padding: 10px 10px 4px;
    color: var(--gold-dark);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px
}

.admin-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    margin: 1px 0
}

.admin-link>span {
    flex: 1
}

.admin-link.active {
    background: #fff4e2;
    color: var(--red-dark);
    font-weight: 800;
    border-left: 3px solid var(--red);
    padding-left: 7px
}

.admin-link.active:hover {
    background: #fff0d4
}

.nav-count {
    min-width: 20px;
    padding: 2px 5px;
    border-radius: 10px;
    background: #f9e1a7;
    color: #77530a;
    font-size: 8px;
    text-align: center
}

.admin-head {
    padding-bottom: 3px
}

.admin-head-actions {
    display: flex;
    align-items: center;
    gap: 9px
}

.admin-user-chip {
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: #777;
    font-size: 9px
}

.admin-user-chip:first-letter {
    color: var(--green)
}

.dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 23px 24px;
    margin-bottom: 14px;
    border: 1px solid #ead9a4;
    border-radius: 12px;
    background: radial-gradient(circle at 85% 20%, rgba(228, 189, 85, .2), transparent 30%), linear-gradient(135deg, #fffaf0, #fff);
    box-shadow: 0 8px 24px rgba(50, 30, 10, .04)
}

.dashboard-hero h2 {
    margin: 3px 0 7px;
    color: var(--red-dark);
    font-size: 20px;
    line-height: 1.25
}

.dashboard-hero p {
    max-width: 730px;
    margin: 0;
    color: #777;
    font-size: 10px;
    line-height: 1.6
}

.dashboard-hero-actions {
    display: flex;
    gap: 7px;
    flex-shrink: 0
}

.period-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 13px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff
}

.period-switcher>div:first-child {
    display: flex;
    align-items: baseline;
    gap: 8px
}

.period-switcher strong {
    font-size: 11px;
    color: var(--red-dark)
}

.period-switcher span {
    font-size: 9px;
    color: #999
}

.period-tabs {
    display: flex;
    gap: 3px;
    padding: 3px;
    border-radius: 7px;
    background: #f8f2e7
}

.period-tabs a {
    padding: 5px 9px;
    border-radius: 5px;
    color: #777;
    font-size: 9px;
    font-weight: 800
}

.period-tabs a.active {
    background: var(--red);
    color: #fff
}

.dashboard-stats {
    grid-template-columns: repeat(4, 1fr)
}

.success-text {
    color: var(--green) !important
}

.dashboard-main-grid {
    grid-template-columns: 1.55fr 1fr
}

.analytics-panel {
    min-height: 255px
}

.analytics-bars {
    height: 185px
}

.sales-day strong {
    font-size: 8px;
    white-space: nowrap
}

.sales-day small {
    white-space: nowrap
}

.order-pipeline a {
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease
}

.order-pipeline a:hover {
    transform: translateY(-2px);
    border-color: #d8b84d;
    box-shadow: 0 6px 15px rgba(50, 30, 10, .06)
}

.order-pipeline a span {
    display: block;
    margin-top: 3px;
    color: #999;
    font-size: 8px
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-top: 2px
}

.quick-actions a {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 9px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff
}

.quick-actions a:hover {
    border-color: #d8b84d;
    background: #fffaf0
}

.quick-actions span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #fff2d7;
    color: var(--red-dark);
    font-size: 14px
}

.quick-actions strong {
    font-size: 10px;
    color: var(--red-dark)
}

.quick-actions small {
    font-size: 8px;
    color: #999
}

.admin-toolbar {
    align-items: center
}

.wide-search {
    max-width: 620px
}

.result-count {
    color: #999;
    font-size: 9px;
    white-space: nowrap
}

.clear-search {
    align-self: center;
    color: var(--red);
    font-size: 9px;
    font-weight: 700
}

.admin-orders-table td {
    height: 58px
}

.payment-status-success {
    background: #e5f7eb;
    color: #13723e
}

.payment-status-failed {
    background: #ffe5e5;
    color: #9b111e
}

.payment-status-pending {
    background: #fff2cf;
    color: #8a6500
}

.payment-status-cancelled {
    background: #eee;
    color: #666
}

.sales-period {
    margin-bottom: 14px
}

.analytics-note {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border: 1px dashed #ddc88f;
    border-radius: 8px;
    background: #fffaf0;
    color: #6d5b32;
    font-size: 9px;
    line-height: 1.5
}

.analytics-note strong {
    color: var(--red-dark);
    white-space: nowrap
}

.order-admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px
}

.order-admin-header h2 {
    margin: 0;
    color: var(--red-dark);
    font-size: 20px
}

.order-admin-header p {
    margin: 5px 0 0;
    color: #999;
    font-size: 9px
}

.admin-tracking {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 18px
}

.admin-track-step {
    position: relative;
    padding: 13px 8px 12px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fffaf0
}

.admin-track-step span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin: 0 auto 7px;
    border-radius: 50%;
    background: #eee;
    color: #777;
    font-size: 9px;
    font-weight: 900
}

.admin-track-step strong {
    display: block;
    font-size: 9px;
    color: #555
}

.admin-track-step small {
    display: block;
    margin-top: 4px;
    color: var(--red);
    font-size: 8px;
    font-weight: 800
}

.admin-track-step.complete span,
.admin-track-step.current span {
    background: var(--red);
    color: #fff
}

.admin-track-step.current {
    border-color: #d9b44d;
    box-shadow: 0 0 0 2px rgba(201, 154, 46, .12)
}

.order-admin-address {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 13px;
    border-top: 1px solid var(--border);
    color: #666;
    font-size: 10px;
    line-height: 1.5
}

.order-admin-address strong {
    color: #333
}

.status-update-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #555;
    font-size: 10px;
    font-weight: 800
}

.status-update-form select {
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: #fff;
    font-size: 10px
}

.payment-summary {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 16px 0;
    padding: 12px;
    border-radius: 7px;
    background: #faf6ed;
    color: #777;
    font-size: 9px
}

.payment-summary strong {
    color: var(--red-dark);
    font-size: 10px
}

.order-items-admin .order-line span {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.order-items-admin .order-line small {
    color: #999;
    font-size: 9px
}

@media(max-width:1100px) {
    .dashboard-stats {
        grid-template-columns: repeat(3, 1fr)
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:780px) {
    .admin-head-actions .admin-user-chip {
        display: none
    }

    .dashboard-hero {
        align-items: flex-start;
        flex-direction: column
    }

    .dashboard-hero-actions {
        width: 100%
    }

    .dashboard-hero-actions .btn {
        flex: 1
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .admin-grid-two.dashboard-main-grid {
        grid-template-columns: 1fr
    }

    .admin-tracking {
        grid-template-columns: repeat(2, 1fr)
    }

    .admin-toolbar {
        align-items: stretch;
        flex-direction: column
    }

    .wide-search {
        max-width: none
    }

    .result-count {
        align-self: flex-end
    }

    .order-admin-header {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:480px) {
    .admin-shell {
        padding-top: 15px
    }

    .admin-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px
    }

    .admin-head-actions {
        width: 100%
    }

    .admin-head-actions .btn {
        width: 100%
    }

    .dashboard-hero {
        padding: 17px
    }

    .dashboard-hero h2 {
        font-size: 17px
    }

    .dashboard-hero-actions {
        flex-direction: column
    }

    .dashboard-stats {
        grid-template-columns: 1fr 1fr
    }

    .period-switcher {
        align-items: flex-start;
        flex-direction: column
    }

    .period-switcher {
        padding: 10px
    }

    .period-switcher>div:first-child {
        flex-direction: column;
        gap: 2px
    }

    .quick-actions {
        grid-template-columns: 1fr
    }

    .admin-track-step {
        padding: 10px 5px
    }

    .analytics-bars {
        overflow: hidden
    }

    .analytics-bars .sales-day strong {
        font-size: 7px
    }

    .analytics-bars .sales-day small {
        font-size: 7px
    }

    .order-admin-header h2 {
        font-size: 17px
    }
}


.register-page {
    background: #fff;
    padding: 34px 0 58px;
}

.register-container {
    width: min(1180px, 94%);
}

.register-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: #999;
    font-size: 14px;
}

.register-breadcrumb a {
    color: #999;
    font-size: 18px;
    text-decoration: none;
}

.register-breadcrumb strong {
    color: var(--red);
    font-weight: 600;
}

.register-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 34px 42px 30px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .035);
}

.register-heading {
    margin-bottom: 28px;
}

.register-heading h1 {
    margin: 0 0 8px;
    color: #222;
    font-size: 29px;
    line-height: 1.2;
    font-weight: 800;
}

.register-heading p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.register-error {
    margin: 0 0 20px;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 18px;
}

.register-field {
    min-width: 0;
}

.register-field label {
    display: block;
    margin: 0 0 7px;
    color: #444;
    font-size: 13px;
    font-weight: 700;
}

.register-field input {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 10px 13px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    outline: none;
    background: #fff;
    color: #222;
    font-size: 13px;
    line-height: 20px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.register-field input::placeholder {
    color: #aaa;
}

.register-field input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(181, 18, 27, .08);
}

.register-field.has-error input {
    border-color: #c62828;
}

.field-error {
    display: block;
    margin-top: 5px;
    color: #b5121b;
    font-size: 11px;
    line-height: 1.4;
}

.register-submit {
    display: block;
    width: 100%;
    min-height: 43px;
    margin-top: 26px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: .2px;
}

.register-login-link {
    margin: 18px 0 0;
    color: #555;
    font-size: 13px;
}

.register-login-link a {
    color: var(--red);
    font-weight: 700;
}

.register-login-link a:hover {
    text-decoration: underline;
}


@media (max-width: 760px) {
    .register-page {
        padding: 24px 0 40px;
    }

    .register-card {
        padding: 26px 20px 24px;
    }

    .register-grid {
        grid-template-columns: 1fr;
        row-gap: 15px;
    }

    .register-heading h1 {
        font-size: 25px;
    }
}


.unified-auth-page .login-panel {
    min-height: 500px;
}

.unified-auth-page .new-customer-panel {
    justify-content: flex-start;
}

.unified-auth-page .auth-intro {
    margin-bottom: 22px;
}

.unified-register-form {
    width: 100%;
}

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

.unified-auth-field {
    min-width: 0;
}

.unified-auth-field label {
    display: block;
    margin: 0 0 7px;
    color: #5f5f5f;
    font-weight: 700;
    font-size: 13px;
}

.unified-auth-field input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
    color: #222;
    font-size: 13px;
}

.unified-auth-field input:focus,
.account-login-form input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(213, 24, 34, .08);
}

.unified-auth-field.has-error input,
.account-login-form input:invalid:focus {
    border-color: #c62828;
}

.unified-register-submit {
    display: block;
    width: 100%;
    margin-top: 20px;
    min-height: 43px;
}

.unified-auth-page .field-error {
    margin-top: 4px;
    font-size: 11px;
}

.unified-auth-page .account-login-form label {
    margin-top: 2px;
}

@media (max-width: 980px) {
    .unified-auth-page .login-panel {
        padding: 32px 30px;
    }

    .unified-register-grid {
        grid-template-columns: 1fr;
    }
}


.unified-auth-page .standard-register-form {
    margin-top: 8px;
}

.unified-auth-page .register-section-title {
    margin: 18px 0 16px;
    padding: 0 0 9px;
    border-bottom: 1px solid #e1e1e1;
    color: #111;
    font-size: 17px;
    font-weight: 600;
}

.unified-auth-page .register-section-title:first-child {
    margin-top: 0;
}

.unified-auth-page .password-section-title {
    margin-top: 20px;
}

.unified-auth-page .newsletter-title {
    margin-top: 20px;
    margin-bottom: 12px;
}

.unified-auth-page .personal-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.unified-auth-page .full-width-field {
    grid-column: 1 / -1;
}

.unified-auth-page .newsletter-option {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.unified-auth-page .newsletter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--red);
}

.unified-auth-page .standard-register-form .unified-auth-field input {
    min-height: 43px;
    padding: 10px 13px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    font-size: 13px;
}

.unified-auth-page .standard-register-form .unified-register-submit {
    margin-top: 22px;
    min-height: 44px;
}

@media (max-width: 980px) {
    .unified-auth-page .personal-details-grid {
        grid-template-columns: 1fr;
    }

    .unified-auth-page .full-width-field {
        grid-column: auto;
    }
}



.auth-page {
    background: #fff;
    padding: 28px 0 58px;
}

.auth-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 26px;
    color: #999;
    font-size: 14px;
}

.auth-breadcrumb a {
    color: #aaa;
    text-decoration: none;
    font-size: 17px;
}

.auth-breadcrumb strong {
    color: var(--red);
    font-weight: 700;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
}

.auth-card {
    box-sizing: border-box;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background: #fff;
    padding: 38px 54px 42px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .035);
}

.auth-card-heading {
    margin: 0 0 26px;
    text-align: center;
}

.auth-card-heading h1 {
    margin: 0 0 7px;
    color: var(--red-dark);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}

.auth-card-heading p {
    margin: 0;
    color: #666;
    font-size: 16px;
    font-weight: 600;
}

.auth-intro {
    max-width: 560px;
    margin: 0 auto 27px;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

.auth-form {
    width: 100%;
}

.form-section-title {
    margin: 0 0 15px;
    padding: 0 0 9px;
    border-bottom: 1px solid #dedede;
    color: #111;
    font-size: 17px;
    font-weight: 700;
}

.password-title {
    margin-top: 23px;
}

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

.two-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.form-field {
    min-width: 0;
}

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

.form-field label {
    display: block;
    margin: 0 0 7px;
    color: #4d4d4d;
    font-size: 13px;
    font-weight: 700;
}

.form-field input {
    display: block;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 13px;
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 13px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-field input::placeholder {
    color: #9a9a9a;
}

.form-field input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(213, 24, 34, .08);
}

.form-field.has-error input {
    border-color: #c62828;
}

.field-error {
    display: block;
    margin-top: 5px;
    color: #b5121b;
    font-size: 11px;
    line-height: 1.4;
}

.auth-alert {
    margin: 0 0 18px;
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 13px;
}

.auth-alert-error {
    border: 1px solid #efb5b9;
    background: #fff5f5;
    color: #a3121b;
}

.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 27px;
    border: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #e31922, #a90912);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1px;
    cursor: pointer;
    transition: transform .12s ease, filter .12s ease;
}

.auth-submit:hover {
    filter: brightness(.96);
}

.auth-submit:active {
    transform: translateY(1px);
}

.registration-form .auth-submit {
    width: 100%;
    margin-top: 23px;
}

.login-card {
    display: flex;
    flex-direction: column;
}

.customer-login-form {
    margin-top: 5px;
}

.customer-login-form .form-field+.form-field {
    margin-top: 1px;
}

.login-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 3px;
}

.auth-login-submit {
    min-width: 90px;
}

.forgot-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.forgot-link:hover {
    color: var(--red);
}

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

    .auth-card {
        padding: 34px 32px 38px;
    }
}

@media (max-width: 600px) {
    .auth-page {
        padding: 20px 0 40px;
    }

    .auth-grid {
        gap: 18px;
    }

    .auth-card {
        padding: 28px 20px 30px;
    }

    .auth-card-heading h1 {
        font-size: 24px;
    }

    .auth-card-heading p {
        font-size: 14px;
    }

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

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

    .login-footer-row {
        align-items: flex-start;
        flex-direction: column;
    }
}


.auth-shell {
    min-height: 660px;
    padding: 30px 0 70px;
    background: #f7f7f5;
}

.auth-container {
    width: min(1120px, 92%);
}

.auth-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 0 0 22px;
    color: #9a9a9a;
    font-size: 12px;
}

.auth-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.auth-breadcrumb strong {
    color: var(--red);
}

.auth-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    min-height: 610px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(30, 30, 30, .10);
}

.auth-brand-panel {
    padding: 62px 52px;
    color: #fff;
    background: linear-gradient(145deg, #101626 0%, #1c2336 62%, #760d14 140%);
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::after {
    content: "✦  ✧  ✦";
    position: absolute;
    right: -10px;
    bottom: 28px;
    font-size: 62px;
    letter-spacing: 13px;
    color: #d6a32c;
    opacity: .16;
}

.auth-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(239, 207, 125, .5);
    border-radius: 50%;
    color: #efd07d;
    font-size: 23px;
}

.auth-eyebrow,
.auth-kicker {
    margin: 34px 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.auth-eyebrow {
    color: #efd07d;
}

.auth-brand-panel h1 {
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 1.02;
    letter-spacing: -1.5px;
}

.auth-brand-copy {
    max-width: 340px;
    color: #d7d9df;
    font-size: 14px;
    line-height: 1.8;
}

.auth-trust-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 42px;
    color: #f5f5f5;
    font-size: 12px;
    font-weight: 600;
}

.auth-card {
    background: #fff;
    padding: 50px 56px;
}

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

.auth-kicker {
    display: block;
    margin: 0 0 8px;
    color: var(--red);
}

.auth-card-heading h1,
.auth-card-heading h2 {
    margin: 0 0 8px;
    color: #181818;
    font-size: 29px;
    line-height: 1.2;
}

.auth-card-heading p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
}

.auth-field {
    min-width: 0;
    margin-bottom: 17px;
}

.auth-field label {
    display: block;
    margin: 0 0 7px;
    color: #383838;
    font-size: 12px;
    font-weight: 800;
}

.auth-label-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.auth-label-row a {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.auth-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d9d9d9;
    border-radius: 7px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 13px;
    transition: .15s ease;
}

.auth-field input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(181, 18, 27, .08);
}

.auth-field.has-error input {
    border-color: #c62828;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

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

.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 19px;
    color: #666;
    font-size: 11px;
    line-height: 1.5;
}

.auth-check input {
    accent-color: var(--red);
}

.auth-primary,
.auth-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 7px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.auth-primary {
    width: 100%;
    border: 0;
    background: linear-gradient(135deg, #df1a24, #9f0911);
    color: #fff;
    box-shadow: 0 7px 16px rgba(181, 18, 27, .17);
}

.auth-primary:disabled {
    cursor: not-allowed;
    opacity: .55;
    box-shadow: none;
}

.auth-secondary {
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #444;
}

.auth-secondary-link {
    width: 100%;
    text-decoration: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 26px 0 14px;
    color: #aaa;
    font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e7e7e7;
}

.auth-alert {
    margin: 0 0 17px;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 12px;
}

.auth-alert-error {
    border: 1px solid #efb5b9;
    background: #fff5f5;
    color: #a3121b;
}

.auth-register-layout {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 20px;
    align-items: stretch;
}

.auth-register-page .auth-card {
    border: 1px solid #e8e1d6;
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(80, 60, 20, .07);
}

.auth-benefits-card {
    padding: 45px 38px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(160deg, #a70d15, #7b0a10);
    box-shadow: 0 14px 42px rgba(80, 10, 15, .15);
}

.auth-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #f1d47e;
}

.auth-benefits-card h2 {
    margin: 25px 0 9px;
    font-size: 25px;
}

.auth-benefits-card>p {
    color: #f5dfe0;
    font-size: 12px;
    line-height: 1.7;
}

.auth-benefits-card ul {
    display: flex;
    flex-direction: column;
    gap: 21px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.auth-benefits-card li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 19px;
    position: relative;
}

.auth-benefits-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f1d47e;
    font-weight: 900;
}

.auth-benefits-card li strong {
    font-size: 12px;
}

.auth-benefits-card li span {
    color: #f4dfe0;
    font-size: 10px;
    line-height: 1.5;
}

.auth-existing {
    margin-top: 38px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: #f5dfe0;
    font-size: 11px;
}

.auth-existing a {
    color: #fff;
    font-weight: 800;
}

@media (max-width: 900px) {

    .auth-layout,
    .auth-register-layout {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        padding: 42px 38px;
        min-height: 330px;
    }

    .auth-brand-panel h1 {
        font-size: 39px;
    }

    .auth-brand-copy {
        max-width: 580px;
    }

    .auth-trust-list {
        margin-top: 25px;
    }
}

@media (max-width: 600px) {
    .auth-shell {
        padding: 20px 0 42px;
    }

    .auth-container {
        width: min(94%, 520px);
    }

    .auth-brand-panel {
        padding: 30px 25px;
    }

    .auth-card {
        padding: 30px 22px;
    }

    .auth-benefits-card {
        padding: 30px 24px;
    }

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

    .auth-form-grid .full {
        grid-column: auto;
    }

    .auth-card-heading h1,
    .auth-card-heading h2 {
        font-size: 25px;
    }
}

.auth-field input[aria-invalid="true"],
.auth-field select[aria-invalid="true"],
.auth-field textarea[aria-invalid="true"] {
    border-color: #c62828;
}

.auth-field.has-error .field-error,
.auth-check.has-error .field-error {
    color: #b5121b;
    font-weight: 700;
}


.auth-field.has-error>label,
.auth-field.has-error .auth-label-row label {
    color: #b5121b;
}

.auth-field.has-error input,
.auth-check.has-error input {
    border-color: #b5121b;
}

.auth-field .field-error,
.auth-check .field-error {
    display: block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 5px 0 0;
    padding: 7px 9px;
    border-radius: 3px;
    background: #b34843;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
}

.auth-field .field-error.client-field-error {
    animation: validation-message-in .14s ease-out;
}

@keyframes validation-message-in {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.auth-shell {
    background: #faf8f3;
}

.auth-card,
.auth-register-card,
.auth-login-card {
    background: #ffffff;
    border-color: #e4ded2;
    box-shadow: 0 18px 46px rgba(58, 44, 20, 0.07);
}

.auth-card-heading h1,
.auth-card-heading h2,
.auth-brand-panel h1 {
    letter-spacing: -0.02em;
}

.auth-field {
    position: relative;
}

.auth-field>label,
.auth-label-row label {
    color: #34312b;
    font-weight: 700;
}

.auth-field input,
.auth-field select,
.auth-field textarea {
    min-height: 52px;
    width: 100%;
    border: 1px solid #d8d3ca;
    border-radius: 9px;
    background: #fff;
    color: #25231f;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.auth-field input::placeholder {
    color: #999187;
}

.auth-field input:hover,
.auth-field select:hover,
.auth-field textarea:hover {
    border-color: #c8c0b3;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    outline: none;
    border-color: #ba1d27;
    box-shadow: 0 0 0 3px rgba(186, 29, 39, 0.09);
    background: #fff;
}

.auth-field.has-error input,
.auth-field.has-error select,
.auth-field.has-error textarea,
.auth-field input[aria-invalid="true"],
.auth-field select[aria-invalid="true"],
.auth-field textarea[aria-invalid="true"] {
    border-color: #cf5a60;
    background: #fffdfd;
    box-shadow: none;
}

.auth-field.has-error input:focus,
.auth-field.has-error select:focus,
.auth-field.has-error textarea:focus {
    border-color: #ba1d27;
    box-shadow: 0 0 0 3px rgba(186, 29, 39, 0.09);
}

.auth-field.has-error>label,
.auth-field.has-error .auth-label-row label,
.auth-check.has-error {
    color: #a71922;
}


.auth-field .field-error,
.auth-check+.field-error,
.auth-check .field-error {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 7px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #a71922;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.auth-alert.auth-alert-error {
    background: #fff5f5;
    border: 1px solid #edc3c5;
    border-radius: 9px;
    color: #9d1821;
}

.auth-primary {
    min-height: 52px;
    border-radius: 9px;
    background: linear-gradient(135deg, #d3212b, #a9151e);
    box-shadow: 0 9px 20px rgba(169, 21, 30, 0.16);
    font-size: 13px;
}

.auth-primary:hover {
    background: linear-gradient(135deg, #c31d26, #94121a);
    box-shadow: 0 11px 22px rgba(169, 21, 30, 0.21);
}

.auth-secondary-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border-color: #d9d3c8;
    color: #37342f;
    font-weight: 700;
}

.auth-secondary-link:hover {
    border-color: #c5a24b;
    background: #fffdf7;
    color: #9a7315;
}

.auth-check {
    margin-top: 6px;
    color: #5f5a52;
    font-size: 13px;
}

.auth-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #ba1d27;
}



.field-hint-on-focus {
    display: none;
}

.auth-field.is-focused .field-hint-on-focus {
    display: block;
}

.password-meter-wrap,
.password-requirements {
    display: none;
}

.password-field.is-focused .password-meter-wrap,
.password-field.is-focused .password-requirements,
.password-field.has-value .password-meter-wrap,
.password-field.has-value .password-requirements {
    display: block;
}


.password-meter-wrap {
    margin-top: 9px;
}

.password-strength-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    color: #847d72;
    font-size: 11px;
    font-weight: 600;
}

.password-strength-head strong {
    color: #7b7469;
    font-size: 11px;
}

.password-meter {
    --password-progress: 0%;
    position: relative;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #ebe6dc;
}

.password-meter::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--password-progress);
    border-radius: inherit;
    background: linear-gradient(90deg, #cf5a60, #d2a13a, #5f8c55);
    transition: width .2s ease;
}

.password-meter[data-score="0"]::after,
.password-meter[data-score="1"]::after {
    background: #c95a61;
}

.password-meter[data-score="2"]::after {
    background: #c79a3d;
}

.password-meter[data-score="3"]::after,
.password-meter[data-score="4"]::after {
    background: #5d8c55;
}

.password-requirements {
    margin-top: 10px;
    padding: 9px 12px;
    border: 1px solid #ebe5db;
    border-radius: 8px;
    background: #fbfaf7;
}

.password-requirements-title {
    margin-bottom: 6px;
    color: #4f4a42;
    font-size: 11px;
    font-weight: 800;
}

.password-requirements ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.password-requirements li {
    display: block;
    margin: 0 0 4px;
    color: #8a8479;
    font-size: 11px;
    line-height: 1.35;
    transition: color .15s ease;
}

.password-requirements li:last-child {
    margin-bottom: 0;
}

.password-requirements .rule-icon {
    display: none;
}

.password-requirements li.is-valid {
    color: #4e7f49;
}

.password-requirements li.is-invalid {
    color: #8a8479;
}

.password-match-hint {
    display: block;
    margin-top: 7px;
    color: #8a847a;
    font-size: 11px;
}

.auth-register-card .auth-form-grid {
    row-gap: 18px;
}

.auth-benefits-card {
    background: linear-gradient(165deg, #a91620, #780d13);
}

.auth-benefits-card h2 {
    letter-spacing: -0.01em;
}


.password-requirements-summary {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .02em;
}

.auth-register-page .password-requirements-summary {
    margin-top: 7px;
    color: #777;
}



.form-global-error {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #efc4c7;
    border-radius: 9px;
    background: #fff6f6;
    color: #a71922;
    font-size: 12px;
    font-weight: 700;
}

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

.checkout-field {
    margin-bottom: 14px;
}

.checkout-field:last-child {
    margin-bottom: 0;
}

.checkout-field > label {
    color: #34312b;
    font-size: 12px;
    font-weight: 800;
}

.checkout-field > label span {
    color: #b5121b;
}

.checkout-field input,
.checkout-field textarea,
.checkout-field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin-top: 7px;
    padding: 11px 13px;
    border: 1px solid #d8d3ca;
    border-radius: 8px;
    background: #fff;
    color: #25231f;
    font: inherit;
    font-size: 13px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.checkout-field textarea {
    min-height: 104px;
    resize: vertical;
}

.checkout-field input:focus,
.checkout-field textarea:focus,
.checkout-field select:focus {
    outline: none;
    border-color: #ba1d27;
    box-shadow: 0 0 0 3px rgba(186, 29, 39, .09);
}

.checkout-field.has-error > label {
    color: #a71922;
}

.checkout-field.has-error input,
.checkout-field.has-error textarea,
.checkout-field.has-error select,
.checkout-field input[aria-invalid="true"],
.checkout-field textarea[aria-invalid="true"],
.checkout-field select[aria-invalid="true"] {
    border-color: #cf5a60;
    background: #fffdfd;
}

.checkout-field .field-error,
.payment-method-error {
    display: block;
    margin-top: 7px;
    color: #a71922;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
}

.payment-module-layout {
    align-items: start;
}

.payment-card {
    padding: 26px;
    border-radius: 12px;
}

.payment-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.payment-subtitle {
    max-width: 690px;
    margin: 5px 0 0;
    color: #756f66;
    font-size: 12px;
    line-height: 1.6;
}

.payment-demo-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff3cd;
    color: #856404;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.payment-option {
    grid-template-columns: auto 1fr;
    border-color: #ddd7cc;
    background: #fff;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
    cursor: pointer;
}

.payment-option:hover,
.payment-option.selected {
    border-color: #c9a64f;
    background: #fffdf7;
    box-shadow: 0 5px 15px rgba(90, 65, 20, .06);
}

.payment-option input {
    width: 18px;
    height: 18px;
    accent-color: #ba1d27;
}

.payment-option-copy {
    grid-column: auto !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #302d28 !important;
    font-size: 13px !important;
}

.payment-option-copy strong {
    font-size: 13px;
}

.payment-option-copy small {
    color: #777 !important;
    font-size: 10px;
}

.payment-detail-card {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e6e0d5;
    border-radius: 10px;
    background: #fcfbf8;
}

.payment-detail-title {
    margin-bottom: 12px;
    color: #8a6b1d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
}

.payment-security-note {
    color: #7b766e;
    font-size: 10px;
    line-height: 1.5;
}

.payment-flow-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #d8eadf;
    border-radius: 9px;
    background: #f5fbf7;
}

.payment-flow-icon {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 50%;
    background: #1f7a4c;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.payment-flow-note div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-flow-note strong {
    color: #185c39;
    font-size: 11px;
}

.payment-flow-note small {
    color: #63746a;
    font-size: 10px;
}

.payment-actions {
    margin-top: 20px;
}

.payment-actions .btn {
    min-height: 48px;
    flex: 1;
}

.payment-actions .btn:disabled {
    cursor: wait;
    opacity: .65;
}

.payment-summary-card {
    position: sticky;
    top: 18px;
}

.payment-summary-card .summary-heading small {
    display: block;
    margin-top: 3px;
    color: #8b857d;
    font-size: 9px;
}

.payment-summary-trust {
    display: flex !important;
    align-items: flex-start;
    justify-content: flex-start !important;
    gap: 7px;
    margin-top: 18px !important;
    padding: 11px;
    border-radius: 7px;
    background: #f7f5ef;
    color: #6e6557;
    font-size: 9px;
    line-height: 1.5;
}

.payment-summary-trust span {
    color: #197344;
    font-weight: 900;
}

.payment-processing-page,
.payment-result-page {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-processing-card {
    width: min(720px, 100%);
    margin: 30px auto;
    padding: 42px 44px;
    border: 1px solid #e4ded2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(58, 44, 20, .08);
    text-align: center;
}

.processing-spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    border: 4px solid #eee7d9;
    border-top-color: #ba1d27;
    border-radius: 50%;
    animation: payment-spin .9s linear infinite;
}

@keyframes payment-spin {
    to { transform: rotate(360deg); }
}

.payment-processing-card h1 {
    margin: 0 0 8px;
    color: #211f1b;
    font-size: 30px;
}

.processing-lead {
    margin: 0 auto;
    max-width: 520px;
    color: #756f66;
    font-size: 13px;
    line-height: 1.6;
}

.processing-order-pill {
    display: inline-flex;
    margin: 18px 0 24px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #faf6e9;
    color: #765f25;
    font-size: 10px;
    font-weight: 800;
}

.processing-steps {
    display: grid;
    gap: 9px;
    text-align: left;
}

.processing-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid #ebe6dc;
    border-radius: 10px;
    opacity: .52;
    transition: opacity .2s ease, border-color .2s ease, background-color .2s ease;
}

.processing-step.active {
    opacity: 1;
    border-color: #d8b65f;
    background: #fffdf7;
}

.processing-step.complete {
    opacity: 1;
    border-color: #d8eadf;
    background: #f6fbf8;
}

.processing-step > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #eee8dc;
    color: #6f675c;
    font-size: 11px;
    font-weight: 900;
}

.processing-step.active > span {
    background: #ba1d27;
    color: #fff;
}

.processing-step.complete > span {
    background: #1f7a4c;
    color: #fff;
}

.processing-step div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.processing-step strong {
    color: #322f2a;
    font-size: 12px;
}

.processing-step small {
    color: #7d766d;
    font-size: 10px;
}

.processing-message {
    margin-top: 18px;
    color: #6d655a;
    font-size: 11px;
}

.processing-error {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff4f4;
    color: #a71922;
    font-size: 11px;
    font-weight: 700;
}

.payment-result-page {
    display: block;
}

.payment-success-card {
    max-width: 820px;
    margin: 38px auto;
    padding: 48px 44px;
    border-radius: 18px;
}

.result-kicker {
    display: block;
    margin: 0 0 7px;
    color: #1f7a4c;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.result-kicker-error {
    color: #b5121b;
}

.payment-success-card h1 {
    margin: 0 0 8px;
    color: #211f1b;
    font-size: 30px;
}

.payment-success-card > p {
    max-width: 610px;
    margin: 0 auto 24px;
    color: #716b62;
    font-size: 13px;
    line-height: 1.65;
}

.payment-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 28px;
    text-align: left;
}

.payment-result-grid > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px 14px;
    border: 1px solid #e9e3d8;
    border-radius: 9px;
    background: #fcfbf8;
}

.payment-result-grid span {
    color: #8a847b;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.payment-result-grid strong {
    color: #292621;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.payment-failure-card .payment-result-grid strong {
    color: #a71922;
}

@media (max-width: 760px) {
    .payment-card-heading {
        flex-direction: column;
    }

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

    .payment-processing-card,
    .payment-success-card {
        padding: 30px 22px;
    }

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

@media (max-width: 560px) {
    .payment-actions {
        flex-direction: column;
    }

    .payment-processing-card h1,
    .payment-success-card h1 {
        font-size: 25px;
    }
}




.required-mark {
    color: #c62828;
    font-weight: 700;
    margin-left: 0.15rem;
}


.auth-register-card {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.auth-register-page .auth-card-heading {
    text-align: left;
}

.registration-form-fields {
    border-top: 1px solid #dedede;
}

.registration-form-row {
    display: grid;
    grid-template-columns: 225px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
    margin: 0;
    padding: 20px 0 0;
}

.registration-form-row > label {
    padding-top: 13px;
    margin: 0;
    color: #b22d32;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.registration-form-row > label .required-mark {
    color: #d01818;
}

.registration-input-wrap {
    min-width: 0;
}

.registration-input-wrap > input,
.registration-input-wrap .iti {
    width: 100%;
}

.registration-input-wrap > input,
.registration-input-wrap .iti input {
    min-height: 50px;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: #fff;
    color: #444;
    font-size: 15px;
    letter-spacing: .08em;
}

.registration-input-wrap > input::placeholder,
.registration-input-wrap .iti input::placeholder {
    color: #777;
    opacity: 1;
}

.registration-input-wrap > input:focus,
.registration-input-wrap .iti input:focus {
    outline: none;
    border-color: #bdbdbd;
    box-shadow: none;
}

.registration-form-row.has-error > label {
    color: #b22d32;
}

.registration-form-row.has-error .registration-input-wrap > input,
.registration-form-row.has-error .registration-input-wrap .iti input,
.registration-form-row .registration-input-wrap > input[aria-invalid="true"] {
    border-color: #d0d0d0;
}

.registration-form-row .field-error {
    display: block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 7px 0 0;
    padding: 7px 9px;
    border: 0;
    border-radius: 3px;
    background: #b34843;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.registration-form-row .field-error.client-field-error {
    animation: validation-message-in .14s ease-out;
}

.registration-password-heading {
    margin: 25px 0 0;
    padding: 17px 0 9px;
    border-top: 1px solid #dedede;
    color: #111;
    font-size: 17px;
    font-weight: 500;
}

.registration-password-heading span {
    display: inline-block;
}

.auth-register-page .field-hint-on-focus {
    display: none;
    margin-top: 6px;
    color: #777;
    font-size: 11px;
}

.auth-register-page .auth-field.is-focused .field-hint-on-focus,
.auth-register-page .auth-field.has-value .field-hint-on-focus {
    display: block;
}

.auth-register-page .password-meter-wrap,
.auth-register-page .password-requirements {
    display: none;
}

.auth-register-page .password-field.is-focused .password-meter-wrap,
.auth-register-page .password-field.is-focused .password-requirements,
.auth-register-page .password-field.has-value .password-meter-wrap,
.auth-register-page .password-field.has-value .password-requirements {
    display: block;
}

.auth-register-page .auth-primary {
    width: calc(100% - 245px);
    margin-left: 245px;
    margin-top: 24px;
    border-radius: 3px;
}

@media (max-width: 760px) {
    .registration-form-row {
        grid-template-columns: 1fr;
        row-gap: 7px;
        padding-top: 16px;
    }

    .registration-form-row > label {
        padding-top: 0;
    }

    .auth-register-page .auth-primary {
        width: 100%;
        margin-left: 0;
    }
}



.auth-register-page .registration-input-wrap {
    position: relative;
}

.auth-register-page .password-guidance {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(330px, calc(100vw - 40px));
    box-sizing: border-box;
    z-index: 20;
    padding: 11px 13px 12px;
    border: 1px solid #ddd4c8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.auth-register-page .password-guidance::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 24px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid #ddd4c8;
    border-top: 1px solid #ddd4c8;
    transform: rotate(45deg);
}

.auth-register-page .password-field.is-focused .password-guidance {
    display: block;
}

.auth-register-page .password-field.has-value .password-guidance {
    display: none;
}

.auth-register-page .password-field.is-focused.has-value .password-guidance {
    display: block;
}

.auth-register-page .password-guidance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    color: #4b4640;
    font-size: 11px;
    font-weight: 800;
}

.auth-register-page .password-guidance-header strong {
    color: #8b8175;
    font-size: 10px;
    font-weight: 800;
}

.auth-register-page .password-guidance .password-meter-wrap {
    display: block;
    margin: 0 0 9px;
}

.auth-register-page .password-guidance .password-requirements {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.auth-register-page .password-guidance .password-requirements ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 10px;
}

.auth-register-page .password-guidance .password-requirements li {
    font-size: 10px;
    line-height: 1.25;
}

.auth-register-page .password-guidance .password-requirements .rule-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
    font-size: 8px;
}

@media (max-width: 760px) {
    .auth-register-page .password-guidance {
        width: min(300px, calc(100vw - 32px));
    }
}


.auth-register-page {
    background: #fff;
}

.auth-register-page .auth-container {
    max-width: 1180px;
}

.auth-register-page .auth-breadcrumb {
    margin-bottom: 18px;
    color: #777;
}

.auth-register-page .auth-register-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: stretch;
}

.auth-register-page .auth-register-card {
    padding: 30px 34px 34px;
    border: 1px solid #e3e3e3 !important;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: none !important;
}

.auth-register-page .auth-card-heading {
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
}

.auth-register-page .auth-card-heading .auth-kicker {
    color: #777;
    font-size: 11px;
    letter-spacing: .08em;
}

.auth-register-page .auth-card-heading h1 {
    margin: 5px 0 7px;
    color: #222;
    font-size: 28px;
    font-weight: 700;
}

.auth-register-page .auth-card-heading p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.auth-register-page .registration-form-fields {
    position: relative;
    border-top: 0;
    background: linear-gradient(
        to right,
        transparent 0,
        transparent 244px,
        #e4e4e4 244px,
        #e4e4e4 245px,
        transparent 245px
    );
}

.auth-register-page .registration-form-row {
    grid-template-columns: 225px minmax(0, 1fr);
    column-gap: 20px;
    padding: 20px 0 0;
}

.auth-register-page .registration-form-row > label {
    padding: 13px 0 10px;
    color: #a92b30;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}


.auth-register-page .required-mark {
    display: none;
}

.auth-register-page .registration-input-wrap > input,
.auth-register-page .registration-input-wrap .iti input {
    min-height: 50px;
    height: 50px;
    padding: 12px 15px;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: #fff;
    color: #4b4b4b;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .06em;
    box-shadow: none;
}

.auth-register-page .registration-input-wrap > input::placeholder,
.auth-register-page .registration-input-wrap .iti input::placeholder {
    color: #777;
    opacity: 1;
    letter-spacing: .08em;
}

.auth-register-page .registration-input-wrap > input:hover,
.auth-register-page .registration-input-wrap .iti input:hover {
    border-color: #cfcfcf;
}

.auth-register-page .registration-input-wrap > input:focus,
.auth-register-page .registration-input-wrap .iti input:focus {
    outline: none;
    border-color: #bdbdbd;
    box-shadow: none;
}

.auth-register-page .registration-form-row .field-error {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 7px 0 0;
    padding: 8px 9px;
    border-radius: 3px;
    background: #b44545;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.auth-register-page .registration-password-heading {
    margin: 25px 0 0;
    padding: 17px 0 9px;
    border-top: 1px solid #e2e2e2;
    color: #111;
    font-size: 17px;
    font-weight: 500;
}


.auth-register-page .password-guidance {
    top: calc(100% + 8px);
    width: min(320px, calc(100vw - 36px));
    padding: 10px 12px;
    border: 1px solid #ded8d0;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

.auth-register-page .password-guidance-header {
    margin-bottom: 6px;
    color: #444;
    font-size: 11px;
}

.auth-register-page .password-guidance .password-requirements ul {
    gap: 4px 9px;
}

.auth-register-page .password-guidance .password-requirements li {
    color: #666;
    font-size: 10px;
}

.auth-register-page .auth-primary {
    width: calc(100% - 245px);
    min-height: 48px;
    margin: 24px 0 0 245px;
    border-radius: 3px;
}

@media (max-width: 900px) {
    .auth-register-page .auth-register-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .auth-register-page .auth-register-card {
        padding: 24px 20px 28px;
    }

    .auth-register-page .registration-form-fields {
        background: none;
    }

    .auth-register-page .registration-form-row {
        grid-template-columns: 1fr;
        row-gap: 7px;
        padding-top: 16px;
    }

    .auth-register-page .registration-form-row > label {
        padding: 0;
    }

    .auth-register-page .auth-primary {
        width: 100%;
        margin-left: 0;
    }
}


.auth-login-page {
    min-height: calc(100vh - 120px);
    padding: 34px 0 70px;
    background: #fff;
}

.auth-login-page .auth-container {
    width: min(1080px, 94%);
}

.auth-login-page .auth-breadcrumb {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e7e7e7;
    font-size: 12px;
}

.auth-login-page .auth-layout {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.auth-login-page .auth-brand-panel {
    min-height: 560px;
    padding: 52px 48px;
    background: #a90f18;
    border-radius: 0;
}

.auth-login-page .auth-brand-panel::after {
    display: none;
}

.auth-login-page .auth-brand-mark {
    width: 42px;
    height: 42px;
    border-color: rgba(255,255,255,.45);
    color: #fff;
    font-size: 19px;
}

.auth-login-page .auth-eyebrow {
    margin-top: 34px;
    color: #ffd75f;
    font-size: 11px;
    letter-spacing: 1.8px;
}

.auth-login-page .auth-brand-panel h1 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -.8px;
}

.auth-login-page .auth-brand-copy {
    max-width: 360px;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.75;
}

.auth-login-page .auth-trust-list {
    gap: 16px;
    margin-top: 42px;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
}

.auth-login-page .auth-card {
    padding: 52px 54px;
    border-left: 1px solid #e4e4e4;
    border-radius: 0;
}

.auth-login-page .auth-card-heading {
    margin-bottom: 30px;
}

.auth-login-page .auth-kicker {
    margin-bottom: 9px;
    color: #a90f18;
    font-size: 11px;
    letter-spacing: 1.7px;
}

.auth-login-page .auth-card-heading h2 {
    margin-bottom: 9px;
    color: #292929;
    font-size: 28px;
    font-weight: 700;
}

.auth-login-page .auth-card-heading p {
    max-width: 430px;
    color: #777;
    font-size: 13px;
    line-height: 1.65;
}

.auth-login-page .auth-field {
    margin-bottom: 22px;
}

.auth-login-page .auth-field label {
    margin-bottom: 8px;
    color: #333;
    font-size: 13px;
    font-weight: 700;
}

.auth-login-page .auth-label-row a {
    color: #a90f18;
    font-size: 12px;
}

.auth-login-page .auth-field input {
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #d6d6d6;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-size: 14px;
    letter-spacing: .15px;
}

.auth-login-page .auth-field input::placeholder {
    color: #999;
    opacity: 1;
}

.auth-login-page .auth-field input:focus {
    border-color: #a90f18;
    box-shadow: 0 0 0 2px rgba(169,15,24,.07);
}

.auth-login-page .auth-field.has-error input {
    border-color: #b43f3f;
}

.auth-login-page .field-error {
    display: inline-block;
    margin-top: 7px;
    padding: 8px 10px;
    border-radius: 3px;
    background: #b44343;
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
}

.auth-login-page .auth-check {
    margin: 4px 0 20px;
    color: #666;
    font-size: 12px;
}

.auth-login-page .auth-primary {
    min-height: 52px;
    border-radius: 0;
    background: #a90f18;
    box-shadow: none;
    font-size: 13px;
    letter-spacing: .2px;
}

.auth-login-page .auth-primary:hover {
    background: #8f0c14;
}

.auth-login-page .auth-divider {
    margin: 28px 0 15px;
    color: #999;
}

.auth-login-page .auth-secondary {
    min-height: 50px;
    border-radius: 0;
    border-color: #cfcfcf;
    color: #444;
    font-size: 13px;
}

.auth-login-page .auth-secondary:hover {
    border-color: #a90f18;
    color: #a90f18;
}

.auth-login-page .auth-alert-error {
    border-radius: 3px;
    background: #fff4f4;
    border-color: #e1aaaa;
    color: #9d2228;
}

@media (max-width: 820px) {
    .auth-login-page .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-login-page .auth-brand-panel {
        min-height: auto;
        padding: 38px 32px;
    }

    .auth-login-page .auth-brand-panel h1 {
        font-size: 36px;
    }

    .auth-login-page .auth-card {
        border-top: 1px solid #e4e4e4;
        border-left: 0;
        padding: 38px 32px;
    }
}

@media (max-width: 520px) {
    .auth-login-page {
        padding-top: 20px;
    }

    .auth-login-page .auth-container {
        width: 94%;
    }

    .auth-login-page .auth-brand-panel,
    .auth-login-page .auth-card {
        padding: 30px 22px;
    }

    .auth-login-page .auth-card-heading h2 {
        font-size: 24px;
    }
}



.auth-register-page .password-guidance { display: none !important; }
.auth-register-page .password-meter-wrap,
.auth-register-page .password-requirements { display: none !important; }



.auth-register-page {
    background: #f6f6f4;
    padding: 34px 0 72px;
}

.auth-register-page .auth-container {
    width: min(1160px, 94%);
}

.auth-register-page .auth-breadcrumb {
    margin-bottom: 18px;
    font-size: 12px;
    color: #8a8a8a;
}

.auth-register-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    gap: 24px;
}

.auth-register-page .auth-register-card {
    padding: 42px 46px 38px;
    border: 1px solid #e4e4e1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(20, 20, 20, .05);
}

.auth-register-page .auth-card-heading {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #ededeb;
}

.auth-register-page .auth-kicker {
    margin: 0 0 8px;
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.auth-register-page .auth-card-heading h1 {
    margin: 0 0 8px;
    color: #202020;
    font-size: clamp(27px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.4px;
}

.auth-register-page .auth-card-heading p {
    max-width: 650px;
    margin: 0;
    color: #737373;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.auth-register-page .registration-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-register-page .registration-form-row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    column-gap: 26px;
    align-items: start;
    margin: 0;
    padding: 0 0 22px;
}

.auth-register-page .registration-form-row > label {
    margin: 13px 0 0;
    color: #343434;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.auth-register-page .registration-input-wrap {
    min-width: 0;
}

.auth-register-page .registration-form-row input {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    border: 1px solid #d7d7d5;
    border-radius: 2px;
    background: #fff;
    color: #292929;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .1px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-register-page .registration-form-row input::placeholder {
    color: #8a8a8a;
    opacity: 1;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .2px;
}

.auth-register-page .registration-form-row input:focus {
    border-color: #b5262d;
    box-shadow: 0 0 0 2px rgba(181, 38, 45, .08);
}

.auth-register-page .registration-form-row.has-error input {
    border-color: #c34b4b;
}

.auth-register-page .field-hint-on-focus,
.auth-register-page .password-requirements-summary {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.auth-register-page .field-hint-on-focus {
    display: none;
}

.auth-register-page .auth-field.is-focused .field-hint-on-focus {
    display: block;
}

.auth-register-page .password-requirements-summary {
    color: #666;
    letter-spacing: .05px;
}

.auth-register-page .field-error {
    display: inline-block;
    max-width: 100%;
    margin-top: 7px;
    padding: 8px 10px;
    border-radius: 3px;
    background: #b74747;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.auth-register-page .registration-password-heading {
    margin: 3px 0 24px;
    padding-top: 24px;
    border-top: 1px solid #e9e9e7;
    color: #252525;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.auth-register-page .registration-password-heading span {
    display: block;
}

.auth-register-page .auth-primary {
    min-height: 50px;
    margin-top: 3px;
    border-radius: 3px;
    background: #b5262d;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05px;
}

.auth-register-page .auth-primary:hover {
    background: #982028;
}

.auth-register-page .auth-divider {
    margin: 24px 0 12px;
    font-size: 12px;
}

.auth-register-page .auth-secondary {
    min-height: 44px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
}

.auth-register-page .auth-benefits-card {
    padding: 42px 36px;
    border-radius: 10px;
    background: linear-gradient(160deg, #b91420 0%, #8d0d15 100%);
    box-shadow: 0 8px 28px rgba(80, 10, 15, .12);
}

.auth-register-page .auth-benefits-card h2 {
    margin: 26px 0 14px;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.2px;
}

.auth-register-page .auth-benefits-card p,
.auth-register-page .auth-benefits-card li span {
    font-size: 13px;
    line-height: 1.6;
}

.auth-register-page .auth-benefits-card ul {
    margin-top: 28px;
}

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

    .auth-register-page .auth-benefits-card {
        order: 2;
    }
}

@media (max-width: 700px) {
    .auth-register-page {
        padding: 22px 0 48px;
    }

    .auth-register-page .auth-container {
        width: min(100% - 24px, 620px);
    }

    .auth-register-page .auth-register-card {
        padding: 30px 22px;
        border-radius: 8px;
    }

    .auth-register-page .registration-form-row {
        grid-template-columns: 1fr;
        row-gap: 7px;
        padding-bottom: 18px;
    }

    .auth-register-page .registration-form-row > label {
        margin: 0;
        font-size: 14px;
    }

    .auth-register-page .registration-form-row input {
        min-height: 50px;
    }

    .auth-register-page .registration-password-heading {
        margin-top: 2px;
        padding-top: 21px;
        margin-bottom: 20px;
    }

    .auth-register-page .auth-benefits-card {
        padding: 32px 26px;
    }
}



.auth-shell {
    padding: 28px 0 60px;
    background: #fff;
    color: #242424;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

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

.auth-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #777;
    font-size: 13px;
}

.auth-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.auth-breadcrumb a:hover {
    color: #b3262d;
}

.auth-breadcrumb strong {
    color: #333;
    font-weight: 600;
}

.auth-layout,
.auth-register-layout {
    display: grid;
    gap: 0;
    align-items: stretch;
}

.auth-layout {
    grid-template-columns: 330px minmax(0, 1fr);
}

.auth-register-layout {
    grid-template-columns: minmax(0, 1fr) 365px;
}

.auth-brand-panel,
.auth-card,
.auth-benefits-card {
    min-width: 0;
}

.auth-brand-panel {
    padding: 48px 38px;
    background: #b3262d;
    color: #fff;
}

.auth-brand-mark,
.auth-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #ffe46b;
    font-size: 20px;
}

.auth-brand-panel .auth-eyebrow,
.auth-brand-panel .auth-kicker {
    margin-bottom: 12px;
    color: rgba(255,255,255,.78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.auth-brand-panel h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.12;
}

.auth-brand-copy {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.65;
}

.auth-trust-list {
    display: grid;
    gap: 14px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.22);
}

.auth-trust-list span {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.auth-card {
    padding: 42px 40px;
    background: #fff;
    border: 1px solid #e3e3e3;
}

.auth-card-heading {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.auth-kicker {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.auth-card-heading h1,
.auth-card-heading h2 {
    margin: 0 0 9px;
    color: #242424;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.25px;
}

.auth-card-heading p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.55;
}

.auth-form {
    width: 100%;
}

.auth-field {
    margin-bottom: 24px;
}

.auth-field label,
.auth-label-row label {
    display: block;
    margin: 0 0 8px;
    color: #2b2b2b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.auth-label-row label {
    margin: 0;
}

.auth-label-row a {
    color: #b3262d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.auth-label-row a:hover {
    color: #941d24;
    text-decoration: underline;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    display: block;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 2px;
    outline: none;
    color: #242424;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 54px;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-form input[type="text"]::placeholder,
.auth-form input[type="email"]::placeholder,
.auth-form input[type="password"]::placeholder,
.auth-form input[type="tel"]::placeholder {
    color: #858585;
    opacity: 1;
    font-size: 15px;
}

.auth-form input:hover {
    border-color: #bdbdbd;
}

.auth-form input:focus {
    border-color: #b3262d;
    box-shadow: 0 0 0 2px rgba(179,38,45,.08);
}

.auth-field.has-error input {
    border-color: #b74747;
}

.auth-field.has-error input:focus {
    border-color: #b74747;
    box-shadow: 0 0 0 2px rgba(183,71,71,.08);
}

.field-error {
    display: inline-block;
    max-width: 100%;
    margin-top: 8px;
    padding: 8px 11px;
    background: #b74747;
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.password-requirements-summary {
    display: block;
    margin-top: 7px;
    color: #666;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.auth-check {
    display: flex !important;
    align-items: center;
    gap: 7px;
    margin: 4px 0 24px !important;
    color: #666 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.auth-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #b3262d;
}

.auth-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 22px;
    background: #b3262d;
    border: 1px solid #b3262d;
    border-radius: 2px;
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.auth-primary:hover {
    background: #941d24;
    border-color: #941d24;
}

.auth-alert {
    margin-bottom: 22px;
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.4;
}

.auth-alert-error {
    background: #b74747;
    color: #fff;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 16px;
    color: #777;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}

.auth-divider span {
    white-space: nowrap;
}

.auth-secondary-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid #d5d5d5;
    border-radius: 2px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.auth-secondary-link:hover {
    border-color: #bdbdbd;
    background: #fafafa;
    color: #b3262d;
    text-decoration: none;
}



.auth-register-page .auth-card {
    border-right: 0;
}

.registration-form-fields {
    width: 100%;
}

.registration-form-row {
    display: grid !important;
    grid-template-columns: 210px minmax(0, 1fr) !important;
    column-gap: 28px !important;
    align-items: start !important;
    padding-bottom: 22px !important;
}

.registration-form-row > label {
    margin: 14px 0 0 !important;
}

.registration-input-wrap {
    min-width: 0;
}

.registration-password-heading {
    margin: 4px 0 22px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
    color: #242424;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.auth-register-page .auth-primary {
    margin-top: 4px;
}

.auth-benefits-card {
    padding: 42px 36px;
    background: #b3262d !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff;
}

.auth-benefits-card .auth-benefit-icon {
    margin-bottom: 26px;
}

.auth-benefits-card h2 {
    margin: 0 0 14px !important;
    color: #fff !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.auth-benefits-card > p {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 13px;
    line-height: 1.6;
}

.auth-benefits-card ul {
    display: grid;
    gap: 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.auth-benefits-card li {
    position: relative;
    padding-left: 20px;
}

.auth-benefits-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffe46b;
    font-weight: 700;
}

.auth-benefits-card li strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.auth-benefits-card li span {
    display: block;
    color: rgba(255,255,255,.82);
    font-size: 12px;
    line-height: 1.45;
}

.auth-existing {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.9);
    font-size: 13px;
}

.auth-existing a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.auth-existing a:hover {
    color: #ffe46b;
    text-decoration: underline;
}



.auth-page .iti,
.auth-shell .iti {
    width: 100%;
}

.auth-shell .iti input {
    width: 100%;
}

.auth-shell .iti__country-list {
    z-index: 1000;
    border: 1px solid #d5d5d5;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
}



@media (max-width: 900px) {
    .auth-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .auth-register-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-register-page .auth-benefits-card {
        margin-top: 20px;
    }

    .auth-register-page .auth-card {
        border-right: 1px solid #e3e3e3;
    }
}

@media (max-width: 700px) {
    .auth-shell {
        padding: 18px 0 40px;
    }

    .auth-shell .auth-container {
        width: calc(100% - 24px);
    }

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

    .auth-brand-panel {
        display: none;
    }

    .auth-card {
        padding: 30px 22px;
        border: 1px solid #e3e3e3 !important;
    }

    .auth-card-heading h1,
    .auth-card-heading h2 {
        font-size: 26px;
    }

    .registration-form-row {
        display: block !important;
        padding-bottom: 19px !important;
    }

    .registration-form-row > label {
        margin: 0 0 8px !important;
    }

    .registration-password-heading {
        margin-top: 2px;
        padding-top: 20px;
        margin-bottom: 19px;
    }

    .auth-benefits-card {
        padding: 32px 26px;
    }
}

@media (max-width: 480px) {
    .auth-shell .auth-container {
        width: calc(100% - 16px);
    }

    .auth-card {
        padding: 24px 17px;
    }

    .auth-card-heading {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .auth-card-heading h1,
    .auth-card-heading h2 {
        font-size: 23px;
    }

    .auth-card-heading p {
        font-size: 13px;
    }

    .auth-form input[type="text"],
    .auth-form input[type="email"],
    .auth-form input[type="password"],
    .auth-form input[type="tel"] {
        height: 50px;
        font-size: 14px;
        line-height: 50px;
    }

    .auth-form input::placeholder {
        font-size: 14px;
    }

    .auth-label-row {
        align-items: flex-start;
    }

    .auth-label-row a {
        font-size: 12px;
    }

    .password-requirements-summary {
        font-size: 12px;
    }

    .field-error {
        font-size: 12px;
    }
}




.hero-slider {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: #080b18;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .45s ease, transform .7s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.eyebrow {
    display: inline-block;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hero-slide h1 {
    max-width: 680px;
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.12;
    color: #fff;
}

.hero-slide p {
    max-width: 600px;
    font-size: 15px;
    margin: 0 0 20px;
    color: #f7f7f7;
}

.slider-control {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .25);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px;
}

.slider-control.prev {
    left: 22px;
}

.slider-control.next {
    right: 22px;
}

.slider-dots {
    position: absolute;
    z-index: 4;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    opacity: .5;
}

.slider-dots button.active {
    opacity: 1;
    background: var(--gold-light);
}


.auth-login-page {
    color: #2b2b2b;
}

.auth-login-page .auth-breadcrumb {
    color: #7a7a7a;
}

.auth-login-page .auth-breadcrumb a {
    color: #666;
}

.auth-login-page .auth-breadcrumb a:hover {
    color: var(--red);
}

.auth-login-page .auth-breadcrumb strong {
    color: var(--red-dark);
}

.auth-login-page .auth-brand-panel {
    color: #fff;
}

.auth-login-page .auth-brand-panel h1 {
    color: #fff;
}

.auth-login-page .auth-brand-copy {
    color: rgba(255, 255, 255, .88);
}

.auth-login-page .auth-eyebrow {
    color: #ffe46b;
}

.auth-login-page .auth-trust-list {
    color: rgba(255, 255, 255, .92);
}

.auth-login-page .auth-card-heading .auth-kicker {
    color: var(--red);
}

.auth-login-page .auth-card-heading h2 {
    color: #242424;
}

.auth-login-page .auth-card-heading p {
    color: #666;
}

.auth-login-page .auth-field > label,
.auth-login-page .auth-label-row label {
    color: #333;
    font-weight: 600;
}

.auth-login-page .auth-form input[type="text"],
.auth-login-page .auth-form input[type="email"],
.auth-login-page .auth-form input[type="password"],
.auth-login-page .auth-form input[type="tel"] {
    color: #222;
}

.auth-login-page .auth-form input::placeholder {
    color: #999;
    opacity: 1;
}

.auth-login-page .password-requirements-summary {
    color: #888;
}

.auth-login-page .auth-label-row a {
    color: var(--red);
    font-weight: 600;
}

.auth-login-page .auth-label-row a:hover {
    color: var(--red-dark);
    text-decoration: underline;
}

.auth-login-page .auth-check {
    color: #555;
}

.auth-login-page .field-error {
    color: #c62828;
}

.auth-login-page .auth-alert-error {
    color: #a3121b;
}

.auth-login-page .auth-primary {
    color: #fff;
}

.auth-login-page .auth-divider {
    color: #888;
}

.auth-login-page .auth-secondary {
    color: var(--red);
}

.auth-login-page .auth-secondary:hover {
    color: var(--red-dark);
}

.auth-login-page .auth-form input:focus {
    color: #222;
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(181, 18, 27, .10);
}

@media (max-width: 600px) {
    .hero-slider {
        height: 300px;
    }

    .hero-slide h1 {
        font-size: 28px;
    }

    .hero-slide p {
        font-size: 13px;
    }

    .slider-control {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .slider-control.prev {
        left: 10px;
    }

    .slider-control.next {
        right: 10px;
    }
}



.auth-login-page { background: linear-gradient(180deg, var(--cream), #fff); }
.auth-login-page .auth-container { max-width: 1120px; }
.auth-login-page .auth-layout { align-items: stretch; }
.auth-login-page .auth-brand-panel {
    background:
        radial-gradient(circle at 78% 24%, rgba(228,189,85,.24), transparent 24%),
        radial-gradient(circle at 18% 82%, rgba(181,18,27,.30), transparent 28%),
        linear-gradient(135deg, #050916, #101832 58%, #080b18);
    border: 1px solid rgba(201,154,46,.18);
    box-shadow: 0 24px 60px rgba(8,11,24,.14);
}
.auth-login-page .auth-card { border-color: var(--border); box-shadow: 0 24px 60px rgba(58,44,20,.10); }
.auth-password-wrap { position:relative; }
.auth-password-wrap input { padding-right:72px !important; }
.auth-password-toggle { position:absolute; right:8px; top:50%; transform:translateY(-50%); border:0; background:transparent; color:var(--red); font:inherit; font-size:11px; font-weight:800; cursor:pointer; padding:7px 8px; }
.auth-password-toggle:focus { outline:2px solid var(--gold-light); outline-offset:2px; border-radius:5px; }
.field-hint { display:block; margin-top:6px; color:var(--muted); font-size:10px; line-height:1.45; }
.auth-login-page .auth-primary.is-loading { opacity:.72; cursor:wait; }
.auth-divider-soft { margin-top:22px; }

.admin-shell { max-width:1280px; }
.admin-sidebar { position:sticky; top:18px; align-self:start; border:1px solid var(--border); border-radius:14px; }
.admin-main { min-width:0; }
.admin-head { margin-bottom:20px; padding:18px 20px; border:1px solid var(--border); border-radius:14px; background:#fff; box-shadow:0 12px 34px rgba(58,44,20,.06); }
.admin-head h1 { margin:3px 0 0; }
.admin-user-chip { background:var(--cream); border:1px solid var(--border); }
.admin-stat { border:1px solid var(--border); border-radius:14px; box-shadow:0 10px 30px rgba(58,44,20,.05); }
.admin-stat strong { color:var(--red-dark); }
.panel { border-radius:14px; box-shadow:0 10px 30px rgba(58,44,20,.05); }
.data-table th { color:var(--gold-dark); }

@media (max-width: 820px) {
    .auth-login-page .auth-layout { grid-template-columns:1fr; }
    .auth-login-page .auth-brand-panel { min-height:280px; }
    .admin-sidebar { position:relative; top:0; }
}
@media (max-width: 480px) {
}

.account-unique-id { display:flex; align-items:center; justify-content:space-between; gap:15px; margin:0 0 18px; padding:12px 14px; border:1px solid var(--border); border-radius:10px; background:var(--cream); }
.account-unique-id small { color:var(--muted); font-size:9px; font-weight:800; letter-spacing:1px; }
.account-unique-id strong { color:var(--red-dark); letter-spacing:.5px; }



.auth-login-page {
    min-height: calc(100vh - 190px);
    padding: 34px 0 64px;
    background: var(--cream);
}

.auth-login-page .auth-container {
    width: min(100% - 32px, 980px);
    max-width: 980px;
}

.auth-login-page .auth-breadcrumb {
    width: min(100%, 760px);
    margin: 0 auto 22px;
    color: var(--muted);
}

.auth-login-page .auth-breadcrumb a:hover {
    color: var(--red);
}

.auth-login-page .auth-layout {
    display: block;
}

.auth-login-page .auth-brand-panel {
    display: none;
}

.auth-login-page .auth-card {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 32px 34px 30px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(58, 44, 20, .09);
}

.auth-login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-login-brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 19px;
}

.auth-login-brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--red-dark);
    letter-spacing: .6px;
}

.auth-login-brand-name b {
    font-size: 16px;
}

.auth-login-brand-name small {
    margin-top: 3px;
    color: var(--gold-dark);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2.6px;
}

.auth-login-page .auth-card-heading {
    margin-bottom: 24px;
    text-align: center;
}

.auth-login-page .auth-card-heading .auth-kicker {
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.auth-login-page .auth-card-heading h1 {
    margin: 7px 0 8px;
    color: var(--text);
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.auth-login-page .auth-card-heading p {
    margin: 0 auto;
    max-width: 360px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.auth-login-page .auth-field {
    margin-bottom: 18px;
}

.auth-login-page .auth-field > label,
.auth-login-page .auth-label-row label {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.auth-login-page .auth-form input[type="text"],
.auth-login-page .auth-form input[type="email"],
.auth-login-page .auth-form input[type="password"],
.auth-login-page .auth-form input[type="tel"] {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid #d9d3c7;
    border-radius: 5px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-login-page .auth-form input::placeholder {
    color: #a19b91;
    opacity: 1;
}

.auth-login-page .auth-form input:hover {
    border-color: #c9c0b1;
}

.auth-login-page .auth-form input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(181, 18, 27, .10);
}

.auth-login-page .auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-login-page .auth-label-row a {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.auth-login-page .auth-label-row a:hover {
    color: var(--red-dark);
    text-decoration: underline;
}

.auth-login-page .auth-password-wrap {
    position: relative;
}

.auth-login-page .auth-password-wrap input {
    padding-right: 64px !important;
}

.auth-login-page .auth-password-toggle {
    position: absolute;
    right: 8px;
    top: calc(50% + 4px);
    transform: translateY(-50%);
    min-width: 44px;
    padding: 6px 7px;
    border: 0;
    background: transparent;
    color: var(--red);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.auth-login-page .auth-password-toggle:hover {
    color: var(--red-dark);
}

.auth-login-page .auth-password-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.auth-login-page .field-hint {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

.auth-login-page .auth-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 4px 0 22px;
}

.auth-login-page .auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #555;
    font-size: 12px;
    cursor: pointer;
}

.auth-login-page .auth-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--red);
}

.auth-secure-note {
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 700;
}

.auth-login-page .auth-primary {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--red-dark);
    border-radius: 5px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .15px;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.auth-login-page .auth-primary:hover {
    background: var(--red-dark);
    box-shadow: 0 6px 18px rgba(133, 11, 18, .18);
}

.auth-login-page .auth-primary:active {
    transform: translateY(1px);
}

.auth-login-page .auth-primary:disabled,
.auth-login-page .auth-primary.is-loading {
    opacity: .72;
    cursor: wait;
    box-shadow: none;
}

.auth-login-page .auth-divider-soft {
    margin: 24px 0 14px;
}

.auth-login-page .auth-secondary-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 12px 16px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    background: var(--cream);
    color: var(--red-dark);
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.auth-login-page .auth-secondary-link:hover {
    background: var(--cream-dark);
    border-color: var(--gold-dark);
    color: var(--red-dark);
}

.auth-login-page .auth-alert-error {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(181, 18, 27, .22);
    border-radius: 5px;
    background: #fff6f6;
    color: var(--red-dark);
    font-size: 12px;
    line-height: 1.45;
}

.auth-login-page .field-error {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 4px;
    background: #fff1f1;
    color: var(--red-dark);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.auth-login-page .auth-field.has-error input {
    border-color: var(--red);
}

@media (max-width: 600px) {
    .auth-login-page {
        padding: 22px 0 46px;
    }

    .auth-login-page .auth-container {
        width: min(100% - 24px, 430px);
    }

    .auth-login-page .auth-card {
        padding: 28px 20px 24px;
    }

    .auth-login-page .auth-card-heading h1 {
        font-size: 23px;
    }

    .auth-login-page .auth-login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-login-page .auth-secure-note {
        display: none;
    }
}


.auth-login-page {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 44px 16px 64px;
    background:
        radial-gradient(circle at 12% 18%, rgba(201, 154, 46, .10), transparent 24%),
        radial-gradient(circle at 88% 82%, rgba(181, 18, 27, .08), transparent 25%),
        var(--cream);
}

.auth-login-shell {
    width: 100%;
    max-width: 470px;
}

.auth-login-card {
    box-sizing: border-box;
    width: 100%;
    padding: 38px 42px 34px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(58, 44, 20, .10);
}

.auth-login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.auth-login-brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--red);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 5px 14px rgba(181, 18, 27, .16);
}

.auth-login-brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--red-dark);
    letter-spacing: .8px;
}

.auth-login-brand-name strong {
    font-size: 17px;
    font-weight: 900;
}

.auth-login-brand-name small {
    margin-top: 4px;
    color: var(--gold-dark);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 3px;
}

.auth-login-heading {
    margin-bottom: 28px;
    text-align: center;
}

.auth-login-heading h1 {
    margin: 0 0 7px;
    color: var(--text);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
    text-transform: none;
}

.auth-login-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.auth-login-field {
    margin-bottom: 19px;
}

.auth-login-field label,
.auth-login-label-row label {
    display: block;
    margin: 0 0 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.auth-login-field label span,
.auth-login-label-row label span {
    color: var(--red);
}

.auth-login-form input[type="text"],
.auth-login-form input[type="email"],
.auth-login-form input[type="password"] {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-login-form input::placeholder {
    color: #aaa;
    opacity: 1;
}

.auth-login-form input:hover {
    border-color: var(--gold);
}

.auth-login-form input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(181, 18, 27, .10);
}

.auth-login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-login-label-row label {
    margin-bottom: 8px;
}

.auth-login-label-row a {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.auth-login-label-row a:hover {
    color: var(--red-dark);
    text-decoration: underline;
}

.auth-login-password {
    position: relative;
}

.auth-login-password input {
    padding-right: 65px !important;
}

.auth-login-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    padding: 6px 7px;
    border: 0;
    background: transparent;
    color: var(--red);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.auth-login-password-toggle:hover {
    color: var(--red-dark);
}

.auth-login-password-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.auth-login-options {
    margin: 2px 0 22px;
}

.auth-login-options label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
}

.auth-login-options input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--red);
}

.auth-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 1px solid var(--red-dark);
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.auth-login-button span {
    font-size: 19px;
    line-height: 1;
}

.auth-login-button:hover {
    background: var(--red-dark);
    box-shadow: 0 7px 18px rgba(133, 11, 18, .18);
}

.auth-login-button:active {
    transform: translateY(1px);
}

.auth-login-button:focus-visible {
    outline: 3px solid rgba(201, 154, 46, .30);
    outline-offset: 2px;
}

.auth-login-button.is-loading,
.auth-login-button:disabled {
    opacity: .72;
    cursor: wait;
    box-shadow: none;
}

.auth-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 15px;
    color: var(--muted);
    font-size: 11px;
}

.auth-login-divider::before,
.auth-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-login-divider span {
    white-space: nowrap;
}

.auth-login-register {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 16px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    background: var(--cream);
    color: var(--red-dark);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.auth-login-register:hover {
    background: var(--cream-dark);
    border-color: var(--gold-dark);
}

.auth-login-alert {
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid rgba(181, 18, 27, .22);
    border-radius: 7px;
    background: #fff5f5;
    color: var(--red-dark);
    font-size: 12px;
    line-height: 1.45;
}

.auth-login-error {
    display: block;
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 5px;
    background: #fff3f3;
    color: var(--red-dark);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.auth-login-field.is-error input {
    border-color: var(--red);
}

@media (max-width: 520px) {
    .auth-login-page {
        min-height: calc(100vh - 110px);
        padding: 28px 12px 42px;
    }

    .auth-login-card {
        padding: 30px 22px 26px;
        border-radius: 12px;
    }

    .auth-login-heading h1 {
        font-size: 25px;
    }
}



.auth-login-page {
    min-height: calc(100vh - 110px);
    padding: 50px 18px 64px;
    background: var(--cream);
}

.auth-login-shell {
    max-width: 520px;
}

.auth-login-card {
    padding: 42px 52px 38px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(58, 44, 20, .08);
}

.auth-login-brand {
    margin-bottom: 27px;
}

.auth-login-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--red);
    box-shadow: 0 6px 16px rgba(181, 18, 27, .14);
}

.auth-login-heading {
    margin-bottom: 30px;
}

.auth-login-heading h1 {
    font-size: 30px;
    letter-spacing: -.025em;
}

.auth-login-heading p {
    font-size: 14px;
}

.auth-login-field {
    margin-bottom: 21px;
}

.auth-login-field label,
.auth-login-label-row label {
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 700;
}

.auth-login-form input[type="text"],
.auth-login-form input[type="email"],
.auth-login-form input[type="password"] {
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 9px;
    border-color: var(--border);
    font-size: 15px;
}

.auth-login-form input::placeholder {
    color: #9a9a9a;
}

.auth-login-form input:hover {
    border-color: var(--gold);
}

.auth-login-form input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(181, 18, 27, .08);
}


.auth-login-password-requirements {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.auth-login-password-toggle {
    right: 12px;
    color: var(--red);
    font-size: 12px;
}

.auth-login-options {
    margin: 1px 0 24px;
}

.auth-login-options label {
    color: var(--muted);
    font-size: 13px;
}

.auth-login-button {
    min-height: 54px;
    border-radius: 9px;
    background: var(--red);
    border-color: var(--red-dark);
    font-size: 15px;
}

.auth-login-button:hover {
    background: var(--red-dark);
}

.auth-login-divider {
    margin: 28px 0 16px;
    font-size: 12px;
}

.auth-login-register {
    min-height: 50px;
    border-radius: 9px;
    background: var(--cream);
    border-color: var(--gold);
    color: var(--red-dark);
    font-size: 13px;
}

.auth-login-register:hover {
    background: var(--cream-dark);
    border-color: var(--gold-dark);
}

@media (max-width: 560px) {
    .auth-login-page {
        padding: 30px 12px 44px;
    }

    .auth-login-card {
        padding: 32px 22px 28px;
        border-radius: 13px;
    }

    .auth-login-heading h1 {
        font-size: 27px;
    }
}



.auth-page-body {
    background: var(--cream);
}
.auth-page-body .topbar,
.auth-page-body .header,
.auth-page-body .footer {
    display: none;
}
.auth-page-body main {
    min-height: 100vh;
}

.rc-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(201,154,46,.12), transparent 24%),
        radial-gradient(circle at 92% 82%, rgba(181,18,27,.08), transparent 25%),
        linear-gradient(135deg, var(--cream), #fff 48%, var(--cream-dark));
}
.rc-auth-page::before,
.rc-auth-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(4px);
}
.rc-auth-page::before {
    width: 330px;
    height: 330px;
    left: -180px;
    bottom: -120px;
    background: rgba(201,154,46,.10);
}
.rc-auth-page::after {
    width: 280px;
    height: 280px;
    right: -140px;
    top: -90px;
    background: rgba(181,18,27,.07);
}

.rc-auth-card {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    padding: 42px 50px 38px;
    box-sizing: border-box;
    background: rgba(255,255,255,.97);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(50,40,20,.10);
}
.rc-register-card {
    width: min(100%, 720px);
}

.rc-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 30px;
}
.rc-brand-mark {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    font-size: 25px;
    box-shadow: 0 8px 18px rgba(181,18,27,.18);
}
.rc-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-align: left;
}
.rc-brand-text strong {
    color: var(--red-dark);
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 1px;
}
.rc-brand-text small {
    margin-top: 5px;
    color: var(--gold-dark);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 4px;
}

.rc-auth-heading {
    margin-bottom: 30px;
    text-align: center;
}
.rc-auth-heading h1 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.7px;
}
.rc-auth-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.rc-auth-form {
    margin: 0;
}
.rc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
    margin-bottom: 24px;
}
.rc-field {
    margin: 0;
}
.rc-field label,
.rc-label-row label {
    display: block;
    margin: 0 0 9px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}
.rc-field label span,
.rc-label-row label span {
    color: var(--red);
}
.rc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.rc-label-row a {
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.rc-label-row a:hover {
    color: var(--red-dark);
    text-decoration: underline;
}
.rc-field input {
    width: 100%;
    min-height: 54px;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.rc-field input::placeholder {
    color: #9a9a9a;
}
.rc-field input:hover {
    border-color: var(--gold);
}
.rc-field input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(181,18,27,.09);
}
.rc-password-wrap {
    position: relative;
}
.rc-password-wrap input {
    padding-right: 70px;
}
.rc-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.rc-password-toggle:hover {
    color: var(--red-dark);
}
.rc-password-rule {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}
.rc-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
}
.rc-remember input {
    width: 19px;
    height: 19px;
    margin: 0;
    accent-color: var(--red);
}
.rc-primary-button,
.rc-secondary-button {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.rc-primary-button {
    border: 1px solid var(--red-dark);
    background: var(--red);
    color: #fff;
    box-shadow: 0 7px 16px rgba(181,18,27,.13);
}
.rc-primary-button:hover {
    background: var(--red-dark);
}
.rc-primary-button:disabled,
.rc-primary-button.is-loading {
    opacity: .72;
    cursor: wait;
}
.rc-primary-button span {
    margin-left: 10px;
    font-size: 19px;
}
.rc-secondary-button {
    border: 1px solid var(--gold);
    background: var(--cream);
    color: var(--red-dark);
}
.rc-secondary-button:hover {
    background: var(--cream-dark);
    border-color: var(--gold-dark);
}
.rc-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 15px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}
.rc-divider::before,
.rc-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--border);
}
.rc-divider span {
    white-space: nowrap;
}
.rc-auth-alert,
.rc-field-error {
    display: block;
    color: var(--red-dark);
    font-size: 12px;
    line-height: 1.45;
}
.rc-auth-alert {
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid rgba(181,18,27,.18);
    border-radius: 8px;
    background: rgba(181,18,27,.06);
}
.rc-field-error {
    margin-top: 7px;
    font-weight: 700;
}
.rc-field.is-error input {
    border-color: var(--red);
}

@media (max-width: 700px) {
    .rc-register-card {
        width: min(100%, 520px);
    }
    .rc-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
@media (max-width: 560px) {
    .rc-auth-page {
        padding: 24px 12px;
    }
    .rc-auth-card {
        padding: 32px 22px 28px;
        border-radius: 16px;
    }
    .rc-auth-heading h1 {
        font-size: 27px;
    }
    .rc-brand-mark {
        width: 46px;
        height: 46px;
    }
}





.rc-field-error {
    margin: 7px 0 0;
    color: var(--red-dark);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}
.rc-field.has-error input,
.rc-field.is-error input {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(181, 18, 27, .07);
}


.admin-page-body {
    margin: 0;
    background: var(--cream);
}
.admin-page-body .topbar,
.admin-page-body .header,
.admin-page-body .footer {
    display: none;
}
.admin-page-body main {
    min-height: 100vh;
}
.admin-page-body .messages {
    max-width: 1280px;
    margin: 0 auto 14px;
    padding: 0 22px;
}

.admin-page-body .admin-shell {
    width: min(1440px, calc(100% - 40px));
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 0 40px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
}
.admin-page-body .admin-sidebar {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 18px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(50, 40, 20, .07);
}
.admin-page-body .admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.admin-page-body .admin-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 7px 16px rgba(181, 18, 27, .16);
}
.admin-page-body .admin-brand strong {
    display: block;
    color: var(--red-dark);
    font-size: 14px;
    font-weight: 900;
}
.admin-page-body .admin-brand small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}
.admin-page-body .admin-nav-label,
.admin-page-body .admin-section-title {
    margin: 17px 8px 7px;
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}
.admin-page-body .admin-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 11px;
    margin: 3px 0;
    border-radius: 10px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background .15s ease, color .15s ease;
}
.admin-page-body .admin-link:hover {
    background: var(--cream);
    color: var(--red-dark);
}
.admin-page-body .admin-link.active {
    background: var(--red);
    color: #fff;
    box-shadow: 0 6px 14px rgba(181, 18, 27, .13);
}
.admin-page-body .admin-link .nav-count {
    margin-left: auto;
    min-width: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    text-align: center;
    font-size: 10px;
}
.admin-page-body .admin-link.active .nav-count {
    background: #fff;
    color: var(--red-dark);
}
.admin-page-body .logout-admin {
    margin-top: 18px;
    border-top: 1px solid var(--border);
    border-radius: 0;
    padding-top: 12px;
}

.admin-page-body .admin-main {
    min-width: 0;
}
.admin-page-body .admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(50, 40, 20, .06);
}
.admin-page-body .admin-head .eyebrow {
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}
.admin-page-body .admin-head h1 {
    margin: 4px 0 0;
    color: var(--red-dark);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
}
.admin-page-body .admin-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-page-body .admin-user-chip {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--cream);
    color: var(--red-dark);
    font-size: 12px;
    font-weight: 800;
}


.admin-page-body .dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, var(--cream));
    box-shadow: 0 12px 34px rgba(50, 40, 20, .06);
}
.admin-page-body .dashboard-hero h2 {
    margin: 5px 0 7px;
    color: var(--text);
    font-size: 24px;
    line-height: 1.2;
}
.admin-page-body .dashboard-hero p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}
.admin-page-body .dashboard-hero-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}
.admin-page-body .admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.admin-page-body .admin-stat {
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 10px 28px rgba(50, 40, 20, .05);
}
.admin-page-body .admin-stat small {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
.admin-page-body .admin-stat strong {
    display: block;
    color: var(--red-dark);
    font-size: 25px;
    line-height: 1.1;
}
.admin-page-body .admin-stat span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
}
.admin-page-body .admin-stat.accent {
    border-top: 3px solid var(--gold);
}
.admin-page-body .panel {
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(50, 40, 20, .05);
}
.admin-page-body .panel-head {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}
.admin-page-body .panel-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 17px;
}
.admin-page-body .panel-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.admin-page-body .panel-head > a {
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}
.admin-page-body .panel-head > a:hover {
    color: var(--red-dark);
}
.admin-page-body .table-wrap {
    overflow-x: auto;
}
.admin-page-body .data-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-page-body .data-table th {
    background: var(--cream);
    color: var(--gold-dark);
    font-size: 10px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.admin-page-body .data-table th,
.admin-page-body .data-table td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}
.admin-page-body .data-table td {
    color: #555;
    font-size: 12px;
}
.admin-page-body .table-link {
    color: var(--red-dark);
    font-weight: 800;
    text-decoration: none;
}
.admin-page-body .table-link:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .admin-page-body .admin-shell {
        grid-template-columns: 210px minmax(0, 1fr);
        width: min(100% - 28px, 1400px);
        gap: 16px;
    }
    .admin-page-body .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 780px) {
    .admin-page-body .admin-shell {
        grid-template-columns: 1fr;
        width: min(100% - 24px, 720px);
        padding-top: 14px;
    }
    .admin-page-body .admin-sidebar {
        position: static;
        max-height: none;
    }
    .admin-page-body .admin-nav-label,
    .admin-page-body .admin-section-title {
        margin-top: 12px;
    }
    .admin-page-body .dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }
    .admin-page-body .dashboard-hero-actions {
        width: 100%;
    }
    .admin-page-body .dashboard-hero-actions .btn {
        flex: 1;
    }
}
@media (max-width: 520px) {
    .admin-page-body .admin-shell {
        width: min(100% - 16px, 520px);
    }
    .admin-page-body .admin-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }
    .admin-page-body .admin-head-actions,
    .admin-page-body .admin-head-actions .btn {
        width: 100%;
    }
    .admin-page-body .admin-stats {
        grid-template-columns: 1fr;
    }
    .admin-page-body .dashboard-hero {
        padding: 18px;
    }
    .admin-page-body .dashboard-hero-actions {
        flex-direction: column;
    }
}



.rc-auth-page .rc-field-error,
.rc-auth-page .field-error {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 7px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--red-dark);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.rc-auth-page .rc-field.is-error input,
.rc-auth-page .rc-field.has-error input {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(181, 18, 27, .07);
}

.rc-auth-page .rc-field input[aria-invalid="true"] {
    border-color: var(--red);
}

.rc-auth-page .rc-password-rule {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
}

.rc-auth-page .rc-field-error + .rc-password-rule {
    margin-top: 7px;
}

@media (max-width: 700px) {
    .rc-auth-page .rc-register-card {
        width: min(100%, 560px);
    }
}

.quickshop-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px}
.quickshop-heading h1{margin:0 0 6px;color:var(--red-dark);font-size:30px}
.quickshop-heading p{margin:0;color:#666}
.quickshop-filter{display:flex;align-items:center;gap:10px}
.quickshop-filter label{font-weight:700;color:#333}
.quickshop-filter select{min-width:210px;padding:10px 12px;border:1px solid #d9c9a6;border-radius:6px;background:#fff;font:inherit}
.qs-product-name small{display:block;color:#777;margin-top:4px}
.qs-stock{display:block;color:#2f7d32;font-size:12px;margin-top:4px;font-weight:600}
.qs-stock-out{color:#b00020}
.qs-unavailable{font-size:13px;color:#999;font-weight:700}
.qs-out-of-stock{opacity:.7}
@media (max-width:700px){.quickshop-heading{align-items:stretch;flex-direction:column}.quickshop-filter{justify-content:space-between}.quickshop-filter select{flex:1;min-width:0}}

.auth-page-body {
    background: #fffdf9;
}

.auth-page-body .topbar,
.auth-page-body .header,
.auth-page-body .footer {
    display: none;
}

.auth-page-body main {
    min-height: 100vh;
}

.rc-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 14%, rgba(201,154,46,.10), transparent 24%),
        radial-gradient(circle at 92% 86%, rgba(181,18,27,.07), transparent 25%),
        #fffdf9;
}

.rc-auth-page::before,
.rc-auth-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.rc-auth-page::before {
    width: 250px;
    height: 250px;
    left: -145px;
    bottom: -115px;
    background: rgba(201,154,46,.08);
}

.rc-auth-page::after {
    width: 220px;
    height: 220px;
    right: -120px;
    top: -100px;
    background: rgba(181,18,27,.06);
}

.rc-auth-card {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 30px 38px 28px;
    background: #fff;
    border: 1px solid #e5ded1;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(50,40,20,.08);
}

.rc-register-card {
    width: min(100%, 760px);
}

.rc-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.rc-brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #c41220;
    color: #fff;
    font-size: 21px;
    box-shadow: 0 6px 14px rgba(196,18,32,.16);
}

.rc-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.rc-brand-text strong {
    color: #9f0d18;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: .8px;
}

.rc-brand-text small {
    margin-top: 4px;
    color: #a77a14;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 3px;
}

.rc-auth-heading {
    margin-bottom: 18px;
    text-align: center;
}

.rc-auth-heading h1 {
    margin: 0 0 6px;
    color: #171717;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.4px;
}

.rc-auth-heading p {
    margin: 0;
    color: #707070;
    font-size: 13px;
    line-height: 1.4;
}

.rc-auth-form {
    margin: 0;
}

.rc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    margin-bottom: 18px;
}

.rc-field {
    margin: 0;
}

.rc-field label,
.rc-label-row label {
    display: block;
    margin: 0 0 6px;
    color: #242424;
    font-size: 13px;
    font-weight: 700;
}

.rc-field label span,
.rc-label-row label span {
    color: #c41220;
}

.rc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rc-label-row a {
    color: #c41220;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.rc-field input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #dcd5c9;
    border-radius: 7px;
    background: #fff;
    color: #171717;
    font-size: 14px;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.rc-field input::placeholder {
    color: #999;
}

.rc-field input:focus {
    border-color: #c41220;
    box-shadow: 0 0 0 3px rgba(196,18,32,.07);
}

.rc-password-wrap {
    position: relative;
}

.rc-password-wrap input {
    padding-right: 62px;
}

.rc-password-toggle {
    position: absolute;
    top: 50%;
    right: 11px;
    transform: translateY(-50%);
    border: 0;
    padding: 3px;
    background: transparent;
    color: #c41220;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.rc-password-rule {
    display: none;
}

.rc-field-error {
    display: block;
    margin-top: 5px;
    padding: 0;
    color: #b42318;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
}

.rc-field.is-error input,
.rc-field.has-error input {
    border-color: #c41220;
}

.rc-auth-alert {
    margin-bottom: 13px;
    padding: 9px 11px;
    border: 1px solid rgba(196,18,32,.15);
    border-radius: 7px;
    background: #fff4f3;
    color: #a20f19;
    font-size: 12px;
}

.rc-primary-button,
.rc-secondary-button {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.rc-primary-button {
    border: 1px solid #9f0d18;
    background: #c41220;
    color: #fff;
    box-shadow: 0 6px 14px rgba(196,18,32,.12);
}

.rc-primary-button:hover {
    background: #9f0d18;
}

.rc-primary-button span {
    margin-left: 8px;
    font-size: 17px;
}

.rc-secondary-button {
    border: 1px solid #d6a32a;
    background: #fffaf0;
    color: #9f0d18;
}

.rc-secondary-button:hover {
    background: #fff5dc;
}

.rc-divider {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 18px 0 11px;
    color: #777;
    font-size: 11px;
    text-align: center;
}

.rc-divider::before,
.rc-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e5ded1;
}

.rc-divider span {
    white-space: nowrap;
}

@media (max-width: 700px) {
    .rc-register-card {
        width: min(100%, 540px);
    }

    .rc-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .rc-auth-page {
        padding: 14px 10px;
    }

    .rc-auth-card,
    .rc-register-card {
        padding: 25px 20px 23px;
        border-radius: 13px;
    }

    .rc-auth-heading h1 {
        font-size: 25px;
    }
}


/* Final checkout, admin CRUD and error-state refinements */
.form-global-error,
.form-error,
.field-error,
.checkout-field .field-error,
.rc-field-error {
    color: #8f1019;
    background: #fff1f0;
    border: 1px solid #e7aaa7;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.form-global-error {
    margin: 0 0 16px;
    padding: 11px 13px;
}

.form-error,
.checkout-field .field-error {
    display: block;
    margin-top: 7px;
    padding: 7px 9px;
}

.checkout-field.has-error > label,
.rc-field.is-error > label {
    color: #9f0d18;
}

.checkout-field.has-error input,
.checkout-field.has-error textarea,
.checkout-field.has-error select,
.rc-field.is-error input,
.rc-field.is-error select,
.rc-field.is-error textarea {
    border-color: #c41220 !important;
    box-shadow: 0 0 0 3px rgba(196,18,32,.08) !important;
}

.inline-form {
    display: inline-flex;
    margin-left: 6px;
}

.link-button.danger-text {
    color: #b42318;
}

.link-button.danger-text:hover {
    color: #8f1019;
    text-decoration: underline;
}

.account-actions-card {
    align-self: start;
}

.account-logout-button {
    margin-top: 10px;
    border-color: #c41220 !important;
    color: #b42318 !important;
}

.account-logout-button:hover {
    background: #fff1f0 !important;
    color: #8f1019 !important;
}

.admin-main .btn-danger,
.admin-main .danger-action {
    border: 1px solid #c41220;
    color: #b42318;
    background: #fff4f3;
}

.admin-main .btn-danger:hover,
.admin-main .danger-action:hover {
    background: #ffe8e6;
}

@media (max-width: 700px) {
    .form-global-error,
    .form-error,
    .checkout-field .field-error,
    .rc-field-error {
        font-size: 11px;
    }
}


/* Final admin user-management actions */
.admin-toolbar-actions { display:flex; align-items:center; gap:10px; }
.table-actions { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.table-actions form { margin:0; }
.btn-disabled {
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
    background: #fff;
    color: var(--red);
    border-color: var(--gold);
    box-shadow: none;
}

.btn-disabled:hover {
    background: #fff;
    color: var(--red);
    border-color: var(--gold);
}
@media (max-width: 760px) { .admin-toolbar-actions { width:100%; } .admin-toolbar-actions .btn { width:100%; } .table-actions { min-width:170px; } }


/* Final Rainbow Admin user-management polish */
.admin-logout-form { margin: 0; }
.admin-logout-button { width: 100%; border: 0; text-align: left; font: inherit; cursor: pointer; background: transparent; }
.admin-logout-button:hover { background: #fff4e4; color: var(--red-dark); }
.admin-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.admin-toolbar-actions .result-count { margin-right: 4px; }
.admin-customer-add-panel { max-width: 900px; }
.admin-customer-add-form { margin-top: 6px; }
.admin-customer-add-form .admin-field { margin-bottom: 16px; }
.admin-customer-add-form .admin-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; color: #343434; }
.admin-customer-add-form .admin-field input,
.admin-customer-add-form .admin-field select,
.admin-customer-add-form .admin-field textarea { width: 100%; min-height: 44px; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; font-size: 13px; outline: none; }
.admin-customer-add-form .admin-field input:focus,
.admin-customer-add-form .admin-field select:focus,
.admin-customer-add-form .admin-field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,18,32,.07); }
.admin-form-section-title { margin: 8px 0 12px; padding: 12px 0 8px; border-bottom: 1px solid #e7e0d6; color: #242424; font-size: 16px; font-weight: 800; }
.admin-password-helper { max-width: 100%; }
.customer-detail-panel { max-width: 100%; }
.customer-detail-head { align-items: center; }
.customer-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 8px; border-top: 1px solid #eee6d8; }
.customer-detail-item { display: flex; flex-direction: column; gap: 5px; padding: 15px 4px; border-bottom: 1px solid #eee6d8; }
.customer-detail-item span { color: #8a8175; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.customer-detail-item strong { color: #252525; font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .admin-toolbar-actions { width: 100%; justify-content: stretch; }
  .admin-toolbar-actions .btn { flex: 1 1 180px; }
  .customer-detail-grid { grid-template-columns: 1fr; }
  .customer-detail-head { align-items: flex-start; }
  .customer-detail-head .btn { width: 100%; margin-top: 10px; }
}

/* Admin account management actions */
.table-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-customer-add-panel .panel-head,
.form-panel .panel-head {
  margin-bottom: 22px;
}

.admin-form-section-title {
  margin: 22px 0 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eadfd5;
  color: #8f1b24;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.admin-customer-add-form .admin-field input,
.admin-customer-add-form .admin-field select,
.admin-customer-add-form .admin-field textarea {
  border-radius: 8px;
}

@media (max-width: 700px) {
  .table-actions { align-items: stretch; flex-direction: column; }
  .table-actions .btn,
  .table-actions form { width: 100%; }
}


/* Final user-management role split */
.user-management-panel { overflow: hidden; }
.user-management-panel .panel-head { align-items: center; }
.user-management-panel .panel-head > div:first-child { min-width: 0; }
.management-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; margin-left: 7px; border-radius: 999px; background: #fff4df; color: #9b6000; font-size: 12px; vertical-align: middle; }
.role-management-table { min-width: 1040px; }
.role-management-table th:last-child, .role-management-table td:last-child { min-width: 190px; }
.role-actions { flex-wrap: wrap; align-items: center; gap: 6px; }
.role-actions form { margin: 0; }
.role-status-copy { margin-top: 3px; }
.staff-management-section { margin-top: 18px; }
.staff-permission-note { padding: 9px 12px; border: 1px dashed var(--border); border-radius: 8px; }
@media (max-width: 900px) {
  .user-management-panel .panel-head { align-items: flex-start; flex-direction: column; }
  .user-management-panel .panel-head .btn { width: 100%; justify-content: center; }
  .staff-permission-note { width: 100%; box-sizing: border-box; }
}


/* Final user-management controls */
.hero-actions { display:flex; align-items:center; justify-content:flex-end; }
.module-note { margin:16px 0 28px; padding:13px 16px; border:1px solid #eadfce; border-radius:10px; background:#fffaf4; color:#756d64; font-size:12px; line-height:1.55; }
.module-note strong { color:#302a25; }
.module-note a { color:#a3131b; font-weight:800; text-decoration:none; margin-left:4px; }
.module-note a:hover { text-decoration:underline; }
.customer-management-table { min-width:1240px; }
.customer-management-table th:last-child, .customer-management-table td:last-child { min-width:220px; }
.customer-management-table .role-actions { flex-wrap:nowrap; }

/* Customer order tracking timeline */
.tracking-last-updated {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.tracking-refresh-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

.tracking-refresh-button {
    min-height: 32px;
    padding: 0 11px;
    font-size: 9px;
}

.tracking-refresh-button:disabled {
    cursor: wait;
    opacity: .6;
}

.tracking-timeline-card {
    margin-bottom: 18px;
}

.tracking-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tracking-event {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    min-height: 78px;
}

.tracking-event:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 0;
    left: 8px;
    width: 2px;
    background: var(--border);
}

.tracking-event-dot {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
}

.tracking-event.is-current .tracking-event-dot {
    background: var(--red);
    box-shadow: 0 0 0 1px var(--red), 0 0 0 5px rgba(181, 18, 27, .08);
}

.tracking-event-body {
    padding: 0 0 22px;
}

.tracking-event-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
}

.tracking-event-heading strong {
    color: var(--red-dark);
    font-size: 14px;
}

.tracking-event-heading time {
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
}

.tracking-event-body p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .tracking-refresh-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .tracking-refresh-button {
        width: 100%;
    }

    .tracking-event-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
}

.tracking-mini-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.tracking-mini-event {
    position: relative;
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 13px;
}

.tracking-mini-event:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 13px;
    bottom: 0;
    left: 6px;
    width: 2px;
    background: var(--border);
}

.tracking-mini-dot {
    position: relative;
    z-index: 1;
    width: 12px;
    height: 12px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--gold);
}

.tracking-mini-event.is-current .tracking-mini-dot {
    background: var(--red);
}

.tracking-mini-event strong,
.tracking-mini-event small,
.tracking-mini-event p {
    display: block;
}

.tracking-mini-event strong {
    color: var(--red-dark);
    font-size: 11px;
}

.tracking-mini-event small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
}

.tracking-mini-event p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.admin-tracking-history {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.admin-tracking-history > strong {
    display: block;
    margin-bottom: 12px;
    color: var(--red-dark);
    font-size: 12px;
}

.admin-history-row {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 9px;
    padding-bottom: 11px;
}

.admin-history-dot {
    width: 9px;
    height: 9px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--gold);
}

.admin-history-row > div > strong,
.admin-history-row > div > small,
.admin-history-row > div > p {
    display: block;
}

.admin-history-row > div > strong {
    color: var(--text);
    font-size: 11px;
}

.admin-history-row > div > small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
}

.admin-history-row > div > p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

/* Clean e-commerce payment confirmation and order tracking */
.payment-page-clean .payment-card {
    padding: 28px;
}

.payment-page-clean .payment-card-heading {
    margin-bottom: 22px;
}

.payment-page-clean .payment-subtitle {
    max-width: 620px;
}

.payment-actions-clean {
    align-items: center;
    margin-top: 22px;
}

.payment-actions-clean .btn {
    min-width: 150px;
}

.demo-test-controls {
    margin-top: 14px;
    color: var(--muted);
    font-size: 11px;
}

.demo-test-controls summary {
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: 700;
}

.payment-success-clean {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.payment-success-clean .payment-success-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px 44px;
}

.confirmation-order-number {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin: 20px auto 22px;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fffaf0;
}

.confirmation-order-number span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.confirmation-order-number strong {
    color: var(--red-dark);
    font-size: 17px;
    letter-spacing: .04em;
}

.payment-result-grid-compact {
    max-width: 620px;
    margin: 0 auto 18px;
}

.success-next-step {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 620px;
    margin: 0 auto 22px;
    padding: 13px 15px;
    border-radius: 9px;
    background: #f8f6f0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    text-align: left;
}

.success-next-step strong {
    color: var(--text);
    font-size: 12px;
}

.payment-success-actions {
    justify-content: center;
    flex-wrap: wrap;
}

.tracking-page-clean .tracking-page-header {
    margin-bottom: 18px;
}

.tracking-hero-clean {
    padding: 28px;
}

.tracking-hero-clean .tracking-hero-top {
    margin-bottom: 22px;
}

.tracking-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 18px;
}

.tracking-order-summary-card h3 {
    margin: 6px 0 18px;
    color: var(--red-dark);
    font-size: 18px;
}

.tracking-order-items {
    display: flex;
    flex-direction: column;
}

.tracking-order-items > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

.tracking-order-items strong,
.tracking-total strong {
    color: var(--text);
}

.tracking-total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.tracking-delivery-summary {
    margin-top: 10px;
}

.tracking-page-clean .tracking-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 800px) {
    .tracking-content-grid {
        grid-template-columns: 1fr;
    }

    .payment-success-clean .payment-success-card {
        padding: 32px 22px;
    }
}

@media (max-width: 600px) {
    .payment-page-clean .payment-card,
    .tracking-hero-clean {
        padding: 20px;
    }

    .payment-actions-clean,
    .tracking-page-clean .tracking-footer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .payment-actions-clean .btn,
    .tracking-page-clean .tracking-footer-actions .btn {
        width: 100%;
    }

    .payment-success-actions {
        align-items: stretch;
    }

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

/* Final e-commerce cleanup: keep confirmation and tracking actions minimal. */
.payment-success-clean .payment-success-card {
    max-width: 700px;
    padding: 36px 40px;
}
.payment-success-clean .payment-result-grid-compact {
    margin-bottom: 22px;
}
.payment-success-actions {
    margin-top: 6px;
}
@media (max-width: 600px) {
    .payment-success-clean .payment-success-card {
        padding: 30px 20px;
    }
}

/* Minimal order tracking: one status card + one compact order information card. */
.tracking-page-simple .tracking-page-header-simple {
    margin-bottom: 18px;
}

.tracking-simple-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 26px 28px 24px;
    box-shadow: 0 6px 20px rgba(36, 36, 36, .04);
}

.tracking-status-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.tracking-status-row h2 {
    margin: 5px 0 4px;
    color: var(--red-dark);
    font-size: 23px;
}

.tracking-status-row p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.tracking-progress-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 30px;
    position: relative;
}

.tracking-progress-simple::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: #e8e2d7;
}

.tracking-progress-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.tracking-progress-dot {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 2px solid #c9c3b8;
    border-radius: 50%;
    background: #fff;
    color: #999;
    font-size: 11px;
}

.tracking-progress-step.is-done {
    color: var(--red-dark);
}

.tracking-progress-step.is-done .tracking-progress-dot {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.tracking-progress-step.is-current span:last-child {
    font-weight: 800;
}

.tracking-cancelled-simple {
    margin-top: 24px;
}

.tracking-info-card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, .8fr);
    gap: 30px;
    margin-top: 16px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

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

.tracking-item-row,
.tracking-total-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.tracking-total-row {
    padding-top: 12px;
    border-bottom: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.tracking-info-column strong {
    color: var(--text);
    font-size: 13px;
}

.tracking-delivery-column {
    padding-left: 24px;
    border-left: 1px solid var(--border);
}

@media (max-width: 700px) {
    .tracking-status-row {
        flex-direction: column;
    }

    .tracking-progress-simple {
        gap: 4px;
    }

    .tracking-progress-step {
        font-size: 10px;
    }

    .tracking-info-card {
        grid-template-columns: 1fr;
    }

    .tracking-delivery-column {
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid var(--border);
    }
}


/* Final standard e-commerce order experience */
.orders-page-clean { max-width: 1180px; }
.orders-heading-clean { margin-bottom: 24px; }
.orders-heading-clean h1 { margin: 4px 0 6px; color: #850b12; }
.orders-heading-clean p:last-child { margin: 0; color: #6d6d6d; }
.orders-card-list { display: grid; gap: 14px; }
.customer-order-card { background:#fff; border:1px solid #eadfce; border-radius:14px; padding:16px 18px; box-shadow:0 4px 16px rgba(90,50,10,.05); }
.customer-order-main { display:grid; grid-template-columns:72px minmax(220px,1fr) 120px 150px; align-items:center; gap:18px; }
.customer-order-product img,.order-image-placeholder { width:72px;height:72px;border-radius:10px;object-fit:cover;background:#fff8e8;border:1px solid #eadfce;display:flex;align-items:center;justify-content:center;color:#b5121b;font-weight:800; }
.customer-order-top { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.customer-order-info p { margin:6px 0 2px;color:#6d6d6d;font-size:.92rem; }
.customer-order-item-count { color:#888;font-size:.85rem; }
.customer-order-total { display:flex;flex-direction:column;gap:4px; }
.customer-order-total span { color:#777;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em; }
.customer-order-total strong { color:#242424;font-size:1.05rem; }
.customer-order-action { text-align:right; }
.empty-state-card { background:#fff;border:1px solid #eadfce;border-radius:14px;padding:44px;text-align:center;display:grid;gap:12px;justify-items:center; }
.tracking-page-standard { max-width:1180px; }
.tracking-header-standard { display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px;gap:20px; }
.tracking-header-standard h1 { margin:4px 0;color:#850b12;font-size:2rem; }
.tracking-header-standard p:last-child { margin:0;color:#6d6d6d; }
.standard-tracking-card,.tracking-summary-standard { background:#fff;border:1px solid #eadfce;border-radius:14px;box-shadow:0 4px 16px rgba(90,50,10,.05); }
.standard-tracking-card { padding:28px; }
.tracking-current-standard { display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px; }
.tracking-current-standard div { display:grid;gap:5px; }
.tracking-current-standard span:first-child { color:#777;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700; }
.tracking-current-standard strong { font-size:1.45rem;color:#850b12; }
.standard-stepper { display:flex;align-items:flex-start;gap:0; }
.standard-step { width:150px;text-align:center;display:grid;justify-items:center;gap:9px;color:#999;position:relative;z-index:1; }
.standard-step strong { font-size:.84rem;line-height:1.25; }
.standard-step.done,.standard-step.current { color:#242424; }
.standard-step.current strong { color:#b5121b; }
.standard-step-dot { width:34px;height:34px;border:2px solid #d8d8d8;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:.8rem;font-weight:700; }
.standard-step.done .standard-step-dot,.standard-step.current .standard-step-dot { border-color:#b5121b;background:#b5121b;color:#fff; }
.standard-step.current .standard-step-dot { box-shadow:0 0 0 5px #fff1f1; }
.standard-step-line { flex:1;height:2px;background:#ddd;margin-top:16px; }
.standard-step-line.done { background:#b5121b; }
.tracking-summary-standard { margin-top:16px;display:grid;grid-template-columns:1.4fr 1fr;gap:0; }
.tracking-summary-standard > div { padding:24px; }
.tracking-summary-standard > div + div { border-left:1px solid #eadfce;display:grid;align-content:start;gap:5px; }
.tracking-summary-standard .eyebrow-dark { margin-bottom:10px; }
.tracking-product-row { display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #f0e6d8; }
.tracking-product-row img { width:48px;height:48px;border-radius:8px;object-fit:cover;border:1px solid #eadfce; }
.tracking-total-row { display:flex;justify-content:space-between;padding-top:16px;font-size:1.08rem; }
.text-action { color:#850b12;font-weight:700;text-decoration:none;align-self:center; }
.confirmation-order-meta { display:grid;grid-template-columns:auto 1fr;gap:8px 18px;max-width:330px;margin:20px auto;padding:16px;background:#fffaf0;border-radius:10px;text-align:left; }
.confirmation-order-meta span { color:#777; }
.confirmation-order-meta strong { text-align:right;color:#242424; }
.payment-success-actions { display:flex;justify-content:center;align-items:center;gap:20px; }

@media (max-width: 820px) {
 .customer-order-main { grid-template-columns:60px 1fr; }
 .customer-order-product img,.order-image-placeholder { width:60px;height:60px; }
 .customer-order-total,.customer-order-action { grid-column:2; }
 .customer-order-action { text-align:left; }
 .tracking-header-standard { align-items:flex-start;flex-direction:column; }
 .standard-tracking-card { padding:20px 14px; }
 .standard-step { width:auto;min-width:78px; }
 .standard-step strong { font-size:.72rem; }
 .tracking-summary-standard { grid-template-columns:1fr; }
 .tracking-summary-standard > div + div { border-left:0;border-top:1px solid #eadfce; }
 .payment-success-actions { flex-direction:column; }
}
@media (max-width: 560px) {
 .standard-stepper { overflow-x:auto;padding-bottom:8px; }
 .standard-step-line { min-width:22px; }
 .customer-order-main { gap:12px; }
}


/* Registration form: required profile fields and responsive two-column name row. */
.auth-page-register .registration-name-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.auth-page-register .auth-field {
    margin-bottom: 18px;
}
.auth-page-register .auth-field label {
    display: block;
    margin-bottom: 7px;
}
.auth-page-register .auth-required {
    color: #c62828;
    font-weight: 800;
}
.auth-page-register .auth-field.has-error input,
.auth-page-register .auth-field input[aria-invalid="true"] {
    border-color: #c62828;
    box-shadow: 0 0 0 2px rgba(198,40,40,.08);
}
.auth-page-register .auth-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
@media (max-width: 640px) {
    .auth-page-register .registration-name-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* Invoice action on the original customer order card layout. */
.customer-order-action { display:grid; gap:7px; justify-items:stretch; }
.customer-order-action .btn { width:100%; box-sizing:border-box; }

/* ==========================================================
   MY ORDERS — CUSTOMER ACCOUNT EXPERIENCE
   ========================================================== */
.my-orders-page { max-width: 1120px; }
.my-orders-header {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:20px;
    padding-bottom:18px;
    border-bottom:1px solid var(--border);
}
.orders-kicker,.order-meta-label {
    display:block;
    margin:0 0 6px;
    color:var(--gold-dark);
    font-size:10px;
    font-weight:800;
    letter-spacing:1.4px;
    text-transform:uppercase;
}
.my-orders-header h1 { margin:0 0 7px; color:var(--red-dark); font-size:32px; line-height:1.1; }
.orders-intro { margin:0; color:#6d6d6d; font-size:13px; }
.orders-continue { color:var(--red); font-size:12px; font-weight:800; white-space:nowrap; }
.orders-continue span { margin-left:5px; }
.orders-summary-bar {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:42px;
    padding:0 14px;
    margin-bottom:12px;
    background:#fffaf0;
    border:1px solid #eadfce;
    border-radius:6px;
    color:#666;
    font-size:12px;
}
.orders-summary-bar strong { color:#222; }
.my-orders-list { display:grid; gap:12px; }
.my-order-card {
    overflow:hidden;
    background:#fff;
    border:1px solid #e5dfd4;
    border-radius:7px;
    box-shadow:0 2px 12px rgba(60,35,10,.045);
}
.my-order-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:11px 15px;
    background:#fcfbf8;
    border-bottom:1px solid #eee7dd;
}
.my-order-top .order-meta-label { margin-bottom:2px; color:#888; font-size:8px; }
.my-order-number { color:#222; font-size:12px; letter-spacing:.02em; }
.my-order-body {
    display:grid;
    grid-template-columns:88px minmax(0,1fr) auto;
    align-items:center;
    gap:16px;
    padding:14px 15px;
}
.my-order-product img,.my-order-placeholder {
    width:88px;
    height:88px;
    object-fit:cover;
    border:1px solid #eadfce;
    border-radius:5px;
    background:#fffaf0;
}
.my-order-placeholder { display:grid; place-items:center; color:var(--red); font-weight:900; }
.my-order-details h2 { margin:0 0 5px; color:#262626; font-size:14px; line-height:1.35; }
.order-more-items { color:#777; font-size:11px; }
.my-order-facts { display:flex; flex-wrap:wrap; gap:22px; margin-top:11px; }
.my-order-facts span { display:grid; gap:3px; color:#333; font-size:12px; }
.my-order-facts small { color:#8a8a8a; font-size:8px; font-weight:800; letter-spacing:.9px; }
.my-order-facts b { color:var(--red-dark); }
.my-order-actions { min-width:175px; display:grid; gap:7px; }
.my-order-invoice-label { color:#8a8a8a; font-size:8px; font-weight:800; letter-spacing:1px; margin-bottom:1px; }
.my-order-actions .btn { width:100%; text-align:center; padding:9px 10px; font-size:10px; }
.order-view-link { padding-top:2px; color:var(--red); font-size:10px; font-weight:700; text-align:center; }
.my-orders-empty { padding:48px 20px; text-align:center; background:#fff; border:1px solid var(--border); border-radius:7px; }
.empty-order-icon { width:54px; height:54px; margin:0 auto 12px; display:grid; place-items:center; border-radius:50%; background:var(--cream); color:var(--red); font-weight:900; }
.my-orders-empty h2 { margin:0 0 7px; color:#222; }
.my-orders-empty p { margin:0 auto 18px; max-width:440px; color:#777; font-size:12px; }

/* Order detail and tracking polish */
.order-detail-page,.tracking-page-standard { max-width:1120px; }
.order-detail-header,.tracking-header-standard { padding-bottom:18px; border-bottom:1px solid var(--border); }
.order-detail-header h1,.tracking-header-standard h1 { color:var(--red-dark); letter-spacing:.01em; }
.order-detail-header-actions { display:flex; flex-wrap:wrap; gap:7px; }
.order-detail-header-actions .btn { font-size:10px; }
.order-status-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0; }
.status-card { padding:16px; background:#fff; border:1px solid var(--border); border-radius:7px; }
.status-card-label { display:block; color:#888; font-size:9px; font-weight:800; letter-spacing:1px; }
.status-card-value { display:block; margin:5px 0 8px; color:#222; font-size:17px; }
.status-card-meta { margin:7px 0 0; color:#777; font-size:10px; overflow-wrap:anywhere; }
.order-detail-grid { gap:12px; }
.form-card,.summary { box-shadow:0 2px 12px rgba(60,35,10,.035); }
.order-line { padding:9px 0; margin:0; border-bottom:1px solid #f0e9df; font-size:12px; }
.order-line:last-child { border-bottom:0; }
.order-summary h3 { margin-top:0; color:var(--red-dark); font-size:12px; letter-spacing:.04em; }
.delivery-summary { display:grid; gap:5px; color:#666; font-size:11px; line-height:1.45; }
.delivery-summary strong { color:#222; }

/* Invoice toolbar and sheet */
.invoice-pro-page { max-width:1120px; }
.invoice-pro-toolbar { display:flex; justify-content:space-between; gap:12px; margin-bottom:14px; }
.invoice-pro-toolbar > div { display:flex; gap:7px; }
.pro-primary-btn,.pro-secondary-btn { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:0 13px; border-radius:5px; font-size:10px; font-weight:800; letter-spacing:.04em; }
.pro-primary-btn { background:var(--red); color:#fff; }
.pro-secondary-btn { background:#fff; border:1px solid var(--border); color:#555; }
.invoice-pro-sheet { background:#fff; border:1px solid #ddd5ca; box-shadow:0 7px 28px rgba(45,25,5,.07); }
.invoice-pro-head { padding:24px 26px 18px; }
.invoice-pro-footer { padding:12px 26px; }

/* Success page invoice callout */
.success-invoice-callout {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:18px auto;
    max-width:620px;
    padding:14px 16px;
    text-align:left;
    background:#fffaf0;
    border:1px solid #eadfce;
    border-radius:7px;
}
.success-invoice-callout div { display:grid; gap:4px; }
.success-invoice-callout strong { color:#222; font-size:13px; }
.success-invoice-callout span { color:#777; font-size:10px; }
.success-invoice-callout .btn { white-space:nowrap; font-size:10px; }

@media (max-width: 760px) {
    .my-orders-header { align-items:flex-start; flex-direction:column; }
    .orders-continue { align-self:flex-start; }
    .my-order-body { grid-template-columns:72px minmax(0,1fr); }
    .my-order-product img,.my-order-placeholder { width:72px; height:72px; }
    .my-order-actions { grid-column:1 / -1; grid-template-columns:1fr 1fr; min-width:0; }
    .order-view-link { grid-column:1 / -1; }
    .order-status-grid { grid-template-columns:1fr; }
    .order-detail-header-actions { justify-content:flex-start; }
    .success-invoice-callout { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 500px) {
    .my-order-top { align-items:flex-start; flex-direction:column; }
    .my-order-facts { gap:12px 18px; }
    .my-order-actions { grid-template-columns:1fr; }
    .invoice-pro-toolbar { flex-direction:column; }
    .invoice-pro-toolbar > div { width:100%; }
    .invoice-pro-toolbar .pro-primary-btn,.invoice-pro-toolbar .pro-secondary-btn { flex:1; }
}

@media print {
    .invoice-pro-toolbar { display:none !important; }
    .invoice-pro-sheet { border:0; box-shadow:none; }
    body { background:#fff; }
}


/* Official price list */
.price-list-page { padding-top: 34px; padding-bottom: 50px; }
.price-list-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; padding:28px 30px; background:#fff; border:1px solid var(--border); border-radius:12px; box-shadow:0 8px 24px rgba(17,27,58,.06); margin-bottom:18px; }
.price-list-hero h1 { margin:5px 0 8px; font-size:32px; }
.price-list-hero p:not(.orders-kicker) { margin:0; color:var(--muted); max-width:700px; line-height:1.65; }
.price-list-download { white-space:nowrap; }
.price-list-note { display:flex; gap:14px; align-items:center; padding:13px 18px; margin-bottom:18px; background:#fff9e8; border:1px solid #ecd99b; border-radius:8px; color:#5f4a12; }
.price-list-note span { color:#756b55; font-size:13px; }
.price-list-table-wrap { background:#fff; border:1px solid var(--border); border-radius:10px; overflow:auto; box-shadow:0 5px 18px rgba(17,27,58,.05); }
.price-list-table { width:100%; min-width:760px; border-collapse:collapse; }
.price-list-table th { background:var(--navy); color:#fff; padding:14px 16px; text-align:left; font-size:12px; letter-spacing:.04em; }
.price-list-table td { padding:15px 16px; border-bottom:1px solid var(--border-light); color:var(--text); font-size:14px; }
.price-list-table tbody tr:last-child td { border-bottom:0; }
.price-list-table tbody tr:hover { background:#fffdf7; }
.price-list-table th:first-child, .price-list-table td:first-child { width:55px; text-align:center; }
.price-current { font-weight:800; color:var(--red); }
.price-saving { font-weight:700; color:var(--green); }
.price-list-empty { text-align:center !important; padding:45px !important; color:var(--muted) !important; }
@media (max-width: 760px) {
  .price-list-hero { align-items:flex-start; flex-direction:column; padding:22px; }
  .price-list-hero h1 { font-size:27px; }
  .price-list-download { width:100%; text-align:center; }
  .price-list-note { align-items:flex-start; flex-direction:column; gap:4px; }
}

/* Admin Price List management */
.admin-helper { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.toolbar-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.admin-main .panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--border-light); }
.admin-main .panel-head h2 { margin: 0 0 4px; font-size: 18px; }
.admin-main .panel-head p { margin: 0; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .toolbar-actions { width: 100%; justify-content: flex-start; } .toolbar-actions .btn { flex: 1 1 auto; text-align: center; } }

/* Staff delete action visibility */
.staff-delete-form { margin: 0; display: inline; }
.table-actions .btn-danger {
    min-width: 78px;
    border: 1px solid #c41220;
    color: #b42318;
    background: #fff4f3;
    cursor: pointer;
}
.table-actions .btn-danger:hover {
    background: #ffe8e6;
    color: #8f1019;
}
