/*
 * Storefront additions on top of the Canopy theme.
 *
 * The theme's own CSS is untouched and served as-is from /cdn. Everything here
 * covers what the theme has no styles for: the text wordmark that replaces the
 * original shop's logo image, the cart badge, flash messages and the handful of
 * form states Laravel produces.
 */

/* ------------------------------------------------------------------ *
 * Section wrappers are named for this store
 *
 * The theme's stylesheet addresses its wrappers as `.shopify-section`; ours
 * are `.fivem-shops-section`. The theme's eight wrapper rules are restated
 * here verbatim for the new name, in the same order so the cascade (the
 * later `overflow: initial` overriding the earlier `hidden`) is preserved.
 * ------------------------------------------------------------------ */

.cc-animate-enabled .fivem-shops-section {
  overflow: hidden;
}

#content .fivem-shops-section:first-child .section-text-with-icons {
  box-shadow: inset rgba(0, 0, 0, 0.08) 0 1px 3px 0;
}

.template-collection .slideshow-section--full-width.slideshow-section--no-mobile-stack + .fivem-shops-section.main-collection-section {
  margin-top: -2.5em;
}

.template-collection #content .fivem-shops-section:first-child .collection-page {
  margin-top: 0 !important;
}

#content .fivem-shops-section.last-alt-bg .use-alt-bg {
  margin-bottom: 0;
}

#content .fivem-shops-section.last-full-width-section .full-width-section {
  margin-bottom: 0;
}

#content .fivem-shops-section:first-child .section.use-alt-bg,
#content .fivem-shops-section:first-child .section.full-width-section {
  margin-top: 0;
}

.cc-animate-enabled .fivem-shops-section {
  overflow: initial;
}

/* ------------------------------------------------------------------ *
 * Animation safety net
 * ------------------------------------------------------------------ *
 *
 * The theme reveals sections on scroll by starting them at opacity 0 and
 * letting its observer add `.-in`. On a short page an element below the fold
 * can miss that and stay invisible forever, which once left the checkout
 * button unclickable.
 *
 * Marketing pages keep the effect. Anything a customer has to interact with is
 * exempted here, so no animation can hide a form, a price or a button.
 */
/* `.order-summary`, not `.cart-summary`: that class belongs to the slide-in
   drawer, whose whole mechanism is a transform this rule would cancel. */
.template-cart [data-cc-animate],
.template-checkout [data-cc-animate],
.template-customers-login [data-cc-animate],
.template-customers-register [data-cc-animate],
.template-customers-account [data-cc-animate],
.template-customers-order [data-cc-animate],
.template-404 [data-cc-animate],
.order-summary,
#page-wrap form,
.account-table {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/*
 * The home page keeps the reveal-on-scroll effect, because that is where it
 * reads as design. Everywhere else the content is the reason for the visit —
 * a product grid that waits for a scroll event that may never come is a broken
 * page, not a subtle one.
 */
body:not(.template-index) [data-cc-animate],
body:not(.template-index) .product-block,
body:not(.template-index) [class*='cc-fade'],
body:not(.template-index) [class*='cc-zoom'] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/*
 * The chrome is never reveal-animated, on any template.
 *
 * The footer sits below every reveal trigger, so on the home page its observer
 * never fired and the whole thing rendered as an empty dark band.
 *
 * Scoped to [data-cc-animate] only. An earlier version forced every descendant
 * visible, which also un-hid everything the theme hides on purpose — the
 * dropdown menus and the desktop search sat permanently open on top of the
 * page. Only the reveal animation is neutralised; the theme's own hide/show
 * keeps working.
 */
.page-footer[data-cc-animate],
.header-container[data-cc-animate],
.announcement-bar[data-cc-animate],
.page-footer [data-cc-animate],
.header-container [data-cc-animate],
.announcement-bar [data-cc-animate] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/*
 * Sticky footer on every template: short pages (login, 404, empty cart)
 * used to end mid-screen with the browser canvas showing under the footer.
 * The wrap becomes a full-height flex column and the content block absorbs
 * the slack, so the footer always closes the viewport. The theme's inline
 * min-height on #page-wrap-inner keeps working — flex just adds to it.
 */
#page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

#page-wrap-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#page-wrap-content {
  flex: 1 0 auto;
}

/* ------------------------------------------------------------------ *
 * Hero slideshow
 * ------------------------------------------------------------------ *
 *
 * Slide height came from the per-section style block Shopify's editor wrote
 * into the page, so it is not in the theme's stylesheet. 620px is the height
 * measured on the reference site; the image is absolutely positioned and
 * cover-fitted exactly as the theme's own slides are.
 */
.section-slideshow .slideshow,
.section-slideshow .slide {
  position: relative;
  height: var(--hero-h, 620px);
  overflow: hidden;
}

.section-slideshow .slide .rimage-outer-wrapper {
  width: 100%;
  height: 100%;
}

.section-slideshow .slide .rimage__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
 * The overlay carries the theme's `container` class, whose `max-width` and
 * `margin: 0 auto` fight with `position: absolute`: the box ended up hundreds of
 * pixels left of the viewport, further out the wider the screen got.
 *
 * Positioning it against the slide and reproducing the container's gutter with
 * padding instead makes it correct at every width, from a phone to 4K, with no
 * breakpoints to keep in sync.
 */
.section-slideshow .slide .image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: none;
  margin: 0;
  padding-inline: max(20px, calc((100% - 1296px) / 2));
}

.section-slideshow .slide .image-overlay .inner {
  width: 100%;
  max-width: 520px;
  margin: 0;
}

/*
 * The theme slides the hero copy in from the left with translateX(-50%) and
 * only resets it for the "slide" transition. On a fading slideshow the reset
 * never matches, so the headline sat half a viewport off-screen — further out
 * the wider the display. The hero is the first thing anyone sees; it does not
 * get to animate itself into invisibility.
 */
.section-slideshow .slide .image-overlay,
.section-slideshow .slide .feature-subheader,
.section-slideshow .slide .line-1,
.section-slideshow .slide .line-2,
.section-slideshow .slide .line-3 {
  transform: none !important;
  opacity: 1 !important;
}

@media (max-width: 767px) {
  .section-slideshow .slide .image-overlay {
    align-items: flex-end;
    padding-block: 28px;
  }
}

/* Until the theme's carousel boots, every slide would stack. Only the first is
   shown; the slider reveals the rest once it takes over. */
.section-slideshow .slideshow:not(.slick-initialized) .slide + .slide {
  display: none;
}

@media (max-width: 767px) {
  .section-slideshow .slideshow,
  .section-slideshow .slide {
    height: var(--hero-h-mobile, 460px);
  }
}

/* A slide's YouTube background: cover-fitted behind the caption, inert to
   the pointer so the slider's arrows and buttons stay clickable. */
.section-slideshow .slide-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-slideshow .slide-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100vw, calc(var(--hero-h, 620px) * 1.7778));
  height: max(var(--hero-h, 620px), 56.25vw);
  border: 0;
}

@media (max-width: 767px) {
  .section-slideshow .slide-video iframe {
    width: max(100vw, calc(var(--hero-h-mobile, 460px) * 1.7778));
    height: max(var(--hero-h-mobile, 460px), 56.25vw);
  }
}

/* ------------------------------------------------------------------ *
 * Home image tiles
 * ------------------------------------------------------------------ *
 *
 * Shopify's editor wrote the sizing for this section into each page as an
 * inline style block, so none of it is in the theme's stylesheet. The importer
 * captures those numbers per gallery and the template hands them over as CSS
 * variables: --tile-h / --tile-h-mobile, --tile-pad, --tile-l1 (+ -tablet,
 * -mobile). Measured off the reference at 1440 and at 375, the caption obeys
 * one rule in both galleries: anchored at `left: 50% + pad`, ~20px up from the
 * bottom, spilling past the tile edge and clipped by it — exactly as shown.
 */
.cc-gallery {
  margin: -10px 0;
}

/* nowrap on purpose: the rows are already split in the markup, and wrapping
   makes a row of three break to two because 3 x (406 + 20) is a couple of
   pixels wider than the container. Without it they shrink to fit, which is what
   the reference does. */
.cc-gallery .gallery__row {
  display: flex;
  flex-wrap: nowrap;
  margin: 0 -10px;
}

.cc-gallery .gallery__item {
  position: relative;
  flex: 1 1 406px;
  margin: 10px;
  height: var(--tile-h-mobile, 360px);
  overflow: hidden;
}

@media (min-width: 769px) {
  .cc-gallery .gallery__item {
    height: var(--tile-h, 380px);
  }
}

.cc-gallery .image-overlay__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.cc-gallery .gallery__image {
  width: 100%;
  height: 100%;
  background-color: #f1f1f1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 0.5s ease-out, filter 0.7s;
}

.cc-gallery .image-overlay__image-link:hover .gallery__image {
  transform: scale(1.02);
  filter: brightness(70%);
}

.cc-gallery .image-overlay {
  position: absolute;
  inset: 0;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* The caption block. Transparent on the collection tiles (their images are
   white, as on the reference); the marketing gallery adds a white box via
   `gallery--boxed` below. */
.cc-gallery .image-overlay .inner {
  position: absolute;
  left: calc(50% + var(--tile-pad, 45px));
  bottom: 21px;
  width: max-content;
  /* An absolutely positioned box shrinks to the space left of the tile edge,
     which broke OATMEAL mid-word; the reference lets the caption run past the
     edge instead (its own measurements put the text wider than the tile). */
  min-width: max-content;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.cc-gallery .image-overlay .line-1 {
  margin: 0 0 25px;
  font-size: var(--tile-l1-mobile, 46px);
  line-height: 1;
  letter-spacing: 1.28px;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .cc-gallery .image-overlay .line-1 {
    font-size: var(--tile-l1-tablet, 41.4px);
  }
}

@media (min-width: 1200px) {
  .cc-gallery .image-overlay .line-1 {
    font-size: var(--tile-l1, 46px);
  }
}

.cc-gallery .image-overlay .line-3 {
  margin: 0;
}

/* The marketing pair: a white box that hugs its text, capped at 500px like the
   reference. It can run past the tile's right edge and gets clipped there —
   that is what the reference itself renders. */
.cc-gallery.gallery--boxed .image-overlay .inner {
  bottom: 20px;
  width: auto;
  min-width: 0;
  max-width: 500px;
  padding: 25px 30px;
  background: #ffffff;
  color: #231f20;
}

.cc-gallery.gallery--boxed .image-overlay .line-1 {
  margin-bottom: 18px;
  line-height: 1.2;
}

.cc-gallery .link-display--underlined {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* The tiles carry the same slide-in transform as the hero, with the same
   never-matching reset, which parked every heading outside its tile. */
.cc-gallery .image-overlay,
.cc-gallery .image-overlay .inner,
.cc-gallery .feature-subheader,
.cc-gallery .line-1,
.cc-gallery .line-2,
.cc-gallery .line-3 {
  transform: none !important;
  opacity: 1 !important;
}

@media (max-width: 767px) {
  .cc-gallery .gallery__row {
    flex-wrap: wrap;
  }

  .cc-gallery .gallery__item {
    flex-basis: 100%;
  }
}

/* ------------------------------------------------------------------ *
 * Collection toolbar
 * ------------------------------------------------------------------ */

.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  padding: 16px 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.collection-toolbar .collection-sort select {
  margin: 0;
  min-width: 190px;
}

.collection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.tag-link {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

a.tag-link:hover {
  border-color: #231f20;
}

.tag-link.is-active {
  border-color: #231f20;
  background: #231f20;
  color: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 24px 0 0;
  font-size: 13px;
}

.breadcrumbs span[aria-hidden] {
  opacity: 0.4;
}

.pagination-row {
  margin-top: 40px;
}

.empty-state .btn {
  margin-top: 8px;
}

/* ------------------------------------------------------------------ *
 * Wordmark
 * ------------------------------------------------------------------ */

/* The reference site's logo sizing, which lived in a per-section style block
   rather than the stylesheet. */
.logo img {
  width: 100px;
  height: auto;
}

@media (min-width: 1025px) {
  .logo img {
    width: 150px;
  }
}

/* Used only when no logo image is configured. Held to the same footprint and
   kept on one line so the toolbar stays the height the theme expects. */
.logo-wordmark {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 1025px) {
  .logo-wordmark {
    font-size: 26px;
  }
}

.logo-wordmark--footer {
  font-size: 24px;
  white-space: nowrap;
}

/*
 * On a phone the wordmark is wider than the logo image it replaces, which
 * pushed the cart icon onto a second row. Shrinking it and keeping the icon
 * strip on one line restores the theme's single-row mobile header.
 */
@media (max-width: 767px) {
  .logo-wordmark {
    font-size: 17px;
  }

  /* The icon strip must size to its contents, or the cart wraps to a new line. */
  .toolbar-right,
  .toolbar-icons {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    flex: 0 0 auto;
  }

  /* The icons share a row but their glyphs sat on different baselines, so the
     cart looked like it had dropped to a second line. Centring each one inside
     the same box lines them up. */
  .toolbar-icons .toolbar-search,
  .toolbar-icons .toolbar-account,
  .toolbar-icons .toolbar-cart,
  .toolbar-icons .mobile-toolbar,
  .toolbar-icons .toolbar-cart .current-cart,
  .toolbar-icons .mobile-toolbar .toggle-mob-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 55px;
    line-height: 1;
  }

  .toolbar-icons .mobile-toolbar,
  .toolbar-icons .mobile-toolbar .toggle-mob-nav {
    width: 44px;
  }

  .toolbar-icons .mobile-toolbar .toggle-mob-nav {
    flex-direction: column;
    gap: 5px;
  }

  /* The bars are flex children now, so they would otherwise stretch to the
     button's full width. */
  .toolbar-icons .mobile-toolbar .toggle-mob-nav span {
    width: 22px !important;
    height: 2px !important;
    margin: 0 !important;
    background: currentColor;
  }

  /* The cart's glyph sat on the text baseline inside its box, which read as the
     icon having dropped to a second row. */
  .toolbar-icons .current-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .toolbar-icons svg {
    display: block;
  }
}

/* ------------------------------------------------------------------ *
 * Cart badge
 * ------------------------------------------------------------------ */

/* (The old toolbar cart-badge rules are gone: the header-modern block owns
   the cart button and its badge now — the two-class selectors here used to
   out-rank it and knocked the icon out of its circle.) */

/* ------------------------------------------------------------------ *
 * Content pages
 * ------------------------------------------------------------------ */

/* Imported pages are one block per section of the original. They need spacing
   between them, and their images need to behave. */
.page-block + .page-block {
  margin-top: 48px;
}

.page-block img {
  max-width: 100%;
  height: auto;
}

/* Checkbox rows in the customer forms: the theme styles text inputs but not
   these, so without it the box and its label sit on different baselines. */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  line-height: 1.5;
}

.checkbox-label input[type='checkbox'] {
  flex: 0 0 auto;
  margin-top: 3px;
}

/* ------------------------------------------------------------------ *
 * Flash messages and form errors
 * ------------------------------------------------------------------ */

.flash-messages {
  margin: 0 auto;
  padding: 20px 0 0;
}

.flash {
  margin-bottom: 12px;
  padding: 14px 18px;
  border: 1px solid;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
}

.flash--success {
  border-color: #2f855a;
  background: #f0fff4;
  color: #22543d;
}

.flash--error {
  border-color: #c53030;
  background: #fff5f5;
  color: #742a2a;
}

.flash ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.form-error {
  margin: 6px 0 0;
  color: #c53030;
  font-size: 13px;
}

/* ------------------------------------------------------------------ *
 * Bits the theme styles only when Shopify markup is present
 * ------------------------------------------------------------------ */

.product-price del {
  opacity: 0.55;
  margin-left: 6px;
}

.empty-state {
  padding: 60px 0;
  text-align: center;
}

.empty-state p {
  margin-bottom: 20px;
}

/* A product or collection with no image yet: a neutral panel rather than a
   broken frame, so a shop mid-setup still looks finished.
 *
 * Absolutely positioned like the theme's own images. `.rimage-wrapper` reserves
 * its space with `padding-top`, so a placeholder left in normal flow stacks
 * *below* that reserved box and doubles the card's height. */
.rimage-wrapper .image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f1f1f1;
  color: #c9c9c9;
}

.image-placeholder svg {
  width: 42px;
  height: 42px;
}

/* ------------------------------------------------------------------ *
 * Account area
 * ------------------------------------------------------------------ */

.account-table {
  width: 100%;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e6e6e6;
  text-align: left;
  vertical-align: top;
}

.account-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-badge--pending { background: #fefcbf; color: #744210; }
.status-badge--paid { background: #c6f6d5; color: #22543d; }
.status-badge--refunded { background: #bee3f8; color: #2a4365; }
.status-badge--failed,
.status-badge--cancelled { background: #fed7d7; color: #742a2a; }


/* ------------------------------------------------------------------ *
 * Cart drawer additions
 *
 * The theme stylesheet draws the drawer itself; these rules only lay out the
 * server-rendered controls inside it, which the original filled in with JS.
 * ------------------------------------------------------------------ */

.cart-summary-item__image img {
  display: block;
  width: 100%;
  height: auto;
}

.cart-summary-item__price {
  flex: 0 0 auto;
  margin-left: 12px;
  font-weight: 600;
}

/* Long product names wrap inside the line instead of squeezing the price. */
.cart-summary-item__detail {
  min-width: 0;
}

.cart-summary-item__title {
  overflow-wrap: anywhere;
}

/* Single-licence carts: the only control a drawer line has is Remove. */
.drawer-item__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.drawer-item__controls .qty-adjuster__remove {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cart-summary__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.cart-summary__subtotal .amount {
  font-weight: 700;
}

.cart-summary__buttons .btn {
  display: block;
  width: 100%;
  text-align: center;
}

.cart-summary__cart-links {
  padding-bottom: 10px;
}

.cart-promo {
  position: relative;
}

.cart-promo img {
  display: block;
  width: 100%;
  height: auto;
}

.cart-promo .image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.cart-promo__heading {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}

.cart-promo__subheading {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-promo.has-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.cart-promo .image-overlay {
  z-index: 1;
}

/* ------------------------------------------------------------------ *
 * Checkout, in the reference layout: fields on the left, an order summary
 * card on the right, uppercase section headings.
 * ------------------------------------------------------------------ */

.checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.checkout__heading {
  margin: 34px 0 16px;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout__fields > .checkout__heading:first-child {
  margin-top: 0;
}

.checkout__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.checkout__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The theme gives inputs a fixed width, which runs a half-row field straight
   across the summary column; every field fills its own cell instead. */
.checkout__fields input:not([type='checkbox']),
.checkout__fields select,
.checkout__fields textarea {
  width: 100%;
  max-width: 100%;
}

.checkout__fields select {
  height: 44px;
}

.checkout__payment-note {
  padding: 14px 16px;
  border-left: 3px solid #e88a3a;
  background: #f5f5f5;
  font-size: 14px;
}

.checkout__submit {
  margin-top: 8px;
}

.order-summary--card {
  padding: 28px;
  background: #f5f5f5;
}

.order-summary__line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e3e3e3;
}

.order-summary__thumb {
  position: relative;
  flex: 0 0 64px;
}

.order-summary__thumb img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
}

.order-summary__qty {
  position: absolute;
  top: -8px;
  left: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #2c2528;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

.order-summary__name {
  flex: 1 1 auto;
  font-size: 14px;
}

.order-summary__price {
  flex: 0 0 auto;
  font-weight: 600;
}

.order-summary__totals {
  margin: 16px 0;
}

.order-summary__total-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
}

.order-summary__total-row--grand {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e3e3e3;
  font-size: 17px;
  font-weight: 700;
}

/* Payment, under the order summary in the right column. One selected method
   card; more methods can slot in later without moving anything. */
.payment-method {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid #d9d9d9;
  background: #fff;
}

.payment-method--selected {
  border: 2px solid #2c2528;
}

.payment-method__radio {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 2px solid #2c2528;
  border-radius: 50%;
  position: relative;
}

.payment-method--selected .payment-method__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #2c2528;
}

.payment-method__body p {
  margin: 6px 0 12px;
}

.payment-method__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-method__badges span {
  padding: 3px 8px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #444;
  background: #fafafa;
}

.checkout__aside .checkbox-row {
  margin-top: 18px;
}

/* Pay button while the terms are unticked: visibly inert, still focusable so
   the click can surface the warning. */
.checkout__submit.btn--blocked {
  opacity: 0.45;
  cursor: not-allowed;
}

/* The region dropdown replaces the text input at runtime; keep them the same
   height so nothing jumps when they swap. */
#district-select {
  width: 100%;
  height: 44px;
}

@media (max-width: 900px) {
  .checkout__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ------------------------------------------------------------------ *
 * Product page extras
 * ------------------------------------------------------------------ */

.product-certifications img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* The stepper's buttons and field sit in one bordered row. */
.product-details .qty-adjuster__inner {
  display: inline-flex;
  align-items: center;
  border: 1px solid #2c2528;
}

.product-details .qty-adjuster__down,
.product-details .qty-adjuster__up {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-details .qty-adjuster__value {
  width: 3em;
  height: 48px;
  border: 0;
  text-align: center;
  font-size: 15px;
}

.product-details .payment-and-quantity {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.product-details .payment-and-quantity__add {
  flex: 1 1 auto;
}

.product-details .payment-and-quantity__add .btn {
  width: 100%;
  height: 100%;
}

/* The checkbox label's text lives in one <span>; letting it flex keeps long
   policy lists wrapping as a paragraph instead of scattering into columns. */
.checkbox-label > span {
  flex: 1 1 auto;
}

/* ------------------------------------------------------------------ *
 * Footer: the description column is narrow on the reference (269px), so the
 * text stacks over several lines instead of spreading across the row and
 * pushing the link columns to the far right.
 * ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ *
 * Blog post cover: leads the page, always 16:9.
 * ------------------------------------------------------------------ */

.article-cover {
  margin: 0 0 34px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------------ *
 * Infinite scroll: the sentinel under a listing grid, with a quiet spinner
 * while the next page streams in.
 * ------------------------------------------------------------------ */

.infinite-scroll-sentinel {
  display: flex;
  justify-content: center;
  padding: 34px 0;
}

.infinite-scroll-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid #e3e3e3;
  border-top-color: #2c2528;
  border-radius: 50%;
  animation: infinite-scroll-spin 0.8s linear infinite;
}

@keyframes infinite-scroll-spin {
  to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------ *
 * Header, rebuilt to the owner's reference (2026-08-17): one dark bar in
 * the footer's colour — logo left, flat nav in the middle (current page
 * pilled, optional badge, hover drop-downs), round icon buttons and a
 * Login pill right. The theme's toolbar styles no longer apply; the JS
 * hooks (search, cart badge, drawer, hamburger) keep their old names.
 * ------------------------------------------------------------------ */

.header-modern {
  background: #231f20;
  color: #ffffff;
}

.header-modern__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px;
}

.header-modern__logo a {
  display: flex;
  align-items: center;
}

.header-modern__logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.header-modern__wordmark {
  font-family: BoldlyMissy, sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

/* --- centre nav ---------------------------------------------------- */

.header-modern__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.header-modern__item {
  position: relative;
}

.header-modern__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.header-modern__link:hover {
  color: #ffffff;
}

/* An orange line slides in under the label on hover. */
.header-modern__link::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 6px;
  left: 18px;
  height: 2px;
  border-radius: 1px;
  background: #f26920;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.header-modern__link:not(.header-modern__link--active):hover::after {
  transform: scaleX(1);
}

/* The reference's pill on the current page. */
.header-modern__link--active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.header-modern__link svg {
  width: 10px;
  height: 10px;
  opacity: 0.6;
}

.header-modern__nav-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f26920;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

.header-modern__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 60;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #2c2528;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

/* A hover bridge so the pointer can travel into the panel. */
.header-modern__item--has-children::after {
  content: "";
  position: absolute;
  inset: 100% 0 -12px;
}

.header-modern__item--has-children:hover .header-modern__dropdown,
.header-modern__item--has-children:focus-within .header-modern__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.header-modern__dropdown-link {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.header-modern__dropdown-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* --- right actions ------------------------------------------------- */

.header-modern__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Extra weight on the selector: the theme also addresses a.current-cart
   inside .toolbar-cart, and the circle must win for every icon. */
.header-modern .header-modern__icon,
.header-modern .toolbar-cart .current-cart.header-modern__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: background 0.2s, color 0.2s;
}

.header-modern__icon:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.header-modern__icon svg {
  width: 20px;
  height: 20px;
  /* The theme's icon paths carry no fill of their own and would paint
     black on the dark bar. */
  fill: currentColor;
}

.header-modern__icon--discord:hover {
  background: #5865f2;
}

.header-modern__icon--cart .cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: #f26920;
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  color: #ffffff;
}

.header-modern__login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(242, 105, 32, 0.65);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f26920;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.header-modern__login:hover {
  background: #f26920;
  border-color: #f26920;
  color: #ffffff;
}

/* Hamburger: three bars, theme JS opens the existing mobile nav. */
.header-modern__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.header-modern__burger span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: #ffffff;
}

@media (max-width: 1100px) {
  .header-modern__nav,
  .header-modern__login {
    display: none;
  }

  .header-modern__burger {
    display: flex;
  }

  .header-modern__inner {
    min-height: 64px;
    justify-content: space-between;
  }

  .header-modern__logo img {
    width: 44px;
    height: 44px;
  }
}

.footer-modern__brand img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* ------------------------------------------------------------------ *
 * Footer, rebuilt to the owner's reference screenshot (measured off it):
 * brand left, three narrow link columns on a ~153px pitch, the right half
 * of the row empty on purpose; centred small legal lines below; a darker
 * platform bar at the very bottom. Colours and type stay the theme's own.
 * ------------------------------------------------------------------ */

.footer-modern {
  padding: 34px 0 0;
}

/* Column pitch doubled from the first pass (165px slots) on the owner's
   request: the whitespace between the link columns is the design. */
.footer-modern__grid {
  display: grid;
  grid-template-columns: 190px repeat(4, minmax(150px, 220px)) minmax(0, 1fr);
  align-items: start;
  column-gap: 0;
}

.footer-modern__brand img {
  max-width: 150px;
  height: auto;
}

/* The display face the theme uses for titles, so the column headings read
   clearly apart from the links under them. */
.footer-modern__heading {
  margin: 0 0 16px;
  font-family: BoldlyMissy, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-modern__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-modern__col li {
  margin: 0 0 9px;
}

.footer-modern__col a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-modern__col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-modern__legal {
  margin-top: 48px;
  padding-bottom: 34px;
  text-align: center;
}

.footer-modern__legal p {
  margin: 0 auto 8px;
  max-width: 96%;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

.footer-modern__legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-modern__bar {
  padding: 11px 0;
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 860px) {
  .footer-modern__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }

  .footer-modern__brand {
    grid-column: 1 / -1;
  }

  .footer-modern__legal {
    margin-top: 36px;
  }
}

/* ------------------------------------------------------------------ *
 * Product page: video embeds pulled out of the description and shown under
 * the gallery, where the reference has them.
 * ------------------------------------------------------------------ */

.product-media-embeds {
  margin-top: 24px;
}

.product-media-embeds .video-wrapper {
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 20px;
}

.product-media-embeds .video-wrapper iframe,
.product-media-embeds .video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* The click-to-load stand-in shown before the player is fetched. */
.video-facade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: #17151a;
  color: #ffffff;
  cursor: pointer;
}

.video-facade__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.2s, transform 0.2s;
}

.video-facade:hover .video-facade__play {
  background: rgba(255, 255, 255, 0.26);
  transform: scale(1.06);
}

.video-facade__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* (The old in-header live-search popup was replaced by the search drawer;
   its styles are gone with it.) */

/* ("You might also like" now rides the shared product-carousel frame —
   see the best-sellers carousel styles.) */

/* The dark header sat right on top of the collection heading; give the
   category pages the same breathing room the home rhythm has. */
.template-collection #content > .fivem-shops-section:first-child,
.template-list-collections #content > .fivem-shops-section:first-child {
  padding-top: 44px;
}

@media (max-width: 768px) {
  .template-collection #content > .fivem-shops-section:first-child,
  .template-list-collections #content > .fivem-shops-section:first-child {
    padding-top: 26px;
  }
}

/* The one-line subtitle under the product title (same field the cards use). */
.product-subtitle {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #6e6d6d;
}

/* ------------------------------------------------------------------ *
 * Rich-editor content (product descriptions + blog bodies): the pd-*
 * elements the admin editor inserts — CTA buttons, %-sized YouTube
 * embeds — restated in the theme's palette. Same class names as the
 * editor writes, so what the author sees is what ships.
 * ------------------------------------------------------------------ */

.pd-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.pd-btn--primary {
  background: #f26920;
  border-color: #f26920;
  color: #ffffff;
}

.pd-btn--primary:hover {
  background: #d85a12;
  color: #ffffff;
}

.pd-btn--outline {
  border-color: #231f20;
  color: #231f20;
}

.pd-btn--outline:hover {
  border-color: #f26920;
  color: #f26920;
}

.pd-btn--ghost {
  color: #f26920;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  margin: 14px 0;
}

.pd-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* The product page splits YouTube embeds out of the description; the
   emptied wrapper must not leave a black band behind. */
.pd-video:empty {
  display: none;
}

/* ------------------------------------------------------------------ *
 * Partner marquee (the grey logo band): a small centred label, then the
 * partner logos drifting slowly to the left on an endless belt. The set
 * is rendered twice and the track slides by exactly one set width, so
 * the loop has no seam; hovering holds the belt still.
 * ------------------------------------------------------------------ */

.logo-marquee {
  overflow: hidden;
}

.logo-marquee__label {
  margin: 0 0 30px;
  text-align: center;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8683;
}

.logo-marquee__belt {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee 40s linear infinite;
}

.logo-marquee__belt:hover .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__set {
  display: flex;
  align-items: center;
  gap: 96px;
  padding-right: 96px;
  flex: 0 0 auto;
}

/* Not clickable and not hover-reactive on purpose — the belt is decoration.
   pointer-events off also keeps the belt itself as the hover-pause target. */
.logo-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  opacity: 0.8;
  pointer-events: none;
}

.logo-marquee__item img {
  display: block;
  height: auto;
}

@keyframes logo-marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
  }
}

@media (max-width: 640px) {
  .logo-marquee__set {
    gap: 56px;
    padding-right: 56px;
  }
}

/* ------------------------------------------------------------------ *
 * FAQ accordions (home band and the /faq page)
 * ------------------------------------------------------------------ */

.faq-section .container {
  max-width: 900px;
}

.faq-section__list .collapsible,
.faq-group .collapsible {
  border-bottom: 1px solid #e3e3e3;
}

.faq-section__list .collapsible:first-child,
.faq-group .collapsible:first-child {
  border-top: 1px solid #e3e3e3;
}

.collapsible__title {
  padding: 18px 40px 18px 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.collapsible__title::-webkit-details-marker {
  display: none;
}

.collapsible__title::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
}

details[open] > .collapsible__title::after {
  content: "\2212";
}

.collapsible__content {
  padding: 0 4px 20px;
}

.faq-section__more {
  margin-top: 26px;
}


/* ------------------------------------------------------------------ *
 * Discord + newsletter card (owner's reference, measured): one dark rounded
 * card at container width above the footer. Text left, soft artwork right,
 * white pill button, inline subscribe form, small disclaimer.
 * ------------------------------------------------------------------ */

.discord-band {
  padding: 30px 0 60px;
}

.discord-band__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34%;
  overflow: hidden;
  border-radius: 14px;
  background: #1e1c22;
  color: #ffffff;
}

.discord-band__content {
  padding: 42px 48px 34px;
}

.discord-band__heading {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 26px;
}

.discord-band__text {
  margin: 0 0 26px;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.discord-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.discord-band__button {
  display: inline-block;
  padding: 11px 30px;
  border-radius: 999px;
  background: #ffffff;
  color: #17151a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.discord-band__button:hover {
  background: #e9e9e9;
  color: #17151a;
}

.discord-band__subscribe {
  display: flex;
  flex: 1 1 300px;
  max-width: 430px;
}

.discord-band__subscribe input[type='email'] {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 14px;
}

.discord-band__subscribe input[type='email']::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.discord-band__subscribe button {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: #5865f2;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.discord-band__note {
  margin: 18px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* Soft blurple artwork on the right, kept muted. */
.discord-band__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(closest-side at 70% 30%, rgba(88, 101, 242, 0.5), transparent 75%),
    radial-gradient(closest-side at 30% 80%, rgba(180, 120, 200, 0.35), transparent 75%),
    #232030;
}

.discord-band__art svg {
  width: 46%;
  max-width: 190px;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 860px) {
  .discord-band__card {
    grid-template-columns: 1fr;
  }

  .discord-band__art {
    order: -1;
    min-height: 150px;
  }

  .discord-band__content {
    padding: 30px 24px 26px;
  }
}


/* ------------------------------------------------------------------ *
 * Search modal: a centred popup over the dimmed, blurred page — big input
 * row on top (magnifier, ESC chip, close), results grouped into Products
 * and Blog below. Fills the screen as a sheet on a phone. Same id, body
 * class and data hooks as the old right-hand drawer, so storefront.js is
 * untouched.
 * ------------------------------------------------------------------ */

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 11vh 16px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
}

body.show-search-drawer .search-modal {
  opacity: 1;
  visibility: visible;
}

body.show-search-drawer {
  overflow: hidden;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(24, 20, 18, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: default;
}

.search-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  max-height: min(70vh, 640px);
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

body.show-search-drawer .search-modal__panel {
  transform: none;
}

.search-modal__field {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  padding: 8px 20px;
  border-bottom: 1px solid #ececec;
}

.search-modal__field > svg {
  flex: 0 0 auto;
  color: #6e6d6d;
}

.search-modal__field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  border: 0;
  outline: none;
  font-size: 17px;
  background: transparent;
  color: #231f20;
}

.search-modal__field input::placeholder {
  color: #a39d99;
}

.search-modal__esc {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #ddd8d4;
  border-radius: 6px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #9a938f;
}

.search-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6e6d6d;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.search-modal__close:hover {
  background: #f3f1ee;
  color: #231f20;
}

.search-modal__results {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px;
  overscroll-behavior: contain;
}

.search-drawer__hint {
  margin: 0;
  padding: 30px 16px;
  text-align: center;
  font-size: 14px;
  color: #6e6d6d;
}

.search-drawer__group {
  margin: 14px 10px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a938f;
}

.search-drawer__item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 10px;
  border-radius: 10px;
  color: inherit;
  transition: background 0.15s;
}

.search-drawer__item:hover {
  background: #f6f4f0;
}

.search-drawer__text {
  flex: 1 1 auto;
  min-width: 0;
}

.search-drawer__item-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #231f20;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-drawer__meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #6e6d6d;
}

.search-drawer__price {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #f26920;
}

/* On a phone the popup becomes a full-height sheet: the input stays put at
   the top and the result list is the part that scrolls above the keyboard. */
@media (max-width: 640px) {
  .search-modal {
    padding: 0;
    align-items: stretch;
  }

  .search-modal__panel {
    width: 100%;
    max-height: none;
    border-radius: 0;
    transform: translateY(18px);
  }

  .search-modal__esc {
    display: none;
  }
}


/* ------------------------------------------------------------------ *
 * 16:9 product imagery everywhere small: digital products preview as
 * widescreen screenshots, so every thumbnail crops to the same shape.
 * ------------------------------------------------------------------ */

.cart-summary-item__image img,
.cart-item-image img,
.order-summary__thumb img,
.search-drawer__item img,
.search-drawer__thumb {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.search-drawer__item img,
.search-drawer__thumb {
  flex: 0 0 64px;
  width: 64px;
  border-radius: 6px;
  background: #f0eeea;
}

.order-summary__thumb img {
  width: 72px;
}

.cart-item-image img {
  width: 96px;
}

/* ------------------------------------------------------------------ *
 * Blog carousel on the home page: three cards in view, the rest by the
 * arrows or a sideways swipe.
 * ------------------------------------------------------------------ */

.blog-carousel-frame {
  position: relative;
}

.blog-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.blog-carousel::-webkit-scrollbar {
  display: none;
}

.blog-carousel .article {
  flex: 0 0 33.334%;
  max-width: 33.334%;
  scroll-snap-align: start;
  padding: 0 12px;
}

@media (max-width: 1000px) {
  .blog-carousel .article {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (max-width: 640px) {
  .blog-carousel .article {
    flex-basis: 86%;
    max-width: 86%;
  }
}

.blog-carousel-arrow {
  position: absolute;
  top: 32%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  background: #ffffff;
  color: #2c2528;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}

.blog-carousel-arrow:hover {
  background: #f4f4f4;
}

.blog-carousel-arrow--prev {
  left: -12px;
}

.blog-carousel-arrow--next {
  right: -12px;
}

.blog-carousel-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

/* ------------------------------------------------------------------ *
 * Home rhythm: between header and footer every section is its own band,
 * exactly the same distance from its neighbours, whatever margins the
 * crawl gave the individual sections (they varied 20-70px). Top-margin
 * only, so nothing collapses unpredictably; the hero has no .section
 * class and keeps hugging the header. Home template only.
 * ------------------------------------------------------------------ */

/* Flex gap instead of margins: flex items cannot margin-collapse, so the
   crawl's negative gutter-compensations (-10px galleries, -40px logo list)
   stay inside their own band instead of eating into the gap. */
.template-index #content {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-bottom: 80px;
}

.template-index #content .fivem-shops-section .section {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Bands with a background keep breathing room inside their own colour. */
.template-index #content .fivem-shops-section .section.use-alt-bg {
  padding-top: 70px;
  padding-bottom: 70px;
}

@media (max-width: 768px) {
  .template-index #content {
    gap: 48px;
    padding-bottom: 48px;
  }

  .template-index #content .fivem-shops-section .section.use-alt-bg {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

/* ------------------------------------------------------------------ *
 * Best-sellers carousel: a steps-style header, then one full-bleed row
 * of the theme's own product cards that slides by the arrows or a swipe.
 * The first card lines up with the container; the row fades out at the
 * viewport edges as on the reference.
 * ------------------------------------------------------------------ */

.product-carousel__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px 48px;
  margin-bottom: 8px;
}

.product-carousel__heading {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid #f26920;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.02;
  text-transform: uppercase;
  color: #231f20;
}

.product-carousel__intro {
  flex: 1 1 320px;
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.65;
  color: #6e6d6d;
}

/* The theme's outlined square button, as on the tiles' SHOP NOW. */
.product-carousel__browse {
  margin-left: auto;
  padding: 12px 22px;
  border: 1px solid #231f20;
  font-family: BoldlyMissy, sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #231f20;
  transition: border-color 0.2s, color 0.2s;
}

.product-carousel__browse:hover {
  border-color: #f26920;
  color: #f26920;
}

.product-carousel-frame {
  position: relative;
}

.product-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* First card flush with the container's left edge; the 8px makes up for
     the card's own 12px gutter against the container's 20px padding. The
     matching scroll-padding keeps the snap points on that same line —
     without it, mandatory snapping drags the row to the viewport edge on
     load. */
  padding: 20px calc(max((100vw - 1440px) / 2, 5vw) + 8px) 4px;
  scroll-padding: 0 calc(max((100vw - 1440px) / 2, 5vw) + 8px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

/* Every carousel row is mouse-draggable (storefront.js): the open hand
   invites the pull, the closed one holds the belt while it moves. */
[data-carousel-track] {
  cursor: grab;
}

[data-carousel-track].is-dragging {
  cursor: grabbing;
}

[data-carousel-track].is-dragging a,
[data-carousel-track].is-dragging img {
  cursor: grabbing;
}

.product-carousel .product-block {
  flex: 0 0 auto;
  width: clamp(280px, 23.5vw, 380px);
  max-width: none;
  scroll-snap-align: start;
  padding: 0 12px;
}

@media (max-width: 640px) {
  .product-carousel .product-block {
    width: 78vw;
  }

  .product-carousel__browse {
    margin-left: 0;
  }
}

.product-carousel-arrow {
  position: absolute;
  top: 30%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  background: #ffffff;
  color: #2c2528;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}

.product-carousel-arrow:hover {
  background: #f4f4f4;
}

.product-carousel-arrow--prev {
  left: 18px;
}

.product-carousel-arrow--next {
  right: 18px;
}

/* ------------------------------------------------------------------ *
 * Bento category grid: steps-style header, then a six-column grid of
 * image tiles — the first tile leads at double size. Dark reference
 * restated on the theme's white ground; a dark scrim keeps the white
 * names readable over any photo.
 * ------------------------------------------------------------------ */

.category-grid__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 36px;
}

.category-grid__heading {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid #f26920;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.02;
  text-transform: uppercase;
  color: #231f20;
}

.category-grid__intro {
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.65;
  color: #6e6d6d;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 188px;
  gap: 16px;
}

.category-grid__tile {
  position: relative;
  grid-column: span 2;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #e3e3e3;
  background: #f5f4f0;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.category-grid__tile:hover {
  transform: translateY(-3px);
  border-color: #f26920;
  box-shadow: 0 10px 26px rgba(242, 105, 32, 0.16);
}

.category-grid__tile--lead {
  grid-row: span 2;
}

.category-grid__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-grid__tile:hover .category-grid__image {
  transform: scale(1.04);
}

.category-grid__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 20, 0.68), rgba(26, 22, 20, 0.04) 55%);
}

.category-grid__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.category-grid__desc {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.category-grid__name {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #ffffff;
}

.category-grid__tile--lead .category-grid__name {
  font-size: clamp(28px, 2.6vw, 38px);
}

@media (max-width: 1000px) {
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-grid__tile--lead {
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .category-grid__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------------------ *
 * Numbered steps strip ("Get started"): display heading with an orange
 * edge, intro copy beside it, then numbered steps joined by a fading
 * connector line. The dark reference screenshot restated in the theme's
 * palette — Anton headings, orange accents, white ground.
 * ------------------------------------------------------------------ */

.steps-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 44px;
}

.steps-section__heading {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid #f26920;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.02;
  text-transform: uppercase;
  color: #231f20;
}

.steps-section__intro {
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.65;
  color: #6e6d6d;
}

.steps-section__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-section__step {
  position: relative;
  min-width: 0;
}

/* The line that walks the eye from one number chip to the next. */
.steps-section__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 56px;
  right: -32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 105, 32, 0.5), rgba(242, 105, 32, 0.1));
}

.steps-section__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 105, 32, 0.45);
  background: #ffffff;
  color: #f26920;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 14px rgba(242, 105, 32, 0.12);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.steps-section__step:hover .steps-section__number {
  border-color: #f26920;
  box-shadow: 0 4px 18px rgba(242, 105, 32, 0.25);
}

/* The theme's small-title face, as on product cards and footer headings. */
.steps-section__title {
  margin: 20px 0 0;
  font-family: BoldlyMissy, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #231f20;
}

.steps-section__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6e6d6d;
}

@media (max-width: 1000px) {
  .steps-section__header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 36px;
  }

  .steps-section__list {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .steps-section__step {
    display: flex;
    gap: 18px;
  }

  .steps-section__copy {
    flex: 1;
    min-width: 0;
  }

  /* Stacked, the line runs vertically from chip to chip instead. */
  .steps-section__step:not(:last-child)::before {
    top: 52px;
    right: auto;
    bottom: -26px;
    left: 22px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(242, 105, 32, 0.5), rgba(242, 105, 32, 0.1));
  }

  .steps-section__number {
    flex: 0 0 auto;
  }

  .steps-section__title {
    margin-top: 12px;
  }
}

/* ============================================================
   Brand rail (vehicle packs): left filter column on collection
   pages, horizontal chip row on small screens. Cards re-enter
   with a staggered rise when a brand is picked (storefront.js).
   ============================================================ */
.collection-layout--railed {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}

.collection-layout--railed .collection-main {
  flex: 1;
  min-width: 0;
}

.brand-rail {
  flex: 0 0 210px;
  position: sticky;
  top: 96px;
}

.brand-rail__title {
  margin: 0 0 14px;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.brand-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid #e5e7eb;
}

.brand-rail__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px 9px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 0.92em;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.brand-rail__link:hover {
  color: #111827;
  background: rgba(0, 0, 0, 0.03);
}

.brand-rail__link.is-active {
  border-left-color: currentColor;
  color: #111827;
  font-weight: 600;
}

.brand-rail__count {
  font-size: 0.8em;
  font-weight: 600;
  color: #9ca3af;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 2px 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.brand-rail__link.is-active .brand-rail__count {
  background: #111827;
  color: #fff;
}

/* Outgoing grid: quick soft fade while the new page is fetched. */
[data-ajax-container].brand-swapping .product-block {
  opacity: 0.25;
  transform: translateY(6px) scale(0.985);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Incoming cards rise in one after another. */
.product-block.brand-in {
  opacity: 0;
  animation: brand-rise 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: var(--brand-d, 0ms);
}

@keyframes brand-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-block.brand-in {
    animation-duration: 0.01s;
    animation-delay: 0ms;
  }
}

/* Small screens: the rail becomes a scrollable chip row above the grid. */
@media (max-width: 900px) {
  .collection-layout--railed {
    flex-direction: column;
    gap: 18px;
  }

  .brand-rail {
    position: static;
    flex: none;
    width: 100%;
  }

  .brand-rail__title {
    margin-bottom: 8px;
  }

  .brand-rail__list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-left: 0;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .brand-rail__list li {
    flex: 0 0 auto;
  }

  .brand-rail__link {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 7px 14px;
    margin-left: 0;
    white-space: nowrap;
  }

  .brand-rail__link.is-active {
    border-color: #111827;
    background: #111827;
    color: #fff;
  }

  .brand-rail__link.is-active .brand-rail__count {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }
}

/* ============================================================
   Support tickets (account area)
   ============================================================ */
.ticket-toolbar { margin: 8px 0 24px; }
.ticket-toolbar .meta { margin-top: 8px; }

.ticket-table .ticket-number { font-weight: 600; white-space: nowrap; }
.ticket-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #f26920; margin-left: 6px; vertical-align: middle; }

.ticket-status { display: inline-block; font-size: 0.8em; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.ticket-status--open { background: #e6f4ea; color: #1e7e40; }
.ticket-status--closed { background: #f1f1f1; color: #777; }

.ticket-subject { margin: 8px 0 6px; color: #555; }
.ticket-back { display: inline-block; margin: 6px 0 18px; }

.ticket-thread { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.ticket-message { border: 1px solid #ececec; border-radius: 12px; padding: 16px 18px; background: #fff; max-width: 88%; }
.ticket-message--staff { align-self: flex-end; background: #fff7f2; border-color: #f6d9c6; }
.ticket-message__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.ticket-message__head strong { font-size: 0.92em; }
.ticket-message--staff .ticket-message__head strong { color: #d85a12; }
.ticket-message__body { font-size: 0.95em; line-height: 1.6; color: #333; }
.ticket-message__links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.88em; }
.ticket-message__links a { color: #d85a12; text-decoration: none; }
.ticket-message__links a:hover { text-decoration: underline; }

.ticket-attachments { border-top: 1px solid #eee; margin-top: 18px; padding-top: 14px; }
.ticket-attachments__title { font-weight: 600; margin-bottom: 10px; }

.ticket-reply { border-top: 2px solid #f0f0f0; padding-top: 22px; }
.ticket-closed-note { border-top: 1px solid #eee; padding-top: 18px; color: #777; }

@media (max-width: 700px) {
  .ticket-message { max-width: 100%; }
}

/* ============================================================
   FAQ page — centred readable column (was stuck in a half-width
   theme grid cell, leaving the right half of the page blank).
   ============================================================ */
.faq-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0 20px;
}

.faq-group {
  margin-bottom: 34px;
}

.faq-group__title {
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f26920;
}

.faq-page .collapsible {
  border-bottom: 1px solid #ececec;
}

.faq-page .collapsible__title {
  cursor: pointer;
  padding: 16px 4px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-page .collapsible__title::-webkit-details-marker { display: none; }

.faq-page .collapsible__title::after {
  content: "+";
  font-size: 1.3em;
  color: #f26920;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-page .collapsible[open] .collapsible__title::after {
  content: "–";
}

.faq-page .collapsible__content {
  padding: 0 4px 18px;
  color: #555;
  line-height: 1.65;
}

/* ============================================================
   Contact page — live support-ticket section
   ============================================================ */
.contact-support {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 32px 0 8px;
  border-top: 2px solid #f0f0f0;
}
.contact-support__title { margin: 0 0 10px; }
.contact-support__lead { color: #555; line-height: 1.65; margin: 0 0 26px; }
.contact-support__steps { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-support__step { display: flex; gap: 14px; align-items: flex-start; }
.contact-support__num {
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  background: #f26920; color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.contact-support__step strong { display: block; margin-bottom: 3px; color: #1b1b1f; }
.contact-support__step p { margin: 0; color: #666; font-size: 0.94em; line-height: 1.6; }
.contact-support__cta { margin: 8px 0 20px; }
.contact-support__cta .meta { margin-top: 8px; }
.contact-support__note { color: #555; margin: 0 0 12px; }
.contact-support__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-support__email { color: #777; font-size: 0.94em; margin-top: 14px; }

/* ============================================================
   Support ticket — new-ticket form (type picker + steps)
   ============================================================ */
[x-cloak] { display: none !important; }
.ticket-new { max-width: 720px; }
.ticket-new__step { font-weight: 700; font-size: 1.05em; margin: 22px 0 12px; color: #1b1b1f; }
.ticket-new__step:first-child { margin-top: 8px; }

.ticket-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ticket-type {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  border: 1.5px solid #e5e7eb; border-radius: 12px; padding: 16px 16px 18px;
  cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ticket-type:hover { border-color: #f2a578; }
.ticket-type input { position: absolute; opacity: 0; pointer-events: none; }
.ticket-type:has(input:checked) { border-color: #f26920; box-shadow: 0 0 0 3px rgba(242,105,32,0.12); }
.ticket-type__label { font-weight: 700; color: #1b1b1f; }
.ticket-type__desc { font-size: 0.86em; color: #6b6b6b; line-height: 1.5; }

.ticket-info {
  background: #fff7f2; border: 1px solid #f6d9c6; border-radius: 10px;
  padding: 13px 16px; font-size: 0.92em; line-height: 1.6; color: #6b4a35; margin-bottom: 18px;
}
.ticket-info strong { color: #b45309; }
.ticket-info--warn { background: #fef6e7; border-color: #f6e3b0; color: #7a5b12; }

.ticket-new__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 640px) {
  .ticket-types { grid-template-columns: 1fr; }
  .ticket-new__row { grid-template-columns: 1fr; }
}

/* Locked ticket type (Product support with no purchase) */
.ticket-type--locked { opacity: 0.55; cursor: not-allowed; }
.ticket-type--locked:hover { border-color: #e5e7eb; }
.ticket-type__lock {
  margin-top: 4px; font-size: 0.75em; font-weight: 700; color: #b45309;
  background: #fef6e7; border-radius: 6px; padding: 3px 8px; display: inline-block; align-self: flex-start;
}

/* ─── Sale pricing emphasis ─────────────────────────────────────────────
   On a discounted product the original (compare-at) price renders in a
   `.was` span; the price the customer actually pays is `.amount` (cards) or
   `.current-price` (product page). Show the original struck through in red
   and the pay price in green + bolder — everywhere a product price appears.
   `:has()` scopes the green to genuinely discounted items only, so a
   full-price product keeps its normal colour. */
.price .was,
.product-price .was,
.was.theme-money {
  color: #dc2626 !important;                 /* original price — red */
  text-decoration: line-through;
  text-decoration-color: #dc2626;
  text-decoration-thickness: 2px;
  font-weight: 500;
  opacity: 1;
}

.price:has(.was) .amount,
.product-price:has(.was:not([hidden])) .current-price {
  color: #16a34a !important;                 /* pay price — green */
  font-weight: 700;
}

/* A touch larger on the product page so the deal stands out. */
.product-price:has(.was:not([hidden])) .current-price {
  font-size: 1.06em;
}
