/* ==========================================
   SUBLIMIA BIOTY - SECTIONS.CSS
   Hero, Valeurs, Produits, Blog,
   Newsletter, Footer
   ========================================== */

/* ========== SECTION VALEURS ========== */

.section-valeurs {
    background-color: var(--color-white);
}

.valeur-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    height: 100%;
    transition: all var(--transition-base);
    border: 2px solid var(--color-gray-100);
    position: relative;
    overflow: hidden;
}

.valeur-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.valeur-card:hover::before {
    transform: scaleX(1);
}

.valeur-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.valeur-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
    font-size: 2rem;
    transition: var(--transition-base);
}

.valeur-card:hover .valeur-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-primary);
    color: var(--color-white);
}

.valeur-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.valeur-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin: 0;
}

/* ========== SECTION PRODUITS ========== */

.section-produits {
    background-color: var(--color-light);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.badge-bio {
    background: var(--gradient-secondary);
    color: var(--color-dark);
}

.product-badge.badge-bestseller {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

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

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--color-dark);
    font-family: 'Noto Serif', serif;
}

.product-description {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-200);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    font-family: var(--font-heading);
}

/* ========== SECTION BLOG ========== */

.section-blog {
    background-color: var(--color-white);
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--color-gray-100);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(126, 200, 184, 0.95);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.blog-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.blog-meta i {
    margin-right: 0.4rem;
    color: var(--color-primary);
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.blog-title a {
    color: var(--color-dark);
    transition: var(--transition-base);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

/* ========== SECTION NEWSLETTER ========== */

.section-newsletter {
    background: var(--gradient-hero);
    padding: 4rem 0;
}

.newsletter-box {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.newsletter-text {
    color: var(--color-gray-600);
    font-size: 1rem;
    margin: 0;
}

.newsletter-form .input-group {
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid var(--color-gray-200);
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: var(--color-white);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .form-text {
    display: block;
    margin-top: 0.75rem;
    color: var(--color-gray-500);
    font-size: 0.85rem;
}

.btn-newsletter {
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-base);
}

.btn-newsletter:hover {
    transform: scale(1.05);
}

/* ========== FOOTER ========== */

.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

.footer-brand .brand-text {
    color: var(--color-white);
}

.footer-brand .brand-accent {
    color: var(--color-primary);
}

.footer-brand .footer-logo-img {
    height: 45px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    color: var(--color-white);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contact i {
    color: var(--color-primary);
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .fa-heart {
    color: var(--color-primary);
}

/* ========== RESPONSIVE SECTIONS ========== */

@media (max-width: 991px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem 8rem;
        text-align: center;
    }
    .hero-copy {
        padding-right: 0;
        order: 1;
    }
    .hero-eyebrow {
        justify-content: center;
    }
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
    }
    .hero-visual {
        display: none;
    }
    .newsletter-box {
        padding: 2rem;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .hero-slideshow {
        width: 480px;
        height: 480px;
    }
    .hero-visual__inner {
        width: 420px;
        height: 420px;
    }
}

@media (max-width: 767px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .btn-hero-primary {
        width: 100%;
        justify-content: center;
    }
    .hero-trust {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .hero-trust__sep {
        display: none;
    }

    .product-footer {
        flex-direction: column;
    }
    .btn-product {
        width: 100%;
    }

    /* Footer mobile centré */
    .footer .col-lg-4:first-child {
        text-align: center;
    }

    .footer-brand {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .footer-logo-img {
        margin: 0 auto;
        max-width: 200px;
        height: auto;
    }

    .footer-description {
        text-align: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center !important;
        display: flex;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }
    .footer-links li {
        text-align: center;
    }
    .footer-links a {
        display: inline-block;
    }

    .footer-contact {
        text-align: center;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-contact li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }

    .footer-contact i {
        width: 20px;
        text-align: center;
        margin: 0;
    }
    .footer-contact span {
        text-align: left;
        flex: 0 1 auto;
    }
    .footer-contact a {
        display: inline-block;
    }
}

@media (max-width: 575px) {
    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .newsletter-form .form-control,
    .newsletter-form .btn-newsletter {
        width: 100%;
        border-radius: var(--radius-md);
    }

    .footer {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-contact li {
        flex-direction: column;
        gap: 0.3rem;
    }

    .footer-contact span {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer .col-md-6 {
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
    }
}

/* ===== HERO SECTION ===== */

.about-hero {
    background: linear-gradient(135deg, #ebf4f5 0%, #e8f5e9 50%, #fff9e6 100%);
    padding: 4rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
}

.about-hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(168, 213, 160, 0.1);
    border-radius: 50%;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-subtitle {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-text {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ===== MISSION SECTION ===== */

.mission-section {
    padding: 4rem 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.mission-content h2 span {
    color: var(--color-primary);
}

.mission-content p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.mission-stat {
    text-align: center;
}

.mission-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.mission-stat-label {
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.mission-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.mission-image::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ===== VALUES SECTION ===== */

.values-section {
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.1),
        rgba(168, 213, 160, 0.1)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ===== STORY SECTION ===== */

.story-section {
    padding: 5rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.story-content h2 span {
    color: var(--color-primary);
}

.story-content p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.timeline-year {
    min-width: 80px;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.timeline-desc {
    color: var(--color-gray-700);
    line-height: 1.6;
}

.story-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.story-image .experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 1rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* ===== TEAM SECTION ===== */

.team-section {
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ===== ENGAGEMENTS SECTION ===== */

.engagements-section {
    padding: 4rem 0;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.engagement-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.engagement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.engagement-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.1),
        rgba(168, 213, 160, 0.1)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engagement-icon i {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.engagement-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.engagement-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.engagement-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== CERTIFICATIONS SECTION ===== */

.certifications-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ebf4f5 0%, #e8f5e9 50%, #fff9e6 100%);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.certification-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.certification-item img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.certification-item p {
    color: var(--color-gray-700);
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS SECTION ===== */

.testimonials-section {
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    color: rgba(126, 200, 184, 0.2);
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--color-gray-700);
    line-height: 1.8;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--color-gray-600);
    font-size: 0.85rem;
    margin: 0;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */

.cta-section {
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary)
    );
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-cta-primary {
    padding: 1rem 2.5rem;
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-cta-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--color-white);
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .mission-grid,
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-image,
    .story-image {
        order: -1;
    }

    .team-grid,
    .engagements-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-hero-title {
        font-size: 2.5rem;
    }
}

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

    .about-hero-text {
        font-size: 1rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid,
    .engagements-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .story-image .experience-badge {
        width: 80px;
        height: 80px;
        bottom: 15px;
        right: 15px;
    }

    .experience-badge .number {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* 404 Page Specific Styles */

.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    position: relative;
    overflow: hidden;
}

/* Decorative elements */

.error-bg-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.1),
        rgba(168, 213, 160, 0.1)
    );
    top: -100px;
    right: -100px;
    z-index: 0;
}

.error-bg-circle-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.08),
        rgba(168, 213, 160, 0.08)
    );
    bottom: -50px;
    left: -50px;
    z-index: 0;
}

.error-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* 404 Number with floating elements */

.error-number-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.error-number {
    font-family: var(--font-heading);
    font-size: 12rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary), #a8d5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

/* Floating cosmetic elements */

.float-leaf {
    position: absolute;
    font-size: 2rem;
    color: var(--color-primary);
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.leaf-1 {
    top: 20px;
    right: -30px;
    animation-delay: 0s;
}

.leaf-2 {
    bottom: 0;
    left: -40px;
    font-size: 2.5rem;
    animation-delay: 1s;
}

.leaf-3 {
    top: -20px;
    left: 20px;
    font-size: 1.8rem;
    animation-delay: 2s;
}

.flask {
    position: absolute;
    bottom: 30px;
    right: -20px;
    font-size: 2rem;
    color: #a8d5a0;
    opacity: 0.5;
    animation: float 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Text styles */

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.error-text {
    font-size: 1.2rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Search form */

.error-search {
    max-width: 400px;
    margin: 2rem auto;
}

.error-search .input-group {
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.error-search input {
    border: 1px solid var(--color-gray-200);
    border-right: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.error-search input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: none;
}

.error-search button {
    background: var(--gradient-primary);
    border: none;
    color: var(--color-white);
    padding: 0 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.error-search button:hover {
    background: linear-gradient(135deg, #5fb0a0, #8fc085);
    transform: scale(1.05);
}

/* Quick links */

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    color: var(--color-gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.quick-link i {
    font-size: 1.1rem;
}

/* Action buttons */

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-error-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-error-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--color-white);
}

.btn-error-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-error-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Responsive */

@media (max-width: 768px) {
    .error-number {
        font-size: 8rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-text {
        font-size: 1rem;
    }

    .quick-links {
        gap: 0.5rem;
    }

    .quick-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .float-leaf {
        font-size: 1.5rem;
    }

    .leaf-1 {
        right: -10px;
    }
    .leaf-2 {
        left: -20px;
    }
    .leaf-3 {
        left: 10px;
    }
    .flask {
        right: 0;
    }
}

@media (max-width: 480px) {
    .error-number {
        font-size: 6rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .btn-error-primary,
    .btn-error-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ===== BLOG HERO ===== */

.blog-hero {
    background: linear-gradient(135deg, #ebf4f5 0%, #e8f5e9 50%, #fff9e6 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.blog-hero h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BLOG LAYOUT ===== */

.blog-container {
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

/* ===== BLOG POSTS ===== */

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card.featured {
    border: 2px solid var(--color-primary);
}

.blog-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1.2rem;
    background: #ffb347;
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gray-500);
    font-size: 0.9rem;
}

.blog-meta i {
    color: var(--color-primary);
    margin-right: 0.3rem;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

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

.blog-excerpt {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-200);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.author-name {
    font-weight: 600;
    color: var(--color-dark);
}

.blog-stats {
    display: flex;
    gap: 1rem;
    color: var(--color-gray-500);
    font-size: 0.9rem;
}

.blog-stats i {
    color: var(--color-primary);
    margin-right: 0.3rem;
}

.blog-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 0.8rem;
    color: var(--color-primary-dark);
}

/* ===== SIDEBAR ===== */

/* Search Widget */

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-btn {
    padding: 0.75rem 1.2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Categories Widget */

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.category-count {
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.category-link.active .category-count {
    color: rgba(255, 255, 255, 0.9);
}

/* Recent Posts Widget */

/* Tags Widget */

/* Newsletter Widget */

.newsletter-widget p {
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

/* ===== PAGINATION ===== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    color: var(--color-gray-700);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ===== FEATURED POST ===== */

.featured-post {
    margin-bottom: 2rem;
}

.featured-label {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-hero h2 {
        font-size: 1.8rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .blog-title {
        font-size: 1.3rem;
    }

    .blog-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .blog-container {
        padding: 0 15px;
    }

    .blog-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .recent-post {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .recent-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* ===== BLOG POST LAYOUT ===== */

.blog-post-container {
    max-width: 100%;
    margin: 0.5rem 0.5rem 1rem;
    padding: 0 20px;
}

.blog-post-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

/* ===== MAIN CONTENT ===== */

.blog-post-main {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
}

.post-header {
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.post-category {
    display: inline-block;
    padding: 0.35rem 1.2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1rem;
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.post-meta i {
    color: var(--color-primary);
    margin-right: 0.3rem;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.post-featured-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    padding: 2rem;
}

.post-content {
    color: var(--color-gray-700);
    line-height: 1.8;
    font-size: 1.05rem;
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 2rem 0 1rem;
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 1.5rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    padding: 1.5rem;
    background: rgba(126, 200, 184, 0.1);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
    font-style: italic;
    margin: 2rem 0;
}

.post-content blockquote p {
    margin-bottom: 0.5rem;
}

.post-content blockquote cite {
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

.post-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.post-content .highlight {
    background: rgba(126, 200, 184, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}

.post-tag {
    padding: 0.35rem 1rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.share-label {
    font-weight: 600;
    color: var(--color-dark);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ===== AUTHOR BIO ===== */

.author-bio {
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

.author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.author-bio-content p {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 0.75rem;
}

.author-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.author-social a:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ===== COMMENTS SECTION ===== */

.comments-section {
    margin: 3rem 0;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-title i {
    color: var(--color-primary);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comment {
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.comment.reply {
    margin-left: 3rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
}

.comment-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--color-gray-500);
}

.comment-content p {
    color: var(--color-gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.comment-action {
    color: var(--color-gray-500);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.comment-action:hover {
    color: var(--color-primary);
}

.comment-form {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--color-gray-200);
    margin-top: 2rem;
}

.comment-form h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(126, 200, 184, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.btn-submit {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== RELATED POSTS ===== */

.related-posts {
    margin-top: 4rem;
}

.related-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.related-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-content {
    padding: 1.2rem;
}

.related-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--color-gray-500);
    margin-bottom: 0.5rem;
}

.related-meta i {
    color: var(--color-primary);
    margin-right: 0.3rem;
}

.related-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.related-card h3 a {
    color: inherit;
    text-decoration: none;
}

.related-card h3 a:hover {
    color: var(--color-primary);
}

/* ===== SIDEBAR (réutilisé du blog) ===== */

.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
}

.recent-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

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

.recent-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.recent-content h4 a {
    color: inherit;
    text-decoration: none;
}

.recent-content h4 a:hover {
    color: var(--color-primary);
}

.recent-date {
    font-size: 0.8rem;
    color: var(--color-gray-500);
}

.recent-date i {
    color: var(--color-primary);
    margin-right: 0.3rem;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.35rem 1rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.newsletter-submit {
    padding: 0.75rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .page-header {

        padding: 150px 0 20px;
    }
    .blog-post-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 20px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .post-title {
        font-size: 1.8rem;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .comment.reply {
        margin-left: 1.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .comment-actions {
        justify-content: center;
    }
}

/* ===== SHOP LAYOUT ===== */

.shop-container {
    max-width: 100%;
    margin: 0.5rem 0.5rem;
    padding: 0 20px;
}

.shop-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

/* ===== FILTERS SIDEBAR ===== */

.filters-sidebar {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(126, 200, 184, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-header {
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filters-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-header h3 i {
    color: var(--color-primary);
}

.btn-reset-filters {
    padding: 0.35rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-600);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filters-body {
    padding: 1.5rem;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
}

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

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter-title i {
    color: var(--color-gray-400);
    transition: transform 0.3s ease;
}

.filter-title.collapsed i {
    transform: rotate(-90deg);
}

.filter-options {
    transition: all 0.3s ease;
}

.filter-options.collapsed {
    display: none;
}

/* Categories */

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 0.75rem;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-gray-700);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.category-link:hover {
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
}

.category-link.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.category-link.active .category-count {
    color: var(--color-white);
    opacity: 0.9;
}

.category-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-name i {
    width: 20px;
    color: inherit;
}

.category-count {
    font-size: 0.8rem;
    color: var(--color-gray-500);
}

/* Price range - Amélioré */

.price-range {
    padding: 0.5rem 0;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-input {
    flex: 1;
    padding: 0.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.price-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.price-separator {
    color: var(--color-gray-400);
    font-weight: 600;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 5px;
    margin: 30px 0 20px;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--color-gray-200);
    border-radius: 5px;
}

.slider-range {
    position: absolute;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 5px;
}

.slider-input {
    position: absolute;
    width: 100%;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider-input[type="range"] {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider-input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    box-shadow: var(--shadow-sm);
}

.slider-input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Ratings */

.rating-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.rating-option:hover {
    background: rgba(126, 200, 184, 0.1);
}

.rating-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.rating-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-count {
    color: var(--color-gray-500);
    font-size: 0.8rem;
    margin-left: auto;
}

/* Checkbox group */

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(126, 200, 184, 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

/* ===== PRODUCTS SECTION ===== */

.products-section {
    min-width: 0;
}

/* Toolbar */

.products-toolbar {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.products-count {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.products-count strong {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    flex: 1;
    max-width: 400px;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-400);
}

.search-box input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.sort-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--color-gray-700);
    cursor: pointer;
    background: var(--color-white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7785' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    min-width: 160px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Products Grid - 3 produits */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
    position: relative;
    animation: fadeIn 0.5s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-gray-100);
}

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

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

.product-actions {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 3;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    border: none;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.action-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
    opacity: 1;
}

.action-btn.add-to-cart:hover {
    background: var(--gradient-primary);
}

.product-body {
    padding: 1.5rem;
}


.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-family: 'Noto Serif', serif;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    font-family: 'Noto Serif', serif;
}

.product-title a:hover {
    color: var(--color-primary);
    font-family: 'Noto Serif', serif;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.stars {
    color: #ffc107;
    font-size: 0.85rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.2rem;
}

.old-price {
    font-size: 0.9rem;
  color: red !important;
    text-decoration: line-through;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-stock {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-add-cart {
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: auto;
}

.btn-add-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Load More */

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-load-more i {
    transition: transform 0.3s ease;
}

.btn-load-more:hover i {
    transform: translateX(5px);
}

/* Active Filters */

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-tag {
    padding: 0.35rem 1rem;
    background: rgba(126, 200, 184, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag i {
    cursor: pointer;
    font-size: 0.75rem;
}

.filter-tag i:hover {
    color: #ff6b6b;
}

/* Animations */

/* Responsive */

@media (max-width: 992px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .toolbar-right {
        flex-direction: column;
        max-width: 100%;
    }

    .search-box {
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolbar-right {
        width: 100%;
    }
}

/* ===== CART LAYOUT ===== */

.cart-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

/* ===== CART ITEMS SECTION ===== */

.cart-items-section {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.cart-header {
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cart-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-header h2 i {
    color: var(--color-primary);
}

.cart-header-actions {
    display: flex;
    gap: 1rem;
}

.btn-clear-cart {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear-cart:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.btn-save-list {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-save-list:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Cart Items */

.cart-items {
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-gray-200);
    position: relative;
    animation: slideIn 0.5s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item.removing {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-image:hover img {
    transform: scale(1.1);
}


.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.item-title h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.item-category {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-remove {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-200);
    background: transparent;
    color: var(--color-gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-remove:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    transform: rotate(90deg);
}

.item-attributes {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.item-attribute {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

.item-attribute i {
    color: var(--color-primary);
    width: 16px;
}

.item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-gray-100);
    padding: 0.25rem;
    border-radius: var(--radius-full);
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-gray-700);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.quantity-value {
    font-weight: 600;
    color: var(--color-dark);
    min-width: 30px;
    text-align: center;
}

.item-prices {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.item-total-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
}

.item-unit-price {
    font-size: 0.9rem;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.item-unit-price.original {
    text-decoration: none;
    color: var(--color-gray-500);
}

.item-stock {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Free shipping progress */

.free-shipping-progress {
    margin: 1.5rem 1.5rem 0;
    padding: 1rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(126, 200, 184, 0.3);
}

.progress-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-gray-700);
    font-size: 0.9rem;
}

.progress-text i {
    color: var(--color-primary);
}

.progress-bar-container {
    height: 8px;
    background: var(--color-gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.progress-goal {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    text-align: right;
}

/* ===== CART SUMMARY SECTION ===== */

.cart-summary-section {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(126, 200, 184, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-header {
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-bottom: 1px solid var(--color-gray-200);
}

.summary-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-header h2 i {
    color: var(--color-primary);
}

.summary-body {
    padding: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.summary-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--color-gray-200);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
}

.summary-row.total .summary-value {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.summary-row.discount {
    color: #a8d5a0;
}

.coupon-section {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}

.coupon-form {
    display: flex;
    gap: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.coupon-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.shipping-methods {
    margin: 1.5rem 0;
}

.shipping-title {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-option:hover {
    border-color: var(--color-primary);
}

.shipping-option.selected {
    border-color: var(--color-primary);
    background: rgba(126, 200, 184, 0.05);
}

.shipping-option-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shipping-option-left input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.shipping-option-left label {
    font-weight: 500;
    color: var(--color-dark);
}

.shipping-price {
    font-weight: 600;
    color: var(--color-primary);
}

.shipping-price.free {
    color: #a8d5a0;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.payment-methods {
    text-align: center;
}

.payment-methods p {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    margin-bottom: 0.75rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    color: var(--color-gray-400);
}

.payment-icons i:hover {
    color: var(--color-primary);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-200);
    color: var(--color-gray-600);
    font-size: 0.85rem;
}

.secure-badge i {
    color: #a8d5a0;
}

/* ===== EMPTY CART ===== */

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    grid-column: 1 / -1;
}

.empty-cart h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.empty-cart p {
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-explore {
    padding: 1rem 3rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* ===== RELATED PRODUCTS ===== */

.related-products {
    margin-top: 3rem;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.related-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.related-body {
    padding: 1rem;
}

.related-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.related-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.related-add {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: transparent;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ===== MODALS ===== */

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }

    .cart-summary-section {
        position: static;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .item-image {
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 768px) {
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-header-actions {
        width: 100%;
    }

    .btn-clear-cart,
    .btn-save-list {
        flex: 1;
        justify-content: center;
    }

    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .item-header {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .item-attributes {
        justify-content: center;
    }

    .item-footer {
        flex-direction: column;
        align-items: center;
    }

    .coupon-form {
        flex-direction: column;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .cart-container {
        padding: 0 15px;
    }

    .item-attributes {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .shipping-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .shipping-option-left {
        width: 100%;
    }

    .shipping-price {
        align-self: flex-end;
    }
}

/* ===== LEGAL CONTAINER ===== */

/* ===== LEGAL SECTIONS ===== */

.section-content td:last-child {
    font-weight: 600;
    color: var(--color-primary);
}

/* ===== TABLE OF CONTENTS ===== */

/* ===== SUMMARY BOX ===== */

.summary-box {
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(126, 200, 184, 0.3);
}

.summary-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.summary-box ul {
    margin-bottom: 0;
}

/* ===== PRICE TABLE ===== */

.price-table {
    width: 100%;
    margin: 1.5rem 0;
}

.price-table th {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 1rem;
    text-align: left;
}

.price-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.price-table tr:last-child td {
    border-bottom: none;
}

/* ===== PRINT BUTTON ===== */

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .toc-card {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding: 2rem 1.5rem;
    }

    .legal-header h2 {
        font-size: 1.8rem;
    }

    .legal-body {
        padding: 2rem 1.5rem;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-content {
        padding-left: 0;
    }

    .print-btn {
        bottom: 80px;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .legal-container {
        padding: 0 15px;
    }

    .section-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .price-table {
        font-size: 0.9rem;
    }

    .price-table th,
    .price-table td {
        padding: 0.75rem;
    }
}

/* ===== LEGAL CONTAINER ===== */

.legal-header {
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    padding: 2rem;
    border-bottom: 1px solid var(--color-gray-200);
    text-align: center;
}

.legal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.1),
        rgba(168, 213, 160, 0.1)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-icon i {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.legal-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.last-update {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.35rem 1.2rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== LEGAL SECTIONS ===== */

.section-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.section-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.section-content p {
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.section-content th {
    background: rgba(126, 200, 184, 0.1);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-dark);
    border: 1px solid var(--color-gray-200);
}

.section-content td {
    padding: 1rem;
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-700);
}

/* ===== TABLE OF CONTENTS ===== */

.toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-item {
    margin-bottom: 0.5rem;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.toc-link:hover {
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
    padding-left: 1rem;
}

.toc-link .toc-number {
    width: 25px;
    height: 25px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* ===== PRINT BUTTON ===== */

.print-btn {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 99;
}

.print-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .toc-card {
        position: static;
        margin-bottom: 2rem;
    }

    .contact-card .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding: 2rem 1.5rem;
    }

    .legal-header h2 {
        font-size: 1.8rem;
    }

    .legal-body {
        padding: 2rem 1.5rem;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-content {
        padding-left: 0;
    }

    .print-btn {
        bottom: 80px;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .cookie-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .legal-container {
        padding: 0 15px;
    }

    .contact-card .info-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== PRODUCT MAIN ===== */

.product-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.product-main {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

/* ===== GALLERY ===== */

.product-gallery {
    position: relative;
}

.main-image {
    position: relative;
    aspect-ratio: 1;
    background: transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    cursor: zoom-in;
}

.main-image img {
    width: 100%;
    height: 100%;
 object-fit: contain;    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    aspect-ratio: 1;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(126, 200, 184, 0.3);
}

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

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: var(--color-primary);
    color: var(--color-white);
}

.badge-sale {
    background: #ff6b6b;
    color: var(--color-white);
}

.badge-bio {
    background: #a8d5a0;
    color: var(--color-dark);
}

.badge-best {
    background: #ffb347;
    color: var(--color-white);
}

.badge-naturel {
    background: #f6e27f;
    color: var(--color-dark);
}
.product-share {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ===== PRODUCT INFO ===== */

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.2rem;
    line-height: 1.3;
    font-family: 'Noto Serif', serif;
}


.stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.rating-count {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.rating-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.rating-link:hover {
    text-decoration: underline;
}


.current-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #000;
}

.old-price {
    font-size: 1.3rem;
  color: red !important;
    text-decoration: line-through;
    margin-left: 1rem;
    text-decoration-color: red !important;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.tax-info {
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
}

.stock-in {
    background: rgba(168, 213, 160, 0.2);
    color: #2e7d32;
}

.stock-low {
    background: rgba(255, 179, 71, 0.2);
    color: #b85c00;
}

.stock-out {
    background: rgba(255, 107, 107, 0.2);
    color: #c62828;
}

.product-description {
    margin-bottom: 2rem;
}

.product-description h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.product-description p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-gray-700);
}

.product-features i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* Variants */

.product-variants {
    margin-bottom: 2rem;
}

.variant-title {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.variant-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.variant-option {
    min-width: 60px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-gray-700);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-option:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.variant-option.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.variant-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Quantity */

.product-quantity {
    margin-bottom: 2rem;
}

.quantity-title {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    background: var(--color-gray-100);
    padding: 0.25rem;
    border-radius: var(--radius-full);
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.quantity-btn:hover:not(:disabled) {
    background: var(--color-primary);
    color: var(--color-white);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-value {
    font-weight: 700;
    color: var(--color-dark);
    min-width: 40px;
    text-align: center;
    font-size: 1.1rem;
}

/* Actions - MODIFIÉ : suppression du bouton comparer */

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-add-to-cart {
    flex: 1;
    min-width: 250px;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-wishlist {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-gray-200);
    border-radius: 50%;
    background: transparent;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.btn-wishlist:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.btn-wishlist.active {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: var(--color-white);
}

/* Suppression du style pour .btn-compare */

/* Delivery info */

.delivery-info {
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.delivery-item:last-child {
    border-bottom: none;
}

.delivery-icon {
    width: 40px;
    height: 40px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.delivery-text {
    flex: 1;
}

.delivery-title {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.delivery-subtitle {
    font-size: 0.85rem;
    color: var(--color-gray-600);
}

/* ===== TABS ===== */

.product-tabs {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
    margin-bottom: 3rem;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--color-gray-200);
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    overflow-x: auto;
    scrollbar-width: thin;
}

.tab-btn {
    padding: 1.2rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--color-gray-600);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    border-bottom-color: var(--color-primary);
    color: var(--color-primary);
}

.tabs-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

/* Description tab */

.description-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.description-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.description-text p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ingredients-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ingredients-list li {
    padding: 0.35rem 1rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.9rem;
}

.usage-steps {
    padding-left: 1.5rem;
}

.usage-steps li {
    margin-bottom: 0.75rem;
    color: var(--color-gray-700);
}

.usage-steps strong {
    color: var(--color-primary);
}

/* Reviews tab */

.reviews-summary {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.global-rating {
    text-align: center;
}

.global-note {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.global-stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.global-count {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    min-width: 60px;
    color: var(--color-gray-600);
}

.rating-bar-container {
    flex: 1;
    height: 8px;
    background: var(--color-gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: var(--radius-full);
}

.rating-percent {
    min-width: 50px;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.reviewer-info {
    flex: 1;
}

.reviewer-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.reviewer-info .stars {
    font-size: 0.9rem;
}

.review-date {
    color: var(--color-gray-500);
    font-size: 0.85rem;
}

.review-content p {
    color: var(--color-gray-700);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.review-images {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.review-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

.btn-write-review {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-write-review:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ===== RELATED PRODUCTS ===== */

.related-products {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.related-body {
    padding: 1.2rem;
}

.related-category {
    font-size: 0.7rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.related-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.related-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.related-stars {
    color: #ffc107;
    font-size: 0.8rem;
}

.related-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.related-add {
    width: 100%;
    padding: 0.5rem;
    background: transparent;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-add:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ===== ZOOM MODAL ===== */

.zoom-modal .modal-dialog {
    max-width: 90vw;
    max-height: 90vh;
}

.zoom-modal .modal-body {
    padding: 0;
    background: var(--color-dark);
    text-align: center;
}

.zoom-modal img {
    max-width: 100%;
    max-height: 80vh;
    margin: 0 auto;
}

/* Rating select for review modal */

.rating-select {
    display: flex;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #ffc107;
    cursor: pointer;
}

.rating-select i {
    transition: all 0.2s ease;
}

.rating-select i:hover,
.rating-select i.active {
    color: #ffc107;
    transform: scale(1.1);
}

/* Animations */

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

/* ===== RESPONSIVE DESIGN AMÉLIORÉ ===== */

@media (max-width: 1200px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-title {
        font-size: 2rem;
        font-family: 'Noto Serif', serif;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .description-content {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-actions {
        flex-direction: row;
    }

    .btn-add-to-cart {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.8rem;
        font-family: 'Noto Serif', serif;
    }

    .tabs-header {
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 1rem 1.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-add-to-cart {
        width: 100%;
    }

    .btn-wishlist {
        width: 100%;
        border-radius: var(--radius-full);
    }

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

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews-summary {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .product-container {
        padding: 0 10px;
    }

    .product-grid {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.5rem;
        font-family: 'Noto Serif', serif;
    }

    .current-price {
        font-size: 1.2rem;
    }

    .old-price {
        font-size: 1.5rem !important;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .variant-options {
        justify-content: flex-start;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-date {
        margin-left: 0;
    }

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

    .delivery-info {
        padding: 1rem;
    }

    .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }

    .quantity-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 400px) {
    .product-title {
        font-size: 1.3rem;
        font-family: 'Noto Serif', serif;
    }

    .current-price {
        font-size: 1rem;
    }

    .variant-options {
        gap: 0.5rem;
    }

    .variant-option {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 50px;
    }

    .btn-add-to-cart {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .btn-wishlist {
        height: 50px;
    }
}

/* ===== PROFILE LAYOUT ===== */

.profile-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.profile-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ===== SIDEBAR ===== */

.profile-sidebar {
    flex: 0 0 300px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(126, 200, 184, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.profile-card {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-bottom: 1px solid var(--color-gray-200);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

.profile-avatar .edit-avatar {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border: 2px solid var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.profile-avatar .edit-avatar:hover {
    transform: scale(1.1);
}

.profile-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.profile-card p {
    color: var(--color-gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(126, 200, 184, 0.15);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.sidebar-nav {
    padding: 1rem;
}

.sidebar-nav .nav-item {
    margin-bottom: 0.5rem;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    color: var(--color-gray-700);
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-nav .nav-link i {
    width: 20px;
    color: var(--color-gray-500);
    transition: all 0.3s ease;
}

.sidebar-nav .nav-link:hover {
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
}

.sidebar-nav .nav-link:hover i {
    color: var(--color-primary);
}

.sidebar-nav .nav-link.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.sidebar-nav .nav-link.active i {
    color: var(--color-white);
}

.sidebar-nav .nav-link.logout {
    color: #ff6b6b;
}

.sidebar-nav .nav-link.logout i {
    color: #ff6b6b;
}

.sidebar-nav .nav-link.logout:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* ===== MAIN CONTENT ===== */

.profile-content {
    flex: 1;
    min-width: 0;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-gray-200);
}

.content-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.content-header .btn-edit {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.content-header .btn-edit:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ===== PROFILE INFO ===== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-group {
    margin-bottom: 1.5rem;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.info-label i {
    color: var(--color-primary);
    width: 16px;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    padding-left: 1.5rem;
}

.info-value-email {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-gray-600);
}

/* ===== DANGER ZONE ===== */

.danger-zone {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 107, 107, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.danger-zone h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.danger-zone h3 i {
    font-size: 1rem;
}

.danger-zone p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.btn-danger {
    background: transparent;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #ff6b6b;
    color: var(--color-white);
}

/* ===== MODALS ===== */

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-bottom: none;
    padding: 1.5rem;
}

.modal-header .modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.modal-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
    gap: 1rem;
}

/* Password change specific */

.current-password-warning {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.current-password-warning i {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.current-password-warning p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-gray-700);
}

/* Confirmation modal */

.confirmation-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.confirmation-icon i {
    font-size: 4rem;
    color: #ff6b6b;
}

.confirmation-icon.warning i {
    color: #ffb347;
}

.confirmation-icon.success i {
    color: #a8d5a0;
}

.confirmation-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.confirmation-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.confirmation-text p {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive */

@media (max-width: 991px) {
    .profile-sidebar {
        flex: 0 0 100%;
        position: static;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .profile-content {
        padding: 1.5rem;
    }

    .content-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ===== VIDEOS HERO ===== */

.videos-hero {
    background: linear-gradient(135deg, #ebf4f5 0%, #e8f5e9 50%, #fff9e6 100%);
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.videos-hero h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.videos-hero p {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== VIDEOS CONTAINER ===== */

.videos-container {
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

/* ===== VIDEOS FILTERS ===== */

.videos-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-600);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.filter-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-white);
}

.filter-search {
    display: flex;
    gap: 0.5rem;
}

.filter-search input {
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    min-width: 250px;
}

.filter-search input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.filter-search button {
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-search button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== VIDEOS GRID (STYLE REELS) ===== */

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    aspect-ratio: 9/16;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 16/9;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.7)
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.video-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-category {
    background: var(--gradient-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.video-duration {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.video-bottom {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.video-card:hover .video-bottom {
    transform: translateY(0);
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.video-meta i {
    margin-right: 0.25rem;
}

.video-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.video-card:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-card.featured .video-play-btn {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
}

/* ===== VIDEO MODAL (REEL PLAYER) ===== */

.video-modal .modal-dialog {
    max-width: 90vw;
    margin: 1.75rem auto;
}

.video-modal .modal-content {
    background: var(--color-dark);
    color: var(--color-white);
}

.video-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
}

.video-modal .modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-modal .btn-close {
    filter: brightness(0) invert(1);
}

.video-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-container:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.control-btn:hover {
    color: var(--color-primary);
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    width: 0%;
}

.time-display {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-white);
    border-radius: 2px;
    width: 70%;
}

.video-info-section {
    padding: 1.5rem;
}

.video-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.video-info-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.video-info-meta {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.video-actions {
    display: flex;
    gap: 0.5rem;
}

.video-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-action-btn:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.video-action-btn.liked {
    background: #ff6b6b;
}

.video-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.video-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.video-comments-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comments-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.comment-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comment-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.comment-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.comment-input button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.comment-item {
    display: flex;
    gap: 0.75rem;
}

.comment-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.comment-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.comment-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.comment-likes {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== LOAD MORE ===== */

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-load-more {
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-load-more:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-card.featured {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 9/16;
    }

    .videos-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-search {
        width: 100%;
    }

    .filter-search input {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .videos-hero h2 {
        font-size: 1.8rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .video-modal .modal-dialog {
        max-width: 100%;
        margin: 0;
    }

    .video-modal .modal-content {
        min-height: 100vh;
        border-radius: 0;
    }

    .video-player-container {
        aspect-ratio: 9/16;
    }
}

@media (max-width: 576px) {
    .videos-container {
        padding: 0 15px;
    }

    .filter-tabs {
        width: 100%;
        justify-content: center;
    }

    .filter-search {
        flex-direction: column;
    }

    .video-info-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== SHOP PAGE - Product image height fix =====
   Override for shop listing cards only ===== */

.product-image {
    position: relative !important;
    width: 100% !important;
    height: 280px !important; 
    min-height: 280px !important;
    max-height: 280px !important;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    overflow: hidden !important;
    flex-shrink: 0 !important; /* Empêche l'image de rétrécir */
}
/* ===== COMMANDES (ORDERS) - CORRECTION SPÉCIFIQUE ===== */

/* Conteneur principal des commandes */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

/* Carte de commande */
.order-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.order-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* En-tête de commande */
.order-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.order-number {
    font-weight: 700;
    color: var(--color-dark);
}

.order-number span {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.order-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.order-date i {
    color: var(--color-primary);
}

.order-status {
    padding: 0.35rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-delivered {
    background: rgba(168, 213, 160, 0.2);
    color: #2e7d32;
}

.status-processing {
    background: rgba(255, 179, 71, 0.2);
    color: #b85c00;
}

.status-shipped {
    background: rgba(126, 200, 184, 0.2);
    color: var(--color-primary-dark);
}

.status-cancelled {
    background: rgba(255, 107, 107, 0.2);
    color: #c62828;
}

.order-total {
    font-weight: 700;
    color: var(--color-dark);
}

.order-total span {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

/* Corps de la commande */
.order-body {
    padding: 1.5rem;
}

/* Produits dans la commande - CORRECTION PRINCIPALE */
.order-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-product {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.order-product:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

/* IMAGE PRODUIT - CORRECTION SPÉCIFIQUE POUR LES COMMANDES */
.order-product .product-image {
    position: relative !important;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    background: var(--color-white) !important;
    border: 1px solid var(--color-gray-200) !important;
    flex-shrink: 0 !important;
}

.order-product .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
}

.order-product:hover .product-image img {
    transform: scale(1.1) !important;
}

/* Détails du produit - CORRECTION */
.product-details {
    flex: 1;
    min-width: 0; /* Empêche le débordement */
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-name {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-gray-600);
}


/* Pied de commande */
.order-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-small {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-small:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-primary-small {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Empty State */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.empty-state i {
    font-size: 5rem;
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

/* Pagination */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-item {
    list-style: none;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    color: var(--color-gray-700);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

/* Modal */

.tracking-timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--color-gray-200);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: -1.85rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-300);
}

.timeline-item.completed .timeline-dot {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.timeline-item.active .timeline-dot {
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(126, 200, 184, 0.3);
}

.timeline-content {
    background: var(--color-gray-100);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* Responsive */

@media (max-width: 991px) {
    .orders-sidebar {
        flex: 0 0 100%;
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-info {
        gap: 1rem;
    }

    .filter-tabs {
        width: 100%;
        justify-content: center;
    }

    .filter-search {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .order-product {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-meta {
        justify-content: center;
    }

    .order-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .order-actions {
        justify-content: center;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* ===== LEGAL CONTAINER ===== */

.legal-container {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.legal-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
}

.legal-header {
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    padding: 2.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    text-align: center;
}

.legal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.1),
        rgba(168, 213, 160, 0.1)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-icon i {
    font-size: 3rem;
    color: var(--color-primary);
}

.legal-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.legal-header p {
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.last-update {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.legal-body {
    padding: 3rem;
}

/* ===== LEGAL SECTIONS ===== */

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gray-200);
}

.section-number {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.3rem;
}

.section-title h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.section-content {
    padding-left: 3rem;
}

.section-content p {
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.section-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 2rem 0 1rem;
}

.section-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 1.5rem 0 0.5rem;
}

.section-content ul,
.section-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.section-content li {
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.section-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

.section-content .highlight {
    background: rgba(126, 200, 184, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    margin: 1.5rem 0;
}

.section-content .highlight p:last-child {
    margin-bottom: 0;
}

.section-content .badge-rgpd {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== TABLE OF CONTENTS ===== */

.toc-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(126, 200, 184, 0.2);
    position: sticky;
    top: 100px;
}

.toc-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-title i {
    color: var(--color-primary);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 0.75rem;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-weight: 500;
}

.toc-link:hover {
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
    padding-left: 1.5rem;
}

.toc-link .toc-number {
    width: 28px;
    height: 28px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.toc-link.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.toc-link.active .toc-number {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

/* ===== DATA TABLE ===== */

.data-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.data-table th {
    background: rgba(126, 200, 184, 0.1);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-dark);
    border: 1px solid var(--color-gray-200);
}

.data-table td {
    padding: 1rem;
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-700);
}

.data-table tr:hover td {
    background: rgba(126, 200, 184, 0.05);
}

/* ===== COOKIE TABLE ===== */

.cookie-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.cookie-table th {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--color-primary);
}

.cookie-table td {
    padding: 1rem;
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-700);
}

.cookie-table .essential {
    background: rgba(168, 213, 160, 0.1);
    border-left: 4px solid #a8d5a0;
}

.cookie-table .functional {
    background: rgba(126, 200, 184, 0.1);
    border-left: 4px solid var(--color-primary);
}

.cookie-table .analytics {
    background: rgba(255, 179, 71, 0.1);
    border-left: 4px solid #ffb347;
}

.cookie-table .marketing {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
}

/* ===== CONTACT CARD ===== */

.contact-card {
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(126, 200, 184, 0.3);
}

.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.contact-card .contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-card .info-item i {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* ===== PRINT BUTTON ===== */

.print-btn {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 99;
}

.print-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .toc-card {
        position: static;
        margin-bottom: 2rem;
    }

    .contact-card .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding: 2rem 1.5rem;
    }

    .legal-header h2 {
        font-size: 1.8rem;
    }

    .legal-body {
        padding: 2rem 1.5rem;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-content {
        padding-left: 0;
    }

    .print-btn {
        bottom: 80px;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .cookie-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .legal-container {
        padding: 0 15px;
    }

    .contact-card .info-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== CONTACT HERO ===== */

.contact-hero {
    background: linear-gradient(135deg, #ebf4f5 0%, #e8f5e9 50%, #fff9e6 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-hero h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CONTACT GRID ===== */

.contact-container {
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

/* ===== CONTACT INFO ===== */

.contact-info {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    height: fit-content;
}

.info-header {
    margin-bottom: 2rem;
}

.info-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.info-header p {
    color: var(--color-gray-600);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.info-content p,
.info-content a {
    color: var(--color-gray-600);
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--color-primary);
}

.social-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

.social-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ===== CONTACT FORM ===== */

.contact-form-container {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--color-gray-600);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--color-gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--color-primary);
    width: 16px;
}

.form-control,
.form-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--color-white);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(126, 200, 184, 0.1);
}

.form-control.is-invalid {
    border-color: #ff6b6b;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.checkbox-group label {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.checkbox-group a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-submit {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-submit i {
    font-size: 1.1rem;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===== MAP SECTION ===== */

.map-section {
    margin: 4rem 0;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FAQ SECTION ===== */

.faq-section {
    margin: 4rem 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.faq-header p {
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-question i {
    width: 30px;
    height: 30px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.faq-answer {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-left: 2.5rem;
}

/* ===== OFFICE HOURS ===== */

.hours-section {
    margin: 4rem 0;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.hours-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.hours-content p {
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 600;
    color: var(--color-dark);
}

.hours-time {
    color: var(--color-primary);
    font-weight: 600;
}

.hours-badge {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-top: 1rem;
}

.hours-image {
    text-align: center;
}

.hours-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
}

/* ===== SUCCESS MODAL ===== */

.success-modal .modal-content {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(168, 213, 160, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    font-size: 3rem;
    color: #a8d5a0;
}

.success-modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.success-modal p {
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hours-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero h2 {
        font-size: 1.8rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-container {
        padding: 0 15px;
    }

    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .hours-list li {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ===== FAVORITES LAYOUT ===== */

.favorites-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.favorites-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ===== SIDEBAR ===== */

.favorites-sidebar {
    flex: 0 0 300px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(126, 200, 184, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* ===== MAIN CONTENT ===== */

.favorites-content {
    flex: 1;
    min-width: 0;
}

/* Stats Card */

.favorites-stats {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.stats-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-info p {
    color: var(--color-gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.stats-right {
    display: flex;
    gap: 1rem;
}

.btn-share {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Filters */

.favorites-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: space-between;
}

.filter-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-sort select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--color-gray-700);
    cursor: pointer;
    background: var(--color-white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7785' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.filter-sort select:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Products Grid */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.favorite-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.favorite-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 107, 107, 0.9);
    color: var(--color-white);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.favorite-badge i {
    font-size: 0.7rem;
}

.favorite-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-gray-100);
}

.favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.favorite-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.favorite-action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--color-white);
    border: none;
    box-shadow: var(--shadow-md);
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-action-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.favorite-action-btn.remove:hover {
    background: #ff6b6b;
}

.favorite-body {
    padding: 1.5rem;
}

.favorite-category {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.favorite-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.favorite-title a {
    color: inherit;
    text-decoration: none;
}

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

.favorite-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-count {
    color: var(--color-gray-500);
    font-size: 0.8rem;
}

.favorite-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #000;
}

.old-price {
    font-size: 0.9rem;
        color: var(--color-gray-400);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.favorite-stock {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stock-in {
    color: #a8d5a0;
}

.stock-low {
    color: #ffb347;
}

.stock-out {
    color: #ff6b6b;
}

.favorite-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-add-to-cart {
    flex: 1;
    padding: 0.75rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-compare {
    width: 45px;
    height: 45px;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-compare:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Wishlist Summary */

.wishlist-summary {
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(126, 200, 184, 0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.summary-total {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.summary-total span {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.summary-total strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
}

.summary-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-add-all {
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add-all:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-clear {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    color: var(--color-gray-700);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* Empty State */

.empty-favorites {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.empty-favorites h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.empty-favorites p {
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-explore {
    padding: 1rem 3rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Pagination */

/* Share Modal */

.share-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.share-option {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-option:hover {
    transform: translateY(-5px) scale(1.1);
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #1da1f2;
}

.share-pinterest {
    background: #e60023;
}

.share-email {
    background: var(--color-primary);
}

.share-link {
    display: flex;
    gap: 0.5rem;
    background: var(--color-gray-100);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    margin-top: 1rem;
}

.share-link input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.9rem;
}

.share-link input:focus {
    outline: none;
}

.share-link button {
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
}

/* Responsive */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .favorites-sidebar {
        flex: 0 0 100%;
        position: static;
    }

    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .favorites-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stats-left {
        width: 100%;
        justify-content: space-between;
    }

    .stats-right {
        width: 100%;
    }

    .btn-share {
        width: 100%;
        justify-content: center;
    }

    .favorites-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-tabs {
        width: 100%;
        justify-content: center;
    }

    .filter-sort {
        width: 100%;
    }

    .filter-sort select {
        width: 100%;
    }

    .wishlist-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .summary-actions {
        width: 100%;
    }

    .btn-add-all,
    .btn-clear {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .stats-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stat-item {
        width: 100%;
    }

    .summary-actions {
        flex-direction: column;
    }

    .share-options {
        flex-wrap: wrap;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* ===== HISTORY LAYOUT ===== */

.history-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.history-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ===== SIDEBAR ===== */

.history-sidebar {
    flex: 0 0 300px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(126, 200, 184, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* ===== MAIN CONTENT ===== */

.history-content {
    flex: 1;
    min-width: 0;
}

/* Stats Cards */

.history-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin: 0;
}

.stat-info p {
    color: var(--color-gray-600);
    font-size: 0.85rem;
    margin: 0;
}

/* Timeline Filter */

.timeline-filter {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.filter-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-header h3 i {
    color: var(--color-primary);
}

.date-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-range select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--color-gray-700);
    cursor: pointer;
    background: var(--color-white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7785' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.timeline-years {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.year-tag {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-600);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.year-tag.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-white);
}

/* Timeline */

.history-timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-year-section {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.timeline-year::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translateY(-50%);
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
    animation: slideIn 0.5s ease;
}

.timeline-item.completed .timeline-dot {
    background: #a8d5a0;
    border-color: #a8d5a0;
}

.timeline-item.cancelled .timeline-dot {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.timeline-item.processing .timeline-dot {
    background: #ffb347;
    border-color: #ffb347;
}

.history-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.history-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.history-card-header {
    padding: 1.25rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-main-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.history-card-body {
    padding: 1.25rem;
}

.order-products {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.order-product:hover {
    background: var(--color-gray-100);
}

.product-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
}

.product-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-name {
    font-weight: 600;
    color: var(--color-dark);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-gray-600);
    font-size: 0.85rem;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-quantity i {
    color: var(--color-primary);
    font-size: 0.75rem;
}

.product-price {
    font-weight: 600;
}

.history-card-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.btn-action {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-action:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.order-total-history {
    font-weight: 600;
    color: var(--color-dark);
}

.order-total-history span {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

/* Timeline Summary */

.timeline-summary {
    margin-top: 3rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.summary-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-title i {
    color: var(--color-primary);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.summary-item {
    text-align: center;
}

.summary-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.summary-label {
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.summary-label i {
    color: var(--color-primary);
    margin-right: 0.25rem;
}

/* Empty State */

.empty-history {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.empty-icon i {
    font-size: 3rem;
    color: var(--color-primary);
}

.empty-history h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.empty-history p {
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

/* Animations */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive */

@media (max-width: 1200px) {
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .history-sidebar {
        flex: 0 0 100%;
        position: static;
    }

    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-years {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .date-range {
        width: 100%;
    }

    .date-range select {
        width: 100%;
    }

    .order-main-info {
        gap: 1rem;
    }

    .history-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .history-stats {
        grid-template-columns: 1fr;
    }

    .order-actions {
        width: 100%;
    }

    .btn-action {
        flex: 1;
        justify-content: center;
    }

    .history-timeline {
        padding-left: 1rem;
    }

    .timeline-item {
        padding-left: 1rem;
    }
}

/* ===== ORDERS LAYOUT ===== */

.orders-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.orders-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ===== SIDEBAR ===== */

.orders-sidebar {
    flex: 0 0 300px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(126, 200, 184, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

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

.profile-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.profile-card p {
    color: var(--color-gray-600);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===== MAIN CONTENT ===== */

.orders-content {
    flex: 1;
    min-width: 0;
}

/* Stats Cards */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

/* Filters */

.orders-filters {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.filter-search {
    display: flex;
    gap: 0.5rem;
    min-width: 250px;
}

.filter-search input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

/* Orders List */

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.order-header {
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.order-number {
    font-weight: 700;
    color: var(--color-dark);
}

.order-number span {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.order-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.order-date i {
    color: var(--color-primary);
}

.order-status {
    padding: 0.35rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-delivered {
    background: rgba(168, 213, 160, 0.2);
    color: #2e7d32;
}

.status-processing {
    background: rgba(255, 179, 71, 0.2);
    color: #b85c00;
}

.status-shipped {
    background: rgba(126, 200, 184, 0.2);
    color: var(--color-primary-dark);
}

.status-cancelled {
    background: rgba(255, 107, 107, 0.2);
    color: #c62828;
}

.order-total {
    font-weight: 700;
    color: var(--color-dark);
}

.order-total span {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.order-body {
    padding: 1.5rem;
}

.order-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-product {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.order-product:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-white);
}

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

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-name {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-gray-600);
}

.product-price {
    font-weight: 700;
}

.order-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-small {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-small:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-primary-small {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Empty State */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.empty-state i {
    font-size: 5rem;
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

/* Pagination */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-item {
    list-style: none;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    color: var(--color-gray-700);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

/* Modal */

.tracking-timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--color-gray-200);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: -1.85rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-300);
}

.timeline-item.completed .timeline-dot {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.timeline-item.active .timeline-dot {
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(126, 200, 184, 0.3);
}

.timeline-content {
    background: var(--color-gray-100);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* Responsive */

@media (max-width: 991px) {
    .orders-sidebar {
        flex: 0 0 100%;
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-info {
        gap: 1rem;
    }

    .filter-tabs {
        width: 100%;
        justify-content: center;
    }

    .filter-search {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .order-product {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-meta {
        justify-content: center;
    }

    .order-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .order-actions {
        justify-content: center;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* ===== LEGAL CONTAINER ===== */

.legal-container {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.legal-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
}

.legal-header {
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    padding: 2.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    text-align: center;
}

.legal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.1),
        rgba(168, 213, 160, 0.1)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-icon i {
    font-size: 3rem;
    color: var(--color-primary);
}

.legal-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.legal-header p {
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.last-update {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.legal-body {
    padding: 3rem;
}

/* ===== LEGAL SECTIONS ===== */

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gray-200);
}

.section-number {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.3rem;
}

.section-title h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.section-content {
    padding-left: 3rem;
}

.section-content p {
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.section-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 2rem 0 1rem;
}

.section-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 1.5rem 0 0.5rem;
}

.section-content ul,
.section-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.section-content li {
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.section-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

.section-content .highlight {
    background: rgba(126, 200, 184, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    margin: 1.5rem 0;
}

.section-content .highlight p:last-child {
    margin-bottom: 0;
}

.section-content .badge-rgpd {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== TABLE OF CONTENTS ===== */

.toc-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(126, 200, 184, 0.2);
    position: sticky;
    top: 100px;
}

.toc-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-title i {
    color: var(--color-primary);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 0.75rem;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-weight: 500;
}

.toc-link:hover {
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
    padding-left: 1.5rem;
}

.toc-link .toc-number {
    width: 28px;
    height: 28px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.toc-link.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.toc-link.active .toc-number {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

/* ===== DATA TABLE ===== */

.data-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.data-table th {
    background: rgba(126, 200, 184, 0.1);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-dark);
    border: 1px solid var(--color-gray-200);
}

.data-table td {
    padding: 1rem;
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-700);
}

.data-table tr:hover td {
    background: rgba(126, 200, 184, 0.05);
}

/* ===== COOKIE TABLE ===== */

.cookie-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.cookie-table th {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--color-primary);
}

.cookie-table td {
    padding: 1rem;
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-700);
}

.cookie-table .essential {
    background: rgba(168, 213, 160, 0.1);
    border-left: 4px solid #a8d5a0;
}

.cookie-table .functional {
    background: rgba(126, 200, 184, 0.1);
    border-left: 4px solid var(--color-primary);
}

.cookie-table .analytics {
    background: rgba(255, 179, 71, 0.1);
    border-left: 4px solid #ffb347;
}

.cookie-table .marketing {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
}

/* ===== CONTACT CARD ===== */

.contact-card {
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(126, 200, 184, 0.3);
}

.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.contact-card .contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-card .info-item i {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* ===== PRINT BUTTON ===== */

.print-btn {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 99;
}

.print-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .toc-card {
        position: static;
        margin-bottom: 2rem;
    }

    .contact-card .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding: 2rem 1.5rem;
    }

    .legal-header h2 {
        font-size: 1.8rem;
    }

    .legal-body {
        padding: 2rem 1.5rem;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-content {
        padding-left: 0;
    }

    .print-btn {
        bottom: 80px;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .cookie-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .legal-container {
        padding: 0 15px;
    }

    .contact-card .info-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== PRODUCT MAIN ===== */

.product-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.product-main {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

/* ===== GALLERY ===== */

.product-gallery {
    position: relative;
}

.main-image {
    position: relative;
    aspect-ratio: 1;
    background: transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    cursor: zoom-in;
}

.main-image img {
    width: 100%;
    height: 100%;
 object-fit: contain;    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    aspect-ratio: 1;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(126, 200, 184, 0.3);
}

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

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-new {
    background: var(--color-primary);
    color: var(--color-white);
}

.badge-sale {
    background: #ff6b6b;
    color: var(--color-white);
}

.badge-bio {
    background: #a8d5a0;
    color: var(--color-dark);
}

.badge-best {
    background: #ffb347;
    color: var(--color-white);
}

.product-share {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ===== PRODUCT INFO ===== */

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.2rem;
    line-height: 1.3;
    font-family: 'Noto Serif', serif;
}


.stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.rating-count {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.rating-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.rating-link:hover {
    text-decoration: underline;
}


.current-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #000;
}

.old-price {
    font-size: 1.3rem;
  color: red !important;
    text-decoration: line-through;
    margin-left: 1rem;
    text-decoration-color: red !important;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.tax-info {
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
}

.stock-in {
    background: rgba(168, 213, 160, 0.2);
    color: #2e7d32;
}

.stock-low {
    background: rgba(255, 179, 71, 0.2);
    color: #b85c00;
}

.stock-out {
    background: rgba(255, 107, 107, 0.2);
    color: #c62828;
}

.product-description {
    margin-bottom: 2rem;
}

.product-description h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.product-description p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-gray-700);
}

.product-features i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* Variants */

.product-variants {
    margin-bottom: 2rem;
}

.variant-title {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.variant-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.variant-option {
    min-width: 60px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-gray-700);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-option:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.variant-option.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.variant-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Quantity */

.product-quantity {
    margin-bottom: 2rem;
}

.quantity-title {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    background: var(--color-gray-100);
    padding: 0.25rem;
    border-radius: var(--radius-full);
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.quantity-btn:hover:not(:disabled) {
    background: var(--color-primary);
    color: var(--color-white);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-value {
    font-weight: 700;
    color: var(--color-dark);
    min-width: 40px;
    text-align: center;
    font-size: 1.1rem;
}

/* Actions - MODIFIÉ : suppression du bouton comparer */

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-add-to-cart {
    flex: 1;
    min-width: 250px;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-wishlist {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-gray-200);
    border-radius: 50%;
    background: transparent;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.btn-wishlist:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.btn-wishlist.active {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: var(--color-white);
}

/* Suppression du style pour .btn-compare */

/* Delivery info */

.delivery-info {
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.delivery-item:last-child {
    border-bottom: none;
}

.delivery-icon {
    width: 40px;
    height: 40px;
    background: rgba(126, 200, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.delivery-text {
    flex: 1;
}

.delivery-title {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.delivery-subtitle {
    font-size: 0.85rem;
    color: var(--color-gray-600);
}

/* ===== TABS ===== */

.product-tabs {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
    margin-bottom: 3rem;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--color-gray-200);
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    overflow-x: auto;
    scrollbar-width: thin;
}

.tab-btn {
    padding: 1.2rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--color-gray-600);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    border-bottom-color: var(--color-primary);
    color: var(--color-primary);
}

.tabs-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

/* Description tab */

.description-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.description-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.description-text p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ingredients-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ingredients-list li {
    padding: 0.35rem 1rem;
    background: rgba(126, 200, 184, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.9rem;
}

.usage-steps {
    padding-left: 1.5rem;
}

.usage-steps li {
    margin-bottom: 0.75rem;
    color: var(--color-gray-700);
}

.usage-steps strong {
    color: var(--color-primary);
}

/* Reviews tab */

.reviews-summary {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.global-rating {
    text-align: center;
}

.global-note {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.global-stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.global-count {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    min-width: 60px;
    color: var(--color-gray-600);
}

.rating-bar-container {
    flex: 1;
    height: 8px;
    background: var(--color-gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: var(--radius-full);
}

.rating-percent {
    min-width: 50px;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.reviewer-info {
    flex: 1;
}

.reviewer-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.reviewer-info .stars {
    font-size: 0.9rem;
}

.review-date {
    color: var(--color-gray-500);
    font-size: 0.85rem;
}

.review-content p {
    color: var(--color-gray-700);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.review-images {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.review-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

.btn-write-review {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-write-review:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ===== RELATED PRODUCTS ===== */

.related-products {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.related-body {
    padding: 1.2rem;
}

.related-category {
    font-size: 0.7rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.related-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.related-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.related-stars {
    color: #ffc107;
    font-size: 0.8rem;
}

.related-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.related-add {
    width: 100%;
    padding: 0.5rem;
    background: transparent;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-add:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ===== ZOOM MODAL ===== */

.zoom-modal .modal-dialog {
    max-width: 90vw;
    max-height: 90vh;
}

.zoom-modal .modal-body {
    padding: 0;
    background: var(--color-dark);
    text-align: center;
}

.zoom-modal img {
    max-width: 100%;
    max-height: 80vh;
    margin: 0 auto;
}

/* Rating select for review modal */

.rating-select {
    display: flex;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #ffc107;
    cursor: pointer;
}

.rating-select i {
    transition: all 0.2s ease;
}

.rating-select i:hover,
.rating-select i.active {
    color: #ffc107;
    transform: scale(1.1);
}

/* Animations */

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

/* ===== RESPONSIVE DESIGN AMÉLIORÉ ===== */

@media (max-width: 1200px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-title {
        font-size: 2rem;
        font-family: 'Noto Serif', serif;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .description-content {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-actions {
        flex-direction: row;
    }

    .btn-add-to-cart {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.8rem;
        font-family: 'Noto Serif', serif;
    }

    .tabs-header {
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 1rem 1.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-add-to-cart {
        width: 100%;
    }

    .btn-wishlist {
        width: 100%;
        border-radius: var(--radius-full);
    }

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

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews-summary {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .product-container {
        padding: 0 10px;
    }

    .product-grid {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.5rem;
        font-family: 'Noto Serif', serif;
    }

    .current-price {
        font-size: 1.2rem;
    }

    .old-price {
        font-size: 1.5rem !important;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .variant-options {
        justify-content: flex-start;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-date {
        margin-left: 0;
    }

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

    .delivery-info {
        padding: 1rem;
    }

    .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }

    .quantity-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 400px) {
    .product-title {
        font-size: 1.3rem;
        font-family: 'Noto Serif', serif;
    }

    .current-price {
        font-size: 1rem;
    }

    .variant-options {
        gap: 0.5rem;
    }

    .variant-option {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 50px;
    }

    .btn-add-to-cart {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .btn-wishlist {
        height: 50px;
    }
}

/* ===== PROFILE LAYOUT ===== */

.profile-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.profile-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ===== SIDEBAR ===== */

.profile-sidebar {
    flex: 0 0 300px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(126, 200, 184, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.profile-card {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-bottom: 1px solid var(--color-gray-200);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

.profile-avatar .edit-avatar {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border: 2px solid var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.profile-avatar .edit-avatar:hover {
    transform: scale(1.1);
}

.profile-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.profile-card p {
    color: var(--color-gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(126, 200, 184, 0.15);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.sidebar-nav {
    padding: 1rem;
}

.sidebar-nav .nav-item {
    margin-bottom: 0.5rem;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    color: var(--color-gray-700);
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-nav .nav-link i {
    width: 20px;
    color: var(--color-gray-500);
    transition: all 0.3s ease;
}

.sidebar-nav .nav-link:hover {
    background: rgba(126, 200, 184, 0.1);
    color: var(--color-primary);
}

.sidebar-nav .nav-link:hover i {
    color: var(--color-primary);
}

.sidebar-nav .nav-link.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.sidebar-nav .nav-link.active i {
    color: var(--color-white);
}

.sidebar-nav .nav-link.logout {
    color: #ff6b6b;
}

.sidebar-nav .nav-link.logout i {
    color: #ff6b6b;
}

.sidebar-nav .nav-link.logout:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* ===== MAIN CONTENT ===== */

.profile-content {
    flex: 1;
    min-width: 0;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-gray-200);
}

.content-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.content-header .btn-edit {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.content-header .btn-edit:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ===== PROFILE INFO ===== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-group {
    margin-bottom: 1.5rem;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.info-label i {
    color: var(--color-primary);
    width: 16px;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    padding-left: 1.5rem;
}

.info-value-email {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-gray-600);
}

/* ===== DANGER ZONE ===== */

.danger-zone {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 107, 107, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.danger-zone h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.danger-zone h3 i {
    font-size: 1rem;
}

.danger-zone p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.btn-danger {
    background: transparent;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #ff6b6b;
    color: var(--color-white);
}

/* ===== MODALS ===== */

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-bottom: none;
    padding: 1.5rem;
}

.modal-header .modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.modal-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
    gap: 1rem;
}

/* Password change specific */

.current-password-warning {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.current-password-warning i {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.current-password-warning p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-gray-700);
}

/* Confirmation modal */

.confirmation-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.confirmation-icon i {
    font-size: 4rem;
    color: #ff6b6b;
}

.confirmation-icon.warning i {
    color: #ffb347;
}

.confirmation-icon.success i {
    color: #a8d5a0;
}

.confirmation-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.confirmation-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.confirmation-text p {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive */

@media (max-width: 991px) {
    .profile-sidebar {
        flex: 0 0 100%;
        position: static;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .profile-content {
        padding: 1.5rem;
    }

    .content-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ===== VIDEOS HERO ===== */

.videos-hero {
    background: linear-gradient(135deg, #ebf4f5 0%, #e8f5e9 50%, #fff9e6 100%);
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.videos-hero h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.videos-hero p {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== VIDEOS CONTAINER ===== */

.videos-container {
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

/* ===== VIDEOS FILTERS ===== */

.videos-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-600);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.filter-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-white);
}

.filter-search {
    display: flex;
    gap: 0.5rem;
}

.filter-search input {
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    min-width: 250px;
}

.filter-search input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.filter-search button {
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-search button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== VIDEOS GRID (STYLE REELS) ===== */

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    aspect-ratio: 9/16;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 16/9;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.7)
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.video-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-category {
    background: var(--gradient-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.video-duration {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.video-bottom {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.video-card:hover .video-bottom {
    transform: translateY(0);
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.video-meta i {
    margin-right: 0.25rem;
}

.video-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.video-card:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-card.featured .video-play-btn {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
}

/* ===== VIDEO MODAL (REEL PLAYER) ===== */

.video-modal .modal-dialog {
    max-width: 90vw;
    margin: 1.75rem auto;
}

.video-modal .modal-content {
    background: var(--color-dark);
    color: var(--color-white);
}

.video-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
}

.video-modal .modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-modal .btn-close {
    filter: brightness(0) invert(1);
}

.video-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-container:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.control-btn:hover {
    color: var(--color-primary);
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    width: 0%;
}

.time-display {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-white);
    border-radius: 2px;
    width: 70%;
}

.video-info-section {
    padding: 1.5rem;
}

.video-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.video-info-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.video-info-meta {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.video-actions {
    display: flex;
    gap: 0.5rem;
}

.video-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-action-btn:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.video-action-btn.liked {
    background: #ff6b6b;
}

.video-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.video-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.video-comments-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comments-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.comment-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comment-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.comment-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.comment-input button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.comment-item {
    display: flex;
    gap: 0.75rem;
}

.comment-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.comment-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.comment-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.comment-likes {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== LOAD MORE ===== */

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-load-more {
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-load-more:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-card.featured {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 9/16;
    }

    .videos-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-search {
        width: 100%;
    }

    .filter-search input {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .videos-hero h2 {
        font-size: 1.8rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .video-modal .modal-dialog {
        max-width: 100%;
        margin: 0;
    }

    .video-modal .modal-content {
        min-height: 100vh;
        border-radius: 0;
    }

    .video-player-container {
        aspect-ratio: 9/16;
    }
}

@media (max-width: 576px) {
    .videos-container {
        padding: 0 15px;
    }

    .filter-tabs {
        width: 100%;
        justify-content: center;
    }

    .filter-search {
        flex-direction: column;
    }

    .video-info-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== SHOP PAGE - Product image height fix =====
   Override for shop listing cards only ===== */

.product-image {
    position: relative !important;
    width: 100% !important;
    height: 280px !important; /* Hauteur fixe plus grande */
    min-height: 280px !important;
    max-height: 280px !important;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    overflow: hidden !important;
    flex-shrink: 0 !important; /* Empêche l'image de rétrécir */
}
/* ===== COMMANDES (ORDERS) - CORRECTION SPÉCIFIQUE ===== */

/* Conteneur principal des commandes */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

/* Carte de commande */
.order-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(126, 200, 184, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.order-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* En-tête de commande */
.order-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(126, 200, 184, 0.05),
        rgba(168, 213, 160, 0.05)
    );
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.order-number {
    font-weight: 700;
    color: var(--color-dark);
}

.order-number span {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.order-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.order-date i {
    color: var(--color-primary);
}

.order-status {
    padding: 0.35rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-delivered {
    background: rgba(168, 213, 160, 0.2);
    color: #2e7d32;
}

.status-processing {
    background: rgba(255, 179, 71, 0.2);
    color: #b85c00;
}

.status-shipped {
    background: rgba(126, 200, 184, 0.2);
    color: var(--color-primary-dark);
}

.status-cancelled {
    background: rgba(255, 107, 107, 0.2);
    color: #c62828;
}

.order-total {
    font-weight: 700;
    color: var(--color-dark);
}

.order-total span {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

/* Corps de la commande */
.order-body {
    padding: 1.5rem;
}

/* Produits dans la commande - CORRECTION PRINCIPALE */
.order-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-product {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.order-product:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

/* IMAGE PRODUIT - CORRECTION SPÉCIFIQUE POUR LES COMMANDES */
.order-product .product-image {
    position: relative !important;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    background: var(--color-white) !important;
    border: 1px solid var(--color-gray-200) !important;
    flex-shrink: 0 !important;
}

.order-product .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
}

.order-product:hover .product-image img {
    transform: scale(1.1) !important;
}

/* Détails du produit - CORRECTION */
.product-details {
    flex: 1;
    min-width: 0; /* Empêche le débordement */
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-name {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-gray-600);
}


/* Pied de commande */
.order-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-small {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-small:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-primary-small {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== RESPONSIVE POUR LES COMMANDES ===== */

/* Tablette */
@media (min-width: 768px) and (max-width: 991px) {
    .order-info {
        gap: 1rem;
    }

    .order-product .product-image {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;
    }

    .product-name {
        font-size: 0.95rem;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .order-header {
        padding: 1.5rem 2rem;
    }

    .order-body {
        padding: 2rem;
    }

    .order-product {
        padding: 1.25rem;
    }

    .order-product .product-image {
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
        min-height: 100px !important;
    }

    .product-name {
        font-size: 1.1rem;
        white-space: normal;
        line-height: 1.4;
    }

    .product-meta {
        font-size: 0.95rem;
        gap: 2rem;
    }
}

/* Grand desktop */
@media (min-width: 1400px) {
    .order-product .product-image {
        width: 120px !important;
        height: 120px !important;
        min-width: 120px !important;
        min-height: 120px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-info {
        gap: 0.75rem;
    }

    .order-product {
        flex-direction: row;
        align-items: center;
    }

    .order-product .product-image {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
    }

    .product-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .order-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .order-actions {
        justify-content: center;
    }

    .btn-primary-small {
        width: 100%;
        justify-content: center;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .order-product {
        flex-direction: column;
        text-align: center;
    }

    .order-product .product-image {
        margin: 0 auto;
    }

    .product-details {
        align-items: center;
    }

    .product-meta {
        align-items: center;
    }
}