/* 
Theme Name: Hello Elementor Childitem-image 
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
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
*/

/* Add your custom styles here */

/*general-css*/
#wp-content-media-buttons {
    display: flex;
    align-items: center;
    overflow: scroll !important;
    width: 100%!important;
}
.elementor-icon-wrapper {
    line-height: 0;
}

h3.elementor-icon-box-title {
    padding: 0 !important;
    margin: 0 !important;
}

html , body{
    overflow-x:hidden;
}

/*general-css*/

/*header-site*/

.user-button{
    height: 37px;
    display: flex
;
    align-content: center;
    justify-content: center;
}

/*header-site*/

/*hero-hover*/

/*service-section*/

/*hover-services-section*/

.service-box-hover {
  position: relative;
  height: 650px;
  overflow: hidden;
  isolation: isolate;
}

.service-box-hover > .item-image {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center center !important;
  opacity: 0;
  transform: scale(1.03);
  filter: brightness(.9);
  transition: opacity .45s ease, transform .6s ease, filter .45s ease;
  pointer-events: none;
  z-index: 0;
}

.service-box-hover:not(.show-2):not(.show-3):not(.show-4) > .item-image.one {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
}

.service-box-hover.show-1 > .item-image.one,
.service-box-hover.show-2 > .item-image.two,
.service-box-hover.show-3 > .item-image.three,
.service-box-hover.show-4 > .item-image.four {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
}

.box-icon:hover {
     cursor: pointer;
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/*hover-services-section*/

/*service-section*/



/*body*/


/*blog*/

.img-blog::before {
    content: url(https://raamstudio.com/wp-content/uploads/2025/11/Untitled-design-1.png);
    position: absolute;
    right: -75px;
    top: calc(50% - -3px);
    transform: translate(-50%, -50%) scale(.6);
}

.img-blog-section::before{
        content: url(https://raamstudio.com/wp-content/uploads/2025/11/blog-page-right.png);
    position: absolute;
    right: -75px;
    top: calc(50% - -3px);
    transform: translate(-50%, -50%) scale(.6);
}

.img-blog-section::after{
        content: '';
    position: absolute;
    right: 5px;
    top: calc(50% - -6px);
    transform: translate(-50%, -50%);
    width: 2px;
    height: 35px;
    background-color: gray;
}

.img-blog::after {
    content: '';
    position: absolute;
    right: 5px;
    top: calc(50% - -6px);
    transform: translate(-50%, -50%);
    width: 2px;
    height: 35px;
    background-color: gray;
}

.mag-blog .elementor-swiper-button {
    background-color: #808080;
    padding: 6px;
    border-radius: 8px;
}


.section-blog::before {
    content: url(https://raamstudio.com/wp-content/uploads/2025/11/arrow-blog.png);
    position: absolute;
    top: 30%;
    left: calc(50% - -112px);
    transform: translate(-50%, -50%) scale(.3);
}

/*blog*/

/*shop-section*/

.section-shop::before {
    content: url(https://raamstudio.com/wp-content/uploads/2025/11/Subtitle.png);
    position: absolute;
    top: calc(50% - -84px);
    left: calc(50% - -70px);
    transform: translate(-50%, -50%) scale(.7);
}

@media(max-width:768px){
    .section-shop::before {
content: url(https://raamstudio.com/wp-content/uploads/2025/11/Subtitle.png);
        position: absolute;
        top: calc(50% - 197px);
        left: calc(50% + 45px);
        transform: translate(-50%, -50%) scale(0.3)!important;
}
.section-blog::before {
    content: url(https://raamstudio.com/wp-content/uploads/2025/11/arrow-blog.png);
    position: absolute;
    top: 40%;
    left: calc(50% - -10px);
    transform: translate(-50%, -50%) scale(.2);
}
}
/*categpries*/
.icons-bg::before{
        content: url(https://raamstudio.com/wp-content/uploads/2025/11/Asset-3.png);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%)
}

.icons-bg {
      position: absolute;
    left: 44px;
    top: 2px;
}

/*categpries*/

/*about-us-section*/

.about-us::before {
    content: url(https://raamstudio.com/wp-content/uploads/2025/11/1-1.png);
    position: absolute;
    left: 0%;
    top: 32%;
    transform: translate(-50%, -50%) scale(0.8);
}

.top-title-about-us{
    position: absolute;
    top: 0px;
    right: 10%;
        transform: translate(-50% , -50% );
        
}

.top-title-about-us::before{
    content:'';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50% );
    background-color: white;
    height: 50px;
    width: 200px;
    z-index: -1;
    border-radius: 10px;
}

.section-bg-farsi::before {
    content: url(https://raamstudio.com/wp-content/uploads/2025/11/Untitled-design-7.png);
    position: absolute;
    left: 9%;
    top: -2%;
    transform: translate(-50%, -50%) scale(.8);
    width: 233px;
}

.img-cat::before {
    content: url(https://raamstudio.com/wp-content/uploads/2025/11/Untitled-design-11.png);
    position: absolute;
    z-index: -2;
    right: -193px;
    top: 68%;
    transform: translate(-50%, -50%);
}

/*about-us-section*/
/*shop-section*/
/*body*/
/*footer*/

.footer::before {
    content: url(https://raamstudio.com/wp-content/uploads/2025/11/Rectangle-40097.svg);
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translate(-50%, -50%) scale(.8);
    width: 582px;
    height: 90px;
}

.logo-top-footer {
    position: absolute;
    top: 62px;
    left: 50%;
    transform: translate(-50%, -50%) scale(.8);
}

.titile-footer::before {
    position: absolute;
    content: '';
    width: 20px;
    height: 3px;
    background-color: #7EE0C0;
    top: calc(50% - -21px);
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 30px;
}

.titile-footer.right::before {
    right: -9px !important;
}

.herowp-developer {
    width: 80px;
    overflow: hidden;
    transition: width .5s 
ease-in-out;
    position: relative;
    white-space: nowrap;
    text-align: center;
    float: left;
}

.herowp-developer:hover {
    width: 230px;
}

@media(max-width:768px){
    
}

/*footer*/

/*blog-page*/

.categories-blog h5{
    display:none;
}

.categories-blog ul {
    padding: 0;
    list-style: none;
}

.categories-blog a {

    color: #404a4a;
}

/*blog*/

.date-blog{
       position: absolute;
    background: #fff;
    border: 1px solid #fff;
    color: #1b1b1b;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    bottom: 21%;
    left: 8%;
    z-index: 1;
    transform: translate(-50% , -50%)
}

.blog-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.blog-img a {
  display: block;
  border-radius: inherit;
  overflow: hidden;
}

.blog-img a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
  transform-origin: center;
}

.blog-img a:hover img {
  transform: scale(1.06);
}

.categories-blog h5{
    display: none
}

/*blog*/

/*single-blog*/

.categories-post h5{
    display:none!important;
}

.categories-post a{
   color:#000!important;
}

.categories-post ul{
    padding-right:0!important;
}

.categories-post ul li {
    list-style: none;
}

.section-txt p {
    color: black;
    font-size: 14px;
}   

h2#reply-title {
    font-size: 20px;
    font-weight: 600;
}

.comment-sec textarea#comment {
    background-color: #dcdcdc1f;
    border: none;
    border-radius: 13px;
}

[type=button], [type=submit], button {
    background-color: transparent;
    border: 1px solid #f97315;
    border-radius: 10px;
    color: #f97315;
    
}

.section-txt h2{
    font-size: 25px;
    font-weight: 700;
}

.instagram-banner{
       background: #f09433; 
background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

.sidebar-singl-blog{
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    border-radius: 18px;
}


#blog-sidebar::before{
    background-color: #DDDDDD!important;
}

span.day {
    font-weight: 300;
    font-size: 30px;
    line-height: 36px;
        color: #009688;
}


.post-date {
    display: flex
;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 90px;
    height: 90px;
    border-top-left-radius: 110px;
    border-top-right-radius: 110px;
    border: 4px solid #ececec;
    border-bottom: none;
    padding-top: 20px;
}
    
    .post-share-box-icons {
    display: flex
;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

@media(max-width:768px){
    .post-share-box-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    flex-direction: row;
}
}
/*single-blog*/


/*blog-page*/

/*single-shop*/

able tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: hsl(0deg 0% 100% / 7.1%)!important;
}

table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: hsl(0deg 0% 100% / 10.2%) !important;
}

/*single-shop*/



div#customer_login h2 {
    display: none;
}

.smsir .h-16 {
    height: 7rem;
}

.smsir .text-left {
    text-align: right;
    font-family: 'Gandom' !important;
}

.header-cart-count {
    position: absolute;
    top: -30px;
    left: -20px;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

@media(max-width:768px){
    .header-cart-count {
    position: absolute;
    top: -13px;
    left: 29px;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
}

/*404 page*/

:root{
  --brand:#73AFD8;      /* رنگ اصلی */
  --tint:#E7F5FF;       /* رنگ تیف ملایم */
  --ink:#0b1c27;        /* متن تیره */
  --bg:#f7fbff;         /* پس‌زمینه روشن */
  --glass:rgba(255,255,255,0.35);
  --shadow: 0 10px 30px rgba(26,81,112,0.15);
}

.x404{
  position:relative;
  min-height:70svh;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(1200px 600px at 80% 10%, var(--tint) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color:var(--ink);
  isolation:isolate;
}

/* بافت نرم بکراند + گرین خیلی لطیف */
.x404__bg::before, .x404__bg::after{
  content:"";
  position:absolute; inset:-20%;
  pointer-events:none;
}
.x404__bg::before{
  background:
    radial-gradient(600px 400px at 15% 25%, rgba(115,175,216,0.25), transparent 70%),
    radial-gradient(800px 500px at 85% 75%, rgba(231,245,255,0.6), transparent 60%);
  filter: blur(40px);
  z-index:0;
}
.x404__bg::after{
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0 1px, transparent 1px 2px);
  mix-blend-mode: soft-light;
  opacity:.5;
  z-index:0;
}

.x404__hero{
  position:relative;
  z-index:2;
  width:min(1100px, 92vw);
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items:center;
  padding: clamp(16px, 3vw, 24px);
}

@media (max-width:900px){
  .x404__hero{ grid-template-columns: 1fr; text-align:center; }
}

/* لنز */
.lens{
  position:relative;
  aspect-ratio:1/1;
  width: min(520px, 80vw);
  margin-inline:auto;
  border-radius:50%;
  background:
    radial-gradient( circle at 50% 55%, #102a3a 0%, #0c1f2b 55%, #091723 100% );
  box-shadow:
    inset 0 0 20px rgba(255,255,255,0.08),
    inset 0 60px 120px rgba(115,175,216,0.08),
    var(--shadow);
  overflow:hidden;
  transform: translateZ(0);
  will-change: transform, filter;
}

/* رینگ‌های لنز با هاورهای شیک */
.lens__ring{
  position:absolute; inset: 4%;
  border-radius:50%;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform .8s cubic-bezier(.19,1,.22,1), border-color .4s ease;
}
.ring--outer{ inset: 2%; }
.ring--mid{ inset: 10%; }
.ring--inner{ inset: 18%; }

.lens:hover .ring--outer{ transform: rotate(6deg) scale(1.02); border-color: rgba(115,175,216,0.35); }
.lens:hover .ring--mid{ transform: rotate(-8deg) scale(1.03); border-color: rgba(231,245,255,0.45); }
.lens:hover .ring--inner{ transform: rotate(12deg) scale(1.04); border-color: rgba(115,175,216,0.55); }

/* SVG شاتر */
.aperture{
  position:absolute; inset:8%;
  width:84%; height:84%;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}
.aperture .blade{
  transform-origin: 0 0;
  animation: blade-rot 6s linear infinite;
}
.aperture polygon{
  fill: #132938;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
@keyframes blade-rot{
  0%{ transform: translate(100px,100px) rotate(0deg); }
  100%{ transform: translate(100px,100px) rotate(360deg); }
}

.aperture .flare{
  fill: rgba(231,245,255,0.8);
  filter: blur(1px);
  animation: flare 3.2s ease-in-out infinite alternate;
}
@keyframes flare{
  0%{ opacity:.35; transform: translate(0,0) scale(1); }
  100%{ opacity:.9; transform: translate(-4px,-6px) scale(1.15); }
}

/* درخشش پویا */
.lens__glow{
  position:absolute; inset:-20%;
  background:
    radial-gradient(500px 300px at 70% 20%, rgba(115,175,216,0.35), transparent 65%),
    radial-gradient(400px 260px at 30% 80%, rgba(231,245,255,0.25), transparent 60%);
  mix-blend-mode: screen;
  filter: blur(24px);
  opacity:.55;
  transform: translate3d(0,0,0);
  animation: glow 8s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes glow{
  0%{ transform: translate3d(-6px, -4px, 0) scale(1); opacity:.45; }
  100%{ transform: translate3d(6px, 4px, 0) scale(1.03); opacity:.65; }
}

/* متن و دکمه‌ها */
.x404__text h1{
  font-size: clamp(28px, 3.2vw, 44px);
  line-height:1.2;
  margin: 0 0 12px;
}
.x404__text p{
  font-size: clamp(14px, 1.4vw, 18px);
  color: #345166;
  margin: 0 0 20px;
}
.x404__actions{
  display:flex; gap:12px; flex-wrap:wrap;
  justify-content:flex-start;
}
@media (max-width:900px){ .x404__actions{ justify-content:center; } }

.btn{
  --radius:18px;
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight:600;
  text-decoration:none;
  transition: transform .6s cubic-bezier(.19,1,.22,1), box-shadow .3s ease, background .4s ease;
  will-change: transform;
  user-select:none;
}
.btn--primary{
  color:#083049;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.85) 100%);
  box-shadow:
    0 10px 20px rgba(115,175,216,0.25),
    inset 0 0 0 1px rgba(115,175,216,0.55);
}
.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow:
    0 16px 28px rgba(115,175,216,0.35),
    inset 0 0 0 1px rgba(115,175,216,0.8);
}

.btn--ghost{
  color:#0c2a3b;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(115,175,216,0.45);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.8);
}

/* احترام به prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .aperture .blade, .aperture .flare, .lens__glow, .lens__ring { animation: none !important; transition: none !important; }
}

.elementor-23 .elementor-element.elementor-element-ca501fc .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 94%;
    top: 8px;
}
/*404 page*/

/*upload-img-single-product*/
/*upload img*/

.raya-photo-upload {
  margin: 20px 0;
  direction: rtl;
  font-family: inherit;
}

.raya-photo-info-box {
  background: #fff7e6;
  border: 1px solid #ffe1ae;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}

.raya-photo-info-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.raya-dropzone {
  border: 2px dashed #d3d3d3;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  background: #fafafa;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-bottom: 10px;
}

.raya-dropzone-hover {
  background: #f0f8ff;
  border-color: #5aa9ff;
}

/*.raya-dropzone-inner {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  gap: 12px;*/
/*  flex-wrap: wrap;*/
/*}*/

.raya-drop-icon {
  font-size: 26px;
}

.raya-drop-text strong {
  display: block;
  margin-bottom: 4px;
}

.raya-drop-text span {
  margin: 0 5px;
  color: #777;
  font-size: 12px;
}

.raya-drop-help {
  margin-top: 8px;
  font-size: 12px;
  color: #777;
}

.raya-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

/* باکس پیام */
.raya-photo-message {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 8px;
}
.raya-photo-message-success {
  background: #e8fff2;
  border: 1px solid #a9e5c1;
}
.raya-photo-message-error {
  background: #ffe8e8;
  border: 1px solid #f5a8a8;
}
.raya-photo-message-info {
  background: #e8f4ff;
  border: 1px solid #aacdff;
}

/* لیست فایل‌ها */
/* گرید ۳تایی افقی برای کارت‌ها */
.raya-files-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* دقیقا ۳ تا در هر ردیف */
    gap: 10px;
    margin-top: 10px;
}

/* هر کارت خودش کل ستون رو می‌گیرد */
.raya-file-item {
    box-sizing: border-box;
    border: 1px solid #e1e7ee;
    border-radius: 8px;
    padding: 6px;
    background: #ffffff;
    text-align: center;
    font-size: 11px;
}
/* تبلت: دو تا در هر ردیف */
@media (max-width: 768px) {
    .raya-files-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* موبایل کوچک: یکی در هر ردیف */
@media (max-width: 480px) {
    .raya-files-list {
        grid-template-columns: repeat(1, 1fr);
    }
}


.raya-file-item.raya-file-error {
  border-color: #f5a8a8;
  background: #fff6f6;
}

.raya-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.raya-progress-wrap {
  background: #f0f0f0;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.raya-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  transition: width 0.2s ease;
}

.raya-file-status {
  font-size: 11px;
  color: #666;
  grid-column: 1 / 3;
}

.raya-file-remove {
  background: transparent;
  border: none;
  color: #d9534f;
  cursor: pointer;
  font-size: 11px;
  padding: 4px 6px;
}

.raya-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.raya-btn-primary {
  background: #73afd8;
  border-color: #73afd8;
  color: #fff;
}

.raya-btn-primary:hover {
  background: #5897c4;
  border-color: #5897c4;
}

.raya-btn-outline {
  background: transparent;
  border-color: #73afd8;
  color: #73afd8;
}

.raya-btn-outline:hover {
  background: #73afd8;
  color: #fff;
}

.raya-photo-login-warning {
  background: #fff1f0;
  border: 1px solid #ffa39e;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  direction: rtl;
}
.raya-photo-login-warning .raya-btn {
  margin-top: 8px;
}

  .nx-variation-buttons-wrapper {
        display: flex;
        gap: 8px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .nx-var-btn {
        padding: 8px 14px;
        border: 1px solid #ccc;
        background: #fff;
        cursor: pointer;
        border-radius: 6px;
        font-size: 14px;
    }
    .nx-var-btn.active {
        background: #000;
        color: #fff;
        border-color: #000;
    }
    
    /* کانتینر کلی */
.raya-photo-upload {
  border: 1px dashed #d0d7e2;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  background: #f9fbff;
}

/* هشدار لاگین */
.raya-photo-login-warning {
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff7e6;
  border: 1px solid #ffe0a3;
  margin-bottom: 16px;
  font-size: 14px;
}

/* دکمه‌ها */
.raya-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.raya-btn-primary {
  background: #0073e6;
  color: #fff;
}

/* دراپ‌زون */
.raya-dropzone {
  border: 2px dashed #b9c3d8;
  border-radius: 10px;
  background: #fff;
  padding: 18px;
  text-align: center;
  margin-bottom: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.raya-dropzone-hover {
  border-color: #0073e6;
  background-color: #f0f6ff;
}

.raya-dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.raya-drop-icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.raya-drop-text strong {
  display: block;
  margin-bottom: 4px;
}

.raya-drop-text span {
  display: inline-block;
  margin: 0 4px;
  color: #666;
  font-size: 13px;
}

.raya-drop-help {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.raya-file-input {
  display: none;
}

/* لیست فایل‌ها */
.raya-files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.raya-file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid #e1e7f0;
}

.raya-file-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.raya-file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.raya-file-placeholder {
  font-size: 12px;
  color: #666;
}

.raya-file-info {
  flex: 1;
}

.raya-file-name {
  font-size: 13px;
  margin-bottom: 4px;
  color: #333;
}

/* نوار پیشرفت */
.raya-file-progress {
  width: 100%;
  height: 4px;
  background: #edf0f7;
  border-radius: 999px;
  overflow: hidden;
}

.raya-file-progress-bar {
  width: 0%;
  height: 100%;
  background: #0073e6;
  transition: width 0.2s ease;
}

.raya-file-remove {
  border: none;
  background: #ffe5e5;
  color: #c0392b;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
}

.raya-file-remove:hover {
  background: #ffd4d4;
}

/* باکس تعداد چاپ و خلاصه قیمت */
.raya-print-options {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #d0d7e2;
}

.raya-print-options h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.raya-print-note {
  font-size: 12px;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.6;
}

.raya-print-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.raya-print-row label {
  font-size: 13px;
  white-space: nowrap;
}

.raya-print-copies-input {
  width: 80px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #ccd3e0;
  font-size: 13px;
}

/* خلاصه */
.raya-print-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #f4f7ff;
  border-radius: 8px;
  padding: 8px 10px;
}

.raya-print-summary-item {
  flex: 1;
  min-width: 160px;
}

.raya-print-summary-item span {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.raya-print-summary-item strong {
  font-size: 14px;
  color: #222;
}

/* ریسپانسیو */
@media (max-width: 480px) {
  .raya-print-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .raya-print-copies-input {
    width: 100%;
    max-width: 200px;
  }
}


/*upload img*/

.raya-file-item input[type=number]{
        padding: 10px 10px!important;
}

/* کانتینر کلی */
.raya-photo-upload {
    border: 1px dashed #d4dde5;
    border-radius: 10px;
    padding: 10px 12px;
    background: #f9fbfe;
    margin-bottom: 15px;
    font-size: 13px;
}

/* نوار بالا: آیکون + متن + دکمه، روی یک خط */
.raya-dropzone {
    border-radius: 8px;
    padding: 8px 10px;
    border: 1px dashed #73AFD8;
    background: #ffffff;
    cursor: pointer;
}

.raya-dropzone-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    direction: rtl; /* آیکون راست، متن وسط، دکمه چپ */
}

.raya-drop-main-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.raya-drop-main-text strong {
    font-size: 13px;
    font-weight: 600;
}

.raya-drop-or {
    font-size: 12px;
    color: #666;
}

/* آیکون بالابر */
.raya-drop-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #73AFD8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.raya-drop-icon::before {
    content: "⬆";
    font-size: 16px;
    color: #73AFD8;
}

/* هاور دراپ‌زون */
.raya-dropzone-hover {
    border-color: #4b96c7;
    background: #f2f7ff;
}

/* متن راهنما زیر دراپ‌زون */
.raya-drop-help {
    margin-top: 4px;
    font-size: 11px;
    color: #7a8696;
}

/* دکمه‌ی اصلی بر اساس رنگ برند #73AFD8 */
.raya-btn {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    outline: none;
    line-height: 1.4;
    white-space: nowrap;
}

.raya-btn-primary {
    background-color: #73AFD8;
    color: #fff;
    box-shadow: 0 0 0 1px #73AFD8;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.raya-btn-primary:hover {
    background-color: #5f9fd2;
    box-shadow: 0 0 0 1px #5f9fd2;
}

.raya-btn-primary:active {
    background-color: #4b8dbf;
    box-shadow: 0 0 0 1px #4b8dbf inset;
    transform: translateY(1px);
}

/* جلوگیری از بردرهای پیش‌فرض وردپرس/براوزر */
.raya-btn,
.raya-btn:focus {
    border: none !important;
    box-shadow: 0 0 0 1px #73AFD8;
}

/* input فایل مخفی */
.raya-file-input {
    display: none;
}

/* پیام‌ها */
.raya-photo-message {
    margin-bottom: 6px;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.raya-photo-message-success { background: #e6f7e6; color: #177d17; }
.raya-photo-message-error   { background: #ffe6e6; color: #b13434; }
.raya-photo-message-info    { background: #eef3ff; color: #314477; }

/* لیست فایل‌های آپلود شده: گرید کنار هم */
.raya-files-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* کارت هر فایل */
.raya-file-item {
    flex: 0 0 130px;
    box-sizing: border-box;
    border: 1px solid #e1e7ee;
    border-radius: 8px;
    padding: 6px;
    background: #ffffff;
    text-align: center;
    font-size: 11px;
}

.raya-file-item img {
    width: 80px;
    height: auto;
    border-radius: 4px;
    margin: 0 auto 4px;
    display: block;
}

.raya-file-qty-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.raya-file-qty-label {
    font-size: 11px;
}

.raya-file-qty {
    width: 48px;
    text-align: center;
    font-size: 11px;
}

/* دکمه حذف داخل کارت */
.raya-file-remove {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #ffe4e4;
    color: #b13b3b;
}

/* کارت در حال آپلود */
.raya-file-item-uploading {
    flex: 0 0 130px;
    border-style: dashed;
    color: #656d78;
    background: #f7f9fc;
}

/* متن مجموع چاپ‌ها */
.raya-total-copies {
    margin-top: 8px;
    font-size: 12px;
    text-align: right;
    color: #444;
}

/* quantity ووکامرس کمی جمع‌وجورتر */
form.cart .qty {
    max-width: 70px;
    text-align: center;
}

.raya-cart-uploads {
    margin-top: 8px;
    font-size: 12px;
    color: #333;
}

.raya-cart-uploads-grid {
    display: grid;
    grid-template-columns: repeat(3, 50px);
    gap: 6px;
    margin-top: 6px;
}

.raya-cart-upload-box {
    position: relative;
    text-align: center;
}

.raya-cart-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.raya-cart-thumb-qty {
    position: absolute;
    bottom: -14px;
    left: 0;
    right: 0;
    font-size: 10px;
    color: #666;
    text-align: center;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th
 {
    background-color: hsl(0deg 0% 100% / 7.1%) !important;
}
/* عکس‌های آپلود شده در کارْت */
.raya-cart-photos-wrap {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    max-width: 220px; /* مهم: کنترل پهنای ستون محصول */
}

.raya-cart-photo img {
    width: 45px !important;
    height: auto !important;
    border-radius: 4px;
    display: block;
}

.raya-cart-photo span {
    font-size: 11px;
    display: block;
    text-align: center;
    margin-top: 2px;
}

/* کنترل ستون‌ها در جدول سبد خرید */
.woocommerce-cart-form__cart-item .product-name {
    width: 35% !important;
    vertical-align: top;
}

.woocommerce-cart-form__cart-item .product-thumbnail {
    width: 12% !important;
}

.woocommerce-cart-form__cart-item .product-price,
.woocommerce-cart-form__cart-item .product-quantity,
.woocommerce-cart-form__cart-item .product-subtotal {
    text-align: center;
}

/*upload img*/

/*comments*/

#raya-preview-box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.img-box {
    position: relative;
    width: 70px;
    height: 70px;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.delete-img {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff3b30;
    color: #fff;
    width: 18px;
    height: 18px;
    font-size: 12px;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}

#raya-reviews-container {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    overflow: visible !important;
    position: relative;
}

.raya-left {
    width: 60%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-right: 10px;
}

.raya-right {
    width: 40%;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 25px;
    background: #fff;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    height: fit-content;
    overflow: visible !important;
}

.raya-form-title {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.rating-group {
    margin-bottom: 18px;
}

.rating-group label {
    font-size: 14px;
    font-weight: bold;
    color: #222;
    display: block;
}

.rating-lines {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.rating-lines span {
    width: 42px;
    height: 7px;
    background: #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.rating-lines span.active {
    background: #ffc107;
}

.raya-textarea,
textarea[name="comment"] {
    width: 100%;
    min-height: 150px;
    border-radius: 12px;
    border: 1px solid #dadada;
    padding: 12px;
    font-size: 14px;
    resize: vertical;
}

.raya-form-actions {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-btn {
    background: #ff7a00;
    color: #fff;
    padding: 11px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.raya-upload-btn {
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    color: #333;
    font-size: 14px;
}

.raya-upload-btn input {
    display: none;
}

.raya-comment {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.raya-user-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.comment-text {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.8;
    white-space: normal !important;
    word-break: break-word !important;
}

.raya-user-average {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 12px;
}

.raya-user-average .avg-number {
    font-weight: bold;
    font-size: 15px;
    color: #333;
}

.raya-user-average .avg-stars .star {
    font-size: 18px;
    color: #ddd;
}

.raya-user-average .avg-stars .star.active {
    color: #ffc107;
}

.raya-comment-gallery {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.raya-comment-img img {
    width: 85px;
    height: 85px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.elementor-section,
.elementor-container,
.elementor-widget-wrap {
    overflow: visible !important;
}

@media(max-width: 768px){

    #raya-reviews-container {
        flex-direction: column;
        gap: 25px;
    }

    .raya-left,
    .raya-right {
        width: 100% !important;
        max-height: unset !important;
        overflow: visible !important;
        padding-right: 0;
    }

    .raya-right {
        position: relative !important;
        top: unset !important;
    }

    .rating-lines span {
        width: 30px;
        height: 6px;
    }

    .raya-comment-img img {
        width: 70px;
        height: 70px;
    }

    .raya-form-actions {
        flex-direction: column;
        gap: 12px;
    }

    .submit-btn,
    .raya-upload-btn {
        width: 100%;
        text-align: center;
    }
}

.icon-box-products{
    width: 100px;
}

@media(max-width:768px){
    .header-cart-count{
        right: -102px;
    }

    .icon-box-products{
        width:40%!important;  
        margin-top: 10px;
    }
}


/*comments*/

.icon-box-products{
    width: 100px;
}

/*single shop page*/

/*responsive-home*/
@media(max-width:768px){
    
    .header-cart-count{
         right: -102px;
    }
    
    .item-process::before {
        top: -5px !important;
        right:34%;
        transform: translate(-50%, -50%) rotate(-90deg)!important;
    }

.icon-box-products{
 width:40%!important;  
 margin-top: 10px;
}

}

/*upload-img-cart*/
.raya-cart-images-row td {
    background: #fafafa;
    padding: 15px 20px !important;
    border-top: none !important;
}

.raya-cart-images-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.raya-cart-image-box {
    width: 90px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 6px;
    text-align: center;
}

.raya-cart-image-box img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 4px;
}

.raya-photo-qty-input {
    width: 55px;
    padding: 3px;
    text-align: center;
}