/* ==========================================
   SABAL LABS — CLEAN COMPACT SHOP
   ========================================== */

/* SHOP GRID — 4 PRODUCTS DESKTOP */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

/* PRODUCT CARD */
.woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;

    background: #ffffff !important;
    border: 1px solid #e5dfd3 !important;
    border-radius: 14px !important;

    padding: 12px 12px 18px !important;

    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;

    overflow: hidden !important;
    transition: 0.2s ease;
}

/* CARD HOVER */
.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    border-color: #b58a35 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.07) !important;
}


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

/* Give image a clean contained area */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
}

/* IMPORTANT:
   Don't enlarge/crop the original image */
.woocommerce ul.products li.product a img {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;

    height: 190px !important;
    max-height: 190px !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 5px auto 18px !important;

    border-radius: 10px !important;
}


/* ==========================================
   PRODUCT INFORMATION
   ========================================== */

/* PRODUCT NAME */
.woocommerce ul.products li.product
.woocommerce-loop-product__title {

    color: #103f30 !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    line-height: 1.25 !important;

    padding: 0 !important;
    margin: 0 3px 7px !important;
}


/* REMOVE DESCRIPTION FROM SHOP */
.woocommerce ul.products li.product
.woocommerce-product-details__short-description,

.woocommerce ul.products li.product
.product-excerpt,

.woocommerce ul.products li.product p {

    display: none !important;
}


/* PRICE */
.woocommerce ul.products li.product .price {

    color: #b47d1b !important;

    font-size: 18px !important;
    font-weight: 800 !important;

    margin: 9px 3px 15px !important;
}


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

.woocommerce ul.products li.product .button {

    background: #0d4936 !important;
    color: white !important;

    border: none !important;
    border-radius: 50px !important;

    padding: 11px 18px !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    letter-spacing: .4px;

    text-transform: uppercase;

    min-height: 40px;
}


/* BUTTON HOVER */

.woocommerce ul.products li.product .button:hover {

    background: #b58a35 !important;
    color: #ffffff !important;
}


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

.woocommerce .woocommerce-result-count {

    color: #68736d !important;
    font-size: 14px !important;

}


.woocommerce .woocommerce-ordering select {

    background: white !important;

    border: 1px solid #ddd6c9 !important;

    border-radius: 8px !important;

    padding: 8px 30px 8px 10px !important;

    color: #123f31 !important;

    font-size: 13px !important;
}


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

@media (max-width: 1000px) {

    .woocommerce ul.products {

        grid-template-columns:
        repeat(3, minmax(0,1fr)) !important;

        gap: 16px !important;

    }

    .woocommerce ul.products li.product a img {

        height: 175px !important;
        max-height: 175px !important;

    }

}


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

@media (max-width: 700px) {

    .woocommerce ul.products {

        grid-template-columns:
        repeat(2, minmax(0,1fr)) !important;

        gap: 12px !important;

    }

    .woocommerce ul.products li.product {

        padding: 8px 8px 13px !important;

    }

    .woocommerce ul.products li.product a img {

        height: 145px !important;
        max-height: 145px !important;

        margin-bottom: 12px !important;

    }

    .woocommerce ul.products li.product
    .woocommerce-loop-product__title {

        font-size: 15px !important;

    }

    .woocommerce ul.products li.product .price {

        font-size: 15px !important;

    }

    .woocommerce ul.products li.product .button {

        width: 100%;

        font-size: 10px !important;

        padding: 9px 5px !important;

    }

}
/* ==========================================
   SABAL LABS — SINGLE PRODUCT PAGE CLEANUP
   ========================================== */

/* Main product layout */
.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

/* Product image area */
.single-product div.product .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Main product image */
.single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-height: 620px !important;
    object-fit: contain !important;
    border-radius: 18px !important;
    background: #f6f2e8;
}

/* Product summary */
.single-product div.product .summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 10px 0 0 !important;
}

/* Product title */
.single-product .product_title {
    color: #0b3d2e !important;
    font-size: 36px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
}

/* Price */
.single-product .summary .price {
    color: #b27b1a !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    margin-bottom: 24px !important;
}

/* Short description */
.single-product .woocommerce-product-details__short-description {
    color: #3e4944;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 620px;
}

/* Variation table */
.single-product table.variations {
    width: 100% !important;
    margin: 0 0 18px !important;
    border: 0 !important;
}

.single-product table.variations tr {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

/* Variation label */
.single-product table.variations th.label {
    padding: 0 !important;
    text-align: left !important;
}

.single-product table.variations th.label label {
    color: #1a2f27;
    font-size: 15px;
    font-weight: 700;
}

/* Variation dropdown */
.single-product table.variations select {
    width: 100% !important;
    min-height: 48px;
    padding: 0 14px !important;
    border: 1px solid #d8d2c5 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #1c332a !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

/* Remove awkward reset link spacing */
.single-product .reset_variations {
    display: inline-block;
    margin-top: 8px;
    color: #8a6b2a !important;
    font-size: 12px !important;
}

/* Add to cart row */
.single-product form.cart {
    margin-top: 20px !important;
}

/* Quantity */
.single-product form.cart .quantity {
    margin-right: 10px !important;
}

.single-product form.cart .qty {
    width: 70px !important;
    min-height: 46px;
    border: 1px solid #d8d2c5 !important;
    border-radius: 10px !important;
    padding: 0 10px !important;
    text-align: center;
}

/* Add to Cart */
.single-product .single_add_to_cart_button {
    min-height: 46px !important;
    padding: 0 26px !important;

    background: #0b3d2e !important;
    color: #ffffff !important;

    border: none !important;
    border-radius: 999px !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    text-transform: uppercase;
    letter-spacing: .4px;

    transition: 0.2s ease;
}

.single-product .single_add_to_cart_button:hover {
    background: #b98932 !important;
    color: #ffffff !important;
}

/* Disabled cart button */
.single-product .single_add_to_cart_button.disabled {
    opacity: .45 !important;
}

/* Variation price spacing */
.single-product .woocommerce-variation-price {
    margin: 16px 0 !important;
}

/* SKU / meta */
.single-product .product_meta {
    margin-top: 24px !important;
    padding-top: 18px;
    border-top: 1px solid #e5ded2;
    color: #66716b;
    font-size: 13px;
}

/* Express payment area */
.single-product .wcpay-payment-request-wrapper,
.single-product .wc-block-components-express-payment,
.single-product .express-payment-methods {
    margin-top: 18px !important;
}

/* WooPay / Apple Pay buttons */
.single-product button.wcpay-payment-request-button,
.single-product .wcpay-payment-request-button,
.single-product .wc-block-components-express-payment__event-buttons button {
    border-radius: 10px !important;
    overflow: hidden;
}

/* Tabs / description lower on page */
.single-product .woocommerce-tabs {
    margin-top: 60px !important;
    padding-top: 30px;
    border-top: 1px solid #e5ded2;
}

/* Tabs navigation */
.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 10px;
    border: 0 !important;
    padding: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li {
    border: 1px solid #d9d2c5 !important;
    background: #ffffff !important;
    border-radius: 999px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
    padding: 10px 18px !important;
    color: #0b3d2e !important;
    font-weight: 700 !important;
}

.single-product .woocommerce-tabs ul.tabs li.active {
    background: #0b3d2e !important;
    border-color: #0b3d2e !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #ffffff !important;
}

/* Related products */
.single-product .related.products {
    margin-top: 60px !important;
}

.single-product .related.products > h2 {
    color: #0b3d2e;
    font-size: 28px;
    margin-bottom: 24px;
}

/* Tablet */
@media (max-width: 900px) {
    .single-product div.product {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .single-product .woocommerce-product-gallery__image img {
        max-height: 500px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .single-product .product_title {
        font-size: 30px !important;
    }

    .single-product table.variations tr {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .single-product form.cart {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .single-product .single_add_to_cart_button {
        flex: 1;
    }

    .single-product .woocommerce-product-gallery__image img {
        max-height: 420px !important;
    }
}
/* =====================================
   SABAL LABS MOVING PROMOTION BAR
   ===================================== */

.sabal-promo-bar {
    width: 100%;
    overflow: hidden;
    background: #0b3d2e;
    color: #ffffff;
    border-bottom: 1px solid #b98932;
    white-space: nowrap;
    position: relative;
    z-index: 9999;
}

.sabal-promo-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    animation: sabalPromoScroll 32s linear infinite;
}

.sabal-promo-track span {
    display: inline-flex;
    align-items: center;
    padding: 10px 34px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.sabal-promo-track span::after {
    content: "✦";
    color: #d4a948;
    margin-left: 34px;
}

/* Moving animation */
@keyframes sabalPromoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause when customer hovers */
.sabal-promo-bar:hover .sabal-promo-track {
    animation-play-state: paused;
}

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

    .sabal-promo-track {
        animation-duration: 25s;
    }

    .sabal-promo-track span {
        font-size: 11px;
        padding: 9px 24px;
    }

    .sabal-promo-track span::after {
        margin-left: 24px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .sabal-promo-track {
        animation: none;
    }

    .sabal-promo-bar {
        overflow-x: auto;
    }
}
/* SABAL PROMO BAR — VERY TOP OF SITE */

.sabal-promo-bar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
}

/* Push the website down so the bar doesn't cover the header */
body {
    padding-top: 38px !important;
}

/* Logged-in WordPress admin bar */
body.admin-bar .sabal-promo-bar {
    top: 32px !important;
}

body.admin-bar {
    padding-top: 38px !important;
}

/* Mobile WordPress admin bar */
@media screen and (max-width: 782px) {
    body.admin-bar .sabal-promo-bar {
        top: 46px !important;
    }
}
/* FIX PROMO BAR WORD SPACING */

.sabal-promo-track span {
    column-gap: 7px !important;
    word-spacing: 2px;
}

.sabal-promo-track strong {
    display: inline-block;
    margin-right: 3px !important;
}

/* Keep the gold separator spaced correctly */
.sabal-promo-track span::after {
    margin-left: 30px !important;
}
/* ========================================
   SABAL LABS — VARIATION COA CARD
======================================== */

/* Variation description container */
.woocommerce-variation-description {
    background: #ffffff;
    border: 1px solid #e2d6bc;
    border-left: 4px solid #b88725;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 18px 0 14px;
    max-width: 620px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
    color: #183f31;
    line-height: 1.55;
}

/* Remove WooCommerce's extra paragraph spacing */
.woocommerce-variation-description p {
    margin: 0;
}

/* COA heading */
.woocommerce-variation-description strong:first-child {
    color: #0c4b37;
    font-size: 14px;
    letter-spacing: .7px;
}

/* COA link */
.woocommerce-variation-description a {
    display: inline-block;
    background: #0c4b37;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .4px;
    padding: 11px 18px;
    border-radius: 30px;
    margin-top: 14px;
    transition: all .2s ease;
}

/* Gold hover */
.woocommerce-variation-description a:hover {
    background: #b88725;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Bring price closer to COA card */
.single_variation_wrap .woocommerce-variation-price {
    margin-top: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-variation-description {
        padding: 16px;
        border-radius: 10px;
    }

    .woocommerce-variation-description a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}