/* oklch(48.8% 0.243 264.376) */

@font-face {
    font-family: 'Vazirmatn-Regular';
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.dates .days {
    flex-wrap: wrap;
}

.date-item:has(.wed) {
    position: relative;
    
}

.date-item:has(.wed):after {
    position: absolute;
    content: 'SOLD OUT';
    background: #ff0000a8;
    height: 100%;
    border-radius: 0.5rem;
    color: #ffffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 0.25rem;
}

.ded {
    position: relative;
    overflow: hidden;
    
}

.time-item:has(.ded) {
    background-color: red !important;
}

.ded:before {
    content: 'SOLD OUT';
    position: absolute;
    background: red;
    width: 100%;
    font-size: 0.6rem;
    color: #ffffff;
}

body {
    font-family: 'Vazirmatn-Regular', sans-serif;
    position: relative;
  z-index: 0;
    background-color: #ffffff;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://tsandali.ir/wp-content/uploads/2025/08/47c31b1552fafc1dadf9fb0edf061a27.jpg'); 
  background-repeat: repeat;
  background-size: auto; /* یا مثلاً 100px 100px */
  background-position: top left;
  opacity: 0.09;
  z-index: -1;
  pointer-events: none;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    direction: rtl;
}

#customer_login h2 {
    display: none;
}

a {
    text-decoration: none;
}

ul, li {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    height: 100vh;
    margin: auto;
    padding: 2rem 1rem;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #6e9a6f;
    padding: 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
}

main {
    min-height: 100%;
  display: flex;
  flex-direction: column;
}

.logo, .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 150px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subNav {
    background-color: black;
    padding: 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subNav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.subNav a {
    color: #ffffff;
    font-size: 0.9rem;
}

.on-sale-section {
    margin-top: 2rem;
    position: relative;
}

.on-sale-section .onsalelabel {
    position: absolute;
    background: #6e9a6fd6;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0.5rem;
    font-size: 0.9rem;
}

.on-sale-section a {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.on-sale-section img {
    width: 100%;
    border-radius: 0.5rem;
}

/* .tarl {
    margin: 4rem 0;
}

.tarl h2 {
    font-size: 1rem;
    color: #333333;
}

.tra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tra a img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tra a {
    color: #333333;
}

.tra p {
    margin: -3rem;
    padding: 0;
    font-size: 0.9rem;
}

.tAn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tAn a {
    width: 120px;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%
} */

.tAn {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.tAn::-webkit-scrollbar {
    display: none;
}
.tAn {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* اطمینان از اینکه آیتم‌ها قابل اسکرول هستند */
.tra {
    flex: 0 0 auto; /* جلوگیری از کوچک شدن و اجبار به اسکرول */
    width: 150px;
}


.tra {
    width: 150px;
    height: 150px;
    overflow: hidden;
    background: #8080801f;
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.tra a {
    display: flex;
    justify-content: center;
}

.tra a img {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    object-fit: cover;
}

.tra p a {
    font-size: 0.8rem;
    color: #333333;
}

.lastShowTitleSec {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lastShowsTitle {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333333;
}

.lastShowTitleSec a {
    color: #333333;
    font-size: 0.85rem;
}

.lastShows {
    display: flex; /* Align items in a row */
    overflow-x: auto; /* Enable horizontal scrolling */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    -ms-overflow-style: none; 
    gap: 2.68rem;
    
}

.lastShows::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome, Safari, and Edge */
}

.show {
    flex-shrink: 0;
    width: 260px;
    /*height: 390.86px;*/
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
    cursor: pointer;
}

.showImg {
    width: 100%;
    height: 100%;
    display: flex;
}

.showImg img {
    width: 100%;
    /*height: auto;*/
}

.showDetail {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #ffffffee;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: bottom 0.4s ease;
    z-index: 1;
}

/* فعال‌شدن با کلیک */
.show.active .showDetail {
    bottom: 0;
}

.show:hover .showDetail {
    bottom: 0;
}

.showDetail p {
    color: #000;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-ellipsis {
    overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  }
  

.showDetail svg {
    stroke: #333333;
    width: 16px;
}

.showDetail p + p {
    font-size: 0.75rem; /* سایز متن برای بقیه p ها */
}

.showDetail a {
    margin-top: 1rem;
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
}

.showDetail a:hover {
    background-color: #0056b3;
}

.tpgallery {
    margin-top: 2rem;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #6e9a6f;
    padding: 1rem;
    border-radius: 0.5rem;
}

.aboutUs {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.aboutUs a {
    color: #ffffff;
    font-size: 0.85rem;
}

.copyright p {
    color: #ffffff;
    font-size: 0.8rem;
}

/* single */
.singleTbanner {
    /* height: 200px; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.singleTbanner img {
    height: 100%;
    width: auto; /* این خط را اضافه کنید */
    max-width: 100%; /* این خط را اضافه کنید */
    object-fit: contain; /* این خط را اضافه کنید */
}


.singleHeaderTA {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.singleHeaderTA a {
    background-color: #6e9a6f;
    padding: 1rem 3rem;
    color: #ffffff;
    font-size: 0.9rem;
    border-radius: 0.25rem;
}

.singleHeaderTA h2 {
    font-size: 1.3rem;
}

.singleHero {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 2rem;
    border-bottom: 1px solid #80808042;
    padding-bottom: 2rem;
}

.tName {
    width: 70%;
}

.tImg {
     width: 500px; 
    height: auto;
    overflow: hidden;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
}

.tImg img {
    width: 100%;
    height: auto;
}

.tCast {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.3rem;
    margin-top: 2rem;
}

.tca {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    /* background-color: red; */
}

.tca a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #333333;
}

.tca p {
    font-size: 0.8rem;
    color: gray;
}

.tca img {
    width: 70px;
    height: 70px;
    border-radius: 100%;
    object-fit: cover;
}

.fullcastslist {
    padding: 0.75rem;
    background: rgba(211, 211, 211, 0.429);
    border-radius: 0.5rem;
}

.tDetail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 2rem 0;
}

.tDetail a {
    background: #6e9a6f;
}

.tDetail a svg {
    stroke: #ffffff;
}

.tDetail a p {
    color: #ffffff;
}

.tad {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 0.25rem;
    width: 80px;
    height: 80px;
    background-color: rgba(211, 211, 211, 0.429);
    padding: 0.5rem 0.25rem;
    border-radius: 0.25rem;
    box-sizing: border-box;
    overflow: hidden;
}

.tad svg {
    stroke: #333333;
    flex-shrink: 0;
}

.tad p {
    font-size: 0.7rem;
    color: #333333;
    line-height: 1.1;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap; /* یا از حالت wrap برداریم تا در یک خط بمونه */
    width: 100%;
    max-width: 100%;
}


.tAlert {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tAlert svg {
    margin-left: 0.5rem;
}

.tAlert p {
    font-size: 0.8rem;
    width: 80%;
}

.alertY {
    background-color: #b8860b;
    color: #ffffff;
    margin-bottom: 1rem;
}

.alertR {
    background-color: #ff7f50;
    color: #333333;
    margin-bottom: 1rem;
}

.alertH {
    background-color: #506aff;
    color: #ffffff;
    margin-bottom: 1rem;
}

.tdescription {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #333333;
    line-height: 2;
}

.fullCastTitle {
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #333333;
    font-size: 1rem;
}

#full-cast {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tpgallery {
    color: #333333;
    font-size: 1rem;
}

.my-post-gallery {
    display: flex;
    flex-wrap: nowrap; /* ← مهم: عکس‌ها زیر هم نرن */
    overflow-x: auto;   /* ← فعال کردن اسکرول افقی */
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 2rem;
    padding-bottom: 10px;

    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE و Edge */
}
.my-post-gallery::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.my-post-gallery a {
    display: block;
    flex: 0 0 auto; /* ← جلوگیری از کوچک شدن عکس‌ها */
    width: 150px;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
}
.my-post-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.video-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
    margin-top: 20px;
    margin-bottom: 2rem;
}
.video-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.video-box {
    flex: 0 0 auto;
    width: 350px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* seat section */
.dates {
    margin: 1rem 0;
}

.sections-container {
    margin-bottom: 2rem;
}

.must-login {
    font-size: 0.9rem;
}

.comment-list {
    padding: 0;
}

.comment {
    margin: 1rem 0;
}

.comment-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #ffffff;
     border: 1px solid #cacaca5c; 
     border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
}

.comment-header-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-author img {
    object-fit: cover;
    border-radius: 0 0.5rem 0 0;
}

.comment-header-card .fn {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-header-card .fn a {
    /*color: #6e9a6f;*/
    color: #333333;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tamashagar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #a3f6a3;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    color: green;
    font-size: 0.7rem;
    font-weight: normal;
}

.comment-meta {
    padding: 0 1rem;
    color: #000000ad;
    font-size: 0.85rem;
}

.reply-to {
    color: gray;
    font-size: 0.85rem;
}

.comment-text {
     background: #ffffff; 
    border: 1px solid #cacaca5c;
    padding: 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
}

.comment-text p {
    font-size: 0.9rem;
    line-height: 2;
    color: #000000;
}

.comment-text .reply {
    margin: 1rem 0 0 0;
}

.comment-text .reply a {
    color: #6e9a6f;
    font-size: 0.9rem;
}

#custom-comment-form {
    margin: 2rem 0;
}

#custom-comment-form form {
    margin: 1rem 0;
}

#custom-comment-form textarea {
    width: 100%;
    padding: 1rem;
    font-family: 'Vazirmatn-Regular';
    font-size: 0.9rem;
    color: #333333;
    border: 1px solid #cacaca5c;
    border-radius: 0.5rem;
}

#custom-comment-form input {
    background: #6e9a6f;
    border: none;
    padding: 0.5rem 1rem;
    font-family: 'Vazirmatn-Regular';
    color: #ffffff;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
    cursor: pointer;
}

.selected-ticket-wrapper {
    background-color: #ffffff !important;
}

.selected-ticket-wrapper .total-selected-seats, .selected-ticket-wrapper .total-price {
    color: #333333;
}

.selected-ticket-wrapper .theatre-add-to-cart {
    background: #6e9a6f;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-family: 'Vazirmatn-Regular';
    cursor: pointer;
    color: #ffffff;
}

.tooltip-top {
    font-family: 'Vazirmatn-Regular' !important;
}

.seats .seat {
    border: var(--border) solid #6e9a6f;    
}

.seats .seat::before {
    background-color: #46a848;
}

.swal2-actions button {
    font-family: 'Vazirmatn-Regular' !important;
}

.date-item.active, .time-item.active {
    background-color: #6e9a6f !important;
    color: #ffffff;
}

.time-item {
    border: 2px solid #6e9a6f !important;
}

/* woocommerce my account */
.woocommerce {
    margin: 2rem 0;
}

.woocommerce-MyAccount-navigation {
    margin-bottom: 1rem;
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem !important;
}

.woocommerce-MyAccount-navigation li {
    background: #d3d3d361;
    border-radius: 0.25rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.woocommerce-MyAccount-navigation li a {
    color: #333333;
    font-size: 0.9rem;
}

.woocommerce-MyAccount-content h2 {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 1rem;
}

.shop_table .woocommerce-orders-table__header {
    font-size: 0.9rem;
    color: #333333;
}

.woocommerce-dashboard .woocommerce-MyAccount-content p:not(.myaccDashOver) {
    display: none;
}

.woocommerce-dashboard .woocommerce-MyAccount-content p {
    color: #333333;
    font-size: 0.9rem;
    margin-top: 2rem;
}

.woocommerce-dashboard .woocommerce-MyAccount-content h2 {
    font-size: 1rem;
    color: #333333;
}

.woocommerce-dashboard .woocommerce-MyAccount-content .atagdash {
    color: red;
}

.coupon-error-notice {
    margin-right: 0.5rem;
}

.woocommerce-Button {
    background: #6e9a6f !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 100 !important;
    font-family: 'Vazirmatn-Regular';
}

.woocommerce-info {
    border-top-color: #6e9a6f !important;
}

.woocommerce-info::before {
    color: #6e9a6f !important;
}

.ppth3 {
    font-size: 1rem;
    color: #333333;
}

.myaccAddPP {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0 2rem 0;
}

.myaccppimg {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100% !important;
    object-fit: cover !important;
}

.myaccPPA {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.myaccPPA button, a.woocommerce-button {
    font-family: 'Vazirmatn-Regular';
    font-size: 0.9rem !important;
    font-weight: 100 !important;
    color: #ffffff !important;
}

.woocommerce-button {
    background-color: #6e9a6f !important;
    font-family: 'Vazirmatn-Regular';
}

.myaccPPA button.ppSave {
    background-color: #6e9a6f;
}

.myaccPPA button.ppdell {
    background: red;
}

#account_display_name_description em {
    font-size: 0.8rem;
    color: gray;
    font-style: normal;
}

.woocommerce-EditAccountForm {
    padding-top: 1rem;
}

.woocommerce-EditAccountForm label {
    font-size: 0.85rem;
}

.woocommerce-EditAccountForm fieldset {
    padding: 0.5rem;
}

.clear {
    margin-bottom: 1rem;
}

.woocommerce-EditAccountForm button {
    font-family: 'Vazirmatn-Regular';
}

.page {
    margin: 2rem 0;
}

.page h1 {
    font-size: 1rem;
    color: #333333;
}

.woocommerce-cart h1, .woocommerce-checkout h1, .woocommerce-order-received h1, .woocommerce-thankyou-order-received, .woocommerce-customer-details {
    display: none !important;
}

.wc-backward {
    font-size: 0.9rem !important;
    font-weight: normal !important;
}

.woocommerce-cart .coupon {
    display: flex !important;
}

.woocommerce-cart .coupon button {
    background-color: #6e9a6f !important;
    font-family: 'Vazirmatn-Regular' !important;
    font-weight: normal !important;
    color: #ffffff !important;
    font-size: 0.9rem;
}

.woocommerce-cart .coupon input, .woocommerce-cart button[name="update_cart"] {
    font-family: 'Vazirmatn-Regular' !important;
}

.woocommerce-cart button[name="update_cart"] {
    font-size: 0.9rem;
    font-weight: normal !important;
}

.cart_totals h2 {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 1rem;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    font-size: 0.9rem !important;
    font-weight: normal !important;
    background: #6e9a6f !important;
}

.woocommerce-checkout .col-2 {
    display: none;
}

.woocommerce-checkout .col-1 {
    float: none !important;
    width: 100% !important;
}

.checkout_coupon {
    display: flex;
    align-items: center;
}

.checkout_coupon button {
    font-family: 'Vazirmatn-Regular' !important;
    font-size: 0.9rem !important;
    font-weight: normal !important;
    background: #6e9a6f !important;
    color: #ffffff !important;
    padding: 0.673rem !important;
}

#order_review_heading {
    margin: 2rem 0 1rem 0;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    font-family: 'Vazirmatn-Regular' !important;
    font-weight: normal !important;
}

.woocommerce-order-details__title {
    font-size: 1rem !important;
    color: #333333 !important;
    margin: 2rem 0 1rem 0;
}

.get-ticket {
    background-color: #6e9a6f !important;
    color: #ffffff !important;
    font-family: 'Vazirmatn-Regular';
    padding: 0.5rem 1.5rem !important;
    border: none !important;
    margin-top: 1rem !important;
    cursor: pointer;
}

.woocommerce-thankyou-order-details strong {
    font-weight: normal !important;
    margin-top: 0.5rem;
}

.woocommerce-orders-table__cell-order-actions {
    display: flex !important;
    gap: 1rem !important;
}

mark {
   color: blue !important; 
}

.user-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    background: #d3d3d342;
    border-radius: 0.5rem;
}

.user-profile {
    position: relative;
    overflow: hidden;
}

.user-profile::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(2px); /* مقدار بلور */
    z-index: 0;
    transform: scale(1.1); /* جلوگیری از بریدگی در کناره‌ها */
}


.user-profile .user-profile-picture {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 100%;
    z-index: 1000;
}

.user-profile h2 {
    font-size: 1rem;
    color: #ffffff;
    font-weight: normal;
    background-color: #333333b8;
    z-index: 1000;
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
}

.userShowTitle {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 1rem;
}

.author-posts-list {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.author-posts-list img {
    border-radius: 0.5rem;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    color: #ffffff !important;
    font-family: 'Vazirmatn-Regular' !important;
    font-weight: normal !important;
    font-size: 1rem !important;
}

.woocommerce-privacy-policy-text {
    display: none !important;
}

.woocommerce-form-register .form-row, .woocommerce-form-register .form-row input {
    width: 100% !important;
    padding: .5em;
    font-family: 'Vazirmatn-Regular' !important;
}

/* category page */
.category-page {
    margin: 2rem 0 !important;
}

.category-page .lastShows {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    direction: rtl;
}


.category-page .show {
    width: 100%; /* چون Grid داره کنترل می‌کنه */
    max-width: unset; /* لغو محدودیت قدیمی */
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
}

/*map*/
.map-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.btnRoute {
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    transition: background-color 0.3s ease;
    align-items: center;
    gap: 0.5rem;
}

.btnRoute:hover {
    background-color: #2980b9;
}

.btnRoute.neshan {
    background-color: #2ecc71;
}

.btnRoute.neshan:hover {
    background-color: #27ae60;
}

#account_bio {
    width: 100%;
    padding: 0.5rem;
    font-family: 'Vazirmatn-Regular';
    border-radius: 0.25rem;
}

.user-bio {
    margin-bottom: 2rem;
    background: #333333;
    border-radius: 0.25rem;
    padding: 1rem;
    color: #ffffff;
    font-size: 0.8rem;
    position: relative;
}

.user-bio svg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-20px, -50%) scale(3);
    opacity: 0.1;
}



@media (max-width: 530px) {
    /* .singleTbanner {
        height: 120px;
    } */
    .singleHero {
        flex-direction: column-reverse;
    }
    .tImg {
        width: auto;
    }
    .tName {
        width: 100%;
    }
    .tCast {
        justify-content: space-between;
    }
    .tDetail {
        justify-content: center;
    }
    #full-cast {
        justify-content: center;
        flex-wrap: wrap;
    }
    .theatre {
        width: max-content;
    }
    .woocommerce ul.order_details li {
        width: 100%;
        margin-bottom: 1rem;
    }
    nav p {
        display: none;
    }
    .on-sale-section .onsalelabel {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
    #searchPopup {
        max-width: 400px !important;
    }
    
}

@media (max-width: 474px) {
    .author-posts-list li {
        width: 100%;
        height: auto;
    }
    .author-posts-list img {
        width: 100%;
        height: auto;
    }
    .subNav ul {
        display: flex
    ;
        align-items: center;
        gap: 2rem;
    }
    .subNav a {
        color: #ffffff;
        font-size: 0.7rem;
    }
}


/*Search*/
#thesearchbtn {
    display: flex;
    align-items: center;
    background: transparent;
    border: 0;
    outline: 0;
    color: #ffffff;
    font-family: 'Vazirmatn-Regular';
    gap: 1rem;
    cursor: pointer;
}

#thesearchbtn svg {
    stroke: #ffffff;
    cursor: pointer;
}

#searchPopup {
  position: fixed;
    top: 10%;
    right: 50%;
    width: 100%;
    max-width: 500px;
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translate(50%, 0);
    border-radius: 0.5rem;
}

#ajax-search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#ajax-search-form input {
    width: 100%;
    height: 44px;
    padding: 0.5rem;
    background: #d3d3d380;
    border: 0;
    outline: 0;
    border-radius: 0.25rem;
    font-family: 'Vazirmatn-Regular';
    color: #333333;
    font-size: 0.9rem;
}

.closesearchbtn svg {
    stroke: #333333 !important;
}

#ajax-search-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1rem 0;
}

#ajax-search-results h4 {
    margin-bottom: 1rem;
}

#ajax-search-results span {
    color: #333333;
    font-size: 0.9rem;
}

#ajax-search-results ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#ajax-search-results ul li:not(:last-child) {
    border-bottom: 1px solid #80808036;
    padding-bottom: 1rem;
}


.ajaxsid {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 0.25rem;
}

.ajaxsid img {
    width: 100%;
    height: auto;
}


/*End search*/

/*best of*/
.bestOf {
    display: flex
;
    align-items: center;
    justify-content: space-between;
    background: #ff4400;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.bestOf h2 {
        font-size: 0.9rem;
    color: #ffffff;
    font-weight: normal;
}

.bestOf svg {
    stroke: #ffffff;
}

.bestOf p {
    color: #ffffff;
    font-size: 0.8rem;
}