/* v3.8.8-r2 — enforce green ADD in sheet & tidy stepper */
.dbfg-section{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;margin:0 auto;max-width:1280px;padding:2px 6px}
.dbfg-header{margin:6px 4px 10px}
.dbfg-title{font-weight:900;letter-spacing:.2px;font-size:18px;line-height:1.2;margin:0;color:#0b1220;text-transform:uppercase}
.dbfg-subtitle{margin:2px 0 0;color:#9aa6b2;font-weight:700;font-size:14px;line-height:1.2}
.dbfg-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:0 0 6px}
@media (max-width:1200px){.dbfg-grid{grid-template-columns:repeat(5,minmax(0,1fr));}}
@media (max-width:1024px){.dbfg-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media (max-width:768px){.dbfg-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
@media (max-width:520px){.dbfg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.dbfg-card{--ring:#e8f0ff;--green:#2e7d32;background:#fff;border-radius:18px;border:1px solid var(--ring);box-shadow:0 8px 22px rgba(16,24,40,.08);overflow:hidden;position:relative;display:flex;flex-direction:column;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.dbfg-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(16,24,40,.12);border-color:#dfe8ff}
.dbfg-card[data-open-on-click="1"] .dbfg-img-wrap,.dbfg-card[data-open-on-click="1"] .dbfg-name{cursor:pointer}
.dbfg-img-wrap{position:relative;background:linear-gradient(180deg,#fbfdff 0,#f4faff 100%);display:flex;align-items:center;justify-content:center;min-height:170px;padding:12px 14px;border-bottom:1px solid #eef2f7}
.dbfg-thumb{max-width:86%;max-height:135px;width:auto;height:auto;object-fit:contain;display:block}
.dbfg-price-badge{position:absolute;top:8px;left:10px;background:#e02424;color:#fff;font-weight:900;border-radius:999px;padding:5px 10px;font-size:12px;box-shadow:0 3px 8px rgba(224,36,36,.25)}
.dbfg-variants-chip{position:absolute;bottom:10px;right:12px;background:#ffffff;border:1.8px solid #5b8dff;color:#1341b9;border-radius:999px;font-size:11px;font-weight:800;padding:4px 10px;pointer-events:none}
.dbfg-body{padding:12px 12px 14px}
.dbfg-name{font-size:15px;font-weight:800;line-height:1.3;margin:0 0 10px;min-height:36px;color:#101828;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dbfg-price-row{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.dbfg-price{font-weight:900;color:#0f172a;margin:0;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;font-size:15px}
@media (max-width:520px){ .dbfg-price{font-size:14px} }
.dbfg-price-row-cta{display:flex;align-items:center;width:100%}
.dbfg-add-btn{background:#fff;border:2px solid var(--green);color:var(--green);border-radius:999px;font-weight:900;padding:10px 16px;cursor:pointer;height:40px;width:100%;font-size:14px;display:inline-flex;align-items:center;justify-content:center}
.dbfg-add-btn:hover{background:#f4fbe9}
.dbfg-add-btn:disabled{opacity:.6;cursor:not-allowed}
.dbfg-stepper{display:inline-flex;align-items:center;border:2px solid var(--green);border-radius:999px;background:#fff;height:34px}
.dbfg-stepper-btn{width:30px;height:34px;display:flex;align-items:center;justify-content:center;background:#fff;border:0;font-weight:900;cursor:pointer;color:var(--green);line-height:1;font-size:16px}
.dbfg-stepper-qty{padding:0 10px;min-width:24px;text-align:center;font-weight:900;color:#0f172a;font-size:14px}
@media (max-width:520px){ .dbfg-stepper{height:30px}.dbfg-stepper-btn{width:26px;height:30px;font-size:15px}.dbfg-stepper-qty{padding:0 8px;font-size:13.5px}}
#dbfg-sheet{position:fixed;inset:0;z-index:2147483647;display:none}
#dbfg-sheet.dbfg-sheet--open{display:block}
#dbfg-sheet .dbfg-sheet__backdrop{position:absolute;inset:0;background:rgba(2,6,23,.55)}
#dbfg-sheet .dbfg-sheet__panel{position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -10px 30px rgba(0,0,0,.28);padding:16px 14px calc(16px + env(safe-area-inset-bottom));max-height:85vh;overflow:auto}
#dbfg-sheet .dbfg-sheet__titlebar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
#dbfg-sheet .dbfg-sheet__title{font-size:20px;font-weight:900;margin:0;color:#0b1220}
#dbfg-sheet .dbfg-sheet__close-inner{background:#111827;color:#fff;border:none;border-radius:999px;width:34px;height:34px;font-size:22px;line-height:32px;cursor:pointer}
#dbfg-sheet .dbfg-variant-row{display:flex;align-items:center;gap:12px;border:1px solid #edf2f7;border-radius:14px;padding:10px 12px;margin-bottom:10px;background:#fff}
#dbfg-sheet .dbfg-variant-row img{width:50px;height:50px;object-fit:contain}
#dbfg-sheet .dbfg-variant-meta{display:flex;align-items:center;gap:10px;flex:1}
#dbfg-sheet .dbfg-variant-label{color:#1f2937;font-weight:800}
#dbfg-sheet .dbfg-variant-price{margin-left:auto;font-weight:900}
#dbfg-sheet .dbfg-variant-add,#dbfg-sheet a.dbfg-variant-add,#dbfg-sheet button.dbfg-variant-add{background:#fff!important;border:2px solid var(--green)!important;color:var(--green)!important;border-radius:999px!important;padding:6px 16px!important;font-weight:900!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;height:34px!important;min-width:68px!important;line-height:1!important;cursor:pointer!important;outline:none!important}
.dbfg-seeall-wrap{display:flex;justify-content:center;margin:12px 4px 0}
.dbfg-seeall{display:inline-flex;align-items:center;gap:10px;padding:9px 12px;background:#f4f6ff;border:1px solid #e0e7ff;border-radius:999px;text-decoration:none}
.dbfg-seeall-thumbs{display:flex;align-items:center}
.dbfg-seeall-thumb{width:24px;height:24px;border-radius:999px;object-fit:cover;border:2px solid #fff;margin-right:-8px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.dbfg-seeall-label{color:#263a8a;font-weight:800}
.dbfg-seeall-arrow{margin-left:4px}

/* r3: Force circular thumbs inside 'See all products' */
.dbfg-seeall .dbfg-seeall-thumbs,
.dbfg-seeall .dbfg-seeall-thumbs .dbfg-seeall-thumb {
  width: 26px !important;
  height: 26px !important;
  border-radius: 9999px !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  clip-path: circle(50% at 50% 50%) !important;
}
.dbfg-seeall .dbfg-seeall-thumbs .dbfg-seeall-thumb {
  display: inline-block !important;
  object-fit: cover !important;
  border: 2px solid #fff !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.06) !important;
  margin-right: -8px !important;
}

/* r4 — Fancy but subtle header */
.dbfg-header{display:flex;flex-direction:column;align-items:flex-start;gap:2px;position:relative}
.dbfg-title{letter-spacing:.3px}
.dbfg-title:after{
  content:"";display:block;width:54px;height:4px;border-radius:999px;
  background:linear-gradient(90deg,#22c55e 0%,#16a34a 35%,#2563eb 100%);
  margin-top:6px;opacity:.85
}
.dbfg-subtitle{font-size:13px;color:#718096;font-weight:800;margin-top:2px}
.dbfg-subtitle:before{
  content:"";display:inline-block;width:8px;height:8px;border-radius:999px;margin-right:8px;
  background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)
}
@media (max-width:520px){
  .dbfg-title{font-size:17px}
  .dbfg-subtitle{font-size:12.5px}
}

/* r5 — Minimal header (and it's hidden unless show_header="yes") */
.dbfg-header{margin:8px 4px 10px;gap:2px}
.dbfg-title{font-size:17px;line-height:1.2;font-weight:900;letter-spacing:.2px;color:#0b1220;text-transform:uppercase}
.dbfg-title:after{content:none}
.dbfg-subtitle{font-size:13px;color:#7b8794;font-weight:700;margin-top:0}
.dbfg-subtitle:before{content:none}
