:root {
    --primary: #212529;
    --secondary: #f8f9fa;
    --accent: #d4af37;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --bg: #f7f9fc;
    --card-bg: #fff;
    --radius: 10px;
    --shadow: 0 4px 10px rgba(0,0,0,0.04);
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --transition: all 0.3s ease;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", "Inter", sans-serif;
    font-weight: 600;
}

.section-padding {
    padding: 100px 0;
}

/* Restructured section titles into 3 layers: title, heading, subdescription */
.section-title {
    margin-bottom: 60px;
    position: relative;
}

.section-title .section-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.section-title h2 {
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}
.section-title-no{
    margin-bottom: 20px;
    position: relative;
}
.no-subcategory{
    padding:100px 0px;
}
/* Navbar Styles */
.navbar-toggler {
    padding: 0.25rem 0.5rem; /* overall size */
    font-size: 0.9rem;
    border: none; /* optional cleaner look */
}

.navbar-toggler-icon {
    width: 20px;
    height: 20px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Extra small screens ke liye aur chhota */
@media (max-width: 576px) {
    .navbar-toggler {
        padding: 0.2rem 0.4rem;
    }
    .navbar-toggler-icon {
        width: 18px;
        height: 18px;
    }
}

.navbar {
    padding: 20px 0;
    transition: var(--transition);
}

/* Added logo to navbar brand */
.navbar-logo {
    width: 150px !important;    
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Tablet size */
@media (max-width: 992px) {
    .navbar-logo {
        width: 130px !important;
    }
}

/* Mobile size */
@media (max-width: 576px) {
    .navbar-logo {
        width: 110px !important;   /* smaller logo for mobile */
    }
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color:#fff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand:hover {
    color:#fff;
}
.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-scrolled {
    padding: 10px 0;
    background-color: #fff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Made navbar links darker for better visibility on any background */
.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
    color: #fff !important;
}

.navbar-scrolled .nav-link {
    color: var(--text-dark) !important;
}
.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-scrolled .navbar-brand {
    color: var(--text-dark) !important;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 30px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent) !important;
}

.navbar-nav {
    align-items: center;
}

.nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--primary);
    margin-left: 10px;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.nav-icon:hover {
    background-color: var(--accent);
    color: white;
}

.nav-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.6rem;
    font-weight: 600;
}

/* Navbar Dropdown*/
/* Navbar Dropdown Styling */
.nav-item.dropdown .dropdown-menu {
    background-color: var(--secondary); /* white background */
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

/* Dropdown Item Styling */
.nav-item.dropdown .dropdown-menu .dropdown-item {
    color: var(--text-dark); /* black text */
    padding: 10px 20px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 6px;
}

/* Hover Effect */
.nav-item.dropdown .dropdown-menu .dropdown-item:hover {
    background-color: var(--accent); /* golden accent */
    color: var(--text-light); /* white text on hover */
}

/* Dropdown Toggle Link */
.nav-item.dropdown .nav-link {
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition);
}

/* Hover for Toggle */
.nav-item.dropdown .nav-link:hover {
    color: var(--accent);
}

.nav-item.dropdown .nav-link::after {
    display: none !important;
}



/* Professional search modal styles */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1050;
    animation: fadeIn 0.3s ease;
}

.search-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.search-container {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.search-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.search-input-wrapper i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    margin-left: 15px;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--text-dark);
}

.search-body {
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-height: 500px;
    overflow-y: auto;
}

.search-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-item {
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.search-item:hover {
    background-color: var(--secondary);
    color: var(--accent);
}

.search-item i {
    color: var(--accent);
    font-size: 0.9rem;
}

.search-item-text {
    font-size: 0.95rem;
}


/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-dark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-dark:hover, .btn-dark:focus {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(33, 37, 41, 0.4);
}

.btn-lg {
    padding: 15px 40px;
}


/* Product Cards */
.product-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card .product-actions {
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-card .product-actions a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    color: var(--primary);
    margin: 0 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.product-card .product-actions a:hover {
    background-color: var(--accent);
    color: white;
}

.product-card .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.product-card .product-info {
    padding: 20px;
    text-align: center;
}

.product-card .product-info h6 {
    color:var(--primary) !important;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-card .product-info .price {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.product-card .product-info .current-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-right: 10px;
}

.product-card .product-info .old-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

@media (max-width: 767px) {
    .product-card .product-info h6 {
        font-size: 1.23rem;
        line-height: 1.3;
    }
}


@media (max-width: 576px) {
    .product-card .product-info .price {
        flex-direction: column; 
        align-items: center;
        font-size: 0.95rem;
    }
    .product-card .product-info .current-price {
        margin-right: 0;
        margin-bottom: 5px; 
        font-size: 0.95rem;
    }
    .product-card .product-info h6 {
        font-size: 0.95rem;
    }
}


.product-card .product-info .rating {
    margin-bottom: 15px;
    color: #ffc107;
}


/* Footer */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 80px 0 0;
}

.footer-logo-wrapper {
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.footer-logo {
    max-width: 100px; 
    width: 100%;
    height: auto;     
    object-fit: contain;
    display: inline-block;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .footer-logo {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        max-width: 120px;
    }
}


footer h5 {
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-contact{
    font-size:14px;
}
footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 15px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

footer ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}


.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .btn-lg {
        padding: 10px 30px !important;
    }
    .btn {
        padding: 11px 27px !important;
    }
    .navbar-brand {
        font-size: 1.4rem;
    }
    .hero-carousel .carousel-caption h1 {
        font-size: 3rem !important;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .navbar-collapse {
        background-color: white;
        color: var(--text-dark) !important;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        align-items: flex-start;
    }
    
    .nav-icon {
        margin-left: 0;
        margin-top: 10px;
    }
    .navbar .nav-link{
        color: var(--text-dark) !important;
    }
    .search-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .btn-lg {
        padding: 8px 25px !important;
    }
    .btn {
        padding: 9px 24px !important;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .hero-carousel .carousel-caption h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-carousel .carousel-caption {
        left: 5% !important;
        right: 5% !important;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0 !important;
    }
    
    .banner-content h2 {
        font-size: 2.5rem !important;
    }
    
    .video-banner {
        height: 500px !important;
    }
    
    .video-banner .banner-content {
        left: 5% !important;
        right: 5% !important;
    }
    
    .custom-banner {
        height: 300px !important;
    }
}

@media (max-width: 575.98px) {
    .btn-lg {
        padding: 6px 10px !important;
        font-size:13px !important;
    }
    .btn {
        padding: 6px 20px !important;
    }
    .hero-carousel .carousel-caption h1 {
        font-size: 2rem !important;
    }
    .section-title h2 {
        font-size: 1.6rem;
    }
    .section-padding {
        padding: 50px 0 !important;
    }
    
    .banner-content h2 {
        font-size: 2rem !important;
    }
    
    .video-banner {
        height: 400px !important;
    }
    
    .search-container {
        width: 95% !important;
    }
}


/* Breadcrumb */
.breadcrumb-section {
    margin-top:20px;
    margin-bottom:10px;
    background: var(--text-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}
.breadcrumb-section-class{
    margin-top:75px !important;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--accent);
}



/* Empty Cart Wishlist css*/
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    color: #555;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.empty-cart-icon {
    font-size: 60px;
    color: #888;
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.empty-cart-icon-compare {
    font-size: 30px;
    color: #888;
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-cart p {
    font-size: 16px;
    color: #777;
}


/* Pagination Design */
.pagination-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    user-select: none;
}

.pagination-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

/* Pagination Buttons */
.pagination-item {
    display: flex;
}

.pagination-link {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--secondary);
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.pagination-link:hover {
    background-color: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Active Page */
.pagination-item.active .pagination-link {
    background-color: var(--accent);
    color: var(--text-light);
    font-weight: 600;
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    pointer-events: none;
}

/* Dots (...) */
.pagination-item.dots {
    color: var(--text-muted);
    padding: 8px 12px;
    font-weight: 500;
}

/* Previous / Next Buttons */
.pagination-link.prev i,
.pagination-link.next i {
    font-size: 14px;
    vertical-align: middle;
}

.pagination-link.prev {
    padding-left: 10px;
}

.pagination-link.next {
    padding-right: 10px;
}

/* Responsive */
@media (max-width: 576px) {
    .pagination-link {
        padding: 6px 10px;
        font-size: 14px;
    }
}


/* Empty Section Box */
.empty-section {
    text-align: center;
    padding: 60px 30px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    animation: fadeSlideUp 0.7s ease;
}

/* Icon */
.empty-section-icon {
    font-size: 70px;
    color: var(--primary);
    opacity: 0.7;
    margin-bottom: 20px;
    animation: floatIcon 3s ease-in-out infinite;
}

/* Title */
.empty-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Message */
.empty-section p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Button */
.empty-section .btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 22px;
    font-size: 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.empty-section .btn-primary:hover {
    background: var(--accent);
    color: var(--text-dark);
}

/* Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}
