body {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: Inter, system-ui, sans-serif;
}

:root {
    --bs-primary: hsl(var(--primary));
    --bs-link-color: hsl(var(--foreground));
    --bs-link-hover-color: hsl(var(--accent));
    --bs-focus-ring-color: hsl(var(--accent) / .18);
}

a,
a:hover,
a:focus {
    color: inherit;
}

.sub_banner {
    background: hsl(var(--background));
}

.sub_banner_con,
.privacy-policy-con,
.contactinfo-con,
.contactform-con,
.checkout-con,
.cart-con,
.login-con,
.register-con,
.blog-con,
.shop-con,
.product-detail-con,
.compare-page-shell,
.faq-section {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.sub_banner_con {
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--secondary) / .5);
}

.subbanner-leftimage,
.subbanner-rightimage {
    display: none;
}

.sub_banner_content,
.sub_banner_content .box {
    text-align: center;
}

.sub_banner_content h1,
.sub_banner_content h2,
.privacy-policy-con h1,
.privacy-policy-con h2,
.privacy-policy-con h3,
.privacy-policy-con h4,
.blog-con h1,
.blog-con h2,
.blog-con h3,
.shop-con h1,
.shop-con h2,
.product-detail-con h1,
.product-detail-con h2,
.account-section h1,
.account-section h2,
.login-con h1,
.register-con h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    letter-spacing: -.01em;
    color: hsl(var(--foreground));
}

.sub_banner_content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.sub_banner_content p,
.text-size-18,
.text-size-16,
.privacy-policy-con p,
.card-body,
.blog-con p,
.account-section p {
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}

.sub_banner_content .box,
.breadcrumb,
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.25rem;
    color: hsl(var(--muted-foreground));
    font-size: .75rem;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.sub_banner_content .box a,
.sub_banner_content .box span,
.breadcrumb a {
    color: inherit;
}

.sub_banner_content .box .box_span,
.sub_banner_content .box .slash,
.breadcrumb .active {
    color: hsl(var(--accent));
}

.card,
.section-card,
.info-card,
.account-card,
.table-wrap,
.blog-grid-card,
.blog-detail-article,
.blog-detail-related,
.compare-empty-state,
.compare-overview-card,
.compare-table-card {
    border: 1px solid hsl(var(--border));
    border-radius: 0;
    background: hsl(var(--card));
    box-shadow: var(--shadow-soft);
}

.card-header {
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--secondary) / .35) !important;
}

.btn,
.primary_btn,
.tf-btn,
button[type="submit"],
input[type="submit"] {
    border-radius: 0 !important;
    border: 1px solid hsl(var(--primary)) !important;
    background: hsl(var(--primary)) !important;
    color: hsl(var(--primary-foreground)) !important;
    font-size: .75rem !important;
    font-weight: 500 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase !important;
    transition: var(--transition-smooth);
}

.btn:hover,
.primary_btn:hover,
.tf-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: hsl(var(--accent)) !important;
    border-color: hsl(var(--accent)) !important;
    color: hsl(var(--accent-foreground)) !important;
}

.btn-link {
    background: transparent !important;
    border: 0 !important;
    color: hsl(var(--foreground)) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

input,
textarea,
select,
.form-control {
    border: 1px solid hsl(var(--border)) !important;
    border-radius: 0 !important;
    background: hsl(var(--background)) !important;
    color: hsl(var(--foreground)) !important;
    font-family: Inter, system-ui, sans-serif !important;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    border-color: hsl(var(--accent)) !important;
    box-shadow: 0 0 0 3px hsl(var(--accent) / .12) !important;
    outline: 0 !important;
}

button:focus,
a:focus,
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px hsl(var(--accent) / .12) !important;
    outline: 0 !important;
}

.table,
table {
    color: hsl(var(--foreground));
}

.table th,
table th {
    color: hsl(var(--muted-foreground));
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.table td,
.table th,
table td,
table th {
    border-color: hsl(var(--border)) !important;
}

.pagination .page-link,
.page-item span {
    border-radius: 0 !important;
    border-color: hsl(var(--border)) !important;
    color: hsl(var(--muted-foreground)) !important;
}

.page-item.active .page-link,
.page-item.active span {
    background: hsl(var(--primary)) !important;
    color: hsl(var(--primary-foreground)) !important;
}

.legacy-new-header {
    border-bottom: 1px solid hsl(var(--border) / .65);
}

.legacy-mobile-nav {
    display: none;
    border-top: 1px solid hsl(var(--border));
    background: hsl(var(--background) / .98);
    padding: 1rem 1.5rem;
}

.legacy-mobile-nav.is-open {
    display: grid;
    gap: .75rem;
}

.legacy-mobile-nav a {
    color: hsl(var(--foreground));
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.list-unstyled a,
.account-nav a,
.nav-link {
    color: hsl(var(--foreground)) !important;
}

.list-unstyled a:hover,
.account-nav a:hover,
.nav-link:hover,
.nav-link:focus,
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: hsl(var(--accent)) !important;
}

.nav-tabs {
    border-color: hsl(var(--border)) !important;
}

.nav-tabs .nav-link {
    border-color: transparent !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background: hsl(var(--background)) !important;
    border-color: hsl(var(--border)) hsl(var(--border)) hsl(var(--background)) !important;
}

.text-primary,
.link-primary {
    color: hsl(var(--accent)) !important;
}

.bg-primary,
.btn-primary {
    background-color: hsl(var(--primary)) !important;
    border-color: hsl(var(--primary)) !important;
}

.border-primary {
    border-color: hsl(var(--primary)) !important;
}

.alert {
    border-radius: 0;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--secondary) / .45);
    color: hsl(var(--foreground));
}

.luxe-auth-modal {
    --auth-ink: hsl(var(--foreground));
    --auth-muted: hsl(var(--muted-foreground));
    --auth-gold: hsl(var(--accent));
}

.luxe-auth-modal .modal-backdrop,
.modal-backdrop {
    background-color: #1f1b17;
}

.luxe-auth-modal__dialog {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.luxe-auth-modal__content {
    position: relative;
    overflow: hidden;
    border: 1px solid hsl(var(--border) / .6) !important;
    border-radius: 0 !important;
    background:
        linear-gradient(135deg, hsl(var(--accent) / .10), transparent 46%, hsl(var(--accent) / .05)),
        hsl(var(--background) / .80) !important;
    backdrop-filter: blur(24px);
    box-shadow: 0 25px 60px -20px hsl(var(--foreground) / .28) !important;
    color: var(--auth-ink);
    padding: 2rem;
}

@media (min-width: 640px) {
    .luxe-auth-modal__content {
        padding: 2.5rem;
    }
}

.luxe-auth-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 1.5rem;
    height: 1.5rem;
    border: 0 !important;
    background: transparent !important;
    color: hsl(var(--muted-foreground)) !important;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
}

.luxe-auth-modal__tabs {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0 !important;
}

.luxe-auth-modal__header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.luxe-auth-modal__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-bottom: .75rem;
    color: var(--auth-gold) !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.luxe-auth-modal__eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: var(--auth-gold);
}

.luxe-auth-modal__header h2 {
    margin: 0 0 .75rem;
    color: var(--auth-ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 2.25rem;
    letter-spacing: 0;
}

.luxe-auth-modal__header > p:not(.luxe-auth-modal__eyebrow) {
    margin: 0;
    color: hsl(var(--muted-foreground));
    font-size: .875rem;
    line-height: 1.25rem;
}

.luxe-auth-modal__form {
    display: grid;
    gap: 1rem;
}

.luxe-auth-modal__field {
    position: relative;
    display: block;
    margin: 0;
}

.luxe-auth-modal__icon {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: hsl(var(--muted-foreground));
    pointer-events: none;
}

.luxe-auth-modal__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.luxe-auth-modal__field input {
    width: 100%;
    height: auto;
    border: 1px solid hsl(var(--border)) !important;
    background: hsl(var(--secondary) / .5) !important;
    color: var(--auth-ink) !important;
    font-size: .875rem;
    letter-spacing: 0 !important;
    padding: .875rem 1rem .875rem 2.75rem !important;
    outline: 0 !important;
    transition: all .3s ease;
}

.luxe-auth-modal__field input::placeholder {
    color: hsl(var(--muted-foreground) / .7);
}

.luxe-auth-modal__field input:focus {
    border-color: var(--auth-gold) !important;
    background: hsl(var(--background)) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.luxe-auth-modal__actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.luxe-auth-modal__text-btn,
.luxe-auth-modal__switch button {
    border: 0 !important;
    background: transparent !important;
    color: var(--auth-gold) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .2em !important;
    padding: 0 !important;
    text-transform: uppercase !important;
}

.luxe-auth-modal__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 46px;
    margin-top: .5rem;
    border: 1px solid hsl(var(--primary)) !important;
    background: hsl(var(--primary)) !important;
    color: hsl(var(--primary-foreground)) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .25em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.luxe-auth-modal__submit:hover,
.luxe-auth-modal__submit:focus {
    background: var(--auth-gold) !important;
    color: #fff !important;
}

.luxe-auth-modal__switch {
    margin: 12px 0 0;
    color: hsl(var(--muted-foreground));
    font-size: 12px;
    letter-spacing: .2em;
    text-align: center;
    text-transform: uppercase;
}

.luxe-auth-modal__switch button {
    letter-spacing: .22em !important;
    text-transform: none !important;
}

.luxe-auth-modal .alert {
    margin: 0;
    padding: 10px 12px;
    background: hsl(var(--secondary) / .45);
    border-color: hsl(var(--border));
    color: var(--auth-ink);
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

@media (max-width: 575px) {
    .luxe-auth-modal__dialog {
        max-width: calc(100vw - 28px);
    }

    .luxe-auth-modal__content {
        padding: 2rem 1.5rem;
    }

    .luxe-auth-modal__header h2 {
        font-size: 28px;
    }

    .luxe-auth-modal__actions-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
