/*
Checkout upsell
*/
.wfocu_offer-template * {
   font-family: 'Work Sans', sans-serif !important;
}

.logo-section-upsell figure {
   margin-top: 5px;
}

.wfocu_offer-template h2.green-heading {
   font-size: 16px;
   line-height: 1.4;
   font-weight: 400;
}

.wfocu_offer-template h2.main-heading {
   font-size: 24px;
   font-weight: 400;
}

body.wfocu_offer-template .bwf-countdown-outer {
   justify-content: center;
   margin-bottom: 15px;
}

body .bwf-countdown-inner-wrap .bwf-digit-card .bwf-timer-digit {
   color: #000;
   font-size: 50px;
   line-height: 1;
   word-break: keep-all;
}

.wfocu_offer-template .wfocu_variable_price_regular bdi {
   font-weight: 400;
   color: #000000;
   font-size: 16px;
   text-decoration: line-through;

}

.wfocu_offer-template .wfocu_variable_price_sale bdi {
   font-weight: 600;
   color: #dc143c;
}

.wfocu_offer-template h2.saving-heading {
   font-size: 28px;
   color: #5BA238;
}

.wfocu-product-attr-wrapper .variations {
   margin-left: auto;
   margin-right: auto;
}

.wfocu_skip_offer {
   color: white !important;
   background: #000 !important;
   font-size: 16px !important;
   padding: 10px !important;
   transition: all 0.3s;
}

.wfocu_skip_offer:hover {
   color: #000 !important;
   background: white !important;
}

body .bwf-btn-wrap.wfocu-accept-button .bwf-btn {
   transition: all 0.3s;
   max-width: 100%;
}

body .bwf-btn-wrap.wfocu-accept-button .bwf-btn:hover {
   background: #000 !important;
   color: white !important;
}

.logo-section-upsell p {
   font-size: 14px !important;
   font-weight: 400 !important;
}

.flickity-prev-next-button.previous,
.flickity-prev-next-button.next {
   display: none !important;
}

.wfocu-product-carousel-nav .wfocu-thumb-col {
   padding: 3px;
}

.wfocu-product-thumbnails img {
   margin-bottom: 0;
}

.wfocu-product-carousel-nav {
   margin-bottom: 20px;
}

.wfocu-product-thumbnails .is-selected a img {
   -ms-transform: translateY(0);
   transform: translateY(0);
}

.wfocu-product-gallery {
   margin-bottom: 5px;
}

.grecaptcha-badge {
   display: none !important;
}

body .bwf-icon-wrap {
   display: flex;
   flex-wrap: nowrap;
   margin-left: 5px;
}

body .bwf-section-wrap.bwf-section-ed2423a1>.bwf-col {
   gap: 7px;
}

/*Responsive*/
@media (max-width: 767px) {
   body .bwf-icon-wrap {
      margin-left: 0px;
   }

   .wfocu_offer-template h2.main-heading {
      font-size: 18px;
      font-weight: 400;
   }

   .logo-section-upsell .logo img {
      max-width: 150px;
   }

   .text-review-wrapper .bwf-col {
      display: flex;
      flex-direction: column;
      justify-content: center;
   }

   .text-review-wrapper .col-rating-wrap {
      order: -1;
      margin-bottom: 6px !important;
   }

   .logo-section-upsell p {
      font-size: 14px !important;
      text-align: center !important;
      font-weight: 400 !important;
      padding: 0px 15px !important;
   }

   body .bwf-icon-wrap.bwf-icon-89cdf39c .bwf--icon svg {
      width: 15px !important;
      height: 15px !important;
   }

   .wfocu_offer-template .text-review-wrapper {
      padding-bottom: 0px !important;
   }

   body .bwf-btn-wrap.wfocu-accept-button .bwf-btn {
      margin-top: 0;
   }
}

/* Product offer and gift picker, including the picker loaded from a product page. */
.dt-checkout-upsell-modal {
   --offer-ink: #181817;
   --offer-muted: #565554;
   --offer-line: #deddda;
   --offer-pink: var(--diary-ballet, #fe87aa);
   --offer-green: #276249;
   font-family: var(--diary-type, Archivo, Arial, sans-serif);
   color: var(--offer-ink);
}
.dt-checkout-upsell-modal button { font-family: inherit; }
.dt-checkout-upsell-modal .dt-checkout-upsell-overlay {
   padding: 24px;
   z-index: 10020;
   background: rgb(18 18 18 / 48%);
}
.dt-checkout-upsell-modal .dt-checkout-upsell-container {
   position: relative;
   width: min(860px, 100%);
   margin: 0;
   max-width: 100%;
   max-height: calc(100dvh - 48px);
   padding: 0;
   overflow: auto;
   overscroll-behavior: contain;
   background: white;
   color: var(--offer-ink);
   border-radius: .25rem;
   box-shadow: none;
}
.dt-checkout-upsell-modal .dt-checkout-upsell-close {
   position: absolute;
   top: 8px;
   right: 8px;
   z-index: 5;
   display: grid;
   place-items: center;
   width: 40px;
   height: 40px;
   padding: 0;
   margin: 0;
   border: 0;
   border-radius: 50%;
   background: rgb(255 255 255 / 94%);
   color: var(--offer-ink);
   cursor: pointer;
}
.dt-checkout-upsell-modal .dt-checkout-upsell-close:hover { background: #f3f2f1; }
.dt-checkout-upsell-modal .dt-checkout-upsell-content {
   display: grid;
   grid-template-columns: minmax(0, .93fr) minmax(0, 1fr);
   margin: 0;
   padding: 0;
   color: inherit;
}
.dt-checkout-upsell-media {
   position: relative;
   min-width: 0;
   min-height: 0;
   overflow: hidden;
   background: #f1f0ee;
}
.dt-checkout-upsell-media .dt-checkout-upsell-gallery { position: absolute; inset: 0; height: 100%; }
.dt-checkout-upsell-gallery .swiper-wrapper,
.dt-checkout-upsell-gallery .swiper-slide { height: 100%; }
.dt-checkout-upsell-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dt-checkout-upsell-gallery__pagination.swiper-pagination { bottom: 12px; }
.dt-checkout-upsell-gallery__pagination .swiper-pagination-bullet { background: white; opacity: 1; border: 1px solid #777; }
.dt-checkout-upsell-gallery__pagination .swiper-pagination-bullet-active { background: #181817; }
.dt-checkout-upsell-body {
   display: flex;
   flex-direction: column;
   justify-content: center;
   gap: 15px;
   min-width: 0;
   padding: 46px clamp(24px, 3.4vw, 42px) 30px;
   background: white;
}
.dt-checkout-upsell-countdown {
   display: inline-flex;
   align-items: baseline;
   gap: 6px;
   padding: 5px 9px;
   border-radius: .25rem;
   background: #edf4ed;
   color: var(--offer-green);
   font-size: 12px;
   line-height: 1.3;
}
.dt-checkout-upsell-countdown strong { font-variant-numeric: tabular-nums; }
.dt-checkout-upsell-modal .dt-checkout-upsell-title {
   margin: 0;
   color: var(--offer-ink);
   font: 650 clamp(24px, 2.35vw, 34px)/1.07 var(--diary-type, Archivo, Arial, sans-serif);
   letter-spacing: -.045em;
   overflow-wrap: anywhere;
   text-wrap: balance;
}
.dt-checkout-upsell-pricing { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.dt-checkout-upsell-price { font-size: 22px; font-weight: 650; line-height: 1.1; letter-spacing: -.035em; }
.dt-checkout-upsell-price-regular { color: var(--offer-muted); font-size: 14px; text-decoration: line-through; }
.dt-checkout-upsell-save-chip,
.dt-checkout-upsell-badge { padding: 3px 7px; background: var(--offer-pink); color: var(--offer-ink); font-size: 12px; font-weight: 650; line-height: 1.3; }
.dt-checkout-upsell-body .dt-checkout-upsell-subtitle,
.dt-checkout-upsell-body .dt-checkout-upsell-footer { margin: 0; color: var(--offer-muted); font-size: 14px; line-height: 1.45; }
.dt-checkout-upsell-body .dt-checkout-upsell-footer { font-size: 12px; }
.dt-checkout-upsell-variations { display: grid; gap: 8px; }
.dt-checkout-upsell-variation-label { font-size: 14px; font-weight: 650; }
.dt-checkout-upsell-size-grid { display: flex; gap: 6px; flex-wrap: wrap; }
.dt-checkout-upsell-modal .dt-checkout-upsell-size {
   display: grid;
   place-items: center;
   min-width: 44px;
   min-height: 44px;
   padding: 5px;
   border: 1px solid var(--offer-line);
   border-radius: .25rem;
   background: white;
   color: var(--offer-ink);
   font-size: 14px;
   font-weight: 550;
   line-height: 1;
   cursor: pointer;
}
.dt-checkout-upsell-modal .dt-checkout-upsell-size:hover { border-color: var(--offer-ink); }
.dt-checkout-upsell-modal .dt-checkout-upsell-size.is-selected { border-color: var(--offer-ink); background: var(--offer-ink); color: white; }
.dt-checkout-upsell-modal .dt-checkout-upsell-size:disabled { opacity: .45; cursor: not-allowed; }
.dt-checkout-upsell-modal .dt-checkout-upsell-benefits {
   display: grid;
   grid-template-columns: repeat(2, minmax(0,1fr));
   gap: 10px 12px;
   margin: 0;
   padding: 14px 0;
   border-block: 1px solid var(--offer-line);
   list-style: none;
}
.dt-checkout-upsell-benefits li { display: flex; align-items: center; gap: 7px; padding: 0; font-size: 12px; font-weight: 500; line-height: 1.3; }
.dt-checkout-upsell-benefits li::before { content: none; }
.dt-checkout-upsell-benefit-icon { display: inline-flex; flex: none; }
.dt-checkout-upsell-benefit-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dt-checkout-upsell-actions { display: grid; gap: 2px; }
.dt-checkout-upsell-modal .dt-checkout-upsell-cta {
   min-height: 48px;
   padding: 10px 16px;
   border: 1px solid var(--offer-ink);
   border-radius: .25rem;
   background: var(--offer-ink);
   color: white;
   font-size: 15px;
   font-weight: 650;
   line-height: 1.3;
   cursor: pointer;
}
.dt-checkout-upsell-modal .dt-checkout-upsell-cta:hover:not(:disabled):not(.is-disabled) { background: #383837; }
.dt-checkout-upsell-modal .dt-checkout-upsell-cta:is(:disabled,.is-disabled) { background: #e4e3e1; border-color: #e4e3e1; color: #525250; cursor: not-allowed; }
.dt-checkout-upsell-modal .dt-checkout-upsell-cta.is-success { background: var(--offer-green); border-color: var(--offer-green); color: white; }
.dt-checkout-upsell-modal .dt-checkout-upsell-secondary {
   justify-self: center;
   min-height: 36px;
   padding: 6px 10px;
   border: 0;
   background: transparent;
   color: var(--offer-muted);
   font-size: 13px;
   font-weight: 500;
   text-decoration: underline;
   text-underline-offset: 3px;
   cursor: pointer;
}
.dt-checkout-upsell-modal .dt-checkout-upsell-secondary:hover { color: var(--offer-ink); text-decoration: none; }
.dt-checkout-upsell-body .dt-checkout-upsell-status { margin: 0; color: var(--offer-green); font-size: 13px; text-align: center; }
.dt-checkout-upsell-body .dt-checkout-upsell-status:empty { display: none; }
.dt-checkout-upsell-body .dt-checkout-upsell-status.is-error { color: #a92232; }
.dt-checkout-upsell-modal button:focus-visible { outline: 2px solid var(--offer-ink); outline-offset: 2px; }

@media (max-width: 767px) {
   .dt-checkout-upsell-modal .dt-checkout-upsell-overlay { align-items: flex-end; padding: 0; }
   .dt-checkout-upsell-modal .dt-checkout-upsell-container { width: 100%; max-height: calc(100dvh - 16px); border-radius: .25rem .25rem 0 0; }
   .dt-checkout-upsell-modal .dt-checkout-upsell-content { display: flex; flex-direction: column; }
   .dt-checkout-upsell-media { height: clamp(165px, 29dvh, 280px); }
   .dt-checkout-upsell-body { gap: 12px; padding: 20px 20px 0; }
   .dt-checkout-upsell-modal .dt-checkout-upsell-title { font-size: 25px; }
   .dt-checkout-upsell-modal .dt-checkout-upsell-benefits { padding: 11px 0; gap: 8px 12px; }
   .dt-checkout-upsell-actions {
      position: sticky;
      bottom: 0;
      z-index: 2;
      margin: 0 -20px;
      padding: 9px 20px max(5px, env(safe-area-inset-bottom));
      background: white;
      border-top: 1px solid var(--offer-line);
   }
}
