/* Prestige Luxury final visual overrides */
html,
body {
  background: var(--lux-bg) !important;
  color: var(--lux-text-primary) !important;
}

body,
p,
small,
span,
li,
label,
input,
textarea,
select,
.table,
.table td,
.table th {
  color: var(--lux-text-primary);
}

.text-muted,
.text-secondary,
.text-gray,
.text-gray-500,
.text-gray-600,
.text-gray-700,
.text-gray-800,
.form-text,
small,
.meta,
.caption {
  color: var(--lux-text-secondary) !important;
}

a,
.text-primary,
.text--primary,
.c1 {
  color: var(--lux-gold-solid) !important;
}

a:hover,
a:focus,
.text-primary:hover,
.text-primary:focus,
.text--primary:hover,
.text--primary:focus {
  color: var(--lux-gold-light) !important;
}

.bg-primary {
  background: var(--lux-gold-gradient) !important;
  color: #fff !important;
}

.bg-light,
.bg-white {
  background: var(--lux-card) !important;
  color: var(--lux-text-primary) !important;
}

.bg-dark {
  background: var(--lux-bg-dark) !important;
  color: var(--lux-text-primary-dark) !important;
}

.card,
.modal-content,
.offcanvas,
.dropdown-menu,
.list-group-item,
.auth-wrapper-form,
.product,
.product-single-hover,
.quickview,
.checkout-details,
.shop-cart,
.widget,
.table,
.select2-dropdown,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.swal2-popup,
.alert {
  background: var(--lux-card) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-card) !important;
  box-shadow: var(--lux-shadow-soft) !important;
}

.table td,
.table th,
.list-group-item,
.dropdown-item,
.border,
.border-top,
.border-bottom,
.border-left,
.border-right,
hr {
  border-color: var(--lux-border) !important;
}

.navbar,
.header,
.topbar,
footer,
.sidebar,
.__inline-18,
.__inline-19 {
  background: var(--lux-card) !important;
  border-color: var(--lux-border) !important;
}

.btn,
.btn:focus,
.btn:active {
  border-radius: 12px !important;
  box-shadow: none !important;
  transition: all .2s ease;
}

.btn-primary,
.btn--primary,
.btn-success,
.cookie-accept,
[type='button'].btn-primary,
[type='submit'].btn,
button.btn-primary,
button.btn--primary {
  background: var(--lux-gold-gradient) !important;
  border: none !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn--primary:hover,
.btn-success:hover,
.cookie-accept:hover,
button.btn-primary:hover,
button.btn--primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-secondary,
.btn-light,
.btn-outline,
.btn-ghost {
  background: transparent !important;
  color: var(--lux-gold-solid) !important;
  border: 1px solid color-mix(in srgb, var(--lux-gold-solid) 72%, var(--lux-border)) !important;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-secondary:hover,
.btn-light:hover,
.btn-outline:hover,
.btn-ghost:hover {
  background: color-mix(in srgb, var(--lux-gold-solid) 10%, transparent) !important;
}

.btn-link {
  color: var(--lux-gold-solid) !important;
}

.btn-link:hover,
.btn-link:focus {
  color: var(--lux-gold-light) !important;
}

.btn-danger {
  background: var(--lux-error) !important;
  border-color: var(--lux-error) !important;
  color: #fff !important;
}

.btn-warning {
  background: var(--lux-warning) !important;
  border-color: var(--lux-warning) !important;
  color: #fff !important;
}

.btn-info {
  background: var(--lux-info) !important;
  border-color: var(--lux-info) !important;
  color: #fff !important;
}

.btn-scroll-top,
.btn-scroll-top.btn--primary {
  background: var(--lux-gold-gradient) !important;
  color: #fff !important;
  border: none !important;
}

.form-control,
.form-select,
.form-control:focus,
.form-select:focus,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.iti__selected-dial-code,
.otp-field,
input,
textarea,
select {
  background: var(--lux-card) !important;
  border: 1px solid var(--lux-border) !important;
  color: var(--lux-text-primary) !important;
  border-radius: var(--lux-radius-control) !important;
}

.form-control::placeholder,
.form-select::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--lux-text-secondary) !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus,
.form-check-input:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--lux-gold-solid) !important;
  box-shadow: 0 0 0 .16rem color-mix(in srgb, var(--lux-gold-solid) 24%, transparent) !important;
}

.form-check-input:checked {
  background-color: var(--lux-gold-solid) !important;
  border-color: var(--lux-gold-solid) !important;
}

.badge,
.label,
.text-bg-info,
.badge-soft-info,
.badge-soft-success,
.badge-soft-danger,
.badge-soft-warning {
  border-radius: 999px !important;
  border: 1px solid var(--lux-border) !important;
  background: color-mix(in srgb, var(--lux-card) 90%, var(--lux-gold-solid) 10%) !important;
  color: var(--lux-text-primary) !important;
}

.price,
.amount,
.product-card .price,
.product-price,
.text-price,
.final-price {
  color: var(--lux-gold-solid) !important;
}

.product,
.product-card,
.product-item,
.products-item,
.seller-product-card,
.recommended-product-card {
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-card) !important;
  background: var(--lux-card) !important;
  box-shadow: none !important;
  overflow: hidden;
}

.product:hover,
.product-card:hover,
.product-item:hover,
.products-item:hover {
  border-color: color-mix(in srgb, var(--lux-gold-solid) 45%, var(--lux-border)) !important;
  transform: translateY(-1px);
}

.nav-tabs,
.nav-pills,
.nav,
.category-bar,
.filter-chip,
.filter-chips,
.chips,
.tab-wrapper {
  border-color: var(--lux-border) !important;
}

.nav-tabs .nav-link,
.nav-pills .nav-link,
.filter-chip,
.chip,
.btn-filter,
.filter-btn {
  color: var(--lux-text-secondary) !important;
  border-radius: 10px !important;
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active,
.filter-chip.active,
.chip.active,
.filter-btn.active {
  color: var(--lux-gold-solid) !important;
  border-color: color-mix(in srgb, var(--lux-gold-solid) 45%, var(--lux-border)) !important;
  background: color-mix(in srgb, var(--lux-gold-solid) 14%, transparent) !important;
}

.page-link,
.pagination .page-item .page-link {
  color: var(--lux-text-secondary) !important;
  background: var(--lux-card) !important;
  border-color: var(--lux-border) !important;
}

.pagination .page-item.active .page-link,
.page-link.active {
  color: #fff !important;
  background: var(--lux-gold-solid) !important;
  border-color: var(--lux-gold-solid) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: color-mix(in srgb, var(--lux-card) 92%, var(--lux-border)) !important;
  color: var(--lux-text-primary) !important;
}

.alert-success {
  color: #fff !important;
  background: color-mix(in srgb, var(--lux-success) 90%, #111 10%) !important;
  border-color: color-mix(in srgb, var(--lux-success) 80%, #111 20%) !important;
}

.alert-danger,
.alert-error {
  color: #fff !important;
  background: color-mix(in srgb, var(--lux-error) 88%, #111 12%) !important;
  border-color: color-mix(in srgb, var(--lux-error) 80%, #111 20%) !important;
}

.alert-warning {
  color: #fff !important;
  background: color-mix(in srgb, var(--lux-warning) 90%, #111 10%) !important;
  border-color: color-mix(in srgb, var(--lux-warning) 80%, #111 20%) !important;
}

.alert-info {
  color: #fff !important;
  background: color-mix(in srgb, var(--lux-info) 90%, #111 10%) !important;
  border-color: color-mix(in srgb, var(--lux-info) 80%, #111 20%) !important;
}

.tox,
.ql-toolbar,
.ql-container,
.note-editor,
.note-toolbar,
.note-editing-area,
.note-statusbar {
  background: var(--lux-card) !important;
  border-color: var(--lux-border) !important;
  color: var(--lux-text-primary) !important;
}

@media (max-width: 991px) {
  .card,
  .product,
  .product-card,
  .auth-wrapper-form,
  .modal-content,
  .offcanvas {
    border-radius: 14px !important;
  }
}

/* Prestige Luxury final consistency pass */
:root {
  --lux-section-gap: 24px;
  --lux-section-gap-mobile: 16px;
  --lux-banner-radius: 16px;
  --lux-hero-radius: 18px;
  --lux-control-radius: 12px;
}

main,
.main-content,
#content,
.container,
.container-fluid,
section,
.section-gap,
.new-arrival-section,
.__inline-61 {
  color: var(--lux-text-primary) !important;
}

section,
.container > .row,
.main-content > section,
.new-arrival-section > section,
.__inline-61 > section {
  margin-bottom: var(--lux-section-gap);
}

.section-header,
.feature_header,
.category_title,
.featured_deal_title,
.feature-product-title,
.product-title,
.section-title,
.home-title {
  color: var(--lux-text-primary) !important;
  letter-spacing: 0.01em;
}

.section-header *,
.feature_header *,
.category_title *,
.featured_deal_title *,
.feature-product-title *,
.section-title * {
  color: inherit !important;
}

/* Banner and hero harmony */
.hero-video-wrapper,
.hero-video-wrapper .hero-video,
.banner_card,
.main_banner_img,
.footer_banner_img,
.category-3d-banner,
.category-3d-banner__card,
.category-3d-banner__frame,
.business-pages-banner-section,
.blog-banner-container,
.flash-deals-background-image,
.promotional-banner-slider .owl-item a,
.promotional-banner-slider img,
.home-top-banner img {
  border-radius: var(--lux-banner-radius) !important;
}

.hero-video-wrapper {
  overflow: hidden;
  border: 1px solid var(--lux-border) !important;
  background: var(--lux-card) !important;
  box-shadow: none !important;
}

.banner_card,
.main_banner_img,
.footer_banner_img,
.promotional-banner-slider .owl-item a,
.business-pages-banner-section,
.blog-banner-container {
  border: 1px solid var(--lux-border) !important;
  background: var(--lux-card) !important;
  overflow: hidden;
}

.category-3d-banner__fade--start {
  background: linear-gradient(90deg, var(--lux-bg) 0%, rgba(0, 0, 0, 0) 100%) !important;
}

.category-3d-banner__fade--end {
  background: linear-gradient(270deg, var(--lux-bg) 0%, rgba(0, 0, 0, 0) 100%) !important;
}

/* Product card cleanup and hierarchy */
.product-card,
.product-card-shadow,
.recommended-product-card,
.deal_latest_product .product-card,
.flash_deal_product,
.featured_deal_product,
.category-single-product,
.category-single-product-view {
  background: var(--lux-card) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-card) !important;
  box-shadow: none !important;
  overflow: hidden;
}

.product-card .card-header,
.recommended-product-card .card-header,
.flash_deal_product_pic,
.featured_product_pic,
.featured_product_pic .image_center {
  border-radius: 12px !important;
}

.product-card .card-body,
.recommended-product-card .card-body,
.featured_product_details,
.flash_deal_product_details {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.product-title,
.product-name,
.flash-product-title,
.featured_product-title,
.category-single-product-title {
  color: var(--lux-text-primary) !important;
}

.product-title *,
.product-name *,
.flash-product-title *,
.featured_product-title * {
  color: inherit !important;
}

.price,
.product-price,
.flash-product-price,
.featured_product-price,
.category-single-product-price,
.category-single-product-price.fs-14,
.product-details .final-price,
.amount {
  color: var(--lux-gold-solid) !important;
}

.old-price,
del,
s,
.price-old,
.category-single-product .text-body-secondary {
  color: var(--lux-text-secondary) !important;
}

/* Header, navigation, search and footer parity */
.topbar,
.navbar-stuck-menu,
.header,
.header-navbar,
.page-header,
.main-navbar,
.navbar {
  background: var(--lux-card) !important;
  border-bottom: 1px solid var(--lux-border) !important;
}

.navbar .form-control,
.navbar .search_button,
.search-card,
.search-result-box {
  border-radius: var(--lux-control-radius) !important;
  border-color: var(--lux-border) !important;
}

.navbar-tool-icon-box,
.navbar-tool .navbar-tool-label {
  color: var(--lux-text-secondary) !important;
}

.navbar-tool:hover .navbar-tool-icon-box,
.navbar-tool:focus .navbar-tool-icon-box,
.navbar-tool:hover .navbar-tool-label {
  color: var(--lux-gold-solid) !important;
}

.page-footer,
footer,
.footer,
.footer-top,
.footer-middle,
.footer-bottom {
  background: var(--lux-card) !important;
  color: var(--lux-text-secondary) !important;
  border-top: 1px solid var(--lux-border) !important;
}

.page-footer h1,
.page-footer h2,
.page-footer h3,
.page-footer h4,
.page-footer h5,
.page-footer h6,
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
  color: var(--lux-text-primary) !important;
}

.page-footer a,
footer a {
  color: var(--lux-text-secondary) !important;
}

.page-footer a:hover,
footer a:hover {
  color: var(--lux-gold-solid) !important;
}

/* Table and dashboard section readability */
.table thead th,
table.dataTable thead th {
  color: var(--lux-text-primary) !important;
  background: color-mix(in srgb, var(--lux-card) 90%, var(--lux-border)) !important;
}

.table tbody tr:hover > * {
  background: color-mix(in srgb, var(--lux-card) 92%, var(--lux-gold-solid) 8%) !important;
}

/* Chips, tabs, selected pills */
.chip,
.chips .chip,
.filter-chip,
.tag,
.nav-pills .nav-link,
.nav-tabs .nav-link {
  border-radius: 999px !important;
}

.chip.active,
.filter-chip.active,
.nav-pills .nav-link.active,
.nav-tabs .nav-link.active {
  background: color-mix(in srgb, var(--lux-gold-solid) 14%, transparent) !important;
  color: var(--lux-gold-solid) !important;
}

/* Small mobile rhythm tuning */
@media (max-width: 767px) {
  section,
  .container > .row,
  .main-content > section,
  .new-arrival-section > section {
    margin-bottom: var(--lux-section-gap-mobile);
  }

  .section-header,
  .feature_header {
    margin-bottom: 10px !important;
  }

  .product-card,
  .recommended-product-card,
  .flash_deal_product,
  .featured_deal_product {
    border-radius: 14px !important;
  }
}
