/* Shared base of giftcard.css: the rules every theme has in common. ThemeAssetTagHelper links this file right before the
   theme's own giftcard.css, so a theme rule wins on equal specificity. A fix for all themes goes here; a theme-only change
   goes into the theme's file (Themes/README.md, "Ortak CSS tabanı"). */

/* Gift card purchase box (product page partial), tender rows in the checkout summary, loyalty points page. */
.gc-visual-name { font-size: 20px; line-height: 1.2; }
.gc-visual-amount { font-size: 30px; line-height: 1; }

.tender-row { display: flex; gap: 8px; }
.tender-row .input { flex: 1; min-width: 0; }
/* Same shape as the coupon row next to it. */
.tender-row .btn { min-height: 48px; border-radius: var(--radius-sm); padding: 0 18px; }
.tender-applied { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ok-bg); color: var(--ok); border-radius: var(--radius-sm); padding: 10px 14px; font-weight: var(--fw-semibold, 600); }
.tender-applied button { border: 0; background: none; color: inherit; font: var(--fw-semibold, 600) 14px var(--font-body); cursor: pointer; text-decoration: underline; min-height: 32px; }
.points-box .check { margin: 0; }
.summary .r.tender span:last-child { color: var(--ok, #2F6B4F); }
.summary .r.due { font-weight: var(--fw-bold, 700); }

.points-hero { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.points-hero b { font-size: 40px; line-height: 1; }
.points-hero b.minus { color: var(--err, #B42318); }
.points-history { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line, #E3DED6); padding-top: 10px; }
/* The amount stays top right on every line (a theme's global ".row { flex-wrap: wrap }" would drop it under long labels). */
.points-history .row { display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.points-history .row > span { flex: 1; min-width: 0; }
.points-history .row > b { flex-shrink: 0; margin-left: auto; white-space: nowrap; }
.points-history .plus { color: var(--ok, #2F6B4F); }
.points-history .minus { color: var(--err, #B42318); }

/* Gift card shown as the product picture (no product photo). */
.gc-visual-hero .gc-visual-name { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); }
.gc-visual-hero .gc-visual-amount { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); }
