﻿:root {
  --black: #070707;
  --gold: #d9ad5f;
  --green: #064b35;
  --cream: #f8f5ef;
  --white: #ffffff;
  --paper: #fcfbf8;
  --text: #1b1b1b;
  --muted: #6c675d;
  --line: #e7dfd3;
  --danger: #a53f3f;
  --ok: #217a45;
  --warning: #946500;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.06);
  --radius: 18px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.app {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(7, 7, 7, 0.96);
  border-bottom: 1px solid rgba(217, 173, 95, 0.2);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--gold);
  min-width: 170px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(217, 173, 95, 0.45);
  box-shadow: 0 0 18px rgba(217, 173, 95, 0.18);
  background: #0c0c0c;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 28px;
  letter-spacing: 2px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  padding: 8px 0;
  transition: .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  position: relative;
}

.cart-badge {
  position: absolute;
  right: -4px;
  top: -4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 28px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

/* =========================================================
   HERO FINAL AJUSTADO
   Degradado negro → esmeralda más continuo.
   Menos corte negro en el centro.
========================================================= */

.hero {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 650px;
  color: white;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 18% 35%, rgba(6, 75, 53, .45), transparent 34%),
    radial-gradient(circle at 42% 75%, rgba(6, 75, 53, .18), transparent 34%),
    linear-gradient(90deg,
      #020806 0%,
      #03110d 18%,
      #041b15 36%,
      #03130f 55%,
      #050908 74%,
      #070707 100%);
}

.hero-content {
  padding: 90px 42px 80px max(28px, calc((100vw - 1320px) / 2 + 28px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, .22) 0%,
      rgba(3, 27, 20, .18) 45%,
      rgba(3, 27, 20, .08) 78%,
      rgba(3, 27, 20, 0) 100%);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: .97;
  font-weight: 400;
}

.hero h1 em {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.hero p {
  margin: 0 0 14px;
  max-width: 560px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.7;
}

.hero-subcopy {
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-image {
  min-height: 650px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #04392c 0%, #051411 60%, #070707 100%);
  margin-left: 0;
  width: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 1;
  transform: scale(1);
  animation: heroSlowZoom 10s ease-in-out infinite alternate;
  transition: opacity .8s ease-in-out;
  z-index: 1;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, .88) 0%,
      rgba(3, 18, 14, .78) 10%,
      rgba(3, 27, 20, .62) 22%,
      rgba(3, 27, 20, .44) 36%,
      rgba(3, 27, 20, .24) 50%,
      rgba(3, 27, 20, .10) 66%,
      rgba(3, 27, 20, .02) 82%,
      rgba(3, 27, 20, 0) 100%);
  pointer-events: none;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(6, 75, 53, .52), transparent 42%),
    radial-gradient(circle at 78% 38%, rgba(217, 173, 95, .12), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .16));
  pointer-events: none;
}

@keyframes heroSlowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

/* ========================================================= */

.btn {
  border: 0;
  border-radius: 11px;
  padding: 14px 22px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #efd18f);
  color: var(--black);
  box-shadow: 0 12px 25px rgba(217, 173, 95, .22);
}

.btn-dark {
  background: rgba(255, 255, 255, .08);
  color: white;
  border: 1px solid rgba(255, 255, 255, .12);
}

.btn-light {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-green {
  background: var(--green);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-small {
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 9px;
}

.trustbar {
  background: var(--black);
  border-top: 1px solid rgba(217, 173, 95, .16);
  border-bottom: 1px solid rgba(217, 173, 95, .16);
  color: white;
}

.trust-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(217, 173, 95, .28);
  background: rgba(255, 255, 255, .04);
  flex-shrink: 0;
  font-size: 16px;
}

.trust-item strong {
  display: block;
  font-size: 15px;
  color: white;
  line-height: 1.25;
  margin-bottom: 4px;
}

.trust-item span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.45;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-title h2,
.page-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  font-weight: 400;
  color: var(--text);
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 650px;
  line-height: 1.7;
}

.link-gold {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

.collections {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.collection-card {
  height: 270px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.collection-card:hover img {
  transform: scale(1.05);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .78));
}

.collection-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: white;
}

.collection-info h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.collection-info button {
  border: 0;
  background: transparent;
  padding: 0;
  color: white;
  text-decoration: underline;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-card {
  padding: 28px;
}

.about-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
}

.about-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 16px;
}

.brand-pillars {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.pillar {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--cream);
}

.pillar strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.pillar span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.highlight-list {
  display: grid;
  gap: 14px;
}

.highlight-box {
  border-left: 4px solid var(--gold);
  background: #fffdfa;
  padding: 16px 18px;
  border-radius: 0 14px 14px 0;
}

.highlight-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.highlight-box span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  align-items: start;
}

.sidebar {
  padding: 20px;
  position: sticky;
  top: 95px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.sidebar h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.category-btn {
  width: 100%;
  text-align: left;
  border: 0;
  padding: 12px 10px;
  border-radius: 10px;
  background: transparent;
  color: #3a332b;
  transition: .2s ease;
}

.category-btn:hover,
.category-btn.active {
  background: var(--cream);
  color: var(--green);
  font-weight: 800;
}

.shop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 12px 13px;
  outline: none;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 173, 95, .12);
}

.textarea {
  min-height: 100px;
  resize: vertical;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: .2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-image-wrap {
  height: 285px;
  overflow: hidden;
  background: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 35px;
  height: 35px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .85);
  color: var(--green);
  display: grid;
  place-items: center;
  z-index: 2;
}

.product-info {
  padding: 16px;
}

.product-info h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.product-info p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  min-height: 55px;
}

.price {
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}

.stock {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.out {
  color: var(--danger);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

.product-detail {
  display: grid;
  grid-template-columns: 90px 1fr 430px;
  gap: 28px;
  align-items: start;
}

.thumbs {
  display: grid;
  gap: 12px;
}

.thumb {
  width: 80px;
  height: 80px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  background: white;
  overflow: hidden;
  cursor: pointer;
}

.thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 173, 95, .12);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.main-product-image {
  min-height: 620px;
  background: var(--cream);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.main-product-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.detail-panel {
  padding: 8px 0;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.detail-panel h1 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
}

.stars {
  color: var(--gold);
  margin-bottom: 18px;
}

.detail-price {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
}

.detail-desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.option-row {
  margin-bottom: 16px;
}

.option-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.qty {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: white;
}

.qty button {
  width: 38px;
  border: 0;
  background: white;
}

.qty span {
  min-width: 42px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.detail-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, .48);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}

.drawer-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  height: 100vh;
  background: white;
  z-index: 200;
  transform: translateX(105%);
  transition: .25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .22);
}

.cart-drawer.show {
  transform: translateX(0);
}

.drawer-head {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
}

.close-btn {
  border: 0;
  background: transparent;
  font-size: 26px;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 18px 22px;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--cream);
}

.cart-item h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.cart-item small {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.remove {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 18px;
}

.drawer-foot {
  padding: 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  margin-bottom: 16px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}

.checkout-card {
  padding: 24px;
}

.checkout-card h2 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.full {
  grid-column: 1 / -1;
}

.summary-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
}

.summary-item h4 {
  margin: 0 0 4px;
  font-size: 13px;
}

.summary-item small {
  color: var(--muted);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: #4f483f;
}

.summary-line.total {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - 76px);
  background: #f4f1eb;
}

.admin-side {
  background:
    radial-gradient(circle at top left, rgba(6, 75, 53, .22), transparent 28%),
    linear-gradient(180deg, #070707, #101010);
  color: white;
  padding: 26px 18px;
  border-right: 1px solid rgba(217, 173, 95, .18);
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.admin-logo img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(217, 173, 95, .35);
}

.admin-logo span {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 26px;
  letter-spacing: 2px;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .76);
  padding: 13px 14px;
  border-radius: 12px;
  text-align: left;
}

.admin-menu button.active,
.admin-menu button:hover {
  background: rgba(217, 173, 95, .14);
  color: white;
}

.admin-main {
  padding: 30px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-head h1 {
  margin: 0;
  font-size: 30px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #f4dca8);
  display: grid;
  place-items: center;
  color: #111;
  font-weight: 900;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  padding: 20px;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  display: block;
  font-size: 25px;
  margin-top: 8px;
}

.stat-card small {
  color: var(--green);
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.table-card {
  padding: 20px;
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .7px;
}

td img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 9px;
  background: var(--cream);
}

.row-actions {
  display: flex;
  gap: 8px;
}

.icon-action {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: white;
}

.status {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status.ok {
  background: #eaf8ef;
  color: var(--ok);
}

.status.warn {
  background: #fff4d9;
  color: var(--warning);
}

.status.danger {
  background: #fdeaea;
  color: var(--danger);
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-toolbar .input {
  max-width: 380px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, .55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.show {
  display: flex;
}

.modal {
  width: min(900px, 100%);
  background: white;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  overflow: hidden;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.modal-head {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
}

.modal-body {
  padding: 22px;
  overflow: auto;
}

.modal-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--paper);
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.order-info-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--paper);
}

.order-info-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.order-info-box p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.5;
}

.order-items-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.order-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.order-product-cell img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--cream);
  flex-shrink: 0;
}

.order-product-cell h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.order-product-cell small {
  color: var(--muted);
  display: block;
  line-height: 1.4;
}

.sent-check-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--green);
}

.sent-check-wrap input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.login-panel {
  max-width: 460px;
  margin: 70px auto;
  padding: 28px;
}

.login-panel h1 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 34px;
}

.login-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.notice {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--cream);
  color: #5a4e3f;
  font-size: 13px;
  margin: 16px 0;
  line-height: 1.6;
}

.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: white;
}

.shop-loading {
  grid-column: 1 / -1;
  min-height: 320px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(217, 173, 95, .14), transparent 32%),
    #fff;
  padding: 26px;
  display: grid;
  gap: 18px;
}

.loading-head {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 700;
}

.loader-ring {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(217, 173, 95, .25);
  border-top-color: var(--gold);
  border-radius: 999px;
  animation: spinLoader 1s linear infinite;
  flex-shrink: 0;
}

@keyframes spinLoader {
  to {
    transform: rotate(360deg);
  }
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.skeleton-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-soft);
}

.skeleton-img,
.skeleton-line {
  background: linear-gradient(90deg, #f1ece3, #fbf7ef, #f1ece3);
  background-size: 220% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-img {
  height: 190px;
}

.skeleton-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
}

.skeleton-line.short {
  width: 55%;
}

.skeleton-line.medium {
  width: 76%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.footer {
  background:
    radial-gradient(circle at top right, rgba(6, 75, 53, .25), transparent 28%),
    linear-gradient(180deg, #070707, #0e0e0e);
  color: white;
  border-top: 1px solid rgba(217, 173, 95, .18);
  margin-top: 10px;
}

.footer-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(217, 173, 95, .35);
  flex-shrink: 0;
}

.footer-brand h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--gold);
}

.footer-brand p,
.footer-col p,
.footer-col li,
.footer-col a {
  color: rgba(255, 255, 255, .76);
  line-height: 1.7;
  font-size: 14px;
  margin: 0;
}

.footer-col h4 {
  margin: 0 0 12px;
  color: white;
  font-size: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-social {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.6;
  transition: .2s ease;
}

.footer-social a:hover {
  color: var(--gold);
  transform: translateX(2px);
}

.footer-social-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 173, 95, .32);
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .04);
}

.social-svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.social-letter {
  display: block;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .3px;
  color: var(--gold);
}

.size-guide-trigger {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
  margin-top: 8px;
}

.size-guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.size-guide-tab {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  font-size: 13px;
}

.size-guide-tab.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.size-guide-panel {
  display: none;
}

.size-guide-panel.active {
  display: block;
}

.size-guide-note {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.size-guide-table th,
.size-guide-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.size-guide-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.footer-mini {
  border-top: 1px solid rgba(217, 173, 95, .14);
  padding: 16px 28px;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
}

.footer-whatsapp {
  margin-top: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 400;
  background: #111;
  color: white;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  font-weight: 700;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .about-grid,
  .shop-layout,
  .product-detail,
  .checkout-grid,
  .dashboard-grid,
  .admin-shell,
  .footer-main,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 420px;
    order: -1;
    margin-left: 0;
    width: 100%;
  }

  .hero-slide {
    object-position: center center;
  }

  .sidebar {
    position: static;
  }

  .collections {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-side {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: 72px;
  }

  .nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .container {
    padding: 28px 16px;
  }

  .hero-content {
    padding: 56px 18px;
  }

  .hero-image {
    min-height: 320px;
    margin-left: 0;
    width: 100%;
  }

  .hero-slide {
    object-position: center center;
  }

  .hero p {
    font-size: 16px;
  }

  .trust-grid,
  .collections,
  .product-grid,
  .stats-grid,
  .form-grid,
  .skeleton-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 18px;
  }

  .shop-head,
  .admin-toolbar,
  .admin-head,
  .footer-mini {
    flex-direction: column;
    align-items: stretch;
  }

  .tools {
    flex-direction: column;
    align-items: stretch;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .main-product-image,
  .main-product-image img {
    min-height: auto;
    height: 380px;
  }

  .thumbs {
    display: none;
  }

  .detail-panel h1 {
    font-size: 34px;
  }

  .footer-main {
    padding: 30px 16px;
  }

  .footer-mini {
    padding: 16px;
  }

  .brand-word {
    font-size: 24px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }
}
/* =========================================================
   BLOG / HISTORIAS AUREA
   Estilos agregados para reseñas públicas y moderación.
   No modifica pagos, Firebase ni Wompi.
========================================================= */

.blog-hero {
  padding: 34px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(6, 75, 53, .10), transparent 34%),
    linear-gradient(135deg, #ffffff, #fffdf8);
}

.blog-hero .page-title {
  margin-bottom: 14px;
}

.blog-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 760px;
}

.blog-rating-summary {
  border-radius: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(217, 173, 95, .22), transparent 34%),
    linear-gradient(180deg, #070707, #101010);
  color: white;
  border: 1px solid rgba(217, 173, 95, .22);
  box-shadow: var(--shadow-soft);
}

.blog-rating-label {
  display: block;
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  margin-bottom: 12px;
}

.blog-rating-summary strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
  color: white;
  margin-bottom: 8px;
}

.blog-rating-summary small {
  display: block;
  color: rgba(255, 255, 255, .68);
  line-height: 1.5;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 26px;
  align-items: start;
}

.blog-card {
  padding: 26px;
}

.blog-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
}

.blog-muted {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
}

.blog-section-title {
  align-items: flex-start;
  margin-bottom: 18px;
}

.review-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.review-stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background:
    radial-gradient(circle at top left, rgba(217, 173, 95, .12), transparent 34%),
    var(--paper);
}

.review-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 6px;
}

.review-stat strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
}

.review-stat small {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}

.reviews-grid {
  display: grid;
  gap: 14px;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.review-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.review-client strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
}

.review-client small {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}

.review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-card p {
  margin: 0 0 12px;
  color: #3f372f;
  line-height: 1.7;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--cream);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.review-form {
  display: grid;
  gap: 12px;
}

.review-label {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: var(--text);
  margin-top: 4px;
}

.blog-notes {
  margin-top: 34px;
}

.blog-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-note {
  padding: 22px;
  transition: .2s ease;
}

.blog-note:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.blog-note span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  background: var(--cream);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.blog-note h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.15;
}

.blog-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================================
   ADMIN RESEÑAS
   Estilos visuales para futuras reseñas en panel.
========================================================= */

.review-admin-list {
  display: grid;
  gap: 12px;
}

.review-admin-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.review-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.review-admin-head strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.review-admin-head small {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}

.review-admin-comment {
  color: var(--muted);
  line-height: 1.65;
  margin: 10px 0 12px;
}

.review-admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.review-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.review-status.pending {
  background: #fff4d9;
  color: var(--warning);
}

.review-status.approved {
  background: #eaf8ef;
  color: var(--ok);
}

.review-status.rejected {
  background: #fdeaea;
  color: var(--danger);
}

.review-detail-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--paper);
  margin-bottom: 14px;
}

.review-detail-box h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.review-detail-box p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.55;
}

.review-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.review-score-pill {
  border-radius: 12px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
}

.review-score-pill span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}

.review-score-pill strong {
  color: var(--green);
  font-size: 20px;
}

/* =========================================================
   RESPONSIVE BLOG
========================================================= */

@media (max-width: 1100px) {
  .blog-hero,
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .blog-hero,
  .blog-card {
    padding: 20px;
  }

  .review-stats-grid,
  .blog-notes-grid,
  .review-score-row {
    grid-template-columns: 1fr;
  }

  .review-card-head,
  .review-admin-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-rating-summary strong {
    font-size: 21px;
  }

  .blog-note h3 {
    font-size: 23px;
  }
}
/* =========================================================
   BLOG PUBLICACIONES / COMENTARIOS AUREA
   Estilos agregados para publicaciones de la propietaria y
   comentarios por publicación.
   No modifica pagos, Firebase, Wompi ni el diseño existente.
========================================================= */

.blog-posts-area {
  margin: 30px 0 34px;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.blog-post-card {
  padding: 0;
  overflow: hidden;
  transition: .2s ease;
  background: white;
}

.blog-post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.blog-post-image {
  height: 210px;
  background: var(--cream);
  overflow: hidden;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.blog-post-card:hover .blog-post-image img {
  transform: scale(1.04);
}

.blog-post-body {
  padding: 20px;
}

.blog-post-tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  background: var(--cream);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.blog-post-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
}

.blog-post-body p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.blog-post-open-btn {
  width: 100%;
}

.blog-post-detail {
  padding: 28px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.blog-post-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.blog-post-detail-image {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--cream);
  margin-bottom: 22px;
}

.blog-post-detail-content h1 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 400;
}

.blog-post-detail-content .blog-post-summary {
  color: var(--green);
  font-weight: 800;
  line-height: 1.75;
  margin: 0 0 18px;
}

.blog-post-content-text {
  color: #3f372f;
  line-height: 1.85;
  font-size: 16px;
  white-space: pre-line;
}

.blog-comments-area {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.blog-comment-form {
  padding: 22px;
  margin-top: 18px;
  box-shadow: none;
  background:
    radial-gradient(circle at top left, rgba(217, 173, 95, .10), transparent 32%),
    #fff;
}

.blog-comment-form h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
}

.blog-comment-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.blog-comment-card p {
  margin: 0 0 12px;
  color: #3f372f;
  line-height: 1.7;
}

.blog-comment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.blog-comment-client strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
}

.blog-comment-client small {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}

.blog-admin-post-title {
  min-width: 240px;
}

.blog-admin-post-title strong {
  display: block;
  margin-bottom: 4px;
}

.blog-admin-post-title small {
  color: var(--muted);
  line-height: 1.4;
}

.blog-post-status,
.blog-comment-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.blog-post-status.published,
.blog-comment-status.approved {
  background: #eaf8ef;
  color: var(--ok);
}

.blog-post-status.draft,
.blog-comment-status.pending {
  background: #fff4d9;
  color: var(--warning);
}

.blog-post-status.hidden,
.blog-comment-status.rejected {
  background: #fdeaea;
  color: var(--danger);
}

.blog-comment-detail-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--paper);
  margin-bottom: 14px;
}

.blog-comment-detail-box h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.blog-comment-detail-box p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.55;
}

#blogPostContent {
  min-height: 230px;
}

#blogPostDetailContent:empty::before,
#blogPostsGrid:empty::before,
#blogPostCommentsGrid:empty::before {
  content: "Sin contenido para mostrar.";
  display: block;
  padding: 34px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: white;
}

@media (max-width: 1100px) {
  .blog-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-detail {
    padding: 20px;
  }

  .blog-post-detail-head,
  .blog-comment-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-post-image {
    height: 190px;
  }

  .blog-post-detail-image {
    max-height: 280px;
  }
}
.product-review-picker {
  position: relative;
  width: 100%;
}

.product-review-results {
  display: none;
  position: relative;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

.product-review-results.active {
  display: block;
}

.product-review-option {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.product-review-option:last-child {
  border-bottom: 0;
}

.product-review-option:hover {
  background: #faf5ea;
}

.product-review-option img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: #f8f1e3;
}

.product-review-option strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.product-review-option span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}

.product-review-empty {
  padding: 12px;
  font-size: 14px;
  color: var(--muted);
  background: #fff;
}
/* =========================================================
   AUREA - FAVORITOS Y ROTACIÓN DE IMÁGENES
========================================================= */

.heart {
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.heart.active {
  color: #0c5a43;
  background: #e9f6ef;
  transform: scale(1.04);
}

.heart.active:hover {
  transform: scale(1.1);
}

.aurea-card-auto-image,
.aurea-collection-auto-image {
  transition: opacity .28s ease;
}
/* =========================================================
   AUREA - COLECCIONES FIJAS EN INICIO
========================================================= */

.collections {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aurea-home-collection {
  cursor: pointer;
}

.aurea-home-collection .collection-info p {
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  line-height: 1.45;
  margin: 8px 0 14px;
  max-width: 92%;
}

.open-collection-btn {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .collections {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   AUREA - SUBCATEGORÍAS Y BADGES
========================================================= */

.subcategory-title {
  margin-top: 24px;
}

.subcategory-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.subcategory-btn {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.subcategory-btn:hover,
.subcategory-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.subcategory-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 8px 0;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f7efe0;
  color: #5c4520;
  font-size: 12px;
  font-weight: 800;
}

.product-badge.sub {
  background: #e9f5ef;
  color: #064b35;
}
/* =========================================================
   AUREA - PAGINACIÓN ADMIN
========================================================= */

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px 2px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.admin-pagination-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-pagination-actions strong {
  color: var(--ink);
  font-size: 14px;
}

.admin-pagination .btn[disabled],
.admin-pagination button[disabled] {
  opacity: .45;
  cursor: not-allowed;
}
/* =========================================================
   AUREA - ENLACE VER RESEÑAS EN PRODUCTO
========================================================= */

.product-review-link {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 8px;
  padding: 0;
}

.product-review-link:hover {
  color: var(--gold);
}

.review-clear-filter-btn {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 10px;
  padding: 0;
}

.review-clear-filter-btn:hover {
  color: var(--gold);
}
/* =========================================================
   AUREA - TÍTULO OPTIMIZADO DEL CARRITO
========================================================= */

.cart-title-block {
  display: grid;
  gap: 4px;
}

.cart-title-block h2 {
  margin: 0;
}

.cart-title-block p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  max-width: 360px;
}
/* =========================================================
   AUREA - BREADCRUMB CLICABLE EN PRODUCTO
========================================================= */

.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.breadcrumb-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.breadcrumb-current {
  color: var(--muted);
}
/* =========================================================
   AUREA - PAGINACIÓN TIENDA PÚBLICA
========================================================= */

.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 0 4px;
  flex-wrap: wrap;
}

.shop-pagination-info {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.shop-pagination-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-pagination-actions strong {
  color: var(--ink);
  font-size: 14px;
}

.shop-pagination .btn[disabled],
.shop-pagination button[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .shop-pagination {
    align-items: stretch;
  }

  .shop-pagination-actions {
    width: 100%;
    justify-content: space-between;
  }

  .shop-pagination-actions strong {
    width: 100%;
    text-align: center;
    order: -1;
  }

  .shop-pagination-actions .btn {
    flex: 1;
  }
}
/* =========================================================
   AUREA - IMÁGENES DE PRODUCTOS LLENANDO EL CUADRO
   Llena el ancho de la tarjeta y evita franjas laterales.
========================================================= */

.product-image-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #f8f5ef;
  display: block;
  border-radius: 16px 16px 0 0;
}

.product-image-wrap img,
.product-image-wrap .aurea-card-auto-image {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover !important;
  object-position: center center !important;
  background: #f8f5ef;
}

/* En celular */
@media (max-width: 720px) {
  .product-image-wrap {
    height: 360px;
  }

  .product-image-wrap img,
  .product-image-wrap .aurea-card-auto-image {
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 420px) {
  .product-image-wrap {
    height: 340px;
  }
}
/* =========================================================
   AUREA - IMAGEN GRANDE DE PRODUCTO LLENANDO EL CUADRO
========================================================= */

.main-product-image {
  background: #f8f5ef;
  overflow: hidden;
  border-radius: 18px;
}

.main-product-image img {
  width: 100% !important;
  height: 620px !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #f8f5ef;
}

@media (max-width: 720px) {
  .main-product-image,
  .main-product-image img {
    height: 430px !important;
  }
}