/* Reset básico */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
  
body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, Arial, sans-serif;
    background-color: #D4E6B5;
    color: #4A5D32;
    -webkit-text-fill-color: #4A5D32;
    line-height: 1.6;
    min-height: 100vh;
    display: block;
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
}

.about-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.about-container p {
    color: #4A5D32;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.about-section a {
    font-family: sans-serif;
    font-size: 1.5rem;
}

.Logo-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 2rem;
    background-color: #A8C686;
    position: relative;
    box-shadow: 0 2px 8px rgba(74, 93, 50, 0.2);
}

.Logo-image h1 {
    color: #4A5D32;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    flex: 1;
    text-align: left;
}

.Logo-image img {
    display: none;
}

.Logo-image nav {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex: 1;
}

.Logo-image nav a {
    color: #4A5D32;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
}

.Logo-image nav a:hover {
    background-color: #F4F8EE;
    transform: translateY(-2px);
}

.Logo-image nav a.active {
    background-color: #FFFFFF;
    color: #4A5D32;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .Logo-image {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .Logo-image h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .logo-container {
        position: relative;
        left: auto;
        transform: none;
        margin: 0.5rem 0;
    }

    .Logo-image img {
        width: 60px;
    }

    .Logo-image nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .Logo-image nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Agregar fuente Playfair Display */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

header {
    background-color: #A8C686;
    padding: 10px 20px;
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
}

nav {
    text-align: center;
    padding: 10px 0;
}

nav a {
    color: #4A5D32;
    text-decoration: none;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;
    display: inline-block;
    background-color: transparent;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

nav a:hover,
nav a.active {
    background-color: #7FA663;
    color: #FFFFFF;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background-color: #D4E6B5;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
.hero h2 {
    text-align: center;
    color: #4A5D32;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0 0 1.5rem 0;
    width: 100%;
}
  
.hero p {
    font-size: 1.2rem;
    width: 100%;
    margin: 0;
    color: #4A5D32;
    line-height: 1.8;
    text-align: center;
}

.hero .about-container {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(74, 93, 50, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-section {
    background-color: #D4E6B5;
    width: 100%;
    margin: 0;
    padding: 2rem;
}

.product-section .about-container {
    text-align: center;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(74, 93, 50, 0.1);
}
  
.product-section h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #4A5D32;
}

.product-section .about-container p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #4A5D32;
    line-height: 1.8;
}

.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    padding: 2rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}
  
.product-card {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
  
.product-card:hover {
    transform: translateY(-5px);
}
  
.product-image {
    width: 100% !important;
    height: 350px !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #FFFFFF !important;
    border-radius: 8px 8px 0 0 !important;
}
  
.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.product-info {
    padding: 1.8rem;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex: 1;
    flex: 1;
    gap: 1rem;
    background-color: #FFFFFF;
}
  
.product-info h4 {
    margin-bottom: 1rem;
    color: #4A5D32;
    -webkit-text-fill-color: #4A5D32;
    font-size: 1.2rem;
}
  
.product-info p {
    color: #4A5D32;
    -webkit-text-fill-color: #4A5D32;
    line-height: 1.6;
    margin-bottom: 1rem;
}
  
.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}
  
.price-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #FFFFFF;
    color: #4A5D32;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
  
.add-to-cart {
    background-color: #7FA663;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}
  
.add-to-cart:hover {
    background-color: #A8C686;
}
  
.about-section {
    padding: 2rem;
    background-color: #D4E6B5;
    margin-top: 2rem;
    width: 100%;
}
  
.about-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #4A5D32;
    font-size: 2rem;
    font-weight: bold;
}
  
.about-section p {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
    color: #4A5D32;
    -webkit-text-fill-color: #4A5D32;
}
  
footer {
    background-color: #A8C686;
    color: #FFFFFF;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.card {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.socialContainer {
    width: 40px;
    height: 40px;
    background-color: #7FA663;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.socialSvg {
    width: 24px;
    height: 24px;
    fill: white;
}

.containerOne:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.containerTwo:hover {
    background-color: black;
}

.socialContainer:hover {
    transform: scale(1.1);
}

.socialContainer:active {
    transform: scale(0.9);
}

@keyframes slide-in-top {
    0% {
      transform: translateY(-50px);
      opacity: 0;
    }
  
    100% {
      transform: translateY(0);
      opacity: 1;
    }
}
  
@media (max-width: 600px) {
    header h1 {
        font-size: 1.6rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .product-section h3 {
        font-size: 1.5rem;
    }
    .about-section h3 {
        font-size: 1.5rem;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

body.cart-open .whatsapp-float,
body.modal-open .whatsapp-float {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    background-color: #20BA5C;
}

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

.whatsapp-float span {
    font-size: 16px;
}

footer p {
    font-size: 1.2rem;
}

.cart-button {
    position: fixed !important;
    top: 100px !important;
    right: 20px !important;
    background-color: white !important;
    color: #4A5D32 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    z-index: 1001 !important;
    border: 2px solid #7FA663 !important;
    transition: all 0.3s ease !important;
}

.cart-panel.active + .cart-button {
    display: none !important;
}

.cart-button:hover {
    transform: scale(1.1);
    background-color: #f8f8f8;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #7FA663;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.cart-panel {
    position: fixed !important;
    top: 0 !important;
    right: -400px !important;
    width: 400px !important;
    height: 100vh !important;
    background-color: white !important;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1) !important;
    transition: right 0.3s ease !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
}

.cart-panel.active {
    right: 0 !important;
}

.cart-header {
    padding: 1.2rem !important;
    background-color: #A8C686 !important;
    color: #4A5D32 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 3px solid #4A5D32 !important;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.cart-back {
    background: none;
    border: none;
    color: #4A5D32;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-back:hover {
    transform: scale(1.1);
}

.cart-items {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 1rem !important;
}

.cart-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem !important;
    border-bottom: 1px solid #eee !important;
    background: white !important;
}

.cart-footer {
    padding: 1rem !important;
    background-color: #f9f9f9 !important;
    border-top: 1px solid #eee !important;
}

.checkout-button {
    width: 100%;
    padding: 1rem;
    background-color: #7FA663;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.checkout-button:hover {
    background-color: #A8C686;
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .product-image {
        height: 200px !important;
    }

    .cart-panel {
        width: 100% !important;
        right: -100% !important;
    }
    
    .whatsapp-float {
        bottom: 80px;
    }
    
    .checkout-button {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .products {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }

    .product-card {
        max-width: 100%;
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-info h4 {
        font-size: 1rem;
    }

    .product-info p {
        font-size: 0.85rem;
    }

    .price-tag {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }

    .add-to-cart {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

.cart-notification {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFFFFF;
    color: #4A5D32;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #A8C686;
    font-weight: 500;
    bottom: 20px;
}

@media (max-width: 768px) {
    .cart-notification {
        top: 20px;
        bottom: auto;
        width: 90%;
        padding: 0.8rem 1rem;
        text-align: center;
    }
}

.cart-notification.show {
    display: block;
    animation: fadeIn 0.3s, fadeOut 0.3s 2.7s;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeOut {
    from { 
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to { 
        opacity: 0;
        transform: translate(-50%, -10px);
    }
}

@media (max-width: 768px) {
    .whatsapp-float span {
        display: none;
    }

    .Logo-image {
        padding: 0.75rem;
    }

    .Logo-image h1 {
        font-size: 1.5rem;
        margin: 0.25rem 0;
    }

    .Logo-image img {
        width: 120px;
        margin: 0.5rem 0;
    }

    .Logo-image nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
        background-color: transparent;
        margin: 0.5rem 0;
    }

    .Logo-image nav a {
        flex: 1;
        min-width: 100px;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.5rem;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .Logo-image nav a:hover,
    .Logo-image nav a.active {
        transform: translateY(-2px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }

    nav {
        text-align: center;
        margin-top: 1rem;
    }
}

.filter-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(74, 93, 50, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #D4E6B5;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #7FA663;
}

.price-filter {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-filter label {
    color: #4A5D32;
    font-weight: 500;
}

.price-filter input[type="range"] {
    width: 100%;
    height: 8px;
    background: #D4E6B5;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.price-filter input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #7FA663;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.price-filter input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #7FA663;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
}

.price-filter input[type="range"]::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #7FA663;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.price-filter input[type="range"]::-webkit-slider-thumb:hover {
    background: #A8C686;
}

.price-filter span {
    color: #4A5D32;
    font-weight: 500;
    text-align: right;
}

.product-section h3 {
    text-align: center;
    color: #4A5D32;
    margin: 2rem 0;
    font-size: 2rem;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #4A5D32;
    background-color: #FFFFFF;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 600px;
}

.products.few-items {
    grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
    justify-content: center;
}

.products.few-items .product-image {
    height: 150px;
}

.coupon-section {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.coupon-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
}

.coupon-button {
    padding: 8px 15px;
    background-color: #7FA663;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
}

.coupon-button:hover {
    background-color: #A8C686;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.coupon-notification {
    background-color: #FFFFFF;
    color: #4A5D32;
    border: 2px solid #A8C686;
}

.coupon-error-notification {
    background-color: #FFFFFF;
    color: #e44d26;
    border: 2px solid #e44d26;
}

.features {
    background-color: #D4E6B5;
    padding: 2rem;
    width: 100%;
    margin: 0;
}

.features h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: #4A5D32;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.feature-card {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card h4 {
    color: #4A5D32;
    -webkit-text-fill-color: #4A5D32;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #4A5D32;
    -webkit-text-fill-color: #4A5D32;
    line-height: 1.6;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.info-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.info-item h4 {
    color: #4A5D32;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-item p {
    color: #4A5D32;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.map-link {
    display: inline-block;
    background-color: #7FA663;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.map-link:hover {
    background-color: #A8C686;
}

/* Estilos para la sección de reseñas */
.reviews-section {
    background-color: #D4E6B5;
    padding: 2rem;
    width: 100%;
    margin: 0;
}

.reviews-section .about-container {
    text-align: center;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(74, 93, 50, 0.1);
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-header h3 {
    color: #4A5D32;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.reviews-header p {
    color: #4A5D32;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.review-card {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 8px;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.reviewer-info h4 {
    color: #4A5D32;
    -webkit-text-fill-color: #4A5D32;
    margin: 0;
    font-size: 1.1rem;
}

.reviewer-info .review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-stars {
    color: #FFD700 !important;
    -webkit-text-fill-color: #FFD700 !important;
    font-size: 1.2rem;
    margin: 0.5rem 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.review-stars span {
    color: #FFD700 !important;
    -webkit-text-fill-color: #FFD700 !important;
}

.review-content {
    color: #4A5D32;
    -webkit-text-fill-color: #4A5D32;
    margin-top: 1rem;
}

.no-reviews {
    text-align: center;
    color: #4A5D32;
    font-size: 1.1rem;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 12px;
    margin: 2rem 1rem;
}

.loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.loader.active {
    display: block;
}

.review-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-form h4 {
    color: #4A5D32;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
}

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

.form-group label {
    color: #4A5D32;
    -webkit-text-fill-color: #4A5D32;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7FA663;
    box-shadow: 0 0 0 2px rgba(127, 166, 99, 0.2);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
    justify-content: center;
}

.star-rating button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #d4d4d4;
    -webkit-text-fill-color: #d4d4d4;
    cursor: pointer;
    padding: 0 0.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.star-rating {
    direction: rtl;
}

.star-rating button:hover,
.star-rating button:hover ~ button {
    color: #FFD700;
    -webkit-text-fill-color: #FFD700;
    transform: scale(1.1);
}

.star-rating button.active {
    color: #FFD700;
    -webkit-text-fill-color: #FFD700;
    transform: scale(1.1);
}

.submit-review {
    background-color: #7FA663;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-review:hover {
    background-color: #A8C686;
}

/* Estilos responsivos para móviles */
@media (max-width: 768px) {
    .reviews-section {
        padding: 2rem 0;
        margin: 1rem 0;
    }

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

    .review-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .reviews-header h3 {
        font-size: 1.5rem;
    }

    .reviews-header p {
        font-size: 1rem;
    }

    .review-form-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .star-rating button {
        font-size: 1.8rem;
        padding: 0.3rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .submit-review {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .loader {
        padding: 15px 30px;
        font-size: 0.9rem;
    }
}

/* Estilos para pantallas muy pequeñas */
@media (max-width: 360px) {
    .reviews-section {
        padding: 1.5rem 0;
    }

    .review-card {
        padding: 1.2rem;
    }

    .star-rating button {
        font-size: 1.5rem;
        padding: 0.2rem;
    }

    .reviews-header h3 {
        font-size: 1.3rem;
    }

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

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    align-items: center !important;
    justify-content: flex-start !important;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    padding: 10px;
    background-color: #FFFFFF;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 93, 50, 0.7);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0;
}

.slider-button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

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

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

.slider-dot.active {
    background: #4A5D32;
    border-color: white;
}

/* Media Queries para diferentes iPhones */
@media only screen 
and (device-width: 428px) 
and (device-height: 926px),
/* iPhone 12 Pro Max */
(device-width: 390px) 
and (device-height: 844px),
/* iPhone 12, 13, 14 */
(device-width: 393px) 
and (device-height: 852px) {
    /* Ajustes generales */
    body {
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
    }

    /* Header y navegación */
    .Logo-image {
        padding: 8px 16px;
    }

    .Logo-image h1 {
        font-size: 1.5rem;
        padding: 8px 0;
    }

    .Logo-image img {
        max-width: 120px;
    }

    nav {
        padding: 8px 0;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    /* Sección de productos */
    .product-section {
        padding: 1rem;
    }

    .product-section h3 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

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

    .product-card {
        margin: 0 auto;
        max-width: 350px;
    }

    .product-image {
        min-height: 250px;
        max-height: 300px;
    }

    .product-info {
        padding: 1.2rem;
    }

    .product-info h4 {
        font-size: 1.1rem;
    }

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

    .product-actions {
        -webkit-flex-direction: column;
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }

    .price-tag {
        text-align: center;
        font-size: 1rem;
    }

    .add-to-cart {
        width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
    }

    /* Sección de opiniones */
    .reviews-section {
        padding: 1.5rem;
    }

    .reviews-header h3 {
        font-size: 1.6rem;
    }

    .reviews-header p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

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

    .review-card {
        padding: 1.2rem;
    }

    .reviewer-info h4 {
        font-size: 1rem;
    }

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

    /* Formulario de reseñas */
    .review-form-container {
        padding: 1.2rem;
    }

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

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .star-rating button {
        font-size: 1.8rem;
        padding: 0 0.3rem;
    }

    .submit-review {
        padding: 0.8rem;
        font-size: 1rem;
    }

    /* Botón de WhatsApp */
    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        padding: 8px 12px;
    }

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

    /* Carrito */
    .cart-button {
        right: 15px;
        top: 15px;
        padding: 8px;
    }

    .cart-panel {
        width: 100%;
        max-width: none;
    }

    .cart-item {
        padding: 0.8rem;
    }

    .cart-item-controls button {
        padding: 4px 8px;
    }
}

/* iPhone 14 Pro específico */
@media only screen 
and (device-width: 393px) 
and (device-height: 852px) {
    /* Ajustes para la isla dinámica */
    body {
        padding-top: env(safe-area-inset-top);
    }

    .Logo-image {
        padding-top: max(8px, env(safe-area-inset-top));
    }

    .cart-button {
        top: max(15px, env(safe-area-inset-top));
    }
}

/* Ajustes para pantallas más pequeñas */
@media only screen and (max-width: 360px) {
    .Logo-image h1 {
        font-size: 1.3rem;
    }

    .Logo-image img {
        max-width: 100px;
    }

    nav a {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .product-info h4 {
        font-size: 1rem;
    }

    .product-info p {
        font-size: 0.85rem;
    }

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

    .add-to-cart {
        font-size: 0.9rem;
    }
}

/* Ajustes para orientación horizontal */
@media only screen and (orientation: landscape) and (max-height: 926px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image {
        min-height: 200px;
    }

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

/* Asegurar que no haya zoom en inputs en móvil */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="number"],
    textarea {
        font-size: 16px;
    }

    .coupon-section {
        padding: 10px;
        flex-wrap: wrap;
    }

    .coupon-input {
        width: 100%;
        margin-bottom: 5px;
    }

    .coupon-button {
        width: 100%;
    }
}

.checkout-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 2000 !important;
}

.checkout-modal-content {
    background-color: white !important;
    padding: 2rem !important;
    border-radius: 8px !important;
    max-width: 500px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    text-align: center !important;
}

.checkout-modal-content h3 {
    color: #4A5D32;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.checkout-info {
    margin: 2rem 0;
}

.checkout-info p {
    color: #4A5D32;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1.1rem;
}

#order-comments {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 2px solid #7FA663;
    border-radius: 8px;
    margin: 1rem 0;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
}

.checkout-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cancel-checkout,
.confirm-checkout {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 1;
    font-size: 1.1rem;
}

.cancel-checkout {
    background-color: #f5f5f5;
    color: #4A5D32;
    border: 2px solid #4A5D32;
}

.cancel-checkout:hover {
    background-color: #e5e5e5;
}

.confirm-checkout {
    background-color: #7FA663;
    color: white;
}

.confirm-checkout:hover {
    background-color: #A8C686;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .checkout-modal-content {
        width: 95%;
        padding: 1.5rem;
    }

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

    .cancel-checkout,
    .confirm-checkout {
        width: 100%;
        padding: 1rem;
    }
}

/* Estilos para PC */
@media (min-width: 769px) {
    .products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .whatsapp-float {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .filter-container {
        margin: 1rem;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
}

.slider-container:hover .slider-button {
    opacity: 1;
}

.slider-button:hover {
    background: rgba(74, 93, 50, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

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

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

.slider-dot.active {
    background: #4A5D32;
    border-color: white;
}



