/* Harvika Silks - Custom Theme styling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --harvika-primary: #58181f;        /* Deep Premium Maroon */
    --harvika-primary-light: #6e1e26;  /* Bright Maroon */
    --harvika-gold: #c5a059;           /* Soft Metallic Zari Gold */
    --harvika-gold-dark: #a6803c;      /* Deep Zari Gold */
    --harvika-cream: #fbf9f5;          /* Warm Silk Ivory */
    --harvika-dark: #212529;
    --harvika-shadow: 0 4px 20px rgba(88, 24, 31, 0.06);
    --harvika-shadow-hover: 0 10px 30px rgba(88, 24, 31, 0.12);
}

body {
    background-color: var(--harvika-cream);
    color: var(--harvika-dark);
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6, .serif-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

/* Custom Text and BG Colors */
.text-primary-theme { color: var(--harvika-primary) !important; }
.text-gold-theme { color: var(--harvika-gold) !important; }
.bg-primary-theme { background-color: var(--harvika-primary) !important; }
.bg-gold-theme { background-color: var(--harvika-gold) !important; }

/* Custom Buttons overrides */
.btn-theme-primary {
    background-color: var(--harvika-primary);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}
.btn-theme-primary:hover {
    background-color: var(--harvika-primary-light);
    color: #fff;
}

.btn-theme-gold {
    background-color: var(--harvika-gold);
    color: var(--harvika-primary);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}
.btn-theme-gold:hover {
    background-color: var(--harvika-gold-dark);
    color: #fff;
}

/* Sticky Header styling */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #fff;
    border-bottom: 1px solid #f1e4d3;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

/* Mega Menu logic styling */
.mega-dropdown {
    position: static !important;
}
.mega-menu-content {
    width: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--harvika-shadow-hover);
    background-color: #fff;
}

/* Category Circle selection */
.category-circle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 110px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.category-circle-wrapper:hover {
    transform: scale(1.08);
}
.category-circle-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--harvika-gold);
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: var(--harvika-shadow);
}

/* Product Card Customizations */
.product-card {
    background-color: #fff;
    border: 1px solid #f1e4d3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--harvika-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--harvika-shadow-hover);
}

.btn-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #f1e4d3;
    color: var(--harvika-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.btn-wishlist:hover {
    transform: scale(1.1);
}
.btn-wishlist.active {
    background-color: var(--harvika-primary);
    color: #fff;
}

/* Order Tracking timeline */
.tracking-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}
.tracking-line {
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 4px;
    background-color: #e2e8f0;
    z-index: 1;
}
.tracking-progress {
    position: absolute;
    top: 36px;
    left: 8%;
    height: 4px;
    background-color: var(--harvika-gold);
    z-index: 2;
    transition: width 0.5s ease;
}
.tracking-step {
    text-align: center;
    z-index: 3;
    width: 20%;
}
.tracking-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #e2e8f0;
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 700;
}
.tracking-step.active .tracking-badge {
    border-color: var(--harvika-gold);
    background-color: var(--harvika-primary);
    color: #fff;
    box-shadow: 0 0 12px rgba(88,24,31,0.25);
}

/* Admin Dashboard widgets */
.admin-navbar {
    background-color: var(--harvika-primary) !important;
    border-bottom: 4px solid var(--harvika-gold);
}
.admin-sidebar {
    background-color: #fff;
    border-right: 1px solid #e2e8f0;
    min-height: calc(100vh - 60px);
}
.admin-sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--harvika-dark);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.admin-sidebar-link:hover, .admin-sidebar-link.active {
    background-color: var(--harvika-cream);
    color: var(--harvika-primary);
    border-left: 4px solid var(--harvika-gold);
}

/* Swiper custom styling override */
.swiper {
    width: 100%;
    height: 380px;
    border-radius: 12px;
}
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auto suggestion dropdown */
#search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--harvika-shadow-hover);
    display: none;
}
.suggestion-item {
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.suggestion-item:hover {
    background-color: var(--harvika-cream);
}
