/* 3D Bento Template Styles for Lussofioro */

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Navbar */
.navbar {
    background: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s;
}

/* Navbar on white background pages */
body:not(.home-page) .navbar {
    position: relative;
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body:not(.home-page) .navbar-dark .navbar-brand,
body:not(.home-page) .navbar-dark .nav-link {
    color: var(--black) !important;
}

body:not(.home-page) .navbar-dark .nav-link:hover {
    color: var(--gray-600) !important;
}

/* Mobile Menu Background */
.home-page .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

body:not(.home-page) .navbar-collapse {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
}

body:not(.home-page) .navbar-toggler {
    border-color: var(--black);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body:not(.home-page) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 50px;
    width: 200px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-dark .navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white) !important;
    text-transform: lowercase;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.3s;
}

.navbar-dark .nav-link:hover {
    color: var(--white) !important;
}

/* Hero Section - Dark Background */
.hero-section-dark {
    background: var(--black);
    padding: 140px 0 80px !important;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-badge-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-title-white {
    font-size: clamp(60px, 12vw, 180px) !important;
    font-weight: 700 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 1rem !important;
    color: var(--white);
}

.hero-subtitle-white {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stat-card-dark {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 24px;
}

.stat-icon-white {
    font-size: 24px;
    color: var(--white);
}

.stat-label-white {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.hero-stat-large-white {
    background: var(--white);
    color: var(--black);
    border-radius: 16px;
    padding: 20px 32px;
}

.stat-number-big {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.stat-label-small {
    font-size: 14px;
    opacity: 0.7;
}

.hero-arrow-white {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 20px;
    transition: transform 0.3s;
}

.hero-arrow-white:hover {
    transform: scale(1.1);
}

/* Hero Image Container with GIF and Floating Elements */
.hero-image-container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-gif {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.hero-main-gif img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* Floating Images Animation */
.floating-images {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.floating-img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Individual Floating Positions and Animations */
.floating-1 {
    top: 10%;
    right: 5%;
    animation: float-1 6s ease-in-out infinite;
}

.floating-2 {
    bottom: 15%;
    left: 0%;
    animation: float-2 7s ease-in-out infinite;
}

.floating-3 {
    top: 50%;
    right: 0%;
    animation: float-3 8s ease-in-out infinite;
}

.floating-4 {
    bottom: 40%;
    left: 5%;
    animation: float-4 9s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
    }
    50% { 
        transform: translate(-10px, -20px) rotate(5deg);
    }
}

@keyframes float-2 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
    }
    50% { 
        transform: translate(15px, -15px) rotate(-5deg);
    }
}

@keyframes float-3 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
    }
    50% { 
        transform: translate(-20px, 10px) rotate(3deg);
    }
}

@keyframes float-4 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
    }
    50% { 
        transform: translate(10px, 15px) rotate(-3deg);
    }
}

/* Brands Section */
.brands-section {
    padding: 60px 0;
    background: var(--gray-50);
    text-align: center;
}

.brands-text {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 30px;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.brand-item {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-400);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.brand-item:hover {
    opacity: 1;
    color: var(--black);
}

/* Philosophy Section */
.philosophy-section {
    padding: 100px 0;
    background: var(--white);
}

.philosophy-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.philosophy-subtitle {
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-600);
}

/* Category Cards */
.category-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .category-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .category-cards-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .category-cards-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-8px);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.view-more {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.category-labels {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.category-tag {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 100px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--gray-600);
}

.services-title {
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 700;
    line-height: 0.9;
    margin-top: 20px;
}

.title-line {
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    padding: 30px;
}

.service-item h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    color: var(--gray-600);
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: var(--white);
}

.stats-badge-container {
    text-align: center;
    margin-bottom: 50px;
}

.stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--gray-600);
}

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

.stat-box {
    background: var(--gray-50);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
}

.stat-big-number {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
}

.stat-icon-large {
    font-size: 60px;
    margin-bottom: 20px;
}

.stat-label-medium {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.stat-medium-number {
    font-size: 60px;
    font-weight: 700;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.testimonial-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--gray-700);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-200);
}

.author-name {
    font-weight: 600;
    font-size: 16px;
}

.author-title {
    font-size: 14px;
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    padding: 150px 0;
    background: var(--white);
    text-align: center;
    position: relative;
}

.cta-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-icon-left {
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 80px;
    color: var(--gray-100);
}

.cta-icon-right {
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 80px;
    color: var(--gray-100);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.cta-title {
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 50px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--black);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--white);
}

/* Product Page Styling */
.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.product-card .card-img-top {
    border-radius: 0;
    transition: transform 0.5s;
}

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

.product-card .card-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--black);
}

.product-card .btn-primary {
    background: var(--black);
    border: none;
    border-radius: 100px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.product-card .btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.product-card .btn-outline-primary {
    border: 2px solid var(--black);
    color: var(--black);
    border-radius: 100px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.product-card .btn-outline-primary:hover {
    background: var(--black);
    color: var(--white);
}

/* Filter Card Styling */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Auth Pages & Forms Styling */
.auth-card {
    max-width: 500px;
    margin: 50px auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.btn {
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--black);
    border: none;
}

.btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--black);
    color: var(--black);
}

.btn-outline-primary:hover {
    background: var(--black);
    color: var(--white);
}

/* Cart Page Styling */
.cart-summary {
    position: sticky;
    top: 100px;
}

.table {
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-weight: 700;
    color: var(--black);
}

/* Product Detail Page */
.carousel-item img {
    border-radius: 16px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

/* Badge Styling */
.badge {
    padding: 6px 12px;
    border-radius: 100px;
    font-weight: 600;
}

.badge.bg-danger {
    background-color: #ff4444 !important;
}

.badge.bg-primary {
    background-color: var(--black) !important;
}

/* Alert Styling */
.alert {
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Pagination Styling */
.pagination .page-link {
    color: var(--black);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    margin: 0 4px;
}

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

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

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--gray-100);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-images {
        height: 400px;
    }
    
    .category-card {
        height: 300px;
    }
    
    .stat-big-number {
        font-size: 80px;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    .hero-title-white {
        font-size: 60px !important;
    }
    
    .floating-img {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   FEATURED PRODUCTS SECTION
======================================== */
.featured-products-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.product-feature-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    height: 100%;
}

.product-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-feature-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-feature-card:hover .product-feature-img img {
    transform: scale(1.1);
}

.product-feature-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.product-feature-content {
    padding: 25px;
}

.product-feature-content h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--black);
}

.product-feature-content p {
    color: var(--gray-600);
    margin: 0;
}

/* ========================================
   BENEFITS SECTION
======================================== */
.benefits-section {
    padding: 100px 0;
    background: white;
    overflow-x: hidden; /* Prevent horizontal overflow from AOS animations */
}

.benefit-image-grid {
    position: relative;
    height: 500px;
    overflow: hidden; /* Prevent overflow from positioned elements */
}

.benefit-img-main {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.benefit-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-img-small {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border: 5px solid white;
    z-index: 10;
}

.benefit-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-img-1 {
    bottom: 20px;
    left: 0;
}

.benefit-img-2 {
    top: 20px;
    right: 0;
}

.benefit-content {
    padding-left: 40px;
}

.benefit-list {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items-start;
    gap: 20px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-item h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
}

/* ========================================
   RESPONSIVE - NEW SECTIONS
======================================== */
@media (max-width: 991px) {
    .benefit-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .benefit-image-grid {
        height: 450px;
        overflow: hidden;
    }
    
    .benefit-img-main {
        height: 350px;
    }
    
    .benefit-img-small {
        width: 140px;
        height: 140px;
    }
    
    .benefit-img-1 {
        bottom: 10px;
        left: 0;
    }
    
    .benefit-img-2 {
        top: 10px;
        right: 0;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
    
    .product-feature-img {
        height: 220px;
    }
    
    .benefit-image-grid {
        height: 350px;
        margin-bottom: 40px;
        overflow: hidden;
    }
    
    .benefit-img-main {
        height: 280px;
    }
    
    .benefit-img-small {
        width: 100px;
        height: 100px;
    }
    
    .benefit-img-1 {
        bottom: 10px;
        left: 0;
    }
    
    .benefit-img-2 {
        top: 10px;
        right: 0;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Mobile navbar fixes */
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-logo {
        height: 40px;
        width: auto;
    }
    
    /* Mobile menu spacing */
    .navbar-nav {
        margin-top: 10px;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 5px;
    }
    
    /* Hero section mobile */
    .hero-section-dark {
        padding: 100px 0 40px !important;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-stats-row {
        justify-content: center;
    }
    
    /* Philosophy section mobile */
    .philosophy-section {
        padding: 40px 0;
    }
    
    .philosophy-title {
        font-size: 1.8rem !important;
    }
    
    .philosophy-subtitle {
        font-size: 1rem !important;
    }
    
    /* Category cards mobile */
    .category-cards-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .category-card {
        width: 100%;
        height: 300px;
    }
    
    /* Featured products mobile */
    .featured-products-section {
        padding: 40px 0;
    }
    
    /* Benefits section mobile */
    .benefits-section {
        padding: 40px 0;
    }
    
    /* Testimonials mobile */
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    /* CTA section mobile */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2.5rem !important;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .hero-title-white {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle-white {
        font-size: 0.9rem;
    }
    
    .hero-image-container {
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .product-feature-card {
        margin-bottom: 20px;
    }
    
    .benefit-content {
        padding-left: 0;
    }
    
    .benefit-item {
        gap: 15px;
    }
    
    .benefit-item h5 {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem !important;
    }
}

/* ========================================
   REVIEW SYSTEM STYLES
   ======================================== */

/* Rating Summary */
.rating-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.average-rating h2 {
    color: var(--primary);
    font-weight: 700;
}

.average-rating .stars {
    font-size: 1.5rem;
}

.rating-breakdown {
    padding: 1rem 0;
}

.rating-bar-row {
    margin-bottom: 0.75rem;
}

.rating-label {
    font-weight: 500;
    color: #495057;
}

.rating-count {
    font-size: 0.875rem;
    text-align: right;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
    font-size: 2rem;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s ease;
    margin: 0;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.star-rating label i {
    transition: transform 0.2s ease;
}

.star-rating label:hover i {
    transform: scale(1.1);
}

/* Review Items */
.review-item {
    transition: background-color 0.2s ease;
}

.review-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: -1rem;
}

.review-stars {
    font-size: 1rem;
}

.review-text {
    color: #495057;
    line-height: 1.6;
}

.review-meta {
    font-size: 0.875rem;
}

/* Review Form */
#reviewForm .card {
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#reviewForm .card-title {
    color: var(--primary);
    font-weight: 600;
}

/* Write Review Button */
.write-review-section .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.write-review-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Verified Purchase Badge */
.badge.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

/* Empty State */
.reviews-list .text-center.py-5 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin: 2rem 0;
}

.reviews-list .text-center.py-5 i {
    opacity: 0.5;
}

/* Product Tabs with Reviews */
.nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background: none;
    border-bottom-color: var(--primary);
}

/* Admin Review Management */
.table .review-stars {
    white-space: nowrap;
}

.btn-group .btn {
    margin: 0;
}

/* Responsive Reviews */
@media (max-width: 768px) {
    .rating-summary {
        padding: 1.5rem;
    }
    
    .average-rating h2 {
        font-size: 2.5rem;
    }
    
    .star-rating {
        font-size: 1.5rem;
    }
    
    .review-item:hover {
        padding: 0.75rem;
        margin: -0.75rem;
    }
    
    .rating-bar-row {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .rating-summary .row {
        text-align: center;
    }
    
    .rating-breakdown {
        margin-top: 1.5rem;
    }
    
    .write-review-section .btn {
        width: 100%;
    }
}
