/* ????????????????????????????????????????????
   MISSWELL — Global Theme  (Sea-Green & White)
   ???????????????????????????????????????????? */
:root {
    --primary:        #2E8B57;   /* seagreen */
    --primary-dark:   #1f6b42;
    --primary-light:  #4aad74;
    --accent:         #27ae60;
    --gold:           #DAA520;
    --white:          #ffffff;
    --bg-light:       #f4fbf7;
    --bg-card:        #ffffff;
    --text-dark:      #1a2e22;
    --text-muted:     #6c757d;
    --border-color:   #d4edda;
    --shadow-sm:      0 2px 8px rgba(46,139,87,.10);
    --shadow-md:      0 4px 20px rgba(46,139,87,.18);
    --shadow-lg:      0 8px 40px rgba(46,139,87,.22);
    --radius:         14px;
    --radius-sm:      8px;
    --transition:     .25s ease;
}

*,*::before,*::after { box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0; padding: 0;
}

a, .btn-link { color: var(--primary); text-decoration: none; }
a:hover      { color: var(--primary-dark); }

/* ?? Buttons ?????????????????????????????????? */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    border-radius: 30px;
    padding: .55rem 1.6rem;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 30px;
    padding: .55rem 1.6rem;
    font-weight: 600;
    transition: all var(--transition);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* ?? Focus ???????????????????????????????????? */
.btn:focus,.form-control:focus,.form-check-input:focus {
    box-shadow: 0 0 0 .15rem rgba(46,139,87,.35);
    outline: none;
}

/* ?? Top Navbar ??????????????????????????????? */
.mw-navbar {
    background: var(--primary);
    padding: .75rem 0;
    box-shadow: var(--shadow-md);
    position: sticky; top: 0; z-index: 1000;
}
.mw-navbar .navbar-brand {
    color: #fff !important;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand-avatar {
    width: 42px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid goldenrod;
    border-radius: 50% / 58%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.18);
}

.brand-avatar-img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.mw-navbar .nav-link {
    color: rgba(255,255,255,.88) !important;
    font-weight: 500;
    transition: color var(--transition);
}
.mw-navbar .nav-link:hover,
.mw-navbar .nav-link.active { color: #fff !important; }
.mw-navbar .cart-btn {
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff;
    border-radius: 30px;
    padding: .35rem 1.1rem;
    font-weight: 600;
    transition: background var(--transition);
}
.mw-navbar .cart-btn:hover { background: rgba(255,255,255,.32); }

.dashboard-mobile-cart .cart-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--primary);
    border-radius: 30px;
    padding: .7rem 1rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.dashboard-mobile-cart .cart-btn:hover {
    background: #f7fffa;
    color: var(--primary-dark);
}

.user-pill {
    color: rgba(255,255,255,.92) !important;
    font-weight: 700;
}

.nav-btn-link {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.88) !important;
    font-weight: 500;
}

.nav-btn-link:hover {
    color: #fff !important;
}

.mw-navbar .navbar-toggler {
    box-shadow: none !important;
}

.mw-navbar .navbar-collapse {
    transition: all var(--transition);
}

@media (max-width: 991.98px) {
    .mw-navbar {
        padding: .7rem 0;
    }

    .mw-navbar .navbar-collapse {
        margin-top: .85rem;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 18px;
        padding: .75rem;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .mw-navbar .navbar-collapse.show {
        box-shadow: 0 14px 34px rgba(0,0,0,.18);
    }

    .mw-nav-list {
        align-items: stretch !important;
        gap: .35rem !important;
    }

    .mw-navbar .nav-item {
        width: 100%;
    }

    .mw-navbar .nav-link,
    .mw-navbar .nav-btn-link {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 46px;
        border-radius: 12px;
        padding: .8rem 1rem !important;
    }

    .mw-navbar .nav-link.active {
        background: rgba(255,255,255,.18);
        color: #fff !important;
        font-weight: 700;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    }

    .mw-navbar .nav-link:hover,
    .mw-navbar .nav-btn-link:hover {
        background: rgba(255,255,255,.10);
    }

    .nav-mobile-divider {
        height: 1px;
        margin: .35rem 0;
        background: rgba(255,255,255,.18);
        list-style: none;
    }

    .mobile-user-pill {
        background: rgba(255,255,255,.12);
    }

    .mobile-nav-action {
        text-align: left;
    }

    .mobile-cart-item {
        margin-top: .35rem;
    }

    .mw-navbar .mobile-cart-item .cart-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        padding: .8rem 1rem;
        border-radius: 12px;
        background: #fff;
        color: var(--primary);
        border-color: transparent;
        box-shadow: 0 8px 18px rgba(0,0,0,.10);
    }
}

/* ?? Hero Section ????????????????????????????? */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    min-height: 520px;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
}
.hero-section::before {
    content:'';
    position:absolute; inset:0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity:.6;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 30px;
    padding: .3rem 1rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.hero-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero-title span { color: #b2ffd8; }
.hero-sub {
    color: rgba(255,255,255,.88);
    font-size: 1.1rem;
    max-width: 520px;
    margin-bottom: 2rem;
}
.hero-img-wrap {
    position: relative;
    display: flex; justify-content: center; align-items: center;
}
.hero-img-wrap .hero-blob {
    width: 340px; height: 340px;
    background: linear-gradient(135deg, rgba(178,255,216,.25) 0%, rgba(255,255,255,.18) 60%, rgba(74,173,116,.22) 100%);
    border: 2px solid rgba(255,255,255,.30);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 40px rgba(46,139,87,.35), inset 0 0 30px rgba(178,255,216,.15);
}

/* ?? Stats Bar ???????????????????????????????? */
.stats-bar {
    background: var(--white);
    padding: 1.6rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 2px solid var(--border-color);
}
.stat-item { text-align: center; }
.stat-item .stat-num {
    font-size: 1.8rem; font-weight: 800;
    color: var(--primary); line-height: 1;
}
.stat-item .stat-label {
    font-size: .82rem; color: var(--text-muted);
    margin-top: .2rem;
}

/* ?? Section Titles ??????????????????????????? */
.section-title {
    font-size: 1.65rem; font-weight: 800;
    color: var(--text-dark);
}
.section-title span { color: var(--primary); }
.section-sub { color: var(--text-muted); font-size: .98rem; }

/* ?? Category Cards ??????????????????????????? */
.cat-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.8rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.cat-card:hover, .cat-card.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.cat-card.active { background: #f0faf5; }
.cat-icon { font-size: 3rem; margin-bottom: .6rem; }
.cat-name { font-weight: 700; color: var(--text-dark); font-size: 1rem; }

/* ?? Product Cards ???????????????????????????? */
.prod-card {
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.prod-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}
.prod-img-wrap {
    background: #f0faf5;
    aspect-ratio: 1 / 1;       /* 1:1 kare */
    width: 100%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(46,139,87,.18),
        0 1px  4px rgba(0,0,0,.10);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0; /* kart üst köşeleriyle hizalı */
    transition: box-shadow var(--transition);
}
.prod-card:hover .prod-img-wrap {
    box-shadow:
        0 8px 24px rgba(46,139,87,.28),
        0 2px  8px rgba(0,0,0,.14);
}
.prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* kareyi tam doldurur, taşanı keser */
    object-position: center;
    display: block;
    transition: transform var(--transition);
}
.prod-card:hover .prod-img-wrap img {
    transform: scale(1.04); /* hover'da hafif zoom */
}
.prod-body { padding: 1rem; }
.prod-name { font-weight: 700; font-size: .95rem; color: var(--text-dark); margin-bottom:.3rem; }
.prod-stock { font-size:.78rem; color: var(--accent); margin-bottom:.3rem; }
.prod-points { font-size:.78rem; color:var(--text-muted); margin-bottom:.5rem; }
.prod-price-old { font-size:.82rem; color:var(--text-muted); text-decoration:line-through; }
.prod-price { font-size:1.15rem; font-weight:800; color:var(--primary); }
.add-cart-btn {
    background: var(--primary);
    color: #fff; border:none;
    border-radius:30px; padding:.4rem 1rem;
    font-size:.85rem; font-weight:600;
    width:100%; cursor:pointer;
    transition: background var(--transition);
    margin-top:.5rem;
}
.add-cart-btn:hover { background: var(--primary-dark); }

/* ?? Feature Cards ???????????????????????????? */
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: box-shadow var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-icon {
    font-size: 2.5rem; margin-bottom: 1rem;
    display: block;
    background: #f0faf5; border-radius: 50%;
    width: 72px; height: 72px; line-height: 72px;
    margin: 0 auto 1rem;
}
.feature-title { font-weight: 700; font-size:1rem; color:var(--text-dark); margin-bottom:.4rem; }
.feature-text  { font-size:.88rem; color:var(--text-muted); }

/* ?? Testimonials ????????????????????????????? */
.testi-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    height: 100%;
}
.testi-text { font-size:.93rem; color:var(--text-dark); font-style:italic; margin-bottom:1rem; }
.testi-author { font-weight:700; font-size:.88rem; color:var(--primary); }

/* ?? CTA Section ?????????????????????????????? */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius);
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
}
.cta-section h2 { font-size:2rem; font-weight:800; margin-bottom:.8rem; }
.cta-section p  { opacity:.88; margin-bottom:1.8rem; font-size:1.05rem; }
.btn-cta {
    background:#fff; color:var(--primary);
    border:none; border-radius:30px;
    padding:.65rem 2rem; font-weight:700;
    font-size:1rem; cursor:pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}
.btn-cta:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0 2.5rem !important;
    }

    .hero-sub {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 1.4rem;
    }

    .hero-img-wrap .hero-blob {
        width: 260px;
        height: 260px;
    }

    .stats-bar {
        padding: 1.15rem 0;
    }

    .stat-item .stat-num {
        font-size: 1.45rem;
    }

    .cat-card,
    .feature-card,
    .testi-card {
        padding: 1.25rem .9rem;
    }

    .prod-body {
        padding: .9rem;
    }

    .cta-section {
        padding: 2.4rem 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding: 2.4rem 0 2rem !important;
    }

    .home-hero-section {
        padding-top: 1.35rem !important;
        padding-bottom: 1.5rem !important;
        min-height: auto;
    }

    .home-hero-section + .stats-bar {
        margin-top: 0;
    }

    .hero-badge {
        font-size: .76rem;
        padding: .28rem .85rem;
        margin-bottom: .85rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        margin-bottom: .85rem;
    }

    .hero-sub {
        font-size: .95rem;
        line-height: 1.55;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .d-flex.flex-wrap.gap-3 {
        justify-content: center;
        gap: .75rem !important;
    }

    .hero-section .btn,
    .hero-section .btn-outline-light {
        min-width: 210px;
    }

    .hero-img-wrap {
        margin-top: .25rem;
    }

    .hero-img-wrap .hero-blob {
        width: 220px;
        height: 220px;
    }

    .stats-bar .row {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .75rem;
    }

    .stat-item {
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: .85rem .5rem;
        box-shadow: var(--shadow-sm);
        height: 100%;
    }

    .stat-item .stat-num {
        font-size: 1.25rem;
    }

    .stat-item .stat-label {
        font-size: .76rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-sub {
        font-size: .9rem;
    }

    .cat-card {
        padding: 1rem .75rem;
        border-radius: 12px;
    }

    .cat-icon {
        margin-bottom: .45rem;
    }

    .cat-name {
        font-size: .92rem;
    }

    .prod-card {
        border-radius: 12px;
    }

    .prod-img-wrap {
        aspect-ratio: 1 / 1;
    }

    .prod-body {
        padding: .85rem;
    }

    .prod-name {
        font-size: .9rem;
        min-height: 2.5rem;
    }

    .prod-stock,
    .prod-points,
    .prod-price-old {
        font-size: .74rem;
    }

    .prod-price {
        font-size: 1.05rem;
    }

    .add-cart-btn {
        padding: .55rem .9rem;
        font-size: .82rem;
    }

    .feature-card {
        padding: 1.15rem .9rem;
        border-radius: 12px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        margin-bottom: .8rem;
    }

    .feature-title {
        font-size: .95rem;
    }

    .feature-text,
    .testi-text,
    .testi-author {
        font-size: .84rem;
    }

    .testi-card {
        padding: 1.15rem 1rem;
        border-radius: 12px;
    }

    .cta-section {
        padding: 2rem 1rem;
        border-radius: 14px;
    }

    .cta-section h2 {
        font-size: 1.45rem;
    }

    .cta-section p {
        font-size: .92rem;
        margin-bottom: 1.2rem;
    }

    .btn-cta {
        width: 100%;
        max-width: 280px;
        padding: .75rem 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 2rem 0 1.6rem !important;
    }

    .home-hero-section {
        padding-top: 1rem !important;
        padding-bottom: 1.2rem !important;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .hero-sub {
        font-size: .9rem;
        margin-bottom: 1.1rem;
    }

    .hero-img-wrap .hero-blob {
        width: 180px;
        height: 180px;
    }

    .hero-img-wrap .hero-blob img {
        width: 8.5rem !important;
        height: 8.5rem !important;
    }

    .hero-section .btn,
    .hero-section .btn-outline-light {
        width: 100%;
        min-width: 0;
    }

    .stats-bar {
        padding: .9rem 0;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .cat-card,
    .feature-card,
    .testi-card,
    .cta-section {
        box-shadow: var(--shadow-sm);
    }

    .prod-name {
        min-height: auto;
    }

    .cta-section .form-control {
        max-width: 100% !important;
    }
}

/* ?? Dashboard Page ??????????????????????????? */
.dashboard-header {
    background: var(--primary);
    padding: .9rem 1.5rem;
    color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    border-radius: var(--radius) var(--radius) 0 0;
}
.dashboard-header h5 { margin:0; font-weight:700; font-size:1.1rem; }
.loading-overlay {
    position:absolute; inset:0;
    background:rgba(255,255,255,.85);
    display:flex; align-items:center; justify-content:center;
    border-radius:var(--radius);
    z-index:10;
}
.spinner-border-primary { color:var(--primary) !important; }

@media (max-width: 767.98px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-header h5 {
        margin-bottom: .4rem;
    }
}

/* ?? Misc ????????????????????????????????????? */
.valid.modified:not([type=checkbox]) { outline:1px solid #26b050; }
.invalid { outline:1px solid #e50000; }
.validation-message { color:#e50000; }
.blazor-error-boundary {
    background:#b32121; padding:1rem 1rem 1rem 3.7rem; color:#fff;
}
.blazor-error-boundary::after { content:"Bir hata oluştu."; }

#blazor-error-ui {
    position:fixed; bottom:0; width:100%;
    background:var(--primary-dark); color:#fff;
    padding:.6rem 1.2rem; font-size:.9rem;
    display:flex; align-items:center; justify-content:space-between;
    z-index:9999;
}
#blazor-error-ui .reload { color:#b2ffd8; font-weight:600; }
#blazor-error-ui .dismiss { cursor:pointer; font-size:1.1rem; }

@media (max-width: 575.98px) {
    #blazor-error-ui {
        flex-direction: column;
        padding: .4rem 1rem;
    }

    #blazor-error-ui .reload,
    #blazor-error-ui .dismiss {
        font-size: .9rem;
        width: 100%;
        text-align: center;
    }

    #blazor-error-ui .dismiss {
        margin-top: .35rem;
    }
}

/* ?? Login Page ?????????????????????????????? */
.login-page-section {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
}

.login-card {
    max-width: 430px;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.login-logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(46,139,87,.20));
}

.login-input {
    border-radius: 14px;
    padding: .85rem 1rem;
    text-align: center;
    font-size: 1.05rem;
}

.login-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    font-size: .95rem;
}

.login-links a {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 576px) {
    .login-card {
        padding: 1.35rem;
        border-radius: 16px;
    }
}

/* ?? Cart Page ????????????????????????????????? */
.cart-item-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
}

.cart-item-image-wrap {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0faf5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-placeholder {
    color: var(--primary);
    font-size: 2rem;
}

.cart-item-body {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.cart-item-top,
.cart-item-footer,
.summary-row,
.summary-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-item-desc {
    font-size: .85rem;
    color: var(--text-muted);
}

.cart-item-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.cart-points-badge {
    background: #eef8f3;
    color: #2C7A7B;
    border-radius: 999px;
    padding: .3rem .75rem;
    font-size: .8rem;
    font-weight: 700;
}

.cart-qty-box {
    display: inline-flex;
    align-items: center;
    background: firebrick;
    border-radius: 999px;
    overflow: hidden;
}

.qty-btn {
    border: 0;
    background: transparent;
    color: #fff;
    width: 38px;
    height: 38px;
}

.qty-value {
    min-width: 34px;
    text-align: center;
    color: #fff;
    font-weight: 800;
}

.cart-line-total {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.cart-remove-btn {
    border: 0;
    background: transparent;
    color: firebrick;
    font-size: 1rem;
}

.cart-summary-card,
.cart-empty-state {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.summary-row {
    font-size: .95rem;
    color: #666;
    margin-bottom: .75rem;
}

.summary-total-row {
    align-items: flex-end;
}

.summary-total-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

/* ?? Gift Promotion Card ??????????????????? */
.cart-gift-card {
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

/* ?? Sponsor Search Results ????????????????? */
.sponsor-search-results {
    max-height: 320px;
    overflow-y: auto;
    border-radius: 12px;
}

@media (max-width: 767.98px) {
    .cart-item-card {
        grid-template-columns: 1fr;
    }

    .cart-item-image-wrap {
        width: 100%;
        height: 220px;
    }
}

/* ?? About Page ???????????????????????????????????????????????? */
.about-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    min-height: 420px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .6;
}
.about-hero-blob {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(178,255,216,.25) 0%, rgba(255,255,255,.18) 60%, rgba(74,173,116,.22) 100%);
    border: 2px solid rgba(255,255,255,.30);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 40px rgba(46,139,87,.35), inset 0 0 30px rgba(178,255,216,.15);
}

/* Icon grid — hikayemiz bölümü */
.about-img-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.about-img-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}
.about-icon-cell {
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    aspect-ratio: 1;
    transition: transform var(--transition);
}
.about-icon-cell:hover { transform: translateY(-4px); }
.about-img-badge {
    background: var(--primary);
    color: #fff;
    border-radius: 30px;
    padding: .45rem 1.4rem;
    font-size: .85rem;
    font-weight: 700;
}

/* Misyon / Vizyon kartları */
.about-mv-card {
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
}
.about-mv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.about-mv-mission {
    background: linear-gradient(135deg, #f0faf5 0%, #e0f4ea 100%);
    border: 1.5px solid var(--border-color);
}
.about-mv-vision {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e8ff 100%);
    border: 1.5px solid #c8d4ff;
}
.about-mv-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.about-mv-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: .75rem;
}
.about-mv-text {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* Neden Biz — check list */
.about-check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.about-check-dot {
    background: var(--primary);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: .1rem;
    box-shadow: 0 4px 12px rgba(46,139,87,.25);
}
.about-check-title {
    font-weight: 700;
    font-size: .95rem;
    color: var(--text-dark);
    margin-bottom: .2rem;
}
.about-check-text {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* About — hikaye metin stili */
.about-story-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.85;
    margin-bottom: 1rem;
}
.about-story-text:last-child { margin-bottom: 0; }

/* About — tesis fotoğrafı */
.about-facility-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}
.about-facility-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}
.about-facility-wrap:hover .about-facility-img {
    transform: scale(1.03);
}
.about-facility-badge {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    background: var(--primary);
    color: #fff;
    border-radius: 30px;
    padding: .45rem 1.2rem;
    font-size: .85rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(46,139,87,.35);
    backdrop-filter: blur(4px);
}

@media (max-width: 991.98px) {
    .about-facility-img { height: 320px; }
}
@media (max-width: 575.98px) {
    .about-facility-img { height: 220px; }
}

/* ? Profile Page */
.profile-hero-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.profile-name {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    line-height: 1.2;
}

.profile-sub {
    color: rgba(255,255,255,.82);
    margin-top: .35rem;
    font-size: .92rem;
}

.profile-chip {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: .7rem 1rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.profile-points {
    font-size: clamp(2.2rem, 6vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.profile-points-label {
    color: rgba(255,255,255,.82);
    margin-top: .35rem;
}

.profile-level-badge {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: rgba(218,165,32,.95);
    color: #fff;
    border-radius: 14px;
    padding: .8rem 1rem;
    min-width: 180px;
}

.profile-balance-badge {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
}

.profile-action-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.15rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    color: inherit;
    text-decoration: none;
}

.profile-action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    color: inherit;
}

.profile-action-button {
    border: 1px solid var(--border-color);
    text-align: left;
}

.profile-action-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eef8f3;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.profile-action-title {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: .2rem;
}

.profile-action-text {
    color: var(--text-muted);
    font-size: .88rem;
}

@media (max-width: 575.98px) {
    .profile-hero-card {
        padding: 1.15rem;
        border-radius: 18px;
    }

    .profile-chip,
    .profile-level-badge {
        width: 100%;
    }
}

/* ? Points Page */
.points-header-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
}

.points-header-name {
    font-size: 1.35rem;
    font-weight: 800;
}

.points-chip {
    background: rgba(218,165,32,.95);
    color: #fff;
    border-radius: 999px;
    padding: .45rem .9rem;
    font-size: .85rem;
    font-weight: 700;
}

.points-summary-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.15rem;
    box-shadow: var(--shadow-sm);
}

.points-metric-card {
    background: darkgoldenrod;
    color: #fff;
    border-radius: 14px;
    padding: 1rem;
    height: 100%;
}

.points-metric-label {
    font-size: .85rem;
    opacity: .92;
    margin-bottom: .35rem;
}

.points-metric-value {
    font-size: 1.35rem;
    font-weight: 800;
}

.points-total-bar {
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: .9rem 1rem;
    text-align: center;
    font-weight: 800;
}

/* ? Team Points Page */
.team-toolbar-card,
.team-path-card,
.team-search-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.team-month-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.team-search-results {
    display: grid;
    gap: .5rem;
}

.team-search-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: .75rem;
    background: #fff;
}

.team-member-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: .9rem 1rem;
    box-shadow: var(--shadow-sm);
}

.team-member-passive {
    background: #fff7f7;
    border-color: #f1b0b7;
}

.team-circle-btn,
.team-info-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.team-circle-btn {
    background: var(--primary);
}

.team-info-btn {
    background: seagreen;
}

.team-member-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    gap: .85rem;
}

.team-member-left,
.team-member-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.team-member-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    word-break: break-word;
}

.team-member-points {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
}

.team-circle-placeholder {
    width: 38px;
    height: 38px;
    display: inline-block;
}

/* ? Pirim Page */
.pirim-loading-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: #1E293B;
    color: #fff;
    border-radius: 10px;
    padding: .6rem .9rem;
}

.pirim-top-panel,
.pirim-mini-card,
.pirim-detail-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.pirim-date-box {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: .45rem .7rem;
    min-height: 48px;
}

.pirim-date-input {
    border: 0;
    background: transparent;
    padding: 0;
    min-width: 140px;
}

.pirim-refresh-btn {
    background: #1E293B;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    padding: .55rem 1rem;
}

.pirim-refresh-btn:disabled {
    background: #94A3B8;
    color: #fff;
}

.pirim-career-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A;
}

.pirim-status-chip {
    border-radius: 8px;
    padding: .45rem .8rem;
    font-size: .82rem;
    font-weight: 800;
}

.pirim-total-card {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: #fff;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.pirim-total-amount {
    font-size: clamp(2rem, 5vw, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
    margin: .2rem 0;
}

.pirim-income-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px solid #F1F5F9;
}

.pirim-income-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pirim-income-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.pirim-income-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.pirim-income-title {
    font-size: .95rem;
    font-weight: 700;
    color: #334155;
}

.pirim-income-sub {
    font-size: .75rem;
    color: #94A3B8;
}

.pirim-income-value {
    font-size: .95rem;
    font-weight: 800;
    white-space: nowrap;
}

.pirim-archive-note {
    background: #FFEBEE;
    color: #C62828;
    border-radius: 10px;
    padding: .7rem .9rem;
    text-align: center;
    font-size: .82rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .pirim-income-row {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .pirim-income-value {
        padding-left: 1.75rem;
    }

    .pirim-date-input {
        min-width: 110px;
    }
}

/* ?? Payment Method Cards ???????????????????????????? */
.payment-method-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .18s, background .18s, box-shadow .18s;
    user-select: none;
    background: #fff;
}

.payment-method-card:hover {
    border-color: var(--primary, #2E8B57);
    background: #f0faf5;
    box-shadow: 0 2px 10px rgba(46,139,87,.12);
}

.payment-method-card.selected {
    border-color: var(--primary, #2E8B57);
    background: #f0faf5;
    box-shadow: 0 2px 14px rgba(46,139,87,.18);
}

.payment-method-card.selected .payment-method-title {
    color: var(--primary, #2E8B57);
    font-weight: 700;
}

.payment-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary, #2E8B57);
    flex-shrink: 0;
}

.payment-method-icon.credit {
    background: #e3f2fd;
    color: #1976d2;
}

.payment-method-info {
    flex: 1;
    min-width: 0;
}

.payment-method-title {
    font-weight: 600;
    font-size: .95rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.payment-method-desc {
    font-size: .78rem;
    color: #888;
    margin-top: 2px;
}