/* ========================================
   Variables CSS - Colores Corporativos
   ======================================== */
:root {
    /* Colores principales de Freskaleche */
    --primary-blue: #0066CC;
    --primary-red: #E31E24;
    --dark-blue: #004C99;
    --light-blue: #4D94FF;
    --dark-red: #B81419;
    
    /* Colores complementarios */
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #CCCCCC;
    --gray-bg: #F5F5F5;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    /* Fuentes */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

/* ========================================
   Reset y Estilos Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   Header y Navegación
   ======================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-image {
    opacity: 0.85;
}

.logo-container {
    display: flex;
    align-items: baseline;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
}

.logo-text-red {
    color: var(--primary-red);
    text-transform: lowercase;
}

.logo-text-blue {
    color: var(--primary-blue);
    text-transform: lowercase;
}

.logo:hover .logo-text-red,
.logo:hover .logo-text-blue {
    opacity: 0.8;
}

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

.logo strong {
    color: var(--primary-red);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-dark);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-search {
    display: flex;
    align-items: center;
}

.btn-search {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.btn-search:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

.btn-cart {
    position: relative;
    font-size: 1.3rem;
    color: var(--primary-blue);
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    background-image: 
        linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 76, 153, 0.9) 100%),
        url('https://images.unsplash.com/photo-1563636619-e9143da7973b?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 180px 0 120px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(227, 30, 36, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Botones
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 80px 0;
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-family: var(--font-primary);
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--gray-medium);
}

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

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-top: 1rem;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 80px 0;
    background: var(--gray-bg);
}

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

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

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

.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge span {
    display: block;
    font-size: 0.9rem;
}

.about-badge strong {
    display: block;
    font-size: 2rem;
    font-family: var(--font-primary);
}

.about-text h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.about-intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--gray-medium);
    line-height: 1.8;
}

.about-mission,
.about-vision {
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-red);
}

.about-vision {
    border-left: 4px solid var(--primary-blue);
}

.about-mission i,
.about-vision i {
    font-size: 2rem;
    color: var(--primary-red);
}

.about-vision i {
    color: var(--primary-blue);
}

.about-mission h4,
.about-vision h4 {
    font-family: var(--font-primary);
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--primary-red);
}

.stat-label {
    display: block;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* ========================================
   Products Section
   ======================================== */
.products {
    padding: 80px 0;
    background: var(--white);
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--gray-bg);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--gray-dark);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--gray-bg);
}

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

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

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

.product-name {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

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

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

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--primary-red);
}

.btn-add-cart {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--primary-red);
    transform: scale(1.05);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    color: var(--gray-dark);
    transition: transform 0.3s ease;
}

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

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--gray-medium);
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
}

.testimonial-author strong {
    display: block;
    color: var(--primary-blue);
    font-family: var(--font-primary);
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 80px 0;
    background: var(--gray-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    width: 30px;
}

.contact-item strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-family: var(--font-primary);
}

.contact-item p {
    color: var(--gray-medium);
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    font-family: var(--font-primary);
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.twitter {
    background: #1DA1F2;
}

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

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-family: var(--font-primary);
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-intro {
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.email-link {
    color: var(--primary-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--primary-red);
}

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

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    color: var(--gray-dark);
}

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

.checkbox-label span {
    flex: 1;
    line-height: 1.5;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-light);
}

.btn i {
    margin-left: 8px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-col h4 {
    font-family: var(--font-primary);
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p {
    color: var(--gray-light);
    line-height: 1.8;
}

.footer-company {
    color: var(--primary-red) !important;
    font-weight: 600;
    margin-top: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.footer-col ul li i {
    color: var(--primary-red);
    margin-right: 8px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

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

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--gray-light);
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-legal-links a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Cart Modal
   ======================================== */
.cart-modal,
.order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active,
.order-modal.active {
    display: flex;
}

.cart-modal-content,
.order-modal-content {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.order-modal-content {
    max-width: 700px;
}

.cart-header,
.order-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3,
.order-header h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
}

.cart-close,
.order-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.cart-close:hover,
.order-close:hover {
    transform: rotate(90deg);
}

.cart-body,
.order-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

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

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

.qty-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: var(--primary-red);
}

.qty-value {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.btn-remove {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    transition: background 0.3s ease;
}

.btn-remove:hover {
    background: var(--dark-red);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-medium);
}

.cart-empty i {
    font-size: 4rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--gray-light);
    background: var(--gray-bg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.total-amount {
    color: var(--primary-red);
    font-size: 1.8rem;
}

/* ========================================
   Order Form
   ======================================== */
.order-summary {
    background: var(--gray-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.order-summary h4 {
    font-family: var(--font-primary);
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-blue);
    font-family: var(--font-primary);
}

.total-price {
    color: var(--primary-red);
}

/* ========================================
   Search Modal
   ======================================== */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    animation: fadeIn 0.3s ease;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.search-close:hover {
    transform: rotate(90deg);
    color: var(--primary-red);
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 0 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.search-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 1rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1.5rem 0;
    font-size: 1.3rem;
    font-family: var(--font-secondary);
    background: transparent;
}

.search-input::placeholder {
    color: var(--gray-light);
}

.search-results {
    margin-top: 2rem;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.search-suggestions h4 {
    font-family: var(--font-primary);
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-tag {
    background: var(--gray-bg);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--gray-dark);
}

.search-tag:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: var(--gray-bg);
}

.search-result-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.search-result-description {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.search-result-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
}

.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-medium);
}

.search-no-results i {
    font-size: 4rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   WhatsApp Float Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .about-stats {
        justify-content: space-around;
    }

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

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }

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

    .logo-image {
        height: 38px;
    }

    .logo-container {
        font-size: 1.5rem;
    }

    .footer-legal-links {
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .search-modal {
        padding-top: 80px;
    }

    .search-modal-content {
        width: 95%;
    }

    .search-close {
        top: -40px;
        font-size: 2.5rem;
    }

    .search-container {
        padding: 0 1rem;
    }

    .search-input {
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .search-results {
        padding: 1.5rem;
    }

    .search-result-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

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