/*
Theme Name: تکنورا
Theme URI: https://www.rtl-theme.com/tecnora-wordpress-theme/
Author: رحیمی در کامک
Author URI: https://www.rtl-theme.com/author/rahimi_mreza/products/
Description: قالب آماده تکنورا - دموی طلا
Requires PHP: 7.4
Version: 1.6
Text Domain: digicamak
*/

* {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

body, .woocommerce, .price, .quantity, input {
    font-family: "dana" !important;
}

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

/* Font Definitions */
@font-face {
    font-family: "peyda-bold";
    src: url("fonts/woff/PeydaWeb-Bold.woff");
    src: url("fonts/woff2/PeydaWeb-Bold.woff2");
}

@font-face {
    font-family: "yekanbakh";
    src: url("fonts/woff/PeydaWeb-Regular.woff");
    src: url("fonts/woff2/PeydaWeb-Regular.woff2");
}

@font-face {
    font-family: "peyda-semi";
    src: url("fonts/woff/PeydaWeb-SemiBold.woff");
    src: url("fonts/woff2/PeydaWeb-SemiBold.woff2");
}

@font-face {
    font-family: "dana";
    src: url("fonts/dana-fanum-regular.woff");
    src: url("fonts/dana-fanum-regular.woff2");
}

/* Typography */
.elementor-element p {
    font-family: 'yekanbakh';
    text-align: justify;
}

/* Variables */
:root {
    --main-color: #F93423;
    --second-color: #1BD2A3;
}

/* Links */
a {
    transition: all .2s ease-in-out;
    text-decoration: none;
    color: #303030;
}

/* Lists */
li {
    list-style: none;
}

/* Form Elements */
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
textarea {
    font-family: "yekanbakh";
    background: #fff;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    width: 100%;
    padding: 8px;
    height: 48px;
}

textarea {
    height: auto;
}

.button, 
input[type="submit"] {
    background: var(--main-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px !important;
    font-family: "yekanbakh";
    display: inline-flex;
    justify-content: center !important;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.fix-woocommerce-buttons .button,
.fix-woocommerce-buttons input[type="submit"],
.fix-woocommerce-buttons a.button {
    font-family: "yekanbakh" !important;
}

/* Account Sections */
.myaccount-detail, 
.myaccount-order, 
.myaccount-notif {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.item-detail, 
.item-order {
    flex: 1 1 calc(25% - 20px);
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

/* Account Menu Button */
.account-menu-btn {
    background: rgb(0 0 0 / 53%);
    border-radius: 16px !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin: 10px auto !important;
    color: #fafafa;
    display: none;
}

/* Mobile Account Slide Menu */
.mobile-account-slide {
    display: none;
    position: fixed;
    top: -200%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    z-index: 9998;
    transition: top 0.3s ease;
}

.mobile-account-slide.active {
    top: 0;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9997;
}

.menu-overlay.active {
    display: block;
}

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

.user-info-account {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
}

.user-info-account img {
    border-radius: 50%;
}

.user-info-account span {
    font-weight: bold;
    color: #fafafa;
    font-size: 15px;
}

.account-menu-close {
    font-size: 28px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

.mobile-account-slide ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-account-slide li {
    margin-bottom: 12px;
}

.mobile-account-slide li a {
    display: block;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 12px;
    color: #333;
    font-weight: 500;
    transition: background 0.3s;
    text-decoration: none;
}

.mobile-account-slide li a:hover {
    background: #0071a1;
    color: #fff;
}

/* Account Button and Dropdown */
.account-btn-tecnomob {
    position: relative;
    display: inline-block;
}

.account-label-tecnomob {
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    gap: 3px;
    transition: background 0.3s, box-shadow 0.3s;
    flex-direction: column;
    align-items: center;
}

.account-label-tecnomob:hover {
    background: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.account-label-tecnomob img {
    border-radius: 50px;
}
.tecnora-notice.tecnora-notice-info {
    background: #c9e1ff8a;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}
.ac-access-tecnomob {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    z-index: 1000;
}

.ac-access-tecnomob ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    width: 200px;
}

.ac-access-tecnomob li {
    margin: 0;
}

.ac-access-tecnomob li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.ac-access-tecnomob li a:hover {
    background: #f1f1f1;
    color: #0073aa;
}

.account-btn-tecnomob.open .ac-access-tecnomob {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#arrow_icon {
    transition: transform 0.4s ease;
    color: #555;
}

.account-btn-tecnomob.open #arrow_icon {
    transform: rotate(180deg);
    color: #0073aa;
}

/* WooCommerce Specific Styles */
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #fafafa !important;
    background: #ff5b5b !important;
}

.woocommerce-account .woocommerce a.added_to_cart {
    padding-top: .5em;
    background: #5e7ced;
    border-radius: 10px;
    margin-right: 10px;
    padding: 10px;
    color: #fff;
}

.woosw-popup .woosw-popup-inner .woosw-popup-content {
    border-radius: 20px;
}

.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top {
    background-color: var(--second-color) !important;
}

button#woosw_copy_btn {
    margin: 10px !important;
    padding: 4px 15px !important;
}

.cards button.woosw-btn span {
    display: none;
}

/* Wishlist Styles */
.woosw-items {
    direction: rtl;
    background: linear-gradient(145deg, #ffffff, #f7f9fc);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    margin: 24px 0;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.woosw-items table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.woosw-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: box-shadow 0.2s ease;
}

.woosw-item td {
    padding: 16px;
    border: none;
    vertical-align: middle;
    text-align: right;
}

.woosw-item--remove span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 20px !important;
    height: 20px !important;
    background: linear-gradient(135deg, #ff7675, #d63031);
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woosw-item--remove span::before {
    content: '*';
}

.woosw-item--image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.woosw-item--info {
    text-align: right;
}

.woosw-item--name a {
    font-size: 16px;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.woosw-item--price {
    margin: 8px 0;
    font-size: 15px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woosw-item--price del {
    color: #a0a6ab;
    font-size: 12px;
    font-weight: 400;
}

.woosw-item--price ins {
    color: #d63031;
    font-weight: 700;
    text-decoration: none;
}

.woosw-item--stock .out-of-stock {
    color: #fff;
    font-size: 12px;
    width: 150px;
    text-align: center;
    margin: 10px auto;
    font-weight: 600;
    background: linear-gradient(135deg, #ff7675, var(--second-color));
    padding: 5px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(214, 48, 49, 0.2);
}

.woosw-item--atc .add_to_cart_inline {
    margin: 0;
}

.woosw-item--atc .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #54a0ff, #2e86de);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: none;
    box-shadow: 0 3px 10px rgba(46, 134, 222, 0.2);
    transition: background 0.2s ease;
}

.woosw-item--atc .button.product_type_simple:not(.add_to_cart_button) {
    background: linear-gradient(135deg, #8395a7, #576574);
    box-shadow: 0 3px 10px rgba(87, 101, 116, 0.2);
}

.woosw-item {
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Product Image */
.product-image-tecnora {
    background: #f9fafb;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.product-image-tecnora .main-image {
    display: block;
    transition: opacity 0.3s ease;
}

.product-image-tecnora img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-image-tecnora .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Single Product Wishlist Button */
.single-product .woocommerce-product-gallery .product-action .woosw-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.single-product .woocommerce-product-gallery .product-action .woosw-btn span.add,
.single-product .woocommerce-product-gallery .product-action .woosw-btn span.added {
    display: none !important;
}

.single-product .woocommerce-product-gallery .product-action .woosw-btn span.add {
    display: inline !important;
}

.single-product .woocommerce-product-gallery .product-action .woosw-btn.woosw-added span.added {
    display: inline !important;
}

.single-product .woocommerce-product-gallery .product-action .woosw-btn.woosw-added span.add {
    display: none !important;
}
.tecnora-ai-text-muted {
    color: #021959;
    font-size: 12px;
    font-weight: 700;
    background-color: #FFF077;
    padding: 2px 5px 1px;
}
.tecnora-ai-card-title {
    color: #021959;
    font-size: 18px;
    font-weight: 900;
    padding: 10px 5px;
}
.tecnora-ai img{
    width: 50px;
    background: var(--second-color) !important;
    border-radius: 20px;
}
.product-reviews__content-item-head-actions--helpfull {
    display: flex;
    align-items: center;
}

.product-reviews__content-item-head-actions--like,
.product-reviews__content-item-head-actions--dislike {
    cursor: pointer;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.product-reviews__content-item-head-actions--like svg,
.product-reviews__content-item-head-actions--dislike svg {
    margin-left: 5px;
}

.user-voted {
    color: #0073aa;
}

.user-voted svg {
    stroke: #0073aa;
}
.single-product .woocommerce-product-gallery .product-action .woosw-btn {
    background: #ffffff !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    z-index: 101 !important;
}

.single-product .woocommerce-product-gallery .product-action .woosw-btn i {
    font-size: 18px !important;
    color: #333333 !important;
}

.single-product .woocommerce-product-gallery .product-action .woosw-btn:hover {
    background: #007bff !important;
    width: auto !important;
    border-radius: 20px !important;
    padding: 0 15px !important;
}

.single-product .woocommerce-product-gallery .product-action .woosw-btn:hover i {
    color: #ffffff !important;
}

.single-product .woocommerce-product-gallery .product-action .woosw-btn:hover span {
    color: #ffffff !important;
    font-size: 14px !important;
    margin-right: 8px !important;
}

/* Menu Styles */
.main-menu:hover .digicamak-megamenu ul.menu > li.menu-item:first-child > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    border-radius: 20px 0px 0px 20px;
}

.digicamak-megamenu ul.menu > li.active {
    background-color: #f5f5f5;
    border-left: 4px solid #007bff;
    font-weight: bold;
}

.main-menu:hover .digicamak-megamenu ul.menu > li:first-child {
    background-color: #f5f5f5;
    font-weight: bold;
}

.sub-menu .menu-item-image img {
    max-width: 30px;
    margin-left: 5px;
}

.digicamak-megamenu ul.menu:has(> li:not(:first-child):hover) > li:first-child {
    background-color: transparent;
    border-left: none;
    font-weight: normal;
}

.menu-item-image {
    margin-bottom: 5px;
}

.menu-item-image img {
    max-width: 50px;
    height: auto;
    border-radius: 5px;
}

/* Offer and Card Styles */
.card-footer .nt-flex-start-center {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
}

.index-offers .index-offers-bg, 
.index-offers .index-offers-bg:before {
    background-color: var(--bs-danger);
    height: 100%;
    position: absolute;
    top: 0;
}

.index-offers .index-offers-bg {
    border-bottom-right-radius: var(--bs-border-radius-xxl);
    border-top-right-radius: var(--bs-border-radius-xxl);
    box-shadow: 15px 0 0 0 var(--bs-danger-bg-subtle);
    left: 0;
    width: 28rem;
    z-index: -1;
}

.index-ofers-bg {
    border-bottom-left-radius: var(--bs-border-radius-xxl);
    border-top-left-radius: var(--bs-border-radius-xxl);
    box-shadow: -15px 0 0 0 var(--bs-danger-bg-subtle);
    right: 0;
    width: 28rem;
    z-index: -1;
    background-color: var(--bs-danger);
    height: 100%;
    position: absolute;
    top: 0;
}

/* Animations */
.animate-pulse-slow {
    animation: pulse-slow 2.5s ease-in-out infinite;
}

.move-on-hover {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.move-on-hover:hover {
    transform: translateX(-12px);
}

/* Notifications and Invoices */
.notiftecnora {
    padding: 20px;
    z-index: 9999999;
}

.notiftecnora a {
    width: 70%;
}

.notif-main-tecnora {
    padding: 20px;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.min-notifshow-tecnora {
    padding: 20px;
    margin: 10px auto;
}

.invoic-tecnora-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.invoic-tecnora-list li {
    box-shadow: 0px 0px 9px 0px var(--main-color-one);
    background: var(--second-color);
    border-radius: 10px;
    padding: 10px;
}

.invoic-tecnora-list li a {
    color: #fafafa;
}

li.woocommerce-MyAccount-navigation-link--invoices a::before {
    content: "\f0f6";
}

li.woocommerce-MyAccount-navigation-link--unpp-notifications a::before {
    content: "\f0f3";
}

/* Hero and Category */
.hero-single .post-single h1, 
.hero-single .post-single h2 {
    color: var(--second-color);
    margin-right: 10px;
    line-height: 2;
}

.main-color-one-bg-tecnora {
    background: var(--second-color);
    box-shadow: 0px 0px 9px 0px var(--main-color-one);
}

.category-description.container {
    padding: 20px;
    box-shadow: var(--shadow);
    border-radius: 20px;
    background: #fafafa;
    text-align: justify;
}

/* Product Info */
.product-info.space-y-4 {
    padding: 5px;
}

/* Shipping Options */
.custom-shipping-options {
    margin-top: 20px;
}

.custom-shipping-options h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.shipping-day {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.shipping-day h4 {
    margin: 0 0 10px;
    font-size: 1.1em;
    color: #333;
}

.shipping-time {
    display: flex;
    align-items: center;
    padding: 5px;
}

.shipping-time.disabled {
    opacity: 0.5;
}

.tecnocmk-custom-shipping-options {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.tecnocmk-shipping-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.tecnocmk-shipping-day {
    margin-bottom: 20px;
}

.tecnocmk-day-title {
    font-size: 1.2em;
    color: #34495e;
    margin-bottom: 15px;
    font-weight: 500;
}

.tecnocmk-shipping-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.tecnocmk-shipping-time {
    position: relative;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tecnocmk-shipping-time:hover:not(.tecnocmk-disabled) {
    background: #e9f5ff;
    border-color: #3498db;
}

.tecnocmk-shipping-time.tecnocmk-disabled {
    background: #f0f0f0;
    opacity: 0.6;
    cursor: not-allowed;
}

.tecnocmk-shipping-time input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.tecnocmk-shipping-time .tecnocmk-time-slot {
    display: block;
    font-size: 1em;
    color: #2c3e50;
}

.tecnocmk-shipping-time input[type="radio"]:checked + .tecnocmk-time-slot {
    font-weight: 700;
    color: #3498db;
}

.tecnocmk-shipping-info {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

/* Checkout Payment */
.wc-custom-checkout-payment {
    max-width: 600px;
    margin: 15px auto;
    padding: 20px;
    direction: rtl;
    text-align: right;
}

.wc-payment-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.wc-payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wc-payment-method-box {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-payment-method-box:hover,
.wc-payment-method-box.active {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.wc-payment-radio {
    display: none;
}

.wc-payment-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    cursor: pointer;
}

.wc-payment-icon img {
    max-width: 40px;
    height: auto;
}

.wc-payment-description {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.wc-no-payment-methods {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    color: #856404;
}

.wc-place-order-section {
    margin-top: 30px;
    text-align: center;
}

.wc-noscript-notice {
    background: #f8d7da;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #721c24;
}

.wc-update-totals-button,
.wc-place-order-button {
    background: #007bff;
    color: #fff;
    border: none;
    margin: 30px auto !important;
    padding: 12px 30px !important;
    font-size: 1.1rem;
    border-radius: 12px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc-place-order-button:hover,
.wc-update-totals-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.p-2-onvoice .button {
    margin: 20px auto !important;
    display: block !important;
    width: 200px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .item-detail, 
    .item-order {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .user-info-account {
        flex-direction: row !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
    }
    .desknavtecno {
        display: none !important;
    }
    .account-menu-btn {
        display: flex;
        gap: 20px;
        align-items: center;
    }
    .mobile-account-slide {
        display: block;
    }
    .wc-custom-checkout-payment {
        padding: 15px;
    }
    .wc-payment-title {
        font-size: 1.3rem;
    }
    .wc-payment-method-box {
        padding: 10px;
    }
    .woosw-items {
        padding: 12px;
        margin: 16px 0;
    }
    .woosw-item td {
        padding: 10px;
        font-size: 12px;
    }
    .woosw-item--image img {
        width: 60px;
        height: 60px;
    }
    .woosw-item--name a {
        font-size: 14px;
    }
    .woosw-item--price {
        font-size: 13px;
    }
    .woosw-item--price del {
        font-size: 11px;
    }
    .woosw-item--atc .button {
        padding: 8px 16px;
        font-size: 12px;
    }
    .woosw-item--remove span {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    .woosw-item--stock .out-of-stock {
        font-size: 11px;
        padding: 4px 10px;
    }
    .single-product .woocommerce-product-gallery .product-action .woosw-btn {
        width: 36px !important;
        height: 36px !important;
    }
    .single-product .woocommerce-product-gallery .product-action .woosw-btn i {
        font-size: 16px !important;
    }
    .single-product .woocommerce-product-gallery .product-action .woosw-btn:hover span {
        font-size: 12px !important;
    }
    #modal_video .modal-content, 
    #modal_share .modal-content {
        width: 90% !important;
    }
}
body.single-product .related.products.hero-product.hero-archive {
    justify-content: start !important;
	gap: 12px !important;
}
.tecnora-cat-description {
    background: #f7f9fc;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}
.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.digicamak-product2 .product-box .woosw-btn-icon , .cards .woosw-btn-has-icon .woosw-btn-icon {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--second-color);
    color: #ffffff;
    padding: 5px;
    border-radius: 10px;
    text-decoration: none;
    position: absolute;
    top: 16px;
    left: 45px;
    z-index: 99999999999;
    transition: transform 0.3s, box-shadow 0.3s;
}
@media (max-width: 600px) {
    .myaccount-detail, 
    .myaccount-order, 
    .myaccount-notif {
        flex-direction: column;
    }
    .item-detail, 
    .item-order {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .woosw-items table {
        display: block;
    }
    .woosw-item {
        display: block;
        padding: 12px;
    }
    .woosw-item td {
        display: block;
        text-align: center;
        padding: 6px 0;
    }
    .woosw-item--image img {
        margin: 0 auto;
    }
    .woosw-item--info {
        text-align: center;
    }
    .woosw-item--atc .button {
        width: 100%;
        justify-content: center;
    }
    .woosw-item--remove span {
        margin: 0 auto;
    }
}

.woosw-popup.woosw-show .woosw-popup-inner .woosw-popup-content {
    top: 50%;
    max-width: 560px !important;
}


.user-greeting {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
li.woocommerce-MyAccount-navigation-link--woo-wallet a:before {
    content: "\f555";
}
/* Sidebar list styles */
.woo-wallet-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card styles */
.woo-wallet-sidebar li.card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 12px !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
}

.woo-wallet-sidebar li.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.woo-wallet-sidebar li.card a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.woo-wallet-sidebar li.card a:hover {
    background: linear-gradient(135deg, #e9f0ff, #d4e4ff);
}

/* Icon styles */
.woo-wallet-sidebar li.card a span.dashicons {
    font-size: 28px;
    margin-right: 15px;
    color: #007bff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.woo-wallet-sidebar li.card a:hover span.dashicons {
    color: #0056b3;
    transform: scale(1.1);
}

/* Text styles */
.woo-wallet-sidebar li.card p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

/* Add subtle badge effect for active state */
.woo-wallet-sidebar li.card a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #007bff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woo-wallet-sidebar li.card a:hover::before {
    opacity: 1;
}
.cart-discount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff0f4;
  border: 1px dashed #a81244;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: #a81244;
  animation: fadeInUp 0.5s ease-in-out;
}

.cart-discount span:first-child {
  font-weight: 600;
  display: flex;
  align-items: center;
}

.cart-discount .woocommerce-Price-amount {
  font-weight: bold;
  font-size: 1rem;
  color: #a81244;
  margin: 0 0.5rem;
}

.cart-discount a.woocommerce-remove-coupon {
  background: #a81244;
  color: white;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.85rem;
  text-decoration: none;
  margin-right: 0.75rem;
  transition: background 0.3s ease;
}

.cart-discount a.woocommerce-remove-coupon:hover {
  background: #fc1459;
}
.points-redemption-form {
  background: #fff0f4;
  border: 1px solid #ed1944;
  border-radius: 1rem;
  padding:0.5rem 0.25rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}
.cart_totals .fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fef7f9;
  border: 1px dashed #a81244;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  font-size: 0.95rem;
  color: #a81244;
  font-weight: 500;
  animation: fadeInUp 0.4s ease;
}

.wc-payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wc-payment-method-box {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.wc-payment-method-box:hover {
  border-color: #2196f3;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.2);
}

.wc-payment-method-box.active {
  border-color: #4caf50;
  background: linear-gradient(135deg, #e8f5e9, #ffffff);
  box-shadow: 0 6px 24px rgba(76, 175, 80, 0.2);
}

.wc-payment-radio {
  display: none;
}

.wc-payment-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.wc-payment-icon {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.wc-payment-radio:checked + .wc-payment-label .wc-payment-icon {
  border-color: #4caf50;
  background-color: #4caf50;
}

.wc-payment-radio:checked + .wc-payment-label .wc-payment-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.wc-payment-title {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}
.glass-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--main-color-one);
    font-weight: 500;
    padding: 0.45rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: var(--main-color-one-hover);
    color: #fff;
    box-shadow: 0 6px 16px var(--main-color-one-shadow);
    transform: translateY(-2px) scale(1.03);
}

/* افکت کلیک */
.glass-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.glass-cat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--main-color-one);
    padding: 0.25rem 0.6rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.glass-cat:hover {
    background: var(--main-color-one-hover);
    color: #fff;
    box-shadow: 0 4px 12px var(--main-color-one-shadow);
}

.glass-subcat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--main-color) !important;
    margin: 2px 4px;
}

.glass-subcat:hover {
    background: var(--main-color-one-hover);
    color: #fff !important;
}
/* ریسپانسیو */
@media (max-width: 640px) {
    .glass-btn {
        font-size: 0.8rem;
        padding: 0.35rem 1rem;
        border-radius: 10px;
    }
}
.wc-payment-description {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.cart_totals .fee .woocommerce-Price-amount {
  font-weight: bold;
  font-size: 1rem;
  color: #a81244;
}
/* متن منو موقع هاور */
.woocommerce-MyAccount-navigation-link a:hover {
    color: var(--second-color) !important;
}
.text-gray-100 {
    --tw-text-opacity: 1;
    color: rgb(243 244 246 / var(--tw-text-opacity));
}

/* آیکن‌ها (چه i باشه چه svg یا ::before) */
.woocommerce-MyAccount-navigation-link a:hover i,
.woocommerce-MyAccount-navigation-link a:hover svg,
.woocommerce-MyAccount-navigation-link a:hover::before {
    color: var(--main-color-one) !important;
    fill: var(--main-color-one) !important; /* برای svg */
}

.points-redemption-form input[name="points_to_redeem"] {
  border: 1px solid #ed1944;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  width: 100px !important;
  text-align: end;
  font-weight: bold;
  background-color: #fff;
  color: #a81244;
  transition: all 0.3s ease;
}

.points-redemption-form input[name="points_to_redeem"]:focus {
  outline: none;
  border-color: #a81244;
  box-shadow: 0 0 0 3px rgba(237, 25, 68, 0.15);
}

.points-redemption-form button[name="apply_points"] {
  background-color: #a81244;
  color: white;
  border-radius: 0.75rem;
  padding: 0.5rem 1.5rem;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.points-redemption-form button[name="apply_points"]:hover {
  background-color: #fc1459;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(252, 20, 89, 0.2);
}

.points-redemption-form p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  flex-basis: 100%;
  padding-top: 0.5rem;
}

.points-redemption-form p span.fw-bold {
  color: #a81244;
}

/* انیمیشن ورود */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
    .woo-wallet-sidebar li.card a {
        padding: 12px 15px;
    }

    .woo-wallet-sidebar li.card a span.dashicons {
        font-size: 24px;
        margin-right: 10px;
    }

    .woo-wallet-sidebar li.card p {
        font-size: 14px;
    }
}
/* Container styles */
.woo-wallet-my-wallet-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Sidebar styles */
.woo-wallet-sidebar {
    width: 300px;
    background: #ffffff;
    border-radius: 12px !important;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.woo-wallet-sidebar-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.woo-wallet-sidebar-heading a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woo-wallet-sidebar-heading a:hover {
    color: #007bff;
}

.woo-wallet-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woo-wallet-sidebar li.card {
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.woo-wallet-sidebar li.card a {
    display: flex !important;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
	    justify-content: space-between;
    flex-direction: row-reverse;
}

.woo-wallet-sidebar li.card a:hover {
    background: #f1f3f5;
}

.woo-wallet-sidebar li.card a span.dashicons {
    font-size: 24px;
    margin-right: 12px;
    color: #007bff;
    transition: color 0.3s ease;
}

.woo-wallet-sidebar li.card a:hover span.dashicons {
    color: #0056b3;
}

.woo-wallet-sidebar li.card p {
    margin: 0;
}

/* Content styles */
.woo-wallet-content {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.woo-wallet-content-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.woo-wallet-content-h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.woo-wallet-price {
    font-size: 20px;
    font-weight: 600;
    color: #28a745;
}

.woo-wallet-price .woocommerce-Price-currencySymbol {
    font-size: 16px;
    margin-left: 5px;
}

hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 20px 0;
}

.woo-wallet-content > div:last-child {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}
/* استایل پیام سبد خرید ووکامرس */
.woocommerce-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--second-color) 0%, var(--main-color-one) 100%) !important;
    color: #ffffff !important;
    margin: 20px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    animation: slideIn 0.5s ease-in-out !important;
    border: none !important;
    line-height: 1.5 !important;
}

.woocommerce-message::before {
    content: '\2714'; 
    color: #ffffff !important;
}

.woocommerce-message .woocommerce-message-close {
    cursor: pointer !important;
    font-size: 18px !important;
    color: #ffffff !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease !important;
}

.woocommerce-message .woocommerce-message-close:hover {
    opacity: 1 !important;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .woocommerce-message {
        font-size: 14px !important;
        padding: 12px 15px !important;
    }
    .woocommerce-message::before {
        font-size: 20px !important;
        margin-left: 8px !important;
    }
}
/* Responsive design */
@media (max-width: 768px) {
    .woo-wallet-my-wallet-container {
        flex-direction: column;
        padding: 15px;
    }

    .woo-wallet-sidebar {
        width: 100%;
    }

    .woo-wallet-content {
        width: 100%;
    }
}
.tecnora-vote-container{
	margin: 12px auto !important;
}

.woocommerce-MyAccount-navigation-link--points a::before {
    content: "\f559"; 
  
}

.tecno-friday{
	
}
