.aromaholik-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4caf50;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 500;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 12px;
}

.aromaholik-verified-badge svg {
    display: block;
    flex-shrink: 0;
}

.aromaholik-lightbox-author .aromaholik-verified-badge {
    font-size: 12px;
    padding: 3px 10px;
}

/* Reviews Header */
.aromaholik-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e9e9ee;
    border-radius: 12px;
}

.aromaholik-reviews-stats {
    flex: 1;
    display: flex;
    gap: 40px;
    align-items: center;
}

.aromaholik-stats-summary {
    flex-shrink: 0;
}

.aromaholik-average-rating {
    text-align: center;
}

.average-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.average-stars {
    margin-bottom: 8px;
}

.average-stars .star-rating {
    font-size: 18px;
    margin: 0 auto;
}

.average-stars .star-rating::before,
.average-stars .star-rating span::before {
    font-size: 18px !important;
}

.total-reviews {
    display: block;
    font-size: 13px;
    color: #666;
}

.aromaholik-stats-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    min-width: 50px;
}

.stat-stars svg {
    color: #FDA256;
}

.stat-bar {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    min-width: 150px;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #DAA520 0%, #E1B998 100%);
    transition: width 0.6s ease;
}

.stat-count {
    font-size: 13px;
    color: #666;
    min-width: 30px;
    text-align: right;
}

.aromaholik-reviews-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.aromaholik-add-review-btn {
    background: #E1B998;
    color: #212121;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.aromaholik-sort-select select {
    padding: 10px 36px 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23666" d="M6 9L1 4h10z"/></svg>') no-repeat right 12px center;
    appearance: none;
    min-width: 200px;
}

.aromaholik-sort-select select:focus {
    outline: none;
    border-color: #E1B998;
}

/* Modal */
.aromaholik-review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99998;
}

.aromaholik-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.aromaholik-modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    margin: 5vh auto;
    z-index: 99999;
}

.aromaholik-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.aromaholik-modal-close:hover {
    color: #333;
    transform: scale(1.1);
}


/* Review Form */
.aromaholik-review-form-wrapper {
    padding: 40px;
}

.aromaholik-review-form-wrapper h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
}

.form-description {
    color: #666;
    margin: 0 0 24px;
    font-size: 14px;
}

.aromaholik-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.aromaholik-form-field {
    margin-bottom: 20px;
}

.aromaholik-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.aromaholik-form-field .required {
    color: #e74c3c;
}

.aromaholik-form-field input[type="text"],
.aromaholik-form-field input[type="email"],
.aromaholik-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.aromaholik-form-field input:focus,
.aromaholik-form-field textarea:focus {
    outline: none;
    border-color: #E1B998;
}

.aromaholik-form-field textarea {
    resize: vertical;
    font-family: inherit;
}

/* Field hints */
.field-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.char-count {
    font-weight: 600;
    color: #666;
}

/* Rating Input */
.aromaholik-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.aromaholik-rating-input input {
    display: none;
}

.aromaholik-rating-input label {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s ease;
    margin: 0;
}

.aromaholik-rating-input label:hover,
.aromaholik-rating-input label:hover ~ label {
    color: #E1B998;
}

.aromaholik-rating-input input:checked ~ label {
    color: #E1B998;
}

/* Image Upload */
.aromaholik-form-field input[type="file"] {
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.aromaholik-image-preview {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    position: relative;
}

.aromaholik-image-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    position: relative;
}

/* Submit Button */
.aromaholik-form-actions {
    margin-top: 24px;
}

.aromaholik-submit-review {
    background: #E1B998;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}


.aromaholik-submit-review:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Message */
.aromaholik-form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.aromaholik-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.aromaholik-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Reviews Masonry */
.aromaholik-reviews-masonry {
    width: 100%;
    margin: 20px 0 40px;
}

.aromaholik-reviews-list-wrapper {
    display: block !important;
    column-count: 3;
    column-gap: 12px;
    margin: 0;
}

.aromaholik-reviews-list-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: block;
    margin: 0 0 12px;
    border: 1px solid #e9e9ee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    padding: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aromaholik-reviews-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.aromaholik-review-image {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.aromaholik-review-image-wrap {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}

.aromaholik-review-image-link {
    display: block;
    width: 100%;
    cursor: zoom-in;
}

.aromaholik-reviews-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0;
    border-radius: 0;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.aromaholik-review-image-link:hover .aromaholik-reviews-image {
    transform: scale(1.05);
}

.aromaholik-review-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
}

.aromaholik-review-author {
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 8px 0;
    order: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.aromaholik-verified-badge {
    display: inline-flex;
    align-items: center;
    color: #4caf50;
    flex-shrink: 0;
}

.aromaholik-verified-badge svg {
    display: block;
}

.aromaholik-review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px 0;
    order: 2;
}

.aromaholik-review-stars {
    flex-shrink: 0;
}

.aromaholik-review-stars .star-rating {
    float: none !important;
    margin: 0 !important;
    font-size: 14px;
    line-height: 14px;
}

.aromaholik-review-stars .star-rating::before,
.aromaholik-review-stars .star-rating span::before {
    font-size: 14px !important;
    line-height: 14px !important;
}

.aromaholik-review-date {
    font-weight: 400;
    font-size: 11px;
    line-height: 14px;
    opacity: 0.7;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
    margin: 0;
}

.aromaholik-review-content {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    margin: 0;
    order: 3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.aromaholik-review-content > p {
    display: block !important;
    margin: 0 0 8px !important;
}

.aromaholik-review-content > p:last-child {
    margin-bottom: 0 !important;
}

.aromaholik-no-reviews {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* Lightbox */
.aromaholik-review-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.aromaholik-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.aromaholik-lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 100px;
}

.aromaholik-lightbox-content {
    max-width: 1200px;
    width: 100%;
    max-height: 100%;
    display: flex;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}

.aromaholik-lightbox-image-wrap {
    flex: 1;
    min-width: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.aromaholik-lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.aromaholik-lightbox-review-info {
    flex: 0 0 400px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    max-height: 100%;
}

.aromaholik-lightbox-author {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aromaholik-lightbox-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.aromaholik-lightbox-stars .star-rating {
    float: none !important;
    margin: 0 !important;
    font-size: 16px;
}

.aromaholik-lightbox-stars .star-rating::before,
.aromaholik-lightbox-stars .star-rating span::before {
    font-size: 16px !important;
}

.aromaholik-lightbox-date {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.aromaholik-lightbox-text {
    font-size: 15px;
    line-height: 24px;
    color: #444;
    flex: 1;
}

.aromaholik-lightbox-text p {
    margin: 0 0 12px;
}

.aromaholik-lightbox-text p:last-child {
    margin-bottom: 0;
}


.aromaholik-lightbox-review-info::-webkit-scrollbar {
    width: 6px;
}

.aromaholik-lightbox-review-info::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.aromaholik-lightbox-review-info::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.aromaholik-lightbox-review-info::-webkit-scrollbar-thumb:hover {
    background: #999;
}

@media (max-width: 1024px) {
    .aromaholik-reviews-header {
        flex-direction: column;
        gap: 24px;
    }

    .aromaholik-reviews-stats {
        flex-direction: column;
        width: 100%;
        gap: 24px;
    }

    .aromaholik-reviews-actions {
        width: 100%;
        align-items: stretch;
    }

    .aromaholik-add-review-btn,
    .aromaholik-sort-select select {
        width: 100%;
    }

    .aromaholik-lightbox-container {
        padding: 80px 40px;
    }

    .aromaholik-lightbox-content {
        flex-direction: column;
        max-height: 90vh;
    }

    .aromaholik-lightbox-image-wrap {
        flex: 0 0 400px;
        max-height: 400px;
    }

    .aromaholik-lightbox-review-info {
        flex: 1;
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .aromaholik-lightbox-close,
    .aromaholik-lightbox-prev,
    .aromaholik-lightbox-next {
        width: 44px;
        height: 44px;
    }

    .aromaholik-lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 36px;
    }

    .aromaholik-lightbox-prev,
    .aromaholik-lightbox-next {
        font-size: 40px;
    }

    .aromaholik-modal-close {
        font-size: 28px;
    }

    .aromaholik-review-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 10px;
    }

    .aromaholik-review-date {
        font-size: 10px;
        text-align: left;
        opacity: 0.6;
    }

    .aromaholik-review-stars .star-rating::before,
    .aromaholik-review-stars .star-rating span::before {
        font-size: 13px !important;
        line-height: 13px !important;
    }
    .aromaholik-verified-badge {
        font-size: 0;
        padding: 2px;
        background: transparent;
        gap: 0;
    }

    .aromaholik-verified-badge svg {
        width: 16px;
        height: 16px;
    }

    .aromaholik-reviews-header {
        padding: 20px;
    }

    .aromaholik-form-row {
        grid-template-columns: 1fr;
    }

    .aromaholik-review-form-wrapper {
        padding: 30px 20px;
    }

    .aromaholik-reviews-list-wrapper {
        column-count: 2;
    }

    .aromaholik-review-content {
        -webkit-line-clamp: 8 !important;
    }

    .aromaholik-review-author {
        font-size: 13px;
    }

    .aromaholik-review-meta {
        gap: 8px;
    }

    .aromaholik-review-date {
        font-size: 10px;
    }

    .aromaholik-lightbox-container {
        padding: 70px 20px 20px;
    }

    .aromaholik-lightbox-content {
        max-height: 85vh;
    }

    .aromaholik-lightbox-image-wrap {
        flex: 0 0 300px;
        max-height: 300px;
    }

    .aromaholik-lightbox-review-info {
        padding: 20px;
        gap: 16px;
    }

    .aromaholik-lightbox-author {
        font-size: 16px;
    }

    .aromaholik-lightbox-text {
        font-size: 14px;
        line-height: 22px;
    }

    .aromaholik-lightbox-close,
    .aromaholik-lightbox-prev,
    .aromaholik-lightbox-next {
        width: 44px;
        height: 44px;
    }

    .aromaholik-lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 32px;
    }

    .aromaholik-lightbox-prev,
    .aromaholik-lightbox-next {
        font-size: 36px;
        top: 50%;
        transform: translateY(-50%);
    }

    .aromaholik-lightbox-prev:hover,
    .aromaholik-lightbox-next:hover {
        transform: translateY(-50%) scale(1.05);
    }
}

@media (max-width: 480px) {
    .aromaholik-lightbox-image-wrap {
        flex: 0 0 250px;
        max-height: 250px;
    }

    .aromaholik-lightbox-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .aromaholik-review-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .aromaholik-review-date {
        text-align: left;
    }
}