/*
Theme Name: Shopping das Carretas
Theme URI: https://shoppingdascarretas.com.br/
Author: Shopping das Carretas
Description: Tema personalizado a partir da site de vendas e locação. Catálogo de vendas e locações, WhatsApp e navegação por categorias.
Version: 1.3.0
Requires at least: 6.0
Text Domain: shopping-das-carretas
*/

:root{--black:#101317;--black2:#1b1f24;--yellow:#ffca1c;--line:#e5e8ec;--soft:#f6f7f9;--text:#1a1d21;--muted:#6c7380;}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--text)} a{text-decoration:none;color:inherit} img{display:block;max-width:100%}
.wrap{max-width:1230px;margin:auto;padding:0 22px}
.topbar{background:#0b0d10;color:#d0d4d8;font-size:12px} .topbar .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:10px 22px}
.header{position:sticky;top:0;z-index:40;background:rgba(16,19,23,.96);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.08)}
.head{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:92px}
.brand img{height:64px;width:auto;max-width:280px;object-fit:contain}
.nav{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;min-width:560px}
.nav a{display:flex;align-items:center;justify-content:center;text-align:center;height:48px;padding:0 14px;border:1px solid #343a42;border-radius:12px;background:#1b1f24;color:#fff;font-size:13px;font-weight:800;letter-spacing:.2px}
.nav a:hover{background:#242931}
.hero{background:radial-gradient(circle at 78% 35%, #2b323c 0%, #161a1f 29%, #0c0e11 72%);color:#fff}
.hero-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;align-items:center;padding:54px 0}
.eyebrow{color:var(--yellow);font-size:11px;font-weight:900;letter-spacing:2.4px;text-transform:uppercase} .eyebrow.gold{color:#b88600}
.hero h1{font-size:clamp(34px,4.6vw,60px);line-height:1.02;letter-spacing:-1.8px;max-width:520px;margin:14px 0 16px}
.hero p{max-width:560px;color:#c7ccd2;line-height:1.7;font-size:17px;margin:0 0 24px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;border-radius:12px;font-size:14px;font-weight:900;border:1px solid transparent}
.btn.yellow{background:var(--yellow);color:#111;border-color:var(--yellow)} .btn.dark{background:#1b1f24;color:#fff;border-color:#38404a} .btn.outline{background:#fff;color:#111;border:1px solid var(--line)}
.hero-photo{background:#fff;padding:16px;border-radius:24px;box-shadow:0 18px 50px rgba(0,0,0,.3)} .hero-photo img{width:100%;height:420px;object-fit:cover;object-position:center 68%;border-radius:18px}
.section{padding:74px 0} .soft{background:var(--soft)}
.headline{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px} .headline h2{font-size:clamp(30px,3.4vw,44px);letter-spacing:-1.1px;margin:8px 0 10px} .headline p{margin:0;max-width:680px;color:var(--muted);line-height:1.65}
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cat-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(18,24,32,.06)} .cat-card:hover{transform:translateY(-2px);transition:.2s}
.cat-photo{height:220px;background:#eef2f5} .cat-photo img{width:100%;height:100%;object-fit:cover;object-position:center 60%}
.cat-body{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 20px} .cat-body h3{margin:0 0 6px;font-size:22px;letter-spacing:-.5px} .cat-body p{margin:0;color:#7b838e;font-size:13px} .arrow{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#ffe27a;font-weight:900;flex:0 0 auto}
.note{margin-top:18px;background:#fff8dd;border-left:4px solid #e2af00;padding:13px 15px;border-radius:8px;color:#695521;font-size:13px}
.cat-section{padding:34px 0;border-top:1px solid var(--line);scroll-margin-top:108px} .cat-section:first-child{padding-top:0;border-top:0}
.cat-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:26px;align-items:center} .cat-image{border-radius:20px;overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:0 10px 28px rgba(18,24,32,.06)} .cat-image img{width:100%;height:360px;object-fit:cover;object-position:center 58%}
.cat-info h3{font-size:36px;letter-spacing:-1px;margin:8px 0 14px} .cat-info p{color:var(--muted);font-size:16px;line-height:1.7;max-width:580px}
.tag-row{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 22px} .tag-row span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-size:13px;font-weight:800}
.cat-actions{display:flex;gap:12px;flex-wrap:wrap}
.contact-box{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center} .contact-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 10px 28px rgba(18,24,32,.06)}
.contact-card h3{margin:8px 0 12px;font-size:34px;letter-spacing:-1px} .contact-card p{color:var(--muted);line-height:1.75;font-size:15px} .stack{display:grid;gap:12px;margin-top:16px} .item{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fafbfc} .item b{display:block;margin-bottom:4px}
.map-photo{border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:0 10px 28px rgba(18,24,32,.06)} .map-photo img{width:100%;height:100%;min-height:390px;object-fit:cover}
.footer{background:#101317;color:#b7bcc4;padding:36px 0;font-size:13px} .footer strong{color:#fff} .footer p{line-height:1.8}
@media (max-width:980px){
  .head{display:block;padding:12px 0 14px} .brand img{height:56px} .nav{min-width:0;width:100%;margin-top:10px}
  .hero-grid,.cat-layout,.contact-box{grid-template-columns:1fr} .hero-photo img{height:300px} .cat-image img{height:280px} .map-photo img{min-height:260px}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:700px){
  .topbar{display:none} .nav{grid-template-columns:repeat(4,1fr);gap:7px} .nav a{font-size:11px;height:44px;padding:0 6px}
  .hero-grid{padding:34px 0} .hero h1{font-size:40px} .hero p{font-size:16px}
  .cat-grid{grid-template-columns:1fr 1fr;gap:12px} .cat-photo{height:150px} .cat-body{padding:12px} .cat-body h3{font-size:17px} .cat-body p{font-size:11px}
  .headline h2{font-size:32px} .cat-info h3{font-size:31px} .contact-card h3{font-size:30px}
}

/* WhatsApp flutuante, inspirado no site anterior em acabamento contemporâneo */
.wa-rail{position:fixed;right:18px;bottom:28px;z-index:80;display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.wa-float{display:flex;align-items:center;gap:11px;min-width:190px;padding:11px 16px 11px 12px;border-radius:16px;background:#18a951;color:white!important;box-shadow:0 10px 30px rgba(0,0,0,.22);font-weight:750;font-size:13px;border:1px solid rgba(255,255,255,.22);transition:transform .18s,background .18s}
.wa-float:hover{background:#0a9040;transform:translateX(-4px)}
.wa-float.rental{background:#107d3e}.wa-float.rental:hover{background:#096a32}
.wa-icon{display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:12px;background:rgba(255,255,255,.16)}
.wa-icon svg{width:24px;height:24px;fill:currentColor}
.wa-copy{display:flex;flex-direction:column;gap:3px;white-space:nowrap}.wa-copy small{font-weight:500;opacity:.88;font-size:11px}.wa-copy strong{font-size:14px}
@media(max-width:700px){.wa-rail{right:11px;bottom:13px;gap:7px}.wa-float{min-width:0;padding:8px 11px 8px 8px;border-radius:13px;gap:8px;box-shadow:0 5px 20px #0004}.wa-icon{width:34px;height:34px;border-radius:10px}.wa-icon svg{width:21px;height:21px}.wa-copy strong{font-size:12px}.wa-copy small{font-size:10px}}

.inner-title{font-size:clamp(34px,4.4vw,54px);margin:12px 0 18px;letter-spacing:-1.5px}.intro-text{max-width:850px;line-height:1.65;color:#626b76;font-size:17px;margin:0 0 32px}.back-link{display:inline-block;margin-bottom:22px;color:#343b45;text-decoration:underline}.rent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rent-card{background:#fff;border:1px solid #e5e8ec;border-radius:16px;padding:23px;box-shadow:0 8px 24px rgba(10,15,25,.04)}.rent-card h3{font-size:20px;margin:11px 0}.rent-card p{color:#626b76}.rent-price{font-size:26px;font-weight:900;margin:18px 0}.rent-price small{font-size:12px;font-weight:normal;color:#747c86}.rent-card .btn{font-size:12px}.note{margin-top:24px;color:#6c7380;font-size:13px;line-height:1.6}@media(max-width:850px){.rent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.rent-grid{grid-template-columns:1fr}}

/* Catálogo de produtos V13 */
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.product-card{background:#fff;border:1px solid #e4e7eb;border-radius:18px;overflow:hidden;box-shadow:0 8px 26px #17202b0a;display:flex;flex-direction:column}
.product-card>a:first-child{display:block;background:#f0f1f3}
.product-card img{width:100%;height:310px;object-fit:contain;background:#f1f1f1}
.product-card-content{padding:18px;display:flex;flex-direction:column;gap:12px;flex:1}
.product-card-content h3{margin:0;font-size:18px;line-height:1.3}
.product-card-content p{font-size:14px;line-height:1.5;color:#656b74;margin:0;flex:1}
.product-card .btn{font-size:13px;text-align:center}
.detail-link{font-size:13px;text-align:center;text-decoration:underline;color:#454c58}
.product-detail{display:grid;grid-template-columns:1.15fr .85fr;gap:32px;align-items:start}
.product-gallery{display:grid;gap:14px}.product-gallery img{width:100%;height:auto;max-height:730px;object-fit:contain;border-radius:18px;background:#fff;border:1px solid #e5e8ec}
.product-side{padding:26px;background:white;border-radius:18px;border:1px solid #e5e8ec;position:sticky;top:115px}
.product-side p{line-height:1.7;color:#444e58}.product-side .btn{margin:10px 0}
@media(max-width:980px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.product-grid,.product-detail{grid-template-columns:1fr}.product-card img{height:320px}.product-side{position:static}.section{padding:40px 0}.product-gallery img{max-height:none}}
