/* =========================================================
   URBAN LUXE ECOMMERCE THEME
   Color Palette: Charcoal / Cream / Gold / Terracotta
   Glassmorphism · Conversion‑First · Responsive
   ========================================================= */

:root {
    --bg-body: #FAF8F3;
    --bg-surface: rgba(255, 255, 245, 0.96);
    --bg-card: #FFFFFF;
    --dark-primary: #1A1E2B;
    --dark-secondary: #2A2F3F;
    --gold-accent: #C9A87C;
    --gold-light: #E6D5B8;
    --terracotta: #D96C4A;
    --terracotta-light: #F0C4B2;
    --text-main: #1F2128;
    --text-muted: #5E6072;
    --border-light: rgba(0, 0, 0, 0.06);
    --border-glass: rgba(255, 255, 245, 0.4);
    --shadow-sm: 0 6px 14px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 20px 35px -12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 30px 50px -20px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 40px 70px -24px rgba(0, 0, 0, 0.18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --radius-full: 999px;
    --ease-out: cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 440;
    line-height: 1.5;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

/* Typography – premium & bold */
h1, h2, h3, h4, h5, .h1, .h2, .h3, .section-title, .fw-700 {
    font-weight: 750 !important;
    letter-spacing: -0.02em;
    color: var(--dark-primary) !important;
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
}

h2, .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold-accent);
    border-radius: var(--radius-full);
}

/* Links & buttons */
a {
    text-decoration: none;
    transition: all 0.25s var(--ease-out);
}

/* Top strip – minimal dark */
.top-navbar,
.top-background-color-visibility {
    background: var(--dark-primary) !important;
    color: rgba(255, 255, 245, 0.85);
    font-size: 0.8rem;
    border-bottom: none;
    padding: 8px 0;
}

.top-navbar a,
.top-text-color-visibility {
    color: #e0ddcf !important;
    font-weight: 500;
}

.top-navbar a:hover {
    color: var(--gold-accent) !important;
}

/* Header – glass sticky */
header,
.aiz-header,
.stikcy-header-visibility {
    background: rgba(255, 255, 245, 0.88) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-bar-area .container > .d-flex {
    min-height: 80px;
}

/* Logo */
.header-logo img,
.navbar-brand img {
    max-height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

/* Search bar – modern gold accent */
.search-input-box input,
#search {
    height: 50px !important;
    border-radius: var(--radius-full) !important;
    background: white !important;
    border: 1px solid var(--border-light) !important;
    padding: 0 24px !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.search-input-box input:focus {
    border-color: var(--gold-accent) !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 124, 0.2);
    outline: none;
}

/* Bottom navigation – bold & urban */
.bottom-background-color-visibility {
    background: var(--dark-primary) !important;
    border-top: 1px solid rgba(255, 245, 215, 0.1);
    border-bottom: none;
}

.bottom-background-color-visibility a,
.bottom-text-color-visibility {
    color: #f5f2e6 !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.bottom-background-color-visibility .header_menu_links {
    padding: 18px 20px !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    position: relative;
}

.bottom-background-color-visibility .header_menu_links::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--gold-accent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.bottom-background-color-visibility .header_menu_links:hover::after {
    transform: scaleX(1);
}

/* Category button */
.all-category {
    background: var(--terracotta) !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 8px 18px rgba(217, 108, 74, 0.25);
    min-width: 240px;
    transition: transform 0.2s;
}

.all-category:hover {
    background: #c55a3a !important;
    transform: translateY(-2px);
}

/* Cart icon */
.nav-cart-box,
#cart_items {
    background: rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-full);
    padding: 8px 18px;
}

/* Product cards – premium & clean */
.card,
.aiz-card-box,
.product-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-lg) !important;
    transition: all 0.35s var(--ease-out);
    overflow: hidden;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.card:hover,
.aiz-card-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-light) !important;
}

/* Product image container */
.aiz-card-box .position-relative {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f7f5ef;
}

.aiz-card-box img {
    transition: transform 0.5s ease;
}

.aiz-card-box:hover img {
    transform: scale(1.05);
}

/* Product name – always visible */
.aiz-card-box h3,
.aiz-card-box h3 a {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--dark-primary) !important;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 12px 0 6px;
    height: 2.8em;
}

/* Price & offers */
.aiz-card-box .fs-14,
.aiz-card-box .fs-15,
.price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--terracotta);
}

.aiz-card-box del {
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 8px;
}

/* Badges / labels */
.badge-primary,
.absolute-top-left.bg-primary {
    background: var(--terracotta) !important;
    color: white !important;
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    box-shadow: none;
}

/* Buttons – gold / terracotta */
.btn-primary,
.cart-btn,
.add-to-cart-btn {
    background: var(--dark-primary) !important;
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 24px;
    font-weight: 700;
    transition: all 0.25s;
    color: white;
}

.btn-primary:hover,
.cart-btn:hover {
    background: var(--gold-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -8px rgba(201, 168, 124, 0.4);
}

.btn-outline-primary {
    border: 1.5px solid var(--dark-primary);
    color: var(--dark-primary);
    background: transparent;
    border-radius: var(--radius-full);
}

.btn-outline-primary:hover {
    background: var(--dark-primary);
    color: white;
}

/* Deal / offer section – no pink */
.deal-section .badge,
.todays-deal .badge {
    background: var(--gold-accent) !important;
    color: var(--dark-primary);
}

/* Footer – charcoal premium */
footer,
.aiz-footer {
    background: var(--dark-primary) !important;
    color: #d4d2c9;
    border-top: 1px solid rgba(201, 168, 124, 0.2);
    padding: 3rem 0 2rem;
}

footer a,
.aiz-footer a {
    color: #e2dfd1;
    transition: all 0.2s;
}

footer a:hover {
    color: var(--gold-accent);
    padding-left: 4px;
}

footer h5 {
    color: #fff2df !important;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 1.25rem;
    }
    .aiz-card-box h3 a {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }
    .card, .aiz-card-box {
        padding: 12px;
    }
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Additional modern touches */
::selection {
    background: var(--gold-accent);
    color: var(--dark-primary);
}

input:focus, textarea:focus {
    outline: none;
}