/*
Theme Name: Weinel Group
Description: Four branded storefronts with an editable WordPress site and WooCommerce catalog.
Version: 1.0.0
Requires PHP: 8.2
Text Domain: weinel-group
*/
.wg-wordpress .header-cart{display:flex;align-items:center;gap:8px}.wg-wordpress .hero-shipping{box-sizing:border-box}.wg-wordpress .section{clear:both}.wg-products{padding:55px var(--pad,5.2%)}.wg-section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.wg-section-heading h2{margin:0;font-size:42px}.wg-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}.wg-product-card{min-width:0}.wg-product-photo{display:block;position:relative;aspect-ratio:1;background:#fff;overflow:hidden}.wg-product-photo img{width:100%;height:100%;object-fit:contain}.wg-product-copy{padding:17px 0}.wg-product-copy h3{font-family:Barlow,sans-serif;font-size:18px;line-height:1.4;margin:0 0 9px}.wg-product-copy .price{font-size:18px}.price del{opacity:.55}.price ins{text-decoration:none}.wg-product-link{display:inline-block;margin-top:13px;border-bottom:1px solid currentColor;padding-bottom:4px}.wg-sale{position:absolute;top:12px;left:12px;padding:6px 10px;background:var(--accent,#365072);color:var(--accent-ink,#fff);font-size:12px;font-weight:700}.wg-products.sale{background:var(--tint,#f3f1eb)}.wg-shop h1{font-size:52px}.wg-shop-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;padding:22px;background:var(--tint,#eceff2)}.wg-shop-filters label{display:grid;gap:8px;flex:1;min-width:145px;font-size:14px}.wg-shop-filters input,.wg-shop-filters select{width:100%;padding:12px;font:inherit}.wg-shop-filters .wg-sale-filter{display:flex;flex:0 0 auto;min-width:auto;align-items:center;padding:12px 0}.wg-sale-filter input{width:auto}.wg-pagination{display:flex;gap:10px;justify-content:center;margin:30px}.wg-pagination .page-numbers{padding:10px 15px;border:1px solid var(--line,#ddd)}.wg-pagination .current{background:var(--accent,#365072);color:var(--accent-ink,#fff)}
.wg-form-panel{max-width:740px;margin:35px auto;padding:32px;background:var(--tint,#f3f4f5)}.wg-form-panel form{display:grid;gap:20px}.wg-form-panel label{display:grid;gap:8px;font-weight:600}.wg-form-panel input:not([type=checkbox]),.wg-form-panel textarea{width:100%;padding:13px;border:1px solid #adb4ba;background:white;color:#222;font:400 16px Barlow,sans-serif}.wg-form-panel .wg-consent{display:flex;align-items:start;font-size:14px;font-weight:400}.wg-honeypot{position:absolute;left:-9999px}.wg-form-panel button{justify-self:start}.wg-trophy .wg-product-grid img{width:100%;height:auto}.wg-trophy h1{font-size:56px}
.wg-wordpress .woocommerce{max-width:1400px;margin:40px auto;padding:0 5%}.wg-woocommerce .woocommerce{padding:0}.wg-wordpress .woocommerce div.product .product_title{font:600 46px/1.1 'Barlow Condensed',sans-serif}.wg-wordpress .woocommerce div.product p.price,.wg-wordpress .woocommerce div.product span.price{color:inherit;font-size:25px}.wg-wordpress .woocommerce button.button,.wg-wordpress .woocommerce a.button,.wg-wordpress .woocommerce input.button{background:var(--accent,#365072);color:var(--accent-ink,#fff);border-radius:0;padding:15px 22px;font:600 16px Barlow,sans-serif}.wg-wordpress .woocommerce input.input-text,.wg-wordpress .woocommerce select,.wg-wordpress .woocommerce textarea{padding:12px;background:#fff;color:#222;border:1px solid #bbc0c5}.wg-wordpress .woocommerce .quantity input{min-width:72px}.wg-wordpress .woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:0;background:var(--tint,#eee)}.wg-wordpress .woocommerce div.product .woocommerce-tabs .panel{padding:25px 0;line-height:1.7}.wg-wordpress .woocommerce-product-gallery img{background:#fff}.wg-similar{padding:40px 0;clear:both}.wg-wordpress .woocommerce ul.products li.product .price{color:inherit}.wg-wordpress .woocommerce ul.products li.product .woocommerce-loop-product__title{font:600 21px/1.3 Barlow,sans-serif}.wg-wordpress .woocommerce .woocommerce-breadcrumb{margin-bottom:28px;color:var(--muted,#555)}.wg-wordpress .woocommerce form .form-row label{line-height:1.7}.wg-wordpress .woocommerce form .form-row input.input-text{min-height:42px}.wg-wordpress .woocommerce-error,.wg-wordpress .woocommerce-message,.wg-wordpress .woocommerce-info{color:#243144}.wg-wordpress .wc-proceed-to-checkout .checkout-button{font-size:18px!important}.wg-wordpress .header-category-panel{z-index:50}.wg-wordpress .brand-hero{z-index:0}.wg-wordpress .store-header{position:relative;z-index:20}
@media(max-width:1000px){.wg-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wg-section-heading{align-items:start}.wg-section-heading h2{font-size:32px}.wg-shop-filters{display:grid;grid-template-columns:1fr 1fr}.wg-woocommerce{padding-top:28px}.wg-wordpress .woocommerce div.product .product_title{font-size:35px}}
@media(max-width:540px){.wg-products{padding:35px 5%}.wg-product-grid{gap:14px}.wg-product-copy h3{font-size:16px}.wg-section-heading{display:block}.wg-section-heading>a{display:inline-block;margin-top:15px}.wg-shop-filters{grid-template-columns:1fr}.wg-form-panel{margin:20px 0;padding:22px}.wg-wordpress .woocommerce{padding:0 5%;margin-top:25px}.wg-wordpress .woocommerce table.shop_table{font-size:14px}}





/* Checkout header: show the four group brands beside the Weinel Group lockup. */
.woocommerce-checkout .group-logo-header .group-header-brands {
  display: flex !important;
}

@media (min-width: 1001px) {
  .woocommerce-checkout .group-logo-header .group-header-brands {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .woocommerce-checkout .group-logo-header nav[aria-label="Main navigation"] {
    margin-left: auto;
  }
}


/* Weinel account header: keep brand logos beside the lockup and navigation to the right. */
@media (min-width: 1001px) {
  .wg-group-account .group-logo-header .group-header-brands {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .wg-group-account .group-logo-header nav[aria-label="Main navigation"] {
    margin-left: auto;
  }
}

/* RNR homepage story panorama; retain the existing blue ::after overlay. */
.rescue.page-id-1715 #story.story::before {
  background-image: url("https://rocknrescue1.wpenginepowered.com/wp-content/uploads/2026/10/rnr-mountain-range.png") !important;
  background-position: center 45%;
}

/* Restore the original Ape Canyon category banner image. */
body.ape .directory-hero::before{background-image:url("/wp-content/themes/weinel-group/site/assets/brands/ape-hero.webp")!important}

/* Match Ghillie II rope presentation to the adjacent Voodoo card. */
.catalog-image img[alt="ACO 9.5mm Ghillie II"]{transform:scale(1.75);transform-origin:center}

/* Required SPRAT selector uses the same sizing as the other inquiry fields. */
.wg-training-form select{width:100%;min-width:0;margin-top:8px;padding:12px;background:#fafcfd;border:1px solid #adbac6;border-radius:3px;font:16px/1.5 Arial,sans-serif;color:#23364f}.wg-training-form select:focus{outline:2px solid #496986;outline-offset:2px}

/* Omega hero: prevent excessive padding only on large desktop windows. */
@media (min-width:1921px){body.omega .brand-hero .hero-copy{box-sizing:border-box!important;width:min(1100px,48vw)!important;max-width:none!important;padding:100px 40px 90px clamp(64px,8vw,320px)!important}body.omega .brand-hero .hero-copy h1{width:auto!important;max-width:700px!important}body.omega .brand-hero .hero-description{width:auto!important;max-width:465px!important}body.omega .brand-hero .solid-button{white-space:nowrap!important;flex-shrink:0!important}}
