/* 
 * Sukrishglam Premium Design System 
 * Royal Blue & White - Modern jewellery Aesthetic (REFINED)
 */

:root {
    --premium-blue: #002366; /* Elegant Royal Blue */
    --premium-blue-gradient: linear-gradient(135deg, #002366 0%, #003399 100%);
    --premium-blue-soft: rgba(0, 35, 102, 0.05);
    --premium-accent: #DAA520; /* Subtle Gold for highlights */
    --premium-text: #2D2D2D;
    --premium-font-serif: 'Playfair Display', serif;
    --premium-font-sans: 'Inter', sans-serif;
    --premium-gold-dark: #cc9900;
}

.navbar-brand img {
    max-height: 40px !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.premium-logo {
    max-height: 40px !important;
}

.navbar {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    min-height: auto !important;
}

/* Header Compactness Fixes */
.navbar-sticky {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 35, 102, 0.08) !important;
    border-bottom: 1px solid rgba(0, 35, 102, 0.05) !important;
    z-index: 999 !important; /* Ensure header stays below modals */
    position: sticky !important;
    top: 0;
    z-index: 999;
}

/* Fix Modal Overlay Issues */
.modal {
    z-index: 2000 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}


body {
    font-family: var(--premium-font-sans);
    color: var(--premium-text);
    background-color: #FAFAFA;
}

h1, h2, h3, h4, h5, h6, .banner-title, .section-title, .feature-product-title, .arrival-title {
    font-family: var(--premium-font-serif) !important;
    font-weight: 700 !important;
    color: var(--premium-blue) !important;
    letter-spacing: 0.5px !important;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--premium-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Header Refinement */
.navbar-sticky {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 35, 102, 0.08) !important;
    border-bottom: 1px solid rgba(0, 35, 102, 0.05) !important;
}

.premium-icon-circle {
    width: 40px !important; /* Reduced from 48px */
    height: 40px !important;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--premium-blue) !important;
    background: #f8faff !important;
    border: 1px solid #e0e8f5 !important;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 8px rgba(0, 35, 102, 0.05);
}

.premium-icon-circle:hover {
    background: var(--premium-blue) !important;
    border-color: var(--premium-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 35, 102, 0.15);
}

.premium-icon-circle:hover i {
    color: #ffffff !important;
}

.premium-icon {
    color: var(--premium-blue) !important;
    font-size: 20px !important;
    font-weight: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* Font Awesome icon styling - critical overrides */
.premium-icon-circle i.fa,
.premium-icon-circle i.fa-heart,
.premium-icon-circle i.fa-user,
.navbar-tool i.fa {
    color: var(--premium-blue) !important; /* Force darker color */
    font-size: 20px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "FontAwesome" !important;
}

/* Ensure czi icons (cart) also match */
.premium-icon-circle i.czi-cart,
.premium-icon-circle i.czi-cart::before {
    color: var(--premium-blue) !important;
    font-size: 20px !important;
}

/* Cart icon styling */
.navbar-tool i.czi-cart,
.navbar-tool i.czi-cart::before {
    color: var(--premium-blue) !important;
    font-size: 20px !important;
}

.premium-icon-circle:hover i.czi-cart,
.premium-icon-circle:hover i.czi-cart::before {
    color: #ffffff !important;
}

.navbar-tool-icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.navbar-tool-icon-box i {
    color: #ffffff !important;
}

/* Badge styling for cart count */
.premium-badge {
    background: var(--premium-accent) !important; /* Gold badge for notification */
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    padding: 0 4px !important;
    border-radius: 9px !important;
    display: inline-block !important;
    text-align: center !important;
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Navbar tool specific classes */
.navbar-tool {
    position: relative !important;
}

.navbar-tool i,
.navbar-tool .fa {
    color: #ffffff !important;
    display: inline !important;
}

/* Buy Now button and primary buttons visibility */
.btn-primary {
    background: var(--premium-blue-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 35, 102, 0.2) !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 35, 102, 0.3) !important;
    filter: brightness(1.1);
}

.btn-primary:focus,
.btn-primary:active {
    background-color: #001d50 !important;
    border-color: #001d50 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 35, 102, 0.5) !important;
}

.btn-primary:disabled {
    background-color: #b3b3b3 !important;
    border-color: #b3b3b3 !important;
    color: #ffffff !important;
    opacity: 0.65 !important;
}

/* Ensure all product action buttons are visible */
.product-card .btn-primary,
.product-details-sticky .btn-primary,
.product-actions .btn-primary {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Buy Now specific button fix */
button[data-action*="buy"],
button[type="submit"],
.btn[type="submit"] {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.topbar {
    background: var(--premium-blue-gradient) !important;
    padding: 6px 0 !important; /* Reduced from 12px */
    border-bottom: 1px solid rgba(218, 165, 32, 0.2) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.topbar-link {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #fff !important;
    opacity: 1 !important;
    letter-spacing: 0.8px !important;
    transition: all 0.3s ease;
}

.topbar-link:hover {
    color: var(--premium-accent) !important;
}

.topbar-link i {
    color: var(--premium-accent) !important;
    margin-right: 5px;
}

/* Main Navbar */
.navbar-stuck-menu {
    background-color: #ffffff !important;
    border-top: 1px solid #f0f0f0 !important;
    padding: 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.navbar-stuck-menu .container {
    display: flex !important;
    align-items: stretch !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-nav .nav-link {
    color: var(--premium-blue) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    padding: 18px 20px !important;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--premium-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover {
    color: var(--premium-accent) !important;
    transform: translateY(-1px);
}

/* Category Menu Toggle */
.category-menu-toggle-btn {
    background: var(--premium-blue-gradient) !important;
    color: #ffffff !important; /* Explicitly white */
    border-radius: 6px 6px 0 0 !important;
    padding: 15px 28px !important; /* Match inner nav padding */
    font-family: var(--premium-font-serif);
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    border: none !important;
    text-transform: uppercase;
    display: flex !important;
    align-items: center !important;
}

.category-menu-toggle-btn-text, .category-menu-toggle-btn i {
    color: #ffffff !important; /* Force children to be white */
}

/* Search Bar */
.search-form-mobile {
    max-width: 600px;
}

.search-bar-input {
    border: 1.5px solid #e0e8f5 !important;
    border-radius: 40px !important;
    padding: 12px 25px !important;
    font-size: 14px;
    background: #ffffff !important;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0,35,102,0.03) !important;
}

.search-bar-input:focus {
    border-color: var(--premium-blue) !important;
    box-shadow: 0 0 0 4px rgba(0,35,102,0.1) !important;
}

.search_button {
    background: var(--premium-blue-gradient) !important;
    border-radius: 50px !important;
    width: 48px !important;
    height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -52px;
    border: 2px solid #ffffff !important;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,35,102,0.15);
    transition: all 0.3s ease;
}

.search_button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Icons */
.navbar-tool-icon-box {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar-tool-icon-box:hover {
    background-color: var(--premium-blue-soft) !important;
    transform: scale(1.1);
}

/* Slider Overlays */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0,35,102,0.4) 0%, rgba(0,0,0,0) 60%) !important;
    padding-left: 8%;
    z-index: 5;
}

.banner-content {
    max-width: 600px;
    color: #fff;
}

.banner-title {
    font-size: 5rem !important; /* Adjusted from 6rem for better fit in 650px */
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    letter-spacing: -2px;
    font-weight: 800 !important;
}

.banner-subtitle {
    font-family: var(--premium-font-sans);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--premium-accent) !important;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.banner-brand-label {
    font-family: var(--premium-font-sans);
    text-transform: uppercase;
    letter-spacing: 12px;
    font-size: 0.9rem;
    font-weight: 900;
    color: #ffffff !important;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.9;
}

.slider-section, 
.__top-slider-images,
.hero-slider, 
.owl-carousel.hero-slider, 
.hero-slider .owl-stage-outer, 
.hero-slider .owl-stage, 
.hero-slider .owl-item,
.hero-slider .position-relative,
.hero-slider a.d-block {
    height: 650px !important;
    min-height: 650px !important;
    overflow: hidden !important;
}

.__slide-img {
    width: 100% !important;
    height: 650px !important;
    min-height: 650px !important;
    object-fit: cover !important;
    object-position: center !important;
}

.banner-btn {
    display: inline-block !important;
    background: #ffffff !important;
    color: var(--premium-blue) !important;
    border-radius: 50px !important;
    padding: 16px 40px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: 2px solid #ffffff !important;
}

.banner-btn:hover {
    background: transparent !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

/* Product Cards (Premium Polish) */
.premium-product-card, .product-card {
    background: #fff;
    border: 1px solid #f0f3f8 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0,35,102,0.03) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    padding: 10px;
}

/* Watermark Implementation */
.product-card .card-header::after,
.cz-preview-item::after,
.img-container::after,
.__img::after {
    content: 'SUKRISHGLAM';
    position: absolute;
    bottom: 45px;
    right: 15px;
    font-size: 10px;
    font-weight: 800;
    font-family: var(--premium-font-sans);
    color: rgba(218, 165, 32, 0.3); /* Subtle Gold */
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.4) 0%, rgba(184, 134, 11, 0.4) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2.5px;
    pointer-events: none;
    text-transform: uppercase;
    z-index: 10;
}

.__img {
    position: relative;
    display: inline-block;
}

.__img::after {
    bottom: 10px;
    right: 10px;
    font-size: 8px;
}

/* Large view watermark */
.product-details .cz-preview-item::after {
    font-size: 16px;
    bottom: 30px;
    right: 30px;
    opacity: 0.5;
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0,35,102,0.08) !important;
    border-color: rgba(218, 165, 32, 0.3) !important;
}

/* Category Icons Luxury Frame */
.__cat-item, .category-box, .category-item {
    padding: 15px !important;
    transition: all 0.4s ease;
}

.__cat-item img, .category-box img {
    border-radius: 50% !important;
    border: 2px solid #f0f3f8 !important;
    padding: 8px !important;
    background: #fff !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}

.__cat-item:hover img, .category-box:hover img {
    border-color: var(--premium-accent) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.2) !important;
}

.category-title {
    font-family: var(--premium-font-serif) !important;
    font-weight: 600 !important;
    color: var(--premium-blue) !important;
    margin-top: 12px !important;
    font-size: 0.95rem !important;
}

.product-title {
    font-family: var(--premium-font-serif);
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--premium-blue) !important;
    margin-top: 5px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-title:hover {
    color: var(--premium-gold-dark) !important;
}

.product-price {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--premium-blue) !important;
}

.for-discount-value {
    background: var(--premium-accent) !important;
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%) !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(184, 134, 11, 0.3) !important;
    z-index: 2;
}

.flash-product-price {
    color: var(--premium-blue) !important;
    font-size: 1.15rem !important;
}

.tio-star, .tio-star-half {
    color: var(--premium-accent) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--premium-blue);
    border-radius: 10px;
}

/* ============ FOOTER FULL OVERRIDES ============ */

/* Info bar (About Us / Contact / FAQ row at top of footer) */

.footer-slide-item {
    background-color: #003399 !important; /* Royal Blue match */
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-slide-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
}

.footer-slide-item a,
.footer-slide-item h2,
.footer-slide-item p,
.footer-slide-item small {
    color: #fff !important;
}

/* Main page footer */
.page-footer {
    background: #000c24 !important;
}

.page-footer .custom-light-primary-color-20 {
    background: #001650 !important; /* Slightly lighter royal blue for main footer content */
}

/* Footer headers */
.footer-header {
    font-family: var(--premium-font-serif) !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 1.5px solid rgba(218, 165, 32, 0.2) !important; /* Golden tint border */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block !important;
    font-weight: 700 !important;
}

/* Footer links */
.widget-list-link,
.page-footer a {
    color: rgba(255,255,255,0.75) !important;
    transition: all 0.25s ease;
    text-decoration: none;
}

.widget-list-link:hover,
.page-footer a:hover {
    color: #fff !important;
    padding-left: 4px;
}

/* Footer contact text */
.start_address span,
.start_address a {
    color: rgba(255,255,255,0.8) !important;
}

/* Footer address text */
.__text-14px {
    color: rgba(255,255,255,0.8);
}

/* Newsletter subscribe button */
.subscribe-button {
    background-color: var(--premium-blue) !important;
    color: #fff !important;
    border: none;
    font-weight: 600;
    border-radius: 0 4px 4px 0 !important;
}

.subscribe-border {
    border: 1px solid rgba(255,255,255,0.2) !important;
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-radius: 4px 0 0 4px !important;
}

.subscribe-border::placeholder {
    color: rgba(255,255,255,0.5);
}

/* Copyright strip */
.bg-white-overlay-50 {
    background: rgba(0,0,0,0.3) !important;
}

.bg-white-overlay-50 p,
.bg-white-overlay-50 a,
.bg-white-overlay-50 span {
    color: rgba(255,255,255,0.7) !important;
}

/* Social icons */
.social-btn {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--premium-blue) !important;
    border-color: var(--premium-blue) !important;
    transform: translateY(-2px);
}

/* ============ HEADER TOOLBAR CLEAN ============ */
.navbar-tool-label {
    display: none !important; /* hide old badge labels */
}

.navbar-tool-text {
    display: none !important; /* hide 'My Cart' text */
}

/* Clean icon hover states */
.navbar-toolbar a:hover {
    opacity: 0.8;
}

/* Ensure search button shows */
.search_button {
    background: var(--premium-blue) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    flex-shrink: 0;
}

.search_button i {
    color: #fff !important;
    font-size: 16px;
}

.search-bar-input {
    border: 1.5px solid #d0d7e6 !important;
    border-radius: 50px !important;
    padding: 6px 20px !important; /* Reduced from 10px */
    font-size: 13px;
    background: #f8f9fc !important;
    transition: all 0.3s ease;
    min-width: 260px;
}

.search-bar-input:focus {
    outline: none !important;
    border-color: var(--premium-blue) !important;
    box-shadow: 0 0 0 3px rgba(0,35,102,0.08) !important;
    background: #fff !important;
}

/* Hide currency and language dropdowns in header only */
.topbar-text {
    display: none !important;
}

/* Ensure price and buy buttons are visible and properly prioritized */
.product-total-unit-price,
.discounted-unit-price,
.product-details-chosen-price-section {
    display: block !important;
}

.product-buy-now-button {
    background: var(--premium-accent) !important;
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 140px !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.2) !important;
    margin-right: 10px !important;
}

.product-buy-now-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.3) !important;
    filter: brightness(1.1) !important;
}

.product-buy-now-button span, 
.product-buy-now-button {
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

