/* 
 * Custom Single Product CSS for kinghelp Theme
 */

.custom-single-product-wrapper {
    margin-top: 20px;
    margin-bottom: 50px;
}

/* 1. GALLERY STYLING */
.product-gallery-card {
    position: relative;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Sale Badge */
.custom-sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #837a28; /* Olive gold badge color */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
    line-height: 1.2;
    text-align: center;
    transform: rotate(-10deg);
}

/* Zoom/Fullscreen Icon */
.custom-zoom-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e1e8ed;
    color: #333;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}
.custom-zoom-button:hover {
    background: #8b1f1f;
    color: #fff;
    border-color: #8b1f1f;
}

/* Top Swiper (gallery-top) */
.gallery-top {
    width: 100%;
    height: 420px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.gallery-top:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: none; /* Hide stacked images before Swiper is loaded */
}
.gallery-top .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.gallery-top .main-gallery-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

/* Navigation buttons overlaying main gallery image */
.swiper-button-prev-custom,
.swiper-button-next-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #dee2e6;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}
.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background: #8b1f1f;
    color: #fff;
    border-color: #8b1f1f;
}
.swiper-button-prev-custom {
    left: 15px;
}
.swiper-button-next-custom {
    right: 15px;
}

/* Thumbnails Swiper (gallery-thumbs) */
.gallery-thumbs {
    margin-top: 15px;
    padding: 5px 0;
    width: 100%;
}
.gallery-thumbs:not(.swiper-initialized) .swiper-slide:not(:nth-child(-n+4)) {
    display: none; /* Hide stack before Swiper is loaded */
}
.gallery-thumbs .swiper-slide {
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
    opacity: 0.6;
}
.gallery-thumbs .swiper-slide-thumb-active {
    border-color: #8b1f1f; /* active border */
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(139, 31, 31, 0.15);
}
.gallery-thumbs .thumb-img-wrapper {
    width: 100%;
    padding-top: 100%; /* 1:1 ratio */
    position: relative;
    background: #fff;
}
.gallery-thumbs .thumb-gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. PRODUCT DETAILS STYLING */
.product-details-summary {
    padding: 5px 15px;
}
.product-details-summary .product-title {
    font-size: 26px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Price Box */
.product-price-box {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.product-price-box .price-regular, 
.product-price-box del {
    text-decoration: line-through;
    color: #9db63b !important; /* olive gold */
    font-size: 18px;
    font-weight: normal;
}
.product-price-box .price-sale, 
.product-price-box ins {
    color: #9db63b !important; /* olive gold */
    font-weight: 700;
    text-decoration: underline !important;
    font-size: 22px;
}
.product-price-box .amount {
    color: #9db63b !important;
}
.product-price-box .price-contact {
    color: #ff0100 !important; /* Highlight red for call for price */
    font-weight: 700;
    font-size: 22px;
}
.product-price-box .price-contact i {
    color: #ff0100 !important;
}

/* Short Description Bullet Points */
.product-short-description {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 20px;
    background: #fdfdfd;
    border-left: 3px solid #8b1f1f;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
}
.product-short-description ul {
    padding-left: 0;
    list-style-type: none;
    margin: 0;
}
.product-short-description li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 0px;
}
.product-short-description li:last-child {
    margin-bottom: 0;
}

/* Category Metas */
.product-category-meta {
    font-size: 14px;
    color: #666;
    border-top: 1px dashed #dee2e6;
    padding-top: 15px;
    margin-top: 20px;
}
.product-category-meta .meta-label {
    font-weight: 600;
    color: #333;
    margin-right: 5px;
}
.product-category-meta .category-link {
    color: #ff0100 !important; /* red category name */
    font-weight: 600;
    transition: color 0.2s ease;
}
.product-category-meta .category-link:hover {
    color: #b30000 !important;
    text-decoration: underline;
}

/* 3. PRODUCT LONG DESCRIPTION */
.product-description-content {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.product-description-content .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 18px;
    border-bottom: 2px solid #8b1f1f;
    padding-bottom: 8px;
    display: inline-block;
}
.product-description-content .description-text {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.8;
}

/* 4. RELATED PRODUCTS GRID */
.related-products-title {
    font-size: 20px;
    font-weight: 700;
    color: #2b2b2b;
    border-bottom: 2px solid #8b1f1f;
    padding-bottom: 8px;
    display: inline-block;
}
.related-product-card {
    border: 1.5px solid #cccccc !important; /* Prominent solid border */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}
.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
    border-color: #8b1f1f !important; /* Theme color on hover */
}
.related-product-card .card-image {
    width: 100%;
    padding-top: 100%; /* 1:1 aspect */
    position: relative;
    background: #fff;
    overflow: hidden;
}
.related-product-card .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.4s ease;
}
.related-product-card:hover .card-image img {
    transform: scale(1.05);
}
.related-product-card .card-head-title a {
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}
.related-product-card .card-head-title a:hover {
    color: #8b1f1f !important;
}
.related-product-card .price-display {
    color: #8b1f1f;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0;
}
.related-product-card .price-display del {
    color: #888;
    font-weight: 400;
    font-size: 13px;
    margin-right: 6px;
    text-decoration: line-through;
}
.related-product-card .price-display ins {
    text-decoration: none;
    color: #8b1f1f;
}

/* 5. LIGHTBOX STYLES */
.custom-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.custom-lightbox.show {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.custom-lightbox.show .lightbox-content {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
    line-height: 1;
}
.lightbox-close:hover {
    color: #ff0100;
}

/* 6. MOBILE & RESPONSIVE */
@media (max-width: 767px) {
    .gallery-top {
        height: 320px;
    }
    .product-details-summary {
        margin-top: 20px;
        padding: 0;
    }
    .product-details-summary .product-title {
        font-size: 22px;
    }
    .custom-lightbox {
        backdrop-filter: none; /* disable on mobile for perf */
    }
}

/* 7. PRODUCT RATING & REVIEWS CUSTOM STYLING */
.woocommerce-review-link {
    transition: color 0.2s ease;
    text-decoration: none !important;
}
.woocommerce-review-link:hover {
    color: #8b1f1f !important;
    text-decoration: underline !important;
}

/* Star rating display using robust Unicode characters */
.star-rating {
    overflow: hidden;
    position: relative;
    height: 1.2em;
    line-height: 1.2em;
    font-size: 16px;
    width: 5.4em;
    font-family: Arial, sans-serif;
    display: inline-block;
}
.star-rating::before {
    content: "★★★★★";
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    color: #e0e0e0;
    letter-spacing: 2px;
}
.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.2em;
}
.star-rating span::before {
    content: "★★★★★";
    top: 0;
    left: 0;
    position: absolute;
    color: #ffc107;
    letter-spacing: 2px;
}

/* Comment/Review Form Rating Stars CSS */
.comment-form-rating {
    margin-bottom: 20px;
}
.comment-form-rating label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.comment-form-rating .stars {
    display: inline-block;
    margin: 5px 0;
}
.comment-form-rating .stars a {
    position: relative;
    height: 1.5em;
    width: 1.5em;
    text-indent: -9999px;
    display: inline-block;
    text-decoration: none;
}
.comment-form-rating .stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5em;
    height: 1.5em;
    text-indent: 0;
    content: "☆";
    color: #ccc;
    font-size: 22px;
    text-align: center;
    line-height: 1;
}
.comment-form-rating .stars a:hover::before,
.comment-form-rating .stars a:focus::before {
    content: "★";
    color: #ffc107;
}
.comment-form-rating .stars:hover a::before {
    content: "★";
    color: #ffc107;
}
.comment-form-rating .stars:hover a:hover ~ a::before {
    content: "☆";
    color: #ccc;
}
.comment-form-rating .stars.selected a.active::before {
    content: "★";
    color: #ffc107;
}
.comment-form-rating .stars.selected a.active ~ a::before {
    content: "☆";
    color: #ccc;
}

/* Reviews Section Styling */
.product-reviews-section {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.product-reviews-section .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 18px;
    border-bottom: 2px solid #8b1f1f;
    padding-bottom: 8px;
    display: inline-block;
}
.reviews-content-wrapper {
    background: #fbfbfb !important;
    border: 1px solid #eaeaea;
    border-radius: 6px;
}
.comment-respond {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eaeaea;
}
.comment-reply-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    display: block;
}
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #444;
}
.comment-form-comment textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1.5px solid #cccccc;
    border-radius: 6px;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.2s ease;
    font-size: 14px;
}
.comment-form-comment textarea:focus {
    border-color: #8b1f1f;
}
.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #cccccc;
    border-radius: 6px;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.2s ease;
    font-size: 14px;
}
.comment-form-author input:focus,
.comment-form-email input:focus {
    border-color: #8b1f1f;
}
.form-submit {
    margin-top: 10px;
}
.form-submit input[type="submit"] {
    background-color: #8b1f1f;
    color: #fff;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.form-submit input[type="submit"]:hover {
    background-color: #a82a2a;
}
.commentlist {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
}
.commentlist li.comment {
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
    background: #fff;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.commentlist li.comment:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.commentlist li .avatar {
    border-radius: 50%;
    float: left;
    margin-right: 15px;
}
.commentlist li .comment-text {
    overflow: hidden;
}
.commentlist li .comment-text .meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}
.commentlist li .comment-text .meta strong {
    color: #333;
    font-weight: 600;
}
.commentlist li .comment-text .description {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.6;
}
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}
.comment-form-cookies-consent input {
    margin: 0;
}

/* 8. ADD TO CART / ORDER BOX CUSTOM STYLING */
.product-action-box {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.product-action-box form.cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
}
.product-action-box form.cart .quantity {
    display: inline-flex;
    align-items: center;
}
.product-action-box form.cart .quantity input.qty {
    width: 60px;
    height: 42px;
    text-align: center;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease;
}
.product-action-box form.cart .quantity input.qty:focus {
    border-color: #8b1f1f;
}
.product-action-box form.cart .single_add_to_cart_button {
    background-color: #8b1f1f !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding: 10px 30px;
    height: 42px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(139, 31, 31, 0.2);
}
.product-action-box form.cart .single_add_to_cart_button:hover {
    background-color: #a82a2a !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(139, 31, 31, 0.3);
}
.product-action-box form.cart .single_add_to_cart_button:active {
    transform: translateY(0);
}

/* Variable product styling */
.product-action-box form.cart.variations_form {
    display: block;
}
.product-action-box form.cart.variations_form .variations {
    width: 100%;
    margin-bottom: 20px;
    border: none;
}
.product-action-box form.cart.variations_form .variations td {
    padding: 8px 0;
    vertical-align: middle;
    border: none;
}
.product-action-box form.cart.variations_form .variations td.label {
    width: 100px;
    font-weight: 600;
    color: #333;
}
.product-action-box form.cart.variations_form .variations select {
    width: 100%;
    max-width: 260px;
    padding: 8px 12px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}
.product-action-box form.cart.variations_form .variations select:focus {
    border-color: #8b1f1f;
}
.product-action-box form.cart.variations_form .single_variation_wrap {
    padding-top: 15px;
    border-top: 1px dashed #eee;
}
.product-action-box form.cart.variations_form .woocommerce-variation-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}
.product-action-box form.cart.variations_form .woocommerce-variation-price {
    font-size: 18px;
    font-weight: 700;
    color: #9db63b;
    margin-bottom: 15px;
}
.product-action-box form.cart.variations_form .woocommerce-variation-availability {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}
.product-action-box form.cart.variations_form .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 9. PRODUCT TABS CUSTOM STYLING */
.product-tabs-wrapper {
    margin-top: 40px;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden;
}
.nav-product-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eef1f5;
    background: #fcfcfc;
}
.nav-product-tabs .tab-item {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    user-select: none;
}
.nav-product-tabs .tab-item:hover {
    color: #8b1f1f;
}
.nav-product-tabs .tab-item.active {
    color: #8b1f1f;
    border-bottom-color: #8b1f1f;
    background: #fff;
}
.tab-content-wrapper {
    padding: 25px;
}
.tab-pane-content {
    display: none;
}
.tab-pane-content.active {
    display: block;
    animation: tabFadeIn 0.3s ease;
}
@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 10. HIDDEN PRICE AND TRIGGER ORDER BUTTON */
.hidden-price-wrapper {
    display: none !important;
}
.custom-trigger-order-btn {
    transition: all 0.2s ease;
}
.custom-trigger-order-btn:hover {
    background-color: #a82a2a !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(139, 31, 31, 0.3);
}
.custom-trigger-order-btn:active {
    transform: translateY(0);
}

/* 11. LUXURY QUOTE MODAL POPUP & CUSTOM TEXT STYLING */

/* Product Additional Info Block under Button */
.product-additional-info-wrapper {
    margin-top: 0;
    margin-bottom: 25px;
    padding: 15px;
    border-left: 3px solid #8b1f1f;
    background-color: #fcfcfc;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.product-additional-info-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    white-space: pre-line;
}

/* Modal Overlay */
.quote-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.quote-modal-overlay.show {
    display: flex;
    opacity: 1;
}

/* Modal Content Container */
.quote-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    padding: 30px;
    animation: quoteModalSlideIn 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(139, 31, 31, 0.1);
}
@keyframes quoteModalSlideIn {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Close button */
.quote-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}
.quote-modal-close:hover {
    color: #8b1f1f;
    transform: rotate(90deg);
}

/* Modal Header */
.quote-modal-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 15px;
}
.quote-modal-header h3 {
    color: #8b1f1f;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
}
.quote-modal-header p.product-title-modal {
    font-size: 15px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Modal Body / Contact Form 7 Form fields styling */
.quote-modal-body .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 18px !important;
}
.quote-modal-body p {
    margin: 0 0 5px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px !important;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.quote-modal-body p:last-child {
    margin-bottom: 0 !important;
}

.quote-modal-body input[type="text"],
.quote-modal-body input[type="tel"],
.quote-modal-body input[type="email"],
.quote-modal-body textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fafafa;
    font-weight: normal;
    margin-top: 4px !important;
}
.quote-modal-body input[type="text"]:focus,
.quote-modal-body input[type="tel"]:focus,
.quote-modal-body input[type="email"]:focus,
.quote-modal-body textarea:focus {
    border-color: #8b1f1f;
    box-shadow: 0 0 0 3px rgba(139, 31, 31, 0.1);
    background-color: #ffffff;
    outline: none;
}
.quote-modal-body textarea {
    resize: vertical;
    min-height: 80px;
}
.quote-modal-body textarea[readonly] {
    background-color: #f1f1f1;
    color: #666;
    border-color: #e2e2e2;
    cursor: not-allowed;
}

/* Submit Button in Modal */
.quote-modal-body input[type="submit"] {
    background-color: #8b1f1f;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(139, 31, 31, 0.2);
    margin-top: 10px;
    width: 100%;
    letter-spacing: 0.5px;
}
.quote-modal-body input[type="submit"]:hover {
    background-color: #a82a2a;
    box-shadow: 0 6px 15px rgba(139, 31, 31, 0.35);
}
.quote-modal-body input[type="submit"]:active {
    transform: scale(0.99);
}

/* Global Cart elements removal/hiding */
a[href*="/cart"],
.woocommerce-mini-cart,
.widget_shopping_cart,
.cart-contents,
.woocommerce-cart-link {
    display: none !important;
}

/* Form success/validation message styling - Hidden by default until submitted */
.quote-modal-body .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output,
.wpcf7-response-output.wpcf7-display-none,
.wpcf7-response-output:empty {
    display: none !important;
}

/* Hide form fields and submit button after successful submission, leaving only thank you message */
.quote-modal-body .wpcf7-form.sent > *:not(.wpcf7-response-output) {
    display: none !important;
}

/* Display response output ONLY when form is submitted with a message */
.quote-modal-body .wpcf7-form.sent .wpcf7-response-output,
.quote-modal-body .wpcf7-form.failed .wpcf7-response-output,
.quote-modal-body .wpcf7-form.invalid .wpcf7-response-output,
.quote-modal-body div.wpcf7-mail-sent-ok,
.quote-modal-body div.wpcf7-validation-errors,
.quote-modal-body div.wpcf7-mail-sent-ng,
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    display: block !important;
    margin: 15px 0 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

.quote-modal-body .wpcf7-form.sent .wpcf7-response-output {
    margin: 0 !important;
}

.quote-modal-body .wpcf7-form.sent .wpcf7-response-output,
.quote-modal-body div.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #d4edda !important;
    border: 1px solid #c3e6cb !important;
    color: #155724 !important;
}
.quote-modal-body .wpcf7-form.failed .wpcf7-response-output,
.quote-modal-body .wpcf7-form.invalid .wpcf7-response-output,
.quote-modal-body div.wpcf7-validation-errors,
.quote-modal-body div.wpcf7-mail-sent-ng,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    color: #721c24 !important;
}
.quote-modal-body .wpcf7-not-valid-tip {
    color: #dc3545 !important;
    font-size: 13px !important;
    margin-top: 4px !important;
    font-weight: 500 !important;
    display: block !important;
}


