/*
* Theme: Fun & Festive
* Paleta de colores: Pasteles vibrantes con toques de fiesta.
* Fuentes: Boogaloo y Concert One para títulos, Lato para cuerpo.
*/

/* BASE STYLES */
:root {
   /* Color Palette - Fun & Festive */
   --color-primary-bg: hsl(210, 20%, 98%); /* Very light blue-grey, almost white */
   --color-secondary-bg: hsl(30, 100%, 98%); /* Off-white / Creamy */
   --color-accent-1: hsl(30, 100%, 85%);   /* Light Peach/Coral */
   --color-accent-2: hsl(180, 70%, 80%);   /* Mint Green */
   --color-accent-3: hsl(330, 80%, 70%);   /* Bright Pink/Fuchsia */
   --color-text-dark: hsl(210, 20%, 20%);  /* Dark Blue-Grey */
   --color-text-light: hsl(210, 10%, 60%); /* Medium Grey */
   --color-border: hsl(210, 10%, 90%);     /* Light Grey Border */
   --color-white: #ffffff;
   --color-black: #000000;

   /* Fonts - Fun & Festive */
   --font-heading: 'Boogaloo', 'Concert One', cursive, sans-serif;
   --font-body: 'Lato', 'Open Sans', sans-serif;

   /* Spacing */
   --spacing-unit: 1rem; /* 16px */
   --section-padding: 4rem 0; /* Top/bottom padding for sections */
}

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

body {
   font-family: var(--font-body);
   line-height: 1.6;
   color: var(--color-text-dark);
   background-color: var(--color-primary-bg);
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 var(--spacing-unit);
}

h1, h2, h3, h4, h5, h6 {
   font-family: var(--font-heading);
   color: var(--color-text-dark);
   line-height: 1.2;
   margin-bottom: var(--spacing-unit);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }

p {
   margin-bottom: var(--spacing-unit);
}

a {
   color: var(--color-accent-3); /* Vibrant link color */
   text-decoration: none;
   transition: color 0.3s ease;
}

a:hover {
   color: var(--color-accent-1); /* Change on hover */
}

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

ul {
   list-style: none;
}

/* BUTTON STYLES */
.btn {
   display: inline-block;
   padding: 0.8rem 1.8rem;
   border-radius: 50px; /* More rounded buttons for festive feel */
   font-size: 1rem;
   font-weight: 700;
   text-align: center;
   cursor: pointer;
   transition: all 0.3s ease;
   text-transform: uppercase;
   letter-spacing: 0.05em;
   border: none; /* Remove default border */
}

.primary-btn {
   background-color: var(--color-accent-3); /* Bright pink */
   color: var(--color-white);
   box-shadow: 0 4px 10px rgba(var(--color-accent-3-rgb), 0.3); /* Soft shadow */
}

.primary-btn:hover {
   background-color: hsl(330, 80%, 60%); /* Slightly darker pink */
   transform: translateY(-2px);
   box-shadow: 0 6px 12px rgba(var(--color-accent-3-rgb), 0.4);
}

.secondary-btn {
   background-color: var(--color-accent-1); /* Light peach */
   color: var(--color-text-dark);
   border: 2px solid var(--color-accent-1);
}

.secondary-btn:hover {
   background-color: transparent;
   color: var(--color-accent-1);
   transform: translateY(-2px);
}

/* Re-defining RGB for box-shadow if needed (CSS variables don't directly support this yet) */
/* Fallback if browser doesn't support custom properties well or manually define */
/* Example: var(--color-accent-3-rgb) = 255, 102, 178 */
/* For now, just use direct rgba() where appropriate or slightly adjust if needed */

/* SECTION STYLES */
.section-padding {
   padding: var(--section-padding);
}

.section-title {
   text-align: center;
   margin-bottom: 1.5rem;
   color: var(--color-text-dark);
   font-size: 2.8rem;
}

.section-subtitle {
   text-align: center;
   margin-bottom: 2.5rem;
   color: var(--color-text-light);
   font-size: 1.2rem;
}

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

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

.mt-4 {
   margin-top: 2rem;
}

/* HEADER */
.main-header {
   background-color: var(--color-white);
   padding: 0.8rem 0;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
   position: sticky;
   top: 0;
   z-index: 1000;
}

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

.logo img {
   height: 50px; /* Adjust logo height */
   width: auto;
}

.main-nav ul {
   display: flex;
   gap: 1.5rem;
}

.main-nav a {
   color: var(--color-text-dark);
   font-weight: 700;
   font-size: 1.1rem;
   position: relative;
}

.main-nav a::after {
   content: '';
   position: absolute;
   bottom: -5px;
   left: 0;
   width: 0;
   height: 3px;
   background-color: var(--color-accent-3);
   transition: width 0.3s ease;
   border-radius: 2px;
}

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

.language-switcher button {
   background-color: transparent;
   border: 1px solid var(--color-border);
   padding: 0.4rem 0.7rem;
   border-radius: 5px;
   cursor: pointer;
   font-weight: 600;
   color: var(--color-text-light);
   transition: all 0.3s ease;
   margin-left: 0.5rem;
}

.language-switcher button.active,
.language-switcher button:hover {
   background-color: var(--color-accent-2);
   border-color: var(--color-accent-2);
   color: var(--color-white);
}

/* HERO SECTION (CAROUSEL) */
.carousel-hero-section {
position: relative;
height: 80vh; /* Adjust as needed */
width: 100%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
color: var(--color-white);
text-align: center;
}

.carousel-track-container {
position: relative;
width: 100%;
height: 100%;
}

.carousel-item {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 1s ease-in-out; /* Smooth transition for slides */
display: flex; /* Use flex to center content */
align-items: center;
justify-content: center;
}

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

.hero-background-media {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
}

.hero-background-media img,
.hero-background-media video {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)); /* Darker overlay */
z-index: -1;
}

.hero-content {
z-index: 1;
max-width: 900px;
padding: 0 var(--spacing-unit);
}

.hero-content h1 {
font-size: 4.5rem; /* Adjust based on theme */
color: var(--color-white);
margin-bottom: 1rem;
text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content .hero-subtitle {
font-size: 1.5rem; /* Adjust based on theme */
margin-bottom: 2rem;
color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
display: flex;
justify-content: center;
gap: 1.5rem; /* Space between buttons */
flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* CAROUSEL NAVIGATION BUTTONS */
.carousel-nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(0, 0, 0, 0.5);
color: var(--color-white);
border: none;
padding: 1rem 1.2rem;
font-size: 2rem;
cursor: pointer;
z-index: 10;
transition: background-color 0.3s ease;
border-radius: 5px;
}

.carousel-nav-btn:hover {
background-color: rgba(0, 0, 0, 0.7);
}

.carousel-nav-btn.prev {
left: 20px;
}

.carousel-nav-btn.next {
right: 20px;
}

/* CAROUSEL INDICATORS */
.carousel-indicators {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
z-index: 10;
}

.carousel-indicator-dot {
width: 12px;
height: 12px;
background-color: rgba(255, 255, 255, 0.5);
border-radius: 50%;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicator-dot.active,
.carousel-indicator-dot:hover {
background-color: var(--color-white);
transform: scale(1.2);
}

/* Responsive adjustments for hero carousel */
@media (max-width: 992px) {
.carousel-hero-section {
    height: 70vh;
}
.hero-content h1 {
    font-size: 3.5rem; /* Adjust for smaller screens */
}
.hero-content .hero-subtitle {
    font-size: 1.2rem;
}
.carousel-nav-btn {
    padding: 0.8rem 1rem;
    font-size: 1.5rem;
}
.carousel-indicators {
    bottom: 15px;
}
.hero-actions {
    gap: 1rem;
}
}

@media (max-width: 768px) {
.carousel-hero-section {
    height: 60vh;
}
.hero-content h1 {
    font-size: 2.8rem;
}
.hero-content .hero-subtitle {
    font-size: 1rem;
}
.carousel-nav-btn {
    padding: 0.5rem 0.8rem;
    font-size: 1.2rem;
    left: 10px;
    right: 10px;
}
.carousel-indicators {
    bottom: 10px;
}
.hero-actions .btn {
    width: 100%;
    max-width: 250px; /* Limit button width if they stack */
}
}

@media (max-width: 480px) {
.carousel-hero-section {
    height: 55vh;
}
.hero-content h1 {
    font-size: 2rem;
}
.hero-content .hero-subtitle {
    font-size: 0.9rem;
}
.carousel-nav-btn {
    display: none; /* Hide nav buttons on very small screens if preferred */
}
.hero-actions {
    flex-direction: column;
    gap: 0.8rem;
}
}


/* ABOUT US SECTION */
.about-content {
   display: flex;
   flex-direction: column; /* Stack for smaller screens */
   align-items: center;
   gap: 2rem;
   text-align: center;
}

.about-content p {
   max-width: 800px;
   font-size: 1.1rem;
   line-height: 1.8;
   color: var(--color-text-dark);
}

/* CATEGORIES SECTION */
.category-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 1.5rem;
}

.category-card {
   background-color: var(--color-white);
   border-radius: 15px; /* Rounded corners */
   overflow: hidden;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   text-align: center;
   padding-bottom: 1.5rem;
   display: block; /* Make the whole card clickable */
   color: var(--color-text-dark);
}

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

.category-card img {
   width: 100%;
   height: 200px; /* Fixed height for consistency */
   object-fit: cover;
   margin-bottom: 1rem;
   border-top-left-radius: 15px;
   border-top-right-radius: 15px;
}

.category-card h3 {
   font-size: 1.5rem;
   margin-bottom: 0.5rem;
   color: var(--color-text-dark);
   padding: 0 1rem;
}

.category-card p {
   font-size: 0.95rem;
   color: var(--color-text-light);
   padding: 0 1rem;
}

/* WHY CHOOSE US SECTION */
.features-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
   margin-top: 2rem;
}

.feature-item {
   background-color: var(--color-white);
   border-radius: 15px;
   padding: 2rem;
   text-align: center;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
   transition: transform 0.3s ease;
}

.feature-item:hover {
   transform: translateY(-5px);
}

.feature-icon {
   width: 60px;
   height: 60px;
   margin: 0 auto 1rem auto;
   border-radius: 50%;
   background-color: var(--color-accent-2); /* Mint green background */
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 2rem;
}

.feature-item h3 {
   font-size: 1.6rem;
   margin-bottom: 0.7rem;
   color: var(--color-text-dark);
}

.feature-item p {
   font-size: 1rem;
   color: var(--color-text-light);
}

/* TESTIMONIALS SECTION */
.testimonial-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 1.5rem;
}

.testimonial-card {
   background-color: var(--color-white);
   padding: 2rem;
   border-radius: 15px;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
   position: relative;
   font-style: italic;
}

.testimonial-card p {
   font-size: 1.05rem;
   margin-bottom: 1rem;
   color: var(--color-text-dark);
}

.testimonial-card cite {
   display: block;
   text-align: right;
   font-style: normal;
   font-weight: 700;
   color: var(--color-accent-3); /* Vibrant accent for names */
}

/* CALL TO ACTION - MID PAGE */
.cta-mid-section {
   background: linear-gradient(45deg, var(--color-accent-2), var(--color-accent-1)); /* Gradient background */
   color: var(--color-text-dark);
   text-align: center;
   border-radius: 0; /* Changed: No border-radius for full width */
   margin: var(--section-padding) 0; /* Changed: No horizontal margin, spans full width */
   padding: 3rem var(--spacing-unit); /* Changed: Add horizontal padding for content */
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-mid-section h2 {
   color: var(--color-text-dark);
   font-size: 2.5rem;
   margin-bottom: 1rem;
}

.cta-mid-section p {
   font-size: 1.2rem;
   margin-bottom: 2rem;
   max-width: 700px; /* Kept: Limits paragraph width for readability */
   margin-left: auto; /* Kept: Centers paragraph within the full-width section */
   margin-right: auto; /* Kept: Centers paragraph within the full-width section */
   color: var(--color-text-dark);
}

/* FAQ SECTION */
.faq-accordion {
   max-width: 800px;
   margin: 0 auto;
}

.faq-item {
   margin-bottom: 1rem;
   border: 1px solid var(--color-border);
   border-radius: 10px;
   background-color: var(--color-white);
   overflow: hidden;
}

.accordion-header {
   background-color: var(--color-accent-2); /* Mint green header */
   color: var(--color-text-dark);
   padding: 1rem 1.5rem;
   width: 100%;
   text-align: left;
   border: none;
   cursor: pointer;
   font-size: 1.1rem;
   font-weight: 700;
   display: flex;
   justify-content: space-between;
   align-items: center;
   transition: background-color 0.3s ease;
}

.accordion-header:hover {
   background-color: hsl(180, 70%, 75%); /* Slightly darker mint */
}

.accordion-header::after {
   content: '+';
   font-size: 1.5rem;
   transition: transform 0.3s ease;
}

.accordion-header.active::after {
   content: '-';
   transform: rotate(180deg); /* Rotate for active state if using different icon */
}

.accordion-content {
   padding: 0 1.5rem;
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.4s ease-out, padding 0.4s ease-out;
   background-color: var(--color-white);
}

.accordion-content p {
   padding: 1rem 0;
   border-top: 1px solid var(--color-border);
   margin-bottom: 0;
}

.accordion-header.active + .accordion-content {
   max-height: 500px; /* Adjust as needed for content height */
   padding: 1rem 1.5rem;
}

/* FOOTER */
.main-footer {
   background-color: var(--color-text-dark); /* Dark footer background */
   color: var(--color-white);
   padding: 3rem 0 1.5rem 0;
}

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

.footer-col h3 {
   color: var(--color-accent-1); /* Peach accent for footer headings */
   font-size: 1.4rem;
   margin-bottom: 1.5rem;
}

.footer-col ul {
   padding: 0;
}

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

.footer-col a,
.footer-col p {
   color: rgba(255, 255, 255, 0.8);
   font-size: 0.95rem;
}

.footer-col a:hover {
   color: var(--color-white);
}

.footer-col strong {
   color: var(--color-white);
}

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

.social-icons img {
   width: 35px;
   height: 35px;
   border-radius: 50%;
   background-color: var(--color-white); /* White background for icons */
   padding: 5px;
   transition: transform 0.3s ease;
}

.social-icons img:hover {
   transform: scale(1.1);
}

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

.copyright p {
   font-size: 0.85rem;
   color: rgba(255, 255, 255, 0.6);
   margin: 0;
}

/* CHATBOT PLACEHOLDER */
.chatbot-placeholder {
   position: fixed;
   bottom: 20px;
   right: 20px;
   background-color: rgba(0, 0, 0, 0.7);
   color: white;
   padding: 10px 15px;
   border-radius: 10px;
   font-size: 0.8em;
   z-index: 1000;
   pointer-events: none; /* Make it not clickable for now */
   opacity: 0.7;
}

/* MODULE: Modals (Pop-ups) */
.modal {
   display: none; /* Hidden by default */
   position: fixed; /* Stay in place */
   z-index: 2000; /* Sit on top */
   left: 0;
   top: 0;
   width: 100%; /* Full width */
   height: 100%; /* Full height */
   overflow: auto; /* Enable scroll if needed */
   background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
   align-items: center; /* These properties will apply when display: flex is active */
   justify-content: center; /* These properties will apply when display: flex is active */
}

.modal.active { /* This class makes the modal visible and centered */
   display: flex;
}

.modal-content {
   background-color: var(--color-primary-bg); /* Use theme's primary background */
   margin: auto;
   padding: 2.5rem;
   border-radius: 15px; /* Adjust as per theme (festive or clean) */
   width: 90%;
   max-width: 600px; /* Max width for modal */
   box-shadow: 0 5px 25px rgba(0,0,0,0.3);
   position: relative;
   text-align: center;
   animation: fadeIn 0.3s ease-out;
}

/* Animations for modal */
@keyframes fadeIn {
   from { opacity: 0; transform: translateY(-20px); }
   to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
   from { opacity: 1; transform: translateY(0); }
   to { opacity: 0; transform: translateY(-20px); }
}

.modal.hide-modal .modal-content {
   animation: fadeOut 0.3s ease-in forwards;
}

.close-button {
   color: var(--color-text-light);
   position: absolute;
   top: 15px;
   right: 25px;
   font-size: 28px;
   font-weight: bold;
   cursor: pointer;
   transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
   color: var(--color-text-dark);
   text-decoration: none;
   cursor: pointer;
}

.modal-content h2 {
   color: var(--color-text-dark);
   font-size: 2rem; /* Adjusted for modal titles */
   margin-bottom: 1rem;
}

.modal-content p {
   color: var(--color-text-dark);
   margin-bottom: 1.5rem;
   line-height: 1.6;
}

.modal-small-text {
   font-size: 0.9rem;
   color: var(--color-text-light);
   margin-top: 1.5rem;
   margin-bottom: 0;
}

/* --- Social Contact Options (Modal) --- */
.social-contact-options {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   margin-top: 1.5rem;
}

.social-button {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 1rem 1.5rem;
   border-radius: 50px; /* Match button style */
   color: var(--color-white);
   font-size: 1.1rem;
   font-weight: 700;
   text-decoration: none;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-button i {
   margin-right: 10px;
   font-size: 1.3em;
}

.social-button:hover {
   transform: translateY(-3px);
   box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Specific Social Button Colors */
.whatsapp-button {
   background-color: #25D366; /* WhatsApp Green */
}
.messenger-button {
   background-color: #0078FF; /* Facebook Messenger Blue */
}
.instagram-button {
   background-color: #C13584; /* Instagram Purple/Pink */
   background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* --- Quote Form (Modal) --- */
#quote-form {
   text-align: left;
   margin-top: 1.5rem;
}

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

.form-group label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 600;
   color: var(--color-text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group textarea {
   width: 100%;
   padding: 0.8rem;
   border: 1px solid var(--color-border);
   border-radius: 8px; /* Slightly rounded */
   font-family: var(--font-body);
   font-size: 1rem;
   color: var(--color-text-dark);
   background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
   outline: none;
   border-color: var(--color-accent-3); /* Highlight on focus */
   box-shadow: 0 0 0 3px hsla(var(--color-accent-3-hue), var(--color-accent-3-saturation), var(--color-accent-3-lightness), 0.2);
}

.checkbox-group {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
   gap: 0.5rem;
   margin-top: 0.5rem;
}

.checkbox-group label {
   display: flex;
   align-items: center;
   font-weight: normal;
   font-size: 0.95rem;
   cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
   width: auto; /* Reset width for checkboxes */
   margin-right: 8px;
   accent-color: var(--color-accent-3); /* Color for checked state */
}

#quote-form .btn {
   width: auto;
   margin-top: 1.5rem;
   float: none; /* Reset float if any from other styles */
   display: block;
   margin-left: auto;
   margin-right: auto;
}

/* Responsive adjustments for modals */
@media (max-width: 768px) {
   .modal-content {
       padding: 1.5rem;
       width: 95%;
   }
   .modal-content h2 {
       font-size: 1.8rem;
   }
   .social-button {
       font-size: 1rem;
       padding: 0.8rem 1rem;
   }
   .checkbox-group {
       grid-template-columns: 1fr; /* Stack checkboxes on small screens */
   }
}

@media (max-width: 480px) {
   .modal-content {
       padding: 1rem;
   }
   .modal-content h2 {
       font-size: 1.5rem;
   }
   .close-button {
       top: 10px;
       right: 15px;
       font-size: 24px;
   }
}

/* PRODUCTS PAGE SPECIFIC STYLES (can be moved to products.css later) */
.products-hero-banner {
   background: linear-gradient(45deg, var(--color-accent-1), var(--color-accent-2));
   padding: 6rem 0 4rem;
   color: var(--color-text-dark);
}

.products-hero-banner h1 {
   font-size: 3.8rem;
   color: var(--color-text-dark);
   margin-bottom: 0.8rem;
}

.products-hero-banner .hero-subtitle {
   font-size: 1.3rem;
   color: var(--color-text-dark);
   max-width: 800px;
   margin: 0 auto;
}

.product-category {
   margin-bottom: 4rem;
   padding-bottom: 2rem;
   border-bottom: 1px solid var(--color-border);
}

.product-category:last-of-type {
   border-bottom: none;
   margin-bottom: 0;
   padding-bottom: 0;
}

.product-category h3 {
   font-size: 2.2rem;
   text-align: center;
   margin-bottom: 1.5rem;
   color: var(--color-accent-3);
}

.product-category .category-description {
   text-align: center;
   max-width: 900px;
   margin: 0 auto 2rem auto;
   font-size: 1.1rem;
   color: var(--color-text-dark);
}

.product-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 1.5rem;
   margin-top: 2rem;
}

.product-card {
   background-color: var(--color-white);
   border-radius: 15px;
   overflow: hidden;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   text-align: center;
   padding-bottom: 1.5rem;
   display: flex; /* Use flex for layout control */
   flex-direction: column; /* Stack image, title, description, button */
   justify-content: space-between; /* Push button to bottom */
}

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

.product-card img {
   width: 100%;
   height: 200px; /* Fixed height for product images */
   object-fit: cover;
   margin-bottom: 1rem;
   border-top-left-radius: 15px;
   border-top-right-radius: 15px;
}

.product-card h4 {
   font-size: 1.4rem;
   margin-bottom: 0.5rem;
   color: var(--color-text-dark);
   padding: 0 1rem;
}

.product-card p {
   font-size: 0.95rem;
   color: var(--color-text-light);
   padding: 0 1rem;
   flex-grow: 1; /* Allow description to take available space */
}

.product-card .btn {
   margin-top: 1rem; /* Space between description and button */
   padding: 0.6rem 1.2rem;
   font-size: 0.9rem;
   width: auto; /* Reset to auto from previous block display */
   margin-left: auto;
   margin-right: auto;
}

/* Responsive for products page */
@media (max-width: 992px) {
   .products-hero-banner h1 {
       font-size: 3rem;
   }
   .product-category h3 {
       font-size: 1.8rem;
   }
}

@media (max-width: 768px) {
   .products-hero-banner h1 {
       font-size: 2.5rem;
   }
   .products-hero-banner .hero-subtitle {
       font-size: 1.1rem;
   }
   .product-category {
       margin-bottom: 3rem;
   }
   .product-grid {
       grid-template-columns: 1fr;
   }
}

@media (max-width: 480px) {
   .products-hero-banner h1 {
       font-size: 2rem;
   }
   .products-hero-banner .hero-subtitle {
       font-size: 0.9rem;
   }
   .product-category h3 {
       font-size: 1.6rem;
   }
   .product-card img {
       height: 180px;
   }
}