/* Customer story cards, shared across every review surface. */
.yc-story-card,.yc-story-card.yc-sg-card{display:flex;flex-direction:column;height:100%;min-width:0;margin:0;border:1px solid var(--yc-border-soft);border-radius:20px;overflow:hidden;background:var(--yc-surface);box-shadow:none;transition:none}
.yc-story-card.yc-sg-card:hover{border-color:var(--yc-border-soft)}
.yc-story-card{scroll-margin-top:calc(var(--header-height,160px) + 16px)}
.yc-story-media{position:relative;aspect-ratio:4/5;width:100%;background:var(--yc-surface-alt);overflow:hidden}
.yc-story-media>a,.yc-story-media>button{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer}
.yc-story-media img{display:block;width:100%;height:100%;object-fit:contain;transform:none;transition:none}
.yc-story-stars{position:absolute;left:10px;bottom:10px;z-index:1;display:inline-flex;padding:5px 7px;border-radius:999px;background:color-mix(in srgb,var(--yc-surface) 94.9%,transparent);line-height:1}
.yc-story-stars.is-inline{position:static;align-self:flex-start;padding:0;background:none}
.yc-story-photo-count{position:absolute;right:10px;top:10px;display:flex;align-items:center;gap:4px;padding:5px 8px;border-radius:999px;background:color-mix(in srgb,var(--yc-inverse-bg) 72.16%,transparent);color:var(--yc-inverse-text);font-size:11px;pointer-events:none}
.yc-story-card .yc-story-body{display:flex;flex:1;flex-direction:column;gap:10px;min-width:0;padding:12px}
.yc-story-person{display:inline-flex;align-items:center;align-self:flex-start;gap:8px;max-width:100%;padding:4px 12px 4px 4px;border:1.5px solid var(--yc-success);border-radius:999px}
.yc-story-avatar{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--yc-success);color:var(--yc-inverse-text);font-size:11px;font-weight:800}
.yc-story-person strong{min-width:0;font-size:13px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.yc-story-meta{display:flex;flex-wrap:wrap;gap:5px 10px;font-size:10px;color:var(--yc-text-soft)}
.yc-story-meta>span{display:flex;align-items:center;gap:3px;color:var(--yc-success-strong)}
.yc-story-card .yc-story-text{margin:0;font-size:13px;line-height:1.5;color:var(--yc-muted);overflow-wrap:anywhere}
.yc-story-text p{margin:0 0 6px;font-size:inherit}
.yc-story-text p:last-child{margin:0}
.yc-story-text summary{list-style:none;cursor:pointer}
.yc-story-text summary::-webkit-details-marker{display:none}
.yc-story-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.yc-story-more{display:block;margin-top:6px;font-size:11px;color:var(--yc-muted);text-decoration:underline}
.yc-story-text[open] .yc-story-preview{display:none}
.yc-story-text[open] .yc-story-more{font-size:0;margin:0 0 8px}
.yc-story-text[open] .yc-story-more::after{content:'Yorumu kapat';font-size:11px}
.yc-story-product{display:flex;align-items:center;gap:8px;min-width:0;margin-top:auto;padding:8px;border-radius:12px;background:var(--yc-surface-alt);color:var(--yc-text)}
.yc-story-product img{flex:0 0 34px;width:34px;height:34px;border-radius:8px;object-fit:contain;background:var(--yc-surface)}
.yc-story-product>span{min-width:0;font-size:12px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.yc-story-product>.micon{margin-left:auto;font-size:12px;flex-shrink:0;color:var(--yc-icon-color)}
.yc-story-card :is(a,button,summary):focus-visible{outline:2px solid var(--yc-primary);outline-offset:-2px}
.yc-home-story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.yc-sg-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.yc-sg-feature-grid .yc-story-media{max-height:360px}
.yc-review-list:has(.yc-story-card){grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.yc-review-list>.yc-review-card{min-width:0;height:100%}
@media(max-width:1024px){.yc-home-story-grid,.yc-sg-feature-grid,.yc-review-list:has(.yc-story-card){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .yc-home-story-grid,.yc-sg-feature-grid,.yc-review-list:has(.yc-story-card){gap:10px}
 .yc-story-card,.yc-story-card.yc-sg-card{border-radius:16px}
 .yc-story-card .yc-story-body{padding:10px;gap:8px}
 .yc-story-person{gap:5px;padding:3px 8px 3px 3px}
 .yc-story-person strong{font-size:11px}
 .yc-story-avatar{flex-basis:24px;width:24px;height:24px;font-size:10px}
 .yc-story-product{gap:6px;padding:7px;flex-wrap:wrap}
 .yc-story-product img{flex-basis:28px;width:28px;height:28px}
 .yc-story-product>span{flex:1 1 60px;font-size:11px}
 .yc-story-product>.micon{display:none}
 .yc-story-stars{left:7px;bottom:7px;padding:4px 6px}
}

/* Shared, honest purchase verification with a compact touch target. */
.yc-review-purchase-badge{display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;width:fit-content;max-width:100%;min-height:30px;margin:3px 0 0;padding:5px 8px;border:1px solid var(--yc-border-soft);border-radius:7px;background:var(--yc-surface-alt);color:var(--yc-muted);font-family:var(--yc-font-body);font-size:10px;font-weight:500;line-height:1.4;text-align:left;cursor:pointer}
.yc-review-purchase-badge.is-verified{color:var(--yc-success-strong);border-color:color-mix(in srgb,var(--yc-success) 20%,var(--yc-border-soft));background:color-mix(in srgb,var(--yc-success) 5%,var(--yc-surface))}
.yc-review-purchase-badge>.micon{font-size:12px;flex-shrink:0}.yc-review-purchase-badge>span{min-width:0;overflow-wrap:anywhere}.yc-review-purchase-badge>.yc-review-badge-arrow{font-size:9px;margin-left:auto}
.yc-review-purchase-badge:hover{border-color:var(--yc-border);color:var(--yc-text)}
.yc-review-purchase-badge:focus-visible{outline:2px solid var(--yc-text);outline-offset:2px}
.yc-story-meta:has(.yc-review-purchase-badge){flex-direction:column;align-items:flex-start;gap:3px}
.yc-review-verification-intro{display:flex;align-items:center;gap:12px;margin:16px 0;padding:14px;border:1px solid var(--yc-border-soft);border-radius:var(--yc-radius-md);background:var(--yc-surface-alt)}
.yc-review-verification-intro>.micon{font-size:22px;flex-shrink:0;color:var(--yc-text)}
.yc-review-verification-intro>strong{font-size:var(--yc-sheet-copy);line-height:1.5}
.yc-sheet-body a{overflow-wrap:anywhere}
/* Score and distribution stay aligned independently of review-card styles. */
.yc-buy #yc-reviews .yc-rating-overview{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr);gap:24px;padding:24px;border:1px solid var(--yc-border-soft);border-radius:var(--yc-radius-md);background:var(--yc-surface);min-width:0}
.yc-rating-score{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.yc-rating-eyebrow{font-size:12px;font-weight:600;color:var(--yc-muted)}
.yc-rating-value{display:flex;align-items:baseline;gap:6px}.yc-rating-value>strong{font-size:38px;font-weight:700;line-height:1.15;letter-spacing:-.035em;color:var(--yc-text)}.yc-rating-value>span{font-size:13px;color:var(--yc-muted)}
.yc-rating-score>p{margin:0;font-size:11px;color:var(--yc-muted)}
.yc-rating-distribution{display:grid;gap:10px;align-content:center;min-width:0}
.yc-rating-row{display:grid;grid-template-columns:28px minmax(0,1fr) 34px;align-items:center;gap:10px;font-size:11px;line-height:1.4;color:var(--yc-muted)}
.yc-rating-row>span:first-child{display:flex;align-items:center;gap:5px}.yc-rating-row .micon{font-size:10px}.yc-rating-percent{text-align:right;font-variant-numeric:tabular-nums}
.yc-rating-track{display:block;height:6px;border-radius:99px;background:var(--yc-surface-alt);overflow:hidden}.yc-rating-track>span{display:block;height:100%;border-radius:inherit;background:var(--yc-success)}
.yc-rating-footnote{grid-column:1/-1;display:flex;align-items:flex-start;gap:7px;border-top:1px solid var(--yc-border-soft);padding-top:14px;margin:0;font-size:11px;line-height:1.55;color:var(--yc-muted)}
.yc-rating-footnote>.micon{flex-shrink:0;font-size:13px;margin-top:2px}
.yc-buy #yc-reviews .yc-rating-overview.is-empty{grid-template-columns:minmax(0,1fr);gap:16px}
.yc-rating-empty{display:flex;gap:14px;align-items:flex-start}.yc-rating-empty-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:12px;background:var(--yc-surface-alt);color:var(--yc-muted);font-size:22px}
.yc-buy #yc-reviews .yc-rating-empty h3{font-size:16px;line-height:1.4;margin:5px 0 7px}.yc-rating-empty p{font-size:12px;line-height:1.6;color:var(--yc-muted);margin:0;max-width:540px}
@media(max-width:600px){.yc-buy #yc-reviews .yc-rating-overview{grid-template-columns:minmax(0,1fr);padding:16px;gap:18px}.yc-rating-score{align-items:center;text-align:center}.yc-rating-value>strong{font-size:34px}.yc-rating-empty{gap:10px}.yc-rating-empty-icon{flex-basis:36px;height:36px;font-size:19px}.yc-buy #yc-reviews .yc-rating-empty h3{font-size:15px}.yc-review-meta .yc-review-purchase-badge{font-size:9px;padding:4px 6px}}

@media(max-width:640px){.yc-story-card .yc-review-purchase-badge{font-size:9px;gap:4px;padding:5px 6px}.yc-story-card .yc-review-purchase-badge>.micon{font-size:10px}.yc-story-card .yc-review-purchase-badge>.yc-review-badge-arrow{font-size:8px}}

/* Product review cards: compact mobile header, shared content edges, four-photo rail. */
@media(max-width:900px){
 .yc-buy #yc-reviews .yc-review-list{grid-template-columns:minmax(0,1fr);gap:12px}
 .yc-buy #yc-reviews .yc-review-list>.yc-review-card:only-child{width:100%;max-width:none}
 .yc-buy #yc-reviews .yc-review-card-in{padding:16px;border:1px solid var(--yc-border-soft);border-radius:var(--yc-radius-md,12px);background:var(--yc-surface);box-shadow:none;min-width:0}
 .yc-buy #yc-reviews .yc-review-head{display:grid;grid-template-columns:36px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;row-gap:3px;align-items:center;margin:0 0 12px}
 .yc-buy #yc-reviews .yc-review-avatar{grid-column:1;grid-row:1/3;width:36px;height:36px;border:1px solid var(--yc-border-soft);border-radius:50%;background:var(--yc-surface-alt);color:var(--yc-text);font-size:12px;font-weight:600}
 .yc-buy #yc-reviews .yc-review-meta{display:contents}
 .yc-buy #yc-reviews .yc-review-author{grid-column:2;grid-row:1;align-self:end;min-width:0;font-size:calc(var(--yc-font-size-mobile,16px)*.8125);font-weight:600;line-height:1.35;overflow-wrap:anywhere}
 .yc-buy #yc-reviews .yc-review-date{grid-column:2;grid-row:2;align-self:start;font-size:calc(var(--yc-font-size-mobile,16px)*.625);line-height:1.4;color:var(--yc-muted)}
 .yc-buy #yc-reviews .yc-review-stars-wrap{grid-column:3;grid-row:1/3;align-self:center;justify-self:end;margin:0}
 .yc-buy #yc-reviews .yc-review-stars-wrap .yc-stars{gap:2px;white-space:nowrap}
 .yc-buy #yc-reviews .yc-review-stars-wrap .yc-star{font-size:12px;line-height:1}
 .yc-buy #yc-reviews .yc-review-meta>.yc-review-purchase-badge{grid-column:1/-1;grid-row:3;justify-self:stretch;box-sizing:border-box;width:100%;margin:8px 0 0;min-height:30px;padding:5px 8px;font-size:calc(var(--yc-font-size-mobile,16px)*.625);line-height:1.4;border-radius:7px}
 .yc-buy #yc-reviews .yc-review-body{font-size:calc(var(--yc-font-size-mobile,16px)*.8125);line-height:1.65;overflow-wrap:anywhere;color:var(--yc-text)}
 .yc-buy #yc-reviews .yc-review-body p{font-size:inherit;line-height:inherit;margin:0}
 .yc-buy #yc-reviews .yc-review-body p+p{margin-top:8px}
 .yc-buy #yc-reviews .yc-review-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;max-width:280px;margin:12px 0 0}
 .yc-buy #yc-reviews .yc-review-photo{display:block;width:100%;height:auto;aspect-ratio:1;min-width:0;border:1px solid var(--yc-border-soft);border-radius:8px;overflow:hidden;background:var(--yc-surface-alt)}
 .yc-buy #yc-reviews .yc-review-photo img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;min-width:0;object-fit:cover}
}
