/* ============================================================
   AZNABA — Product Reviews
   ============================================================ */

/* ---- Inline star display (used everywhere) ---- */

.az-stars {
    display: inline-flex;
    gap: 1px;
    line-height: 1;
    vertical-align: middle;
}

/* ---- Compact rating link on product page ---- */

.product-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 12px;
}

.product-rating-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
}

.product-rating-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #888;
}

/* ---- Rating badge on collection page product cards ---- */

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

.product-card-rating-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: #888;
}

/* ---- Full reviews section ---- */

.az-reviews-section {
    padding: 56px 24px 72px;
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid #f0f0f0;
}

.az-reviews-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.az-reviews-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0;
}

.az-reviews-avg {
    display: flex;
    align-items: center;
    gap: 8px;
}

.az-reviews-avg-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.az-reviews-avg-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #888;
}

.az-reviews-none {
    font-size: 13px;
    color: #aaa;
    margin: 0;
}

.az-write-review-btn {
    margin-left: auto;
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 11px 22px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.az-write-review-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ---- Individual review ---- */

.az-reviews-list {
    margin-bottom: 0;
}

.az-review-item {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
}

.az-review-item:first-child {
    border-top: 1px solid #f0f0f0;
}

.az-review-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.az-review-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
}

.az-verified-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: #2e7d32;
    background: #f0f8f0;
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 0.3px;
}

.az-review-date {
    font-size: 11px;
    color: #bbb;
    margin-left: auto;
}

.az-review-text {
    font-size: 13px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* ---- Review form ---- */

.az-review-form-wrap {
    margin-top: 44px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.az-review-form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 32px;
}

.az-form-group {
    margin-bottom: 20px;
}

.az-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.az-form-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.az-req { color: #e53e3e; }

.az-form-input,
.az-form-textarea {
    width: 100%;
    padding: 11px 13px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    border: 1px solid #ddd;
    background: #fff;
    color: #1a1a1a;
    box-sizing: border-box;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.az-form-input:focus,
.az-form-textarea:focus {
    border-color: #1a1a1a;
}

.az-form-note {
    font-size: 11px;
    color: #bbb;
    margin: 5px 0 0;
}

/* ---- Interactive star picker ---- */

.az-star-picker {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}

.az-star-pick {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 30px;
    color: #ddd;
    padding: 0;
    line-height: 1;
    transition: color 0.1s;
}

.az-star-pick:hover,
.az-star-pick.selected {
    color: #c8a96e;
}

/* ---- Submit button ---- */

.az-review-submit-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 32px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 6px;
}

.az-review-submit-btn:hover   { background: #333; }
.az-review-submit-btn:disabled { background: #aaa; cursor: default; }

.az-review-msg {
    margin: 14px 0 0;
    font-size: 13px;
    min-height: 18px;
    font-family: 'Montserrat', sans-serif;
}

.az-msg-success { color: #2e7d32; }
.az-msg-error   { color: #c62828; }

/* ---- Admin product list: Rating column ---- */

.col-rating { width: 90px; text-align: center; }

.aznaba-pl-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    white-space: nowrap;
}

.aznaba-pl-rating-stars {
    font-size: 13px;
    color: #c8a96e;
    font-weight: 700;
}

.aznaba-pl-rating-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: #aaa;
}

.aznaba-pl-no-rating {
    color: #ccc;
    font-size: 14px;
}

/* ---- Responsive ---- */

@media (max-width: 600px) {
    .az-form-row          { grid-template-columns: 1fr; }
    .az-write-review-btn  { margin-left: 0; width: 100%; }
    .az-reviews-header    { gap: 12px; }
}
