/* Single sale pages (.vibe-sale). Vibe brand: black for structure, orange for the offer and purchase actions, white
   shopping surfaces. Black text on orange (white on #f88900 is 2.4:1 and fails AA). Montserrat display type.
   The band stays compact so products show above the fold (owner: shopping first). Loaded on sale pages only. */
.vibe-sale {
  --vs-black: #0b0b0b;
  --vs-orange: #f88900;
  --vs-orange-hover: #ff9d1f;
  --vs-orange-glow: #fb8e28;
  --vs-link: #b35f00;
  --vs-ink: #1a1a1a;
  --vs-text: #2b2b2b;
  --vs-muted: #555555;
  --vs-mist: #e5e5e5;
  --vs-fog: #f3f3f3;
  --vs-display: Montserrat, -apple-system, "Segoe UI", Roboto, sans-serif;
  --vs-radius: 12px;
  margin-left: auto; margin-right: auto; box-sizing: border-box;
}
.vibe-sale .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Sale band: one black card on the grid's own edges. Offer | name, facts, perks | Price Beat + licence. */
.vibe-sale .vibe-sale-band {
  position: relative; overflow: hidden; margin: 16px 0 0; border-radius: var(--vs-radius);
  background:
    radial-gradient(120% 160% at 0% 50%, rgba(248, 137, 0, .28) 0%, rgba(248, 137, 0, 0) 45%),
    var(--vs-black);
  color: #fff;
}
.vibe-sale .vibe-sale-band::after { /* thin orange rule along the bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--vs-orange), rgba(248, 137, 0, 0) 70%);
}
.vibe-sale .vibe-sale-band__inner { padding: 22px 32px; display: flex; align-items: center; gap: 32px; }
.vibe-sale .vibe-sale-band__offer {
  flex: 0 0 auto; margin: 0; color: var(--vs-orange); font-family: var(--vs-display); font-weight: 900;
  font-size: clamp(44px, 2rem + 2.4vw, 76px); line-height: .9; letter-spacing: -2px; text-transform: uppercase;
  padding-right: 32px; border-right: 1px solid rgba(255, 255, 255, .16);
}
.vibe-sale .vibe-sale-band__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vibe-sale .vibe-sale-band__title {
  margin: 0; color: #fff; font-family: var(--vs-display); font-weight: 800;
  font-size: clamp(22px, 1.1rem + .8vw, 30px); line-height: 1.1; letter-spacing: -.3px;
}
.vibe-sale .vibe-sale-band__facts { margin: 0; color: #d6d6d6; font: 500 15px/1.4 var(--vs-display); }
.vibe-sale .vibe-sale-band__left {
  display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; vertical-align: 1px;
  background: rgba(248, 137, 0, .16); color: var(--vs-orange-glow); font: 700 12px/1.3 var(--vs-display);
  letter-spacing: .3px; text-transform: uppercase;
}
.vibe-sale .vibe-sale-band__left[hidden] { display: none; }
.vibe-sale .vibe-sale-band__perks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; padding: 0; list-style: none; }
.vibe-sale .vibe-sale-band__perks li { margin: 0; padding: 0 0 0 22px; position: relative; color: #fff; font: 600 14px/1.4 var(--vs-display); }
.vibe-sale .vibe-sale-band__perks li::before { /* orange check */
  content: ""; position: absolute; left: 3px; top: 2px; width: 6px; height: 11px;
  border: solid var(--vs-orange); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.vibe-sale .vibe-sale-band__aside { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.vibe-sale .vibe-sale-band__beat {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); color: #fff !important; font: 600 14px/1.2 var(--vs-display); text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.vibe-sale .vibe-sale-band__beat:hover { background: var(--vs-orange); border-color: var(--vs-orange); color: var(--vs-ink) !important; }
.vibe-sale .vibe-sale-band__licence { margin: 0; color: #9a9a9a; font: 500 11px/1.4 var(--vs-display); letter-spacing: .3px; }

/* Tablets and small laptops: Price Beat and the licence drop under the text so the middle column keeps its width. */
@media (min-width: 768px) and (max-width: 1179px) {
  .vibe-sale .vibe-sale-band__inner { flex-wrap: wrap; row-gap: 14px; padding: 20px 24px; column-gap: 24px; }
  .vibe-sale .vibe-sale-band__offer { padding-right: 24px; }
  .vibe-sale .vibe-sale-band__text { flex: 1 1 0; }
  .vibe-sale .vibe-sale-band__aside { flex: 1 0 100%; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Category pills: rounded, on the grid's left edge, sticky while scrolling. */
.vibe-sale .vibe-sale-pills { position: sticky; top: 0; z-index: 20; background: #fff; margin: 0; border-bottom: 1px solid var(--vs-mist); }
.vibe-sale .vibe-sale-pills__inner {
  padding: 14px 2px; display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vibe-sale .vibe-sale-pills__inner::-webkit-scrollbar { display: none; }
.vibe-sale .vibe-sale-pill {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 0; border-radius: 999px; background: var(--vs-fog); color: var(--vs-text);
  font: 600 14px/1 var(--vs-display); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.vibe-sale .vibe-sale-pill:hover { background: #e6e6e6; color: var(--vs-ink); }
.vibe-sale .vibe-sale-pill.is-active { background: var(--vs-black); color: #fff; }
.vibe-sale .vibe-sale-pill:focus-visible,
.vibe-sale .vibe-sale-after a:focus-visible,
.vibe-sale .dutchie-add-to-cart .add-to-cart-btn:focus-visible { outline: 2px solid var(--vs-link); outline-offset: 2px; }
.vibe-sale .vibe-sale-band a:focus-visible { outline: 2px solid var(--vs-orange-glow); outline-offset: 2px; }

/* Subcategory filter labels: title case (sale.js lowercases them). */
.vibe-sale .vibe-sale-tc { text-transform: capitalize !important; }

/* The plugin's own subcategory pill row and page title duplicate the band and pills. */
.vibe-sale .dutchie-shop-filter .dutchie-filter-mobile .dutchie-filter-cat-btn .sub-cat-list,
.vibe-sale .dutchie-shop-filter .dutchie-filter-mobile .dutchie-page-title { display: none !important; }
.vibe-sale .dutchie-shop-content-wrapper { padding-top: 12px; }
/* Toolbar to first row of cards: 65px in the plugin; about 36px here (cards keep their own 20px row gap). */
.vibe-sale .dutchie-shop-listing .dutchie-title-sort { padding-bottom: 12px; margin-bottom: 4px; }
.vibe-sale .dutchie-title-sort .cat-title { font-family: var(--vs-display); font-weight: 800; font-size: 22px; color: var(--vs-ink); letter-spacing: -.2px; }

/* Product cards */
.vibe-sale .dutchie-product { border: 1px solid var(--vs-mist); border-radius: var(--vs-radius); box-shadow: none; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.vibe-sale .dutchie-product:hover { border-color: #d4d4d4; box-shadow: 0 10px 28px rgba(0, 0, 0, .09); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .vibe-sale .dutchie-product:hover { transform: none; } }
.vibe-sale .dutchie-product .product-image { position: relative; }
.vibe-sale .dutchie-product .product-image img { object-fit: contain; }
/* !important: CannaSync prints its link colour inline, six classes deep. */
.vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-price { color: var(--vs-ink) !important; font-family: var(--vs-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-price del { color: var(--vs-muted); font-weight: 500; font-size: 14px; padding-left: 8px; }
/* The theme floats this badge onto the photo with fixed negative margins (-250px desktop, -175px phone), which
   breaks as soon as the photo changes height. Pin it to the card's top-left corner instead. */
.vibe-sale .dutchie-shop-listing .dutchie-product { position: relative; }
.vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-discount-off { margin: 0; height: 0; }
.vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-discount-off span {
  position: absolute; top: 12px; left: 12px; z-index: 2; float: none; margin: 0 !important; min-width: 0;
  background: var(--vs-orange); color: var(--vs-ink); border-radius: 999px; padding: 6px 11px;
  white-space: nowrap; font: 800 12px/1 var(--vs-display); letter-spacing: .5px; text-transform: uppercase;
}
/* Two-line names and a one-line strain/THC row keep cards even and short. */
.vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-name a {
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-meta {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-meta span { display: inline; }
.vibe-sale .dutchie-product .product-name a { color: var(--vs-ink); font-family: var(--vs-display); font-weight: 700; letter-spacing: .1px; }
.vibe-sale .dutchie-product .product-brand { color: var(--vs-muted); }
/* Every card is in this sale: the repeated sale-name tags add noise. */
.vibe-sale .dutchie-product .product-specials { display: none; }
/* Add to cart: black text on orange (AA), softer radius, same 44px+ target. */
.vibe-sale .dutchie-shop-listing .dutchie-add-to-cart .add-to-cart-btn {
  min-height: 44px; border-radius: 8px; background: var(--vs-orange); color: var(--vs-ink) !important;
  font-family: var(--vs-display); font-weight: 800; font-size: 15px; letter-spacing: .5px; text-transform: uppercase;
  transition: background-color .15s ease;
}
.vibe-sale .dutchie-shop-listing .dutchie-add-to-cart .add-to-cart-btn:hover { background: var(--vs-orange-hover); }
.vibe-sale .dutchie-shop-listing .dutchie-add-to-cart .add-to-cart-btn .new-atc-icon { filter: brightness(0); }

/* Below the grid */
.vibe-sale .vibe-sale-after { margin: 48px 0 0; padding: 0 0 40px; color: var(--vs-text); }
.vibe-sale .vibe-sale-after__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vibe-sale .vibe-sale-after h2 { margin: 0; font-family: var(--vs-display); font-weight: 700; line-height: 1.25; }
.vibe-sale .vibe-sale-after p { margin: 0; }
.vibe-sale .vibe-sale-eyebrow { color: var(--vs-orange-glow); font: 600 13px/1.2 var(--vs-display); letter-spacing: .5px; text-transform: uppercase; }
.vibe-sale .vibe-sale-beat {
  background: radial-gradient(120% 140% at 0% 0%, rgba(248, 137, 0, .22) 0%, rgba(248, 137, 0, 0) 50%), var(--vs-black);
  color: #fff; border-radius: var(--vs-radius); padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.vibe-sale .vibe-sale-beat h2 { color: #fff; font-size: 24px; }
.vibe-sale .vibe-sale-beat p:not(.vibe-sale-eyebrow) { color: #dadada; font-size: 16px; line-height: 1.5; }
.vibe-sale .vibe-sale-beat__link { color: var(--vs-orange-glow); font: 600 15px/1.4 var(--vs-display); text-decoration: underline; text-underline-offset: 2px; align-self: flex-start; padding: 10px 0; }
.vibe-sale .vibe-sale-beat__link:hover { color: #fff; }
.vibe-sale .vibe-sale-store { display: flex; border: 1px solid var(--vs-mist); border-radius: var(--vs-radius); overflow: hidden; background: #fff; }
.vibe-sale .vibe-sale-store__photo { flex: 0 0 46%; width: 46%; height: auto; min-height: 220px; object-fit: cover; object-position: 30% center; display: block; }
.vibe-sale .vibe-sale-store__body { padding: 28px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.vibe-sale .vibe-sale-store__body h2 { font-size: 20px; color: var(--vs-text); }
.vibe-sale .vibe-sale-store__body a { color: var(--vs-link); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.vibe-sale .vibe-sale-store__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.vibe-sale .vibe-sale-store__links a { display: inline-flex; align-items: center; min-height: 44px; }
.vibe-sale .vibe-sale-muted { color: var(--vs-muted); }
.vibe-sale .vibe-sale-details { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--vs-mist); }
.vibe-sale .vibe-sale-details h2 { font-size: 18px; color: var(--vs-text); margin-bottom: 12px; }
.vibe-sale .vibe-sale-details ul { margin: 0; padding-left: 20px; color: var(--vs-muted); font-size: 15px; line-height: 1.6; }
.vibe-sale .vibe-sale-legal { margin-top: 20px !important; color: var(--vs-muted); font: 12px/1.5 -apple-system, "Segoe UI", Roboto, sans-serif; }

/* [vibe_sale_promo] strip on store location pages (outside .vibe-sale). */
.vibe-sale-promo {
  max-width: 1200px; margin: 0 auto; box-sizing: border-box; padding: 24px 28px; border-radius: 10px;
  background: #0b0b0b; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: Montserrat, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.vibe-sale-promo p { margin: 0; }
.vibe-sale-promo__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vibe-sale-promo__title { color: #fff; font-weight: 800; font-size: clamp(22px, 1.1rem + 1vw, 30px); line-height: 1.15; }
.vibe-sale-promo__line { color: #dadada; font-weight: 500; font-size: 15px; line-height: 1.45; }
.vibe-sale-promo__line:first-of-type { color: #fff; font-weight: 600; }
.vibe-sale-promo__cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 3px;
  background: #f88900; color: #231f20 !important; font-weight: 700; font-size: 15px; letter-spacing: .5px;
  text-transform: uppercase; text-decoration: none !important;
}
.vibe-sale-promo__cta:hover { background: #e07b00; }
.vibe-sale-promo__cta:focus-visible { outline: 2px solid #fb8e28; outline-offset: 2px; }
@media (max-width: 767px) {
  .vibe-sale-promo { flex-direction: column; align-items: stretch; padding: 20px 16px; gap: 16px; }
  .vibe-sale-promo__line { font-size: 14px; }
  .vibe-sale-promo__cta { justify-content: center; }
}

@media (max-width: 767px) {
  /* Phone band: offer stacked "50% / OFF" on the left, name and dates beside it, perks and Price Beat full width. */
  .vibe-sale .vibe-sale-band { margin: 12px 0 0; }
  .vibe-sale .vibe-sale-band__inner {
    padding: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start;
  }
  .vibe-sale .vibe-sale-band__text { display: contents; }
  .vibe-sale .vibe-sale-band__offer {
    grid-column: 1; grid-row: 1 / span 2; width: min-content; font-size: 40px; line-height: .88; letter-spacing: -1px;
    padding-right: 14px; align-self: center;
  }
  .vibe-sale .vibe-sale-band__title { grid-column: 2; font-size: 20px; }
  .vibe-sale .vibe-sale-band__facts { grid-column: 2; font-size: 13px; }
  .vibe-sale .vibe-sale-band__left { margin: 4px 0 0; font-size: 11px; }
  .vibe-sale .vibe-sale-band__perks { grid-column: 1 / -1; gap: 4px 14px; margin: 8px 0 0; }
  .vibe-sale .vibe-sale-band__perks li { font-size: 12.5px; }
  .vibe-sale .vibe-sale-band__aside {
    grid-column: 1 / -1; margin-top: 8px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; text-align: right;
  }
  .vibe-sale .vibe-sale-band__beat { padding: 0 14px; font-size: 13px; }
  .vibe-sale .vibe-sale-pills { margin: 0; }
  .vibe-sale .vibe-sale-pills__inner { padding: 10px 2px; }
  .vibe-sale .vibe-sale-pill { padding: 0 16px; }
  /* Fade on the right edge says the pill row scrolls. */
  .vibe-sale .vibe-sale-pills::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 1px; width: 32px; pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
  }
  /* The plugin's mobile filter row is empty here (its subcategory pills are hidden); drop its spacing. */
  .vibe-sale .dutchie-shop-filter .dutchie-filter-mobile { min-height: 0; margin: 0; padding: 0; border: 0; }
  .vibe-sale .dutchie-shop-content-wrapper { padding-top: 0; margin-top: 0; }
  .vibe-sale .dutchie-shop-filter { margin: 0 !important; }
  .vibe-sale .dutchie-shop-listing-ajax { padding-top: 4px; margin-top: 0; }
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-image,
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-image > a { height: 112px; overflow: hidden; }
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-image img { height: 112px; width: 100%; object-fit: contain; }
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-meta { font-size: 11px; }
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-meta .vibe-sale-meta-cbd { display: none; }
  /* Room for "ADD TO CART" on one line at 15px in a 2-column grid. */
  .vibe-sale .dutchie-shop-listing .dutchie-add-to-cart .add-to-cart-btn { padding-left: 6px; padding-right: 6px; justify-content: center; white-space: nowrap; }
  .vibe-sale .dutchie-shop-listing .dutchie-add-to-cart .add-to-cart-btn .new-atc-icon { display: none; }
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-info { padding-top: 8px; }
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-price { font-size: 19px; }
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-price del { font-size: 13px; padding-left: 6px; }
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-name a { font-size: 13px; line-height: 1.35; }
  .vibe-sale .dutchie-shop-listing .dutchie-product .product-info .product-discount-off span { top: 8px; left: 8px; font-size: 11px; padding: 5px 7px; }
  .vibe-sale .dutchie-shop-listing .dutchie-add-to-cart .add-to-cart-btn { font-size: 15px; }
  .vibe-sale .vibe-sale-after { margin: 32px 0 0; padding: 0 0 32px; }
  .vibe-sale .vibe-sale-after__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vibe-sale .vibe-sale-beat { padding: 20px; }
  .vibe-sale .vibe-sale-beat h2 { font-size: 20px; }
  .vibe-sale .vibe-sale-store { flex-direction: column; }
  .vibe-sale .vibe-sale-store__photo { width: 100%; flex-basis: auto; height: 180px; min-height: 0; }
  .vibe-sale .vibe-sale-store__body { padding: 16px; }
}
