/*
Theme Name: اولترا بیز 
Theme URI: https://www.zhaket.com/store/web/weblabs/intro
Author: گروه برنامه نویسی وبلبز (WebLabs)
Author URI: https://www.zhaket.com/store/web/weblabs/intro
Description: Ultra Market: قالبی قدرتمند برای فروشگاهی متفاوت و حرفه‌ای با اولترا مارکت، تجربه‌ای نو از طراحی فروشگاه آنلاین را لمس خواهید کرد. این قالب بر پایه‌ای مدرن و قدرتمند ساخته شده و به شما امکان می‌دهد یک وب‌سایت فروشگاهی منحصربه‌فرد و حرفه‌ای بسازید. الهام‌گرفته از بازارهای پویا و مدرن، تایپوگرافی چشم‌نواز و جسور، ترکیب رنگی هوشمندانه و چیدمانی کاربرپسند، همگی در کنار هم تجربه‌ای لذت‌بخش برای مشتریان شما رقم می‌زنند. اولترا مارکت با ویرایشگر بلوک گوتنبرگ و المنتور وردپرس کاملاً سازگار است. می‌توانید رنگ‌ها، فونت‌ها و ساختار صفحات را به‌دلخواه تغییر دهید تا کاملاً با برند شما هم‌راستا شود. همچنین مجموعه‌ای از الگوهای آماده و حرفه‌ای، روند ساخت صفحات جذاب و کاربردی را تنها با چند کلیک ساده می‌کند. چه در حال راه‌اندازی یک بوتیک خاص باشید، چه یک مارکت‌پلیس بزرگ، فروشگاه محصولات دیجیتال یا برند لوکس، اولترا مارکت تمام ابزارها و انعطاف‌پذیری موردنیاز را در اختیار شما قرار می‌دهد تا فروشگاهی متمایز بسازید و تجربه‌ای عالی به مشتریانتان ارائه دهید.
Documentation: https://weblabs.ir/docs/
Requires PHP: 7.4
Version: 2.7.1
Text Domain: ultraBis
*/

/*
Peyda fonts are considered a proprietary software. To gain information about the laws
regarding the use of these fonts, please visit www.fontiran.com
---------------------------------------------------------------------
This set of fonts are used in this project under the license: (PJMZHGNA)
---------------------------------------------------------------------
*/


@font-face {
    font-family: "peyda";
    src: url("/wp-content/themes/ultra-bis/assets/fonts/PeydaWebVF.woff");
    src: url("/wp-content/themes/ultra-bis/assets/fonts/PeydaWebVF.woff2");
}



html, body, input, button, textarea, select ,pre {
    font-family: "peyda";
    font-display: swap;
}

.elementor-editor .elementor-panel {
    font-family: "peyda" !important;
}

#select2-elementor-control-default-c565-results, .dialog-widget, .elementor-button, .elementor-loading-title, .elementor-panel, .elementor-panel button, .elementor-panel input, .elementor-templates-modal .dialog-widget-content, .elementor-templates-modal .dialog-widget-content input, .eps-app a, body[class*=elementor] .tipsy , .elementor-element{
    font-family: 'peyda' !important;
}

#select2-elementor-control-default-c565-results, .dialog-widget, .elementor-button, .elementor-loading-title, .elementor-panel, .elementor-panel button, .elementor-panel input, .elementor-templates-modal .dialog-widget-content, .elementor-templates-modal .dialog-widget-content input, .eps-app a, body[class*=elementor] .tipsy {
    font-family: 'peyda' !important;
}

/* reset styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

:root {

    --color-primary: #ED5521;
    --color-secondary: #ffe9dd;
    --color-light: #ED552129;
    --color-black:#343434;
    --color-white: #fff;
    --color-border:#EFEFEF;

    --box-shadow:0px 30px 60px 0px rgba(0, 0, 0, 0.08);

}
.container {
    width: 1366px;
    margin: 0 auto;
}

/* main header 1  */

.main-header-1 {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    z-index: 9;
}
.main-header-1 .logo {
    display: flex;
    font-weight: 900;
    font-size: 3.2rem;
    gap: 3.4rem;
    align-items: center;
    background-color: var(--color-primary);
    padding:1.4rem 10rem 1.4rem 2.4rem;
    color: var(--color-white);
}
.main-header-1 .logo .logo-letter {
    background-color: var(--color-white);
    padding: 2rem;
    color: var(--color-primary);
    margin: -3rem 0;
}
.main-header-1 .logo img {
	background-color: var(--color-white);
    padding: 0.5rem;
    color: var(--color-primary);
    margin: -3rem 0;
    width: 9rem;
    height: 9rem;
    object-fit: contain;
}
.main-header-1.dark .logo .logo-letter {
    background-color: var(--color-black);
    color: var(--color-white);
}
.main-header-1 .menu {
    background-color: var(--color-white);
    padding:2.4rem;
    font-weight: 600;
    font-size: 1.8rem;
    width: 45%;
    position: relative;
}
.main-header-1 .menu::after{
    content: "";
    background-color: var(--color-white);
    width: 200px;
    height: 7.5rem;
    position: absolute;
    z-index: 999;
    left: -8rem;
    top: 0;
    transform: skew(25deg);
}


.main-header-1.dark .menu {
    background-color: var(--color-black);
}
.main-header-1.dark .menu::after{
    background-color: var(--color-black);
}



.main-header-1 .menu ul{
    display: flex;
    gap: 3.4rem;
    align-items: center; 
}
.main-header-1 .menu ul li.active {
    color: var(--color-primary);
}


.main-header-1 .menu ul {
    display: flex;
    gap: 3.4rem;
    align-items: center;
    list-style: none;
    z-index: 2;
    position: relative;
}

.main-header-1 .menu ul li {
    position: relative;
}

.main-header-1 .menu ul li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color-black); 
    padding: 0 1.5rem; 
}
.main-header-1.dark .menu ul li a {
    color: var(--color-white); 
}

.main-header-1 .menu ul li::before,
.main-header-1 .menu ul li::after {
    content: "";
    position: absolute;
    right: 45%;             
    width: 0.6rem;
    height: 0.2rem;
    background: var(--color-primary);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-header-1 .menu ul li::before {
    top: -1.5rem;
}

.main-header-1 .menu ul li::after {
    bottom: -1.5rem;
}

.main-header-1 .menu ul li.active > a,
.main-header-1 .menu ul li:hover > a {
    color: var(--color-primary);
}

.main-header-1 .menu ul li.active::before,
.main-header-1 .menu ul li.active::after,
.main-header-1 .menu ul li:hover::before,
.main-header-1 .menu ul li:hover::after {
    opacity: 1;
    transform: scaleY(10);
}

.main-header-1 .number {
    position: relative;
    z-index: 5;
    font-size: 2rem;
    display: flex;
    margin-right: 16rem;
    gap: 1rem;
	height: 7.5rem;
    align-items: center;
    padding: 1.85rem 2rem;
    background: var(--color-secondary); 
    box-shadow: 0 12px 25px rgba(0,0,0,.25);
    z-index: 9;
}

.main-header-1 .number a {
	position: relative;
    z-index: 9;
    padding-left: 20px;
}
.main-header-1 .number::before {
    content: "";
    background-color: var(--color-white);
    width: 8rem;
    height: 100%;
    position: absolute;
    z-index: -1;
    left: -6rem;
    top: 0;
    transform: skew(25deg);
}

.main-header-1.dark .number::before {
    background-color: var(--color-black);
}


.main-header-1 .number::after {
    content: "";
    background-color: var(--color-secondary);
    width: 10rem;
    height: 100%;
    position: absolute;
    z-index: -1;
    right: -6rem;
    top: 0;
    transform: skew(25deg);
}

.main-header-1.dark .number .number-icon svg path {
  fill: var(--color-white);
}


.main-header-1 .number .number-icon {
    position: absolute;
    left: -3.5rem;      
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.main-header-1 .number .number-icon svg {
    display: block;
}


/* قاب شماره */
.main-header-1 .number span {
    padding: 0.4rem 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    
}









/* Hero section widget  */
.main-hero-ultra {
  position: relative;
  height: 45rem;
  margin-top: -12rem;
}

.main-hero-ultra .background {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-hero-ultra .background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:  bottom;
  filter: grayscale(100%);
  z-index: 1;
}

.main-hero-ultra .background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.85);
  clip-path: polygon(35% 0, 100% 0%, 100% 100%, 55% 100%);
}

.main-hero-ultra .background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background-color: var(--color-primary);
  opacity: 0.8;
  clip-path: polygon(0 0, 35% 0, 55% 100%, 0 100%);

}

.main-hero-ultra .hero-side {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;                
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  width: 54.9%;
  flex-direction: column;
}
.main-hero-ultra .hero-side img {
    width: 65rem;
}
.main-hero-ultra .hero-side::before{ 
     content: "";
     background-color: var(--color-white);
     width: 100%;
     height: 600px;
     position: absolute;
     bottom: 0;
     z-index: 8;
     clip-path: polygon(0 79%, 90% 79%, 100% 100%, 0 100%);
}



.main-hero-ultra .hero-text {
  position: absolute;
  top: 30%;
  right: 5%;
  z-index: 5;                
  max-width: 700px;
  margin: 5rem auto;
  padding: 0 3rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  width: 58%;
  flex-direction: column;
  border-right: 12px solid var(--color-primary);
}

.main-hero-ultra .hero-text h1 {
    color: var(--color-white);
    font-size: 6.4rem;
    font-weight: 900;
    line-height: 164%;
}

.main-hero-ultra .hero-text h2 {
    color: var(--color-white);
    font-size: 6.4rem;
    font-weight: 100;
    line-height: 164%;
}



/*
* Comment Style
*/
.comments-area {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 32px;
}

.comments-area .comment-box-flex {
  width: 65.9%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 24px;
  padding-top: 33px;
  padding-right: 32px;
  padding-bottom: 33px;
  padding-left: 32px;
  background: #0d3e62;
}

.comments-area ul.comment-list.comment {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comment-list .comments-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comments-title .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff29;
  box-shadow: 0px 6px 16px 0px #0000000f;
}

.comments-title h2 {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.line-comments {
  border: 1px solid #ffffff3d;
}

.comment-list li.comment {
  padding: 24px;
  background: #f8f9f914;
  border-radius: 24px;
  list-style: none;
}

li.comment .comment {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment .nema-comments {
  display: flex;
  align-items: center;
  gap: 11px;
}

.nema-comments .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  background: #f8f9f929;
}

.nema-comments .comment-by {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.nema-comments .comment-approved {
  font-size: 12px;
  color: #ffffff7a;
}

.comment .text-comments {
  font-weight: 500;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0%;
  text-align: justify;
  color: #fff;
}

.comment .comment-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-block .replay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff14;
  border-radius: 12px;
  padding: 10px 16px 10px 14px;
}

.comment-block .replay a {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

ul.children {
  margin-top: 32px;
}

.date-comments {
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-comments .date-time {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff7a;
}

.box-comment-replay {
  width: 31%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  gap: 24px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--box-shadow);
}

.box-comment-replay p {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-primary);
}

.box-comment-replay .btn-comment-replay {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 13.5px;
  background-color: var(--color-primary);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
  cursor: pointer;
}

.comment-respond {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.comment-modal {
  max-width: 878px;
  border-radius: 24px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #34343414;
  box-shadow: 0px 20px 40px 0px #00000014;

  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .comment-modal {
  transform: scale(1);
}

.comment-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header .modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-title .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  background: #0d3e6214;
}

.modal-title h3 {
  font-weight: 700;
  font-size: 18px;
}

.modal-header .modal-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: #0d3e6214;
  cursor: pointer;
}

.comment-box-flex .no-comments {
  font-weight: 500;
  font-size: 16px;
  color: #fff;
}

.comment .text-comments a {
  color: #1874b8;
  text-decoration: underline;
  font-weight: 600;
}

.comment-form {
  margin-top: 34px;
}

.comment-form label {
  font-weight: 600;
  font-size: 16px;
  color: #343434;
}

.comment-form input[type="text"],
.comment-form textarea {
  padding: 16px 14px;
  background: #f8f9f9 !important;
  border: 1px solid #34343414 !important;
  font-family: "YekanBakh";
  margin: 8px 0;
}

.comment-form .form-submit .submit {
  display: flex;
  align-content: center;
  gap: 14px;
  border-radius: 12px;
  padding: 15px 24px;
  background: #1874b8;
  color: #fff;
  font-family: "YekanBakh";
  font-weight: 700;
  margin-top: 34px;
}

.comment-form .form-submit .submit:hover {
  background: #4ba5e7;
  box-shadow: 0px 16.36px 32.73px 0px #0d3e6240;
}