/* Index Page Styles - Using Store CSS for Perfect Consistency */

/* Store Page Styles - Products, Filters, and Cart */

/* Store Status Section */
.store-status-section {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
    overflow: hidden;
}

.status-content {
    padding: 0.75rem 1rem;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.status-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545 0%, #c41e3a 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.status-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.status-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.status-message {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.checkout-methods {
    border-top: 1px solid #e9ecef;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.methods-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.methods-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.method-badge {
    background: #f8f9fa;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.method-badge:hover {
    background: #e9ecef;
    border-color: #dc3545;
    color: #dc3545;
    transform: translateY(-1px);
}

.method-badge i {
    font-size: 0.8rem;
}

/* Store Closed State */
.store-status-section.closed .status-icon {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.store-status-section.closed .status-title {
    color: #6c757d;
}

/* Loading State */
.store-status-section.loading .status-icon {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    animation: iconSpin 1s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .status-content {
        padding: 0.75rem;
    }
    
    .status-header {
        gap: 0.6rem;
    }
    
    .status-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .status-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .status-title {
        font-size: 0.9rem;
    }
    
    .status-message {
        font-size: 0.8rem;
    }
    
    .methods-list {
        gap: 0.4rem;
    }
    
    .method-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

@media (max-width: 576px) {
    .status-content {
        padding: 0.6rem;
    }
    
    .status-header {
        gap: 0.5rem;
    }
    
    .status-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .status-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .status-title {
        font-size: 0.85rem;
    }
    
    .status-message {
        font-size: 0.75rem;
    }
    
    .methods-list {
        gap: 0.3rem;
    }
    
    .method-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
}

/* Dark Theme Support */
.dark-theme .sign-content {
    background: #2d3748;
}

.dark-theme .sign-content::before {
    background: #4a5568;
}

.dark-theme .sign-chain::before {
    background: #4a5568;
}

/* Home Info Cards (for the 2x2 grid) - Store CSS Style */
.home-info-card,
.categories-card {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.home-info-card:hover,
.categories-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.home-info-card .card-header,
.categories-card .card-header {
    /* Removed hardcoded red background - now uses dynamic colors from site text system */
    color: white;
    padding: 15px 20px;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    border: none;
    margin: 0;
}

.home-info-card .card-header i,
.categories-card .card-header i {
    font-size: 1.2rem;
    margin-right: 10px;
    /* Removed hardcoded white color - now uses dynamic colors from site text system */
}



.home-info-card .card-body,
.categories-card .card-body {
    padding: 20px;
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Family Members Grid - Store CSS Style */
.family-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: start;
    border: none;
}

.family-member-card {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
}

.family-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.family-member-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #dc3545;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.family-member-card:hover .family-member-image {
    transform: scale(1.1);
    border-color: #c41e3a;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.family-member-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.family-member-bio {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Categories Grid - Store CSS Style */
.categories-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Enhanced Category Tiles - Left-Right Layout */
.category-tile {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    display: flex;
    width: 350px;
    height: 150px;
    border: 1px solid #e9ecef;
    flex-shrink: 0;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #dc3545;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Remove gradient effect from category-info */
.category-info::after {
    display: none;
}

/* Remove these rules - text colors are now handled by JavaScript */

.category-tile:hover .category-info {
    background: #c82333;
}

.category-image-section {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.category-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 20px;
    height: 100%;
    background: #f8f9fa;
    filter: blur(10px);
    z-index: 4;
    pointer-events: none;
}

.category-image-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-image-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    transform: scale(1.1);
}

.category-image-slideshow img.active {
    opacity: 1;
    transform: scale(1);
}

/* Removed conflicting first-child rule - using active class instead */

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: background 0.3s ease;
}

.category-tile:hover .category-overlay {
    background: rgba(0, 0, 0, 0.05);
}

/* Category slideshow loading state */
.category-image-slideshow.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 3;
}

/* Enhanced category tile hover effects */
.category-tile:hover .category-image-slideshow img.active {
    transform: scale(1.05);
}

.category-tile:hover .category-icon i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.category-tile:hover .category-content h6 {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Featured Items - Styles moved to common.css for consistency across all pages */
.featured-item-tile {
    display: flex;
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 150px;
    flex-shrink: 0;
    width: 350px;
}

.featured-item-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.featured-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: #dc3545;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    overflow: hidden;
}

.featured-item-info::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 100%;
    background: inherit;
    filter: blur(10px);
    z-index: 1;
    pointer-events: none;
}

.featured-item-tile:hover .featured-item-info {
    transform: translateX(-5px);
}

.featured-item-image-section {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.featured-item-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 20px;
    height: 100%;
    background: #f8f9fa;
    filter: blur(10px);
    z-index: 4;
    pointer-events: none;
}

.featured-item-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.featured-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.featured-item-tile:hover .featured-item-image img {
    transform: scale(1.05);
}

/* Icon removed - using packaging instead */

.featured-item-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.featured-item-content h6 {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.featured-item-content .price {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 5px;
}

.featured-item-content .packaging {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    margin-top: 3px;
    font-weight: 500;
}

.featured-item-content .description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-top: 5px;
    line-height: 1.3;
}

/* Featured items horizontal scrolling */
.featured-items-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    padding: 0.5rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    white-space: nowrap;
    scroll-behavior: smooth;
    justify-content: flex-start; /* Default to left alignment */
}

/* Center items when there are 3 or fewer */
.featured-items-scroll.centered {
    justify-content: center;
    overflow-x: hidden;
}

.featured-items-scroll:hover {
    animation-play-state: paused;
}

/* Featured items auto-scroll animation */
@keyframes scrollFeatured {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.featured-items-scroll.auto-scroll {
    animation: scrollFeatured 15s linear infinite;
}

/* Featured Items Popup Ad */
.featured-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Ensure product modal appears above featured popup */
.modal {
    z-index: 10000 !important;
}

.modal-backdrop {
    z-index: 9999 !important;
}

.featured-popup-overlay.show {
    display: flex;
    opacity: 1;
}

.featured-popup {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    width: 600px;
    height: 400px;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.4s ease;
}

.featured-popup.show {
    transform: scale(1);
    opacity: 1;
}

.featured-popup-content {
    display: flex;
    height: 100%;
    position: relative;
    align-items: stretch; /* ensure columns fill full height */
}

.featured-popup-info {
    flex: 1 1 50%;
    height: 100%;
    min-width: 0; /* allow flex item to shrink so image panel doesn't collapse */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Remove gradient effect from featured popup */
.featured-popup-info::after {
    display: none;
}

/* Remove these rules - text colors are now handled by JavaScript */

.featured-popup-image-section {
    flex: 1 1 50%;
    height: 100%;
    min-width: 0; /* allow flex item to shrink properly */
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    padding: 0 !important; /* prevent inherited padding collapsing image */
}

.featured-popup-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 20px;
    height: 100%;
    background: #f8f9fa;
    filter: blur(10px);
    z-index: 4;
    pointer-events: none;
}

.featured-popup-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.featured-popup-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.featured-popup-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.featured-popup-price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.featured-popup-packaging {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.featured-popup-description {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.4;
}

.featured-popup-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.featured-popup-link:hover {
    opacity: 0.8;
    color: inherit;
}

.featured-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.featured-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.featured-popup-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.featured-popup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-popup-dot.active {
    background: white;
    transform: scale(1.2);
}

.featured-popup-nav-left,
.featured-popup-nav-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.featured-popup-nav-left {
    left: 20px;
}

.featured-popup-nav-right {
    right: 20px;
}

.featured-popup-nav-left:hover,
.featured-popup-nav-right:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Smaller mobile layout for featured popup */
@media (max-width: 576px) {
    .featured-popup {
        max-width: 85vw;
        max-height: 75vh;
        width: auto;
        height: auto;
        border-radius: 0;
    }
    .featured-popup-content {
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .featured-popup-image-section {
        height: 35vh;
        min-height: 160px;
    }
    .featured-popup-info {
        padding: 16px;
    }
    .featured-popup-title { font-size: 1.3rem; }
    .featured-popup-price { font-size: 1.4rem; }
    .featured-popup-nav-left,
    .featured-popup-nav-right {
        width: 40px;
        height: 40px;
    }
    .featured-popup-close {
        width: 34px;
        height: 34px;
    }
}

.featured-items-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.category-icon {
    margin-bottom: 10px;
}

.category-icon i {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.category-content {
    text-align: center;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.category-content h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
    color: white;
}

.category-content small {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Clean category design - consistent styling */

/* Clean category design - no gradients, no slants */

/* Responsive Design for Family Members and Categories */
@media (max-width: 1200px) {
    .family-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .home-info-card,
    .categories-card {
        margin-bottom: 1rem;
    }
    
    .family-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .family-member-card {
        padding: 15px;
        min-height: 180px;
    }
    
    .family-member-image {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .family-member-name {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .family-member-bio {
        font-size: 0.8rem;
    }
    
    .categories-grid {
        gap: 10px;
    }
    
    .category-tile {
        width: 280px;
        height: 120px;
    }
    
    .category-info {
        padding: 15px;
    }
    
    .category-image-section {
        margin-left: 0;
    }
    
    .category-icon i {
        font-size: 2rem;
    }
    
    .category-content h6 {
        font-size: 1rem;
    }
    
    .category-content small {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .family-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .family-member-image {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }
    
    .family-member-name {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .family-member-bio {
        font-size: 0.75rem;
    }
    
    .categories-grid {
        gap: 8px;
    }
    
    .category-tile {
        width: 240px;
        height: 100px;
    }
    
    .category-info {
        padding: 10px;
    }
    
    .category-image-section {
        clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
        margin-left: -10px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
    
    .category-content h6 {
        font-size: 0.9rem;
    }
    
    .category-content small {
        font-size: 0.75rem;
    }
}

/* Dark Theme Support */
.dark-theme .home-info-card,
.dark-theme .categories-card {
    background: #2d3748;
    border-color: #4a5568;
}

.dark-theme .family-member-card {
    background: #2d3748;
    border-color: #4a5568;
}

.dark-theme .family-member-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.dark-theme .family-member-name {
    color: #e2e8f0;
}

.dark-theme .family-member-bio {
    color: #a0aec0;
}

.dark-theme .category-tile {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: #e2e8f0;
}

.dark-theme .category-content small {
    color: #a0aec0;
}

.dark-theme .category-tile:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.dark-theme .category-tile:hover .category-content small {
    color: rgba(255, 255, 255, 0.8);
}

/* Home Page Title and Description */
.home-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}


.card[id*="HeroCard"] .home-page-title {
    margin-bottom: 1.5rem;
}

.card[id*="HeroCard"] .home-page-title {
    font-size: 2.5rem;
}

.card[id*="HeroCard"] .home-page-title span {
    font-size: 2.5rem;
    font-weight: 700;
}

.home-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Welcome Section */
.welcome-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0;
    margin-bottom: 2rem;
}

/* Featured Items Container - Store CSS Style */
.featured-items-container {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    padding: 25px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.featured-title i {
    color: #ffc107;
    margin-right: 10px;
}

.featured-scroller {
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    border-radius: 0;
}

.featured-items-wrapper {
    display: flex;
    gap: 20px;
    padding: 10px 20px 10px 0;
    animation: scrollFeatured 30s linear infinite;
    width: max-content;
    justify-content: flex-start;
    max-width: none;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Center loading content in featured items wrapper */
.featured-items-wrapper .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
}

.featured-items-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.featured-items-wrapper.paused {
    animation-play-state: paused;
}

@keyframes scrollFeatured {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Featured Item Cards - Store CSS Style */
.featured-item-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 0;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid #f0f0f0;
    max-width: 350px;
    min-width: 350px;
}

.featured-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #DC143C;
}

.featured-item-card .featured-item-image-container {
    flex: 0 0 120px;
    position: relative;
}

.featured-item-card .featured-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid #e0e0e0;
}

.featured-item-card .featured-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.featured-item-card .featured-item-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.featured-item-card .featured-item-description {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-item-card .featured-item-price {
    color: #DC143C;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
}

.featured-item-card .featured-item-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.featured-item-card .featured-item-packaging,
.featured-item-card .featured-item-availability {
    color: #666;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.featured-item-card .featured-item-category {
    color: #DC143C;
    font-weight: 500;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

/* Responsive Design for Featured Items */
@media (max-width: 768px) {
    .featured-item-card {
        flex: 0 0 320px;
        padding: 15px;
        gap: 12px;
        width: 320px;
        max-width: 320px;
    }
    
    .featured-item-card .featured-item-image-container {
        flex: 0 0 100px;
    }
    
    .featured-item-card .featured-item-image {
        width: 100px;
        height: 100px;
    }
    
    .featured-item-card .featured-item-title {
        font-size: 0.9rem;
    }
    
    .featured-item-card .featured-item-description {
        font-size: 0.8rem;
    }
    
    .featured-item-card .featured-item-price {
        font-size: 1rem;
    }
    
    .featured-item-card .featured-item-details {
        gap: 8px;
    }
    
    .featured-item-card .featured-item-packaging,
    .featured-item-card .featured-item-availability {
        font-size: 0.75rem;
    }
    
    .featured-item-card .featured-item-category {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .featured-item-card {
        flex: 0 0 280px;
        padding: 12px;
        gap: 10px;
        width: 280px;
        max-width: 280px;
    }
    
    .featured-item-card .featured-item-image-container {
        flex: 0 0 80px;
    }
    
    .featured-item-card .featured-item-image {
        width: 80px;
        height: 80px;
    }
    
    .featured-item-card .featured-item-title {
        font-size: 0.85rem;
    }
    
    .featured-item-card .featured-item-description {
        font-size: 0.75rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .featured-item-card .featured-item-price {
        font-size: 0.9rem;
    }
    
    .featured-item-card .featured-item-details {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    
    .featured-item-card .featured-item-packaging,
    .featured-item-card .featured-item-availability,
    .featured-item-card .featured-item-category {
        font-size: 0.7rem;
    }
} 

/* Special Offers - Store CSS Style */
.special-offer-item {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.special-offer-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.special-offer-red {
    border-left: 4px solid #dc3545;
}

.special-offer-red:hover {
    border-left-color: #c41e3a;
}

.special-offer-yellow {
    border-left: 4px solid #ffc107;
}

.special-offer-yellow:hover {
    border-left-color: #e0a800;
}

.special-offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.special-offer-type {
    background: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.special-offer-red .special-offer-type {
    background: #dc3545;
}

.special-offer-yellow .special-offer-type {
    background: #ffc107;
    color: #333;
}

.special-offer-type i {
    font-size: 0.7rem;
}

.special-offer-badge {
    background: #f8f9fa;
    color: #666;
    padding: 2px 8px;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 500;
}

.special-offer-yellow .special-offer-badge {
    background: #fff3cd;
    color: #856404;
}

.special-offer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.special-offer-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
}

.special-offer-details {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hidden-offer {
    display: none;
}

.load-more-offers-container {
    text-align: center;
    margin-top: 15px;
}

.load-more-offers-container .btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.load-more-offers-container .btn:hover {
    background: #c41e3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Offers Slideshow - Store CSS Style */
.offers-transition-container {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.offers-slideshow {
    display: flex;
    transition: transform 0.5s ease;
}

.offer-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.offer-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.offers-navigation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.offer-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.offer-nav-dot:hover {
    background: #adb5bd;
    transform: scale(1.1);
}

.offer-nav-dot.active {
    background: #dc3545;
    transform: scale(1.2);
}

.offer-nav-dot-yellow {
    background: #ffc107;
}

.offer-nav-dot-yellow:hover {
    background: #e0a800;
}

.offer-nav-dot-yellow.active {
    background: #ffc107;
}

.offer-nav-dot-red {
    background: #dc3545;
}

.offer-nav-dot-red:hover {
    background: #c41e3a;
}

.offer-nav-dot-red.active {
    background: #dc3545;
}

/* Responsive Design for Special Offers */
@media (max-width: 768px) {
    .special-offer-item {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .special-offer-header {
        margin-bottom: 8px;
    }
    
    .special-offer-type {
        padding: 3px 10px;
        font-size: 0.75rem;
    }
    
    .special-offer-badge {
        padding: 1px 6px;
        font-size: 0.65rem;
    }
    
    .special-offer-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .special-offer-description {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .offers-slideshow {
        height: auto;
    }
    
    .offer-nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .offers-navigation {
        gap: 6px;
        margin-top: 12px;
    }
}


/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .review-slideshow-container {
        min-height: 250px;
        height: auto;
    }
    
    .review-slideshow-container .review-slide {
        padding: 15px;
        min-height: 250px;
    }
    
    .review-slideshow-container .review-slideshow-wrapper {
        min-height: 250px;
    }
    
    .review-slideshow-container .review-author-image {
        width: 40px;
        height: 40px;
    }
    
    .review-slideshow-container .review-author-name {
        font-size: 0.9rem;
    }
    
    .review-slideshow-container .review-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .review-slideshow-container .review-content {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .review-slideshow-container .review-header {
        margin-bottom: 12px;
    }
    
    .review-slideshow-container .review-rating {
        gap: 3px;
    }
}

/* Quick Info - Store CSS Style */
.quick-info {
    padding: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    width: 20px;
    color: #dc3545;
    font-size: 1rem;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 2px;
}

.info-item small {
    font-size: 0.8rem;
    color: #666;
}

/* Responsive Design for Quick Info */
@media (max-width: 768px) {
    .info-item {
        gap: 8px;
        margin-bottom: 10px;
        padding: 6px 0;
    }
    
    .info-item i {
        width: 18px;
        font-size: 0.9rem;
    }
    
    .info-item strong {
        font-size: 0.85rem;
    }
    
    .info-item small {
    font-size: 0.75rem;
    }
}

/* Responsive Design for Home Page */
@media (max-width: 768px) {
    .home-page-title {
        font-size: 2rem;
    }
    
    .home-description {
        font-size: 1rem;
    }
    
    .featured-items-wrapper {
        gap: 15px;
    }
}

/* Override home-section-grid to make sections full width and stacked */
.home-section-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
}

.home-section-grid .home-tile {
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

.home-section-grid .home-tile:last-child {
    border-bottom: none;
}

.home-section-grid .home-tile-body,
.home-section-grid .home-tile .home-slider-placeholder {
    padding: 0;
    margin: 0;
}

.home-tile-body {
    padding: 0 !important;
}

.home-slider-placeholder {
    margin: 0;
    padding: 0;
}

/* Horizontal Scroller Styles - Full Width Stacked */
.horizontal-scroller {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.5rem 0;
    margin-bottom: 0;
}

/* Alternating light/dark backgrounds */
.home-section-grid .home-tile:nth-child(odd) {
    background: #ffffff;
}

.home-section-grid .home-tile:nth-child(even) {
    background: #f8f9fa;
}

.home-section-grid .home-tile:nth-child(3n+1) {
    background: #ffffff;
}

.home-section-grid .home-tile:nth-child(3n+2) {
    background: #f8f9fa;
}

.home-section-grid .home-tile:nth-child(3n) {
    background: #ffffff;
}

.horizontal-scroller-container {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.horizontal-scroller-list {
    list-style: none;
    margin: 0;
    padding: 0 0.5rem 0.75rem 0.5rem;
    overflow-x: scroll;
    overflow-y: hidden;
    display: grid;
    grid-auto-flow: column;
    /* scroll-snap-type: x mandatory; */ /* Removed for native scrolling */
    max-height: fit-content;
    gap: 0.5rem;
    scroll-behavior: smooth;
    /* cursor: grab; */ /* Removed for native scrolling */
    /* user-select: none; */ /* Removed for native scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    touch-action: auto; /* Allow native touch behavior */
    scrollbar-width: thin; /* Firefox - thin scrollbar */
    scrollbar-color: #dc3545 #f0f0f0; /* Firefox - thumb and track colors */
}

.horizontal-scroller-list:active {
    cursor: grabbing;
}

/* Custom scrollbar for Chrome, Safari, Opera */
.horizontal-scroller-list::-webkit-scrollbar {
    height: 8px;
    display: block;
}

.horizontal-scroller-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 0;
}

.horizontal-scroller-list::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 0;
    transition: background 0.3s ease;
}

.horizontal-scroller-list::-webkit-scrollbar-thumb:hover {
    background: #c82333;
}

/* Prevent text selection during drag */
.horizontal-scroller-list * {
    user-select: none;
    -webkit-user-drag: none;
}

.horizontal-scroller-item {
    /* scroll-snap-align: start; */ /* Removed for native scrolling */
    flex: 0 0 180px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

/* Hide navigation arrows - use scrollbar instead */
.horizontal-scroller-nav {
    display: none !important;
}

/* Product Tile for Horizontal Scroller - Exact Cart Buy-Again Style */
.product-tile {
    background: #fff;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    padding: 12px;
    height: 320px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-tile:hover {
    border-color: #dc3545;
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.2);
}

/* Special item highlighting - Yellow theme from cart */
.product-tile.special-item {
    border-color: #ffc107 !important;
    background: linear-gradient(to bottom, #fff9e6 0%, #ffffff 30%);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

.product-tile.special-item:hover {
    border-color: #ffc107 !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

/* Image wrapper with special badge overlay */
.product-tile-image-container {
    position: relative;
    margin-bottom: 8px;
}

/* Content area that grows to push button to bottom */
.product-tile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-tile-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
    background: transparent;
}

.product-tile.special-item .product-tile-image {
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.product-tile.special-item:hover .product-tile-image {
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* Special badge - positioned over image */
.product-tile-savings {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ffc107;
    color: #212529;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.product-tile-savings i {
    font-size: 0.65rem;
}

.product-tile-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 36px;
}

.product-tile-pack {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-tile.special-item .product-tile-pack {
    color: #856404;
}

.product-tile-price-container {
    margin-bottom: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Price line with old price and current price together */
.product-tile-price-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.product-tile-old-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
}

.product-tile-price {
    font-size: 1rem;
    font-weight: 700;
    color: #dc3545;
}

.product-tile.special-item .product-tile-price {
    color: #f57c00;
}

.product-tile-savings-text {
    font-size: 0.75rem;
    color: #28a745;
    font-weight: 600;
}

.product-tile.special-item .product-tile-savings-text {
    color: #ff6b00;
}

.product-tile-pricing {
    margin-bottom: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Cart page style button */
.product-tile-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.product-tile-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

.product-tile-btn:active {
    transform: scale(0.98);
}

/* Special item button - Yellow theme from cart */
.product-tile-btn-special {
    background: #ffc107;
    color: #212529;
    border: 2px solid #ffc107;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.product-tile-btn-special:hover {
    background: #e0a800;
    border-color: #e0a800;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.product-tile-btn-special:active {
    transform: scale(0.98);
}

/* Hover effects for better interactivity */
.home-section-grid .home-tile:hover {
    transform: none;
}

.home-section-grid .home-tile-header {
    padding: 1rem 1.5rem;
    margin: 0;
}

/* Dark theme support for product tiles */
.dark-theme .product-tile {
    background: #2d2d2d;
    border-color: #444;
}

.dark-theme .product-tile:hover {
    border-color: #dc3545;
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.dark-theme .product-tile.special-item {
    background: linear-gradient(to bottom, #3d3416 0%, #2d2d2d 30%);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
}

.dark-theme .product-tile-title {
    color: #f1f1f1;
}

.dark-theme .product-tile-pack {
    color: #adb5bd;
}

.dark-theme .product-tile-image {
    background: transparent;
}

.dark-theme .product-tile-price {
    color: #ff6b7a;
}

/* Review Tile Styling */
.review-tile {
    background: #fff;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    padding: 12px;
    height: 320px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: default;
}

.review-tile:hover {
    border-color: #dc3545;
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.review-author {
    display: flex;
    gap: 10px;
    align-items: center;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dc3545;
}

.review-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545, #ff6b7a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.review-author-info {
    flex: 1;
}

.review-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.review-author-stats {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
}

.review-rating {
    color: #ffc107;
    font-size: 1rem;
}

.review-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.review-content {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.review-date {
    font-size: 0.75rem;
    color: #999;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
}

/* Special Tile Styling */
.special-tile {
    background: #fff;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    padding: 16px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.special-tile:hover {
    border-color: #dc3545;
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.2);
}

.special-tile.special-item {
    border-color: #ffc107 !important;
    background: linear-gradient(to bottom, #fff9e6 0%, #ffffff 30%);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

.special-tile.special-item:hover {
    border-color: #ffc107 !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

.special-tile-badge {
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.special-tile.special-item .special-tile-badge {
    background: #ffc107;
    color: #000;
}

.special-tile-discount {
    font-size: 2rem;
    font-weight: 900;
    color: #dc3545;
    margin-bottom: 16px;
}

.special-tile.special-item .special-tile-discount {
    color: #f57c00;
}

.special-tile-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.special-tile-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
    flex: 1;
}

.special-tile-date {
    font-size: 0.75rem;
    color: #999;
    margin-top: auto;
}

/* Dark theme for review and special tiles */
.dark-theme .review-tile,
.dark-theme .special-tile {
    background: #2d2d2d;
    border-color: #444;
}

.dark-theme .review-tile:hover,
.dark-theme .special-tile:hover {
    border-color: #dc3545;
}

.dark-theme .review-author-name,
.dark-theme .review-title,
.dark-theme .special-tile-title {
    color: #f1f1f1;
}

.dark-theme .review-author-stats,
.dark-theme .review-content,
.dark-theme .special-tile-description {
    color: #adb5bd;
}

.dark-theme .review-date,
.dark-theme .special-tile-date {
    color: #718096;
    border-top-color: #444;
}

.dark-theme .review-header {
    border-bottom-color: #444;
}

.dark-theme .special-tile.special-item {
    background: linear-gradient(to bottom, #3d3416 0%, #2d2d2d 30%);
}

/* Reviews, Specials, and Community Horizontal Scroller with Scrollbar */
.reviews-horizontal-scroller,
.specials-horizontal-scroller,
.community-horizontal-scroller {
    overflow-x: auto;
    overflow-y: hidden;
    /* cursor: grab; */ /* Removed for native scrolling */
    /* user-select: none; */ /* Removed for native scrolling */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    touch-action: auto; /* Allow native touch behavior */
    /* scroll-behavior: smooth removed for better manual scrolling */
}

/* Center items when they don't need scrolling */
.specials-horizontal-scroller.centered {
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

.specials-horizontal-scroller.centered .specials-scroll-track {
    width: auto;
    justify-content: center;
}

.reviews-horizontal-scroller:active,
.specials-horizontal-scroller:active,
.community-horizontal-scroller:active {
    cursor: grabbing;
}

.reviews-scroll-track,
.specials-scroll-track,
.community-scroll-track {
    display: flex;
    gap: 1rem;
    width: max-content;
}

/* Show scrollbar for reviews, specials, and community */
.reviews-horizontal-scroller::-webkit-scrollbar,
.specials-horizontal-scroller::-webkit-scrollbar,
.community-horizontal-scroller::-webkit-scrollbar {
    height: 8px;
}

.reviews-horizontal-scroller::-webkit-scrollbar-track,
.specials-horizontal-scroller::-webkit-scrollbar-track,
.community-horizontal-scroller::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.reviews-horizontal-scroller::-webkit-scrollbar-thumb,
.specials-horizontal-scroller::-webkit-scrollbar-thumb,
.community-horizontal-scroller::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.reviews-horizontal-scroller::-webkit-scrollbar-thumb:hover,
.specials-horizontal-scroller::-webkit-scrollbar-thumb:hover,
.community-horizontal-scroller::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Dark theme for reviews/specials/community scrollers */
.dark-theme .reviews-horizontal-scroller::-webkit-scrollbar-track,
.dark-theme .specials-horizontal-scroller::-webkit-scrollbar-track,
.dark-theme .community-horizontal-scroller::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.dark-theme .reviews-horizontal-scroller::-webkit-scrollbar-thumb,
.dark-theme .specials-horizontal-scroller::-webkit-scrollbar-thumb,
.dark-theme .community-horizontal-scroller::-webkit-scrollbar-thumb {
    background: #555;
}

.dark-theme .reviews-horizontal-scroller::-webkit-scrollbar-thumb:hover,
.dark-theme .specials-horizontal-scroller::-webkit-scrollbar-thumb:hover,
.dark-theme .community-horizontal-scroller::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Responsive adjustments for horizontal scroller - matching cart */
@media (max-width: 768px) {
    .horizontal-scroller-item {
        flex: 0 0 160px;
        min-width: 160px;
    }
    
    .product-tile,
    .review-tile,
    .special-tile {
        padding: 10px;
        height: 300px;
    }
    
    .product-tile-image {
        width: 100%;
        height: auto;
        min-height: 100px;
        object-fit: cover;
    }
    
    .product-tile-title,
    .review-title,
    .special-tile-title {
        font-size: 0.85rem;
        min-height: 32px;
    }
    
    .product-tile-savings {
        font-size: 0.65rem;
        padding: 3px 6px;
        top: 6px;
        left: 6px;
    }
    
    .product-tile-savings i {
        font-size: 0.6rem;
    }
    
    .product-tile-price {
        font-size: 0.9rem;
    }
    
    .product-tile-old-price {
        font-size: 0.75rem;
    }
    
    .product-tile-savings-text {
        font-size: 0.7rem;
    }
    
    .product-tile-btn,
    .product-tile-btn-special {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .review-author-name {
        font-size: 0.85rem;
    }
    
    .review-author-stats {
        font-size: 0.7rem;
    }
    
    .review-content,
    .special-tile-description {
        font-size: 0.8rem;
    }
    
    .special-tile-discount {
        font-size: 1.75rem;
    }
    
    .horizontal-scroller {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .horizontal-scroller-item {
        flex: 0 0 140px;
        min-width: 140px;
    }
    
    .product-tile,
    .review-tile,
    .special-tile {
        height: 280px;
    }
    
    .product-tile-image {
        width: 100%;
        height: auto;
        min-height: 90px;
        object-fit: cover;
    }
    
    .product-tile-savings {
        font-size: 0.6rem;
        padding: 2px 5px;
        top: 5px;
        left: 5px;
    }
    
    .product-tile-savings i {
        font-size: 0.55rem;
    }
    
    .product-tile-old-price {
        font-size: 0.7rem;
    }
    
    .product-tile-price {
        font-size: 0.95rem;
    }
    
    .product-tile-savings-text {
        font-size: 0.65rem;
    }
    
    .review-avatar,
    .review-avatar-placeholder {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .special-tile-discount {
        font-size: 1.5rem;
    }
}

/* Dark Theme Support for All Components */
.dark-theme .home-page-title {
    color: #e2e8f0;
}

.dark-theme .home-description {
    color: #a0aec0;
}

.dark-theme .welcome-section {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.dark-theme .featured-items-container {
    background: #2d3748;
    border-color: #4a5568;
}

.dark-theme .featured-title {
    color: #e2e8f0;
}

.dark-theme .featured-item-card {
    background: #2d3748;
    border-color: #4a5568;
}

.dark-theme .featured-item-card .featured-item-content {
    background: #2d3748;
}

.dark-theme .featured-item-card .featured-item-title {
    color: #e2e8f0;
}

.dark-theme .featured-item-card .featured-item-description {
    color: #a0aec0;
}

.dark-theme .featured-item-card .featured-item-category {
    background: #4a5568;
    color: #a0aec0;
}

.dark-theme .special-offer-item {
    background: #2d3748;
    border-color: #4a5568;
}

.dark-theme .special-offer-title {
    color: #e2e8f0;
}

.dark-theme .special-offer-description {
    color: #a0aec0;
}

.dark-theme .special-offer-details {
    color: #a0aec0;
}

.dark-theme .special-offer-badge {
    background: #4a5568;
    color: #a0aec0;
}

.dark-theme .special-offer-yellow .special-offer-badge {
    background: #744210;
    color: #fbd38d;
}

.dark-theme .review-slideshow-container .review-slide {
    background: #2d3748;
}

.dark-theme .review-slideshow-container .review-author-name {
    color: #e2e8f0;
}

.dark-theme .review-slideshow-container .review-author-stats {
    color: #a0aec0;
}

.dark-theme .review-slideshow-container .review-title {
    color: #e2e8f0;
}

.dark-theme .review-slideshow-container .review-content {
    color: #a0aec0;
}

.dark-theme .review-slideshow-container .review-date {
    color: #718096;
}

.dark-theme .info-item strong {
    color: #e2e8f0;
}

.dark-theme .info-item small {
    color: #a0aec0;
}

/* Responsive styles for featured items */
@media (max-width: 768px) {
    .featured-item-tile {
        height: 120px;
        width: 240px;
    }
    
    .featured-item-info {
        padding: 10px;
    }
    
    .featured-item-content h6 {
        font-size: 0.9rem;
    }
    
    .featured-item-content .price {
        font-size: 1rem;
    }
    
    .featured-item-content .packaging {
        font-size: 0.7rem;
    }
}

/* Navigation Dots - Perfect Circles */
.offer-nav-dot,
.review-slideshow-container .review-nav-btn {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    border: none !important;
    display: inline-block !important;
} 

/* Product Modal Styling */
#productModal .modal-dialog {
    max-width: 900px;
    margin: 1.75rem auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

#productModal .modal-content {
    width: 100%;
    margin: auto;
}

/* Center modal on smaller screens */
@media (max-width: 768px) {
    #productModal .modal-dialog {
        margin: 0.5rem auto;
        min-height: calc(100% - 1rem);
    }
}

#productModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#productModal .modal-cart-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

#productModal .cart-count-badge {
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#productModal .cart-count-badge i {
    font-size: 0.75rem;
}

#productModal .cart-count-badge button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    padding: 0;
    margin-left: 0.5rem;
    transition: all 0.2s ease;
}

#productModal .cart-count-badge button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

#productModal .product-modal-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
}

#productModal .image-slideshow-container {
    position: relative;
    width: 100%;
    height: 300px; /* Desktop height */
}

#productModal .image-slideshow {
    width: 100%;
    height: 300px; /* Desktop height */
    position: relative;
}

/* Mobile: Make modal image larger */
@media (max-width: 768px) {
    #productModal .image-slideshow-container {
        height: 400px !important; /* Larger on mobile */
        min-height: 400px;
    }
    
    #productModal .image-slideshow {
        height: 400px !important; /* Larger on mobile */
        min-height: 400px;
    }
    
    #productModal .modal-slide,
    #productModal .slideshow-image-wrapper img,
    #productModal .slideshow-image-wrapper .slideshow-image {
        height: 400px !important;
        min-height: 400px;
    }
}

#productModal .modal-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    background-color: #f8f9fa; /* Light background to see if image is loading */
}

#productModal .modal-slide.active {
    opacity: 1;
}

#productModal .modal-slide[src*="Logo.png"] {
    object-fit: contain; /* Use contain for logo to show full image */
    background-color: transparent;
}

#productModal .slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

#productModal .slideshow-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

#productModal .slideshow-nav.slideshow-prev {
    left: 10px;
}

#productModal .slideshow-nav.slideshow-next {
    right: 10px;
}

#productModal .slideshow-nav.hidden {
    display: none;
}

#productModal .image-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
    pointer-events: auto;
}

#productModal .image-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

#productModal .image-indicator.active {
    background: white;
}

#productModal .image-indicator.hidden {
    display: none;
}

#productModal .product-modal-details {
    padding: 0 20px;
}

#productModal .product-info .info-item {
    margin-bottom: 8px;
}

#productModal .additional-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#productModal .detail-item {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

#productModal .quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

#productModal .quantity-btn-modal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

#productModal #modalQuantityInput {
    width: 80px;
    text-align: center;
}

/* Fullscreen Slideshow Modal */
#fullscreenSlideshowModal .modal-dialog {
    position: relative !important;
    z-index: 13005 !important;
    margin: 1.75rem auto !important;
    pointer-events: auto !important;
    max-width: 900px !important;
    width: 90% !important;
}

#fullscreenSlideshowModal .fullscreen-slideshow-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fullscreenSlideshowModal .fullscreen-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

#fullscreenSlideshowModal .fullscreen-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

#fullscreenSlideshowModal .fullscreen-slide.active {
    opacity: 1;
}

#fullscreenSlideshowModal .fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

#fullscreenSlideshowModal .fullscreen-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

#fullscreenSlideshowModal .fullscreen-nav.fullscreen-prev {
    left: 20px;
}

#fullscreenSlideshowModal .fullscreen-nav.fullscreen-next {
    right: 20px;
}

#fullscreenSlideshowModal .fullscreen-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 0;
    font-size: 0.9rem;
    z-index: 10;
} 

/* Card carousel with faded edges */
.card-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 8px 24px;
	scrollbar-width: none; /* Firefox */
}
.card-carousel::-webkit-scrollbar { display: none; }
.carousel-card { scroll-snap-align: center; flex: 0 0 80%; max-width: 520px; margin: 0 auto; }
@media (min-width: 768px) { .carousel-card { flex-basis: 480px; } }
.edge-fade { position: relative; }
.edge-fade::before, .edge-fade::after {
	content: '';
	position: absolute;
	top: 0; bottom: 0; width: 32px; pointer-events: none;
	z-index: 1;
}
.edge-fade::before { left: 0; background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0)); }
.edge-fade::after { right: 0; background: linear-gradient(270deg, rgba(255, 255, 255, 1), rgba(255,255,255,0)); } 

/* Ensure carousel card images are full width */
.carousel-card .card img {
	width: 100%;
	display: block;
}

/* Hero Slideshow Styles - Common Base */
.shop-quick-links-hero,
.featured-hero,
.specials-hero,
.reviews-hero,
.order-again-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
    background: #f8f9fa;
}

.shop-quick-links-track,
.featured-hero-track,
.specials-hero-track,
.reviews-hero-track,
.order-again-hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.shop-quick-links-slide,
.featured-hero-slide,
.specials-hero-slide,
.reviews-hero-slide,
.order-again-hero-slide {
    flex: 0 0 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.shop-quick-links-slide.active,
.featured-hero-slide.active,
.specials-hero-slide.active,
.reviews-hero-slide.active,
.order-again-hero-slide.active {
    opacity: 1;
}

/* Hero Cards */
.shop-quick-links-card,
.featured-hero-card,
.specials-hero-card,
.reviews-hero-card {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.featured-hero-card-no-image,
.order-again-hero-card-no-image {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Hero Overlays */
.shop-quick-links-overlay,
.featured-hero-overlay,
.specials-hero-overlay,
.reviews-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Hero Text Content */
.shop-quick-links-text,
.featured-hero-text,
.specials-hero-text,
.reviews-hero-text {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
}



.shop-quick-links-title,
.featured-hero-title,
.specials-hero-title,
.reviews-hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.shop-quick-links-price,
.featured-hero-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffc107;
}

.featured-hero-description,
.specials-hero-description,
.reviews-hero-content {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Hero Buttons */
.featured-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.featured-hero-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-hero-btn-primary {
    background: #dc3545;
    color: white;
}

.featured-hero-btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.featured-hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.featured-hero-btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

/* Featured and Specials Badge Styles */
.shop-quick-links-badge,
.featured-hero-badge,
.specials-hero-badge {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Shop Quick Links Specific Styles */
.shop-quick-links-info {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.shop-quick-links-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.shop-quick-links-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-quick-links-btn-primary {
    background: #dc3545;
    color: white;
}

.shop-quick-links-btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.shop-quick-links-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.shop-quick-links-btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.shop-quick-links-content {
    text-align: center;
    padding: 2rem;
}

.shop-quick-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.shop-quick-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.shop-quick-btn-primary {
    background: #dc3545;
    color: white;
}

.shop-quick-btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.shop-quick-btn-secondary {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.shop-quick-btn-secondary:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.specials-hero-badge.discount-badge {
    background: #ffc107;
    color: #333;
}

.specials-hero-dates {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Reviews Specific Styles */
.reviews-hero-text {
    padding: 3rem 2.5rem;
    max-width: 700px;
}

.reviews-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.reviews-hero-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviews-hero-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.reviews-hero-author-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.reviews-hero-author-stats {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.reviews-hero-rating {
    font-size: 1.2rem;
}

.reviews-hero-stars {
    color: #ffc107;
}

.reviews-hero-date {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Hero Navigation Dots */
.shop-quick-links-dots,
.featured-hero-dots,
.specials-hero-dots,
.reviews-hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.shop-quick-links-dot,
.featured-hero-dot,
.specials-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-quick-links-dot.active,
.featured-hero-dot.active,
.specials-hero-dot.active,
.reviews-hero-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-hero,
    .specials-hero,
    .reviews-hero,
    .order-again-hero {
        height: 300px;
    }
    
    .featured-hero-text,
    .specials-hero-text,
    .reviews-hero-text {
        padding: 1rem;
    }
    
    .featured-hero-title,
    .specials-hero-title,
    .reviews-hero-title {
        font-size: 1.5rem;
    }
    
    .featured-hero-description,
    .specials-hero-description,
    .reviews-hero-content {
        font-size: 1rem;
    }
    
    
    .featured-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .featured-hero-btn {
        width: 200px;
    }
    
    .reviews-hero-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .reviews-hero-author {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .featured-hero,
    .specials-hero,
    .reviews-hero,
    .order-again-hero {
        height: 250px;
    }
    
    .featured-hero-text,
    .specials-hero-text,
    .reviews-hero-text {
        padding: 0.75rem;
    }
    
    .featured-hero-title,
    .specials-hero-title,
    .reviews-hero-title {
        font-size: 1.25rem;
    }
    
    .featured-hero-description,
    .specials-hero-description,
    .reviews-hero-content {
        font-size: 0.9rem;
    }
    
    
    .reviews-hero-author-image {
        width: 50px;
        height: 50px;
    }
    
    .reviews-hero-author-name {
        font-size: 1rem;
    }
    
    .reviews-hero-author-stats {
        font-size: 0.8rem;
    }
}

/* UNIFIED SLIDESHOW STYLES - Same for all sections */
.unified-slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
}

.unified-slideshow-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.unified-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: none;
}

.unified-slide.active {
    display: block;
}

.unified-slide-card {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.unified-slide-card:not([style*="background-image"]) {
    background-color: #f8f9fa;
}

.unified-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.unified-slide-text {
    text-align: center;
    color: white;
    max-width: 600px;
}

.unified-slide-badge {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.unified-slide-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.unified-slide-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.unified-slide-description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.unified-slide-info {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.unified-slide-rating {
    font-size: 1.25rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.unified-slide-date {
    font-size: 0.875rem;
    opacity: 0.7;
    font-style: italic;
}

.unified-slideshow-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.unified-dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.unified-dot.active {
    background: #dc3545;
    transform: scale(1.2);
}

.unified-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.unified-dot.active:hover {
    background: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .unified-slideshow {
        height: 300px;
    }
    
    .unified-slide-overlay {
        padding: 1rem;
    }
    
    .unified-slide-title {
        font-size: 1.5rem;
    }
    
    .unified-slide-price {
        font-size: 1.25rem;
    }
}

/* COUPON-STYLE SPECIALS */
.specials-coupons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.coupon-card {
    position: relative;
    border: 3px solid;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.coupon-card.red {
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.coupon-card.yellow {
    border-color: #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.coupon-header {
    background: linear-gradient(135deg, var(--coupon-primary) 0%, var(--coupon-secondary) 100%);
    padding: 1rem;
    text-align: center;
    position: relative;
}

.coupon-card.red .coupon-header {
    --coupon-primary: #dc3545;
    --coupon-secondary: #c82333;
}

.coupon-card.yellow .coupon-header {
    --coupon-primary: #ffc107;
    --coupon-secondary: #e0a800;
}

.coupon-badge {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.coupon-value {
    color: white;
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.coupon-body {
    padding: 1.5rem;
    text-align: center;
}

.coupon-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #333;
}

.coupon-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.coupon-footer {
    background: #f8f9fa;
    padding: 0.75rem;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.coupon-code {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
}

/* Responsive coupon adjustments */
@media (max-width: 768px) {
    .specials-coupons-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .coupon-value {
        font-size: 1.5rem;
    }
    
    .coupon-title {
        font-size: 1.1rem;
    }
}