
:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#111216;
  --muted:#60636b;
  --accent:#7c6cf4;
  --accent-2:#a6b7ff;
  --border:#e7e7ee;
  --success:#14b8a6;
  --danger:#ef4444;
  --shadow: 0 10px 30px rgba(17,18,22,.06);
}

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

/* Bloquear zoom em todos os dispositivos - Especialmente iOS */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Bloquear zoom específico para iOS */
* {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* Permitir seleção de texto em inputs e textareas */
input, textarea, [contenteditable], select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

/* Prevenir zoom em inputs no iOS */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="password"], 
input[type="search"], 
textarea, 
select {
  font-size: 16px !important;
  -webkit-appearance: none;
  border-radius: 0;
}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);
  color:var(--text);
  line-height:1.45;
}
.container{max-width:1200px; margin:0 auto; padding:0 20px}

.header{
  position:sticky; top:0; z-index:50;
  background:#fff; border-bottom:1px solid var(--border);
  backdrop-filter:saturate(180%) blur(10px);
}
.header .row{display:flex; align-items:center; gap:16px; padding:12px 0; position:relative}
.logo{display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit}
.logo img{max-width:none !important; width:auto !important; height:70px !important}
.nav{display:flex; gap:18px; align-items:center; margin-left:auto}
.header-icons{display:flex; gap:8px; align-items:center; position:absolute; top:12px; right:0}

/* User dropdown menu */
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 12px 0;
  min-width: 200px;
  z-index: 1000;
  display: none;
}

.user-dropdown.show {
  display: block;
}

.user-info {
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.user-info strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.user-info small {
  color: var(--muted);
  font-size: 12px;
}

.user-dropdown a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.user-dropdown a:hover {
  background-color: var(--bg-2);
}

/* Show dropdown when active */
.user-dropdown.show {
  display: block;
}

/* Section header with button */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
}

/* Reviews modal styles */
.reviews-modal-card {
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

.reviews-content {
  padding: 24px;
}

.reviews-content h3 {
  margin: 0 0 24px;
  text-align: center;
  color: var(--text);
}

.reviews-list {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 24px;
  padding-right: 8px;
}

.review-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review-user {
  font-weight: 600;
  color: var(--text);
}

.review-date {
  font-size: 12px;
  color: var(--muted);
}

.review-perfume {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.review-text {
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.add-review-section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.add-review-section h4 {
  margin: 0 0 16px;
  color: var(--text);
}

.login-required {
  text-align: center;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.login-required p {
  margin: 0 0 16px;
  color: var(--muted);
}

.review-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 16px;
}

.review-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.review-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.review-actions .btn {
  padding: 10px 20px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .section-header h2 {
    text-align: center;
  }
  
  .reviews-modal-card {
    margin: 20px;
    max-width: calc(100% - 40px);
  }
  
  .reviews-content {
    padding: 16px;
  }
  
  .reviews-modal-card .modal-close {
    top: 8px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    line-height: 36px;
    z-index: 1002;
  }
  
  .review-actions {
    flex-direction: column;
  }
  
  .review-actions .btn {
    width: 100%;
  }
}

/* Sistema de avaliação */
.rating-section {
  margin: 8px 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-value {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 16px;
  color: #ddd;
}

.star.filled {
  color: #ffc107;
}

.star.partial {
  background: linear-gradient(90deg, #ffc107 80%, #ddd 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Botão de reviews nos produtos */
.btn-reviews {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 12px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex: 1;
}

.btn-reviews:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-reviews img {
  filter: brightness(0.7);
  width: 12px !important;
  height: 12px !important;
  margin-right: 4px !important;
}

.btn-reviews:hover img {
  filter: brightness(1);
}

/* Ajustar layout dos botões */
.actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.actions .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 12px;
}
.nav a{color:var(--muted); text-decoration:none; font-weight:600}
.nav a:hover{color:var(--text)}

.searchbar{flex:1; display:flex; align-items:center; gap:8px; background:var(--bg); border:1px solid var(--border); border-radius:12px; padding:8px 12px; position:relative}
.searchbar input{flex:1; border:0; background:transparent; outline:none; font-size:16px}
.searchbar input:focus{outline:none}

.iconbtn{display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:12px; border:1px solid var(--border); background:#fff}
.iconbtn:hover{border-color:#cfd0d8}

/* Menu mobile */
.menu-toggle{display:none; cursor:pointer}
.mobile-nav{display:none}

.hero{
  padding:48px 0 24px; background:linear-gradient(120deg, #f2e9ff, #e8f5ff);
  border-bottom:1px solid var(--border);
}
.hero .wrap{display:grid; grid-template-columns: 1.2fr .8fr; gap:24px; align-items:center}
.hero h1{font-size:40px; line-height:1.05; margin:0 0 14px}
.hero p{color:var(--muted); font-size:18px; margin:0 0 20px}
.cta{display:inline-flex; align-items:center; gap:10px; padding:12px 18px; border-radius:14px; border:1px solid var(--accent); background:var(--accent); color:white; text-decoration:none; font-weight:700; box-shadow:var(--shadow)}
.cta.secondary{background:#fff; color:var(--text); border-color:var(--border)}

.grid{display:grid; grid-template-columns: repeat(4, 1fr); gap:18px}
.card{
  background:var(--card); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:var(--shadow);
  display:flex; flex-direction:column;
}
.card img{width:100%; height:280px; object-fit:cover; display:block; background:#fafafa}
.tag{position:absolute; top:12px; left:12px; background:rgba(255,255,255,.9); border:1px solid var(--border); padding:6px 10px; border-radius:100px; font-size:12px; font-weight:700}
.discount-badge{position:absolute; top:12px; right:12px; background:#e74c3c; color:white; padding:6px 10px; border-radius:100px; font-size:12px; font-weight:700; z-index:2; box-shadow:0 2px 4px rgba(0,0,0,0.2)}
.card-body{padding:14px}
.card-title{font-weight:700; font-size:16px; margin:2px 0 6px}
.price{display:flex; align-items:baseline; gap:8px}
.price .now{font-weight:800}
.price .old{text-decoration:line-through; color:#9aa0ad; font-size:12px}
.buy{margin-top:auto; display:flex; gap:8px; padding:12px 14px; border-top:1px solid var(--border); background:#fff}
.buy .btn{flex:1; text-align:center; padding:10px 12px; border:1px solid var(--border); border-radius:12px; text-decoration:none; color:var(--text); font-weight:700}
.buy .btn.primary{background:var(--text); color:white; border-color:#000}

.section{padding:28px 0}
.section h2{margin:0 0 14px; font-size:24px}

.banner{
  display:grid; grid-template-columns:1.2fr .8fr; gap:18px; align-items:center;
  background:#fff; border:1px solid var(--border); border-radius:18px; padding:20px; box-shadow:var(--shadow)
}
.banner .pill{display:inline-block; padding:6px 10px; border-radius:999px; background:#f4f5fb; border:1px solid var(--border); font-weight:700; color:#555}

.footer{margin-top:40px; border-top:1px solid var(--border); background:#fff}
.footer .cols{display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:18px; padding:28px 0}
.footer a{color:var(--muted); text-decoration:none}
.footer a:hover{color:var(--text)}

.badge{display:inline-block; background:#eef7f5; color:#0f766e; border:1px solid #c7ece6; font-weight:700; padding:6px 10px; border-radius:999px; font-size:12px}

.hero-img{
  width:100%; height:360px; border-radius:18px; border:1px solid var(--border); background:#fff; box-shadow:var(--shadow); overflow:hidden;
}
.hero-img img{
  width:100%; height:100%; object-fit:cover; display:block;
}

.notice{background:#0f172a; color:#fff; padding:10px 0; text-align:center; font-size:14px}
.notice a{color:#fff; text-decoration:underline}

.table{width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden}
.table th,.table td{padding:12px 14px; border-bottom:1px solid var(--border); text-align:left; font-size:14px}
.table th{background:#f9f9fc; color:#555}

.breadcrumb{display:flex; gap:8px; flex-wrap:wrap; font-size:13px; color:#6b7280; margin:10px 0}
.breadcrumb a{text-decoration:none; color:#374151}
.breadcrumb span{opacity:.6}

.product-page{display:grid; grid-template-columns:1.1fr .9fr; gap:24px}
.product-gallery{background:#fff; border:1px solid var(--border); border-radius:16px; padding:10px; box-shadow:var(--shadow)}
.product-info{background:#fff; border:1px solid var(--border); border-radius:16px; padding:18px; box-shadow:var(--shadow)}

.quantity{display:flex; align-items:center; gap:10px}
.quantity button{width:36px; height:36px; border-radius:10px; border:1px solid var(--border); background:#fff}

.form{display:grid; gap:12px}
.input{display:grid; gap:6px}
.input input,.input textarea,.input select{padding:12px; border:1px solid var(--border); border-radius:12px; outline:none; background:#fff}
.input label{font-size:14px; color:#555}

.banner-small{
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:12px 16px; border:1px dashed var(--accent-2); background:#f6f8ff; border-radius:14px; font-size:14px
}

/* Responsividade para tablets */
@media (max-width: 980px){
  .hero .wrap, .banner, .product-page{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2, 1fr)}
  .nav{display:none}
  .menu-toggle{display:block}
  .searchbar{order:3; flex:1; min-width:200px}
  .header .row{flex-wrap:wrap; gap:12px}
  .footer .cols{grid-template-columns:1fr 1fr; gap:24px}
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px){
  .container{padding:0 16px}
  .header .row{padding:8px 0; gap:8px}
  .searchbar{order:3; flex-basis:100%; min-width:auto; margin-top:8px}
  .hero{padding:32px 0 20px}
  .hero h1{font-size:32px; line-height:1.1}
  .hero p{font-size:16px}
  .section{padding:20px 0}
  .section h2{font-size:20px}
  .grid{grid-template-columns:1fr; gap:16px}
  .card img{width:100%; height:300px; object-fit:cover}
  .banner{padding:16px; gap:16px}
  .banner .pill{font-size:12px; padding:4px 8px}
  .footer .cols{grid-template-columns:1fr; gap:20px; text-align:center}
  .hero-img{height:280px}
  .cta{padding:10px 16px; font-size:14px}
  .buy .btn{padding:8px 10px; font-size:14px}
  .table{font-size:12px}
  .table th,.table td{padding:8px 10px}
  .product-page{gap:16px}
  .product-gallery,.product-info{padding:12px}
  .form{gap:10px}
  .input input,.input textarea,.input select{padding:10px; font-size:14px}
  .quantity button{width:32px; height:32px}
  .notice{font-size:12px; padding:8px 0}
  .breadcrumb{font-size:12px}
  .badge{font-size:11px; padding:4px 8px}
}

@media (max-width: 600px){
  .container{padding:0 12px}
  .header .row{padding:6px 0; gap:6px}
  .logo img{height:28px}
  .iconbtn{width:36px; height:36px}
  .hero{padding:24px 0 16px}
  .hero h1{font-size:28px}
  .hero p{font-size:15px; margin:0 0 16px}
  .hero .wrap{gap:16px}
  .section{padding:16px 0}
  .section h2{font-size:18px; margin:0 0 12px}
  .grid{gap:12px}
  .card{border-radius:12px}
  .card-body{padding:12px}
  .card-title{font-size:15px}
  .buy{padding:10px 12px; gap:6px}
  .buy .btn{padding:8px 10px; font-size:13px; border-radius:8px}
  .banner{padding:12px; border-radius:12px; gap:12px}
  .banner h3{font-size:16px; margin:8px 0}
  .banner p{font-size:14px}
  .footer .cols{padding:20px 0; gap:16px}
  .hero-img{height:200px; border-radius:12px}
  .cta{padding:8px 14px; font-size:13px; border-radius:10px}
  .cta.secondary{padding:8px 14px; font-size:13px}
  .table{font-size:11px}
  .table th,.table td{padding:6px 8px}
  .product-page{gap:12px}
  .product-gallery,.product-info{padding:10px; border-radius:12px}
  .form{gap:8px}
  .input input,.input textarea,.input select{padding:8px; font-size:13px; border-radius:8px}
  .quantity button{width:28px; height:28px; border-radius:8px}
  .notice{font-size:11px; padding:6px 0}
  .breadcrumb{font-size:11px; gap:6px}
  .badge{font-size:10px; padding:3px 6px}
}

@media (max-width: 480px){
  .container{padding:0 10px}
  .header .row{padding:4px 0; gap:4px}
  .logo img{height:24px}
  .iconbtn{width:32px; height:32px}
  .hero{padding:20px 0 12px}
  .hero h1{font-size:24px}
  .hero p{font-size:14px; margin:0 0 12px}
  .hero .wrap{gap:12px}
  .section{padding:12px 0}
  .section h2{font-size:16px; margin:0 0 10px}
  .grid{gap:10px}
  .card{border-radius:10px}
  .card-body{padding:10px}
  .card-title{font-size:14px}
  .buy{padding:8px 10px; gap:4px}
  .buy .btn{padding:6px 8px; font-size:12px; border-radius:6px}
  .banner{padding:10px; border-radius:10px; gap:10px}
  .banner h3{font-size:15px; margin:6px 0}
  .banner p{font-size:13px}
  .footer .cols{padding:16px 0; gap:12px}
  .hero-img{height:160px; border-radius:10px}
  .cta{padding:6px 12px; font-size:12px; border-radius:8px}
  .cta.secondary{padding:6px 12px; font-size:12px}
  .table{font-size:10px}
  .table th,.table td{padding:4px 6px}
  .product-page{gap:10px}
  .product-gallery,.product-info{padding:8px; border-radius:10px}
  .form{gap:6px}
  .input input,.input textarea,.input select{padding:6px; font-size:12px; border-radius:6px}
  .quantity button{width:24px; height:24px; border-radius:6px}
  .notice{font-size:10px; padding:4px 0}
  .breadcrumb{font-size:10px; gap:4px}
  .badge{font-size:9px; padding:2px 5px}
}

/* Menu mobile overlay */
.mobile-nav-overlay{
  position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.5); z-index:100; display:none;
}
.mobile-nav-overlay.active{display:block}
.mobile-nav{
  position:fixed; top:0; right:0; bottom:0; width:280px; background:#fff; z-index:101; transform:translateX(100%); transition:transform 0.3s ease;
  padding:20px; overflow-y:auto;
}
.mobile-nav.active{transform:translateX(0)}
.mobile-nav-header{display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; padding-bottom:16px; border-bottom:1px solid var(--border)}
.mobile-nav-close{background:none; border:none; font-size:24px; cursor:pointer; color:var(--muted)}
.mobile-nav a{display:block; padding:12px 0; color:var(--text); text-decoration:none; font-weight:600; border-bottom:1px solid var(--border)}
.mobile-nav a:hover{color:var(--accent)}

/* Melhorias para touch em mobile */
@media (max-width: 768px){
  .iconbtn,.cta,.btn{min-height:44px; min-width:44px}
  .searchbar input{min-height:44px}
  .card img{width:100%; height:300px; object-fit:cover}
  .buy .btn{min-height:44px}
}

/* Orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape){
  .hero{padding:20px 0}
  .hero h1{font-size:24px}
  .hero p{font-size:14px}
  .section{padding:16px 0}
}

/* Estilos para checkout completo */
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width: 600px){.grid-2{grid-template-columns:1fr}}

.card{
  background:var(--card); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:var(--shadow);
  display:flex; flex-direction:column;
}
.card.checkout-card{
  padding:20px; margin-bottom:20px;
}
.card h3{margin:0 0 16px; font-size:18px; color:var(--text)}

.error{color:var(--danger); font-size:12px; margin-top:4px; display:block}
.muted{color:var(--muted); font-size:12px; margin-top:4px; display:block}

/* Melhorias para formulários */
.form .input{margin-bottom:16px}
.form .input input.error{border-color:var(--danger)}
.form .input input:focus{border-color:var(--accent)}

/* Estados de loading */
.btn:disabled{opacity:0.6; cursor:not-allowed}
.loading{position:relative; color:transparent}
.loading::after{
  content:''; position:absolute; top:50%; left:50%; transform:translate(-50%, -50%);
  width:16px; height:16px; border:2px solid transparent; border-top:2px solid currentColor;
  border-radius:50%; animation:spin 1s linear infinite;
}
@keyframes spin{to{transform:translate(-50%, -50%) rotate(360deg)}}



/* Barra de categorias – mobile-first */
.catbar{
  position:sticky; top:0; z-index:40;
  background:#fff; border-bottom:1px solid #e5e7eb;
  display:flex; gap:8px; padding:10px 12px;
  overflow-x:auto; -webkit-overflow-scrolling:touch;
}
.catpill{
  flex:0 0 auto;
  padding:10px 14px; border-radius:999px;
  border:1px solid #e5e7eb; background:#fff;
  font-weight:600; color:#111827;
}
.catpill.is-active{ background:#111827; color:#fff; border-color:#111827; }
@media (min-width: 768px){ .catbar{ justify-content:center; } }

/* grid de produtos (se já existir, não precisa, mas ajuda) */
.product-grid{ display:grid; gap:16px; grid-template-columns: repeat(4,1fr); }
@media (max-width: 1024px){ .product-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px){ .product-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .product-grid{ grid-template-columns: 1fr; } }

/* Modal básico alinhado ao seu tema */
.modal.hidden{ display:none }
.modal{ position:fixed; inset:0; z-index:100; display:block; overflow-y:auto; }
.modal-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.4); }
.modal-card{
  position:relative; z-index:1; max-width:980px; margin:4vh auto; background:#fff;
  border:1px solid #e5e7eb; border-radius:16px; padding:20px; box-shadow:0 10px 30px rgba(0,0,0,.15);
  max-height:90vh; overflow-y:auto;
}
.modal-close{
  position:absolute; top:12px; right:16px; border:0; background:#f3f4f6; width:40px; height:40px;
  border-radius:10px; cursor:pointer; font-size:22px; line-height:40px; font-weight:bold;
  transition:background-color 0.2s ease; z-index:1001; touch-action:manipulation;
  -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
.modal-close:hover{ background:#e5e7eb; }
.pm-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.pm-media img{ width:100%; height:auto; border-radius:12px; border:1px solid #e5e7eb; }
@media (max-width: 768px){
  .pm-media img{ width:100%; height:300px; object-fit:cover; border-radius:12px; border:1px solid #e5e7eb; }
}
.pm-price{ display:flex; align-items:baseline; gap:10px; margin:8px 0 6px; }
.pm-price .old{ color:#6b7280; text-decoration: line-through; }
.product-desc{ margin-top:8px; color:#374151; line-height:1.6 }
.product-desc p{ margin:0 0 10px }
.pm-actions{ margin-top:14px }
.btn{ display:inline-flex; align-items:center; justify-content:center; padding:12px 16px; border-radius:12px; border:0; background:#6d28d9; color:#fff; cursor:pointer }
.btn.btn-light{ background:#fff; border:1px solid #e5e7eb; color:#111827 }
.actions{ display:flex; gap:8px; margin-top:8px }
.price-row{ display:flex; align-items:baseline; gap:8px; margin:8px 0 6px; }
.price-row .price{ font-weight:800; font-size:16px; }
.price-row .old{ text-decoration:line-through; color:#9aa0ad; font-size:12px; }
.sprays-info{ font-size:12px; color:#7c6cf4; font-weight:600; background:#f0f0ff; padding:2px 8px; border-radius:12px; }
@media (max-width: 820px){ 
  .pm-grid{ grid-template-columns: 1fr; } 
  .modal-card{ margin:2vh auto; max-height:96vh; padding:16px; }
  .modal-close{ top:8px; right:12px; width:36px; height:36px; font-size:20px; line-height:36px; }
}
@media (max-width: 480px){
  .modal-card{ margin:1vh auto; max-height:98vh; padding:12px; }
  .modal-close{ top:6px; right:8px; width:32px; height:32px; font-size:18px; line-height:32px; }
  .pm-grid{ gap:16px; }
  .product-desc{ font-size:14px; }
}

/* Estilos do carrossel removidos - não são mais necessários */

/* Lista de resultados da busca */
.search-results{
  position:absolute; top:100%; left:0; right:0; background:#fff; border:1px solid var(--border);
  border-radius:12px; box-shadow:var(--shadow); z-index:100; max-height:300px; overflow-y:auto;
  display:none;
}
.search-results.show{ display:block; }
.search-result-item{
  padding:12px 16px; border-bottom:1px solid var(--border); cursor:pointer; transition:background 0.2s ease;
}
.search-result-item:hover{ background:var(--bg); }
.search-result-item:last-child{ border-bottom:none; }
.search-result-item .product-name{ font-weight:600; color:var(--text); }
.search-result-item .product-brand{ font-size:12px; color:var(--muted); margin-top:2px; }

/* Modal do carrinho */
.cart-modal-card{ max-width:500px; }
.cart-modal-content{ display:grid; gap:16px; }
.cart-modal-header{ text-align:center; }
.cart-modal-header h3{ margin:0; color:var(--success); font-size:18px; }
.cart-modal-product{ 
  display:flex; gap:12px; align-items:center; 
  padding:12px; background:var(--bg); border-radius:12px; 
}
.cart-product-image{ 
  width:60px; height:60px; object-fit:cover; border-radius:8px; border:1px solid var(--border);
}
.cart-product-info{ flex:1; }
.cart-product-info h4{ margin:0 0 4px; font-size:16px; }
.cart-modal-price{ font-weight:700; color:var(--accent); }
.cart-modal-quantity{ 
  display:flex; align-items:center; justify-content:space-between; 
  padding:12px; background:var(--bg); border-radius:12px; 
}
.quantity-controls{ display:flex; align-items:center; gap:12px; }
.qty-btn{ 
  width:32px; height:32px; border:1px solid var(--border); background:#fff; 
  border-radius:8px; cursor:pointer; font-weight:700; display:flex; align-items:center; justify-content:center;
}
.qty-btn:hover{ background:var(--bg); }
.qty-value{ 
  min-width:24px; text-align:center; font-weight:700; font-size:16px; 
}
.cart-modal-total{ 
  text-align:center; padding:12px; background:var(--accent); color:#fff; 
  border-radius:12px; font-size:18px; 
}
.cart-modal-limit{ 
  text-align:center; padding:8px; background:#fff3cd; color:#856404; 
  border-radius:8px; font-size:12px; border:1px solid #ffeaa7; 
}
.cart-modal-actions{ display:grid; gap:8px; }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-secondary{ background:#fff; color:var(--text); border:1px solid var(--border); }

@media (max-width: 480px){
  .cart-modal-card{ margin:2vh auto; max-width:95vw; }
  .cart-modal-product{ flex-direction:column; text-align:center; }
  .cart-product-image{ width:80px; height:80px; }
  .cart-modal-actions{ grid-template-columns:1fr; }
}

/* Responsividade para header icons */
@media (max-width: 768px){
  .header-icons{ top:8px; right:16px; }
  .header .row{ padding:8px 0; }
}
