

/* Shop Page Specific Styles */

/* Enhanced Hero Section with Background Image */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image Styling */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* Slight parallax effect */
    transform: scale(1.05);
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

/* Hero content positioning and styling */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Glass morphism effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced hero title */
.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced hero subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
    font-weight: 400;
}

/* Enhanced CTA button with premium styling */
.hero-cta-button {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

/* Button hover effects */
.hero-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
    text-decoration: none;
}

/* Button active state */
.hero-cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Feature tags styling */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.875rem;
}

/* Individual feature tag styling */
.hero-feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Feature tag hover effects */
.hero-feature-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Color dots for visual appeal */
.hero-color-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Individual color dot styling */
.hero-color-dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Color dot hover effects */
.hero-color-dot:hover {
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Color dot active animation */
.hero-color-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.hero-color-dot:hover::after {
    width: 200%;
    height: 200%;
}

/* ... keep existing code (Enhanced Filter Sidebar Styles and all other existing styles) */

/* Enhanced Filter Sidebar Styles */
.filter-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.filter-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.filter-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.filter-title:hover {
    color: var(--primary-color);
}

.transition-icon {
    transition: transform 0.3s ease;
}

.filter-content {
    padding-left: 0.5rem;
}

/* Custom Checkbox Styles */
.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 0;
}

.filter-checkbox:hover {
    color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-checkbox:hover .checkmark {
    border-color: var(--primary-color);
}

.filter-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Category Styles */
.category-group {
    border-left: 2px solid transparent;
    padding-left: 0.5rem;
    transition: all 0.3s ease;
}

.category-group:hover {
    border-left-color: var(--primary-color);
}

.category-main {
    font-weight: 500;
    flex-grow: 1;
}

.subcategory-toggle {
    background: none;
    border: none;
    color: var(--muted-color);
    padding: 0;
    margin-left: auto;
    transition: all 0.3s ease;
}

.subcategory-toggle:hover {
    color: var(--primary-color);
}

.subcategory-toggle i {
    transition: transform 0.3s ease;
}

.subcategories {
    display: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
    border-left: 1px solid var(--border-color);
    padding-left: 0.75rem;
}

.subcategory {
    font-size: 0.9rem;
    color: var(--muted-color);
}

/* Price Range Styles */
.price-range-container .form-control {
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.price-range-container .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
}

.price-presets .btn {
    border-radius: 20px;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    transition: all 0.3s ease;
}

.price-presets .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Rating Stars */
.rating-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Enhanced Product Cards */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.product-card-list {
    border-radius: 12px;
}

.product-card-list:hover {
    transform: translateY(-4px);
}

.product-image {
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card-list .product-image {
    height: 200px;
}

.wood-type {
    background: linear-gradient(135deg, var(--light-color), #f1f5f9);
    color: var(--muted-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-card-list .price-section {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

/* Active Filters */
.active-filters .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

/* Mobile Filter Overlay */
.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-filter-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-filter-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 90%;
    max-width: 400px;
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-filter-overlay.show .mobile-filter-content {
    transform: translateX(0);
}

.mobile-filter-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-color);
}

.mobile-filter-body {
    padding: 1.5rem;
}

/* View Toggle */
.view-toggle .btn {
    border-radius: 6px;
    margin-left: -1px;
}

.view-toggle .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-left: 0;
}

.view-toggle .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.view-toggle .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Loading Indicator */
.spinner-border-warning {
    color: var(--primary-color);
}

/* Search Input Enhancement */
.filter-section .input-group .form-control {
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.filter-section .input-group .btn {
    border-left: none;
    border-radius: 0 8px 8px 0;
    border-color: #ddd;
}

.filter-section .input-group .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Results Info */
.results-info {
    font-size: 0.9rem;
    color: var(--muted-color);
}

/* Shop-specific Product Discount Badge */
.product-discount {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Shop Page Buy Now Button */
.shop-buy-btn {
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: white;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
}

.shop-buy-btn:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .hero-features {
        gap: 0.5rem;
    }

    .hero-feature-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-feature-tag {
        width: fit-content;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .filter-sidebar {
        margin-bottom: 2rem;
    }

    .product-card {
        margin-bottom: 1.5rem;
    }

    .mobile-filter-content {
        width: 100%;
    }

    .view-toggle {
        display: none;
    }

    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .results-info {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .price-presets .btn {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .active-filters .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    .product-card-list .row {
        flex-direction: column;
    }

    .product-card-list .col-md-3,
    .product-card-list .col-md-9 {
        max-width: 100%;
        flex: 0 0 auto;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Enhanced Hover Effects */
.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.filter-checkbox:hover {
    padding-left: 0.5rem;
}

/* Custom Scrollbar for Mobile Filters */
.mobile-filter-content::-webkit-scrollbar {
    width: 6px;
}

.mobile-filter-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-filter-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.mobile-filter-content::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* === Cart Toast Styles === */
.cart-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ffc107;
  color: #000;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

