/* POD Content Manager — Frontend Widget Styles */

/* ویجت‌های عمومی */
.pod-cm-widget { direction: rtl; }
.pod-cm-section-title { margin-top: 0; margin-bottom: 15px; }

/* اطلاعیه */
.pod-cm-notice-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid;
    margin: 10px 0;
}
.pod-cm-notice-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.pod-cm-notice-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.pod-cm-notice-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.pod-cm-notice-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.pod-cm-notice-icon { font-size: 16px; flex-shrink: 0; }

/* ویدیو */
.pod-cm-product-video video,
.pod-cm-about-video video { border-radius: 6px; }

.pod-cm-video-thumb {
    position: relative;
    cursor: pointer;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}
.pod-cm-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pod-cm-play-btn svg { width: 64px; height: 64px; }

/* تصاویر about */
.pod-cm-about-images {
    display: grid;
    gap: 10px;
    margin: 15px 0;
}
.pod-cm-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pod-cm-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pod-cm-grid-4 { grid-template-columns: repeat(4, 1fr); }

.pod-cm-about-img-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* FAQ */
.pod-cm-faq-accordion { margin-top: 10px; }
.pod-cm-faq-item {
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}
.pod-cm-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    user-select: none;
    transition: background .15s;
    gap: 10px;
}
.pod-cm-faq-q:hover { background: #f9fafb; }
.pod-cm-faq-item.active .pod-cm-faq-q { background: #f3f4f6; }
.pod-cm-faq-question-text { font-weight: 600; flex: 1; }
.pod-cm-faq-icon { font-size: 18px; font-weight: 300; color: #6b7280; flex-shrink: 0; }
.pod-cm-faq-a {
    padding: 10px 15px 15px;
    line-height: 1.7;
    color: #4b5563;
}

@media (max-width: 600px) {
    .pod-cm-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .pod-cm-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Unified product content tabs */
.pod-cm-product-tabs-widget {
    direction: rtl;
    width: 100%;
    color: #111827;
    font-size: 15px;
    line-height: 1.9;
}

.pod-cm-product-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
    border-bottom: 1px solid #eef0f4;
    padding: 28px 0 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.pod-cm-product-tab {
    appearance: none;
    border: 1.5px solid #e12f75;
    background: linear-gradient(135deg, #536ef2 0%, #4277e8 100%);
    color: #7f8797;
    cursor: pointer;
    flex: 0 0 auto;
    min-width: 126px;
    min-height: 64px;
    padding: 0 22px;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(45, 94, 224, .16);
    font: inherit;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.pod-cm-product-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(45, 94, 224, .22);
    color: #eef2ff;
}

.pod-cm-product-tab.is-active {
    background: linear-gradient(135deg, #e52e79 0%, #cc2f77 100%);
    border-color: #d82f78;
    color: #fff;
    box-shadow: 0 12px 26px rgba(218, 47, 120, .25);
}

.pod-cm-product-panel {
    padding-top: 6px;
}

.pod-cm-product-panel[hidden] {
    display: none;
}

.pod-cm-spec-table {
    width: 100%;
}

.pod-cm-spec-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 220px);
    gap: 24px;
    min-height: 62px;
    align-items: center;
    border-bottom: 1px solid #edf0f2;
}

.pod-cm-spec-row[hidden] {
    display: none;
}

.pod-cm-spec-label {
    color: #777d86;
    text-align: right;
    white-space: nowrap;
}

.pod-cm-spec-value {
    color: #050505;
    text-align: right;
    overflow-wrap: anywhere;
}

.pod-cm-spec-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #00a66a;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.pod-cm-spec-toggle span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 24px;
    line-height: 1;
    transform: rotate(0deg);
}

.pod-cm-spec-toggle.is-expanded span {
    transform: rotate(90deg);
}

.pod-cm-product-rich-content {
    padding: 18px 0 2px;
}

.pod-cm-product-rich-content > *:first-child {
    margin-top: 0;
}

.pod-cm-product-rich-content > *:last-child {
    margin-bottom: 0;
}

.pod-cm-feature-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.pod-cm-feature-gallery img,
.pod-cm-feature-video {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.pod-cm-comments-list {
    display: grid;
    gap: 12px;
    padding-top: 18px;
}

.pod-cm-comment-item {
    display: grid;
    gap: 22px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

.pod-cm-comment-item[hidden] {
    display: none;
}

.pod-cm-review-product-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 118px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #111827;
    text-decoration: none;
}

.pod-cm-review-product-card:hover {
    color: #111827;
    border-color: #d8dce6;
}

.pod-cm-review-product-card img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
}

.pod-cm-review-product-card strong {
    display: block;
    margin-bottom: 42px;
    font-weight: 700;
    line-height: 1.7;
}

.pod-cm-review-product-card span {
    display: block;
    color: #6b7280;
    font-size: 13px;
}

.pod-cm-comment-meta {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.pod-cm-comment-meta time {
    color: #8a8f9b;
    font-size: 13px;
}

.pod-cm-comment-author {
    display: grid;
    gap: 6px;
    justify-items: end;
    text-align: right;
}

.pod-cm-comment-author strong {
    color: #111827;
    font-weight: 800;
}

.pod-cm-comment-content {
    display: grid;
    gap: 16px;
}

.pod-cm-comment-image {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 12px;
}

.pod-cm-comment-image-button {
    justify-self: end;
    width: 82px;
    height: 82px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.pod-cm-comment-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.pod-cm-comment-rating {
    color: #6f7280;
    direction: ltr;
    letter-spacing: 3px;
    font-size: 16px;
}

.pod-cm-comment-body p {
    margin: 0;
    color: #303545;
    font-size: 15px;
    line-height: 2.1;
    text-align: right;
}

.pod-cm-product-empty {
    padding: 22px 0;
    color: #777d86;
}

.pod-cm-reviews-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 4px;
}

.pod-cm-reviews-summary > div {
    min-height: 84px;
    padding: 14px;
    border-radius: 16px;
    background: #f7f8ff;
    border: 1px solid #eceffd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pod-cm-reviews-summary strong {
    color: #e12f78;
    font-size: 24px;
    line-height: 1;
}

.pod-cm-reviews-summary span {
    color: #6b7280;
    font-size: 13px;
}

.pod-cm-summary-stars {
    color: #f59e0b;
    font-size: 20px;
    letter-spacing: 2px;
    direction: ltr;
}

.pod-cm-reviews-more,
.pod-cm-review-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid #d82f78;
    border-radius: 14px;
    background: #e12f78;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    margin-top: 14px;
}

.pod-cm-reviews-more {
    background: #fff;
    color: #d82f78;
}

.pod-cm-review-form {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #eceffd;
    background: #fbfcff;
}

.pod-cm-review-form h3 {
    margin: 0;
    font-size: 18px;
}

.pod-cm-review-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pod-cm-review-form label {
    display: grid;
    gap: 6px;
    color: #374151;
    font-weight: 600;
}

.pod-cm-review-form small {
    color: #8a91a0;
    font-weight: 400;
}

.pod-cm-review-form input,
.pod-cm-review-form select,
.pod-cm-review-form textarea {
    width: 100%;
    border: 1px solid #d9deea;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: #111827;
    font: inherit;
}

.pod-cm-review-message {
    padding: 10px 12px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #374151;
}

.pod-cm-review-message.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.pod-cm-review-message.is-success {
    background: #ecfdf3;
    color: #15803d;
}

.pod-cm-review-gate {
    margin-top: 20px;
    padding: 14px;
    border-radius: 14px;
    background: #f7f8ff;
    color: #596174;
    border: 1px solid #eceffd;
}

.pod-cm-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(17, 24, 39, .72);
}

.pod-cm-lightbox-open {
    overflow: hidden;
}

.pod-cm-image-lightbox[hidden] {
    display: none;
}

.pod-cm-image-lightbox img {
    max-width: min(920px, 94vw);
    max-height: 88vh;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.pod-cm-image-lightbox button {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.pod-cm-product-tabs-widget .pod-cm-faq-accordion {
    margin-top: 8px;
}

.pod-cm-product-tabs-widget .pod-cm-faq-q {
    padding-right: 0;
    padding-left: 0;
}

@media (max-width: 768px) {
    .pod-cm-product-tabs-nav {
        justify-content: flex-start;
        gap: 16px;
    }

    .pod-cm-spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 13px 0;
    }
}

@media (max-width: 520px) {
    .pod-cm-product-tabs-nav {
        gap: 12px;
    }

    .pod-cm-product-tab {
        min-width: 112px;
        min-height: 52px;
        font-size: 14px;
        border-radius: 15px;
    }

    .pod-cm-feature-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pod-cm-reviews-summary,
    .pod-cm-review-form-grid,
    .pod-cm-comment-meta,
    .pod-cm-review-product-card {
        grid-template-columns: 1fr;
    }

    .pod-cm-comment-author {
        justify-items: start;
    }

    .pod-cm-comment-image-button {
        justify-self: start;
    }
}

/* Frontend hard polish: override theme/Elementor leakage */
.pod-cm-product-tabs-widget,
.pod-cm-product-tabs-widget * {
    box-sizing: border-box;
}

.pod-cm-product-tabs-widget .pod-cm-product-tabs-nav {
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(12px, 3vw, 38px) !important;
    padding: 20px 0 14px !important;
    border-bottom: 1px solid #e9edf5 !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-tab {
    min-width: 126px !important;
    min-height: 64px !important;
    padding: 0 20px !important;
    border: 1.5px solid #e12f75 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #5470f2 0%, #3f79ea 100%) !important;
    color: #d6dcff !important;
    box-shadow: 0 10px 24px rgba(68, 105, 232, .18) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-tab.is-active {
    background: linear-gradient(135deg, #e83180 0%, #cc2e76 100%) !important;
    color: #fff !important;
    border-color: #df2f79 !important;
    box-shadow: 0 18px 34px rgba(225, 47, 120, .24) !important;
}

.pod-cm-product-tabs-widget .pod-cm-reviews-summary > div {
    background: #f7f8ff !important;
    border: 1px solid #e7ebf7 !important;
}

.pod-cm-product-tabs-widget .pod-cm-summary-stars,
.pod-cm-product-tabs-widget .pod-cm-comment-rating {
    color: #f6a400 !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-item {
    padding: 28px !important;
    border: 1px solid #e1e5ee !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, .045) !important;
}

.pod-cm-product-tabs-widget .pod-cm-review-product-card {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
    min-height: 104px !important;
    padding: 12px !important;
    border: 1px solid #e1e5ee !important;
    border-radius: 10px !important;
    text-decoration: none !important;
}

.pod-cm-product-tabs-widget .pod-cm-review-product-card img {
    width: 58px !important;
    height: 58px !important;
    border-radius: 9px !important;
    object-fit: cover !important;
}

.pod-cm-product-tabs-widget .pod-cm-review-product-card strong {
    display: block !important;
    max-width: 100% !important;
    margin: 0 0 28px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    color: #3f5ff0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.7 !important;
    text-overflow: ellipsis !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-headline {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-headline > strong {
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-rating-date {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #8a8f9b !important;
    font-size: 13px !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-gallery {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-image-button {
    position: relative !important;
    width: 88px !important;
    height: 88px !important;
    border: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #f3f5fb !important;
    cursor: zoom-in !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-more-images {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(17, 24, 39, .55) !important;
    color: #fff !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
}

@media (max-width: 640px) {
    .pod-cm-product-tabs-widget .pod-cm-product-tabs-nav {
        justify-content: flex-start !important;
    }

    .pod-cm-product-tabs-widget .pod-cm-comment-headline {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
}

/* Specs tab, clean table like product details */
.pod-cm-product-tabs-widget .pod-cm-spec-table {
    width: 100% !important;
    border-top: 0 !important;
    direction: ltr !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 220px) !important;
    gap: 24px !important;
    min-height: 62px !important;
    padding: 0 !important;
    align-items: center !important;
    border-bottom: 1px solid #edf0f2 !important;
    background: transparent !important;
    direction: ltr !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-row[hidden] {
    display: none !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-label {
    grid-column: 2 !important;
    color: #777d86 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-align: right !important;
    direction: rtl !important;
    white-space: nowrap !important;
    align-self: center !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-value {
    grid-column: 1 !important;
    color: #050505 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-align: right !important;
    direction: rtl !important;
    align-self: center !important;
    justify-self: stretch !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--pod-clean-accent, #12a166) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-toggle:hover,
.pod-cm-product-tabs-widget .pod-cm-spec-toggle:focus {
    background: transparent !important;
    color: var(--pod-clean-accent, #12a166) !important;
}

@media (max-width: 640px) {
    .pod-cm-product-tabs-widget .pod-cm-spec-row {
        grid-template-columns: minmax(0, 1fr) minmax(92px, 36%) !important;
        gap: 12px !important;
        min-height: 54px !important;
    }

    .pod-cm-product-tabs-widget .pod-cm-spec-label,
    .pod-cm-product-tabs-widget .pod-cm-spec-value {
        font-size: 14px !important;
    }
}

/* Final clean storefront skin */
.pod-cm-product-tabs-widget {
    --pod-clean-text: #151821;
    --pod-clean-muted: #777d89;
    --pod-clean-line: #eceff3;
    --pod-clean-accent: #12a166;
    --pod-clean-star: #f6a400;
    --pod-clean-panel: #ffffff;
    --pod-clean-soft: #f8fafc;
    --pod-carousel-scroll: #cbd5e1;
    color: var(--pod-clean-text) !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-tabs-nav {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 34px !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--pod-clean-line) !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-tabs-nav::-webkit-scrollbar {
    display: none !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-tab {
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 0 0 13px !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--pod-clean-muted) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    transform: none !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-tab:hover {
    color: var(--pod-clean-text) !important;
    box-shadow: none !important;
    transform: none !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-tab.is-active {
    background: transparent !important;
    border-bottom-color: var(--pod-clean-accent) !important;
    color: var(--pod-clean-text) !important;
    box-shadow: none !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-panel {
    padding-top: 22px !important;
}

.pod-cm-product-tabs-widget .pod-cm-reviews-summary {
    display: block !important;
    width: fit-content !important;
    margin: 0 0 18px auto !important;
    padding: 0 !important;
    text-align: center !important;
}

.pod-cm-product-tabs-widget .pod-cm-reviews-summary > div {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    display: block !important;
}

.pod-cm-product-tabs-widget .pod-cm-reviews-score {
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 8px !important;
    direction: rtl !important;
}

.pod-cm-product-tabs-widget .pod-cm-reviews-score strong {
    color: #090b20 !important;
    font-size: 56px !important;
    font-weight: 900 !important;
    line-height: .95 !important;
}

.pod-cm-product-tabs-widget .pod-cm-reviews-score span {
    color: #7c828f !important;
    font-size: 22px !important;
    font-weight: 500 !important;
}

.pod-cm-product-tabs-widget .pod-cm-reviews-count {
    margin-top: 8px !important;
    color: #777d89 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.pod-cm-product-tabs-widget .pod-cm-summary-stars {
    margin-top: 8px !important;
    color: var(--pod-clean-star) !important;
    font-size: 22px !important;
    letter-spacing: 4px !important;
    direction: ltr !important;
}

.pod-cm-product-tabs-widget .pod-cm-comments-list {
    gap: 12px !important;
    padding-top: 0 !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-item {
    gap: 12px !important;
    padding: 16px 18px !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.pod-cm-product-tabs-widget .pod-cm-review-product-card {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #fff !important;
}

.pod-cm-product-tabs-widget .pod-cm-review-product-card img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
}

.pod-cm-product-tabs-widget .pod-cm-review-product-title {
    display: block !important;
    max-width: 100% !important;
    margin: 0 0 6px !important;
    overflow: hidden !important;
    color: #1b1f2a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.pod-cm-product-tabs-widget .pod-cm-review-product-cat {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    width: fit-content !important;
    padding: 3px 9px !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.pod-cm-product-tabs-widget .pod-cm-review-product-cat span {
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

.pod-cm-product-tabs-widget .pod-cm-review-product-size {
    display: block !important;
    margin-top: 4px !important;
    color: #8a8f9b !important;
    font-size: 12px !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-headline {
    align-items: center !important;
    gap: 10px !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-headline > strong {
    font-size: 14px !important;
    font-weight: 800 !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-rating-date {
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-rating {
    color: var(--pod-clean-star) !important;
    font-size: 15px !important;
    letter-spacing: 2px !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-rating-date time {
    color: #8b919d !important;
    font-size: 12px !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-body p {
    color: #202532 !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-gallery {
    justify-content: flex-end !important;
    gap: 8px !important;
}

.pod-cm-product-tabs-widget .pod-cm-comment-image-button {
    width: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
}

.pod-cm-product-tabs-widget .pod-cm-reviews-more {
    min-height: auto !important;
    margin-top: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #3f4652 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 5px !important;
}

.pod-cm-product-tabs-widget .pod-cm-print-quality {
    display: grid !important;
    gap: 18px !important;
}

.pod-cm-product-tabs-widget .pod-cm-print-carousel {
    --pod-print-gap: 12px;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - (5 * var(--pod-print-gap))) / 6) !important;
    gap: var(--pod-print-gap) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 0 10px !important;
    scroll-snap-type: x proximity !important;
    scrollbar-color: var(--pod-carousel-scroll) transparent !important;
    scrollbar-width: thin !important;
}

.pod-cm-product-tabs-widget .pod-cm-print-carousel::-webkit-scrollbar {
    height: 6px !important;
}

.pod-cm-product-tabs-widget .pod-cm-print-carousel::-webkit-scrollbar-track {
    background: transparent !important;
}

.pod-cm-product-tabs-widget .pod-cm-print-carousel::-webkit-scrollbar-thumb {
    background: var(--pod-carousel-scroll) !important;
    border-radius: 999px !important;
}

.pod-cm-product-tabs-widget .pod-cm-print-slide {
    min-width: 0 !important;
    scroll-snap-align: start !important;
}

.pod-cm-product-tabs-widget .pod-cm-print-slide img,
.pod-cm-product-tabs-widget .pod-cm-print-slide video {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    background: #f4f6f8 !important;
}

.pod-cm-product-tabs-widget .pod-cm-print-video-carousel .pod-cm-print-slide video {
    aspect-ratio: 9 / 16 !important;
}

.pod-cm-product-tabs-widget .pod-cm-faq-accordion {
    padding: 8px 0 !important;
}

.pod-cm-product-tabs-widget .pod-cm-faq-item {
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    margin-bottom: 10px !important;
}

.pod-cm-product-tabs-widget .pod-cm-faq-q,
.pod-cm-product-tabs-widget .pod-cm-faq-a {
    border-radius: 16px !important;
}

@media (max-width: 640px) {
    .pod-cm-product-tabs-widget .pod-cm-product-tabs-nav {
        gap: 22px !important;
    }

    .pod-cm-product-tabs-widget .pod-cm-reviews-summary {
        margin-right: 0 !important;
    }

    .pod-cm-product-tabs-widget .pod-cm-reviews-score strong {
        font-size: 44px !important;
    }
}

@media (max-width: 1024px) {
    .pod-cm-product-tabs-widget .pod-cm-print-carousel {
        grid-auto-columns: calc((100% - (2 * var(--pod-print-gap))) / 3) !important;
    }
}

@media (max-width: 600px) {
    .pod-cm-product-tabs-widget .pod-cm-print-carousel {
        grid-auto-columns: calc((100% - var(--pod-print-gap)) / 2.2) !important;
    }

    .pod-cm-product-tabs-widget .pod-cm-comment-headline {
        align-items: flex-end !important;
        text-align: right !important;
        width: 100% !important;
    }

    .pod-cm-product-tabs-widget .pod-cm-comment-rating-date {
        justify-content: flex-end !important;
        text-align: right !important;
        width: 100% !important;
    }
}

/* Final fixes */
.pod-cm-product-tabs-widget .pod-cm-product-panel {
    padding-top: 22px !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-panel > .pod-cm-product-rich-content,
.pod-cm-product-tabs-widget .pod-cm-product-panel > .pod-cm-reviews-wrap,
.pod-cm-product-tabs-widget .pod-cm-product-panel > .pod-cm-faq-accordion {
    margin-top: 0 !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-rich-content {
    padding-top: 0 !important;
}

.pod-cm-image-lightbox .pod-cm-lightbox-prev,
.pod-cm-image-lightbox .pod-cm-lightbox-next {
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 34px !important;
}

.pod-cm-image-lightbox .pod-cm-lightbox-prev {
    right: 18px !important;
    left: auto !important;
}

.pod-cm-image-lightbox .pod-cm-lightbox-next {
    left: 18px !important;
}

.pod-cm-review-gate a {
    color: #151821 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
}

@media (max-width: 640px) {
    .pod-cm-product-tabs-widget .pod-cm-comment-author {
        justify-items: end !important;
        text-align: right !important;
        direction: rtl !important;
        width: 100% !important;
    }

    .pod-cm-product-tabs-widget .pod-cm-comment-headline {
        align-items: flex-end !important;
        justify-content: flex-end !important;
        text-align: right !important;
        direction: rtl !important;
        width: 100% !important;
    }

    .pod-cm-product-tabs-widget .pod-cm-comment-headline > strong {
        align-self: flex-end !important;
        text-align: right !important;
        width: 100% !important;
    }

    .pod-cm-product-tabs-widget .pod-cm-comment-rating-date {
        align-self: flex-end !important;
        justify-content: flex-end !important;
        text-align: right !important;
        direction: rtl !important;
        width: 100% !important;
    }
}

/* Equal panel spacing and neutral specs more button */
.pod-cm-product-tabs-widget .pod-cm-product-panel {
    padding-top: 18px !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-panel > :first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-table,
.pod-cm-product-tabs-widget .pod-cm-reviews-wrap,
.pod-cm-product-tabs-widget .pod-cm-print-quality,
.pod-cm-product-tabs-widget .pod-cm-size-guide-content,
.pod-cm-product-tabs-widget .pod-cm-faq-accordion,
.pod-cm-product-tabs-widget .pod-cm-product-review-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-toggle {
    color: #6b7280 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    gap: 6px !important;
    margin-top: 14px !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-toggle:hover,
.pod-cm-product-tabs-widget .pod-cm-spec-toggle:focus {
    color: #374151 !important;
    background: transparent !important;
}

.pod-cm-product-tabs-widget .pod-cm-spec-toggle strong {
    font-weight: 500 !important;
}

/* Specs should visually start at the same height as other tab contents */
.pod-cm-product-tabs-widget .pod-cm-product-panel[data-panel="specs"] {
    padding-top: 18px !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-panel[data-panel="specs"] .pod-cm-spec-row {
    min-height: 0 !important;
    padding: 12px 0 !important;
    align-items: start !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-panel[data-panel="specs"] .pod-cm-spec-row:first-child {
    padding-top: 0 !important;
}

.pod-cm-product-tabs-widget .pod-cm-product-panel[data-panel="specs"] .pod-cm-spec-label,
.pod-cm-product-tabs-widget .pod-cm-product-panel[data-panel="specs"] .pod-cm-spec-value {
    line-height: 1.8 !important;
    align-self: start !important;
}
