/* ===============================
   AMORA STORE - STYLE.CSS LIMPO
   Paleta: off-white + amarelo manteiga/champagne
   =============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #CBB79C;
  --primary-dark: #B39A78;
  --primary-soft: #EFE5D6;

  --background: #F8F5F1;
  --surface: #FFFFFF;
  --white: #FFFFFF;

  --text: #1F1F1F;
  --muted: #7B746C;

  --border: #E8DED2;

  --success: #2E7D32;
  --danger: #C62828;
  --warning: #B7791F;

  --shadow-sm: 0 8px 20px rgba(31, 31, 31, .05);
  --shadow-md: 0 14px 32px rgba(31, 31, 31, .08);
  --shadow-lg: 0 20px 45px rgba(31, 31, 31, .12);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.4;
}

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

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

img {
  max-width: 100%;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ===============================
   HEADER / NAV
   =============================== */

.header,
.premium-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.nav,
.premium-nav {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.6px;
  transition: .2s ease;
}

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

.nav-center {
  display: flex;
  justify-content: center;
}

.nav-center nav,
.nav nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav nav a,
.nav-center nav a {
  color: var(--text);
  font-weight: 700;
  font-size: .97rem;
  padding: 10px 14px;
  border-radius: 12px;
  transition: all .2s ease;
}

.nav nav a:hover,
.nav-center nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.active-link,
.nav nav a.active-link {
  background: var(--primary);
  color: white !important;
  border-radius: 12px;
}

.header-search {
  background: #FAF8F5;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}

.header-search input {
  border: none;
  outline: none;
  background: transparent;
  min-width: 180px;
  box-shadow: none !important;
}

#cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 4px;
  background: var(--primary-dark);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  border-radius: 999px;
}

#nav-user-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

#nav-user-name {
  font-weight: 800;
  color: var(--primary-dark);
}

#nav-logout {
  padding: 8px 14px;
}

/* ===============================
   MOBILE MENU
   =============================== */

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(179, 154, 120, .28);
  transition: .25s ease;
  z-index: 1200;
}

.menu-toggle:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.menu-toggle.active {
  background: #1F1F1F;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 31, 31, .55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  z-index: 998;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 86vw;
  height: 100vh;
  background: linear-gradient(180deg, #FFFFFF, #F8F5F1);
  padding: 90px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: right .28s ease;
  z-index: 999;
  box-shadow: -18px 0 45px rgba(0,0,0,.16);
  border-left: 1px solid var(--border);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav::before {
  content: "Amora Store";
  position: absolute;
  top: 26px;
  left: 20px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.mobile-nav::after {
  content: "Menu";
  position: absolute;
  top: 54px;
  left: 20px;
  font-size: .85rem;
  color: var(--muted);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 15px;
  border-radius: 14px;
  background: white;
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
  border: 1px solid var(--border);
  transition: .2s ease;
}

.mobile-nav a:hover {
  background: var(--primary);
  color: white;
  transform: translateX(-4px);
}

body.menu-open {
  overflow: hidden;
}

/* ===============================
   BOTÕES / INPUTS / ALERTAS
   =============================== */

.btn,
.btn-outline,
.btn-danger {
  border: none;
  padding: 12px 16px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-block;
  transition: .25s ease;
  font-weight: 700;
  text-align: center;
}

.btn {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 24px rgba(179, 154, 120, .25);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  filter: brightness(.92);
}

input,
textarea,
select {
  border: 1px solid var(--border);
  background: white;
  border-radius: 14px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(203, 183, 156, .18);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  gap: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
}

.alert {
  margin: 12px 0;
  padding: 12px;
  border-radius: 12px;
  background: #FDF2F2;
  color: #991B1B;
}

.success {
  background: #ECFDF5;
  color: var(--success);
}

.muted {
  color: var(--muted);
}

.empty {
  background: white;
  border: 1px dashed var(--border);
  padding: 24px;
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
}

/* ===============================
   HERO / HOME
   =============================== */

.hero,
.hero-home {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, var(--background), #FFFFFF, var(--primary-soft));
}

.hero-content,
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero h1,
.hero-text h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 14px 0 16px;
}

.hero p,
.hero-text p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 22px;
}

.hero-badge {
  display: inline-block;
  background: rgba(203, 183, 156, .22);
  color: var(--primary-dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-mini-info {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-mini-info div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-mini-info strong {
  font-size: 1.1rem;
}

.hero-mini-info span {
  color: var(--muted);
  font-size: .95rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

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

.hero-card-big {
  width: 72%;
  height: 520px;
}

.hero-card-small {
  position: absolute;
  width: 44%;
  height: 210px;
  right: 0;
}

.hero-card-small.top {
  top: 18px;
}

.hero-card-small.bottom {
  bottom: 18px;
}

/* ===============================
   SEÇÕES / CATEGORIAS / FEATURES
   =============================== */

.section {
  padding: 36px 0 60px;
}

.section-title,
.section-title-row {
  margin-bottom: 22px;
}

.section-title h2,
.section-title-row h2 {
  margin-bottom: 6px;
}

.section-title p,
.section-title-row p {
  color: var(--muted);
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 20px;
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.feature-box h3 {
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--muted);
  line-height: 1.6;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  display: block;
  box-shadow: var(--shadow-sm);
}

.category-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,31,31,.58), rgba(31,31,31,.05));
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.category-overlay h3 {
  color: white;
  font-size: 1.4rem;
}

.promo-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 55px 0;
  margin-top: 20px;
}

.promo-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.promo-content h2 {
  font-size: 2rem;
  margin: 12px 0;
}

.promo-content p {
  max-width: 620px;
  line-height: 1.7;
  opacity: .95;
}

/* ===============================
   CARDS / PRODUTOS
   =============================== */

.card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  transition: .25s ease;
}

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

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  background: #F1EAE1;
  transition: transform .4s;
}

.card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.price,
.card .price,
.product-pro-price {
  color: var(--primary-dark);
  font-weight: 800;
  margin: 8px 0 14px;
}

.card .row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.card .btn,
.card .btn-outline {
  flex: 1;
  text-align: center;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  padding: 6px 10px;
  font-size: .8rem;
  border-radius: 999px;
  font-weight: 800;
  z-index: 2;
}

/* ===============================
   PÁGINA PRODUTOS
   =============================== */

.products-hero {
  margin-bottom: 28px;
}

.products-hero h1 {
  font-size: 2.4rem;
  margin: 12px 0 10px;
}

.products-hero p {
  max-width: 620px;
  line-height: 1.7;
}

.products-toolbar {
  display: grid;
  grid-template-columns: 1.5fr 260px;
  gap: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}

.products-search-box,
.products-filter-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.products-search-box label,
.products-filter-box label {
  font-weight: 800;
  font-size: .95rem;
}

.products-search-box input,
.products-filter-box select {
  padding: 12px 14px;
}

/* ===============================
   PÁGINA PRODUTO
   =============================== */

.product-pro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-pro-gallery {
  position: sticky;
  top: 110px;
}

.product-pro-main-image {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.product-pro-main-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.product-pro-main-image:hover img {
  transform: scale(1.03);
}

.product-pro-info {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.product-pro-info h1 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin: 14px 0 10px;
}

.product-pro-category {
  margin-bottom: 16px;
}

.product-pro-price {
  font-size: 2rem;
  margin-bottom: 18px;
}

.product-pro-description {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 22px;
}

.product-stock {
  margin-bottom: 22px;
  padding: 14px 16px;
  background: #FBF8F3;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.product-size-section,
.product-color-section {
  margin-bottom: 24px;
}

.product-size-section h3,
.product-color-section h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.size-options,
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-btn,
.color-option {
  min-width: 76px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  transition: all .2s ease;
}

.size-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.size-btn small {
  font-size: .75rem;
  color: var(--muted);
}

.size-btn:hover,
.color-option:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.size-btn.active,
.color-option.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.size-btn.active small {
  color: white;
}

.size-btn.disabled {
  opacity: .45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.product-buy-btn {
  min-width: 220px;
  font-size: 1rem;
}

.product-benefits {
  display: grid;
  gap: 12px;
}

.benefit-item {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #FCFAF7;
}

.benefit-item strong {
  display: block;
  margin-bottom: 4px;
}

.benefit-item span {
  color: var(--muted);
  font-size: .95rem;
}

/* ===============================
   FORM / CONTENT
   =============================== */

.form-page,
.content-page {
  padding: 36px 0 60px;
}

.form-card,
.content-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-image {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  min-height: 400px;
  object-fit: cover;
}

/* ===============================
   CARRINHO / CHECKOUT
   =============================== */

.cart-pro-header,
.checkout-header {
  margin-bottom: 28px;
}

.cart-pro-header h1,
.checkout-header h1 {
  font-size: 2.3rem;
  margin: 12px 0 10px;
}

.cart-pro-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 24px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item,
.cart-pro-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

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

.cart-summary,
.cart-pro-summary,
.checkout-summary-card,
.checkout-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.cart-pro-summary h2,
.checkout-summary-card h2,
.checkout-form-card h2 {
  margin-bottom: 18px;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.summary-total {
  font-size: 1.1rem;
  font-weight: 800;
  border-bottom: none;
  padding-top: 20px;
}

.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.checkout-note {
  margin-top: 16px;
  line-height: 1.7;
}

.checkout-submit-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

/* Checkout profissional */

.checkout-pro-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.checkout-title-icon,
.checkout-header-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.checkout-pro-title h1 {
  font-size: 2.4rem;
  margin-bottom: 6px;
}

.checkout-pro-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--primary-soft);
}

.checkout-card-header h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.checkout-pro-form label span {
  color: var(--primary-dark);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

.checkout-pro-form .form-group {
  margin-bottom: 22px;
}

.checkout-pro-form input,
.checkout-pro-form textarea,
.checkout-pro-form select {
  width: 100%;
  padding: 16px 18px;
  font-size: 1rem;
  transition: .2s;
}

.checkout-pro-form small {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
}

.checkout-pro-form select {
  cursor: pointer;
}

.cep-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
}

.checkout-secure-box {
  margin-top: 20px;
  background: linear-gradient(135deg, var(--primary-soft), #fff);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checkout-secure-box strong {
  color: var(--primary-dark);
}

.checkout-secure-box p {
  color: var(--muted);
  margin-top: 6px;
}

.checkout-submit-btn {
  min-width: 240px;
  padding: 16px 24px;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(179, 154, 120, .25);
}

/* ===============================
   TOAST
   =============================== */

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1F1F1F;
  color: white;
  padding: 14px 18px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s;
  z-index: 9999;
  box-shadow: var(--shadow-md);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--danger);
}

.toast.warning {
  background: var(--warning);
}

/* ===============================
   FOOTER
   =============================== */

.footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 10px;
}

/* ===============================
   HELPERS
   =============================== */

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

/* ===============================
   RESPONSIVO
   =============================== */

@media (min-width: 901px) {
  .mobile-nav,
  .menu-overlay,
  .menu-toggle {
    display: none !important;
  }

  .desktop-nav {
    display: flex !important;
  }
}

@media (max-width: 1100px) {
  .premium-nav {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0;
  }

  .nav-center {
    justify-content: flex-start;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .hero-content,
  .features-grid,
  .categories-grid,
  .footer-grid,
  .product-pro,
  .cart-pro-layout,
  .checkout-layout,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .promo-content,
  .section-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-card-big,
  .hero-card-small {
    position: static;
    width: 100%;
    height: auto;
  }

  .hero-card-big img,
  .hero-card-small img {
    height: 300px;
  }

  .hero h1,
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .product-pro-gallery {
    position: static;
  }

  .product-pro-main-image img {
    height: 420px;
  }

  .product-pro-info h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .premium-nav,
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
    padding: 14px 0;
  }

  .form-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .products-toolbar {
    grid-template-columns: 1fr;
  }

  .products-hero h1 {
    font-size: 2rem;
  }

  .cart-item,
  .cart-pro-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .form-grid-2,
  .cep-row {
    grid-template-columns: 1fr;
  }

  .checkout-pro-card {
    padding: 20px;
  }

  .checkout-secure-box {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-submit-btn {
    width: 100%;
  }

  .checkout-pro-title h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(94%, 100%);
  }

  .header-search {
    width: 100%;
  }

  .header-search input {
    width: 100%;
    min-width: auto;
  }

  .hero-text h1,
  .products-hero h1,
  .cart-pro-header h1,
  .checkout-header h1,
  .product-pro-info h1 {
    font-size: 1.8rem;
  }

  .hero-actions,
  .product-actions,
  .row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-outline,
  .btn-danger {
    width: 100%;
    text-align: center;
  }

  .card img {
    height: 220px;
  }

  .product-pro-main-image img {
    height: 340px;
  }

  .cart-item img,
  .cart-pro-item img {
    width: 100%;
    height: 220px;
  }

  .content-card,
  .form-card,
  .checkout-form-card,
  .checkout-summary-card,
  .cart-pro-summary,
  .product-pro-info {
    padding: 18px;
  }

  .topbar {
    text-align: center;
    padding: 0 10px;
    font-size: .82rem;
  }
}

/* ===== MENU MOBILE ESTILO FULLSCREEN ===== */

@media (min-width: 901px) {
  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .desktop-nav {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none !important;
  }

  .premium-header {
    position: sticky;
    top: 0;
    z-index: 3000;
  }

  .premium-nav,
  .nav {
    min-height: 66px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 0;
  }

  .logo {
    font-size: 1.35rem !important;
    position: relative;
    z-index: 3002;
  }

  .menu-toggle {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 3003;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle::before,
  .menu-toggle::after,
  .menu-toggle span {
    content: "";
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: .25s ease;
  }

  .menu-toggle::before {
    transform: translateY(-8px);
  }

  .menu-toggle span {
    transform: translateY(0);
  }

  .menu-toggle::after {
    transform: translateY(8px);
  }

  .menu-toggle.active::before {
    transform: rotate(45deg);
  }

  .menu-toggle.active span {
    opacity: 0;
  }

  .menu-toggle.active::after {
    transform: rotate(-45deg);
  }

  .mobile-nav {
    position: fixed !important;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 3001;
    display: flex !important;
    flex-direction: column;
    padding: 92px 28px 28px;
    gap: 0;
    transform: translateX(-100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }

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

  .mobile-nav::before,
  .mobile-nav::after {
    display: none !important;
  }

  .mobile-nav a {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
  }

  .mobile-nav a::after {
    content: "›";
    color: var(--muted);
    font-size: 1.6rem;
  }

  .mobile-nav a:hover,
  .mobile-nav a.active-link {
    color: var(--primary-dark);
    background: transparent !important;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* ===== HERO HOME PREMIUM ===== */

.premium-hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 12% 20%, rgba(203,183,156,.18), transparent 32%),
    linear-gradient(135deg, #fff, var(--background));
  border-bottom: 1px solid var(--border);
}

.premium-hero .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.premium-hero .hero-text {
  max-width: 590px;
}

.premium-hero .hero-badge {
  background: rgba(203,183,156,.18);
  color: var(--primary-dark);
  border: 1px solid rgba(203,183,156,.35);
}

.premium-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 18px 0;
  color: var(--text);
}

.premium-hero p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.premium-hero .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.premium-hero .btn,
.premium-hero .btn-outline {
  padding: 15px 22px;
  border-radius: 16px;
  font-weight: 700;
}

.premium-hero .hero-mini-info {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.premium-hero .hero-mini-info strong {
  font-size: 1.2rem;
  color: var(--text);
}

.premium-hero .hero-mini-info span {
  color: var(--muted);
  font-size: .95rem;
}

/* VISUAL */

.premium-hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-main-photo {
  width: 76%;
  height: 520px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 28px 70px rgba(0,0,0,.12);
  margin-left: auto;
}

.hero-main-photo img,
.hero-floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CARDS FLUTUANTES */

.hero-floating-card {
  position: absolute;
  width: 44%;
  height: 210px;
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid var(--background);
  box-shadow: 0 22px 45px rgba(0,0,0,.14);
}

.hero-floating-card.card-one {
  top: 22px;
  right: 0;
}

.hero-floating-card.card-two {
  bottom: 34px;
  left: 0;
}

/* TAG */

.hero-sale-tag {
  position: absolute;
  left: 48px;
  top: 82px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
}

.hero-sale-tag strong {
  display: block;
  color: var(--primary-dark);
}

.hero-sale-tag span {
  color: var(--muted);
  font-size: .9rem;
}

/* MOBILE */

@media (max-width: 900px) {
  .premium-hero {
    padding: 44px 0 40px;
  }

  .premium-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .premium-hero h1 {
    font-size: 2.4rem;
    letter-spacing: -1px;
  }

  .premium-hero p {
    font-size: 1rem;
  }

  .premium-hero .hero-actions {
    flex-direction: column;
  }

  .premium-hero .btn,
  .premium-hero .btn-outline {
    width: 100%;
    text-align: center;
  }

  .premium-hero-visual {
    min-height: auto;
  }

  .hero-main-photo {
    width: 100%;
    height: 420px;
    border-radius: 26px;
  }

  .hero-floating-card {
    display: none;
  }

  .hero-sale-tag {
    left: 18px;
    top: 18px;
  }
}
.forgot-password-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
  margin-bottom: 16px;
}

.forgot-password-link {
  font-size: 14px;
  color: #8d7b5f;
  font-weight: 500;
  transition: .2s;
}

.forgot-password-link:hover {
  color: #5f4f3d;
  text-decoration: underline;
}

/* ===== RECUPERAÇÃO / REDEFINIÇÃO DE SENHA ===== */

.auth-page {
  min-height: 100vh;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

.auth-card h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.auth-card p {
  line-height: 1.6;
  margin-bottom: 18px;
}

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

.auth-card input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.auth-card .btn {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  font-size: 1rem;
}

#message {
  margin-top: 16px;
  color: var(--primary-dark);
  font-weight: 600;
}

@media (max-width: 600px) {
  .auth-page {
    align-items: flex-start;
    padding: 40px 16px;
  }

  .auth-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .auth-card h2 {
    font-size: 1.65rem;
  }

  .auth-card p {
    font-size: .95rem;
  }
}

@media (max-width: 600px) {
  .checkout-pro-title {
    align-items: flex-start;
    gap: 14px;
  }

  .checkout-title-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 1.3rem;
  }

  .checkout-pro-title h1 {
    font-size: 2rem !important;
    line-height: 1.25;
  }

  .checkout-pro-title p {
    font-size: .95rem;
    line-height: 1.5;
  }

  .checkout-card-header {
    align-items: flex-start;
    gap: 14px;
  }

  .checkout-header-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .checkout-card-header h2 {
    font-size: 1.65rem;
    line-height: 1.2;
  }
}