.kmc-overlay{position:fixed;inset:0;background:#0008;display:grid;place-items:center;z-index:99990;padding:16px}.kmc-modal{background:#fff;color:#171717;border-radius:14px;width:min(420px,100%);max-height:90vh;overflow:auto;padding:24px;position:relative;text-align:center;box-shadow:0 12px 50px #0004}.kmc-close{position:absolute;right:8px;top:8px;background:none;color:#222;border:0;font-size:24px}.kmc-type{color:#bd1829;font-weight:700;letter-spacing:.08em}.kmc-value{display:block;font-size:1.8rem;color:#bd1829}.kmc-cover{max-width:90px;max-height:135px;object-fit:contain;margin:10px auto}.kmc-conditions{text-align:left;font-size:.88rem;margin:12px 0}.kmc-claim,.kmc-account{background:#bd1829;color:white;border-radius:6px;padding:10px 16px;display:block;width:100%;text-decoration:none}.kmc-badge{display:inline-block;background:#171717;color:#fff;border-radius:4px;padding:3px 8px;font-size:.75rem}.kmc-product-offer{border:1px solid #bd1829;border-radius:8px;padding:12px;margin:10px 0}.kmc-product-offer small{display:block}.kmc-msg{overflow-wrap:anywhere}
.kmc-test-bar{position:fixed;top:32px;left:0;right:0;z-index:100000;background:#bd1829;color:white;padding:9px 14px;text-align:center;font-weight:700}.kmc-test-bar button,.kmc-test-bar a{display:inline-block;background:white;color:#151515;padding:5px 10px;border:0;border-radius:5px;margin:2px 5px;text-decoration:none}.kmc-test-note{font-size:12px;color:#555}.kmc-overlay .kmc-modal{box-sizing:border-box}.kmc-modal button{cursor:pointer}.kmc-modal .kmc-claim{border:0;color:white}.kmc-modal .kmc-value{background:#fff0f1;padding:10px;border-radius:8px}@media(max-width:782px){.kmc-test-bar{top:46px;font-size:12px}}
.kmc-overlay .kmc-modal{border-top:8px solid #bd1829;padding:28px 24px 20px;border-radius:12px;max-width:440px;width:100%;text-align:center}.kmc-modal .kmc-type{font-size:13px;letter-spacing:1.5px;margin:8px 0 12px}.kmc-modal .kmc-value{background:none;color:#bd1829;font-size:30px;line-height:1.15;margin:10px 0;padding:0}.kmc-modal .kmc-minimum{font-size:16px;color:#171717;margin:7px 0 14px;line-height:1.4}.kmc-modal .kmc-conditions{border-top:1px dashed #bbb;border-bottom:1px dashed #bbb;padding:12px 18px;list-style:disc;margin:15px 0;text-align:left}.kmc-modal .kmc-conditions li{margin:5px 0}.kmc-demo-code{border:1px dashed #bd1829;border-radius:6px;background:#fff1f2;padding:10px;color:#151515;font-size:20px;font-weight:700;letter-spacing:2px;margin:8px 0;user-select:all}.kmc-copy{background:#fff;color:#bd1829;border:1px solid #bd1829;border-radius:6px;padding:8px;margin-bottom:8px}.kmc-loyalty-panel{border:1px solid #ddd;border-radius:12px;padding:20px;margin:20px 0}.kmc-loyalty-levels{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.kmc-loyalty-levels article{border:1px solid #ddd;border-top:3px solid #888;border-radius:8px;padding:12px}.kmc-loyalty-levels article.is-current{border-color:#bd1829;background:#fff4f5}.kmc-loyalty-levels article>*{display:block;margin:4px 0}.kmc-loyalty-levels span{font-size:12px}
.kmc-loyalty-levels article:nth-child(2){border-top-color:#a56c43}.kmc-loyalty-levels article:nth-child(3){border-top-color:#87909a}.kmc-loyalty-levels article:nth-child(4){border-top-color:#bd922b}.kmc-loyalty-levels article:nth-child(5){border-top-color:#252525}.kmc-modal .kmc-claim:disabled{opacity:.65;cursor:default}.kmc-modal .kmc-account{box-sizing:border-box;margin-top:8px}.kmc-modal .kmc-copy{display:block;width:100%;box-sizing:border-box}
.kmc-loyalty-panel .kmc-join{background:#bd1829;color:#fff;border:0;border-radius:7px;padding:12px 18px;font-weight:700;cursor:pointer}.kmc-member-badge{display:inline-block;padding:6px 12px;background:#151515;color:#fff!important;border-radius:8px}.kmc-loyalty-panel .kmc-loyalty-levels{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}

/* 1.5.1 — Hediye Çarkı ile aynı kurumsal buton görünümü. Tema bağlantı renklerinden bağımsız. */
.kmc-overlay .kmc-modal a.kmc-account,
.kmc-overlay .kmc-modal a.kmc-account:link,
.kmc-overlay .kmc-modal a.kmc-account:visited {
  display:flex;align-items:center;justify-content:center;box-sizing:border-box;
  width:100%;min-height:42px;padding:10px 15px;margin:8px 0 0;
  font:700 14px/1.3 system-ui,sans-serif;border-radius:8px;
  background:#bd1829!important;color:#fff!important;border:1px solid transparent!important;
  text-decoration:none!important;box-shadow:none;transition:background .15s;
}
.kmc-overlay .kmc-modal a.kmc-account:hover,
.kmc-overlay .kmc-modal a.kmc-account:focus,
.kmc-overlay .kmc-modal a.kmc-account:active {
  background:#9f1422!important;color:#fff!important;text-decoration:none!important;
}
.kmc-overlay .kmc-modal a.kmc-account:focus-visible,
.kmc-overlay .kmc-modal button.kmc-claim:focus-visible,
.kmc-overlay .kmc-modal button.kmc-copy:focus-visible {
  outline:2px solid #bd1829!important;outline-offset:3px;
}
.kmc-overlay .kmc-modal button.kmc-claim:not(:disabled) {
  background:#bd1829!important;color:#fff!important;border:1px solid transparent!important;
}
.kmc-overlay .kmc-modal button.kmc-claim:not(:disabled):hover,
.kmc-overlay .kmc-modal button.kmc-claim:not(:disabled):active {
  background:#9f1422!important;color:#fff!important;
}
.kmc-overlay .kmc-modal button.kmc-copy {
  background:#fff!important;color:#bd1829!important;border:1px solid #bd1829!important;
}
.kmc-overlay .kmc-modal button.kmc-copy:hover,
.kmc-overlay .kmc-modal button.kmc-copy:active {
  background:#fff1f2!important;color:#9f1422!important;
}

/* Loyalty dashboard, scoped to account card. */
.woocommerce-MyAccount-content .kmc-loyalty-panel{box-sizing:border-box;width:100%;margin:0 0 22px;background:#fff;padding:20px;border:1px solid #e0e1e4;border-radius:12px;color:#171717}.kmc-club-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.kmc-club-head h2{font-size:21px;line-height:1.25;margin:0 0 5px;color:#171717}.kmc-club-head p,.kmc-club-head form{margin:0}.kmc-loyalty-panel .kmc-join,.kmc-loyalty-panel .kmc-join:visited,.kmc-loyalty-panel .kmc-join:focus{background:#bd1829!important;color:#fff!important;border:1px solid #bd1829!important;box-shadow:none!important}.kmc-loyalty-panel .kmc-join:hover{background:#991223!important;color:#fff!important}.kmc-loyalty-panel .kmc-join:focus-visible{outline:2px solid #171717;outline-offset:2px}.kmc-loyalty-panel .kmc-loyalty-levels{display:flex;flex-direction:column;gap:0;border:1px solid #e1e1e1;border-radius:10px;overflow:hidden}.kmc-loyalty-panel .kmc-loyalty-levels article{display:flex;align-items:center;gap:13px;border:0;border-bottom:1px solid #e1e1e1;border-radius:0;padding:13px 15px;background:white}.kmc-loyalty-panel .kmc-loyalty-levels article:last-child{border-bottom:0}.kmc-loyalty-panel .kmc-loyalty-levels article.is-current{background:#fff3f4;border-left:3px solid #bd1829}.kmc-tier-icon{display:flex!important;align-items:center;justify-content:center;flex:0 0 46px;height:46px;border-radius:10px;background:#bd1829;color:white}.kmc-loyalty-levels article:nth-child(2) .kmc-tier-icon{background:#a56c43}.kmc-loyalty-levels article:nth-child(3) .kmc-tier-icon{background:#78828e}.kmc-loyalty-levels article:nth-child(4) .kmc-tier-icon{background:#a47b17}.kmc-loyalty-levels article:nth-child(5) .kmc-tier-icon{background:#252525}.kmc-tier-copy{flex:1;min-width:0}.kmc-tier-copy>*{display:block;margin:2px 0;line-height:1.5}.kmc-tier-copy strong{font-size:15px}.kmc-tier-copy b{font-size:13px}.kmc-tier-copy span{color:#4c535d;font-size:13px!important}.kmc-tier-current{color:#a71122;font-weight:700;text-align:right}.kmc-club-note{color:#4c535d;font-size:13px;margin:12px 0}.kmc-club-progress{background:#f7f7f8;border-radius:8px;padding:12px 15px}.kmc-club-progress p{margin:4px 0}.kmc-club-meter{height:8px;border-radius:8px;background:#dedee0;overflow:hidden;margin:8px 0}.kmc-club-meter span{display:block;height:100%;background:#bd1829}.kmc-club-link{margin:12px 0 0}.kmc-club-link a{color:#bd1829!important;font-weight:700}@media(max-width:520px){.woocommerce-MyAccount-content .kmc-loyalty-panel{padding:14px}.kmc-club-head form,.kmc-club-head .kmc-join{width:100%}.kmc-loyalty-panel .kmc-loyalty-levels article{padding:10px;gap:9px;flex-wrap:wrap}.kmc-tier-current{width:100%;text-align:left;padding-left:55px}}

/* Member price, isolated from normal catalog and account coupon UI. */
.kmc-member-price{display:block}.kmc-member-price-badge{display:block;width:fit-content;max-width:100%;margin:6px 0 2px;padding:4px 8px;background:#fdf0f2;color:#a80e25;border:1px solid #edc4ca;border-radius:6px;font-size:12px;line-height:1.45;font-weight:700}.kmc-member-price-note{display:block;font-size:11px;line-height:1.4;color:#454545;font-weight:400}

.kmc-loyalty-panel .kmc-tier-copy b,.kmc-loyalty-panel .kmc-advantage{color:#bd1829!important;font-weight:700}
.kmc-modal .kmc-action-row{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}.kmc-modal .kmc-action-row>*{flex:1 1 145px;width:auto!important;margin:0!important;min-height:44px}.kmc-overlay .kmc-modal .kmc-claim,.kmc-overlay .kmc-modal .kmc-account,.kmc-overlay .kmc-modal .kmc-copy{font-weight:800!important;text-transform:uppercase!important;letter-spacing:.25px}.kmc-modal .kmc-guest-title{font-size:20px;color:#bd1829;text-align:center;font-weight:800}.kmc-modal .kmc-msg{font-size:13px}.kmc-modal .kmc-guest-actions{display:grid;gap:8px}.kmc-modal .kmc-demo-code{user-select:all}

.kmc-test-bar{top:0;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere;font-size:12px;line-height:1.4}.admin-bar .kmc-test-bar{top:32px}.kmc-test-bar button,.kmc-test-bar a,.kmc-test-bar a:visited{background:#fff!important;color:#bd1829!important;border:1px solid #fff!important;font-weight:700}.kmc-test-bar button:hover,.kmc-test-bar a:hover{background:#151515!important;color:#fff!important}.kmc-overlay .kmc-modal{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}.kmc-overlay .kmc-action-row{flex-wrap:wrap}.kmc-overlay .kmc-action-row button{min-height:44px}.kmc-overlay .kmc-guest-actions button{min-height:44px}@media(max-width:782px){.admin-bar .kmc-test-bar{top:46px}}@media(max-width:480px){.kmc-test-bar{padding:5px 8px}.kmc-overlay .kmc-modal{width:calc(100% - 24px);max-width:440px}.kmc-overlay .kmc-action-row button{flex:1 1 130px}}

.kmc-club-reset{border-top:1px solid #ddd;margin-top:12px;padding-top:12px;display:flex;flex-direction:column;gap:4px}.kmc-club-reset .kmc-club-days{font-size:23px;font-weight:800;color:#bd1829;line-height:1.3}.kmc-club-reset small{color:#4c535d;font-size:12px}

.kmc-member-offer{border:1px solid #e4e4e4;border-left:4px solid #bd1829;border-radius:8px;padding:15px;margin:10px 0;background:#fff}.kmc-member-offer h3{color:#bd1829;margin:8px 0}.kmc-member-offer ul{margin:8px 0 12px;padding-left:20px}.kmc-member-offer .kmc-member-link,.kmc-member-offer .kmc-member-link:visited{display:inline-block;background:#bd1829;color:white!important;padding:9px 13px;border-radius:6px;font-weight:700;text-decoration:none;margin:3px 0}.kmc-member-offer .kmc-member-link:hover{background:#991223;color:white!important}
