/* ============================================================
   WM DROGARIAS — Design tokens & base styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors, sampled from the WM Drogarias logo */
  --teal:        #0B8FA8;
  --teal-dark:   #0A6E7F;
  --green:       #5FBF4A;
  --green-dark:  #3F9A34;
  --orange:      #F6A12A;
  --red:         #E42B30;
  --ink:         #12312F;
  --ink-soft:    #4B615F;
  --paper:       #FBFBF8;
  --paper-alt:   #F0F6F1;
  --line:        #E1E8E3;
  --white:       #FFFFFF;

  --font-display: 'Fredoka', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-pill: 999px;
  --radius-card: 20px;
  --shadow-card: 0 4px 20px rgba(18, 49, 47, 0.08);
  --shadow-lift: 0 10px 30px rgba(18, 49, 47, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 .4em;
  letter-spacing: -0.01em;
}

p { line-height: 1.6; margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Buttons (capsule / pill signature) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-outline {
  background: var(--white);
  color: var(--teal-dark);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--paper-alt); }

.btn-ghost {
  background: rgba(255,255,255,.18);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-ghost:hover { background: rgba(255,255,255,.28); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: 48px; border-radius: 12px; }
.brand .brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--teal-dark); line-height: 1.1;
}
.brand .brand-tag {
  font-size: 11px; letter-spacing: .12em; color: var(--ink-soft); text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-weight: 600; font-size: 14.5px; color: var(--ink); position: relative; padding: 4px 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orange); transform: scaleX(0); transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 10px 18px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink);
}
.cart-count {
  position: absolute; top: -6px; right: -6px; background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--white); cursor: pointer;
  }
}

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

.hero {
  position: relative;
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal) 35%, var(--green) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero::before {
  /* signature orbit-ring motif, echoing the logo */
  content: '';
  position: absolute;
  width: 640px; height: 640px;
  border: 34px solid rgba(255,255,255,.10);
  border-radius: 50%;
  top: -220px; right: -200px;
  transform: rotate(-18deg);
}
.hero::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border: 20px solid rgba(255,255,255,.14);
  border-radius: 50%;
  bottom: -180px; left: -140px;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.16); border-radius: var(--radius-pill);
  padding: 7px 16px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 42px; line-height: 1.12; margin-bottom: 18px; }
.hero p.lead { color: rgba(255,255,255,.92); font-size: 17px; max-width: 480px; }
.hero .hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-figure {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-figure .ring {
  position: absolute; width: 100%; max-width: 340px; aspect-ratio: 1;
  border: 3px dashed rgba(255,255,255,.55); border-radius: 50%;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-figure img {
  position: relative; width: 78%; max-width: 280px; border-radius: 50%;
  box-shadow: var(--shadow-lift);
  border: 6px solid rgba(255,255,255,.7);
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero .hero-actions { justify-content: center; }
  .hero-figure { order: -1; margin-bottom: 12px; }
  .hero h1 { font-size: 32px; }
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 28px 24px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--paper-alt); display: flex; align-items: center; justify-content: center;
  color: var(--teal); border: 2px solid var(--line);
}
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { font-size: 12.5px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Section generic ---------- */

.section { padding: 72px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 44px; }
.section-head .kicker {
  color: var(--green-dark); font-weight: 700; font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: 30px; }

/* ---------- Category chips ---------- */

.cat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.review-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 26px 24px; box-shadow: var(--shadow-card);
}
.review-card .stars { color: var(--orange); font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { color: var(--ink); font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
.review-card .reviewer { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }

@media (max-width: 860px) {
  .review-grid { grid-template-columns: 1fr; }
}
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 14px 18px 14px 14px; text-align: left; box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; align-items: center; gap: 16px; position: relative;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cat-card .cat-photo {
  width: 92px; height: 92px; border-radius: 16px; flex: none; position: relative;
  background-size: cover; background-position: center;
}
.cat-card .ring-icon {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--orange); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  box-shadow: var(--shadow-card);
}
.cat-card strong { display: block; font-family: var(--font-display); font-size: 15.5px; }
.cat-card span { font-size: 12.5px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card { padding: 10px 12px 10px 10px; gap: 10px; }
  .cat-card .cat-photo { width: 64px; height: 64px; border-radius: 12px; }
  .cat-card .ring-icon { width: 32px; height: 32px; font-size: 14px; right: -10px; border-width: 2px; }
  .cat-card strong { font-size: 13.5px; }
  .cat-card span { font-size: 11px; }
}

/* ---------- About / split ---------- */

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split-media {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-card); aspect-ratio: 4/3;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.info-list { list-style: none; padding: 0; margin: 22px 0 0; }
.info-list li {
  display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.info-list li strong { min-width: 120px; color: var(--ink); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}
.split-reverse { grid-template-columns: 1fr 1fr; }
.split-reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split-reverse .split-media { order: -1; }
}
.split-media-plain {
  aspect-ratio: auto; box-shadow: none; background: none;
}
.split-media-plain img { object-fit: contain; max-height: 520px; }

/* ---------- Promo banner (delivery) ---------- */

.promo-banner {
  background: linear-gradient(120deg, #0f7a5c, #17a673);
  padding: 40px 0;
}
.promo-banner-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center;
  text-align: left;
}
.promo-banner-inner img {
  width: 110px; height: 110px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-card);
}
.promo-banner-inner h3 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.promo-banner-inner p { color: rgba(255,255,255,0.9); margin: 0 0 14px; max-width: 420px; }
@media (max-width: 560px) {
  .promo-banner-inner { text-align: center; flex-direction: column; }
  .promo-banner-inner p { max-width: none; }
}

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

.site-footer {
  background: var(--ink); color: rgba(255,255,255,.86); padding: 56px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px;
}
.footer-grid h4 { color: var(--white); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.72); font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; width: 40px; border-radius: 10px; }
.footer-brand strong { font-family: var(--font-display); color: var(--white); font-size: 17px; }
.footer-links { list-style: none; padding: 0; margin: 12px 0 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px;
  font-size: 12.5px; color: rgba(255,255,255,.5); text-align: center;
}

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

/* ---------- WhatsApp floating button ---------- */

.whats-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  box-shadow: var(--shadow-lift); overflow: visible;
  display: block;
}
.whats-float img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 3px solid #25D366; display: block;
}
.whats-badge {
  position: absolute; bottom: -4px; right: -4px;
  background: #25D366; color: var(--white); width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  border: 2px solid var(--white);
}
.whats-float:hover { transform: scale(1.06); }

/* ============================================================
   Catalog page
   ============================================================ */

.catalog-toolbar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  box-shadow: var(--shadow-card); margin-bottom: 28px; position: sticky; top: 92px; z-index: 30;
}
.collection-bar {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px;
}
.collection-bar .chip {
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-card);
  padding: 20px 12px; text-align: center; cursor: pointer; color: var(--ink); font-family: var(--font-body);
  box-shadow: var(--shadow-card); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.collection-bar .chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.collection-bar .chip .ring-icon {
  width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%;
  border: 3px solid var(--orange); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.collection-bar .chip strong { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; }
.collection-bar .chip span { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.collection-bar .chip.active { border-color: var(--teal); box-shadow: var(--shadow-lift); }
.collection-bar .chip.active .ring-icon { border-color: var(--teal); }
.collection-bar .chip.active strong { color: var(--teal-dark); }
@media (max-width: 1080px) { .collection-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .collection-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .collection-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.search-box {
  flex: 1 1 260px; display: flex; align-items: center; gap: 10px;
  background: var(--paper-alt); border-radius: var(--radius-pill); padding: 10px 18px;
}
.search-box input {
  border: none; background: transparent; outline: none; font-size: 14.5px; width: 100%; color: var(--ink);
  font-family: var(--font-body);
}
.cat-select {
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 10px 18px;
  font-family: var(--font-body); font-size: 14px; color: var(--ink); background: var(--white); cursor: pointer;
}
.result-count { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }

.product-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  box-shadow: var(--shadow-card); transition: transform .15s ease, box-shadow .15s ease;
}
.product-thumb {
  width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: var(--paper-alt); margin-bottom: 4px; padding: 14px;
  cursor: pointer; box-sizing: border-box;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.product-card .tag {
  align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--teal-dark); background: var(--paper-alt);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.product-card h3 {
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px; line-height: 1.35;
  min-height: 40px; color: var(--ink); margin: 0;
}
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price-now { font-family: var(--font-display); font-size: 20px; color: var(--green-dark); font-weight: 600; }
.price-was { font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }
.discount-badge {
  background: var(--orange); color: var(--white); font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: var(--radius-pill);
}
.add-btn {
  margin-top: 6px; width: 100%; background: var(--teal); color: var(--white); border: none;
  border-radius: var(--radius-pill); padding: 10px; font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: background .15s ease;
}
.add-btn:hover { background: var(--teal-dark); }
.add-btn.added { background: var(--green); }

.empty-state {
  text-align: center; padding: 60px 20px; color: var(--ink-soft);
}

@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .catalog-toolbar { top: 76px; } }
@media (max-width: 480px)  { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Cart drawer ---------- */

.cart-overlay {
  position: fixed; inset: 0; background: rgba(18,49,47,.45); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw;
  background: var(--white); z-index: 95; box-shadow: -10px 0 40px rgba(0,0,0,.2);
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { margin: 0; }
.cart-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink-soft); }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-line {
  display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cart-line .info { flex: 1; }
.cart-line .info h4 { font-size: 13.5px; margin: 0 0 4px; font-family: var(--font-body); font-weight: 600; }
.cart-line .info .unit-price { font-size: 12.5px; color: var(--ink-soft); }
.qty-control {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.qty-control button {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-alt);
  cursor: pointer; font-weight: 700; color: var(--ink);
}
.qty-control span { min-width: 20px; text-align: center; font-weight: 600; font-size: 13.5px; }
.line-remove { background: none; border: none; color: var(--red); font-size: 12px; cursor: pointer; margin-top: 6px; }
.line-total { font-weight: 700; font-size: 14px; align-self: flex-start; white-space: nowrap; }

.cart-foot { border-top: 1px solid var(--line); padding: 20px 24px; }
.cart-total-row {
  display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 10px;
}
.cart-total-row.cart-discount-row { font-size: 13.5px; font-weight: 600; color: #1b8a3a; margin-bottom: 6px; }
.cart-total-row.cart-total-final { font-size: 17px; padding-top: 8px; border-top: 1px dashed var(--line); margin-bottom: 14px; }
.cpf-hint { font-size: 12.5px; margin-top: -4px; margin-bottom: 2px; min-height: 15px; }
.loyalty-note {
  background: #fff8e6; border: 1px solid #f0dca0; border-radius: 12px;
  padding: 10px 14px; font-size: 12.5px; color: #6b5a1c; line-height: 1.5;
}
.checkout-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.checkout-fields input, .checkout-fields textarea, .checkout-fields select {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-family: var(--font-body);
  font-size: 14px; resize: vertical; background: var(--white); color: var(--ink);
}
.checkout-fields .field-label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: -4px; }
.delivery-note {
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 14px;
}
.cart-action-row { display: flex; gap: 10px; }
.cart-action-row .btn-primary { flex: 1; }
.cart-empty { text-align: center; padding: 60px 16px; color: var(--ink-soft); }

/* ============================================================
   Admin page
   ============================================================ */

.admin-lock {
  min-height: 70vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
  text-align: center; padding: 40px 20px;
}
.admin-lock input {
  padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 14px; width: 260px;
}
.admin-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px;
}
.admin-stats {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px;
}
.stat-pill {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 10px 18px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-card);
}
.admin-table {
  width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.admin-table th, .admin-table td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.admin-table th { background: var(--paper-alt); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.status-pill {
  padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 700; text-transform: uppercase;
}
.status-liberado { background: #E4F6E0; color: var(--green-dark); }
.status-revisar { background: #FDECC8; color: #8A5A00; }
.status-removido { background: #FBDADA; color: var(--red); }
.mini-btn {
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-pill);
  padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; margin-right: 6px;
}
.mini-btn.on-liberado { border-color: var(--green); color: var(--green-dark); }
.mini-btn.on-removido { border-color: var(--red); color: var(--red); }

/* Modal de detalhes do produto */
.pdp-overlay {
  display: none; position: fixed; inset: 0; background: rgba(20,30,28,.55);
  z-index: 200; align-items: center; justify-content: center; padding: 20px;
}
.pdp-overlay.open { display: flex; }
.pdp-modal {
  background: var(--white); border-radius: var(--radius-card); max-width: 780px; width: 100%;
  max-height: 88vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lift);
  display: grid; grid-template-columns: 1fr 1fr;
}
.pdp-close {
  position: absolute; top: 14px; right: 14px; background: var(--paper-alt); border: none;
  width: 32px; height: 32px; border-radius: 50%; font-size: 16px; cursor: pointer; z-index: 2;
}
.pdp-image {
  background: var(--paper-alt); display: flex; align-items: center; justify-content: center;
  padding: 32px; border-radius: var(--radius-card) 0 0 var(--radius-card);
}
.pdp-image img { width: 100%; max-height: 340px; object-fit: contain; }
.pdp-info { padding: 28px 28px 28px 20px; display: flex; flex-direction: column; gap: 12px; }
.pdp-info .tag { align-self: flex-start; }
.pdp-info h2 { font-family: var(--font-display); font-size: 21px; margin: 0; line-height: 1.3; color: var(--ink); }
.pdp-meta { font-size: 13px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 4px; }
.pdp-price-row { display: flex; align-items: baseline; gap: 10px; margin: 4px 0; }
.pdp-price-row .price-now { font-size: 26px; }
.pdp-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pdp-bula-btn {
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-pill);
  padding: 10px; font-weight: 600; font-size: 13.5px; cursor: pointer; text-align: center;
  color: var(--ink); text-decoration: none; display: block;
}
.pdp-bula-btn:hover { background: var(--paper-alt); }
@media (max-width: 640px) {
  .pdp-modal { grid-template-columns: 1fr; }
  .pdp-image { border-radius: var(--radius-card) var(--radius-card) 0 0; }
}
