/*
Theme Name: DrGraphic Theme
Theme URI: https://drgraphic.net/
Description: DrGraphic is a modern, powerful, and highly flexible multipurpose WordPress theme built on Hello Elementor. Designed for performance, responsiveness, and customization, it seamlessly integrates with Elementor Pro and WooCommerce. Whether you're building an online store, corporate website, educational platform, digital marketplace, or personal portfolio, DrGraphic provides a versatile foundation with professional layouts, customizable templates, and advanced features. One Theme. Endless Possibilities. [FA] دکترگرافیک یک قالب وردپرس مدرن، قدرتمند و بسیار انعطاف‌پذیر است که بر پایه Hello Elementor توسعه یافته است. این قالب با تمرکز بر سرعت، طراحی واکنش‌گرا و قابلیت شخصی‌سازی، با Elementor Pro و WooCommerce یکپارچه می‌شود. چه قصد راه‌اندازی فروشگاه اینترنتی، وب‌سایت شرکتی، پلتفرم آموزشی، فروشگاه محصولات دیجیتال یا وب‌سایت شخصی را داشته باشید، دکترگرافیک با طراحی‌های حرفه‌ای، قالب‌های قابل شخصی‌سازی و امکانات پیشرفته، بستری منعطف برای شما فراهم می‌کند. یک قالب، امکانات بی‌پایان.
Author: DrGraphic
Author URI: https://drgraphic.net/
Template: hello-elementor
Version: 1.46.64
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: drgraphic-theme
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Custom styles will be added here in future versions. */

/* DrGraphic v1.45.1: neutralize inherited red hover/active colors for WooCommerce buttons. */
:root{--dg-commerce-accent:var(--dg-cart-accent,#533AE8)}
body.woocommerce :is(button.button,a.button,input.button,button.alt,a.button.alt,#respond input#submit):is(:hover,:focus,:active),body.woocommerce-page :is(button.button,a.button,input.button,button.alt,a.button.alt):is(:hover,:focus,:active){background-color:var(--dg-commerce-accent)!important;border-color:var(--dg-commerce-accent)!important;color:#fff!important}

/* v1.45.3 - keep WooCommerce button hover/focus in the configured violet accent. */
body.woocommerce :is(button.button,a.button,input.button,button.alt,a.button.alt):is(:hover,:focus,:active){box-shadow:none!important;filter:none!important}

/* v1.46.7: restore Elementor's own responsive layout. Earlier broad rules
 * modified every Elementor container and could disrupt mobile sections.
 * Contain only the document scrollport; intentionally scrollable widgets
 * retain their own overflow and width behavior. */
@media (max-width:1023px) {
 html { width:100%; max-width:100%; overflow-x:hidden; }
 body { width:100%; max-width:100%; overflow-x:hidden; }
}

/* 1.46.18 — Clear, branded checkout state when a cart contains invalid items. */
.dg-checkout-page .dg-checkout-unavailable__issues{width:100%;max-width:560px;margin:6px 0 0!important;padding:14px 22px!important;text-align:right;list-style:disc inside!important;background:#f8f6ff;border:1px solid rgba(83,58,232,.16);border-radius:12px;color:#5b5175;font-size:13px;line-height:2}
.dg-checkout-page .dg-checkout-unavailable__issues li{margin:0 0 4px;padding:0 4px;overflow-wrap:anywhere}
.dg-checkout-page .dg-checkout-unavailable__issues li:last-child{margin-bottom:0}
.dg-checkout-page .dg-checkout-unavailable__issues li::marker{color:var(--dg-checkout-accent,#533ae8)}
