/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #5a3e36;
  background-color: #fff;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

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

ul {
  list-style: none;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #c9a77c;
  position: relative;
  z-index: 10;
}

.logo-container {
  width: 100px;
}

.logo {
  width: 100%;
  height: auto;
}

.menu {
  display: flex;
  gap: 1.5rem;
}

.menu li a {
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #5a3e36;
}

.icons {
  display: flex;
  gap: 1.5rem;
  color: #fff;
}

.icons a {
  transition: transform 0.3s;
  display: flex;
  align-items: center;
}

.icons a:hover {
  transform: scale(1.1);
}

.header-icon {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.icons a:hover .header-icon {
  filter: brightness(0) invert(0.8);
}

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  background: linear-gradient(135deg, #f9f3e9 0%, #f2e2ce 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/pattern-overlay.png");
  background-size: cover;
  opacity: 0.05;
  z-index: 1;
}

.hero-content {
  position: relative;
  display: flex;
  height: 100%;
  padding: 0 5%;
  z-index: 2;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
}

.hero-text h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #5a3e36;
}

.hero-text h1 span {
  display: block;
  color: #c26e5a;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
  color: #7a6a61;
}

.hero-button {
  display: inline-block;
  background-color: #c26e5a;
  color: white;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(194, 110, 90, 0.3);
  align-self: flex-start;
}

.hero-button:hover {
  background-color: #a85a48;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(194, 110, 90, 0.4);
}

.hero-images-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 550px;
  height: 550px;
}

.hero-image-item {
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.hero-image-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.2) 100%);
  border-radius: 20px;
}

.hero-image-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.hero-image-item.large {
  grid-row: span 2;
}

.hero-image-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.hero-image-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.hero-image-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1 / span 1; /* Corregido: ahora solo ocupa 1 fila */
  height: 100%; /* Asegura que la altura se ajuste al contenedor */
  align-self: stretch; /* Se estira para llenar el espacio disponible */
  object-fit: cover; /* Mantiene la proporción de la imagen */
}

.hero-image-item:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
}

.hero-image-item:nth-child(5) {
  grid-column: 2 / span 2;
  grid-row: 2 / span 2;
}

.hero-decoration {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  z-index: 3;
}

.decoration-element {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-around;
  padding: 3rem 5%;
  background-color: #fff;
  position: relative;
  z-index: 4;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: opacity(0.8) drop-shadow(0 2px 4px rgba(194, 110, 90, 0.2));
  transition: transform 0.3s ease;
}

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

/* Categories Section */
.categories {
  padding: 3rem 5%;
  text-align: center;
}

.categories h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #5a3e36;
}

.category-container {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.category-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}

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

.category-button {
  background-color: #c26e5a;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.category-button:hover {
  background-color: #a85a48;
}

/* Map Section */
.map-section {
  padding: 3rem 5%;
  background-color: #f9f5f0;
}

.map-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #5a3e36;
  text-align: center;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .map-container iframe {
    height: 250px;
  }
}

/* Footer */
footer {
  background-color: #c9a77c;
  color: #fff;
  padding: 3rem 5% 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-column p,
.footer-column li {
  margin-bottom: 0.5rem;
}

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

.social-icon {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}

.social-icons a:hover .social-icon {
  transform: scale(1.2);
}

.payment {
  margin-top: 2rem;
}

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

.payment-icons img {
  height: 30px;
}

.footer-logo {
  width: 150px;
  margin-top: 2rem;
}

.footer-logo img {
  width: 100%;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-image-grid {
    max-width: 450px;
    height: 450px;
  }
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    padding: 4rem 0;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    text-align: center;
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .hero-text p {
    margin: 0 auto 2rem;
  }

  .hero-button {
    align-self: center;
  }

  .hero-image-grid {
    max-width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-image-grid {
    max-width: 350px;
    height: 350px;
    gap: 10px;
  }

  .features {
    flex-direction: column;
    gap: 2rem;
  }

  .category-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image-grid {
    max-width: 280px;
    height: 280px;
    gap: 8px;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* Estilos específicos para la página de Cheesecakes */

/* Estilos para la página de categoría */
.category-page {
  padding: 2rem 5%;
  position: relative;
  overflow: hidden;
}

/* Encabezado de categoría */
.category-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.category-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.category-header h1::before,
.category-header h1::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #c26e5a;
  top: 50%;
}

.category-header h1::before {
  left: -70px;
}

.category-header h1::after {
  right: -70px;
}

.decorative-line {
  width: 150px;
  height: 2px;
  background: linear-gradient(to right, transparent, #c26e5a, transparent);
  margin: 0 auto;
}

.category-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #7a6a61;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Contenedor de productos */
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Tarjeta de producto */
.product-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

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

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

.product-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: #5a3e36;
  margin: 1.5rem 1.5rem 0.5rem;
  font-weight: 600;
}

.product-description {
  color: #7a6a61;
  margin: 0 1.5rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.product-price {
  font-weight: 600;
  font-size: 1.3rem;
  color: #c26e5a;
  margin: 0 1.5rem 1rem;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem 1.5rem;
}

.buy-button {
  background-color: #c26e5a;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-grow: 1;
  margin-right: 1rem;
}

.buy-button:hover {
  background-color: #a85a48;
}

.cart-add-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f2e2ce;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-add-button:hover {
  background-color: #e6d2b5;
  transform: scale(1.1);
}

.cart-add-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(45%) sepia(19%) saturate(1111%) hue-rotate(327deg) brightness(91%)
    contrast(84%);
}

/* Elementos decorativos */
.decorative-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

.decorative-cake {
  position: absolute;
  width: 300px;
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
}

.decorative-cake.left {
  top: 20%;
  left: -100px;
  background-image: url("images/decorative-cake1.png");
  transform: rotate(-15deg);
}

.decorative-cake.right {
  bottom: 10%;
  right: -100px;
  background-image: url("images/decorative-cake2.png");
  transform: rotate(15deg);
}

/* Navegación de categorías */
.category-navigation {
  margin-top: 4rem;
  text-align: center;
  padding: 2rem;
  background-color: #f9f5f0;
  border-radius: 15px;
}

.category-navigation h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #5a3e36;
  margin-bottom: 2rem;
}

.category-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.category-link:hover {
  transform: translateY(-5px);
}

.category-link-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid #c26e5a;
}

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

.category-link span {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #5a3e36;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .category-header h1 {
    font-size: 3rem;
  }

  .category-header h1::before,
  .category-header h1::after {
    display: none;
  }

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

  .category-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .category-header h1 {
    font-size: 2.5rem;
  }

  .product-image {
    height: 200px;
  }

  .product-title {
    font-size: 1.2rem;
  }

  .product-price {
    font-size: 1.1rem;
  }

  .buy-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}


/* Estilos específicos para la página de Cookies */

/* Estilos para la página de categoría */
.category-page {
  padding: 2rem 5%;
  position: relative;
  overflow: hidden;
}

/* Encabezado de categoría */
.category-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.category-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.category-header h1::before,
.category-header h1::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #c26e5a;
  top: 50%;
}

.category-header h1::before {
  left: -70px;
}

.category-header h1::after {
  right: -70px;
}

.decorative-line {
  width: 150px;
  height: 2px;
  background: linear-gradient(to right, transparent, #c26e5a, transparent);
  margin: 0 auto;
}

.category-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #7a6a61;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Filtros */
.filter-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-button {
  background-color: transparent;
  border: 2px solid #c26e5a;
  color: #c26e5a;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
  background-color: #c26e5a;
  color: white;
}

/* Contenedor de productos */
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

/* Tarjeta de producto */
.product-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

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

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

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #c26e5a;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.product-badge.new {
  background-color: #6ea5c2;
}

.product-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: #5a3e36;
  margin: 1.5rem 1.5rem 0.5rem;
  font-weight: 600;
}

.product-description {
  color: #7a6a61;
  margin: 0 1.5rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  flex-grow: 1;
}

.product-price {
  font-weight: 600;
  font-size: 1.2rem;
  color: #c26e5a;
  margin: 0 1.5rem 1rem;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem 1.5rem;
}

.buy-button {
  background-color: #c26e5a;
  color: white;
  border: none;
  padding: 0.7rem 1.3rem;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-grow: 1;
  margin-right: 1rem;
}

.buy-button:hover {
  background-color: #a85a48;
}

.cart-add-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #f2e2ce;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-add-button:hover {
  background-color: #e6d2b5;
  transform: scale(1.1);
}

.cart-add-button img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(45%) sepia(19%) saturate(1111%) hue-rotate(327deg) brightness(91%)
    contrast(84%);
}

/* Paginación */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0 4rem;
}

.pagination-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #c26e5a;
  color: #c26e5a;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-button:hover,
.pagination-button.active {
  background-color: #c26e5a;
  color: white;
}

.pagination-button.next {
  width: auto;
  border-radius: 20px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Elementos decorativos */
.decorative-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

.decorative-cookie {
  position: absolute;
  width: 300px;
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
}

.decorative-cookie.left {
  top: 20%;
  left: -100px;
  background-image: url("images/decorative-cookie1.png");
  transform: rotate(-15deg);
}

.decorative-cookie.right {
  bottom: 10%;
  right: -100px;
  background-image: url("images/decorative-cookie2.png");
  transform: rotate(15deg);
}

/* Navegación de categorías */
.category-navigation {
  margin-top: 4rem;
  text-align: center;
  padding: 2rem;
  background-color: #f9f5f0;
  border-radius: 15px;
}

.category-navigation h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #5a3e36;
  margin-bottom: 2rem;
}

.category-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.category-link:hover {
  transform: translateY(-5px);
}

.category-link-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid #c26e5a;
}

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

.category-link span {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #5a3e36;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .products-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .category-header h1 {
    font-size: 3rem;
  }

  .category-header h1::before,
  .category-header h1::after {
    display: none;
  }

  .filter-options {
    gap: 0.7rem;
  }

  .filter-button {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

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

  .category-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .category-header h1 {
    font-size: 2.5rem;
  }

  .filter-options {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .filter-button {
    width: 80%;
  }

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

  .product-image {
    height: 200px;
  }

  .product-title {
    font-size: 1.2rem;
  }

  .product-price {
    font-size: 1.1rem;
  }

  .buy-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}






/* Estilos específicos para la página de Cakes */

/* Estilos para la página de categoría */
.category-page {
  padding: 2rem 5%;
  position: relative;
  overflow: hidden;
}

/* Encabezado de categoría */
.category-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.category-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.category-header h1::before,
.category-header h1::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #c26e5a;
  top: 50%;
}

.category-header h1::before {
  left: -70px;
}

.category-header h1::after {
  right: -70px;
}

.decorative-line {
  width: 150px;
  height: 2px;
  background: linear-gradient(to right, transparent, #c26e5a, transparent);
  margin: 0 auto;
}

.category-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #7a6a61;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Banner destacado */
.featured-banner {
  background-color: #f9f5f0;
  border-radius: 15px;
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.featured-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/pattern-overlay.png");
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.banner-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: #5a3e36;
  margin-bottom: 1.5rem;
}

.banner-content p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #7a6a61;
  font-size: 1.1rem;
  line-height: 1.6;
}

.banner-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.banner-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.banner-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.banner-icon span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #5a3e36;
}

/* Contenedor de productos */
.cakes-page .products-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Tarjeta de producto */
.cakes-page .product-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: row;
  height: 100%;
}

.cakes-page .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.cakes-page .product-image {
  width: 40%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.cakes-page .product-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cakes-page .product-card:hover .product-image::after {
  opacity: 1;
}

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

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

.cakes-page .product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #c26e5a;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.cakes-page .product-badge.bestseller {
  background-color: #c26e5a;
}

.cakes-page .product-badge.new {
  background-color: #6ea5c2;
}

.cakes-page .product-info {
  width: 60%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.cakes-page .product-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #5a3e36;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cakes-page .product-description {
  color: #7a6a61;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cakes-page .product-features {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cakes-page .feature {
  background-color: #f2e2ce;
  color: #5a3e36;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.cakes-page .product-sizes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.cakes-page .size-option {
  display: flex;
  align-items: center;
}

.cakes-page .size-option input[type="radio"] {
  display: none;
}

.cakes-page .size-option label {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #e0d5c5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: #5a3e36;
}

.cakes-page .size-option input[type="radio"]:checked + label {
  background-color: #f2e2ce;
  border-color: #c26e5a;
  font-weight: 500;
}

.cakes-page .size-option label span {
  font-weight: 600;
  color: #c26e5a;
}

.cakes-page .product-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.cakes-page .buy-button {
  background-color: #c26e5a;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-grow: 1;
}

.cakes-page .buy-button:hover {
  background-color: #a85a48;
}

.cakes-page .cart-add-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #f2e2ce;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cakes-page .cart-add-button:hover {
  background-color: #e6d2b5;
  transform: scale(1.1);
}

.cakes-page .cart-add-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(45%) sepia(19%) saturate(1111%) hue-rotate(327deg) brightness(91%)
    contrast(84%);
}

/* Sección de pedido personalizado */
.custom-order-section {
  display: flex;
  background-color: #f9f5f0;
  border-radius: 15px;
  overflow: hidden;
  margin: 4rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.custom-order-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-order-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #5a3e36;
  margin-bottom: 1rem;
}

.custom-order-content p {
  color: #7a6a61;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.custom-order-button {
  background-color: #c26e5a;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  align-self: flex-start;
  text-decoration: none;
}

.custom-order-button:hover {
  background-color: #a85a48;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(194, 110, 90, 0.2);
}

.custom-order-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

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

/* Elementos decorativos */
.decorative-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

.decorative-cake {
  position: absolute;
  width: 300px;
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
}

.decorative-cake.left {
  top: 20%;
  left: -100px;
  background-image: url("images/decorative-cake1.png");
  transform: rotate(-15deg);
}

.decorative-cake.right {
  bottom: 10%;
  right: -100px;
  background-image: url("images/decorative-cake2.png");
  transform: rotate(15deg);
}

/* Navegación de categorías */
.category-navigation {
  margin-top: 4rem;
  text-align: center;
  padding: 2rem;
  background-color: #f9f5f0;
  border-radius: 15px;
}

.category-navigation h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #5a3e36;
  margin-bottom: 2rem;
}

.category-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.category-link:hover {
  transform: translateY(-5px);
}

.category-link-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid #c26e5a;
}

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

.category-link span {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #5a3e36;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .cakes-page .product-card {
    flex-direction: column;
  }

  .cakes-page .product-image {
    width: 100%;
    height: 300px;
  }

  .cakes-page .product-info {
    width: 100%;
  }

  .custom-order-section {
    flex-direction: column;
  }

  .custom-order-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .category-header h1 {
    font-size: 3rem;
  }

  .category-header h1::before,
  .category-header h1::after {
    display: none;
  }

  .featured-banner {
    padding: 2rem;
  }

  .banner-content h2 {
    font-size: 2rem;
  }

  .banner-icons {
    gap: 1.5rem;
  }

  .cakes-page .product-title {
    font-size: 1.5rem;
  }

  .category-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .category-header h1 {
    font-size: 2.5rem;
  }

  .featured-banner {
    padding: 1.5rem;
  }

  .banner-content h2 {
    font-size: 1.8rem;
  }

  .banner-icon img {
    width: 50px;
    height: 50px;
  }

  .cakes-page .product-image {
    height: 250px;
  }

  .cakes-page .product-info {
    padding: 1.5rem;
  }

  .cakes-page .product-title {
    font-size: 1.3rem;
  }

  .cakes-page .product-description {
    font-size: 0.9rem;
  }

  .custom-order-content {
    padding: 1.5rem;
  }

  .custom-order-content h2 {
    font-size: 1.5rem;
  }

  .custom-order-content p {
    font-size: 0.9rem;
  }

  .custom-order-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
