/* Ürün düğmeleri (WP-ACTIONS; <x-frontend.product.actions>). Statik dosya: Vite derlemesi yok.
   Yalnız düğmeleri olan ürün sayfalarında yüklenir. Renkler vitrin değişkenlerinden, yoksa sabit karşılığı
   (yönetim önizlemesi aynı dosyayı kullanır). AA karşıtlık: yeşil #007a3d / beyaz, siyah rozet / beyaz. */

.prod-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    min-width: 0;
}

.prod-actions-row--hero { margin-top: 2px; }

.prod-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    max-width: 100%;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background-color .15s ease, border-color .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.prod-action:hover { transform: translateY(-1px); text-decoration: none; }
.prod-action:focus-visible { outline: 3px solid rgba(26, 115, 232, .45); outline-offset: 2px; }
.prod-action .bi { font-size: 16px; flex-shrink: 0; }
.prod-action__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* Ana: eski "Demo Talep Et" düğmesiyle aynı yeşil. */
.prod-action--primary {
    background: var(--goog-green-dark, #007a3d);
    color: #fff;
}
.prod-action--primary:hover { color: #fff; background: #006834; box-shadow: 0 4px 12px rgba(0, 122, 61, .28); }

/* İkincil: çerçeveli. */
.prod-action--secondary {
    background: var(--goog-surface, #fff);
    color: var(--goog-on-surface, #202124);
    border-color: var(--goog-border, #dadce0);
}
.prod-action--secondary:hover { color: var(--goog-on-surface, #202124); border-color: #9aa0a6; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }

/* Mağaza rozeti: koyu hap, iki satır ("Download on the" / "App Store"), 44 px. */
.prod-action--badge {
    background: #000;
    color: #fff;
    border-color: #000;
    border-radius: 10px;
    padding: 0 16px 0 14px;
    gap: 10px;
}
.prod-action--badge:hover { color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.prod-action--badge .bi { font-size: 22px; }
.prod-action__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.prod-action__stack small { font-size: 10.5px; font-weight: 500; letter-spacing: .2px; opacity: .9; }
.prod-action__stack b { font-size: 16px; font-weight: 700; letter-spacing: -.2px; }

.prod-action--k-whatsapp .bi { color: #25d366; }
.prod-action--primary.prod-action--k-whatsapp .bi,
.prod-action--badge.prod-action--k-whatsapp .bi { color: inherit; }

/* Fiyat kartında (dikey düzen) düğmeler tam genişlik; rozetler yan yana. */
.prod-actions .prod-actions-row--hero .prod-action:not(.prod-action--badge),
.prod-price-card .prod-actions-row--hero .prod-action:not(.prod-action--badge) { flex: 1 1 100%; }

/* Kapanış kutusu (koyu zemin): ikincil düğme beyaz hap. */
.prod-cta .prod-actions-row--cta .prod-action--secondary { background: #fff; color: var(--goog-on-surface, #202124); border-color: #fff; }
.prod-cta .prod-actions-row--cta .prod-action--primary { background: #fff; color: var(--goog-green-dark, #007a3d); }
.prod-cta .prod-actions-row--cta .prod-action--primary:hover { background: var(--goog-surface-2, #f1f3f4); }
.prod-cta-actions .prod-actions-row { display: contents; }

/* "Demoyu inceleyin" kartı <button> olduğunda bağlantı kartıyla aynı görünsün. */
button.demo-link-card.prod-action-card { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }

@media (max-width: 575.98px) {
    .prod-actions-row { gap: 8px; }
    .prod-action:not(.prod-action--badge) { flex: 1 1 100%; }
    .prod-action--badge { flex: 1 1 calc(50% - 4px); justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .prod-action { transition: none; }
    .prod-action:hover { transform: none; }
}
