.hmyt-extra-fees-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- Loading Skeleton --- */
.hmyt-extra-fees-wrapper.hmyt-ef-loading {
    display: none !important;
}

.hmyt-ef-skeleton-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    user-select: none;
}

.hmyt-ef-skeleton-wrapper ~ .hmyt-extra-fees-wrapper:not(.hmyt-ef-loading) {
    animation: hmyt-ef-fadein 0.3s ease forwards;
}

@keyframes hmyt-ef-fadein {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hmyt-ef-skel-group {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hmyt-ef-skel-group-title {
    height: 18px;
    width: 40%;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
    background-size: 200% 100%;
    animation: hmyt-ef-skel-shimmer 1.4s infinite;
}

.hmyt-ef-skel-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hmyt-ef-skel-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hmyt-ef-skel-field-title {
    height: 14px;
    width: 30%;
    border-radius: 5px;
    background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
    background-size: 200% 100%;
    animation: hmyt-ef-skel-shimmer 1.4s infinite;
    animation-delay: 0.1s;
}

.hmyt-ef-skel-line {
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
    background-size: 200% 100%;
    animation: hmyt-ef-skel-shimmer 1.4s infinite;
    animation-delay: 0.15s;
}

.hmyt-ef-skel-line-option {
    height: 42px;
}

.hmyt-ef-skel-line-input {
    height: 44px;
}

/* حالت readmore در اسکلتون — همانند حالت بسته نمایش داده می‌شود */
.hmyt-ef-skel-group-readmore {
    padding-bottom: 20px;
    position: relative;
}

.hmyt-ef-skel-fields-collapsed {
    overflow: hidden;
    position: relative;
}

.hmyt-ef-skel-fields-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
}

.hmyt-ef-skel-readmore-btn {
    height: 22px;
    width: 110px;
    margin: 10px auto 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
    background-size: 200% 100%;
    animation: hmyt-ef-skel-shimmer 1.4s infinite;
    animation-delay: 0.2s;
}

/* سازگاری readmore با کارت خرید — gradient متناسب با پس‌زمینه کارت */
.hmyt-pc-wrapper .hmyt-ef-skel-fields-collapsed::after {
    background: linear-gradient(to bottom, rgba(239, 243, 248, 0) 0%, #eff3f8 100%);
}

@keyframes hmyt-ef-skel-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* وقتی wrapper اصلی آماده شد، اسکلتون از DOM پنهان میشه */
.hmyt-ef-skeleton-wrapper.hmyt-ef-skel-done {
    display: none !important;
}

/* سازگاری با کارت خرید — پس‌زمینه شفاف */
.hmyt-pc-wrapper .hmyt-ef-skel-group {
    background: transparent;
    padding: 0;
}

/* محافظ — اگر JS بعد از 5 ثانیه load نشد، اسکلتون مخفی و wrapper اصلی نمایان شود */
@keyframes hmyt-ef-fail-safe-show {
    to { display: flex !important; }
}
@keyframes hmyt-ef-fail-safe-hide {
    to { display: none !important; }
}

.hmyt-extra-fees-wrapper.hmyt-ef-loading {
    animation: hmyt-ef-fail-safe-show 0s linear 5s forwards;
}

.hmyt-ef-skeleton-wrapper {
    animation: hmyt-ef-fail-safe-hide 0s linear 5s forwards;
}

.hmyt-ef-group-container {background: #fff;padding: 15px;border-radius: 12px;}


.hmyt-ef-group-title {
    position: relative;
}
.hmyt-ef-group-title > span {
    display: inline-flex !important;
    background: #fff;
    position: relative;
    padding-left: 15px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
    color: #475569;
}
.hmyt-ef-group-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px dashed #e2e8f0;
    z-index: 1;
}
.hmyt-ef-badge {
    font-size: 11px;
    color: #888;
    font-weight: normal;
    opacity: 0.8;
}


.hmyt-form-field-note {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #888;
}
.hmyt-form-field-note svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: all 0.2s;
}
.hmyt-form-field-note:hover svg {
    opacity: 1;
    color: var(--hmyt-ef-primary, #ee1844);
}

#hmyt-tooltip-container {
    position: fixed;
    z-index: 99999;
    background: #1c1f3f;
    color: #fff;
    font-size: 13px;
    padding: 10px 15px;
    width: fit-content;
    text-align: center;
    max-width: 280px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateY(10px);
    line-height: 1.6;
    font-family: inherit;
    visibility: hidden;
}
#hmyt-tooltip-container.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    visibility: visible;
}
#hmyt-tooltip-container::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #1c1f3f;
    transform: translateX(-50%) rotate(45deg);
}
#hmyt-tooltip-container.arrow-top::after { top: -4px; }
#hmyt-tooltip-container.arrow-bottom::after { bottom: -4px; }


.checkbox-input .hmyt-ef-label-text {
    position: relative;
    padding-right: 26px;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
}
.checkbox-input .hmyt-ef-label-text::before {
    content: '';
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 4px;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border: solid 2px #cfd8dc;
    box-sizing: border-box;
    transition: all 0.2s;
}
.checkbox-input .hmyt-ef-label-text::after {
    content: '';
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    height: 10px;
    width: 5px;
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-65%) rotate(45deg);
    opacity: 0;
    box-sizing: border-box;
    transition: all 0.2s;
}
.checkbox-input:hover .hmyt-ef-label-text::before {
    border-color: var(--hmyt-ef-primary, #ee1844);
}
.checkbox-input .hmyt-ef-input:checked ~ .hmyt-ef-label-text::before {
    border-color: var(--hmyt-ef-primary, #ee1844);
    background: var(--hmyt-ef-primary, #ee1844);
}
.checkbox-input .hmyt-ef-input:checked ~ .hmyt-ef-label-text::after {
    opacity: 1;
}


.hmyt-ef-options-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    user-select: none;
}


.hmyt-ef-option-label {
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
    margin: 0;
}
.hmyt-ef-option-label:hover {
}


.hmyt-ef-input {
    display: none !important;
}


.hmyt-ef-label-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    transition: all 0.2s ease;
}

.hmyt-ef-fake-input {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.hmyt-ef-option-label.checkbox-input .hmyt-ef-fake-input {
    border-radius: 4px;
}

.hmyt-ef-fake-input span {
    width: 9px;
    height: 9px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.hmyt-ef-option-label.checkbox-input .hmyt-ef-fake-input span {
    border-radius: 2px;
}


.hmyt-ef-input:checked ~ .hmyt-ef-label-text .hmyt-ef-fake-input {
    border-color: var(--hmyt-ef-primary, #ee1844);
}
.hmyt-ef-input:checked ~ .hmyt-ef-label-text .hmyt-ef-fake-input span {
    background: var(--hmyt-ef-primary, #ee1844);
}
.hmyt-ef-input:checked ~ .hmyt-ef-label-text {
    font-weight: 700;
    color: #222;
}
.hmyt-ef-input:checked ~ .hmyt-ef-option-price {
    color: var(--hmyt-ef-primary, #ee1844);
    font-weight: 700;
}


.hmyt-ef-option-price {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
    color: #444;
    transition: all 0.2s ease;
}

.hmyt-ef-option-price .woocommerce-Price-currencySymbol {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
    margin-right: 4px;
}
.hmyt-ef-free-text {
    color: #107e18;
    font-size: 13px;
    font-weight: 600;
}


.hmyt-ef-group-desc-inline {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    margin-right: 5px;
    background: transparent;
}

.hmyt-ef-fields-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.hmyt-ef-field-container {
    border-radius: 12px;
    transition: all 0.3s ease;
}


.hmyt-ef-field-container[data-hidden="true"] {
    display: none !important;
}

.hmyt-ef-field-header {
    position: relative;
    margin-bottom: 12px;
}

.hmyt-ef-field-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px dashed #e2e8f0;
    z-index: 1;
}

.hmyt-ef-field-title {
    display: inline-flex !important;
    background: #fdfdfd;
    position: relative;
    padding-left: 15px;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #232b39;
    z-index: 2;
}

.hmyt-ef-badge.req-badge {
    color: #ef4444;
    background: #fee2e2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.hmyt-ef-badge.opt-badge {
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}




.hmyt-ef-input-text {
    width: 100%;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
    background: #fff;
    color: #333;
}

.hmyt-ef-input-text:focus {
    border-color: var(--hmyt-ef-primary, #ee1844);
    outline: none;
    box-shadow: 0 0 0 3px rgba(238, 24, 68, 0.1);
}


.quantity-input {
    justify-content: flex-start !important;
}


.hmyt-ef-qty-box {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: #fafcff;
    border: 1px solid #e0e0e2;
    border-radius: 12px;
    padding: 0 8px;
    width: 110px;
    height: 44px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    user-select: none;
    flex-shrink: 0;
}

.hmyt-ef-qty-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 100%;
    color: var(--hmyt-ef-primary, #ee1844);
    transition: opacity 0.2s;
}

.hmyt-ef-qty-btn svg { display: block; }

.hmyt-ef-qty-btn.hmyt-disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
    cursor: default !important;
    filter: grayscale(100%) !important;
}

.hmyt-ef-qty-num-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 30px;
}

.hmyt-ef-qty-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--hmyt-ef-primary, #ee1844);
    width: auto;
    line-height: 1.2;
}

.hmyt-ef-qty-limit-text {
    font-size: 9px;
    color: #a1a3a8;
    font-weight: normal;
    margin-top: -4px;
}

.hmyt-ef-button-loading {
    display: inline-flex;
    vertical-align: middle;
    line-height: 0;
}

.hmyt-ef-button-loading > div {
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl;
    color: var(--hmyt-ef-primary, #ee1844);
}

.hmyt-ef-button-loading > div > span {
    position: absolute;
    top: 13.2px;
    width: 5.2px;
    height: 5.2px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

.hmyt-ef-button-loading > div > span:nth-child(1) { right: 3.2px; animation: HmytEf_LoadingStart .6s ease 0s infinite; }
.hmyt-ef-button-loading > div > span:nth-child(2) { right: 3.2px; animation: HmytEf_LoadingBetween .6s ease 0s infinite; }
.hmyt-ef-button-loading > div > span:nth-child(3) { right: 12.8px; animation: HmytEf_LoadingBetween .6s ease 0s infinite; }
.hmyt-ef-button-loading > div > span:nth-child(4) { right: 22.4px; animation: HmytEf_LoadingEnd .6s ease 0s infinite; }

@keyframes HmytEf_LoadingStart { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 0.6; } }
@keyframes HmytEf_LoadingBetween { 0% { transform: translate(0,0); } 100% { transform: translate(-9.6px,0); } }
@keyframes HmytEf_LoadingEnd { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(0); opacity: 0; } }
.hmyt-hidden { display: none !important; }




.hmyt-ef-option-label.is-disabled {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(100%);
    background: #f8fafc;
}

span.hmyt-live-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    line-height: 1.2;
}

span.hmyt-ef-old-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.hmyt-ef-discount-badge {
    background-color: var(--hmyt-ef-primary, #ee1844);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 0 5px;
    border-radius: 4px;
    line-height: 1.6;
    display: inline-block;
    user-select: none;
}


.hmyt-digi-layout {
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    align-items: stretch;
    margin-bottom: 5px;
    transition: all 0.2s;
}
.hmyt-digi-layout:hover { border-color: #cbd5e1; }
.hmyt-digi-layout:has(.hmyt-ef-input:checked) {
    border-color: var(--hmyt-ef-primary, #ee1844);
}

.hmyt-dl-check-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-left: 1px solid #e2e8f0;
    background: transparent;
}
.hmyt-dl-fake-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.2s;
}
.hmyt-dl-fake-check svg {
    width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(0.5); transition: all 0.2s;
}
.hmyt-digi-layout.radio-input .hmyt-dl-fake-check { border-radius: 50%; }
.hmyt-digi-layout.radio-input .hmyt-dl-fake-check span {
    width: 10px; height: 10px; background: transparent; border-radius: 50%; transition: all 0.2s;
}

.hmyt-ef-input:checked + .hmyt-dl-fake-check {
    background: var(--hmyt-ef-primary, #ee1844);
    border-color: var(--hmyt-ef-primary, #ee1844);
}
.hmyt-ef-input:checked + .hmyt-dl-fake-check svg { opacity: 1; transform: scale(1); }
.hmyt-ef-input:checked + .hmyt-dl-fake-check span { background: #fff; }

.hmyt-dl-info-zone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0 12px 12px;
    flex: 1;
    gap: 12px;
}
.hmyt-dl-title-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hmyt-dl-title {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.hmyt-dl-desc {
    font-size: 11px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
}
.hmyt-dl-price-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}


.hmyt-digi-layout .hmyt-live-price {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
.hmyt-digi-layout .hmyt-ef-old-price-row {
    margin-bottom: 0;
    flex-direction: row-reverse;
    gap: 6px;
}
.hmyt-digi-layout .hmyt-ef-old-price-row del {
    font-size: 12px;
    color: #94a3b8;
}
.hmyt-digi-layout .hmyt-ef-discount-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
}
.hmyt-digi-layout .woocommerce-Price-amount {
    font-size: 15px !important;
    font-weight: 700;
    color: #0f172a;
}


.hmyt-locked-label {
    pointer-events: none !important;
    opacity: 0.65;
    cursor: not-allowed !important;
}
.hmyt-locked-label .hmyt-ef-label-text,
.hmyt-locked-label .hmyt-dl-title-area,
.hmyt-locked-label .hmyt-ef-option-price {
    opacity: 0.9;
}


.hmyt-ef-acc-trigger { cursor: pointer; display: flex !important; justify-content: space-between; align-items: center; transition: background 0.2s; }
.hmyt-ef-accordion-mode .hmyt-ef-fields-wrapper { transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; opacity: 1; }
.hmyt-ef-accordion-mode.is-closed .hmyt-ef-fields-wrapper { max-height: 0; opacity: 0; margin-top: 0; }
.hmyt-ef-acc-icon { transition: transform 0.3s; color: #94a3b8; }
.hmyt-ef-accordion-mode:not(.is-closed) .hmyt-ef-acc-icon { transform: rotate(180deg); color: var(--hmyt-ef-primary); }
.hmyt-ef-accordion-mode .hmyt-ef-group-title::before { right: 0; left: 30px; }



.hmyt-ef-readmore-mode {
    position: relative;
    padding-bottom: 20px;
}
.hmyt-ef-readmore-mode .hmyt-ef-fields-wrapper {
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.hmyt-ef-readmore-overlay {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    border-radius: 0 0 12px 12px;
}
.hmyt-ef-readmore-mode.is-collapsed .hmyt-ef-readmore-overlay {
    opacity: 1;
}
.hmyt-ef-readmore-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: relative;
    z-index: 10;
}
.hmyt-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--hmyt-ef-primary, #ee1844);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}
.hmyt-readmore-btn:hover {
    opacity: 0.8;
}
.hmyt-readmore-btn svg {
    transition: transform 0.4s ease;
}
.hmyt-ef-readmore-mode:not(.is-collapsed) .hmyt-readmore-btn svg {
    transform: rotate(180deg);
}
.hmyt-ef-readmore-mode.no-readmore .hmyt-ef-readmore-overlay,
.hmyt-ef-readmore-mode.no-readmore .hmyt-ef-readmore-btn-wrap {
    display: none !important;
}


.hmyt-ef-full-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.hmyt-ef-full-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.hmyt-ef-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00052a30;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(3px);
    cursor: pointer;
}
.hmyt-ef-modal-layout {
    position: relative;
    background: #fff;
    width: 92%;
    max-width: 460px;
    height: auto;
    max-height: 75vh;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    z-index: 2;
}
.hmyt-ef-full-modal.is-open .hmyt-ef-modal-layout {
    transform: scale(1);
}
.hmyt-ef-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hmyt-ef-m-header-text h3 { margin: 0; font-size: 16px; font-weight: 700; color: #1f2937; }
.hmyt-ef-m-header-text p { margin: 4px 0 0; font-size: 12px; color: #6b7280; }
.hmyt-ef-m-close { cursor: pointer; color: #9ca3af; transition: color 0.2s; }
.hmyt-ef-m-close:hover { color: #1f2937; }

.hmyt-ef-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* سفارشی‌سازی اسکرول‌بار مودال */
.hmyt-ef-modal-body::-webkit-scrollbar {
    width: 4px; /* عرض بسیار کم */
}
.hmyt-ef-modal-body::-webkit-scrollbar-track {
    background: transparent; /* پس‌زمینه شفاف */
}
.hmyt-ef-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* رنگ طوسی کمرنگ و ملایم */
    border-radius: 4px; /* گرد کردن لبه‌ها */
}
.hmyt-ef-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; /* کمی تیره‌تر در صورت رفتن موس روی اسکرول */
}
.hmyt-ef-m-option-info {
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.hmyt-ef-m-opt-title { font-size: 15px; font-weight: 700; color: #374151; }
.hmyt-ef-m-desc-content { font-size: 13px; line-height: 1.8; color: #4b5563; word-wrap: break-word; }
.hmyt-m-price-zone .woocommerce-Price-amount { font-weight: 900 !important; }
.hmyt-ef-m-desc-content { font-size: 13px; line-height: 1.8; color: #4b5563; word-wrap: break-word; }

/* استایل‌دهی به تگ‌های خروجی از ادیتور وردپرس */
.hmyt-ef-m-desc-content p { margin: 0 0 10px 0; }
.hmyt-ef-m-desc-content p:last-child { margin-bottom: 0; }
.hmyt-ef-m-desc-content strong, .hmyt-ef-m-desc-content b { font-weight: 700; color: #1f2937; }
.hmyt-ef-m-desc-content a { color: var(--hmyt-ef-primary, #ee1844); text-decoration: none; border-bottom: 1px dashed; transition: all 0.2s; }
.hmyt-ef-m-desc-content a:hover { opacity: 0.8; }
.hmyt-ef-m-desc-content ul, .hmyt-ef-m-desc-content ol { margin: 0 0 10px 0; padding-right: 20px; }
.hmyt-ef-m-desc-content li { margin-bottom: 4px; }
.hmyt-ef-m-desc-content h1, .hmyt-ef-m-desc-content h2, .hmyt-ef-m-desc-content h3, .hmyt-ef-m-desc-content h4, .hmyt-ef-m-desc-content h5, .hmyt-ef-m-desc-content h6 { color: #1f2937; font-weight: 700; margin: 15px 0 10px 0; line-height: 1.4; }
.hmyt-ef-m-desc-content h1 { font-size: 18px; }
.hmyt-ef-m-desc-content h2 { font-size: 16px; }
.hmyt-ef-m-desc-content h3 { font-size: 15px; }
.hmyt-ef-m-desc-content h4, .hmyt-ef-m-desc-content h5, .hmyt-ef-m-desc-content h6 { font-size: 14px; }

.hmyt-ef-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 12px;
}
.hmyt-ef-m-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}
.hmyt-ef-m-btn-primary { background: var(--hmyt-ef-primary, #ee1844); color: #fff; border: none; }
.hmyt-ef-m-btn-secondary { background: #fff; color: #4b5563; border: 1px solid #d1d5db; }
.hmyt-ef-m-btn:hover { opacity: 0.9; }


.hmyt-dl-desc.hmyt-ef-modal-trigger {
    color: #19bfd3 !important;
    background: transparent !important;
    padding: 0 !important;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 1px dashed #19bfd3;
    border-radius: 0 !important;
}




.hmyt-pc-wrapper .hmyt-ef-group-container {
    background: transparent;
}

.hmyt-pc-wrapper .hmyt-ef-group-title > span {
    background: transparent;
}

.hmyt-pc-wrapper .hmyt-ef-field-title {
    background: transparent;
}

.hmyt-pc-wrapper .hmyt-ef-option-label {
    background: transparent;
}

.hmyt-pc-wrapper  > div .hmyt-ef-option-label.hmyt-digi-layout {
    background: #fff;
}

.hmyt-pc-wrapper > div .hmyt-ef-readmore-overlay {background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(239 243 248) 100%);}