/* 
  Pastelería Lilian - CSS Design 
  Based on visual references: Purple branding, friendly typography, vibrant orange accents.
*/

:root {
    /* Color Palette */
    --primary: #6a4c93;
    /* Deep Purple */
    --primary-light: #9a7cc4;
    --secondary: #f58634;
    /* Vibrant Orange */
    --secondary-light: #ffac6e;
    --accent: #ff69b4;
    /* Pink for 'Amor' */
    --background: #fdfbf7;
    /* Warm Cream White */
    --pure-white: #ffffff;
    --text-dark: #2d2d2d;
    --text-medium: #555555;
    --text-light: #888888;
    --success: #4caf50;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(106, 76, 147, 0.05);
    --shadow-md: 0 10px 15px rgba(106, 76, 147, 0.1);
    --shadow-lg: 0 20px 25px rgba(106, 76, 147, 0.15);

    /* Typography */
    --font-logo: 'Pacifico', cursive;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Quicksand', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --border-radius: 16px;
    --border-radius-pill: 50px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--pure-white);
    border: none;
}

.btn-secondary {
    background: var(--pure-white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.6rem 1rem;
}

.btn-white {
    background: var(--pure-white);
    color: var(--secondary);
}

.btn-add {
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.btn-add:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    color: var(--primary);
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    font-weight: 600;
    color: var(--text-medium);
    font-family: var(--font-heading);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(100deg, #fff0f5 0%, #fae6ff 100%);
    /* Soft light pink/purple bg */
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-bottom: 5rem;
    /* Space for wave */
    overflow: hidden;
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Hide overflow */
    z-index: 2;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    /* Slide Content Layout matches original hero-container */
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
    /* Add padding if container padding isn't enough */
    /* Ensure content is centered vertically */
    height: 100%;
}

/* Slide Content Styles (Derived from original hero classes) */
.hero-subtitle {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.hero-title {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.hero-title span {
    color: var(--primary);
    font-family: var(--font-logo);
}

.hero-description {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
    /* Add box shadow */
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(106, 76, 147, 0.3);
    /* Primary with opacity */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary);
}

/* Testimonial Cards for Slide 2 */
.testimonial-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    /* Center cards */
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 200px;
    /* Adjust based on needs */
    text-align: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #eee;
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
}

/* PedidosYa Specifics */
.pedidosya-logo {
    max-width: 100px;
    /* Adjust size */
    margin-right: 10px;
    vertical-align: middle;
}


.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Placeholder Circle for Cake */
.hero-image-placeholder {
    width: 400px;
    height: 400px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(106, 76, 147, 0.15);
    font-size: 8rem;
    color: #eee;
    position: relative;
}

.hero-image-placeholder::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-wave path {
    fill: var(--background);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.category-card {
    background: var(--pure-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover,
.category-card.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Banner Promo (Orange) */
.banner-promo {
    background: linear-gradient(135deg, var(--secondary), #ff9f5e);
    color: white;
    margin: var(--spacing-lg) 0;
    border-radius: 0;
    padding: var(--spacing-lg) 0;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.banner-text p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.banner-img {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
    transform: rotate(-10deg);
}


/* Footer */
.footer {
    background: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-lg);
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 2rem;
    color: var(--primary);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.footer-col h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-medium);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-pill);
    flex: 1;
    font-family: var(--font-body);
}

.newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    border-radius: 50%;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #f5f5f5;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Products Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    color: var(--primary-light);
    font-weight: 500;
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.product-badge.sale {
    background: var(--secondary);
}

/* Product Colors for Placeholders */
.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    color: white;
    font-size: 3rem;
    position: relative;
}

.color-purple {
    background: #e0d4fc;
    color: var(--primary);
}

.color-orange {
    background: #ffe4cc;
    color: var(--secondary);
}

.color-brown {
    background: #eee0d6;
    color: #8d6e63;
}

.color-green {
    background: #e8f5e9;
    color: #43a047;
}

.color-red {
    background: #ffebee;
    color: #e53935;
}

.color-yellow {
    background: #fffde7;
    color: #fbc02d;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-info .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: auto;
}

.product-info .btn-add {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-container,
    .carousel-slide {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        height: auto;
        padding: 2rem var(--spacing-sm);
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 1;
        width: 100%;
    }

    .hero-description {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-image {
        order: 2;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .hero-image-placeholder {
        width: 280px;
        height: 280px;
        font-size: 5rem;
    }

    .testimonial-grid {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .testimonial-card {
        min-width: unset;
        width: 100%;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-list {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .banner-text h2 {
        font-size: 1.8rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .banner-img {
        margin-top: 1rem;
        font-size: 4rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .footer-bottom {
        padding-bottom: 5rem;
        /* Space for the floating button and potential bottom bar */
    }
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.blog-image-wrapper {
    position: relative;
    height: 200px;
    background-color: #f8f8f8;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

.blog-excerpt {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.blog-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.read-more {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 0.5rem;
    color: var(--primary);
}

.blog-likes {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-likes i {
    color: var(--accent);
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.no-more-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

/* Ratings Section */
.ratings {
    background-color: #fdfbf7;
    /* Matching site background or slightly different */
}

.section-heading {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    justify-content: center;
}

.rating-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.rating-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.rating-quote-icon {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.rating-stars {
    color: #ffc107;
    /* Gold */
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.rating-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.rating-divider {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    margin: 0.5rem auto 1.5rem;
    border-radius: 4px;
}

.rating-branch {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.rating-comment {
    font-style: italic;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 1rem;
}


/* Helper Class */
.text-center {
    text-align: center;
}

/* Catalog Styles */
.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--primary);
    border-radius: var(--border-radius-pill);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.no-products {
    text-align: center;
    grid-column: 1 / -1;
    color: var(--text-light);
    font-size: 1.2rem;
    padding: 3rem;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Locations Page Styles */
.page-header {
    background: linear-gradient(135deg, #fdfbf7 0%, #fff0f5 100%);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
}

.locations-search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.search-box {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #eee;
    border-radius: var(--border-radius-pill);
    font-size: 1.1rem;
    font-family: var(--font-body);
    transition: all 0.3s;
    outline: none;
}

.search-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(245, 134, 52, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.2rem;
}

.result-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.location-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.location-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-icon {
    background: var(--primary-light);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.location-body {
    margin-bottom: 1.5rem;
}

.location-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.location-rating .stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.location-rating .score {
    font-weight: 700;
    color: var(--text-dark);
}

.location-address {
    color: var(--text-medium);
    font-size: 0.95rem;
    display: flex;
    gap: 0.5rem;
    line-height: 1.5;
}

.location-address i {
    color: var(--secondary);
    margin-top: 3px;
}

.location-phone {
    color: var(--text-medium);
    font-size: 0.95rem;
    display: flex;
    gap: 0.5rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.location-phone i {
    color: var(--secondary);
    margin-top: 3px;
}

.location-footer {
    padding-top: 1rem;
    border-top: 1px solid #f9f9f9;
    text-align: right;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .search-input {
        font-size: 1rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 2px 5px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}