/* ==========================================================================
   Tabipler Market — Ürün detay sayfası
   Mevcut tasarım sistemini (renk, tipografi, radius, buton, container) kullanır.
   Yeni bir tasarım dili tanımlanmaz.
   ========================================================================== */

.pd-page { padding-top: 22px; padding-bottom: 80px; }

/* --- Ana bölüm: galeri + panel ------------------------------------------- */
.pd-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}

/* Masaüstünde panel sticky — header (sticky, ~72px) ile çakışmaz */
.pd-hero__panel {
    position: sticky;
    top: 96px;
}

/* ==========================================================================
   GALERİ
   ========================================================================== */
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }

.pd-gallery__main {
    position: relative;
    aspect-ratio: 1 / 1;          /* sabit oran → layout shift yok */
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
}
.pd-gallery__slide {
    position: absolute;
    inset: 0;
    display: none;
}
.pd-gallery__slide.is-active { display: block; }
.pd-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }

/* Önceki / sonraki */
.pd-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(252, 251, 247, 0.92);
    border: 1px solid var(--border);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.pd-gallery__nav:hover { background: var(--card); border-color: var(--green); color: var(--green); }
.pd-gallery__nav--prev { left: 12px; }
.pd-gallery__nav--next { right: 12px; }

.pd-gallery__zoom {
    position: absolute;
    right: 12px; bottom: 12px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(252, 251, 247, 0.92);
    border: 1px solid var(--border);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.pd-gallery__zoom:hover { border-color: var(--green); color: var(--green); }

/* Thumbnail'lar */
.pd-gallery__thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.pd-gallery__thumb {
    flex: 0 0 auto;
    width: 78px; height: 78px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    overflow: hidden;
    cursor: pointer;
}
.pd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__thumb:hover { border-color: var(--green); }
.pd-gallery__thumb.is-active {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(49, 92, 69, 0.25);
}

/* Lightbox */
.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(32, 42, 36, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.pd-lightbox[hidden] { display: none; }
.pd-lightbox.is-open { opacity: 1; }
.pd-lightbox__content {
    max-width: min(900px, 92vw);
    max-height: 88vh;
    width: 100%;
}
.pd-lightbox__figure {
    aspect-ratio: 1 / 1;
    max-height: 88vh;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
}
.pd-lightbox__figure img { width: 100%; height: 100%; object-fit: contain; background: var(--card); }
.pd-lightbox__figure .ph { width: 100%; height: 100%; }
.pd-lightbox__close {
    position: absolute;
    top: 18px; right: 18px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.pd-lightbox__close:hover { color: var(--accent); }

/* ==========================================================================
   SATIN ALMA PANELİ
   ========================================================================== */
.pd-panel { display: flex; flex-direction: column; gap: 14px; }

.pd-panel__cat {
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted-2);
}
.pd-panel__cat:hover { color: var(--green); }

.pd-panel__title {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 34px;
    line-height: 1.2;
    color: var(--ink);
    text-wrap: pretty;
    overflow-wrap: anywhere;   /* uzun ürün adları taşmasın */
}

.pd-panel__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 13px;
    color: var(--muted);
}
.pd-panel__meta-label { color: #8A937F; }

.pd-panel__badges {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.badge--soft {
    background: var(--cream);
    color: var(--green);
    border: 1px solid var(--border);
}

/* Fiyat */
.pd-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 16px 0 12px;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.pd-price__current {
    margin: 0;
    width: 100%;
    order: 2;
    font-size: 30px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}
.pd-price__old {
    order: 1;
    font-size: 16px;
    color: #9AA292;
    text-decoration: line-through;
}
.pd-price .badge--discount { order: 1; }
.pd-price__unit { order: 3; margin: 0; width: 100%; font-size: 13px; color: var(--muted); }

/* Net miktar + stok */
.pd-panel__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    font-size: 14px;
    color: var(--muted);
}
.pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
}
.pd-stock__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.pd-stock--in_stock    { color: #2F6B45; }
.pd-stock--low_stock   { color: var(--accent); }
.pd-stock--out_of_stock{ color: #8A6B60; }

.pd-panel__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #4A554C;
    text-wrap: pretty;
}

/* Aksiyonlar */
.pd-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

/* Sepete ekle formu — miktar seçici ve buton birlikte */
.pd-actions__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex: 1 1 100%;
}

.pd-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    overflow: hidden;
    flex-shrink: 0;
}
.pd-qty__btn {
    width: 44px; height: 48px;
    border: none;
    background: none;
    font-size: 20px;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
}
.pd-qty__btn:hover:not(:disabled) { background: #F0EDE1; color: var(--green); }
.pd-qty__btn:disabled { color: #B3B9AE; cursor: not-allowed; }
.pd-qty__input {
    width: 52px;
    height: 48px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    background: none;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    -moz-appearance: textfield;
    appearance: textfield;
}
.pd-qty__input::-webkit-outer-spin-button,
.pd-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-qty.is-disabled { opacity: 0.6; }

.pd-actions__add {
    flex: 1;
    min-width: 190px;
    min-height: 48px;
    justify-content: center;
}

.pd-actions__buy {
    min-height: 48px;
    justify-content: center;
}

.pd-actions__form.is-loading { opacity: 0.65; pointer-events: none; }

.pd-fav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}
.pd-fav:hover { border-color: var(--accent); color: var(--accent); }
.pd-fav.is-active { border-color: var(--accent); color: var(--accent); }
.pd-fav.is-active svg { fill: var(--accent); }

/* Stok bildirimi (yalnızca görsel) */
.pd-notify {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
}
.pd-notify__text { margin: 0 0 10px; font-size: 14px; color: var(--muted); }

/* Güven / teslimat listesi */
.pd-assurance {
    list-style: none;
    margin: 6px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pd-assurance li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}
.pd-assurance svg { flex-shrink: 0; color: var(--muted-2); margin-top: 1px; }

/* ==========================================================================
   İÇERİK BÖLÜMLERİ
   ========================================================================== */
.pd-body { max-width: 900px; }

.pd-section { margin-bottom: 52px; }
.pd-section__title {
    margin: 0 0 20px;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 26px;
    color: var(--ink);
}

/* Özet özellik kartları */
.pd-facts {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.pd-fact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.pd-fact__icon { color: var(--muted-2); display: flex; flex-shrink: 0; margin-top: 1px; }
.pd-fact__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pd-fact__label { font-size: 11.5px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.pd-fact__value { font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* Özellik listesi */
.pd-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}
.pd-features__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    color: #3D473F;
}
.pd-features__item svg { flex-shrink: 0; }

/* İçerik bölümleri — masaüstünde açık, mobilde accordion */
.pd-details { display: flex; flex-direction: column; gap: 4px; }
.pd-detail { border-bottom: 1px solid var(--border-soft); }
.pd-detail__heading { margin: 0; }
.pd-detail__toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: default;          /* masaüstünde tıklanabilir görünmesin */
    text-align: left;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}
.pd-detail__toggle svg { display: none; flex-shrink: 0; transition: transform 0.2s ease; }
.pd-detail__body {
    padding-bottom: 18px;
    font-size: 15px;
    line-height: 1.75;
    color: #4A554C;
}
.pd-detail__body p { margin: 0; text-wrap: pretty; }

/* ==========================================================================
   ÜRETİCİ
   ========================================================================== */
.pd-producer__card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    padding: 24px;
}
.pd-producer__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pd-producer__avatar {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--cream);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-producer__name { margin: 0; font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.pd-producer__region {
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    color: var(--muted-2);
}
.pd-producer__story { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: #4A554C; text-wrap: pretty; }
.pd-producer__approach {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 14px 16px;
}
.pd-producer__approach-title {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted-2);
    font-weight: 700;
}
.pd-producer__approach p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4A554C; }
.pd-producer__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 14.5px;
    font-weight: 600;
    min-height: 44px;
}

/* ==========================================================================
   KARGO VE İADE
   ========================================================================== */
.pd-shipping {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.pd-shipping__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.pd-shipping__icon { color: var(--muted-2); display: flex; flex-shrink: 0; margin-top: 1px; }
.pd-shipping__title { display: block; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.pd-shipping__text { display: block; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.pd-shipping__links { margin: 0; font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   BENZER ÜRÜNLER
   ========================================================================== */
.pd-related { margin-top: 8px; }
.product-grid--related { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .pd-hero { gap: 36px; }
    .pd-panel__title { font-size: 30px; }
}

@media (max-width: 1023px) {
    /* Tek sütuna geç, sticky panel kapansın */
    .pd-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 40px;
    }
    .pd-hero__panel { position: static; }
    .pd-hero__media { max-width: 560px; }

    .pd-facts { grid-template-columns: repeat(2, 1fr); }
    .product-grid--related { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 759px) {
    .pd-page { padding-top: 14px; padding-bottom: 56px; }

    .pd-panel__title { font-size: 25px; }
    .pd-price__current { font-size: 26px; }
    .pd-section__title { font-size: 22px; }
    .pd-section { margin-bottom: 40px; }

    .pd-gallery__thumb { width: 64px; height: 64px; }
    .pd-gallery__nav { width: 40px; height: 40px; }

    /* Miktar seçici + sepete ekle rahat kullanılsın */
    .pd-actions { gap: 10px; }
    .pd-qty { flex: 0 0 auto; }
    .pd-actions__add { flex: 1 1 auto; min-width: 0; }
    .pd-fav { width: 100%; }

    .pd-facts { grid-template-columns: 1fr; }
    .pd-features { grid-template-columns: 1fr; }
    .pd-shipping { grid-template-columns: 1fr; }

    /* Benzer ürünler mobilde 2 sütun */
    .product-grid--related { grid-template-columns: 1fr 1fr; gap: 14px; }

    /* ---- İçerik bölümleri mobilde ACCORDION ----
       İçerik ilk HTML çıktısında yer alır; yalnızca görsel olarak katlanır. */
    .pd-detail__toggle { cursor: pointer; min-height: 44px; }
    .pd-detail__toggle svg { display: block; }
    .pd-detail.is-open .pd-detail__toggle svg { transform: rotate(180deg); }
    .pd-detail__body {
        max-height: 0;
        overflow: hidden;
        padding-bottom: 0;
        transition: max-height 0.28s ease, padding-bottom 0.28s ease;
    }
    .pd-detail.is-open .pd-detail__body {
        max-height: 1500px;
        padding-bottom: 18px;
    }
}

@media (max-width: 399px) {
    .pd-panel__title { font-size: 22px; }
    .product-grid--related { grid-template-columns: 1fr; }
    .pd-actions__add { width: 100%; }
    .pd-actions__buy { width: 100%; }
    .pd-qty { width: 100%; justify-content: space-between; }
    .pd-qty__input { flex: 1; }
}

/* Hareket azaltma tercihi (style.css'teki genel kural bu sayfada da geçerlidir) */
@media (prefers-reduced-motion: reduce) {
    .pd-detail__body,
    .pd-lightbox,
    .pd-detail__toggle svg { transition: none !important; }
}

/* ==========================================================================
   DEĞERLENDİRMELER (Aşama 9)
   Bu bölüm KENDİ KENDİNE YETERLİDİR: checkout.css'e bağımlı değildir
   (ürün detay sayfası yalnızca shop.css + product-detail.css yükler).
   ========================================================================== */
.pd-reviews { scroll-margin-top: 100px; }

/* --- Özet: ortalama + dağılım ------------------------------------------- */
.review-summary {
    display: grid;
    grid-template-columns: minmax(150px, auto) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 22px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    margin-bottom: 24px;
}
.review-summary__score { text-align: center; }
.review-summary__score strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 44px;
    line-height: 1;
    color: var(--ink);
}
.review-summary__score .review-stars { margin-top: 6px; }
.review-summary__score small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }

.review-stars { display: inline-flex; gap: 3px; }
.review-star { color: #DCD7C6; font-size: 17px; line-height: 1; }
.review-star.is-filled { color: #E0A93B; }

.review-distribution { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.review-distribution li {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 30px;
    gap: 12px;
    align-items: center;
    font-size: 12.5px;
    color: var(--muted);
}
.review-distribution__bar { display: block; height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.review-distribution__bar span { display: block; height: 100%; background: #E0A93B; border-radius: 999px; }
.review-distribution__count { text-align: right; font-variant-numeric: tabular-nums; }

.review-empty,
.review-login-note {
    margin: 0 0 22px;
    padding: 16px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14.5px;
    color: var(--muted);
}

/* --- Kullanıcının kendi yorumu ------------------------------------------ */
.review-own {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--cream);
    margin-bottom: 24px;
}
.review-own > p:first-child {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14.5px;
}
.review-own__body { margin: 0 0 6px; font-size: 14.5px; line-height: 1.65; color: #4A554C; }
.review-own small { font-size: 12.5px; color: var(--muted); }

/* --- Değerlendirme yazma formu ------------------------------------------ */
.review-form {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    background: var(--card);
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.review-form__title {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 21px;
    color: var(--ink);
}
.review-form__note {
    margin: -8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.review-field { display: flex; flex-direction: column; gap: 7px; }
.review-field__label {
    padding: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}
.review-req { color: var(--accent); }
.review-optional { font-weight: 400; font-size: 12.5px; color: var(--muted-2); }
.review-hint { margin: 0; font-size: 12.5px; color: var(--muted-2); }

.review-input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--ink);
}
.review-input::placeholder { color: #9AA292; }
.review-input:focus { background: var(--card); outline: 2px solid var(--green); outline-offset: 1px; }
.review-textarea { min-height: 110px; resize: vertical; line-height: 1.6; }

/* Yildiz secimi: DOM 5-1, gorsel 1-5 (row-reverse) */
.review-rating { border: none; margin: 0; padding: 0; }
.review-rating__stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 8px;
}
.review-rating__stars input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.review-rating__stars label {
    font-size: 30px;
    line-height: 1;
    color: #DCD7C6;
    cursor: pointer;
    padding: 4px 2px;
    min-width: 40px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.15s ease;
}
.review-rating__stars input:checked + label,
.review-rating__stars input:checked + label ~ label { color: #E0A93B; }
.review-rating__stars label:hover,
.review-rating__stars label:hover ~ label { color: #E0A93B; transform: scale(1.06); }
.review-rating__stars input:focus-visible + label {
    outline: 2px solid var(--green);
    outline-offset: 2px;
    border-radius: 6px;
}

.review-form__submit { align-self: flex-start; min-height: 48px; }

/* --- Yorum listesi ------------------------------------------------------- */
.review-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.review-item {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    background: var(--card);
}
.review-item__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.review-item__title { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
.review-item__body { margin: 0 0 12px; font-size: 14.5px; line-height: 1.7; color: #4A554C; overflow-wrap: anywhere; }
.review-item__meta { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.review-item__reply {
    margin-top: 14px;
    padding: 14px 16px;
    background: var(--bg);
    border-left: 3px solid var(--green);
    border-radius: 0 10px 10px 0;
    font-size: 13.5px;
}
.review-item__reply strong { color: var(--green); }
.review-item__reply p { margin: 5px 0 0; color: #4A554C; line-height: 1.6; }

.review-item__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.review-item__actions form { margin: 0; }
.review-action-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 16px;
    min-height: 40px;
    font: inherit;
    font-size: 13px;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.review-action-btn:hover { border-color: var(--green); color: var(--green); }
.review-action-btn--muted { color: var(--muted); }
.review-action-btn--muted:hover { border-color: var(--accent); color: var(--accent); }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 759px) {
    .review-summary { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
    .review-form { padding: 18px; gap: 16px; }
    .review-input { font-size: 16px; }
    .review-rating__stars label { font-size: 34px; min-width: 44px; }
    .review-form__submit { align-self: stretch; justify-content: center; }
    .review-item { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .review-rating__stars label { transition: none !important; }
    .review-rating__stars label:hover,
    .review-rating__stars label:hover ~ label { transform: none; }
}
