
:root {
    --bg-main: #fcfcfc;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f5f5f5;
    --gold: #e6b741;
    --gold-dark: #b58c2a;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border: #eaeaee;
    --red: #ff4d4d;
    --green: #00cc66;
}

body.dark-theme {
    --bg-main: #0a0a0c;
    --bg-surface: #151518;
    --bg-surface-hover: #1e1e24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a5;
    --border: #2a2a30;
    background-color: var(--bg-main);
    color: var(--text-primary);
}


* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-primary); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }

h1, h2, h3, .logo { font-family: 'Playfair Display', serif; }

/* â”€â”€ TOP BAR: LIVE RATES â”€â”€ */
.top-bar {
    background-color: var(--gold);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.live-indicator { display: flex; align-items: center; gap: 8px; }
.pulse {
    width: 8px; height: 8px;
    background-color: #000;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 0, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}
.rates-ticker { display: flex; gap: 20px; }
.rates-ticker span { font-weight: 700; letter-spacing: 0.5px; }

/* â”€â”€ NAVBAR â”€â”€ */
.navbar {
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 34px; /* Below top bar */
    z-index: 999;
}
.logo { font-size: 24px; color: var(--gold); letter-spacing: 2px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 1px; color: var(--text-secondary); transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }


.search-box i { color: var(--text-secondary); font-size: 12px; }

/* â”€â”€ LAYOUT & SECTIONS â”€â”€ */
section { padding: 60px 20px; max-width: 1400px; margin: 0 auto; }

.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    margin-bottom: 30px; 
    border-bottom: 1px solid var(--border); 
    padding-bottom: 15px; 
}
.section-header > div[style*="margin-bottom: 20px"] {
    flex-basis: 100%;
    order: 3;
    margin-top: 15px;
}
.filter-controls { order: 2; }
.section-header h2 { font-size: 28px; color: var(--text-primary); letter-spacing: 1px; }

/* â”€â”€ LIVE RATES DASHBOARD (TRADING TERMINAL STYLE) â”€â”€ */
.rates-dashboard { padding-top: 40px; padding-bottom: 40px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.dashboard-header h1 { font-size: 32px; color: var(--gold); letter-spacing: 2px; }
.market-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.pulse.green { background-color: #00ff00; animation: pulse-green 2s infinite; }
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 255, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

.product-group { margin-bottom: 40px; }
.group-title { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--gold-dark); margin-bottom: 15px; text-align: center; letter-spacing: 1px; }

.trading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.trading-card {
    background: #050505;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    transition: all 0.3s;
}

/* Dynamic glowing borders based on price movement */
.trading-card.up-tick {
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.1), inset 0 0 10px rgba(0, 255, 0, 0.05);
}
.trading-card.down-tick {
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1), inset 0 0 10px rgba(255, 0, 0, 0.05);
}

.card-label { font-size: 12px; color: #a0a0a0; margin-bottom: 10px; letter-spacing: 1px; }
.card-price { font-size: 32px; font-weight: 700; color: #ffffff; font-family: 'Inter', sans-serif; margin-bottom: 10px; }

.card-change { font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 5px; }
.card-change.up { color: #00ff00; }
.card-change.down { color: #ff3333; }
.card-change.down .card-price { color: #ff3333; }

/* â”€â”€ COMPACT DASHBOARD STYLES â”€â”€ */
.compact-dashboard { padding: 40px 20px; max-width: 1400px; margin: 0 auto; min-height: calc(100vh - 120px); height: auto; display: flex; flex-direction: column; justify-content: center; }
.compact-header { margin-bottom: 40px; }
.compact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.market-panel {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
}
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; }
.panel-header h2 { font-size: 20px; color: var(--gold); }
.panel-header .badge { background: var(--border); font-size: 10px; padding: 4px 8px; border-radius: 4px; font-weight: bold; }

.mini-cards { display: flex; flex-direction: column; gap: 12px; }
.trading-card.mini {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    text-align: left;
    box-shadow: none;
    border-radius: 6px;
    background: #0a0a0c;
}
.trading-card.mini .card-label { margin: 0; font-size: 11px; }
.trading-card.mini .card-price { margin: 0; font-size: 18px; text-align: center; }
.trading-card.mini .card-change { justify-content: flex-end; font-size: 11px; }

/* â”€â”€ CATEGORIES â”€â”€ */
.view-all { font-size: 13px; color: var(--gold); font-weight: 500; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

.cat-card {
    position: relative;
    border: none;
    border-radius: 8px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    align-items: center;
    text-decoration: none;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    image-rendering: auto;
}
.cat-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.cat-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}
.cat-card:hover .cat-overlay {
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}
.cat-content {
    position: relative;
    z-index: 2;
    padding: 20px 10px;
    width: 100%;
}
.cat-title { 
    font-size: 15px; 
    font-weight: 700; 
    color: #ffffff; 
    margin: 0; 
    letter-spacing: 1px; 
    text-transform: uppercase;
}


/* â”€â”€ HERO SECTION â”€â”€ */
.hero-section {
    padding: 80px 20px 40px;
    text-align: center;
    background: radial-gradient(circle at 50% -20%, rgba(230, 183, 65, 0.15), transparent 60%);
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-content h1 {
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(230, 183, 65, 0.2);
}
.hero-content p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* â”€â”€ DESIGN CATALOG â”€â”€ */
.filter-controls { display: flex; gap: 10px; }
.filter-btn { background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-secondary); padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; margin-bottom: 40px; }
@media (min-width: 1024px) {
    .catalog-grid { grid-template-columns: repeat(4, 1fr); }
}
.product-card {
    background: var(--bg-surface); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--gold-dark); }
.product-img {
    width: 100%; aspect-ratio: 1/1;
    background: linear-gradient(110deg, #f7f7f7 8%, #efefef 18%, #f7f7f7 33%);
    background-size: 200% 100%;
    animation: imgShimmer 1.5s linear infinite;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
@keyframes imgShimmer {
    to { background-position-x: -200%; }
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    image-rendering: auto;
    transition: transform 0.35s ease;
}
.product-card:hover .product-img img {
    transform: scale(1.06);
}
.product-info { padding: 15px; display: flex; flex-direction: column; gap: 8px; }
.product-header { display: flex; justify-content: space-between; align-items: flex-start; }
.product-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.product-code { font-size: 11px; font-family: monospace; background: rgba(230, 183, 65, 0.1); color: var(--gold); padding: 2px 6px; border-radius: 4px; }
.product-details { font-size: 12px; color: var(--text-secondary); display: flex; justify-content: space-between; }
.product-actions { margin-top: 10px; display: flex; gap: 10px; }
.btn-inquire { flex: 1; background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 8px; border-radius: 4px; font-size: 12px; font-weight: 600; text-align: center; transition: all 0.3s; }
.btn-inquire:hover { background: var(--gold); color: #000; }

.load-more { text-align: center; }
.btn-primary { background: var(--gold); color: #000; padding: 12px 30px; border-radius: 4px; font-size: 14px; font-weight: 600; display: inline-block; transition: background 0.3s; }
.btn-primary:hover { background: #ffffff; }

/* CATALOG PAGINATION */
.catalog-pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 50px;
}
.pagination-info {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    font-weight: 500;
}
.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.pagination-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.pagination-btn:hover:not(:disabled) {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(230, 183, 65, 0.25);
}
.pagination-btn.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(230, 183, 65, 0.35);
}
.pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: var(--border);
}
.pagination-ellipsis {
    padding: 0 6px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* â”€â”€ NEW ARRIVALS â”€â”€ */
.new-arrivals-section { text-align: center; padding: 60px 20px; }
.new-arrivals-header { margin-bottom: 40px; }
.just-in-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--gold); color: var(--gold); padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px; }
.just-in-badge .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.new-arrivals-header h2 { font-size: 48px; color: #fff; margin-bottom: 15px; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -1px; }
.new-arrivals-header p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; }

/* â”€â”€ LET'S CONNECT (NEW INQUIRY SECTION) â”€â”€ */
.connect-section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.connect-title { font-size: 28px; font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 30px; }
.connect-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.connect-info { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: rgba(20, 20, 25, 0.8); border: 1px solid var(--border); border-radius: 12px; padding: 25px; display: flex; align-items: flex-start; gap: 20px; }
.info-card .icon-box { background: linear-gradient(135deg, #e6b741, #f9e29c); width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #000; flex-shrink: 0; }
.info-text strong { display: block; font-size: 12px; color: var(--gold); letter-spacing: 1px; margin-bottom: 8px; }
.info-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

.connect-form-box { background: rgba(20, 20, 25, 0.8); border: 1px solid var(--border); border-radius: 12px; padding: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; color: var(--text-secondary); letter-spacing: 1px; margin-bottom: 8px; text-transform: uppercase; }
.form-group input, .form-group textarea { width: 100%; background: #1a1a20; border: 1px solid var(--border); border-radius: 6px; padding: 12px 15px; color: #fff; font-family: 'Inter', sans-serif; font-size: 14px; outline: none; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: none; }
.btn-send { width: 100%; background: linear-gradient(135deg, #e6b741, #f9e29c); color: #000; border: none; padding: 15px; border-radius: 6px; font-weight: 700; font-size: 14px; letter-spacing: 1px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform 0.3s; }
.btn-send:hover { transform: translateY(-2px); }

/* â”€â”€ PRODUCT MODAL â”€â”€ */
/* --- AESTHETIC LIGHT PRODUCT MODAL --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.72); backdrop-filter: blur(8px); z-index: 99999 !important; isolation: isolate; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: #ffffff; width: 100%; max-width: 1000px; border-radius: 24px; box-shadow: 0 25px 80px rgba(0,0,0,0.15); position: relative; max-height: 90vh; overflow-y: auto; color: #222; }
.close-modal { position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,0.05); width: 40px; height: 40px; border-radius: 50%; border: none; color: #555; font-size: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: all 0.3s ease; }
.close-modal:hover { background: rgba(0,0,0,0.1); color: #000; transform: rotate(90deg); }

.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 40px; }
.modal-image-col { background: #fafafa; border-radius: 16px; padding: 30px; position: relative; display: flex; flex-direction: column; }
.breadcrumb { color: #888; font-size: 13px; font-weight: 500; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.image-slider { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.slider-counter { position: absolute; top: 0; right: 0; background: #fff; color: #000; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; color: #000; border: none; width: 45px; height: 45px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.1); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.slider-nav:hover { background: #f0f0f0; transform: translateY(-50%) scale(1.1); }
.slider-nav.prev { left: 5px; }
.slider-nav.next { right: 5px; }

.modal-info-col { display: flex; flex-direction: column; justify-content: center; padding-right: 20px; }
.modal-product-title { font-size: 42px; font-weight: 600; font-family: 'Playfair Display', serif; margin-bottom: 10px; color: #111; letter-spacing: -0.5px; }
.modal-product-code { color: #666; font-size: 14px; margin-bottom: 25px; font-weight: 500; }
.modal-product-code span { background: #f8f1e3; padding: 4px 10px; border-radius: 6px; color: #b8860b; font-weight: 600; letter-spacing: 0.5px; }
.modal-desc { font-size: 16px; line-height: 1.6; margin-bottom: 35px; color: #555; }

.modal-details-table { background: #fafafa; border: 1px solid #eee; border-radius: 16px; padding: 25px; margin-bottom: 40px; }
.detail-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #eaeaea; font-size: 14px; }
.detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-label { color: #777; font-weight: 500; }
.detail-value { color: #111; font-weight: 600; }
.availability { display: flex; align-items: center; gap: 8px; }
.availability .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.availability .dot.green { background: #25D366; }
.availability .dot.orange { background: #ffa500; }

.modal-actions { display: flex; gap: 15px; }
.modal-actions button { flex: 1; padding: 16px; border-radius: 50px; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.btn-whatsapp { background: #25D366; color: #fff; border: none; }
.btn-whatsapp:hover { background: #20b858; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.btn-contact { background: #111; color: #fff; border: none; }
.btn-contact:hover { background: #333; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
/* -------------------------------------- */
/* â”€â”€ CATEGORY CATALOG VIEWER (FLIPBOOK) â”€â”€ */
/* --- AESTHETIC LIGHT CATEGORY CATALOG VIEWER (FLIPBOOK) --- */
.catalog-viewer-content { max-width: 1200px; height: 90vh; display: flex; flex-direction: column; background: #ffffff; padding: 0; overflow: hidden; border-radius: 24px; box-shadow: 0 25px 80px rgba(0,0,0,0.15); }
.catalog-viewer-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 80px 25px 40px; border-bottom: 1px solid #eaeaea; background: #fff; }
.catalog-viewer-header h2 { color: #111; font-size: 28px; font-family: 'Playfair Display', serif; font-weight: 600; letter-spacing: -0.5px; margin: 0; }
.catalog-page-counter { background: #f8f1e3; color: #b8860b; padding: 8px 18px; border-radius: 20px; font-weight: 600; font-size: 14px; letter-spacing: 0.5px; }
.catalog-viewer-body { flex: 1; width: 100%; overflow-y: auto; background: #fafafa; padding: 40px; position: relative; }
.catalog-image-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.catalog-image-container img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); transition: transform 0.3s ease; }
.catalog-nav { position: absolute; top: 50%; transform: translateY(-50%); background: #ffffff; color: #111; border: none; width: 55px; height: 55px; border-radius: 50%; font-size: 20px; cursor: pointer; transition: all 0.3s ease; z-index: 10; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.catalog-nav:hover { background: #f0f0f0; transform: translateY(-50%) scale(1.1); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.catalog-nav.prev { left: 30px; }
.catalog-nav.next { right: 30px; }


/* RESPONSIVE */
@media (max-width: 1024px) {
    .compact-grid { grid-template-columns: 1fr; }
    .compact-dashboard { height: auto; }
}

@media (max-width: 900px) {
    .dashboard-container { flex-direction: column; align-items: stretch; text-align: center; }
    .dashboard-text p { margin: 0 auto; }
    .rates-cards { flex-direction: column; }
    .nav-links { display: none; }
    .top-bar-inner { flex-direction: column; gap: 5px; }
    
    .connect-container { grid-template-columns: 1fr; }
    .modal-body { grid-template-columns: 1fr; }
}



/* --- MISSING ADDITIONS --- */
html, body { overflow-x: hidden; max-width: 100vw; }

/* SHOP BY TYPE HEADER */
.shop-by-type-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 4px;
    color: #111;
    margin: 30px 0 50px 0;
    text-transform: uppercase;
}
.sbt-text { margin: 0 15px; }
.sbt-icon { font-size: 14px; color: #111; margin: 0 15px; }
.sbt-line { flex: 0 1 80px; height: 1px; background-color: #111; }

/* NEW PAYMENT CARDS */
.pay-card {
    background: #ffffff;
    border-radius: 4px;
    height: 45px;
    min-width: 75px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.pay-card:hover { transform: translateY(-2px); }
.pay-card.visa { color: #1a1f71; font-size: 28px; }
.pay-card.mastercard { color: #eb001b; font-size: 28px; }
.pay-card.paypal { color: #003087; font-size: 28px; }
.pay-card.upi { color: #5c6266; font-size: 20px; font-style: italic; font-weight: 800; }
.pay-card.amex { color: #2671b9; font-size: 28px; }
.pay-card.netbanking { color: #003087; gap: 6px; }
.pay-card.netbanking i { font-size: 16px; }
.pay-card.netbanking span { font-size: 12px; font-weight: 700; font-family: 'Inter', sans-serif; }

/* --- LUXURY NAVBAR --- */
.navbar {
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.84) 0%, rgba(10, 10, 12, 0.45) 70%, rgba(10, 10, 12, 0) 100%) !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    padding: 18px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled, .navbar.navbar-solid {
    background: rgba(10, 10, 12, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    padding: 10px 50px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}
.navbar.scrolled .main-logo-img, .navbar.navbar-solid .main-logo-img {
    height: 60px;
}
.navbar.scrolled .nav-bottom, .navbar.navbar-solid .nav-bottom {
    margin-top: 8px;
}
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 6px;
}
.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.nav-top-left, .nav-top-right, .nav-top-center { flex: 1; }
.nav-top-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}
.nav-top-center { text-align: center; }
.logo {
    font-size: 38px;
    color: #ffffff !important;
    letter-spacing: 5px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
}
.nav-bottom {
    margin-top: 18px;
    display: flex;
    gap: 40px;
    justify-content: center;
    width: 100%;
    transition: margin-top 0.3s ease;
}
.nav-main-link {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.nav-main-link:hover { color: var(--gold); }
.nav-action-item {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    padding: 6px 8px;
    text-decoration: none;
    font-family: inherit;
    text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.nav-action-item:hover { color: var(--gold); }

/* --- PERFECT HERO FIX --- */
.hero-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 44.47%; /* Aspect ratio trick */
    background-image: url('../images/hero_everstylish.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border: none;
}
.hero-section::before, .hero-section::after {
    display: none !important;
}

/* --- DARK THEME OVERRIDES --- */
body.dark-theme { background-color: #0a0a0c; color: #ffffff; }
body.dark-theme .rates-dashboard { background-color: #0a0a0c; padding-top: 180px; padding-bottom: 80px; }
body.dark-theme .dashboard-header h1 { color: #ffffff; text-align: center; font-size: 42px; margin-bottom: 50px; }
body.dark-theme .market-panel {
    background: #15151a; border: 1px solid #2a2a35; border-radius: 20px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); position: relative; overflow: hidden;
}
body.dark-theme .market-panel::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.4s;
}
body.dark-theme .market-panel:hover { transform: translateY(-8px); border-color: rgba(255,143,163, 0.4); box-shadow: 0 20px 50px rgba(255,143,163, 0.1); }
body.dark-theme .market-panel:hover::before { opacity: 1; }
body.dark-theme .panel-header h2 { color: #ffffff; font-size: 24px; letter-spacing: 1px; }
body.dark-theme .badge { background: var(--gold); color: #000; font-weight: 700; padding: 5px 12px; border-radius: 20px; font-size: 11px; letter-spacing: 1px; }
body.dark-theme .trading-card.mini { background: #0d0d12; border: 1px solid #2a2a35; border-radius: 12px; padding: 20px; margin-bottom: 12px; transition: background 0.3s; }
body.dark-theme .trading-card.mini:hover { background: #1a1a24; }
body.dark-theme .trading-card.mini .card-price { color: #ffffff; font-size: 20px; font-weight: 700; }
body.dark-theme .trading-card.mini .card-label { color: #888899; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }


/* --- JOURNEY SECTION --- */
.journey-section { padding: 80px 20px; background: var(--bg-main); }
.journey-container { max-width: 800px; margin: 0 auto; }
.journey-header { text-align: center; margin-bottom: 50px; }
.journey-header h2 { font-size: 36px; margin: 15px 0; color: var(--text-primary); }
.journey-header p { color: var(--text-secondary); line-height: 1.6; }

.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: translateX(-50%); }
.timeline-item { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 50px; position: relative; width: 100%; }
.timeline-item:nth-child(even) { justify-content: flex-end; }
.timeline-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; background: var(--gold); border: 4px solid #f9f9fa; border-radius: 50%; top: 50%; margin-top: -8px; z-index: 2; box-shadow: 0 0 0 2px var(--gold); }
.timeline-content { width: 45%; padding: 0 30px; text-align: right; }
.timeline-item:nth-child(even) .timeline-content { text-align: left; }
.timeline-year { font-weight: 700; color: var(--gold); font-size: 24px; margin-bottom: 5px; }
.timeline-content h3 { font-size: 20px; margin-bottom: 10px; color: var(--text-primary); }
.timeline-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }



/* FEATURED COLLAGE */
.featured-collage-section { padding: 60px 20px; background: var(--bg-main); max-width: 1200px; margin: 0 auto; }
.featured-collage-container { display: flex; flex-direction: column; gap: 20px; }
.collage-top-row, .collage-bottom-row { display: flex; gap: 20px; justify-content: space-between; }
.collage-top-row { height: 340px; }
.collage-bottom-row { height: 246px; }
.collage-img-wrapper { flex: 1; border-radius: 8px; overflow: hidden; }
.collage-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.collage-img-wrapper:hover img { transform: scale(1.05); }
.collage-text-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.collage-text-center h2 { font-size: 36px; color: var(--text-primary); text-transform: uppercase; letter-spacing: 4px; line-height: 1.3; margin-top: 15px; }
.line-decorator { width: 40px; height: 2px; background: var(--gold); margin-bottom: 5px; }

/* NEWSLETTER SECTION */
.newsletter-section { padding: 80px 20px; background: var(--bg-surface); text-align: center; }
.newsletter-container { max-width: 800px; margin: 0 auto; }
.newsletter-container h2 { font-size: 32px; color: var(--text-primary); margin-bottom: 20px; letter-spacing: 2px; }
.newsletter-container h2 span { font-style: italic; color: var(--gold); }
.newsletter-container p { color: var(--text-secondary); margin-bottom: 30px; font-size: 15px; }
.newsletter-form { display: flex; flex-direction: column; gap: 15px; max-width: 400px; margin: 0 auto; }
.newsletter-form input { padding: 12px 20px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-main); color: var(--text-primary); font-size: 14px; }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.btn-subscribe { background: var(--gold); color: #000; padding: 12px; font-weight: 700; border-radius: 4px; letter-spacing: 1px; transition: transform 0.3s; }
.btn-subscribe:hover { transform: translateY(-2px); }



/* COMPREHENSIVE FOOTER */
.main-footer { background-color: #0a0a0c; color: #ffffff; padding: 70px 20px 30px; border-top: none; }
.footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; margin-bottom: 50px; }
.footer-col h3 { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 20px; letter-spacing: 2px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #a0a0a5; font-size: 14px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col.contact-col p { color: #a0a0a5; font-size: 14px; margin-bottom: 15px; line-height: 1.6; }
.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-icons a { background: transparent !important; font-size: 24px; transition: all 0.3s; width: auto; height: auto; border-radius: 0; display: inline-flex; align-items: center; justify-content: center; }
.social-icons a:hover { transform: translateY(-3px); background: transparent !important; }
.footer-bottom { border-top: 1px solid #222; padding-top: 30px; text-align: center; max-width: 1200px; margin: 0 auto; }
.footer-payments { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 25px; }
.footer-bottom p { color: #777; font-size: 13px; letter-spacing: 1px; }


/* --- PREMIUM SECTION BACKGROUNDS --- */
.categories-section { background-color: #ffffff; }
.featured-collage-section { background-color: #faf8f5; border-top: 1px solid #f0ece1; border-bottom: 1px solid #f0ece1; }
.trust-banner-section { background-color: #ffffff; }
.catalog-section { background-color: #ffffff; padding-bottom: 40px; margin-bottom: 0; }
.journey-section { background-color: #f9f9fa; border-top: 1px solid #eeeeef; }
.connect-section { background-color: #faf8f5; border-top: 1px solid #f0ece1; }
.newsletter-section { background-color: #ffffff; }


/* --- HERO HOTSPOT (Clickable Overlay for Image Button) --- */
.hero-view-all-hotspot {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    cursor: pointer;
    z-index: 10;
}







/* Original Brand Colors */
.social-icons .fa-facebook-f { color: #1877F2 !important; }
.social-icons .fa-instagram { color: #E4405F !important; }
.social-icons .fa-x-twitter { color: #ffffff !important; }
.social-icons .fa-youtube { color: #FF0000 !important; }
.social-icons .fa-pinterest-p { color: #E60023 !important; }


/* --- NAVBAR LOGO DESKTOP STYLES (Moved from Inline) --- */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    margin-top: -15px;
}
.main-logo-img {
    height: 120px;
    filter: drop-shadow(0px 4px 15px rgba(0,0,0,0.15));
    transition: height 0.3s ease;
}

/* --- ACCESSIBILITY & UTILITY --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.catalog-page-counter {
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- WISHLIST & SEARCH MODAL --- */
.wishlist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 12px;
    background: #fafafa;
}
.wishlist-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    flex-shrink: 0;
}
.wishlist-item-info {
    flex: 1;
    min-width: 0;
}
.wishlist-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wishlist-item-meta {
    font-size: 12px;
    color: #666;
}
.wishlist-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.wishlist-action-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    min-height: 36px;
}
.wishlist-action-btn.view {
    background: var(--gold);
    color: #000;
}
.wishlist-action-btn.remove {
    background: #f5e6e8;
    color: #b32856;
}

/* --- LEFT-SIDE SLIDE-OUT NAVIGATION DRAWER --- */
.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.48);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    width: min(84vw, 340px);
    background: #ffffff;
    color: #1a1a1a;
    z-index: 9999;
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.16);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.nav-drawer.open {
    transform: translateX(0);
    visibility: visible;
}
.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 18px 24px;
    border-bottom: 1px solid #ece8e1;
}
.nav-drawer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.nav-drawer-logo {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}
.nav-drawer-close {
    background: transparent;
    border: none;
    color: #1a1a1a;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-drawer-close:hover {
    background-color: #f6f4ef;
    color: #000000;
}
.nav-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0 24px;
}
.nav-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ece8e1;
    letter-spacing: 0.2px;
    min-height: 54px;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.nav-drawer-link:hover,
.nav-drawer-link:focus-visible {
    background-color: #faf8f4;
    color: #8f6b1e;
    padding-left: 28px;
}
.nav-drawer-link i {
    font-size: 14px;
    color: #999;
    transition: color 0.2s ease, transform 0.2s ease;
}
.nav-drawer-link:hover i {
    color: #8f6b1e;
    transform: translateX(2px);
}
.nav-drawer-link--whatsapp i {
    font-size: 17px;
    color: #25d366;
}

/* --- MOBILE RESPONSIVENESS FIXES --- */
@media (max-width: 900px) {
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(10, 10, 12, 0.72) 0%, rgba(10, 10, 12, 0.30) 70%, rgba(10, 10, 12, 0) 100%) !important;
        backdrop-filter: none !important;
        padding: 4px 12px !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }
    .navbar.scrolled,
    .navbar.navbar-solid {
        background: rgba(10, 10, 12, 0.88) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
    }
    .navbar.navbar-solid {
        position: sticky !important;
    }
    
    .nav-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        position: relative;
    }
    
    .nav-top-left {
        display: flex !important;
        align-items: center;
        flex: 1;
    }
    .mobile-menu-btn {
        display: inline-flex !important;
    }
    
    .nav-top-center {
        flex: 1;
        text-align: center;
        margin-top: 0;
    }
    .logo-container {
        margin-top: 0 !important;
    }
    
    .main-logo-img {
        height: 42px !important;
        filter: drop-shadow(0 1px 4px rgba(0,0,0,0.45)) !important;
    }
    
    .nav-top-right {
        position: static;
        flex: 1;
        display: flex;
        justify-content: flex-end;
        gap: 2px;
    }
    
    .nav-action-item {
        font-size: 0 !important;
        background: transparent !important;
        padding: 0 !important;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        color: #fff !important;
    }
    .nav-action-item span:not(#navFavCount) {
        display: none;
    }
    .nav-action-item i {
        font-size: 18px !important;
    }

    #navFavCount {
        top: 4px !important;
        left: 24px !important;
        background: #b32856 !important;
    }
    
    .nav-bottom {
        display: none !important;
    }

    .main-footer {
        padding-bottom: 85px !important;
    }
    .footer-col ul li a {
        display: inline-block;
        padding: 8px 0;
        min-height: 36px;
    }
    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        min-height: 40px;
    }
    .whatsapp-float {
        width: 48px !important;
        height: 48px !important;
        font-size: 26px !important;
        bottom: 16px !important;
        right: 16px !important;
    }
}

/* --- MOBILE 2-COLUMN GRID & MODAL FIXES (<= 768px) --- */
@media (max-width: 768px) {
    /* Filter pills tap-friendly */
    .filter-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .filter-btn {
        min-height: 40px;
        padding: 8px 14px;
    }

    /* 1. Shop by Type: 2 category cards per row */
    .categories-section {
        padding: 25px 12px 20px !important;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .cat-card {
        border-radius: 8px !important;
    }
    .cat-content {
        padding: 12px 6px !important;
    }
    .cat-title {
        font-size: 13px !important;
        letter-spacing: 0.5px !important;
    }

    /* 2. All Designs: 2 product cards per row */
    .catalog-section {
        padding: 25px 12px 40px !important;
    }
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 24px !important;
    }
    .product-card {
        border-radius: 8px !important;
    }
    .product-img {
        padding: 4px !important;
    }
    .product-info {
        padding: 10px 8px !important;
        gap: 4px !important;
    }
    .product-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }
    .product-name {
        font-size: 12px !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-code {
        font-size: 10px !important;
        padding: 1px 4px !important;
    }
    .customization-note {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    /* Mobile pagination adjustment */
    .pagination-controls {
        gap: 4px !important;
    }
    .pagination-btn {
        min-width: 36px !important;
        height: 40px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }
    .pagination-info {
        font-size: 12px !important;
    }

    /* Mobile modal overflow & header fixes */
    .modal-overlay {
        padding: 10px !important;
    }
    .modal-content {
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        border-radius: 16px !important;
    }
    .modal-body {
        padding: 20px 16px !important;
        gap: 20px !important;
    }
    .modal-image-col {
        padding: 16px !important;
    }
    .modal-info-col {
        padding-right: 0 !important;
    }
    .breadcrumb {
        font-size: 11px !important;
        white-space: normal;
        word-break: keep-all;
    }
    .catalog-viewer-header {
        padding: 16px 56px 16px 16px !important;
        gap: 10px;
    }
    .catalog-viewer-header h2 {
        font-size: 18px !important;
    }
    .catalog-page-counter {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    .promises-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* --- PREMIUM AUTHENTICATION & ACCOUNT MODAL --- */
.auth-modal-card {
    max-width: 440px !important;
    padding: 40px 34px 34px !important;
    text-align: center;
    border-radius: 26px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffcf8 100%) !important;
    color: #1a1a1a !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid #f2ece1;
    animation: authModalPop 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes authModalPop {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-close-btn {
    top: 16px !important;
    right: 16px !important;
    width: 38px !important;
    height: 38px !important;
    background: #f4f2ee !important;
    color: #444 !important;
}
.auth-back-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #f4f2ee;
    color: #444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}
.auth-back-btn:hover {
    background: #eae6de;
    color: #111;
}
.auth-title {
    margin: 0 0 8px;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #141414;
    letter-spacing: -0.2px;
}
.auth-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #6b6b6b;
}
.auth-field {
    margin-bottom: 14px;
    text-align: left;
}
.auth-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e6e2da;
    background: #fafafa;
    color: #141414;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-input:focus {
    border-color: #a61e4d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(166, 30, 77, 0.1);
}
.auth-input-wrap .auth-input {
    padding-right: 46px;
}
.auth-eye-btn {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: #777;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
}
.auth-eye-btn:hover { color: #222; background: rgba(0,0,0,0.04); }
.auth-phone-row {
    display: flex;
    gap: 8px;
}
.auth-select {
    width: 112px;
    flex-shrink: 0;
    padding: 14px 10px;
    border-radius: 12px;
    border: 1px solid #e6e2da;
    background: #fafafa;
    color: #141414;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    outline: none;
}
.auth-select:focus {
    border-color: #a61e4d;
    background: #fff;
}
.auth-otp-input {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 8px;
    padding: 14px 12px;
}
.auth-row-end {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 18px;
}
.auth-link-btn {
    background: transparent;
    border: none;
    color: #a61e4d;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 2px;
    font-family: inherit;
}
.auth-link-btn:hover { text-decoration: underline; }
.auth-link-bold { font-weight: 700; }
.auth-primary-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #b32856 0%, #8f1940 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(179, 40, 86, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
}
.auth-primary-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(179, 40, 86, 0.36);
}
.auth-primary-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: #999;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ece8e1;
}
.auth-social-row,
.auth-profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.auth-alt-btn {
    flex: 1;
    padding: 12px 14px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid #e2ded6;
    background: #ffffff;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.auth-alt-btn:hover:not(:disabled) {
    border-color: #c9c2b6;
    background: #faf8f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.auth-footer-switch {
    margin: 22px 0 0;
    font-size: 14px;
    color: #666;
}
.auth-alert {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 16px;
    text-align: left;
}
.auth-alert--error {
    background: #fdf0ef;
    color: #b42318;
    border: 1px solid #f9d0cc;
}
.auth-alert--success {
    background: #ecfdf3;
    color: #067647;
    border: 1px solid #abefc6;
}
.auth-strength { margin-top: 8px; }
.auth-strength-bar {
    height: 5px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}
.auth-strength-bar span {
    display: block;
    height: 100%;
    width: 0;
    transition: width 0.25s ease, background-color 0.25s ease;
    background: #e11d48;
}
.auth-strength-bar span[data-score="2"] { background: #f59e0b; }
.auth-strength-bar span[data-score="3"] { background: #10b981; }
.auth-strength-bar span[data-score="4"] { background: #059669; }
.auth-strength-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}
.auth-otp-resend {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}
.auth-otp-resend button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: none;
}
.auth-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: #fdf2f6;
    color: #b32856;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.auth-status-icon--ok {
    background: #ecfdf3;
    color: #059669;
}
.auth-profile-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}
.auth-avatar-img,
.auth-avatar-fallback {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 2px solid #e6b741;
}
.auth-avatar-fallback {
    background: linear-gradient(135deg, #b32856 0%, #8f1940 100%);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.auth-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f4f2ee;
    color: #666;
}
.auth-badge.verified {
    background: #ecfdf3;
    color: #067647;
}
.auth-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: authSpin 0.7s linear infinite;
}
@keyframes authSpin { to { transform: rotate(360deg); } }
.auth-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: #141414;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.28);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    max-width: 90vw;
    text-align: center;
}
.auth-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
.auth-toast.error { background: #b42318; }
@media (max-width: 480px) {
    .auth-modal-card {
        padding: 36px 20px 26px !important;
        border-radius: 20px !important;
    }
    .auth-title { font-size: 26px; }
}
