/* ── FlyingFish WooCommerce Styles v2.11 ── */

/* ── Shop Banner ── */
.ff-shop-banner {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ff-shop-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,148,136,0.7) 0%, rgba(15,23,42,0.6) 100%);
    z-index: 1;
}
.ff-shop-banner .container {
    position: relative;
    z-index: 2;
}
.ff-shop-banner-content {
    text-align: center;
    padding: 60px 0;
}
.ff-shop-banner-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}
.ff-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.ff-breadcrumb li {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}
.ff-breadcrumb li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.ff-breadcrumb li a:hover {
    color: #fff;
}
.ff-breadcrumb li + li::before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    margin-right: 8px;
    color: rgba(255,255,255,0.5);
}
.ff-breadcrumb li.active {
    color: #fff;
    font-weight: 600;
}

/* ── Shop Layout: Sidebar + Products ── */
.ff-shop-layout {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
}
.ff-shop-sidebar {
    width: 250px !important;
    min-width: 250px !important;
    flex-shrink: 0 !important;
    order: -1 !important;
    position: sticky !important;
    top: 100px !important;
}
.ff-shop-products {
    flex: 1 !important;
    min-width: 0 !important;
}

/* Hide redundant Shop heading (banner has title) */
.woocommerce-products-header__title.page-title {
    display: none !important;
}

/* ── Shop Top Bar ── */
.ff-shop-products .woocommerce-result-count,
.ff-shop-products .woocommerce-ordering,
p.woocommerce-result-count,
form.woocommerce-ordering {
    display: inline-block !important;
    float: none !important;
    vertical-align: middle !important;
    margin-bottom: 20px !important;
}
p.woocommerce-result-count,
.woocommerce-result-count {
    line-height: 40px !important;
    font-size: 14px !important;
    color: #64748b !important;
}
form.woocommerce-ordering,
.woocommerce-ordering {
    float: right !important;
}
.woocommerce-ordering select,
.woocommerce-ordering .orderby {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0 36px 0 16px !important;
    font-size: 14px !important;
    color: #475569 !important;
    background: #fff !important;
    cursor: pointer !important;
    outline: none !important;
    height: 44px !important;
    line-height: 44px !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: menulist !important;
}
.woocommerce-ordering select:focus {
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 2px rgba(13,148,136,0.15) !important;
}

/* ── Shop / Archive Grid (3 columns) ── */
ul.products,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    padding: 0 !important;
    list-style: none !important;
    clear: both !important;
}

/* ── Product Cards ── */
ul.products li.product,
.woocommerce ul.products li.product {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    transition: transform 0.25s, box-shadow 0.25s !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    border: 1px solid #e8ecf0 !important;
    display: flex !important;
    flex-direction: column !important;
}
ul.products li.product:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(13,148,136,0.15) !important;
}
/* Inner link as flex column so title/price align */
ul.products li.product > a.woocommerce-loop-product__link,
.woocommerce ul.products li.product > a.woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    text-decoration: none !important;
}

/* ── Product Images (square, centered) ── */
ul.products li.product a img,
.woocommerce ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f8fafb !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 20px !important;
    box-shadow: none !important;
    display: block !important;
    border-bottom: 1px solid #eef1f4 !important;
}

/* ── Product Titles ── */
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 14px 14px 4px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    flex: 1 !important;
}

/* ── Product Prices ── */
ul.products li.product .price,
.woocommerce ul.products li.product .price {
    padding: 0 14px 14px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-top: auto !important;
}
ul.products li.product .price del,
.woocommerce ul.products li.product .price del {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

/* ── Add to Cart Button ── */
ul.products li.product .button,
ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
    display: block !important;
    text-align: center !important;
    background: #0d9488 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: background 0.3s !important;
    margin: 0 14px 14px !important;
    width: calc(100% - 28px) !important;
}
ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:hover {
    background: #0f766e !important;
    color: #fff !important;
}
ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .added_to_cart {
    background: #06b6d4 !important;
}

/* ── Sidebar Widgets ── */
.ff-shop-sidebar .ff-shop-widget {
    margin-bottom: 24px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #e8ecf0 !important;
}
.ff-shop-sidebar .ff-shop-widget:last-child {
    border-bottom: none !important;
}
.ff-widget-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}
/* Category pills — Desktop: vertical list */
.ff-shop-sidebar .ff-shop-widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.ff-shop-sidebar .ff-shop-widget ul li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.ff-shop-sidebar .ff-shop-widget ul li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 20px !important;
    border-radius: 24px !important;
    background: #f0fdfa !important;
    border: 1px solid #ccfbf1 !important;
    color: #0f766e !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s !important;
    white-space: nowrap !important;
}
.ff-shop-sidebar .ff-shop-widget ul li a:hover,
.ff-shop-sidebar .ff-shop-widget ul li.current-cat a {
    background: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #fff !important;
}
/* Hide "Uncategorized" and parent "Dive Equipment" li */
.ff-shop-sidebar .ff-shop-widget .cat-item-16 {
    display: none !important;
}
.ff-shop-sidebar .ff-shop-widget .cat-item-17 {
    display: contents !important;
}
/* Flatten nested sub-categories */
.ff-shop-sidebar .ff-shop-widget ul.children {
    padding-left: 0 !important;
    margin-top: 0 !important;
    display: contents !important;
}
/* Price filter widget */
.ff-shop-sidebar .widget_price_filter .price_slider_wrapper {
    padding: 0 !important;
}
.ff-shop-sidebar .widget_price_filter .ui-slider {
    background: #e8ecf0 !important;
    border: none !important;
    border-radius: 4px !important;
    height: 6px !important;
}
.ff-shop-sidebar .widget_price_filter .ui-slider .ui-slider-range {
    background: #0d9488 !important;
}
.ff-shop-sidebar .widget_price_filter .ui-slider .ui-slider-handle {
    background: #0d9488 !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    width: 16px !important;
    height: 16px !important;
    top: -5px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
    cursor: pointer !important;
}
.ff-shop-sidebar .widget_price_filter .price_slider_amount {
    font-size: 14px !important;
    color: #0d9488 !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
}
.ff-shop-sidebar .widget_price_filter .price_slider_amount .button {
    background: #0d9488 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

/* ── Pagination ── */
nav.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination {
    margin-top: 40px !important;
    text-align: center !important;
    clear: both !important;
}
nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex !important;
    gap: 6px !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
nav.woocommerce-pagination ul li,
.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    list-style: none !important;
}
nav.woocommerce-pagination ul li a,
nav.woocommerce-pagination ul li span.current,
nav.woocommerce-pagination ul li span.page-numbers,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    background: #fff !important;
    transition: all 0.3s !important;
    padding: 0 12px !important;
    text-decoration: none !important;
}
nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #f0fdfa !important;
    border-color: #0d9488 !important;
    color: #0d9488 !important;
}
nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #fff !important;
}

/* ── Sale Badge ── */
.onsale,
.woocommerce span.onsale {
    background: #ef4444 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.5 !important;
}

/* ── Star Ratings ── */
.star-rating,
.woocommerce .star-rating {
    color: #f59e0b !important;
}
.star-rating::before,
.woocommerce .star-rating::before {
    color: #e2e8f0 !important;
}

/* ══════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ══════════════════════════════════════════ */

/* Force gallery visible (WC starts at opacity:0) */
.woocommerce-product-gallery {
    opacity: 1 !important;
}
/* Hide zoom trigger icon */
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    display: none !important;
}
/* Prevent image movement on click */
.woocommerce-product-gallery .zoomImg,
.woocommerce-product-gallery .woocommerce-product-gallery__image a {
    cursor: default !important;
}
.woocommerce-product-gallery .zoomImg {
    display: none !important;
}

/* ── Product Layout: Image Left, Summary Right ── */
.ff-single-product div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
.ff-single-product div.product .woocommerce-product-gallery,
.ff-single-product div.product div.images {
    width: 48% !important;
    float: none !important;
    flex-shrink: 0 !important;
}
.ff-single-product div.product .summary {
    flex: 1 !important;
    min-width: 0 !important;
    float: none !important;
    width: auto !important;
}

/* ── Gallery Main Image ── */
.ff-single-product .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}
.ff-single-product .woocommerce-product-gallery__image a {
    display: block !important;
}
.ff-single-product .woocommerce-product-gallery__image img,
.ff-single-product .woocommerce-product-gallery__image a img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    padding: 24px !important;
    border-radius: 12px !important;
    background: #f8fafb !important;
    object-fit: contain !important;
    border: 1px solid #eef1f4 !important;
}

/* ── Gallery Thumbnails ── */
.ff-single-product .flex-control-thumbs,
.ff-single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding: 0 !important;
    list-style: none !important;
    overflow-x: auto !important;
}
.ff-single-product .flex-control-thumbs li {
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 2px solid #e2e8f0 !important;
    cursor: pointer !important;
    transition: border-color 0.3s !important;
    list-style: none !important;
}
.ff-single-product .flex-control-thumbs li:hover,
.ff-single-product .flex-control-thumbs li img.flex-active {
    border-color: #0d9488 !important;
}
.ff-single-product .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ── Product Title ── */
.ff-single-product .product_title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 8px !important;
    line-height: 1.3 !important;
}

/* ── Price ── */
.ff-single-product div.product p.price,
.ff-single-product div.product span.price {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0d9488 !important;
    margin-bottom: 20px !important;
}
.ff-single-product div.product p.price del,
.ff-single-product div.product span.price del {
    color: #94a3b8 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}
.ff-single-product div.product .price ins {
    text-decoration: none !important;
}

/* ── Short Description ── */
.ff-single-product .woocommerce-product-details__short-description {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin-bottom: 24px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* ── Quantity + Add to Cart ── */
/* ── Cart: Quantity + Buttons Row (simple + variable products) ── */
.ff-single-product .cart,
.ff-single-product .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    flex-wrap: nowrap !important;
}

/* Quantity +/- stepper */
.ff-single-product .woocommerce-variation-add-to-cart .quantity,
.ff-single-product .quantity {
    display: flex !important;
    align-items: center !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    height: 48px !important;
}
.ff-single-product .quantity .ff-qty-btn {
    background: #f8fafc !important;
    border: none !important;
    width: 38px !important;
    height: 48px !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #475569 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
    padding: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}
.ff-single-product .quantity .ff-qty-btn:hover {
    background: #e2e8f0 !important;
    color: #0d9488 !important;
}
.ff-single-product .quantity .qty {
    border: none !important;
    border-left: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    width: 46px !important;
    height: 48px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 0 4px !important;
    outline: none !important;
    -moz-appearance: textfield !important;
    background: #fff !important;
}
.ff-single-product .quantity .qty::-webkit-inner-spin-button,
.ff-single-product .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to Cart button */
.ff-single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button,
.ff-single-product .single_add_to_cart_button {
    background: #0d9488 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    height: 48px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    transition: all 0.3s !important;
    cursor: pointer !important;
    flex: 1 !important;
    white-space: nowrap !important;
}
.ff-single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover,
.ff-single-product .single_add_to_cart_button:hover {
    background: #0f766e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(13,148,136,0.3) !important;
}

/* Buy Now button */
.ff-single-product .ff-buy-now-btn {
    background: #00B4D8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    height: 48px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    flex: 1 !important;
    white-space: nowrap !important;
}
.ff-single-product .ff-buy-now-btn:hover {
    background: #0092af !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,180,216,0.3) !important;
}

/* Mobile */
@media (max-width: 600px) {
    .ff-single-product .cart,
    .ff-single-product .woocommerce-variation-add-to-cart {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .ff-single-product .quantity,
    .ff-single-product .woocommerce-variation-add-to-cart .quantity {
        width: 100% !important;
        justify-content: center !important;
    }
    .ff-single-product .quantity .qty {
        flex: 1 !important;
    }
    .ff-single-product .single_add_to_cart_button,
    .ff-single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button,
    .ff-single-product .ff-buy-now-btn {
        flex: 1 1 calc(50% - 5px) !important;
        height: 48px !important;
        font-size: 13px !important;
        padding: 0 12px !important;
    }
}

/* ── Trust Badges ── */
.ff-trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}
.ff-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}
.ff-trust-badge i {
    color: #0d9488;
    font-size: 15px;
}

/* ── SKU & Meta ── */
.ff-single-product .product_meta {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 13px !important;
    color: #94a3b8 !important;
}
.ff-single-product .product_meta > span {
    display: block !important;
    margin-bottom: 6px !important;
}
.ff-single-product .product_meta .sku_wrapper,
.ff-single-product .product_meta .posted_in,
.ff-single-product .product_meta .tagged_as {
    font-size: 13px !important;
}
.ff-single-product .product_meta a {
    color: #0d9488 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}
.ff-single-product .product_meta a:hover {
    text-decoration: underline !important;
}

/* ── Product Tabs ── */
.ff-single-product .woocommerce-tabs {
    width: 100% !important;
    clear: both !important;
    padding-top: 10px !important;
    margin-top: 0 !important;
}
.ff-single-product .woocommerce-tabs ul.tabs,
.ff-single-product .woocommerce-tabs ul.wc-tabs {
    display: flex !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    gap: 0 !important;
    background: none !important;
}
.ff-single-product .woocommerce-tabs ul.tabs::before,
.ff-single-product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}
.ff-single-product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    position: relative !important;
}
.ff-single-product .woocommerce-tabs ul.tabs li::before,
.ff-single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}
.ff-single-product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #64748b !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -2px !important;
    transition: color 0.3s, border-color 0.3s !important;
    background: none !important;
}
.ff-single-product .woocommerce-tabs ul.tabs li.active a {
    color: #0d9488 !important;
    border-bottom-color: #0d9488 !important;
}
.ff-single-product .woocommerce-tabs ul.tabs li a:hover {
    color: #0d9488 !important;
}
.ff-single-product .woocommerce-tabs .woocommerce-Tabs-panel,
.ff-single-product .woocommerce-tabs .panel {
    padding: 28px 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}
.ff-single-product .woocommerce-tabs .panel > h2:first-child {
    font-size: 22px !important;
    color: #1e293b !important;
    margin-bottom: 18px !important;
    font-weight: 700 !important;
}
.ff-single-product .woocommerce-tabs .panel p,
.ff-single-product .woocommerce-tabs .panel li {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #475569 !important;
}
.ff-single-product .woocommerce-tabs .panel ul {
    padding-left: 20px !important;
    margin-bottom: 16px !important;
}
.ff-single-product .woocommerce-tabs .panel ul li {
    margin-bottom: 8px !important;
}
.ff-single-product .woocommerce-tabs .panel ul li strong {
    color: #1e293b !important;
}
.ff-single-product .woocommerce-tabs .panel h2,
.ff-single-product .woocommerce-tabs .panel h3 {
    color: #1e293b !important;
    margin-top: 20px !important;
    margin-bottom: 12px !important;
}

/* ── Category Page Header ── */
.term-description,
.woocommerce .term-description {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
}

/* ── Related Products ── */
.ff-single-product .related.products,
.ff-single-product section.related {
    width: 100% !important;
    clear: both !important;
    padding-top: 40px !important;
    border-top: 1px solid #e2e8f0 !important;
    margin-top: 20px !important;
}
.ff-single-product .related.products > h2,
.ff-single-product section.related > h2 {
    font-size: 24px !important;
    color: #1e293b !important;
    margin-bottom: 24px !important;
    text-align: center !important;
    font-weight: 700 !important;
}

/* ── Cart Page ── */
.woocommerce table.shop_table {
    border-radius: 12px;
    overflow: hidden;
    border-collapse: collapse;
    border: 1px solid #e2e8f0;
}
.woocommerce table.shop_table th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}
.woocommerce table.shop_table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.woocommerce table.shop_table td.product-name a {
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
}
.woocommerce table.shop_table td.product-name a:hover {
    color: #0d9488;
}
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
    font-weight: 600;
    color: #0d9488;
}
.woocommerce a.remove {
    color: #ef4444 !important;
    font-size: 20px;
}
.woocommerce a.remove:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

/* ── Cart Actions ── */
.woocommerce .coupon .input-text {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
}
.woocommerce .coupon .button {
    background: #475569 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 600;
}
.woocommerce button[name="update_cart"] {
    background: #475569 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
}

/* ── Cart Totals ── */
.woocommerce .cart_totals {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}
.woocommerce .cart_totals h2 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 16px;
}

/* ── Proceed to Checkout Button (Cart page) ── */
.wc-block-cart__submit-container a.wc-block-cart__submit-button,
.wc-block-cart__submit-container .wc-block-components-checkout-place-order-button,
a.checkout-button,
.wc-proceed-to-checkout a.checkout-button,
a.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block a {
    display: block !important;
    background: #0d9488 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: background 0.3s !important;
    width: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    margin-top: 16px !important;
}
.wc-block-cart__submit-container a.wc-block-cart__submit-button:hover,
a.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
a.wc-block-cart__submit-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block a:hover {
    background: #0f766e !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* ── Checkout Block Spacing ── */
.wc-block-checkout__contact-fields .wc-block-components-checkbox,
.wc-block-checkout__contact-fields .wc-block-components-checkbox-list,
.wc-block-checkout .wc-block-components-checkbox {
    margin-top: 14px !important;
}
.wc-block-checkout .wc-block-components-text-input,
.wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input {
    margin-bottom: 12px !important;
}

/* ── Checkout ── */
.woocommerce .checkout .form-row input,
.woocommerce .checkout .form-row select,
.woocommerce .checkout .form-row textarea {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
}
.woocommerce .checkout .form-row input:focus,
.woocommerce .checkout .form-row select:focus,
.woocommerce .checkout .form-row textarea:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 2px rgba(13,148,136,0.15);
    outline: none;
}
.woocommerce #place_order,
.woocommerce .wc-proceed-to-checkout .checkout-button {
    background: #0d9488 !important;
    color: #fff !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 32px;
    transition: background 0.3s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.woocommerce #place_order:hover,
.woocommerce .wc-proceed-to-checkout .checkout-button:hover {
    background: #0f766e !important;
}

/* ── Breadcrumbs (hidden — using theme banner instead) ── */
.woocommerce .woocommerce-breadcrumb {
    display: none;
}

/* ── Notices ── */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #0d9488 !important;
    background: #f0fdfa !important;
    border-radius: 8px !important;
    margin-bottom: 24px !important;
    padding: 16px 20px 16px 50px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #1e293b !important;
    position: relative !important;
    z-index: 1 !important;
}
.woocommerce-message::before,
.woocommerce-info::before {
    color: #0d9488 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 18px !important;
}
.woocommerce-error {
    border-top-color: #ef4444 !important;
    background: #fef2f2;
    border-radius: 8px;
}
.woocommerce-message a.button {
    background: #0d9488 !important;
    color: #fff !important;
    border-radius: 6px !important;
    border: none !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    display: inline-block !important;
    margin-left: 10px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}
.woocommerce-message a.button:hover {
    background: #0f766e !important;
    color: #fff !important;
}
/* Single product notice — push below sticky header */
.ff-single-product .woocommerce-message,
.ff-single-product .woocommerce-info {
    margin-top: 10px !important;
}

/* ── No Products Found ── */
.woocommerce-info.wc-empty-cart-message,
.woocommerce .woocommerce-info {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
}

/* ── My Account ── */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #e2e8f0;
}
.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f0fdfa;
    color: #0d9488;
    font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .ff-shop-banner {
        min-height: 200px !important;
        margin-top: 70px !important;
    }
    /* Push product page content below sticky header on mobile */
    .ff-single-product .ff-wc-content {
        padding-top: 80px !important;
    }
    /* WC notices on mobile */
    .ff-single-product .woocommerce-message,
    .ff-single-product .woocommerce-info,
    .ff-wc-content .woocommerce-message,
    .ff-wc-content .woocommerce-info {
        margin-top: 10px !important;
        font-size: 13px !important;
        padding: 14px 14px 14px 44px !important;
    }
    .ff-shop-banner-content {
        padding: 40px 0 !important;
    }
    .ff-shop-banner-content h1 {
        font-size: 30px !important;
    }
    .ff-shop-layout {
        flex-direction: column !important;
    }
    .ff-shop-sidebar {
        width: 100% !important;
        min-width: 100% !important;
        order: -1 !important;
        position: static !important;
        margin-bottom: 16px !important;
        padding: 0 12px !important;
    }
    .ff-shop-sidebar .ff-widget-title {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }
    .ff-shop-sidebar .ff-shop-widget ul,
    .ff-shop-sidebar .ff-shop-widget ul.children {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px 8px !important;
    }
    .ff-shop-sidebar .ff-shop-widget ul li {
        display: inline-block !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }
    .ff-shop-sidebar .ff-shop-widget ul li a {
        padding: 12px 20px !important;
        font-size: 14px !important;
        display: inline-flex !important;
        border-radius: 24px !important;
    }
    .ff-shop-sidebar .ff-shop-widget {
        margin-bottom: 12px !important;
        padding-bottom: 12px !important;
        padding-top: 4px !important;
    }
    ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .ff-single-product div.product {
        flex-direction: column !important;
        gap: 24px !important;
    }
    .ff-single-product div.product .woocommerce-product-gallery,
    .ff-single-product div.product div.images {
        width: 100% !important;
    }
    .ff-single-product div.product .summary {
        width: 100% !important;
    }
}
@media (max-width: 575px) {
    ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    ul.products li.product a img,
    .woocommerce ul.products li.product a img {
        padding: 10px !important;
    }
    ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
        padding: 10px 10px 4px !important;
    }
    ul.products li.product .price,
    .woocommerce ul.products li.product .price {
        padding: 0 10px 10px !important;
        font-size: 15px !important;
    }
    ul.products li.product .button,
    .woocommerce ul.products li.product .button {
        font-size: 12px !important;
        padding: 10px !important;
        margin: 0 10px 10px !important;
        width: calc(100% - 20px) !important;
    }
    .ff-single-product .product_title {
        font-size: 22px !important;
    }
    .ff-single-product div.product p.price,
    .ff-single-product div.product span.price {
        font-size: 22px !important;
    }
    .ff-single-product .single_add_to_cart_button {
        max-width: 100% !important;
    }
    .ff-trust-badges {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .ff-single-product .woocommerce-tabs ul.tabs li a {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
    .ff-single-product .flex-control-thumbs li {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Price suffix (+ 18% GST) smaller than main price */
.woocommerce-price-suffix {
    font-size: 0.55em !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    vertical-align: middle !important;
}
