:root {
  --bg-page: #FAF5F0;
  --banner-dark: #803030;
  --brown-dark: #8b3838;
  --brown-light: #b35959;
  --border-brown: #9E836A;
  --panel-bg: #D8B980;
  --card-bg: #edd3d8;
  --cart-bg: #dbd3ca;
  --btn-gold: #CFA463;
  --btn-gold-hover: #b88d4d;
  --gold-light: #e6ca85;
  --text-dark: #3E2723;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Georgia', serif, system-ui;
}

body {
  background-color: var(--bg-page);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header-container {
  padding: 15px 30px 0 30px;
  width: 100%;
}

.header-bar {
  background-color: var(--brown-dark);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 25px 10px 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-wrapper, 
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-seal {
  width: 58px;
  height: 58px;
  background-color: var(--brown-dark);
  border: 2px dashed #e2caa2;
  outline: 2px solid var(--brown-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ebdcd0;
  font-size: 6px;
  text-align: center;
  font-weight: bold;
  flex-shrink: 0;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  color: var(--brown-dark);
  text-align: center;
}

.logo-icon {
  font-size: 14px;
  margin: 1px 0;
}

.brand-title {
  color: #ebdcd0;
  font-family: 'Times New Roman', serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  font-weight: normal;
}

.nav-links {
  display: flex;
  gap: 12px;
}

.nav-btn {
  background-color: #a44848;
  color: #ebdcd0;
  text-decoration: none;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background 0.3s;
}

.nav-btn:hover {
  background-color: #b85454;
}

.header-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-circle {
  width: 22px;
  height: 22px;
  background-color: #c09e53;
  border-radius: 50%;
  cursor: pointer;
}

.hero-section {
  text-align: center;
  padding: 40px 20px 20px 20px;
}

.hero-title {
  font-size: 2.5rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.hero-subtitle {
  color: var(--btn-gold);
  font-style: italic;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.search-filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.search-box {
  position: relative;
  width: 350px;
}

.search-input {
  width: 100%;
  padding: 8px 35px 8px 15px;
  border-radius: 20px;
  border: 1px solid #c2b2a3;
  background-color: #ebdcd0;
  text-align: center;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--brown-dark);
}

.filter-btn {
  background-color: #ebdcd0;
  border: 1px solid #c2b2a3;
  padding: 8px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--brown-dark);
  cursor: pointer;
}

.categories-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.cat-btn {
  background-color: #dedede;
  border: 1px solid #ccc;
  padding: 8px 35px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  color: #444;
}

.step-banner {
  background-color: var(--banner-dark);
  color: var(--white);
  text-align: center;
  padding: 12px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border-top: 2px solid var(--btn-gold);
  border-bottom: 2px solid var(--btn-gold);
}

.shop-container {
  display: flex;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  gap: 40px;
  flex-grow: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  flex: 1;
}

/* --- 6. TARJETAS DE PRODUCTO --- */
.product-card,
.product-card-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.product-image-container {
  background-color: var(--card-bg);
  width: 200px;
  height: 200px;
  border-radius: 30px;
  border: 2px solid var(--btn-gold);
  overflow: hidden;
  position: relative;
}

.product-image-container::before {
  display: none;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image-wrapper {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--btn-gold);
  border-radius: 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.product-image-wrapper::before,
.product-image-wrapper::after {
  display: none;
}

.cake-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 0;
  filter: none;
}

.product-description {
  font-size: 0.75rem;
  margin: 10px 0;
  max-width: 180px;
  line-height: 1.2;
}

.product-text {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin: 15px 0 10px 0;
  max-width: 220px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.add-cart-btn,
.btn-product {
  background-color: var(--gold-light);
  border: none;
  padding: 8px 25px;
  border-radius: 25px;
  color: var(--brown-dark);
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.add-cart-btn:hover,
.btn-product:hover {
  background-color: var(--btn-gold);
}

.btn-tienda {
  background-color: #7B3F3F;
  color: #E6DCC3;
  font-family: "Times New Roman", Times, serif;
  font-size: 32px;
  letter-spacing: 4px;
  text-transform: lowercase;
  text-shadow: 1px 1px 0px #4a2020;
  padding: 15px 40px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tienda:hover {
  background-color: #8f4a4a;
}

.btn-tienda:active {
  transform: scale(0.98);
  text-shadow: none;
}

.btn-custom-cart {
  background-color: var(--btn-gold);
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  font-weight: 600;
}

.btn-custom-cart:hover {
  background-color: var(--btn-gold-hover);
  color: var(--white);
}

.quantity-control {
  background-color: var(--btn-gold);
  border: 1px solid var(--text-dark) !important;
}

.quantity-control button {
  color: var(--text-dark);
}

.main-product-frame {
  background-color: #F3E5E8;
  border: 2px solid var(--border-brown);
}

.description-box {
  background-color: #E8DCCF;
  border: 1px solid var(--border-brown) !important;
  color: var(--text-dark) !important;
}

.options-panel-container {
  background-color: var(--panel-bg);
  border: 2px solid var(--text-dark);
}

.option-card {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--text-dark) !important;
}

.featured-product-img-wrapper {
  background-color: #F3E5E8;
  border-radius: 1rem;
  padding: 10px;
  border: 1px solid var(--border-brown);
}

.form-check-input {
  border-color: var(--text-dark);
  border-radius: 0;
  width: 1.1em;
  height: 1.1em;
}

.form-check-input:checked {
  background-color: var(--banner-dark);
  border-color: var(--banner-dark);
}

.option-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.option-disabled input[type="checkbox"] {
  cursor: not-allowed;
}

.card .position-relative {
  overflow: hidden;
}

.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
}

.text-overlay .card-title {
  color: var(--white);
  font-weight: bold;
  margin-bottom: 5px;
}

.text-overlay .card-text {
  color: #f0f0f0;
  font-size: 0.9rem;
  line-height: 1.3;
}

.cart-sidebar {
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cart-icon-main {
  color: #8B3A3A;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.cart-box {
  background-color: var(--cart-bg);
  border: 2px solid var(--btn-gold);
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-checkbox {
  width: 35px;
  height: 35px;
  border: 1px solid #777;
  position: relative;
  background-color: #d1c7bc;
  flex-shrink: 0;
}

.cart-item-checkbox::after {
  content: '✕';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  color: var(--brown-dark);
}

.cart-item-text {
  font-size: 0.7rem;
  line-height: 1.1;
}

.checkout-btn {
  background-color: var(--brown-dark);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 15px;
  width: 100%;
  margin-top: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  text-transform: uppercase;
}

.footer {
  background-color: var(--brown-light);
  color: var(--white);
  padding: 40px 20px 20px 20px;
  text-align: center;
  border-radius: 20px 20px 0 0;
  margin-top: 40px;
}

.footer-logo-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-logo-title h2 {
  font-size: 2.2rem;
  letter-spacing: 2px;
}

.footer-subtitle {
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer-icon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.user-icon {
  width: 25px;
  height: 25px;
  background-color: #4a231a;
  border-radius: 50%;
  display: inline-block;
}

.registro-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  min-height: calc(100vh - 250px);
}

.registro-card {
  background-color: #8b3838;
  border-radius: 20px;
  padding: 40px 45px;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 50px;
  color: #ebdcd0;
  position: relative;
}

.registro-form-col {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.registro-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  color: #ebdcd0;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.registro-subtitle {
  font-size: 0.9rem;
  color: #ebdcd0;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.campo label {
  font-size: 0.85rem;
  font-family: 'Georgia', serif;
  color: #ebdcd0;
  letter-spacing: 0.5px;
}

.campo input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background-color: #f9f4ee;
  color: #4a231a;
  font-size: 0.95rem;
  font-family: 'Georgia', serif;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.campo input:focus {
  box-shadow: 0 0 0 3px rgba(207, 168, 94, 0.5);
}

.registro-image-col {
  flex: 0.7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.registro-image-container {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  border: 3px solid #cfa85e;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background-color: #f9f4ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.registro-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acciones-registro {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.btn-registro {
  background-color: transparent;
  border: 1.5px solid #cfa85e;
  color: #ebdcd0;
  border-radius: 30px;
  padding: 12px 25px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  text-decoration: none;
}

.btn-registro:hover {
  background-color: rgba(207, 168, 94, 0.15);
  border-color: #e6ca85;
  color: #ebdcd0;
}

.btn-registro.principal {
  background-color: transparent;
  font-weight: bold;
}

.social-icon {
  width: 24px;
  height: 24px;
  background-color: #cfa85e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b3838;
  font-weight: bold;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

@media (max-width: 768px) {
  .registro-card {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }
  .registro-image-col {
    order: -1;
  }
  .registro-image-container {
    max-width: 180px;
  }
  .registro-title {
    font-size: 1.8rem;
  }
}

.bg-checkout {
  background-color: #f7f2eb;
}

.step-banner {
  background-color: #8b3838;
  color: #ebdcd0;
  text-align: center;
  padding: 12px 15px;
  font-family: 'Instrument Serif', Georgia, serif;
}

.step-banner h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
}

.checkout-container {
  max-width: 1000px;
}

.checkout-left-col {
  border-right: 2px solid #8b3838;
  padding-right: 35px !important;
}

.checkout-section-title {
  color: #8b3838;
  font-size: 0.95rem;
  font-weight: bold;
  border-bottom: 2px solid #8b3838;
  padding-bottom: 5px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.campo-checkout {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 15px;
}

.campo-checkout label {
  font-size: 0.85rem;
  font-weight: bold;
  color: #2b2b2b;
}

.campo-checkout input {
  background-color: #e5d8cb;
  border: 1px solid #707070;
  border-radius: 20px;
  padding: 8px 18px;
  outline: none;
  font-size: 0.9rem;
}

.sucursales-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sucursal-item {
  display: flex;
  align-items: center;
  background-color: #e5d8cb;
  border: 1px solid #707070;
  border-radius: 20px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.sucursal-item input[type="radio"] {
  margin-right: 12px;
  accent-color: #8b3838;
}

.sucursal-item.active, .sucursal-item:has(input:checked) {
  background-color: #8b3838;
  color: #ebdcd0;
  border-color: #8b3838;
}

.checkout-right-col {
  padding-left: 35px !important;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item-img-container {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 3px solid #cfa85e;
  overflow: hidden;
  flex-shrink: 0;
}

.item-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: bold;
}

.item-info .price {
  font-size: 0.9rem;
  color: #4a231a;
}

.btn-personalizar {
  margin-left: auto;
  background-color: #cfa85e;
  color: #2b2b2b;
  border: none;
  border-radius: 12px;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
}

.descuento-box {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.descuento-box input {
  flex: 1;
  background-color: #e5d8cb;
  border: 1px solid #707070;
  border-radius: 20px;
  padding: 8px 18px;
  text-align: center;
  font-size: 0.85rem;
}

.btn-aplicar {
  background-color: #cfa85e;
  border: none;
  border-radius: 20px;
  padding: 8px 25px;
  font-weight: bold;
  cursor: pointer;
}

.resumen-total {
  margin-bottom: 20px;
  padding-top: 10px;
  border-top: 1px solid #ccc;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-monto {
  font-weight: bold;
  font-size: 1.1rem;
}

.pago-title {
  font-weight: bold;
  font-size: 1rem;
}

.webpay-container-mock {
  border: 2px solid #555;
  border-radius: 10px;
  height: 140px;
  background-color: #dcd6cd;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
}

.webpay-placeholder {
  color: #4a4a4a;
  font-weight: 500;
}

.btn-pagar-ahora {
  background-color: #8b3838;
  color: #ebdcd0;
  border: 2px solid #581d1d;
  border-radius: 25px;
  padding: 10px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-pagar-ahora:hover {
  transform: scale(1.03);
  background-color: #722b2b;
}

@media (max-width: 991px) {
  .checkout-left-col {
    border-right: none;
    padding-right: 12px !important;
    margin-bottom: 30px;
  }
  .checkout-right-col {
    padding-left: 12px !important;
  }
}

body {
    background-color: #f7f3ee !important;
    font-family: 'Instrument Serif', serif;
    color: #4a2c2a;
}

.tracking-3 {
    letter-spacing: 3px;
}

.tracking-2 {
    letter-spacing: 2px;
}

.btn-tienda-custom {
    background-color: #8c4343;
    color: white;
    border: none;
    padding: 10px 35px;
    font-size: 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-tienda-custom:hover {
    background-color: #703333;
    color: white;
}

.grid-main-container {
    border: 2px solid #cbb074;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-box {
    position: relative;
    height: 380px;
    border: 1px solid #cbb074;
    overflow: hidden;
}

.grid-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    width: 100%;
    padding: 15px;
    color: #333;
    font-size: 1.1rem;
    text-shadow: 0px 0px 5px rgba(255,255,255,0.8);
}

.overlay-top { 
    top: 10px; 
    left: 10px; 
}

.overlay-bottom { 
    bottom: 10px; 
    left: 10px; 
}

.featured-card {
    background-color: #f4c2c2;
    border-radius: 35px;
    border: 2px solid #cbb074;
    padding: 20px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-card img {
    max-height: 160px;
    object-fit: contain;
}

.btn-gold {
    background-color: #cbb074;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 6px 20px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    background-color: #b59b5f;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-image-container {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    background: #edd3d8;
}

.product-image-container .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-comprar {
    background-color: #8c4343;
    border-radius: 12px;
}

.cart-sidebar {
    transition: transform 0.2s ease-in-out;
}

.cart-sidebar.bounce {
    transform: scale(1.03);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    animation: fadeIn 0.3s ease;
}

.cart-item img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.85rem;
    font-weight: bold;
    margin: 0;
}

.cart-item-price {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.1rem;
    cursor: pointer;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(5px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

:root{
    --maroon: rgba(139, 58, 58, 1);
    --maroon-light: rgba(180, 96, 96, 0.55);
    --cream: #f7f1e6;
    --ink: #2c231e;
    --gold: #c9a24b;
    --rose: #a9767a;
}

body{
    background-color: var(--cream);
    color: var(--ink);
    font-family: "Lora", serif;
}

.italiana-regular{
    font-family: "Italiana", serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.03em;
}

header.container{
    padding-top: 24px;
}

.container-nav{
    background-color: var(--maroon);
    border-radius: 35px;
    font-size: 16px;
    padding: 10px 22px;
    color: var(--cream);
}

.brand-seal{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    border: 1px solid rgba(247, 241, 230, 0.6);
}

.brand-text{
    color: var(--cream);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.navbar-toggler{
    border-color: rgba(247, 241, 230, 0.5);
}
.navbar-toggler-icon{
    filter: invert(1) grayscale(1) brightness(2);
}

.nav-bar{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-pill{
    display: inline-block;
    padding: 6px 18px;
    border-radius: 30px;
    background-color: var(--maroon-light);
    color: var(--cream) !important;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    transition: background-color 0.2s ease;
}

.nav-pill:hover,
.nav-pill.active{
    background-color: var(--gold);
    color: var(--ink) !important;
}

.nav-dots{
    margin-left: 18px;
}
.dot{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--gold);
    display: inline-block;
}

.page-title{
    color: var(--ink);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin: 56px 0 48px;
}

main.container{
    max-width: 1080px;
}

.feature-row{
    margin-bottom: 56px;
}

.feature-row--reverse .media-frame{
    margin-left: auto;
}

.body-copy{
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--ink);
    max-width: 46ch;
}

.feature-row--reverse .body-copy{
    margin-left: auto;
}

.media-frame{
    margin: 0;
    border: 1px solid var(--gold);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(44, 35, 30, 0.12);
}

.media-frame img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-frame--wide{
    aspect-ratio: 4 / 3;
}

.media-frame--square{
    aspect-ratio: 1 / 1;
    max-width: 340px;
}

.footer{
    background-color: var(--rose);
    color: var(--cream);
    margin-top: 64px;
    padding: 56px 0 40px;
}

.footer-seal{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    margin-bottom: 18px;
}

.footer-title{
    font-size: 2rem;
    margin-bottom: 18px;
}

.footer-quote{
    font-style: italic;
    color: var(--gold);
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.footer-list{
    margin: 0;
    padding: 0;
}

.footer-item{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
}

@media (max-width: 991.98px){
    .nav-bar{
        justify-content: flex-start;
        margin-top: 12px;
    }
    .nav-pill{
        display: block;
        text-align: center;
    }
}

@media (max-width: 767.98px){
    .feature-row--reverse .media-frame,
    .feature-row--reverse .body-copy{
        margin-left: 0;
    }
    .media-frame--square{
        max-width: 100%;
    }
}


:root{
    --maroon: rgba(139, 58, 58, 1);
    --maroon-light: rgba(180, 96, 96, 0.55);
    --cream: #f7f1e6;
    --ink: #2c231e;
    --gold: #c9a24b;
    --rose: #a9767a;
}

body{
    background-color: var(--cream);
    color: var(--ink);
    font-family: "Lora", serif;
}

.italiana-regular{
    font-family: "Italiana", serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.03em;
}

header.container{
    padding-top: 24px;
}

.container-nav{
    background-color: var(--maroon);
    border-radius: 35px;
    font-size: 16px;
    padding: 10px 22px;
    color: var(--cream);
}

.brand-seal{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    border: 1px solid rgba(247, 241, 230, 0.6);
}

.brand-text{
    color: var(--cream);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.navbar-toggler{
    border-color: rgba(247, 241, 230, 0.5);
}
.navbar-toggler-icon{
    filter: invert(1) grayscale(1) brightness(2);
}

.nav-bar{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-pill{
    display: inline-block;
    padding: 6px 18px;
    border-radius: 30px;
    background-color: var(--maroon-light);
    color: var(--cream) !important;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    transition: background-color 0.2s ease;
}

.nav-pill:hover,
.nav-pill.active{
    background-color: var(--gold);
    color: var(--ink) !important;
}

.nav-dots{
    margin-left: 18px;
}
.dot{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--gold);
    display: inline-block;
}

.page-title{
    color: var(--ink);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin: 56px 0 48px;
}

main.container{
    max-width: 1080px;
}

.feature-row{
    margin-bottom: 56px;
}

.feature-row--reverse .media-frame{
    margin-left: auto;
}

.body-copy{
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--ink);
    max-width: 46ch;
}

.feature-row--reverse .body-copy{
    margin-left: auto;
}

.media-frame{
    margin: 0;
    border: 1px solid var(--gold);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(44, 35, 30, 0.12);
}

.media-frame img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-frame--wide{
    aspect-ratio: 4 / 3;
}

.media-frame--square{
    aspect-ratio: 1 / 1;
    max-width: 340px;
}

.footer{
    background-color: var(--rose);
    color: var(--cream);
    margin-top: 64px;
    padding: 56px 0 40px;
}

.footer-seal{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    margin-bottom: 18px;
}

.footer-title{
    font-size: 2rem;
    margin-bottom: 18px;
}

.footer-quote{
    font-style: italic;
    color: var(--gold);
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.footer-list{
    margin: 0;
    padding: 0;
}

.footer-item{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
}

.section-title{
    color: var(--ink);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    letter-spacing: 0.06em;
    margin: 56px 0 40px;
}

.locations-row{
    align-items: stretch;
    margin-bottom: 64px;
}

.media-frame--map{
    aspect-ratio: 4 / 5;
    max-width: 460px;
}

.media-frame--map iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.locations-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
}

.location-card{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: #fff;
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 6px 16px rgba(44, 35, 30, 0.08);
}

.location-pin{
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--maroon);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-name{
    font-size: 1.15rem;
    margin: 0 0 4px;
    color: var(--ink);
}

.location-address{
    font-size: 0.92rem;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.5;
}

.location-hours{
    font-size: 0.8rem;
    color: var(--rose);
    margin: 0;
    letter-spacing: 0.03em;
}

@media (max-width: 991.98px){
    .nav-bar{
        justify-content: flex-start;
        margin-top: 12px;
    }
    .nav-pill{
        display: block;
        text-align: center;
    }
}

@media (max-width: 767.98px){
    .feature-row--reverse .media-frame,
    .feature-row--reverse .body-copy{
        margin-left: 0;
    }
    .media-frame--square{
        max-width: 100%;
    }
}

.profile-layout {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  font-family: var(--font-base, system-ui, -apple-system, sans-serif);
}

.profile-sidebar {
  width: 180px;
  flex-shrink: 0;
}

.profile-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-link {
  font-size: 1.1rem;
  color: #8c8c8c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: #1a1a1a;
  font-weight: 700;
}

.profile-content {
  flex-grow: 1;
  max-width: 700px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  margin-top: 28px;
}

.section-header:first-child {
  margin-top: 0;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.btn-header-action {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-header-action:hover {
  background: #e8e8e8;
}

.profile-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  gap: 15px;
}

.field-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.field-label {
  color: #8c8c8c;
  font-size: 0.95rem;
}

.field-value-input {
  border: none;
  background: transparent;
  text-align: right;
  font-size: 0.95rem;
  color: #1a1a1a;
  font-weight: 500;
  outline: none;
  width: 60%;
}

.field-value-input:not([readonly]) {
  border-bottom: 1px solid var(--gold, #C9A24B);
  background: #fafafa;
  padding: 2px 8px;
}

.icon-box {
  width: 38px;
  height: 38px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  flex-shrink: 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #e06d53;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.logout-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.btn-logout {
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #e06d53;
  padding: 10px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-logout:hover {
  background: #fff5f3;
}

.logout-all-link {
  color: #e06d53;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.logout-all-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .profile-layout {
    flex-direction: column;
    gap: 25px;
  }
  .profile-sidebar nav {
    flex-direction: row;
    gap: 20px;
  }
}

/* Imagen voladora con trayectoria parabólica */
.img-fly{ position: fixed;
z-index: 9999; pointer-events: none;
border-radius: 50%;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); object-fit: cover; transition: left 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
top 0.75s cubic-bezier(0.5, 0.05, 0.8, 0.5), width 0.75s ease-in-out, height 0.75s ease-in-out, 
transform 0.75s ease-in-out, opacity 0.2s ease-in 0.55s; } @keyframes cartBounce { 0%  
{ transform: scale(1) rotate(0deg); } 30%  { transform: scale(1.25, 0.80) rotate(-6deg); } 50% 
{ transform: scale(0.88, 1.15) rotate(5deg); } 75%  { transform: scale(1.05, 0.95) rotate(-2deg); } 
100% { transform: scale(1) rotate(0deg); } } 
.cart-bounce { animation: cartBounce 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

.link-gold {
    color: #cfa85e !important;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.link-gold:hover {
    color: #f5e0ad !important; /* Dorado más claro al pasar el cursor */
    text-decoration: underline;
}

@media (max-width: 991px) {
    .shop-container {
        flex-direction: column !important;
        display: flex !important;
    }
    .cart-sidebar {
        width: 100% !important;
        position: static !important;
    }
}

@media (max-width: 768px) {
    .categories-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .search-filter-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .search-box {
        flex: 1 1 200px;
    }

    .product-image-container img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .cat-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}