/*
Theme Name:   Quick Shot Theme
Template:     astra
Version:      4.15.0
*/

/* ============================================
   BRAND COLORS — red matches quickshotammo.com
   ============================================ */
:root {
  --header-above-bg: #800000;   /* top contact bar */
  --header-primary-bg: #161616; /* logo / search / cart row */
  --header-below-bg: #ffffff;   /*  nav row */
  --brand-red: #800000;
  --brand-red-bright: #a3242c;
  --text-dark: #1a1a1a;
}

.ast-above-header,
.ast-above-header-bar-wrap,
.ast-above-header-bar {
  background-color: var(--header-above-bg) !important;
  border-bottom: none !important;
}


.ast-above-header-bar,
.ast-above-header-bar a {
  color: #fff !important;
}

/* ============================================
   PRIMARY HEADER — white, logo left, search
   centered and wide, cart right
   ============================================ */
body header#masthead .ast-primary-header-bar-wrap,
body header#masthead .ast-primary-header-bar {
  background-color: var(--header-primary-bg) !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  border-bottom: none !important;
}

.site-title a,
.site-title a:hover {
  color: var(--text-dark) !important;
}

.ast-site-identity {
  margin-right: 24px !important;
}

#masthead .custom-logo,
.ast-site-identity img {
  max-height: 150px !important;
  width: auto !important;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: #ffffff !important;
    color: #ffffff !important;
}



/* ============================================
   BELOW HEADER — centered, thinned-down nav
   Move the Menu element here via Appearance →
   Customize → Header Builder → drag "Menu" into
   the Below Header row (leave Logo/Search/Cart
   in Primary Header) so it forms its own row,
   the way the reference site does.
   ============================================ */
.ast-below-header,
.ast-below-header-bar-wrap,
.ast-below-header-bar {
  background-color: var(--header-below-bg) !important;
  border-top: 1px solid #eee;
}

.ast-below-header .ast-builder-menu-1,
.ast-below-header .main-header-bar-navigation,
.ast-below-header nav {
  display: flex !important;
  justify-content: center !important;
  width: 100%;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link,
.ast-below-header .main-header-menu > .menu-item > .menu-link {
  color: var(--text-dark) !important;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0.2px;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover,
.ast-below-header .main-header-menu > .menu-item > .menu-link:hover {
  color: var(--brand-red-bright) !important;
}

/* ============================================
   SEARCH BAR — long, low-radius ("square"),
   desktop sizing (mobile rules further down)
   ============================================ */
/* Container sizing */
.ast-primary-header-bar .wp-block-search,
.ast-primary-header-bar .wp-block-search__inside-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

/* Flex wrapper with border */
.ast-primary-header-bar .wp-block-search__inside-wrapper {
  display: flex;
  align-items: stretch;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

/* Input field */
.ast-primary-header-bar .wp-block-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background-color: #fff;
  color: var(--text-dark);
  padding: 12px 16px;
  font-size: 1rem;
}

/* Search button */
.ast-primary-header-bar .wp-block-search__button {
  flex-shrink: 0;
  background-color: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 0 22px;
  white-space: nowrap;
  cursor: pointer;
}

.ast-primary-header-bar .wp-block-search__button:hover {
  background-color: var(--brand-red-bright);
}

/* Fallback for classic (non-block) search form only */
.ast-primary-header-bar form.search-form .search-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: var(--text-dark);
}   



/* Footer changing the color and rearranging the words*/
/* Force footer background everywhere */

/* Make the footer menu horizontal on ALL devices */
.footer-widget-area .menu,
.ast-mobile-footer-wrap .menu,
.ast-builder-footer-grid-columns .menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Menu items */
.footer-widget-area .menu li,
.ast-mobile-footer-wrap .menu li {
    display: inline-block !important;
}

/* Menu links */
.footer-widget-area .menu a,
.ast-mobile-footer-wrap .menu a {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer-widget-area .menu a:hover,
.ast-mobile-footer-wrap .menu a:hover {
    color: #ccc !important;
}

/*Improving product page Look */
.woocommerce-tabs .panel {
    padding: 20px 0;
    line-height: 1.7;
}
.woocommerce-tabs .panel h2,
.woocommerce-tabs .panel h3 {
    margin-bottom: 12px;
}

/* Hide SKU on WooCommerce product pages */
.single-product .product_meta .sku_wrapper {
    display: none !important;
}


/* Hide product meta (categories, tags, SKU) below title */
.single-product .product_meta,
.woocommerce div.product .product_meta {
    display: none !important;
}

/* Catch-all: some themes render category above title separately */
.single-product .posted_in,
.single-product .product-categories,
.single-product .single-product-category {
    display: none !important;
}

/* Fixing Gap in Search Bar */
.ast-primary-header-bar .wp-block-search__inside-wrapper {
  gap: 0 !important;
}
.ast-primary-header-bar .wp-block-search__input,
.ast-primary-header-bar .wp-block-search__button {
  margin: 0 !important;
}

.ast-above-header-bar a:hover {
    color: #d4a843 !important;
}


/* First Breach top-bar text */
.ast-above-header-bar a[href="https://firstbreach.com/"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    text-align: center;
}

.ast-above-header-bar a[href="https://firstbreach.com/"]:hover {
    color: #d4a843 !important;
}

/* Making Contact Us Bolder */
.quickshot-phone,
.quickshot-contact {
  color: rgb(255, 255, 255) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}
.quickshot-divider {
  color: rgb(255, 255, 255) !important;
  font-size: 15px !important;
}



header#masthead a[href*="my-account"] {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

header#masthead a[href*="my-account"]:hover {
    color: #d4a843 !important;
}

/* My Cart — match My Account */
header#masthead .ast-header-woo-cart .ast-woo-header-cart-info-wrap {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

header#masthead .ast-site-header-cart .cart-container:hover .ast-woo-header-cart-info-wrap {
    color: #d4a843 !important;
}


/* All WordPress Buttons */
.wp-block-button__link {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wp-block-button__link:hover {
    background-color: var(--brand-red-bright) !important;
    color: #ffffff !important;
}



/* =========================================
   PRODUCT CARD IMAGE SIZE
   ========================================= */

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block !important;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
    height: 280px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
}




/* =========================================================
   QUICK SHOT HOMEPAGE SHOWCASE
   Popular Calibers + Featured Products
   ========================================================= */


/* =========================================================
   MAIN SECTION
   ========================================================= */

.qs-home-showcase {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 70px;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.qs-home-section-title {
    margin: 0 0 28px !important;
    padding: 0 !important;

    color: var(--text-dark) !important;

    font-size: 34px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* =========================================================
   POPULAR CALIBERS
   ========================================================= */

.qs-caliber-section {
    width: 100%;
    margin-bottom: 75px;
}


.qs-caliber-grid {
    display: grid;

    grid-template-columns: repeat(6, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
}


.qs-caliber-button {
    display: flex !important;

    align-items: center;
    justify-content: center;

    min-height: 64px;

    padding: 12px 10px;

    background-color: var(--brand-red) !important;
    color: #ffffff !important;

    border: none !important;
    border-radius: 4px;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;

    text-align: center;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.qs-caliber-button:hover {
    background-color: var(--brand-red-bright) !important;
    color: #ffffff !important;

    transform: translateY(-2px);
}


/* =========================================================
   FEATURED PRODUCTS
   ========================================================= */

.qs-featured-section {
    width: 100%;
}


.qs-featured-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 28px;

    width: 100%;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.qs-product-card {
    min-width: 0;

    text-align: center;
}


/* =========================================================
   PRODUCT IMAGE AREA
   ========================================================= */

.qs-product-image {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 260px;

    padding: 0;

    background-color: #ffffff;

    overflow: hidden;

    text-decoration: none !important;
}


.qs-product-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;
}


/* =========================================================
   PRODUCT INFORMATION
   ========================================================= */

.qs-product-card-content {
    width: 100%;

    padding-top: 18px;
}


/* =========================================================
   PRODUCT TITLE
   ========================================================= */

.qs-product-title {
    margin: 0 auto 12px !important;
    padding: 0 !important;

    color: var(--text-dark) !important;

    font-weight: 700 !important;
    line-height: 1.25 !important;

    text-align: center;
}


.qs-product-title a {
    color: var(--text-dark) !important;

    text-decoration: none !important;

    transition: color 0.2s ease;
}


.qs-product-title a:hover {
    color: var(--brand-red-bright) !important;
}


/* =========================================================
   PRODUCT PRICE
   ========================================================= */

.qs-product-price {
    margin: 0 0 20px;

    color: var(--brand-red) !important;

    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}


.qs-product-price .amount {
    color: var(--brand-red) !important;
}


/* =========================================================
   SELECT OPTIONS BUTTON
   ========================================================= */

.qs-product-button {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 58px;

    padding: 12px 15px;

    background-color: var(--brand-red) !important;
    color: #ffffff !important;

    border: none !important;
    border-radius: 4px;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;

    text-align: center;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.qs-product-button:hover {
    background-color: var(--brand-red-bright) !important;
    color: #ffffff !important;

    transform: translateY(-2px);
}


/* =========================================================
   VIEW DETAILS
   ========================================================= */

.qs-product-details {
    display: inline-block;

    margin-top: 14px;

    color: var(--brand-red) !important;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    text-decoration: none !important;

    transition: color 0.2s ease;
}


.qs-product-details:hover {
    color: var(--brand-red-bright) !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .qs-caliber-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .qs-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .qs-home-showcase {
        padding: 35px 15px 50px;
    }


    .qs-home-section-title {
        margin-bottom: 22px !important;

        font-size: 27px !important;
    }


    .qs-caliber-section {
        margin-bottom: 50px;
    }


    .qs-caliber-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .qs-caliber-button {
        min-height: 55px;

        font-size: 14px !important;
    }


    .qs-featured-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .qs-product-image {
        height: 280px;
    }


    .qs-product-title {
        min-height: 0;

        font-size: 18px !important;
    }


    .qs-product-button {
        min-height: 55px;
    }

}


/* One cohesive box around the whole showcase */
.qs-home-showcase {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 36px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* Smaller caliber buttons */
.qs-caliber-grid { gap: 10px; }
.qs-caliber-button {
  min-height: 44px;
  padding: 8px 10px;
  font-size: 14px !important;
}

/* Smaller product cards */
.qs-product-image { height: 150px; }
.qs-product-title { min-height: 44px; font-size: 15px !important; }
.qs-product-button,
.qs-product-details { min-height: 40px; font-size: 14px !important; }

/* Carousel mechanics */
.qs-carousel-wrap { position: relative; display: flex; align-items: center; gap: 10px; }
.qs-carousel-viewport { overflow: hidden; width: 100%; }
.qs-carousel-track { display: flex; gap: 20px; transition: transform 0.35s ease; }
.qs-carousel-track .qs-product-card { flex: 0 0 calc(25% - 15px); }

.qs-carousel-prev, .qs-carousel-next {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--brand-red);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.qs-carousel-prev:hover, .qs-carousel-next:hover { background: var(--brand-red-bright); }

.qs-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.qs-carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: #ccc; cursor: pointer; padding: 0; }
.qs-carousel-dot.is-active { background: var(--brand-red); }

@media (max-width: 1000px) {
  .qs-carousel-track .qs-product-card { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 600px) {
  .qs-carousel-track .qs-product-card { flex: 0 0 100%; }
}


/* =========================================================
   WHAT'S NEW SLIDER
   Append to the end of your existing Additional CSS
   ========================================================= */

.qs-whatsnew {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 70px;
}

.qs-whatsnew-slider {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.qs-whatsnew-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.qs-whatsnew-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.qs-whatsnew-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Dark gradient so white text is always readable over any photo */
.qs-whatsnew-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 40px 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0) 100%);
    color: #fff;
}

.qs-whatsnew-badge {
    display: inline-block;
    background-color: var(--brand-red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.qs-whatsnew-caption h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    max-width: 640px;
    color: #fff;
}

.qs-whatsnew-caption p {
    margin: 0 0 18px;
    font-size: 15px;
    color: #eee;
    max-width: 560px;
}

.qs-whatsnew-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-red);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 26px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.qs-whatsnew-link:hover {
    background-color: var(--brand-red-bright);
}

.qs-whatsnew-prev,
.qs-whatsnew-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color 0.2s ease;
}

.qs-whatsnew-prev:hover,
.qs-whatsnew-next:hover {
    background-color: var(--brand-red);
}

.qs-whatsnew-prev { left: 16px; }
.qs-whatsnew-next { right: 16px; }

.qs-whatsnew-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.qs-whatsnew-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease;
}

.qs-whatsnew-dot.is-active {
    background-color: var(--brand-red);
}

@media (max-width: 768px) {
    .qs-whatsnew-slider {
        height: 320px;
    }
    .qs-whatsnew-caption {
        padding: 24px 20px 20px;
    }
    .qs-whatsnew-caption h3 {
        font-size: 19px;
    }
    .qs-whatsnew-caption p {
        display: none; /* keep mobile clean — title + button says enough */
    }
    .qs-whatsnew-prev,
    .qs-whatsnew-next {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .qs-whatsnew-slider {
        height: 260px;
    }
}


/* =========================================================
   SHOP BY BRAND
   ========================================================= */

.qs-brand-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 70px;
}

.qs-brand-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.qs-brand-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 70px;
    padding: 12px;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.qs-brand-badge:hover {
    transform: translateY(-3px);
}

.qs-brand-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.qs-brand-logo-fallback {
    font-weight: 800;
    font-size: 14px;
    color: var(--text-dark);
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 600px) {
    .qs-brand-section {
        padding: 10px 15px 50px;
    }
    .qs-brand-row {
        gap: 10px;
    }
    .qs-brand-badge {
        width: 110px;
        height: 55px;
        padding: 8px;
    }
}

.qs-brand-badge {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}


/* Brand name tooltip */
.qs-brand-badge {
    position: relative;
}

.qs-brand-badge[data-brand]::after {
    content: attr(data-brand);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    padding: 9px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 20;
}

@media (hover: hover) {
    .qs-brand-badge[data-brand]:hover::after {
        opacity: 1;
        visibility: visible;
    }
}

/* =========================================================
   SHOP CATEGORIES SIDEBAR WIDGET
   ========================================================= */

#menu-shop-categories,
#menu-shop-categories .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Group header level — Pistol, Misc, WheelGun, Rifle, Shotgun, Hollow Point Defense */
#menu-shop-categories > li > a.menu-link {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  background-color: #161616 !important;
  color: #fff !important;
  font-weight: 700;
  padding: 14px 18px;
}

/* Astra's own expand arrow — recolor it for the black bar rather
   than hiding it, so tap-to-expand still works exactly as before */
#menu-shop-categories > li > a .dropdown-menu-toggle,
#menu-shop-categories > li > a .ast-header-navigation-arrow {
  color: #fff;
  border-color: #fff transparent transparent transparent;
}

/* Caliber level — links inside each group's sub-menu */
#menu-shop-categories .sub-menu > li > a.menu-link {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  background-color: #f3f4f6 !important;
  color: #333 !important;
  font-weight: 600;
  padding: 12px 18px;
  border-bottom: 1px solid #e5e5e5;
}

#menu-shop-categories .sub-menu > li > a.menu-link::after {
  content: "\276F";
  color: #999;
  margin-left: 10px;
}

/* Group header — text turns red on hover, background stays #161616 */
#menu-shop-categories > li > a.menu-link:hover {
  background-color: #161616 !important;
  color: #c50202 !important;
}

/* Sub-menu links — text turns red on hover, background stays #f3f4f6 */
#menu-shop-categories .sub-menu > li > a.menu-link:hover {
  background-color: #f3f4f6 !important;
  color: #c50202 !important;
}   



/* =========================================================
   FIRST BREACH MANUFACTURER SPOTLIGHT
   ========================================================= */

.qs-fb-spotlight {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 50px !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 40px;
    background: linear-gradient(180deg, #f4f4f4 0%, #ebebeb 100%);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.qs-fb-column {
    min-width: 0;
}

.qs-fb-text {
    flex: 0 1 480px !important;
    text-align: center;
}

.qs-fb-logo-col {
    flex: 0 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.qs-fb-eyebrow {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-red);
}

.qs-fb-title {
    margin: 0 0 18px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
}

.qs-fb-title span {
    font-weight: 600;
    color: #555;
    font-size: 0.6em;
    display: block;
    margin-top: 6px;
}

.qs-fb-description {
    margin: 0 auto 28px;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.qs-fb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-red);
    color: #fff !important;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.qs-fb-button:hover {
    background-color: var(--brand-red-bright);
    transform: translateY(-2px);
}

.qs-fb-logo {
    max-width: 150px;
    height: auto;
}

.qs-fb-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qs-fb-badge {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dark);
    padding: 6px 16px;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .qs-fb-spotlight {
        flex-direction: column;
        gap: 36px;
        padding: 44px 24px;
        text-align: center;
    }
    .qs-fb-title {
        font-size: 28px;
    }
    .qs-fb-description {
        font-size: 15px;
    }
}

/* First Breach NASDAQ link */
.qs-fb-nasdaq-link {
    color: #555 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.qs-fb-nasdaq-link:hover {
    color: var(--brand-red-bright) !important;
}


/* Learn More button under First Breach logo */
.qs-fb-learn-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-color: transparent !important;
    color: var(--brand-red) !important;

    font-weight: 800;
    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 0.6px;

    padding: 12px 22px;

    border: 2px solid var(--brand-red) !important;
    border-radius: 4px;

    text-decoration: none !important;
    text-align: center;

    transition: background-color 0.2s ease, color 0.2s ease;
}

.qs-fb-learn-button:hover {
    background-color: var(--brand-red) !important;
    color: #fff !important;
}

/* =========================================================
   LOGIN — WHOLESALE ACCESS CTA
   ========================================================= */

.qs-login-wholesale-cta {
    margin-top: 30px;
    padding: 28px 24px;
    background-color: var(--header-primary-bg);
    border-radius: 4px;
    text-align: center;
}
.qs-login-wholesale-title {
    margin-bottom: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.qs-login-wholesale-text {
    margin-bottom: 20px;
    color: #cccccc;
    font-size: 15px;
    line-height: 1.5;
}
.qs-login-wholesale-button {
    display: inline-block;
    padding: 13px 28px;
    background-color: var(--brand-red);
    color: #ffffff !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}
.qs-login-wholesale-button:hover {
    background-color: var(--brand-red-bright) !important;
}


/* =========================================================
   Stretching out the Not A Dealer Yet widget
   ========================================================= */
.qs-firstbreach-block {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding-top: 55px !important;
    padding-bottom: 55px !important;

    box-sizing: border-box !important;
}



/* ==========================================================
   QUICK SHOT — FULL WIDTH WHOLESALE HERO
   ========================================================== */

.qs-hero-wide {
    /* Full-width background */
    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    background: linear-gradient(
        135deg,
        #0a0a0a 0%,
        #3a0d0d 55%,
        var(--brand-red) 100%
    ) !important;

    /* Hero height / breathing room */
    padding: 65px 24px 70px !important;

    box-sizing: border-box !important;

    text-align: center !important;
}


/* ==========================================================
   HERO HEADING
   ========================================================== */

.qs-hero-wide h2 {
    width: 100% !important;
    max-width: 900px !important;

    margin: 0 auto 20px !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-size: 44px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.5px !important;

    text-align: center !important;
}


/* ==========================================================
   QUICK SHOT LOGO
   ========================================================== */

.qs-hero-wide .wp-block-image {
    width: 100% !important;
    max-width: none !important;

    margin: 0 auto 24px !important;
    padding: 0 !important;

    text-align: center !important;
}

.qs-hero-wide .wp-block-image img {
    display: block !important;

    width: 300px !important;
    max-width: 80% !important;
    height: auto !important;

    margin: 0 auto !important;
}


/* ==========================================================
   FIRST BREACH BADGE
   ========================================================== */

.qs-hero-wide .qs-hero-badge {
    display: block !important;

    width: fit-content !important;
    max-width: 90% !important;

    margin: 0 auto 20px !important;
    padding: 9px 22px !important;

    border: 1px solid rgba(255,255,255,0.45) !important;
    border-radius: 24px !important;

    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.3px !important;

    text-align: center !important;
}

.qs-hero-wide .qs-hero-badge a {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-skip-ink: none !important;
}   

.qs-hero-wide .qs-hero-badge a:hover {
    color: #d4a843 !important;
}

/* ==========================================================
   TAGLINE
   ========================================================== */

.qs-hero-wide .qs-hero-tagline {
    width: 100% !important;
    max-width: 600px !important;

    margin: 0 auto 32px !important;
    padding: 0 !important;

    color: rgba(255,255,255,0.85) !important;

    font-size: 18px !important;
    line-height: 1.5 !important;

    text-align: center !important;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.qs-hero-wide .wp-block-buttons {
    width: 100% !important;
    max-width: 700px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    gap: 14px !important;
}


/* All buttons */

.qs-hero-wide .wp-block-button__link {
    min-width: 140px !important;

    padding: 15px 28px !important;

    border-radius: 4px !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    text-transform: uppercase;
    letter-spacing: 0.5px !important;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


/* LOG IN button */

.qs-hero-wide .wp-block-button:first-child .wp-block-button__link {
    background: #ffffff !important;
    color: #161616 !important;
    border: 2px solid #ffffff !important;
}

.qs-hero-wide .wp-block-button:first-child .wp-block-button__link:hover {
    background: #eeeeee !important;
    color: #161616 !important;
}


/* BROWSE CATALOG button */

.qs-hero-wide .wp-block-button:nth-child(2) .wp-block-button__link {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.65) !important;
}

.qs-hero-wide .wp-block-button:nth-child(2) .wp-block-button__link:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .qs-hero-wide {
        padding: 50px 20px 55px !important;
    }

    .qs-hero-wide h2 {
        font-size: 30px !important;
        line-height: 1.15 !important;
        margin-bottom: 18px !important;
    }

    .qs-hero-wide .wp-block-image img {
        width: 155px !important;
        max-width: 70% !important;
    }

    .qs-hero-wide .qs-hero-badge {
        max-width: 100% !important;
        padding: 8px 14px !important;
        font-size: 12px !important;
    }

    .qs-hero-wide .qs-hero-tagline {
        font-size: 16px !important;
        margin-bottom: 25px !important;
    }

    .qs-hero-wide .wp-block-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .qs-hero-wide .wp-block-button {
        width: 100% !important;
    }

    .qs-hero-wide .wp-block-button__link {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 20px !important;
    }
}
/* ==========================================================
FIRST BREACH TOP BAR — MOBILE
========================================================== */

@media (max-width: 767px) {

/* Make the mobile Above Header span the entire screen */  
#masthead .ast-mobile-header-wrap .ast-above-header-bar {  
    width: 100% !important;  
    max-width: 100% !important;  
    padding: 0 !important;  
    margin: 0 !important;  
    box-sizing: border-box !important;  
}  

/* Give the center column the entire available width */  
#masthead .ast-mobile-header-wrap .ast-above-header-bar  
.ast-builder-grid-row {  
    width: 100% !important;  
    max-width: 100% !important;  

    grid-template-columns: 0fr minmax(0, 1fr) 0fr !important;  

    column-gap: 0 !important;  
    box-sizing: border-box !important;  
}  


/* First Breach gets the entire row */  
#masthead .ast-mobile-header-wrap .site-header-above-section-center {  
    width: 100% !important;  
    min-width: 0 !important;  
    max-width: 100% !important;  

    display: flex !important;  
    justify-content: center !important;  
    align-items: center !important;  

    grid-column: 2 !important;  
}  

/* First Breach HTML container */  
#masthead .ast-mobile-header-wrap .ast-header-html-2 {  
    width: 100% !important;  
    min-width: 0 !important;  
    max-width: 100% !important;  

    margin: 0 !important;  
    padding: 0 !important;  

    display: flex !important;  
    justify-content: center !important;  
    align-items: center !important;  
}  

/* First Breach paragraph */  
#masthead .ast-mobile-header-wrap .ast-header-html-2 p {  
    width: 100% !important;  
    max-width: 100% !important;  

    margin: 0 !important;  
    padding: 9px 15px !important;  

    box-sizing: border-box !important;  

    color: #ffffff !important;  

    font-size: 13px !important;  
    font-weight: 700 !important;  
    line-height: 1.35 !important;  

    text-align: center !important;  
}  

/* First Breach link */  
#masthead .ast-mobile-header-wrap  
.ast-header-html-2 a[href="https://firstbreach.com/"] {  
    display: inline !important;  

    width: auto !important;  
    max-width: none !important;  

    margin: 0 !important;  
    padding: 0 !important;  

    color: #ffffff !important;  

    font-size: 13px !important;  
    font-weight: 700 !important;  
    line-height: 1.35 !important;  

    text-align: center !important;  
    text-decoration: none !important;  

    white-space: normal !important;  
}

}

/* MOBILE HEADER FIX */

@media (max-width: 767px) {

/* Stack logo and search */  
.ast-primary-header-bar {  
    display: flex !important;  
    flex-direction: column !important;  
    align-items: center !important;  
}  

/* Smaller logo */  
#masthead .custom-logo,  
.ast-site-identity img {  
    max-height: 70px !important;  
    width: auto !important;  
}  

/* Search fits screen */  
.ast-primary-header-bar .wp-block-search,  
.ast-primary-header-bar .wp-block-search__inside-wrapper {  
    width: 100% !important;  
    max-width: calc(100vw - 30px) !important;  
    margin: 10px auto !important;  
}  

.ast-primary-header-bar .wp-block-search__input {  
    width: 100% !important;  
}  

/* Prevent horizontal scrolling */  
html,  
body {  
    overflow-x: hidden !important;  
}

}

@media (max-width: 767px) {

/* Force Astra mobile trigger visible */  
[data-section="section-header-mobile-trigger"] {  
    display: flex !important;  
    visibility: visible !important;  
    opacity: 1 !important;  
}  

.menu-toggle,  
.ast-mobile-menu-trigger-minimal,  
.ast-button-wrap {  
    display: flex !important;  
    visibility: visible !important;  
    opacity: 1 !important;  
}  

.mobile-menu-toggle-icon {  
    display: block !important;  
}  

.ast-mobile-svg {  
    width: 24px !important;  
    height: 24px !important;  
    fill: #ffffff !important;  
}

}

@media (max-width:767px){

.quickshot-phone,
.quickshot-contact{
font-size:13px !important;
font-weight:700 !important;
}

.site-header-above-section-left{
display:flex !important;
justify-content:center !important;
}

}

/* ==========================================================
   About Us Teaser
   ========================================================== */

.qs-about-teaser {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 24px;
  text-align: center;

  background: linear-gradient(180deg, #f4f4f4 0%, #ebebeb 100%);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}

.qs-about-teaser h2 {
  display: inline-block;
  color: var(--text-dark);
  font-size: 2rem;
  font-weight: 800;
  border-bottom: 3px solid var(--brand-red);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.qs-about-teaser p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.qs-about-teaser .wp-block-button__link {
  display: inline-block;
  background-color: transparent !important;
  color: var(--brand-red) !important;
  border: 2px solid var(--brand-red);
  padding: 12px 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.qs-about-teaser .wp-block-button__link:hover {
  background-color: var(--brand-red) !important;
  color: #fff !important;
}

/* Align top bar vertically */
.ast-above-header-bar .ast-builder-grid-row {
    align-items: center !important;
}

.site-header-above-section-left,
.site-header-above-section-center,
.site-header-above-section-right {
    display: flex !important;
    align-items: center !important;
}

/* First Breach block alignment */
.ast-header-html-2,
.ast-header-html-2 .ast-header-html,
.ast-header-html-2 .ast-builder-html-element {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ast-header-html-2 p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.ast-header-html-2 {
    position: relative;
    top: -6.5px;
}


/* =========================================
   QUICK SHOT FOOTER INFO BAR
   ========================================= */

.qs-footer-info {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box;

    background: transparent;
    color: #ffffff;
    padding: 40px 20px;
}

.qs-footer-info-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.qs-footer-info-inner > div {
    padding: 0 30px;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,.15);
}
.qs-footer-info-inner > div:first-child {
    border-left: none;
}

.qs-footer-info h4 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--brand-red);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 12px;
}


.qs-footer-info p,
.qs-footer-info a {
    color: #d5d5d5;
    text-decoration: none;
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
}

.qs-footer-info a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .qs-footer-info-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .qs-footer-info-inner > div {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.15);
        padding: 18px 0 0;
    }
    .qs-footer-info-inner > div:first-child {
        border-top: none;
        padding-top: 0;
    }
}

/* =========================================================
   FIRST BREACH APPAREL CTA
   ========================================================= */

.qs-fb-apparel-cta {
    width: 100%;
    max-width: 1200px;
    margin: 70px auto 20px;
    padding: 55px 30px;
    box-sizing: border-box;

    background: linear-gradient(
		135deg, 
		#0a0a0a 0%, 
		#3a0d0d 55%, 
		#800000 100%
    );

    border-radius: 8px;
    border-top: 3px solid var(--brand-red);

    text-align: center;

    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.qs-fb-apparel-content {
    max-width: 700px;
    margin: 0 auto;
}

.qs-fb-apparel-eyebrow {
    margin-bottom: 10px;

    color: #d4a843;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.qs-fb-apparel-cta h2 {
    margin: 0 0 16px;

    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.qs-fb-apparel-cta p {
    max-width: 620px;
    margin: 0 auto 28px;

    color: #dddddd;
    font-size: 16px;
    line-height: 1.7;
}

.qs-fb-apparel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 30px;

    background-color: transparent;
    color: #ffffff !important;

    border: 2px solid #ffffff;
    border-radius: 4px;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.qs-fb-apparel-button:hover {
    background-color: #d4a843;
    border-color: #d4a843;
    color: #111111 !important;

    transform: translateY(-2px);
}


/* MOBILE */

@media (max-width: 768px) {

    .qs-fb-apparel-cta {
        margin: 50px auto 15px;
        padding: 42px 22px;
    }

    .qs-fb-apparel-cta h2 {
        font-size: 27px !important;
    }

    .qs-fb-apparel-cta p {
        font-size: 15px;
    }

    .qs-fb-apparel-button {
        width: 100%;
        box-sizing: border-box;
    }

}

/* Quick Shot - mobile header
   Mobile Header Builder:
     Above: HTML 1 + HTML 2 | Primary: Account + Cart | Below: Logo, Widget 1 + Toggle
   Edit below: --qs-red = banner + My Cart | --qs-blue = menu button | --qs-logo = logo width */
:root{
--qs-red:#800000;--qs-dark:#161616;--qs-blue:#0b57f0;--qs-logo:100px;
--qs-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
--qs-mail:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
--qs-find:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23800000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
}
@media (max-width:921px){

/* reset: Astra pads every header item and keeps empty zones */
#ast-mobile-header .ast-container{padding:0!important;max-width:100%!important}
#ast-mobile-header .site-header-section{margin:0!important;padding:0!important}
#ast-mobile-header .site-header-section:not(:has(*)){display:none!important}
#ast-mobile-header .site-header-section>*{margin:0!important;padding:0!important}

/* 1 - tagline over phone | contact (any zone) */
#ast-mobile-header div:has(.ast-header-html-1),
#ast-mobile-header div:has(.ast-header-html-2){display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:0!important;width:100%!important;max-width:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:var(--qs-red)!important}
#ast-mobile-header div:has(>.ast-header-html-2),
#ast-mobile-header .ast-header-html-2{order:1!important;width:100%!important}
#ast-mobile-header div:has(>.ast-header-html-1),
#ast-mobile-header .ast-header-html-1{order:2!important;width:100%!important}
#ast-mobile-header .ast-header-html-1 :is(.ast-header-html,.ast-builder-html-element),
#ast-mobile-header .ast-header-html-2 :is(.ast-header-html,.ast-builder-html-element){width:100%!important}
#ast-mobile-header .ast-header-html-2 p{margin:0;padding:12px 18px;text-align:center}
#ast-mobile-header .ast-header-html-2 a{color:#fff;font:700 13px/1.35 system-ui,sans-serif;text-decoration:none}
#ast-mobile-header .ast-header-html-2 br{display:none}
#ast-mobile-header .ast-header-html-1 p{display:flex;margin:0;background:#000}
#ast-mobile-header .quickshot-phone,#ast-mobile-header .quickshot-contact{flex:1 1 0%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;white-space:nowrap;color:#fff;font:700 15px system-ui,sans-serif;text-decoration:none}
#ast-mobile-header .quickshot-contact{border-left:1px solid #444}
#ast-mobile-header .quickshot-divider{display:none}
#ast-mobile-header .quickshot-phone:before,#ast-mobile-header .quickshot-contact:before{content:"";flex:none;width:20px;height:20px;background:center/contain no-repeat}
#ast-mobile-header .quickshot-phone:before{background-image:var(--qs-phone)}
#ast-mobile-header .quickshot-contact:before{background-image:var(--qs-mail)}

/* 2 - My Account (white) | My Cart (red), 50/50 */
#ast-mobile-header div:has(.ast-header-account-link):has(.cart-container){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:0!important;width:100%!important;max-width:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:var(--qs-dark)!important}
#ast-mobile-header div:has(.ast-header-account-link):not(:has(.cart-container)),
#ast-mobile-header div:has(.cart-container):not(:has(.ast-header-account-link)){display:flex!important;flex:1 1 0%!important;flex-wrap:nowrap!important;align-items:stretch!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important}
#ast-mobile-header .ast-header-account-link,#ast-mobile-header .ast-site-header-cart .cart-container{flex:1 1 0%!important;display:flex!important;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:56px;padding:0 8px!important;white-space:nowrap;font:700 16px system-ui,sans-serif;letter-spacing:.02em;text-transform:uppercase;text-decoration:none}
#ast-mobile-header .ast-header-account-link{background:var(--qs-red)!important;color:#fff!important}
#ast-mobile-header .ast-header-account-link .ahfb-svg-iconset{display:inline-flex!important;flex:none}
#ast-mobile-header .ast-header-account-link svg{width:20px!important;height:20px!important;fill:#fff!important}
#ast-mobile-header .ast-header-account-text{display:inline!important;color:#fff!important}
#ast-mobile-header .ast-site-header-cart .cart-container,#ast-mobile-header .ast-site-header-cart .cart-container:is(:hover,:focus,:active){background:var(--qs-red)!important;color:#fff!important}
#ast-mobile-header .ast-addon-cart-wrap{display:flex!important;flex-direction:row-reverse;align-items:center;gap:0;border:0!important;padding:0!important;color:#fff!important}
#ast-mobile-header .ast-woo-header-cart-info-wrap{display:inline!important;padding:0!important;color:#fff!important}
#ast-mobile-header .ast-addon-cart-wrap .astra-icon{display:inline-flex!important;margin-right:16px}
#ast-mobile-header .ast-addon-cart-wrap svg{fill:#fff!important}
#ast-mobile-header .ast-addon-cart-wrap .astra-icon:after{background:#fff!important;color:var(--qs-dark)!important}

/* 3 - logo | search + menu */
#ast-mobile-header .ast-below-header-bar{background:var(--qs-dark)!important;border:0!important;min-height:0!important}
#ast-mobile-header .ast-below-header-bar .ast-builder-grid-row{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:12px!important;padding:12px 16px!important;min-height:0!important}
#ast-mobile-header .ast-below-header-bar .site-header-section-left{flex:0 0 var(--qs-logo)!important;max-width:var(--qs-logo)!important;height:auto!important;overflow:visible!important;justify-content:flex-start!important}
#ast-mobile-header .ast-below-header-bar .site-header-section-left :is(.ast-builder-layout-element,.site-branding,.site-logo-img,.custom-logo-link){height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;align-self:center!important}
#ast-mobile-header div:has(.site-branding),#ast-mobile-header .site-branding{padding:0!important;margin:0!important;max-width:100%!important}
#ast-mobile-header .custom-logo-link{display:block}
#ast-mobile-header .custom-logo{display:block!important;flex:none!important;width:var(--qs-logo)!important;height:calc(var(--qs-logo)*.94)!important;max-width:none!important;max-height:none!important;min-height:0!important;object-fit:contain!important}
#ast-mobile-header .ast-below-header-bar .ast-grid-right-section{flex:1 1 0%!important;min-width:0!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:10px!important}
#ast-mobile-header .ast-below-header-bar .ast-grid-right-section>*:has(.ast-button-wrap){align-self:flex-end!important}
#ast-mobile-header .header-widget-area,#ast-mobile-header .widget_search{width:100%!important;margin:0!important;padding:0!important}
#ast-mobile-header .wp-block-search__inside-wrapper{display:flex!important;width:100%!important;background:#fff;border-radius:10px;overflow:hidden}
#ast-mobile-header .wp-block-search__input{flex:1 1 0%;min-width:0;height:48px;padding:0 12px!important;border:0!important;box-shadow:none!important;background:#fff;color:var(--qs-dark);font-size:14px!important}
#ast-mobile-header .wp-block-search__button{flex:none;width:46px!important;height:48px;padding:0!important;border:0!important;box-shadow:none!important;font-size:0;color:transparent;background:#fff var(--qs-find) center/22px no-repeat!important}
#ast-mobile-header .ast-button-wrap .menu-toggle{display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border-radius:10px;background:var(--qs-blue)!important}
#ast-mobile-header .ast-mobile-svg{width:24px;height:24px;fill:#fff!important}
}



/* My Account Page Recolor*/
.woocommerce-MyAccount-navigation ul li a {
    color: #1a1a1a;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: #800000;
}



.ast-desktop .main-header-menu .sub-menu { display: none !important; max-height: 70vh; overflow-y: auto; }
.ast-desktop .main-header-menu .menu-item:hover > .sub-menu,
.ast-desktop .main-header-menu .menu-item.focus > .sub-menu,
.ast-desktop .main-header-menu .menu-item.ast-menu-hover > .sub-menu,
.ast-desktop .main-header-menu .menu-item:focus-within > .sub-menu { display: block !important; }
.ast-desktop .main-header-menu .sub-menu .menu-link { padding: 8px 16px !important; }



/* =====================================================================
   Out of stock tag: top-left of the product card, in your brand colors.
   Top-right stays free for the On Sale bubble.
   Paste into Appearance, Customize, Additional CSS.
   ===================================================================== */

.woocommerce ul.products li.product { position: relative; }

.ast-shop-product-out-of-stock {
  position: absolute !important;
  top: 14px !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 7px 14px 7px 12px !important;

  background: #161616 !important;          /* same charcoal as your header */
  color: #fff !important;
  border-left: 4px solid #800000;          /* your maroon, like a little flag */
  border-radius: 0 4px 4px 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);

  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  line-height: 1.1 !important;
  text-transform: uppercase;
  white-space: nowrap;

  pointer-events: none;                    /* clicks go through to the product */
  z-index: 3;
}

/* Mute the photo so sold-out items read as unavailable.
   Delete this rule if you'd rather keep full color. */
.woocommerce ul.products li.product.outofstock img { filter: grayscale(.5) opacity(.75); }

@media (max-width: 544px) {
  .ast-shop-product-out-of-stock {
    top: 10px !important;
    padding: 6px 10px 6px 9px !important;
    font-size: 11px !important;
  }
}


/* =========================================================
   QUICK SHOT WHOLESALE - PRODUCT PAGE
   Appearance > Customize > Additional CSS

   HOW TO USE: select everything in the Additional CSS box,
   delete it, paste this whole file, then click Publish.
   It replaces what you had: the photo gallery and the
   Description tabs are rebuilt, and the old "QUICK SHOT"
   block is folded in so nothing fights anymore.

   Why ":not(#qs)" appears in the gallery and tab rules:
   it makes them outrank the theme's own CSS, which was
   overriding the earlier versions.
   ========================================================= */

/* 1. White page behind the product */
body.single-product {
    background-color: #fff;
}

/* 2. Title and price */
body.single-product div.product .product_title {
    font-family: Lora, serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f0000;
    margin: 0 0 12px;
}
body.single-product div.product .summary .price {
    font-size: 28px;
    font-weight: 700;
    color: #1f0000;
    margin: 0 0 24px;
}
body.single-product div.product .summary .price del {
    font-size: 0.7em;
    font-weight: 400;
    color: #8a8a8a;
    margin-right: 8px;
}
body.single-product div.product .summary .price ins {
    text-decoration: none;
}

/* 3. Text beside the photos and inside the Description tab
      (defaults only: anything you styled yourself still wins) */
:where(.single-product .entry-summary, .single-product .woocommerce-Tabs-panel) h1 {
    font-size: 34px;
    line-height: 1.2;
}
:where(.single-product .entry-summary, .single-product .woocommerce-Tabs-panel) h2 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 14px;
}
:where(.single-product .entry-summary, .single-product .woocommerce-Tabs-panel) h3 {
    font-size: 21px;
    line-height: 1.3;
}
:where(.single-product .entry-summary, .single-product .woocommerce-Tabs-panel) p,
:where(.single-product .entry-summary, .single-product .woocommerce-Tabs-panel) li {
    font-size: 16px;
    line-height: 1.7;
    color: #2b2b2b;
}
:where(.single-product .entry-summary, .single-product .woocommerce-Tabs-panel) li {
    margin-bottom: 6px;
}

/* 4. Quantity box + Add to cart */
body.single-product div.product form.cart:not(.variations_form):not(.grouped_form),
body.single-product div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 24px 0;
}
body.single-product div.product form.cart .quantity .qty {
    width: 72px;
    min-height: 52px;
    height: 100%;
    font-size: 16px;
    border-radius: 6px;
}
body.single-product div.product form.cart .single_add_to_cart_button {
    min-height: 52px;
    padding: 0 40px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 6px;
}

/* 5. Sale badge: small maroon pill */
body.single-product div.product span.onsale {
    top: 14px;
    left: 14px;
    right: auto;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: 7px 14px;
    line-height: 1;
    border-radius: 999px;
    background: #800000;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* 6. PHOTO GALLERY ------------------------------------- */

/* Big photo: rounded corners */
body.single-product div.product div.images .woocommerce-product-gallery__image img {
    border-radius: 10px;
}

/* Big photo: every slide is the same square, so the page stops
   jumping when you click the tall certificate or the wide photos.
   Nothing is cropped; odd shapes sit centred inside the square. */
body.single-product div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f5f5f5;
}

/* Thumbnail strip: one tidy row of squares */
body.single-product:not(#qs) div.product .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    position: static !important;
    overflow: visible !important;
    background: none !important;
    border: 0 !important;
}
body.single-product:not(#qs) div.product .flex-control-thumbs li {
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    list-style: none !important;
    text-indent: 0 !important;
}
body.single-product:not(#qs) div.product .flex-control-thumbs li::before,
body.single-product:not(#qs) div.product .flex-control-thumbs li::after {
    display: none !important;
    content: none !important;
}
body.single-product:not(#qs) div.product .flex-control-thumbs li img {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
    opacity: 0.6 !important;
    transform: none !important;
    cursor: pointer !important;
    transition: opacity 0.15s, border-color 0.15s;
}
body.single-product:not(#qs) div.product .flex-control-thumbs li img.flex-active,
body.single-product:not(#qs) div.product .flex-control-thumbs li img:hover {
    opacity: 1 !important;
    border-color: #800000 !important;
}

/* 7. SKU / category lines */
body.single-product div.product .product_meta {
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 16px;
    margin-top: 20px;
}

/* 8. DESCRIPTION TABS ---------------------------------- */

/* Wrapper: no stray lines or boxes of its own */
body.single-product:not(#qs) .woocommerce-tabs {
    margin-top: 35px !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* Remove every theme line and corner decoration around the tabs */
body.single-product:not(#qs) .woocommerce-tabs::before,
body.single-product:not(#qs) .woocommerce-tabs::after,
body.single-product:not(#qs) .woocommerce-tabs ul.tabs::before,
body.single-product:not(#qs) .woocommerce-tabs ul.tabs::after,
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li::before,
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li::after,
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li a::before,
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li a::after {
    display: none !important;
    content: none !important;
}

/* The tab row: nothing above it, one light line under it */
body.single-product:not(#qs) .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    position: relative !important;
    overflow: visible !important;
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e2e2 !important;
}

/* Each tab "handle" */
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li {
    display: block !important;
    float: none !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f3f3f3 !important;
    box-shadow: none !important;
    border: 1px solid #e2e2e2 !important;
    border-top-width: 3px !important;
    border-bottom: 0 !important;
    border-radius: 6px 6px 0 0 !important;
}
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li a {
    display: block !important;
    margin: 0 !important;
    padding: 12px 24px !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #666 !important;
}
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li a:hover {
    color: #110000 !important;
}
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li a:focus-visible {
    outline: 2px solid #800000 !important;
    outline-offset: -4px !important;
}

/* Active tab: white, maroon top edge, joined to the box below */
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li.active {
    background: #fff !important;
    border-top-color: #800000 !important;
    margin-bottom: -1px !important;
    padding-bottom: 1px !important;
    z-index: 2 !important;
}
body.single-product:not(#qs) .woocommerce-tabs ul.tabs li.active a {
    color: #110000 !important;
}

/* The white description box */
body.single-product:not(#qs) .woocommerce-tabs .woocommerce-Tabs-panel {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 30px 34px !important;
    background: #fff !important;
    border: 1px solid #e2e2e2 !important;
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Text inside the description box */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
    color: #110000 !important;
    font-size: 26px !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel p {
    color: #444 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* 9. Out-of-stock note */
.single-product .stock.out-of-stock {
    color: #8b0000 !important;
    background: #faf0f0;
    border-left: 3px solid #8b0000;
    padding: 10px 14px;
    font-weight: 600;
}

/* 10. Phones */
@media (max-width: 768px) {
    body.single-product div.product .product_title {
        font-size: 26px;
    }
    body.single-product div.product .summary .price {
        font-size: 24px;
    }
    body.single-product div.product form.cart:not(.variations_form):not(.grouped_form) {
        flex-wrap: wrap;
    }
    body.single-product div.product form.cart .single_add_to_cart_button {
        flex: 1;
    }
    body.single-product:not(#qs) div.product .flex-control-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    body.single-product:not(#qs) .woocommerce-tabs ul.tabs li a {
        padding: 10px 16px !important;
        font-size: 15px !important;
    }
    body.single-product:not(#qs) .woocommerce-tabs .woocommerce-Tabs-panel {
        padding: 20px 16px !important;
    }
}
