/* ============================================================
   LAYTCHIA - MODA • BELEZA • ESTILO
   Paleta Oficial Dourada: Dourado (#C5922F), Dourado Escuro (#9E6E16),
   Dourado Profundo (#7A540E), Champanhe (#FAF4E8), Marfim (#FAF9F6)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Paleta Oficial Dourada da Marca LAYTCHIA */
  --gold:            #C58A2C;  /* Dourado oficial extraído do logótipo */
  --gold-dark:       #9E6E16;  /* Dourado nobre médio */
  --gold-deep:       #7A540E;  /* Dourado profundo para títulos e texto de destaque */
  --gold-light:      #DFB35A;  /* Dourado claro para brilho suave */
  --gold-pale:       #F7EEDC;  /* Champanhe dourado para tags e badges */
  --gold-bg:         #EDE7DA;  /* Fundo dourado suave */
  --logo-bg:         #F5F4F0;  /* COR EXACTA DO FUNDO DO LOGÓTIPO OFICIAL */
  --ivory:           #F5F4F0;  /* Fundo nobre em substituição ao branco artificial */
  --white:           #F5F4F0;  /* Fundo unificado que elimina cortes retangulares */
  --pure-white:      #ffffff;  /* Branco puro apenas para texto sobre fundos escuros */
  --surface:         #FAF8F3;  /* Superfície sutil para cartões e blocos */
  --dark:            #26221D;  /* Grafite escuro nobre (substitui castanho escuro) */
  --gray:            #6E685F;  /* Cinzento acolhedor de alto contraste */
  --light-gray:      #EBE7DE;  /* Linho claro para caixas e bordas */
  --border-light:    rgba(197, 138, 44, 0.28);
  --border-subtle:   rgba(197, 138, 44, 0.16);

  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-h:        124px;    /* Altura que acomoda o logótipo superior e o menu descido */
  --container-w:     1200px;
  --radius-sm:       3px;
  --radius-md:       6px;
  --transition:      0.25s ease;
}

/* ============================================================
   RESET & TIPOGRAFIA
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--logo-bg); /* Cor exacta do fundo do logótipo */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  color: var(--gold-deep);
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (max-width: 768px) {
  .container {
    padding-inline: 1rem;
  }
}

.page-content {
  padding-top: var(--header-h);
}

/* ============================================================
   HEADER COM LOGÓTIPO OFICIAL EM IMAGEM E MENU BAIXADO
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--logo-bg);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(122, 84, 14, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

/* Linha Superior: Marca e Acções */
.header-top-row {
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0 6px 0;
}

.header-top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-top-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  font-family: var(--font-body);
}

/* Logótipo em Imagem */
.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
}

/* Linha Inferior: Barra do Menu Baixado e Bem Visível */
.header-nav-bar {
  background: var(--logo-bg);
  padding: 9px 0 8px 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 0.4rem 0.3rem;
  position: relative;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

/* Acções do cabeçalho */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--gold-deep);
  position: relative;
  transition: background var(--transition);
}

.header-btn:hover {
  background: var(--gold-bg);
}

.header-btn .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold-dark);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-deep);
  transition: transform var(--transition), opacity var(--transition);
}

/* Barra de pesquisa */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
  background: var(--white);
}

.search-bar input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 0.9rem;
}

.search-bar input:focus {
  border-color: var(--gold);
}

.search-bar button {
  padding: 9px 18px;
  background: var(--gold-deep);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

/* ============================================================
   BANNER HERO EDITORIAL COM DOURADO
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 4rem);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 245, 235, 0.45) 0%,
    rgba(122, 84, 14, 0.4) 50%,
    rgba(60, 40, 6, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--white);
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   BOTÕES OFICIAIS DOURADOS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

/* Botão Oficial COMPRAR AGORA em Dourado */
.btn-buy-now,
.btn-primary {
  background: var(--gold-dark);
  color: var(--white);
  border: 1px solid var(--gold-dark);
}

.btn-buy-now:hover,
.btn-primary:hover {
  background: var(--gold-deep);
  color: var(--white);
  border-color: var(--gold-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-deep);
  border: 1px solid var(--gold-dark);
}

.btn-secondary:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-secondary-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary-white:hover {
  background: var(--white);
  color: var(--gold-deep);
}

.btn-whatsapp {
  background: #1e7e34;
  color: var(--white);
  border: 1px solid #1e7e34;
}

.btn-whatsapp:hover {
  background: #155724;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.75rem;
}

/* ============================================================
   SECÇÕES & CABEÇALHOS EDITORIAL
   ============================================================ */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--ivory);
}

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

.section-header.centered {
  text-align: center;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 520px;
  margin-inline: auto;
  font-weight: 300;
}

/* ============================================================
   CARDS DE PRODUTOS & GRELHA
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(122, 84, 14, 0.08);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--light-gray);
  margin-bottom: 0.85rem;
}

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

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

.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold-deep);
  color: var(--gold-pale);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-favourite {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: color var(--transition), transform var(--transition);
}

.btn-favourite:hover,
.btn-favourite.active {
  color: #a83232;
  transform: scale(1.1);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.product-name a:hover {
  color: var(--gold-dark);
}

.product-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.review-count {
  font-size: 0.75rem;
  color: var(--gray);
  margin-left: 4px;
}

.product-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.price-original {
  font-size: 0.85rem;
  color: var(--gray);
  text-decoration: line-through;
}

.product-card .btn-buy-now {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  margin-top: auto;
}

/* ============================================================
   CATEGORIAS
   ============================================================ */
.category-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  text-decoration: none;
  background: var(--light-gray);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(90, 60, 10, 0.85) 0%, rgba(90, 60, 10, 0.15) 60%, transparent 100%);
}

.category-card-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-pale);
  margin-bottom: 0.25rem;
}

.category-card-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   CHECKOUT MULTI-PASSOS EM DOURADO
   ============================================================ */
.checkout-steps-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 650px;
  margin: 0 auto 35px auto;
}

.checkout-steps-bar::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-light);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.step-item.active .step-circle {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--gold-bg);
}

.step-item.completed .step-circle {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white);
}

.step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  font-weight: 500;
}

.step-item.active .step-label {
  color: var(--gold-deep);
  font-weight: 700;
}

/* Cartões de selecção de pagamento */
.payment-option-card {
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  padding: 18px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.payment-option-card:hover {
  border-color: var(--gold);
  background: var(--gold-bg);
}

.payment-option-card.selected {
  border-color: var(--gold-dark);
  background: var(--gold-bg);
  box-shadow: 0 2px 10px rgba(197, 146, 47, 0.12);
}

/* Área de cópia de dados bancários */
.bank-copy-box {
  background: var(--gold-bg);
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 16px;
  margin-top: 15px;
}

.copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(197, 146, 47, 0.15);
  font-size: 0.88rem;
}

.copy-row:last-child {
  border-bottom: none;
}

.btn-copy {
  padding: 5px 10px;
  background: var(--gold-dark);
  color: var(--white);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-copy:hover {
  background: var(--gold-deep);
}

/* Upload de comprovativo */
.upload-dropzone {
  border: 2px dashed var(--gold);
  border-radius: 4px;
  padding: 25px;
  text-align: center;
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 15px;
}

.upload-dropzone:hover {
  background: var(--gold-bg);
}

/* ============================================================
   GAVETA DO CARRINHO (CART SIDEBAR)
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

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

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-deep);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--ivory);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

/* ============================================================
   RODAPÉ EM DOURADO SUAVE & PROFUNDO
   ============================================================ */
.site-footer {
  background: var(--logo-bg); /* Cor exacta do fundo do logótipo oficial (#F5F4F0) */
  color: var(--dark);
  padding: 4.5rem 0 2rem 0;
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 20px rgba(122, 84, 14, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--dark);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-logo {
  margin-bottom: 1.2rem;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  background: transparent; /* Fundo transparente sobre a mesma cor #F5F4F0 */
  padding: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray);
}

/* ============================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .header-top-row {
    border-bottom: none;
    padding: 8px 0;
  }

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

  .header-top-tagline {
    display: none;
  }

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

  .logo-img {
    height: 46px;
    max-width: 170px;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--logo-bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border-top: 1px solid var(--border-light);
    overflow-y: auto;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    font-size: 1.05rem;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.75rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .product-image {
    aspect-ratio: 3 / 4;
    margin-bottom: 0.6rem;
  }

  .product-name {
    font-size: 0.92rem;
  }

  .price-current {
    font-size: 1rem;
  }

  .product-card .btn-buy-now {
    padding: 0.55rem 0.5rem;
    font-size: 0.72rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .checkout-steps-bar {
    max-width: 100%;
    margin-bottom: 22px;
  }

  .checkout-steps-bar::before {
    top: 14px;
    left: 15px;
    right: 15px;
  }

  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .step-label {
    font-size: 0.68rem;
    max-width: 65px;
    text-align: center;
    line-height: 1.15;
  }

  /* Reduz padding do cartão de checkout em telemóveis */
  .page-content div[style*="padding: 35px"] {
    padding: 20px 16px !important;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 64px;
  }

  .logo-img {
    height: 38px;
    max-width: 140px;
  }

  .hero {
    min-height: 65vh;
    padding: 40px 0;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .product-card {
    padding: 0.5rem;
  }

  .product-image {
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    margin-bottom: 0.4rem;
  }

  .product-name {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .price-current {
    font-size: 0.92rem;
  }

  .product-card .btn-buy-now {
    padding: 0.5rem 0.4rem;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
  }

  /* Carrinho em ecrã inteiro no mobile */
  .cart-sidebar {
    max-width: 100%;
  }

  .cart-header,
  .cart-items,
  .cart-footer {
    padding: 1rem;
  }

  /* Evita zoom indesejado no iOS Safari mantendo 16px mínimo */
  input[type="text"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Modais adaptadas a 100% no mobile */
  .modal-dialog,
  .admin-modal-box {
    width: 95% !important;
    max-width: 95% !important;
    padding: 20px 14px !important;
    margin: 10px auto !important;
    border-radius: 14px !important;
  }

  .site-footer {
    padding: 3rem 0 1.5rem 0;
  }
}

@media (max-width: 360px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .product-image {
    aspect-ratio: 4 / 5;
  }
}
