:root{
  --bg:#f7f3ec;
  --surface:#ffffff;
  --surface-soft:#fbf8f2;
  --text:#1f2430;
  --muted:#6e7380;
  --gold:#c8a24e;
  --gold-dark:#b88f39;
  --line:#e8dfd0;
  --shadow:0 14px 40px rgba(33, 24, 9, .08);
  --shadow-hover:0 22px 56px rgba(33, 24, 9, .14);
  --radius:28px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

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

a{
  color:inherit;
}

.container{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
}

.page{
  min-height:70vh;
}

/* header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,0,0,.05);
}

.header-wrap{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
}

.brand img{
  width:60px;
  height:60px;
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.brand-text{
  display:flex;
  flex-direction:column;
}

.name{
  font-size:2rem;
  font-weight:700;
  line-height:1;
}

.tag{
  margin-top:4px;
  font-size:.92rem;
  color:var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.nav a{
  text-decoration:none;
  font-weight:600;
  color:#2b2f38;
  font-size:.95rem;
  transition:.22s ease;
}

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

.site-footer{
  border-top:1px solid rgba(0,0,0,.05);
  background:#fff;
  margin-top:60px;
}

.footer-wrap{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-wrap p{
  color:var(--muted);
  font-size:.95rem;
  margin-top:4px;
}

.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.footer-links a{
  text-decoration:none;
  font-weight:600;
  color:#2b2f38;
}

/* alerts */
.alert{
  margin:18px 0 0;
  padding:14px 16px;
  border-radius:16px;
  font-weight:500;
}

.alert.success{ background:#e0f7e7; color:#1b6d37; }
.alert.warning{ background:#fff3d6; color:#8b6300; }
.alert.danger{ background:#fde0e0; color:#8c2222; }

/* common */
section{
  padding:74px 0;
}

.center{
  text-align:center;
}

.narrow{
  max-width:760px;
  margin:0 auto;
}

.mt-24{
  margin-top:24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 16px;
  border-radius:999px;
  background:linear-gradient(135deg,#e5c874,var(--gold));
  color:#fff;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.02em;
  margin-bottom:18px;
}

.section-head{
  max-width:760px;
  margin:0 auto 36px;
  text-align:center;
}

.section-head h2{
  font-size:clamp(2rem, 3vw, 2.7rem);
  line-height:1.12;
  margin-bottom:10px;
}

.section-head p{
  color:var(--muted);
  font-size:1rem;
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:none;
  cursor:pointer;
  transition:.25s ease;
  font-weight:700;
}

.btn-dark{
  background:linear-gradient(135deg,#171a22,#2a2f3a);
  color:#fff;
  padding:16px 28px;
  border-radius:999px;
  box-shadow:0 12px 30px rgba(16,18,26,.22);
}

.btn-dark:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.btn-light{
  background:#fff;
  color:#21242d;
  padding:16px 26px;
  border-radius:999px;
  border:1px solid var(--line);
  box-shadow:0 8px 18px rgba(0,0,0,.04);
}

.btn-light:hover{
  background:#fbfbfb;
  transform:translateY(-2px);
}

.btn-outline{
  background:transparent;
  color:#222;
  border:1px solid #ddd3c4;
  padding:11px 16px;
  border-radius:999px;
}

.btn-outline:hover{
  background:#f6f1e8;
}

.btn-small{
  font-size:.92rem;
  padding:11px 16px;
}

.btn-instagram{
  background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
  color:#fff;
  padding:14px 24px;
  border-radius:999px;
  box-shadow:0 12px 26px rgba(129,52,175,.18);
}

.btn-instagram:hover{
  transform:translateY(-2px);
  filter:brightness(1.03);
}

/* hero */
.hero-ultra{
  padding:34px 0 24px;
}

.hero-ultra-grid{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  align-items:center;
  gap:44px;
}

.hero-ultra-copy h1{
  font-size:clamp(2.5rem, 5vw, 4.4rem);
  line-height:1.02;
  letter-spacing:-.045em;
  margin-bottom:16px;
  color:#232c48;
  max-width:580px;
}

.hero-ultra-copy p{
  max-width:540px;
  color:var(--muted);
  font-size:1.03rem;
  margin-bottom:26px;
}

.hero-ultra-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.hero-ultra-media{
  background:var(--surface);
  border-radius:34px;
  overflow:hidden;
  box-shadow:var(--shadow-hover);
  min-height:520px;
}

.hero-ultra-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* brand */
.brand-block{
  padding-top:20px;
  padding-bottom:20px;
}

.brand-block h2{
  font-size:clamp(2rem, 3vw, 2.8rem);
  margin-bottom:12px;
}

.brand-block p{
  color:var(--muted);
  font-size:1.05rem;
}

/* categories */
.categories-ultra-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.category-ultra-card{
  background:var(--surface);
  border-radius:24px;
  padding:28px 22px;
  box-shadow:var(--shadow);
  transition:.25s ease;
}

.category-ultra-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-hover);
}

.cat-icon{
  font-size:2rem;
  margin-bottom:12px;
}

.category-ultra-card h3{
  font-size:1.15rem;
  margin-bottom:6px;
}

.category-ultra-card p{
  color:var(--muted);
  font-size:.96rem;
}

/* products */
.products-ultra{
  background:linear-gradient(to bottom, transparent, #f2ede4);
}

.products-ultra-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.product-ultra-card{
  background:var(--surface);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:.3s ease;
}

.product-ultra-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-hover);
}

.product-ultra-image{
  display:block;
  background:#efe7d9;
}

.product-ultra-image img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
}

.product-ultra-body{
  padding:18px 18px 20px;
}

.product-ultra-body h3{
  font-size:1.18rem;
  margin-bottom:8px;
}

.product-ultra-desc{
  color:var(--muted);
  font-size:.94rem;
  min-height:72px;
  margin-bottom:10px;
}

.product-ultra-note{
  font-size:.88rem;
  color:#7f6a45;
  font-weight:600;
  margin-bottom:14px;
}

.product-ultra-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* instagram */
.instagram-ultra{
  background:var(--surface);
}

.instagram-ultra-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.instagram-ultra-grid a{
  display:block;
  overflow:hidden;
  border-radius:22px;
  box-shadow:var(--shadow);
}

.instagram-ultra-grid img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  transition:transform .35s ease;
}

.instagram-ultra-grid a:hover img{
  transform:scale(1.06);
}

/* testimonials */
.testimonials-ultra-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.testimonial-ultra-card{
  background:var(--surface);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
}

.testimonial-ultra-card p{
  color:#555d68;
  margin-bottom:14px;
  font-size:.98rem;
}

/* cta */
.cta-ultra{
  padding-bottom:92px;
}

.cta-ultra-box{
  background:linear-gradient(180deg,#fff,#f7f1e8);
  border-radius:32px;
  padding:52px 30px;
  box-shadow:var(--shadow-hover);
  text-align:center;
}

.cta-ultra-box h2{
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:1.1;
  margin-bottom:12px;
}

.cta-ultra-box p{
  max-width:780px;
  margin:0 auto 24px;
  color:var(--muted);
  font-size:1.02rem;
}

/* product page */
.product-page-ultra{
  padding:56px 0 22px;
}

.product-page-ultra-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:34px;
  align-items:start;
}

.product-main-ultra{
  background:#fff;
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow-hover);
}

.product-main-ultra img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
}

.product-thumbs-ultra{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:16px;
}

.product-thumbs-ultra img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:16px;
  box-shadow:var(--shadow);
}

.product-content-ultra h1{
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:1.1;
  margin-bottom:16px;
}

.product-detail-desc-ultra{
  color:var(--muted);
  font-size:1rem;
  margin-bottom:18px;
}

.product-detail-note-ultra{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background:#f6f1e7;
  color:#7b6743;
  font-weight:600;
  margin-bottom:20px;
}

.product-detail-actions-ultra{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.related-ultra{
  padding-top:26px;
  padding-bottom:92px;
}

/* floating */
.floating-social{
  position:fixed;
  right:18px;
  bottom:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:999;
}

.float-btn{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 24px rgba(0,0,0,.18);
  transition:.25s ease;
}

.float-btn:hover{
  transform:scale(1.07);
}

.float-btn.instagram{
  background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

.float-btn.whatsapp{
  background:#25D366;
}

/* responsive */
@media (max-width: 1100px){
  .hero-ultra-grid,
  .product-page-ultra-grid{
    grid-template-columns:1fr;
  }

  .categories-ultra-grid,
  .products-ultra-grid,
  .instagram-ultra-grid,
  .testimonials-ultra-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width: 820px){
  .header-wrap{
    flex-direction:column;
    align-items:flex-start;
    padding:14px 0;
  }

  .nav{
    width:100%;
    gap:14px;
  }

  .footer-wrap{
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    padding:24px 0;
  }

  section{
    padding:58px 0;
  }

  .hero-ultra{
    padding-top:22px;
  }

  .hero-ultra-actions,
  .product-detail-actions-ultra{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-ultra-actions .btn,
  .product-detail-actions-ultra .btn{
    width:100%;
  }

  .categories-ultra-grid,
  .products-ultra-grid,
  .instagram-ultra-grid,
  .testimonials-ultra-grid,
  .product-thumbs-ultra{
    grid-template-columns:1fr;
  }

  .hero-ultra-media{
    min-height:300px;
  }

  .brand img{
    width:54px;
    height:54px;
  }

  .name{
    font-size:1.6rem;
  }

  .floating-social{
    right:14px;
    bottom:14px;
  }

  .float-btn{
    width:54px;
    height:54px;
  }
}

.admin-orders h1{
margin-bottom:25px;
}

.admin-table{
width:100%;
border-collapse:collapse;
background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.admin-table th{
background:#f7f7f7;
padding:14px;
text-align:left;
font-size:14px;
}

.admin-table td{
padding:14px;
border-top:1px solid #eee;
}

.status{
padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:600;
}

.status-nova{
background:#ffe9b0;
}

.status-em-produção{
background:#cfe8ff;
}

.status-concluída{
background:#d4f5d4;
}

.status-entregue{
background:#e6e6e6;
}

.btn-whatsapp{
background:#25D366;
color:white;
padding:6px 12px;
border-radius:6px;
text-decoration:none;
}

.btn-delete{
background:#ff5c5c;
color:white;
padding:6px 12px;
border-radius:6px;
text-decoration:none;
}

/* ADMIN ULTRA */

.admin-shell{
  padding:42px 0 20px;
}

.admin-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.admin-topbar h1{
  font-size:clamp(2rem, 3vw, 2.8rem);
  line-height:1.1;
  margin-bottom:8px;
}

.admin-subtitle{
  color:var(--muted);
  font-size:1rem;
}

.admin-top-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.admin-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-bottom:22px;
}

.admin-stat-card{
  background:var(--surface);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:24px;
}

.admin-stat-label{
  display:block;
  font-size:.92rem;
  color:var(--muted);
  margin-bottom:10px;
}

.admin-stat-value{
  font-size:2rem;
  font-weight:800;
  color:#232c48;
}

.admin-grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.admin-panel{
  background:var(--surface);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:22px;
}

.admin-panel-head{
  margin-bottom:16px;
}

.admin-panel-head h2{
  font-size:1.25rem;
}

.admin-shortcuts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.admin-shortcut-card{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:18px;
  border-radius:18px;
  background:var(--surface-soft);
  text-decoration:none;
  transition:.22s ease;
}

.admin-shortcut-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.admin-shortcut-card strong{
  font-size:1rem;
}

.admin-shortcut-card span{
  color:var(--muted);
  font-size:.92rem;
}

.admin-mini-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.admin-mini-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

.admin-mini-item:last-child{
  border-bottom:none;
}

.admin-mini-item p{
  color:var(--muted);
  font-size:.92rem;
}

.admin-table-wrap{
  overflow-x:auto;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
}

.admin-table th{
  text-align:left;
  padding:14px 12px;
  font-size:.88rem;
  color:#5a6170;
  border-bottom:1px solid var(--line);
  white-space:nowrap;
}

.admin-table td{
  padding:14px 12px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}

.admin-thumb-col{
  width:90px;
}

.admin-thumb{
  width:64px;
  height:64px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:var(--shadow);
}

.table-subtext{
  margin-top:4px;
  color:var(--muted);
  font-size:.88rem;
}

.admin-row-actions,
.admin-order-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.admin-inline-form{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.admin-select{
  min-width:150px;
  padding:10px 12px;
  border:1px solid #ddd8cc;
  border-radius:12px;
  background:#fff;
  font:inherit;
}

.order-details-cell{
  max-width:260px;
  color:#4f5563;
  font-size:.94rem;
  line-height:1.5;
}

.status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:700;
  white-space:nowrap;
}

.status-nova{
  background:#fff0c7;
  color:#8a6500;
}

.status-em-produção{
  background:#dcecff;
  color:#245d9b;
}

.status-concluída{
  background:#dff6e6;
  color:#237447;
}

.status-entregue{
  background:#eceff3;
  color:#4b5563;
}

.status-ativo{
  background:#dff6e6;
  color:#237447;
}

.status-inativo{
  background:#f3e2e2;
  color:#9d3c3c;
}

.btn-danger{
  background:#9f1f1f;
  color:#fff;
  padding:11px 16px;
  border-radius:999px;
  text-decoration:none;
}

.btn-danger:hover{
  filter:brightness(1.05);
}

.btn-whatsapp{
  background:#25D366;
  color:#fff;
  padding:11px 16px;
  border-radius:999px;
  text-decoration:none;
}

.empty-state{
  padding:24px 0;
  color:var(--muted);
  text-align:center;
}

@media (max-width: 1100px){
  .admin-stats-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .admin-grid-2{
    grid-template-columns:1fr;
  }
}

@media (max-width: 820px){
  .admin-stats-grid,
  .admin-shortcuts{
    grid-template-columns:1fr;
  }

  .admin-inline-form,
  .admin-order-actions,
  .admin-row-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .admin-select,
  .admin-inline-form .btn,
  .admin-order-actions .btn,
  .admin-row-actions .btn{
    width:100%;
  }
}