/* =========================================================
   LUXURY CLOTHING STORE — THEME OVERRIDES
   All colors remain dynamic from DB (--web-primary / --base)
   ========================================================= */

/* ---- Root & Body ---- */
body {
    font-family: var(--font-body, 'Inter', sans-serif);
    background-color: #FAFAFA;
    color: #222222;
    letter-spacing: 0.01em;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* ---- Section Headers (luxury centered style) ---- */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
}

.section-header h2 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: #111;
}

.section-header .divider {
    width: 50px;
    height: 2px;
    background-color: var(--web-primary, var(--base));
    margin: 0 auto 1rem auto;
}

/* ---- Buttons ---- */
.btn {
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.btn--primary,
.btn-primary {
    background-color: var(--web-primary, var(--base)) !important;
    border: 1px solid var(--web-primary, var(--base)) !important;
    color: #ffffff !important;
}

.btn--primary:hover,
.btn-primary:hover {
    background-color: transparent !important;
    color: var(--web-primary, var(--base)) !important;
}

.btn-outline-primary {
    color: var(--web-primary, var(--base)) !important;
    border-color: var(--web-primary, var(--base)) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background-color: var(--web-primary, var(--base)) !important;
    color: #fff !important;
}

.btn-secondary,
.btn-outline-secondary {
    border-radius: 0 !important;
}

/* ---- Primary Color Utilities ---- */
.text-primary,
.web-text-primary,
.text-accent,
.text-base {
    color: var(--web-primary, var(--base)) !important;
}

.bg-primary,
.web--bg-primary,
.search_button,
.navbar-stuck-menu {
    background-color: var(--web-primary, var(--base)) !important;
}

/* ---- Navbar / Header ---- */
.navbar,
header {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04) !important;
    border-bottom: 1px solid #e8e8e8;
}

.navbar-brand img {
    transition: opacity 0.2s ease;
}

.navbar-brand:hover img {
    opacity: 0.75;
}

.mega-nav .nav-item .nav-link,
.navbar-nav .nav-link {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.topbar {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.megamenu-wrap {
    border-top: 1px solid #efefef;
}

/* ---- Search Bar ---- */
.form-control,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    border-radius: 0 !important;
    border-color: #ddd;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.form-control:focus,
input:focus {
    border-color: var(--web-primary, var(--base)) !important;
    box-shadow: 0 0 0 2px var(--web-primary-20, rgba(0,0,0,0.1)) !important;
}

/* ---- Product Cards (grid) ---- */
.product-single-hover,
.flash_deal_product {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    background: #fff;
    overflow: hidden;
}

.product-single-hover:hover,
.flash_deal_product:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09) !important;
    transform: translateY(-2px);
}

.product-single-hover img,
.flash-deals-background-image img,
.owl-carousel .owl-item img {
    border-radius: 0 !important;
    transition: transform 0.5s ease;
}

.product-single-hover:hover img {
    transform: scale(1.04);
}

.product-single-hover .p-name,
.flash-product-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 0.95rem;
    color: #111;
    line-height: 1.4;
}

/* Discount badge */
.for-discount-value {
    background: var(--web-primary, var(--base)) !important;
    border-radius: 0 !important;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

/* ---- Product Listing / Filter sidebar ---- */
.cz-sidebar {
    border: 1px solid #efefef;
    border-radius: 0 !important;
    background: #fff;
}

.cz-sidebar h5 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 400;
    letter-spacing: 0.08em;
    font-size: 1.1rem;
}

/* ---- Flash Deal section ---- */
.featured_deal_title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.6rem;
    letter-spacing: 0.04em;
}

.__featured-deal-wrap {
    border-radius: 0 !important;
    padding: 2rem;
}

/* ---- Deal of the Day ---- */
.deal-of-the-day-section,
.__deal-wrap {
    border-radius: 0 !important;
}

/* ---- Cart ---- */
.cart-sidebar,
.cart-dropdown,
.__cart-total_sticky {
    border-radius: 0 !important;
    border: 1px solid #efefef;
}

.cart-list-item {
    border-bottom: 1px solid #f0f0f0;
}

/* ---- Checkout Steps ---- */
.checkout-steps .step-count {
    border-radius: 0 !important;
}

.checkout-steps.steps-light .step-item.active .step-count {
    background-color: var(--web-primary, var(--base)) !important;
}

/* ---- Order Summary / Payment ---- */
.order-summery-aside,
.card {
    border-radius: 0 !important;
    border: 1px solid #efefef;
}

.card-header {
    border-radius: 0 !important;
    background: #fafafa;
    border-bottom: 1px solid #efefef;
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* ---- Badges & Labels ---- */
.badge,
.badge-accent {
    border-radius: 0 !important;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    text-transform: uppercase;
}

/* ---- Footer ---- */
.footer-slide-item {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transition: background 0.2s ease;
}

.footer-slide-item:hover {
    background: #f5f5f5 !important;
}

footer,
.footer,
.__inline-9 {
    border-top: 1px solid #e8e8e8;
}

.footer h2,
.footer h3,
.footer h4,
.footer h5 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 400;
    letter-spacing: 0.05em;
    font-size: 1rem;
}

.footer a,
footer a {
    transition: color 0.2s ease, letter-spacing 0.2s ease;
    font-size: 0.875rem;
}

.footer a:hover,
footer a:hover {
    color: var(--web-primary, var(--base)) !important;
    letter-spacing: 0.03em;
}

.social-media:hover {
    color: var(--web-primary, var(--base)) !important;
}

/* ---- Tabs & Nav Pills ---- */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background: var(--web-primary, var(--base)) !important;
    border-color: var(--web-primary, var(--base)) !important;
    border-radius: 0 !important;
}

.nav-tabs .nav-link {
    border-radius: 0 !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* ---- Pagination ---- */
.page-item.active .page-link {
    background-color: var(--web-primary, var(--base)) !important;
    border-color: var(--web-primary, var(--base)) !important;
    border-radius: 0 !important;
}

.page-link {
    border-radius: 0 !important;
    color: var(--web-primary, var(--base));
}

/* ---- Dropdowns ---- */
.dropdown-menu {
    border-radius: 0 !important;
    border: 1px solid #efefef;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    font-size: 0.875rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--web-primary, var(--base)) !important;
    background-color: #fafafa !important;
}

/* ---- Modals ---- */
.modal-content {
    border-radius: 0 !important;
    border: none;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-heading, 'Playfair Display', serif);
}

/* ---- Alerts & Toasts ---- */
.alert {
    border-radius: 0 !important;
    border-left: 3px solid var(--web-primary, var(--base));
}

/* ---- Star Ratings ---- */
.text-warning {
    font-size: 0.75rem;
}

/* ---- Scroll to Top ---- */
.btn-scroll-top {
    border-radius: 0 !important;
    background-color: var(--web-primary, var(--base)) !important;
}

/* ---- Brand Logos ---- */
.__brand-item img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.__brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ---- Category Section ---- */
.category-area .category-card,
.__category-card {
    border-radius: 0 !important;
    transition: box-shadow 0.2s ease;
}

.category-area .category-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}

/* ---- User Profile / Account ---- */
.profile-sidebar,
.__profile-sidebar {
    border-radius: 0 !important;
    border: 1px solid #efefef;
}

/* ---- Company Reliability section ---- */
.company-reliability-item {
    border-radius: 0 !important;
}

/* ---- Top sellers ---- */
.top-vendor-card {
    border-radius: 0 !important;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.2s ease;
}

.top-vendor-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.07) !important;
}

/* ---- Banners ---- */
.footer_banner_img,
.__inline-63 {
    border-radius: 0 !important;
    display: block;
    width: 100%;
}

/* ---- Container width ---- */
.container {
    max-width: 1400px;
}

/* ---- Misc ---- */
a {
    transition: color 0.2s ease;
}

a:hover {
    color: var(--web-primary, var(--base));
}

hr {
    border-color: #efefef;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--web-secondary, var(--base-2)) !important;
}
