/* GFish Product Variants 3.2.0. Scoped styles; no WoodMart global overrides. */
.gfish-v3{--gf-green:#E52E3D;--gf-ink:#1A1D20;--gf-border:#E5E7EB;--gf-soft:#FFF1F2;color:var(--gf-ink);font-family:inherit;width:100%;margin:14px 0 22px;line-height:1.4}
.gfish-v3 *, .gfish-v3 *::before,.gfish-v3 *::after{box-sizing:border-box}
.gfish-v3 button,.gfish-v3 input{font:inherit}
.gfish-v3 [hidden]{display:none!important}
/* Color UX: spacious, uniform tiles; scoped to GFish so WoodMart remains untouched. */
.gfish-v3-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.gfish-v3-heading-title{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-width:0}
.gfish-v3-heading strong{font-size:14px;font-weight:750;color:var(--gf-ink)}
.gfish-v3-heading > span{font-size:12px;color:#606770}
.gfish-v3-heading .gfish-v3-current-code{background:#FFF1F2;color:#C51F31;border:1px solid #FFD2D8;border-radius:7px;padding:4px 9px;font-weight:750;font-size:13px;line-height:1.2;max-width:100%;overflow-wrap:anywhere}
.gfish-v3-heading .gfish-v3-total{font-size:12px;color:#606770;white-space:nowrap}
.gfish-v3--image_gallery .gfish-v3-compact{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:stretch}
.gfish-v3--image_gallery .gfish-v3-modal-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.gfish-v3--image_gallery .gfish-v3-color{position:relative;min-width:0;height:100%;border:1px solid var(--gf-border);border-radius:13px;background:#fff;overflow:hidden;isolation:isolate;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}
.gfish-v3--image_gallery .gfish-v3-color:hover{border-color:#F5A0AB;box-shadow:0 5px 18px rgba(26,29,32,.08);transform:translateY(-1px)}
.gfish-v3--image_gallery .gfish-v3-color.is-current{border:2px solid var(--gf-green);background:#FFF1F2;box-shadow:0 0 0 2px rgba(229,46,61,.07)}
.gfish-v3--image_gallery .gfish-v3-color-link{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start;gap:6px!important;height:100%;min-height:0!important;padding:8px!important;text-align:center!important;color:var(--gf-ink)!important;text-decoration:none!important;background:transparent!important;border:none!important;box-shadow:none!important}
.gfish-v3--image_gallery .gfish-v3-color-photo{display:flex!important;width:100%;height:auto!important;aspect-ratio:1/1;background:#fff;border-radius:8px;align-items:center;justify-content:center;overflow:hidden;position:relative}
.gfish-v3--image_gallery .gfish-v3-color-photo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;display:block!important;object-fit:contain!important;margin:0!important}
.gfish-v3--image_gallery .gfish-v3-color-label{font-weight:750;font-size:12px;line-height:1.3;overflow-wrap:anywhere;letter-spacing:.01em}
.gfish-v3--image_gallery .gfish-v3-image-empty{font-size:11px;color:#8B9099;padding:6px}
.gfish-v3--image_gallery .gfish-v3-color.is-unavailable:not(.is-current) .gfish-v3-color-photo{opacity:.68}
.gfish-v3--image_gallery .gfish-v3-selected-mark{position:absolute;right:4px;top:4px;z-index:2;display:flex;align-items:center;justify-content:center;width:20px;height:20px;line-height:1;border-radius:50%;background:var(--gf-green);color:#fff;font-size:12px;font-weight:700;box-shadow:0 1px 5px #0002}
.gfish-v3--image_gallery .gfish-v3-compact .gfish-v3-color-meta{display:none!important}
.gfish-v3--image_gallery .gfish-v3-modal-grid .gfish-v3-color-meta{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:flex-end;margin-top:auto;font-size:11px;line-height:1.25;min-height:32px}
.gfish-v3--image_gallery .gfish-v3-color-state{color:#96745c;font-size:11px}
.gfish-v3--image_gallery .gfish-v3-color-state.is-available{color:#16A34A}
.gfish-v3--image_gallery .gfish-v3-color-price{font-size:11px;color:#1A1D20;font-weight:650}
.gfish-v3--image_gallery .gfish-v3-color-price .amount{color:inherit;font-size:inherit;font-weight:inherit}
.gfish-v3--image_gallery .gfish-v3-search-trigger{display:flex!important;align-items:center;gap:10px;min-height:46px;width:100%;text-align:left;background:#fff!important;border:1px solid #E5E7EB!important;border-radius:11px!important;box-shadow:none!important;color:#606770!important;padding:10px 13px!important;font-size:13px!important;font-weight:450!important;cursor:pointer;margin:0 0 13px!important}
.gfish-v3--image_gallery .gfish-v3-search-trigger svg{flex:0 0 auto;display:block;color:#606770}
.gfish-v3--image_gallery .gfish-v3-search-trigger span:nth-child(2){flex:1}
.gfish-v3--image_gallery .gfish-v3-search-hint{font-size:11px;color:#90969F}
.gfish-v3--image_gallery .gfish-v3-search-trigger:hover{border-color:#F5A0AB!important;background:#FFF7F8!important}
.gfish-v3--image_gallery .gfish-v3-open,.gfish-v3-more,.gfish-v3-reverse{border:1px solid #F2B3BA!important;background:#fff!important;color:var(--gf-green)!important;padding:10px 14px!important;border-radius:11px!important;cursor:pointer;font-size:13px!important;min-height:42px;box-shadow:none!important;font-weight:650!important}
.gfish-v3--image_gallery .gfish-v3-open{display:flex!important;justify-content:center;align-items:center;gap:14px;width:100%;margin:13px 0 0!important}
.gfish-v3--image_gallery .gfish-v3-open:hover,.gfish-v3--image_gallery .gfish-v3-more:hover{background:#FFF1F2!important;border-color:#F5A0AB!important}
.gfish-v3--image_gallery .gfish-v3-open span{font-size:17px;line-height:1}
.gfish-v3-more{display:block;margin:15px auto 0!important}
.gfish-v3-reverse{margin-bottom:10px!important;padding:7px 12px!important}
.gfish-v3--image_gallery .gfish-v3-modal{border:1px solid #E5E7EB;border-radius:20px;box-shadow:0 24px 84px #0003;padding:22px;background:#fff;color:var(--gf-ink);width:min(900px,calc(100vw - 32px));max-height:min(88dvh,900px);overflow-y:auto;overscroll-behavior:contain;position:fixed;min-width:0}
.gfish-v3--image_gallery .gfish-v3-modal::backdrop{background:rgb(26 29 32 / .58)}
.gfish-v3--image_gallery .gfish-v3-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid #E5E7EB}
.gfish-v3--image_gallery .gfish-v3-modal-head h2{font-size:23px!important;line-height:1.2!important;letter-spacing:-.025em;margin:3px 0 6px!important;color:var(--gf-ink);font-weight:750}
.gfish-v3--image_gallery .gfish-v3-modal-eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:.11em;font-weight:750;color:#606770}
.gfish-v3--image_gallery .gfish-v3-modal-sub{font-size:12px;color:#606770}
.gfish-v3--image_gallery .gfish-v3-close{background:#F3F4F6!important;border:0!important;box-shadow:none!important;border-radius:50%!important;font-size:24px!important;font-weight:400!important;display:flex!important;align-items:center;justify-content:center;min-width:40px;min-height:40px;width:40px;height:40px;color:#1A1D20!important;cursor:pointer;padding:0!important}
.gfish-v3--image_gallery .gfish-v3-modal-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px 0 9px;background:#fff}
.gfish-v3--image_gallery .gfish-v3-search-label{display:flex;align-items:center;position:relative;flex:1 1 230px;min-width:0;height:46px;border:1px solid #E5E7EB;border-radius:11px;overflow:hidden;background:#fff}
.gfish-v3--image_gallery .gfish-v3-search-label svg{position:absolute;left:13px;top:12px;color:#606770;pointer-events:none}
.gfish-v3--image_gallery input.gfish-v3-search{display:block!important;width:100%!important;height:46px!important;min-height:46px!important;margin:0!important;border:0!important;outline:0!important;background:transparent!important;padding:11px 12px 11px 42px!important;color:var(--gf-ink)!important;box-shadow:none!important;font-size:13px!important}
.gfish-v3--image_gallery input.gfish-v3-search:focus-visible{outline:2px solid #E52E3D!important;outline-offset:-2px!important}
.gfish-v3--image_gallery .gfish-v3-checkbox{display:flex;align-items:center;gap:8px;margin:0!important;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}
.gfish-v3--image_gallery .gfish-v3-checkbox input{width:17px!important;height:17px!important;min-height:0;margin:0!important;accent-color:var(--gf-green)}
.gfish-v3--image_gallery .gfish-v3-modal-count{font-size:12px;color:#606770;margin:0 0 13px}
.gfish-v3--image_gallery .gfish-v3-modal-grid .gfish-v3-color-link{padding:10px!important;gap:8px!important}
.gfish-v3--image_gallery .gfish-v3-modal-grid .gfish-v3-color-label{font-size:13px}
.gfish-v3--image_gallery .gfish-v3-modal.is-loading .gfish-v3-modal-grid{opacity:.55;pointer-events:none}
.gfish-v3--image_gallery .gfish-v3-notice{font-size:13px;padding:14px;color:#86634c;text-align:center}
.gfish-v3 :focus-visible{outline:3px solid #E52E3D;outline-offset:3px}
.gfish-v3-axis{border:0;padding:0;margin:0 0 19px;min-width:0}
.gfish-v3-axis legend{font-weight:650;margin:0 0 11px;padding:0;font-size:14px}
.gfish-v3-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:9px}
.gfish-v3-option{min-height:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10px 6px!important;background:#fff!important;color:var(--gf-ink)!important;border:1px solid var(--gf-border)!important;border-radius:10px!important;font-size:13px!important;cursor:pointer;box-shadow:none!important;gap:5px;overflow-wrap:anywhere}
.gfish-v3-option.is-active{background:var(--gf-soft)!important;border:2px solid var(--gf-green)!important;font-weight:700}
.gfish-v3-option.is-oos:not(.is-active){opacity:.65}
.gfish-v3-options--images{grid-template-columns:repeat(auto-fill,minmax(86px,1fr))}
.gfish-v3-options--images .gfish-v3-option img{width:100%;height:70px;object-fit:contain}
.gfish-v3-choice-message{font-size:12px;color:#606770;margin:9px 0}
.gfish-v3-result{display:flex;flex-wrap:wrap;gap:9px 15px;align-items:center;border:1px solid var(--gf-border);background:var(--gf-soft);padding:14px;border-radius:11px;font-size:14px}
.gfish-v3-result strong:first-child{flex:1 1 160px}.gfish-v3-price{font-size:16px}
.gfish-v3-stock{font-size:12px}.gfish-v3-stock.is-instock{color:#16A34A}.gfish-v3-stock.is-oos{color:#9b5541}
.gfish-v3-muted,.gfish-v3-description,.gfish-v3-compat,.gfish-v3-warning{font-size:13px;color:#606770;margin:10px 0}
.gfish-v3-warning{color:#865d35}
.gfish-v3-sizeguide{border:1px solid var(--gf-border);border-radius:10px;padding:12px 14px;margin-top:14px}
.gfish-v3-sizeguide summary{cursor:pointer;font-weight:650;color:var(--gf-green)}
.gfish-v3-guide-text{white-space:normal;margin:12px 0;font-size:13px;line-height:1.65}
.gfish-v3-sizeguide a{color:var(--gf-green);text-decoration:underline}
.gfish-v3-table-wrap{width:100%;overflow-x:auto;margin:10px 0 15px}
.gfish-v3--bulk_matrix table{border-collapse:collapse;width:100%;min-width:430px;text-align:left;font-size:13px}
.gfish-v3--bulk_matrix th,.gfish-v3--bulk_matrix td{padding:9px 11px;text-align:left;border-bottom:1px solid var(--gf-border)}
.gfish-v3--bulk_matrix th{font-size:12px;white-space:nowrap}
.gfish-v3--bulk_matrix tr.is-current{background:var(--gf-soft)}
.gfish-v3--bulk_matrix td a{color:var(--gf-green);text-decoration:underline}
.gfish-v3--bulk_matrix input[type=number]{max-width:80px!important;min-width:60px;width:70px!important;min-height:38px;text-align:center;border:1px solid var(--gf-border);border-radius:7px}
.gfish-v3-submit{padding:13px 16px!important;color:#fff!important;background:var(--gf-green)!important;border-radius:9px!important;font-weight:650!important;cursor:pointer;min-height:45px}
.gfish-v3 :focus-visible{outline:3px solid #E52E3D;outline-offset:3px}
@media(max-width:620px){
 .gfish-v3--image_gallery .gfish-v3-compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
 .gfish-v3--image_gallery .gfish-v3-color-link{padding:5px!important;gap:4px!important}
 .gfish-v3--image_gallery .gfish-v3-color-label{font-size:11px}
 .gfish-v3--image_gallery .gfish-v3-selected-mark{width:18px;height:18px;right:2px;top:2px;font-size:11px}
 .gfish-v3--image_gallery .gfish-v3-search-hint{display:none}
 .gfish-v3--image_gallery .gfish-v3-modal{width:100%!important;max-width:100%!important;height:min(94dvh,980px);max-height:94dvh;margin:auto 0 0!important;border-radius:20px 20px 0 0;padding:17px 14px calc(20px + env(safe-area-inset-bottom));}
 .gfish-v3--image_gallery .gfish-v3-modal-head h2{font-size:21px!important}
 .gfish-v3--image_gallery .gfish-v3-modal-tools{position:sticky;top:-17px;z-index:4;box-shadow:0 9px 12px -14px #0006;padding-top:12px;padding-bottom:12px}
 .gfish-v3--image_gallery .gfish-v3-checkbox{min-height:30px}
 .gfish-v3--image_gallery .gfish-v3-modal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .gfish-v3--image_gallery .gfish-v3-modal-grid .gfish-v3-color-link{padding:6px!important;gap:5px!important}
 .gfish-v3--image_gallery .gfish-v3-modal-grid .gfish-v3-color-meta{font-size:10px;min-height:32px}
 .gfish-v3-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .gfish-v3-options--images{grid-template-columns:repeat(3,minmax(0,1fr))}
 .gfish-v3-result{flex-direction:column;align-items:flex-start}
 .gfish-v3-result strong:first-child{flex:initial}
 .gfish-v3-submit{width:100%}
}
@media(max-width:360px){.gfish-v3--image_gallery .gfish-v3-compact{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.gfish-v3 *{scroll-behavior:auto!important;transition:none!important}}

.gfish-v3-unit-price{display:block;font-size:12px;color:#606770}

.gfish-v3-sizetable{width:100%;border-collapse:collapse;font-size:13px;margin-top:12px}
.gfish-v3-sizetable th,.gfish-v3-sizetable td{border-bottom:1px solid var(--gf-border);padding:10px;text-align:left}
.gfish-v3-sizetable th{font-weight:650}

/* v3.2.0: compact selections + native WooCommerce buy zone */
.gfish-v3--image_gallery .gfish-v3-compact{gap:8px!important}
.gfish-v3--image_gallery .gfish-v3-compact .gfish-v3-color-link{padding:5px!important;gap:4px!important}
.gfish-v3--image_gallery .gfish-v3-compact .gfish-v3-color{border-radius:10px}
.gfish-v3--image_gallery .gfish-v3-open{margin-top:9px!important}
.gfish-v3--image_gallery .gfish-v3-search-trigger{margin-bottom:9px!important}

/* 3.8.1: compact photo picker for dependent groups */
.gfish-v3-open-colors{display:block;margin:12px 0 0!important;width:100%;max-width:480px;padding:11px 14px!important;border:1px solid #F2B3BA!important;border-radius:11px!important;color:#C51F31!important;background:#FFF1F2!important;font-weight:650!important;cursor:pointer}
.gfish-v3-colors-dialog{box-sizing:border-box;border:1px solid #E5E7EB;border-radius:18px;padding:20px;width:min(800px,calc(100vw - 24px));max-height:86dvh;overflow-y:auto;background:#fff;color:#1A1D20;box-shadow:0 24px 70px #0003;position:fixed}
.gfish-v3-colors-dialog::backdrop{background:rgb(26 29 32 / .55)}
.gfish-v3-colors-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
.gfish-v3-colors-close{background:#F3F4F6!important;border:1px solid #E5E7EB!important;border-radius:9px!important;padding:8px 11px!important;color:#1A1D20!important;cursor:pointer}
.gfish-v3-colors-search{box-sizing:border-box;width:100%;min-height:42px;margin-bottom:15px;padding:9px 13px;border:1px solid #E5E7EB;border-radius:10px;font-size:15px}
.gfish-v3-colors-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px}
@media(max-width:600px){.gfish-v3-colors-dialog{max-height:94dvh;padding:15px;width:calc(100vw - 12px)}.gfish-v3-colors-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* v4.0.9: native spinning rod length/test picker */
.gfish-v409-rod-picker{margin:16px 0 20px;clear:both}
.gfish-v409-rod-picker .gfish-v3{padding:17px 18px;border:1px solid #E5E7EB;border-radius:14px;background:#fff}
.gfish-v409-rod-picker .gfish-v3-heading{margin-bottom:15px}
@media(max-width:620px){.gfish-v409-rod-picker .gfish-v3{padding:14px 12px}.gfish-v409-rod-picker .gfish-v3-options{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* 4.0.10: Never show the full variant selector in Woodmart's sticky purchase strip.
   Keep product summary, availability, quantity and cart controls intact. */
.wd-sticky-btn .gfish-v3,
.wd-sticky-btn .gfish-v409-rod-picker,
.wd-sticky-add-to-cart .gfish-v3,
.wd-sticky-add-to-cart .gfish-v409-rod-picker,
.wd-sticky-add-to-cart-wrap .gfish-v3,
.wd-sticky-add-to-cart-wrap .gfish-v409-rod-picker,
.wd-sticky-btn-container .gfish-v3,
.wd-sticky-btn-container .gfish-v409-rod-picker { display:none !important; }

/* 1.0.12: bulk order of color SKUs directly from image-gallery dialog. */
.gfish-v3--image_gallery .gfish-v3-modal-grid .gfish-v3-color-link{height:auto!important}
.gfish-v3--image_gallery .gfish-v3-qty-controls{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 9px 10px}
.gfish-v3--image_gallery .gfish-v3-qty-btn{width:29px;min-width:29px;height:29px;min-height:29px;padding:0!important;border-radius:7px!important;border:1px solid #dadde2!important;background:#fff!important;color:#252525!important;font-size:20px!important;line-height:1!important;cursor:pointer}
.gfish-v3--image_gallery .gfish-v3-qty-btn:disabled{opacity:.3;cursor:not-allowed}
.gfish-v3--image_gallery .gfish-v3-qty-value{min-width:16px;font-weight:700;font-size:14px;text-align:center}
.gfish-v3--image_gallery .gfish-v3-color-bulk-form{position:sticky;bottom:-22px;margin:14px -22px -22px;padding:13px 22px;background:#fff;border-top:1px solid #e5e7eb;z-index:5}
.gfish-v3--image_gallery .gfish-v3-color-bulk-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.gfish-v3--image_gallery .gfish-v3-color-bulk-total{font-weight:750;color:#1a1d20}
.gfish-v3--image_gallery .gfish-v3-color-bulk-form .gfish-v3-submit:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:620px){.gfish-v3--image_gallery .gfish-v3-color-bulk-form{bottom:calc(-20px - env(safe-area-inset-bottom));margin:12px -14px calc(-20px - env(safe-area-inset-bottom));padding:12px 14px calc(12px + env(safe-area-inset-bottom))}.gfish-v3--image_gallery .gfish-v3-color-bulk-summary{flex-direction:column;align-items:stretch}.gfish-v3--image_gallery .gfish-v3-qty-controls{padding:0 5px 7px}.gfish-v3--image_gallery .gfish-v3-qty-btn{width:25px;min-width:25px;height:27px;min-height:27px}}
