/* 10. Product Pages
-------------------------------------------------- */
.products-hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 70vh;
    padding: 8rem 2rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background: rgba(0,0,0,0.35); Stronger overlay for text contrast */
    z-index: 1;
}

.products-hero .hero-content {
    position: relative;
    z-index: 2;
    /* Glassmorphism effect removed */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 2.5rem 3.5rem;
    border: none;
    box-shadow: none;
    animation: fadeInUp 0.8s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.products-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.products-hero p.subtitle {
    color: #fff;
    font-size: 1.2rem;
    animation: fadeInUp 0.8s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.products-grid-section {
    display: grid;
    grid-template-columns: 250px 1fr; /* Give sidebar a bit more space */
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    width: 100%;
}

.filters-sidebar {
    position: sticky;
    top: 100px; /* Header height + some space */
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow-color-dark);
}

.filters-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.filters-sidebar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filters-sidebar li {
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s;
}

.filters-sidebar li:hover {
    background-color: var(--primary-brand);
    color: var(--card-bg);
}

.filters-sidebar li.active {
    background-color: var(--primary-brand);
    color: var(--card-bg);
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.product-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 0rem;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

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

.price-tag {
    position: absolute;
    bottom: 0rem;
    right: 1rem;
    transform: translateY(50%);
    background-color: #f4a261;
    color: rgb(0, 0, 0);
    padding: 0.5rem 1rem;
    border-radius: 90px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.product-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-details i {
    color: var(--primary-brand);
    width: 20px;
    text-align: center;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.product-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap; /* Prevent text from wrapping */
}

.product-actions .secondary-btn {
    background-color: #f8f9fa;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.product-actions .secondary-btn:hover {
    background-color: var(--border-color);
    color: var(--text-dark);
}

.product-actions .primary-btn {
    background-color: var(--primary-brand);
    color: white;
}

.product-actions .primary-btn:hover {
    background-color: #1a4a5e;
    transform: translateY(-2px);
}

/* 11. Cart Functionality
-------------------------------------------------- */
.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.cart-page {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.cart-page h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

#cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.cart-item-details p {
    margin: 0.25rem 0;
    color: var(--text-light);
}

.cart-item-prefs {
    font-size: 0.9rem;
    color: var(--primary-brand);
    font-style: italic;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 100px;
    text-align: right;
}

.cart-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.cart-total h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.cart-total .btn.primary-btn {
    background-color: var(--primary-brand);
}

.cart-total .btn {
    padding: 0.8rem 1.5rem;
    min-width: 200px;
    text-align: center;
}

#empty-cart-message {
    text-align: center;
    padding: 4rem 0;
}

#empty-cart-message p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* 12. Product Detail Page
-------------------------------------------------- */
.product-detail-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(38, 70, 83, 0.6);
}

.product-detail-hero .hero-content {
    position: relative;
    z-index: 2;
    background: none;
    backdrop-filter: none;
    border: none;
    padding: 0;
}

.product-detail-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-detail-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-brand);
    margin-bottom: 2rem;
}

.product-detail-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.care-info-section {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.care-info-section h2 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 2rem;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.care-item {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-brand);
    background: rgba(38, 70, 83, 0.05);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    transition: transform 0.3s;
}

.care-item:hover {
    transform: translateX(5px);
}

.care-item h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.care-item h3 i {
    color: var(--primary-brand);
    width: 20px;
}

.care-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Success Message Animation */
@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.success-message {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .products-hero {
        min-height: 55vh;
        padding: 4rem 1rem 1.5rem 1rem;
        background-size: cover;
        background-position: center center;
        clip-path: none;
    }
    .products-hero .hero-content {
        max-width: 95vw;
        padding: 0;
    }
    .products-hero h1 {
        font-size: 2.2rem;
    }
    .products-hero p.subtitle {
        font-size: 1rem;
    }
    .products-grid-section {
        grid-template-columns: 1fr;
        padding: 0 2rem 2rem;
    }
    .filters-sidebar {
        position: static;
        box-shadow: none;
        padding: 1rem 0;
        border: none;
        background: transparent;
    }
    .filters-sidebar h3,
    .filters-sidebar ul {
        display: none;
    }
    .cart-item {
        flex-direction: column;
    }
    .cart-item img {
        width: 100%;
        height: auto;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .product-detail-info h1 {
        font-size: 2.2rem;
    }
    .product-actions {
        flex-direction: column;
    }
    .care-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        width: 95%;
        padding: 1rem;
    }
    .modal-header {
        padding: 0.5rem 0;
    }
    .modal-body {
        flex-direction: column;
    }
    .modal-title {
        font-size: 1.5rem;
    }
    .modal-actions {
        flex-direction: column;
    }
    .modal-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .products-hero {
        min-height: 55vh;
        padding: 2.5rem 0.5rem 1rem 0.5rem;
        background-size: cover;
        background-position: center center;
        clip-path: none;
    }
    .products-hero .hero-content {
        max-width: 100vw;
        padding: 0;
    }
    .products-hero h1 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    .products-hero p.subtitle {
        font-size: 1rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background-color: var(--border-color);
    color: var(--text-dark);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.modal-body {
    padding: 2rem;
}

.modal-image {
    width: 100%;
    height: 450px;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-brand);
    margin-bottom: 1rem;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.modal-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(38, 70, 83, 0.05);
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
}

.modal-details i {
    color: var(--primary-brand);
    width: 20px;
    text-align: center;
}

.modal-preferences {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.preference-group {
    display: flex;
    flex-direction: column;
}

.preference-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.preference-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: #fff;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.modal-actions .btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-actions .secondary-btn {
    background-color: #f8f9fa;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.modal-actions .secondary-btn:hover {
    background-color: var(--border-color);
    color: var(--text-dark);
}

.modal-actions .primary-btn {
    background-color: var(--primary-brand);
    color: white;
}

.modal-actions .primary-btn:hover {
    background-color: #1a4a5e;
    transform: translateY(-2px);
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Search Box Styles */
.search-box-container {
    position: relative;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-box-container i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
    z-index: 2;
}

#search-box {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

#search-box:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

#search-box::placeholder {
    color: #999;
    font-style: italic;
}

/* Responsive search box */
@media (max-width: 768px) {
    .search-box-container {
        margin-bottom: 15px;
    }
    
    #search-box {
        padding: 10px 10px 10px 35px;
        font-size: 13px;
    }
    
    .search-box-container i {
        font-size: 12px;
        left: 10px;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: bottom 0.5s ease-in-out;
    z-index: 1000;
    font-size: 1rem;
    font-weight: 500;
}

.notification.show {
    bottom: 20px;
}

/* === Mini Modal for Preferences (Dark Mode Style) === */
.modal-content.mini-modal {
    max-width: 400px;
    background-color: #2c3e50; /* Dark background */
    color: #ecf0f1; /* Light text */
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid #34495e;
}

.mini-modal .modal-header {
    background-color: #34495e; /* Slightly lighter header */
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #4a6572;
}

.mini-modal .modal-title {
    font-size: 1.25rem;
    text-align: center;
    width: 100%;
    color: #fff;
}

.mini-modal .modal-body {
    padding: 1.5rem;
}

.mini-modal .modal-preferences {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

.mini-modal .preference-group label {
    color: #bdc3c7; /* Lighter grey for labels */
}

.mini-modal .preference-group select {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    background-color: #34495e;
    color: #ecf0f1;
    border: 1px solid #4a6572;
    border-radius: var(--border-radius-sm);
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23ecf0f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.mini-modal .preference-group select:focus {
    background-color: #2c3e50;
    border-color: var(--primary-brand);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.mini-modal .preference-group input[type="number"] {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    background-color: #34495e;
    color: #ecf0f1;
    border: 1px solid #4a6572;
    border-radius: var(--border-radius-sm);
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.mini-modal .preference-group input[type="number"]:focus {
    border-color: var(--primary-brand);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    outline: none;
}

.mini-modal .min-price-info {
    font-size: 0.9rem;
    color: #bdc3c7;
    text-align: left;
    margin-top: 1rem;
    padding-right: 0.5rem;
}

.mini-modal .max-price-info {
    font-size: 0.9rem;
    color: #bdc3c7;
    text-align: left;
    margin-top: 0rem;
    padding-right: 0.5rem;
}

.mini-modal .error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    height: 1rem;
}

.mini-modal .modal-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #4a6572;
}

.mini-modal .modal-actions .btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    background: var(--primary-brand);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.mini-modal .modal-actions .btn:hover {
    background: #2a9d8f;
    box-shadow: 0 0 15px rgba(42, 157, 143, 0.6);
    transform: translateY(-2px);
}

/* Price Slider Styles */
.price-slider-group {
    grid-column: 1 / -1; /* Make slider span full width */
}

.price-slider-container {
    position: relative;
    margin-bottom: 20px;
}

#pref-pet-price-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: #4a6572;
    border-radius: 5px;
    outline: none;
    transition: opacity .2s;
}

#pref-pet-price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-brand);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#pref-pet-price-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary-brand);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.price-slider-dots {
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    margin-top: -19px; /* Position dots over the slider track */
    position: relative;
    pointer-events: none; /* Make dots unclickable */
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #2a9d8f;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(244, 162, 97, 0.5);
}

.price-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #bdc3c7;
    margin-top: 0.75rem;
}

.price-slider-labels span {
    transition: all 0.3s ease;
    font-weight: 500;
}

.price-slider-labels span.active {
    color: var(--secondary-accent);
    font-weight: 700;
    transform: scale(1.1);
}

.price-slider-output {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

#pref-selected-price {
    color: var(--secondary-accent);
    margin-left: 0.5rem;
}

.mini-modal .modal-actions {
    margin-top: 1.5rem;
}

.price-tooltip {
    position: absolute;
    display: none;
    background-color: #233d4d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    pointer-events: none;
    transform: translate(-50%, -150%);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

