/* PDF Link Styling */
.ebay-pdf-link-wrapper {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.105);
    background: #ffff;
    padding: 16px 12px 12px 12px;
    border-radius: 4px;
    border-left: 3px solid #96c63f;
}
.ebay-pdf-link-wrapper:hover {
    border-left: 3px solid #202020;
}
.ebay-pdf-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ebay-pdf-link:hover {
    opacity: 0.8;
}

.ebay-pdf-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
}

.ebay-pdf-text {
    color: #202020; /* Primary color */
    font-weight: 500;
}

.ebay-pdf-link:hover .ebay-pdf-text {
    color: #333; /* Secondary color on hover */
}
/* Warranty Tab Styles */
.warranty-notice {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 4px;
    border-left: 3px solid #96c63f;
}

.electrician-notice {
    color: #e30613;
    font-weight: 600;
    margin: 0 !important;
}


/* Adjust tab position if needed */
.woocommerce-tabs ul.tabs {
    position: relative;
    z-index: 1;
}
/* Promotional Badges - Universal */
.ebay-promotional-badges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

/* For all gallery images */
.woocommerce-product-gallery__image .ebay-promotional-badges {
    z-index: 25;
}

/* For shop/archive pages */
.products .product-image-wrapper .ebay-promotional-badges {
    z-index: 10;
}

.ebay-badge {
    position: absolute;
    z-index: 30;
    max-width: 85px;
    height: auto;
}

/* Single Product Gallery Specific */
.woocommerce-product-gallery__image .ebay-badge {
    max-width: 100px;
}

/* Archive/Shop Page Specific */
.products .ebay-badge {
    max-width: 85px;
}

/* Position Classes */
.ebay-badge-top-right {
    top: 5px;
    right: 5px;
}

.ebay-badge-top-left {
    top: 5px;
    left: 5px;
}

.ebay-badge-bottom-right {
    bottom: 5px;
    right: 5px;
}

.ebay-badge-bottom-left {
    bottom: 5px;
    left: 5px;
}

/* Related Products Badges */
.wd-promo-badges-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

.related-products .ebay-badge {
    position: absolute;
    max-width: 80px;
    height: auto;
}

/* Position classes */
.related-products .ebay-badge-top-right {
    top: 5px;
    right: 5px;
}

.related-products .ebay-badge-top-left {
    top: 5px;
    left: 5px;
}

.related-products .ebay-badge-bottom-right {
    bottom: 5px;
    right: 5px;
}

.related-products .ebay-badge-bottom-left {
    bottom: 5px;
    left: 5px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .related-products .ebay-badge {
        max-width: 60px;
    }
}

/* Woodmart Theme Compatibility */
.woocommerce-product-gallery__image {
    position: relative !important;
}
/* Product Dimensions Grid */
.product-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.dimension-item {
    background: #fff;
    padding: 12px;
    border-radius: 4px;
    border-left: 3px solid #96c63f;
}

.dimension-label {
    font-weight: 600;
    color: #202020;
    display: block;
    margin-bottom: 3px;
    font-size: 16px;
}

.dimension-value {
    color: #555;
    font-size: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-dimensions-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .dimension-item {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .product-dimensions-grid {
        grid-template-columns: 1fr 1fr;
    }
}





/** fan_specifications css code start**/
.fan-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.spec-item {
    background: #fff;
    padding: 12px;
    border-radius: 4px;
    border-left: 3px solid #96c63f;
}

.spec-label {
    font-weight: 600;
    color: #202020;
    margin-bottom: 5px;
    font-size: 14px;
}

.spec-value {
    color: #555;
    font-size: 15px;
}

@media (max-width: 768px) {
    .fan-specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .fan-specs-grid {
        grid-template-columns: 1fr;
    }
}
/** fan_specifications css code end**/

/* Product Specifications Styles */
.product-specifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.specification-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background-color: #fff;
    border-radius: 4px;
    border-left: 3px solid #96c63f;
    font-size: 16px;
}

.specification-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.specification-value {
    color: #666;
}
/* PDF Section Styles */
.spec-pdf-section {
    margin-top: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.spec-pdf-heading {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.pdf-preview-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pdf-preview-wrapper {
    width: 100%;
    height: 600px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pdf-download-container {
    text-align: center;
    margin-top: 15px;
}

.pdf-download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.pdf-download-button:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pdf-download-button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pdf-preview-wrapper {
        height: 400px;
    }
    
    .spec-pdf-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .pdf-preview-wrapper {
        height: 300px;
    }
    
    .pdf-download-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* Responsive adjustments */
@media (max-width: 768px)) {
    .product-specifications-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px)) {
    .product-specifications-grid {
        grid-template-columns: 1fr;
    }
}
