{"id":2136564,"name":"Without Click","components":[{"id":32476,"options":"{\"bgColor\":\"#CEF55C\",\"textColor\":\"#000\",\"selectElement\":\".navbar\"}","name":"Personalized Banner","html":"<div class=\"abt-personalized-banner\">\n   <img src=\"https://assets-manager.abtasty.com/162436a9afc9788b107ce5c2ee2462ae/account/new-year-promo_icon-1.png\"> <span class=\"abt-color-blue-text\">Black Friday starts now.</span> Get up to 50% off or a free trial.†\n</div>","css":"\n/* ============================================\n   NAVBAR STRUCTURE\n   ============================================ */\n\nnav.navbar {\n  display: flex;\n  flex-direction: column;\n  align-items: stretch;\n}\n\n/* Desktop full-width banner */\nnav.navbar > .abt-personalized-banner {\n  flex-shrink: 0;\n  margin: 0;\n  margin-left: -20px;\n}\n\n.navbar.sticky-nav {\n  box-shadow: none !important;\n}\n\n/* Existing navigation container */\nnav.navbar > .container {\n  width: 100%;\n}\n\n/* ============================================\n   BANNER — BASE / DESKTOP\n   ============================================ */\n\n.abt-personalized-banner {\n  position: relative;\n  top: auto;\n\n  background-color: #CEF55C;\n  color: #000;\n\n  padding: 10px 30px;\n  border-radius: 8px;\n\n  font-size: 20px;\n  font-weight: 500;\n  line-height: 1.5;\n\n  white-space: nowrap;\n\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 12px;\n\n  text-align: center;\n\n  box-sizing: border-box;\n}\n\n/* Hide duplicate banners */\nnav.navbar >\n.abt-personalized-banner ~\n.abt-personalized-banner {\n  display: none !important;\n}\n\n/* Desktop promotional image */\n.abt-personalized-banner img {\n  display: block;\n\n  width: 70px;\n  max-width: 70px;\n  height: auto;\n\n  flex-shrink: 0;\n}\n\n/* Banner links */\n.abt-personalized-banner a {\n  color: #000;\n\n  text-decoration: underline;\n  text-underline-offset: 4px;\n}\n\n.abt-personalized-banner wbr {\n  white-space: normal;\n}\n\n/* Purple promotional text */\n.abt-personalized-banner .abt-color-blue-text {\n  color: #471CFF;\n}\n\n/* Close button hidden on desktop */\n.abt-personalized-banner__close {\n  display: none;\n}\n\n/* ============================================\n   DESKTOP / TABLET\n   ============================================ */\n\n@media (max-width: 1440px) {\n\n  .abt-personalized-banner {\n    border-radius: 0;\n  }\n\n}\n\n@media (max-width: 1146px) {\n\n  nav.navbar > .abt-personalized-banner {\n    margin-right: -20px;\n  }\n\n}\n\n/* ============================================\n   MOBILE — DISMISSIBLE BLACK FRIDAY CARD\n   ============================================ */\n\n@media (max-width: 768px) {\n\n  /* Rounded lime-green card */\n  nav.navbar > .abt-personalized-banner {\n    margin-top:10px;\n    /* Block layout so text flows naturally */\n    display: block !important;\n\n    /* Reset desktop width/margins */\n    width: auto !important;\n    max-width: 100% !important;\n    align-self: stretch;\n    margin: 15px 0 0 0 !important;\n\n    /* Card shape */\n    border-radius: 16px !important;\n\n    /* Reduced height without image */\n    padding: 15px !important;\n\n    /* Typography */\n    font-size: clamp(18px, 5vw, 24px) !important;\n    font-weight: 500 !important;\n\n    line-height: 1.25 !important;\n    letter-spacing: -0.035em;\n\n    color: #161616 !important;\n\n    /* Centered text */\n    text-align: center !important;\n    white-space: normal !important;\n\n    /* Reset desktop flex properties */\n    gap: 0;\n\n    /* Safety */\n    min-width: 0;\n    box-sizing: border-box;\n    overflow-wrap: normal;\n  }\n\n  /* Hide promotional image on mobile */\n  nav.navbar > .abt-personalized-banner img {\n    display: none !important;\n  }\n\n  /* Purple text gets its own line */\n  nav.navbar > .abt-personalized-banner\n  .abt-color-blue-text {\n\n    display: block !important;\n\n    color: #471CFF !important;\n\n    font-weight: 500 !important;\n\n    line-height: 1.25 !important;\n\n    margin: 0 0 2px !important;\n  }\n\n  /* ========================================\n     CLOSE X — MOBILE ONLY\n     ======================================== */\n\n  nav.navbar\n  .abt-personalized-banner__close {\n\n    /* Show on mobile */\n    display: flex !important;\n\n    /* Position upper-left of card */\n    position: absolute !important;\n\n    top: 9px;\n    left: 9px;\n\n    /* Comfortable tap target */\n    width: 36px;\n    height: 36px;\n\n    align-items: center;\n    justify-content: center;\n\n    padding: 6px !important;\n    \n    margin: 0 !important;\n    /* Minimal close icon */\n    border: none !important;\n    border-radius: 50% !important;\n\n    background: transparent !important;\n    color: #8ca642 !important;\n\n    box-shadow: none !important;\n    appearance: none;\n\n    cursor: pointer;\n\n    /* Prevent hover flashing */\n    transform: none !important;\n    transition: none !important;\n    animation: none !important;\n\n    opacity: 1 !important;\n\n    /* Keep above text */\n    z-index: 2;\n\n    touch-action: manipulation;\n    -webkit-tap-highlight-color: transparent;\n  }\n\n  /* SVG inside close button */\n  nav.navbar\n  .abt-personalized-banner__close svg {\n\n    display: block;\n\n    width: 22px;\n    height: 22px;\n\n    flex-shrink: 0;\n\n    pointer-events: none;\n  }\n\n  /* No jumping/flash on desktop hover */\n  nav.navbar\n  .abt-personalized-banner__close:hover,\n\n  nav.navbar\n  .abt-personalized-banner__close:active {\n\n    background: transparent !important;\n\n    color: #8ca642 !important;\n\n    transform: none !important;\n    box-shadow: none !important;\n\n    opacity: 1 !important;\n  }\n\n  /* Accessible keyboard focus */\n  nav.navbar\n  .abt-personalized-banner__close:focus-visible {\n\n    outline: 2px solid #471CFF !important;\n    outline-offset: 1px;\n  }\n\n}\n\n/* ============================================\n   SMALL MOBILE SCREENS\n   ============================================ */\n\n@media (max-width: 375px) {\n\n  nav.navbar > .abt-personalized-banner {\n\n    padding: 19px 12px 20px !important;\n\n    font-size: 18px !important;\n\n    border-radius: 22px !important;\n  }\n\n  nav.navbar\n  .abt-personalized-banner__close {\n\n    top: 7px;\n    left: 7px;\n\n    width: 34px;\n    height: 34px;\n  }\n\n}\n\n/* ============================================\n   STICKY NAV FIX\n   ============================================ */\n\nnav.navbar.sticky-nav:has(.secondary-indicator):has(.abt-personalized-banner) {\n  transform: translateY(0) !important;\n}\n","testId":1711026,"uniqueId":"32476_1711026","config":{"bgColor":"#CEF55C","textColor":"#000","selectElement":".navbar"}}],"_tagInfo":"2026/12/01 22:15:06 UTC"}