:root{
 --black:#070707;--black2:#111;--charcoal:#202124;--gold:#e6bb22;--gold2:#f6d158;
 --white:#fff;--off:#f4f4f2;--line:#dedede;--text:#171717;--muted:#696969;
 --green:#5d9d24;--red:#a31919
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff}
a{text-decoration:none;color:inherit}img{max-width:100%;display:block}
.wrap{width:min(1360px,94%);margin:auto}
.promo{background:linear-gradient(90deg,#d8a900,#f1ca39,#d8a900);padding:10px;text-align:center;font-weight:900;letter-spacing:.09em;font-size:.78rem}
.site-header{background:var(--black);color:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 6px 24px rgba(0,0,0,.35)}
.header-row{display:grid;grid-template-columns:275px minmax(280px,1fr) auto;gap:22px;align-items:center;padding:12px 0}
.brand{display:flex;align-items:center;gap:12px;color:var(--gold);font-weight:900;letter-spacing:.08em}
.brand img{width:70px;height:70px;object-fit:contain;border-radius:8px}
.search{display:flex}.search input{flex:1;padding:16px;background:#292929;border:1px solid #444;color:#fff;font-size:1rem;border-radius:5px 0 0 5px}
.search button,.btn{background:var(--gold);color:#111;border:0;padding:14px 20px;font-weight:900;text-transform:uppercase;cursor:pointer}
.search button{border-radius:0 5px 5px 0}.header-actions{display:flex;gap:18px;font-weight:800;white-space:nowrap}
.nav{background:#101010;border-top:1px solid #282828}.nav .wrap{display:flex;overflow:auto}.nav a{display:block;padding:14px 17px;color:#fff;font-weight:900;text-transform:uppercase;font-size:.84rem;white-space:nowrap}
.nav a:hover{background:var(--gold);color:#111}
.hero{position:relative;background:linear-gradient(115deg,rgba(0,0,0,.94),rgba(30,30,30,.84)),url('/assets/img/authority-firearms-logo.jpg') center/cover no-repeat;color:#fff;border-bottom:4px solid var(--gold)}
.hero-inner{padding:105px 0 100px;max-width:900px}.eyebrow{display:inline-block;color:var(--gold);font-weight:900;text-transform:uppercase;letter-spacing:.14em;border-bottom:2px solid var(--gold);padding-bottom:7px}
.hero h1{font-size:clamp(3rem,6vw,6.2rem);line-height:.95;margin:22px 0 20px;text-transform:uppercase}.hero p{font-size:1.2rem;max-width:760px;color:#ddd;line-height:1.6}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn.alt{background:#fff}.btn.dark{background:#111;color:#fff}.btn.outline{background:transparent;color:#fff;border:2px solid #fff}
.trust{display:grid;grid-template-columns:repeat(4,1fr);background:#151515;color:#fff}.trust div{text-align:center;padding:20px;border-right:1px solid #333;font-weight:900;text-transform:uppercase;font-size:.78rem}
.section{padding:52px 0}.off{background:var(--off)}.dark-section{background:#111;color:#fff}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:24px}.section-head h1,.section-head h2{margin:0;text-transform:uppercase;letter-spacing:.02em}
.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{min-height:190px;position:relative;overflow:hidden;background:#111;color:#fff;padding:22px;display:flex;align-items:end;border-bottom:5px solid var(--gold)}
.category-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.82))}
.category-card span{position:relative;font-size:1.25rem;font-weight:900;text-transform:uppercase}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.product-media{position:relative;aspect-ratio:1/1;background:#fff;display:grid;place-items:center;padding:18px}.product-media img{width:100%;height:100%;object-fit:contain}.no-image{width:100%;height:100%;display:grid;place-items:center;background:#f5f5f5;color:#999;font-weight:800}
.badge{position:absolute;top:12px;left:12px;background:var(--red);color:#fff;padding:7px 9px;font-size:.72rem;font-weight:900;text-transform:uppercase}.card-body{padding:16px;display:flex;flex-direction:column;gap:9px;flex:1}
.card h3{font-size:1rem;line-height:1.35;margin:0;min-height:2.7em}.price{font-size:1.4rem;font-weight:900}.old-price{text-decoration:line-through;color:#777;margin-left:8px}.stock{color:var(--green);font-weight:900;text-transform:uppercase;font-size:.85rem}.card .btn{margin-top:auto;width:100%}
.brands{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.brand-tile{min-height:90px;display:grid;place-items:center;background:#fff;border:1px solid #ddd;font-weight:900;text-transform:uppercase}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.why-card{padding:26px;background:#fff;border-top:4px solid var(--gold);box-shadow:0 8px 24px rgba(0,0,0,.05)}.why-card h3{margin-top:0}
.newsletter{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.newsletter form{display:flex}.newsletter input{min-width:320px;padding:15px;border:1px solid #444}
.product-page{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:46px}.gallery-main{aspect-ratio:1.25/1;display:grid;place-items:center;background:#fff;border:1px solid var(--line);padding:22px;overflow:hidden}.gallery-main img{width:100%;height:100%;object-fit:contain;transition:transform .25s}.gallery-main:hover img{transform:scale(1.65);cursor:zoom-in}
.thumbs{display:flex;gap:10px;margin-top:12px;overflow:auto}.thumb{width:112px;height:92px;border:2px solid #ddd;background:#fff;padding:5px;cursor:pointer}.thumb.active{border-color:var(--gold)}.thumb img{width:100%;height:100%;object-fit:contain}
.product-title{font-size:2.35rem;line-height:1.12;margin:0 0 12px}.meta{color:#555;margin-bottom:18px}.purchase-box{background:#f1f1f1;padding:26px;margin:20px 0}.purchase-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.purchase-row .price{font-size:2.9rem}.qty{display:flex;align-items:center;margin-top:18px}.qty button,.qty input{width:55px;height:52px;text-align:center;border:1px solid #ccc;background:#fff;font-size:1.2rem}.wide{width:100%;margin-top:16px;font-size:1.12rem;padding:18px}
.notice{padding:16px;background:#fff5ce;border-left:4px solid var(--gold);margin:18px 0;line-height:1.5}
.description,.specs,.reviews,.questions,.related{margin-top:44px}.description h2,.specs h2,.reviews h2,.questions h2,.related h2{font-size:2rem;text-transform:uppercase}.description{font-size:1.05rem;line-height:1.8}
.specs{background:#f2f2f2;padding:34px}.spec-table{width:100%;border-collapse:collapse}.spec-table th,.spec-table td{padding:14px 16px;text-align:left}.spec-table tr:nth-child(even){background:#fff}.spec-table th{width:40%}
.form{max-width:780px}.form input,.form textarea,.form select{width:100%;padding:13px;margin:6px 0 16px;border:1px solid #ccc}.form textarea{min-height:150px}.alert{padding:14px 16px;background:#fff4cf;border-left:4px solid var(--gold);margin:12px 0}.success{background:#e8f7e8;border-left-color:#4a9f4a}
.account-grid{display:grid;grid-template-columns:250px 1fr;gap:28px}.account-nav{background:#111;color:#fff;padding:18px}.account-nav a{display:block;padding:12px;border-bottom:1px solid #333}.panel{border:1px solid #ddd;padding:24px;background:#fff}
.pagination{display:flex;gap:8px;margin-top:30px}.pagination a,.pagination span{padding:10px 13px;border:1px solid #ccc;background:#fff}
.footer{background:#090909;color:#ddd;border-top:4px solid var(--gold);padding:52px 0 22px}.footer h3{color:var(--gold);text-transform:uppercase}.footer-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:34px}.footer-bottom{border-top:1px solid #2b2b2b;margin-top:28px;padding-top:18px;color:#999;font-size:.85rem}
@media(max-width:1020px){.header-row{grid-template-columns:1fr auto}.search{grid-column:1/-1;order:3}.categories{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.brands{grid-template-columns:repeat(3,1fr)}.why-grid{grid-template-columns:repeat(2,1fr)}.product-page{grid-template-columns:1fr}.account-grid{grid-template-columns:1fr}.footer-cols{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.brand span{display:none}.brand img{width:58px;height:58px}.hero-inner{padding:70px 0}.hero h1{font-size:2.75rem}.trust{grid-template-columns:repeat(2,1fr)}.categories{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr 1fr;gap:10px}.card-body{padding:11px}.card h3{font-size:.86rem}.why-grid{grid-template-columns:1fr}.newsletter{grid-template-columns:1fr}.newsletter form{display:block}.newsletter input{min-width:0;width:100%;margin-bottom:8px}.footer-cols{grid-template-columns:1fr}}
.category-card{
    min-height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-handguns{
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
        url('/assets/img/categories/handguns.jpg');
}

.category-rifles{
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
        url('/assets/img/categories/rifles.jpg');
}

.category-shotguns{
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
        url('/assets/img/categories/shotguns.jpg');
}

.category-ammo{
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
        url('/assets/img/categories/ammo.jpg');
}

.category-optics{
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
        url('/assets/img/categories/optics.jpg');
}

.category-magazines{
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
        url('/assets/img/categories/magazines.jpg');
}

.category-parts{
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
        url('/assets/img/categories/parts.jpg');
}

.category-outdoor{
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
        url('/assets/img/categories/outdoor.jpg');
}

@media (max-width: 600px){
    .category-card{
        min-height: 175px;
    }

    .section{
        scroll-margin-top: 175px;
    }
}

/* PRODUCT CARD IMAGE FIX — keeps every catalog image inside one equal box */
.card{
    min-width:0;
}

.card .product-media{
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:280px !important;
    min-height:280px !important;
    max-height:280px !important;
    padding:0 !important;
    overflow:hidden !important;
    background:#fff !important;
}

.card .product-media > img{
    position:absolute !important;
    inset:0 !important;
    width:auto !important;
    height:auto !important;
    max-width:88% !important;
    max-height:88% !important;
    margin:auto !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center center !important;
    transform:none !important;
}

.card .product-media > .no-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
}

@media(max-width:600px){
    .card .product-media{
        height:190px !important;
        min-height:190px !important;
        max-height:190px !important;
    }

    .card .product-media > img{
        max-width:84% !important;
        max-height:84% !important;
    }
}

/* ===== Product image clarity fix =====
   Do not enlarge low-resolution distributor images beyond their native detail.
   This removes the hover zoom that makes small Zanders images look blurry. */
.gallery-main{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#fff !important;
}

.gallery-main img,
#main-product-image{
    width:auto !important;
    height:auto !important;
    max-width:92% !important;
    max-height:92% !important;
    object-fit:contain !important;
    transform:none !important;
    cursor:default !important;
    image-rendering:auto !important;
}

.gallery-main:hover img,
#main-product-image:hover{
    transform:none !important;
}

/* Keep catalog images contained instead of stretching them. */
.card .product-media > img{
    width:auto !important;
    height:auto !important;
    max-width:88% !important;
    max-height:88% !important;
    object-fit:contain !important;
    image-rendering:auto !important;
}

/* ======================================================================
   AUTHORITY FIREARMS PREMIUM STOREFRONT
   Coordinated header, menu, catalog, product, account, cart and checkout.
   ====================================================================== */

:root{
  --af-gold:#e6bb22;
  --af-gold-dark:#b78a00;
  --af-ink:#090909;
  --af-charcoal:#181818;
  --af-soft:#f5f5f3;
  --af-border:#dfdfdc;
  --af-shadow:0 16px 42px rgba(0,0,0,.09);
}

body{
  background:#fff;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

body.menu-open{overflow:hidden}

.promo{
  min-height:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(90deg,#c99b00,#f2ca30,#c99b00);
  color:#111;
}

.premium-header-row{
  display:grid;
  grid-template-columns:230px minmax(300px,1fr) auto;
  align-items:center;
  gap:20px;
  padding:14px 0;
}

.premium-brand img{
  width:78px;
  height:78px;
}
.premium-brand span{
  font-size:14px;
}

.premium-search{
  position:relative;
}
.premium-search .search-icon{
  position:absolute;
  left:16px;
  top:50%;
  width:21px;
  height:21px;
  transform:translateY(-50%);
  pointer-events:none;
}
.premium-search .search-icon svg,
.premium-header-actions svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.premium-search input{
  min-height:56px;
  padding-left:48px!important;
}
.premium-search button{
  min-width:112px;
}

.premium-header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.header-icon-link,
.menu-toggle{
  min-width:66px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:8px 9px;
  color:#fff;
  background:transparent;
  border:0;
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.header-icon-link svg,
.menu-toggle svg{
  width:27px;
  height:27px;
}
.header-icon-link:hover,
.menu-toggle:hover{
  color:var(--af-gold);
}
.icon-wrap{
  position:relative;
  display:block;
}
.icon-wrap b{
  position:absolute;
  right:-10px;
  top:-9px;
  min-width:18px;
  height:18px;
  display:grid;
  place-items:center;
  padding:0 4px;
  border-radius:999px;
  background:var(--af-gold);
  color:#111;
  font-size:10px;
}

.menu-backdrop{
  position:fixed;
  inset:0;
  z-index:1998;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(2px);
}
.store-menu{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  z-index:1999;
  width:min(620px,94vw);
  display:flex;
  flex-direction:column;
  background:#fff;
  color:#111;
  box-shadow:-22px 0 50px rgba(0,0,0,.22);
  transform:translateX(105%);
  transition:transform .25s ease;
}
.store-menu.is-open{transform:translateX(0)}
.store-menu-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:24px;
  border-bottom:4px solid var(--af-gold);
}
.store-menu-head span{
  color:var(--af-gold-dark);
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
}
.store-menu-head h2{
  margin:4px 0 0;
  font-size:34px;
  text-transform:uppercase;
}
.store-menu-head button{
  width:48px;
  height:48px;
  border:0;
  background:#111;
  color:#fff;
  font-size:34px;
  line-height:1;
}
.store-menu-scroll{
  flex:1;
  overflow:auto;
  padding:8px 24px 28px;
}
.store-menu details{
  border-bottom:1px solid #ddd;
}
.store-menu summary{
  padding:22px 2px;
  font-size:22px;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}
.menu-link-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:0 0 22px;
}
.menu-link-grid a{
  min-height:78px;
  padding:15px;
  background:#f5f5f3;
  border-left:3px solid var(--af-gold);
}
.menu-link-grid strong,
.menu-link-grid small{
  display:block;
}
.menu-link-grid strong{font-size:15px}
.menu-link-grid small{
  margin-top:5px;
  color:#6a6a6a;
  line-height:1.35;
}
.store-menu-foot{
  display:flex;
  gap:1px;
  background:#222;
}
.store-menu-foot a{
  flex:1;
  padding:18px;
  color:#fff;
  text-align:center;
  font-weight:900;
}
.store-menu-foot a:last-child{
  background:var(--af-gold);
  color:#111;
}

.hero-inner{
  padding:92px 0 88px;
}
.hero h1{
  max-width:900px;
  letter-spacing:-.035em;
}
.hero p{
  max-width:820px;
}

.section-head h1,
.section-head h2{
  letter-spacing:-.025em;
}
.section-head > a{
  font-weight:800;
  border-bottom:2px solid var(--af-gold);
}

.card{
  border-radius:4px;
  border-color:#e2e2df;
  box-shadow:0 10px 30px rgba(0,0,0,.055);
  transition:transform .18s ease,box-shadow .18s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:var(--af-shadow);
}
.card h3{
  font-size:15px;
  line-height:1.32;
}
.card .price{
  font-size:24px;
}
.card .btn{
  min-height:48px;
}

.products-heading{
  align-items:center;
  padding-bottom:18px;
  border-bottom:1px solid #ddd;
}
.products-heading h1{
  font-size:clamp(34px,5vw,56px);
}
.product-sort-form{
  display:flex;
  align-items:center;
  gap:10px;
}
.product-sort-form select{
  min-height:46px;
  padding:0 38px 0 14px;
  border:1px solid #bbb;
  background:#fff;
  font-weight:800;
}

.product-detail-section{
  background:linear-gradient(#fff,#fafafa);
}
.product-top{
  padding:18px 0 14px;
}
.product-gallery-column{
  position:sticky;
  top:190px;
}
.gallery-main{
  min-height:560px!important;
  padding:28px!important;
  border:1px solid #ddd!important;
  box-shadow:0 12px 34px rgba(0,0,0,.055);
}
.gallery-main img,
#main-product-image{
  width:auto!important;
  height:auto!important;
  max-width:88%!important;
  max-height:88%!important;
  object-fit:contain!important;
  transform:none!important;
}
.product-buy-column{
  padding:6px 0 0;
}
.product-brand{
  padding-bottom:7px;
  border-bottom:3px solid var(--af-gold);
  width:max-content;
}
.purchase-box{
  border:1px solid #dedede;
  border-top:5px solid var(--af-gold);
  box-shadow:0 10px 28px rgba(0,0,0,.055);
}
.product-confidence-panel{
  background:#fff;
}
.product-block{
  padding-top:10px;
}
.key-spec-card{
  background:#fff;
  border:1px solid #ddd;
  border-bottom:4px solid var(--af-gold);
}
.description-block,
.specs-block,
.reviews-block,
.questions-block{
  padding:30px;
  background:#fff;
  border:1px solid #e0e0dd;
  box-shadow:0 8px 26px rgba(0,0,0,.04);
}
.description-copy{
  max-width:1080px;
}
.description-copy p:first-child{
  font-size:19px;
}
.spec-table tr:nth-child(even){
  background:#f5f5f3;
}
.related-block .grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.form{
  max-width:900px;
}
.form label{
  display:block;
  margin-top:4px;
  font-weight:800;
}
.form input,
.form textarea,
.form select{
  border-radius:2px;
  min-height:50px;
}
.form textarea{min-height:140px}

.account-grid{
  grid-template-columns:260px minmax(0,1fr);
}
.account-nav{
  position:sticky;
  top:180px;
  height:max-content;
  border-top:4px solid var(--af-gold);
}
.account-nav a:hover{
  background:#222;
  color:var(--af-gold);
}
.panel{
  box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.premium-footer{
  margin-top:0;
}
.footer-callout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  margin-bottom:44px;
  padding:30px;
  background:#151515;
  border-left:6px solid var(--af-gold);
}
.footer-callout span{
  color:var(--af-gold);
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
}
.footer-callout h2{
  margin:7px 0;
  color:#fff;
  font-size:30px;
}
.footer-callout p{
  margin:0;
  max-width:760px;
}
.footer-cols > div{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.footer-cols a{
  padding:4px 0;
}
.footer-subheading{
  margin-top:28px;
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
}

@media(max-width:1020px){
  .premium-header-row{
    grid-template-columns:1fr auto;
  }
  .premium-search{
    grid-column:1/-1;
    grid-row:2;
  }
  .desktop-nav{display:none}
  .product-gallery-column{position:static}
  .related-block .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:700px){
  .promo{
    min-height:34px;
    padding:7px 10px;
    font-size:10px;
  }
  .premium-header-row{
    width:94%;
    grid-template-columns:auto 1fr;
    gap:10px;
    padding:10px 0 12px;
  }
  .premium-brand span{display:none}
  .premium-brand img{
    width:64px;
    height:64px;
  }
  .premium-header-actions{
    justify-content:flex-end;
  }
  .header-icon-link,
  .menu-toggle{
    min-width:52px;
    padding:6px 4px;
  }
  .header-icon-link span:last-child,
  .menu-toggle span{
    display:none;
  }
  .header-icon-link svg,
  .menu-toggle svg{
    width:29px;
    height:29px;
  }
  .premium-search{
    grid-column:1/-1;
  }
  .premium-search input{
    min-height:52px;
    font-size:15px;
  }
  .premium-search button{
    min-width:92px;
    padding:12px;
  }
  .menu-link-grid{
    grid-template-columns:1fr;
  }
  .store-menu-head{
    padding:20px;
  }
  .store-menu-scroll{
    padding:6px 20px 24px;
  }
  .hero-inner{
    padding:66px 0 64px;
  }
  .hero h1{
    font-size:clamp(40px,13vw,62px);
  }
  .trust{
    grid-template-columns:1fr 1fr;
  }
  .trust div{
    min-height:68px;
    display:grid;
    place-items:center;
    padding:12px 8px;
  }
  .section{
    padding:38px 0;
  }
  .section-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .products-heading{
    gap:16px;
  }
  .product-sort-form{
    width:100%;
    justify-content:space-between;
  }
  .product-sort-form select{
    flex:1;
  }
  .gallery-main{
    min-height:390px!important;
    padding:18px!important;
  }
  .gallery-main img,
  #main-product-image{
    max-width:82%!important;
    max-height:82%!important;
  }
  .product-top{
    gap:24px;
  }
  .product-title{
    font-size:clamp(31px,10vw,43px)!important;
  }
  .purchase-box{
    padding:20px;
  }
  .purchase-box .price{
    font-size:40px!important;
  }
  .product-block{
    margin-top:34px!important;
  }
  .description-block,
  .specs-block,
  .reviews-block,
  .questions-block{
    padding:20px 16px;
  }
  .block-heading h2{
    font-size:clamp(30px,10vw,42px)!important;
  }
  .related-block .grid{
    grid-template-columns:1fr 1fr;
  }
  .account-grid{
    grid-template-columns:1fr;
  }
  .account-nav{
    position:static;
    display:flex;
    overflow:auto;
    padding:8px;
  }
  .account-nav a{
    white-space:nowrap;
    border:0;
  }
  .footer-callout{
    align-items:flex-start;
    flex-direction:column;
    padding:24px 20px;
  }
  .footer-callout .btn{
    width:100%;
    text-align:center;
  }
  .footer-bottom{
    flex-direction:column;
  }
}


/* ===== Final homepage spacing and newsletter alignment ===== */
.newsletter{
    grid-template-columns:1fr!important;
    justify-items:center;
    text-align:center;
}
.newsletter > div{
    max-width:820px;
}
.newsletter form{
    width:min(760px,100%);
    display:flex!important;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
}
.newsletter input{
    flex:1 1 480px;
    min-width:0!important;
    margin:0!important;
}
.newsletter button{
    min-width:190px;
    margin:0 auto;
}
.premium-footer{
    padding-top:46px!important;
}
.footer-cols{
    margin-top:0!important;
}
@media(max-width:700px){
    .newsletter form{
        display:flex!important;
        flex-direction:column;
        align-items:center;
    }
    .newsletter input{
        flex:auto;
        width:100%!important;
    }
    .newsletter button{
        width:min(260px,100%);
    }
}


/* ===== Final manufacturer tile alignment ===== */
.brands{
    align-items:stretch !important;
}

.brand-tile{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-width:0 !important;
    text-align:center !important;
    line-height:1.12 !important;
    padding:16px 10px !important;
    overflow:hidden !important;
    overflow-wrap:anywhere !important;
}

.brand-tile,
.brand-tile a,
.brand-tile span,
.brand-tile strong{
    text-align:center !important;
    justify-content:center !important;
    align-items:center !important;
}

@media(max-width:700px){
    .brands{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:10px !important;
    }

    .brand-tile{
        min-height:102px !important;
        font-size:clamp(12px,3.8vw,16px) !important;
        padding:12px 7px !important;
    }
}


/* ===== Authority Firearms: final live product polish ===== */
.classic-product-header .product-title{
    font-family:"Arial Narrow","Helvetica Neue Condensed","Roboto Condensed",Arial,sans-serif!important;
    color:#292929!important;
    font-weight:650!important;
    letter-spacing:-.018em!important;
    line-height:1.055!important;
}

.product-review-summary{
    margin-top:13px!important;
}

.price-line{
    display:flex!important;
    align-items:baseline!important;
    flex-wrap:nowrap!important;
    gap:18px!important;
}

.old-public-price{
    display:inline-block!important;
    color:#747474!important;
    font-size:21px!important;
    font-weight:650!important;
    line-height:1!important;
    white-space:nowrap!important;
    text-decoration-line:line-through!important;
    text-decoration-thickness:2.5px!important;
    text-decoration-color:#747474!important;
}

.confidence-icon-map{
    background:#fff!important;
}

.confidence-icon-map .usa-map-svg{
    display:block!important;
    width:66px!important;
    height:44px!important;
    overflow:visible!important;
    fill:#fff!important;
    stroke:#111!important;
    stroke-width:22!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    vector-effect:non-scaling-stroke;
}

@media(max-width:700px){
    .classic-product-header .product-title{
        color:#2b2b2b!important;
        font-weight:650!important;
    }

    .price-line{
        gap:14px!important;
    }

    .old-public-price{
        font-size:18px!important;
    }

    .confidence-icon-map .usa-map-svg{
        width:60px!important;
        height:40px!important;
    }
}


/* ===== AJAX add-to-cart confirmation ===== */
.ajax-add-to-cart .btn.is-adding{opacity:.78;cursor:wait}
.ajax-add-to-cart .btn.is-added{background:#5d9d24!important;color:#fff!important}
#header-cart-count.cart-count-pop{animation:afCartPop .42s ease}
@keyframes afCartPop{0%{transform:scale(1)}45%{transform:scale(1.55)}100%{transform:scale(1)}}
.af-cart-toast{position:fixed;right:22px;top:118px;z-index:5000;width:min(430px,calc(100vw - 28px));display:grid;grid-template-columns:auto 72px 1fr;gap:14px;align-items:center;padding:18px;background:#fff;border:1px solid #d8d8d5;border-top:5px solid var(--af-gold,#e6bb22);box-shadow:0 22px 60px rgba(0,0,0,.22);opacity:0;transform:translateX(35px);transition:opacity .22s ease,transform .22s ease}
.af-cart-toast.is-visible{opacity:1;transform:translateX(0)}
.af-cart-toast-check{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#5d9d24;color:#fff;font-size:21px;font-weight:900}
.af-cart-toast img{width:72px;height:72px;object-fit:contain;background:#fff;border:1px solid #eee}
.af-cart-toast-copy{min-width:0}.af-cart-toast-copy strong{display:block;text-transform:uppercase;font-size:18px}.af-cart-toast-copy span{display:block;margin-top:4px;color:#555;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.af-cart-toast-actions{display:flex;gap:10px;margin-top:12px}.af-cart-toast-actions a{padding:9px 12px;background:#111;color:#fff;font-size:12px;font-weight:900;text-transform:uppercase}.af-cart-toast-actions a:last-child{background:var(--af-gold,#e6bb22);color:#111}
.af-cart-toast-close{position:absolute;right:7px;top:4px;border:0;background:transparent;font-size:24px;cursor:pointer;color:#777}
@media(max-width:700px){.af-cart-toast{top:auto;right:14px;left:14px;bottom:16px;width:auto;grid-template-columns:auto 58px 1fr;padding:15px}.af-cart-toast img{width:58px;height:58px}.af-cart-toast-actions a{padding:8px 9px}}

@keyframes afCartBounce{0%,100%{transform:scale(1)}35%{transform:scale(1.22) rotate(-8deg)}65%{transform:scale(.96) rotate(5deg)}}
.cart-icon-link.af-cart-bounce{animation:afCartBounce .5s ease}
.af-fly-to-cart{border-radius:8px;background:#fff;box-shadow:0 8px 25px rgba(0,0,0,.24)}

/* ===== Responsive footer alignment only ===== */
.premium-footer .footer-cols{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(28px,4vw,64px);
  align-items:start;
}
.premium-footer .footer-column{
  min-width:0;
}
.premium-footer .footer-column h3,
.premium-footer .footer-company h3{
  margin:0 0 14px;
}
.premium-footer .footer-column a{
  display:block;
  line-height:1.35;
}
.premium-footer .footer-company{
  margin-top:38px;
}
.premium-footer .footer-company p{
  margin:0 0 14px;
  max-width:760px;
  line-height:1.45;
}
.premium-footer .footer-contact a{
  overflow-wrap:anywhere;
}
.premium-footer .footer-bottom{
  align-items:flex-start;
}

@media (max-width:1020px){
  .premium-footer .footer-cols{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:36px 56px;
  }
  .premium-footer .footer-company{
    margin-top:40px;
  }
}

@media (max-width:600px){
  .premium-footer{
    padding:38px 0 22px!important;
  }
  .premium-footer .footer-cols{
    grid-template-columns:1fr;
    gap:34px;
  }
  .premium-footer .footer-column h3,
  .premium-footer .footer-company h3{
    margin-bottom:12px;
  }
  .premium-footer .footer-column a{
    padding:5px 0;
  }
  .premium-footer .footer-company{
    margin-top:38px;
  }
  .premium-footer .footer-company p{
    max-width:100%;
  }
  .premium-footer .footer-bottom{
    margin-top:28px;
    gap:14px;
  }
}
