/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ───
   COMPONENTES  ·  Ternurita Bebé  ·  Apple Design
   ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

/* ─── Botones ─── */
:root{
  --card1-gradient-color1: #1E40AF;
  --card1-gradient-color2: #d2ee37;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 2rem;
  border-radius: 980px;
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-body);
  transition: all var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn--secondary:hover {
  background: var(--overlay);
  border-color: var(--text-tertiary);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--overlay);
}

.btn--small,
.btn--sm {
    height: 32px;
    width: 73px;
    padding: 0.5rem 1.25rem;
    font-size: 11px;
}

.btn--active {
  background: rgba(232, 160, 160, 0.12);
  color: var(--accent);
  border-color: rgba(232, 160, 160, 0.25);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: var(--text-subtitle);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}
.contentProducts{
  display:grid;
  grid-template-columns:200px 1fr;
  gap:16PX
}
/* ─── Inputs ─── */
.input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: var(--text-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: border-color var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth);
  outline: none;
}

.input::placeholder {
  color: var(--text-tertiary);
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.input--error {
  border-color: #E74C3C;
}

.input--error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

/* ─── Card ─── */
.card {
  background: var(--bg-primary);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-smooth);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-secondary);
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.card:hover .card__img {
  transform: scale(1.03);
}

.card__body {
  padding: var(--space-md);
}

.card__title {
  font-size: var(--text-title);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
}

.card__price {
  font-size: var(--text-subtitle);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
}

.card__price--old {
  font-size: var(--text-caption);
  color: var(--text-tertiary);
  text-decoration: line-through;
  margin-left: var(--space-xs);
}

/* ─── Product Card ─── */
.product-card {
  background: var(--bg-primary);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-smooth);
  cursor: pointer;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  aspect-ratio: 1;
}

.product-card__image {
  background-color: white;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.product-card:hover .product-card__image {
  transform: scale(1.08);
}

.product-card__body {
  margin-top: 25%;
  padding: var(--space-md);
}

.product-card__name {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  
  font-size: 16px;
  font-weight: var(--weight-semibold);
}

.product-card__price--old {
  font-size: var(--text-caption);
  color: var(--text-tertiary);
  text-decoration: line-through;
}

/* ─── Navbar ─── */
.navbar {
  width: 100%;
  position: fixed;
  z-index: 1000; 
  height: 70px;
  background: rgba(255,255,255,0.80);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: transform var(--duration-base) var(--ease-smooth);
}

.navbar--hidden {
  transform: translateY(-100%);
}

.navbar__inner {
  height: 100%;
  display: grid;
}

.navbar__left {
  display: flex;
  align-items: center;
  justify-content:center;
  gap: 0% 10%;
}

.navbar__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  gap: 1px;
}

.navbar__brand img {
  max-height: 28px;
  width: auto;
  display: block;
}

.navbar__brand-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.navbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar__link {
  font-size: var(--text-caption);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-smooth);
  position: relative;
}

.navbar__link:hover {
  color: var(--text-primary);
}

.navbar__link--active {
  color: var(--accent);
}

.navbar__cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-caption);
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-smooth);
}

.navbar__cart:hover {
  color: var(--text-primary);
}

.navbar__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: var(--weight-semibold);
}

.navbar__menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  padding: 4px;
}
  /*_________Movil________*/



/*_______*/


/* ─── Footer ─── */
.footer {
  background-color: transparent;
  position: relative;
  padding: 0 0 var(--space-lg);
}

.footer__card {
  position: relative;
  border-radius: 24px;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  overflow: visible;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
}

.footer__card-bg {
  display: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: var(--space-xl);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

.footer__desc {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 32ch;
  margin-bottom: var(--space-lg);
}

.footer__copyright {
  font-size: var(--text-small);
  color: var(--text-tertiary);
}

.text-accent {
  color: var(--accent);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__link {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-smooth);
  position: relative;
  width: fit-content;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration-fast) var(--ease-smooth);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.5;
  transition: color var(--duration-fast) var(--ease-smooth);
  text-decoration: none;
}

.footer__contact-item:hover {
  color: var(--accent);
}

.footer__contact-item i,
.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__social {
  display: flex;
  gap: var(--space-xs);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.footer__social-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer__social-link i,
.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__back-top {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-smooth);
  box-shadow: 0 4px 12px rgba(232, 160, 160, 0.3);
  z-index: 2;
}

.footer__back-top:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 160, 160, 0.4);
}

.footer__back-top i,
.footer__back-top svg {
  width: 20px;
  height: 20px;
}



/* ─── Page Hero ─── */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
}

/* ─── Feature Cards ─── */
.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: var(--space-xl) var(--space-lg);
  transition: all var(--duration-base) var(--ease-smooth);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.feature-card:hover {
  background: var(--bg-primary);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.feature-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-base) var(--ease-smooth);
}

.feature-card:hover .feature-card__icon {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px rgba(232, 160, 160, 0.35);
}

.feature-card__icon i,
.feature-card__icon svg {
  width: 26px;
  height: 26px;
}

.feature-card__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-subtitle);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  justify-content: center;
}

.feature-card__tags li {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  padding: 0.3rem 0.8rem;
  border-radius: 980px;
  background: var(--bg-primary);
}



  .feature-card {
    padding: var(--space-lg) var(--space-md);
  }

  .feature-card__header {
    margin-bottom: var(--space-md);
  }

  .feature-card__icon {
    width: 48px;
    height: 48px;
  }

  .feature-card__icon i,
  .feature-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .feature-card__desc {
    margin-bottom: var(--space-md);
  }

/* ─── Mission & Vision Cards ─── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.mv-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-smooth);
}

.mv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.mv-card__accent {
  height: 4px;
  background: linear-gradient(135deg, var(--accent), #d47a7a);
}

.mv-card__body {
  padding: var(--space-xl);
}

.mv-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.mv-card__icon i,
.mv-card__icon svg {
  width: 24px;
  height: 24px;
}

.mv-card__text {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.7;
}



/* ─── Values Grid ─── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--duration-base) var(--ease-smooth);
}

.value-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: all var(--duration-base) var(--ease-smooth);
}

.value-item:hover .value-item__icon {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
}

.value-item__icon i,
.value-item__icon svg {
  width: 24px;
  height: 24px;
}

.value-item__title {
  font-family: var(--font-display);
  font-size: var(--text-subtitle);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.value-item__desc {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.6;
}





/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../assets/images/img-hero1.jpg') center / cover no-repeat;
  will-change: transform, opacity;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0.8) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-md);
}

.hero__badge {
  display: inline-block;
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) 0.2s forwards;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-display);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) 0.4s forwards;
}

.hero__subtitle {
  font-size: var(--text-subtitle);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) 0.6s forwards;
}

.hero__cta {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) 0.8s forwards;
}

/* ─── Sticky Scroll ─── */
.sticky-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300vh;
  position: relative;
  background: var(--bg-primary);
}

.sticky-scroll__media {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.sticky-scroll__img-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-scroll__img-wrap .sticky-scroll__img {
  background-color: white;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
  -webkit-mask: linear-gradient(to bottom, transparent 0%, black 25%) no-repeat,
               linear-gradient(to left, transparent 0%, black 15%) no-repeat,
               linear-gradient(to top, transparent 0%, black 25%) no-repeat;
  -webkit-mask-composite: source-in, intersect;
  mask: linear-gradient(to bottom, transparent 0%, black 25%) no-repeat,
        linear-gradient(to left, transparent 0%, black 15%) no-repeat,
        linear-gradient(to top, transparent 0%, black 25%) no-repeat;
  mask-composite: intersect;
}

.sticky-scroll__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.sticky-scroll__panel {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl) var(--space-2xl) var(--space-lg);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-smooth),
              transform var(--duration-slow) var(--ease-smooth);
}

.sticky-scroll__panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sticky-scroll__panel.is-exiting {
  opacity: 0;
  transform: translateY(-40px);
}

.sticky-scroll__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-md);
}

.sticky-scroll__title {
  font-size: var(--text-display);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-display);
  margin-bottom: var(--space-md);
}

.sticky-scroll__desc {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  max-width: 36ch;
}



/* ─── Gallery Grid ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg-secondary);
  aspect-ratio: 1;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-smooth);
}

.gallery-grid__item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

.gallery-grid__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 224, 224, 0.164);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-smooth);
}

.gallery-grid__item:hover .gallery-grid__overlay {
  opacity: 1;
}

.gallery-grid__label {
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: white;
  font-size: 75px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  padding: var(--space-sm) var(--space-md);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(1px);
}

.gallery-grid__item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}





/* ─── Features Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.features-grid__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.features-grid__title {
  font-size: var(--text-subtitle);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
}

.features-grid__desc {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  max-width: 28ch;
  margin: 0 auto;
  line-height: 1.6;
}



/* ─── CTA Section ─── */
.cta-section {
  height: 500px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-tertiary);
  padding: 10% ;
}

.cta-section__title {
  font-size: var(--text-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  max-width: 600px;
  margin-bottom: var(--space-md);
}

.cta-section__desc {
  font-size: var(--text-subtitle);
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: var(--space-lg);
}

/* ─── Destacados Horizontal Scroll ─── */
.destacados-scroll {
  height: 370;
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-sm);
  scrollbar-width: none;
}

.destacados-scroll::-webkit-scrollbar {
  display: none;
}

.destacados-scroll > * {
  flex: 0 0 260px;
  scroll-snap-align: start;
  user-select: none;
}

/* ─── Scroll Arrows ─── */
.scroll-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  color: var(--text-secondary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  opacity: 0;
  pointer-events: none;
}

.scroll-arrow:hover {
  background: var(--bg-primary);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  transform: translateY(-50%) scale(1.1);
}

.scroll-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.scroll-arrow--left {
  left: -20px;
}

.scroll-arrow--right {
  right: -20px;
}

.scroll-arrow--visible {
  opacity: 1;
  pointer-events: auto;
}



/* ─── Pagination ─── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
}

.pagination__btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: var(--text-caption);
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-light);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.pagination__btn:hover {
  background: var(--overlay);
  border-color: var(--border-medium);
}

.pagination__btn--active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.pagination__btn--active:hover {
  background: var(--accent-hover);
}

/* ─── Modal ─── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn var(--duration-fast) var(--ease-smooth);
}

.modal {
  background: var(--bg-primary);
  border-radius: 18px;
  padding: var(--space-xl);
  max-width: 520px;
  width: calc(100% - var(--space-md));
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn var(--duration-base) var(--ease-spring);
  box-shadow: var(--shadow-xl);
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.modal__title {
  font-size: var(--text-title);
  font-weight: var(--weight-semibold);
}

.modal__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.modal__close:hover {
  background: var(--overlay);
  color: var(--text-primary);
}

/* ─── Admin Sidebar ─── */
.admin-layout {
  display: flex;
  gap: var(--space-md);
  min-height: calc(100vh - var(--nav-height));
  padding: 0 var(--space-lg) var(--space-xl);
}

.admin-sidebar {
  position: sticky;
    top: calc(var(--nav-height) + var(--space-lg));

    width: 220px;
    min-width: 220px;

    display: flex;
    flex-direction: column;

    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 16px;

    padding: var(--space-md);
    height: fit-content;

    transition:
        width var(--duration-base) var(--ease-smooth),
        min-width var(--duration-base) var(--ease-smooth),
        opacity var(--duration-base) var(--ease-smooth),
        padding var(--duration-base) var(--ease-smooth);

    overflow: hidden;
    white-space: nowrap;
}

.admin-sidebar--collapsed {
  width: 0;
  min-width: 0;
  padding: 0;
  opacity: 0;
  border: none;
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-sidebar__footer {
  border-top: 1px solid var(--border-light);
  margin-top: auto;
  padding-top: var(--space-sm);
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: var(--text-caption);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.admin-sidebar__link:hover {
  background: var(--overlay);
  color: var(--text-primary);
}

.admin-sidebar__link--active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: var(--weight-medium);
}

.admin-sidebar__link--active:hover {
  background: var(--accent-light);
}

.admin-sidebar__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-smooth);
  color: var(--text-tertiary);
}

.admin-sidebar__link:hover .admin-sidebar__icon {
  color: var(--text-secondary);
  transform: scale(1.05);
}

.admin-sidebar__link--active .admin-sidebar__icon {
  color: var(--accent);
  transform: scale(1.05);
}

.admin-sidebar__label {
  line-height: 1.3;
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.admin-sidebar__link--active .admin-sidebar__label {
  color: var(--accent);
}

.admin-main {
  flex: 1;
  padding: 8% 2%;
  transition: margin-left var(--duration-base) var(--ease-smooth);
  min-width: 0;
}

.admin-main--expanded {
  margin-left: 0;
}

.admin-sidebar-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-smooth);
  box-shadow: var(--shadow-sm);
  margin-top: 10px;
  margin-bottom:10px;
}

.admin-sidebar-toggle:hover {
  background: var(--overlay);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.admin-sidebar-toggle:active {
  transform: scale(0.95);
}



/* ─── Stat Card ─── */
.stat-card {
  background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 10% 10%;
    transition: box-shadow var(--duration-base) var(--ease-smooth);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
}

.stat-card__label {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.stat-card__value {
  font-size: var(--text-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

/* ─── Admin Dashboard (Falcon-inspired) ─── */
.dash-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.dash-header__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--weight-semibold);
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}
.dash-header__title {
  font-size: var(--text-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  color: var(--text-primary);
}
.dash-header__desc {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  margin-top: 2px;
}
.dash-header__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.dash-header__date {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: capitalize;
  padding: 0.35rem 0.75rem;
  background: var(--bg-secondary);
  border-radius: 8px;
}
.dash-header__updated {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  padding: 0 0.75rem;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.dash-card {
  background: var(--bg-primary);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
  transition: box-shadow 0.3s ease;
}
.dash-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
}

.dash-card--stat {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}
.dash-card--stat.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
}
.dash-card--stat:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
  transform: translateY(-2px);
}
.dash-card--stat.is-visible:hover {
  transform: translateY(-2px);  
  .dash-card__icon-shape--orders {box-shadow: 5px 5px 90px #176dc8;}
  .dash-card__icon-shape--products {box-shadow: 5px 5px 90px #7724a1;}
  .dash-card__icon-shape--users {box-shadow: 5px 5px 90px #39893d;}
  .dash-card__icon-shape--revenue {box-shadow: 3px 3px 90px #ef6f0e;}
  
}
.dash-card--stat.is-loading .dash-card__value {
  display: inline-block;
  width: 6ch;
  height: 1.5em;
  border-radius: 6px;
  background: var(--border-light);
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.dash-card--stat.is-loading .dash-card__label {
  color: transparent;
  display: inline-block;
  width: 10ch;
  height: 0.75em;
  border-radius: 4px;
  background: var(--border-light);
  animation: skeleton-pulse 1.4s ease-in-out infinite;
  margin-bottom: 6px;
}
.dash-card--stat.is-loading .dash-card__trend {
  color: transparent;
  display: inline-block;
  width: 8ch;
  height: 0.65em;
  border-radius: 4px;
  background: var(--border-light);
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.dash-card--stat.is-loading .dash-card__icon-shape {
  opacity: 0.4;
}
.dash-card--stat.is-loading:hover {
  transform: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .dash-card--stat {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .dash-card--stat.is-loading .dash-card__value,
  .dash-card--stat.is-loading .dash-card__label,
  .dash-card--stat.is-loading .dash-card__trend {
    animation: none;
    opacity: 0.4;
  }
  .dash-card--stat.is-visible {
    opacity: 1;
    transform: none;
  }
  [data-count] {
    transition: none !important;
  }
}

.dash-card__icon-shape {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.dash-card__icon-shape i,
.dash-card__icon-shape svg {
  width: 20px;
  height: 20px;
}
.dash-card__icon-shape--orders {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2196F3, #1565C0);
  box-shadow: 0 4px 12px rgba(33,150,243,0.25);
}
.dash-card__icon-shape--products {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #AB47BC, #6A1B9A);
  box-shadow: 0 4px 12px rgba(171,71,188,0.25);
}
.dash-card__icon-shape--users {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #66BB6A, #2E7D32);
  box-shadow: 0 4px 12px rgba(102,187,106,0.25);
}
.dash-card__icon-shape--revenue {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #FFA726, #E65100);
  box-shadow: 0 4px 12px rgba(255,167,38,0.25);
}

.dash-card__body {
  min-width: 0;
  flex: 1;
}

.dash-card:not(.dash-card--stat) .dash-card__body {
  padding: 1.25rem;
}
.dash-card__label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.dash-card__value {
  font-size: 1.65rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.dash-card__trend {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 3px;
}

.dash-card__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.dash-card__header-icon {
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.dash-card__header-title {
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.dash-actions {
  display: grid;
  gap: 1%;
  padding: 0.25rem 0;
}
.dash-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  background: var(--bg-secondary);
}
.dash-action__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-primary);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.dash-action__icon i,
.dash-action__icon svg {
  width: 14px;
  height: 14px;
  color: var(--text-tertiary);
}
.dash-action__label {
  line-height: 1.2;
}
.dash-action:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
}
.dash-action:hover .dash-action__icon {
  background: var(--accent-light);
}
.dash-action:hover .dash-action__icon i,
.dash-action:hover .dash-action__icon svg {
  color: var(--accent);
}

.dash-grid-2 {

}

.dash-summary {
  display: flex;
  flex-direction: column;
}
.dash-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}
.dash-summary__row + .dash-summary__row {
  border-top: 1px solid var(--border-light);
}
.dash-summary__row--total {
  border-top: 2px solid var(--accent-light);
  margin-top: 0;
  padding-top: 1rem;
}
.dash-summary__label {
  font-size: var(--text-caption);
  color: var(--text-secondary);
}
.dash-summary__value {
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.dash-summary__value--accent {
  color: var(--accent-hover);
}




/* ─── Carrito ─── */
.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item__img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--bg-secondary);
  padding: 4px;
}

.cart-item__info {
  flex: 1;
}

.cart-item__name {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  margin-bottom: 2px;
}

.cart-item__price {
  font-size: var(--text-caption);
  color: var(--text-secondary);
}

.cart-item__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.cart-item__qty button {
  padding: 0.375rem 0.75rem;
  font-size: var(--text-caption);
  color: var(--text-secondary);
  transition: background var(--duration-fast) var(--ease-smooth);
}

.cart-item__qty button:hover {
  background: var(--overlay);
}

.cart-item__qty span {
  padding: 0.375rem 0.75rem;
  font-size: var(--text-caption);
  min-width: 2rem;
  text-align: center;
}

.cart-item__remove {
  color: var(--text-tertiary);
  font-size: var(--text-caption);
  padding: 0.5rem;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.cart-item__remove:hover {
  color: #E74C3C;
}

/* ─── Product Detail ─── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.product-detail__gallery {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  padding: var(--space-lg);
}

.product-detail__main-img {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  background: white;
}

.product-detail__main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: opacity var(--duration-base) var(--ease-smooth);
}

.product-detail__thumbs {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.product-detail__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-smooth);
  background: white;
}

.product-detail__thumb:hover {
  border-color: var(--border-medium);
}

.product-detail__thumb.is-active {
  border-color: var(--accent);
}

.product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.product-detail__info {
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-detail__breadcrumb {
  font-size: var(--text-caption);
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.product-detail__breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-smooth);
}

.product-detail__breadcrumb a:hover {
  color: var(--accent);
}

.product-detail__sep {
  margin: 0 var(--space-xs);
}

.product-detail__title {
  font-size: var(--text-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-display);
  margin-bottom: var(--space-md);
}

.product-detail__price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.product-detail__price {
  font-size: var(--text-title);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.product-detail__price--old {
  font-size: var(--text-body);
  color: var(--text-tertiary);
  text-decoration: line-through;
}

.product-detail__desc {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  margin-bottom: var(--space-lg);
  max-width: 48ch;
}

.product-detail__divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--space-lg) 0;
}

.product-detail__qty {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.product-detail__qty-label {
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}

.product-detail__qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}

.product-detail__qty-btn {
  padding: 0.5rem 1rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  transition: background var(--duration-fast) var(--ease-smooth), color var(--duration-fast) var(--ease-smooth);
}

.product-detail__qty-btn:hover {
  background: var(--overlay);
  color: var(--text-primary);
}

.product-detail__qty-value {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  min-width: 3rem;
  text-align: center;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}

.product-detail__meta {
  margin-top: var(--space-md);
  font-size: var(--text-small);
  color: var(--text-tertiary);
  text-align: center;
}



/* ─── Carrito Page ─── */
.cart-page {
  padding-top: calc(var(--nav-height) + var(--space-lg));
}

.cart-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.cart-page__empty {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cart-page__empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.3;
}

.cart-page__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.cart-page__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-primary);
  border-radius: 18px;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--duration-fast) var(--ease-smooth);
}

.cart-item-row:hover {
  box-shadow: var(--shadow-sm);
}

.cart-item-row__img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--bg-secondary);
  flex-shrink: 0;
  padding: 4px;
}

.cart-item-row__info {
  flex: 1;
  min-width: 0;
}

.cart-item-row__name {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-row__price {
  font-size: var(--text-caption);
  color: var(--text-secondary);
}

.cart-item-row__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.cart-item-row__qty button {
  padding: 0.375rem 0.75rem;
  font-size: var(--text-caption);
  color: var(--text-secondary);
  transition: background var(--duration-fast) var(--ease-smooth);
}

.cart-item-row__qty button:hover {
  background: var(--overlay);
}

.cart-item-row__qty span {
  padding: 0.375rem 0.75rem;
  font-size: var(--text-caption);
  min-width: 2rem;
  text-align: center;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}

.cart-item-row__total {
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  min-width: 80px;
  text-align: right;
}

.cart-item-row__remove {
  color: var(--text-tertiary);
  padding: 0.5rem;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.cart-item-row__remove:hover {
  color: #E74C3C;
}

.cart-summary {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: var(--space-lg);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
}

.cart-summary__title {
  font-size: var(--text-title);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-lg);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: var(--text-body);
  color: var(--text-secondary);
}

.cart-summary__row--total {
  border-top: 1px solid var(--border-medium);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  font-size: var(--text-subtitle);
}

.cart-summary__actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}



/* ─── Status Badges ─── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.75rem;
  border-radius: 980px;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-body);
}

.status-badge--pendiente {
  background: #FFF8E6;
  color: #B8860B;
}

.status-badge--enviado {
  background: #E6F0FF;
  color: #2563EB;
}

.status-badge--entregado {
  background: #E6F9EC;
  color: #16A34A;
}

.status-badge--cancelado {
  background: #FEE6E6;
  color: #DC2626;
}

/* ─── Pedido Card ─── */
.pedido-card {
  display: block;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: var(--space-lg);
  transition: all var(--duration-base) var(--ease-smooth);
}

.pedido-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.pedido-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.pedido-card__id {
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
}

.pedido-card__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-caption);
  color: var(--text-secondary);
}

.pedido-card__meta {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
}

/* ─── Pedido Detail ─── */
.pedido-section {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: var(--space-lg);
}

.pedido-section__title {
  font-size: var(--text-title);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-lg);
}

.pedido-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.pedido-detail-row + .pedido-detail-row {
  border-top: 1px solid var(--border-light);
}

.pedido-detail-row__label {
  font-size: var(--text-caption);
  color: var(--text-secondary);
}

.pedido-detail-row__value {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
}

.pedido-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid var(--border-medium);
  font-size: var(--text-subtitle);
  font-weight: var(--weight-semibold);
}

/* ─── Checkout ─── */
.checkout-page {
  padding-top: calc(var(--nav-height) + var(--space-lg));
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  align-items: start;
}

.checkout-form {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: var(--space-xl);
}

.checkout-form__title {
  font-size: var(--text-title);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-lg);
}

.checkout-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.checkout-form__full {
  grid-column: 1 / -1;
}

.checkout-form__label {
  display: block;
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}



.checkout-summary {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: var(--space-lg);
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: var(--text-body);
}

.checkout-summary__row--total {
  border-top: 1px solid var(--border-medium);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  font-weight: var(--weight-semibold);
  font-size: var(--text-subtitle);
}

/* ─── Category Filter ─── */
.cat-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-md);
  height: fit-content;
}

.cat-sidebar__title {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-tertiary);
  margin: 0 0 var(--space-sm);
  padding: 0 0 var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

.cat-filter {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-filter__btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: var(--text-caption);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  border: none;
  font-family: inherit;
  position: relative;
}

.cat-filter__btn:hover {
  background: var(--overlay);
  color: var(--text-primary);
}

.cat-filter__btn--active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: var(--weight-medium);
}

.cat-filter__btn--active:hover {
  background: var(--accent-light);
}

.cat-filter__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-smooth);
  color: var(--text-tertiary);
}

.cat-filter__btn:hover .cat-filter__icon {
  color: var(--text-secondary);
  transform: scale(1.05);
}

.cat-filter__btn--active .cat-filter__icon {
  color: var(--accent);
  transform: scale(1.05);
}

.cat-filter__label {
  line-height: 1.3;
}

.cat-filter__btn--active .cat-filter__label {
  color: var(--accent);
}



/* ─── Contact Section ─── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: all var(--duration-base) var(--ease-smooth);
}

.contact-card:hover {
  background: var(--bg-primary);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: all var(--duration-base) var(--ease-smooth);
}

.contact-card:hover .contact-card__icon {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px rgba(232, 160, 160, 0.3);
  transform: scale(1.05);
}

.contact-card__icon i,
.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: var(--text-subtitle);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.contact-card__text {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-map-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  padding: var(--space-sm);
}

.contact-map {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 14px;
  display: block;
  filter: grayscale(0.2) contrast(1.02);
  transition: filter var(--duration-fast) var(--ease-smooth);
}

.contact-map:hover {
  filter: grayscale(0) contrast(1);
}

.contact-cta {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.contact-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.contact-cta__desc {
  font-size: var(--text-body);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}



/* ─── Backward Compatibility Aliases ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 2rem;
  border-radius: 980px;
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.input-field {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: var(--text-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: border-color var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth);
  outline: none;
}

.input-field::placeholder {
  color: var(--text-tertiary);
}

.input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.input-error {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: var(--text-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: border-color var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth);
  outline: none;
  border-color: #E74C3C;
  border-radius: 12px;
  border: 1px solid #E74C3C;
}

.input-error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}


@media (max-width: 480px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .dash-actions { grid-template-columns: 1fr; }
  .dash-card--stat {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }
  .dash-card__value {
    font-size: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dash-grid {
        grid-template-columns: repeat(3, 1fr);
  }
  .dash-actions {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.dash-actions > * {
    flex: 1;
}
}
@media(min-width:1375px){
  .dash-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 480px) {
  /*    */
  .values-grid {
    grid-template-columns: 1fr;
  }
  .navbar__left {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .navbar__inner {
    max-width: none;
    display: grid;
    align-items: center;
  }
  /*    */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid__item--wide {
    grid-column: 1;
  }

  .gallery-grid__item img {
    object-position: right center;
  }
  /*   */

  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 768px) {
  /* ─── Navbar Mobile ─── */

  .navbar__inner {
    grid-template-columns: 1fr auto;
  }

  .navbar__left {
    padding: 0% 10%;
    display: flex;
    justify-content: space-between;
  }

  .navbar__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: saturate(180%) blur(20px);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-light);
    gap: var(--space-sm);
  }

  .navbar__links.is-open {
    display: flex;
    margin-top:26px;
  }

  .navbar__link {
    font-size: var(--text-body);
    padding: var(--space-xs) 0;
  }

  .navbar__menu-btn {
    display: block;
  }

  /*footer*/
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__card {
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    border-radius: 18px;
  }

  .footer__back-top {
    bottom: calc(-1 * var(--space-lg));
    width: 36px;
    height: 36px;
  }
  /* */
  .mv-grid {
    grid-template-columns: 1fr;
  }
  /* */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /*  */
  .sticky-scroll {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sticky-scroll__media {
    display: none;
  }

  .sticky-scroll__content {
    padding-bottom: 0;
  }

  .sticky-scroll__panel {
    height: auto;
    min-height: auto;
    padding: var(--space-2xl) var(--space-md);
    opacity: 1;
    transform: none;
    border-bottom: 1px solid var(--border-subtle, rgba(0,0,0,0.06));
  }

  .sticky-scroll__panel:last-child {
    border-bottom: none;
  }
  /**/
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid__item--wide {
    grid-column: span 2;
    aspect-ratio: 1;
  }
  .scroll-arrow {
    display: none;
  }
  /**/
  .admin-layout {
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .admin-sidebar {
    position: static;
    width: 100%;
    min-width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    padding: var(--space-xs) var(--space-md);
    margin-top: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: var(--bg-primary);
    border: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    white-space: nowrap;
  }

  .admin-sidebar::-webkit-scrollbar {
    display: none;
  }

  .admin-sidebar--collapsed {
    width: 100%;
    min-width: auto;
    padding: var(--space-xs) var(--space-md);
    opacity: 1;
  }

  .admin-sidebar__nav {
    display: flex;
    flex-direction: row;
    gap: var(--space-xs);
  }

  .admin-sidebar__link {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    border-radius: 980px;
    gap: 0.5rem;
  }

  .admin-sidebar-toggle {
    display: flex;
    z-index: 60;
    position: relative;
  }

  #admin-sidebar {
    position: relative;
  }

  .admin-sidebar {
    position: absolute;
    top: 95px;
    left: 0;
    right: 0;
    z-index: 50;
    width: auto;
    min-width: auto;
    height: auto;
    flex-direction: column;
    overflow: visible;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: var(--space-xs);
    margin-top: 0;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .admin-sidebar:not(.admin-sidebar--collapsed) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .admin-sidebar--collapsed {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    width: auto;
    min-width: auto;
    padding: var(--space-xs);
  }

  .admin-sidebar::-webkit-scrollbar {
    display: none;
  }

  .admin-sidebar__nav {
    flex-direction: column;
    gap: 2px;
  }

  .admin-sidebar__link {
    white-space: nowrap;
    padding: 0.6rem 0.75rem;
    flex-shrink: 0;
    border: none;
    border-radius: 10px;
    gap: 0.75rem;
  }

  .admin-sidebar__link--active {
    border-color: transparent;
    background: var(--accent-light);
  }

  .admin-sidebar__footer {
    border-top: 1px solid var(--border-light);
    margin-top: var(--space-xs);
    padding-top: var(--space-xs);
    margin-left: 0;
    margin-right: 0;
  }

  #btn-admin-logout {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    justify-content: flex-start;
  }

  .admin-main {
    padding: var(--space-lg);
  }

  .dash-grid {
    gap: var(--space-sm);
  }

  .dash-grid-2 {
    gap: var(--space-sm);
  }

  .dash-card--stat {
    padding: 1rem 1.25rem;
    gap: 0.875rem;
  }
  /**/
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail__gallery {
    position: relative;
    top: 0;
    height: auto;
    min-height: 50vh;
    padding: var(--space-md);
  }

  .product-detail__main-img {
    max-width: 320px;
    aspect-ratio: 1;
  }

  .product-detail__info {
    padding: var(--space-lg) var(--space-md);
  }
  /* */
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-form__grid {
    grid-template-columns: 1fr;
  }
  /**/
  .cart-page__layout {
    grid-template-columns: 1fr;
  }

  .cart-item-row {
    flex-wrap: wrap;
  }

  .cart-item-row__total {
    min-width: auto;
  }

  .cart-summary {
    position: relative;
    top: 0;
  }
  /**/
  .cat-sidebar {
    position: static;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .cat-sidebar__title {
    display: none;
  }

  .cat-filter {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: var(--space-xs);
    padding-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cat-filter::-webkit-scrollbar {
    display: none;
  }

  .cat-filter__btn {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    border-radius: 980px;
    gap: 0.5rem;
  }

  .cat-filter__icon {
    width: 18px;
    height: 18px;
  }

  .cat-filter__btn--active {
    border-color: var(--accent);
    background: var(--accent-light);
  }
  /**/
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .contact-card {
    padding: var(--space-md) var(--space-sm);
  }

  .contact-map {
    height: 260px;
  }

  .contact-cta {
    padding: var(--space-2xl) 0;
  }

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

  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-form { grid-template-columns: 1fr; }
  .profile-pedidos-list { gap: 0; }
  .contentProducts{
    display: flex;
    flex-direction: column;    
  }
}

/* ---- Profile page ---- */
.profile-page {
  padding-top: calc(var(--nav-height) + var(--space-xl));
}

.profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.profile-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.profile-avatar__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--bg-primary), 0 0 0 5px var(--border-light);
  transition: box-shadow var(--duration-fast) var(--ease-smooth);
}

.profile-avatar__img--has-image {
  box-shadow: 0 0 0 3px var(--bg-primary), 0 0 0 5px var(--accent-light);
}

.profile-avatar__initials {
  font-size: var(--text-subhead);
  font-weight: var(--weight-semibold);
  color: var(--accent-hover);
  user-select: none;
}

.profile-avatar__edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 3px solid var(--bg-primary);
  transition: opacity var(--duration-fast) var(--ease-smooth), transform var(--duration-fast) var(--ease-spring);
  opacity: 0.9;
  color: white;
}

.profile-avatar__edit:hover {
  opacity: 1;
  transform: scale(1.1);
}

.profile-avatar__edit:active {
  transform: scale(0.95);
}

.profile-avatar__edit svg {
  width: 14px;
  height: 14px;
}

.profile-info {
  flex: 1;
  min-width: 200px;
}

.profile-info__name {
  margin: 0;
  font-size: var(--text-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  word-break: break-word;
}

.profile-info__email {
  font-size: var(--text-body);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.profile-info__role {
  margin-top: var(--space-sm);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .profile-stats {
    grid-template-columns: 1fr;
  }
}

.profile-section {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-xl);
  margin-bottom: 24px;
  transition: box-shadow var(--duration-fast) var(--ease-smooth);
}

.profile-section:hover {
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .profile-section {
    padding: var(--space-lg) var(--space-md);
  }
}

.profile-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-sm);
}

.profile-section__title {
  font-size: var(--text-subhead);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

.profile-section__link {
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.profile-section__link:hover {
  color: var(--accent-hover);
}

.profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .profile-form {
    grid-template-columns: 1fr;
  }
}

.profile-form__full {
  grid-column: 1 / -1;
}

.profile-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.profile-form__label {
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}

.profile-form__actions {
  grid-column: 1 / -1;
  margin-top: var(--space-sm);
}

.profile-form__submit {
  width: 100%;
}

.profile-pedidos-list {
  display: flex;
  flex-direction: column;
}

.profile-pedido-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  gap: var(--space-sm);
  transition: padding-left var(--duration-fast) var(--ease-smooth);
}

.profile-pedido-item:first-child {
  padding-top: 0;
}

.profile-pedido-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-pedido-item:hover {
  padding-left: var(--space-xs);
}

.profile-pedido-item__left {
  min-width: 0;
}

.profile-pedido-item__id {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-pedido-item__date {
  font-size: var(--text-caption);
  color: var(--text-tertiary);
  margin-top: 2px;
}

.profile-pedido-item__right {
  text-align: right;
  flex-shrink: 0;
}

.profile-pedido-item__price {
  font-weight: var(--weight-semibold);
  font-size: var(--text-body);
  white-space: nowrap;
}

.profile-pedido-item__status {
  display: inline-block;
  font-size: var(--text-small);
  margin-top: 2px;
}

.profile-empty {
  text-align: center;
  padding: var(--space-xl) 0;
}

.profile-empty__text {
  font-size: var(--text-body);
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.profile-loading {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
}

.profile-loading__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-medium);
  animation: profile-loading-pulse 1.2s ease-in-out infinite;
}

.profile-loading__dot:nth-child(2) { animation-delay: 0.2s; }
.profile-loading__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes profile-loading-pulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: var(--space-md);
  }

  .profile-info__name {
    font-size: var(--text-title);
  }
}