/* Single product pages only */
.single-product .woocommerce-product-details__full-description ul li strong {
    font-weight: 500 !important;
}

.single-product .woocommerce-product-details__full-description ul li {
    font-size: 14px;
}

.single-product .woocommerce-product-details__full-description {
    font-size: 14px !important;
}

.single-product .woocommerce-product-details__full-description {
    padding-top: 8px;
}

/* Product title on single product page */
.product_title.entry-title {
    font-weight: 600;
}

.woocommerce-product-details__short-description p:first-child,
.woocommerce-product-details__short-description p:first-child strong {
    font-weight: 500;
}

.product div.summary {
    padding-right: 80px;
}

.product form.cart::before,
.product form.cart::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 767px) {

    .woocommerce div.product div.summary {
        padding-right: 0px !important;
    }

}

@media (max-width: 767px) {

    /* Force BOTH buttons text size */
    .product-action-buttons button,
    .product-action-buttons a,
    .product-action-buttons button *,
    .product-action-buttons a * {
        font-size: 14px !important;
    }

    /* Optional: tighten height slightly */
    .product-action-buttons button,
    .product-action-buttons a {
        height: 34px !important;
        line-height: 34px !important;
        padding: 0 12px !important;
    }

}

@media (max-width: 767px) {

    /* Make product a stacking context */
    .single-product div.product {
        position: relative;
    }

    /* Move title ABOVE gallery */
    .single-product div.product .summary .product_title {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
        z-index: 2;
    }

    /* Push gallery DOWN so it doesn't overlap title */
    .single-product div.product .woocommerce-product-gallery {
        margin-top: 100px; /* adjust based on title height */
    }

}

@media (max-width: 767px) {

    .page-title .wf-wrap {
        min-height: 80px;
        padding-top: 0px;
        padding-bottom: 30px;
    }

}

.ct-product-labels {
    display: flex;
    gap: 10px;              /* spacing between labels */
    margin: 14px 12px 0px 0px;
    flex-wrap: wrap;
}

.ct-product-label {
    display: inline-flex;   /* IMPORTANT */
    align-items: center;
    gap: 6px;
    background: #FBD000;
    color: #1d2327;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-transform: capitalize;
}

.woocommerce-product-tags {
    font-size: 11px;
}

.woocommerce-product-tags a {
    font-size: 11px;
    color: rgb(113, 120, 124);
    text-decoration: none;
}

.product-action-buttons {
    display: flex;
    gap: 12px;
}

.product-action-buttons > form {
    flex: 1;
    min-width: 0; /* VERY IMPORTANT */
}

.product-action-buttons > form .button {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-action-buttons > button {
    flex: 1;
    min-width: 0;
}

.product-action-buttons .inquiry-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-action-buttons .inquiry-btn-primary {
    padding: 0 0 !important; /* no horizontal padding */
    height: 48px; /* keep your consistent height */
}

/* Main image container (IMPORTANT FIX) */
.flex-viewport {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

/* Prevent double border in gallery */
.flex-viewport img {
    border: none !important;
}

/* Thumbnail container */
.flex-control-nav li {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Thumbnail image */
.flex-control-nav img {
    opacity: 1;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.flex-control-nav li img,
.flex-control-nav li {
    opacity: 1 !important;
}

.flex-control-nav li:hover img {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #d0d0d0;
}

/* Active thumbnail (correct target) */
.flex-control-nav img.flex-active {
    border-color: #d0d0d0;
}

/* Single image (no gallery) */
.woocommerce-product-gallery:not(.woocommerce-product-gallery--with-images) img,
.woocommerce-product-gallery__image:only-child img {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}