/* ==========================================================================
   Notification Bar presets applied to the classic (settings-driven) bar.
   Colors, texts, radius and countdown come from the bar's own settings; these
   rules only add each preset's LAYOUT (timer box shape, spacing, button size).
   Class .yb-cp-pN sits on .yb-preview-render (frontend + admin preview).
   ========================================================================== */
[class*="yb-cp-p"] .yb-bar-inner { gap: 14px 32px; padding: 12px 56px 12px 24px; align-items: center; justify-content: center; }
[class*="yb-cp-p"] .yb-text-content { line-height: 1.35; }
[class*="yb-cp-p"] .yb-text-content strong { font-weight: 700; }
[class*="yb-cp-p"] .yb-timer-wrapper { gap: 14px; }
[class*="yb-cp-p"] .yb-timer-title { font-weight: 500; white-space: nowrap; }
[class*="yb-cp-p"] .yb-timer-blocks span { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; text-align: center; }
[class*="yb-cp-p"] .yb-action-btns { display: inline-flex; align-items: center; gap: 10px; }
[class*="yb-cp-p"] .yb-action-btns a.yb-btn-dark { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; border: 0; line-height: 1.2; margin: 0; }

/* p1 : Dark Purple Countdown */
.yb-cp-p1 .yb-timer-title { font-size: 15px; }
.yb-cp-p1 .yb-timer-blocks { gap: 8px; }
.yb-cp-p1 .yb-timer-blocks span { min-width: 52px; border-radius: 3px; padding: 6px 6px; }
.yb-cp-p1 .yb-timer-blocks strong { font-size: 16px; font-weight: 600; }
.yb-cp-p1 .yb-timer-blocks small { font-size: 11px; margin-top: 3px; }
.yb-cp-p1 .yb-action-btns a.yb-btn-dark { padding: 11px 34px; font-size: 16px; }

/* p2 : Flash Blue */
.yb-cp-p2 .yb-timer-title { font-size: 20px; }
.yb-cp-p2 .yb-timer-blocks { gap: 8px; }
.yb-cp-p2 .yb-timer-blocks span { min-width: 54px; padding: 5px 6px; border-radius: 3px; border: 1px solid rgba(255,255,255,.55); }
.yb-cp-p2 .yb-timer-blocks strong { font-size: 20px; font-weight: 500; }
.yb-cp-p2 .yb-timer-blocks small { font-size: 12px; margin-top: 3px; font-weight: 400; }
.yb-cp-p2 .yb-text-content { font-size: 20px; }
.yb-cp-p2 .yb-action-btns a.yb-btn-dark { padding: 12px 28px; font-size: 18px; }

/* p3 : Pink Celebration */
.yb-cp-p3 .yb-timer-title { font-size: 18px; }
.yb-cp-p3 .yb-timer-blocks { gap: 14px; padding: 6px 12px; border: 1px solid #e7867c; border-radius: 3px;
    background-color: rgba(255,255,255,.35);
    background-image: linear-gradient(rgba(231,134,124,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(231,134,124,.18) 1px, transparent 1px);
    background-size: 12px 12px; }
.yb-cp-p3 .yb-timer-blocks span { min-width: 44px; padding: 0; }
.yb-cp-p3 .yb-timer-blocks strong { font-size: 24px; font-weight: 600; }
.yb-cp-p3 .yb-timer-blocks small { font-size: 13px; margin-top: 3px; }
.yb-cp-p3 .yb-text-content { font-size: 20px; }
.yb-cp-p3 .yb-action-btns a.yb-btn-dark { padding: 13px 26px; font-size: 16px; box-shadow: 0 4px 14px rgba(190,90,80,.15); }

/* p4 : Cream Shop (bag icon on the button) */
.yb-cp-p4 .yb-text-content { font-size: 20px; }
.yb-cp-p4 .yb-action-btns a.yb-btn-dark { padding: 14px 24px; font-size: 18px; font-weight: 500; }
.yb-cp-p4 .yb-action-btns a.yb-btn-dark::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232b2208'><path d='M7 8V7a5 5 0 0 1 10 0v1h3l1 14H3L4 8h3zm2 0h6V7a3 3 0 0 0-6 0v1zm-2 2H5.9L5.1 20h13.8l-.8-10H17v2h-2v-2H9v2H7v-2z'/></svg>") center / contain no-repeat; }

/* p5 : Aqua Gradient (no "Ending in" label, bag icon) */
.yb-cp-p5 .yb-timer-title { display: none; }
.yb-cp-p5 .yb-timer-blocks { gap: 14px; padding: 6px 10px; border-radius: 4px; background: rgba(255,255,255,.4); }
.yb-cp-p5 .yb-timer-blocks span { min-width: 44px; padding: 0; }
.yb-cp-p5 .yb-timer-blocks strong { font-size: 24px; font-weight: 600; }
.yb-cp-p5 .yb-timer-blocks small { font-size: 13px; margin-top: 3px; }
.yb-cp-p5 .yb-text-content { font-size: 20px; }
.yb-cp-p5 .yb-action-btns a.yb-btn-dark { padding: 13px 28px; font-size: 18px; }
.yb-cp-p5 .yb-action-btns a.yb-btn-dark::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M7 8V7a5 5 0 0 1 10 0v1h3l1 14H3L4 8h3zm2 0h6V7a3 3 0 0 0-6 0v1zm-2 2H5.9L5.1 20h13.8l-.8-10H17v2h-2v-2H9v2H7v-2z'/></svg>") center / contain no-repeat; }

@media (max-width: 767px) {
    [class*="yb-cp-p"] .yb-bar-inner { flex-direction: column; gap: 10px; padding: 14px 40px 14px 16px; }
    [class*="yb-cp-p"] .yb-text-content { font-size: 15px; }
    [class*="yb-cp-p"] .yb-text-content strong { font-size: 1.25em !important; }
}
