.rv-section {
    font-family: inherit;
}

.rv-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #3d2b1f;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0e0cc;
}

.rv-summary-box {
    background: #fff8f0;
    border: 1px solid #f0e0cc;
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.rv-big-score {
    text-align: center;
}

.rv-big-score .rv-score-num {
    font-size: 56px;
    font-weight: 800;
    color: #8B4513;
    line-height: 1;
}

.rv-big-score .rv-score-stars {
    font-size: 22px;
    color: #f39c12;
    letter-spacing: 2px;
    margin: 6px 0;
}

.rv-big-score .rv-score-count {
    font-size: 13px;
    color: #999;
}

.rv-bar-rows {
    flex: 1;
    min-width: 200px;
}

.rv-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #777;
}

.rv-bar-row .rv-bar-label {
    width: 40px;
    text-align: right;
    flex-shrink: 0;
}

.rv-bar-track {
    flex: 1;
    height: 8px;
    background: #f0e0cc;
    border-radius: 4px;
    overflow: hidden;
}

.rv-bar-fill {
    height: 100%;
    background: #8B4513;
    border-radius: 4px;
}

.rv-bar-row .rv-bar-count {
    width: 28px;
    flex-shrink: 0;
}

.rv-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.rv-filter-btn {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1.5px solid #f0e0cc;
    background: #fff;
    color: #8B4513;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.rv-filter-btn.active,
.rv-filter-btn:hover {
    background: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

.rv-review-card {
    background: #fff;
    border: 1px solid #f0e0cc;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 18px;
}

.rv-reviewer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.rv-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.rv-reviewer-meta .rv-reviewer-name {
    font-weight: 700;
    font-size: 14px;
    color: #3d2b1f;
}

.rv-reviewer-meta .rv-reviewer-date {
    font-size: 12px;
    color: #aaa;
    margin-top: 1px;
}

.rv-verified {
    margin-left: auto;
    background: #e8f8f0;
    color: #1a8a4a;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.rv-review-stars {
    font-size: 15px;
    color: #f39c12;
    margin-bottom: 6px;
}

.rv-review-title {
    font-weight: 700;
    color: #3d2b1f;
    font-size: 14px;
    margin-bottom: 5px;
}

.rv-review-body {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.rv-media-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.rv-media-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid #f0e0cc;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.rv-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rv-video-thumb {
    position: relative;
    width: 80px;
    height: 80px;
}

.rv-video-thumb .rv-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
}

.rv-video-thumb .rv-play-icon span {
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.rv-helpful-row {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f8f0e8;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #aaa;
}

.rv-helpful-btn {
    border: 1px solid #f0e0cc;
    background: #fff;
    color: #8B4513;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}

.rv-helpful-btn:hover {
    background: #f0e0cc;
}

.rv-prose-content {
    line-height: 1.85;
    color: #555;
    font-size: 15px;
}

.rv-prose-content p {
    margin-bottom: 14px;
}

.rv-prose-content ul,
.rv-prose-content ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.rv-prose-content li {
    margin-bottom: 6px;
}

.rv-prose-content h2,
.rv-prose-content h3 {
    color: #3d2b1f;
    font-weight: 700;
    margin: 20px 0 10px;
}

.rv-prose-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 14px;
}

.rv-prose-content table th {
    background: #f8f2ec;
    color: #8B4513;
    padding: 10px 14px;
    text-align: left;
    border: 1px solid #f0e0cc;
    font-weight: 700;
}

.rv-prose-content table td {
    padding: 9px 14px;
    border: 1px solid #f0e0cc;
    color: #555;
}

.rv-prose-content table tr:nth-child(even) td {
    background: #fafafa;
}

.rv-faq-item {
    border: 1px solid #f0e0cc;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.rv-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #3d2b1f;
    background: #fff8f0;
}

.rv-faq-q:hover {
    background: #f0e0cc;
}

.rv-faq-q .rv-faq-icon {
    font-size: 18px;
    color: #8B4513;
    flex-shrink: 0;
}

.rv-faq-a {
    display: none;
    padding: 14px 18px;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    border-top: 1px solid #f0e0cc;
    background: #fff;
}

.rv-faq-item.open .rv-faq-a {
    display: block;
}

.rv-faq-item.open .rv-faq-icon {
    transform: rotate(45deg);
}



/* review page css */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #f8f4f0;
}

.rf-wrap {
    max-width: 560px;
    margin: 40px auto;
    padding: 0 16px 60px;
}

.rf-brand {
    text-align: center;
    margin-bottom: 28px;
}

.rf-brand-name {
    font-size: 22px;
    font-weight: 800;
    color: #8B4513;
    letter-spacing: 0.5px;
}

.rf-brand-sub {
    font-size: 13px;
    color: #aaa;
    margin-top: 2px;
}

.rf-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0e0cc;
    padding: 32px 28px;
}

.rf-product-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff8f0;
    border: 1px solid #f0e0cc;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 28px;
}

.rf-product-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 1.5px solid #f0e0cc;
    flex-shrink: 0;
}

.rf-product-name {
    font-weight: 700;
    font-size: 15px;
    color: #3d2b1f;
}

.rf-product-label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 2px;
}

.rf-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #3d2b1f;
    margin-bottom: 8px;
}

.rf-required {
    color: #e74c3c;
    margin-left: 2px;
}

.rf-group {
    margin-bottom: 22px;
}

.rf-input,
.rf-textarea {
    width: 100%;
    border: 1.5px solid #f0e0cc;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: #3d2b1f;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.rf-input:focus,
.rf-textarea:focus {
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.08);
}

.rf-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.rf-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}

.rf-stars input {
    display: none;
}

.rf-stars label {
    font-size: 38px;
    color: #f0e0cc;
    cursor: pointer;
    transition: color 0.15s, transform 0.1s;
    line-height: 1;
}

.rf-stars label:hover,
.rf-stars label:hover~label,
.rf-stars input:checked~label {
    color: #f39c12;
}

.rf-stars label:active {
    transform: scale(1.2);
}

.rf-star-hint {
    font-size: 13px;
    color: #aaa;
    margin-top: 8px;
    min-height: 18px;
}

.rf-upload-zone {
    border: 2px dashed #f0e0cc;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.rf-upload-zone:hover {
    border-color: #8B4513;
    background: #fff8f0;
}

.rf-upload-zone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.rf-upload-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.rf-upload-text {
    font-size: 14px;
    color: #8B4513;
    font-weight: 600;
}

.rf-upload-hint {
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}

.rf-preview-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.rf-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid #f0e0cc;
    flex-shrink: 0;
}

.rf-preview-item img,
.rf-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rf-preview-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.rf-video-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
}

.rf-char-count {
    font-size: 12px;
    color: #aaa;
    text-align: right;
    margin-top: 5px;
}

.rf-divider {
    border: none;
    border-top: 1px solid #f0e0cc;
    margin: 24px 0;
}

.rf-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #8B4513, #CD853F);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.rf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.35);
}

.rf-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.rf-success {
    background: #eafaf1;
    border: 1.5px solid #27ae60;
    border-radius: 12px;
    padding: 16px 20px;
    color: #1a7a40;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rf-error-msg {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 5px;
}

.rf-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #bbb;
}

/* ── Single Product Image Gallery ── */
/* ── Single Product Image Gallery ── */
.main-image-wrapper {
    height: 500px;
    max-height: 500px;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fafafa;
}

@media (max-width: 1200px) {
    .main-image-wrapper {
        height: 420px;
        max-height: 420px;
    }
}

@media (max-width: 992px) {
    .main-image-wrapper {
        height: 380px;
        max-height: 380px;
    }
}

@media (max-width: 768px) {
    .main-image-wrapper {
        height: 320px;
        max-height: 320px;
    }
}

@media (max-width: 576px) {
    .main-image-wrapper {
        height: 260px;
        max-height: 260px;
    }
}

/* ── Product Card Image Height ── */
.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .product-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 160px;
    }
}

/* ── Shop Filter Bar ── */
.filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    background: #fff8f0;
    border: 1px solid #f0e0cc;
    border-radius: 12px;
    margin-bottom: 16px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #3d2b1f;
    white-space: nowrap;
    margin: 0;
}

.filter-group select {
    padding: 7px 12px;
    border-radius: 8px;
    border: 1.5px solid #f0e0cc;
    background: #fff;
    font-size: 13px;
    color: #3d2b1f;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.filter-group select:focus {
    border-color: #8B4513;
}

.view-options {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.view-options button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid #f0e0cc;
    background: #fff;
    color: #8B4513;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin: 0;
}

.view-options button.active,
.view-options button:hover {
    background: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

/* Results count */
.filter-results-count {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .filters {
        padding: 10px 12px;
        gap: 8px;
        border-radius: 10px;
    }

    .filter-group {
        flex: 1;
        min-width: 0;
    }

    .filter-group label {
        font-size: 12px;
        flex-shrink: 0;
    }

    .filter-group select {
        flex: 1;
        min-width: 0;
        font-size: 12px;
        padding: 6px 8px;
    }

    .view-options {
        margin-left: 0;
    }

    .filter-results-count {
        width: 100%;
        text-align: right;
        font-size: 11px;
    }
}

/* ── Select Dropdown Option Styling ── */
.filter-group select option:checked,
.filter-group select option:hover,
.filter-group select option:focus {
    background: #8B4513;
    color: #fff;
}

/* Firefox fix */
.filter-group select option:checked {
    background-color: #8B4513 !important;
    color: #fff !important;
}