/* v1.0.0 — Carousel-only */
.dbfc-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}
.dbfc-header{margin:8px 4px 10px;gap:2px}
.dbfc-title{font-size:17px;line-height:1.2;font-weight:900;letter-spacing:.2px;color:#0b1220;text-transform:uppercase;margin:0}
.dbfc-subtitle{font-size:13px;color:#7b8794;font-weight:700;margin:2px 0 0}

.dbfc-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}
.dbfc-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(16,24,40,.12);border-color:#dfe8ff}
.dbfc-card[data-open-on-click="1"] .dbfc-img-wrap,.dbfc-card[data-open-on-click="1"] .dbfc-name{cursor:pointer}
.dbfc-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}
.dbfc-thumb{max-width:86%;max-height:135px;width:auto;height:auto;object-fit:contain;display:block}
.dbfc-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)}
.dbfc-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}
.dbfc-body{padding:12px 12px 14px}
.dbfc-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}
.dbfc-price-row{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.dbfc-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){ .dbfc-price{font-size:14px} }
.dbfc-price-row-cta{display:flex;align-items:center;width:100%}
.dbfc-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}
.dbfc-add-btn:hover{background:#f4fbe9}
.dbfc-add-btn:disabled{opacity:.6;cursor:not-allowed}
.dbfc-stepper{display:inline-flex;align-items:center;border:2px solid var(--green);border-radius:999px;background:#fff;height:34px}
.dbfc-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}
.dbfc-stepper-qty{padding:0 10px;min-width:24px;text-align:center;font-weight:900;color:#0f172a;font-size:14px}
@media (max-width:520px){ .dbfc-stepper{height:30px}.dbfc-stepper-btn{width:26px;height:30px;font-size:15px}.dbfc-stepper-qty{padding:0 8px;font-size:13.5px}}

/* Carousel layout */
.dbfc-carousel{position:relative}
.dbfc-carousel .dbfc-track{display:flex;gap:14px;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:2px;scrollbar-width:none;-ms-overflow-style:none}
.dbfc-carousel .dbfc-track::-webkit-scrollbar{display:none}
.dbfc-carousel .dbfc-track .dbfc-card{scroll-snap-align:start;flex:0 0 auto}
.dbfc-carousel .dbfc-nav{position:absolute;top:40%;transform:translateY(-50%);width:36px;height:36px;border-radius:999px;border:2px solid var(--green);background:#fff;color:var(--green);font-weight:900;box-shadow:0 8px 18px rgba(16,24,40,.18);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3}
.dbfc-carousel .dbfc-prev{left:-10px}
.dbfc-carousel .dbfc-next{right:-10px}
@media (max-width:520px){.dbfc-carousel .dbfc-nav{width:32px;height:32px;top:42%}.dbfc-carousel .dbfc-prev{left:-6px}.dbfc-carousel .dbfc-next{right:-6px}}

/* Dots */
.dbfc-dots{display:flex;justify-content:center;gap:8px;margin:10px 0 0}
.dbfc-dot{width:8px;height:8px;border-radius:999px;background:#d6dee9;border:none;padding:0;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.dbfc-dot.is-active{background:#2e7d32;transform:scale(1.2)}
@media (max-width:520px){.dbfc-dot{width:7px;height:7px}}

/* Variant bottom sheet (isolated ADD) */
#dbfc-sheet{position:fixed;inset:0;z-index:2147483647;display:none}
#dbfc-sheet.dbfc-sheet--open{display:block}
#dbfc-sheet .dbfc-sheet__backdrop{position:absolute;inset:0;background:rgba(2,6,23,.55)}
#dbfc-sheet .dbfc-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}
#dbfc-sheet .dbfc-sheet__titlebar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
#dbfc-sheet .dbfc-sheet__title{font-size:20px;font-weight:900;margin:0;color:#0b1220}
#dbfc-sheet .dbfc-sheet__close-inner{background:#111827;color:#fff;border:none;border-radius:999px;width:34px;height:34px;font-size:22px;line-height:32px;cursor:pointer}
#dbfc-sheet .dbfc-variant-row{display:flex;align-items:center;gap:12px;border:1px solid #edf2f7;border-radius:14px;padding:10px 12px;margin-bottom:10px;background:#fff}
#dbfc-sheet .dbfc-variant-row img{width:50px;height:50px;object-fit:contain}
#dbfc-sheet .dbfc-variant-meta{display:flex;align-items:center;gap:10px;flex:1}
#dbfc-sheet .dbfc-variant-label{color:#1f2937;font-weight:800}
#dbfc-sheet .dbfc-variant-price{margin-left:auto;font-weight:900}
#dbfc-sheet .dbfc-variant-add{background:#fff!important;border:2px solid #2e7d32!important;color:#2e7d32!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}

/* See all button with circular thumbs */
.dbfc-seeall-wrap{display:flex;justify-content:center;margin:12px 4px 0}
.dbfc-seeall{display:inline-flex;align-items:center;gap:10px;padding:9px 12px;background:#f4f6ff;border:1px solid #e0e7ff;border-radius:999px;text-decoration:none}
.dbfc-seeall-thumbs{display:flex;align-items:center}
.dbfc-seeall-thumb{width:24px;height:24px;border-radius:999px;aspect-ratio:1/1;object-fit:cover;border:2px solid #fff;margin-right:-8px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.dbfc-seeall-label{color:#263a8a;font-weight:800}
.dbfc-seeall-arrow{margin-left:4px}
