/**
 * Growth Tools lander (/now/growth-tools/) – Holiday Sale top bar compatibility.
 *
 * The lander dequeues Bootstrap, GeneratePress and the child style.css so it renders
 * as authored. The Holiday Sale bar itself is the shared component
 * ([plixi_flash_sale_top_bar] -> inc/top-bar-holiday-sale-flash.php, timer/close in
 * wp-scripts.js). This file only supplies the subset of those dequeued rules the bar
 * depends on, scoped to .top-bar so nothing leaks into the lander.
 * Source of each block is noted; keep in sync if the main-site bar CSS changes.
 */

/* Plixi brand font faces (assets/css/plixi-live.css) */
@font-face {
    font-family: Plixi;
    font-style: normal;
    font-weight: 400;
    src: url(https://cdn.plixi.com/landing/assets/fonts/Plixi-Regular.woff) format("woff");
    font-display: swap
}

@font-face {
    font-family: Plixi;
    font-style: normal;
    font-weight: 200;
    src: url(https://cdn.plixi.com/landing/assets/fonts/Roobert-Light.woff) format("woff");
    font-display: swap
}

@font-face {
    font-family: Plixi;
    font-style: normal;
    font-weight: 400;
    src: url(https://cdn.plixi.com/landing/assets/fonts/Plixi-Medium.woff) format("woff");
    font-display: swap
}

@font-face {
    font-family: Plixi;
    font-style: normal;
    font-weight: 600;
    src: url(https://cdn.plixi.com/landing/assets/fonts/Plixi-SemiBold.woff) format("woff");
    font-display: swap
}

@font-face {
    font-family: Plixi;
    font-style: normal;
    font-weight: 700;
    src: url(https://cdn.plixi.com/landing/assets/fonts/Plixi-Bold.woff) format("woff");
    font-display: swap
}

@font-face {
    font-family: Plixi;
    font-style: normal;
    font-weight: 800;
    src: url(https://cdn.plixi.com/landing/assets/fonts/Plixi-Heavy.woff) format("woff");
    font-display: swap
}


/* Base context the bar inherits on main pages (GP main.min.css, widget-areas.min.css, plixi-live.css, Bootstrap 3) */
.top-bar{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-weight:400;text-transform:none;font-size:13px;line-height:1.5;color:#fff}
.top-bar a{color:#fff;text-decoration:none}
.top-bar svg{display:block;vertical-align:middle}
.top-bar button{font-family:inherit;font-size:17px;line-height:1.5;margin:0;background:#55555e;color:#fff;border:1px solid transparent;cursor:pointer;-webkit-appearance:button;padding:10px 20px}
.top-bar .row{margin-left:-15px;margin-right:-15px}
.top-bar .row:before,.top-bar .row:after{display:table;content:" "}
.top-bar .row:after{clear:both}
.top-bar .small{font-size:85%}

/* Holiday Sale bar rules (style.css, plixi-live.css) */
.top-bar .mob-banner{display:none}
.top-bar .sale-banner{overflow:hidden;-webkit-box-align:center;-webkit-box-pack:center;align-items:center;background-attachment:scroll;background-position:50% 50%;background-repeat:no-repeat;background-size:cover;color:#fff;column-gap:16px;display:flex;justify-content:center;padding:12px 16px;position:relative;font-family:'Plixi',sans-serif;z-index:99;text-decoration:none}
.top-bar a:hover{color:#fff}
.top-bar{background-image:unset;background-color:#fff;height:70px;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99}
.top-bar .flash-sale-hour-block-holidaysale{display:block;font-size:10px;text-transform:uppercase}
.top-bar .sale-banner-thnx{column-gap:1px !important}
.top-bar span.flash-sale-timer-block-holidaysale{border-radius:4px;background:#fff;font-size:20px;font-family:"Archivo",sans-serif;font-weight:500;display:inline-block;text-align:center;line-height:1;margin:0 3px;width:52px;transition:.7s ease-in-out;padding:5px}
.top-bar #holiday-sale.sale-banner-wrapper{background:#A21834 !important;position:relative}
.top-bar #holiday-sale.sale-banner-wrapper::after{background:url(https://cdn.plixi.com/images/new-holiday-banner/holiday_banner_right_img.png);background-size:contain;background-repeat:no-repeat;background-position:top right;opacity:1;position:absolute;content:"";left:0;right:62px;top:0;bottom:0;z-index:-1}
.top-bar #holiday-sale.sale-banner-wrapper::before{background:url(https://cdn.plixi.com/images/new-holiday-banner/holiday_banner_left_img.png);background-size:contain;background-repeat:no-repeat;background-position:top left;position:absolute;content:"";left:0;right:-150px;top:0;bottom:0;z-index:-1;opacity:1}
.top-bar span.flash-sale-timer-block-holidaysale{color:#111827;background:#ffffff}
.top-bar .flash-sale-timer-block-holidaysale span:first-child{color:#FF02A2 !important}
.top-bar .sale-discount-text{font-size:16px}
@media screen and (max-width:840px){.top-bar .sale-banner{column-gap:10px}}
@media (max-width:767.98px){
  .top-bar{height:65px}
  .top-bar .banner-txt{display:flex;align-items:stretch;align-content:center;flex-direction:column;justify-content:center}
  .top-bar .mob-banner{display:block !important}
  .top-bar .sale-banner-wrapper{display:none}
  .top-bar span.flash-sale-timer-block-holidaysale{padding:0 !important}
  .top-bar .mob-sale-banner{display:flex !important;background-position:50% 50%;background-repeat:no-repeat;background-size:cover;flex-direction:row;padding:12px 30px 12px 10px;width:auto;height:65px;margin-bottom:-40px;text-decoration:none;align-items:center;justify-content:center}
  .top-bar .sale-detail-memo{font-size:11px !important}
  .top-bar .mob-sale-banner .sale-line-div{margin-left:12px;margin-right:12px}
}
@media screen and (max-width:380px){.top-bar .mob-sale-banner .sale-line-div{margin-left:10px;margin-right:10px}}
@media screen and (max-width:360px){.top-bar .sale-detail-memo{font-size:10px}.top-bar .banner-plan{font-size:9px}}

/* Lander layout: push the sticky nav below the fixed bar (main site does the same with .site-header margin-top).
   wp-scripts.js sets header margin-top:0 and adds .banner-shrink when the bar is closed. */
.growth-tools-lander .nav{margin-top:70px;top:70px}
.growth-tools-lander .nav.banner-shrink{top:0}
@media (max-width:767.98px){.growth-tools-lander .nav{margin-top:65px;top:65px}}
