/* =========================================================
   BETHLIVING SHOP PAGE
   Brand: #007FAE
========================================================= */


/* =========================================================
   SHOP PAGE BASE
========================================================= */

.beth-shop-page {
    background: #ffffff;
    color: #172126;
}

.beth-shop-page .container {
    max-width: 1440px;
}


/* =========================================================
   SHOP HERO
========================================================= */

.beth-shop-hero {
    background: #f4f8f9;
    padding: 90px 0;
    overflow: hidden;
}

.beth-shop-hero-inner {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.beth-shop-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.beth-shop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #007FAE;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.beth-shop-eyebrow::before {
    content: "";
    width: 36px;
    height: 2px;
    background: #007FAE;
}

.beth-shop-hero-content .beth-shop-title {
    margin: 0;
    max-width: 760px;
    color: #172126;
    font-size: clamp(44px, 5vw, 76px) !important;
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -2.5px;
}

.beth-shop-title span {
    display: block;
    color: #007FAE;
}

.beth-shop-description {
    max-width: 540px;
    margin: 28px 0 34px;
    color: #64747b;
    font-size: 17px;
    line-height: 1.7;
}

.beth-shop-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 15px 24px;
    background: #007FAE;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.beth-shop-hero-button span {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.beth-shop-hero-button:hover {
    background: #006b92;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.beth-shop-hero-button:hover span {
    transform: translateX(5px);
}

.beth-shop-category-nav {
    padding: 60px 0px;
    background: rgb(244, 248, 249);
}

/* Hero decorative element */

.beth-shop-hero-accent {
    width: 190px;
    height: 190px;
    border: 1px solid rgba(0, 127, 174, 0.20);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    margin-right: 8%;
}

.beth-shop-hero-number {
    color: #007FAE;
    font-size: 44px;
    line-height: 1;
    font-weight: 300;
}

.beth-shop-hero-line {
    width: 40px;
    height: 1px;
    background: #007FAE;
    margin: 15px 0;
}

.beth-shop-hero-label {
    color: #7b898e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}


/* =========================================================
   CATEGORY NAVIGATION
========================================================= */

.beth-shop-categories {
    padding: 65px 0 35px;
    background: #ffffff;
}

.beth-shop-section-heading {
    margin-bottom: 28px;
}

.beth-shop-section-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #007FAE;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.beth-shop-section-heading h2 {
    margin: 0;
    color: #172126;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.8px;
}

.beth-shop-category-list {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.beth-shop-category-list::-webkit-scrollbar {
    display: none;
}

.beth-shop-category-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #dce5e8;
    color: #46565c !important;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.beth-shop-category-link:hover,
.beth-shop-category-link.active {
    border-color: #007FAE;
    background: #007FAE;
    color: #ffffff !important;
}


/* =========================================================
   SHOP CONTROLS
========================================================= */

.beth-shop-products {
    padding: 25px 0 90px;
}

.beth-shop-controls {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 16px 0;
    border-top: 1px solid #e5ecef;
    border-bottom: 1px solid #e5ecef;
}

.beth-shop-control-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.beth-shop-control-label {
    color: #007FAE;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.beth-shop-control-left .woocommerce-result-count {
    margin: 0;
    color: #78868b;
    font-size: 13px;
}


/* WooCommerce sorting */

.beth-shop-control-right .woocommerce-ordering {
    margin: 0;
}

.beth-shop-control-right .orderby {
    min-width: 190px;
    height: 42px;
    padding: 0 38px 0 14px;
    border: 1px solid #dce5e8;
    border-radius: 0;
    background-color: #ffffff;
    color: #34444a;
    font-size: 13px;
    outline: none;
}

.beth-shop-control-right .orderby:focus {
    border-color: #007FAE;
}


/* =========================================================
   PRODUCT AREA
========================================================= */

.beth-shop-product-area {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 35px;
    align-items: start;
}


/* =========================================================
   FILTER SIDEBAR
========================================================= */

.beth-shop-sidebar {
    position: sticky;
    top: 30px;
}

.beth-shop-filter-box {
    padding: 24px;
    border: 1px solid #e3eaed;
    background: #f8fafb;
}

.beth-shop-filter-heading {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    border-bottom: 1px solid #dfe7ea;
}

.beth-shop-filter-heading span {
    color: #007FAE;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.beth-shop-filter-heading strong {
    margin-top: 5px;
    color: #172126;
    font-size: 20px;
    font-weight: 500;
}

.beth-shop-filter-section {
    padding-top: 24px;
}

.beth-shop-filter-section h3 {
    margin: 0 0 15px;
    color: #172126;
    font-size: 14px;
    font-weight: 600;
}

.beth-shop-filter-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.beth-shop-filter-section li {
    margin: 0;
    padding: 0;
}

.beth-shop-filter-section li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    color: #64747b !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.beth-shop-filter-section li a:hover {
    color: #007FAE !important;
    padding-left: 4px;
}

.beth-shop-filter-section li small {
    color: #9aa6aa;
    font-size: 11px;
}


/* =========================================================
   PRODUCT GRID WRAPPER
========================================================= */

.beth-shop-products-grid {
    min-width: 0;
}


/* WooCommerce automatically creates the products list here */

.beth-shop-products-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
    margin: 0 !important;
    padding: 0 !important;
}

.beth-shop-products-grid ul.products::before,
.beth-shop-products-grid ul.products::after {
    display: none !important;
}


/* Remove WooCommerce default item width */

.beth-shop-products-grid ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   PAGINATION
========================================================= */

.beth-shop-pagination {
    margin-top: 55px;
    text-align: center;
}

.beth-shop-pagination .woocommerce-pagination {
    margin: 0;
}

.beth-shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin: 0 3px !important;
    padding: 0 12px;
    border: 1px solid #dce5e8 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #46565c !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.beth-shop-pagination .page-numbers:hover,
.beth-shop-pagination .page-numbers.current {
    border-color: #007FAE !important;
    background: #007FAE !important;
    color: #ffffff !important;
}


/* =========================================================
   EMPTY SHOP
========================================================= */

.beth-shop-empty {
    padding: 90px 20px;
    text-align: center;
    border-top: 1px solid #e5ecef;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1199px) {

    .beth-shop-hero {
        padding: 70px 0;
    }

    .beth-shop-hero-inner {
        min-height: 360px;
    }

    .beth-shop-hero-accent {
        width: 160px;
        height: 160px;
        margin-right: 3%;
    }

    .beth-shop-title {
        font-size: clamp(42px, 5vw, 64px);
    }

    .beth-shop-product-area {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 25px;
    }

    .beth-shop-products-grid ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 16px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 991px) {

    .beth-shop-hero {
        padding: 60px 0;
    }

    .beth-shop-hero-inner {
        min-height: auto;
    }

    .beth-shop-hero-accent {
        display: none;
    }

    .beth-shop-product-area {
        display: block;
    }

    .beth-shop-sidebar {
        display: none;
    }

    .beth-shop-products-grid ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .beth-shop-hero {
        padding: 48px 0 55px;
    }

    .beth-shop-eyebrow {
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 1.6px;
    }

    .beth-shop-eyebrow::before {
        width: 25px;
    }

    .beth-shop-title {
        font-size: 43px;
        line-height: 1;
        letter-spacing: -1.8px;
    }

    .beth-shop-description {
        margin: 22px 0 28px;
        font-size: 14px;
        line-height: 1.6;
    }

    .beth-shop-hero-button {
        padding: 13px 18px;
        font-size: 12px;
    }

    .beth-shop-categories {
        padding: 45px 0 25px;
    }

    .beth-shop-section-heading h2 {
        font-size: 28px;
    }

    .beth-shop-category-link {
        min-height: 40px;
        padding: 8px 16px;
        font-size: 12px;
    }

    .beth-shop-products {
        padding: 20px 0 60px;
    }

    .beth-shop-controls {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 22px;
        padding: 15px 0;
    }

    .beth-shop-control-left {
        width: 100%;
        justify-content: space-between;
    }

    .beth-shop-control-right {
        width: 100%;
    }

    .beth-shop-control-right .woocommerce-ordering {
        width: 100%;
    }

    .beth-shop-control-right .orderby {
        width: 100%;
        min-width: 0;
    }

    .beth-shop-products-grid ul.products {
        gap: 22px 10px;
    }

    .beth-shop-pagination {
        margin-top: 40px;
    }

    .beth-shop-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        margin: 0 1px !important;
        padding: 0 8px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .beth-shop-title {
        font-size: 38px;
    }

    .beth-shop-products-grid ul.products {
        gap: 18px 8px;
    }

}

/* =========================================================
   BETHLIVING PRODUCT CARDS
========================================================= */

.beth-shop-products-grid ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}


/* Card */

.beth-shop-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beth-shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(23, 33, 38, 0.09);
}


/* =========================================================
   IMAGE
========================================================= */

.beth-shop-card-image {
    position: relative;
    height: 310px;
    overflow: hidden;
    background: #f7f9fa;
}

.beth-shop-image-link {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.beth-shop-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.beth-shop-card:hover .beth-shop-product-image {
    transform: scale(1.05);
}


/* =========================================================
   WISHLIST
========================================================= */

.beth-shop-wishlist {
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 14px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 1px solid #dce5e8;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);
    color: #34444a;

    cursor: pointer;

    transition: all 0.25s ease;
}

.beth-shop-wishlist i {
    font-size: 17px;
    line-height: 1;
}

.beth-shop-wishlist:hover,
.beth-shop-wishlist.active {
    border-color: #007FAE;
    background: #007FAE;
    color: #ffffff;
}


/* Wishlist loading */

.beth-shop-wishlist.beth-wishlist-loading {
    opacity: 0.5;
    pointer-events: none;
}


/* =========================================================
   SALE BADGE
========================================================= */

.beth-shop-sale-badge {
    position: absolute;
    z-index: 5;
    top: 15px;
    left: 15px;

    padding: 6px 10px;

    background: #007FAE;
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   IMAGE HOVER OVERLAY
========================================================= */

.beth-shop-image-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-bottom: 20px;

    background: linear-gradient(
        to top,
        rgba(23, 33, 38, 0.55),
        rgba(23, 33, 38, 0)
    );

    opacity: 0;
    transition: opacity 0.3s ease;
}

.beth-shop-card:hover .beth-shop-image-overlay {
    opacity: 1;
}

.beth-shop-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 10px 16px;

    background: #ffffff;
    color: #172126;

    font-size: 12px;
    font-weight: 600;
}

.beth-shop-explore span {
    color: #007FAE;
    font-size: 17px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.beth-shop-card-content {
    display: flex;
    flex-direction: column;

    min-height: 220px;
    padding: 20px 20px 22px;
}


/* Product number */

.beth-shop-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    color: #007FAE;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.beth-shop-card-line {
    width: 25px;
    height: 1px;
    background: #007FAE;
}


/* Title */

.beth-shop-card-title {
    margin: 0 0 12px;

    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.beth-shop-card-title a {
    color: #172126 !important;
    text-decoration: none !important;

    transition: color 0.2s ease;
}

.beth-shop-card-title a:hover {
    color: #007FAE !important;
}


/* =========================================================
   PRICE
========================================================= */

.beth-shop-card-price {
    margin-bottom: 18px;

    color: #172126;

    font-size: 17px;
    font-weight: 700;
}

.beth-shop-card-price del {
    margin-right: 5px;

    color: #9aa6aa;
    font-size: 13px;
    font-weight: 400;
}

.beth-shop-card-price ins {
    color: #007FAE;
    text-decoration: none;
}


/* =========================================================
   BUTTON
========================================================= */

.beth-shop-card-action {
    margin-top: auto;
}

.beth-shop-card-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 44px;
    padding: 10px 15px;

    border: 1px solid #007FAE;

    background: #007FAE;
    color: #ffffff !important;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all 0.25s ease;
}

.beth-shop-card-button span {
    font-size: 17px;
    transition: transform 0.25s ease;
}

.beth-shop-card-button:hover {
    background: #006b92;
    border-color: #006b92;
    color: #ffffff !important;
}

.beth-shop-card-button:hover span {
    transform: translateX(4px);
}


/* Choose Options */

.beth-shop-options-button {
    background: #ffffff;
    color: #007FAE !important;
}

.beth-shop-options-button:hover {
    background: #007FAE;
    color: #ffffff !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .beth-shop-card-image {
        height: 250px;
    }

    .beth-shop-card-content {
        min-height: 205px;
        padding: 16px 15px 18px;
    }

    .beth-shop-card-title {
        font-size: 14px;
    }

}


@media (max-width: 575px) {

    .beth-shop-card-image {
        height: 190px;
    }

    .beth-shop-product-image {
        padding: 12px;
    }

    .beth-shop-wishlist {
        top: 9px;
        right: 9px;

        width: 34px;
        height: 34px;
    }

    .beth-shop-wishlist i {
        font-size: 15px;
    }

    .beth-shop-sale-badge {
        top: 9px;
        left: 9px;

        padding: 5px 7px;
        font-size: 8px;
    }

    .beth-shop-card-content {
        min-height: 190px;
        padding: 14px 12px 14px;
    }

    .beth-shop-card-meta {
        margin-bottom: 8px;
        font-size: 8px;
    }

    .beth-shop-card-title {
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 1.4;
    }

    .beth-shop-card-price {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .beth-shop-card-button {
        min-height: 38px;
        padding: 8px 8px;
        font-size: 10px;
        gap: 7px;
    }

    .beth-shop-card-button span {
        font-size: 14px;
    }

    .beth-shop-image-overlay {
        display: none;
    }

}

/* =========================================================
   SHOP PRODUCT GRID
   ========================================================= */

.beth-shop-products-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Remove WooCommerce / Bootstrap column behaviour */
.beth-shop-products-grid ul.products > li.product,
.beth-shop-products-grid ul.products > li.beth-shop-product-card {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Make sure the card stays inside its grid cell */
.beth-shop-products-grid .beth-shop-card {
    width: 100%;
    height: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .beth-shop-products-grid ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .beth-shop-products-grid ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

}
/* =========================================================
   BETHLIVING SHOP PRODUCT GRID
   Actual WooCommerce markup:
   .products > li.product
   ========================================================= */

.beth-shop-products .products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px !important;

    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Override Bootstrap .row > * and WooCommerce columns */
.beth-shop-products .products > li.product {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    clear: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Tablet */
@media (max-width: 991.98px) {

    .beth-shop-products .products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }

}


/* Mobile */
@media (max-width: 767.98px) {

    .beth-shop-products .products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

}