/*
Theme Name: Rosavelle
Author: OpenAI
Description: Tema simples e seguro para Rosavelle.
Version: 2.0
Text Domain: rosavelle
*/

:root {
  --rosa: #f06292;
  --rosa-escuro: #e84d84;
  --rosa-claro: #fff1f6;
  --rosa-suave: #fde7ef;
  --texto: #2d2430;
  --texto-suave: #6f6470;
  --borda: #f3d7e2;
  --branco: #ffffff;
  --sombra: 0 10px 30px rgba(240, 98, 146, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--texto);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--borda);
  background: #fff;
}

.topbar {
  background: var(--rosa-claro);
  color: var(--rosa);
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  font-size: 28px;
  font-weight: 700;
  color: var(--rosa);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--texto);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--rosa);
}

.hero {
  padding: 54px 0;
  background: linear-gradient(180deg, #fff 0%, var(--rosa-claro) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-box {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 26px;
  padding: 42px;
  box-shadow: var(--sombra);
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  background: var(--rosa-claro);
  color: var(--rosa-escuro);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 56px;
  line-height: 1.05;
}

.hero p {
  margin: 0 0 24px;
  font-size: 19px;
  color: var(--texto-suave);
  max-width: 600px;
}

.button {
  display: inline-block;
  background: linear-gradient(135deg, var(--rosa), var(--rosa-escuro));
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(240, 98, 146, 0.20);
}

.button:hover {
  opacity: 0.95;
}

.hero-visual {
  min-height: 100%;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--borda);
  box-shadow: var(--sombra);
  background:
    linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)),
    url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  min-height: 480px;
}

.section {
  padding: 52px 0;
}

.section-title {
  margin: 0 0 12px;
  font-size: 40px;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--texto-suave);
  font-size: 17px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -12px;
}

.benefit {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--sombra);
}

.benefit strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.benefit span {
  color: var(--texto-suave);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid var(--borda);
  border-radius: 20px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--sombra);
}

.category-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(45,36,48,0.58));
}

.category-card * {
  position: relative;
  z-index: 1;
  color: #fff;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  border: 1px solid var(--borda);
  border-radius: 22px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--sombra);
  overflow: hidden;
  position: relative;
}

.woocommerce ul.products li.product img {
  border-radius: 18px;
  margin-bottom: 14px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 19px;
  color: var(--texto);
  margin-bottom: 10px;
}

.woocommerce ul.products li.product .price {
  color: var(--rosa-escuro);
  font-weight: 700;
  font-size: 20px;
}

.woocommerce ul.products li.product .button {
  margin-top: 12px !important;
  width: 100%;
  text-align: center;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button,
input[type="submit"] {
  background: linear-gradient(135deg, var(--rosa), var(--rosa-escuro)) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 0 !important;
  padding: 12px 18px !important;
  font-weight: 700 !important;
}

.fake-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fake-product {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

.fake-product img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.fake-product-content {
  padding: 16px;
}

.fake-product h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.fake-product .stars {
  color: #f5a623;
  font-size: 15px;
  margin-bottom: 10px;
}

.fake-product .old-price {
  color: #9d8f98;
  text-decoration: line-through;
  font-size: 14px;
}

.fake-product .price {
  color: var(--rosa-escuro);
  font-size: 24px;
  font-weight: 700;
  margin: 6px 0;
}

.fake-product .installments {
  color: var(--texto-suave);
  font-size: 14px;
  margin-bottom: 14px;
}

.brand-box {
  background: linear-gradient(180deg, #fff 0%, var(--rosa-claro) 100%);
  border: 1px solid var(--borda);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--sombra);
}

.brand-box h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 38px;
}

.brand-box p {
  margin: 0;
  color: var(--texto-suave);
  font-size: 17px;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--borda);
  background: var(--rosa-claro);
  padding: 38px 0;
}

.footer-title {
  margin: 0 0 10px;
  color: var(--texto);
  font-size: 28px;
}

.footer-text {
  margin: 0;
  color: var(--texto-suave);
}

@media (max-width: 1000px) {
  .hero-grid,
  .benefits,
  .cards,
  .woocommerce ul.products,
  .fake-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 680px) {
  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul,
  .hero-grid,
  .benefits,
  .cards,
  .woocommerce ul.products,
  .fake-products {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-box {
    padding: 28px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .section-title {
    font-size: 30px;
  }

  .hero-visual {
    min-height: 300px;
  }
}


/* PÁGINA DE PRODUTOS */
.products-hero {
  padding: 46px 0 20px;
  background: linear-gradient(180deg, #fff, var(--rosa-claro));
}

.products-hero-box {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--sombra);
}

.products-hero-box h1 {
  margin: 0 0 10px;
  font-size: 44px;
}

.products-hero-box p {
  margin: 0;
  color: var(--texto-suave);
  font-size: 17px;
}

.product-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.product-cat-card {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--sombra);
  text-align: center;
}

.product-cat-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.product-cat-card span {
  color: var(--texto-suave);
  font-size: 14px;
}

/* CARRINHO */
.cart-page-wrap {
  padding: 50px 0;
  background: linear-gradient(180deg, #fff 0%, var(--rosa-claro) 100%);
}

.cart-box {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--sombra);
}

.cart-title {
  margin: 0 0 12px;
  font-size: 42px;
}

.cart-subtitle {
  margin: 0 0 24px;
  color: var(--texto-suave);
}

.woocommerce-cart-form,
.cart_totals,
.woocommerce .cart-collaterals .cart_totals {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--sombra);
}

.woocommerce table.shop_table {
  border: 1px solid var(--borda);
  border-radius: 18px;
  overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 16px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: linear-gradient(135deg, var(--rosa), var(--rosa-escuro)) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

@media (max-width: 900px) {
  .product-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-has-mega .mega-menu {
    width: 100%;
    left: 0;
    transform: none;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .product-categories-grid {
    grid-template-columns: 1fr;
  }

  .products-hero-box h1,
  .cart-title {
    font-size: 32px;
  }
}
.products-hero {
  padding: 46px 0 20px;
  background: linear-gradient(180deg, #fff, var(--rosa-claro));
}

.products-hero-box {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--sombra);
}

.products-hero-box h1 {
  margin: 0 0 10px;
  font-size: 44px;
}

.products-hero-box p {
  margin: 0;
  color: var(--texto-suave);
  font-size: 17px;
}

.product-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.product-cat-card {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--sombra);
  text-align: center;
  transition: 0.2s ease;
}

.product-cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--rosa);
}

.product-cat-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.product-cat-card span {
  color: var(--texto-suave);
  font-size: 14px;
}

@media (max-width: 900px) {
  .product-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .product-categories-grid {
    grid-template-columns: 1fr;
  }

  .products-hero-box h1 {
    font-size: 32px;
  }
}