/* Branded Workwear components on top of the untouched template CSS.
   Doctrine: never restyle template structures; only size our content into them. */

/* Amrod-style category band under the header (header itself stays template-native).
   Template floats .header; normal flow needed so the band sits below it. */
.header { float: none !important; background: #fff; }
.bw-navband { background: linear-gradient(90deg, #3D5687 0%, #0BA9ED 100%); position: relative; z-index: 100; margin: 0; }
.bw-tabs { display: flex; list-style: none; margin: 0; padding: 0; justify-content: space-between; }
.bw-tab > a { display: block; padding: 13px 16px; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
.bw-tab:hover > a { background: rgba(255,255,255,.16); }
.bw-tab .bw-caret { font-size: 11px; opacity: .85; margin-left: 2px; }
.bw-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 4px solid #0BA9ED; box-shadow: 0 24px 48px rgba(20,30,55,.22); padding: 30px 0 24px; }
.bw-tab:hover .bw-panel, .bw-tab:focus-within .bw-panel { display: block; }
.bw-panel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 40px; max-width: 1410px; margin: 0 auto; padding: 0 30px; }
.bw-panel-col ul { list-style: none; margin: 0; padding: 0; }
.bw-panel-col ul li a { display: block; font-size: 15px; color: #3A4A68; padding: 5px 0; }
.bw-panel-col ul li a:hover { color: #0BA9ED; }
.bw-panel-viewall { display: block; color: #0BA9ED; text-transform: uppercase; font-weight: 700; font-size: 14px; letter-spacing: .3px; margin-bottom: 12px; }
a.bw-panel-viewall:hover { text-decoration: underline; }
.bw-panel-col-cont { padding-top: 30px; }

/* Woo's form CSS restyles selects on .woocommerce-page bodies; pin the header
   search category to the template's home-page look everywhere. */
.box-category select, .box-category select:focus,
.woocommerce-page .box-category select {
  border: 0 !important; outline: 0 !important; box-shadow: none !important;
  text-decoration: none !important; background: transparent !important;
}
.box-category .select2-container .select2-selection,
.woocommerce-page .box-category .select2-container .select2-selection {
  border: 0 !important; background: transparent !important; box-shadow: none !important;
}
.box-category .select2-container { display: flex !important; align-items: center !important; height: 100% !important; }
.box-category * { text-decoration: none !important; }

/* logo: our PNG is large; hold it to the template's proportions */
.header-logo img { height: 46px; width: auto; }
.mobile-logo img { height: 38px; width: auto; }
#preloader-active img { max-height: 60px; width: auto; }
@media (max-width: 1199px) { .header-logo img { height: 36px; } }

/* hero: our full-bleed photos in the template's banner boxes, no scrim.
   Template forces contain/right-bottom on .banner-1 .banner-big; out-specify it. */
.banner-hero .banner-big.bw-hero-slide { background-size: cover !important; background-position: center right !important; background-repeat: no-repeat !important; }
/* template geometry, with the text block lifted (our h1 is smaller than the demo's) */
@media (min-width: 992px) {
  .banner-hero.banner-1 .banner-big.bw-hero-slide { display: block; height: 500px; padding: 38px 60px 25px 60px; }
}
.bw-hero-slide h1 { font-size: 42px !important; line-height: 1.15 !important; }
.bw-hero-slide h2 { font-size: 24px !important; }
@media (max-width: 991px) {
  .banner-hero .banner-big.bw-hero-slide { height: auto !important; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-start; padding: 24px 20px 20px !important; position: relative; }
  .banner-hero .banner-big.bw-hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 45%, rgba(255,255,255,0) 80%); border-radius: inherit; }
  .banner-hero .banner-big.bw-hero-slide > * { position: relative; z-index: 1; }
  .bw-hero-slide h1 { font-size: 26px !important; }
  .bw-hero-slide h2 { font-size: 17px !important; }
}
.bw-side-banner { background-size: cover; background-position: center; position: relative; }
.bw-side-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.5) 55%, rgba(255,255,255,.05) 100%); border-radius: inherit; }
.bw-side-banner > * { position: relative; z-index: 1; }

/* product cards: equal heights, price/button/features pinned to the bottom */
.card-grid-style-3 { height: 100%; display: flex; flex-direction: column; }
.card-grid-style-3 .card-grid-inner { display: flex; flex-direction: column; flex: 1; }
.card-grid-style-3 .info-right { display: flex; flex-direction: column; flex: 1; }
.card-grid-style-3 .price-info { margin-top: auto; padding-top: 8px; }
.card-grid-style-3 .list-features { height: 72px; overflow: hidden; }
.card-grid-style-3 .btn-cart { background-color: #FD9636 !important; color: #fff !important; border-color: #FD9636 !important; }
.card-grid-style-3 .btn-cart:hover { background-color: #D36B0B !important; }
@media (max-width: 767px) {
  .card-grid-style-3 .card-grid-inner { padding: 10px; }
  .card-grid-style-3 .list-features { display: none; }
  .card-grid-style-3 .info-right .font-sm-bold { font-size: 13px; }
  .card-grid-style-3 .price-main { font-size: 15px !important; }
}

/* home product tabs: real grid so every card in a row is the same height */
.list-products-5 { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: stretch; }
.list-products-5 .card-grid-style-3 { height: 100%; width: 100% !important; margin: 0 !important; }
@media (max-width: 1399px) { .list-products-5 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1199px) { .list-products-5 { grid-template-columns: repeat(3, 1fr); } }

/* home: category cards (template image-left) equal compact heights.
   Child links clamp to one line each so no card inflates the row. */
.bw-cat-card { height: 100%; }
.bw-cat-card .image-box img { max-width: 100%; height: auto; }

/* brand strip: full-colour logos, no dimming and no hover reveal */
.list-brands { padding: 10px 0; }
.list-brands .swiper-slide { display: flex; align-items: center; justify-content: center; min-height: 64px; }
.list-brands a img,
.list-brands a:hover img,
.list-none-border.list-brands a img,
.list-none-border.list-brands a:hover img {
  opacity: 1 !important; transition: none !important;
  max-height: 52px !important; max-width: 120px; width: auto; object-fit: contain;
}
.list-brands a.hover-up:hover, .list-brands .hover-up:hover { transform: none !important; }

/* about intro: image fills its column (template list-services is left as-is) */
.shop-template .row > [class*="col-lg-6"] > img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }

/* trust row: equal-height cards */
.list-col-5 .item-list { height: 100%; min-height: 116px; align-items: center; background: #F7FAFD; border: 1px solid #E8EFF6; border-radius: 10px; padding: 18px 16px; width: 100%; margin: 0; }
.list-col-5 > li { display: flex; padding: 0 8px; }

/* promo blocks + tall banner + newsletter collage */
.bw-promo-block { background-size: cover; background-position: center; border-radius: 12px; padding: 28px; min-height: 240px; height: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.bw-promo-block::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.75) 55%, rgba(255,255,255,.25) 100%); }
.bw-promo-block > * { position: relative; z-index: 1; }
.bw-promo-block .btn { align-self: flex-start; }
.bw-tall-banner { background-size: cover; background-position: center right; border-radius: 12px; height: 100%; min-height: 420px; position: relative; overflow: hidden; }
.bw-tall-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.75) 55%, rgba(255,255,255,.2) 100%); }
.bw-tall-banner-inner { position: relative; z-index: 1; padding: 28px; }
.box-newsletter { background-image: url(../imgs/bw/banner-items.jpg) !important; background-size: cover !important; background-position: center right !important; }

/* WhatsApp greens */
.bw-btn-wa { background: #25D366 !important; color: #fff !important; flex: 1; min-width: 200px; text-align: center; border-radius: 4px; }
.bw-btn-wa:hover { background: #1DA851 !important; color: #fff !important; }
.bw-btn-wa-sm { background: #25D366 !important; color: #fff !important; border-radius: 4px; margin-left: 10px; }
.bw-btn-wa-sm:hover { background: #1DA851 !important; color: #fff !important; }

/* product page: quote CTA, small cart, inline callback, chips, price panel */
.bw-btn-quote-main { display: block; width: 100%; background: #FD9636 !important; color: #fff !important; border: 0; border-radius: 6px; padding: 14px 20px; font-size: 17px; font-weight: 700; box-shadow: 0 6px 16px rgba(253,150,54,.35); transition: all .15s; }
.bw-btn-quote-main:hover { background: #D36B0B !important; transform: translateY(-1px); }
.bw-contact-row { display: flex; gap: 10px; flex-wrap: wrap; }
.bw-callback-inline { display: flex; flex: 1; min-width: 220px; border: 1px solid #0BA9ED; border-radius: 4px; overflow: hidden; }
.bw-callback-inline input[name="phone"] { border: 0; flex: 1; padding: 8px 12px; min-width: 130px; outline: none; }
.bw-callback-inline .bw-btn-callback { border: 0 !important; border-radius: 0; background: #0BA9ED !important; color: #fff !important; white-space: nowrap; flex: none; }
.bw-btn-cart-small { background: none; border: 1px solid #D5DFE4; color: #8493AF; border-radius: 5px; padding: 5px 14px; font-size: 12px; cursor: pointer; }
.bw-btn-cart-small:hover { border-color: #8493AF; color: #425A8B; }
.bw-chips { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; }
.bw-chips li { display: flex; align-items: center; gap: 8px; background: #F0F7FB; border: 1px solid #D9EDF7; color: #425A8B; border-radius: 30px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; }
.bw-chips li img { width: 22px; height: 22px; }
.box-product-price { background: #F7FAFD; border-left: 4px solid #FD9636; border-radius: 0 8px 8px 0; padding: 12px 16px; }
.bw-radio { margin-right: 14px; cursor: pointer; color: #425A8B; }
.bw-radio input { margin-right: 5px; }
.bw-brand-fields { background: #F0F3F8; border-radius: 8px; padding: 14px; }
.bw-toggle-q { font-weight: 700; }
@media (max-width: 767px) {
  .bw-toggle-opts { display: block; margin-top: 6px; }
  .bw-toggle-opts .bw-radio { display: block; margin: 6px 0; }
}

/* tier table */
#bwTierTable { overflow-x: auto; }
.bw-tiers { width: 100%; border: 1px solid #D5DFE4; border-radius: 6px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.bw-tiers th, .bw-tiers td { padding: 6px 10px; text-align: center; border-right: 1px solid #D5DFE4; color: #425A8B; }
.bw-tiers th { background: #FFF4E8; color: #D36B0B; font-weight: 600; }
.bw-tiers th:last-child, .bw-tiers td:last-child { border-right: 0; }

/* quantity grid */
.bw-grid-wrap { overflow-x: auto; border: 1px solid #D5DFE4; border-radius: 8px; }
.bw-grid { width: 100%; border-collapse: collapse; min-width: 420px; }
.bw-grid th { background: #425A8B; color: #fff; padding: 8px; font-weight: 600; text-align: center; font-size: 13px; }
.bw-grid th:first-child { text-align: left; }
.bw-grid td { border-top: 1px solid #E8EFF2; padding: 6px; text-align: center; }
.bw-colour-cell { text-align: left !important; white-space: nowrap; font-weight: 600; padding-left: 10px !important; color: #425A8B; }
.bw-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #ccc; margin-right: 6px; vertical-align: -2px; }
.bw-cell input { width: 62px; padding: 5px; border: 1px solid #D5DFE4; border-radius: 6px; text-align: center; }
.bw-cell input:focus { border-color: #0BA9ED; outline: none; }
.bw-cell input:disabled { background: #F0F3F8; }
.bw-stock { display: block; font-size: 11px; margin-top: 2px; }
.bw-stock.in { color: #10B981; }
.bw-stock.low { color: #D97706; }
.bw-stock.out { color: #DC2626; }
.bw-na { color: #C6CEDC; }
.bw-totals { background: #F0F3F8; border-radius: 8px; padding: 10px 14px; color: #425A8B; }
.bw-tier-nudge { color: #10B981; margin-top: 3px; }

/* honeypot */
.bw-hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; opacity: 0; }

/* gallery arrows + touch scrolling over images */
.detail-gallery { position: relative; }
.bw-gal-prev, .bw-gal-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #D5DFE4; background: rgba(255,255,255,.92); color: #425A8B; font-size: 16px; cursor: pointer; box-shadow: 0 2px 10px rgba(20,30,55,.15); }
.bw-gal-prev { left: 10px; }
.bw-gal-next { right: 10px; }
.bw-gal-prev:hover, .bw-gal-next:hover { background: #0BA9ED; color: #fff; border-color: #0BA9ED; }
/* slick swipe is disabled in bw.js so native page scrolling always works over the gallery */

/* mobile off-canvas menu: solid panel, single arrows, accordion */
.mobile-header-active, .mobile-header-wrapper-inner, .mobile-header-content-area, .mobile-header-active .perfect-scroll { background: #fff !important; }
.mobile-header-active { z-index: 1100 !important; box-shadow: 8px 0 30px rgba(20,30,55,.25); }
.mobile-menu .sub-menu { display: none; padding-left: 14px; }
.mobile-menu li.bw-open > .sub-menu { display: block; }
.mobile-menu li.has-children > a::after { content: "\25BE"; float: right; color: #8493AF; transition: transform .15s; }
.mobile-menu li.bw-open > a::after { transform: rotate(180deg); }
.mobile-menu .menu-expand { display: none !important; }
.bw-viewall-li a { color: #0BA9ED !important; font-weight: 700; }

/* elevateZoom pane overlays everything on touch: desktop only */
@media (max-width: 1199px) {
  .zoomContainer { display: none !important; }
  .header-shop .box-dropdown-cart { display: none; }
}

/* quote basket page */
.bw-qitem { display: flex; align-items: center; gap: 14px; border: 1px solid #D5DFE4; border-radius: 8px; padding: 12px; margin-bottom: 12px; background: #fff; }
.bw-qitem img { width: 72px; height: 72px; object-fit: contain; }
.bw-qinfo { flex: 1; }
.bw-qremove { background: none; border: none; font-size: 22px; color: #DC2626; cursor: pointer; }
.bw-qdone { text-align: center; padding: 60px 0; }
.bw-btn-callback { border: 1px solid #0BA9ED; color: #0BA9ED; border-radius: 4px; }

/* category tiles on archive landing rows */
.bw-cat-tile { display: block; text-align: center; border: 1px solid #D5DFE4; border-radius: 8px; padding: 10px 6px; height: 100%; background: #fff; }
.bw-cat-tile img { width: 100%; height: 74px; object-fit: contain; }

/* pagination */
.pagination-area ul { display: flex; gap: 6px; list-style: none; padding: 0; justify-content: center; }
.pagination-area li a, .pagination-area li span { display: inline-block; padding: 8px 14px; border: 1px solid #D5DFE4; border-radius: 6px; color: #425A8B; }
.pagination-area li span.current { background: #425A8B; color: #fff; border-color: #425A8B; }

/* mobile filter drawer */
@media (max-width: 991px) {
  #bwFilters { position: fixed; top: 0; left: -320px; width: 300px; max-width: 85vw; height: 100vh; background: #fff; z-index: 1050; overflow-y: auto; transition: left .25s ease; padding: 16px; box-shadow: 6px 0 24px rgba(0,0,0,.18); }
  body.bw-filters-open #bwFilters { left: 0; }
  body.bw-filters-open::after { content: ""; position: fixed; inset: 0; background: rgba(20,30,55,.45); z-index: 1040; }
  .bw-filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .bw-filters-head button { background: none; border: none; font-size: 26px; color: #425A8B; }
}
.bw-filters-head { display: none; }
@media (max-width: 991px) { .bw-filters-head { display: flex; } }

/* mobile bottom conversion bar */
.bw-bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; background: #fff; border-top: 1px solid #D5DFE4; display: flex; justify-content: space-around; padding: 6px 2px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(20,30,55,.08); }
.bw-bottom-bar a { display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 600; color: #425A8B; position: relative; min-width: 56px; }
.bw-bottom-bar .bw-bb-ico { font-size: 19px; line-height: 1.2; }
.bw-bottom-bar .bw-bb-wa { color: #1DA851; }
.bw-bottom-bar .bw-chip { position: absolute; top: -4px; right: 2px; }
.bw-chip { display: inline-block; background: #0BA9ED; color: #fff; border-radius: 10px; min-width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: 11px; padding: 0 6px; margin-left: 3px; }
@media (max-width: 991px) { body { padding-bottom: 64px; } #scrollUp { bottom: 76px !important; } }
@media (min-width: 992px) { .bw-bottom-bar { display: none; } }

/* desktop quick-action rail */
.bw-rail { position: fixed; right: 0; top: 40%; z-index: 1030; flex-direction: column; gap: 6px; }
.bw-rail a { background: #425A8B; color: #fff; font-size: 12px; font-weight: 600; padding: 10px 8px; border-radius: 8px 0 0 8px; writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); box-shadow: -3px 3px 12px rgba(20,30,55,.2); }
.bw-rail a:hover { color: #fff; }
.bw-rail .bw-rail-wa { background: #25D366; }

/* product features list (description tab) */
.bw-features { list-style: none; padding: 0; columns: 2 260px; column-gap: 40px; }
.bw-features li { padding: 6px 0 6px 26px; position: relative; break-inside: avoid; border-bottom: 1px solid #F1F3F7; }
.bw-features li::before { content: "\2713"; position: absolute; left: 4px; color: #1B8A44; font-weight: 700; }

/* quote icon: clipboard instead of the template heart */
.bw-icon-quote { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23425A8B' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4a3 3 0 0 1 6 0'/%3E%3Cpath d='M9 11h6M9 15h4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 0 0; background-size: 22px 22px; padding: 0 15px 0 30px; }

/* mobile menu section labels */
.bw-mm-label { text-transform: uppercase; font-size: 11px; letter-spacing: 1px; color: #8493AF; font-weight: 700; margin: 18px 0 4px; border-bottom: 1px solid #F1F3F7; padding-bottom: 5px; }

/* sidebar-left flyout: line icons; clear the category band */
.sidebar-left .menu-icons li a img, .sidebar-left .menu-texts .img-link img { width: 24px; height: 24px; }
@media (min-width: 1200px) {
  .sidebar-left .menu-icons, .sidebar-left .menu-texts { margin-top: 60px; }
}

/* product zoom disabled everywhere */
.zoomContainer { display: none !important; }

/* home product tabs: 2-up on mobile */
@media (max-width: 767px) {
  .list-products-5 { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
  .list-products-5 .card-grid-style-3 { width: 100% !important; margin: 0 !important; }
}

/* product page mobile: compact chips on one line, tight spacing under CTA */
@media (max-width: 767px) {
  .bw-chips { flex-wrap: nowrap; gap: 6px; margin-top: 12px !important; }
  .bw-chips li { font-size: 10.5px; padding: 4px 9px; white-space: nowrap; }
  .bw-chips li img { width: 15px; height: 15px; }
  .buy-product { margin-top: 14px !important; }
  .info-product { margin-top: 10px !important; }
  .single-product .section-box.shop-template { padding-bottom: 0; }
  .single-product .nav-tabs-product { margin-top: 0; }
}

/* policy / long-form pages: readable measure and hierarchy */
.bw-page-content { max-width: 860px; }
.bw-page-content h2 { font-size: 26px; margin: 34px 0 12px; }
.bw-page-content h3 { font-size: 19px; margin: 22px 0 8px; }
.bw-page-content p, .bw-page-content li { font-size: 15px; line-height: 1.75; color: #425A8B; }
.bw-page-content p { margin-bottom: 14px; }
.bw-page-content ul, .bw-page-content ol { margin: 0 0 16px 22px; }
.bw-page-content ul li, .bw-page-content ol li { margin-bottom: 8px; }
.bw-page-content ul { list-style: disc; }
.bw-page-content ol { list-style: decimal; }

/* mobile guards */
nav[aria-label="Breadcrumb"], .breadcrumb { white-space: normal; overflow-wrap: anywhere; }
.row > * { min-width: 0; }
@media (max-width: 767px) {
  .bw-cell input { width: 46px; }
  .bw-grid-wrap, #bwTierTable { max-width: calc(100vw - 32px); }
}

