/* ===========================================
   GLOBAL STYLING
=========================================== */
:root {
    --accent-gold: #FFD700;
}

body {
    background: #F5F6FA !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1A1A1A;
}

/* Remove default outlines */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ===========================================
   NAVBAR THEME (JEWELLERY BLUE)
=========================================== */
.navbar {
    background-color: #474FED !important;
    padding: 12px 0;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #FFD700 !important; /* Gold hover */
}

.dropdown-menu {
    border-radius: 12px !important;
    border: 1px solid #E5E7EB !important;
}

/* ===========================================
   FORMS + SEARCH + DROPDOWNS
=========================================== */
.form-control,
.form-select {
    height: 46px;
    border-radius: 12px !important;
    border: 1px solid #D1D5DD !important;
    background-color: #ffffff !important;
    font-size: 0.9rem;
}

.filter-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #E4E7EB;
    padding: 14px 16px;
}

/* ===========================================
   PRODUCT LISTING CARDS
=========================================== */
.product-card {
    border-radius: 16px !important;
    border: 1px solid #E4E7EB !important;
    overflow: hidden;
    background: #ffffff;
    transition: all .22s ease-in-out;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.09);
}

/* Product image */
.product-image-wrap {
    background: #F2F3F7;
    height: 180px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name {
    font-size: 0.96rem;
    font-weight: 600;
    color: #242424;
}

.product-sku {
    font-size: 0.78rem;
    color: #9093A1;
}

.badge-moq {
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: #EEE8FF;
    color: #7C3AED;
}

.price-text {
    font-size: 1rem;
    font-weight: 600;
    color: #0D1E3C;
}

/* Stock colors */
.stock-green {
    color: #00a149;
    font-weight: 600;
}
.stock-red {
    color: #E54848;
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background-color: #0D1E3C !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 0.85rem;
}
.btn-primary:hover {
    background-color: #091027 !important;
}

.btn-enquiry,
.btn-outline-primary {
    border-radius: 12px !important;
}

/* ===========================================
   PRODUCT VIEW PAGE
=========================================== */
/* Main image smaller */
.pv-main-wrap {
    width: 100%;
    height: 350px;
    background: #f2f3f7;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.pv-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

/* Thumbnails */
.pv-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.pv-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid #E6E7EB;
    object-fit: cover;
    cursor: pointer;
}
.pv-thumb-active {
    border-color: #474FED;
}

/* Info text */
.pv-name {
    font-size: 1.15rem;
    font-weight: 600;
}
.pv-meta {
    font-size: 0.9rem;
    color: #777;
}
.pv-label {
    font-size: 0.8rem;
    color: #6a6f7b;
}
.pv-value {
    font-weight: 600;
}
.pv-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0D1E3C;
}

/* Description table */
.pv-desc-box {
    border-radius: 18px;
    background: #ffffff;
    padding: 18px;
    border: 1px solid #E4E7EB;
}

.pv-desc-table th {
    width: 140px;
    font-size: 0.85rem;
    color: #6b7280;
}
.pv-desc-table td {
    font-size: 0.88rem;
    color: #2F2F33;
}

/* Sticky CTA bottom */
.pv-bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 10px;
    z-index: 2000;
}
@media (min-width: 768px) {
    .pv-bottom-bar {
        width: 80%;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 999px 999px 0 0;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    }
}
.pv-qty-input {
    max-width: 80px;
    border-radius: 10px !important;
}

/* Zoom popup fix */
.medium-zoom-overlay,
.medium-zoom-image--opened {
    z-index: 9999 !important;
}
.medium-zoom-overlay {
    background: rgba(0,0,0,0.88) !important;
}

/* ===========================================
   TABLES, CARDS OTHER PAGES
=========================================== */
.table thead {
    background: #0D1E3C !important;
    color: #ffffff;
}
.table thead th {
    border-color: #0D1E3C !important;
}

.card {
    border-radius: 14px !important;
    border: 1px solid #E4E7EB !important;
}

/* ===========================================
   BADGES
=========================================== */
.badge {
    border-radius: 999px !important;
}

/* ===========================================
   ANIMATIONS
=========================================== */
.product-card,
.btn-primary,
.form-control {
    transition: all .18s;
}
.btn-gold-outline {
    border: 1.5px solid var(--accent-gold);
    color: var(--accent-gold);
    background: #fff;
}

.btn-gold-outline:hover {
    background: var(--accent-gold);
    color: #fff;
}
.btn:focus,
.btn:active {
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25) !important;
}
/* FORCE FIX – Change Password button */
.change-pass-btn{
    display: block !important;
    width: 100%;
    padding: 12px 16px !important;
    margin-top: 16px;
    border: 2px solid #FFD700 !important;
    background-color: transparent !important;
    color: #FFD700 !important;
    font-weight: 600;
    text-align: center;
    border-radius: 12px !important;
}

.change-pass-btn:hover{
    background-color: #FFD700 !important;
    color: #000 !important;
}
/* ===== FORCE CUSTOM BUTTON (Change Password) ===== */
.change-pass-btn{
    display: block;
    width: 100%;
    padding: 12px 16px;
    margin-top: 18px;

    background-color: transparent;
    border: 2px solid #FFD700;

    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;

    border-radius: 12px;
    cursor: pointer;
}

.change-pass-btn:hover{
    background-color: #FFD700;
    color: #000;
}

