/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Default colors - will be overridden by API */
    --primary-color: #000fff;
    --secondary-color: #000875;
    --accent-color: #f97316;
    --success-color: #25D366;
    --text-color: #111827;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;

    /* API Colors - will be set dynamically */
    --title-color: #111827;
    --button-color: #f97316;
    --button-text-color: #ffffff;
    --text-price-color: #111827;
    --icon-color: #6b7280;
    --header-bg-color: #ffffff;
    --header-text-color: #111827;
    --footer-bg-color: #111827;
    --footer-text-color: #ffffff;
    --card-bg-color: #ffffff;
    --card-border-color: #e5e7eb;
    --card-shadow-color: rgba(0, 0, 0, 0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--success-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 40px;
    right: 40px;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--secondary-color);
}

/* Base Styles */
html,
body {
    scroll-behavior: smooth;
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

body {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--button-color);
    color: var(--button-text-color);
}

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

.btn-whatsapp {
    background-color: var(--success-color);
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

.btn-whatsapp-large {
    background-color: var(--success-color);
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-whatsapp-large:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Header */
header {
    background: var(--header-bg-color);
    color: var(--header-text-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-status {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--header-text-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
nav {
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: block;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Desktop Navigation */
@media screen and (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    nav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: none;
        box-shadow: none;
    }

    nav ul {
        flex-direction: row;
        gap: 2rem;
        padding: 0;
    }

    nav ul li {
        border-bottom: none;
    }

    nav ul li a {
        padding: 0.5rem 1rem;
        text-align: center;
    }

    nav ul li a:hover {
        padding-left: 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    opacity: 0.7;
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-item.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 8, 117, 0.8), rgba(0, 15, 255, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 2rem;
}

.slider-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.slider-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: white;
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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


/* Trust Badges Section */
.trust-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    transform: scale(1.1);
    max-width: 100%;
    overflow: hidden;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.5rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.trust-badge-icon {
    color: var(--primary-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Catalog Section */
.catalog-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.catalog-filter {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

.filter-group label {
    font-weight: 500;
    color: var(--text-color);
}

.filter-group select,
.filter-group input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    min-width: 200px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 15, 255, 0.1);
}

/* View Toggle */
.view-toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-toggle {
    display: flex;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 0.25rem;
    border: 1px solid var(--border-color);
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.view-btn:hover {
    background-color: rgba(0, 15, 255, 0.1);
    color: var(--primary-color);
}

.view-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 15, 255, 0.2);
}

.view-btn svg {
    width: 20px;
    height: 20px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns-desktop, 3), minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Desktop Grid Optimization */
@media screen and (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(var(--grid-columns-desktop, 3), 1fr);
        gap: 1.5rem;
    }
}

/* Products List View */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--card-bg-color);
    border-radius: var(--card-border-radius, var(--border-radius-lg));
    box-shadow: var(--card-shadow-color);
    border: 1px solid var(--card-border-color);
    transition: var(--transition);
}

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

.product-image-list {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--card-border-radius, var(--border-radius-lg));
}

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

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

.product-info-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-info-list .product-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--title-color);
}

.product-info-list .product-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-info-list .product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-info-list .product-pricing {
    margin-bottom: 1rem;
}

.product-info-list .product-stock {
    margin-bottom: 1rem;
}

.product-info-list .product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.product-info-list .product-whatsapp {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.product-card {
    background-color: var(--card-bg-color);
    border-radius: var(--card-border-radius, var(--border-radius-lg));
    box-shadow: var(--card-shadow-color);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--card-border-color);
}

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

.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.clickable-card:active {
    transform: translateY(-2px);
}

.product-image {
    position: relative;
    height: var(--card-image-height, 200px);
    overflow: hidden;
    border-radius: var(--card-border-radius, 8px) var(--card-border-radius, 8px) 0 0;
}

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

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

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--title-color);
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-tag {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.product-pricing {
    margin-bottom: 1rem;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.price-promotional {
    color: var(--text-price-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.price-normal {
    color: var(--text-price-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.product-stock {
    margin-bottom: 1rem;
}

.stock-available {
    color: var(--success-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.stock-unavailable {
    color: #ef4444;
    font-weight: 500;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-whatsapp {
    flex: 1;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

/* Desktop Reviews Optimization */
@media screen and (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.25rem;
        max-width: 1400px;
    }

    .review-card {
        padding: 1.25rem;
        border-radius: 12px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .review-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        border-color: var(--primary-color);
    }

    .review-header {
        margin-bottom: 0.5rem;
    }

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

    .review-author {
        font-size: 0.9rem;
        font-weight: 700;
    }

    .review-text {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
        color: #4a5568;
    }

    .review-image {
        margin-top: 0.5rem;
    }

    .review-image img {
        width: 70px;
        height: 70px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rating-stars {
    font-size: 1.5rem;
    color: #fbbf24;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.rating-count {
    color: var(--text-light);
    font-size: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

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

.review-author {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.review-text {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.review-image {
    margin-top: 0.75rem;
    text-align: center;
}

.review-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin: 0 auto;
    display: block;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.contact-item strong {
    color: var(--text-color);
    font-weight: 600;
    min-width: 80px;
}

.contact-item span {
    color: var(--text-light);
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Footer */
footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.payment-method span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Cart Options Modal */
.cart-options-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* Product Details Modal */
.product-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.product-details-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-details-modal .modal-content {
    background: var(--card-bg-color);
    border-radius: var(--border-radius-lg);
    padding: 0;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: left;
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.product-details-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.product-details-modal .modal-header h3 {
    color: var(--title-color);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.product-details-modal .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.product-details-modal .close-btn:hover {
    background: var(--bg-light);
    color: var(--text-color);
}

.product-details-modal .modal-body {
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.product-detail-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.product-detail-info {
    flex: 1;
}

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

.product-detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-price-color);
    margin-bottom: 1rem;
}

.product-details-modal .modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: var(--bg-light);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.product-details-modal .btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-details-modal .btn-whatsapp {
    background: #25D366;
    color: white;
}

.product-details-modal .btn-whatsapp:hover {
    background: #1ea952;
    transform: translateY(-2px);
}

.product-details-modal .btn-secondary {
    background: #6c757d;
    color: white;
}

.product-details-modal .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.cart-options-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cart-options-modal .modal-content {
    background: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--card-shadow);
    text-align: center;
    animation: modalSlideIn 0.3s ease-out;
}

.cart-options-modal h3 {
    color: var(--title-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.cart-options-modal p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.cart-options-modal .modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.cart-options-modal .btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-options-modal .btn-whatsapp {
    background: #25D366;
    color: white;
}

.cart-options-modal .btn-whatsapp:hover {
    background: #1ea952;
    transform: translateY(-2px);
}

.cart-options-modal .btn-primary {
    background: var(--button-color);
    color: var(--button-text-color);
}

.cart-options-modal .btn-primary:hover {
    background: var(--button-hover-color);
    transform: translateY(-2px);
}

.cart-options-modal .btn-secondary {
    background: #6c757d;
    color: white;
}

.cart-options-modal .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Tablet Responsive */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .trust-badges {
        gap: 1.5rem;
        transform: scale(1.05);
    }

    .trust-badge {
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    /* Header Mobile */
    header {
        padding: 0.75rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
        z-index: -1;
    }

    nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        padding: 2rem;
        text-align: center;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
        display: block;
        width: 100%;
        border-radius: var(--border-radius);
        text-align: center;
        transition: var(--transition);
        border: 2px solid transparent;
    }

    nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: scale(1.05);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .logo {
        height: 50px;
    }

    /* Hero Mobile */
    .hero {
        min-height: 80vh;
    }

    .hero::before {
        opacity: 0.8;
        backdrop-filter: blur(3px);
    }

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

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
    }

    .slider-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .slider-content p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    /* Trust Badges Mobile */
    .trust-section {
        padding: 2rem 0;
    }

    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
        transform: scale(1);
        max-width: 100%;
    }

    .trust-badge {
        width: 100%;
        padding: 0.75rem 0.5rem;
        text-align: center;
        font-size: 0.75rem;
        transform: none;
        flex-direction: column;
        gap: 0.25rem;
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-header p {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* Catalog Mobile */
    .catalog-section {
        padding: 2rem 0;
    }

    .catalog-filter {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .filter-group {
        width: 100%;
        max-width: 300px;
    }

    .filter-group select,
    .filter-group input {
        width: 100%;
        min-width: auto;
        padding: 1rem;
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(var(--grid-columns-mobile, 2), 1fr);
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    /* List View Mobile */
    .products-list {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .product-card-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .product-image-list {
        width: 100%;
        height: 200px;
    }

    .product-info-list .product-name {
        font-size: 1.25rem;
    }

    .product-info-list .product-description {
        font-size: 0.9rem;
    }

    .product-info-list .product-whatsapp {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* View Toggle Mobile */
    .view-toggle-container {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .view-btn {
        width: 36px;
        height: 36px;
    }

    .view-btn svg {
        width: 18px;
        height: 18px;
    }

    .product-card {
        margin: 0;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    /* About Mobile */
    .about-section {
        padding: 2rem 0;
    }

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

    .about-text h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-image img {
        height: 250px;
        width: 100%;
    }

    .contact-info {
        gap: 0.75rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .contact-item strong {
        min-width: auto;
    }

    /* Reviews Mobile */
    .reviews-section {
        padding: 2rem 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    .review-image img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: var(--border-radius);
        margin: 0 auto;
        display: block;
    }

    .rating-summary {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .rating-stars {
        font-size: 1.2rem;
    }

    .rating-score {
        font-size: 1.5rem;
    }

    /* Contact Mobile */
    .contact-section {
        padding: 2rem 0;
    }

    .contact-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .contact-content p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-whatsapp-large {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Footer Mobile */
    footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    /* Payment Methods Mobile */
    .payment-methods {
        justify-content: center;
        gap: 0.75rem;
    }

    .payment-method {
        padding: 0.4rem;
    }


    .payment-method span {
        font-size: 0.8rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Mobile Small Screens */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    /* Header Small Mobile */
    header {
        padding: 0.5rem 0;
    }

    nav ul li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .logo {
        height: 40px;
    }

    /* Hero Small Mobile */
    .hero {
        min-height: 70vh;
    }

    .hero::before {
        opacity: 0.85;
        backdrop-filter: blur(4px);
    }

    /* Trust Badges Small Mobile */
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
        transform: scale(1);
    }

    .trust-badge {
        padding: 0.6rem 0.4rem;
        font-size: 0.65rem;
        transform: none;
        flex-direction: column;
        gap: 0.2rem;
    }

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

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .slider-content h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .slider-content p {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        max-width: 260px;
    }

    /* Section Headers Small Mobile */
    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .section-header p {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    /* Trust Badges Small Mobile */
    .trust-badge {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Catalog Small Mobile */
    .catalog-filter {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .filter-group {
        max-width: 280px;
    }

    .filter-group select,
    .filter-group input {
        padding: 0.875rem;
        font-size: 0.9rem;
    }

    .products-grid {
        gap: 1rem;
        padding: 0 0.25rem;
    }

    .product-card {
        margin: 0;
    }

    .product-info {
        padding: 0.875rem;
    }

    .product-name {
        font-size: 1rem;
        line-height: 1.2;
    }

    .product-description {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .product-pricing {
        margin-bottom: 0.75rem;
    }

    .price-promotional,
    .price-normal {
        font-size: 1.1rem;
    }

    .product-whatsapp {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }

    /* About Small Mobile */
    .about-text h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .about-image img {
        height: 200px;
    }

    .contact-item {
        gap: 0.125rem;
    }

    .contact-item strong {
        font-size: 0.9rem;
    }

    .contact-item span {
        font-size: 0.85rem;
    }

    /* Reviews Small Mobile */
    .review-card {
        padding: 1rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

    .review-author {
        font-size: 0.9rem;
    }

    .review-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .review-image img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: var(--border-radius);
        margin: 0 auto;
        display: block;
    }

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

    .rating-score {
        font-size: 1.25rem;
    }

    .rating-count {
        font-size: 0.9rem;
    }

    /* Contact Small Mobile */
    .contact-content h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .contact-content p {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .btn-whatsapp-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        max-width: 260px;
    }

    /* Footer Small Mobile */
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .footer-section p {
        font-size: 0.8rem;
    }

    /* Payment Methods Small Mobile */
    .payment-methods {
        gap: 0.5rem;
    }

    .payment-method {
        padding: 0.3rem;
    }


    .payment-method span {
        font-size: 0.75rem;
    }

    .footer-bottom {
        padding-top: 1rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    /* WhatsApp Float Small Mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }
}

/* Mobile Landscape */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

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

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .btn {
        max-width: 200px;
    }

    /* Trust Badges Landscape */
    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        transform: scale(0.9);
    }

    .trust-badge {
        padding: 0.5rem 0.3rem;
        font-size: 0.7rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .product-card:hover {
        transform: none;
    }

    .trust-badge:hover {
        transform: none;
    }

    .review-card:hover {
        transform: none;
    }

    .about-image:hover img {
        transform: none;
    }

    .product-card:hover .product-image img {
        transform: none;
    }

    /* Increase touch targets */
    .btn {
        min-height: 44px;
    }

    nav ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .filter-group select,
    .filter-group input {
        min-height: 44px;
    }

    .product-whatsapp {
        min-height: 44px;
    }

    /* Cart Options Modal Mobile */
    .cart-options-modal .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .cart-options-modal h3 {
        font-size: 1.1rem;
    }

    .cart-options-modal p {
        font-size: 0.85rem;
    }

    .cart-options-modal .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Product Details Modal Mobile */
    .product-details-modal .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
}

/* Modern Modal Styles */
.cart-options-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
    padding: 1rem;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-light, #f8fafc);
    border-radius: 12px;
    border: 1px solid var(--border-color, #e5e7eb);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-item-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color, #1f2937);
}

.cart-item-price {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-item-quantity label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color, #1f2937);
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 15, 255, 0.1);
}

/* WhatsApp Modal Styles */
.whatsapp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

.whatsapp-modal-overlay {
    background: var(--card-bg-color, #ffffff);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    width: 90%;
    margin: 1rem;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    background: var(--bg-light, #f8fafc);
}

.whatsapp-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color, #1f2937);
}

.whatsapp-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light, #6b7280);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.whatsapp-modal-close:hover {
    background: var(--bg-light, #f3f4f6);
    color: var(--text-color, #374151);
}

.whatsapp-modal-body {
    padding: 1.5rem 2rem 2rem;
}

.whatsapp-modal-body p {
    margin-bottom: 1.5rem;
    color: var(--text-light, #4b5563);
    text-align: center;
}

.whatsapp-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.whatsapp-modal-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.whatsapp-modal-buttons .btn-whatsapp {
    background: var(--success-color, #25D366);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-modal-buttons .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-modal-buttons .btn-secondary {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    color: #6b7280;
}

.whatsapp-modal-buttons .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #4b5563;
    transform: translateY(-1px);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cart-options-modal .modal-overlay {
    background: var(--card-bg-color, #ffffff);
    border: 1px solid var(--card-border-color, #e5e7eb);
    border-radius: var(--card-border-radius, 20px);
    box-shadow: 0 25px 50px -12px var(--card-shadow-color, rgba(0, 0, 0, 0.25));
    max-width: 420px;
    width: 100%;
    margin: 0;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cart-options-modal .modal-content {
    padding: 2rem;
    text-align: center;
}

.cart-options-modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--title-color, #1f2937);
    margin-bottom: 1rem;
}

.cart-options-modal .product-info {
    background: var(--bg-light, #f8fafc);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.cart-options-modal .product-info p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-light, #4b5563);
}

.cart-options-modal .product-info p:first-child {
    font-weight: 600;
    color: var(--text-color, #1f2937);
}

.cart-options-modal .product-info p:last-child {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-price-color, var(--primary-color));
}

.cart-options-modal .modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.cart-options-modal .btn-whatsapp {
    background: var(--success-color, #25D366);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cart-options-modal .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.cart-options-modal .btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

.cart-options-modal .checkout-link {
    background: var(--button-color, var(--primary-color));
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--button-text-color, white);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 15, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cart-options-modal .checkout-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 15, 255, 0.4);
    color: var(--button-text-color, white);
    text-decoration: none;
}

.cart-options-modal .btn-secondary {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #6b7280;
    transition: all 0.3s ease;
}

.cart-options-modal .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #4b5563;
    transform: translateY(-1px);
}

/* Product Details Modal Modern Styles */
.product-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

.product-details-modal .modal-overlay {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 90%;
    margin: 1rem;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-details-modal .modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-details-modal .modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.product-details-modal .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.product-details-modal .close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.product-details-modal .modal-body {
    padding: 1.5rem 2rem;
}

.product-details-modal .product-detail-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.product-details-modal .product-detail-info {
    text-align: left;
}

.product-details-modal .product-detail-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-details-modal .product-detail-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-details-modal .modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.product-details-modal .modal-footer .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .cart-options-modal .modal-overlay,
    .product-details-modal .modal-overlay {
        margin: 0.5rem;
        border-radius: 16px;
    }

    .cart-options-modal .modal-content,
    .product-details-modal .modal-header,
    .product-details-modal .modal-body,
    .product-details-modal .modal-footer {
        padding: 1.5rem;
    }

    .cart-options-modal h3,
    .product-details-modal .modal-header h3 {
        font-size: 1.25rem;
    }

    .cart-options-modal .modal-buttons {
        gap: 0.5rem;
    }

    .cart-options-modal .btn-whatsapp,
    .cart-options-modal .checkout-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

.product-details-modal .modal-header {
    padding: 1rem;
}

.product-details-modal .modal-header h3 {
    font-size: 1.25rem;
}

.product-details-modal .modal-body {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
}

.product-detail-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-detail-info {
    width: 100%;
}

.product-details-modal .modal-footer {
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
}

.product-details-modal .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Estilos para o modal de verificação de idade */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.age-modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.age-modal-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.age-modal-content button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

#confirm-age {
    background: green;
    color: white;
}

#deny-age {
    background: red;
    color: white;
}

.animation-text {
    animation: animText 2s ease-out forwards;
}

.animation-text-permanent {
    margin-top: 10px;
    opacity: 1;
    /* Não é necessário !important */
    transition: opacity 0.5s ease-in, margin-top 0.5s ease-in;
}

@keyframes animText {
    0% {
        opacity: 0;
        margin-top: -100px;
    }

    100% {
        margin-top: 10px;
        opacity: 1;
    }
}