:root {
  /* Fondos claros */
  --bg-main: #FAEFE6;     /* fondo principal */
  --bg-soft: #F6E8DD;     /* hero / secciones suaves */
  --bg-card: #EBEAE9;     /* tarjetas claras */

  /* Fondos cálidos */
  --bg-accent: #E7BB8B;   /* CTA / botones */
  --bg-accent-soft: #F0C49B;
  --bg-muted: #EBDCCD;    /* bloques secundarios */

  /* Texto */
  --text-main: #3f3f3f;
  --text-soft: #6b6b6b;

  /* UI */
  --white: #ffffff;
  --border: #ded6cc;
}



/* GLOBAL */
body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

section {
  padding: 5rem 0;
}

/* NAVBAR */
.navbar-theme {
  background: var(--bg-soft);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar-theme .nav-link {
  color: var(--text-main);
  margin-left: 1rem;
}

.navbar-theme .nav-link:hover,
.navbar-theme .nav-link.active {
  color: #000;
}


.navbar-brand {
  color: #000;
  letter-spacing: 1px;
}



/* BUTTON */
.btn-accent {
  background: var(--bg-accent);
  color: #000;
  font-weight: 600;
  border-radius: 999px;
  padding: .6rem 1.8rem;
  border: 1px solid transparent;
  transition: background .25s ease, transform .2s ease;
}

.btn-accent:hover {
  background: #d9a56f; /* un tono más oscuro que --bg-accent */
  color: #000;         /* NUNCA blanco */
  transform: translateY(-1px);
}

.btn-outline-dark {
  border: 1px solid var(--bg-accent);
  color: #000;
  border-radius: 999px;
}

.btn-outline-dark:hover {
  background: var(--bg-accent);
}



/* HERO */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg,  var(--white),  var(--bg-soft));
  overflow: hidden;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
}

.hero-text {
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.hero-features li {
  font-size: 0.95rem;
  margin-bottom: .4rem;
  color: #555;
}

/* HERO MEDIA */
.hero-media {
  position: relative;
  max-width: 520px;
  margin: auto;
  border-radius: 2.5rem;
  overflow: hidden;
}

.hero-media-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(199,161,122,0.35),
    rgba(199,161,122,0.05)
  );
  transform: rotate(-3deg) scale(1.05);
  border-radius: 3rem;
}

.hero-media img {
  position: relative;
  width: 100%;
  border-radius: 2rem;
  box-shadow: 0 40px 80px rgba(0,0,0,.25);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  50% { transform: translateY(-12px); }
}

/* SUPPORT */
.support {
  background: var(--bg-muted);
  color: var(--text-main);
}

.support-box {
  background: var(--bg-main);
  color: var(--text-main);
  padding: 2rem;
  border-radius: 1.5rem;
  transition: transform .3s;
}

.support-box:hover {
  transform: translateY(-10px);
}

/* CATEGORIES */
.category-card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform .5s;
}

.category-card span {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
}

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

.category-link {
  text-decoration: none;
  color: inherit;
}

/* BANNER */
.banner {
  background: var(--bg-muted);
  color: #000;
  text-align: center;
}

/* PRODUCTS */
.products {
  background: var(--bg);
}

.product-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  transition: transform .3s;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 1rem;
}

.product-card span {
  color: #000;
  font-weight: 600;
}

/* METRICS */
.metrics h3 {
  color: #000;
  font-size: 2.4rem;

}

/* CTA */
.cta {
  background: var(--bg-muted);
  color: var(--text-main);
  text-align: center;
}

/* FOOTER */
.footer {
  background: var(--bg-main);
  color: #ccc;
  padding: 25px 0;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-social a {
  color: #000000;
  font-size: 1.3rem;
  margin-left: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
  transform: translateY(-2px);
}



/* SHOP */

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

.shop-sidebar {
  background: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

.shop-sidebar h5 {
  margin-bottom: 1rem;
  text-decoration: none;  
  color: var(--dark)
}

.shop-sidebar ul {
  list-style: none;
  padding: 0;
}

.shop-sidebar ul li {
  margin-bottom: .5rem;
}

.shop-sidebar a {
  text-decoration: none;
  color: var(--dark);
}

.shop-sidebar a:hover {
  color: var(--accent);
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.shop-toolbar select {
  padding: .5rem 1rem;
  border-radius: 2rem;
  border: 1px solid #ddd;
}

.shop-pagination {
  margin-top: 3rem;
  text-align: center;
}

.shop-pagination a {
  margin: 0 .3rem;
  padding: .6rem 1.2rem;
  border-radius: 2rem;
  background: #fff;
  text-decoration: none;
  color: var(--dark);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.shop-pagination a.active,
.shop-pagination a:hover {
  background: var(--accent);
  color: #000;
}

/* PRODUCTO */

.product-hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg,  var(--white),  var(--bg-soft));
}

.product-media {
  max-width: 520px;
  margin: auto;
  border-radius: 2.5rem;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  border-radius: 2rem;
  box-shadow: 0 40px 80px rgba(0,0,0,.25);
}

.product-title {
  font-size: 3rem;
  font-weight: 700;
}

.product-price {
  font-size: 1.8rem;
  color: #000;
  font-weight: 600;
}

.product-desc {
  color: var(--text-soft);
}

.product-features {
  list-style: none;
  padding: 0;
}

.product-features li {
  margin-bottom: .4rem;
}

.product-options {
  margin-top: 1.5rem;
}

.product-options span {
  margin-right: 1rem;
  font-weight: 600;
}

.tone {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  margin-right: .5rem;
  background: #b00020;
  cursor: pointer;
}

.tone:nth-child(3) { background: #8b0000; }
.tone:nth-child(4) { background: #5a0000; }

.product-details {
  background: #fff;
}

.product-details h5 {
  margin-bottom: 1rem;
}

.product-details p {
  color: var(--gray);
}


/* ABOUT */


.about-story img {
  border-radius: 2rem;
}

.about-values {
  background: var(--bg-muted);
  color: var(--text-main);
}

.value-box {
  background: var(--bg-main);
  color: var(--text-main);
  padding: 2rem;
  border-radius: 1.5rem;
}

/* CONTACT */

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

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: .7rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .8rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid #ddd;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}


/* ================= PRODUCT LINK ================= */

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-link:hover {
  color: inherit;
}

/* ================= PAGE HERO (UNIFICADO) ================= */

.page-hero {
  padding-top: 10rem;
  padding-bottom: 4.5rem;
  background: linear-gradient(135deg,  var(--white),  var(--bg-soft));
  text-align: center;
}

.page-title {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  color: var(--dark);
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto;
}

.filter-link.active {
  color: var(--accent);
  font-weight: 600;
}

/* ================= CARRITO ================= */

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

.cart-item {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

.cart-item img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 1rem;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h6 {
  margin-bottom: .3rem;
  font-weight: 600;
}

.cart-item-option {
  font-size: .9rem;
  color: var(--gray);
}

.cart-item-price {
  font-weight: 600;
  color: #000;
}

.cart-item-actions {
  text-align: right;
}

.cart-remove {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #999;
  cursor: pointer;
}

.cart-remove:hover {
  color: #000;
}

/* RESUMEN */

.cart-summary {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

.cart-summary h5 {
  margin-bottom: 1.5rem;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: .8rem;
}

.summary-total {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 1rem;
}


/* ================= MODAL CARRITO ================= */

.cart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.cart-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-modal {
  background: #fff;
  padding: 2.5rem;
  border-radius: 2rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.cart-modal h4 {
  margin-bottom: .5rem;
}

.cart-modal p {
  color: var(--gray);
  margin-bottom: 2rem;
}

.cart-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}


/* ================= CHECKOUT ================= */

.checkout-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  display: grid;
  gap: 1rem;
}

.checkout-box input {
  width: 100%;
  padding: .9rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid #ddd;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
}

.payment-info {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1.2rem;
  margin-top: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.checkout-summary {
  background: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

/* ================= PAYMENT METHODS ================= */

.payment-methods {
  gap: 1rem;
}

.payment-option {
  display: block;
  cursor: pointer;
}

.payment-option input {
  display: none;
}

/* Card visual */
.payment-card {
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  transition: all .25s ease;
}

.payment-card strong {
  display: block;
  font-weight: 600;
  margin-bottom: .3rem;
}

.payment-card span {
  font-size: .9rem;
  color: var(--text-soft);
}

/* Hover */
.payment-option:hover .payment-card {
  border-color: var(--bg-accent);
}

/* Estado seleccionado */
.payment-option input:checked + .payment-card {
  border-color: var(--bg-accent);
  background: var(--bg-muted);
}

.payment-info {
  border: 1px solid var(--border);
  background: var(--bg-card);
}

/* ================= PRODUCT OPTIONS ================= */

.product-options {
  margin-top: 1.5rem;
}

.product-options #producto-opciones {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Botón base */
.option-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-main);
  padding: .55rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  transition: all .25s ease;
}

/* Hover */
.option-btn:hover {
  border-color: var(--bg-accent);
}

/* Activo / seleccionado */
.option-btn.active {
  background: var(--bg-muted);
  border-color: var(--bg-accent);
  font-weight: 600;
}

/* HAMBURGER ICON NEGRO EN MOBILE */
.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
