/* DinhoS Reposição Inteligente — aparência independente, sem alterar WooCommerce core. */
.drsb-replenishment-card,.drsb-replenishment-account,.drsb-replenishment-thankyou {--drsb-repo-accent:var(--drsb-season-accent,#087cb5);--drsb-repo-border:var(--drsb-season-card-border,#cde2ee);font-family:inherit;color:#183951}
.drsb-replenishment-card{clear:both;display:block;max-width:700px;padding:17px 18px;margin:20px 0;border:1px solid var(--drsb-repo-border);border-radius:16px;background:linear-gradient(120deg,#f8fcff,#eff9ff);box-shadow:0 3px 14px rgba(3,38,60,.055)}
.drsb-replenishment-card .drsb-replenishment-head{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.drsb-replenishment-card h3{font-size:18px;line-height:1.25;color:#08395b!important;margin:0!important}
.drsb-replenishment-card p,.drsb-replenishment-account p{font-size:14px;line-height:1.5}
.drsb-replenishment-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 0}
.drsb-replenishment-form>label:not(.drsb-replenishment-optin){font-size:13px;font-weight:700}
.drsb-replenishment-form select{min-height:40px;width:auto;max-width:160px;border:1px solid #c6dbe7;border-radius:9px;padding:5px 8px;background:#fff}
.drsb-replenishment-optin{width:100%;font-size:12px!important;display:flex;align-items:flex-start;gap:8px;line-height:1.4!important}
.drsb-replenishment-optin input{margin-top:2px!important;flex:0 0 auto}
.drsb-replenishment-card .drsb-replenishment-button,.drsb-replenishment-button{display:inline-flex;align-items:center;justify-content:center;background:var(--drsb-repo-accent)!important;color:#fff!important;border:0;border-radius:9px;font-weight:700;font-size:13px;min-height:40px;padding:9px 15px;text-decoration:none!important;cursor:pointer}
.drsb-replenishment-account{width:100%;max-width:100%;min-width:0;margin-inline:0;box-sizing:border-box}
.drsb-replenishment-account h2,.drsb-replenishment-account h3{color:#08395b;margin:16px 0}
.drsb-replenishment-list{display:grid;gap:12px;margin-bottom:26px}
.drsb-replenishment-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid #d5e7f2;border-radius:12px;flex-wrap:wrap;background:#fff}
.drsb-replenishment-item-main{display:grid;gap:4px;min-width:230px;flex:1 1 240px}
.drsb-replenishment-item-main strong{font-size:14px}.drsb-replenishment-item-main span,.drsb-replenishment-item-main small{font-size:12px;color:#4b6478}
.drsb-replenishment-actions{display:flex;gap:6px;flex-wrap:wrap}
.drsb-replenishment-actions form{display:inline-block;margin:0!important;padding:0!important;border:0!important}
.drsb-replenishment-actions button{font-size:12px;cursor:pointer;border:1px solid #bed9e9;background:#f6fbff;color:#174f73;padding:7px 10px;border-radius:7px}
.drsb-replenishment-recent{display:grid;gap:8px}.drsb-replenishment-recent-item{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-bottom:1px solid #e0edf4;padding:10px 0;font-size:13px}
.drsb-replenishment-disclaimer{font-size:12px!important;color:#557083;margin-top:22px}
.drsb-replenishment-thankyou{border-left:3px solid var(--drsb-repo-accent);background:#f0faff;padding:12px 16px;margin:20px 0;font-size:14px}
@media(max-width:650px){.drsb-replenishment-card{padding:13px}.drsb-replenishment-form{align-items:stretch}.drsb-replenishment-form .drsb-replenishment-button{width:100%}}

.drsb-replenishment-consent{padding:12px 14px;background:#f1f9ff;border:1px solid #d1e6f1;border-radius:10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.drsb-replenishment-consent label{font-size:13px}.drsb-replenishment-consent input{margin-right:6px}

/* v0.2.69 — histórico real e sugestões de recompra, sem interferir nos cards do catálogo. */
.drsb-replenishment-account .drsb-replenishment-recent{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:14px;margin:14px 0 24px}
.drsb-replenishment-account .drsb-replenishment-recent-item{display:flex;flex-direction:column;gap:10px;min-width:0;border:1px solid #d7e6f0;border-radius:14px;padding:15px;background:#fff;box-shadow:0 2px 10px rgba(5,40,65,.04)}
.drsb-replenishment-account .drsb-replenishment-recent-top{display:flex;align-items:flex-start;gap:12px;min-width:0}
.drsb-replenishment-account .drsb-replenishment-recent-image{flex:0 0 76px;min-width:0;display:block;line-height:0}
.drsb-replenishment-account .drsb-replenishment-recent-image img{width:76px;height:76px;object-fit:contain;border:1px solid #e6eef4;border-radius:9px;background:#fff}
.drsb-replenishment-account .drsb-replenishment-recent-info{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.drsb-replenishment-account .drsb-replenishment-recent-info strong{font-size:14px;line-height:1.35;color:#15354d}
.drsb-replenishment-account .drsb-replenishment-recent-info span{font-size:12px;color:#617384;line-height:1.4}
.drsb-replenishment-account .drsb-replenishment-recent-info .drsb-replenishment-suggested{font-weight:700;color:#176482}
.drsb-replenishment-account .drsb-replenishment-recent-info>a{font-size:12px}
.drsb-replenishment-account .drsb-replenishment-recent-item .drsb-replenishment-form{width:100%;margin-top:auto;gap:8px}
.drsb-replenishment-account .drsb-replenishment-recent-item .drsb-replenishment-optin{font-size:12px!important}
.drsb-replenishment-account .drsb-replenishment-recent-item .drsb-replenishment-button{width:100%;text-align:center}
.drsb-replenishment-account .drsb-replenishment-scheduled,.drsb-replenishment-account .drsb-replenishment-unavailable{font-size:12px!important;padding:10px;border-radius:8px;background:#f1f7fa;margin-top:auto!important}
@media(max-width:600px){.drsb-replenishment-account .drsb-replenishment-recent{grid-template-columns:1fr}.drsb-replenishment-account .drsb-replenishment-recent-image{flex-basis:64px}.drsb-replenishment-account .drsb-replenishment-recent-image img{width:64px;height:64px}}

/* v0.2.70: mensagem de conveniência gratuita, leitura rápida e navegação responsiva. */
.drsb-replenishment-free{margin-left:auto;white-space:nowrap;font-size:10px;letter-spacing:.06em;font-weight:800;border:1px solid currentColor;color:#13678e;border-radius:99px;padding:4px 8px;background:rgba(255,255,255,.65)}
.drsb-replenishment-card .drsb-replenishment-lead{font-size:14px!important;color:#204c66;margin:8px 0 4px;font-weight:600;line-height:1.5}
.drsb-replenishment-card .drsb-replenishment-assurance{font-size:12px!important;color:#607d91;margin:4px 0 10px}
.drsb-replenishment-dashboard{display:flex;align-items:center;gap:14px;padding:17px;margin:16px 0 20px;background:#f1faff;border:1px solid #cae4f1;border-radius:15px}
.drsb-replenishment-dashboard>span{font-size:23px;flex:0 0 auto}
.drsb-replenishment-dashboard>div{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.drsb-replenishment-dashboard strong{font-size:15px;line-height:1.3;color:#143c57}
.drsb-replenishment-dashboard div span{font-size:12px;color:#486d86;line-height:1.45}
.drsb-replenishment-dashboard>a{flex:0 0 auto;display:inline-flex;justify-content:center;align-items:center;border-radius:9px;padding:11px 13px;background:var(--drsb-season-accent,#087cb5);color:#fff!important;font-size:12px;font-weight:750;text-decoration:none!important}
.drsb-replenishment-account .drsb-replenishment-hero{margin-bottom:18px;padding:clamp(18px,4vw,27px);border:1px solid #cde4f0;border-radius:18px;background:linear-gradient(120deg,#f5fbff 0%,#e4f4ff 100%);box-shadow:0 6px 23px rgba(12,67,102,.055)}
.drsb-replenishment-account .drsb-replenishment-hero-top{display:flex;align-items:center;gap:10px;margin-bottom:7px}
.drsb-replenishment-hero-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:13px;background:#fff;font-size:21px}
.drsb-replenishment-account .drsb-replenishment-hero h2{font-size:clamp(20px,3vw,27px);line-height:1.2;margin:4px 0 9px!important;color:#0b4263}
.drsb-replenishment-account .drsb-replenishment-hero p{font-size:14px;line-height:1.6;margin:0 0 14px}
.drsb-replenishment-hero-foot{display:flex;gap:9px;flex-wrap:wrap}
.drsb-replenishment-hero-foot span{font-size:11px;line-height:1.4;border-radius:999px;padding:6px 9px;background:rgba(255,255,255,.8);color:#24607e;font-weight:700}
.drsb-replenishment-account .drsb-replenishment-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 22px}
.drsb-replenishment-overview>div{min-width:0;display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid #d8e8f2;border-radius:13px;padding:13px 16px}
.drsb-replenishment-overview strong{font-size:20px;line-height:1.25;color:#0c5076}
.drsb-replenishment-overview span{font-size:12px;color:#60788a;overflow-wrap:anywhere}
.drsb-replenishment-section{margin-bottom:27px}
.drsb-replenishment-section-heading{margin-bottom:12px}
.drsb-replenishment-account .drsb-replenishment-section-heading h3{font-size:18px;margin:0 0 5px!important}
.drsb-replenishment-section-heading p{margin:0;color:#61778a;font-size:13px}
.drsb-replenishment-account .drsb-replenishment-origin{color:#0b698d!important;background:#e7f4fc;border-radius:99px;padding:3px 8px;font-size:10px!important;font-weight:700}
.drsb-replenishment-empty{padding:17px 18px;background:#f8fbfd;border:1px dashed #c5dce9;border-radius:12px;font-size:13px;color:#4b7184}
.drsb-replenishment-empty p{margin:6px 0 12px}
.drsb-replenishment-account .drsb-replenishment-recent-item{box-shadow:0 3px 14px rgba(10,43,69,.06)}
.drsb-replenishment-account .drsb-replenishment-recent-item .drsb-replenishment-form>label:not(.drsb-replenishment-optin){font-weight:750}
.drsb-replenishment-account .drsb-replenishment-recent-item .drsb-replenishment-form select{min-width:125px}
.drsb-replenishment-preferences{background:#f9fcfe;border:1px solid #d7e8f0;border-radius:12px;margin-top:7px;padding:11px 14px}
.drsb-replenishment-preferences summary{cursor:pointer;font-size:13px;font-weight:700;color:#1d5a7a}
.drsb-replenishment-preferences[open] .drsb-replenishment-consent{margin:12px 0 0}
@media(max-width:680px){
 .drsb-replenishment-dashboard{flex-wrap:wrap;gap:10px}
 .drsb-replenishment-dashboard>a{width:100%}
 .drsb-replenishment-account .drsb-replenishment-overview{gap:8px}
 .drsb-replenishment-overview>div{padding:12px}
 .drsb-replenishment-overview strong{font-size:17px}
 .drsb-replenishment-card .drsb-replenishment-head{gap:7px}
}

/* v0.2.75 — only the Reposição Inteligente account view: match parent ReefVerse width. */
body.drsb-shop-brand .drsb-replenishment-account,
body.drsf-shop-site .drsb-replenishment-account {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-inline:0!important;
  box-sizing:border-box!important;
}
/* The shop theme applies -webkit-text-fill-color to ordinary account links. Keep button readable. */
body.drsf-shop-site.woocommerce-account .dr-entry-content .drsb-replenishment-account a.drsb-replenishment-button,
body.drsf-shop-site.woocommerce-account .dr-entry-content .drsb-replenishment-account a.drsb-replenishment-button:visited,
body.drsf-shop-site.woocommerce-account .dr-entry-content .drsb-replenishment-account a.drsb-replenishment-button:hover,
body.drsf-shop-site.woocommerce-account .dr-entry-content .drsb-replenishment-account a.drsb-replenishment-button:focus-visible,
body.drsb-shop-brand .drsb-replenishment-account a.drsb-replenishment-button {
  background:var(--drsb-repo-accent,#087cb5)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  opacity:1!important;
  text-decoration:none!important;
  text-shadow:none!important;
}
body.drsf-shop-site.woocommerce-account .dr-entry-content .drsb-replenishment-account a.drsb-replenishment-button *,
body.drsb-shop-brand .drsb-replenishment-account a.drsb-replenishment-button * {
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}

/* v0.2.76: opção manual para itens de uso eventual e medicamentos. */
.drsb-replenishment-manual-note{font-size:12px!important;color:#45677d!important;padding:9px 11px;border-radius:9px;background:#fff9ed;border:1px solid #efe2c9;line-height:1.45!important}
