/* =========================================================
   Store.php — mobile storefront (2026-11-15)
   Phones and (since 2026-11-19) desktop.
   ========================================================= */
.hs-store, .hs-search { display: none; }
.hs-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media all {
  :root {
    --hs-bg: #101010;
    --hs-card: #1b1b1b;
    --hs-line: #2e2e2e;
    --hs-text: #ffffff;
    --hs-muted: #c4c4c4;
    --hs-accent: #f58220;
    --hs-accent-text: #ff9a3d;
  }

  /* ---------- Old mobile sections replaced by the storefront ---------- */
  html body.bs-shop-theme main .bs-shop-intro,
  html body.bs-shop-theme main .store-benefits,
  html body.bs-shop-theme main .categories-section,
  html body.bs-shop-theme main .featured-products-section,
  html body.bs-shop-theme main .mobile-trust-panel,
  html body.bs-shop-theme main .mobile-shop-extras .mobile-section-title,
  html body.bs-shop-theme main .mobile-shop-extras .mobile-brand-row,
  html body.bs-shop-theme main .mobile-shop-extras .mobile-dots { display: none !important; }

  /* ---------- Intro + search ---------- */
  .hs-intro { padding: 18px 16px 2px; }
  .hs-intro h1 {
    margin: 0 0 4px; font-size: 26px; line-height: 1.15; font-weight: 800;
    color: var(--hs-text); letter-spacing: .01em;
  }
  .hs-intro p { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--hs-muted); }
  .hs-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 6px 0 14px;
    background: linear-gradient(180deg, #232323 0%, #151515 55%, #0d0d0d 100%);
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(0,0,0,.45);
  }
  .hs-search .bi { color: #bdbdbd; font-size: 17px; }
  .hs-search input {
    flex: 1; min-width: 0; height: 100%;
    border: 0; outline: 0; background: transparent;
    font: 500 16px/1 Poppins, Arial, sans-serif; /* 16px avoids iOS zoom */
    color: #fff;
  }
  .hs-search input::placeholder { color: #a9a9a9; }
  .hs-search button {
    height: 40px; padding: 0 16px;
    border: 0; border-radius: 9px;
    background: var(--hs-accent); color: #111;
    font: 700 14px/1 Poppins, Arial, sans-serif;
    cursor: pointer;
  }
  .hs-search:focus-within { box-shadow: 0 0 0 3px var(--hs-accent), 0 8px 24px rgba(0,0,0,.45); }

  /* ---------- Storefront wrapper ---------- */
  .hs-store {
    display: block;
    background: var(--hs-bg);
    color: var(--hs-text);
    padding: 6px 0 18px;
    font-family: Poppins, Arial, sans-serif;
  }
  .hs-store ul { list-style: none; margin: 0; padding: 0; }
  .hs-section { padding: 20px 16px 4px; }
  .hs-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 12px;
  }
  .hs-head h2 {
    margin: 0;
    font-size: 19px; line-height: 1.2; font-weight: 800;
    letter-spacing: .01em; text-transform: uppercase;
    color: var(--hs-text);
    padding-left: 10px; border-left: 4px solid var(--hs-accent);
  }
  .hs-see-all {
    display: inline-flex; align-items: center; gap: 4px;
    min-height: 44px; padding: 0 2px 0 8px;
    color: var(--hs-accent-text); font-size: 14px; font-weight: 600;
    text-decoration: none; white-space: nowrap;
  }

  /* Focus outlines for keyboard / switch users */
  .hs-store a:focus-visible,
  .hs-search button:focus-visible {
    outline: 3px solid #ffffff !important;
    outline-offset: 3px !important;
    border-radius: 10px;
  }

  /* ---------- Categories (2-column tiles) ---------- */
  .hs-cat-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hs-cat {
    display: flex; flex-direction: column; height: 100%; overflow: hidden;
    border-radius: 12px; background: var(--hs-card); border: 1px solid var(--hs-line);
    text-decoration: none; color: var(--hs-text);
  }
  .hs-cat-img { display: block; aspect-ratio: 2.2 / 1; overflow: hidden; background: #262626; }
  .hs-cat-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .hs-cat-text { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: 8px 10px 10px;
    background: linear-gradient(180deg, #222 0%, #141414 55%, #0a0a0a 100%); }
  .hs-cat-name { font-size: 14px; line-height: 1.25; font-weight: 700; }
  .hs-cat-sub { font-size: 12px; line-height: 1.35; color: var(--hs-muted); overflow-wrap: anywhere; }

  /* ---------- Trust strip ---------- */
  .hs-trust {
    display: grid !important; grid-template-columns: repeat(3, 1fr);
    gap: 8px; margin: 14px 16px 0 !important; padding: 0 !important;
  }
  .hs-trust li {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 4px; border-radius: 10px;
    background: var(--hs-card); border: 1px solid var(--hs-line);
    text-align: center; font-size: 12px; line-height: 1.25; font-weight: 600; color: var(--hs-text);
  }
  .hs-trust .bi { color: var(--hs-accent); font-size: 20px; }

  /* ---------- Product grid ---------- */
  .hs-grid {
    display: grid !important; grid-auto-flow: column; grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - 16px) / 3); gap: 10px 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    margin: 0 -16px !important; padding: 2px 16px 8px !important;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .hs-grid::-webkit-scrollbar { display: none; }
  .hs-card { scroll-snap-align: start; }
  .hs-cycle-toggle {
    margin-left: auto; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; border-radius: 50%;
    border: 1px solid #3a3a3a; background: #1b1b1b; color: #fff; cursor: pointer;
  }
  .hs-cycle-toggle .bi { font-size: 16px; }
  .hs-cycle-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  .hs-head .hs-cycle-toggle + .hs-see-all { margin-left: 4px; }
  .hs-card { min-width: 0; }
  .hs-card-link {
    display: flex; flex-direction: column; height: 100%;
    background: var(--hs-card); border: 1px solid var(--hs-line); border-radius: 12px;
    overflow: hidden; text-decoration: none; color: var(--hs-text);
  }
  .hs-card-img {
    position: relative; display: block; flex: none; aspect-ratio: 1 / 1;
    min-height: 0; overflow: hidden;
    background: radial-gradient(120% 85% at 50% 28%, #2b2b2b 0%, #171717 55%, #0a0a0a 100%);
    border-bottom: 1px solid #262626;
  }
  .hs-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
  .hs-badge {
    position: absolute; top: 8px; left: 8px; z-index: 1;
    padding: 3px 7px; border-radius: 6px;
    background: #d62828; color: #fff; font-size: 12px; font-weight: 700;
  }
  .hs-card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 10px 10px 12px; }
  .hs-card-cat { font-size: 12px; color: var(--hs-muted); text-transform: uppercase; letter-spacing: .03em; }
  .hs-card-name {
    font-size: 14px; line-height: 1.3; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.6em;
  }
  .hs-card-price { margin-top: auto; font-size: 16px; font-weight: 800; color: var(--hs-accent-text); }
  .hs-card-old { display: block; font-size: 12.5px; font-weight: 500; color: var(--hs-muted); }
  .hs-card-btn {
    display: flex; align-items: center; justify-content: center;
    min-height: 40px; margin-top: 8px; border-radius: 8px;
    background: var(--hs-accent); color: #111; font-size: 14px; font-weight: 700;
  }
  .hs-empty { color: var(--hs-muted); font-size: 14px; }

  /* Existing promo + brand blocks: readable text */
  .mobile-shop-extras .mobile-promo-copy p { font-size: 13px !important; line-height: 1.4 !important; }
  .mobile-shop-extras .mobile-promo-card a, .mobile-shop-extras .mobile-promo-copy span { font-size: 12px !important; }
  .hs-store--bottom { padding-top: 0; }
}

@media all {
  .hs-head { gap: 8px; }
  .hs-head h2 { font-size: 17px; white-space: nowrap; }
  .hs-cycle-toggle { width: 36px; height: 36px; }
}

/* ---- v3 (2026-11-15): compact 2x3 product cards, brand tiles ---- */
@media all {
  .hs-grid .hs-card-img img { padding: 6px; }
  .hs-grid .hs-card-body { gap: 3px; padding: 7px 7px 8px; }
  .hs-grid .hs-card-cat { display: none; }
  .hs-grid .hs-card-name { font-size: 12px; line-height: 1.25; min-height: 2.5em; }
  .hs-grid .hs-card-price { font-size: 13px; }
  .hs-grid .hs-card-old { font-size: 12px; }
  .hs-grid .hs-badge { top: 5px; left: 5px; padding: 2px 5px; font-size: 12px; }
  .hs-grid .hs-card-btn { min-height: 32px; margin-top: 5px; font-size: 12px; border-radius: 7px; }
  .hs-grid .hs-card-link { border-radius: 10px; background: linear-gradient(180deg, #1d1d1d 0%, #131313 60%, #0b0b0b 100%); }

  .hs-brand-list {
    display: grid !important; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
    grid-auto-columns: 112px; gap: 10px;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px;
    margin: 0 -16px !important; padding: 2px 16px 8px !important; scrollbar-width: none;
  }
  .hs-brand-list::-webkit-scrollbar { display: none; }
  .hs-brand {
    display: flex; align-items: center; justify-content: center; height: 64px; padding: 10px;
    border-radius: 12px; border: 1px solid #333; scroll-snap-align: start; box-sizing: border-box;
    background: radial-gradient(120% 120% at 50% 0%, #2c2c2c 0%, #161616 55%, #0a0a0a 100%);
    color: #fff; text-decoration: none; text-align: center;
  }
  .hs-brand img { display: block; max-width: 100%; max-height: 40px; object-fit: contain; }
  .hs-brand-name { font-size: 13px; line-height: 1.2; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
}

/* ---- v4 (2026-11-15): one-row best sellers, page dots, category drop-down ---- */
@media all {
  .hs-grid.hs-grid--1row { grid-template-rows: auto; }

  .hs-dots { display: flex; justify-content: center; align-items: center; gap: 2px; margin-top: 4px; }
  .hs-dots[hidden] { display: none; }
  .hs-dot {
    position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer;
  }
  .hs-dot::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 999px;
    transform: translate(-50%, -50%); background: #5a5a5a; transition: width .25s ease, background-color .25s ease;
  }
  .hs-dot.is-active::before { width: 22px; background: #f58220; }
  .hs-dot:focus-visible { outline: 2px solid #fff; outline-offset: 0; border-radius: 6px; }

  .hs-cats-dd { border-radius: 12px; }
  .hs-cats-sum {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 56px; padding: 0 14px; border-radius: 12px; cursor: pointer; list-style: none;
    border: 1px solid #333; background: linear-gradient(180deg, #222 0%, #141414 55%, #0a0a0a 100%);
  }
  .hs-cats-sum::-webkit-details-marker { display: none; }
  .hs-cats-sum::marker { content: ""; }
  .hs-cats-sum h2 {
    margin: 0; font-size: 17px; line-height: 1.2; font-weight: 800; letter-spacing: .01em; text-transform: uppercase;
    color: #fff; white-space: nowrap; padding-left: 10px; border-left: 4px solid #f58220;
  }
  .hs-cats-sum:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  .hs-cats-hint { margin-left: auto; font-size: 13px; font-weight: 600; color: #ff9a3d; white-space: nowrap; }
  .hs-cats-chev { display: inline-flex; color: #fff; font-size: 16px; transition: transform .2s ease; }
  .hs-cats-dd[open] .hs-cats-chev { transform: rotate(180deg); }
  .hs-cats-dd[open] .hs-cats-sum { margin-bottom: 12px; }
  .hs-cats-dd .hs-cats-hint::after { content: "Show all"; }
  .hs-cats-dd[open] .hs-cats-hint::after { content: "Hide"; }
}
@media all and (prefers-reduced-motion: reduce) {
  .hs-dot::before, .hs-cats-chev { transition: none; }
}

/* ---- v5 (2026-11-15): compact trust strip, alphabetical brand rows, 2x2 categories + drop-down ---- */
@media all {
  .hs-trust { gap: 6px; margin-top: 10px !important; }
  .hs-trust li {
    flex-direction: row; justify-content: center; gap: 6px; padding: 7px 6px; border-radius: 9px;
    font-size: 11.5px; line-height: 1.2; text-align: left;
  }
  .hs-trust .bi { font-size: 15px; flex: none; }

  .hs-brand-list { grid-auto-flow: row; grid-template-columns: repeat(var(--hs-brand-cols, 31), 112px); grid-auto-columns: auto; }

  .hs-cats .hs-head { margin-bottom: 12px; }
  .hs-cats-more { margin-top: 10px; }
  .hs-cats-more .hs-cats-sum { min-height: 48px; justify-content: center; }
  .hs-cats-more .hs-cats-sum .hs-cats-label { font-size: 14px; font-weight: 700; color: #fff; }
  .hs-cats-more[open] .hs-cats-sum { margin-bottom: 10px; }
}

@media all {
  /* dark logos shown white on the black tiles */
  .hs-brand img[src*="brands/nike."], .hs-brand img[src*="brands/taurus."], .hs-brand img[src*="brands/under-armour."],
  .hs-brand img[src*="brands/garmin."], .hs-brand img[src*="brands/rudy-project."] { filter: brightness(0) invert(1); }
}

/* ---- v6 (2026-11-17): stock, quick add, license tag, chips, search suggestions, recently viewed, store info ---- */
@media all {
  .hs-card { position: relative; }
  .hs-stock { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; line-height: 1.2; }
  .hs-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
  .hs-stock.is-in { color: #7ddc8f; } .hs-stock.is-in::before { background: #3fbf5a; }
  .hs-stock.is-out { color: #c4c4c4; } .hs-stock.is-out::before { background: #8a8a8a; }
  .hs-stock.is-pre { color: #ffc266; } .hs-stock.is-pre::before { background: #f5a623; }
  .hs-grid .hs-stock { font-size: 11.5px; }

  .hs-qa {
    position: absolute; z-index: 2; right: 6px; top: 6px;
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
    display: inline-flex; align-items: center; justify-content: center;
    background: #f58220; color: #111; font-size: 16px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.45);
  }
  .hs-qa.is-busy { opacity: .6; }
  .hs-qa.is-added { background: #3fbf5a; color: #fff; }
  .hs-qa:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  .hs-lic {
    position: absolute; z-index: 2; left: 6px; top: 6px;
    display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 3px 7px; border-radius: 6px;
    background: rgba(10,10,10,.85); border: 1px solid #f58220; color: #ffb066; font-size: 11px; font-weight: 700; line-height: 1;
    text-decoration: none; white-space: nowrap;
  }
  .hs-card:has(.hs-badge) .hs-lic { top: 32px; }
  .hs-grid .hs-qa { width: 34px; height: 34px; top: 5px; right: 5px; font-size: 15px; }
  .hs-lic:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

  .hs-chips {
    position: sticky; top: 0; z-index: 40; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    padding: 10px 16px; background: linear-gradient(180deg, rgba(16,16,16,.98), rgba(12,12,12,.96));
    border-bottom: 1px solid #262626; transition: top .2s ease;
  }
  .hs-chips::-webkit-scrollbar { display: none; }
  .hs-chips a {
    flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
    border: 1px solid #3a3a3a; background: linear-gradient(180deg, #232323, #141414); color: #fff;
    font: 600 13px/1 Poppins, Arial, sans-serif; text-decoration: none; white-space: nowrap;
  }
  .hs-chips a[aria-current="page"] { border-color: #f58220; color: #ff9a3d; }
  .hs-chips a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  .hs-store--mid { padding-top: 0; }

  .hs-search--suggest { position: relative; }
  .hs-suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; max-height: 60vh; overflow-y: auto;
    border-radius: 12px; border: 1px solid #3a3a3a; background: #141414; box-shadow: 0 16px 40px rgba(0,0,0,.6); padding: 6px;
  }
  .hs-suggest a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; border-radius: 8px; color: #fff; text-decoration: none; }
  .hs-suggest a.is-active, .hs-suggest a:hover { background: #262626; }
  .hs-suggest img { width: 40px; height: 40px; object-fit: contain; flex: none; border-radius: 6px; background: radial-gradient(#2b2b2b, #111); }
  .hs-sg-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .hs-sg-name { font-size: 13.5px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hs-sg-meta { font-size: 12px; color: #c4c4c4; }
  .hs-sg-price { font-size: 13px; font-weight: 800; color: #ff9a3d; white-space: nowrap; }
  .hs-sg-brand { font-size: 13.5px; } .hs-sg-brand .bi { color: #f58220; }
  .hs-sg-all { justify-content: center; font-size: 13px; font-weight: 700; color: #ff9a3d !important; border-top: 1px solid #262626; border-radius: 0 0 8px 8px !important; }
  .hs-sg-empty { margin: 0; padding: 12px; font-size: 13px; color: #c4c4c4; }

  .hs-recent-clear { min-height: 36px; padding: 0 10px; border: 0; background: none; color: #ff9a3d; font: 600 13px Poppins, Arial, sans-serif; cursor: pointer; }
  .hs-recent-list { display: grid !important; grid-auto-flow: column; grid-auto-columns: 120px; gap: 10px; overflow-x: auto; scrollbar-width: none;
    margin: 0 -16px !important; padding: 2px 16px 8px !important; }
  .hs-recent-list::-webkit-scrollbar { display: none; }
  .hs-rv { display: flex; flex-direction: column; gap: 4px; height: 100%; padding-bottom: 8px; border-radius: 10px; overflow: hidden; border: 1px solid #2e2e2e;
    background: linear-gradient(180deg, #1d1d1d 0%, #131313 60%, #0b0b0b 100%); color: #fff; text-decoration: none; }
  .hs-rv-img { display: block; aspect-ratio: 1 / 1; background: radial-gradient(120% 85% at 50% 28%, #2b2b2b 0%, #171717 55%, #0a0a0a 100%); }
  .hs-rv-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
  .hs-rv-name { padding: 0 8px; font-size: 12px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hs-rv-price { padding: 0 8px; font-size: 13px; font-weight: 800; color: #ff9a3d; }

  .hs-info-card { border-radius: 14px; border: 1px solid #333; padding: 16px; background: radial-gradient(130% 120% at 0% 0%, #262626 0%, #151515 50%, #0a0a0a 100%); }
  .hs-info-title { margin: 0 0 10px; font-size: 17px; font-weight: 800; text-transform: uppercase; color: #fff; padding-left: 10px; border-left: 4px solid #f58220; }
  .hs-info-line { display: flex; gap: 10px; margin: 0 0 8px; font-size: 14px; line-height: 1.45; color: #e6e6e6; }
  .hs-info-line .bi { color: #f58220; font-size: 17px; flex: none; margin-top: 1px; }
  .hs-info-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .hs-info-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border-radius: 10px;
    border: 1px solid #3a3a3a; background: #1b1b1b; color: #fff; font: 600 13.5px Poppins, Arial, sans-serif; text-decoration: none; }
  .hs-info-btn.is-primary { grid-column: 1 / -1; background: #f58220; border-color: #f58220; color: #111; font-weight: 700; }
  .hs-info-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
}
@media all and (prefers-reduced-motion: reduce) { .hs-chips { transition: none; } }

@media (min-width: 769px) { .hs-chips { display: none !important; } }

/* ---- v7 (2026-11-17): outlined View product button ---- */
@media all {
  .hs-card-btn, .hs-grid .hs-card-btn { background: #0b0b0b !important; border: 1.5px solid #f58220; color: #ff9a3d !important; box-sizing: border-box; }
  .hs-card-link:hover .hs-card-btn, .hs-card-link:focus-visible .hs-card-btn { background: #1a1208 !important; }
}

@media all {
  .hs-info-btn.is-viber { border-color: #7360f2; } .hs-info-btn.is-viber .bi { color: #a89bff; }
  .hs-grid .bs-heart--card { width: 32px; height: 32px; top: 5px; right: 5px; font-size: 14px; }
  .hs-saved-count { font-weight: 600; color: #c4c4c4; }
}

/* 2026-11-18: Messenger + WhatsApp */
@media all {
  .hs-info-btn.is-messenger { border-color: #0a7cff; } .hs-info-btn.is-messenger .bi { color: #5aa9ff; }
  .hs-info-btn.is-whatsapp { border-color: #25d366; } .hs-info-btn.is-whatsapp .bi { color: #4ee28a; }
}

/* 2026-11-18: grouped "Shop by category" (matches the burger menu) */
@media all {
  .hs-cats--grouped .hs-catg-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .hs-cats--grouped .hs-catg { display: flex; flex-direction: column; min-width: 0; border: 1px solid #2e2e2e; border-radius: 14px; overflow: hidden;
    background: linear-gradient(180deg, #1d1d1d 0%, #131313 60%, #0b0b0b 100%); }
  .hs-cats--grouped .hs-catg > .hs-cat { display: block !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; min-height: 0 !important; height: auto !important; }
  .hs-cats--grouped .hs-catg .hs-cat-img { display: block !important; height: 88px !important; aspect-ratio: auto !important; overflow: hidden; }
  .hs-cats--grouped .hs-catg .hs-cat-img img { width: 100%; height: 100%; object-fit: cover; }
  .hs-cats--grouped .hs-catg .hs-cat-text { display: block !important; padding: 10px 12px 6px !important; }
  .hs-cats--grouped .hs-catg .hs-cat-name { font-size: 15px !important; font-weight: 800 !important; color: #fff !important; }
  .hs-cats--grouped .hs-catg .hs-cat-name::after { content: " \203A"; color: #f58220; }
  .hs-cats--grouped .hs-catg-subs { list-style: none; margin: 0; padding: 0 6px 12px 10px; display: flex; flex-wrap: wrap; gap: 5px; }
  .hs-cats--grouped .hs-catg-subs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 8px; border: 1px solid #454545; border-radius: 999px;
    background: #111; color: #e2e2e2; font: 600 12.5px Poppins, Arial, sans-serif; text-decoration: none; }
  .hs-cats--grouped .hs-catg-note { margin: 0; padding: 0 12px 12px; font-size: 12.5px; line-height: 1.4; color: #a8a8a8; }
  .hs-cats--grouped .hs-catg-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
  .hs-cats--grouped .hs-catg-more span { font-size: 13px; font-weight: 700; color: #b8b8b8; margin-right: 2px; }
  .hs-cats--grouped .hs-catg-more a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #f58220; border-radius: 999px;
    color: #ff9a3d; font: 700 13px Poppins, Arial, sans-serif; text-decoration: none; background: #111; }
  .hs-cats--grouped .hs-catg-subs li { width: auto !important; min-width: 0 !important; flex: none !important; margin: 0 !important; display: block !important; }
  .hs-cats--grouped .hs-catg .hs-cat-text { background: none !important; }
  .hs-cats--grouped a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
}

/* 2026-11-18b: "Shop by category" as simple equal tiles */
@media all {
  .hs-cats--tiles .hs-ctile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hs-cats--tiles .hs-ctile-grid > li { margin: 0; padding: 0; min-width: 0; }
  .hs-cats--tiles .hs-ctile { display: flex; flex-direction: column; height: 100%; border: 1px solid #2e2e2e; border-radius: 12px; overflow: hidden;
    background: linear-gradient(180deg, #1d1d1d 0%, #121212 70%, #0b0b0b 100%); color: #fff; text-decoration: none; }
  .hs-cats--tiles .hs-ctile-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1a1a1a; }
  .hs-cats--tiles .hs-ctile-img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: 22% 50% !important; display: block; }
  .hs-cats--tiles .hs-ctile-name { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 44px; padding: 6px 6px 8px;
    text-align: center; font: 700 12.5px/1.25 Poppins, Arial, sans-serif; }
  .hs-cats--tiles .hs-ctile:active { border-color: #f58220; }
  .hs-cats--tiles .hs-ctile:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
}

/* Desktop (2026-11-19): all categories visible as equal tiles, in menu order */
@media (min-width: 769px) {
  html body.bs-shop-theme .categories-section .category-slider-wrapper { overflow: visible !important; }
  html body.bs-shop-theme .categories-section .category-slider-wrapper .category-grid { grid-auto-flow: row !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-columns: auto !important; overflow: visible !important; transform: none !important; scroll-snap-type: none !important; }
  html body.bs-shop-theme .categories-section .category-grid > .category-card { width: auto !important; }
  .categories-section .slider-dots, .categories-section [class*="dots"], .categories-section .slider-arrow, .categories-section [class*="arrow"] { display: none !important; }
  .category-grid > a[href*="=firearms"] { order: 1; } .category-grid > a[href*="=accessories"] { order: 2; } .category-grid > a[href*="=parts"] { order: 3; }
  .category-grid > a[href*="=ammunition"] { order: 4; } .category-grid > a[href*="=shooting-gear"] { order: 5; } .category-grid > a[href*="=bags-cases"] { order: 6; }
  .category-grid > a[href*="=apparel"] { order: 7; } .category-grid > a[href*="=tools"] { order: 8; }
}

/* Desktop (2026-11-19): same storefront as phones (search, featured grid, brands, category tiles, recently viewed, best sellers, visit us), laid out wider */
@media (min-width: 769px) {
  .hs-store > *, .mobile-shop-extras { box-sizing: border-box; max-width: 1240px; margin-left: auto !important; margin-right: auto !important; padding-left: 24px !important; padding-right: 24px !important; }
  .hs-store .hs-section { margin-top: 36px !important; }
  .hs-intro h1 { font-size: 34px !important; }
  .hs-intro p { font-size: 15px !important; }
  .hs-intro .hs-search { max-width: 680px; }
  .hs-head h2 { font-size: 22px !important; }
  .hs-store .hs-grid, .hs-store .hs-grid.hs-grid--1row { grid-auto-flow: row !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; grid-template-rows: none !important; grid-auto-columns: auto !important;
    overflow: visible !important; scroll-snap-type: none !important; padding-left: 0 !important; padding-right: 0 !important; margin: 0 !important; gap: 16px !important; }
  .hs-store .hs-grid > * { width: auto !important; min-width: 0 !important; }
  .hs-store .hs-grid:not(.hs-grid--1row) > :nth-child(n+13) { display: none !important; }
  .hs-store .hs-grid.hs-grid--1row > :nth-child(n+7) { display: none !important; }
  .hs-store .hs-dots { display: none !important; }
  .hs-store .hs-brand-list { grid-auto-flow: column !important; grid-template-columns: none !important; grid-template-rows: repeat(2, auto) !important; grid-auto-columns: calc((100% - 7 * 12px) / 8) !important;
    overflow-x: auto !important; padding: 0 0 10px !important; margin: 0 !important; gap: 12px !important; scrollbar-width: thin; scrollbar-color: #f58220 #1a1a1a; }
  .hs-store .hs-brand-list > * { width: auto !important; min-width: 0 !important; }
  .hs-store .hs-brand-list::-webkit-scrollbar { display: block !important; height: 6px; }
  .hs-store .hs-brand-list::-webkit-scrollbar-thumb { background: #f58220; border-radius: 3px; }
  .hs-store .hs-ctile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; }
  .hs-store .hs-recent-list { grid-auto-flow: row !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; grid-auto-columns: auto !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; gap: 16px !important; }
  .hs-store .hs-recent-list > :nth-child(n+7) { display: none !important; }
  .hs-store .hs-recent-list > * { width: auto !important; min-width: 0 !important; }
  .hs-info-card { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px 32px; align-items: start; }
  .hs-info-card > * { grid-column: 1; }
  .hs-info-card > :last-child { grid-column: 2; grid-row: 1 / span 6; }
  .bs-brand-frame.banner-carousel { max-width: 1192px; margin-left: auto !important; margin-right: auto !important; }
  body .contact-section { display: none !important; }
}

/* Desktop (2026-11-19b): smaller banners, category tiles and promo cards */
@media (min-width: 769px) {
  html body.bs-shop-theme section.store-hero.banner-carousel { box-sizing: border-box; width: auto !important; max-width: 900px !important; height: auto !important; min-height: 0 !important; aspect-ratio: 1600 / 577; margin: 20px auto 0 !important; border-radius: 14px; overflow: hidden; }
  html body.bs-shop-theme .bs-brand-frame.banner-carousel { box-sizing: border-box; width: auto !important; max-width: 720px !important; margin: 28px auto 0 !important; }
  html body.bs-shop-theme .hs-store .hs-ctile-grid { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; gap: 12px !important; }
  html body.bs-shop-theme .hs-store .hs-ctile-img img { aspect-ratio: 1 / 1; height: auto !important; object-fit: cover; }
  html body.bs-shop-theme .hs-store .hs-ctile-name { font-size: 13px !important; }
  html body.bs-shop-theme section.mobile-shop-extras { box-sizing: border-box; max-width: 1192px !important; width: auto !important; margin: 32px auto 40px !important; padding: 0 !important; }
  html body.bs-shop-theme .mobile-shop-extras .mobile-promo-grid { gap: 16px !important; }
  html body.bs-shop-theme .mobile-shop-extras .mobile-promo-card { position: relative; height: 180px !important; min-height: 0 !important; }
  html body.bs-shop-theme .mobile-shop-extras .mobile-promo-card .mobile-promo-copy { position: absolute !important; inset: 0 !important; display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 0 28px !important; }
  html body.bs-shop-theme .mobile-shop-extras .mobile-promo-card .mobile-promo-copy h3 { margin: 0 !important; font-size: 26px !important; line-height: 1.05 !important; }
  html body.bs-shop-theme .mobile-shop-extras .mobile-promo-card .mobile-promo-copy p { margin: 0 !important; font-size: 13px !important; line-height: 1.4 !important; }
  html body.bs-shop-theme .mobile-shop-extras .mobile-promo-card .mobile-promo-copy span { margin-top: 4px !important; padding: 7px 14px !important; font-size: 12px !important; }
}

/* "View all products" link under the search (2026-11-19) */
.hs-all-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; padding: 0 18px; border: 1.5px solid #f58220; border-radius: 12px; background: #140d07; color: #ff9a3d !important; font: 700 14px Poppins, Arial, sans-serif; text-decoration: none; }
.hs-all-link:hover { background: #22150a; }
.hs-all-link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 768px) { .hs-all-link { display: flex; justify-content: center; width: 100%; box-sizing: border-box; } }

/* Banners (2026-11-19c): ONE image size on desktop (phones keep the original style, 2026-11-19h): 1800 x 600 px (3:1). Pictures fill the frame, centered. */
@media (min-width: 769px) {
  html body.bs-shop-theme section.store-hero.banner-carousel, html body.bs-shop-theme .bs-brand-frame.banner-carousel { position: relative; aspect-ratio: 3 / 1 !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: hidden !important; }
  html body.bs-shop-theme .banner-carousel .banner-carousel-track { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; }
  html body.bs-shop-theme .banner-carousel.banner-carousel .banner-carousel-track img, html body.bs-shop-theme .banner-carousel.banner-carousel .banner-carousel-track img.banner-slide { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover !important; object-position: center center !important; }
}
@media (min-width: 769px) {
  html body.bs-shop-theme section.store-hero.banner-carousel, html body.bs-shop-theme .bs-brand-frame.banner-carousel { box-sizing: border-box; width: calc(100% - 48px) !important; max-width: 1192px !important; margin: 20px auto 0 !important; border-radius: 14px; }
  html body.bs-shop-theme .bs-brand-frame.banner-carousel { margin-top: 32px !important; }
}

/* Top banner gets the same frame as the middle banner on desktop (2026-11-19d; phones reverted 2026-11-19h) */
@media (min-width: 769px) {
  html body.bs-shop-theme section.store-hero.banner-carousel:not(#bs-x) { box-sizing: border-box; border: 1px solid #6b5947 !important; border-radius: 12px !important; overflow: hidden !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.19), 0 8px 24px rgba(0,0,0,.333) !important; }
}

/* Desktop shop top (2026-11-19e): banner and the Shop intro (search, View all, trust) side by side; middle banner wide and short */
.hs-desk-top { display: contents; }
@media (min-width: 769px) {
  html body.bs-shop-theme .hs-desk-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 20px; align-items: center; box-sizing: border-box; width: calc(100% - 48px); max-width: 1192px; margin: 20px auto 0; }
  html body.bs-shop-theme .hs-desk-top > section.store-hero.banner-carousel:not(#bs-x) { width: 100% !important; max-width: none !important; margin: 0 !important; align-self: center; }
  html body.bs-shop-theme .hs-desk-top > .hs-store--top { display: flex !important; flex-direction: column; justify-content: center; gap: 10px; margin: 0 !important; padding: 16px 20px !important; max-width: none !important;
    border: 1px solid #2e2e2e; border-radius: 12px; background: linear-gradient(160deg, #1b1b1b 0%, #0d0d0d 100%); box-sizing: border-box; }
  html body.bs-shop-theme .hs-desk-top > .hs-store--top > * { margin: 0 !important; padding: 0 !important; max-width: none !important; width: auto !important; }
  html body.bs-shop-theme .hs-desk-top .hs-intro h1 { margin: 0 0 4px !important; font-size: 26px !important; }
  html body.bs-shop-theme .hs-desk-top .hs-intro p { margin: 0 0 10px !important; font-size: 13.5px !important; }
  html body.bs-shop-theme .hs-desk-top .hs-intro .hs-search { max-width: none !important; margin: 0 !important; }
  html body.bs-shop-theme .hs-desk-top .hs-all-link { display: flex; justify-content: center; width: 100%; box-sizing: border-box; margin-top: 8px; min-height: 42px; }
  html body.bs-shop-theme .hs-desk-top .hs-trust { display: flex !important; flex-wrap: wrap; gap: 6px 14px !important; border: 0 !important; background: none !important; }
  html body.bs-shop-theme .hs-desk-top .hs-trust > * { flex: none; padding: 0 !important; border: 0 !important; background: none !important; min-height: 0 !important; font-size: 12px !important; color: #bdbdbd; }
  html body.bs-shop-theme .bs-brand-frame.banner-carousel:not(#bs-x) { aspect-ratio: 3.5 / 1 !important; }
}

/* Desktop shop (2026-11-19f): middle banner shares a row with New Arrivals / Bundle Deals */
.hs-desk-promo { display: contents; }
@media (min-width: 769px) {
  html body.bs-shop-theme .hs-desk-promo { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 20px; align-items: stretch; box-sizing: border-box; width: calc(100% - 48px); max-width: 1192px; margin: 36px auto 0; }
  html body.bs-shop-theme .hs-desk-promo > .bs-brand-frame.banner-carousel:not(#bs-x) { width: 100% !important; max-width: none !important; margin: 0 !important; aspect-ratio: 3 / 1 !important; }
  html body.bs-shop-theme .hs-desk-promo > .mobile-promo-grid:not(#bs-x) { display: grid !important; grid-template-columns: 1fr !important; grid-template-rows: 1fr 1fr !important; gap: 12px !important; margin: 0 !important; padding: 0 !important; width: auto !important; height: auto !important; }
  html body.bs-shop-theme .hs-desk-promo .mobile-promo-card:not(#bs-x) { position: relative; height: auto !important; min-height: 0 !important; margin: 0 !important; border-radius: 12px; overflow: hidden; }
  html body.bs-shop-theme .hs-desk-promo .mobile-promo-card:not(#bs-x) img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; }
  html body.bs-shop-theme .hs-desk-promo .mobile-promo-card:not(#bs-x) .mobile-promo-copy { position: absolute !important; inset: 0 !important; display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 0 20px !important; }
  html body.bs-shop-theme .hs-desk-promo .mobile-promo-card:not(#bs-x) .mobile-promo-copy h3 { margin: 0 !important; font-size: 20px !important; line-height: 1.05 !important; }
  html body.bs-shop-theme .hs-desk-promo .mobile-promo-card:not(#bs-x) .mobile-promo-copy p { display: none !important; }
  html body.bs-shop-theme section.mobile-shop-extras:not(:has(.mobile-promo-grid)) { display: none !important; }
  html body.bs-shop-theme .hs-desk-promo .mobile-promo-card:not(#bs-x) .mobile-promo-copy span { margin: 2px 0 0 !important; padding: 6px 12px !important; font-size: 11.5px !important; }
}

/* Desktop promo cards (2026-11-19g): text and Shop button on the right side */
@media (min-width: 769px) {
  html body.bs-shop-theme .hs-desk-promo .mobile-promo-card:not(#bs-x) .mobile-promo-copy { align-items: flex-end !important; text-align: right !important; padding: 0 22px 0 40% !important; left: auto !important; right: 0 !important; width: 100% !important; box-sizing: border-box; }
  html body.bs-shop-theme .hs-desk-promo .mobile-promo-card:not(#bs-x) .mobile-promo-copy h3 { text-align: right !important; }
}
