/* Brand Colors - Royal Purple Theme */
:root {
    --saree-primary: #6A0DAD;    /* Royal purple */
    --saree-accent: #FFD700;     /* Rich gold */
    --saree-light: #F3E5F5;      /* Light lavender */
    --saree-soft: #F8F3FF;       /* Soft purple tint */
    --saree-dark: #4A0775;       /* Darker purple for depth */
}

/* Brand Colors */
.text_primary {color: var(--saree-primary) !important;}
.text_accent {color: var(--saree-accent) !important;}
.border_bottom_white {border-bottom: 1px solid #fff;}
.bg_primary {background-color: var(--saree-primary) !important;}
.bg_accent {background-color: var(--saree-accent) !important;}
.bg_brown {background: linear-gradient(135deg, var(--saree-primary) 0%, var(--saree-dark) 100%);}

/* Header Navigation */
.topbar-toolbar a { color: #fff !important; }
.nav-link { color: #fff !important; }

/* Hero Section - Royal Purple Theme */
.journey-hero {
    position: relative;
    max-height: 30vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hridaya_pattern {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--saree-primary) 0%, var(--saree-dark) 100%);
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    width: 100%;
    position: relative;
    min-height: 30vh;
}
.hridaya_pattern_sub {
    width: 100%;
    position: relative;
}

/* Loader Content */
.loader-content {
    text-align: center;
    width: 90%;
    max-width: 500px;
    position: relative;
    margin: 0 auto;
}

.thari {
    position: relative;
    width: 100%;
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="120" viewBox="0 0 400 120"><rect x="50" y="15" width="300" height="8" fill="%23FFD700" rx="2"/><rect x="50" y="97" width="300" height="8" fill="%23FFD700" rx="2"/><line x1="50" y1="23" x2="50" y2="97" stroke="%23ffffff" stroke-width="2.5"/><line x1="350" y1="23" x2="350" y2="97" stroke="%23ffffff" stroke-width="2.5"/><line x1="60" y1="35" x2="340" y2="35" stroke="%23ffffff55" stroke-width="1" stroke-dasharray="2,3"/><line x1="60" y1="55" x2="340" y2="55" stroke="%23ffffff55" stroke-width="1" stroke-dasharray="2,3"/><line x1="60" y1="75" x2="340" y2="75" stroke="%23ffffff55" stroke-width="1" stroke-dasharray="2,3"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 30px auto;
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.3));
}

.naadaa {
    position: absolute;
    width: 35px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="35" height="18" viewBox="0 0 35 18"><rect x="0" y="4" width="35" height="10" rx="5" fill="%23FFD700"/><rect x="13" y="0" width="9" height="18" fill="%23FFD700"/></svg>');
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.3));
    z-index: 10;
}

.loading-text {
    color: #ffffff;
    font-family: 'Marcellus', serif;
    font-size: 22px;
    margin-top: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.3);
}

.loading-text:after {
    content: '';
    position: absolute;
    width: 45px;
    height: 2px;
    background: var(--saree-accent);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.tagline {
    color: #FFFFFF;
    font-family: 'Petit Formal Script', cursive;
    font-size: 20px;
    margin-top: 20px;
    line-height: 1.4;
    text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}

/* Woven Timeline Container */
.woven-timeline-container {
    background: linear-gradient(135deg, #FCF5FF 0%, var(--saree-soft) 100%);
    position: relative;
    overflow: hidden;
}

.woven-timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(106, 13, 173, 0.03) 0px, rgba(106, 13, 173, 0.03) 20px, transparent 20px, transparent 40px);
    pointer-events: none;
}

/* Section Header */
.saree-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.saree-pallu-left, .saree-pallu-right {
    width: 80px;
    height: 30px;
    background: linear-gradient(145deg, var(--saree-accent), #FFE55C);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
    opacity: 0.6;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.section-subtitle {
    font-size: 18px;
    margin-top: -10px;
    color: var(--saree-primary) !important;
}

/* New Arrivals Banner */
.new-arrivals-banner {
    background: linear-gradient(135deg, var(--saree-primary), var(--saree-dark));
    border-radius: 20px;
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--saree-accent);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.2);
}

.new-arrivals-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.banner-content {
    position: relative;
    z-index: 2;
}

.new-tag {
    background: var(--saree-accent);
    color: var(--saree-primary);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.banner-content h3 {
    color: white;
    font-family: 'Marcellus', serif;
    font-size: 28px;
    margin-bottom: 5px;
}

.banner-content p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    border-radius: 30px;
    padding: 25px 20px;
    box-shadow: 0 15px 40px rgba(106, 13, 173, 0.15);
    border: 2px solid var(--saree-accent);
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-heading {
    font-family: 'Marcellus', serif;
    font-size: 18px;
    color: var(--saree-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-thread {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--saree-accent), transparent);
}

/* Category Filter Buttons */
.category-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-btn {
    position: relative;
    padding: 12px 15px 12px 40px;
    background: white;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50px;
    font-family: 'Marcellus', serif;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-bullet {
    position: absolute;
    left: 15px;
    width: 8px;
    height: 8px;
    background: var(--saree-accent);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: var(--saree-primary);
    color: var(--saree-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.1);
}

.category-btn:hover .btn-bullet {
    background: var(--saree-primary);
    transform: scale(1.3);
}

.category-btn.active {
    background: var(--saree-primary);
    color: white;
    border-color: var(--saree-primary);
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.25);
}

.category-btn.active .btn-bullet {
    background: var(--saree-accent);
    transform: scale(1.3);
}

.btn-count {
    margin-left: auto;
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: var(--saree-accent);
}

.category-btn.active .btn-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Sort Options */
.sort-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.sort-option:hover {
    background: rgba(106, 13, 173, 0.05);
}

.sort-radio {
    display: none;
}

.sort-radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--saree-accent);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.sort-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--saree-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sort-radio:checked + .sort-radio-custom {
    border-color: var(--saree-primary);
}

.sort-radio:checked + .sort-radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.sort-label {
    font-family: 'Marcellus', serif;
    font-size: 15px;
    color: #666;
    flex: 1;
}

.sort-option:hover .sort-label {
    color: var(--saree-primary);
}

.item-count {
    color: var(--saree-accent);
    font-size: 12px;
}

/* Checkbox Style */
.month-checkbox {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--saree-accent);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: white;
}

.month-checkbox:checked + .checkbox-custom {
    background: var(--saree-primary);
    border-color: var(--saree-primary);
}

.month-checkbox:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

/* Filter Info */
.filter-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--saree-primary);
    border-radius: 50px;
    border: 2px solid var(--saree-accent);
}

.info-thread {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--saree-accent), white, var(--saree-accent), transparent);
}

.info-text {
    font-family: 'Marcellus', serif;
    font-size: 15px;
    color: white;
    white-space: nowrap;
    font-weight: 500;
}

.info-label {
    color: var(--saree-accent);
    margin-right: 5px;
}

.info-value {
    color: white;
    font-weight: 700;
    background: rgba(255, 215, 0, 0.2);
    padding: 3px 10px;
    border-radius: 30px;
    margin-left: 5px;
}

/* Reset Button */
.reset-filter-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(145deg, var(--saree-accent), #FFE55C);
    border: none;
    border-radius: 50px;
    font-family: 'Marcellus', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--saree-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.reset-filter-btn:hover {
    background: var(--saree-primary);
    color: var(--saree-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(106, 13, 173, 0.3);
    border-color: var(--saree-accent);
}

/* Products Count Bar */
.products-count-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(106, 13, 173, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.count-label {
    font-family: 'Marcellus', serif;
    font-size: 14px;
    color: #999;
}

.count-number {
    font-family: 'Marcellus', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--saree-primary);
    background: rgba(106, 13, 173, 0.08);
    padding: 2px 12px;
    border-radius: 30px;
}

.count-decoration {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--saree-accent) 0px, var(--saree-accent) 5px, transparent 5px, transparent 10px);
}

/* Category Badges */
.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.silk-badge {
    background: linear-gradient(135deg, var(--saree-accent), #FFE55C);
    color: var(--saree-primary);
}

.cotton-badge {
    background: linear-gradient(135deg, #6A0DAD, #8A2BE2);
    color: white;
}

.semisilk-badge {
    background: linear-gradient(135deg, #9370DB, #B69EFF);
    color: #333;
}

.party-badge {
    background: linear-gradient(135deg, var(--saree-primary), var(--saree-dark));
    color: var(--saree-accent);
    border: 1px solid var(--saree-accent);
}

.bg-accent {
    background: var(--saree-accent) !important;
}

.arrival-date {
    display: inline-block;
    font-size: 11px;
    color: var(--saree-primary);
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 5px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--saree-primary), var(--saree-dark));
    margin-top: 40px;
}

.newsletter-title {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter-text {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
}

.newsletter-btn {
    padding: 15px 30px;
    background: var(--saree-accent);
    color: var(--saree-primary);
    border: none;
    border-radius: 50px;
    font-family: 'Marcellus', serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: white;
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
    position: relative;
}

.empty-thread {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--saree-accent), var(--saree-primary), var(--saree-accent), transparent);
    margin: 0 auto 20px;
    animation: emptyThread 3s infinite;
}

@keyframes emptyThread {
    0%, 100% { width: 100px; opacity: 0.3; }
    50% { width: 200px; opacity: 1; }
}

.reset-inline {
    width: auto;
    padding: 10px 25px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 991px) {
    .filters-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .products-count-bar {
        margin-top: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .saree-pallu-left, .saree-pallu-right {
        width: 40px;
        height: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .banner-content h3 {
        font-size: 22px;
    }
}