@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #ffffff;
    --surface-color: #ffffff;
    --surface-secondary-color: #f9f9f9;
    --primary-text-color: #111111;
    --secondary-text-color: #666666;
    --accent-color: #000000;
    --card-border-color: #e0e0e0;
    --dark-border-color: #dcdcdc;
    --success-color: #007600;
    --danger-color: #D32F2F;
    --dark-modal-bg: #1e1e1e;
    --dark-modal-surface: #2c2c2c;
    --dark-modal-text: #f5f5f5;
    --dark-modal-secondary-text: #a0a0a0;
    --dark-modal-border: #333;
    --navbar-height: 60px;
    --category-navbar-height: 35px;
    --navbar-total-height: calc(var(--navbar-height) + var(--category-navbar-height));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--navbar-total-height);
    font-size: 0.95em;
}

.navbar {
    background-color: #111111;
    color: #ffffff;
    padding: 0.6rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s ease-in-out;
    height: var(--navbar-height);
}

.nav-section {
    flex: 1;
    display: flex;
    align-items: center;
}
.nav-section.left {
    justify-content: flex-start;
}
.nav-section.center {
    justify-content: center;
}
.nav-section.right {
    justify-content: flex-end;
}

.navbar.hidden {
    transform: translateY(-150px);
}

.navbar .logo img {
    max-height: 40px;
    transition: transform 0.3s ease;
    filter: none;
}
.navbar .logo:hover img {
    transform: scale(1.05);
}

.category-navbar {
    background-color: #111111;
    padding: 0;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out;
    height: var(--category-navbar-height);
    display: flex;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid #111111;
}

.category-navbar::-webkit-scrollbar {
    display: none;
}

.category-navbar ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0 1.5rem;
    width: max-content;
    height: 100%;
}

.category-navbar ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
}

.category-navbar ul li a:hover,
.category-navbar ul li a.active {
    color: #ffffff;
    background-color: #333333;
}

.navbar.hidden + .category-navbar {
    transform: translateY(-150px);
}

.hero-banner {
    display: none;
}

.benefits-section {
    display: none;
}

.promo-feature-section {
    background-color: #111111;
    color: #ffffff;
    padding: 1.5rem 1.5rem;
    text-align: center;
    min-height: calc(100vh - var(--navbar-total-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.promo-feature-image {
    max-width: 280px;
    margin: 0 auto 1rem auto;
    flex-shrink: 0;
}
.promo-feature-image img {
    width: 100%;
    height: auto;
    display: block;
}
.promo-feature-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 1.5rem;
}
.promo-feature-content .price-from {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-text-color);
    margin-bottom: 0.2rem;
}
.promo-feature-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.promo-feature-content .description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--secondary-text-color);
    max-width: 450px;
    margin: 0 auto;
}

.categories-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}
.categories-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.category-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15), 0 6px 12px -4px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}
.category-card a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-card .category-title,
.category-card .category-count {
    align-self: flex-start;
}
.category-card .category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}
.category-card .category-count {
    font-size: 1rem;
    color: var(--secondary-text-color);
    margin-top: 0.4rem;
    margin-bottom: 1.5rem;
}
.category-card .category-image {
    max-width: 200px;
    margin-top: 0.5rem;
    transition: transform 0.3s ease;
}
.category-card:hover .category-image {
    transform: scale(1.05);
}

footer {
  background-color: #111111;
  color: #a0a0a0;
  padding: 3rem 1.5rem 1.5rem; /* Más pequeño */
  font-size: 0.9rem;
  margin-top: 0;
  text-align: center;
  border-top: 1px solid #333;
  width: 100%;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; /* Menor separación */
  max-width: 1100px;
  margin: 0 auto 4rem; /* Menor separación */
  justify-items: center;
}
.footer-section {
  text-align: center;
  width: 100%;
}
.footer-section h3 {
  font-weight: 700;
  margin-bottom: 1.8rem; /* Menor separación */
  font-size: 0.99rem; /* Ajuste sutil */
  color: #ffffff;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: center;
}
.footer-section ul li {
  margin-bottom: 1rem; /* Menor separación */
  text-align: center;
}
.footer-section ul li a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  display: inline-block;
  font-size: 0.95rem; /* Tamaño de fuente para los enlaces */
}
.footer-section ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem; /* Menor separación */
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #666;
  border-top: 1px solid #333;
  width: 100%;
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 55px;
        --category-navbar-height: 30px;
        --navbar-total-height: calc(var(--navbar-height) + var(--category-navbar-height));
    }

    body {
        padding-top: var(--navbar-total-height);
    }
    .navbar {
        padding: 0.4rem 0.8rem;
    }
    .category-navbar {
        top: var(--navbar-height);
    }
    .category-navbar ul {
        gap: 0.6rem;
        padding: 0 0.8rem;
    }
    .category-navbar ul li a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-section {
        max-width: 300px;
        margin: 0 auto;
    }
    .promo-feature-section { padding: 5rem 1rem; }
    .promo-feature-image {
        margin: 0 auto -3rem auto;
    }
    .promo-feature-content h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 0.4rem; }
    .promo-feature-content .description { font-size: 1rem; }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}