:root {
  --pink: #ef2d86;
  --pink-hot: #ff1d8b;
  --pink-soft: #ffe1ed;
  --rose: #f8b8cc;
  --cream: #fff3e7;
  --lemon: #ffe65f;
  --mint: #6edfd4;
  --sky: #18a8e8;
  --plum: #52123d;
  --ink: #1b0b19;
  --paper: #fff8f1;
  --shadow: 0 20px 45px rgba(113, 20, 74, 0.22);
  --soft-shadow: 0 12px 28px rgba(113, 20, 74, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 230, 95, 0.45), transparent 22rem),
    linear-gradient(180deg, #ffd7e4 0%, #ffe6dd 38%, #fff8f1 100%);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  overflow-x: hidden;
}

body.cart-open,
body.menu-open,
body.admin-modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

section[id],
.custom-banner[id] {
  scroll-margin-top: 130px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(239, 45, 134, 0.96), rgba(239, 45, 134, 0.82));
  box-shadow: 0 10px 28px rgba(96, 10, 54, 0.18);
  overflow: visible;
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(1220px, calc(100% - 32px));
  min-height: 112px;
  padding: 0.7rem 0;
  margin: 0 auto;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.1rem);
}

.nav-right {
  justify-content: flex-end;
}

.nav-group a,
.products-menu summary {
  color: #fff;
  font-size: clamp(0.95rem, 1.6vw, 1.22rem);
  font-weight: 900;
  text-shadow: 0 3px 0 rgba(96, 10, 54, 0.24);
  white-space: nowrap;
}

.products-menu {
  position: relative;
}

.products-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  cursor: pointer;
}

.products-menu summary::-webkit-details-marker {
  display: none;
}

.products-menu summary::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.12rem);
}

.products-menu[open] summary::after {
  transform: rotate(225deg) translate(-0.08rem, -0.02rem);
}

.products-menu-list {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 0.35rem;
  width: min(430px, calc(100vw - 32px));
  padding: 0.75rem;
  border: 2px solid rgba(82, 18, 61, 0.08);
  border-radius: 8px;
  background: #fff8f1;
  box-shadow: var(--shadow);
}

.products-menu-list a {
  padding: 0.65rem 0.72rem;
  border-radius: 8px;
  color: var(--plum);
  background: #fff;
  font-size: 0.96rem;
  font-weight: 1000;
  text-shadow: none;
  white-space: normal;
}

.products-menu-list a:hover {
  color: #fff;
  background: var(--pink);
}

.admin-nav-button,
.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: #fff;
  background: rgba(82, 18, 61, 0.18);
  cursor: pointer;
  font-weight: 1000;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(96, 10, 54, 0.24);
}

.admin-link {
  color: var(--plum);
  background: var(--lemon);
  border-color: rgba(82, 18, 61, 0.18);
  text-shadow: none;
}

.is-hidden {
  display: none !important;
}

.nav-group a:hover,
.mobile-nav a:hover,
.products-menu summary:hover,
.admin-nav-button:hover {
  color: var(--lemon);
}

.brand {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(168px, 16vw, 224px);
  height: auto;
  margin: 0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: visible;
}

.brand img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
}

.icon-button,
.cart-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.icon-button svg,
.cart-button svg,
.instagram-link svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button {
  display: none;
}

.cart-button {
  position: relative;
  justify-self: end;
  width: 48px;
  height: 48px;
}

.cart-button span {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--plum);
  background: var(--lemon);
  font-size: 0.78rem;
  font-weight: 900;
}

.mobile-nav {
  display: none;
}

.section-band,
.section,
.feature-product {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  overflow: hidden;
  background: url("assets/hero-golosinas.png") center right / cover no-repeat;
  z-index: -1;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.16) contrast(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 214, 226, 0.98) 0%, rgba(255, 214, 226, 0.86) 38%, rgba(255, 214, 226, 0.42) 66%, rgba(255, 214, 226, 0.2) 100%),
    linear-gradient(180deg, rgba(239, 45, 134, 0.14), rgba(255, 216, 226, 0.24));
  pointer-events: none;
}

.hero-content {
  width: min(620px, 100%);
  padding-top: clamp(2rem, 4vw, 4rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
  color: var(--plum);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: conic-gradient(from 30deg, var(--pink), var(--lemon), var(--sky), var(--pink));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.62);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.section-heading h2 {
  color: var(--pink-hot);
  font-weight: 1000;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow:
    0 3px 0 #fff,
    0 6px 0 rgba(82, 18, 61, 0.24);
}

h1 {
  max-width: 740px;
  margin-bottom: 1.1rem;
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
}

.hero-content p:not(.kicker) {
  max-width: 560px;
  margin-bottom: 1.6rem;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.primary-button,
.ghost-button,
.small-button,
.filter {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button,
.small-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  color: #fff;
  background: linear-gradient(180deg, #ff4da1, #ed1e82);
  box-shadow: 0 8px 0 #9a1559, var(--soft-shadow);
}

.primary-button:hover,
.small-button:hover,
.ghost-button:hover,
.filter:hover {
  transform: translateY(-2px);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(82, 18, 61, 0.18);
  box-shadow: var(--soft-shadow);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(1220px, calc(100% - 32px));
  margin: -2.2rem auto 4rem;
  position: relative;
  z-index: 2;
}

.category-strip a {
  min-height: 112px;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(255, 45, 139, 0.16);
  box-shadow: var(--soft-shadow);
}

.category-strip span {
  display: block;
  color: var(--pink);
  font-size: 1.2rem;
  font-weight: 1000;
}

.category-strip strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--plum);
  line-height: 1.25;
}

.section {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.section-heading {
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
}

.section-heading h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

.section-heading p {
  max-width: 760px;
  color: #261326;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.custom-banner {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.custom-banner img {
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
}

.custom-banner-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(420px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  padding: clamp(1rem, 3vw, 1.5rem);
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 246, 234, 0.9);
  box-shadow: var(--soft-shadow);
}

.custom-banner-card h3 {
  margin-bottom: 0.4rem;
  color: var(--pink);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 1000;
  text-transform: uppercase;
  line-height: 0.98;
}

.custom-banner-card p {
  margin-bottom: 1rem;
  line-height: 1.32;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.filter {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
  color: var(--plum);
  background: #fff;
  border: 2px solid rgba(82, 18, 61, 0.12);
}

.filter.is-active {
  color: #fff;
  background: var(--plum);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.products-empty {
  margin: 1rem 0 0;
  padding: 1rem;
  border: 2px dashed rgba(239, 45, 134, 0.24);
  border-radius: 8px;
  color: var(--plum);
  background: rgba(255, 248, 241, 0.82);
  font-weight: 1000;
  text-align: center;
}

.product-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(82, 18, 61, 0.08);
  box-shadow: var(--soft-shadow);
}

.product-card.is-hidden {
  display: none;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--pink-soft);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ribbon {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  z-index: 1;
  padding: 0.4rem 0.66rem;
  border-radius: 999px;
  color: #fff;
  background: var(--pink);
  font-size: 0.78rem;
  font-weight: 1000;
  box-shadow: 0 5px 0 rgba(82, 18, 61, 0.28);
}

.ribbon.blue {
  background: var(--sky);
}

.ribbon.yellow {
  color: var(--plum);
  background: var(--lemon);
}

.product-info,
.accent-inner {
  padding: 1rem;
}

.product-type {
  margin-bottom: 0.35rem;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 0.45rem;
  color: var(--plum);
  font-size: 1.35rem;
  line-height: 1.06;
}

.product-card p:not(.product-type) {
  color: #3a2032;
  line-height: 1.34;
}

.product-bottom {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.product-bottom strong {
  font-size: 1.18rem;
}

.small-button {
  min-height: 42px;
  padding: 0.65rem 1rem;
  box-shadow: 0 5px 0 #9a1559;
}

.small-button.dark {
  width: 100%;
  margin-top: 1rem;
  background: linear-gradient(180deg, #331528, #12080f);
  box-shadow: 0 5px 0 #ef2d86;
}

.accent-card {
  display: grid;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(239, 45, 134, 0.95), rgba(24, 168, 232, 0.88)),
    radial-gradient(circle at 80% 10%, rgba(255, 230, 95, 0.8), transparent 9rem);
}

.accent-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.accent-card .product-type,
.accent-card h3,
.accent-card p {
  color: #fff;
}

.accent-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.size-list span {
  padding: 0.38rem 0.58rem;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.builder {
  padding-top: 2rem;
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.builder-step {
  min-height: 220px;
  padding: 1.35rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  border: 2px solid rgba(239, 45, 134, 0.12);
}

.builder-step span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--plum);
  background: var(--lemon);
  font-size: 1.4rem;
  font-weight: 1000;
  box-shadow: 0 5px 0 rgba(239, 45, 134, 0.6);
}

.builder-step h3 {
  color: var(--pink);
  font-size: 1.45rem;
}

.builder-step p {
  line-height: 1.35;
}

.profile-panel {
  padding-top: clamp(7rem, 12vw, 9rem);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.2rem;
}

.profile-form,
.profile-list-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  border: 2px solid rgba(82, 18, 61, 0.08);
}

.profile-form {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.3rem);
}

.profile-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--plum);
  font-weight: 1000;
}

.profile-form input,
.profile-form select,
.profile-form textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid rgba(82, 18, 61, 0.14);
  border-radius: 8px;
  padding: 0.85rem;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.profile-form textarea {
  min-height: 132px;
  resize: vertical;
}

.profile-form input:focus,
.profile-form select:focus,
.profile-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(239, 45, 134, 0.14);
}

.upload-box {
  grid-row: span 2;
  min-height: 220px;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-box span {
  display: grid;
  place-items: center;
  min-height: 168px;
  padding: 1rem;
  border: 2px dashed rgba(239, 45, 134, 0.45);
  border-radius: 8px;
  color: var(--plum);
  background:
    linear-gradient(135deg, rgba(255, 230, 95, 0.28), rgba(255, 225, 237, 0.75)),
    #fff;
  cursor: pointer;
}

.image-preview {
  grid-row: span 2;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 8px;
  color: var(--plum);
  background: var(--pink-soft);
  border: 2px solid rgba(239, 45, 134, 0.12);
  font-weight: 1000;
}

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

.profile-form label:has(textarea),
.profile-actions,
.profile-status {
  grid-column: 2 / -1;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.profile-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--plum);
  font-weight: 900;
}

.profile-status.is-success {
  color: #1b7c51;
}

.profile-status.is-error {
  color: #b0134d;
}

.profile-list-card {
  padding: 1.2rem;
}

.profile-list-card h3 {
  margin-bottom: 0.45rem;
  color: var(--plum);
  font-size: 1.65rem;
}

.profile-list-card p {
  line-height: 1.35;
}

.profile-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.profile-list-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 8px;
  background: #fff;
  border: 2px solid rgba(239, 45, 134, 0.1);
}

.profile-list-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.profile-list-item strong,
.profile-list-item span {
  display: block;
}

.profile-list-item strong {
  color: var(--plum);
}

.profile-list-item span {
  color: #68465c;
  font-size: 0.9rem;
}

.delete-product {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--plum);
  cursor: pointer;
  font-weight: 1000;
}

.empty-profile {
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
}

.feature-product {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(1rem, 5vw, 3rem);
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 3rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border-radius: 8px;
  background: linear-gradient(100deg, #ff87b8, #ffe7ef 45%, #c8f3ef);
  box-shadow: var(--shadow);
}

.feature-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
}

.feature-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.feature-copy {
  padding: clamp(0.8rem, 4vw, 2rem);
}

.feature-copy h2 {
  margin-bottom: 0.8rem;
  color: var(--plum);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.feature-copy p:not(.kicker) {
  max-width: 620px;
  margin-bottom: 1rem;
  font-size: 1.16rem;
  line-height: 1.4;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.5rem;
}

.feature-tags span {
  padding: 0.45rem 0.68rem;
  border-radius: 999px;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.2rem;
}

.order-form,
.social-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  border: 2px solid rgba(82, 18, 61, 0.08);
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.3rem);
}

.order-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--plum);
  font-weight: 1000;
}

.order-form label:last-of-type,
.form-link {
  grid-column: 1 / -1;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid rgba(82, 18, 61, 0.14);
  border-radius: 8px;
  padding: 0.85rem;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.order-form textarea {
  min-height: 130px;
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(239, 45, 134, 0.14);
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  text-align: center;
}

.social-card img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.social-card h3 {
  margin: 1rem 0 0.45rem;
  color: var(--plum);
  font-size: 1.55rem;
}

.social-card p {
  line-height: 1.35;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.82rem 0.9rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ef2d86, #7b3ff2, #f6a51f);
  font-weight: 1000;
  word-break: break-word;
}

.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 2rem 1rem;
  color: #fff;
  background: var(--plum);
  font-weight: 900;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--lemon);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  visibility: hidden;
  opacity: 0;
  background: rgba(27, 11, 25, 0.42);
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(27, 11, 25, 0.52);
}

.admin-modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 1.2rem;
  border-radius: 8px;
  background: #fff8f1;
  box-shadow: var(--shadow);
}

.admin-modal-card h2 {
  margin-bottom: 0.4rem;
  color: var(--pink);
  font-size: 2.1rem;
}

.admin-modal-card p {
  line-height: 1.35;
}

.admin-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--plum);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.admin-login-form {
  display: grid;
  gap: 0.9rem;
}

.admin-login-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--plum);
  font-weight: 1000;
}

.admin-login-form input {
  width: 100%;
  min-height: 48px;
  border: 2px solid rgba(82, 18, 61, 0.14);
  border-radius: 8px;
  padding: 0.85rem;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.admin-login-form input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(239, 45, 134, 0.14);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 31;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100vh;
  padding: 1.2rem;
  color: var(--ink);
  background: #fff8f1;
  box-shadow: -20px 0 45px rgba(27, 11, 25, 0.22);
  transform: translateX(104%);
  transition: transform 0.24s ease;
}

.cart-open .cart-overlay {
  visibility: visible;
  opacity: 1;
}

.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-head,
.cart-row,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-head {
  margin-bottom: 1rem;
}

.cart-head h2 {
  margin: 0;
  color: var(--pink);
  font-size: 2rem;
}

.cart-head .icon-button {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--plum);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.cart-items {
  flex: 1;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding-right: 0.2rem;
}

.empty-cart {
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  color: #4c2940;
}

.cart-row {
  padding: 0.85rem;
  border-radius: 8px;
  background: #fff;
  border: 2px solid rgba(239, 45, 134, 0.1);
}

.cart-row strong {
  display: block;
  color: var(--plum);
}

.cart-row span {
  color: #68465c;
  font-size: 0.92rem;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.qty-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--pink);
  cursor: pointer;
  font-weight: 1000;
}

.cart-total {
  padding: 1rem 0;
  border-top: 2px dashed rgba(82, 18, 61, 0.2);
  font-size: 1.1rem;
  font-weight: 1000;
}

.checkout-link {
  width: 100%;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(940px, calc(100% - 24px));
  padding: 1rem;
  border: 2px solid rgba(82, 18, 61, 0.12);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 248, 241, 0.98);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.cookie-banner strong {
  display: block;
  color: var(--pink);
  font-size: 1.15rem;
}

.cookie-banner p {
  margin: 0.2rem 0 0;
  line-height: 1.35;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.65rem;
}

.cookie-actions .primary-button,
.cookie-actions .ghost-button {
  min-height: 44px;
  padding: 0.7rem 1rem;
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto auto;
    min-height: 76px;
    padding: 0.45rem 0;
  }

  .brand {
    position: static;
    transform: none;
    width: 118px;
    height: auto;
    padding: 0.32rem 0.55rem;
    margin-bottom: 0;
  }

  .nav-group {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    order: 3;
    justify-self: end;
    width: 46px;
    height: 46px;
  }

  .cart-button {
    order: 4;
  }

  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    z-index: 19;
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1.2rem 1.2rem;
    background: rgba(239, 45, 134, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.22s ease;
  }

  .menu-open .mobile-nav {
    transform: translateY(0);
  }

  .mobile-nav a,
  .mobile-nav .products-menu summary {
    padding: 0.8rem 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .mobile-nav .products-menu {
    position: static;
  }

  .mobile-nav .products-menu-list {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin: 0.35rem 0 0.6rem;
    padding: 0.55rem;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
  }

  .mobile-nav .products-menu-list a {
    padding: 0.58rem 0.7rem;
    border-bottom: 0;
    color: var(--plum);
    background: #fff8f1;
    font-size: 0.98rem;
  }

  .hero {
    min-height: 600px;
  }

  .hero-bg {
    background: url("assets/hero-golosinas.png") center bottom / cover no-repeat;
  }

  .hero-bg video {
    object-position: center bottom;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(255, 214, 226, 0.98) 0%, rgba(255, 214, 226, 0.83) 52%, rgba(255, 214, 226, 0.42) 100%),
      linear-gradient(90deg, rgba(255, 214, 226, 0.86), rgba(255, 214, 226, 0.3));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout,
  .profile-layout,
  .feature-product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-band,
  .section,
  .feature-product,
  .category-strip {
    width: min(100% - 24px, 1220px);
  }

  .hero {
    min-height: 640px;
    padding-top: 2rem;
    align-items: start;
  }

  .hero-content {
    padding-top: 1.5rem;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .hero-content p:not(.kicker) {
    font-size: 1.05rem;
  }

  .hero-actions,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -1rem;
    margin-bottom: 2rem;
  }

  .category-strip a {
    min-height: 96px;
  }

  .split-heading {
    display: grid;
    align-items: start;
  }

  .filters {
    justify-content: flex-start;
  }

  .custom-banner,
  .custom-banner img {
    min-height: 440px;
  }

  .product-grid,
  .builder-grid,
  .order-form,
  .profile-form {
    grid-template-columns: 1fr;
  }

  .order-form label:last-of-type,
  .form-link,
  .profile-form label:has(textarea),
  .profile-actions,
  .profile-status {
    grid-column: auto;
  }

  .upload-box,
  .image-preview {
    grid-row: auto;
  }

  .feature-product {
    padding: 0.85rem;
  }

  .social-card img {
    width: 148px;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions,
  .cookie-actions .primary-button,
  .cookie-actions .ghost-button {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .nav-shell {
    width: min(100% - 20px, 1220px);
  }

  .brand {
    width: 112px;
    height: auto;
  }

  .category-strip {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 13vw, 3.2rem);
  }

  .custom-banner-card {
    top: 58%;
  }
}
