/* =========================================================
Common
========================================================= */

.category-section {
    width: 95%;
    max-width: 100%;
    margin: 0 auto 30px;
    padding-top: 0 !important;
}

/* =========================================================
Banner
========================================================= */

.category-hero-custom {
    position: relative;
    min-height: clamp(760px, 100vh, 980px);
    padding: 160px 80px 180px;
    border-radius: 30px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
 background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}



.category-hero-custom__content {
    position: relative;
    z-index: 3;
    max-width: 65%;
	padding-top:90px!important;
    transform: translateY(-30px);
}

.category-hero-custom__breadcrumb {
    margin-bottom: 40px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.category-hero-custom__breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.category-hero-custom__breadcrumb a:hover {
    color: #47AD23;
}

.category-hero-custom__breadcrumb .breadcrumb-separator {
    margin: 0 8px;
    color: rgba(255,255,255,.65);
}

.category-hero-custom__breadcrumb .breadcrumb-current {
    color: #47AD23;
}

.category-hero-custom h1 {
    color: #fff;
    font-size: 58px;
    line-height: 1.1;
    font-weight: 500;
    margin: 0 0 25px;
}

.category-hero-custom h1 span {
    color: #47AD23;
}

.category-hero-custom__text {
    color: rgba(255,255,255,.85);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 620px;
}

.category-hero-custom__buttons {
    display: flex;
    gap: 18px;
}

.category-hero-custom__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}
.category-hero-custom__btn:hover,.category-hero-custom__btn span:hover {
   
    color: #fff;

}
.category-hero-custom__btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}
 .quotebtn.category-hero-custom__btn img {
    width: 22px;
    height: 22px;
   
}
.category-hero-custom__btn:hover {
    transform: translateY(-2px);
}

.category-hero-custom__btn--primary {
    background: linear-gradient(
        90deg,
        #47AD23 0%,
        #9FD448 100%
    );
    color: #fff;
    border: none;
}

.category-hero-custom__btn--secondary {
    background: transparent;
    border: 1px solid rgba(126,211,33,.75);
    color: #fff;
}

/* =========================================================
Feature Bar
========================================================= */

.category-hero-custom__bottom {
    position: absolute;
    left: 60px;
    right: 60px;
    bottom: 60px;
    z-index: 3;
}

.category-hero-custom__features {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
  
	
	    background: rgba(23, 29, 33, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,.05);

    border-radius: 12px;
    padding: 24px 28px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.25);
}

.category-hero-custom__feature {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 26px;
}

.category-hero-custom__feature:first-child {
    padding-left: 0;
}

.category-hero-custom__feature:last-child {
    padding-right: 0;
}

.category-hero-custom__feature:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 48px;
    transform: translateY(-50%);
    background-image: url("https://optwebdigital.com.au/projects/alpha-new/wp-content/uploads/2026/06/line.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.category-hero-custom__feature img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.category-hero-custom__feature-content {
    display: flex;
    flex-direction: column;
}

.category-hero-custom__feature strong {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
}

.category-hero-custom__feature span {
    color: rgba(255,255,255,.55);
    font-size: 12px;
    line-height: 1.4;
}

/* =========================================================
Large Screens
========================================================= */

@media (max-width: 1400px) {
    .category-hero-custom {
        min-height: clamp(720px, 100vh, 920px);
        padding: 150px 70px 180px;
    }

    .category-hero-custom__content {
        max-width: 70%;
    }

    .category-hero-custom__features {
        width: 80%;
    }
}

@media (max-width: 1200px) {
    .category-hero-custom {
        min-height: clamp(740px, 100vh, 900px);
        padding: 150px 60px 180px;
    }

    .category-hero-custom__content {
        max-width: 75%;
        transform: translateY(-20px);
		padding-top:90px!important;
    }

    .category-hero-custom h1 {
        font-size: 62px;
    }

    .category-hero-custom__features {
        width: 90%;
    }

    .category-hero-custom__bottom {
        left: 45px;
        right: 45px;
        bottom: 50px;
    }
}

/* =========================================================
Tablet
========================================================= */

@media (max-width: 1024px) {

    .category-hero-custom {
        min-height: auto;
        padding: 130px 40px 45px;
        display: block;
    }

    .category-hero-custom__content {
        max-width: 100%;
        transform: none;
		padding-top:90px!important;
    }

    .category-hero-custom h1 {
        font-size: 52px;
    }

    .category-hero-custom__bottom {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 45px;
        width: 100%;
    }

    .category-hero-custom__features {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-hero-custom__feature:nth-child(2)::after {
        display: none;
    }
}

/* =========================================================
Mobile
========================================================= */

@media (max-width: 767px) {

    .category-section {
        width: 95%;
        margin-bottom: 25px;
    }

    .category-hero-custom {
        min-height: auto;
        padding: 110px 20px 25px;
        border-radius: 20px;
        display: block;

        /* Show image more on the right */
        background-position: 78% center;
        background-size: cover;
    }

    /* Stronger mobile overlay */
    .category-hero-custom__overlay {
        position: absolute;
        inset: 0;
        z-index: 1;

        background: linear-gradient(
            90deg,
            rgba(0,0,0,.96) 0%,
            rgba(0,0,0,.88) 45%,
            rgba(0,0,0,.55) 100%
        );
    }

    .category-hero-custom__content {
        max-width: 100%;
        transform: none;
        padding-top: 110px !important;
        position: relative;
        z-index: 3;
    }

    .category-hero-custom__breadcrumb {
        margin-bottom: 20px;
        font-size: 12px;
        line-height: 1.5;
    }

    .category-hero-custom h1 {
        font-size: 32px;
        line-height: 1.08;
        margin-bottom: 20px;
    }

    .category-hero-custom__text {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .category-hero-custom__buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 25px;
    }

    .category-hero-custom__btn {
        width: 100%;
        justify-content: center;
    }

    .category-hero-custom__bottom {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 25px;
        z-index: 3;
    }

    .category-hero-custom__features {
        width: 100%;
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 0;
    }

    .category-hero-custom__feature {
        padding: 0 0 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .category-hero-custom__feature:not(:last-child)::after {
        display: none;
    }

    .category-hero-custom__feature:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}


button:hover, button:focus, button:active, .button:hover, .button:focus, .button:active, .wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-element-button:hover, .wp-element-button:focus, .wp-element-button:active, input[type=button]:hover, input[type=button]:focus, input[type=button]:active, input[type=reset]:hover, input[type=reset]:focus, input[type=reset]:active, input[type=submit]:hover, input[type=submit]:focus, input[type=submit]:active {
    color: white;
    background: #4abe6e;
}
/* =========================================================
Product Category Filter + Grid
========================================================= */

.alpha-products-section {
    padding: 70px 0 100px;
}

.alpha-products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 35px;
}

.alpha-products-header h2 {
    margin: 0 0 8px;
    color: #1f7a1f;
    font-size: 34px;
    font-weight: 700;
}

.alpha-products-header p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* Sort Dropdown */

.alpha-sort-wrap {
    position: relative;
    width: 190px;
    min-width: 190px;
    height: 42px;
}

#alpha-product-sort {
    width: 100%;
    height: 42px;
    padding: 0 42px;
    border: 1px solid #47AD23;
    border-radius: 6px;
    background: #fff;
    color: #2A7B2E;
    font-size: 15px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    outline: none;
    line-height: 42px;
}

.alpha-sort-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    object-fit: contain;
    pointer-events: none;
}

.alpha-sort-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    object-fit: contain;
    pointer-events: none;
}

/* Desktop Layout */

.alpha-products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 35px;
    align-items: flex-start;
}

.alpha-mobile-filter-toggle {
    display: none;
}

/* Sidebar Filter */

.alpha-product-filters {
    display: block;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
    position: sticky;
    top: 120px;
}

.alpha-product-filters h3 {
    margin: 0 0 20px;
    color: #46b248;
    font-size: 20px;
    font-weight: 700;
}

.alpha-product-filters h4 {
    margin: 0 0 12px;
    color: #3a9c3d;
    font-size: 15px;
    font-weight: 700;
}

.alpha-product-filters label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

#alpha-product-search {
    width: 100%;
    height: 44px;
    margin-bottom: 24px;
    padding: 0 14px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
}

/* Custom Filter Radio Style */

.alpha-product-filters input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 16px;
    height: 16px;
    min-width: 16px;

    border: 1.5px solid #1f7a1f;
    border-radius: 50%;
    background: #fff;

    position: relative;
    cursor: pointer;
    margin: 0;
}

.alpha-product-filters input[type="radio"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 8px;
    height: 8px;

    background: #47AD23;
    border-radius: 50%;

    transform: translate(-50%, -50%) scale(0);
    transition: 0.2s ease;
}

.alpha-product-filters input[type="radio"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

.alpha-product-filters label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

#alpha-reset-filter {
    width: 100%;
    margin-top: 25px;
    padding: 11px 16px;
    border: none;
    border-radius: 6px;
    background: #46b248;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

#alpha-reset-filter:hover {
    background: #3a9c3d;
}

/* Product Grid */

.alpha-custom-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Product Card */

.alpha-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    transition: .3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.alpha-product-card:hover {
    transform: translateY(-5px);
}

.alpha-product-card__image {
    position: relative;
    display: block;
}

.alpha-product-card__image img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
}

.alpha-product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #7ED321;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.alpha-product-card__content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.alpha-product-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.alpha-product-card__rating .star-rating {
    margin: 0;
    color: #47AD23;
    font-size: 13px;
}

.alpha-product-card__rating span {
    color: #67717c;
    font-size: 13px;
}

.alpha-product-card__title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.alpha-product-card__title a {
    color: #17212b;
    text-decoration: none;
}

.alpha-product-card__desc {
    font-size: 13px;
    color: #67717c;
    line-height: 1.5;
    margin-bottom: 18px;
    min-height: 42px;
    max-height: 42px;
    overflow: hidden;
}

.alpha-product-card__footer {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
}

/* Price */

.alpha-product-card__price {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.alpha-product-card__amount {
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

.alpha-product-card__amount .amount,
.alpha-product-card__amount bdi {
    display: inline-flex;
    align-items: baseline;
    color: #17212b;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.4px;
}

.alpha-product-card__amount .woocommerce-Price-currencySymbol {
    display: inline-block;
    color: #17212b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    top: -5px;
    margin-right: 1px;
}

.alpha-product-card__price > span {
    display: block;
    font-size: 11px;
    color: #8a8f95;
}

/* Add To Cart */

.alpha-product-card__cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #218a19 !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: none !important;
    line-height: 1 !important;
}

.alpha-product-card__cart:hover,
.alpha-product-card__cart:focus,
.alpha-product-card__cart:active {
    background: #4abe6e !important;
    color: #fff !important;
}

.alpha-product-card__cart img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

/* Hide WooCommerce inline View Cart link */

.alpha-product-card a.added_to_cart {
    display: none !important;
}

/* Load More */

.alpha-load-more-wrap {
    text-align: center;
    margin-top: 45px;
}

#alpha-load-more {
    padding: 15px 38px;
    border: none;
    border-radius: 999px;
    background: #47AD23;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

#alpha-load-more:hover {
    background: #3a9c3d;
}

#alpha-load-more:disabled {
    opacity: .65;
    cursor: not-allowed;
}

#alpha-products-grid.is-loading {
    opacity: .55;
    pointer-events: none;
}

/* Add to cart popup */

.alpha-cart-popup {
    position: fixed;
    right: 100px;
    bottom: 24px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff;
    color: #17212b;
    box-shadow: 0 10px 35px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .3s ease;
}

.alpha-cart-popup.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.alpha-cart-popup span {
    font-size: 15px;
    font-weight: 600;
}

.alpha-cart-popup a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 6px;
    background: #348816;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.alpha-cart-popup a:hover {
    background: #2d7413;
    color: #fff;
}

/* Large Desktop */

@media (min-width: 1600px) {
    .alpha-custom-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Tablet + Mobile: filter button opens panel */

@media (max-width: 1024px) {
    .alpha-products-layout {
        display: block;
    }

    .alpha-mobile-filter-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        height: 56px;
        margin-bottom: 20px;
        padding: 0 18px;
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        background: #fff;
        color: #111;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0,0,0,.05);
    }

    .alpha-mobile-filter-toggle img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .alpha-product-filters {
        display: none;
        position: relative;
        top: auto;
        margin-bottom: 25px;
        padding: 18px;
        animation: alphaFilterFade .25s ease;
    }

    .alpha-products-layout.is-filter-open .alpha-product-filters {
        display: block;
    }

    .alpha-custom-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @keyframes alphaFilterFade {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mobile */

@media (max-width: 767px) {
    .alpha-products-section {
        padding: 45px 0 70px;
    }

    .alpha-products-header {
        flex-direction: column;
        gap: 18px;
    }

    .alpha-products-header h2 {
        font-size: 24px;
    }

    .alpha-sort-wrap {
        width: 100%;
        min-width: 100%;
    }

    #alpha-product-sort {
        width: 100%;
    }

    .alpha-custom-products-grid {
        grid-template-columns: 1fr;
    }

    .alpha-product-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .alpha-product-card__cart {
        width: 100%;
    }
.alpha-products-header {
   
    margin-bottom: 10px;
}
    .alpha-cart-popup {
        left: 16px;
        right: 16px;
        bottom: 18px;
        justify-content: space-between;
    }
}