✦ Verified product
Swatch Irony
USD 100.00
thewatchpreserve
Verified independent store
→
.product-details { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: #333; } .product-description {
font-size: 1rem; line-height: 1.8; color: #333; margin-bottom: 2rem; padding: 1rem; background-color: #f9f9f9; border-left: 3px solid #333; } .product-details h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2rem; margin-bottom: 1rem; border-bottom: 1px solid #e0e0e0; padding-bottom: 0.5rem; } .product-details h2:first-of-type { margin-top: 0; } .spec-table { width: 100%; margin-bottom: 1.5rem; } .spec-row { display: flex; padding: 0.75rem 0; border-bottom: 1px solid #f0f0f0; } .spec-row:last-child { border-bottom: none; } .spec-label { flex: 0 0 180px; font-weight: 500; color: #666; } .spec-value { flex: 1; color: #333; } .condition-text { margin: 0.5rem 0; line-height: 1.8; } Specifications SKU 01142026105002 Item Wristwatch Brand Swatch Model Irony Reference Year Dial Color Charcoal Case Material Steel Movement Quartz Caliber Country Swiss Gender Men's Jewels 4 Grade Band Material Functions Type Department Balance Condition Overall Condition Fair, overall condition Case Shows scratches. Crystal Shows hairline scratches. Crystal Condition Dial Crown Shows desk marks. Crown Condition Hands Hands Condition Band Shows scratches. Function Running and keeping time Winding Timing Data Additional Notes Measurements Diameter 40 Dial Diameter Width Length Height Thickness 12 Lug Width 20 Lug to Lug 46 Bracelet Size 7 Inside Diameter Outside Diameter Inside Width Inside Length Outside Length Outside Width Band Width Band Clasp Width Band End Link Width Band Length Box Length Box Width Size Standardized Size About the Brand document.addEventListener("DOMContentLoaded", function() { // Hide description paragraphs if empty const descriptionDivs = document.querySelectorAll('.product-description'); descriptionDivs.forEach(descriptionDiv => { const paragraph = descriptionDiv.querySelector('p'); if (paragraph && paragraph.textContent.trim() === '') { descriptionDiv.style.display = 'none'; // Also hide the preceding h2 if it exists const prevElement = descriptionDiv.previousElementSibling; if (prevElement && prevElement.tagName === 'H2') { prevElement.style.display = 'none'; } } }); // Select all spec rows const specRows = document.querySelectorAll('.product-details .spec-row'); // Hide empty spec rows specRows.forEach(row => { const valueElement = row.querySelector('.spec-value'); if (valueElement) { const valueText = valueElement.textContent.trim(); if (valueText === '' || valueText.startsWith('{{') || valueText === 'undefined' || valueText === 'null') { row.style.display = 'none'; } } }); // Hide entire sections if all items are empty const sections = document.querySelectorAll('.product-details h2'); sections.forEach(section => { const nextElement = section.nextElementSibling; if (!nextElement) return; // Check if it's a spec-table or product-description if (nextElement.classList.contains('spec-table')) { const visibleRows = nextElement.querySelectorAll('.spec-row:not([style*="display: none"])'); if (visibleRows.length === 0) { section.style.display = 'none'; nextElement.style.display = 'none'; } } else if (nextElement.classList.contains('product-description')) { // Already handled above, but check if it's hidden if (nextElement.style.display === 'none') { section.style.display = 'none'; } } }); });