/*!
Theme Name: darkoob
Theme URI: https://underscores.me/
Author: Automattic
Author URI: https://automattic.com/
Description: Hi. I'm a starter theme called <code>darkoob</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: darkoob
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

darkoob is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 3em 1.5em 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-right: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-right: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: right;
	position: absolute;
	top: 100%;
	right: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	right: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	right: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	right: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}



.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1.5em;
}


@font-face {
    font-family: 'PoppinsLatin-Regular';
    src: url('asset/fonts/PoppinsLatin-Regular.eot');
    src: url('asset/fonts/PoppinsLatin-Regular.eot?#iefix') format('embedded-opentype'),
         url('asset/fonts/PoppinsLatin-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
     font-display: swap;
}

@font-face {
    font-family: 'Roboto-Regular';
    src: url('asset/fonts/Roboto-Regular.eot');
    src: url('asset/fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
         url('asset/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('asset/fonts/IRANSansWeb(FaNum)_Bold.eot');
    src: url('asset/fonts/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
         url('asset/fonts/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
         url('asset/fonts/IRANSansWeb(FaNum)_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
         url('asset/fonts/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('asset/fonts/IRANSansWeb(FaNum)_Medium.eot');
    src: url('asset/fonts/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
         url('asset/fonts/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
         url('asset/fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
         url('asset/fonts/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('asset/fonts/IRANSansWeb(FaNum)_Light.eot');
    src: url('asset/fonts/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
         url('asset/fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
         url('asset/fonts/IRANSansWeb(FaNum)_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
         url('asset/fonts/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('asset/fonts/IRANSansWeb(FaNum)_UltraLight.eot');
    src: url('asset/fonts/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
         url('asset/fonts/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
         url('asset/fonts/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
         url('asset/fonts/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('asset/fonts/IRANSansWeb(FaNum).eot');
    src: url('asset/fonts/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
         url('asset/fonts/IRANSansWeb(FaNum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
         url('asset/fonts/IRANSansWeb(FaNum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
         url('asset/fonts/IRANSansWeb(FaNum).ttf') format('truetype');
}
@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: normal;
    src: url("asset/fonts/fontawesome-webfont.eot") format("embedded-opentype"),
    url("asset/fonts/fontawesome-webfont.woff") format("woff"), 
    url("asset/fonts/fontawesome-webfont.ttf") format("truetype"), 
    url("asset/fonts/fontawesome-webfont.svg") format("svg");
}

@font-face {
    font-family: 'IRANYekan';
    src: url('asset/fonts/IRANYekan.eot');
    src: url('asset/fonts/IRANYekan.eot?#iefix') format('embedded-opentype'),
     url("asset/fonts/IRANYekan.woff") format("woff"), 
        url("asset/fonts/IRANYekan.ttf") format("truetype"), 
         url('asset/fonts/IRANYekan.ttf') format('truetype');

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRYekan';
    src: url('asset/fonts/IRYekan.eot');
    src: url('asset/fonts/IRYekan.eot?#iefix') format('embedded-opentype'),
         url('asset/fonts/IRYekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: normal;
    src: url("asset/fonts/fontawesome-webfont.eot") format("embedded-opentype"),
    url("asset/fonts/fontawesome-webfont.woff") format("woff"), 
    url("asset/fonts/fontawesome-webfont.ttf") format("truetype"), 
    url("asset/fonts/fontawesome-webfont.svg") format("svg");
     font-display: swap;
}


body{ font-family: IRANSans !important;   line-height: 2;}




:root {
	--red:      #E41B23;   /* رنگ اصلی: لوگو، قیمت، دکمه‌ها */
	--red-dark: #C4161C;   /* حالت hover دکمه‌ها */
	--ink:      #333333;   /* متن اصلی و منو */
	--muted:    #888888;   /* متن‌های فرعی، placeholder */
	--line:     #E5E5E5;   /* خطوط و بوردرها */
	--bg-soft:  #F7F7F7;   /* پس‌زمینه ملایم */
	--footer:   #2E2E2E;   /* فوتر تیره */
	--radius:   6px;
}
 
/* ---------- پایه ---------- */
body {
	background: #fff;
	color: var(--ink);
	font-family: "Vazirmatn", "IRANSans", Tahoma, sans-serif;
	font-size: 14px;
	line-height: 1.9;
}
 
.up1 a, .up2 a { text-decoration: none; }
 
/* =========================================================
   هدر — .up1
   ========================================================= */
.up1 {
	direction: rtl;
	background: #fff;
	border-top: 3px solid var(--red);
	padding: 5px 0;    
}
 
.up1 .row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;

}
 
.up1 .widget { margin: 0; }
 
/* ---------- لوگو ---------- */
.up1 .logoo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.up1 .logoo img {
	max-height: 105px;
	width: auto !important;    /* استایل inline که خود وردپرس تزریق می‌کند را خنثی می‌کند */
	height: auto !important;
	display: block;
}
 
/* ---------- جستجو ---------- */
.up1 .searchh { min-width: 0; }
.up1 .searchh .textwidget { width: 100%; }
 
.up1 .dgwt-wcas-sf-wrapp { position: relative; width: 100%; }
 
.up1 .dgwt-wcas-search-input {
	width: 100% !important;
	height: 42px;
	padding: 0 16px 0 44px !important;   /* جای آیکون در سمت چپ باز می‌شود */
	background: #fff !important;
	border: 1px solid var(--line) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 13px;
	color: var(--ink);
	transition: border-color .2s;
}
.up1 .dgwt-wcas-search-input::placeholder { color: var(--muted); }
.up1 .dgwt-wcas-search-input:focus {
	outline: none;
	border-color: var(--red) !important;
}
 
/* دکمه ذره‌بین — در طراحی زنبیل سمت چپ باکس است */
.up1 .dgwt-wcas-search-submit {
	position: absolute;
	top: 50%;
	left: 4px;
	right: auto;
	transform: translateY(-50%);
	width: 36px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
}
.up1 .dgwt-wcas-search-submit svg { width: 17px; height: 17px; }
.up1 .dgwt-wcas-search-submit svg path { fill: var(--muted); transition: fill .2s; }
.up1 .dgwt-wcas-search-submit:hover svg path { fill: var(--red); }
 
.up1 .dgwt-wcas-preloader { position: absolute; }
.up1 .dgwt-wcas-voice-search:empty { display: none; }
 
/* ---------- ورود + سبد خرید ---------- */
.up1 .partss {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
}
 
/* «ورود به حساب کاربری» با آیکون کاربر سمت راست متن */
.up1 .loginn .textwidget p { margin: 0; }
.up1 .loginn a {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;   /* آیکون سمت راست، متن سمت چپ آن */
	gap: 8px;
	color: var(--ink);
	font-size: 15px;
	white-space: nowrap;
	transition: color .2s;
}
.up1 .loginn a::after {
	content: "";
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-6.5 8-6.5s8 2.5 8 6.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.up1 .loginn a:hover { color: var(--red); }
 
/* سبد خرید — عنوان ابزارک به آیکون تبدیل می‌شود */
.up1 .cartt { position: relative; }
.up1 .cartt .widget-title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	font-size: 0;           /* متن «سبد خرید» پنهان می‌شود */
	cursor: pointer;
}
.up1 .cartt .widget-title::before {
	content: "";
	width: 33px;
	height: 33px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.4a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.2L21 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
}
 
/* دراپ‌داون سبد */
.up1 .cartt .widget_shopping_cart_content {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 70;
	width: 260px;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.up1 .cartt:hover .widget_shopping_cart_content,
.up1 .cartt:focus-within .widget_shopping_cart_content {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.up1 .cartt .woocommerce-mini-cart__empty-message {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
	text-align: center;
}

.up1 .dgwt-wcas-search-input{padding: 10px !important;}
.up1 .dgwt-wcas-search-submit{margin-top:9px !important;}


.main-navigation ul.nav-menu > li:nth-child(1) > a{padding-right:0 !important;}




/* حالت پر — برای وقتی محصول داخل سبد باشد */
.up1 .cartt .woocommerce-mini-cart {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	max-height: 240px;
	overflow-y: auto;
}
.up1 .cartt .mini_cart_item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
}
.up1 .cartt .mini_cart_item img {
	width: 44px !important;
	height: 44px !important;
	object-fit: cover;
	border-radius: 4px;
}
.up1 .cartt .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 0 0 12px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	font-weight: 700;
}
.up1 .cartt .woocommerce-mini-cart__total .amount { color: var(--red); }
.up1 .cartt .woocommerce-mini-cart__buttons {
	display: flex;
	gap: 8px;
	margin: 0;
}
.up1 .cartt .woocommerce-mini-cart__buttons a.button {
	flex: 1;
	padding: 9px 10px;
	border-radius: var(--radius);
	font-size: 12px;
	text-align: center;
}
.up1 .cartt .woocommerce-mini-cart__buttons a.button:not(.checkout) {
	background: var(--bg-soft);
	color: var(--ink);
}
.up1 .cartt .woocommerce-mini-cart__buttons a.button.checkout {
	background: var(--red);
	color: #fff;
}
.up1 .cartt .woocommerce-mini-cart__buttons a.button.checkout:hover { background: var(--red-dark); }
 
 
/* =========================================================
   منو — .up2
   در طراحی زنبیل: نوار سفید، متن تیره، خط جداکننده پایین
   نکته: کلاس کانتینر منو (menu-%d9%81...-container) اسم
   URL-encode شده‌ی منوی توست و با تغییر نام منو عوض می‌شود؛
   هرگز آن را در CSS هدف نگیر.
   ========================================================= */
.up2 {
	direction: rtl;
	background:#cdcdcd3b;
	border-bottom: 1px solid var(--line);
}
 
.up2 .row { display: flex; align-items: center; }
 
.main-navigation { position: relative; width: 100%; }
 
.main-navigation ul.nav-menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
 
.main-navigation ul.nav-menu > li { position: relative; }
 
.main-navigation ul.nav-menu > li > a {
	display: block;
	padding: 9px 14px;
	color: var(--ink);
	font-size: 13px;
	transition: color .2s;
}
.main-navigation ul.nav-menu > li > a:hover { color: var(--red); }
 
.main-navigation ul.nav-menu > li.current-menu-item > a,
.main-navigation ul.nav-menu > li.current_page_item > a { color: var(--red); }
 
/* فلش کوچک برای آیتم‌های دارای زیرمنو */
.main-navigation .menu-item-has-children > a { padding-left: 26px; }
.main-navigation .menu-item-has-children > a::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 12px;
	width: 5px;
	height: 5px;
	margin-top: -4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.main-navigation .menu-item-has-children:hover > a::after {
	transform: rotate(225deg);
	margin-top: -1px;
}
 
/* زیرمنو */
.main-navigation ul.sub-menu {
	position: absolute;
	top: 100%;
	right: 0;                /* RTL: از لبه راست والد باز می‌شود */
	z-index: 60;
	min-width: 190px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 2px solid var(--red);
	border-radius: 0 0 6px 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.main-navigation li:hover > ul.sub-menu,
.main-navigation li:focus-within > ul.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.main-navigation ul.sub-menu a {
	display: block;
	padding: 9px 16px;
	color: var(--ink);
	font-size: 13px;
	transition: color .2s, background .2s;
}
.main-navigation ul.sub-menu a:hover {
	color: var(--red);
	background: var(--bg-soft);
}
 
/* ---------- دکمه منوی موبایل ---------- */
.menu-toggle {
	display: none;
	align-items: center;
	margin: 8px 0;
	padding: 9px 14px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	font-family: inherit;
	font-size: 0;              /* متن انگلیسی «Primary Menu» را پنهان می‌کند */
	cursor: pointer;
}
.menu-toggle::before { content: "☰ منو"; font-size: 13px; }
 
@media (max-width: 767px) {
	.up1 .logoo,
	.up1 .searchh,
	.up1 .partss { flex: 0 0 100%; max-width: 100%; }
	.up1 .logoo  { justify-content: left; }
	.up1 .partss { justify-content: space-between; }
 
	.menu-toggle { display: inline-flex; }
 
	/* navigation.js قالب _s کلاس .toggled را به nav اضافه می‌کند */
	.main-navigation ul.nav-menu { display: none; }
	.main-navigation.toggled ul.nav-menu {
		display: block;
		width: 100%;
		padding-bottom: 8px;
	}
	.main-navigation ul.nav-menu > li > a {
		padding: 11px 4px;
		border-bottom: 1px solid var(--line);
	}
	.main-navigation ul.sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		padding: 0;
		border: none;
		box-shadow: none;
	}
	.main-navigation ul.sub-menu a { padding: 9px 20px 9px 4px; color: var(--muted); }
	.main-navigation .menu-item-has-children > a::after { display: none; }
	.up2{display:none;}
}



.sliderr img{    border-radius: 35px !important;}
.sliderr{    margin-top: 40px;}

.undersliderr, .logoshoww{    direction: ltr !important;}

.undersliderr .carousel-slider__item a{text-decoration:none;}
.undersliderr{    margin-top: 85px;
    margin-bottom: 60px;}
.undersliderr .carousel-slider__item{ padding: 10px;}
/*.undersliderr .carousel-slider__item:hover{    background: #e5e0e0;*/
/*    padding: 10px;}*/


.undersliderr .owl-item img{    height: 100px !important; object-fit: contain !important; transition-duration: .5s;}
.undersliderr .owl-item:hover img{scale: 1.1; transition-duration: .5s;}
.owl-item a{width:100% !important;}

.logoshoww {
    margin-top: 20px;
    margin-bottom: 60px;
}
.logoshoww .row{    position: relative;
    width: auto;
    height: auto;
    text-align: center;
    padding: 20px 0 0px 0;
    border: 1px solid #dee2e6;
    border-right: none;
    border-left: none;}
.logoshoww img{width: auto !important;}


.undersliderr .owl-item .title{color: #0a58ca !important;}
 
/* =========================================================
   نوار خرید اقساطی — .ghesti
   پس‌زمینه تیره، عنوان + زیرنویس سمت راست، دکمه قرمز سمت چپ.
   دو ابزارک متن: text-5 (عنوان و زیرنویس) و text-6 (دکمه).
   ========================================================= */
   .ghesti {
margin-top:45px;
}
 
.ghesti .container-fluid { padding: 0; }
 
.ghesti .row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 1210px;      /* هم‌عرض بقیه بخش‌ها بماند، هرچند نوار تمام‌عرض است */
	margin: 0 auto;
	padding: 34px 20px; 	direction: rtl;
	background: #cdcdcd3b;
	color: #fff; margin: auto !important;
	margin: 40px 0; border-radius: 5px;
}

.ghesti a{text-decoration:none;}
 
.ghesti .widget { margin: 0; }
 
/* ابزارک اول: عنوان و زیرنویس کنار هم سمت راست */
#text-5.widget { flex: 1 1 auto; }
.ghesti .widget-title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 700;
	color: black;
	line-height: 1.5;
}
.ghesti .textwidget p {
	margin: 0;
	font-size: 15px;
	color:black;
}
 
/* ابزارک دوم: دکمه قرمز */
#text-6.widget { flex: 0 0 auto; }
.ghesti #text-6 .textwidget p { margin: 0; }
.ghesti #text-6 a {
	display: inline-block;
	padding: 13px 30px;
	background: #0a58ca;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	border-radius: var(--radius);
	white-space: nowrap;
	transition: background .2s;
}
.ghesti #text-6 a:hover { background: var(--red-dark); }

.ghesti #text-5{    flex: 0 0 58.3333%; max-width: 56.3333%;}

.ghesti #text-6{    justify-content: flex-end !important;
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
    display: flex !important;}
 
@media (max-width: 767px) {
	.ghesti .row {
		flex-direction: column;
		align-items: flex-start;
		text-align: right;
		padding: 26px 20px;
	}
	.ghesti .widget-title { font-size: 20px; }
	.ghesti #text-6 a { display: block; text-align: center; }
	.ghesti #text-6 { width: 100% !important;         display: block !important;     max-width: 100% !important;}
	.ghesti #text-5{max-width:100% !important;}
}
 

.productts{direction: ltr;}
/* =========================================================
   بخش محصولات — .productts   (فایل مستقل و کامل)
   ابزارک widget_carousel_slider با Owl Carousel.
   چیدمان/عرض آیتم‌ها را JS مدیریت می‌کند؛ اینجا فقط ظاهرِ
   داخل کارت و فلش‌های ناوبری استایل می‌شود.
   ========================================================= */

   .productts {
	--red:      #E41B23;
	--red-dark: #C4161C;
	--ink:      #333;
	--muted:    #999;
	--line:     #ececec;

	margin: 30px 0;

}

.productts .container { position: relative; }

/* بازنویسی متغیرهای رنگ فیروزه‌ای inline که خود ابزارک می‌گذارد */
.productts .carousel-slider-outer {
	--carousel-slider-active-nav-color: var(--red);
	--cs-product-primary: var(--red);
	--cs-product-on-primary: #fff;
	--cs-product-text: var(--ink);
}

/* ---------- کارت محصول ---------- */
.productts .carousel-slider__product {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 16px 14px;
	background: #fff;

	border-radius: 8px;
	text-align: right;
	transition: box-shadow .25s, border-color .25s;
}


/* عکس */
.productts .woocommerce-LoopProduct-link {
	display: block;
	margin-bottom: 12px;
}
.productts .carousel-slider__product img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

/* عنوان (دو خط، هم‌تراز) */
.productts .woocommerce-loop-product__title {
	margin: 0 0 10px;
	font-size: 13.5px !important;
	font-weight: 500;
	color: var(--ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.productts a:has(> .woocommerce-loop-product__title) { text-decoration: none; display: block; color: black !important;}

/* clear div اضافه‌ی ووکامرس را بی‌اثر می‌کنیم */
.productts .carousel-slider__product > div[style*="clear"] { display: none; }
.productts .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* قیمت */
.productts .price {
	display: block;
	margin: 0 0 12px;
	min-height: 22px;
	color: var(--red);
	font-weight: 700;
	font-size: 15px;
}
.productts .price:empty::before {
	content: "ناموجود";
	color: var(--muted);
	font-weight: 400;
	font-size: 12.5px;
}
.productts .price .woocommerce-Price-currencySymbol {
	font-size: .85em;
	font-weight: 400;
}

/* ---------- دکمه‌ها ---------- */
.productts .carousel-slider__product .button {
	margin-top: 15px;                   /* دکمه به کف کارت می‌چسبد */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 500;
	border-radius: 6px;
	text-decoration: none;
	transition: all .2s;
}

/* «اطلاعات بیشتر» → متن «مشاهده »  (محصول بدون قیمت) */
.productts .carousel-slider__product .button.product_type_simple:not(.add_to_cart_button) {
	background: transparent;


	padding: 10px 4px;
}

.productts .carousel-slider__product .button.product_type_simple:not(.add_to_cart_button)::after {
	content: "\f100";    font-family: "FontAwesome";
	font-size: 15px;
	line-height: 1;
}

.productts .button.product_type_simple:hover{    background: #0a58ca !important; 
	color:white !important;}

/* «افزودن به سبد خرید» → دکمه پُر قرمز */
.productts .carousel-slider__product .button.add_to_cart_button {

	border: none;
}

.productts .carousel-slider__product .button.add_to_cart_button:after{	content: "\f07a";    font-family: "FontAwesome";
	font-size: 15px;
	line-height: 1; }
.productts .carousel-slider__product .button.add_to_cart_button:hover {
	background: var(--red-dark);
}

/* لینک «مشاهده سبد خرید» بعد از افزودن ای‌جکس */
.productts .added_to_cart {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--red);
	text-decoration: none;
}

/* ---------- فلش‌های ناوبری Owl ---------- */
.productts .owl-nav button.owl-prev,
.productts .owl-nav button.owl-next {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff !important;
	border: 1px solid var(--line) !important;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
	transition: background .2s, border-color .2s;
	z-index: 5;
}
.productts .owl-nav button.owl-prev { right: -6px; }
.productts .owl-nav button.owl-next { left: -6px; }
.productts .owl-nav button.owl-prev:hover,
.productts .owl-nav button.owl-next:hover {
	background: var(--red) !important;
	border-color: var(--red) !important;
}
.productts .owl-nav .carousel-slider-nav-icon {
	width: 18px;
	height: 18px;
	fill: var(--ink);
	transition: fill .2s;
}
.productts .owl-nav button:hover .carousel-slider-nav-icon { fill: #fff; }

.productts .owl-item{direction: rtl !important;}

.productts .button.product_type_simple{    color: #212529;
    background-color: #f8f9fa !important; 
    border-color: #f8f9fa;
    width: max-content;}


.carousel-slider__product{    box-shadow: none !important; }

.carousel-slider a.add_to_cart_button:hover{color:black !important;}

.carousel-slider .woocommerce-loop-category__title, .carousel-slider .woocommerce-loop-product__title{ margin:0 !important; 
margin-bottom:10px !important;}

.productts .price{color: rgb(251, 52, 73) !important;}


/* =========================================================
   فوتر — #colophon.site-footer   (فایل مستقل و کامل)
   چهار ستون ابزارک + نوار کپی‌رایت پایین.
   نکته: کلاس کانتینرِ منوی «خدمات مشتریان» URL-encode شده
   (menu-%d8%ae...-container) و با تغییر نام منو عوض می‌شود؛
   هرگز آن را هدف نگیر. به‌جای آن .foot3 .menu را هدف می‌گیریم.
   ========================================================= */
 
   .site-footer {
	--red:   #E41B23;
	--dark:  #2E2E2E;
	--dark2: #242424;
	--text:  #cfcfcf;
	--muted: #9a9a9a;
	--line:  rgba(255, 255, 255, .1);
 
	direction: rtl;
	background: var(--dark);
	color: var(--text);
	font-family: "Vazirmatn", "IRANSans", Tahoma, sans-serif;
	font-size: 13.5px;
	line-height: 2;
}
 
/* ---------- بخش اصلی ---------- */
.site-footer .foot { padding: 40px 0 30px; }
 
.site-footer .foot .row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 0;
}
 
.site-footer .widget { margin: 0; }
 
/* عنوان ستون‌ها با خط قرمز زیرش */
.site-footer .widget-title {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 10px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}
.site-footer .widget-title::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background: var(--red);
}
 
/* متن ستون معرفی */
.site-footer .textwidget p { margin: 0 0 10px; color: var(--text); }
.site-footer .textwidget strong { color: #fff; font-weight: 700; }
 
/* شماره تماس درشت‌تر */
.site-footer .foot2 .textwidget strong { font-size: 15px; letter-spacing: .5px; }
 
/* ---------- منوهای فوتر ---------- */
.site-footer .menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-footer .menu li { margin-bottom: 4px; }
.site-footer .menu a {
	display: inline-block;
	padding: 3px 0;
	color: var(--text);
	text-decoration: none;
	transition: color .2s, padding .2s;
}
.site-footer .menu a:hover {
	color: var(--red);
	padding-right: 6px;
}
 
/* ---------- شبکه‌های اجتماعی (foot2) ---------- */
.site-footer .foot2 #menu-social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}
.site-footer .foot2 #menu-social li { margin: 0; }
.site-footer .foot2 #menu-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	background: var(--dark2);
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 0;              /* متن telegram/whatsapp/... پنهان، آیکون جایگزین */
	transition: background .2s, border-color .2s;
}
.site-footer .foot2 #menu-social a:hover {
	background: var(--red);
	border-color: var(--red);
	padding: 0;
}
/* آیکون‌ها با تطبیق روی href (متن داخل لینک) */
.site-footer .foot2 #menu-social a::before {
	content: "";
	width: 18px;
	height: 18px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
.site-footer #menu-social li:nth-child(1) a::before {  /* telegram */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M21.9 4.3l-3.3 15.5c-.2 1.1-.9 1.4-1.9.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5 9.2-8.3c.4-.4-.1-.6-.6-.2L5.6 13.4l-4.9-1.5c-1.1-.3-1.1-1 .2-1.5L20.5 3c.9-.3 1.7.2 1.4 1.3z'/%3E%3C/svg%3E");
}
.site-footer #menu-social li:nth-child(2) a::before {  /* whatsapp */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2a10 10 0 0 0-8.5 15.3L2 22l4.8-1.5A10 10 0 1 0 12 2zm5.8 14.2c-.2.7-1.4 1.3-2 1.4-.5.1-1.2.1-1.9-.1-.4-.1-1-.3-1.7-.6-3-1.3-4.9-4.3-5-4.5-.2-.2-1.2-1.6-1.2-3s.7-2.1 1-2.4c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6-.3.3c-.2.2-.4.4-.2.7.2.4.9 1.5 2 2.4 1.3 1.2 2.4 1.5 2.7 1.7.3.1.5.1.7-.1l.9-1c.2-.3.4-.2.7-.1l2 1c.3.1.5.2.5.4.1.1.1.6-.1 1.4z'/%3E%3C/svg%3E");
}
.site-footer #menu-social li:nth-child(3) a::before {  /* instagram */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.2' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
}
 
/* ---------- نوار کپی‌رایت پایین ---------- */
.site-footer .footnote {
	background: var(--dark2);
	border-top: 1px solid var(--line);
	padding: 16px 0;
}
.site-footer .footnote .widget { margin: 0; }
.site-footer .footnote .textwidget p {
	margin: 0;
	text-align: center;
	font-size: 12.5px;
	color: var(--muted);
}
 
/* ---------- ستون‌بندی ریسپانسیو ---------- */
@media (max-width: 767px) {
	.site-footer .foot { padding: 30px 0 20px; }
	.site-footer .foot .row { gap: 26px 0; }
	.site-footer [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
	.site-footer .foot2 #menu-social { justify-content: flex-start; }
	.productts .widget-title:after, .productts .widget-title:before{width: 30px !important;}
	.sidemenu, ul.products.columns-5{width:98% !important;}
	.ttll2{display:block !important;}
}




.entry-footer, .single .navigation.post-navigation{display:none;}

.blogin2 {
    width: 32%;
    float: right;
    margin: 1%;
}

.blogin2 .post-thumbnail {
    position: relative;
    display: block;
	overflow: hidde
}

.blogin2 .post-thumbnail:before {
    content: "";
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .7);
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    z-index: 999;
    -webkit-transition: .5s;
    transition: .5s;
}

.blogin2 .post.type-post .post-thumbnail img {
    width: 100%;
    height: 220px;
    margin: 0 auto;
    display: block;
    object-fit: cover;
}
.blogin2 .entry-header {
    background-image: none;
    padding: 0;
    position: initial;
}

.blogin2 .entry-header {
    padding: 20px 15px 0 !important;
}

.blogin2 .entry-title a {
    text-decoration: none;
    color: black;
    font-size: 21px;
}

.blogin2:hover .post-thumbnail:before {
    opacity: 1 !important;
}

.site-footer{clear:both;}

.blogin2 .post.type-post {
    box-shadow: 0 0 10px 0 rgba(148, 146, 245, .2);
    margin-bottom: 30px;
    overflow: hidden;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.blogin2 .entry-content {
    padding: 0 15px; text-align: justify;
}


.page .entry-content{text-align: justify; line-height: 2;}

.sinn .post-thumbnail{margin-top:20px;}


.orderby {
    font-family: IRANSans !important;
    font-size: 14px;
}
.ttll {
    clear: both;
}

.ttll2 {
    display: flex;
}

.sidemenu {
    width: 20%;
    border: 1px solid lightgrey;
    clear: both;
    margin-bottom: 10px;
}

.sidemenu h2 {
    background: #e41b23;
    color: white;
    font-size: 22px;
    text-align: center;
    padding: 10px 0;
}

.sidemenu .product-categories {
    line-height: 3;
}

.sidemenu li {
    list-style-type: none;
    border-bottom: 1px solid #d3d3d357;
}

.sidemenu li a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: black;
}

ul.products.columns-5 {
    width: 79%;
    margin-right: 1%;
}

ul.products.columns-5 li {
    box-shadow: 0 0 10px lightgrey;
    text-align: center;
    padding: 10px !important;
}

ul.products.columns-5 li .woocommerce-loop-product__title, .related.products > h2 {
    color: #e41b23;
}

ul.products.columns-5 li .price {
    color: black !important;
}

ul.products.columns-5 li .product_type_simple.add_to_cart_button, ul.products.columns-5 li .product_type_simple,  .related.products .woocommerce ul.products li.product .button{
    background: #e41b23;
    color: white;
    font-weight: 500 !important;
}

.sidemenu .cat-item-17{display:none}
.product-categories {
    padding: 0;
    margin: 0;
    padding: 0 15px;
}

.woocommerce-breadcrumb{display:none;}

.related.products > h2 {
    background: #e41b23;
    text-align: center;
    padding: 10px 0;
    color: white;
    font-size: 25px;    margin-top: 45px;
    margin-bottom: 40px;
}

.related.products .sidemenu {
    display: none;
}

.posted_in a {
    color: grey;
    text-decoration: none;
    font-size: 14px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-top: 2px solid #e41b23 !important;
    background-color: #d7d7d752;
}



.post-9 .wpcf7{    background: white;
    padding: 60px 35px 20px;     padding-bottom: 0;
    border-radius: 10px;     box-shadow: 0px 0px 65px 0px rgba(0, 0, 0, 0.08);}

.post-9 .wpcf7 textarea, .post-9 .wpcf7 input {
		background-color: #f1f1f1;
		color: white;
		padding: 10px;     font-family: IRANSans !important;
		border-radius: 5px;
		border: 0;
		margin-bottom: 17px;
	}

.post-9 .wpcf7 input {
	height: 55px; width:100%; 
}

.post-9 .wpcf7 textarea {
	height: 130px;
}

.post-9 .wpcf7 .wpcf7-form-control.wpcf7-captchar{
    width: 110px ;
    margin-right: 10px;
}

.post-9 .wpcf7 .wpcf7-form-control.wpcf7-submit{width:100%; color:white; background:#0a58ca; transition-duration:.5s;}
.post-9 .wpcf7 .wpcf7-form-control.wpcf7-submit:hover{background:#e41b23; transition-duration:.5s;}

.banner img{    border-radius: 35px !important;
    margin: 0 auto; object-fit: cover;
    display: block; height: 290px !important;}
.banner .widget_media_image{width: 50%;}

.productts .widget-title{text-align:center; font-size:20px;    position: relative;
    width: max-content;
    padding: 0 15px; 
    margin: 0 auto;margin-bottom:25px !important;}
.productts .widget-title:before{width: 150px;
    border-style: solid;
    border-color: #000000;
    border-bottom-width: 1px;
    content: "";
    display: block;
    position: absolute;
    top: 60%;
    border-width: 0;
    right: 100%;
    height: 1px;
    background-color: #e93633;}

.productts .widget-title:after{width: 150px;
    border-style: solid;
    border-color: #000000;
    border-bottom-width: 1px;
    left: 100%;
    content: "";
    display: block;
    position: absolute;
    top: 60%;
    border-width: 0;
    height: 1px;
    background-color: #e93633;}
    
.productts .onsale{display:none;}

.carousel-slider .owl-item img:hover{scale: 1.1;
    transition-duration: .5s;}
.carousel-slider .owl-item img{transition-duration: .5s;}

.callus:before {
	font-family: "FontAwesome";
	content: "\f095";
	margin-left: 15px;
	color: #e41b23;
	font-size: 20px;
	}

.mailus:before {
	font-family: "FontAwesome";
	content: "\f0e0";
	margin-left: 15px;
	color: #e41b23;
	}

.addressus:before {
	font-family: "FontAwesome";
	content: "\f041";
	margin-left: 15px;
	color: #e41b23;
	font-size: 20px;
	}

.mobilee:before {
	font-family: "FontAwesome";
	content: "\f10b";
	margin-left: 15px;
	color: #e41b23;
	font-size: 20px;
	}


.clockk:before {
	font-family: "FontAwesome";
	content: "\f017";
	margin-left: 15px;
	color: #e41b23;
	font-size: 20px;
	}


.ea-card .ea-header a{color: red !important; font-size: 16px !important;  background: #fffcfc !important;}


.page h2, .post h2{color:red; font-size:25px;}

.page h3, .post h3{font-size: 23px;}

.page h4, .post h4{font-size: 21px;}

.page p, .post p{font-size: 15px; line-height: 2; text-align: justify;}
.page ul, .post ul{margin:0}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{    top: 25px !important;}


.carousel-slider__product{border:1px solid lightgrey !important;}
.owl-item{padding-bottom:10px;}

.linkgroup{display: flex;
    justify-content: center;
    gap: 20px;}

.linkgroup a{    background: #0a58ca; text-decoration: none;
    color: white; display: inline-block;
    padding: 10px; border-radius: 10px;}

.linkgroup a:hover{background: #e41b23;}

.term-description{font-size: 15px;
    line-height: 2;
    text-align: justify;}
    
.woocommerce-product-details__short-description{    line-height: 2;
    font-size: 15px; text-align: justify;}
    
.product_title.entry-title, .related.products .woocommerce-loop-product__title{color: black !important;
    font-size: 23px;}

.related.products li{    box-shadow: 0 0 10px lightgrey;
    text-align: center; padding: 10px !important;}

.related.products .button{    background: #e41b23;
    color: white;  font-weight: 500 !important;}

.related.products .price{color:black !important;}

.woocommerce-Tabs-panel h2{color: #e41b23; font-size: 21px;}

.single_add_to_cart_button, .button.wc-forward{background: #0a58ca !important;     font-family: IRANSans  !important; color:white !important;}

.related.products .button:hover{background: #0a58ca !important; color: white !important;}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price{color: red !important;
    font-size: 28px;}

.added_to_cart.wc-forward{    text-align: center;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s;
    background: #0a58ca;}


.quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.quantity .qty {
    width: 55px;
    height: 44px;
    padding: 0;
    border: 0;
    text-align: center;
    background: #fff;
    box-shadow: none;
}

.quantity .qty-plus,
.quantity .qty-minus {
    width: 42px;
    height: 44px;
    padding: 0;
    border: 0;
    background: #f5f5f5;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

.quantity .qty-plus:hover,
.quantity .qty-minus:hover {
    background: #111;
    color: #fff;
}

/* حذف فلش‌های پیش‌فرض Chrome */
.quantity input[type="number"]::-webkit-inner-spin-button,
.quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* حذف فلش Firefox */
.quantity input[type="number"] {
    -moz-appearance: textfield;
}

.single_add_to_cart_button{padding: 14px !important;}

.calling{display: flex; align-items: center; gap: 20px;
    font-size: 20px; margin-bottom: 20px;}
.calling img{    width: 60px;}
.calling a{text-decoration:none;}

.pd{ padding-right: 75px;  padding-left: 75px;}

.woocommerce-product-gallery .wp-post-image {width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 10px;}
    
.product.type-product{margin-top: 30px;}

.variations .label{display:block;}
.variations tbody{display: flex;}
.variations .value select{    font-family: IRANSans !important;height: 40px;
    padding-right: 5px;
    border-radius: 4px;}
    
.single_add_to_cart_button:before{content:"\f07a";font-family: "FontAwesome";margin-left: 10px;
    font-size: 17px;
    vertical-align: middle;}
.flex-control-nav li{ margin: 5px !important;}   
.flex-control-nav li img{    border: 1px solid lightgrey;
    border-radius: 5px;}
.product_meta{    gap: 10px; display: flex;}
.variations_form.cart{border-bottom: 1px solid lightgrey; padding-bottom: 40px;}
.woocommerce-Price-amount.amount{font-weight: 450;}


.woocommerce-product-gallery .woocommerce-product-gallery__image .wp-post-image{padding:30px !important;}
.variations .reset_variations{visibility: visible;
    color: black;
    font-size: 13px;
    text-decoration: none;}
    
.woocommerce-message::before{color: #0a58ca;}
.woocommerce-message{border-top-color: #0a58ca;}
.wc-block-components-button{background-color:  #0a58ca !important;}
.wc-block-components-button:hover{color:white; background-color:  #e41b23 !important;}
.wpcf7 p{margin-bottom:5px;}

.site-main, body{overflow-x: hidden;}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images {    width: 46% !important;}


@media screen and (max-width: 768px) {
.pd{padding-left:5px; padding-right:5px;}
.banner .widget_media_image{width:100% !important;    }
.banner img{ height: auto !important;}
.blogin2{width: 98%;}
.wp-block-heading{line-height: 1.5;}
.post-9 .wpcf7{padding: 60px 15px 20px;}
.woocommerce-result-count{  width: 30%;}
.woocommerce-product-gallery.woocommerce-product-gallery--with-images {    width: 100% !important;}
.woocommerce-page .site{overflow-x: hidden;}
.variations tbody{display:block;}
.woocommerce div.product form.cart .variations select{width:100%;}
}

@media (min-width: 1200px) {

    
    .container-fluid{max-width: 1300px;}
}


@media (max-width: 767px) {
	.row{    margin-right: 0;
    margin-left: 0;}
}