:root {
  --bg: #0e100d;
  --bg-soft: #141712;
  --surface: #191c17;
  --surface-2: #20231d;
  --surface-3: #292c25;
  --text: #f5f0e5;
  --muted: #aaa99f;
  --line: rgba(235, 217, 178, 0.12);
  --gold: #d0a158;
  --gold-light: #ebc77f;
  --ember: #b94122;
  --ember-light: #e05b2d;
  --blue: #2b6480;
  --green: #25d366;
  --danger: #e05c5c;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
  --radius: 20px;
  --radius-sm: 13px;
  --container: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 10%, rgba(185, 65, 34, 0.08), transparent 25rem),
    radial-gradient(circle at 10% 55%, rgba(43, 100, 128, 0.06), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }
.container { width: var(--container); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 13, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner,
.admin-topbar-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mini { display: inline-flex; align-items: center; gap: 11px; }
.brand-mini img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(208, 161, 88, 0.28);
}
.brand-mini span {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.brand-mini small { display: block; color: var(--muted); margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-link { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.header-link:hover { color: var(--text); }

.admin-access {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.025);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
  transition: .2s ease;
}
.admin-access:hover { color: var(--gold-light); border-color: rgba(208,161,88,.45); }
.admin-access svg { width: 16px; height: 16px; fill: currentColor; }

.hero {
  min-height: 575px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(14,16,13,.98) 0%, rgba(14,16,13,.84) 48%, rgba(14,16,13,.25) 100%),
    linear-gradient(180deg, transparent 0%, rgba(14,16,13,.62) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to right, transparent, black 60%, black);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 50px;
  align-items: center;
  padding-block: 72px;
}
.hero-copy { max-width: 670px; }
.eyebrow,
.section-kicker {
  display: inline-flex;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 800;
}
.hero h1,
.section-heading h2,
.admin-section-heading h1,
.admin-login-card h1,
.modal-card h2 {
  font-family: "Cinzel", serif;
  letter-spacing: -.025em;
}
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.25rem);
  line-height: .98;
  margin: 18px 0 24px;
  max-width: 830px;
}
.hero h1 span {
  background: linear-gradient(95deg, var(--gold-light), var(--gold), #a86630);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { max-width: 620px; color: #c4c1b7; font-size: 1.05rem; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  border: 1px solid transparent;
  min-height: 44px;
  border-radius: 12px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #c28035, var(--gold));
  color: #17130c;
  box-shadow: 0 11px 30px rgba(208,161,88,.14);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.035); color: var(--text); }
.btn-ghost:hover { border-color: rgba(208,161,88,.45); background: rgba(208,161,88,.06); }
.btn-danger-outline { border-color: rgba(224,92,92,.35); color: #ff9494; background: rgba(224,92,92,.04); }
.btn-danger-outline:hover { background: rgba(224,92,92,.1); }
.btn-small { min-height: 36px; padding: 7px 12px; border-radius: 9px; font-size: .82rem; }
.btn-full { width: 100%; }

.hero-logo-wrap { position: relative; display: grid; place-items: center; min-height: 430px; }
.hero-logo {
  width: min(520px, 95%);
  height: auto;
  position: relative;
  z-index: 2;

  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.hero-logo-halo {
  display: none;
  
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 450px; height: 450px; right: -160px; top: -130px; background: rgba(185,65,34,.09); }
.hero-glow-two { width: 300px; height: 300px; left: 30%; bottom: -190px; background: rgba(43,100,128,.08); }

.category-bar {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: rgba(17,19,15,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.category-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  padding: 13px 1px;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-pill {
  flex: 0 0 auto;
  color: var(--muted);
  background: #181b16;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 750;
  transition: .18s ease;
}
.category-pill:hover { color: var(--text); border-color: rgba(208,161,88,.35); }
.category-pill.is-active { color: #17130c; background: var(--gold); border-color: var(--gold); }

.subcategory-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 14px;
  padding: 11px 14px;
  border: 1px solid rgba(208,161,88,.18);
  border-radius: 13px;
  background: linear-gradient(90deg, rgba(208,161,88,.075), rgba(255,255,255,.018));
  box-shadow: inset 3px 0 0 rgba(208,161,88,.55);
}
.subcategory-label {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding-right: 13px;
  border-right: 1px solid rgba(208,161,88,.2);
}
.subcategory-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  min-width: 0;
  padding: 1px 0;
  scrollbar-width: none;
}
.subcategory-nav::-webkit-scrollbar { display: none; }
.subcategory-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(208,161,88,.16);
  border-radius: 999px;
  background: rgba(8,10,8,.42);
  color: #c9c5bb;
  padding: 7px 12px;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}
.subcategory-pill:hover {
  color: var(--text);
  border-color: rgba(208,161,88,.48);
  background: rgba(208,161,88,.08);
}
.subcategory-pill.is-active {
  color: #17130c;
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 5px 16px rgba(208,161,88,.12);
}

.section { padding: 86px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 31px;
}
.section-heading h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 7px 0 6px; }
.section-heading p { margin: 0; color: var(--muted); }
.catalog-controls { min-width: 220px; }
.catalog-controls label { display: block; color: var(--muted); font-size: .76rem; font-weight: 800; margin-bottom: 6px; }
select,
input,
textarea {
  width: 100%;
  color: var(--text);
  background: #11140f;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input, select { height: 44px; padding: 0 12px; }
textarea { resize: vertical; min-height: 100px; padding: 11px 12px; }
input:focus, select:focus, textarea:focus { border-color: rgba(208,161,88,.58); box-shadow: 0 0 0 3px rgba(208,161,88,.08); }
select { cursor: pointer; }

.product-availability-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}
.product-availability-control > div { min-width: 0; }
.product-availability-control strong { display: block; font-size: .86rem; margin-bottom: 3px; }
.product-availability-control > div > span { display: block; color: var(--muted); font-size: .74rem; line-height: 1.4; }
.toggle-control {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  cursor: pointer;
  margin: 0 !important;
}
.toggle-control input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.toggle-track {
  position: relative;
  width: 48px;
  height: 27px;
  border-radius: 999px;
  background: #31352d;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .18s ease, border-color .18s ease;
}
.toggle-thumb {
  position: absolute;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  left: 2px;
  top: 2px;
  background: #d7d5ce;
  transition: transform .18s ease, background .18s ease;
}
.toggle-control input:checked + .toggle-track { background: rgba(208,161,88,.38); border-color: rgba(208,161,88,.62); }
.toggle-control input:checked + .toggle-track .toggle-thumb { transform: translateX(21px); background: var(--gold-light); }
.toggle-control input:focus-visible + .toggle-track { box-shadow: 0 0 0 3px rgba(208,161,88,.12); }
.toggle-label { min-width: 70px; color: var(--text); font-size: .78rem; font-weight: 800; }

.product-soldout-control .toggle-control input:checked + .toggle-track {
  background: rgba(201,70,70,.34);
  border-color: rgba(224,92,92,.62);
}
.product-soldout-control .toggle-control input:checked + .toggle-track .toggle-thumb { background: #ffd4d4; }
.product-soldout-control .toggle-control input:checked ~ .toggle-label { color: #ffb9b9; }

.featured-products-block {
  position: relative;
  margin-bottom: 42px;
  padding: 28px;
  border: 1px solid rgba(208,161,88,.3);
  border-radius: calc(var(--radius) + 5px);
  background:
    radial-gradient(circle at 8% 0%, rgba(208,161,88,.11), transparent 28rem),
    linear-gradient(180deg, rgba(40,36,24,.7), rgba(22,24,19,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 18px 45px rgba(0,0,0,.12);
  overflow: hidden;
}
.featured-products-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .72;
}
.featured-products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.featured-products-kicker {
  display: inline-block;
  color: var(--gold-light);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.featured-products-heading h3,
.catalog-products-subheading h3 {
  font-family: "Cinzel", serif;
  color: var(--text);
  margin: 5px 0 4px;
}
.featured-products-heading h3 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.featured-products-heading p { margin: 0; color: var(--muted); font-size: .84rem; }
.featured-product-grid { position: relative; z-index: 1; }
.featured-product-grid .product-card {
  border-color: rgba(208,161,88,.27);
  box-shadow: 0 13px 38px rgba(0,0,0,.2);
}
.featured-product-grid .product-card:hover { border-color: rgba(232,190,104,.52); }
.catalog-products-block { min-width: 0; }
.catalog-products-subheading { margin: 0 0 20px; }
.catalog-products-subheading h3 { font-size: 1.45rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31,34,28,.96), rgba(20,23,18,.96));
  box-shadow: 0 13px 35px rgba(0,0,0,.16);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(208,161,88,.28); box-shadow: var(--shadow); }
.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0b0d0a;
}
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-gallery-control, .product-detail-gallery-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(10,12,9,.72);
  color: #fff6df;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: .92;
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}
.product-gallery-control:hover, .product-detail-gallery-control:hover { background: rgba(208,161,88,.9); color: #17140d; }
.product-gallery-prev, .product-detail-gallery-prev { left: 10px; }
.product-gallery-next, .product-detail-gallery-next { right: 10px; }
.product-gallery-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 80px);
}
.product-gallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0,0,0,.32);
}
.product-gallery-dot.is-active { width: 18px; background: var(--gold-light); }
.product-soldout-badge {
  position: absolute;
  z-index: 6;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 6px 10px;
  border: 1px solid rgba(255,150,150,.5);
  border-radius: 999px;
  background: rgba(129,28,28,.9);
  color: #fff0f0;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}
.product-card.is-sold-out .product-image { filter: saturate(.62) brightness(.82); }

.product-gallery-counter {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: 9px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(10,12,9,.72);
  color: #fff6df;
  font-size: .62rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.product-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff6df;
  background: rgba(14,16,13,.82);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}
.product-body {
  padding: 17px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 { margin: 0; font-size: 1rem; line-height: 1.3; min-height: 2.6em; }
.product-description {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
  white-space: pre-line;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.product-price { font-family: "Cinzel", serif; color: var(--gold-light); font-size: 1.18rem; font-weight: 800; }
.whatsapp-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #06200f;
  box-shadow: 0 10px 22px rgba(37,211,102,.14);
  transition: transform .18s ease, filter .18s ease;
}
.whatsapp-btn:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.05); }
.whatsapp-btn.is-disabled { opacity: .38; filter: grayscale(1); pointer-events: none; }
.whatsapp-btn svg { width: 22px; height: 22px; fill: currentColor; flex: 0 0 auto; }
.whatsapp-btn-label {
  width: auto;
  min-width: 126px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}
.whatsapp-btn-label span { font-size: .67rem; font-weight: 900; letter-spacing: .035em; }

.sold-out-btn {
  min-width: 126px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(224,92,92,.36);
  border-radius: 12px;
  background: rgba(115,38,38,.3);
  color: #ffbaba;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  cursor: not-allowed;
  opacity: .88;
}

.events-section { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(28,31,25,.42), rgba(14,16,13,0)); }
.events-badge { border: 1px solid rgba(208,161,88,.22); background: rgba(208,161,88,.06); color: var(--gold-light); border-radius: 999px; padding: 8px 12px; font-size: .78rem; font-weight: 800; }
.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.event-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(35,38,31,.96), rgba(21,24,19,.96));
  border-radius: var(--radius);
  min-height: 100%;
  box-shadow: 0 14px 35px rgba(0,0,0,.12);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.event-card:hover { transform: translateY(-4px); border-color: rgba(208,161,88,.28); box-shadow: var(--shadow); }
.event-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--ember-light), var(--gold));
}
.event-image-wrap { aspect-ratio: 16 / 9; overflow: hidden; background: #0b0d0a; }
.event-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.event-card:hover .event-image { transform: scale(1.035); }
.event-body { display: flex; flex-direction: column; flex: 1; padding: 20px 21px 19px 23px; }
.event-date { color: var(--gold-light); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.event-card h3 { font-family: "Cinzel", serif; font-size: 1.3rem; margin: 9px 0 10px; }
.event-time { display: inline-flex; align-items: center; gap: 6px; color: #d8d4ca; font-size: .87rem; font-weight: 700; }
.event-description { color: var(--muted); margin: 13px 0 0; font-size: .9rem; white-space: pre-line; }
.event-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 19px; }
.event-attendance { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(208,161,88,.2); background: rgba(208,161,88,.065); color: #e8d6b2; font-size: .78rem; font-weight: 800; }

.empty-state { text-align: center; padding: 54px 20px; border: 1px dashed rgba(208,161,88,.22); border-radius: var(--radius); background: rgba(255,255,255,.015); }
.empty-icon { color: var(--gold); font-size: 2rem; }
.empty-state h3 { font-family: "Cinzel", serif; margin: 7px 0; }
.empty-state p { color: var(--muted); margin: 0; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; background: #0b0d0a; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 9px; }
.footer-brand strong { font-family: "Cinzel", serif; display: block; }
.footer-brand span, .footer a { color: var(--muted); font-size: .82rem; }

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  padding: 18px;
}
.modal-card,
.admin-login-card {
  width: min(440px, 100%);
  border: 1px solid rgba(208,161,88,.2);
  background: linear-gradient(165deg, #20231d, #121510);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 36px 90px rgba(0,0,0,.55);
}
.modal-card { position: relative; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
  font-size: 1.3rem;
}
.modal-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(208,161,88,.09); color: var(--gold-light); margin-bottom: 18px; }
.modal-icon svg { width: 22px; fill: currentColor; }
.modal-card h2 { margin: 5px 0 8px; font-size: 1.8rem; }
.modal-card > p { color: var(--muted); margin: 0 0 22px; }

.stack-form { display: grid; gap: 15px; }
.stack-form label { display: grid; gap: 7px; color: #cbc7bc; font-size: .79rem; font-weight: 800; }
.form-message { min-height: 20px; color: #ff9c8d; font-size: .8rem; }
.form-message.success { color: #74df9a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-help { color: var(--muted); font-size: .72rem; margin-top: -9px; }
.field-help-inside { margin-top: 0; font-weight: 500; }
.field-separator { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .72rem; }
.field-separator::before, .field-separator::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.toast {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  max-width: min(520px, calc(100% - 30px));
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: #262a22;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  font-size: .86rem;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(224,92,92,.38); }
.toast.success { border-color: rgba(116,223,154,.35); }


/* FICHA DE PRODUCTO */
.product-detail-main {
  min-height: calc(100vh - 150px);
  padding: 54px 0 86px;
  background:
    radial-gradient(circle at 80% 8%, rgba(185,65,34,.08), transparent 27rem),
    radial-gradient(circle at 15% 75%, rgba(43,100,128,.05), transparent 24rem);
}
.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
  margin-bottom: 25px;
}
.product-back-link:hover { color: var(--gold-light); }
.product-detail-card {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(20px, 4vw, 46px);
  background: linear-gradient(145deg, rgba(31,34,28,.97), rgba(17,20,15,.97));
  box-shadow: 0 28px 75px rgba(0,0,0,.26);
}
.product-detail-gallery {
  position: sticky;
  top: 105px;
  min-width: 0;
}
.product-detail-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  background: #0b0d0a;
}
.product-detail-image { width: 100%; height: 100%; object-fit: cover; }
.product-detail-gallery-control { width: 44px; height: 44px; font-size: 2.1rem; }
.product-detail-gallery-counter {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(10,12,9,.76);
  color: #fff6df;
  font-size: .72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.product-detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 9px;
  margin-top: 11px;
}
.product-detail-thumbnail {
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #0b0d0a;
  cursor: pointer;
  opacity: .64;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}
.product-detail-thumbnail:hover { opacity: .9; transform: translateY(-1px); }
.product-detail-thumbnail.is-active { opacity: 1; border-color: var(--gold); }
.product-detail-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail-content { min-width: 0; padding-top: 6px; }
.product-detail-category {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(208,161,88,.2);
  background: rgba(208,161,88,.07);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.product-detail-content h1 {
  font-family: "Cinzel", serif;
  /* El título se adapta al ancho real de la ficha y nunca sale de la tarjeta. */
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 17px 0 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}
.product-detail-price {
  font-family: "Cinzel", serif;
  color: var(--gold-light);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
}
.product-detail-short {
  color: #d4d0c6;
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 19px 0 0;
  white-space: pre-line;
}
.product-detail-divider { height: 1px; background: var(--line); margin: 28px 0; }
.product-detail-description h2 {
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  margin: 0 0 12px;
}
.product-detail-description p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.product-whatsapp-large {
  margin-top: 32px;
  min-height: 52px;
  width: fit-content;
  background: var(--green);
  color: #06200f;
  box-shadow: 0 13px 30px rgba(37,211,102,.15);
}
.product-whatsapp-large:hover { filter: brightness(1.05); }
.product-whatsapp-icon { display: grid; place-items: center; }
.product-whatsapp-icon svg { width: 23px; height: 23px; fill: currentColor; }
.product-whatsapp-note { color: var(--muted); font-size: .83rem; margin: 20px 0 0; }

.product-detail-soldout {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
  width: fit-content;
  padding: 12px 15px;
  border: 1px solid rgba(224,92,92,.34);
  border-radius: 13px;
  background: rgba(115,38,38,.18);
  color: #f2c5c5;
}
.product-detail-soldout strong { color: #ff9f9f; font-size: .78rem; letter-spacing: .08em; }
.product-detail-soldout span { color: #d8c2c2; font-size: .86rem; }
.product-detail-state {
  min-height: 390px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 22px;
}
.product-detail-error { align-content: center; gap: 12px; }
.product-detail-error h1 { font-family: "Cinzel", serif; color: var(--text); margin: 0; }
.product-detail-error p { margin: 0 0 8px; }

/* ADMIN */
.admin-body { background: #0c0e0b; }
.admin-login-screen { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; background: radial-gradient(circle at 50% 0%, rgba(185,65,34,.12), transparent 32rem), #0c0e0b; }
.admin-login-card { text-align: center; }
.admin-login-logo { width: 118px; height: 118px; border-radius: 22px; object-fit: cover; margin: 0 auto 18px; box-shadow: var(--shadow); }
.admin-login-card h1 { margin: 7px 0 8px; font-size: 2rem; }
.admin-login-card > p { color: var(--muted); font-size: .88rem; margin: 0 0 23px; }
.back-home { display: inline-flex; margin-bottom: 19px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.back-home:hover { color: var(--text); }
.admin-login-card .stack-form { text-align: left; }
.admin-topbar { position: sticky; top: 0; z-index: 60; background: rgba(12,14,11,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.admin-user-actions { display: flex; align-items: center; gap: 10px; }
.admin-user-actions > span { color: var(--muted); font-size: .8rem; }
.admin-layout { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 32px; padding-top: 36px; padding-bottom: 70px; }
.admin-sidebar { display: flex; flex-direction: column; gap: 8px; align-self: start; position: sticky; top: 106px; }
.admin-tab {
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 11px 13px;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
}
.admin-tab span { display: inline-block; width: 24px; color: var(--gold); }
.admin-tab:hover { background: rgba(255,255,255,.025); color: var(--text); }
.admin-tab.is-active { background: rgba(208,161,88,.09); color: var(--gold-light); border-color: rgba(208,161,88,.15); }
.admin-panel { display: none; }
.admin-panel.is-active { display: block; }
.admin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.admin-section-heading h1 { margin: 6px 0 4px; font-size: 2.25rem; }
.admin-section-heading p { margin: 0; color: var(--muted); }
.admin-split { display: grid; grid-template-columns: minmax(320px,.8fr) minmax(420px,1.2fr); gap: 20px; align-items: start; }
.admin-split-narrow { grid-template-columns: minmax(300px,.65fr) minmax(420px,1.35fr); }
.admin-card { border: 1px solid var(--line); border-radius: var(--radius); background: #151813; box-shadow: 0 18px 45px rgba(0,0,0,.13); }
.form-card { padding: 22px; position: sticky; top: 106px; }
.form-card h2, .list-card h2 { font-family: "Cinzel", serif; font-size: 1.22rem; margin: 0 0 18px; }
.list-card { padding: 20px; min-width: 0; }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title-row h2 { margin-bottom: 16px; }
.count-badge { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: rgba(208,161,88,.09); color: var(--gold-light); font-size: .75rem; font-weight: 800; }
.icon-button { width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.1rem; }
.admin-list { display: grid; gap: 10px; }
.admin-list-empty { padding: 28px 12px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.admin-list-item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.015); border-radius: 13px; }
.admin-list-thumb { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; background: #0d0f0c; }
.admin-list-info { min-width: 0; }
.admin-list-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-list-info small { color: var(--muted); display: block; margin-top: 3px; }
.admin-list-actions { display: flex; gap: 7px; }
.mini-action { border: 1px solid var(--line); border-radius: 9px; background: #1b1f19; color: #d6d1c7; padding: 7px 9px; font-size: .74rem; font-weight: 800; cursor: pointer; }
.mini-action:hover { border-color: rgba(208,161,88,.34); }
.mini-action.danger { color: #ff9292; }
.category-admin-item { grid-template-columns: 1fr auto; }
.category-forms-card { display: grid; gap: 22px; }
.category-form-block h2 { margin-bottom: 16px; }
.category-form-divider { height: 1px; background: var(--line); }
.category-admin-group { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: rgba(255,255,255,.012); }
.category-admin-group > .category-admin-item { border: 0; border-radius: 0; background: transparent; }
.admin-subcategory-list { display: grid; border-top: 1px solid var(--line); padding: 7px 11px 10px 28px; gap: 6px; background: rgba(0,0,0,.08); }
.admin-subcategory-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.admin-subcategory-row > span { position: relative; min-width: 0; color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-subcategory-row > span::before { content: "↳"; color: var(--gold); margin-right: 7px; }
.mini-action-compact { padding: 5px 7px; font-size: .68rem; }
.event-admin-item { grid-template-columns: auto 1fr auto; }
.image-input-block { border: 1px solid var(--line); padding: 13px; border-radius: 13px; display: grid; gap: 12px; background: rgba(255,255,255,.013); }
.image-input-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.image-input-heading > div { display: grid; gap: 4px; }
.image-input-heading strong { color: #cbc7bc; font-size: .8rem; }
.image-input-heading span { color: var(--muted); font-size: .7rem; font-weight: 500; }
.btn-small { min-height: 34px; padding: 7px 10px; font-size: .72rem; white-space: nowrap; }
.product-image-url-list { display: grid; gap: 9px; }
.product-image-url-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0,0,0,.09); }
.product-image-url-main { display: grid; gap: 6px; min-width: 0; }
.product-image-number { color: var(--gold-light); font-size: .68rem; font-weight: 800; }
.product-image-url-actions { display: flex; gap: 5px; }
.image-row-action { width: 32px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #1b1f19; color: #d6d1c7; cursor: pointer; font-size: 1rem; font-weight: 800; }
.image-row-action:hover:not(:disabled) { border-color: rgba(208,161,88,.42); color: var(--gold-light); }
.image-row-action.danger { color: #ff9292; }
.image-row-action:disabled { opacity: .28; cursor: default; }
.product-images-help { margin-top: 0; }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .admin-split, .admin-split-narrow { grid-template-columns: 1fr; }
  .form-card { position: static; }
}

@media (max-width: 820px) {
  .featured-products-block { padding: 22px; }
  .product-detail-card { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-gallery { position: static; width: min(100%, 620px); margin-inline: auto; }
  .hero-content { grid-template-columns: 1fr; padding-block: 60px; }
  .hero-logo-wrap { min-height: auto; order: -1; }
  .hero-logo { width: min(270px, 67vw); border-radius: 22px; }
  .hero-logo-halo { width: 250px; height: 250px; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .admin-sidebar { position: static; flex-direction: row; overflow-x: auto; }
  .admin-tab { flex: 0 0 auto; }
  .admin-user-actions > span { display: none; }
}

@media (max-width: 580px) {
  .featured-products-block { margin-left: -2px; margin-right: -2px; padding: 20px 13px; }
  .featured-products-block::before { left: 13px; right: 13px; }
  .featured-products-heading { margin-bottom: 17px; }
  .product-detail-main { padding: 30px 0 60px; }
  .product-detail-card { padding: 15px; border-radius: 18px; }
  .product-detail-image-wrap { border-radius: 14px; }
  .product-detail-gallery-control { width: 38px; height: 38px; font-size: 1.8rem; }
  .product-detail-thumbnails { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 7px; }
  .product-detail-content h1 { font-size: 2rem; }
  .product-whatsapp-large { width: 100%; }
  :root { --container: min(100% - 24px, 1180px); --radius: 16px; }
  .brand-mini span { display: none; }
  .header-link { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding-block: 42px 52px; gap: 30px; }
  .hero h1 { font-size: 2.55rem; }
  .hero p { font-size: .94rem; }
  .hero-logo { width: min(220px, 65vw); }
  .section { padding: 62px 0; }
  .section-heading, .admin-section-heading { display: block; }
  .catalog-controls { margin-top: 17px; width: 100%; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .product-body { padding: 12px; }
  .product-category-tag { top: 8px; left: 8px; font-size: .6rem; max-width: calc(100% - 16px); }
  .product-body h3 { font-size: .88rem; }
  .product-description { display: block; font-size: .78rem; line-height: 1.45; }
  .product-price { font-size: 1rem; }
  .whatsapp-btn { height: 38px; border-radius: 10px; }
  .whatsapp-btn:not(.whatsapp-btn-label) { width: 38px; }
  .product-footer { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-footer .product-price { align-self: flex-start; }
  .product-footer .whatsapp-btn-label { width: 100%; min-width: 0; padding-inline: 7px; }
  .product-footer .sold-out-btn { width: 100%; min-width: 0; }
  .product-footer .whatsapp-btn-label span { font-size: .58rem; }
  .event-footer { flex-wrap: wrap; }
  .event-footer .whatsapp-btn-label { min-width: 0; }
  .product-availability-control { align-items: flex-start; flex-direction: column; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .image-input-heading { align-items: stretch; flex-direction: column; }
  .image-input-heading .btn { width: 100%; }
  .product-image-url-row { grid-template-columns: 1fr; }
  .product-image-url-actions { justify-content: flex-end; }
  .modal-card, .admin-login-card { padding: 23px; }
  .admin-topbar-inner { align-items: flex-start; padding-block: 12px; }
  .admin-user-actions { flex-wrap: wrap; justify-content: flex-end; }
  .admin-section-heading .btn { width: 100%; margin-top: 14px; }
  .admin-card { border-radius: 15px; }
  .list-card { padding: 13px; }
  .admin-list-item { grid-template-columns: auto 1fr; }
  .admin-list-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .category-admin-item { grid-template-columns: 1fr auto; }
.category-forms-card { display: grid; gap: 22px; }
.category-form-block h2 { margin-bottom: 16px; }
.category-form-divider { height: 1px; background: var(--line); }
.category-admin-group { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: rgba(255,255,255,.012); }
.category-admin-group > .category-admin-item { border: 0; border-radius: 0; background: transparent; }
.admin-subcategory-list { display: grid; border-top: 1px solid var(--line); padding: 7px 11px 10px 28px; gap: 6px; background: rgba(0,0,0,.08); }
.admin-subcategory-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.admin-subcategory-row > span { position: relative; min-width: 0; color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-subcategory-row > span::before { content: "↳"; color: var(--gold); margin-right: 7px; }
.mini-action-compact { padding: 5px 7px; font-size: .68rem; }
  .category-admin-item .admin-list-actions { grid-column: auto; }
  .subcategory-row { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 12px; padding: 11px 12px; }
  .subcategory-label { width: 100%; padding-right: 0; padding-bottom: 8px; border-right: 0; border-bottom: 1px solid rgba(208,161,88,.18); }
  .subcategory-nav { width: 100%; }
  .admin-subcategory-list { padding-left: 14px; }
  .event-admin-item { grid-template-columns: auto 1fr; }
  .event-admin-item .admin-list-actions { grid-column: 1 / -1; }
}

/* ===== Estados de producto, cesta y pedidos ===== */
.status-filter-row {
  margin-top: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(208,161,88,.13);
  border-radius: 13px;
  background: rgba(208,161,88,.025);
}
.status-filter-label {
  flex: 0 0 auto;
  padding-right: 14px;
  border-right: 1px solid rgba(208,161,88,.18);
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-filter-nav { display: flex; flex-wrap: wrap; gap: 7px; }
.status-filter-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.018);
  color: var(--muted);
  padding: 7px 11px;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}
.status-filter-pill:hover { color: var(--text); border-color: rgba(208,161,88,.3); }
.status-filter-pill.is-active { color: #17140d; background: var(--gold-light); border-color: var(--gold-light); }

.product-status-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  margin: 0 0 9px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .66rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .02em;
  border: 1px solid transparent;
}
.product-status-badge.is-stock { color: #bdf2cc; background: rgba(38,143,78,.18); border-color: rgba(72,194,112,.28); }
.product-status-badge.is-preventa { color: #e5c8ff; background: rgba(126,67,178,.2); border-color: rgba(190,126,244,.3); }
.product-status-badge.is-reposicion { color: #ffd2a0; background: rgba(190,102,28,.2); border-color: rgba(237,142,58,.3); }
.product-action-group { display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-width: 138px; }
.product-action-group .whatsapp-btn-label, .product-action-group .sold-out-btn { width: 100%; min-width: 0; }
.cart-add-btn {
  min-height: 36px;
  border: 1px solid rgba(208,161,88,.28);
  border-radius: 10px;
  background: rgba(208,161,88,.08);
  color: var(--gold-light);
  padding: 7px 10px;
  font: inherit;
  font-size: .66rem;
  font-weight: 900;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.cart-add-btn:hover { transform: translateY(-1px); border-color: rgba(232,190,104,.55); background: rgba(208,161,88,.13); }

.product-detail-status { margin-top: 12px; margin-bottom: 2px; }
.product-detail-actions { display: flex; align-items: stretch; gap: 10px; margin-top: 22px; }
.product-detail-actions .product-whatsapp-large { margin-top: 0; }
.cart-add-btn-large { min-height: 48px; padding-inline: 18px; font-size: .76rem; border-radius: 12px; }

.cart-header-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: var(--gold-light);
  cursor: pointer;
}
.cart-header-btn:hover { border-color: rgba(208,161,88,.35); background: rgba(208,161,88,.06); }
.cart-header-btn svg { width: 22px; height: 22px; fill: currentColor; }
.cart-header-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #11130f;
  border-radius: 999px;
  background: #d56442;
  color: #fff;
  font-size: .62rem;
  font-weight: 900;
}
.cart-backdrop { position: fixed; inset: 0; z-index: 160; background: rgba(0,0,0,.58); backdrop-filter: blur(3px); }
.cart-drawer {
  position: fixed;
  z-index: 170;
  top: 0;
  right: 0;
  width: min(540px, 94vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #11140f;
  border-left: 1px solid rgba(208,161,88,.18);
  box-shadow: -25px 0 70px rgba(0,0,0,.38);
  transform: translateX(105%);
  transition: transform .25s ease;
}
.cart-drawer.is-open { transform: translateX(0); }
body.cart-open { overflow: hidden; }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.cart-drawer-header h2 { margin: 3px 0 0; font-size: 1.7rem; }
.cart-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font-size: 1.45rem; cursor: pointer; }
.cart-change-notice { margin: 12px 18px 0; padding: 10px 12px; border-radius: 10px; font-size: .76rem; line-height: 1.45; }
.cart-change-notice.warning { color: #ffe0a8; background: rgba(162,103,25,.18); border: 1px solid rgba(232,174,76,.28); }
.cart-change-notice.error { color: #ffc0c0; background: rgba(148,42,42,.2); border: 1px solid rgba(224,92,92,.28); }
.cart-change-notice.success { color: #c7f4d4; background: rgba(35,132,68,.18); border: 1px solid rgba(72,194,112,.25); }
.cart-body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px; display: grid; align-content: start; gap: 16px; }
.cart-empty { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; color: var(--muted); }
.cart-empty strong { color: var(--text); font-family: "Cinzel", serif; }
.cart-group { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.012); }
.cart-group-heading { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.cart-group-heading > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cart-group-heading strong { font-size: .78rem; }
.cart-group-heading span { color: var(--muted); font-size: .68rem; }
.cart-line { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.055); }
.cart-line-image { width: 58px; height: 58px; object-fit: cover; border-radius: 9px; background: #090b08; }
.cart-line-main { min-width: 0; display: grid; gap: 4px; }
.cart-line-main > strong { font-size: .78rem; line-height: 1.25; }
.cart-line-main > span { color: var(--muted); font-size: .68rem; }
.cart-line-total { font-size: .78rem; color: var(--gold-light); white-space: nowrap; }
.cart-line-controls { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.cart-line-controls button { min-width: 28px; height: 27px; border: 1px solid var(--line); border-radius: 7px; background: #1b1f19; color: var(--text); cursor: pointer; }
.cart-line-controls span { min-width: 18px; text-align: center; font-size: .72rem; font-weight: 800; }
.cart-line-controls .cart-remove { width: auto; padding-inline: 8px; color: #ffaaaa; font-size: .65rem; }
.cart-subtotal, .cart-total { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.cart-subtotal { padding: 10px 12px; font-size: .76rem; }
.cart-total { padding: 16px 4px 2px; font-size: 1.03rem; }
.cart-total strong { color: var(--gold-light); font-family: "Cinzel", serif; font-size: 1.25rem; }
.cart-checkout { flex: 0 0 auto; padding: 16px 18px 20px; border-top: 1px solid var(--line); background: #151813; display: grid; gap: 10px; }
.cart-checkout label { display: grid; gap: 5px; color: #d9d4ca; font-size: .72rem; font-weight: 800; }
.cart-checkout input, .cart-checkout textarea { width: 100%; }
.field-optional { color: var(--muted); font-weight: 500; }
.cart-checkout-help { margin: 0; color: var(--muted); font-size: .66rem; line-height: 1.4; }

.admin-heading-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.product-status-fields { align-items: end; }
.product-status-help { margin-top: -4px; }
.admin-tab-count { min-width: 21px; height: 21px; padding: 0 5px; display: inline-grid; place-items: center; margin-left: auto; border-radius: 999px; background: #b64932; color: #fff; font-size: .63rem; }
.orders-filter { display: grid; gap: 5px; min-width: 190px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.admin-orders-list { display: grid; gap: 12px; }
.admin-order-card { border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.013); overflow: hidden; }
.admin-order-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 13px; }
.admin-order-main { min-width: 0; display: grid; gap: 3px; }
.admin-order-main strong { font-size: .88rem; }
.admin-order-main span { color: var(--muted); font-size: .72rem; }
.admin-order-total { color: var(--gold-light); white-space: nowrap; }
.admin-order-controls { padding: 0 13px 12px; }
.admin-order-controls label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.admin-order-controls select { min-width: 150px; padding-block: 8px; }
.admin-order-details { border-top: 1px solid var(--line); }
.admin-order-details summary { padding: 10px 13px; cursor: pointer; color: var(--gold-light); font-size: .72rem; font-weight: 800; }
.admin-order-detail-body { padding: 2px 13px 13px; display: grid; gap: 13px; }
.admin-order-group { display: grid; gap: 6px; }
.admin-order-group h3 { margin: 0 0 2px; font-size: .78rem; font-family: "Inter", sans-serif; }
.admin-order-line { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .72rem; }
.admin-order-line strong { color: var(--text); white-space: nowrap; }
.admin-order-comment { padding: 10px; border-radius: 9px; background: rgba(255,255,255,.025); }
.admin-order-comment strong { font-size: .72rem; }
.admin-order-comment p { margin: 5px 0 0; color: var(--muted); font-size: .75rem; white-space: pre-wrap; }

@media (max-width: 580px) {
  .status-filter-row { align-items: flex-start; flex-direction: column; gap: 9px; padding: 11px 12px; }
  .status-filter-label { width: 100%; padding-right: 0; padding-bottom: 8px; border-right: 0; border-bottom: 1px solid rgba(208,161,88,.18); }
  .status-filter-nav { width: 100%; }
  .status-filter-pill { flex: 1 1 calc(50% - 7px); text-align: center; }
  .product-footer { align-items: stretch; }
  .product-action-group { min-width: 0; width: 100%; }
  .product-action-group .whatsapp-btn-label, .product-action-group .sold-out-btn, .product-action-group .cart-add-btn { width: 100%; }
  .product-detail-actions { flex-direction: column; }
  .product-detail-actions .btn { width: 100%; }
  .cart-drawer { width: 100vw; max-width: none; border-left: 0; }
  .cart-drawer-header { padding-inline: 16px; }
  .cart-body { padding: 14px; }
  .cart-checkout { padding: 14px; }
  .cart-line { grid-template-columns: 50px minmax(0,1fr); }
  .cart-line-image { width: 50px; height: 50px; }
  .cart-line-total { grid-column: 2; justify-self: end; }
  .admin-heading-actions { width: 100%; margin-top: 14px; justify-content: stretch; }
  .admin-heading-actions .btn { flex: 1 1 100%; width: 100%; margin-top: 0; }
  .orders-filter { margin-top: 14px; width: 100%; }
  .admin-order-summary { grid-template-columns: 1fr; }
  .admin-order-total { justify-self: start; }
  .admin-order-controls label { align-items: stretch; flex-direction: column; }
  .admin-order-controls select { width: 100%; }
}

/* ===== Portada: eventos + destacados; catálogo solo por categoría ===== */
.home-featured-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14,16,13,0), rgba(28,31,25,.22));
}
.home-featured-section .featured-products-block { margin-bottom: 0; }
