/* ===== ALUGSERV - CSS PRINCIPAL ===== */

/* Reset e Variáveis */
:root {
    /* Cores da marca AlugServ */
    --primary: hsl(352, 72%, 39%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-hover: hsl(352, 72%, 32%);

    --secondary: hsl(0, 0%, 96%);
    --secondary-foreground: hsl(352, 72%, 39%);

    --background: hsl(0, 0%, 100%);
    --foreground: hsl(0, 0%, 15%);

    --muted: hsl(0, 0%, 96%);
    --muted-foreground: hsl(0, 0%, 45%);

    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 15%);

    --border: hsl(0, 0%, 90%);
    --input: hsl(0, 0%, 90%);
    --ring: hsl(352, 72%, 39%);

    /* WhatsApp */
    --whatsapp: hsl(134, 61%, 41%);
    --whatsapp-hover: hsl(134, 61%, 35%);
    --whatsapp-foreground: hsl(0, 0%, 100%);

    /* Outras */
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);

    /* Layout */
    --radius: 0.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fontes */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

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

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

ul, ol {
    list-style: none;
}

/* ===== UTILIDADES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

.text-muted {
    color: var(--muted-foreground);
}

.bg-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-background {
    background-color: var(--background);
}

/* ===== HEADER ===== */
.header {
    background-color: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem;
}

.header-logo img {
    height: 80px;
}

.header-nav {
    display: none;
}

.header-nav.active {
    display: flex;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav a {
    color: var(--primary-foreground);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.header-nav a:hover {
    opacity: 0.8;
}

.header-nav a.active {
    text-decoration: underline;
    text-underline-offset: 8px;
}

.nav-separator {
    color: rgba(255, 255, 255, 0.6);
}

.header-social {
    display: none;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}

.header-social a {
    color: var(--primary-foreground);
    transition: var(--transition);
}

.header-social a:hover {
    opacity: 0.8;
}

.header-social svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Button */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary-foreground);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    padding: 1rem;
    background-color: var(--primary);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav a {
    color: var(--primary-foreground);
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
}

.mobile-nav a.active {
    text-decoration: underline;
}

/* ===== CATEGORY NAV BAR ===== */
.category-nav {
    background-color: var(--secondary);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    overflow-x: auto;
}

.category-nav .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1.5rem;
    width: max-content;
    max-width: none;
    margin: 0 auto;
}

.category-nav a {
    color: var(--primary);
    font-size: 0.875rem;
    white-space: nowrap;
    transition: var(--transition);
    font-weight: 500;
}

.category-nav a:hover {
    color: var(--primary-hover);
}

@media (max-width: 768px) {
    .category-nav {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(169, 17, 42, 0.9), rgba(169, 17, 42, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    color: var(--primary-foreground);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background-color: hsl(0, 0%, 90%);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: var(--secondary);
}

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

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

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

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
}

/* ===== CARDS ===== */
.card {
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 192px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.card-content {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.card-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Category Cards */
.category-card {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

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

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

/* ===== DIFFERENTIALS ===== */
.differential-card {
    text-align: center;
    padding: 1.5rem;
}

.differential-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.differential-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.differential-description {
    color: var(--muted-foreground);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 72rem;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content h2 .highlight {
    position: relative;
    display: inline-block;
    padding-bottom: 0.25rem;
}

.about-content h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
}

.about-content p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-images img {
    width: 100%;
    height: 224px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ===== REVIEWS / CAROUSEL ===== */
.reviews-section {
    padding: 4rem 0;
}

.carousel-container {
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0 1rem;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 0.5rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0;
    }

    .carousel-slide {
        padding: 0;
    }

    .carousel-track {
        gap: 0;
    }
}

.review-card {
    background-color: var(--background);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.review-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
}

.review-info span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.review-google {
    color: #4285F4;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.review-stars svg {
    width: 16px;
    height: 16px;
    fill: #FBBF24;
    color: #FBBF24;
}

.review-text {
    font-size: 0.875rem;
    color: var(--foreground);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background-color: var(--background);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--secondary);
}

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

/* ===== PARTNERS ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.partner-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partner-card img {
    max-height: 144px;
    width: auto;
    object-fit: contain;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background-color: var(--primary);
    color: var(--primary-foreground);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem 0 0;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-logo {
    height: 64px;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

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

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

.footer-nav a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-nav a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.8;
}

.footer-contact-item div p {
    margin: 0;
    line-height: 1.6;
}

.footer-contact-item div p:not(:last-child) {
    margin-bottom: 0.25rem;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: #fff;
    text-decoration: underline;
}

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

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

/* ===== PAGE HERO ===== */
.page-hero {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 5rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    max-width: 48rem;
    margin: 0 auto;
}

/* ===== EQUIPMENT CATEGORIES ===== */
.equipment-card {
    padding: 1.5rem;
}

.equipment-card .card-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.equipment-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.equipment-card p {
    color: var(--muted-foreground);
}

/* ===== ABOUT PAGE ===== */
.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.about-card {
    padding: 2rem;
    border-radius: var(--radius);
}

.about-card .divider {
    width: 64px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.about-card.secondary {
    background-color: var(--secondary);
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, rgba(169, 17, 42, 0.05), rgba(169, 17, 42, 0.1));
}

.mission-card {
    display: grid;
    grid-template-columns: 1fr;
    border: 2px solid rgba(169, 17, 42, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 64rem;
    margin: 0 auto;
}

.mission-icon {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon svg {
    width: 96px;
    height: 96px;
    stroke-width: 1.5;
}

.mission-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background-color: rgba(169, 17, 42, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.mission-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.mission-content p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.contact-card {
    overflow: hidden;
}

.contact-map {
    height: 256px;
    width: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    padding: 1.5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item p {
    font-weight: 500;
}

.contact-item span {
    color: var(--muted-foreground);
}

.contact-item a {
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: var(--whatsapp-foreground);
}

/* ===== 404 PAGE ===== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}

.error-content h1 {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.error-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .carousel-slide {
        flex: 0 0 50%;
    }

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

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }

    .header-social {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

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

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

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

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

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

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

    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .mission-card {
        grid-template-columns: 1fr 2fr;
    }

    .mission-content {
        padding: 2rem 3rem;
    }

    .mission-content h2 {
        font-size: 1.875rem;
    }

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

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

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

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

    .carousel-slide {
        flex: 0 0 33.333%;
    }
}

/* ===== PRODUTO E CATEGORIA ===== */

/* Breadcrumb */
.breadcrumb-section {
    background: var(--muted);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb .separator {
    color: var(--border);
}

.breadcrumb .current {
    color: var(--foreground);
    font-weight: 500;
}

/* Category Header */
.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--primary-foreground);
    padding: 3rem 0;
    text-align: center;
}

.category-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products-section {
    padding: 3rem 0;
    background: var(--background);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

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

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

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-decoration: none;
    color: var(--card-foreground);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--muted);
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
}

.product-badge.out-of-stock {
    background: var(--destructive);
    color: var(--destructive-foreground);
}

.product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.product-category {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    background: var(--muted);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
}

/* Product Detail Page */
.product-page {
    padding: 2rem 0 4rem;
}

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

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    aspect-ratio: 4/3;
    background: var(--muted);
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    padding: 0;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary);
}

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

/* Product Details */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header .product-category-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.product-header .product-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.product-sku {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Price Box */
.product-price-box {
    background: var(--muted);
    padding: 1.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

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

/* Product Description */
.product-description h3,
.product-specs h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.description-content {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--muted-foreground);
}

.description-content p {
    margin-bottom: 1rem;
}

.description-content ul,
.description-content ol {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

/* Product Specs */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table th,
.specs-table td {
    padding: 0.75rem 0;
    text-align: left;
    font-size: 0.9375rem;
}

.specs-table th {
    font-weight: 500;
    color: var(--muted-foreground);
    width: 40%;
}

.specs-table td {
    color: var(--foreground);
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .product-actions {
        flex-direction: row;
    }
}

.product-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

/* Product Share */
.product-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.product-share span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

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

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.share-btn.whatsapp {
    background: var(--whatsapp);
}

.share-btn.whatsapp:hover {
    background: var(--whatsapp-hover);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #166fe5;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: var(--muted-foreground);
}

/* Error State */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.error-state svg {
    color: var(--destructive);
    margin-bottom: 1rem;
}

.error-state p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.empty-state svg {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--muted-foreground);
}

/* Pagination */
.pagination-container {
    margin-top: 2rem;
    text-align: center;
}

/* Category Cards (enhanced) */
.category-card {
    display: block;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--card-foreground);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.category-image {
    aspect-ratio: 16/9;
    background: var(--muted);
    overflow: hidden;
}

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

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

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
}

.category-info {
    padding: 1.25rem;
}

.category-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-count {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Product Card Wrapper (with CTA button) */
.product-card-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-wrapper .product-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-wrapper .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn-cta-card {
    display: block;
    text-align: center;
    background: #25D366;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: background 0.3s ease;
}

.btn-cta-card:hover {
    background: #128C7E;
    color: #fff;
}

/* Related Products Section */
.related-products {
    margin-top: 3rem;
}

.related-products h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* CTA Section on Product Page */
.product-page .cta-section,
#productContent .cta-section {
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: var(--primary, #1a1a2e);
    border-radius: var(--radius, 12px);
    text-align: center;
}

.product-page .cta-section h2,
#productContent .cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.product-page .cta-section p,
#productContent .cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

/* Full Description on Product Detail Page */
.product-details .product-description {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.product-details .description-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: visible;
}
