/* STREAMING_CHUNK:Defining font faces and color variables... */
/*
Theme Name: Luxury Dior & EG Style WooCommerce Theme
Theme URI: https://eg.style
Author: Custom Luxury E-commerce
Description: قالب فوق‌العاده حرفه‌ای و مینیمال ووکامرس بر اساس طراحی سایت EG Style و برندهای دیور و لویی ویتون با پشتیبانی کامل RTL.
Version: 9.0.0
Requires PHP: 7.4
Text Domain: luxury-dior
*/

@font-face {
font-family: 'Estedad';
src: url('./fonts/Estedad-Regular.woff2') format('woff2'),
url('./fonts/Estedad-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Estedad';
src: url('./fonts/Estedad-Medium.woff2') format('woff2'),
url('./fonts/Estedad-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}

@font-face {
font-family: 'Estedad';
src: url('./fonts/Estedad-SemiBold.woff2') format('woff2'),
url('./fonts/Estedad-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: 'Estedad';
src: url('./fonts/Estedad-Bold.woff2') format('woff2'),
url('./fonts/Estedad-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}

:root {
--bg-light: #f7f7f7;
--bg-card: #f4f4f4;
--text-primary: #111111;
--text-secondary: #666666;
--accent-color: #000000;
--border-color: #e5e5e5;
--font-main: 'Estedad', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* STREAMING_CHUNK:Styling layout reset and global typography... */
html, body {
max-width: 100vw;
overflow-x: hidden !important;
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: var(--font-main) !important;
}

body, button, input, select, textarea {
font-family: var(--font-main) !important;
direction: rtl;
text-align: right;
background-color: #ffffff;
color: var(--text-primary);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}

body.menu-open {
overflow: hidden !important;
}

a {
text-decoration: none;
color: inherit;
transition: all 0.3s ease;
}

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

/* STREAMING_CHUNK:Styling main product price display... */
.dior-main-price-display {
font-size: 20px !important;
font-weight: 600 !important;
color: #2c2c2c !important;
margin-bottom: 20px !important;
display: block !important;
font-family: var(--font-main) !important;
letter-spacing: 0.5px;
}

/* STREAMING_CHUNK:Styling split landing layout... */
.dior-split-landing {
position: relative;
width: 100vw;
height: 100vh;
display: flex;
overflow: hidden;
background-color: #000000;
}

.center-logo-absolute {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10;
pointer-events: none;
text-align: center;
}

.center-logo-absolute img {
max-height: 70px;
max-width: 280px;
object-fit: contain;
filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.split-side {
position: relative;
width: 50%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
text-decoration: none;
color: #ffffff !important;
}

.bg-media {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.split-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3);
z-index: 2;
transition: background-color 0.4s ease;
}

.split-side:hover .split-overlay {
background: rgba(0, 0, 0, 0.15);
}

.split-side:hover .bg-media {
transform: scale(1.06);
}

.split-content {
position: relative;
z-index: 3;
text-align: center;
color: #ffffff;
padding: 20px;
}

.split-content h2 {
font-size: 32px;
font-weight: 600;
letter-spacing: 2px;
margin-bottom: 12px;
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
font-family: var(--font-main) !important;
}

.split-content span {
font-size: 13px;
font-weight: 400;
letter-spacing: 1.5px;
border-bottom: 1px solid #ffffff;
padding-bottom: 4px;
text-transform: uppercase;
font-family: var(--font-main) !important;
transition: opacity 0.3s;
}

.split-side:hover .split-content span {
opacity: 0.8;
}

/* STREAMING_CHUNK:Styling search modal overlay... */
.dior-search-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
z-index: 999999;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}

.dior-search-overlay.is-open {
opacity: 1;
visibility: visible;
}

.dior-search-container {
width: 100%;
max-width: 800px;
padding: 0 20px;
position: relative;
}

.dior-search-close {
position: absolute;
top: -80px;
left: 20px;
background: none;
border: none;
cursor: pointer;
color: #111;
transition: opacity 0.2s;
}
.dior-search-close:hover { opacity: 0.6; }

.dior-search-form {
display: flex;
align-items: center;
border-bottom: 2px solid #111;
padding-bottom: 12px;
}

.dior-search-field {
width: 100%;
border: none;
background: transparent;
font-size: 22px;
font-family: var(--font-main) !important;
outline: none;
color: #111;
}

.dior-search-submit {
background: none;
border: none;
cursor: pointer;
color: #111;
padding: 0 10px;
display: flex;
align-items: center;
}

/* STREAMING_CHUNK:Styling site header and navigation... */
.dior-site-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background-color: transparent;
box-shadow: none;
transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

body:not(.home) .dior-site-header,
body:not(.front-page) .dior-site-header {
background-color: #ffffff !important;
border-bottom: 1px solid var(--border-color);
}

.dior-site-header.is-hidden {
transform: translateY(-100%) !important;
}

.dior-site-header.is-solid {
background-color: #ffffff !important;
border-bottom: 1px solid var(--border-color) !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.dior-header-inner {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 40px;
height: 70px;
}

.dior-header-left {
width: 25%;
display: flex;
align-items: center;
}
.dior-menu-toggle {
background: none;
border: none;
cursor: pointer;
color: #000;
display: flex;
align-items: center;
padding: 5px;
}

.dior-header-center {
width: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.text-logo {
font-size: 28px;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
color: #000;
}
.dior-header-center img {
max-height: 40px;
max-width: 160px;
object-fit: contain;
display: block;
}

.dior-header-right {
width: 25%;
display: flex;
justify-content: flex-end;
align-items: center;
gap: 20px;
}
.icon-link {
color: #000;
position: relative;
display: flex;
align-items: center;
}
.cart-count-dot {
position: absolute;
top: -3px;
right: -5px;
background-color: #e59368;
width: 9px;
height: 9px;
border-radius: 50%;
}

/* STREAMING_CHUNK:Styling drawer mega menu... */
.dior-mega-menu-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
z-index: 99999;
opacity: 0;
visibility: hidden;
transition: opacity 0.4s ease, visibility 0.4s;
}

.dior-mega-menu-overlay.is-open {
opacity: 1;
visibility: visible;
}

.dior-mega-menu-container {
position: absolute;
top: 0;
right: 0;
width: 540px;
max-width: 100vw;
height: 100vh;
background-color: #f7f7f7;
padding: 30px 35px 50px;
overflow-y: auto;
transform: translateX(100%);
transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: -5px 0 25px rgba(0,0,0,0.1);
}

.dior-mega-menu-overlay.is-open .dior-mega-menu-container {
transform: translateX(0);
}

.dior-mega-menu-topbar {
display: flex;
justify-content: flex-start;
margin-bottom: 25px;
}

.dior-mega-menu-close {
background: none;
border: none;
font-family: var(--font-main) !important;
font-size: 13px;
font-weight: 400;
color: #111;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
letter-spacing: 0.5px;
padding: 5px 0;
}
.dior-mega-menu-close:hover { opacity: 0.7; }

.dior-mega-menu-body {
display: grid;
grid-template-columns: 220px 220px;
gap: 30px;
flex: 1;
border-top: 1px solid rgba(0,0,0,0.06);
padding-top: 30px;
width: 100%;
justify-content: start;
margin: 0;
}

.dior-mega-col {
padding: 0;
display: flex;
flex-direction: column;
}

.dior-mega-breadcrumb {
font-size: 13px;
color: #777;
margin-bottom: 25px;
font-weight: 400;
}
.dior-bc-active {
color: #111;
font-weight: 600;
}

.dior-mega-nav-level1, .dior-mega-nav-level2 {
list-style: none;
margin-bottom: 40px;
}

.dior-nav-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
font-size: 14px;
font-weight: 400;
color: #222;
cursor: pointer;
transition: color 0.2s;
}

.dior-nav-item:hover,
.dior-nav-item.active {
color: #000;
font-weight: 600;
}

.dior-mega-subgroup {
display: none;
flex-direction: column;
height: 100%;
}
.dior-mega-subgroup.active {
display: flex;
animation: fadeIn 0.3s ease;
}

.dior-mega-nav-level2 li {
margin-bottom: 12px;
}
.dior-mega-nav-level2 a {
font-size: 13.5px;
font-weight: 400;
color: #333;
transition: color 0.2s;
}
.dior-mega-nav-level2 a:hover {
color: #000;
font-weight: 500;
}

/* STREAMING_CHUNK:Styling single product container and gallery... */
.luxury-products-container {
max-width: 1400px;
padding: 110px 20px 60px;
margin: 0 auto;
}

.section-title {
text-align: center;
font-size: 20px;
font-weight: 400;
padding: 0 0 40px;
letter-spacing: 1px;
}

.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
display: grid !important;
grid-template-columns: repeat(4, 1fr) !important;
gap: 20px !important;
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product,
.luxury-product-card {
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
display: flex !important;
flex-direction: column !important;
float: none !important;
clear: none !important;
}

.product-image-wrapper {
position: relative !important;
width: 100% !important;
aspect-ratio: 3 / 4 !important;
margin-bottom: 15px !important;
overflow: hidden !important;
background-color: #f6f6f6 !important;
display: block !important;
}

.product-image-wrapper img {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
margin: 0 !important;
transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.product-info {
text-align: center !important;
padding: 0 5px !important;
}

.product-title {
font-size: 13px !important;
font-weight: 400 !important;
color: #111 !important;
margin-bottom: 6px !important;
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}

.product-price {
font-size: 12px !important;
font-weight: 500 !important;
color: #555 !important;
display: block !important;
}

.dior-single-product-container {
max-width: 100%;
padding: 0;
}
.dior-product-main {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0;
align-items: flex-start;
}
.dior-gallery-col {
display: flex;
flex-direction: column;
width: 100%;
}
.dior-gallery-item {
width: 100%;
background-color: var(--bg-light);
display: flex;
align-items: center;
justify-content: center;
}
.dior-gallery-item img {
width: 100%;
height: auto;
object-fit: cover;
}
.dior-details-col {
position: sticky;
top: 0;
height: 100vh;
overflow-y: auto;
padding: 90px 80px 60px;
background: #fff;
scrollbar-width: none;
}
.dior-details-col::-webkit-scrollbar {
display: none;
}

.dior-product-title {
font-size: 24px !important;
font-weight: 500 !important;
color: #2c2c2c !important;
margin-bottom: 12px !important;
line-height: 1.4 !important;
font-family: var(--font-main) !important;
}

.dior-subtitle-desc {
font-size: 13px;
color: #777;
line-height: 1.8;
margin-bottom: 30px;
}

p.stock {
font-size: 13px !important;
color: #777777 !important;
font-weight: 400 !important;
margin-bottom: 15px !important;
}

a.reset_variations {
font-size: 12px !important;
color: #888888 !important;
text-decoration: none !important;
border-bottom: 1px solid #ccc !important;
margin-top: 10px !important;
display: inline-block !important;
transition: all 0.3s ease !important;
}
a.reset_variations:hover {
color: #222 !important;
border-bottom-color: #222 !important;
}

/* STREAMING_CHUNK:Styling add-to-cart button and quantity selector... */
.woocommerce-variation-add-to-cart,
.dior-add-to-cart-wrapper form.cart {
display: flex !important;
flex-direction: row !important;
align-items: center !important;
justify-content: space-between !important;
gap: 15px !important;
width: 100% !important;
margin-top: 20px !important;
clear: both !important;
}

.woocommerce-variation-add-to-cart .quantity,
.dior-add-to-cart-wrapper form.cart .quantity,
.quantity {
flex: 0 0 130px !important;
height: 52px !important;
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
border: 1px solid #dcdcdc !important;
border-radius: 4px !important;
background: #ffffff !important;
margin: 0 !important;
padding: 0 !important;
}

.woocommerce div.product form.cart div.quantity input.qty,
.quantity input[type="number"] {
-moz-appearance: textfield !important;
height: 100% !important;
width: 50px !important;
text-align: center !important;
border: none !important;
font-size: 14px !important;
font-family: var(--font-main) !important;
outline: none !important;
padding: 0 !important;
background: transparent !important;
}

.dior-qty-btn {
background: transparent !important;
border: none !important;
width: 40px !important;
height: 100% !important;
font-size: 18px !important;
cursor: pointer !important;
color: #333 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
font-family: var(--font-main) !important;
}

.woocommerce-variation-add-to-cart .button.single_add_to_cart_button,
.dior-add-to-cart-wrapper form.cart .button.single_add_to_cart_button,
.single_add_to_cart_button {
flex: 1 !important;
height: 52px !important;
background-color: #222222 !important;
color: #ffffff !important;
border: none !important;
border-radius: 4px !important;
font-size: 14px !important;
font-weight: 500 !important;
font-family: var(--font-main) !important;
cursor: pointer !important;
transition: background 0.3s ease !important;
margin: 0 !important;
padding: 0 25px !important;
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
}

.woocommerce-variation-add-to-cart .button.single_add_to_cart_button:hover,
.dior-add-to-cart-wrapper form.cart .button.single_add_to_cart_button:hover,
.single_add_to_cart_button:hover {
background-color: #444444 !important;
}

.dior-btn-text {
font-weight: 500 !important;
font-size: 14px !important;
font-family: var(--font-main) !important;
}



/* STREAMING_CHUNK:Styling product detail tabs... */
.dior-tabs-container {
margin-top: 40px;
border-top: 1px solid var(--border-color);
}
.dior-tabs-header {
display: flex;
gap: 30px;
border-bottom: 1px solid var(--border-color);
}
.dior-tab-btn {
background: none;
border: none;
padding: 20px 0;
font-size: 12px;
font-weight: 500;
color: #777;
cursor: pointer;
font-family: var(--font-main) !important;
position: relative;
transition: color 0.3s;
}
.dior-tab-btn:hover { color: #111; }
.dior-tab-btn.active { color: #111; font-weight: 600; }
.dior-tab-btn.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 1px;
background-color: #111;
}
.dior-tab-pane {
display: none;
padding: 30px 0;
font-size: 13px;
color: #555;
line-height: 2;
animation: fadeIn 0.4s ease;
}
.dior-tab-pane.active { display: block; }

@keyframes fadeIn {
from { opacity: 0; transform: translateY(5px); }
to { opacity: 1; transform: translateY(0); }
}

/* STREAMING_CHUNK:Hiding duplicate subtotal elements... */
.woocommerce table.shop_table th.product-subtotal,
.woocommerce table.shop_table td.product-subtotal,
.woocommerce-cart table.cart th.product-subtotal,
.woocommerce-cart table.cart td.product-subtotal,
table.shop_table th.product-subtotal,
table.shop_table td.product-subtotal,
.product-subtotal,
.wc-block-cart-items__header-total,
.wc-block-cart-item__total,
tr.cart-subtotal {
display: none !important;
visibility: hidden !important;
width: 0 !important;
height: 0 !important;
opacity: 0 !important;
padding: 0 !important;
margin: 0 !important;
border: none !important;
}

.woocommerce-cart,
.woocommerce-checkout {
max-width: 1200px;
margin: 0 auto;
padding: 110px 20px 60px;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
display: flex;
flex-wrap: wrap;
gap: 40px;
align-items: flex-start;
}

.woocommerce-cart .woocommerce > form,
.woocommerce-checkout #customer_details {
flex: 1 1 58%;
min-width: 0;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
flex: 0 0 380px;
width: 420px;
background: #fafafa;
padding: 30px;
border-radius: 6px;
border: 1px solid var(--border-color);
position: sticky;
top: 90px;
}

.woocommerce-checkout #order_review_heading {
position: static !important;
border-bottom: none !important;
padding-bottom: 0 !important;
margin-bottom: 10px !important;
font-size: 18px;
font-weight: 600;
}

.woocommerce table.shop_table {
width: 100%;
border-collapse: collapse;
margin-bottom: 30px;
border: none !important;
}

.woocommerce table.shop_table th {
font-size: 13px;
font-weight: 500;
color: #666;
border-bottom: 1px solid var(--border-color);
padding: 12px 10px;
text-align: right;
}

.woocommerce table.shop_table td {
padding: 18px 10px;
border-bottom: 1px solid var(--border-color);
vertical-align: middle;
font-size: 14px;
}

.woocommerce table.shop_table td.product-remove a.remove {
font-size: 20px;
color: #999 !important;
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
transition: all 0.2s ease;
text-decoration: none;
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
color: #111 !important;
background: #eee;
}

.woocommerce table.shop_table td.product-thumbnail img {
width: 70px;
height: 90px;
object-fit: cover;
border-radius: 4px;
background-color: #f6f6f6;
}

/* STREAMING_CHUNK:Styling responsive mobile layout... */
@media (max-width: 1100px) {
.woocommerce ul.products, ul.products {
grid-template-columns: repeat(3, 1fr) !important;
}
}

@media (max-width: 992px) {
.dior-product-main { grid-template-columns: 1fr; }
.dior-details-col { position: relative; height: auto; top: 0; padding: 40px 20px; }
}

@media (max-width: 768px) {
.dior-split-landing {
flex-direction: column;
height: 100vh;
}
.split-side {
width: 100%;
height: 50vh;
}
.center-logo-absolute img {
max-height: 45px;
max-width: 180px;
}
.split-content h2 {
font-size: 22px;
}

.woocommerce ul.products, ul.products {
grid-template-columns: repeat(1, 1fr) !important;
gap: 12px !important;
}

.dior-header-inner {
padding: 0 15px;
height: 60px;
}
.dior-header-center img {
max-height: 28px !important;
max-width: 110px !important;
object-fit: contain !important;
}
.text-logo {
font-size: 20px !important;
letter-spacing: 1px !important;
}

.dior-mega-menu-container {
width: 100vw !important;
max-width: 100vw !important;
padding: 20px 20px 40px !important;
}

.dior-mega-menu-body {
grid-template-columns: 1fr !important;
gap: 20px !important;
}

.dior-gallery-col {
flex-direction: row !important;
overflow-x: auto !important;
scroll-snap-type: x mandatory !important;
-webkit-overflow-scrolling: touch !important;
scrollbar-width: none !important;
width: 100% !important;
}
.dior-gallery-col::-webkit-scrollbar { display: none !important; }
.dior-gallery-item {
flex: 0 0 100% !important;
width: 100% !important;
scroll-snap-align: start !important;
scroll-snap-stop: always !important;
}

.woocommerce-cart,
.woocommerce-checkout {
padding: 80px 15px 40px !important;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
display: block !important;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review {
width: 100% !important;
flex: 1 1 100% !important;
margin-top: 30px;
padding: 20px;
position: relative !important;
top: 0 !important;
}

.woocommerce table.shop_table.cart thead {
display: none !important;
}

.woocommerce table.shop_table.cart,
.woocommerce table.shop_table.cart tbody {
display: block !important;
width: 100% !important;
}

.woocommerce table.shop_table.cart tr.cart_item {
display: flex !important;
flex-wrap: wrap !important;
align-items: center !important;
justify-content: space-between !important;
padding: 18px 0 !important;
border-bottom: 1px solid var(--border-color) !important;
gap: 12px !important;
position: relative !important;
}

.woocommerce table.shop_table.cart tr.cart_item td {
border: none !important;
padding: 0 !important;
}

.woocommerce table.shop_table.cart tr.cart_item td.product-thumbnail {
flex: 0 0 65px !important;
order: 1 !important;
}

.woocommerce table.shop_table.cart tr.cart_item td.product-thumbnail img {
width: 65px !important;
height: 80px !important;
}

.woocommerce table.shop_table.cart tr.cart_item td.product-name {
flex: 1 1 auto !important;
order: 2 !important;
padding-right: 10px !important;
font-size: 14px !important;
font-weight: 600 !important;
}

.woocommerce table.shop_table.cart tr.cart_item td.product-price {
order: 3 !important;
width: 100% !important;
padding-right: 75px !important;
font-size: 13px !important;
color: #555 !important;
margin-top: -10px !important;
}

.woocommerce table.shop_table.cart tr.cart_item td.product-quantity {
order: 4 !important;
padding-right: 75px !important;
margin-top: 5px !important;
}

.woocommerce table.shop_table.cart tr.cart_item td.product-quantity .quantity {
height: 38px !important;
width: 110px !important;
}

.woocommerce table.shop_table.cart tr.cart_item td.product-remove {
order: 5 !important;
margin-right: auto !important;
}

.woocommerce table.cart td.actions {
display: block !important;
width: 100% !important;
padding: 20px 0 0 0 !important;
}

.woocommerce table.cart td.actions .coupon {
display: flex !important;
flex-direction: column !important;
width: 100% !important;
gap: 10px !important;
}

.woocommerce table.cart td.actions .coupon input.input-text,
.woocommerce table.cart td.actions .coupon button,
.woocommerce table.cart td.actions button[name="update_cart"] {
width: 100% !important;
}
}
.woocommerce-variation-add-to-cart,
.dior-add-to-cart-wrapper form.cart {
display: flex !important;
flex-direction: row !important;
align-items: stretch !important;
justify-content: flex-start !important;
gap: 15px !important;
width: 100% !important;
margin-top: 20px !important;
clear: both !important;
}

.woocommerce-variation-add-to-cart .quantity,
.dior-add-to-cart-wrapper form.cart .quantity,
.quantity {
flex: 0 0 80px !important;
height: 52px !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
border: 1px solid #dcdcdc !important;
border-radius: 4px !important;
background: #ffffff !important;
margin: 0 !important;
padding: 0 !important;
}

.woocommerce div.product form.cart div.quantity input.qty,
.quantity input[type="number"] {
-moz-appearance: textfield !important;
height: 100% !important;
width: 100% !important;
text-align: center !important;
border: none !important;
font-size: 16px !important;
font-weight: 500 !important;
font-family: var(--font-main) !important;
outline: none !important;
padding: 0 !important;
background: transparent !important;
}

.woocommerce div.product form.cart div.quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart div.quantity input.qty::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

.woocommerce-variation-add-to-cart .button.single_add_to_cart_button,
.dior-add-to-cart-wrapper form.cart .button.single_add_to_cart_button,
.single_add_to_cart_button {
flex: 1 !important;
height: 52px !important;
background-color: #222222 !important;
color: #ffffff !important;
border: none !important;
border-radius: 4px !important;
font-size: 15px !important;
font-weight: 500 !important;
font-family: var(--font-main) !important;
cursor: pointer !important;
transition: background 0.3s ease !important;
margin: 0 !important;
padding: 0 25px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
white-space: nowrap !important;
}

.woocommerce-variation-add-to-cart .button.single_add_to_cart_button:hover,
.dior-add-to-cart-wrapper form.cart .button.single_add_to_cart_button:hover,
.single_add_to_cart_button:hover {
background-color: #444444 !important;
}

/* STREAMING_CHUNK:Styling WooCommerce notices... */
.woocommerce-notices-wrapper {
width: 100%;
margin-bottom: 20px;
}

.woocommerce-message, .woocommerce-error, .woocommerce-info {
padding: 15px 20px !important;
margin-bottom: 20px !important;
background-color: #f8f8f8 !important;
border-top: 3px solid #111 !important;
list-style: none outside !important;
font-size: 14px !important;
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
}
.woocommerce-message .button, .woocommerce-error .button, .woocommerce-info .button {
background: #111;
color: #fff;
padding: 5px 15px;
border-radius: 4px;
font-size: 12px;
}
woocommerce-notices-wrapper {
width: 100%;
margin-bottom: 20px;
}

.single-product .woocommerce-message {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
}

.woocommerce-message, .woocommerce-error, .woocommerce-info {
padding: 15px 20px !important;
margin-bottom: 20px !important;
}
/* =========================================================
ORDER RECEIVED / THANK YOU PAGE
========================================================= */
.woocommerce-order {
max-width: 900px;
margin: 0 auto;
padding: 120px 20px 60px;
}

.woocommerce-notice.woocommerce-thankyou-order-received {
background-color: #f9f9f9;
border-right: 4px solid #111;
padding: 15px 20px;
margin-bottom: 30px;
font-weight: 500;
border-radius: 4px;
text-align: right;
}

ul.woocommerce-order-overview {
list-style: none !important;
margin: 0 0 40px 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 20px;
background: #fafafa;
border: 1px solid var(--border-color);
border-radius: 6px;
}

ul.woocommerce-order-overview li {
flex: 1 1 150px;
padding: 20px;
border-left: 1px solid var(--border-color);
font-size: 13px;
color: #555;
text-align: right !important;
}

ul.woocommerce-order-overview li:last-child {
border-left: none;
}

ul.woocommerce-order-overview li strong {
display: block;
font-size: 15px;
color: #111;
margin-top: 5px;
font-weight: 600;
}

.woocommerce-order-details {
margin-bottom: 40px;
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
font-size: 20px;
font-weight: 600;
margin-bottom: 20px;
color: #111;
text-align: right !important;
}

.woocommerce-table.woocommerce-table--order-details {
width: 100%;
border-collapse: collapse;
border: 1px solid var(--border-color) !important;
}

.woocommerce-table.woocommerce-table--order-details th,
.woocommerce-table.woocommerce-table--order-details td {
padding: 15px !important;
border: 1px solid var(--border-color) !important;
text-align: right !important;
font-size: 14px;
}

.woocommerce-table.woocommerce-table--order-details th {
background-color: #fafafa;
font-weight: 600;
color: #333;
}

.woocommerce-customer-details address {
font-style: normal !important;
background: #fafafa;
border: 1px solid var(--border-color);
padding: 25px;
border-radius: 6px;
line-height: 2;
font-size: 14px;
color: #444;
text-align: right !important;
}

/* RESPONSIVE ORDER RECEIVED FOR MOBILE */
@media (max-width: 768px) {
ul.woocommerce-order-overview {
flex-direction: column;
gap: 0;
}

ul.woocommerce-order-overview li {
    border-left: none;
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
}

ul.woocommerce-order-overview li:last-child {
    border-bottom: none;
}

.woocommerce-table.woocommerce-table--order-details th,
.woocommerce-table.woocommerce-table--order-details td {
    font-size: 13px;
    padding: 10px !important;
}


}

.woocommerce-order-details table.shop_table th.product-total,
.woocommerce-order-details table.shop_table td.product-total,
.woocommerce-order-details table.shop_table th.product-subtotal,
.woocommerce-order-details table.shop_table td.product-subtotal,
.woocommerce-order-details table.shop_table tfoot td,
.woocommerce-order-details table.shop_table .product-subtotal,
.woocommerce-order-details table.shop_table .amount {
display: table-cell !important;
visibility: visible !important;
width: auto !important;
height: auto !important;
opacity: 1 !important;
padding: 15px !important;
text-align: left !important;
font-weight: 600 !important;
color: #111 !important;
}

.woocommerce-order-details table.shop_table tfoot th {
text-align: right !important; /* تیترها سمت راست */
font-weight: 500 !important;
color: #555 !important;
}

.woocommerce-order-details table.shop_table td.product-name {
text-align: right !important;
}
