/*
Theme Name: Hello Elementor Child
Theme URI: https://owjirice.com
Description: Pure lightweight child theme for Hello Elementor with Vazirmatn font.
Author: Owji Rice
Author URI: https://owjirice.com
Template: hello-elementor
Version: 5.2.3
*/

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap');

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a,
.elementor-widget, .elementor-heading-title, .elementor-button, .elementor-nav-menu,
.elementor-widget * {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Custom CSS Helpers for Countdown (RTL Direction: [روز] on RIGHT -> [ساعت] -> [دقیقه] -> [ثانیه] on LEFT) */
.owji-countdown-wrap {
    display: inline-flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 6px !important;
    direction: rtl !important;
    margin-top: 14px !important;
}

/* Fixed Equal Width for all 4 boxes to prevent any width fluctuation */
.owji-count-box {
    background: #FBF6EE !important;
    border-radius: 16px !important;
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 70px !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.owji-count-box .owji-val {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #111111 !important;
    font-family: 'Vazirmatn', sans-serif !important;
    line-height: 1.1 !important;
    font-variant-numeric: tabular-nums !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

.owji-count-box .owji-lbl {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    font-family: 'Vazirmatn', sans-serif !important;
    margin-top: 3px !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

/* Two vertically stacked dots (Colon : ) between countdown boxes */
.owji-count-colon {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 2px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
    user-select: none !important;
}

.owji-colon-dot {
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background-color: #CDB38B !important;
    display: block !important;
}

/* Hide legacy dot */
.owji-count-dot {
    display: none !important;
}

/* Golden Heading Divider Line */
.owji-heading-divider,
.elementor .elementor-element-7432c54f,
.elementor .elementor-element-701fc9d3,
.elementor .elementor-element-71348253,
.elementor .elementor-element-4edc4500,
.elementor .elementor-element-6ec89c36,
.elementor .elementor-element-156abd76 {
    width: 115px !important;
    height: 2px !important;
    min-height: 2px !important;
    max-height: 2px !important;
    padding: 0 !important;
    margin: 10px auto 0 !important;
    background-color: #EACFAB !important;
    border-radius: 2px !important;
    border: none !important;
    display: block !important;
}

/* Section 2 Deal Discount 15% Badge */
.elementor .e-2c8d754-53e2,
.elementor .elementor-element-26231507,
.elementor-element-26231507,
.deal-discount-badge,
[data-id="26231507"] {
    position: absolute !important;
    inset-inline-start: auto !important;
    inset-inline-end: 16px !important;
    left: 16px !important;
    right: auto !important;
    top: 16px !important;
    inset-block-start: 16px !important;
    z-index: 20 !important;
}

/* Outlined Pill Buttons for Section 4 Products */
a[href*="add-to-cart=20"]:not(.owji-deal-btn),
a[href*="add-to-cart=27"]:not(.owji-deal-btn),
a[href*="add-to-cart=24"]:not(.owji-deal-btn),
a[href*="add-to-cart=21"]:not(.owji-deal-btn),
a[href*="add-to-cart=19"]:not(.owji-deal-btn) {
    background: transparent !important;
    border: 1px solid #333333 !important;
    color: #111111 !important;
    border-radius: 9999px !important;
    padding: 7px 0 !important;
    width: 100% !important;
    max-width: 130px !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

a[href*="add-to-cart=20"]:not(.owji-deal-btn):hover,
a[href*="add-to-cart=27"]:not(.owji-deal-btn):hover,
a[href*="add-to-cart=24"]:not(.owji-deal-btn):hover,
a[href*="add-to-cart=21"]:not(.owji-deal-btn):hover,
a[href*="add-to-cart=19"]:not(.owji-deal-btn):hover {
    background: #111111 !important;
    color: #FFFFFF !important;
    border-color: #111111 !important;
}

/* ==========================================================================
   Desktop Search Widget: Move Magnifying Glass to LEFT
   ========================================================================== */
.elementor-183 [data-id="69556f0"] .e-search-form,
.elementor-element.elementor-element-69556f0 .e-search-form {
    position: relative !important;
}

.elementor-183 [data-id="69556f0"] .e-search-label,
.elementor-element.elementor-element-69556f0 .e-search-label {
    position: absolute !important;
    left: 14px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-183 [data-id="69556f0"] .e-search-label > svg,
.elementor-183 [data-id="69556f0"] .e-search-label > i,
.elementor-element.elementor-element-69556f0 .e-search-label > svg,
.elementor-element.elementor-element-69556f0 .e-search-label > i {
    position: static !important;
    transform: none !important;
    display: block !important;
    inset-inline-start: auto !important;
    inset-inline-end: auto !important;
}

.elementor-183 [data-id="69556f0"] .e-search-input,
.elementor-element.elementor-element-69556f0 .e-search-input {
    padding-left: 42px !important;
    padding-right: 16px !important;
}

/* ==========================================================================
   Responsive Header & Off-Canvas Menu for Tablet & Mobile (<= 1024px)
   ========================================================================== */

/* Hidden on Desktop (> 1024px) */
@media (min-width: 1025px) {
    .owji-offcanvas-toggle,
    .owji-offcanvas-drawer,
    .owji-offcanvas-backdrop {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Backdrop Overlay */
.owji-offcanvas-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    z-index: 999998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}
body.owji-offcanvas-open .owji-offcanvas-backdrop {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Off-Canvas Drawer Panel: ZERO horizontal overflow when closed */
.owji-offcanvas-drawer {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 330px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    background: #FFFFFF !important;
    z-index: 999999 !important;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(105%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease !important;
    overflow-y: auto !important;
    direction: rtl !important;
    font-family: 'Vazirmatn', sans-serif !important;
    box-sizing: border-box !important;
}
body.owji-offcanvas-open .owji-offcanvas-drawer {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Drawer Header */
.owji-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #F1F5F9 !important;
    background: #FFFFFF !important;
    flex-shrink: 0 !important;
}
.owji-drawer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
}
.owji-drawer-logo {
    height: 36px !important;
    width: auto !important;
    object-fit: contain !important;
}
.owji-drawer-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    border: none !important;
    color: #475569 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}
.owji-drawer-close:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}

/* Drawer Search Box */
.owji-drawer-search-box {
    padding: 14px 18px !important;
    border-bottom: 1px solid #F1F5F9 !important;
    background: #FAFAFA !important;
    flex-shrink: 0 !important;
}
.owji-drawer-search-form {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
}
.owji-drawer-search-input {
    width: 100% !important;
    height: 44px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 0 42px 0 14px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    color: #1E293B !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.owji-drawer-search-input:focus {
    border-color: #2D5A43 !important;
    box-shadow: 0 0 0 3px rgba(45, 90, 67, 0.1) !important;
}
.owji-drawer-search-btn {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    color: #64748B !important;
    cursor: pointer !important;
    padding: 0 !important;
}
.owji-drawer-search-btn:hover {
    color: #2D5A43 !important;
}

/* Drawer Navigation Menu */
.owji-drawer-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding: 10px 0 !important;
}
.owji-drawer-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.owji-drawer-menu li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #F8FAFC !important;
}
.owji-drawer-menu li .owji-menu-link-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px !important;
    transition: background 0.15s ease !important;
}
.owji-drawer-menu li .owji-menu-link-wrap:hover {
    background: #F8FAFC !important;
}
.owji-drawer-menu li a {
    color: #1E293B !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    flex: 1 1 auto !important;
    line-height: 1.4 !important;
}
.owji-drawer-menu li.current-menu-item > .owji-menu-link-wrap > a,
.owji-drawer-menu li.current_page_item > .owji-menu-link-wrap > a {
    color: #2D5A43 !important;
    font-weight: 700 !important;
}
.owji-drawer-sub-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #F1F5F9 !important;
    border: none !important;
    color: #64748B !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-right: 8px !important;
    transition: transform 0.25s ease, background 0.2s ease !important;
}
.owji-drawer-sub-toggle:hover {
    background: #E2E8F0 !important;
    color: #1E293B !important;
}
.owji-drawer-menu li.is-open > .owji-menu-link-wrap .owji-drawer-sub-toggle {
    transform: rotate(180deg) !important;
    background: #E8EFEA !important;
    color: #2D5A43 !important;
}

/* Submenu */
.owji-drawer-menu .sub-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 16px 8px 16px !important;
    background: #F8FAFC !important;
    display: none !important;
}
.owji-drawer-menu li.is-open > .sub-menu {
    display: block !important;
}
.owji-drawer-menu .sub-menu li {
    border-bottom: 1px solid #EDF2F7 !important;
}
.owji-drawer-menu .sub-menu li:last-child {
    border-bottom: none !important;
}
.owji-drawer-menu .sub-menu li a {
    display: block !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #475569 !important;
}
.owji-drawer-menu .sub-menu li a:hover {
    color: #2D5A43 !important;
}

/* User Account Section */
.owji-drawer-account-box {
    padding: 16px 20px !important;
    border-top: 1px solid #F1F5F9 !important;
    background: #FFFFFF !important;
    flex-shrink: 0 !important;
}
.owji-drawer-account-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #F4F6F4 !important;
    border: 1px solid #D1DDD6 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    color: #1A3026 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}
.owji-drawer-account-link:hover {
    background: #E8EFEA !important;
    border-color: #2D5A43 !important;
    color: #2D5A43 !important;
}
.owji-drawer-account-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.owji-account-svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   Single Page Content Typography & Styling
   ========================================================================== */
.elementor-widget-theme-post-content {
    color: #333333;
    font-size: 16px;
    line-height: 2;
    direction: rtl;
    text-align: right;
}

.elementor-widget-theme-post-content h2 {
    color: #1A3026 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-top: 32px !important;
    margin-bottom: 14px !important;
    position: relative !important;
    padding-right: 14px !important;
}

.elementor-widget-theme-post-content h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #EACFAB;
    border-radius: 4px;
}

.elementor-widget-theme-post-content h3 {
    color: #2D5A43 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    margin-top: 24px !important;
    margin-bottom: 12px !important;
}

.elementor-widget-theme-post-content p {
    color: #444444 !important;
    font-size: 15.5px !important;
    line-height: 1.95 !important;
    margin-bottom: 18px !important;
}

.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol {
    padding-right: 24px !important;
    margin-bottom: 20px !important;
}

.elementor-widget-theme-post-content li {
    font-size: 15.5px !important;
    line-height: 1.9 !important;
    color: #444444 !important;
    margin-bottom: 8px !important;
}

.elementor-widget-theme-post-content blockquote {
    background: #FAF7F2 !important;
    border-right: 4px solid #EACFAB !important;
    border-radius: 12px !important;
    padding: 18px 24px !important;
    margin: 24px 0 !important;
    font-style: normal !important;
    color: #1A3026 !important;
    font-weight: 600 !important;
}

.elementor-widget-theme-post-content a {
    color: #2D5A43 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    transition: color 0.2s ease !important;
}

.elementor-widget-theme-post-content a:hover {
    color: #1A3026 !important;
}

.elementor-widget-theme-post-content img {
    border-radius: 18px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

.elementor-widget-theme-post-content table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-collapse: collapse !important;
    margin: 24px 0 !important;
    border-radius: 12px !important;
}

.elementor-widget-theme-post-content th {
    background: #FAF7F2 !important;
    color: #1A3026 !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
    border: 1px solid #EFEAE2 !important;
}

.elementor-widget-theme-post-content td {
    padding: 12px 16px !important;
    border: 1px solid #EFEAE2 !important;
    color: #555555 !important;
}

/* ==========================================================================
   Single Post (Blog Article) Specific Styling
   ========================================================================== */
.owji-post-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #666666;
    margin-bottom: 12px;
}
.owji-post-breadcrumbs a {
    color: #2D5A43 !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}
.owji-post-breadcrumbs a:hover {
    color: #1A3026 !important;
    text-decoration: underline !important;
}
.owji-post-breadcrumbs .owji-bc-sep {
    color: #CDB38B;
    font-size: 11px;
}
.owji-post-breadcrumbs .owji-bc-curr {
    color: #1A3026;
    font-weight: 700;
}

/* Post Meta Bar */
.owji-blog-meta-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #FFFFFF;
    border: 1px solid #EFEAE2;
    border-radius: 9999px;
    padding: 8px 22px;
    margin-top: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.owji-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: #555555;
    font-weight: 500;
}
.owji-meta-icon {
    display: inline-flex;
    align-items: center;
    color: #2D5A43;
}
.owji-meta-cat {
    color: #2D5A43;
    font-weight: 700;
}
.owji-meta-dot {
    color: #CDB38B;
    font-size: 14px;
}

/* Featured Image Styling */
.elementor-widget-theme-post-featured-image img {
    border-radius: 24px !important;
    box-shadow: 0 8px 30px rgba(26, 48, 38, 0.07) !important;
    border: 1px solid #EFEAE2 !important;
    width: 100% !important;
    max-height: 480px !important;
    object-fit: cover !important;
}

/* Featured Image Styling */
.owji-post-featured-image-wrap {
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}
.owji-post-feat-img {
    width: 100% !important;
    max-height: 520px !important;
    object-fit: cover !important;
    border-radius: 24px !important;
    border: 1px solid #EFEAE2 !important;
    box-shadow: 0 8px 30px rgba(26, 48, 38, 0.07) !important;
}

/* Comments Section Styling */
.owji-comments-section {
    width: 100%;
    direction: rtl;
    text-align: right;
}
.owji-comments-header {
    margin-bottom: 24px;
    border-bottom: 1px solid #EFEAE2;
    padding-bottom: 16px;
}
.owji-comments-title {
    color: #1A3026 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.owji-comments-sub {
    color: #666666 !important;
    font-size: 14px !important;
    margin: 0 !important;
}
#commentform p {
    margin-bottom: 16px !important;
}
#commentform label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1A3026 !important;
    margin-bottom: 6px !important;
}
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
    width: 100% !important;
    border: 1px solid #E2D9CC !important;
    background: #FAF7F2 !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14.5px !important;
    color: #222222 !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
#commentform input:focus,
#commentform textarea:focus {
    outline: none !important;
    border-color: #2D5A43 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(45, 90, 67, 0.1) !important;
}
#commentform .form-submit {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}
#commentform input[type="submit"] {
    background: #1A3026 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 12px 34px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}
#commentform input[type="submit"]:hover {
    background: #2D5A43 !important;
    transform: translateY(-1px) !important;
}
.comment-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 24px 0 !important;
}
.comment-list .comment {
    background: #FAF7F2 !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 18px !important;
    padding: 20px 24px !important;
    margin-bottom: 18px !important;
}
.comment-list .comment-author {
    font-weight: 700 !important;
    color: #1A3026 !important;
    font-size: 15px !important;
    margin-bottom: 4px !important;
}
.comment-list .comment-metadata a {
    color: #888888 !important;
    font-size: 12.5px !important;
    text-decoration: none !important;
}
.comment-list .comment-content p {
    color: #444444 !important;
    font-size: 14.5px !important;
    line-height: 1.85 !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}
.comment-list .reply a {
    display: inline-block !important;
    color: #2D5A43 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    margin-top: 10px !important;
}

/* ==========================================================================
   Archive Page (Categories, Tags, Blog, Search) Styling
   ========================================================================== */
.owji-archive-page-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #1A3026 !important;
    line-height: 1.4 !important;
    margin: 4px 0 8px 0 !important;
    text-align: center !important;
}
@media (max-width: 767px) {
    .owji-archive-page-title {
        font-size: 24px !important;
    }
}

.owji-archive-page-desc {
    font-size: 15px !important;
    color: #666666 !important;
    line-height: 1.8 !important;
    max-width: 680px !important;
    margin: 8px auto 0 auto !important;
    text-align: center !important;
}

/* Post Cards Grid */
.owji-archive-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    width: 100% !important;
    margin-top: 10px !important;
}
@media (max-width: 1024px) {
    .owji-archive-posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 22px !important;
    }
}
@media (max-width: 640px) {
    .owji-archive-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Single Post Card */
.owji-archive-card {
    background: #FFFFFF !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
    box-shadow: 0 4px 18px rgba(26, 48, 38, 0.04) !important;
}
.owji-archive-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 34px rgba(26, 48, 38, 0.1) !important;
    border-color: #CDB38B !important;
}

/* Card Image Wrap */
.owji-card-thumb-wrap {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background: #FAF7F2 !important;
}
.owji-card-img-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.owji-card-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.owji-archive-card:hover .owji-card-thumb {
    transform: scale(1.06) !important;
}

/* Category Badge over image */
.owji-card-badge {
    position: absolute !important;
    bottom: 14px !important;
    right: 14px !important;
    background: rgba(26, 48, 38, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #EACFAB !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 5px 14px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    border: 1px solid rgba(234, 207, 171, 0.25) !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    z-index: 2 !important;
}
.owji-card-badge:hover {
    background: #1A3026 !important;
    transform: scale(1.04) !important;
    color: #FFFFFF !important;
}

/* Card Content */
.owji-card-content {
    padding: 22px 24px 24px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.owji-card-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12.5px !important;
    color: #888888 !important;
    margin-bottom: 10px !important;
}
.owji-c-meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.owji-c-meta-item svg {
    color: #2D5A43 !important;
}
.owji-c-meta-dot {
    color: #CDB38B !important;
}

/* Card Title */
.owji-card-title {
    font-size: 17.5px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    margin: 0 0 12px 0 !important;
    min-height: 52px !important;
}
.owji-card-title a {
    color: #1A3026 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.owji-card-title a:hover {
    color: #2D5A43 !important;
}

/* Card Excerpt */
.owji-card-excerpt {
    font-size: 13.5px !important;
    color: #555555 !important;
    line-height: 1.75 !important;
    margin: 0 0 20px 0 !important;
    flex-grow: 1 !important;
}

/* Card Footer */
.owji-card-footer {
    padding-top: 14px !important;
    border-top: 1px solid #F0ECE4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}
.owji-card-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #2D5A43 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: gap 0.2s ease, color 0.2s ease !important;
}
.owji-card-cta:hover {
    color: #1A3026 !important;
    gap: 12px !important;
}

/* ==========================================================================
   Archive Pagination
   ========================================================================== */
.owji-archive-pagination {
    margin-top: 48px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
}
.owji-archive-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 14px !important;
    background: #FFFFFF !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 14px !important;
    color: #1A3026 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    transition: all 0.25s ease !important;
}
.owji-archive-pagination .page-numbers:hover {
    background: #FAF7F2 !important;
    border-color: #CDB38B !important;
    color: #2D5A43 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(26,48,38,0.08) !important;
}
.owji-archive-pagination .page-numbers.current {
    background: #1A3026 !important;
    border-color: #1A3026 !important;
    color: #EACFAB !important;
    box-shadow: 0 6px 18px rgba(26,48,38,0.2) !important;
    cursor: default !important;
    transform: none !important;
}
.owji-archive-pagination .page-numbers.dots {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #888888 !important;
    min-width: 24px !important;
    cursor: default !important;
}
.owji-archive-pagination .page-numbers.prev,
.owji-archive-pagination .page-numbers.next {
    padding: 0 18px !important;
    gap: 6px !important;
    font-size: 13.5px !important;
    background: #FFFFFF !important;
}
.owji-pg-arrow {
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Empty State */
.owji-archive-empty-state {
    background: #FFFFFF !important;
    border: 1px dashed #DCD5C8 !important;
    border-radius: 24px !important;
    padding: 50px 30px !important;
    text-align: center !important;
    max-width: 600px !important;
    margin: 20px auto !important;
}
.owji-empty-icon-wrap {
    width: 80px !important;
    height: 80px !important;
    background: #FAF7F2 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 18px !important;
}
.owji-empty-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1A3026 !important;
    margin: 0 0 10px 0 !important;
}
.owji-empty-desc {
    font-size: 14.5px !important;
    color: #666666 !important;
    line-height: 1.8 !important;
    margin: 0 auto 24px auto !important;
}
.owji-empty-search-box {
    max-width: 440px !important;
    margin: 0 auto !important;
}
.owji-archive-search-form {
    display: flex !important;
    align-items: center !important;
    background: #FAF7F2 !important;
    border: 1.5px solid #EFEAE2 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    padding: 4px !important;
}
.owji-archive-search-input {
    flex-grow: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: #1A3026 !important;
    outline: none !important;
}
.owji-archive-search-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #2D5A43 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}
.owji-archive-search-btn:hover {
    background: #1A3026 !important;
}

/* ==========================================================================
   Bottom CTA Banner Styling (Archive & Single Post)
   ========================================================================== */
.owji-post-cta-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    width: 100% !important;
}
@media (max-width: 768px) {
    .owji-post-cta-banner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 18px !important;
    }
}
.owji-cta-content {
    flex-grow: 1 !important;
}
.owji-cta-title {
    color: #FFFFFF !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4 !important;
}
@media (max-width: 640px) {
    .owji-cta-title {
        font-size: 18px !important;
    }
}
.owji-cta-desc {
    color: #EACFAB !important;
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    opacity: 0.95 !important;
}
.owji-cta-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}
@media (max-width: 640px) {
    .owji-cta-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
}
.owji-cta-btn-gold {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #EACFAB !important;
    color: #1A3026 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 22px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12) !important;
}
.owji-cta-btn-gold:hover {
    background: #FFFFFF !important;
    color: #1A3026 !important;
    transform: translateY(-2px) !important;
}
.owji-cta-btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: transparent !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255,255,255,0.35) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 11px 20px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}
.owji-cta-btn-outline:hover {
    border-color: #EACFAB !important;
    color: #EACFAB !important;
    background: rgba(234, 207, 171, 0.08) !important;
}

/* Force perfect centering of Archive & Blog Divider Line */
.elementor-element-owji_arch_line,
.elementor-widget-divider.elementor-element-owji_arch_line,
.elementor-element-owji_arch_line .elementor-widget-container,
.elementor-element-owji_arch_line .elementor-divider {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    float: none !important;
}
.elementor-element-owji_arch_line .elementor-divider-separator {
    margin: 0 auto !important;
    width: 80px !important;
    max-width: 80px !important;
    border-top: 3px solid #EACFAB !important;
    border-radius: 2px !important;
    display: block !important;
}


/* ==========================================================================
   OWJI RICE - SINGLE PRODUCT TEMPLATE & STICKY BUY BAR (V4.0.0)
   ========================================================================== */

/* 1. Breadcrumbs */
.owji-prod-breadcrumbs {
    margin-bottom: 24px;
    direction: rtl;
}
.owji-prod-bc-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #718096;
}
.owji-prod-bc-item a {
    color: #4A5568;
    text-decoration: none;
    transition: color 0.2s ease;
}
.owji-prod-bc-item a:hover {
    color: #2D5A43;
}
.owji-prod-bc-sep {
    color: #CBD5E0;
    font-size: 11px;
}
.owji-prod-bc-item.current {
    color: #1A3026;
    font-weight: 600;
}

/* 2. Hero Grid */
.owji-prod-hero-wrap {
    width: 100%;
    direction: rtl;
    margin-bottom: 30px;
}
.owji-prod-hero-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 36px;
    align-items: start;
}
@media (max-width: 991px) {
    .owji-prod-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Gallery Card (Right Column) */
.owji-prod-gallery-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #EFEAE2;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(26, 48, 38, 0.04);
}
.owji-prod-main-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #FAF7F2;
    aspect-ratio: 4 / 5 !important;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #F0ECE4;
}
.owji-prod-main-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease, opacity 0.2s ease;
}
.owji-prod-main-img-box:hover img {
    transform: scale(1.04);
}
.owji-prod-badges-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    left: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}
.owji-prod-badge-discount {
    background: linear-gradient(135deg, #E53E3E, #C53030);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}
.owji-prod-badge-purity {
    background: rgba(26, 48, 38, 0.88);
    backdrop-filter: blur(8px);
    color: #EACFAB;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(234, 207, 171, 0.3);
}
.owji-prod-thumbnails-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.owji-prod-thumb-btn {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    border: 2px solid #EFEAE2;
    background: #FAF7F2;
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.owji-prod-thumb-btn.active, .owji-prod-thumb-btn:hover {
    border-color: #2D5A43;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 67, 0.15);
}
.owji-prod-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.owji-prod-trust-strip {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #F0ECE4;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.owji-trust-pill {
    display: flex;
    align-items: center;
    gap: 12px;
}
.owji-trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #F2F7F4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2D5A43;
}
.owji-trust-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.4;
}
.owji-trust-text strong {
    color: #1A3026;
    font-size: 13px;
}
.owji-trust-text span {
    color: #718096;
}

/* Product Details Card (Left Column) */
.owji-prod-details-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #EFEAE2;
    padding: 32px 36px;
    box-shadow: 0 10px 30px rgba(26, 48, 38, 0.04);
}
@media (max-width: 576px) {
    .owji-prod-details-card {
        padding: 22px 18px;
    }
}
.owji-prod-top-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.owji-prod-chip-cat {
    background: #F2F7F4;
    color: #2D5A43;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
}
.owji-prod-chip-sku {
    color: #A0AEC0;
    font-size: 12px;
}
.owji-prod-chip-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: auto;
}
.owji-prod-chip-stock.in-stock {
    background: #ECFDF5;
    color: #065F46;
}
.owji-prod-chip-stock .stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.owji-prod-h1 {
    font-size: 26px;
    font-weight: 800;
    color: #1A3026;
    line-height: 1.45;
    margin: 0 0 16px 0;
}
@media (max-width: 768px) {
    .owji-prod-h1 {
        font-size: 22px;
    }
}

.owji-prod-rating-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0ECE4;
}
.owji-rating-stars {
    display: flex;
    gap: 2px;
}
.owji-rating-score {
    font-weight: 700;
    color: #1A3026;
    font-size: 13px;
}
.owji-rating-sep {
    color: #CBD5E0;
}
.owji-rating-link {
    color: #2D5A43;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.owji-rating-link:hover {
    color: #CDB38B;
    text-decoration: underline;
}

.owji-prod-excerpt {
    font-size: 14.5px;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 20px;
}
.owji-prod-feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.owji-bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #2D3748;
}
.bullet-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #E8F3EE;
    color: #2D5A43;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Quick Attributes */
.owji-prod-quick-attrs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 26px;
    background: #FAF7F2;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid #EFEAE2;
}
@media (max-width: 480px) {
    .owji-prod-quick-attrs {
        grid-template-columns: 1fr;
    }
}
.owji-attr-chip {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.owji-attr-chip .chip-label {
    color: #718096;
}
.owji-attr-chip .chip-val {
    color: #1A3026;
    font-weight: 700;
}

/* Price Card */
.owji-prod-price-card {
    background: linear-gradient(135deg, #F8F5EE 0%, #F5EFE3 100%);
    border: 1px solid #E6DBC9;
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 26px;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6);
}
.owji-price-row-regular {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.owji-price-row-regular .price-label {
    font-size: 13px;
    color: #718096;
}
.owji-price-row-regular .old-price {
    font-size: 16px;
    color: #A0AEC0;
    text-decoration: line-through;
}
.owji-price-row-regular .discount-pill {
    background: #E53E3E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}
.owji-price-row-final {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.owji-price-row-final .price-label {
    font-size: 14px;
    font-weight: 700;
    color: #1A3026;
}
.owji-price-row-final .final-price {
    font-size: 32px;
    font-weight: 900;
    color: #1A3026;
    letter-spacing: -0.5px;
}
.owji-price-row-final .price-currency {
    font-size: 16px;
    font-weight: 700;
    color: #2D5A43;
}
.owji-price-per-kg {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(205, 179, 139, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #718096;
}
.owji-price-per-kg strong {
    color: #2D5A43;
}

/* Add to Cart Actions */
.owji-prod-actions-wrap {
    margin-bottom: 26px;
}
.owji-custom-cart-form {
    display: flex;
    align-items: center;
    gap: 16px;
}
@media (max-width: 576px) {
    .owji-custom-cart-form {
        flex-direction: column;
        align-items: stretch;
    }
}
.owji-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #CBD5E0;
    border-radius: 16px;
    background: #FAF7F2;
    overflow: hidden;
    height: 52px;
    width: 140px;
    flex-shrink: 0;
}
@media (max-width: 576px) {
    .owji-qty-selector {
        width: 100%;
        justify-content: space-between;
    }
}
.owji-qty-btn {
    width: 44px;
    height: 52px;
    border: none;
    background: transparent;
    color: #1A3026;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.owji-qty-btn:hover {
    background: #EFEAE2;
}
.owji-qty-input {
    width: 52px;
    height: 52px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: #1A3026;
    font-family: inherit;
    -moz-appearance: textfield;
}
.owji-qty-input::-webkit-outer-spin-button,
.owji-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.owji-hero-add-to-cart-btn {
    flex: 1;
    height: 52px;
    background: linear-gradient(135deg, #1A3026 0%, #2D5A43 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(26, 48, 38, 0.2);
    transition: all 0.25s ease;
    text-decoration: none;
}
.owji-hero-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 48, 38, 0.3);
    background: linear-gradient(135deg, #2D5A43 0%, #3A7356 100%);
    color: #FFFFFF;
}

/* Guarantees Box */
.owji-prod-guarantee-box {
    border-top: 1px solid #F0ECE4;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.owji-g-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #4A5568;
}
.owji-g-item strong {
    color: #2D5A43;
}

/* ==========================================================================
   3. PRODUCT TABS SECTION
   ========================================================================== */
.owji-prod-tabs-container {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #EFEAE2;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 48, 38, 0.04);
    margin-bottom: 40px;
    direction: rtl;
}
.owji-tabs-nav {
    display: flex;
    background: #FAF7F2;
    border-bottom: 1px solid #EFEAE2;
    overflow-x: auto;
}
.owji-tab-btn {
    padding: 18px 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #718096;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}
.owji-tab-btn:hover {
    color: #2D5A43;
}
.owji-tab-btn.active {
    color: #1A3026;
    background: #FFFFFF;
    border-bottom-color: #CDB38B;
}
.owji-tabs-content-wrap {
    padding: 36px 40px;
}
@media (max-width: 768px) {
    .owji-tabs-content-wrap {
        padding: 24px 20px;
    }
}
.owji-tab-pane {
    display: none;
    animation: fadeInTab 0.3s ease;
}
.owji-tab-pane.active {
    display: block;
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Editorial Content */
.owji-editorial-content {
    font-size: 15.5px;
    line-height: 2;
    color: #2D3748;
    margin-bottom: 32px;
}
.owji-editorial-content h2, .owji-editorial-content h3 {
    color: #1A3026;
    margin: 24px 0 14px 0;
}

/* Cooking Guide Card */
.owji-cooking-guide-card {
    background: #FAF7F2;
    border: 1px solid #EFEAE2;
    border-radius: 20px;
    padding: 26px 30px;
}
.cooking-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.cooking-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1A3026;
}
.cooking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 768px) {
    .cooking-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.cooking-col h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #2D5A43;
}
.cooking-col ol {
    margin: 0;
    padding-right: 20px;
    font-size: 13.5px;
    line-height: 1.9;
    color: #4A5568;
}

/* Specifications Table */
.owji-specs-wrap {
    max-width: 900px;
}
.owji-specs-title {
    font-size: 18px;
    font-weight: 800;
    color: #1A3026;
    margin: 0 0 20px 0;
}
.owji-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #EFEAE2;
    border-radius: 16px;
    overflow: hidden;
}
.owji-specs-table tr:nth-child(even) {
    background: #FAF7F2;
}
.owji-specs-table th.spec-label {
    width: 35%;
    padding: 16px 22px;
    font-size: 14px;
    font-weight: 700;
    color: #4A5568;
    text-align: right;
    border-bottom: 1px solid #EFEAE2;
    border-left: 1px solid #EFEAE2;
}
.owji-specs-table td.spec-value {
    padding: 16px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #1A3026;
    border-bottom: 1px solid #EFEAE2;
}
.owji-specs-table tr:last-child th,
.owji-specs-table tr:last-child td {
    border-bottom: none;
}

/* Reviews List */
.owji-reviews-header {
    margin-bottom: 24px;
}
.owji-reviews-header h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #1A3026;
}
.owji-reviews-header p {
    margin: 0;
    font-size: 13.5px;
    color: #718096;
}
.owji-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}
.owji-review-item {
    border: 1px solid #EFEAE2;
    border-radius: 16px;
    padding: 20px 24px;
    background: #FFFFFF;
}
.owji-review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.owji-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.owji-author-avatar img {
    border-radius: 50%;
}
.owji-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.owji-author-info strong {
    font-size: 14px;
    color: #1A3026;
}
.verified-badge {
    color: #065F46;
    background: #ECFDF5;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}
.review-date {
    font-size: 11px;
    color: #A0AEC0;
}
.owji-review-stars {
    display: flex;
    gap: 2px;
}
.owji-review-text {
    font-size: 14px;
    line-height: 1.8;
    color: #4A5568;
}

/* Review Form */
.owji-review-form-box {
    background: #FAF7F2;
    border: 1px solid #EFEAE2;
    border-radius: 20px;
    padding: 28px 32px;
}
.owji-review-form-box h4 {
    margin: 0 0 18px 0;
    font-size: 16px;
    font-weight: 800;
    color: #1A3026;
}
.owji-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}
@media (max-width: 576px) {
    .owji-form-row {
        grid-template-columns: 1fr;
    }
}
.owji-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.owji-form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #4A5568;
}
.owji-form-input, .owji-form-textarea, .owji-form-select {
    padding: 12px 16px;
    border: 1px solid #CBD5E0;
    border-radius: 12px;
    background: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    color: #1A3026;
    outline: none;
    transition: border-color 0.2s;
}
.owji-form-input:focus, .owji-form-textarea:focus, .owji-form-select:focus {
    border-color: #2D5A43;
}
.owji-submit-review-btn {
    background: #2D5A43;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.owji-submit-review-btn:hover {
    background: #1A3026;
}

/* ==========================================================================
   4. RELATED PRODUCTS SECTION
   ========================================================================== */
.owji-related-prods-section {
    direction: rtl;
    margin-top: 10px;
    margin-bottom: 40px;
}
.owji-related-header {
    text-align: center;
    margin-bottom: 30px;
}
.owji-rel-sub {
    font-size: 13px;
    font-weight: 700;
    color: #CDB38B;
    display: block;
    margin-bottom: 4px;
}
.owji-rel-title {
    font-size: 24px;
    font-weight: 800;
    color: #1A3026;
    margin: 0;
}
.owji-rel-divider {
    width: 60px;
    height: 3px;
    background: #CDB38B;
    border-radius: 2px;
    margin: 12px auto 0 auto;
}
.owji-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.owji-related-grid--single,
.owji-related-grid:has(> .owji-rel-card:only-child) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.owji-related-grid--single .owji-rel-card,
.owji-related-grid:has(> .owji-rel-card:only-child) > .owji-rel-card {
    width: 100% !important;
    max-width: 290px !important;
    margin: 0 auto !important;
}
.owji-related-grid--double {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
}
.owji-related-grid--double .owji-rel-card {
    width: 100% !important;
    max-width: 290px !important;
}
@media (max-width: 1024px) {
    .owji-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .owji-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 480px) {
    .owji-related-grid {
        grid-template-columns: 1fr;
    }
}
.owji-rel-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #EFEAE2;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.owji-rel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(26, 48, 38, 0.08);
    border-color: #CDB38B;
}
.owji-rel-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #FAF7F2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}
.owji-rel-card-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.owji-rel-card:hover .owji-rel-card-media img {
    transform: scale(1.05);
}
.owji-rel-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #E53E3E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}
.owji-rel-card-body {
    padding: 18px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.owji-rel-card-cat {
    font-size: 11.5px;
    color: #718096;
    margin-bottom: 6px;
}
.owji-rel-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 12px 0;
    min-height: 44px;
}
.owji-rel-card-title a {
    color: #1A3026;
    text-decoration: none;
    transition: color 0.2s;
}
.owji-rel-card-title a:hover {
    color: #2D5A43;
}
.owji-rel-card-price-row {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}
.owji-rel-old-price {
    font-size: 13px;
    color: #A0AEC0;
    text-decoration: line-through;
}
.owji-rel-price {
    font-size: 17px;
    font-weight: 800;
    color: #1A3026;
}
.owji-rel-price small {
    font-size: 12px;
    color: #2D5A43;
}
.owji-rel-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #FAF7F2;
    color: #1A3026;
    border: 1px solid #EFEAE2;
    border-radius: 12px;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.owji-rel-card-btn:hover {
    background: #2D5A43;
    color: #FFFFFF;
    border-color: #2D5A43;
}

/* ==========================================================================
   5. STICKY BOTTOM BUY BAR (نوار ثابت پایین)
   ========================================================================== */
.owji-sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid #EAE5DC;
    box-shadow: 0 -10px 30px rgba(26, 48, 38, 0.1);
    z-index: 99999;
    padding: 18px 30px;
    direction: rtl;
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.owji-sticky-buy-bar.visible {
    transform: translateY(0);
}
.owji-sticky-bar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.owji-sticky-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.owji-sticky-thumb {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: contain;
    background: #FAF7F2;
    border: 1px solid #EFEAE2;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.owji-sticky-titles {
    min-width: 0;
}
.owji-sticky-name {
    margin: 0 0 4px 0;
    font-size: 15.5px;
    font-weight: 800;
    color: #1A3026;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.owji-sticky-stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #065F46;
    font-weight: 600;
}
.owji-sticky-stock-status .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
}

.owji-sticky-price-side {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-shrink: 0;
}
.owji-sticky-old-price {
    font-size: 14px;
    color: #A0AEC0;
    text-decoration: line-through;
}
.owji-sticky-price {
    font-size: 24px;
    font-weight: 900;
    color: #1A3026;
    letter-spacing: -0.5px;
}
.owji-sticky-price small {
    font-size: 14px;
    color: #2D5A43;
    font-weight: 700;
}

.owji-sticky-action-side {
    flex-shrink: 0;
}
.owji-sticky-quick-form {
    display: flex;
    align-items: center;
    gap: 12px;
}
.owji-sticky-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid #CBD5E0;
    border-radius: 14px;
    background: #FAF7F2;
    overflow: hidden;
    height: 50px;
    width: 114px;
}
.owji-sticky-qty-btn {
    width: 36px;
    height: 50px;
    border: none;
    background: transparent;
    color: #1A3026;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.owji-sticky-qty-btn:hover {
    background: #EFEAE2;
}
.owji-sticky-qty-num {
    width: 42px;
    height: 50px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #1A3026;
    font-family: inherit;
    -moz-appearance: textfield;
}
.owji-sticky-btn {
    height: 50px;
    padding: 0 30px;
    background: linear-gradient(135deg, #1A3026 0%, #2D5A43 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(26, 48, 38, 0.22);
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
}
.owji-sticky-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(26, 48, 38, 0.32);
    color: #FFFFFF;
}

body.single-product {
    padding-bottom: 105px !important;
}

/* Arrow micro-interaction in RTL */
.owji-rel-card-btn svg,
.owji-shop-card-btn svg {
    transition: transform 0.25s ease;
}
.owji-rel-card-btn:hover svg,
.owji-shop-card-btn:hover svg {
    transform: translateX(-4px);
}

/* Mobile Adjustments for Sticky Bar */
@media (max-width: 768px) {
    .owji-sticky-buy-bar {
        padding: 14px 18px;
    }
    .owji-sticky-bar-inner {
        gap: 12px;
    }
    .owji-sticky-stock-status, .owji-sticky-old-price, .owji-sticky-qty-ctrl {
        display: none !important;
    }
    .owji-sticky-thumb {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    .owji-sticky-name {
        font-size: 13.5px;
        max-width: 140px;
    }
    .owji-sticky-price {
        font-size: 17px;
    }
    .owji-sticky-btn {
        height: 44px;
        padding: 0 18px;
        font-size: 13.5px;
    }
    body.single-product {
        padding-bottom: 85px !important;
    }
}


/* ==========================================================================
   OWJI RICE - SHOP / PRODUCT ARCHIVE TEMPLATE (V4.1.0)
   ========================================================================== */

/* 1. Shop Hero Banner */
.owji-shop-hero-section {
    width: 100%;
    direction: rtl;
    text-align: center;
    margin-bottom: 28px;
}
.owji-shop-breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #718096;
}
.owji-shop-breadcrumbs a {
    color: #4A5568;
    text-decoration: none;
    transition: color 0.2s;
}
.owji-shop-breadcrumbs a:hover {
    color: #2D5A43;
}
.owji-shop-breadcrumbs .sep {
    color: #CBD5E0;
    font-size: 11px;
}
.owji-shop-breadcrumbs .current {
    color: #1A3026;
    font-weight: 700;
}
.owji-shop-title {
    font-size: 30px;
    font-weight: 900;
    color: #1A3026;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}
@media (max-width: 768px) {
    .owji-shop-title {
        font-size: 24px;
    }
}
.owji-shop-divider {
    width: 60px;
    height: 3px;
    background: #CDB38B;
    border-radius: 2px;
    margin: 0 auto 14px auto;
}
.owji-shop-subtitle {
    font-size: 14.5px;
    color: #4A5568;
    max-width: 680px;
    margin: 0 auto 22px auto;
    line-height: 1.8;
}

/* Category Quick Filter Pills */
.owji-shop-cat-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.owji-cat-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #4A5568;
    border: 1px solid #EFEAE2;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.owji-cat-pill-btn:hover {
    border-color: #2D5A43;
    color: #2D5A43;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(45, 90, 67, 0.08);
}
.owji-cat-pill-btn.active {
    background: #2D5A43;
    color: #FFFFFF;
    border-color: #2D5A43;
    box-shadow: 0 4px 14px rgba(45, 90, 67, 0.25);
}
.owji-cat-pill-count {
    background: rgba(205, 179, 139, 0.25);
    color: inherit;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 12px;
}
.owji-cat-pill-btn.active .owji-cat-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

/* 2. Top Toolbar (Controls, Active Filters & Sort) */
.owji-shop-toolbar {
    background: #FFFFFF;
    border: 1px solid #EFEAE2;
    border-radius: 20px;
    padding: 16px 22px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    direction: rtl;
    box-shadow: 0 6px 20px rgba(26, 48, 38, 0.03);
}
.owji-toolbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.owji-product-count-badge {
    font-size: 13px;
    font-weight: 700;
    color: #2D5A43;
    background: #F2F7F4;
    padding: 6px 14px;
    border-radius: 20px;
}
.owji-mobile-filter-trigger {
    display: none;
    align-items: center;
    gap: 8px;
    background: #FAF7F2;
    border: 1px solid #EFEAE2;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #1A3026;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.owji-mobile-filter-trigger:hover {
    background: #EFEAE2;
}
@media (max-width: 991px) {
    .owji-mobile-filter-trigger {
        display: inline-flex;
    }
}

/* Active Filters Strip */
.owji-active-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin: 0 10px;
}
.owji-active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FAF7F2;
    border: 1px solid #E2D9CC;
    color: #1A3026;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s;
}
.owji-active-filter-chip:hover {
    background: #FEE2E2;
    border-color: #F87171;
    color: #DC2626;
}
.owji-active-filter-chip .chip-remove {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
.owji-clear-all-btn {
    font-size: 12px;
    font-weight: 700;
    color: #DC2626;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 12px;
    background: #FEF2F2;
    transition: background 0.2s;
}
.owji-clear-all-btn:hover {
    background: #FEE2E2;
}

/* Sorting Dropdown */
.owji-sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
}
.owji-sort-label {
    font-size: 13px;
    color: #718096;
    white-space: nowrap;
}
.owji-sort-select {
    padding: 8px 14px;
    border: 1px solid #CBD5E0;
    border-radius: 12px;
    background: #FAF7F2;
    color: #1A3026;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.owji-sort-select:focus {
    border-color: #2D5A43;
}

/* 3. Main Layout Grid (Sidebar + Products) */
.owji-shop-body-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 32px;
    align-items: start;
    direction: rtl;
    margin-bottom: 50px;
}
@media (max-width: 991px) {
    .owji-shop-body-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Filters */
.owji-shop-sidebar {
    background: #FFFFFF;
    border: 1px solid #EFEAE2;
    border-radius: 22px;
    padding: 24px 22px;
    box-shadow: 0 8px 25px rgba(26, 48, 38, 0.04);
}
@media (max-width: 991px) {
    .owji-shop-sidebar {
        display: none;
    }
    .owji-shop-sidebar.active-mobile {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}
.owji-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #F0ECE4;
}
.owji-sidebar-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #1A3026;
    display: flex;
    align-items: center;
    gap: 8px;
}
.owji-sidebar-reset-link {
    font-size: 12px;
    color: #DC2626;
    text-decoration: none;
    font-weight: 600;
}
.owji-sidebar-reset-link:hover {
    text-decoration: underline;
}

/* Filter Accordion / Groups */
.owji-filter-group {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #F0ECE4;
}
.owji-filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.owji-filter-group-title {
    font-size: 14px;
    font-weight: 800;
    color: #1A3026;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Price Filter Form */
.owji-price-filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.owji-price-inputs-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.owji-price-input-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.owji-price-input-wrap label {
    font-size: 11px;
    color: #718096;
}
.owji-price-box-input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #CBD5E0;
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    text-align: center;
    color: #1A3026;
    outline: none;
}
.owji-price-box-input:focus {
    border-color: #2D5A43;
}
.owji-price-presets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}
.owji-preset-btn {
    text-align: right;
    background: #FAF7F2;
    border: 1px solid #EFEAE2;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    color: #4A5568;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.owji-preset-btn:hover {
    background: #F2F7F4;
    border-color: #2D5A43;
    color: #2D5A43;
}
.owji-price-apply-btn {
    background: #2D5A43;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
    margin-top: 4px;
}
.owji-price-apply-btn:hover {
    background: #1A3026;
}

/* Filter Checkbox List */
.owji-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.owji-filter-item label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #4A5568;
    cursor: pointer;
    transition: color 0.2s;
}
.owji-filter-item label:hover {
    color: #1A3026;
}
.owji-filter-item input[type="checkbox"],
.owji-filter-item input[type="radio"] {
    accent-color: #2D5A43;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    cursor: pointer;
}
.owji-filter-item-left {
    display: flex;
    align-items: center;
}
.owji-filter-count {
    font-size: 11px;
    color: #A0AEC0;
    background: #FAF7F2;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Toggle Switches */
.owji-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 600;
    color: #2D3748;
    cursor: pointer;
}
.owji-toggle-row input {
    accent-color: #2D5A43;
    width: 17px;
    height: 17px;
    cursor: pointer;
}

/* 4. Products Grid */
.owji-shop-products-column {
    min-width: 0;
}
.owji-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1200px) {
    .owji-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .owji-shop-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.owji-shop-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #EFEAE2;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(26, 48, 38, 0.03);
}
.owji-shop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(26, 48, 38, 0.08);
    border-color: #CDB38B;
}
.owji-shop-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #FAF7F2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
}
.owji-shop-card-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.owji-shop-card:hover .owji-shop-card-media img {
    transform: scale(1.05);
}
.owji-shop-badge-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #E53E3E, #C53030);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    box-shadow: 0 3px 8px rgba(229, 62, 62, 0.3);
}
.owji-shop-badge-purity {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(26, 48, 38, 0.85);
    color: #EACFAB;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.owji-shop-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.owji-shop-card-cat {
    font-size: 12px;
    color: #718096;
    margin-bottom: 6px;
    font-weight: 600;
}
.owji-shop-card-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 10px 0;
    min-height: 48px;
}
.owji-shop-card-title a {
    color: #1A3026;
    text-decoration: none;
    transition: color 0.2s;
}
.owji-shop-card-title a:hover {
    color: #2D5A43;
}
.owji-shop-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}
.owji-shop-stars {
    display: flex;
    gap: 2px;
}
.owji-shop-score {
    font-size: 12px;
    font-weight: 700;
    color: #1A3026;
}

/* Card Attributes Chips */
.owji-shop-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.owji-shop-chip {
    background: #FAF7F2;
    border: 1px solid #EFEAE2;
    color: #4A5568;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 8px;
}

/* Card Price & CTA */
.owji-shop-card-price-row {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
    padding-top: 10px;
    border-top: 1px dashed #F0ECE4;
}
.owji-shop-old-price {
    font-size: 13.5px;
    color: #A0AEC0;
    text-decoration: line-through;
}
.owji-shop-price {
    font-size: 19px;
    font-weight: 900;
    color: #1A3026;
}
.owji-shop-price small {
    font-size: 12.5px;
    color: #2D5A43;
    font-weight: 700;
}
.owji-shop-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1A3026 0%, #2D5A43 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 11px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(26, 48, 38, 0.15);
}
.owji-shop-card-btn:hover {
    background: linear-gradient(135deg, #2D5A43 0%, #3A7356 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 48, 38, 0.25);
}

/* Empty State */
.owji-shop-empty-state {
    background: #FFFFFF;
    border: 1px solid #EFEAE2;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
}
.owji-shop-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #FAF7F2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    color: #2D5A43;
}
.owji-shop-empty-title {
    font-size: 20px;
    font-weight: 800;
    color: #1A3026;
    margin: 0 0 10px 0;
}
.owji-shop-empty-desc {
    font-size: 14px;
    color: #718096;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* 5. Pagination */
.owji-shop-pagination-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.owji-shop-pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    padding: 8px 14px;
    border-radius: 16px;
    border: 1px solid #EFEAE2;
    box-shadow: 0 4px 15px rgba(26, 48, 38, 0.03);
}
.owji-shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #4A5568;
    text-decoration: none;
    transition: all 0.2s ease;
}
.owji-shop-pagination .page-numbers:hover {
    background: #F2F7F4;
    color: #2D5A43;
}
.owji-shop-pagination .page-numbers.current {
    background: #2D5A43;
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(45, 90, 67, 0.3);
}
.owji-shop-pagination .page-numbers.dots {
    color: #A0AEC0;
}


/* ==========================================================================
   HEADER SUBMENU ACTIVE & HOVER STYLING FIX (V4.4.0)
   Fixes unreadable dark background on active submenu dropdown items
   ========================================================================== */
.elementor-nav-menu--main .sub-menu,
.elementor-nav-menu--dropdown {
    background-color: #ffffff !important;
}

.elementor-nav-menu--main .sub-menu li a,
.elementor-nav-menu--dropdown li a,
.elementor-nav-menu--main .sub-menu .elementor-sub-item,
.elementor-nav-menu--dropdown .elementor-sub-item {
    color: #1A3026 !important;
    background-color: transparent !important;
    padding: 10px 18px !important;
    transition: all 0.2s ease-in-out !important;
    border-radius: 6px !important;
}

/* Hover state */
.elementor-nav-menu--main .sub-menu li a:hover,
.elementor-nav-menu--dropdown li a:hover,
.elementor-nav-menu--main .sub-menu .elementor-sub-item:hover,
.elementor-nav-menu--dropdown .elementor-sub-item:hover {
    color: #2D5A43 !important;
    background-color: #FAF7F2 !important;
}

/* Active item state (OVERRIDE ANY DARK BACKGROUND!) */
.elementor-nav-menu--main .sub-menu li.current-menu-item > a,
.elementor-nav-menu--main .sub-menu li.current_page_item > a,
.elementor-nav-menu--main .sub-menu .elementor-sub-item.elementor-item-active,
.elementor-nav-menu--main .sub-menu .elementor-sub-item.highlighted,
.elementor-nav-menu--dropdown li.current-menu-item > a,
.elementor-nav-menu--dropdown li.current_page_item > a,
.elementor-nav-menu--dropdown .elementor-sub-item.elementor-item-active,
.elementor-nav-menu--dropdown .elementor-sub-item.highlighted {
    color: #1A3026 !important;
    background: #F3ECE2 !important;
    background-color: #F3ECE2 !important;
    font-weight: 700 !important;
}


/* ==========================================================================
   REVIEW FORM RATING STARS (Owji Gold Palette)
   ========================================================================== */
.comment-form-rating,
.rating-selector {
    margin-bottom: 18px !important;
}

.comment-form-rating label,
.rating-selector label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #2D5A43 !important;
    margin-bottom: 8px !important;
}

/* Base Stars Container */
.woocommerce p.stars,
p.stars {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 6px 0 14px 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 24px !important;
}

.woocommerce p.stars span,
p.stars span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

/* Individual Star Links - override default theme blue/red */
.woocommerce p.stars a,
p.stars a,
.comment-form-rating p.stars a {
    color: #D1D5DB !important;
    font-size: 24px !important;
    line-height: 1 !important;
    width: 24px !important;
    height: 24px !important;
    display: inline-block !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease, transform 0.15s ease !important;
    cursor: pointer !important;
}

.woocommerce p.stars a::before,
p.stars a::before,
.comment-form-rating p.stars a::before {
    color: #D1D5DB !important;
    font-size: 24px !important;
    line-height: 1 !important;
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    transition: color 0.2s ease !important;
    outline: none !important;
    border: none !important;
}

/* Hover States: Gold Color for stars up to hovered */
.woocommerce p.stars:hover a::before,
p.stars:hover a::before {
    color: #E0A838 !important;
}

.woocommerce p.stars a:hover ~ a::before,
p.stars a:hover ~ a::before {
    color: #D1D5DB !important;
}

/* Selected States: Gold Color */
.woocommerce p.stars.selected a.active::before,
p.stars.selected a.active::before,
.woocommerce p.stars.selected a:not(.active)::before,
p.stars.selected a:not(.active)::before {
    color: #E0A838 !important;
}

.woocommerce p.stars.selected a.active ~ a::before,
p.stars.selected a.active ~ a::before {
    color: #D1D5DB !important;
}

/* Prevent blue/red links on hover/focus/active */
.woocommerce p.stars a:hover,
.woocommerce p.stars a:focus,
.woocommerce p.stars a:active,
p.stars a:hover,
p.stars a:focus,
p.stars a:active {
    color: #E0A838 !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}


/* ==========================================================================
   Special Deal Carousel Action Button (All Slides Guaranteed Consistent Style)
   ========================================================================== */
.owji-deal-wrap .owji-deal-btn,
.owji-deal-wrap a.owji-deal-btn,
.owji-deal-slide .owji-deal-btn,
.elementor-element .owji-deal-btn,
a.owji-deal-btn {
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(20, 90, 62, 0.25) !important;
    transition: all 0.25s ease !important;
    max-width: none !important;
    width: auto !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

.owji-deal-wrap .owji-deal-btn:hover,
.owji-deal-wrap a.owji-deal-btn:hover,
.owji-deal-slide .owji-deal-btn:hover,
.elementor-element .owji-deal-btn:hover,
a.owji-deal-btn:hover {
    background-color: #0D3D2A !important;
    background: #0D3D2A !important;
    color: #FFFFFF !important;
    border: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(20, 90, 62, 0.35) !important;
}

.owji-deal-btn span,
.owji-deal-btn .owji-deal-btn-ic {
    color: #FFFFFF !important;
}


/* ==========================================================================
   OWJI RICE - WOOCOMMERCE CART & CHECKOUT & MINI-CART LUXURY STYLES (v4.6.0)
   ========================================================================== */

/* 1. CART PAGE LAYOUT */
.woocommerce-cart .woocommerce {
    direction: rtl;
    max-width: 1200px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    font-family: 'Vazirmatn', sans-serif;
}

@media (min-width: 992px) {
    .woocommerce-cart .woocommerce {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
    }
    .woocommerce-cart .woocommerce-cart-form {
        flex: 1 1 65%;
        width: 65%;
    }
    .woocommerce-cart .cart-collaterals {
        flex: 1 1 35%;
        width: 35%;
        position: sticky;
        top: 100px;
    }
}

/* Cart Table Card */
.woocommerce-cart table.cart {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 24px !important;
}

.woocommerce-cart table.cart thead th {
    background: #FAF7F2 !important;
    color: #1A3026 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    padding: 16px 20px !important;
    border: none !important;
    border-bottom: 1px solid #EFEAE2 !important;
    text-align: right !important;
}

.woocommerce-cart table.cart tbody td {
    padding: 18px 20px !important;
    border: none !important;
    border-bottom: 1px solid #F6F3EE !important;
    vertical-align: middle !important;
    color: #2D3748 !important;
    font-size: 14px !important;
}

.woocommerce-cart table.cart tbody tr:last-child td {
    border-bottom: none !important;
}

/* Product Thumbnail */
.woocommerce-cart table.cart td.product-thumbnail img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    background: #FAF7F2 !important;
    border: 1px solid #EFEAE2 !important;
}

/* Product Title & Link */
.woocommerce-cart table.cart td.product-name a {
    color: #1A3026 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.woocommerce-cart table.cart td.product-name a:hover {
    color: #145A3E !important;
}

/* Remove Item Button */
.woocommerce-cart table.cart a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #FEE2E2 !important;
    color: #EF4444 !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.woocommerce-cart table.cart a.remove:hover {
    background: #EF4444 !important;
    color: #FFFFFF !important;
}

/* Quantity Input */
.woocommerce-cart .quantity input.qty {
    width: 60px !important;
    height: 42px !important;
    border: 1px solid #CBD5E0 !important;
    border-radius: 10px !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #1A3026 !important;
    background: #FFFFFF !important;
}

/* Coupon & Actions Row */
.woocommerce-cart table.cart td.actions {
    background: #FAF7F2 !important;
    padding: 16px 20px !important;
}
.woocommerce-cart .coupon {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.woocommerce-cart .coupon input#coupon_code {
    height: 44px !important;
    border: 1px solid #CBD5E0 !important;
    border-radius: 10px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
    background: #FFFFFF !important;
    width: 170px !important;
}
.woocommerce-cart .coupon button.button,
.woocommerce-cart td.actions > button.button {
    height: 44px !important;
    border-radius: 10px !important;
    padding: 0 20px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.woocommerce-cart .coupon button.button {
    background: #145A3E !important;
    color: #FFFFFF !important;
    border: none !important;
}
.woocommerce-cart .coupon button.button:hover {
    background: #0D3D2A !important;
}
.woocommerce-cart td.actions > button.button {
    background: #FFFFFF !important;
    color: #1A3026 !important;
    border: 1px solid #CBD5E0 !important;
}
.woocommerce-cart td.actions > button.button:hover {
    background: #F3ECE2 !important;
}

/* Cart Totals Box */
.woocommerce-cart .cart-collaterals .cart_totals {
    background: #FFFFFF !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 24px 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    width: 100% !important;
}
.woocommerce-cart .cart_totals h2 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1A3026 !important;
    margin: 0 0 18px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #EFEAE2 !important;
}
.woocommerce-cart .cart_totals table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
}
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
    padding: 12px 0 !important;
    border: none !important;
    border-bottom: 1px solid #F6F3EE !important;
    font-size: 14px !important;
}
.woocommerce-cart .cart_totals table.shop_table th {
    color: #4A5568 !important;
    font-weight: 600 !important;
    text-align: right !important;
}
.woocommerce-cart .cart_totals table.shop_table td {
    text-align: left !important;
    font-weight: 700 !important;
    color: #1A3026 !important;
}
.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td {
    border-bottom: none !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #145A3E !important;
    padding-top: 16px !important;
}

/* Proceed to Checkout Button */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(20, 90, 62, 0.25) !important;
    transition: all 0.25s ease !important;
    border: none !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #0D3D2A !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(20, 90, 62, 0.35) !important;
}

/* 2. CHECKOUT PAGE LAYOUT */
.woocommerce-checkout .woocommerce {
    direction: rtl;
    max-width: 1200px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    font-family: 'Vazirmatn', sans-serif;
}

@media (min-width: 992px) {
    .woocommerce-checkout form.checkout {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 36px;
    }
    .woocommerce-checkout #customer_details {
        flex: 1 1 60%;
        width: 60%;
    }
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        flex: 1 1 40%;
        width: 40%;
    }
    .woocommerce-checkout #order_review {
        position: sticky;
        top: 100px;
    }
}

/* Form Sections */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    background: #FFFFFF !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 28px 32px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 24px !important;
}

.woocommerce-checkout h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1A3026 !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #EFEAE2 !important;
}

.woocommerce-checkout .form-row {
    margin-bottom: 16px !important;
}
.woocommerce-checkout .form-row label {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #2D3748 !important;
    margin-bottom: 6px !important;
    display: block !important;
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100% !important;
    height: 46px !important;
    border: 1px solid #CBD5E0 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    color: #1A3026 !important;
    background: #FFFFFF !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
}
.woocommerce-checkout .form-row textarea {
    height: 100px !important;
    padding: 12px 16px !important;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #145A3E !important;
    box-shadow: 0 0 0 3px rgba(20, 90, 62, 0.12) !important;
}

/* Order Review Card */
.woocommerce-checkout #order_review {
    background: #FAF7F2 !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.woocommerce-checkout #order_review_heading {
    display: none !important; /* Integrated cleanly into order review box */
}
.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 24px !important;
    background: transparent !important;
}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
    padding: 12px 0 !important;
    border: none !important;
    border-bottom: 1px solid #EAE3D6 !important;
    font-size: 14px !important;
}
.woocommerce-checkout #order_review table.shop_table th {
    color: #4A5568 !important;
    font-weight: 700 !important;
    text-align: right !important;
}
.woocommerce-checkout #order_review table.shop_table td {
    text-align: left !important;
    color: #1A3026 !important;
    font-weight: 700 !important;
}
.woocommerce-checkout #order_review tr.order-total th,
.woocommerce-checkout #order_review tr.order-total td {
    border-bottom: none !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #145A3E !important;
    padding-top: 16px !important;
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background: #FFFFFF !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    margin-bottom: 20px !important;
}
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce-checkout #payment ul.payment_methods li {
    padding: 10px 0 !important;
    border-bottom: 1px solid #F6F3EE !important;
}
.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: none !important;
}
.woocommerce-checkout #payment label {
    font-weight: 700 !important;
    color: #1A3026 !important;
    font-size: 14px !important;
    cursor: pointer !important;
}
.woocommerce-checkout #payment div.payment_box {
    background: #FAF7F2 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    color: #4A5568 !important;
    margin-top: 10px !important;
    line-height: 1.7 !important;
}

/* Place Order Button */
.woocommerce-checkout #payment #place_order {
    width: 100% !important;
    height: 54px !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(20, 90, 62, 0.25) !important;
    transition: all 0.25s ease !important;
    margin-top: 14px !important;
}
.woocommerce-checkout #payment #place_order:hover {
    background: #0D3D2A !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(20, 90, 62, 0.35) !important;
}

/* 3. MINI CART & HEADER CART DROPDOWN / OFF-CANVAS STYLING */
.elementor-menu-cart__wrapper,
.widget_shopping_cart,
.woocommerce-mini-cart {
    direction: rtl !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* Mini Cart Drawer / Off-canvas Container */
.elementor-menu-cart__container {
    direction: rtl !important;
    border-radius: 20px 0 0 20px !important;
    background: #FFFFFF !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.12) !important;
    z-index: 999999 !important;
}

.elementor-menu-cart__main {
    padding: 24px 28px !important;
}

/* Close icon */
.elementor-menu-cart__close-button {
    font-size: 20px !important;
    color: #4A5568 !important;
    transition: color 0.2s !important;
}
.elementor-menu-cart__close-button:hover {
    color: #EF4444 !important;
}

/* Mini cart item */
.woocommerce-mini-cart-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #F0ECE4 !important;
}

.woocommerce-mini-cart-item img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    background: #FAF7F2 !important;
    border: 1px solid #EFEAE2 !important;
}

.woocommerce-mini-cart-item a:not(.remove) {
    color: #1A3026 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}
.woocommerce-mini-cart-item a:not(.remove):hover {
    color: #145A3E !important;
}

.woocommerce-mini-cart-item .quantity {
    font-size: 13px !important;
    color: #718096 !important;
    font-weight: 600 !important;
}

.woocommerce-mini-cart-item a.remove {
    margin-right: auto !important;
    color: #EF4444 !important;
    font-size: 18px !important;
}

/* Mini Cart Subtotal */
.woocommerce-mini-cart__total {
    padding: 18px 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #1A3026 !important;
    border-top: 2px solid #EFEAE2 !important;
    display: flex !important;
    justify-content: space-between !important;
}
.woocommerce-mini-cart__total .amount {
    color: #145A3E !important;
    font-weight: 900 !important;
}

/* Mini Cart Action Buttons */
.elementor-menu-cart__footer-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.elementor-menu-cart__footer-buttons .elementor-button {
    height: 48px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.elementor-menu-cart__footer-buttons .elementor-button--checkout {
    background: #145A3E !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(20, 90, 62, 0.25) !important;
}
.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
    background: #0D3D2A !important;
}
.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
    background: #FAF7F2 !important;
    color: #1A3026 !important;
    border: 1px solid #CBD5E0 !important;
}
.elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover {
    background: #F3ECE2 !important;
}




/* ==========================================================================
   OWJI RICE - WOOCOMMERCE CART, CHECKOUT, MINI-CART & DEALS POLISH (v4.7.0)
   ========================================================================== */

/* 1. HEADER MINI-CART (FIX DOUBLE POPUP & BLUE LINKS) */
.elementor-menu-cart__container {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.elementor-menu-cart__container.elementor-lightbox {
    background-color: rgba(0, 0, 0, 0.35) !important;
}
.elementor-menu-cart--shown .elementor-menu-cart__container {
    background: transparent !important;
    box-shadow: none !important;
}
.elementor-menu-cart__main {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #EFEAE2 !important;
    padding: 22px 24px !important;
    direction: rtl !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* Fix Blue Link Colors in Mini-Cart */
.elementor-menu-cart__product-name,
.elementor-menu-cart__product-name a,
.woocommerce-mini-cart-item a,
.woocommerce-mini-cart-item a:not(.remove),
.widget_shopping_cart .cart_list li a,
.woocommerce-mini-cart__empty-message {
    color: #1A3026 !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.elementor-menu-cart__product-name a:hover,
.woocommerce-mini-cart-item a:not(.remove):hover {
    color: #145A3E !important;
}
.elementor-menu-cart__product-price,
.woocommerce-mini-cart-item .quantity {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    color: #718096 !important;
    font-weight: 600 !important;
}
.elementor-menu-cart__product-price .amount,
.woocommerce-mini-cart-item .amount {
    color: #145A3E !important;
    font-weight: 800 !important;
}

/* 2. CART PAGE & ELEMENTOR CART WIDGET STYLING */
.elementor-widget-woocommerce-cart,
.woocommerce-cart {
    direction: rtl !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* Cart Page Links (Fix Blue Links) */
.elementor-widget-woocommerce-cart .product-name a,
.elementor-widget-woocommerce-cart table.cart td.product-name a,
.woocommerce-cart table.cart td.product-name a,
.woocommerce-cart .cart_item a:not(.remove),
.woocommerce-cart .woocommerce-cart-form a:not(.remove) {
    color: #1A3026 !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.elementor-widget-woocommerce-cart .product-name a:hover,
.woocommerce-cart table.cart td.product-name a:hover {
    color: #145A3E !important;
}

/* Proceed to Checkout Button - Forest Green Luxury with high contrast */
.elementor-widget-woocommerce-cart .e-cart__checkout-button,
.elementor-widget-woocommerce-cart .checkout-button,
.elementor-widget-woocommerce-cart a.checkout-button,
.elementor-widget-woocommerce-cart button.checkout-button,
.elementor-cart .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart a.checkout-button {
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(20, 90, 62, 0.25) !important;
    transition: all 0.25s ease !important;
    border: none !important;
    width: 100% !important;
    margin-top: 16px !important;
    cursor: pointer !important;
}
.elementor-widget-woocommerce-cart .e-cart__checkout-button:hover,
.elementor-widget-woocommerce-cart .checkout-button:hover,
.elementor-widget-woocommerce-cart a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #0D3D2A !important;
    background: #0D3D2A !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(20, 90, 62, 0.35) !important;
}
.elementor-widget-woocommerce-cart .e-cart__checkout-button *,
.elementor-widget-woocommerce-cart .checkout-button *,
.elementor-widget-woocommerce-cart a.checkout-button * {
    color: #FFFFFF !important;
}

/* 3. CHECKOUT PAGE (FIX DOUBLE SELECT ARROWS & REVIEW THUMBNAIL) */
/* Hide Duplicate Select2 Triangle Arrow & Backgrounds */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    background-image: none !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single::after,
.woocommerce-checkout .select2-container--default .select2-selection--single::before,
.woocommerce-checkout .select2-container::after,
.woocommerce-checkout .select2-container::before {
    display: none !important;
    content: none !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

/* Single Clean SVG Chevron Arrow on Left in RTL */
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 14px !important;
    right: auto !important;
    width: 16px !important;
    height: 16px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center !important;
    background-size: 12px 12px !important;
    pointer-events: none !important;
    border: none !important;
}

/* Single Arrow for Native Selects */
.woocommerce-checkout select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat left 14px center !important;
    background-size: 12px 12px !important;
    padding-left: 36px !important;
}

/* Checkout Order Review Product Thumbnail */
.woocommerce-checkout .product-thumbnail,
.woocommerce-checkout .product-image,
.woocommerce-checkout table.shop_table .product-thumbnail,
.woocommerce-checkout .e-checkout__product-thumbnail,
.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-image {
    position: relative !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 14px !important;
}
.woocommerce-checkout .product-thumbnail img,
.woocommerce-checkout .product-image img,
.woocommerce-checkout table.shop_table .product-thumbnail img,
.woocommerce-checkout .e-checkout__product-thumbnail img,
.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-image img {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    background: #FAF7F2 !important;
    border: 1px solid #EFEAE2 !important;
    display: block !important;
}
.woocommerce-checkout .product-quantity,
.woocommerce-checkout .product-thumbnail .badge,
.woocommerce-checkout .product-thumbnail span,
.woocommerce-checkout .e-checkout__product-quantity {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

/* 4. HOMEPAGE SPECIAL DEAL CAROUSEL BUTTON (GUARANTEED ACROSS ALL SLIDES) */
.owji-deal-btn,
.owji-deal-slide .owji-deal-btn {
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border-radius: 10px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(20, 90, 62, 0.2) !important;
    transition: all 0.25s ease !important;
}
.owji-deal-btn:hover,
.owji-deal-slide .owji-deal-btn:hover {
    background-color: #0D3D2A !important;
    background: #0D3D2A !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px rgba(20, 90, 62, 0.35) !important;
    transform: translateY(-2px) !important;
}
.owji-deal-btn span,
.owji-deal-btn-ic,
.owji-deal-slide .owji-deal-btn span,
.owji-deal-slide .owji-deal-btn-ic {
    color: #FFFFFF !important;
}




/* ==========================================================================
   WOOCOMMERCE BLOCKS (CART & CHECKOUT) SPECIFIC LUXURY STYLES (v4.8.0)
   ========================================================================== */

/* 1. CHECKOUT SELECT DROPDOWN ARROWS FIX (Remove Native Webkit Arrow) */
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-checkout .wc-blocks-components-select select,
.wc-block-components-address-form select,
select.wc-blocks-components-select__select,
select#shipping-country,
select#billing-country,
select#shipping-state,
select#billing-state {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    background-image: none !important;
}

/* 2. ORDER REVIEW PRODUCT THUMBNAIL (Refined Luxury Look) */
.wc-block-components-order-summary .wc-block-components-order-summary-item__image,
.wc-block-components-order-summary-item__image {
    flex-shrink: 0 !important;
    width: 68px !important;
    min-width: 68px !important;
    height: 76px !important;
    min-height: 76px !important;
    border-radius: 12px !important;
    position: relative !important;
    background: #FFFFFF !important;
    border: 1px solid #EAE5DC !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    margin-left: 14px !important;
    margin-right: 0 !important;
    padding: 3px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wc-block-components-order-summary-item__image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block !important;
    background: transparent !important;
}

/* Quantity badge on top of thumbnail in Checkout Block */
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity,
.wc-block-components-order-summary-item__quantity {
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    min-width: 22px !important;
    min-height: 22px !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    font-family: 'Vazirmatn', sans-serif !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    left: auto !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span,
.wc-block-components-order-summary-item__quantity span {
    color: #FFFFFF !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
}

/* Checkout Line Item Details & Compact 2-Line Description */
.wc-block-components-order-summary-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #F0ECE4 !important;
    box-sizing: border-box !important;
}

.wc-block-components-order-summary-item__description {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    box-sizing: border-box !important;
}

.wc-block-components-order-summary-item .wc-block-components-product-name {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    color: #1A3026 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

.wc-block-components-order-summary-item .wc-block-components-product-metadata,
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description,
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description p {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. CART BLOCK STYLING (PROCEED TO CHECKOUT BUTTON & PRODUCT NAMES) */
.wc-block-cart__submit-button,
a.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button {
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
    height: 52px !important;
    min-height: 52px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(20, 90, 62, 0.25) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}
.wc-block-cart__submit-button:hover,
a.wc-block-cart__submit-button:hover,
.wc-block-components-button.wc-block-cart__submit-button:hover {
    background-color: #0D3D2A !important;
    background: #0D3D2A !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(20, 90, 62, 0.35) !important;
}
.wc-block-cart__submit-button .wc-block-components-button__text,
.wc-block-cart__submit-button * {
    color: #FFFFFF !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

/* Cart Block Product Name Link Color */
.wc-block-components-product-name,
a.wc-block-components-product-name,
.wc-block-cart-item__wrap .wc-block-components-product-name {
    color: #1A3026 !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.wc-block-components-product-name:hover,
a.wc-block-components-product-name:hover {
    color: #145A3E !important;
}



/* ==========================================================================
   OWJI RICE - WOOCOMMERCE CART BLOCK COMPLETE LUXURY REDESIGN (v5.0.1)
   ========================================================================== */

/* 1. CONTAINER 2-COLUMN SIDEBAR LAYOUT (DESKTOP) */
.wp-block-woocommerce-cart,
.entry-content .wp-block-woocommerce-cart {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 20px auto 40px auto !important;
    box-sizing: border-box !important;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
.wc-block-components-sidebar-layout.wc-block-cart,
.wc-block-components-sidebar-layout {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 36px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    direction: rtl !important;
}

@media (max-width: 991px) {
    .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
    .wc-block-components-sidebar-layout.wc-block-cart,
    .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 24px !important;
    }
}

/* MAIN ITEMS COLUMN (RIGHT SIDE IN RTL) */
.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-cart__main,
.wp-block-woocommerce-cart-items-block {
    flex: 1 1 0% !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .wc-block-components-sidebar-layout .wc-block-components-main,
    .wc-block-cart__main,
    .wp-block-woocommerce-cart-items-block {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
}

/* TOTALS SIDEBAR COLUMN (LEFT SIDE IN RTL) */
.wc-block-components-sidebar-layout .wc-block-components-sidebar,
.wc-block-cart__sidebar,
.wp-block-woocommerce-cart-totals-block,
.wc-block-cart__totals {
    flex: 0 0 380px !important;
    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
    background: #FAF7F2 !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    position: sticky !important;
    top: 90px !important;
}

@media (max-width: 991px) {
    .wc-block-components-sidebar-layout .wc-block-components-sidebar,
    .wc-block-cart__sidebar,
    .wp-block-woocommerce-cart-totals-block,
    .wc-block-cart__totals {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        position: static !important;
    }
}

/* 2. RESET ALL HARSH BORDERS AND GRID LINES */
.wp-block-woocommerce-cart table,
.wp-block-woocommerce-cart table.wc-block-cart-items,
.entry-content table.wc-block-cart-items,
table.wc-block-cart-items,
.wc-block-cart-items,
.wc-block-cart-items td,
.wc-block-cart-items th,
.wp-block-woocommerce-cart table.wc-block-cart-items td,
.wp-block-woocommerce-cart table.wc-block-cart-items th {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: none !important;
}

table.wc-block-cart-items {
    width: 100% !important;
    margin: 0 !important;
    background: transparent !important;
    table-layout: auto !important;
}

/* 3. TABLE HEADER (3 COLUMNS) */
.wp-block-woocommerce-cart table.wc-block-cart-items thead tr,
table.wc-block-cart-items thead tr,
.wc-block-cart-items thead tr {
    border-bottom: 2px solid #EFEAE2 !important;
}

.wp-block-woocommerce-cart table.wc-block-cart-items thead th,
table.wc-block-cart-items thead th,
.wc-block-cart-items thead th {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #4A5568 !important;
    background: transparent !important;
    border-bottom: 2px solid #EFEAE2 !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

.wp-block-woocommerce-cart table.wc-block-cart-items th.wc-block-cart-items__header-image,
table.wc-block-cart-items th.wc-block-cart-items__header-image {
    width: 90px !important;
    max-width: 90px !important;
    text-align: right !important;
    padding: 16px 8px !important;
}

.wp-block-woocommerce-cart table.wc-block-cart-items th.wc-block-cart-items__header-product,
table.wc-block-cart-items th.wc-block-cart-items__header-product {
    text-align: right !important;
    padding: 16px 12px !important;
}

.wp-block-woocommerce-cart table.wc-block-cart-items th.wc-block-cart-items__header-total,
table.wc-block-cart-items th.wc-block-cart-items__header-total {
    width: 140px !important;
    text-align: left !important;
    padding: 16px 8px !important;
}

/* 4. TABLE ROWS & CELLS */
.wp-block-woocommerce-cart table.wc-block-cart-items tbody tr,
table.wc-block-cart-items tbody tr,
.wc-block-cart-items tbody tr {
    border-bottom: 1px solid #F0ECE4 !important;
}

.wp-block-woocommerce-cart table.wc-block-cart-items tbody tr:last-child,
table.wc-block-cart-items tbody tr:last-child,
.wc-block-cart-items tbody tr:last-child {
    border-bottom: none !important;
}

/* CELL 1: PRODUCT IMAGE */
.wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__image,
table.wc-block-cart-items td.wc-block-cart-item__image {
    width: 90px !important;
    max-width: 90px !important;
    vertical-align: top !important;
    padding: 20px 8px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.wc-block-cart-item__image a {
    display: inline-block !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 14px !important;
    background: #FAF7F2 !important;
    border: 1px solid #EFEAE2 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.wc-block-cart-item__image a:hover {
    transform: scale(1.03) !important;
    border-color: #CDB38B !important;
}

.wc-block-cart-item__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* CELL 2: PRODUCT DESCRIPTION & CONTROLS */
.wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__product,
table.wc-block-cart-items td.wc-block-cart-item__product {
    vertical-align: top !important;
    padding: 20px 12px !important;
    text-align: right !important;
    box-sizing: border-box !important;
}

.wc-block-cart-item__wrap {
    display: block !important;
    width: 100% !important;
}

.wc-block-components-product-name,
a.wc-block-components-product-name {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #1A3026 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
    transition: color 0.2s ease !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

.wc-block-components-product-name:hover,
a.wc-block-components-product-name:hover {
    color: #145A3E !important;
}

.wc-block-cart-item__prices {
    font-size: 14px !important;
    color: #718096 !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

.wc-block-cart-item__prices del {
    color: #A0AEC0 !important;
    margin-left: 8px !important;
}

.wc-block-cart-item__prices ins,
.wc-block-cart-item__prices .wc-block-components-product-price {
    color: #145A3E !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description {
    font-size: 13px !important;
    color: #718096 !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
}

.wc-block-components-product-metadata p {
    margin: 0 !important;
    color: #718096 !important;
}

/* Quantity Selector & Trash Button */
.wc-block-cart-item__quantity {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 10px !important;
}

.wc-block-components-quantity-selector {
    border: 1px solid #CBD5E0 !important;
    border-radius: 10px !important;
    background: #FAF7F2 !important;
    height: 38px !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #1A3026 !important;
    width: 36px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    width: 32px !important;
    height: 38px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #4A5568 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s, color 0.2s !important;
    padding: 0 !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
    background: #EFEAE2 !important;
    color: #145A3E !important;
}

.wc-block-cart-item__remove-link,
button.wc-block-cart-item__remove-link {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #EF4444 !important;
    background: #FEE2E2 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.wc-block-cart-item__remove-link:hover,
button.wc-block-cart-item__remove-link:hover {
    background: #EF4444 !important;
    color: #FFFFFF !important;
    transform: scale(1.08) !important;
}

.wc-block-cart-item__remove-link svg {
    fill: currentColor !important;
    width: 15px !important;
    height: 15px !important;
}

/* CELL 3: TOTAL PRICE & SALE BADGE */
.wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__total,
table.wc-block-cart-items td.wc-block-cart-item__total {
    width: 140px !important;
    vertical-align: top !important;
    padding: 20px 8px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.wc-block-cart-item__total .price,
.wc-block-cart-item__total .wc-block-formatted-money-amount {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1A3026 !important;
    display: block !important;
    text-align: left !important;
}

.wc-block-components-product-badge {
    background: #FEF3C7 !important;
    color: #92400E !important;
    border: 1px solid #FDE68A !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin-top: 6px !important;
    text-align: center !important;
}

/* 5. TOTALS SIDEBAR ("جمع کل سبد خرید") */
.wc-block-cart__totals-title,
.wp-block-woocommerce-cart-order-summary-heading-block h2 {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #1A3026 !important;
    position: relative !important;
    padding-right: 14px !important;
    margin: 0 0 20px 0 !important;
    border: none !important;
    background: transparent !important;
}

.wc-block-cart__totals-title::before,
.wp-block-woocommerce-cart-order-summary-heading-block h2::before {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 18px !important;
    background: #CDB38B !important;
    border-radius: 2px !important;
}


/* ==========================================================================
   COUPON FORM & BUTTON (v5.0.4 - PERFECT VERTICAL ALIGNMENT & CENTERING)
   ========================================================================== */

/* Coupon Box & Accordion */
.wc-block-components-totals-coupon {
    border-bottom: 1px solid #EFEAE2 !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
}

/* Accordion Toggle Header */
.wc-block-components-totals-coupon > button,
.wc-block-components-totals-coupon__summary {
    color: #145A3E !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
}
.wc-block-components-totals-coupon > button:hover {
    color: #0D3D2A !important;
}

/* Coupon Form Side-by-Side Layout Perfectly Centered & Aligned */
.wc-block-components-totals-coupon__form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Text Input Wrapper with Clean Non-Overlapping Placeholder */
.wc-block-components-totals-coupon__form .wc-block-components-text-input,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input:focus-within {
    border-color: #145A3E !important;
    box-shadow: 0 0 0 2px rgba(20, 90, 62, 0.15) !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    color: #1A3026 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    outline: none !important;
    line-height: 42px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Coupon Placeholder Label (Centered when empty, completely hidden when focused or typed) */
.wc-block-components-totals-coupon__form .wc-block-components-text-input label {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    color: #94A3B8 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transition: opacity 0.15s ease, visibility 0.15s ease !important;
    z-index: 2 !important;
    display: block !important;
}

/* Completely remove and hide label when user focuses or enters code */
.wc-block-components-totals-coupon__form .wc-block-components-text-input.is-active label,
.wc-block-components-totals-coupon__form .wc-block-components-text-input:focus-within label,
.wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus + label,
.wc-block-components-totals-coupon__form .wc-block-components-text-input.has-value label {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}

/* Apply Coupon Button ("اعمال کردن") with exact matching height */
button.wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon button[type="submit"],
.wc-block-components-button.wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon__button {
    flex: 0 0 auto !important;
    width: auto !important;
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 18px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    box-shadow: 0 3px 10px rgba(20, 90, 62, 0.2) !important;
    transition: all 0.2s ease !important;
}

button.wc-block-components-totals-coupon__button:hover,
.wc-block-components-totals-coupon button[type="submit"]:hover,
.wc-block-components-button.wc-block-components-totals-coupon__button:hover {
    background-color: #0D3D2A !important;
    background: #0D3D2A !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(20, 90, 62, 0.3) !important;
}

/* Disabled State */
button.wc-block-components-totals-coupon__button:disabled,
button.wc-block-components-totals-coupon__button[disabled],
.wc-block-components-totals-coupon button[type="submit"]:disabled {
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

button.wc-block-components-totals-coupon__button .wc-block-components-button__text,
button.wc-block-components-totals-coupon__button * {
    color: #FFFFFF !important;
    font-weight: 800 !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* ==========================================================================
   EMPTY CART & NEW IN STORE PRODUCT GRID LUXURY DESIGN (v5.0.1)
   ========================================================================== */

/* 1. Completely remove any underline/line under headings */
.wp-block-woocommerce-empty-cart-block h2::before,
.wp-block-woocommerce-empty-cart-block h2::after,
.wc-block-cart__empty-cart__title::before,
.wc-block-cart__empty-cart__title::after,
.woocommerce-cart .entry-content h2::before,
.woocommerce-cart .entry-content h2::after,
.woocommerce-cart .elementor-widget-theme-post-content h2::before,
.woocommerce-cart .elementor-widget-theme-post-content h2::after {
    display: none !important;
    content: none !important;
    border: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
}

.wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block > h2 {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #183B2B !important;
    text-align: center !important;
    margin-top: 15px !important;
    margin-bottom: 24px !important;
    position: relative !important;
}

/* 2. Completely remove any underline under product titles and links */
.wc-block-grid__product,
.wc-block-grid__product *,
.wc-block-grid__product a,
.wc-block-grid__product a:hover,
.wc-block-grid__product a:focus,
.wc-block-grid__product a:visited,
.wc-block-grid__product-link,
.wc-block-grid__product-link:hover,
.wc-block-grid__product-link:focus,
.wc-block-grid__product-link *,
.wc-block-grid__product-title,
.wc-block-grid__product-title * {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* 3. Return to Shop Button ("بازگشت به فروشگاه") */
.wc-block-cart__empty-cart-wrapper .wp-block-button__link,
.wp-block-woocommerce-empty-cart-block .wp-block-button__link {
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    border-radius: 30px !important;
    padding: 13px 36px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(20, 90, 62, 0.22) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
}

.wc-block-cart__empty-cart-wrapper .wp-block-button__link:hover,
.wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover {
    background-color: #0F422E !important;
    background: #0F422E !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(20, 90, 62, 0.32) !important;
    transform: translateY(-2px) !important;
}

/* 4. Product Grid Cards ("تازه در فروشگاه") */
.wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 40px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .wc-block-grid__products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 576px) {
    .wc-block-grid__products {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

.wc-block-grid.has-4-columns .wc-block-grid__product,
.wc-block-grid .wc-block-grid__product,
.wc-block-grid__product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #ECE7DE !important;
    border-radius: 18px !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.wc-block-grid__product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
    border-color: #E0D7C9 !important;
}

.wc-block-grid__product-link {
    position: relative !important;
    display: block !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-grid__product-image {
    position: relative !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #FAF7F2 !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-grid__product-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    transition: transform 0.4s ease !important;
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
    transform: scale(1.03) !important;
}

/* 5. Luxury Sale Badge ("فروش ویژه") */
.wc-block-grid__product-onsale {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    background-color: #E53935 !important;
    background: #E53935 !important;
    color: #FFFFFF !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    padding: 4px 14px !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(229, 57, 53, 0.35) !important;
    z-index: 10 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
}

.wc-block-grid__product-onsale * {
    color: #FFFFFF !important;
}

/* 6. Product Title */
.wc-block-grid__product-title {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #183B2B !important;
    line-height: 1.6 !important;
    margin: 8px 0 10px 0 !important;
    min-height: 44px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 7. Stack Prices Vertically on Discount & Direction RTL */
.wc-block-grid__product-price.price {
    font-family: 'Vazirmatn', sans-serif !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    margin: 6px 0 14px 0 !important;
    min-height: 48px !important;
    text-align: center !important;
    width: 100% !important;
    direction: rtl !important;
    box-sizing: border-box !important;
}

.wc-block-grid__product-price .woocommerce-Price-amount {
    direction: rtl !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

.wc-block-grid__product-price .woocommerce-Price-currencySymbol {
    order: 1 !important;
    margin-right: 2px !important;
    margin-left: 0 !important;
}

/* Strikethrough original price on top */
.wc-block-grid__product-price.price del {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    direction: rtl !important;
    color: #9E9E9E !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    opacity: 0.85 !important;
    order: 1 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.wc-block-grid__product-price.price del .woocommerce-Price-amount {
    color: #9E9E9E !important;
    direction: rtl !important;
}

/* Discounted sale price below */
.wc-block-grid__product-price.price ins {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    direction: rtl !important;
    text-decoration: none !important;
    color: #145A3E !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    order: 2 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.wc-block-grid__product-price.price ins .woocommerce-Price-amount {
    color: #145A3E !important;
    direction: rtl !important;
}

/* Regular single price */
.wc-block-grid__product-price.price > .woocommerce-Price-amount {
    color: #145A3E !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    direction: rtl !important;
}

/* 8. Uniform Full-Width Product Add to Cart Buttons ("افزودن به سبد خرید") */
.wc-block-grid__product .wc-block-grid__product-add-to-cart,
.wc-block-grid__product-add-to-cart,
.wc-block-grid__product-add-to-cart.wp-block-button {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: auto 0 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    align-self: stretch !important;
    text-align: center !important;
}

.wc-block-grid__product .wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product-add-to-cart a.add_to_cart_button,
.wc-block-grid__product-add-to-cart a.button,
.wc-block-grid__product-add-to-cart a {
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
    border: none !important;
    padding: 10px 18px !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 10px rgba(20, 90, 62, 0.18) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    letter-spacing: normal !important;
    margin: 0 !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wc-block-grid__product-add-to-cart a.add_to_cart_button:hover,
.wc-block-grid__product-add-to-cart a.button:hover,
.wc-block-grid__product-add-to-cart a:hover {
    background-color: #0F422E !important;
    background: #0F422E !important;
    color: #FFFFFF !important;
    box-shadow: 0 5px 16px rgba(20, 90, 62, 0.28) !important;
    transform: translateY(-2px) !important;
}

.wc-block-grid__product-add-to-cart a.added {
    background-color: #145A3E !important;
    color: #FFFFFF !important;
}

.wc-block-grid__product-add-to-cart a.added_to_cart {
    display: inline-block !important;
    margin-top: 6px !important;
    color: #145A3E !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* 9. Header Mini-Cart Empty Message */
.woocommerce-mini-cart__empty-message,
.elementor-menu-cart__empty-message {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #555555 !important;
    text-align: center !important;
    padding: 36px 20px !important;
    margin: 0 !important;
    line-height: 1.7 !important;
    direction: rtl !important;
}

/* ==========================================================================
   CHECKOUT PAGE LUXURY STYLING & BALANCED LAYOUT (v5.0.6)
   ========================================================================== */

/* 1. Global Checkout Container Layout */
.wp-block-woocommerce-checkout.wc-block-checkout,
.wc-block-checkout.alignwide {
    max-width: 1220px !important;
    margin: 24px auto 60px auto !important;
    gap: 36px !important;
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .wp-block-woocommerce-checkout.wc-block-checkout,
    .wc-block-checkout.alignwide {
        flex-direction: column !important;
        gap: 24px !important;
        margin: 16px auto 40px auto !important;
        padding: 0 14px !important;
    }
}

/* 2. Order Summary Sidebar (Wider & Polished) */
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.wc-block-checkout .wc-block-checkout__sidebar,
.wc-block-checkout .wc-block-components-sidebar {
    flex: 0 0 420px !important;
    width: 420px !important;
    min-width: 420px !important;
    max-width: 430px !important;
    box-sizing: border-box !important;
    background: #FAF7F2 !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 24px 22px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    align-self: flex-start !important;
    position: sticky !important;
    top: 90px !important;
}

@media (max-width: 991px) {
    .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
    .wc-block-checkout .wc-block-checkout__sidebar,
    .wc-block-checkout .wc-block-components-sidebar {
        flex: 1 1 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        padding: 20px 18px !important;
    }
}

/* 3. Product Titles & Metadata in Checkout Order Summary */
.wc-block-components-order-summary-item .wc-block-components-product-name,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name,
.wc-block-checkout__sidebar .wc-block-components-product-name,
.wc-block-components-order-summary-item__name {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.84rem !important; /* ~13.4px */
    font-weight: 600 !important;
    color: #1A3026 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    display: inline-block !important;
}

/* Completely remove product description/metadata from Checkout Order Summary */
.wc-block-components-order-summary-item .wc-block-components-product-metadata,
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description,
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description p,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-metadata,
.wc-block-checkout__sidebar .wc-block-components-product-metadata,
.wc-block-checkout .wc-block-components-product-metadata,
.wc-block-components-order-summary .wc-block-components-product-metadata {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Right Column (Fields Block) Container */
.wp-block-woocommerce-checkout-fields-block,
.wc-block-checkout__main,
.wc-block-checkout .wc-block-components-main {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    background: #FFFFFF !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 32px 36px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .wp-block-woocommerce-checkout-fields-block,
    .wc-block-checkout__main,
    .wc-block-checkout .wc-block-components-main {
        width: 100% !important;
        padding: 20px 16px !important;
    }
}

/* 5. Checkout Step Headings ("اطلاعات تماس", "آدرس حمل و نقل", "گزینه‌های حمل و نقل", "گزینه‌های پرداخت") */
.wc-block-components-checkout-step__heading-container {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
}

.wc-block-components-checkout-step__heading {
    display: flex !important;
    align-items: center !important;
}

.wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-components-title {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1A3026 !important;
    position: relative !important;
    padding-right: 14px !important;
    margin: 18px 0 14px 0 !important;
    border: none !important;
}

.wc-block-components-checkout-step__title::before,
.wc-block-checkout .wc-block-components-title::before {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 18px !important;
    background: #CDB38B !important;
    border-radius: 2px !important;
}

/* Hide unneeded default heading content / separator pipe */
.wc-block-components-checkout-step__heading-content {
    display: none !important;
}

/* 6. Form Input Fields (Inputs, Comboboxes, Selects) */
.wc-block-components-address-form .wc-block-components-text-input,
.wc-block-checkout .wc-block-components-text-input:not(.wc-block-components-totals-coupon__input),
.wc-block-checkout .wc-block-components-combobox,
.wc-block-checkout .wc-blocks-components-select {
    margin-bottom: 14px !important;
}

.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-combobox input,
.wc-block-checkout .wc-blocks-components-select select,
.wc-block-components-address-form input,
.wc-block-components-address-form select,
.wc-blocks-components-select select,
.wc-blocks-components-select .wc-blocks-components-select__select,
select#shipping-country,
select#billing-country,
select#shipping-state,
select#billing-state,
.wc-block-checkout input[type="text"],
.wc-block-checkout input[type="email"],
.wc-block-checkout input[type="tel"] {
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    background-color: #FFFFFF !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    color: #1A3026 !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.wc-block-checkout .wc-block-components-text-input:focus-within input,
.wc-block-checkout .wc-block-components-combobox:focus-within input,
.wc-block-checkout .wc-blocks-components-select:focus-within select,
.wc-block-components-address-form input:focus,
.wc-block-components-address-form select:focus,
.wc-blocks-components-select select:focus,
.wc-block-checkout input[type="text"]:focus,
.wc-block-checkout input[type="email"]:focus,
.wc-block-checkout input[type="tel"]:focus {
    border-color: #145A3E !important;
    box-shadow: 0 0 0 3px rgba(20, 90, 62, 0.12) !important;
    outline: none !important;
}

/* Floating labels for inputs */
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-combobox label {
    font-family: 'Vazirmatn', sans-serif !important;
    color: #64748B !important;
    font-size: 13.5px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 14px !important;
    left: auto !important;
    pointer-events: none !important;
    transition: all 0.15s ease !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.wc-block-checkout .wc-block-components-text-input.is-active label,
.wc-block-checkout .wc-block-components-text-input:focus-within label,
.wc-block-checkout .wc-block-components-text-input.has-value label,
.wc-block-checkout .wc-block-components-combobox.is-active label,
.wc-block-checkout .wc-block-components-combobox:focus-within label,
.wc-block-checkout .wc-block-components-combobox.has-value label {
    top: -9px !important;
    transform: none !important;
    right: 12px !important;
    color: #145A3E !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    background: #FFFFFF !important;
    padding: 0 6px !important;
    border-radius: 3px !important;
    z-index: 10 !important;
}

/* Select Labels (Country / State) - Always float as badge on top border to completely prevent overlap with selected value */
.wc-blocks-components-select__container {
    position: relative !important;
}

.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-blocks-components-select label,
.wc-blocks-components-select__container label,
label.wc-blocks-components-select__label {
    position: absolute !important;
    top: -9px !important;
    right: 12px !important;
    left: auto !important;
    background-color: #FFFFFF !important;
    padding: 0 6px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #145A3E !important;
    line-height: 1 !important;
    z-index: 10 !important;
    border-radius: 3px !important;
    display: inline-block !important;
    pointer-events: none !important;
    transform: none !important;
    margin: 0 !important;
}

/* 7. Guest Checkout Notice */
.wc-block-checkout__guest-checkout-notice {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 12.5px !important;
    color: #718096 !important;
    margin: 6px 0 16px 0 !important;
}

/* 8. Shipping Methods Box ("گزینه‌های حمل و نقل") - Full Width Single Line */
.wc-block-checkout__shipping-method,
.wc-block-checkout .wc-block-components-radio-control__option,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option {
    border: 1.5px solid #E2DDD5 !important;
    border-radius: 12px !important;
    background: #FAF7F2 !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    transition: all 0.2s ease !important;
    margin-bottom: 12px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__option-layout,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option-layout {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
}

.wc-block-checkout .wc-block-components-radio-control__option:hover {
    border-color: #CDB38B !important;
    background: #FDFBF8 !important;
}

.wc-block-checkout .wc-block-components-radio-control__option.wc-block-components-radio-control__option--checked,
.wc-block-checkout .wc-block-components-radio-control__option:has(input:checked) {
    border-color: #145A3E !important;
    background: #F4F8F6 !important;
    box-shadow: 0 3px 12px rgba(20, 90, 62, 0.08) !important;
}

.wc-block-checkout .wc-block-components-radio-control__label,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__label {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1A3026 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}

.wc-block-checkout .wc-block-components-radio-control__description,
.wc-block-checkout .wc-block-components-radio-control__price,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__description,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__price {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #145A3E !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 576px) {
    .wc-block-checkout .wc-block-components-radio-control__label,
    .wc-block-components-shipping-rates-control .wc-block-components-radio-control__label {
        white-space: normal !important;
    }
}

.wc-block-checkout .wc-block-components-radio-control__input[type="radio"] {
    accent-color: #145A3E !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
}

/* 9. Checkbox ("از همین آدرس برای صورت‌حساب استفاده شود") */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.wc-block-checkout input[type="checkbox"] {
    accent-color: #145A3E !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    border: 1.5px solid #CBD5E1 !important;
    cursor: pointer !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__label {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    color: #4A5568 !important;
    cursor: pointer !important;
}

/* 10. Payment Gateways Box ("گزینه‌های پرداخت") */
.wc-block-checkout__payment-method,
.wc-block-components-payment-methods .wc-block-components-radio-control__option {
    border: 1.5px solid #E2DDD5 !important;
    border-radius: 12px !important;
    background: #FAF7F2 !important;
    padding: 14px 18px !important;
    margin-bottom: 10px !important;
    transition: all 0.2s ease !important;
}

.wc-block-components-payment-methods .wc-block-components-radio-control__option:has(input:checked) {
    border-color: #145A3E !important;
    background: #F4F8F6 !important;
}

/* 11. Place Order Button ("ثبت سفارش") */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions_row button,
.wc-block-checkout__actions button {
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
    height: 52px !important;
    min-height: 52px !important;
    width: 100% !important;
    box-shadow: 0 4px 16px rgba(20, 90, 62, 0.25) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    border: none !important;
    margin-top: 20px !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout__actions_row button:hover,
.wc-block-checkout__actions button:hover {
    background-color: #0D3D2A !important;
    background: #0D3D2A !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(20, 90, 62, 0.35) !important;
}

/* ==========================================================================
   THEME v5.0.9 FINAL POLISH - SHIPPING RADIO & PADDING FIX
   ========================================================================== */
.wc-block-checkout .wc-block-components-radio-control__option,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option {
    padding: 16px 20px 16px 20px !important;
    padding-right: 52px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.wc-block-checkout .wc-block-components-radio-control__input[type="radio"],
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__input[type="radio"],
.wc-block-components-payment-methods .wc-block-components-radio-control__input[type="radio"] {
    position: absolute !important;
    right: 18px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    accent-color: #145A3E !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    z-index: 2 !important;
}

.wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__option-layout,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option-layout {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wc-block-checkout .wc-block-components-radio-control__label-group,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__label-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    gap: 14px !important;
}

.wc-block-checkout .wc-block-components-radio-control__label,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__label {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
}

.wc-block-checkout .wc-block-components-radio-control__secondary-label,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__secondary-label {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
}

.wc-block-components-payment-methods .wc-block-components-radio-control__option {
    padding: 14px 18px 14px 18px !important;
    padding-right: 50px !important;
    position: relative !important;
}

/* ==========================================================================
   THEME v5.1.0 - CHECKOUT & CART COUPON FORM PERFECT ALIGNMENT FIX
   ========================================================================== */
.wc-block-checkout .wc-block-components-totals-coupon__form,
.wc-block-cart .wc-block-components-totals-coupon__form,
.wc-block-components-totals-coupon__form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
}

.wc-block-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input,
.wc-block-checkout .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input,
.wc-block-checkout .wc-block-components-totals-coupon__input,
.wc-block-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input,
.wc-block-cart .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input,
.wc-block-components-totals-coupon__form .wc-block-components-text-input,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    align-self: center !important;
}

.wc-block-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-totals-coupon__input input,
.wc-block-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input input,
.wc-block-components-totals-coupon__form .wc-block-components-text-input input {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    color: #1A3026 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    outline: none !important;
    line-height: 40px !important;
    box-shadow: none !important;
}

.wc-block-checkout button.wc-block-components-totals-coupon__button,
.wc-block-checkout .wc-block-components-totals-coupon button[type="submit"],
.wc-block-cart button.wc-block-components-totals-coupon__button,
.wc-block-cart .wc-block-components-totals-coupon button[type="submit"],
button.wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon button[type="submit"] {
    flex: 0 0 auto !important;
    width: auto !important;
    background-color: #145A3E !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 18px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* ==========================================================================
   THEME v5.1.1 - WOOCOMMERCE NOTICES (ERROR / INFO / MESSAGE) ICON SPACING
   ========================================================================== */
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li,
.woocommerce .woocommerce-error li,
.woocommerce .woocommerce-info li,
.woocommerce .woocommerce-message li {
    margin-right: 20px !important;
}

/* ==========================================================================
   THEME v5.1.2 - ELEMENTOR POST CONTENT IMAGE MARGIN FIX (CART / CHECKOUT)
   ========================================================================== */
.elementor-widget-theme-post-content img {
    margin: 0 !important;
}

.woocommerce-cart .elementor-widget-theme-post-content img,
.woocommerce-checkout .elementor-widget-theme-post-content img,
.wc-block-cart img,
.wc-block-checkout img {
    margin: 0 !important;
}

/* ==========================================================================
   THEME v5.2.0 - LUXURY MODERN MY ACCOUNT (حساب کاربری اوجی رایس)
   ========================================================================== */

/* 1. Page Container & Reset */
.woocommerce-account .elementor-widget-theme-post-content,
.woocommerce-account .woocommerce {
    max-width: 1160px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* 2. Logged-in 2-Column Dashboard Layout */
.woocommerce-account:not(.woocommerce-logged-out) .woocommerce,
body.logged-in.woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 28px !important;
    width: 100% !important;
    margin-top: 10px !important;
    margin-bottom: 40px !important;
}

/* 3. Navigation Sidebar Card */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px !important;
    width: 280px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 20px 14px !important;
    box-shadow: 0 4px 24px rgba(20, 90, 62, 0.04) !important;
    box-sizing: border-box !important;
    position: sticky !important;
    top: 90px !important;
    transition: all 0.3s ease !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.woocommerce-MyAccount-navigation-link {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-navigation-link a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 13px 18px !important;
    border-radius: 12px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    border: 1px solid transparent !important;
}

.woocommerce-MyAccount-navigation-link:hover:not(.is-active) a {
    background: #FAF7F2 !important;
    color: #145A3E !important;
    border-color: #E2DDD5 !important;
    transform: translateX(-4px) !important;
}

.woocommerce-MyAccount-navigation-link.is-active a {
    background: #145A3E !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(20, 90, 62, 0.25) !important;
    border-color: #145A3E !important;
}

/* Navigation Icons */
.woocommerce-MyAccount-navigation-link a::before {
    display: inline-flex !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 16px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: '⚡' !important;
}
.woocommerce-MyAccount-navigation-link--orders a::before {
    content: '🛍️' !important;
}
.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: '📥' !important;
}
.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: '📍' !important;
}
.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: '👤' !important;
}
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: '🚪' !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px dashed #E2DDD5 !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #DC2626 !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout:hover a {
    background: #FEF2F2 !important;
    color: #B91C1C !important;
    border-color: #FCA5A5 !important;
}

/* 4. Content Area Container */
.woocommerce-MyAccount-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 34px 38px !important;
    box-shadow: 0 4px 24px rgba(20, 90, 62, 0.04) !important;
    box-sizing: border-box !important;
}

/* 5. Welcome Banner inside Dashboard */
.woocommerce-MyAccount-content > p:first-of-type {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #1A3026 !important;
    line-height: 1.9 !important;
    background: #FAF7F2 !important;
    padding: 22px 26px !important;
    border-radius: 14px !important;
    border: 1px solid #EFEAE2 !important;
    border-right: 5px solid #145A3E !important;
    margin-bottom: 24px !important;
}

.woocommerce-MyAccount-content > p:first-of-type strong {
    color: #145A3E !important;
    font-weight: 800 !important;
}

.woocommerce-MyAccount-content > p:first-of-type a {
    color: #CDB38B !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
}

.woocommerce-MyAccount-content p {
    font-size: 14.5px !important;
    color: #475569 !important;
    line-height: 1.95 !important;
    margin-bottom: 16px !important;
}

.woocommerce-MyAccount-content a {
    color: #145A3E !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.woocommerce-MyAccount-content a:hover {
    color: #0D3D2A !important;
    text-decoration: underline !important;
}

/* 6. Orders Table Styling */
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1.5px solid #E2DDD5 !important;
    margin: 20px 0 !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table th {
    background: #FAF7F2 !important;
    color: #1A3026 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 15px 18px !important;
    border-bottom: 1.5px solid #E2DDD5 !important;
    text-align: right !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table td {
    padding: 16px 18px !important;
    font-size: 14px !important;
    color: #334155 !important;
    border-bottom: 1px solid #F1ECE5 !important;
    text-align: right !important;
    vertical-align: middle !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tr:last-child td {
    border-bottom: none !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tr:hover td {
    background: #FDFBF8 !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table a.button {
    background: #145A3E !important;
    color: #FFFFFF !important;
    padding: 9px 20px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(20, 90, 62, 0.2) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table a.button:hover {
    background: #0D3D2A !important;
    transform: translateY(-1px) !important;
}

/* 7. Addresses Grid */
.woocommerce-MyAccount-content .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 24px !important;
}

.woocommerce-MyAccount-content .woocommerce-Address {
    background: #FAF7F2 !important;
    border: 1.5px solid #E2DDD5 !important;
    border-radius: 16px !important;
    padding: 24px 26px !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

.woocommerce-MyAccount-content .woocommerce-Address:hover {
    border-color: #CDB38B !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-MyAccount-content .woocommerce-Address .title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #E5E0D8 !important;
}

.woocommerce-MyAccount-content .woocommerce-Address h3 {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #145A3E !important;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #145A3E !important;
    background: #FFFFFF !important;
    border: 1px solid #CDB38B !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit:hover {
    background: #145A3E !important;
    color: #FFFFFF !important;
    border-color: #145A3E !important;
}

.woocommerce-MyAccount-content .woocommerce-Address address {
    font-style: normal !important;
    font-size: 14px !important;
    color: #4A5568 !important;
    line-height: 1.85 !important;
}

/* 8. Account Details Form */
.woocommerce-EditAccountForm fieldset {
    border: 1.5px solid #E2DDD5 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin: 26px 0 !important;
    background: #FAF7F2 !important;
}

.woocommerce-EditAccountForm fieldset legend {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #145A3E !important;
    padding: 0 10px !important;
}

.woocommerce-EditAccountForm .woocommerce-form-row {
    margin-bottom: 18px !important;
}

.woocommerce-EditAccountForm label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1A3026 !important;
    margin-bottom: 8px !important;
}

.woocommerce-EditAccountForm input.input-text {
    width: 100% !important;
    height: 48px !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    color: #1A3026 !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
    transition: all 0.2s ease !important;
}

.woocommerce-EditAccountForm input.input-text:focus {
    border-color: #145A3E !important;
    box-shadow: 0 0 0 3px rgba(20, 90, 62, 0.12) !important;
    outline: none !important;
}

.woocommerce-EditAccountForm button.button {
    background: #145A3E !important;
    color: #FFFFFF !important;
    height: 48px !important;
    padding: 0 28px !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    font-size: 14.5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(20, 90, 62, 0.2) !important;
}

.woocommerce-EditAccountForm button.button:hover {
    background: #0D3D2A !important;
    box-shadow: 0 6px 18px rgba(20, 90, 62, 0.3) !important;
}

/* 9. Logged-out Login & Register Forms */
.woocommerce-account form.login,
.woocommerce-account form.register {
    max-width: 440px !important;
    margin: 30px auto !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 38px 34px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

.woocommerce-account .u-columns.col2-set {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 32px !important;
    max-width: 960px !important;
    margin: 30px auto !important;
}

.woocommerce-account .u-columns.col2-set .u-column1,
.woocommerce-account .u-columns.col2-set .u-column2 {
    flex: 1 1 440px !important;
    max-width: 460px !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce-account .u-columns.col2-set form.login,
.woocommerce-account .u-columns.col2-set form.register {
    max-width: 100% !important;
    margin: 0 !important;
}

.woocommerce-account form.login h2,
.woocommerce-account form.register h2,
.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2 {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #145A3E !important;
    text-align: center !important;
    margin-bottom: 24px !important;
    position: relative !important;
    padding-bottom: 12px !important;
}

.woocommerce-account form.login h2::after,
.woocommerce-account form.register h2::after,
.woocommerce-account .u-column1 h2::after,
.woocommerce-account .u-column2 h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 44px !important;
    height: 3px !important;
    background: #CDB38B !important;
    border-radius: 2px !important;
}

.woocommerce-account .woocommerce-form-row {
    margin-bottom: 20px !important;
}

.woocommerce-account .woocommerce-form-row label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1A3026 !important;
    margin-bottom: 8px !important;
}

.woocommerce-account .woocommerce-Input.input-text {
    width: 100% !important;
    height: 48px !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    color: #1A3026 !important;
    background: #FAF7F2 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-Input.input-text:focus {
    background: #FFFFFF !important;
    border-color: #145A3E !important;
    box-shadow: 0 0 0 3px rgba(20, 90, 62, 0.12) !important;
    outline: none !important;
}

.woocommerce-account .password-input {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.woocommerce-account .show-password-input {
    position: absolute !important;
    left: 12px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: #64748B !important;
}

.woocommerce-account .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    color: #475569 !important;
    margin: 12px 0 20px 0 !important;
    cursor: pointer !important;
}

.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"] {
    accent-color: #145A3E !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.woocommerce-account button.woocommerce-form-login__submit,
.woocommerce-account button.woocommerce-form-register__submit {
    width: 100% !important;
    height: 48px !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(20, 90, 62, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-account button.woocommerce-form-login__submit:hover,
.woocommerce-account button.woocommerce-form-register__submit:hover {
    background: #0D3D2A !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(20, 90, 62, 0.3) !important;
}

.woocommerce-account .lost_password {
    text-align: center !important;
    margin-top: 18px !important;
    margin-bottom: 0 !important;
}

.woocommerce-account .lost_password a {
    color: #64748B !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-account .lost_password a:hover {
    color: #145A3E !important;
    text-decoration: underline !important;
}

/* 10. Responsive Design for Mobile & Tablet */
@media (max-width: 860px) {
    .woocommerce-account:not(.woocommerce-logged-out) .woocommerce,
    body.logged-in.woocommerce-account .woocommerce {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        flex: 1 1 100% !important;
        position: static !important;
    }
    
    .woocommerce-MyAccount-navigation ul {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .woocommerce-MyAccount-navigation-link {
        flex: 1 1 calc(50% - 8px) !important;
    }
    
    .woocommerce-MyAccount-navigation-link--customer-logout {
        border-top: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .woocommerce-MyAccount-content {
        padding: 24px 20px !important;
    }
    
    .woocommerce-account .u-columns.col2-set {
        flex-direction: column !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-MyAccount-navigation-link {
        flex: 1 1 100% !important;
    }
    .woocommerce-account form.login,
    .woocommerce-account form.register {
        padding: 28px 20px !important;
    }
}

/* ==========================================================================
   THEME v5.2.1 - MY ACCOUNT LOGIN & DASHBOARD PERFECTION
   ========================================================================== */

/* Condition 1: When user is logged in (navigation is present) -> 2-Column Dashboard */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation),
body.logged-in.woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 28px !important;
    width: 100% !important;
    margin-top: 10px !important;
    margin-bottom: 40px !important;
}

/* Condition 2: When user is logged out -> Single Centered Column for Login */
.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)),
body:not(.logged-in).woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 10px auto 40px auto !important;
}

/* Center the 'ورود' heading directly above the login card */
.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) > h2,
body:not(.logged-in).woocommerce-account .woocommerce > h2 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #145A3E !important;
    text-align: center !important;
    margin: 0 auto 24px auto !important;
    display: inline-block !important;
    position: relative !important;
    padding-bottom: 12px !important;
    padding-right: 0 !important;
}

.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) > h2::before {
    display: none !important;
}

.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) > h2::after,
body:not(.logged-in).woocommerce-account .woocommerce > h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 44px !important;
    height: 3px !important;
    background: #CDB38B !important;
    border-radius: 2px !important;
}

/* Centered Luxury Card for Login */
.woocommerce-account form.login {
    max-width: 440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EFEAE2 !important;
    border-radius: 20px !important;
    padding: 36px 32px !important;
    box-shadow: 0 8px 30px rgba(20, 90, 62, 0.05) !important;
    box-sizing: border-box !important;
}

/* Row containing checkbox and login button */
.woocommerce-account form.login .form-row:has(.woocommerce-form-login__rememberme) {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 13.5px !important;
    color: #475569 !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"] {
    accent-color: #145A3E !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.woocommerce-account button.woocommerce-form-login__submit {
    width: 100% !important;
    height: 48px !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(20, 90, 62, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-account button.woocommerce-form-login__submit:hover {
    background: #0D3D2A !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(20, 90, 62, 0.3) !important;
}

/* ==========================================================================
   THEME v5.2.2 - MY ACCOUNT CONTAINER WIDTH & LUXURY LOGIN CARD FIX
   ========================================================================== */

/* Ensure Elementor Post Content widget and WooCommerce container span 100% */
.elementor-element-page_white_card > .elementor-widget-theme-post-content,
.woocommerce-account .elementor-widget-theme-post-content,
.woocommerce-account .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure login card spans up to 440px in width comfortably */
.woocommerce-account form.login,
.woocommerce-account form.register {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto 30px auto !important;
    box-sizing: border-box !important;
}

/* Ensure inputs, password field wrapper and buttons fill the card width */
.woocommerce-account form.login .woocommerce-form-row,
.woocommerce-account form.login .form-row,
.woocommerce-account form.login .password-input,
.woocommerce-account form.login input.input-text,
.woocommerce-account form.login input[type="text"],
.woocommerce-account form.login input[type="password"],
.woocommerce-account form.login input[type="email"] {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.woocommerce-account form.login .password-input {
    position: relative !important;
}

.woocommerce-account form.login .password-input .show-password-input {
    position: absolute !important;
    top: 50% !important;
    left: 14px !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

/* ==========================================================================
   THEME v5.2.3 - ADDRESSES SECTION VERTICAL STACKING & LUXURY REFINEMENT
   ========================================================================== */

/* 1. Stack Address Cards Vertically (Full Width, One Above Another) */
.woocommerce-MyAccount-content .woocommerce-Addresses,
.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set,
.woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 0 0 !important;
    padding: 0 !important;
}

/* 2. Individual Address Card: Spacious, Crisp White Luxury Container */
.woocommerce-MyAccount-content .woocommerce-Address,
.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set .u-column1,
.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set .u-column2,
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column1,
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EFEAE2 !important;
    border-radius: 18px !important;
    padding: 24px 28px !important;
    box-shadow: 0 4px 18px rgba(20, 90, 62, 0.04) !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-content .woocommerce-Address:hover,
.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set .u-column1:hover,
.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set .u-column2:hover {
    border-color: #CDB38B !important;
    box-shadow: 0 8px 24px rgba(20, 90, 62, 0.08) !important;
    transform: translateY(-2px) !important;
}

/* 3. Address Header: Single Horizontal Row with Space-Between */
.woocommerce-MyAccount-content .woocommerce-Address .title,
.woocommerce-MyAccount-content .woocommerce-Address header.title,
.woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1.5px solid #F1EDE7 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 4. Address Title (Never break into multiple lines) */
.woocommerce-MyAccount-content .woocommerce-Address h3,
.woocommerce-MyAccount-content .woocommerce-Address h2,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 h2,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 h2,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 h3,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 h3 {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #145A3E !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: right !important;
    white-space: nowrap !important;
    padding: 0 !important;
    position: static !important;
}

/* Remove misplaced centered underline pseudo-element from address titles */
.woocommerce-MyAccount-content .woocommerce-Address h3::after,
.woocommerce-MyAccount-content .woocommerce-Address h2::after,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 h2::after,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 h2::after,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 h3::after,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 h3::after {
    display: none !important;
}

/* Elegant vertical indicator before address title */
.woocommerce-MyAccount-content .woocommerce-Address h3::before,
.woocommerce-MyAccount-content .woocommerce-Address h2::before,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 h2::before,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 h2::before {
    content: '' !important;
    display: inline-block !important;
    width: 4px !important;
    height: 18px !important;
    background: #145A3E !important;
    border-radius: 2px !important;
    flex-shrink: 0 !important;
}

/* 5. Action Button ("افزودن آدرس صورتحساب / حمل و نقل" یا "ویرایش") */
.woocommerce-MyAccount-content .woocommerce-Address .edit,
.woocommerce-MyAccount-content .woocommerce-Address a.edit,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 a.edit,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 a.edit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    padding: 0 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #145A3E !important;
    background: #FAF7F2 !important;
    border: 1.5px solid #CDB38B !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    float: none !important;
    box-sizing: border-box !important;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit:hover,
.woocommerce-MyAccount-content .woocommerce-Address a.edit:hover,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 a.edit:hover,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 a.edit:hover {
    background: #145A3E !important;
    color: #FFFFFF !important;
    border-color: #145A3E !important;
    box-shadow: 0 4px 14px rgba(20, 90, 62, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* 6. Address Body Typography */
.woocommerce-MyAccount-content .woocommerce-Address address,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 address,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 address {
    font-style: normal !important;
    font-size: 14.5px !important;
    color: #475569 !important;
    line-height: 1.95 !important;
    margin: 0 !important;
    padding: 4px 0 !important;
}

/* 7. Address Edit Form (/my-account/edit-address/billing or shipping) */
.woocommerce-MyAccount-content form:has(.woocommerce-address-fields),
.woocommerce-MyAccount-content .woocommerce-address-fields {
    width: 100% !important;
    margin-top: 10px !important;
}

.woocommerce-MyAccount-content .woocommerce-address-fields h3 {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #145A3E !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    border-bottom: 1.5px solid #EFEAE2 !important;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
    margin-bottom: 18px !important;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .form-row label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1A3026 !important;
    margin-bottom: 6px !important;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .input-text,
.woocommerce-MyAccount-content .woocommerce-address-fields select {
    width: 100% !important;
    height: 48px !important;
    background: #FAF7F2 !important;
    border: 1.5px solid #EFEAE2 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    color: #1A3026 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .input-text:focus,
.woocommerce-MyAccount-content .woocommerce-address-fields select:focus {
    background: #FFFFFF !important;
    border-color: #145A3E !important;
    box-shadow: 0 0 0 3px rgba(20, 90, 62, 0.12) !important;
    outline: none !important;
}

.woocommerce-MyAccount-content .woocommerce-address-fields button.button {
    height: 48px !important;
    padding: 0 32px !important;
    background: #145A3E !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(20, 90, 62, 0.2) !important;
    transition: all 0.25s ease !important;
    margin-top: 10px !important;
}

.woocommerce-MyAccount-content .woocommerce-address-fields button.button:hover {
    background: #0D3D2A !important;
    box-shadow: 0 6px 20px rgba(20, 90, 62, 0.3) !important;
    transform: translateY(-2px) !important;
}
