/* Solestra — yan sepet paneli (site dili: siyah/beyaz, keskin köşeler) */

.solestra-sc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 99990;
}

.solestra-sc {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 92vw;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 99991;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .08);
}

body.solestra-sc-open { overflow: hidden; }
body.solestra-sc-open .solestra-sc-overlay { opacity: 1; visibility: visible; }
body.solestra-sc-open .solestra-sc { transform: translateX(0); }

.solestra-sc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid #ededed;
}

.solestra-sc-title {
    margin: 0;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #000;
}

.solestra-sc-close {
    background: none;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #000;
    cursor: pointer;
    padding: 0 4px;
}

.solestra-sc-notice {
    margin: 16px 28px 0;
    padding: 10px 14px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    color: #6a6a6a;
}

.solestra-sc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.solestra-sc-empty {
    padding: 40px 28px;
    color: #6a6a6a;
    text-align: center;
}

.solestra-sc-items {
    list-style: none;
    margin: 0;
    padding: 8px 28px;
    overflow-y: auto;
    flex: 1;
}

.solestra-sc-item {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid #ededed;
    transition: opacity .2s;
}

.solestra-sc-item.is-removing { opacity: .4; pointer-events: none; }

.solestra-sc-thumb img {
    width: 76px;
    height: 100px;
    object-fit: cover;
    display: block;
}

.solestra-sc-info { display: flex; flex-direction: column; gap: 8px; }

.solestra-sc-name {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    line-height: 1.5;
}

.solestra-sc-price { font-size: 14px; color: #6a6a6a; }
.solestra-sc-meta { display: block; font-size: 12px; line-height: 1.4; color: #8f8f8f; }

.solestra-sc-remove {
    background: none;
    border: 0;
    font-size: 20px;
    color: #868686;
    cursor: pointer;
    line-height: 1;
}

.solestra-sc-remove:hover { color: #000; }

.solestra-sc-foot {
    padding: 20px 28px 28px;
    border-top: 1px solid #ededed;
    background: #fff;
}

.solestra-sc-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
}

.solestra-sc-subtotal strong { font-size: 16px; letter-spacing: 0; }

.solestra-sc-note { margin: 6px 0 18px; font-size: 12px; color: #868686; }

.solestra-sc-btn {
    display: block;
    text-align: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    border: 1px solid #000;
    color: #000;
    background: #fff;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.solestra-sc-btn:hover { background: #000; color: #fff; }
.solestra-sc-btn--primary { background: #000; color: #fff; }
.solestra-sc-btn--primary:hover { background: #333; border-color: #333; }

.solestra-sc-continue {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    padding: 8px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #6a6a6a;
    text-decoration: underline;
    cursor: pointer;
}

.solestra-sc-trigger {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99980;
    background: #000;
    color: #fff;
    border: 0;
    padding: 14px 22px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.solestra-sc-trigger[hidden] { display: none; }

.solestra-sc-count {
    display: inline-block;
    min-width: 20px;
    margin-left: 6px;
    padding: 1px 6px;
    background: #fff;
    color: #000;
    letter-spacing: 0;
    font-weight: 700;
}

@media (max-width: 600px) {
    .solestra-sc-head, .solestra-sc-items, .solestra-sc-foot { padding-left: 20px; padding-right: 20px; }
    .solestra-sc-trigger { right: 16px; bottom: 16px; }
}
