/* Grouped variants keep native grouped quantities and pricing. */
#html-body.page-product-grouped .fishy-grouped-options { margin: 22px 0; }
#html-body.page-product-grouped .fishy-grouped-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
#html-body.page-product-grouped .fishy-grouped-heading__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; background: #eff5e8; border: 1px solid #dde8d3; border-radius: 13px; color: #527638; }
#html-body.page-product-grouped .fishy-grouped-heading h2 { margin: 0 0 4px; font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.3; color: #203827; }
#html-body.page-product-grouped .fishy-grouped-heading p { margin: 0; color: #64705f; font-size: 13px; line-height: 1.5; }
#html-body.page-product-grouped .fishy-grouped-options .table-grouped { margin: 0; border: 0; overflow: visible; }
#html-body.page-product-grouped #super-product-table { width: 100%; table-layout: fixed; border: 0; border-collapse: separate; border-spacing: 0 8px; background: transparent; }
#html-body.page-product-grouped #super-product-table thead th { padding: 10px 14px; border: 0; background: transparent; color: #63715e; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
#html-body.page-product-grouped #super-product-table thead .item { width: 38%; }
#html-body.page-product-grouped #super-product-table thead .price { width: 20%; }
#html-body.page-product-grouped #super-product-table thead .stock { width: 18%; }
#html-body.page-product-grouped #super-product-table thead .qty { width: 24%; }
#html-body.page-product-grouped #super-product-table .fishy-grouped-row > td { box-sizing: border-box; padding: 18px 14px; border: 0; border-top: 1px solid #e2e8de; border-bottom: 1px solid #e2e8de; background: #fff; vertical-align: middle; text-align: left; }
#html-body.page-product-grouped #super-product-table .fishy-grouped-row:not(.is-unavailable) > td { background: #f3f9ef; }
#html-body.page-product-grouped #super-product-table .fishy-grouped-row.is-unavailable > td { background: #fff4f7; }
#html-body.page-product-grouped #super-product-table .fishy-grouped-row > td:first-child { border-left: 1px solid #e2e8de; border-radius: 15px 0 0 15px; }
#html-body.page-product-grouped #super-product-table .fishy-grouped-row > td:last-child { border-right: 1px solid #e2e8de; border-radius: 0 15px 15px 0; }
#html-body.page-product-grouped #super-product-table .product-item-name { display: block; margin: 0 0 7px; color: #24362a; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
#html-body.page-product-grouped #super-product-table .product-item-sku { display: block; color: #71806b; font-size: 11px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
#html-body.page-product-grouped #super-product-table .product-item-sku > span { color: #5d6b57; }
#html-body.page-product-grouped #super-product-table .price-box { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; }
#html-body.page-product-grouped #super-product-table .price-box .price { color: #24432a; font-size: 18px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
#html-body.page-product-grouped #super-product-table .price-box .price-decimals { font-size: .65em; }
#html-body.page-product-grouped #super-product-table .price-box .old-price { display: block; margin: 0; }
#html-body.page-product-grouped #super-product-table .price-box .old-price .price { color: #6c7865; font-size: 12px; font-weight: 400; text-decoration: line-through; }
#html-body.page-product-grouped #super-product-table .price-box .special-price { display: block; margin: 0; }
#html-body.page-product-grouped #super-product-table .price-box .special-price .price { color: #b72435; }
#html-body.page-product-grouped #super-product-table .price-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
#html-body.page-product-grouped .fishy-grouped-stock__label { display: inline-flex; align-items: center; gap: 7px; color: #52713a; font-size: 12px; font-weight: 500; line-height: 1.5; }
#html-body.page-product-grouped .fishy-grouped-stock.unavailable .fishy-grouped-stock__label { color: #a05a70; }
#html-body.page-product-grouped .fishy-grouped-stock__dot { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
#html-body.page-product-grouped #super-product-table .box-tocart, #html-body.page-product-grouped #super-product-table .fieldset, #html-body.page-product-grouped #super-product-table .field.qty { display: block; width: 100%; margin: 0; padding: 0; }
#html-body.page-product-grouped #super-product-table .input-group { display: flex; align-items: center; width: 126px; max-width: 100%; height: 44px; border: 1px solid #dce5d5 !important; border-radius: 12px; background: #fafcf8; overflow: hidden; }
#html-body.page-product-grouped #super-product-table .input-group__button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; min-width: 0; height: 44px !important; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #3e602b; font-size: 20px !important; font-weight: 400; line-height: 1; }
#html-body.page-product-grouped #super-product-table .input-group__button:hover { background: #edf4e7; }
#html-body.page-product-grouped #super-product-table .input-group__input { flex: 1 1 40px; min-width: 0; width: 40px; height: 42px !important; margin: 0; padding: 0 2px; border: 0; background: transparent; box-shadow: none; color: #263a2a; font-size: 14px; text-align: center; }
#html-body.page-product-grouped #super-product-table .fishy-grouped-alert-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; max-width: 100%; padding: 10px 12px; border: 1px solid #efd6df; border-radius: 12px; background: #faedf2; box-shadow: none; color: #96536a; font-size: 12px; font-weight: 600; line-height: 1.4; text-transform: none; white-space: normal; transition: background-color .18s ease, border-color .18s ease; }
#html-body.page-product-grouped #super-product-table .fishy-grouped-alert-trigger svg { flex: 0 0 18px; }
#html-body.page-product-grouped #super-product-table .fishy-grouped-alert-trigger:hover { background: #f5e1e9; border-color: #dfb7c6; }
#html-body.page-product-grouped .fishy-grouped-unavailable-note { color: #75816e; font-size: 12px; }
#html-body.page-product-grouped #super-product-table button:focus-visible, #html-body.page-product-grouped #super-product-table input:focus-visible { outline: 2px solid #527638; outline-offset: -3px; }
#html-body.page-product-grouped #super-product-table .row-tier-price > td { padding: 4px 14px 12px; border: 0; background: transparent; }
/* One modal and one persistent CAPTCHA form for all variants. */
.fishy-stock-modal .modal-inner-wrap { width: 500px; max-width: calc(100vw - 24px); margin: 6vh auto; border: 1px solid #e3ebdd; border-radius: 24px; background: #fff; box-shadow: 0 28px 90px rgba(19,37,16,.22); overflow: visible; }
.fishy-stock-modal .modal-header { padding: 0; border: 0; }
.fishy-stock-modal .modal-header .modal-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.fishy-stock-modal .modal-header .action-close { display: flex; align-items: center; justify-content: center; top: 16px; right: 16px; width: 38px; height: 38px; padding: 0; border: 1px solid #e1e8dc; border-radius: 12px; background: #f6f9f2; color: #52664a; z-index: 2; }
.fishy-stock-modal .modal-header .action-close:before { margin: 0; color: inherit; font-size: 14px; }
.fishy-stock-modal .modal-content { padding: 28px; }
.fishy-stock-modal .modal-footer { display: none; }
.fishy-stock-modal [hidden] { display: none !important; }
.fishy-stock-modal-intro { padding-right: 12px; }
.fishy-stock-modal-icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 18px; border: 1px solid #dce8d1; border-radius: 17px; background: linear-gradient(145deg,#f5f9f0,#e8f2dc); color: #527638; }
.fishy-stock-modal-eyebrow { display: block; margin-bottom: 7px; color: #64795a; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
.fishy-stock-modal-intro h2 { margin: 0 0 10px; color: #213a27; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.fishy-stock-modal-intro p { margin: 0; color: #63715c; font-size: 14px; line-height: 1.65; }
.fishy-stock-modal-product { margin: 20px 0; padding: 14px 16px; border: 1px solid #e1e9d9; border-radius: 14px; background: #f7faf3; }
.fishy-stock-modal-product > span { display: block; margin-bottom: 4px; color: #718064; font-size: 11px; }
.fishy-stock-modal-product strong { color: #304d2b; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.fishy-stock-modal-status { margin-bottom: 16px; color: #57684e; font-size: 13px; line-height: 1.5; }
.fishy-stock-modal-status:empty { display: none; }
.fishy-stock-modal-status.is-error { padding: 12px; border: 1px solid #efc9cd; border-radius: 10px; background: #fff4f4; color: #a62636; }
.fishy-stock-modal .fishy-stock-modal-email { margin: 0 0 18px; }
.fishy-stock-modal-email > label { display: block; margin-bottom: 8px; color: #2b402d; font-size: 13px; font-weight: 600; }
.fishy-stock-modal-email .control { position: relative; }
.fishy-stock-modal-email .control > svg { position: absolute; top: 16px; left: 14px; color: #7b8c6e; pointer-events: none; }
.fishy-stock-modal-email input[type=email] { box-sizing: border-box; width: 100%; height: 52px; padding: 12px 14px 12px 44px; border: 1px solid #d7e2ce; border-radius: 12px; background: #fcfdfb; color: #203b24; font-size: 16px; }
.fishy-stock-modal-email input:focus { border-color: #6c9650; outline: 0; box-shadow: 0 0 0 3px rgba(100,142,69,.12); }
.fishy-stock-modal .field-recaptcha { margin-bottom: 16px; }
.fishy-stock-modal .fishy-stock-modal-submit { display: flex; align-items: center; justify-content: center; gap: 9px; box-sizing: border-box; width: 100%; min-height: 50px; padding: 13px 18px; border: 1px solid #316b12; border-radius: 12px; background: #316b12; box-shadow: 0 5px 14px rgba(49,107,18,.12); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; text-transform: none; }
.fishy-stock-modal .fishy-stock-modal-submit:hover { background: #27570e; border-color: #27570e; }
.fishy-stock-modal .fishy-stock-modal-submit:disabled { opacity: .55; cursor: wait; }
.fishy-stock-modal-privacy { display: flex; gap: 7px; align-items: flex-start; margin: 14px 0 0; color: #6d7967; font-size: 11px; line-height: 1.6; }
.fishy-stock-modal-privacy svg { flex: 0 0 16px; margin-top: 1px; }
.fishy-stock-modal .fishy-stock-modal-cancel { width: 100%; min-height: 46px; padding: 12px; border: 1px solid #e4cfd1; border-radius: 12px; background: #fff6f6; color: #9c303e; font-size: 13px; white-space: normal; }
@media (max-width: 767px) {
    #html-body.page-product-grouped .fishy-grouped-heading h2 { font-size: 19px; }
    #html-body.page-product-grouped #super-product-table { display: table; border-spacing: 0; }
    #html-body.page-product-grouped #super-product-table thead { display: table-header-group; }
    #html-body.page-product-grouped #super-product-table thead tr,
    #html-body.page-product-grouped #super-product-table .fishy-grouped-row { display: table-row; }
    #html-body.page-product-grouped #super-product-table tbody { display: table-row-group; }
    #html-body.page-product-grouped #super-product-table thead th { padding: 9px 5px; background: #f4f7f0; border-bottom: 1px solid #dce5d5; font-size: 9px; letter-spacing: 0; overflow-wrap: anywhere; }
    #html-body.page-product-grouped #super-product-table thead .item { width: 32%; }
    #html-body.page-product-grouped #super-product-table thead .price { width: 21%; }
    #html-body.page-product-grouped #super-product-table thead .stock { width: 19%; }
    #html-body.page-product-grouped #super-product-table thead .qty { width: 28%; }
    #html-body.page-product-grouped #super-product-table .fishy-grouped-row > td { display: table-cell; padding: 12px 5px; border: 0; border-bottom: 1px solid #e2e8de; border-right: 1px solid #edf1e8; border-radius: 0; vertical-align: middle; }
    #html-body.page-product-grouped #super-product-table .fishy-grouped-row > td:first-child { border-left: 1px solid #edf1e8; border-radius: 0; }
    #html-body.page-product-grouped #super-product-table .fishy-grouped-row > td:last-child { border-right: 1px solid #edf1e8; border-radius: 0; }
    #html-body.page-product-grouped #super-product-table .fishy-grouped-row > td:before { display: none; }
    #html-body.page-product-grouped #super-product-table .product-item-name { margin-bottom: 4px; font-size: 11px; line-height: 1.45; }
    #html-body.page-product-grouped #super-product-table .product-item-sku { font-size: 9px; }
    #html-body.page-product-grouped #super-product-table .price-box { gap: 3px; }
    #html-body.page-product-grouped #super-product-table .price-box .price { font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
    #html-body.page-product-grouped #super-product-table .price-box .old-price .price { font-size: 10px; }
    #html-body.page-product-grouped .fishy-grouped-stock__label { gap: 4px; font-size: 10px; }
    #html-body.page-product-grouped .fishy-grouped-stock__dot { flex-basis: 4px; width: 4px; height: 4px; }
    #html-body.page-product-grouped #super-product-table .fishy-grouped-alert-trigger { flex-direction: column; gap: 3px; width: 100%; min-height: 44px; padding: 7px 3px; font-size: 10px; border-radius: 9px; }
    #html-body.page-product-grouped #super-product-table .input-group { width: 100%; max-width: 94px; border-radius: 9px; }
    #html-body.page-product-grouped #super-product-table .input-group__button { flex-basis: 24px; width: 24px; }
    #html-body.page-product-grouped #super-product-table .input-group__input { flex-basis: 22px; width: 22px; padding: 0; font-size: 12px; appearance: textfield; -moz-appearance: textfield; }
    #html-body.page-product-grouped #super-product-table .input-group__input::-webkit-inner-spin-button,
    #html-body.page-product-grouped #super-product-table .input-group__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
    .fishy-stock-modal .modal-inner-wrap { max-height: calc(100dvh - 32px); margin: 16px auto; border-radius: 20px; }
    .fishy-stock-modal .modal-content { padding: 22px 20px; }
    .fishy-stock-modal-intro h2 { font-size: 24px; }
}
@media (max-width: 359px) {
    .fishy-stock-modal .modal-inner-wrap { max-width: calc(100vw - 8px); }
    .fishy-stock-modal .modal-content { padding-left: 16px; padding-right: 16px; }
    .fishy-stock-modal .field-recaptcha { margin-left: -12px; margin-right: -12px; }
}
@media (prefers-reduced-motion: reduce) {
    #html-body.page-product-grouped #super-product-table .fishy-grouped-alert-trigger { transition: none; }
}

/* Standalone out-of-stock product entry point, using the shared alert modal. */
#html-body.catalog-product-view .product-info-main .fishy-simple-stock-alert { display: inline-flex; align-items: center; justify-content: center; gap: 9px; max-width: 100%; min-height: 46px; margin: 12px 0; padding: 12px 18px; border: 1px solid #efd6df; border-radius: 12px; background: #faedf2; color: #96536a; box-shadow: none; font-size: 13px; font-weight: 600; line-height: 1.5; text-transform: none; white-space: normal; }
#html-body.catalog-product-view .fishy-simple-stock-alert svg { flex: 0 0 19px; }
#html-body.catalog-product-view .product-info-main .fishy-simple-stock-alert:hover { background: #f5e1e9; border-color: #dfb7c6; }
#html-body.catalog-product-view .fishy-simple-stock-alert:focus-visible { outline: 2px solid #96536a; outline-offset: 3px; }
