/**
 * Product Page Styles
 */

/* General Styles */
.product-page {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

.product-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #2A6478;
}

/* Product Hero Section */
.product-hero {
    background-color: #2A6478;
    padding: 40px 0 40px;
    width: 100%;
}

.product-hero-content {
    text-align: center;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    color: #f8f9fa;
}

.product-breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #f8f9fa;
}

.product-breadcrumbs a {
    color: #f8f9fa !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumbs a:hover {
    color: #1a4a5a;
}

/* Make sure the single product page uses specific selectors to avoid conflicts */
.product-page .product-title,
.single-product .product-title,
body.single-product .product-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.product-subtitle {
    font-size: 1rem;
    color: #f8f9fa;
    max-width: 700px;
    margin: 0 auto;
}

/* Product Overview Section */
.product-overview {
    padding: 60px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

.product-main-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.product-main-image img:hover {
    transform: scale(1.02);
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.product-thumbnail {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-thumbnail.active {
    border-color: #2A6478;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details */
.product-page .product-details,
.single-product .product-details,
body.single-product .product-details {
    display: flex;
    flex-direction: column;
}

.price {
    margin-bottom: 0px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2A6478;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

/* Product Info Container */
.info-container {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    width: 100%;
    margin-bottom: 30px;
}

.info-container .column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-container .column.bold {
    font-weight: 600;
}

.info-container .column.align-right {
    text-align: right;
}

.info-container .info-item {
    padding: 5px 0;
}

/* Purpose Container */
.purpose-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 10px;
    background-color: #f8f9fa;
    gap: 15px;
    padding: 20px;
    margin: 20px 0 60px 0;
}

.purpose-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}

.product-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    width: 120px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #e9ecef;
}

#quantity {
    width: 40px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 1rem;
}

/* Apply consistent button styles to both Add to Cart and Lumise buttons */
#wlo-controlled-buttons .single_add_to_cart_button.button.alt,
#wlo-controlled-buttons #lumise-customize-button {
    background-color: #E1723A !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 25px !important;
    font-size: 1.1rem !important;
    font-weight: 600;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: block !important;
    width: 100%;
    text-decoration: none !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: normal !important;
    margin: 0 !important;
}

#wlo-controlled-buttons #lumise-customize-button {
    width: 90% !important;
    font-weight: 500 !important;
}

#wlo-controlled-buttons .single_add_to_cart_button.button.alt:hover,
#wlo-controlled-buttons #lumise-customize-button:hover {
    background-color: #AD582C !important;
    transform: translateY(-2px) !important;
}

/* Container styles */
#wlo-controlled-buttons {
    width: 75%;
    margin-left: 20px;
}

/* Product Meta */
.product-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.product-meta > div {
    display: flex;
    align-items: center;
}

.product-meta span {
    font-weight: 600;
    margin-right: 5px;
    color: #333;
}

.product-meta a {
    color: #2A6478;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-meta a:hover {
    color: #1a4a5a;
}

/* Product Shipping Restrictions */
.product-shipping-restrictions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
    position: relative;
}

.restrictions-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
}

.shipping-truck-icon {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.restrictions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shipping-restriction-tag {
    background-color: #e9ecef;
    color: #555;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
}

.product-shipping-restrictions .tooltip-text {
    position: absolute;
    top: -45px;
    right: 10px;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

.product-shipping-restrictions .tooltip-text:after {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.product-shipping-restrictions:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* Profit Calculator Section */
.roi-calculator-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    margin: 60px 0 30px 0;
}

.roi-calculator-left, .roi-calculator-right {
    flex: 1;
    box-sizing: border-box;
}

.roi-calculator-left {
    background-color: #F5EDE5;
    border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
}

.calculator-wrapper {
	padding: 40px;
}

.calculator-wrapper h2 {
    font-size: 2.25rem;
    color: #E1723A;
}

.markup-wrapper {
	display: flex;
    justify-content: space-between;
    align-items: center;
}

input#markup-percentage {
	width: 100px;
}

.roi-calculator-right {
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

#units-slider {
    -webkit-appearance: none; 
    width: 100%; 
    height: 8px; 
    background: #FF8103; 
    border-radius: 5px;
    outline: none;
	width: 100%;
}

/* Thumb styling */
#units-slider::-webkit-slider-thumb {
    -webkit-appearance: none; 
    width: 20px; 
    height: 20px; 
    background: #555; 
    border-radius: 50%; 
    cursor: pointer;
}

#units-slider::-moz-range-thumb {
    width: 20px; 
    height: 20px; 
    background: #555; 
    border-radius: 50%; 
    cursor: pointer;
}

/* Internet Explorer (fallback, not fully customizable) */
#units-slider::-ms-track {
    width: 100%;
    height: 8px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

#units-slider::-ms-thumb {
    width: 20px; 
    height: 20px; 
    background: #555; 
    border-radius: 50%; 
    cursor: pointer;
}


.roi-details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.left-column, .right-column {
    flex: 1;
}

.left-column {
    text-align: left;
}

.right-column {
    text-align: right;
}

.roi-calculator-right img {
    max-width: 100%;
    border-radius: 30px;
}

/* Product Tabs Section */
.product-tabs {
    padding: 60px 0;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2A6478;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: #2A6478;
}

.tab-btn.active:after {
    transform: scaleX(1);
}

.tabs-content {
    max-width: 900px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2A6478;
}

.tab-pane p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Reviews Section */
.reviews-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.average-rating {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2A6478;
    margin-bottom: 10px;
}

.rating-stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin-bottom: 10px;
}

.rating-count {
    color: #666;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 80px 1fr 50px;
    align-items: center;
    gap: 10px;
}

.rating-label {
    font-size: 0.9rem;
    color: #666;
}

.bar-container {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background-color: #2A6478;
    border-radius: 4px;
}

.rating-percent {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
}

.reviews-list {
    margin-bottom: 30px;
}

.review-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
    color: #2A6478;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.review-content {
    color: #666;
    line-height: 1.6;
}

.load-more-reviews {
    display: block;
    margin: 0 auto;
    padding: 12px 25px;
    background-color: transparent;
    border: 2px solid #2A6478;
    color: #2A6478;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-reviews:hover {
    background-color: #2A6478;
    color: white;
}

.onsale {
	background-color: #a64942;
}

/* Related Products Section - Enhanced Styling */
.related-products {
    padding: 60px 0 80px;
    position: relative;
}

.related-products:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(42,100,120,0) 0%, rgba(42,100,120,0.3) 50%, rgba(42,100,120,0) 100%);
}

.related-products .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.related-products .section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #2A6478;
    margin: 15px auto 0;
}

.related-products-slider {
    margin: 0 -15px;
    padding: 0 15px 40px;
}

.related-products-slider .product-card {
    margin: 0 15px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-card-image:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.1), rgba(0,0,0,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-image:after {
    opacity: 1;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.product-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-card-title a {
    color: #2A6478;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card-title a:hover {
    color: #E1723A;
}

.product-card-price {
    font-weight: 600;
    color: #E1723A;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.product-card-price del {
    color: #999;
    font-weight: normal;
    font-size: 0.9rem;
    margin-right: 5px;
}

.product-card-price ins {
    text-decoration: none;
}

.product-card-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2A6478;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
}

.product-card-link:hover {
    background-color: #1a4a5a;
    transform: translateY(-3px);
}

/* Slick slider enhancements */
.related-products-slider .slick-dots {
    bottom: -5px;
}

.related-products-slider .slick-dots li {
    margin: 0 5px;
}

.related-products-slider .slick-dots li button:before {
    font-size: 12px;
    color: #2A6478;
    opacity: 0.3;
}

.related-products-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #2A6478;
}

.related-products-slider .slick-prev,
.related-products-slider .slick-next {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
}

.related-products-slider .slick-prev:hover,
.related-products-slider .slick-next:hover {
    background: #2A6478;
    transform: scale(1.1);
}

.related-products-slider .slick-prev {
    left: -20px;
}

.related-products-slider .slick-next {
    right: -20px;
}

.related-products-slider .slick-prev:before,
.related-products-slider .slick-next:before {
    font-size: 20px;
    color: #2A6478;
    opacity: 1;
    transition: color 0.3s ease;
}

.related-products-slider .slick-prev:hover:before,
.related-products-slider .slick-next:hover:before {
    color: white;
}

/* Handle WooCommerce price styling */
.related-products-slider .price {
    color: #E1723A !important;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.related-products-slider .price del {
    color: #999;
    font-weight: normal;
    font-size: 0.9rem;
    margin-right: 5px;
    opacity: 0.7;
}

.related-products-slider .price ins {
    text-decoration: none;
    font-weight: 600;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .related-products-slider .slick-prev {
        left: 10px;
    }
    
    .related-products-slider .slick-next {
        right: 10px;
    }
}

@media (max-width: 992px) {
    .related-products {
        padding: 50px 0 70px;
    }
    
    .product-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .related-products {
        padding: 40px 0 60px;
    }
    
    .related-products .section-title {
        font-size: 2rem;
    }
    
    .product-card-content {
        padding: 20px;
    }
    
    .product-card-title {
        font-size: 1.1rem;
    }
    
    .product-card-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .related-products {
        padding: 30px 0 50px;
    }
    
    .related-products .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .product-card-image {
        height: 220px;
    }
    
    .related-products-slider .slick-dots {
        bottom: -15px;
    }
}

/* Product CTA Section */
.product-cta-section {
    padding: 80px 0;
    background-color: #2A6478;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: white;
    color: #2A6478;
}

.cta-button.primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .related-products .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .roi-calculator-container {
        grid-template-columns: 1fr;
    }
    
    .roi-calculator-right {
        min-height: 300px;
    }
    
    .related-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 2.5rem;
    }
    
    .tabs-navigation {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .product-hero {
        padding: 40px 0 30px;
    }
    
    .product-overview {
        padding: 40px 0;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-price {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tabs-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .related-products .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Update for WooCommerce pages specifically */
body.single-product #content.site-content {
    max-width: 100%;
    width: 100%;
}

/* Cart Form Styling to match design */
.single-product form.cart {
    margin-top: 30px;
}

/* Professional Label Design dropdown styling to match exactly */
.single-product .variations select,
.single-product .wc-pao-addon-select,
.single-product .professional-label-design-select {
    appearance: none;
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 400;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.single-product .variations select:focus,
.single-product .wc-pao-addon-select:focus,
.single-product .professional-label-design-select:focus {
    outline: none;
    border-color: #bbb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Label for the professional design dropdown */
.single-product .professional-label-design-label {
    font-weight: 400;
    margin-bottom: 8px;
    display: block;
    color: #333;
    font-size: 16px;
}

/* Updated quantity selector styling to match the example */
.single-product .quantity_label {
    font-weight: 400;
    margin-bottom: 8px;
    display: block;
    color: #333;
    font-size: 16px;
}

/* Spacing between form elements */
.single-product form.cart {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style for label and variation rows to match ATP/GPC */
.single-product .variations {
    margin-bottom: 20px;
    width: 100%;
}

.single-product .variation-row {
    margin-bottom: 20px;
}

.single-product .variation-row .label {
    margin-bottom: 8px;
    text-align: left;
    display: block;
    width: 100%;
}

.single-product .variation-row .label label {
    font-weight: 400;
    color: #333;
    font-size: 16px;
    margin: 0;
}

.single-product .variation-row .value {
    width: 100%;
}

/* Make sure the quantity and add to cart button are on the same line */
.single-product .quantity-button-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Style the reset variations link to match the design */
.single-product .reset_variations {
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

/* Make sure variations wrap properly on mobile */
@media (max-width: 767px) {
    .single-product .quantity-button-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .single-product .quantity {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .single-product .single_add_to_cart_button {
        width: 100%;
        justify-content: center;
    }
}

/* Fix padding and make button match design exactly */
.single-product .single_add_to_cart_button {
    padding: 0 30px !important;
}

/* Make sure there's no extra margin if the button is last */
.single-product .quantity-button-wrapper .single_add_to_cart_button {
    margin-bottom: 0;
}

/* Make variation price larger and match design */
.single-product .woocommerce-variation-price {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #E8C1AB;
}

/* Add more space above the product meta */
.single-product .product_meta {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Fix professional label design dropdown placement */
.single-product .professional-label-design {
    width: 100%;
    margin-bottom: 20px;
}

/* Update product price colors to match the orange theme */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, 
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: #E1723A !important;
}

/* Make sure all variations prices match */
.single-product .woocommerce-variation-price,
.single-product .price {
    color: #E1723A !important;
}

/* Handle mobile view for customize button */
@media (max-width: 767px) {
    #lumise-customize-button {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 15px;
    }
}

.cart_add_label_design {
    width: 100%;
}


/* Styling for add_label_design to match quantity field */
#add_label_design {
    position: relative;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    padding: 14px 28px;
    width: 100%;
    border-radius: 30px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    height: auto;
    line-height: 1.5;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Product Purpose Section styling */
.product-page .product-purpose-section .section-title,
.single-product .product-purpose-section .section-title {
    margin-bottom: 40px;
    color: #2A6478;
}

.product-page .product-purpose-section .purpose-item:hover,
.single-product .product-purpose-section .purpose-item:hover {
    transform: translateY(-5px);
}

.product-page .product-purpose-section .purpose-item img,
.single-product .product-purpose-section .purpose-item img {
    width: 120px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Enhance the ROI Calculator Section */
.profit-calculator-section {
    padding: 60px 0;
    background-color: white;
}

.profit-calculator-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #2A6478;
}

/* Make sure everything is responsive */
@media (max-width: 768px) {
    .product-purpose-section .purpose-container {
        gap: 20px;
    }
    
    .product-purpose-section .purpose-item {
        max-width: 140px;
        padding: 15px;
    }
    
    .product-purpose-section .purpose-item img {
        width: 100px;
        height: 120px;
    }
}

/* Styling for product ratings in hero section */
.product-hero-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
}

.product-hero-rating .woocommerce-product-rating {
    margin-bottom: 0 !important;
    text-align: center;
}

.product-hero-rating .star-rating {
    float: none !important;
    margin: 0 auto 5px !important;
    font-size: 1.3em !important;
    letter-spacing: 3px !important;
}

.product-hero-rating .woocommerce-review-link {
    color: #f8f9fa;
    font-size: 0 !important;
    text-decoration: none;
}

.product-hero-rating .woocommerce-review-link:hover {
    color: #2A6478;
    text-decoration: underline;
}

/* Style star ratings throughout the site to use gold color */
.star-rating span::before,
.star-rating::before,
p.stars a::before,
p.stars a:hover ~ a::before,
p.stars.selected a.active ~ a::before,
p.stars.selected a:not(.active)::before,
p.stars.selected a.active::before,
.product-hero-rating .star-rating span::before {
    color: #efcc39 !important; /* Gold star color */
}

/* Fix for star rating display - ensure stars are filled and visible */
.woocommerce .star-rating,
.woocommerce-page .star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.8em;
    font-family: star !important;
}

.woocommerce .star-rating::before,
.woocommerce-page .star-rating::before {
    content: '\73\73\73\73\73' !important;
    color: #d3ced2 !important;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    font-family: star !important;
}

.woocommerce .star-rating span,
.woocommerce-page .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.woocommerce .star-rating span::before,
.woocommerce-page .star-rating span::before {
    content: '\53\53\53\53\53' !important;
    top: 0;
    position: absolute;
    left: 0;
    color: #efcc39 !important;
    font-family: star !important;
}

/* Ensure all star icons are visible and colored correctly */
.woocommerce p.stars a::before {
    content: '\53' !important;
    font-family: star !important;
}

.woocommerce p.stars a:hover ~ a::before,
.woocommerce p.stars.selected a.active ~ a::before {
    content: '\73' !important;
    font-family: star !important;
}

.woocommerce p.stars.selected a.active::before,
.woocommerce p.stars.selected a:not(.active)::before,
.woocommerce p.stars:hover a::before {
    content: '\53' !important;
    font-family: star !important;
    color: #efcc39 !important;
}

/* Modify review count text to remove parentheses and change wording */
.woocommerce-review-link::after {
    content: attr(data-count) " review" !important;
    font-size: 0.9rem !important;
    color: #f8f9fa !important;
    display: inline-block;
}

/* Add 's' for multiple reviews */
.woocommerce-review-link[data-count]:not([data-count="1"])::after {
    content: attr(data-count) " reviews" !important;
}

/* If JavaScript fails, ensure we have a fallback */
.woocommerce-review-link:not([data-count]) {
    font-size: 0.9rem !important; /* Show original text as fallback */
}

/* Purpose Item Links */
.purpose-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.purpose-item-link:hover {
    transform: translateY(-5px);
}

/* WooCommerce Tabs Styling */
.woocommerce-tabs {
    margin: 30px 0 50px;
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
    display: none;
}

.woocommerce-tabs ul.tabs li {
    background: transparent;
    border-radius: 0;
    border: none;
    margin: 0 15px;
    padding: 0;
    position: relative;
}

.woocommerce-tabs ul.tabs li a {
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    display: inline-block;
    text-decoration: none;
    position: relative;
}

.woocommerce-tabs ul.tabs li a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2A6478;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #2A6478;
}

.woocommerce-tabs ul.tabs li.active a::after {
    transform: scaleX(1);
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
    display: none;
}

.woocommerce-tabs .panel {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.woocommerce-tabs .panel h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2A6478;
}

.woocommerce-tabs .panel p {
    margin-bottom: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .woocommerce-tabs ul.tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .woocommerce-tabs ul.tabs li {
        margin: 0 10px 10px 0;
    }
    
    .woocommerce-tabs ul.tabs li a {
        padding: 10px 15px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .woocommerce-tabs {
        margin: 20px 0 30px;
    }
    
    .woocommerce-tabs ul.tabs {
        margin-bottom: 20px;
    }
    
    .woocommerce-tabs ul.tabs li {
        margin: 0 5px 5px 0;
    }
    
    .woocommerce-tabs ul.tabs li a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .woocommerce-tabs .panel h2 {
        font-size: 1.5rem;
    }
}

/* WooCommerce Review Styling */
.woocommerce #reviews #comments ol.commentlist {
    margin: 0;
    padding: 0;
}

.woocommerce #reviews #comments ol.commentlist li {
    margin: 0 0 20px;
    padding: 25px;
    position: relative;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: none;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    display: none; /* Remove avatar */
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin: 0;
    padding: 0;
    border: none;
}

.woocommerce #reviews #comments ol.commentlist li .meta {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.woocommerce #reviews #comments ol.commentlist li .meta strong {
    font-weight: 600;
    color: #2A6478;
}

.woocommerce #reviews #comments ol.commentlist li .meta time {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-top: 5px;
}

.woocommerce #reviews #comments ol.commentlist li .description p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.woocommerce #reviews .comment-form-rating {
    margin-bottom: 20px;
}

/* Comment form styling */
.woocommerce #review_form #respond {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.woocommerce #review_form #respond .comment-form-comment label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.woocommerce #review_form #respond .comment-form-comment textarea {
    width: 100%;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ddd;
}

.woocommerce #review_form #respond .form-submit input {
    background-color: #2A6478;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce #review_form #respond .form-submit input:hover {
    background-color: #1a4a5a;
    transform: translateY(-2px);
}

/* Individual review items (using our existing classes) */
.review-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 20px;
}

/* Responsive styles for reviews */
@media (max-width: 768px) {
    .woocommerce #reviews #comments ol.commentlist li {
        padding: 20px;
    }
    
    .woocommerce #review_form #respond {
        padding: 20px;
    }
}

/* Additional WooCommerce Review Enhancements */
.woocommerce #reviews #comments h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2A6478;
}

/* Add spacing between reviews */
.woocommerce #reviews #comments ol.commentlist li:not(:last-child) {
    margin-bottom: 25px;
}

/* Star rating in reviews */
.woocommerce #reviews #comments ol.commentlist li .star-rating {
    float: right;
    margin-top: 5px;
}

/* Author name styling */
.woocommerce #reviews #comments ol.commentlist li .meta strong {
    font-size: 1.1rem;
}

/* Style the review rating select stars */
.woocommerce p.stars a {
    margin-right: 5px;
    font-size: 1.2em;
}

/* Overall star rating in tab heading */
.woocommerce .woocommerce-product-rating .star-rating {
    margin-top: 10px;
}

/* Review form stars alignment */
.woocommerce #review_form #respond .stars {
    margin-top: 10px;
}

/* Form input fields styling */
.woocommerce #review_form #respond p input[type="text"],
.woocommerce #review_form #respond p input[type="email"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-top: 5px;
}

/* Form field focus states */
.woocommerce #review_form #respond p textarea:focus,
.woocommerce #review_form #respond p input[type="text"]:focus,
.woocommerce #review_form #respond p input[type="email"]:focus {
    border-color: #2A6478;
    outline: none;
    box-shadow: 0 0 0 2px rgba(42, 100, 120, 0.2);
}

/* Review count and links */
.woocommerce-Reviews .woocommerce-review-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.woocommerce-Reviews .woocommerce-review-link:hover {
    color: #2A6478;
    text-decoration: underline;
}

/* Review verified badge */
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta .verified {
    font-size: 0.8rem;
    background: #e1f3f8;
    color: #2A6478;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    display: inline-block;
}

@media (max-width: 576px) {
    .woocommerce #reviews #comments ol.commentlist li .star-rating {
        float: none;
        margin-bottom: 10px;
        display: block;
    }
    
    .woocommerce #reviews #comments h2 {
        font-size: 1.5rem;
    }
}

/* Final Review Styling Enhancements */
/* Subtle hover effect on review items */
.woocommerce #reviews #comments ol.commentlist li {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce #reviews #comments ol.commentlist li:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Add space between meta items */
.woocommerce #reviews #comments ol.commentlist li .meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Style review pagination */
.woocommerce #reviews nav.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce #reviews nav.woocommerce-pagination ul {
    display: inline-flex;
    border: none;
    margin: 0;
    padding: 0;
}

.woocommerce #reviews nav.woocommerce-pagination ul li {
    border: none;
    margin: 0 5px;
}

.woocommerce #reviews nav.woocommerce-pagination ul li a,
.woocommerce #reviews nav.woocommerce-pagination ul li span {
    padding: 10px 16px;
    background-color: #fff;
    border-radius: 8px;
    color: #666;
    font-weight: 500;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.woocommerce #reviews nav.woocommerce-pagination ul li a:hover {
    background-color: #f1f1f1;
    color: #2A6478;
}

.woocommerce #reviews nav.woocommerce-pagination ul li span.current {
    background-color: #2A6478;
    color: white;
    border-color: #2A6478;
}

/* "No reviews" message styling */
.woocommerce-noreviews {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    font-style: italic;
    color: #666;
}

/* Review heading and review count */
#reviews .woocommerce-Reviews-title {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

#reviews .woocommerce-Reviews-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #2A6478;
    margin-top: 10px;
}

/* Review submit button alignment */
.woocommerce #review_form #respond .form-submit {
    text-align: right;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .woocommerce #review_form #respond .form-submit {
        text-align: center;
    }
    
    .woocommerce #reviews #comments ol.commentlist li .meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Product FAQs Section */
.product-faqs-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.product-faqs-container {
    max-width: 900px;
    margin: 0 auto;
}

.product-faqs-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    border: none;
    background: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2A6478;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(42, 100, 120, 0.05);
}

.faq-question[aria-expanded="true"] {
    border-bottom: 1px solid #eee;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-icon .fas {
    color: #2A6478;
    font-size: 16px;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer[aria-hidden="false"] {
    padding: 20px 25px;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* FAQ Responsiveness */
@media (max-width: 768px) {
    .product-faqs-section {
        padding: 40px 0;
    }
    
    .product-faqs-list {
        margin-top: 30px;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .faq-answer[aria-hidden="false"] {
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .product-faqs-section {
        padding: 30px 0;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 15px;
    }
    
    .faq-answer[aria-hidden="false"] {
        padding: 15px;
    }
}

/* Hide slider controls for small sets */
.related-products-slider.slides-3-or-less .slick-dots,
.related-products-slider.slides-3-or-less [id^="slick-slide-control"] {
    display: none !important;
}

/* Product Features Comparison */
.product-features-section {
    margin: 2rem 0;
}

.product-features-container {
    border-radius: 16px;
    overflow: hidden;
    background: none;
    border: none;
}

.product-features-header {
    display: grid;
    grid-template-columns: 260px 1fr 1fr;
    background: none;
    padding: 0;
    border: none;
}

.product-features-description {
    background-color: #ededed;
    border-radius: 16px 0 0 16px;
    padding: 0 24px;
}

.product-features-column-title {
    font-weight: 600;
    text-align: left;
    background-color: #ededed;
    padding: 0 0 0 32px;
    color: #333;
    font-size: 1.1rem;
}

.product-features-column-title:last-child {
    border-radius: 0 16px 0 0;
}

.product-features-rows {
    display: flex;
    flex-direction: column;
}

.product-features-row {
    display: grid;
    grid-template-columns: 260px 1fr 1fr;
    align-items: stretch;
    min-height: 64px;
    background: none;
}

.product-feature-name.feature-name-cell {
    background: #2A6478;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 16px 0 0 16px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    position: relative;
    min-height: 64px;
    box-shadow: 2px 0 0 0 #fff;
}

.product-feature-name.feature-name-cell .feature-icon {
    margin-right: 12px;
    font-size: 1.2em;
    color: #fff;
}

.product-feature-value {
    background: #ededed;
    color: #333;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-left: 1px solid #fff;
    border-radius: 0;
    min-height: 64px;
}

.product-feature-value.bg-success {
    background-color: #d4edda !important;
}

.product-feature-value.bg-danger {
    background-color: #f8d7da !important;
}

.product-features-row:not(:last-child) .product-feature-name,
.product-features-row:not(:last-child) .product-feature-value {
    border-bottom: 2px solid #fff;
}

.feature-description {
    font-size: 0.95em;
    color: #cfd8dc;
    margin: 0;
    margin-left: 32px;
}

@media (max-width: 900px) {
    .product-features-header,
    .product-features-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .product-feature-name.feature-name-cell,
    .product-feature-value {
        padding: 12px;
        font-size: 1rem;
    }
}