/* Fishwise legacy layout overrides */

:root {
    --fishwise-blue: #0a4a78;
    --fishwise-blue-dark: #083c63;
    --fishwise-blue-light: #2a7bb0;
    --fishwise-yellow: #f2c400;
    --fishwise-gray: #f6f6f6;
}

@font-face {
    font-family: "latobold";
    src: url("../fonts/lato-bold-webfont.woff2") format("woff2"),
         url("../fonts/lato-bold-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "latobold_italic";
    src: url("../fonts/lato-bolditalic-webfont.woff2") format("woff2"),
         url("../fonts/lato-bolditalic-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "latoitalic";
    src: url("../fonts/lato-italic-webfont.woff2") format("woff2"),
         url("../fonts/lato-italic-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "latoregular";
    src: url("../fonts/lato-regular-webfont.woff2") format("woff2"),
         url("../fonts/lato-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "latoblack";
    src: url("../fonts/lato-black-webfont.woff2") format("woff2"),
         url("../fonts/lato-black-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    background: #e1eef4 url("../images/bg_image_1.png") repeat scroll 0 0;
    font-family: "latoregular", Arial, sans-serif;
}

.page-wrapper {
    background: #fff;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 0 1px #c9d7e0;
}

.page-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cms-index-index .page-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.cms-index-index .columns,
.cms-index-index .column.main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: -16px !important;
}

/* Header */
.fishwise-header {
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
}

.fishwise-header-inner {
    padding: 0 !important;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: block;
    height: 169px;
}

.fishwise-header-inner::after {
    content: "";
    display: block;
    clear: both;
}

.header.content {
    display: block;
}

.header.content::after {
    content: "";
    display: block;
    clear: both;
}

.logo-wrapper {
    float: left;
}

.logo-wrapper .logo {
    float: left;
    margin: 0 50px 0 0 !important;
}

.logo_content {
    float: left;
}

.contact-header-box.panel.header {
    float: right;
}

.minicart-wrapper {
    margin-top: 20px;
}

.contact_details,
.login_button {
    display: inline-block;
    vertical-align: top;
}

.login_button {
    margin-left: 20px;
    margin-top: 7px;
}

.contact_details h3 {
    color: #007cbd;
    font-family: "latoregular", Arial, sans-serif;
    font-size: 24px;
    font-weight: normal;
}

.contact_details p {
    color: #007cbd;
    font-family: "latoregular", Arial, sans-serif;
    font-size: 16px;
}

.contact_details .fa {
    color: #ffd401;
    font-size: 20px;
    margin-right: 10px;
}

.login_button > a {
    background: #0075bb;
    color: #75cef4;
    padding: 13px 30px 13px 12px !important;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.6s all;
    cursor: pointer;
    font-family: "latoregular", Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
}

.contact_details h3,
.contact_details p {
    display: block;
    margin: 0;
}

.contact-header-box .header.links {
    display: inline-block;
    margin-left: 20px;
    vertical-align: top;
}

.contact-header-box .header.links li {
    display: inline-block;
    vertical-align: top;
}

.action.nav-toggle {
    display: none !important;
}

@media (max-width: 768px) {
    .action.nav-toggle {
        display: inline-block;
    }
}

.logo {
    position: relative;
    display: inline-block;
}

.logo::after {
    border: 1px solid #ffd401;
    content: "";
    height: 100%;
    position: absolute;
    right: -20px;
    top: 0;
}

.logo img,
.fishwise-logo-img {
    width: 148px;
    height: auto;
    max-width: none;
}


.fishwise-mobile-search {
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    padding: 6px;
    color: var(--fishwise-blue);
    background: #fff;
}

.fishwise-cart {
    position: relative;
    color: var(--fishwise-yellow);
    padding: 6px;
}

.fishwise-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #d51f1f;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 999px;
}

/* Navigation */
.fishwise-nav {
    background: #0079c2;
    border-top: 1px solid #0b3e66;
    margin-top: 0;
    padding-top: 0;
}

.fishwise-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
}

.nav-sections,
.nav-sections-items,
.nav-sections-item-content,
.navigation {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.nav-sections-item-title {
    display: none !important;
}

.fishwise-menu {
    width: 100%;
}

.fishwise-menu-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.fishwise-menu-list li {
    margin: 5px 10px 5px 0;
    line-height: 0;
}

.fishwise-menu-link {
    display: block;
    padding: 12px 30px;
    color: #ffffff;
    font-family: "latoregular", Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    text-transform: uppercase;
    transition: all 0.6s ease 0s;
}

.fishwise-menu-link[aria-current="page"],
.fishwise-menu-link:hover {
    color: #ffd101;
    background: transparent;
}

.fishwise-search-toggle {
    background: var(--fishwise-yellow);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 2px;
    margin-right: 4px;
}

.fishwise-search-panel {
    position: absolute;
    z-index: 20;
    width: 100%;
    background: #fff;
    border-top: 1px solid #d9d9d9;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    padding: 12px 16px;
}

/* Hero */
.fishwise-hero {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: #0c2f4a;
    margin: 0;
    width: 100%;
}

.fishwise-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fishwise-hero-overlay {
    position: absolute;
    right: 28px;
    bottom: 22px;
    text-align: right;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.fishwise-hero-kicker {
    font-family: "latoregular", Arial, sans-serif;
    font-size: 50px;
    letter-spacing: 0;
    margin-bottom: 0;
    opacity: 1;
    text-transform: lowercase;
}

.fishwise-hero-title {
    font-family: "latoblack", Arial, sans-serif;
    font-size: 60px;
    font-weight: normal;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.fishwise-hero-sep {
    font-weight: 400;
    opacity: 0.8;
}

/* Product Range */
.fishwise-product-range {
    padding: 18px 20px 30px;
}

.fishwise-featured-products {
    padding: 0 20px 30px;
}

.fishwise-about-section,
.fishwise-product-range,
.fishwise-featured-products {
    background: #f4f4f4 !important;
}

.page-main {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Ensure Hyva containers match 1200px content width */
.container {
    max-width: 1200px;
}

.fishwise-range-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.fishwise-range-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fishwise-range-icon svg {
    width: 100%;
    height: 100%;
}

.fishwise-range-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.fishwise-product-range .product-item {
    border: 1px solid #e4e4e4;
    background: #fff;
    padding: 12px;
}

.fishwise-product-range .product-item-name {
    color: var(--fishwise-blue);
    font-weight: 700;
    font-size: 13px;
}

.fishwise-product-range .product-item-actions .action.tocart {
    background: var(--fishwise-yellow);
    color: #fff;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    padding: 6px 10px;
}

/* Match original 3x2 card layout for middle product sections */
.fishwise-product-range [data-track],
.fishwise-featured-products [data-track] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    overflow: visible !important;
}

.fishwise-product-range [data-track] > div,
.fishwise-featured-products [data-track] > div {
    min-width: 0 !important;
}

.fishwise-static-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fishwise-static-grid > div {
    min-width: 0;
}

.fishwise-product-range .snap-pager,
.fishwise-featured-products .snap-pager {
    display: none !important;
}

/* Simplify product cards to look like the original fishwise grid */
.fishwise-product-range .product-item .swatch-attribute,
.fishwise-featured-products .product-item .swatch-attribute,
.fishwise-product-range .product-item [data-addto="wishlist"],
.fishwise-product-range .product-item [data-addto="compare"],
.fishwise-featured-products .product-item [data-addto="wishlist"],
.fishwise-featured-products .product-item [data-addto="compare"] {
    display: none !important;
}

/* Reset legacy Porto global product styles inside these two sections */
.fishwise-product-range .product-item-info,
.fishwise-featured-products .product-item-info {
    position: relative !important;
    text-align: left !important;
    padding: 0 !important;
}

.fishwise-product-range .product-item,
.fishwise-featured-products .product-item {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid #e4e4e4 !important;
    height: auto !important;
    position: relative !important;
}

/* Original online product card look */
.fishwise-product-range .product-item,
.fishwise-featured-products .product-item {
    border: 1px solid #ffd401 !important;
    border-radius: 0 !important;
    background: #fff !important;
    padding: 14px 14px 58px !important;
    min-height: 470px !important;
}

.fishwise-product-range .product-info,
.fishwise-featured-products .product-info {
    display: block !important;
}

.fishwise-product-range .fishwise-legacy-range-card,
.fishwise-featured-products .fishwise-legacy-range-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 510px !important;
    position: relative;
    overflow: hidden;
    transition: background-color 0.25s ease;
}

.fishwise-product-range .fishwise-legacy-card-head,
.fishwise-featured-products .fishwise-legacy-card-head {
    min-height: 112px;
}

.fishwise-product-range .fishwise-legacy-card-head .product-item-link,
.fishwise-featured-products .fishwise-legacy-card-head .product-item-link {
    color: #007ac1 !important;
    font-family: latobold !important;
    font-size: 17px;
    line-height: 1.12;
    text-decoration: none;
    display: block;
}

.fishwise-product-range .fishwise-legacy-card-head .short_desc,
.fishwise-featured-products .fishwise-legacy-card-head .short_desc {
    margin-top: 8px;
}

.fishwise-product-range .fishwise-legacy-card-head .short_desc p,
.fishwise-featured-products .fishwise-legacy-card-head .short_desc p {
    color: #666666;
    font-family: latoregular;
    font-size: 16px;
    line-height: 1.28;
    margin: 0;
}

.fishwise-product-range .product-item-photo,
.fishwise-featured-products .product-item-photo {
    display: block;
    margin: 14px auto 20px !important;
    text-align: center;
    width: 100%;
}

.fishwise-product-range .product-item-photo img,
.fishwise-featured-products .product-item-photo img {
    max-height: none;
    max-width: 100%;
    width: 100%;
    height: 260px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: opacity 0.2s ease;
}

.fishwise-product-range .product-item .mt-2 {
    text-align: left !important;
    margin-top: 0 !important;
}

.fishwise-product-range .product-item-link {
    color: #007ac1 !important;
    font-family: latobold !important;
    font-size: 17px !important;
    line-height: 1.25;
    text-align: left !important;
}

.fishwise-product-range .price-label,
.fishwise-featured-products .price-label {
    display: none !important;
}

.fishwise-product-range .price-box.price-final_price,
.fishwise-featured-products .price-box.price-final_price {
    position: absolute !important;
    left: 0;
    right: 50px;
    bottom: 0;
    margin: 0 !important;
    background: #0079c2 !important;
    padding: 10px 12px !important;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.fishwise-product-range .price-box .price,
.fishwise-featured-products .price-box .price {
    color: #fff !important;
    font-family: latoblack !important;
    font-size: 24px !important;
    line-height: 1;
}

.fishwise-product-range .fishwise-legacy-card-footer,
.fishwise-featured-products .fishwise-legacy-card-footer {
    display: flex;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.fishwise-product-range .fishwise-legacy-range-card .price-box.price-final_price,
.fishwise-featured-products .fishwise-legacy-range-card .price-box.price-final_price {
    position: static !important;
    flex: 1 1 auto;
    right: auto;
}

.fishwise-product-range .fishwise-legacy-card-footer .action.tocart.primary,
.fishwise-featured-products .fishwise-legacy-card-footer .action.tocart.primary {
    width: 50px;
    min-width: 50px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffd401 !important;
    color: #0079c2 !important;
    margin: 0 !important;
    padding: 0 !important;
    right: auto !important;
    position: static !important;
    position: relative !important;
}

.fishwise-product-range .fishwise-legacy-card-footer .action.tocart.primary::after,
.fishwise-featured-products .fishwise-legacy-card-footer .action.tocart.primary::after {
    display: none !important;
}

.fishwise-product-range .fishwise-legacy-card-footer .action.tocart.primary::before,
.fishwise-featured-products .fishwise-legacy-card-footer .action.tocart.primary::before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    width: 15px;
    height: 15px;
    background: #ffd401;
    clip-path: polygon(0 100%, 0 0, 100% 100%);
}

.fishwise-product-range .fishwise-legacy-card-footer .action.tocart.primary span,
.fishwise-featured-products .fishwise-legacy-card-footer .action.tocart.primary span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fishwise-product-range .fishwise-legacy-card-footer .action.tocart.primary svg,
.fishwise-featured-products .fishwise-legacy-card-footer .action.tocart.primary svg {
    width: 20px;
    height: 20px;
    stroke: #0079c2;
    stroke-width: 2;
}

.fishwise-product-range .fishwise-legacy-hover,
.fishwise-featured-products .fishwise-legacy-hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
    padding: 20px;
}

.fishwise-product-range .fishwise-legacy-hover-price,
.fishwise-featured-products .fishwise-legacy-hover-price {
    font-family: latoblack;
    font-size: 34px;
    color: #0079c2;
    line-height: 1.1;
}

.fishwise-product-range .fishwise-legacy-hover-stars,
.fishwise-featured-products .fishwise-legacy-hover-stars {
    margin-top: 10px;
    color: #0079c2;
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 1;
}

.fishwise-product-range .fishwise-legacy-range-card:hover,
.fishwise-featured-products .fishwise-legacy-range-card:hover {
    background: #ffd401 !important;
}

.fishwise-product-range .fishwise-legacy-range-card:hover .fishwise-legacy-hover,
.fishwise-featured-products .fishwise-legacy-range-card:hover .fishwise-legacy-hover {
    opacity: 1;
}

.fishwise-product-range .fishwise-legacy-range-card:hover .product-item-photo,
.fishwise-product-range .fishwise-legacy-range-card:hover .fishwise-legacy-card-footer,
.fishwise-featured-products .fishwise-legacy-range-card:hover .product-item-photo,
.fishwise-featured-products .fishwise-legacy-range-card:hover .fishwise-legacy-card-footer {
    opacity: 0;
}

.fishwise-product-range .mt-auto {
    position: absolute !important;
    right: 0;
    bottom: 0;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.fishwise-product-range .mt-auto > .flex.flex-wrap.gap-2 {
    display: none !important;
}

.fishwise-product-range .mt-auto > button[data-addto="cart"] {
    width: 50px;
    min-width: 50px;
    height: 40px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffd401 !important;
    color: #0079c2 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.fishwise-product-range .mt-auto > button[data-addto="cart"] svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.fishwise-product-range .mt-auto > button[data-addto="cart"] span {
    display: none !important;
}

.fishwise-product-range .product-item-details,
.fishwise-featured-products .product-item-details {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    background: transparent !important;
}

.fishwise-product-range .price-box.price-final_price,
.fishwise-featured-products .price-box.price-final_price,
.fishwise-product-range .product-item-actions,
.fishwise-featured-products .product-item-actions {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.fishwise-product-range .product-item .mt-auto,
.fishwise-featured-products .product-item .mt-auto {
    margin-top: 12px !important;
}

.fishwise-product-range .product-item-hover,
.fishwise-product-range .product-item-hover-feature,
.fishwise-featured-products .product-item-hover,
.fishwise-featured-products .product-item-hover-feature {
    display: none !important;
}

.fishwise-product-range .product-image-container,
.fishwise-featured-products .product-image-container {
    margin-bottom: 12px !important;
}

.fishwise-product-range .product-item-name,
.fishwise-featured-products .product-item-name {
    color: #007ac1;
    font-family: latobold;
    font-size: 17px;
}

.fishwise-product-range .price-box,
.fishwise-featured-products .price-box {
    margin-top: 8px;
}

/* Keep crab icon on Our Product Range, remove on Featured Products */
.fishwise-featured-products .fishwise-range-icon {
    display: none;
}

.fishwise-featured-products .fishwise-range-heading {
    justify-content: flex-start;
    margin-bottom: 10px;
}

.fishwise-featured-products .fishwise-range-title {
    font-family: latoregular;
    font-size: 40px;
    color: #4a4a4a;
    font-weight: normal;
}

/* Original heading style for Our Product Range */
.fishwise-product-range .fishwise-range-heading.online-product-box {
    margin: 0 0 24px;
}

.fishwise-product-range .fishwise-range-heading.online-product-box p {
    color: #171314;
    font-family: latoblack;
    font-size: 36px;
    margin: 0 0 0 75px;
    position: relative;
    line-height: 1.1;
}

.fishwise-product-range .fishwise-range-heading.online-product-box p::before {
    content: url("../images/crayfish.png");
    position: absolute;
    left: -75px;
    top: 0;
}

/* Original heading style for Featured Products */
.fishwise-featured-products .fishwise-range-heading.featured-products-box {
    margin: 0 0 12px;
}

.fishwise-featured-products .fishwise-range-heading.featured-products-box h2 {
    color: #171314;
    font-family: latoblack;
    font-size: 36px;
    font-weight: normal;
    margin: 0 0 0 17px;
}

/* Different button style for Featured Products */
.fishwise-featured-products .product-item-actions .action.tocart {
    background: #007ac1;
    border: 1px solid #78d0f4;
    color: #ffd401;
    font-family: latobold;
    font-size: 18px;
    padding: 10px 42px 10px 12px;
    position: relative;
}

.fishwise-featured-products .product-item-actions .action.tocart::after {
    content: "\f105";
    font-family: FontAwesome;
    color: #fff;
    font-size: 22px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* More products button under online product range */
.fishwise-product-range .more_products {
    margin-top: 28px;
    text-align: center;
}

.fishwise-product-range .more_products > a {
    background: #e1e1e1;
    color: #0079c3;
    font-family: latobold;
    font-size: 18px;
    padding: 16px 70px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.6s ease 0s;
}

.fishwise-product-range .more_products > a:hover {
    box-shadow: 0 58px 0 0 #0079c2 inset;
    color: #fff;
}

.fishwise-product-range .more_products .fa {
    color: #fff;
    font-size: 15px;
    margin-left: 12px;
}

/* About Crayfish section (original 3x2 layout) */
.fishwise-about-section {
    padding: 40px 0 20px;
}

.fishwise-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 22px;
}

.fishwise-about-text {
    background: transparent !important;
    padding: 22px 20px;
    border-left: 3px solid #6dcff2;
    grid-column: 1;
    grid-row: 1;
}

.fishwise-about-text h2 {
    font-family: latobold;
    color: #0079c2;
    font-size: 28px;
    margin: 0 0 10px;
}

.fishwise-about-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.fishwise-species-card {
    background: #fff;
    padding: 18px 20px;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.fishwise-species-image {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fishwise-species-image img {
    max-height: 90px;
    width: auto;
}

.fishwise-species-meta h3 {
    font-family: latobold;
    color: #0079c2;
    font-size: 14px;
    text-transform: uppercase;
    margin: 6px 0 2px;
}

.fishwise-species-meta p {
    color: #777;
    font-size: 12px;
    margin: 0;
}

/* Grid positions */
.fishwise-species-card.pos-western { grid-column: 2; grid-row: 1; }
.fishwise-species-card.pos-southern { grid-column: 3; grid-row: 1; }
.fishwise-species-card.pos-painted { grid-column: 1; grid-row: 2; }
.fishwise-species-card.pos-ornate { grid-column: 2; grid-row: 2; }
.fishwise-species-card.pos-eastern { grid-column: 3; grid-row: 2; }

@media (max-width: 900px) {
    .fishwise-about-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .fishwise-about-text {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .fishwise-species-card.pos-western,
    .fishwise-species-card.pos-southern,
    .fishwise-species-card.pos-painted,
    .fishwise-species-card.pos-ornate,
    .fishwise-species-card.pos-eastern {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 600px) {
    .fishwise-about-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer spacing */
footer {
    border-top: 1px solid #d9d9d9;
}

.page-footer {
    background: transparent !important;
    padding-bottom: 0 !important;
}

.footer.content {
    padding-top: 0 !important;
}

.copyright-wrapper {
    clear: both;
    padding: 10px 0 15px;
    background: #362c13;
}

.copyright-wrapper .copyright {
    display: block;
}

.footer-bottom-links {
    display: block;
    margin-top: 6px;
}

.secure-conn {
    float: right;
}

@media (max-width: 900px) {
    .fishwise-product-range [data-track],
    .fishwise-featured-products [data-track],
    .fishwise-static-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-wrapper {
        max-width: 100%;
        margin: 0;
    }

    .fishwise-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .fishwise-header-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .fishwise-product-range [data-track],
    .fishwise-featured-products [data-track],
    .fishwise-static-grid {
        grid-template-columns: 1fr;
    }
}

/* Category page: no layered filter */
.catalog-category-view #layered-filter-block-container {
    display: none !important;
}

/* Category toolbar alignment fix */
.catalog-category-view #product-list .toolbar.toolbar-products {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.catalog-category-view #product-list .toolbar.toolbar-products .modes {
    visibility: visible !important;
    opacity: 1 !important;
}

.catalog-category-view #product-list .toolbar.toolbar-products .toolbar-sorter {
    margin-left: auto !important;
    justify-content: flex-end !important;
}

/* Category page: full-width single column, no sidebar */
.catalog-category-view .columns {
    display: block !important;
}

.catalog-category-view .sidebar.sidebar-main {
    display: none !important;
}

.catalog-category-view .column.main,
.catalog-category-view #layer-product-list,
.catalog-category-view #product-list,
.catalog-category-view .products.wrapper.mode-grid.products-grid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-width: 0 !important;
}

/* Pull category content up: remove inherited top spacing */
.catalog-category-view #maincontent.page-main {
    padding-top: 0 !important;
}

.catalog-category-view #product-list {
    padding-top: 0 !important;
}

.catalog-category-view .products.wrapper.mode-grid.products-grid > ul {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.catalog-category-view .products-grid .product-item,
.catalog-category-view .item.product.product-item {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.catalog-category-view .products.wrapper.mode-grid.products-grid > ul > li {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

.catalog-category-view .products-grid .card {
    width: 100% !important;
    max-width: none !important;
}

.catalog-category-view .page-products .product-item-info,
.catalog-category-view .products-grid .product-item-info {
    width: 100% !important;
    padding: 0 !important;
}

@media (max-width: 1100px) {
    .catalog-category-view .columns {
        grid-template-columns: 1fr !important;
        row-gap: 20px !important;
    }

    .catalog-category-view .products.wrapper.mode-grid.products-grid > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .catalog-category-view .products.wrapper.mode-grid.products-grid > ul > li {
        width: auto !important;
    }
}

@media (max-width: 700px) {
    .catalog-category-view .products.wrapper.mode-grid.products-grid > ul {
        grid-template-columns: 1fr !important;
    }

    .catalog-category-view .products.wrapper.mode-grid.products-grid > ul > li {
        width: auto !important;
    }
}

/* Category cards: match homepage product-range style */
.catalog-category-view #product-list .product_addtocart_form.card {
    border: 1px solid #ffd401 !important;
    background: #fff !important;
    border-radius: 0 !important;
    min-height: 470px;
    padding: 14px 14px 58px !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.catalog-category-view #product-list .product-item-photo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 260px;
    margin: 14px auto 20px !important;
}

.catalog-category-view #product-list .product-item-photo img {
    width: 100% !important;
    height: 260px !important;
    object-fit: contain !important;
}

.catalog-category-view #product-list .product-item-link {
    color: #007ac1 !important;
    font-family: latobold, Arial, sans-serif !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
    text-align: left !important;
    display: block !important;
}

.catalog-category-view #product-list .short_desc p {
    color: #666666 !important;
    font-family: latoregular, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.28 !important;
    margin: 0 !important;
}

.catalog-category-view #product-list .product-info > .mt-auto > .flex.flex-wrap.gap-2 {
    display: none !important;
}

.catalog-category-view #product-list .price-label {
    display: none !important;
}

.catalog-category-view #product-list .product-info > .pt-1 {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.catalog-category-view #product-list .product-info > .pt-1 .price-box.price-final_price {
    position: absolute !important;
    left: 0;
    right: 50px;
    bottom: 0;
    margin: 0 !important;
    float: none !important;
    padding: 0 12px !important;
    background: #0079c2 !important;
    height: 40px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.catalog-category-view #product-list .product-info > .pt-1 .price-wrapper,
.catalog-category-view #product-list .product-info > .pt-1 .price {
    color: #fff !important;
    font-family: latoblack, Arial, sans-serif !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

.catalog-category-view #product-list .product-info > .mt-auto {
    position: absolute !important;
    right: 0;
    bottom: 0;
    margin: 0 !important;
    padding: 0 !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 40px !important;
    z-index: 2;
    display: block !important;
}

.catalog-category-view #product-list .product-info > .mt-auto button[data-addto="cart"] {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffd401 !important;
    color: #0079c2 !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
    position: relative !important;
}

.catalog-category-view #product-list .product-info > .mt-auto button[data-addto="cart"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    width: 15px;
    height: 15px;
    background: #ffd401;
    clip-path: polygon(0 100%, 0 0, 100% 100%);
}

.catalog-category-view #product-list .product-info > .mt-auto button[data-addto="cart"] span {
    display: none !important;
}

/* Category swatch fix: avoid collapsing into a single thin line */
.catalog-category-view #product-list .swatch-attribute {
    border-top: 0 !important;
}

.catalog-category-view #product-list .swatch-attribute-options {
    overflow: visible !important;
    min-height: 34px !important;
}

.catalog-category-view #product-list .swatch-attribute-options .snap {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 6px !important;
    padding: 0 !important;
}

.catalog-category-view #product-list .swatch-option {
    min-height: 28px !important;
    min-width: 28px !important;
}

.catalog-category-view #product-list .swatch-option .whitespace-nowrap,
.catalog-category-view #product-list .swatch-option .pointer-events-none {
    padding: 4px 8px !important;
    line-height: 1.1 !important;
    font-size: 12px !important;
}
