/*
Theme Name: DigiToolSmart Edefy Elementor
Theme URI: https://test.thinkdigita.com/
Author: DigiToolSmart
Description: Elementor Pro and WooCommerce compatible DigiToolSmart theme preserving Edefy Style 3 and converting the full site into Elementor-editable pages and dynamic WooCommerce/WordPress layouts.
Version: 2.0.1
Text Domain: digitoolsmart-edefy
Requires at least: 6.0
Requires PHP: 7.4
*/

/* WordPress integration only. Edefy's original assets/css/style.css remains the primary visual stylesheet. */
.admin-bar .site-header { top: 32px; }
@media (max-width:782px){ .admin-bar .site-header { top:46px; } }

.site-header .custom-logo-link { display:block; }
.site-header .custom-logo { max-height:52px; width:auto; }
.dts-brand { display:flex; align-items:center; gap:8px; min-height:70px; text-decoration:none!important; }
.dts-brand img { width:34px; height:34px; border-radius:50%; object-fit:cover; }
.dts-brand span { color:#23305c; font-size:19px; font-weight:700; white-space:nowrap; }

/* WooCommerce cards keep Edefy's exact product-card classes. */
.product-img-tag img { width:100%; height:auto; display:block; }
.product-details .price del { opacity:.55; margin-right:6px; }
.product-details .price ins { text-decoration:none; }
.dts-empty-note { padding:25px; text-align:center; background:#fff; }

/* Preloader safety: Edefy's loader may otherwise remain visible if an optimization plugin delays JS. */
.preloader.dts-preloader-force-hide { opacity:0!important; visibility:hidden!important; pointer-events:none!important; transition:opacity .25s ease; }

/* Elementor integration */
.dts-elementor-home .elementor-location-header,
.dts-elementor-home .elementor-location-footer { width:100%; }
.dts-elementor-home .elementor-element.e-con { --container-max-width:100%; max-width:100%; padding:0; gap:0; }
.dts-elementor-home .elementor-widget { width:100%; max-width:100%; }
.dts-elementor-home .elementor-widget-container { width:100%; }
.dts-elementor-home .dts-elementor-section { width:100%; }
.elementor-editor-active .preloader { display:none!important; }
.elementor-editor-active .dts-elementor-section .odometer { visibility:visible; }


/* Full Elementor site v2 */
body:not(.elementor-editor-active) .dts-elementor-header + .elementor { margin-top:0; }
.dts-contact-status { margin-top:12px; font-size:13px; }
.dts-woo-page .woocommerce { background:#fff; }
.dts-elementor-footer .dts-brand { min-height:auto; }
.elementor-editor-active .dts-elementor-header { position:relative!important; }


/* DigiToolSmart v2.0.1 product search */
.dts-product-search-heading{margin:0 0 24px}.dts-product-search-heading h3{margin:0;color:#111b46;font-size:24px;font-weight:700}.dts-no-products{grid-column:1/-1;width:100%;padding:55px 30px;text-align:center;background:#fff;border:1px solid #edf0f5;border-radius:12px}.dts-no-products h3{margin:0 0 8px;color:#111b46}.dts-no-products p{margin:0;color:#6f7788}
