/* ==========================================================
   FIORITA ACESSÓRIOS — estilos globais
   Paleta baseada na logo real: fundo rosa claro, dourado
   e um verde-oliva discreto (folhas da flor do logo).
   ========================================================== */

:root {
  --bg: #e9c9be;
  --bg-card: #dcb6a8;
  --text: #40291f;
  --text-dim: #6b4534;
  --gold: #a9762f;
  --olive: #5c6a38;
  --gradient: linear-gradient(120deg, #a6529f 0%, #e0567f 45%, #e6a13a 100%);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  color: var(--text);
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: none;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 32px;
}

.logo {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-flower-img {
  height: 46px;
  width: auto;
  display: block;
  margin-top: -4px;
}

.footer-logo .logo-flower-img {
  height: 34px;
}

/* Barra de busca */

.search-bar {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  background: #fff8f4;
  border: 1px solid rgba(64, 41, 31, 0.15);
  border-radius: 999px;
  padding: 4px 6px 4px 20px;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  outline: none;
}

.search-bar input::placeholder { color: var(--text-dim); }

.search-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: #fff8f0;
  cursor: pointer;
  flex-shrink: 0;
}

.search-bar button svg {
  width: 18px;
  height: 18px;
}

/* Ícones de ação (Conta / Suporte / Carrinho) */

.header-actions {
  display: flex;
  gap: 30px;
  flex-shrink: 0;
}

.icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.icon-link .icon {
  width: 24px;
  height: 24px;
}

.icon-link:hover { color: var(--gold); }

.cart-icon-wrap {
  position: relative;
  display: inline-flex;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff8f0;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: none;
}

/* Barra de categorias */

.category-bar {
  background: var(--text);
}

.category-row {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 14px 32px;
}

.category-row a {
  color: #f1e4dc;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.category-row a:hover { color: var(--gold); }

.category-offer {
  margin-left: auto;
  background: var(--gold);
  color: #241a14 !important;
  padding: 8px 18px;
  border-radius: 4px;
}

.category-offer:hover { color: var(--text) !important; }

/* ---------- Banner de página interna ---------- */

.page-hero {
  padding: 64px 32px 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: 44px;
  margin: 10px 0 16px;
}

.page-hero .hero-text {
  margin: 0 auto;
}

/* ---------- Ofertas / preço promocional ---------- */

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #fff8f0;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.price-old {
  color: var(--text-dim);
  font-size: 13.5px;
  text-decoration: line-through;
}

/* ---------- Newsletter ---------- */

.newsletter {
  background: var(--bg-card);
  padding: 70px 32px;
}

.newsletter-frame {
  text-align: center;
  max-width: 480px;
}

.newsletter-frame h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.newsletter-frame p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 28px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(64, 41, 31, 0.2);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
}

.newsletter-form input::placeholder { color: var(--text-dim); }

.newsletter-form .btn-primary {
  border: 1px solid var(--gold);
  cursor: pointer;
  font-family: var(--sans);
}

/* ---------- Footer (colunas) ---------- */

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 32px 40px;
}

.footer-about {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 260px;
  margin: 14px 0 18px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social .icon-link {
  color: var(--text-dim);
}

.footer-social .icon-link:hover {
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 15.5px;
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(64, 41, 31, 0.12);
  padding: 20px 32px;
}

.footer-bottom .footer-copy {
  margin: 0;
  text-align: center;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 130px 32px 110px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 620px;
  height: 620px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(224, 86, 127, 0.10) 0%, rgba(230, 161, 58, 0.08) 45%, transparent 72%);
  pointer-events: none;
}

.hero-frame {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--olive);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-text {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 440px;
  margin: 0 auto 34px;
}

.btn-primary {
  display: inline-block;
  padding: 15px 38px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #fbf3ea;
  background: var(--gold);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

/* ---------- Highlights ---------- */

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 60px 32px;
  border-top: 1px solid rgba(64, 41, 31, 0.12);
  border-bottom: 1px solid rgba(64, 41, 31, 0.12);
}

.highlight-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Featured products ---------- */

.featured {
  padding: 90px 32px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 34px;
}

.text-link {
  font-size: 15px;
  color: var(--gold);
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--gold);
}

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

.product-card { text-align: left; }

.product-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--bg-card), #e3b8ac);
  border: 1px solid rgba(64, 41, 31, 0.1);
  border-radius: 4px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.product-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.price {
  color: var(--gold);
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Formas de pagamento ---------- */

.payment-strip {
  background: var(--bg-card);
  border-top: 1px solid rgba(64, 41, 31, 0.12);
  border-bottom: 1px solid rgba(64, 41, 31, 0.12);
}

.payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 32px;
}

.payment-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.payment-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.payment-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 12px;
  min-width: 52px;
  height: 30px;
  background: #ffffff;
  border: 1px solid rgba(64, 41, 31, 0.12);
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pay-visa {
  color: #1a1f71;
  font-style: italic;
}

.pay-mastercard {
  gap: 0;
  padding: 7px 10px;
}

.pay-mastercard em {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-style: normal;
  display: inline-block;
}

.pay-mastercard em:first-child { background: #eb001b; margin-right: -6px; z-index: 1; }
.pay-mastercard em:last-child { background: #f79e1b; mix-blend-mode: multiply; }

.pay-elo {
  font-weight: 800;
  font-style: italic;
}
.pay-elo span:nth-child(1) { color: #ffd400; -webkit-text-stroke: 0.6px #2b2b2b; }
.pay-elo span:nth-child(2) { color: #2b2b2b; }
.pay-elo span:nth-child(3) { color: #00a4e0; }

.pay-diners {
  color: #0079be;
  font-size: 10px;
  letter-spacing: 0;
  gap: 5px;
}
.pay-diners .diners-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0079be;
  position: relative;
  flex-shrink: 0;
}
.pay-diners .diners-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  border-left: none;
  border-right: none;
}

.pay-amex {
  background: #016fd0;
  color: #ffffff;
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

.pay-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.pay-method .icon {
  width: 20px;
  height: 20px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(64, 41, 31, 0.12);
}

.footer-logo {
  font-size: 20px;
  margin: 0;
}

.footer-copy {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ---------- Responsivo ---------- */

@media (max-width: 860px) {
  .search-bar { display: none; }
  .icon-link span:last-child { display: none; }
  .category-row { gap: 20px; overflow-x: auto; }
  .highlights { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary { transition: none; }
}
