:root {
  --carbon: #171717;
  --bone: #F5F3EE;
  --urban-orange: #FF6B1A;
  --secondary-gray: #8B8B8B;
  --surface: #1f1f1f;
  --surface-soft: #f7f4f0;
  --border: rgba(23, 23, 23, 0.12);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bone);
  color: var(--carbon);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.section-header p {
  margin: 0;
  color: var(--secondary-gray);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--urban-orange), #ff8d4d);
  color: white;
  font-weight: 800;
  box-shadow: 0 14px 25px rgba(255, 107, 26, 0.3);
  transform: rotate(-8deg);
  animation: floatY 4s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  color: rgba(23, 23, 23, 0.8);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--urban-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.account-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(23, 23, 23, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.account-link[hidden] {
  display: none;
}

button.account-link {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.account-link:hover,
.account-link:focus-visible {
  color: var(--urban-orange);
}

.account-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.admin-shortcut {
  color: var(--urban-orange);
  font-size: 0.84rem;
  font-weight: 800;
}

.account-status-error {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 1rem;
  z-index: 30;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  background: #fff;
  color: #8a281e;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
}

.btn {
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--urban-orange);
  color: white;
  box-shadow: 0 14px 32px rgba(255, 107, 26, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--carbon);
  border: 1px solid rgba(23, 23, 23, 0.12);
}

.btn-ghost {
  background: rgba(255, 107, 26, 0.1);
  color: var(--urban-orange);
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  cursor: pointer;
}

.hero {
  padding: 4.5rem 0 1.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 107, 26, 0.08);
  color: var(--urban-orange);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy h1 .title-word {
  display: inline-block;
  white-space: nowrap;
}

.title-letter {
  display: inline-block;
  animation: letterRise 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--letter-index) * 22ms);
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-copy h1:hover .title-letter {
  transform: translateY(-2px);
}

.hero-copy h1 .title-word.accent {
  color: var(--urban-orange);
}

.hero-copy p {
  color: rgba(23, 23, 23, 0.72);
  font-size: 1.1rem;
  margin: 1.35rem 0 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.metric {
  min-width: 120px;
}

.metric strong {
  display: block;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
}

.metric span {
  color: var(--secondary-gray);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, #262626 0%, #111111 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: floatY 6s ease-in-out infinite;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,107,26,0.12), transparent 35%);
  z-index: 1;
}

.hero-card img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: -1.1rem;
  bottom: 1.5rem;
  background: white;
  color: var(--carbon);
  padding: 1rem 1.2rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  max-width: 220px;
  animation: pulseSoft 3s ease-in-out infinite;
}

.hero-badge strong {
  display: block;
  margin-bottom: 0.2rem;
}

.categories,
.featured,
.news,
.benefits,
.catalog {
  padding: 2.5rem 0;
}

.category-grid,
.product-grid,
.benefit-grid,
.news-grid {
  display: grid;
  gap: 1.25rem;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border);
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.04);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(23, 23, 23, 0.08);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) brightness(0.78);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.58));
}

.category-card span {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 24px rgba(23, 23, 23, 0.04);
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px rgba(23, 23, 23, 0.09);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(255, 107, 26, 0.92);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.product-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
  color: var(--secondary-gray);
  font-size: 0.85rem;
}

.product-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.product-description {
  margin: 0;
  color: rgba(23, 23, 23, 0.7);
  font-size: 0.92rem;
}

.product-footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.price small {
  font-size: 0.8rem;
  color: var(--secondary-gray);
  font-weight: 700;
}

.stock {
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.04);
  color: rgba(23, 23, 23, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.link-btn {
  min-width: 0;
  text-align: center;
  border: 1px solid var(--border);
  background: white;
  border-radius: 999px;
  padding: 0.8rem 0.65rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  transition: all 0.2s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
  transform: translateY(-1px);
}

.link-btn.primary {
  border-color: transparent;
  background: var(--urban-orange);
  color: white;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.news-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 28px rgba(23, 23, 23, 0.06);
}

.news-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.news-card .content {
  padding: 1rem 1.1rem 1.2rem;
}

.news-card .tag {
  display: inline-block;
  font-size: 0.77rem;
  font-weight: 700;
  background: rgba(255, 107, 26, 0.1);
  color: var(--urban-orange);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.news-card h3 {
  margin: 0 0 0.5rem;
}

.news-card p {
  margin: 0;
  color: rgba(23, 23, 23, 0.7);
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.2rem;
  box-shadow: 0 10px 20px rgba(23, 23, 23, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(23, 23, 23, 0.08);
}

.benefit-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 107, 26, 0.08);
  color: var(--urban-orange);
  font-size: 1.55rem;
  margin-bottom: 0.8rem;
  animation: pulseSoft 3s ease-in-out infinite;
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.benefit-card p {
  margin: 0;
  color: rgba(23, 23, 23, 0.7);
}

.cta-strip {
  background: linear-gradient(135deg, var(--carbon), #2a2a2a);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 18px 38px rgba(23, 23, 23, 0.12);
}

.contact-section {
  padding-bottom: 4rem;
}

.cta-strip h3 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.6rem, 2vw, 2.3rem);
}

.cta-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--carbon);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand p,
.footer-column p,
.footer-column a {
  color: rgba(255,255,255,0.7);
}

.footer-column h4 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem 0.9rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366, #1bbf5c);
  color: white;
  font-weight: 700;
  box-shadow: 0 18px 30px rgba(37, 211, 102, 0.3);
  z-index: 30;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-float {
  position: fixed;
  right: 1.2rem;
  bottom: 5.7rem;
  display: flex;
  gap: 0.65rem;
  z-index: 30;
}

.social-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-float a[hidden] {
  display: none;
}

.social-float a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.social-float svg {
  width: 23px;
  height: 23px;
}

.social-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
}

.social-tiktok {
  background: #111;
}

.social-facebook {
  background: #1877f2;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
  color: var(--carbon);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(23, 23, 23, 0.04);
}

.cart-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--urban-orange);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0 4px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 35;
}

.cart-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--bone);
  border-left: 1px solid var(--border);
  box-shadow: -18px 0 34px rgba(23, 23, 23, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 40;
  display: flex;
  flex-direction: column;
}

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

.cart-header,
.cart-footer {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: rgba(255,255,255,0.7);
}

.cart-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.cart-close {
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(23, 23, 23, 0.06);
  cursor: pointer;
  font-size: 1.5rem;
}

.cart-items {
  flex: none;
  overflow: visible;
  padding: 0.4rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.cart-item {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.7rem;
}

.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
}

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

.cart-item-header {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: center;
}

.cart-item-header h4 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.3;
}

.cart-remove {
  border: none;
  background: rgba(23, 23, 23, 0.06);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}

.cart-item-meta {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(23, 23, 23, 0.04);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.quantity-controls button {
  border: none;
  background: transparent;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

.cart-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
  display: block;
}

.checkout-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.checkout-method {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-content: center;
  align-items: center;
  column-gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  font-weight: 700;
  line-height: 1.2;
}

.checkout-method small {
  grid-column: 2;
  color: var(--secondary-gray);
  font-size: 0.72rem;
  font-weight: 600;
}

.checkout-status {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.checkout-method-active {
  border-color: rgba(37, 150, 88, 0.3);
}

.checkout-method-active .checkout-status {
  background: rgba(37, 150, 88, 0.12);
  color: #187744;
}

.checkout-method-unavailable {
  color: rgba(23, 23, 23, 0.62);
  background: rgba(23, 23, 23, 0.035);
}

.checkout-method-unavailable .checkout-status {
  background: rgba(23, 23, 23, 0.08);
  color: var(--secondary-gray);
}

.cart-error {
  margin: 0;
  padding: 0 1rem 0.8rem;
  color: #9f2d20;
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.cart-note {
  margin: 0 0 0.9rem;
  color: var(--secondary-gray);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cart-checkout-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0.9rem 1rem 1.25rem; }
.checkout-progress { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checkout-progress li { position: relative; display: grid; justify-items: center; gap: 0.35rem; color: var(--secondary-gray); }
.checkout-progress li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 14px; left: calc(50% + 17px); width: calc(100% - 34px); height: 2px; background: var(--border); }
.checkout-progress li.is-complete:not(:last-child)::after { background: var(--urban-orange); }
.checkout-progress li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%; background: white; font-size: 0.8rem; font-weight: 800; }
.checkout-progress li.is-current > span,
.checkout-progress li.is-complete > span { border-color: var(--urban-orange); background: var(--urban-orange); color: white; }
.checkout-progress li small { font-size: 0.7rem; font-weight: 700; }
.checkout-progress li.is-current small,
.checkout-progress li.is-complete small { color: var(--carbon); }
.checkout-step { display: grid; gap: 0.8rem; }
.checkout-step.is-active { animation: checkout-step-enter 0.22s ease both; }
.checkout-step > h4 { margin: 0; font-size: 1.05rem; }
.checkout-step[hidden],
.checkout-otp-entry[hidden] { display: none; }
.checkout-step [hidden] { display: none !important; }
.checkout-step > .cart-items { padding-top: 0; }
.checkout-step > .cart-empty { padding: 1rem 0; }
.checkout-step > .btn,
.checkout-step-actions > .btn { width: 100%; }
.checkout-step-actions { display: grid; gap: 0.55rem; }
.checkout-otp { display: grid; gap: 0.65rem; }
.checkout-otp[hidden] { display: none; }
.checkout-otp label { color: var(--secondary-gray); font-size: 0.78rem; font-weight: 700; }
.checkout-otp input { width: 100%; border: 1px solid var(--border); border-radius: 9px; padding: 0.65rem 0.7rem; font: inherit; color: var(--carbon); letter-spacing: 0.2em; }
.checkout-otp button { width: 100%; }
.checkout-otp-entry { display: grid; gap: 0.55rem; }
.checkout-otp-entry[hidden] { display: none; }
.checkout-verified { display: flex; align-items: center; gap: 0.65rem; margin: 0; padding: 0.9rem; border: 1px solid rgba(37, 150, 88, 0.28); border-radius: 12px; background: rgba(37, 150, 88, 0.08); color: #187744; font-weight: 800; }
.checkout-verified[hidden] { display: none; }
.checkout-verified span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #187744; color: white; }
.checkout-totals { display: grid; gap: 0.5rem; padding: 0.8rem 0; border-top: 1px solid var(--border); }
.checkout-totals p { display: flex; justify-content: space-between; gap: 1rem; margin: 0; color: var(--secondary-gray); font-size: 0.86rem; }
.checkout-totals p strong { color: var(--carbon); text-align: right; }
.checkout-totals .checkout-grand-total { padding-top: 0.55rem; border-top: 1px solid var(--border); color: var(--carbon); font-weight: 800; }
.checkout-totals small { color: var(--secondary-gray); font-size: 0.75rem; line-height: 1.45; }
.checkout-summary-list { display: grid; gap: 0.6rem; }
.checkout-summary-item { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 0.65rem; padding: 0.55rem; border: 1px solid var(--border); border-radius: 12px; background: white; font-size: 0.78rem; }
.checkout-summary-item img,
.checkout-summary-image { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 8px; object-fit: cover; background: var(--surface-soft); }
.checkout-summary-item > div:nth-child(2) { display: grid; gap: 0.2rem; min-width: 0; }
.checkout-summary-item strong { overflow-wrap: anywhere; }
.checkout-summary-item span { color: var(--secondary-gray); }
.checkout-summary-item b { white-space: nowrap; }
.checkout-payment-method { display: grid; gap: 0.25rem; padding: 0.8rem; border-radius: 10px; background: white; font-size: 0.82rem; }
.checkout-payment-method span { color: var(--secondary-gray); }
.checkout-confirmation { display: grid; justify-items: center; gap: 0.65rem; padding: 1rem 0; text-align: center; }
.checkout-confirmation[hidden] { display: none; }
.checkout-confirmation h4,
.checkout-confirmation p { margin: 0; }
.checkout-confirmation p { color: var(--secondary-gray); font-size: 0.86rem; overflow-wrap: anywhere; }
.checkout-confirmation-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--urban-orange); color: white; font-size: 1.5rem; font-weight: 900; }
.checkout-confirmation .btn { width: 100%; margin-top: 0.4rem; }
@keyframes checkout-step-enter { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.checkout-otp p { margin: 0; color: var(--secondary-gray); font-size: 0.82rem; line-height: 1.45; }
.checkout-otp [data-checkout-email] { overflow-wrap: anywhere; color: var(--carbon); }
.checkout-otp-status { min-height: 1.2em; color: var(--secondary-gray) !important; }
.checkout-otp-status.is-error { color: #9f2d20 !important; }
.checkout-otp-status:empty { display: none; }
.checkout-card-notice { margin: 0; padding: 0.75rem; border-radius: 10px; background: #fff3d4; color: #684a16; font-size: 0.78rem; line-height: 1.45; }
.checkout-card-form { display: grid; gap: 0.45rem; }
.checkout-card-form label { color: var(--secondary-gray); font-size: 0.78rem; font-weight: 700; }
.checkout-card-form input { width: 100%; min-width: 0; border: 1px solid var(--border); border-radius: 9px; padding: 0.65rem 0.7rem; font: inherit; color: var(--carbon); }
.checkout-card-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.checkout-card-fields > div { display: grid; gap: 0.45rem; min-width: 0; }
.checkout-card-status { min-height: 1.2em; margin: 0; color: var(--secondary-gray); font-size: 0.78rem; }
.checkout-card-status.is-error { color: #9f2d20; }
.checkout-card-status:empty { display: none; }
.checkout-payment-method small { color: var(--secondary-gray); line-height: 1.45; }
.cart-whatsapp-secondary { display: block; margin-top: 0.75rem; color: var(--secondary-gray); font-size: 0.82rem; font-weight: 700; text-align: center; }
.cart-whatsapp-secondary[hidden] { display: none; }
.orders-page { padding-top: 3rem; padding-bottom: 5rem; }
.orders-list { display: grid; gap: 1.1rem; max-width: 900px; margin: 0 auto; }
.order-card { overflow: hidden; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--border); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow); }
.order-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.order-card-heading > div { display: grid; gap: .2rem; }
.order-card-heading span { color: var(--urban-orange); font-size: .78rem; font-weight: 900; }
.order-card-heading h2 { margin: .1rem 0; font-size: 1.2rem; }
.order-card-heading small { color: var(--secondary-gray); }
.order-card-heading > strong { white-space: nowrap; font-size: 1.1rem; }
.order-status-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0; }
.order-status-summary p { display: grid; gap: .35rem; margin: 0; padding: .85rem; border-radius: 12px; background: var(--surface-soft); font-size: .82rem; }
.order-status-summary p > span { color: var(--secondary-gray); }
.order-payment-badge { width: fit-content; padding: .2rem .55rem; border-radius: 999px; background: #fff3d4; color: #825314; }
.order-payment-badge.payment-confirmed { background: rgba(25, 115, 70, .1); color: #17633f; }
.order-payment-badge.payment-rejected,
.order-payment-badge.payment-refunded { background: rgba(159, 45, 32, .1); color: #8a281e; }
.order-tracking-notice { margin: 0 0 1rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(243, 107, 33, .1); color: #9a3e0c; font-weight: 900; }
.order-tracking-notice.status-delivered { background: rgba(25, 115, 70, .1); color: #17633f; }
.order-card-section { margin-top: 1.15rem; }
.order-card-section h3 { margin: 0 0 .65rem; font-size: .98rem; }
.order-card-section > p { margin: .4rem 0; font-size: .86rem; overflow-wrap: anywhere; }
.order-product-list { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.order-product-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.order-product-list li span { color: var(--secondary-gray); }
.order-product-list li strong { white-space: nowrap; }
.order-secondary-note { color: var(--secondary-gray); }
.order-timeline { display: grid; gap: 0; margin: .9rem 0 0; padding: 0; list-style: none; }
.order-timeline-event { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .75rem; min-height: 64px; }
.order-timeline-event:not(:last-child)::after { position: absolute; top: 28px; bottom: 0; left: 13px; width: 2px; background: var(--border); content: ""; }
.order-timeline-marker { z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--border); border-radius: 50%; background: white; color: var(--secondary-gray); font-size: .75rem; font-weight: 900; }
.order-timeline-event.is-complete .order-timeline-marker { border-color: #278650; background: #278650; color: white; }
.order-timeline-event.is-current .order-timeline-marker { border-color: var(--urban-orange); background: var(--urban-orange); color: white; }
.order-timeline-event > div { display: grid; align-content: start; gap: .2rem; padding: .1rem 0 .8rem; }
.order-timeline-event strong { font-size: .86rem; }
.order-timeline-event time,
.order-timeline-event p { margin: 0; color: var(--secondary-gray); font-size: .78rem; overflow-wrap: anywhere; }
.order-card-actions { display: grid; gap: .55rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.order-card-actions .btn { width: 100%; }
.order-card-actions span { color: var(--secondary-gray); font-size: .76rem; line-height: 1.45; }

.cart-empty {
  padding: 1rem;
  color: rgba(23, 23, 23, 0.68);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .checkout-step.is-active { animation: none; }
}

.cart-whatsapp {
  width: 100%;
}

.cart-whatsapp[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.reveal {
  opacity: 1;
}

.reveal.is-visible {
  animation: revealFade 0.55s ease both;
}

.product-card:nth-child(4n + 2),
.category-card:nth-child(4n + 2),
.benefit-card:nth-child(4n + 2) {
  transition-delay: 70ms;
}

.product-card:nth-child(4n + 3),
.category-card:nth-child(4n + 3),
.benefit-card:nth-child(4n + 3) {
  transition-delay: 140ms;
}

.product-card:nth-child(4n + 4),
.category-card:nth-child(4n + 4),
.benefit-card:nth-child(4n + 4) {
  transition-delay: 210ms;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
}

.search-box {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
}

.search-box input,
.select-box select {
  width: 100%;
  border: 1px solid var(--border);
  background: white;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  color: var(--carbon);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.filter-chip {
  border: 1px solid var(--border);
  background: white;
  color: var(--carbon);
  border-radius: 999px;
  padding: 0.68rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  transform: translateY(-1px);
}

.filter-chip.active {
  background: var(--carbon);
  color: white;
  border-color: var(--carbon);
}

.empty-state {
  display: none;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: rgba(23, 23, 23, 0.7);
}

.empty-state.visible {
  display: block;
}

.catalog-status {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(23, 23, 23, 0.045);
  color: rgba(23, 23, 23, 0.72);
}

.catalog-status[hidden] {
  display: none;
}

.catalog-status-error {
  border: 1px solid rgba(159, 45, 32, 0.18);
  background: rgba(159, 45, 32, 0.06);
  color: #8a281e;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 15%, rgba(255, 107, 26, 0.2), transparent 12rem),
    linear-gradient(145deg, #292929, #171717);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-image.image-unavailable img {
  display: none;
}

.detail-image .product-image-placeholder {
  min-height: 580px;
}

.cart-stock-warning {
  color: #8a281e;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes letterRise {
  from {
    opacity: 0;
    transform: translateY(0.45em) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes revealFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 107, 26, 0.0); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(255, 107, 26, 0.06); }
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 18px 30px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
  }
  50% {
    box-shadow: 0 18px 30px rgba(37, 211, 102, 0.3), 0 0 0 8px rgba(37, 211, 102, 0.12);
  }
}

@media (max-width: 1024px) {
  .hero-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

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

@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    background: rgba(245, 243, 238, 0.97);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 2.5rem;
  }

  .contact-section {
    padding-bottom: 3rem;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .hero-copy h1 .title-word {
    white-space: normal;
  }

  .hero-card img {
    height: 420px;
  }

  .category-grid,
  .product-grid,
  .news-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar {
    gap: 0.7rem;
  }

  .brand {
    font-size: 1.2rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .social-float {
    right: 0.85rem;
    bottom: 5.25rem;
  }

  .order-card-heading {
    flex-direction: column;
  }

  .order-status-summary {
    grid-template-columns: 1fr;
  }

  .order-product-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
  }
}
