.pharma-inner-tabs {
    margin-top: 20px;
    font-family: inherit;
}
.pharma-tab-titles {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid #e0e0e0;
}
.pharma-tab-titles li {
    cursor: pointer;
    padding: 12px 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
    margin-bottom: -2px; 
}
.pharma-tab-titles li:hover { background: #eef7ee; color: #49c332; }
.pharma-tab-titles li.active {
    background: #fff;
    color: #49c332;
    font-weight: bold;
    border: 2px solid #49c332;
    border-bottom: 2px solid #fff;
}
.pharma-tab-content {
    display: none;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 12px 12px;
    animation: fadeInTab 0.3s ease;
}
.pharma-tab-content.active { display: block; }

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

.rx-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.rx-spec-table, .rx-comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.rx-spec-table th, .rx-spec-table td,
.rx-comp-table th, .rx-comp-table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #eee;
}
.rx-spec-label { width: 20%; font-weight: bold; color: #555; }
.rx-spec-value { width: 30%; color: #222; }
.rx-cell-border-left { border-left: 1px dashed #ccc; }
.rx-row-even { background-color: #fcfcfc; }
.rx-row-odd { background-color: #ffffff; }

.rx-comp-table thead th {
    background-color: #e6f6e6;
    color: #2b7a1d;
    font-weight: bold;
    text-align: center;
}
.rx-comp-table tbody td {
    text-align: center;
}

/* مخفی کردن تب مشخصات پیش‌فرض ووکامرس در صورت وجود */
li#tab-title-additional_information {
    display: none !important;
}

/* آکاردئون سوالات متداول */
.rx-faq-accordion { border: 1px solid #e0e0e2; border-radius: 8px; overflow: hidden; margin-top: 15px;}
.rx-accordion-item { border-bottom: 1px solid #e0e0e2; }
.rx-accordion-item:last-child { border-bottom: none; }
.rx-accordion-header {
    width: 100%; text-align: right; background-color: #fdfdfd; border: none;
    padding: 15px 20px; font-size: 14px; font-weight: 600; color: #424750;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.rx-icon { position: relative; width: 14px; height: 14px; }
.rx-icon::before, .rx-icon::after { content: ''; position: absolute; background-color: #a1a3a8; transition: 0.3s; }
.rx-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.rx-icon::after { top: 0; left: 6px; width: 2px; height: 14px; }
.rx-accordion-header.active .rx-icon::after { transform: rotate(90deg); opacity: 0; }
.rx-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.rx-accordion-inner { padding: 15px 20px; font-size: 13px; color: #62666d; line-height: 1.8; }

/* اگر قالب شما باز هم آیکون‌های fa-solid را نشان نداد، کدهای زیر را از حالت کامنت خارج کنید:
li#tab-title-rx_product_specs > a { display: flex; align-items: center; justify-content: center; }
li#tab-title-rx_product_specs > a::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-left: 8px; background-color: currentColor; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/></svg>') no-repeat center / contain; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/></svg>') no-repeat center / contain; }
li#tab-title-rx_practical_info > a { display: flex; align-items: center; justify-content: center; }
li#tab-title-rx_practical_info > a::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-left: 8px; background-color: currentColor; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>') no-repeat center / contain; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>') no-repeat center / contain; }
*/

body.product-single table {
    margin-bottom: 0 !important;
}

html {
    scroll-behavior: auto !important;
}

* {
    scroll-behavior: auto !important;
}