:root {
  --bg: #f7f0e8;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-soft: rgba(255, 248, 242, 0.86);
  --text: #31241d;
  --text-soft: #705c50;
  --line: rgba(122, 93, 74, 0.14);
  --accent: #7d5a46;
  --accent-strong: #5f4334;
  --shadow-soft: 0 18px 48px rgba(89, 58, 38, 0.08);
  --shadow-card: 0 22px 58px rgba(89, 58, 38, 0.1);
  --shadow-hover: 0 28px 72px rgba(89, 58, 38, 0.15);
  --radius-2xl: 34px;
  --radius-xl: 26px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1260px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(225, 203, 182, 0.45), transparent 26%),
    radial-gradient(circle at 90% 15%, rgba(143, 106, 82, 0.12), transparent 22%),
    linear-gradient(180deg, #fdf8f3 0%, #f6efe6 42%, #f2e8de 100%);
}

img { display: block; max-width: 100%; }
button, input, select, a { font: inherit; }
a { color: inherit; }

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 26px;
  background: rgba(255, 251, 246, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(98, 66, 48, 0.08);
  backdrop-filter: blur(18px);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform var(--transition);
}

.brand:hover { transform: translateY(-1px); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, #725240, #b18d73);
  color: #fffaf5;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy strong,
.hero h1,
.section-heading h2,
.catalog-toolbar h3,
.cart-header h2,
.filters-heading h3,
.product-modal-body h2,
.shop-hero h1,
.cta-banner h2 {
  font-family: "Cormorant Garamond", serif;
}

.brand-copy strong { display: block; font-size: 1.45rem; line-height: 1; }
.brand-copy small { color: var(--text-soft); }

.demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(125, 90, 70, 0.1);
  border: 1px solid rgba(125, 90, 70, 0.16);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav,
.header-actions,
.hero-actions,
.hero-metrics,
.section-heading,
.catalog-toolbar,
.cart-header,
.cart-summary div,
.product-meta,
.product-actions,
.featured-footer,
.modal-actions,
.modal-meta,
.filters-heading,
.filter-range-header,
.cta-actions,
.shop-hero,
.shop-hero-actions {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.7);
  border: 1px solid rgba(122, 93, 74, 0.08);
}

.nav-link-mobile {
  display: none;
}

.nav-panel-header {
  display: none;
}

.nav-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(122, 93, 74, 0.12);
  background: rgba(255, 251, 246, 0.86);
  color: var(--accent-strong);
  font-size: 1.5rem;
  line-height: 1;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
}

.header-actions { gap: 10px; }
.mobile-filter-toggle { display: none; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  gap: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #6f4f3e, #8e6954);
  border: 1px solid rgba(122, 93, 74, 0.12);
  color: #fffaf5;
  box-shadow: 0 14px 26px rgba(111, 79, 62, 0.22);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button,
.cart-button,
.icon-button,
.whatsapp-float,
.category-card,
.cart-float,
.menu-toggle {
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.button,
.icon-button,
.cart-button {
  border: 0;
  cursor: pointer;
}

.button:hover,
.cart-button:hover,
.icon-button:hover,
.whatsapp-float:hover,
.category-card:hover,
.cart-float:hover,
.menu-toggle:hover {
  transform: translateY(-2px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-small { min-height: 44px; padding: 0 16px; }

.button-primary {
  background: linear-gradient(135deg, #714f3e, #9b755d);
  color: #fff9f4;
  box-shadow: 0 16px 30px rgba(113, 79, 62, 0.2);
}

.button-secondary {
  background: rgba(255, 251, 246, 0.88);
  color: var(--accent-strong);
  border: 1px solid rgba(122, 93, 74, 0.14);
}

.button-ghost {
  min-height: 42px;
  padding: 0 16px;
  background: rgba(255, 249, 243, 0.78);
  color: var(--accent-strong);
  border: 1px solid rgba(122, 93, 74, 0.12);
}

.button-whatsapp {
  background: rgba(240, 249, 238, 0.94);
  color: #245a2f;
  border: 1px solid rgba(99, 127, 89, 0.18);
}

.button-full { width: 100%; }

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6f4f3e, #8e6954);
  color: #fff8f2;
  box-shadow: 0 18px 34px rgba(111, 79, 62, 0.24);
}

.cart-button-copy small { display: block; color: rgba(255, 247, 240, 0.76); }
.cart-count {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 247, 240, 0.96);
  color: var(--accent-strong);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 30px;
  align-items: center;
  padding: 30px 6px 26px;
}

.hero h1,
.shop-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero p,
.section-heading p,
.benefits p,
.product-description,
.featured-card p,
.catalog-toolbar p,
.filter-note p,
.product-modal-body p,
.shop-hero p,
.category-card p,
.cta-banner p {
  color: var(--text-soft);
}

.hero p,
.shop-hero p { margin: 0; line-height: 1.75; font-size: 1.02rem; }

.hero-actions { gap: 14px; margin-top: 30px; justify-content: flex-start; }

.hero-metrics {
  gap: 14px;
  margin-top: 32px;
  justify-content: space-between;
}

.hero-metrics article,
.benefits article,
.filters-panel,
.catalog-toolbar,
.featured-card,
.product-card,
.cart-drawer,
.cart-summary,
.product-modal-card,
.showcase-card,
.category-card,
.cta-banner,
.shop-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-metrics article {
  flex: 1;
  min-height: 110px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.hero-visual,
.hero-showcase { min-height: 560px; }

.hero-showcase {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 248, 241, 0.95), rgba(235, 217, 199, 0.82));
  box-shadow: var(--shadow-card);
}

.showcase-card {
  position: absolute;
  z-index: 2;
  max-width: 320px;
  padding: 22px;
  border-radius: 24px;
}

.showcase-card span { display: block; margin-bottom: 8px; color: var(--text-soft); }
.showcase-card strong { font-family: "Cormorant Garamond", serif; font-size: 2rem; line-height: 1; }
.showcase-card-main { top: 38px; right: 34px; }
.showcase-card-side { left: 28px; bottom: 30px; }

.showcase-scene,
.scene-panel,
.scene-sofa,
.scene-table,
.scene-vase,
.scene-lamp { position: absolute; }

.showcase-scene { inset: 0; }
.scene-panel { inset: 88px 48px 48px; border-radius: 40px; background: linear-gradient(180deg, rgba(255, 250, 245, 0.72), rgba(233, 214, 196, 0.78)); }
.scene-sofa { left: 88px; bottom: 106px; width: 290px; height: 156px; border-radius: 40px 40px 28px 28px; background: linear-gradient(180deg, #c79f80, #9a735b); box-shadow: 0 32px 36px rgba(94, 67, 50, 0.18); }
.scene-sofa::before, .scene-sofa::after { content: ""; position: absolute; top: -46px; width: 98px; height: 88px; border-radius: 26px; background: linear-gradient(180deg, #c79f80, #8f6a53); }
.scene-sofa::before { left: 22px; }
.scene-sofa::after { right: 22px; }
.scene-table { right: 122px; bottom: 132px; width: 172px; height: 172px; border-radius: 50%; background: linear-gradient(145deg, #e4ceb8, #bb977c); box-shadow: 0 20px 32px rgba(94, 67, 50, 0.16); }
.scene-table::before { content: ""; position: absolute; left: 78px; top: 136px; width: 16px; height: 110px; border-radius: 12px; background: #72513f; }
.scene-vase { right: 176px; bottom: 218px; width: 36px; height: 78px; border-radius: 18px 18px 12px 12px; background: linear-gradient(180deg, #f7efe7, #e4ceb8); }
.scene-lamp { right: 62px; bottom: 118px; width: 112px; height: 278px; }
.scene-lamp::before { content: ""; position: absolute; left: 41px; top: 62px; width: 12px; height: 168px; border-radius: 10px; background: #6f4f3e; }
.scene-lamp::after { content: ""; position: absolute; top: 0; left: 0; width: 94px; height: 100px; border-radius: 46px 46px 18px 18px; background: linear-gradient(180deg, #f0e4d7, #d6baa3); }

.home-section,
.catalog-section { padding: 8px 6px; }

.section-heading {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2,
.catalog-toolbar h3,
.filters-heading h3,
.product-modal-body h2,
.cta-banner h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
}

.category-grid,
.featured-strip,
.product-grid,
.benefits {
  display: grid;
  gap: 18px;
}

.category-grid { grid-template-columns: repeat(4, 1fr); }
.featured-strip { grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.benefits { grid-template-columns: repeat(3, 1fr); margin: 18px 0 38px; }

.category-card {
  display: block;
  min-height: 240px;
  padding: 24px;
  border-radius: 28px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.96), rgba(244, 233, 223, 0.9));
}

.category-card-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-card-title {
  display: block;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.98;
}

.category-card p { margin: 0 0 18px; line-height: 1.7; }
.category-card-link { color: var(--accent-strong); font-weight: 700; }

.benefits article,
.featured-card,
.catalog-toolbar,
.filters-panel,
.cta-banner,
.shop-hero { border-radius: 28px; padding: 22px; }

.featured-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  background: radial-gradient(circle at top right, rgba(209, 181, 158, 0.28), transparent 24%), linear-gradient(180deg, rgba(255, 251, 246, 0.96), rgba(244, 233, 223, 0.92));
}

.featured-card h3 { margin: 0 0 12px; font-size: 1.5rem; }
.featured-footer { justify-content: space-between; gap: 12px; margin-top: 18px; }
.featured-price { font-size: 1.22rem; font-weight: 800; }

.catalog-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
}

.filters-panel {
  position: sticky;
  top: 110px;
  align-self: start;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.96), rgba(247, 238, 229, 0.92));
}

.filters-heading { justify-content: space-between; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.filter-grid { display: grid; gap: 14px; }
.filter-group + .filter-group { margin-top: 18px; }
.filter-group label { display: block; margin-bottom: 10px; font-weight: 700; }

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(122, 93, 74, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(251, 244, 236, 0.94));
  color: var(--text);
  appearance: none;
}

.filter-group input[type="range"] { padding: 0; background: transparent; border: 0; }
.filter-group input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #d8bfaa, #b78e72); }
.filter-group input[type="range"]::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; margin-top: -7px; border-radius: 50%; background: #fffaf4; border: 2px solid #8b654f; }

.filter-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 247, 239, 0.78);
  border: 1px solid rgba(122, 93, 74, 0.1);
}

.filter-note span { display: inline-block; margin-bottom: 6px; color: var(--accent); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; }
.catalog-content { min-width: 0; }
.catalog-toolbar { justify-content: space-between; gap: 18px; margin-bottom: 18px; }

.product-card {
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(247, 238, 229, 0.94));
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(122, 93, 74, 0.24); }
.product-media {
  position: relative;
  aspect-ratio: 16 / 11;
  min-height: 260px;
  overflow: hidden;
  background: linear-gradient(145deg, #f5ece4, #ead9ca);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 320ms ease;
}
.product-card:hover .product-media img { transform: scale(1.03); }

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.94);
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.product-meta { justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--text-soft); }
.product-category { padding: 6px 10px; border-radius: 999px; background: rgba(229, 210, 191, 0.4); color: var(--accent-strong); font-weight: 700; }
.product-name { margin: 0; font-size: 1.58rem; line-height: 1.08; }
.product-description { min-height: 52px; margin: 0; line-height: 1.7; font-size: 0.95rem; }
.product-tags,
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tags span,
.modal-tags span { padding: 8px 11px; border-radius: 999px; background: rgba(224, 204, 186, 0.34); color: var(--accent-strong); font-size: 0.8rem; font-weight: 700; }
.product-price,
#modalPrice { display: block; font-size: 1.7rem; line-height: 1; }
.product-installments,
#modalInstallments { display: inline-block; margin-top: 6px; color: var(--text-soft); font-size: 0.9rem; }
.product-actions { gap: 10px; justify-content: space-between; }
.product-actions .button { flex: 1; }

.shop-hero { justify-content: space-between; gap: 18px; margin: 0 6px 24px; }
.shop-hero-actions { gap: 12px; justify-content: flex-end; }

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 6px;
}

.cta-banner p { margin: 10px 0 0; }

.cart-drawer,
.product-modal { position: fixed; top: 0; }

.cart-drawer {
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(100%, 438px);
  height: 100vh;
  padding: 22px;
  background: rgba(255, 252, 247, 0.96);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

.cart-drawer.open { transform: translateX(0); }
.icon-button { width: 44px; height: 44px; border-radius: 50%; background: rgba(229, 210, 191, 0.32); color: var(--accent-strong); }
.cart-items { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.cart-item,
.empty-state { padding: 16px; border-radius: var(--radius-md); background: rgba(255, 251, 246, 0.92); border: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; }
.cart-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 16px; }
.cart-item h3 { margin: 0 0 6px; font-size: 1rem; }
.cart-item p,
.empty-state p { margin: 0; color: var(--text-soft); }
.cart-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cart-actions button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff8f1; color: var(--accent-strong); }
.cart-summary { padding: 20px; border-radius: 22px; }
.cart-summary div + div { margin-top: 12px; }
.cart-total { padding-top: 14px; border-top: 1px solid var(--line); }

.product-modal {
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.product-modal.open { opacity: 1; pointer-events: auto; }
.product-modal-card { position: relative; display: grid; grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1fr); gap: 24px; width: min(100%, 960px); padding: 24px; border-radius: 32px; background: rgba(255, 252, 247, 0.98); }
.modal-close { position: absolute; top: 16px; right: 16px; }
.product-modal-media { overflow: hidden; border-radius: 26px; background: linear-gradient(145deg, #f5ece4, #ead9ca); }
.product-modal-media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; object-position: center; }
.product-modal-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.modal-meta { justify-content: space-between; }
.modal-rating { padding: 8px 12px; border-radius: 999px; background: rgba(229, 210, 191, 0.34); color: var(--accent-strong); font-weight: 800; }
.modal-actions { gap: 12px; justify-content: flex-start; flex-wrap: wrap; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(41, 29, 22, 0.18);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b8b52, #2f6c42);
  color: #f5fff7;
  text-decoration: none;
  box-shadow: 0 18px 32px rgba(47, 108, 66, 0.22);
}

.cart-float {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6f4f3e, #8e6954);
  color: #fffaf5;
  box-shadow: 0 18px 34px rgba(111, 79, 62, 0.24);
}

.cart-float-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.cart-float .cart-count {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-size: 0.8rem;
  box-shadow: 0 10px 18px rgba(49, 36, 29, 0.18);
}

.whatsapp-float::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #d8ffe2; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 70;
  min-width: 280px;
  max-width: min(90vw, 420px);
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(49, 36, 29, 0.92);
  color: #fffaf5;
  transform: translate(-50%, 16px);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  text-align: center;
}

.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.empty-state { text-align: center; }

.checkout-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  margin-top: auto;
  border-radius: 22px;
  background: rgba(255, 251, 246, 0.96);
  border: 1px solid var(--line);
}

.checkout-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.checkout-heading h3,
.checkout-success strong {
  margin: 0;
  font-size: 1.25rem;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--accent-strong);
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(122, 93, 74, 0.14);
  border-radius: 16px;
  background: #fffdf9;
  color: var(--text-main);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.checkout-form textarea {
  min-height: 92px;
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: rgba(143, 104, 80, 0.5);
  box-shadow: 0 0 0 4px rgba(218, 195, 173, 0.22);
}

.checkout-review,
.checkout-success {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(241, 231, 221, 0.6);
  color: var(--accent-strong);
}

.checkout-success p {
  margin: 0;
  color: var(--text-soft);
}

.checkout-actions {
  display: flex;
  gap: 12px;
}

.payment-hero {
  padding: 24px 6px 8px;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 24px;
  margin-top: 20px;
}

.payment-card,
.payment-empty {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.payment-card {
  padding: 24px;
}

.payment-heading {
  margin-bottom: 18px;
}

.payment-order {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.payment-order-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 251, 246, 0.94);
  border: 1px solid var(--line);
}

.payment-order-item img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 18px;
}

.payment-order-item h3,
.payment-summary strong {
  margin: 0;
}

.payment-order-item p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.payment-summary {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(247, 238, 229, 0.72);
}

.payment-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.payment-summary div + div {
  margin-top: 12px;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.payment-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.94);
  color: var(--accent-strong);
  cursor: pointer;
}

.payment-method.is-active {
  border-color: rgba(125, 90, 70, 0.4);
  box-shadow: 0 14px 28px rgba(125, 90, 70, 0.12);
}

.payment-brand {
  font-weight: 800;
  letter-spacing: 0.03em;
}

.payment-brand-visa { color: #1a3f95; }
.payment-brand-mastercard { color: #9a2c1d; }
.payment-brand-amex { color: #0c6f84; }
.payment-brand-pse { color: #4d5ea8; }

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.payment-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--accent-strong);
}

.payment-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(122, 93, 74, 0.14);
  border-radius: 16px;
  background: #fffdf9;
  color: var(--text);
}

.payment-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1120px) {
  .hero,
  .category-grid,
  .catalog-layout,
  .featured-strip,
  .product-grid,
  .benefits,
  .product-modal-card,
  .shop-hero,
  .cta-banner,
  .payment-layout {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-showcase,
  .hero-visual { min-height: 460px; }
  .filters-panel { position: static; }
}

@media (max-width: 780px) {
  .page-shell {
    width: calc(100% - 12px);
    margin-left: 6px;
    margin-right: 6px;
  }
  .topbar,
  .main-nav,
  .header-actions,
  .hero-actions,
  .hero-metrics,
  .section-heading,
  .catalog-toolbar,
  .product-actions,
  .featured-footer,
  .modal-actions,
  .shop-hero-actions,
  .cta-actions,
  .checkout-heading,
  .checkout-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 26px;
    margin-bottom: 18px;
  }
  .brand {
    width: auto;
    justify-content: flex-start;
  }
  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }
  .brand-copy strong {
    font-size: 1.25rem;
  }
  .brand-copy small {
    font-size: 0.84rem;
  }
  .topbar-meta {
    width: auto;
    justify-content: flex-end;
  }
  .demo-badge {
    position: absolute;
    left: 14px;
    bottom: -14px;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.64rem;
    border-radius: 999px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 0 0 auto;
  }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: min(84vw, 320px);
    height: 100vh;
    padding: 18px 14px 24px;
    border-radius: 0 26px 26px 0;
    background: #fffaf6;
    border-right: 1px solid rgba(122, 93, 74, 0.12);
    box-shadow: 18px 0 34px rgba(49, 36, 29, 0.12);
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms ease, opacity 260ms ease;
  }
  .nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    padding: 4px 2px 10px;
  }
  .nav-panel-header strong {
    color: var(--accent-strong);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .main-nav.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    flex: 0 0 auto;
    display: block;
    padding: 13px 14px;
    font-size: 0.96rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(122, 93, 74, 0.1);
    box-shadow: 0 10px 18px rgba(111, 79, 62, 0.05);
  }
  .nav-link-mobile {
    display: inline-flex;
  }
  .header-actions {
    display: none;
  }
  .payment-methods,
  .payment-form-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 14px;
    padding: 8px 0 6px;
  }
  .hero h1,
  .shop-hero h1 {
    font-size: 2.45rem;
    line-height: 0.95;
    margin-bottom: 10px;
  }
  .hero p,
  .shop-hero p {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .hero-actions {
    margin-top: 18px;
  }
  .hero-actions .button {
    min-height: 46px;
  }
  .hero-metrics,
  .category-grid,
  .featured-strip,
  .benefits {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    gap: 12px;
    padding-bottom: 4px;
  }
  .hero-metrics article,
  .category-card,
  .featured-card,
  .benefits article {
    scroll-snap-align: start;
  }
  .home-section,
  .catalog-section {
    padding-top: 2px;
  }
  .section-heading {
    margin-bottom: 14px;
    gap: 10px;
  }
  .section-heading p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .section-heading h2,
  .catalog-toolbar h3,
  .filters-heading h3,
  .product-modal-body h2,
  .cta-banner h2 {
    font-size: 1.9rem;
  }
  .hero-visual,
  .hero-showcase {
    min-height: auto;
  }
  .hero-showcase {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
  .showcase-card {
    position: static;
    max-width: none;
    padding: 18px;
    border-radius: 20px;
  }
  .showcase-card strong {
    font-size: 1.45rem;
    line-height: 1.05;
  }
  .showcase-scene {
    position: relative;
    inset: auto;
    min-height: 260px;
    border-radius: 26px;
    overflow: hidden;
  }
  .scene-panel { inset: 20px 14px 14px; border-radius: 28px; }
  .scene-sofa { left: 18px; bottom: 54px; width: 172px; height: 96px; border-radius: 28px 28px 18px 18px; }
  .scene-sofa::before,
  .scene-sofa::after { top: -30px; width: 58px; height: 54px; border-radius: 18px; }
  .scene-table { right: 18px; bottom: 58px; width: 92px; height: 92px; }
  .scene-table::before { left: 39px; top: 72px; width: 12px; height: 66px; }
  .scene-vase { right: 58px; bottom: 120px; width: 24px; height: 48px; }
  .scene-lamp { right: 0; bottom: 44px; width: 76px; height: 180px; transform: none; }
  .scene-lamp::before { left: 28px; top: 44px; width: 8px; height: 108px; }
  .scene-lamp::after { width: 64px; height: 66px; border-radius: 28px 28px 14px 14px; }
  .product-body,
  .filters-panel,
  .catalog-toolbar,
  .featured-card,
  .cta-banner,
  .shop-hero { padding: 18px; }
  .shop-hero {
    margin: 0 0 16px;
    gap: 14px;
  }
  .catalog-toolbar {
    margin-bottom: 14px;
    gap: 10px;
  }
  .catalog-toolbar p {
    margin: 0;
    font-size: 0.9rem;
  }
  .mobile-filter-toggle {
    display: inline-flex;
  }
  .catalog-layout {
    gap: 14px;
  }
  .filters-panel {
    display: none;
    padding: 16px;
    border-radius: 22px;
  }
  .filters-panel.is-open {
    display: block;
  }
  .filter-note {
    margin-top: 16px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .product-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: stretch;
    border-radius: 24px;
  }
  .product-media {
    min-height: 100%;
    aspect-ratio: auto;
    border-radius: 24px 0 0 24px;
  }
  .product-badge {
    top: 10px;
    left: 10px;
  }
  .product-body {
    gap: 10px;
    padding: 14px;
  }
  .product-name {
    font-size: 1.22rem;
  }
  .product-description {
    min-height: auto;
    font-size: 0.9rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-tags {
    gap: 6px;
  }
  .product-tags span:nth-child(n+3) {
    display: none;
  }
  .product-price,
  #modalPrice {
    font-size: 1.35rem;
  }
  .product-installments {
    font-size: 0.82rem;
  }
  .product-actions {
    flex-direction: row;
    gap: 8px;
  }
  .product-actions .button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.9rem;
  }
  .product-modal { padding: 12px; }
  .product-modal-card { padding: 16px; border-radius: 24px; }
  .product-modal-media img { min-height: 260px; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item > strong { grid-column: 2; }
  .payment-order-item { grid-template-columns: 72px 1fr; }
  .payment-order-item > strong { grid-column: 2; }
  .cart-float {
    right: 16px;
    bottom: 84px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 0 16px;
  }
}
