/*
Theme Name: دیجی‌فارما
Theme URI: https://saeedhassani.ir/
Description: زیرپوسته‌ی Hello Elementor برای فروشگاه دیجی‌فارما
Author: Digipharma
Author URI: https://saeedhassani.ir/
Template: hello-elementor
Version: 1.1.0
Text Domain: digipharma
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Custom theme styles for digipharma can be added here.
   The cart/checkout design is compiled separately to /dist/css/main.css and
   loaded only on WooCommerce cart/checkout/account pages (see inc/digipharma-cart-checkout.php). */

/* ---------------------------------------------------------------------------
   Site-wide slim / minimal custom scrollbar.

   style.css is enqueued on EVERY front-end page (digipharma_child_scripts_styles
   in functions.php, no page guard), so this applies everywhere — Elementor
   pages, cart, checkout and account — without any build step (style.css is not
   compiled through Tailwind). Firefox/standard browsers use scrollbar-width /
   scrollbar-color; Chromium & Safari use the ::-webkit-scrollbar pseudo-elements.
   Selectors are global + low specificity on purpose, so any component that ships
   its own scrollbar (e.g. a scrollable modal) can still override this baseline.
--------------------------------------------------------------------------- */

* {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

/* Firefox + standard property */
html {
	scrollbar-width: thin;
	scrollbar-color: rgba(148, 163, 184, 0.6) transparent; /* thumb / track */
	background-color: white !important;
	background: white !important;
}

body {
	background-color: white !important;
	background: white !important;
}

/* WebKit (Chromium, Safari, Edge) */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background-color: rgba(148, 163, 184, 0.6); /* slate-400 @ 60% */
	border-radius: 9999px;
	/* transparent border + padding-box clip makes the visible thumb slimmer
	   than the track and floats it with a little breathing room. */
	border: 2px solid transparent;
	background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
	background-color: rgba(100, 116, 139, 0.85); /* slate-500, darker on hover */
}

::-webkit-scrollbar-corner {
	background: transparent;
}
