/* Sepet ve siparis sonucu sayfalari - styles.css'ten ayrildi */

/* SEPET (CART) SECTION STYLES */
.sepet-section {
    padding: 10px 0 80px 0;
}

/* LAYOUT - Content Wrapper */
.sepet-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.sepet-left {
    flex: 1;
}

.sepet-right {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 140px;
    align-self: flex-start;
}

/* LEFT COLUMN - Items Container */
.sepet-container {
    background-color: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
}

.sepet-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;

    & h2 {
        font-weight: 600;
        font-size: 18px;
        line-height: 1.21;
        color: var(--text-primary);
        margin: 0;
    }

    & p {
        font-weight: 500;
        font-size: 14px;
        line-height: 1.4;
        color: #7A7F99;
        margin: 0;
    }
}

/* PACKAGE GROUP - Collapsible Structure */
.sepet-group, .sepet-group--collapsible {
    display: flex;
    flex-direction: column;
}

.sepet-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* CARD - Base Styles */
.sepet-card {
    background: rgba(249, 250, 251, 0.7);
    border: 2px solid rgba(234, 234, 237, 0.5);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    will-change: opacity, transform;
    transform: translateZ(0);
    backface-visibility: hidden;

    &:hover {
        background: rgba(249, 250, 251, 1);
        border-color: rgba(234, 234, 237, 0.8);
    }
}

.sepet-card--main {
    cursor: pointer;
    user-select: none;
}

/* CARD - Content Section */
.sepet-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sepet-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7844e4 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    & i {
        font-size: 24px;
        color: var(--text-light);
    }

    &[data-platform="instagram"] {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    &[data-platform="tiktok"] {
        background: var(--tiktok);
    }

    &[data-platform="twitter"] {
        background: var(--twitter);
    }

    &[data-platform="x-twitter"] {
        background: #000;
    }

    &[data-platform="youtube"] {
        background: var(--youtube);
    }

    &[data-platform="facebook"] {
        background: var(--facebook);
    }

    &[data-platform="spotify"] {
        background: var(--spotify);
    }

    &[data-platform="telegram"] {
        background: var(--telegram);
    }

    &[data-platform="discord"] {
        background: var(--discord);
    }

    &[data-platform="twitch"] {
        background: var(--twitch);
    }

    &[data-platform="linkedin"] {
        background: var(--linkedin);
    }

    &[data-platform="pinterest"] {
        background: var(--pinterest);
    }

    &[data-platform="snapchat"] {
        background: var(--snapchat);
    }

    &[data-platform="snapchat"] i {
        color: #000;
    }

    &[data-platform="whatsapp"] {
        background: var(--whatsapp);
    }

    &[data-platform="soundcloud"] {
        background: var(--soundcloud);
    }

    &[data-platform="kick"] {
        background: var(--kick);
    }

    &[data-platform="kick"] i {
        color: #000;
    }

    &[data-platform="kwai"] {
        background: var(--kwai);
    }
}

.sepet-card--extra {
    & .sepet-icon {
        background: rgba(120, 68, 228, 0.12) !important;
    }

    & .sepet-icon i {
        color: #7844E4;
    }

    & .sepet-icon[data-platform="instagram"] {
        background: rgba(225, 48, 108, 0.12) !important;
    }

    & .sepet-icon[data-platform="instagram"] i {
        color: var(--instagram);
    }

    & .sepet-icon[data-platform="tiktok"] {
        background: rgba(63, 51, 87, 0.12) !important;
    }

    & .sepet-icon[data-platform="tiktok"] i {
        color: var(--tiktok);
    }

    & .sepet-icon[data-platform="twitter"] {
        background: rgba(29, 161, 242, 0.12) !important;
    }

    & .sepet-icon[data-platform="twitter"] i {
        color: var(--twitter);
    }

    & .sepet-icon[data-platform="youtube"] {
        background: rgba(233, 0, 4, 0.12) !important;
    }

    & .sepet-icon[data-platform="youtube"] i {
        color: var(--youtube);
    }

    & .sepet-icon[data-platform="facebook"] {
        background: rgba(66, 103, 178, 0.12) !important;
    }

    & .sepet-icon[data-platform="facebook"] i {
        color: var(--facebook);
    }

    & .sepet-icon[data-platform="spotify"] {
        background: rgba(41, 210, 102, 0.12) !important;
    }

    & .sepet-icon[data-platform="spotify"] i {
        color: var(--spotify);
    }

    & .sepet-icon[data-platform="telegram"] {
        background: rgba(0, 136, 204, 0.12) !important;
    }

    & .sepet-icon[data-platform="telegram"] i {
        color: var(--telegram);
    }

    & .sepet-icon[data-platform="discord"] {
        background: rgba(88, 101, 242, 0.12) !important;
    }

    & .sepet-icon[data-platform="discord"] i {
        color: var(--discord);
    }

    & .sepet-icon[data-platform="twitch"] {
        background: rgba(145, 70, 255, 0.12) !important;
    }

    & .sepet-icon[data-platform="twitch"] i {
        color: var(--twitch);
    }
}

.sepet-info {
    & h3 {
        font-weight: 600;
        font-size: 14px;
        color: var(--primary-purple);
        margin: 0;
    }

    & p:first-of-type {
        font-weight: 600;
        font-size: 15px;
        color: var(--text-primary);
        margin: 0;
    }

    & p:last-of-type {
        font-weight: 600;
        font-size: 15px;
        color: var(--text-dark-muted);
        margin: 0;
    }
}

/* BADGES */

/* CARD - Actions Section */
.sepet-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sepet-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.sepet-price--old {
    font-weight: 600;
    font-size: 14px;
    text-align: right;
    color: #C2C4CF;
    text-decoration: line-through;
    margin-bottom: 0;
}

.sepet-price span:not(.sepet-price--old):not(.sepet-price--base):not(.sepet-price--total) {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark-muted);
    text-align: right;
    min-width: 80px;
}

.sepet-price--base {
    font-weight: 600;
    font-size: 13px;
    color: #C2C4CF;
    text-align: right;
    text-decoration: line-through;
}

.sepet-price--total {
    font-weight: 600;
    font-size: 18px;
    color: #7844E4;
    text-align: right;

    & small {
        font-weight: 600;
        font-size: 11px;
        color: #666F94;
    }
}

.sepet-delete {
    width: 50px;
    height: 50px;
    background: rgb(240 36 104 / 13%);
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    will-change: transform;

    &:hover {
        background: #d91e5a;
        transform: scale(1.05);
    }

    &:active {
        transform: scale(0.95);
    }
}

.sepet-delete__icon, .sepet-delete svg {
    width: 24px;
    height: 24px;
    color: rgb(240, 36, 104);
    fill: rgb(240, 36, 104);
    transition: color 0.15s ease, fill 0.15s ease;
}

.sepet-delete:hover .sepet-delete__icon, .sepet-delete:hover svg {
    color: #fff;
    fill: #fff;
}

/* COLLAPSIBLE EXTRAS */
.sepet-toggle {
    width: 30px;
    height: 30px;
    background: rgba(102, 111, 148, 0.1);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;

    &:hover {
        background: rgba(102, 111, 148, 0.15);
    }
}

.sepet-toggle__icon {
    transition: transform 0.2s ease;
    will-change: transform;
}

.sepet-group--collapsible.expanded .sepet-toggle__icon {
    transform: rotate(180deg);
}

.sepet-extras {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out, padding 0.25s ease-out, border 0.2s ease-out;
    background: #F7F7F7;
    border: 0 solid rgba(234, 234, 237, 0.5);
    border-radius: 20px;
    padding: 0;
    will-change: max-height, padding;
}

.sepet-group--collapsible.expanded .sepet-extras {
    max-height: 2000px;
    border-width: 2px;
    padding: 10px 0;
    margin-top: 10px;
}

.sepet-extras {
    & .sepet-card {
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 20px;
    }

    & .sepet-card:hover {
        background: transparent;
        border: none;
    }
}

.sepet-divider {
    height: 1px;
    background: #DFE5FC;
    margin: 0 auto;
    width: 218px;
}

/* RIGHT COLUMN - Summary Card */
.sepet-summary {
    background-color: #ffffff;
    border-radius: 20px;
    width: 250px;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
}

.sepet-progress {
    position: relative;
    padding: 25px 16px 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sepet-progress__line {
    position: absolute;
    left: 24px;
    top: 38px;
    width: 10px;
    height: 130px;
    background: #f6f8fc;
    border-radius: 10px;
    overflow: hidden;
    z-index: 0;
}

.sepet-progress__fill {
    position: absolute;
    left: 3px;
    top: 4px;
    width: 4px;
    height: 5px;
    background: #7844e4;
    border-radius: 10px;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
}

/* SEPET STEPPER (Figma Tasarimi) */
.sepet-summary {
    & .sepet-step {
        display: flex !important;
        align-items: flex-start;
        gap: 12px;
        position: relative;
        z-index: 1;
        min-height: 61px;
    }

    & .sepet-step:last-child {
        min-height: auto;
        padding-bottom: 10px;
    }
}

.sepet-step__dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #EADCFF;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;

    &::after {
        content: '';
        display: block;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: transparent;
        position: absolute;
        top: 4px;
        left: 4px;
        transition: background 0.2s ease;
    }

    &.active::after {
        background: #7844E4;
    }
}

.sepet-step__content {
    display: flex;
    flex-direction: column;
    gap: 0;

    & h4 {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        color: #33353E;
        margin: 0;
    }

    & p {
        font-weight: 500;
        font-size: 12px;
        line-height: 18px;
        color: #7A7F99;
        margin: 0;
    }

    &.active h4 {
        color: #7844E4;
    }

    &.active p {
        color: rgba(120, 68, 228, 0.7);
    }
}

.sepet-step__content.inactive h4, .sepet-step__content.inactive p {
    color: #7A7F99;
}

.sepet-left {
    & .sepet-step--active {
        display: block !important;
    }

    & .sepet-step {
        display: none;
    }
}

/* MEMBERSHIP BADGE */
.sepet-membership {
    margin: 0 16px;
    padding: 12px;
    background: #F9FAFB;
    border: 1px dashed rgba(228, 231, 235, 0.5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sepet-membership__icon-wrap {
    flex-shrink: 0;
}

.sepet-membership__icon {
    width: 33.64px;
    height: 32px;
    object-fit: contain;
}

.sepet-membership__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sepet-membership__title {
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    color: #33353E;
    margin: 0;
}

.sepet-membership__text {
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    color: #7A7F99;
    margin: 0;
}

.sepet-membership__amount {
    font-weight: 600;
}

/* TOTAL SECTION */
.sepet-total {
    padding: 21px 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sepet-total__icon {
    width: 45px;
    height: 55px;
    background: #F6F8FC;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    & svg {
        width: 16px;
        height: 24px;
    }

    & svg path {
        fill: #7A7F99;
    }
}

.sepet-total__text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sepet-total__label {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: #7A7F99;
}

.sepet-total__prices {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sepet-total__old {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #C2C4CF;
    text-decoration: line-through;
}

.sepet-total__amount {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #33353E;
}

/* CONTINUE BUTTON */
.sepet-btn {
    width: 218px;
    height: 50px;
    background-color: #7844e4;
    border: none;
    border-radius: 12px;
    margin: 0 16px 16px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    will-change: transform;

    &:hover {
        background-color: #6a3bc5;
        transform: translateY(-2px);
        box-shadow: 0px 4px 12px rgba(120, 68, 228, 0.2);
    }

    &:active {
        transform: translateY(0);
    }

    & span {
        font-weight: 600;
        font-size: 16px;
        line-height: normal;
        color: #ffffff;
    }

    & svg {
        width: 12.86px;
        height: 12px;
    }

    & svg path {
        stroke: #ffffff;
    }
}

.sepet-btn--disabled {
    background-color: #C2C4CF;
    cursor: not-allowed;

    &:hover {
        background-color: #C2C4CF;
        transform: none;
        box-shadow: none;
    }
}

.sepet-btn--payment {
    background-color: #10b981;

    &:hover {
        background-color: #059669;
    }
}

/* PAYMENT SECTION (Step 2) */
/* Iletisim bilgileri: kupon alaniyla ayni dolgulu alan dili (giris/kayit sayfalari etkilenmez) */
.sepet-form {
    display: flex;
    flex-direction: column;
    gap: 10px;

    & .auth-input-wrapper {
        gap: 12px;
        min-height: 52px;
        margin: 0;
        padding: 0 14px;
        border: 0;
        border-radius: 12px;
        background: #F6F7FB;
        box-shadow: none;
        transition: box-shadow 0.2s;

        &:focus-within { box-shadow: inset 0 0 0 2px #7844E4; }
    }

    & .auth-form-icon {
        width: 18px;
        height: 18px;
        color: #7A7F99;
    }

    & .auth-input-divider {
        height: 20px;
        background: #E4E5EC;
    }

    & .auth-input {
        font-size: 14px;
        font-weight: 600;
    }

    & .auth-input-label {
        font-size: 14px;
        font-weight: 500;
        color: #7A7F99;
    }

    & .auth-input-wrapper:focus-within .auth-input-label,
    & .auth-input-wrapper.has-value .auth-input-label { font-size: 11px; }

    & .auth-country-selector {
        padding: 6px 10px;
        border-radius: 8px;
        background: #FFFFFF;
    }
}

/* EMPTY CART STATE */
.sepet-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 10px;

    & span {
        font-weight: 600;
        font-size: 20px;
        color: var(--text-primary);
    }

    & p {
        font-weight: 600;
        font-size: 15px;
        color: var(--text-dark-muted);
        margin: 0;
    }
}

/* CART RESPONSIVE STYLES */
@media (max-width: 991px) {
    .sepet-left {
        width: 100%;
    }

    .sepet-wrapper {
        flex-direction: column;
    }

    .sepet-right {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .sepet-summary {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
    }

    .sepet-btn {
        width: calc(100% - 32px);
    }
}

@media (max-width: 821px) {
    .sepet-container {
        padding: 16px;
    }

    .sepet-title {
        margin-bottom: 20px;
    }

    .sepet-card {
        border-radius: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .sepet-card--main {
        flex-direction: column;
        gap: 0;
        position: relative;

        & .sepet-content {
            width: 100%;
            gap: 12px;
            margin-bottom: 16px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            position: relative;
        }

        & .sepet-toggle {
            position: absolute;
            right: 20px;
            top: 30px;
            margin: 0;
        }

        & .sepet-actions {
            display: flex;
            order: 2;
        }
    }

    .sepet-content {
        width: 100%;
        gap: 12px;
    }

    .sepet-icon {
        width: 50px;
        height: 50px;
    }

    .sepet-info {
        width: 222px;
        flex: 1;
    }

    .sepet-card--main .sepet-info {
        padding-right: 40px;
    }

    .sepet-actions {
        width: 100%;
        justify-content: stretch;
        gap: 10px;
    }

    

    .sepet-price--old {
        display: none;
    }

    

    

    .sepet-price {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(234, 234, 237, 0.5);
        border-radius: 10px;
        min-height: 34px;
        height: auto;
        flex: 1;
        padding: 6px 10px;
    }

    .sepet-price--base {
        font-size: 11px;
        line-height: 1.2;
    }

    .sepet-price--total {
        font-size: 14px;
        line-height: 1.2;

        & small {
            font-size: 10px;
        }
    }

    .sepet-delete {
        flex: 1;
        width: auto;
        height: 34px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;

        & svg {
            width: 20px;
            height: 20px;
        }
    }

    .sepet-right {
        max-width: none;
    }

    .sepet-summary {
        width: 100%;
    }

    .sepet-total__label {
        font-size: 13px;
    }

    .sepet-total__amount, .sepet-btn span {
        font-size: 15px;
    }

    .sepet-btn {
        height: 46px;
        width: calc(100% - 32px);
    }

    .sepet-group, .sepet-group--collapsible {
        gap: 10px;
    }

    .sepet-extras {
        border-radius: 16px;
    }

    .sepet-group--collapsible.expanded .sepet-extras {
        border-width: 2px;
    }

    .sepet-extras {
        & .sepet-card {
            padding: 16px;
            border: none;
            background: transparent;
        }

        & .sepet-card:hover {
            background: transparent;
            border: none;
        }
    }

    .sepet-divider {
        margin: 0 16px;
    }

    .sepet-toggle {
        width: 34px;
        height: 34px;
        margin-left: 0;
        flex: 1;
    }
}

/* SIPARIS SORGULA SECTION */
.siparis-detay {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    border-radius: 20px;
    background: #FFFFFF;
    margin-bottom: 72px;
}

.siparis-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: rgba(249, 250, 251, 0.7);
    border: 2px solid rgba(234, 234, 237, 0.5);
    border-radius: 20px;

    & .card-header > div:first-child {
        width: 60px;
    }
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-width: 0;

    & h4 {
        font-weight: 600;
        line-height: 1.21;
        color: var(--primary-purple);
        margin: 0;
    }

    & p:nth-of-type(1) {
        font-weight: 600;
        color: var(--text-primary);
        margin: 0;
    }

    & p:last-child {
        font-weight: 600;
        font-size: 12px;
        line-height: 1.5;
        color: var(--text-dark-muted);
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.card-divider {
    height: 2px;
    background: rgba(234, 234, 237, 0.5);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.card-stat {
    display: flex;
    flex-direction: column;
    gap: 1px;

    & span:first-child {
        font-weight: 600;
        font-size: 14px;
        line-height: 1.29;
        color: var(--text-primary);
    }

    & span:last-child {
        font-weight: 400;
        font-size: 14px;
        line-height: 1.29;
        color: #7a7f99;
    }
}

.card-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 12px;
    background: #24bb3f;
    border-radius: 8px;

    & span {
        font-weight: 600;
        font-size: 14px;
        line-height: 1.29;
        color: #ffffff;
        white-space: nowrap;
    }
}

.siparis-card {
    & .card-header > div:first-child i {
        font-size: 24px;
        color: #ffffff;
    }

    & .card-header > div:first-child {
        background: #7844E4;
    }
}

.siparis-header h3,
.odeme-ozeti-header h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.21;
    margin: 0;
}

.odeme-ozeti {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    position: sticky;
    top: 40px;
}

.odeme-ozeti-divider {
    height: 1px;
    background: rgba(234, 234, 237, 0.5);
}

.odeme-ozeti-row {
    & span:first-child {
        font-weight: 600;
        font-size: 15px;
        line-height: 1.18;
        color: #7a7f99;
        width: 148px;
        flex-shrink: 0;
    }

    & span:last-child {
        font-weight: 600;
        font-size: 15px;
        line-height: 1.19;
        color: var(--text-primary);
        text-align: right;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.telafi-talebi-page .card-badge {
    background: #1da1f2;
}

/* FULL-ALERT MODAL - Theme Aligned */
.sepet-section {
    & .full-alert.show .content {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    & .full-alert .content::before {
        content: "";
        position: absolute;
        top: -100px;
        left: -100px;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(120, 68, 228, 0.15) 0%, transparent 70%);
        pointer-events: none;
        z-index: -1;
    }

    & .full-alert .content::after {
        content: "";
        position: absolute;
        bottom: -80px;
        right: -80px;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
        pointer-events: none;
        z-index: -1;
    }

    & .full-alert .content .icon {
        font-size: 64px;
        margin-bottom: 16px;
    }

    & .full-alert .content .title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    & .full-alert .content .description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 0;
    }

    & .full-alert .action {
        margin-top: 32px;
        padding-top: 0;
    }

    & .full-alert .action .butto-success {
        background: linear-gradient(135deg, var(--status-success, #34D399) 0%, #10B981 100%);
        color: var(--text-light, #FFFFFF);
        border: none;
        box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
    }

    & .full-alert .action .butto-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 211, 153, 0.4);
    }

    & .full-alert .action .butto-success:active {
        transform: translateY(0);
    }
}

/* Mobil uyum (styles-responsive.css'ten ayrildi) */

@media (max-width: 991px) {
    .card-footer {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
    }

    .card-badge {
        align-self: auto;
    }

    .odeme-ozeti {
        margin-top: 24px;
    }

    .telafi-talebi-page .card-badge {
        align-self: flex-end;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .siparis-detay {
        gap: 24px;
        padding: 20px;
        margin-bottom: 0;
        margin-top: 20px;
    }

    .card-info {
        & h4 {
            font-size: 16px;
            line-height: 1.21;
        }

        & p:nth-of-type(1) {
            font-size: 16px;
            line-height: 2.16;
        }

        & p:last-child {
            font-size: 12px;
            line-height: 1.5;
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            word-break: break-all;
        }
    }

    .card-footer {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
    }

    .card-badge {
        padding: 10px 12px;
        border-radius: 8px;
    }

    .odeme-ozeti {
        padding: 24px;
        margin-top: 0;
    }

    .odeme-ozeti-row span:first-child {
        font-size: 14px;
        width: auto;
        max-width: 140px;
    }

    .telafi-talebi-page .card-badge {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .card-stat {
        min-width: auto;
    }

    .odeme-ozeti {
        padding: 20px;
        gap: 14px;
    }

    .odeme-ozeti-details {
        gap: 14px;
    }

    .odeme-ozeti-row {
        justify-content: space-between;

        & span:first-child {
            width: auto;
            max-width: 140px;
            flex-shrink: 0;
        }

        & span:last-child {
            text-align: right;
            flex: 1;
        }
    }
}

@media (max-width: 429px) {
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .card-badge {
        align-self: center;
        justify-content: center;
        width: 100%;
    }
}

/* Sepet sayfasi: mobilde ust baslik kutusu gizli */
@media (max-width: 768px) {
    .hero-card-dark.sepet-hero {
        display: none;
    }
}

/* Sepet 2. adim: Geri Don butonu ile baslik arasi (siparis sayfasindaki gap: 16px ile ayni) */
.sepet-container > .order-back-btn {
    margin-bottom: 16px;
}

/* Giris yapmis kullanicida odeme bolumu dogrudan Geri Don altina gelir: ust bosluk 16px kalsin */
.sepet-container > .order-back-btn + .sepet-payment {
    margin-top: 0;
}

/* Toplam + Devam Et: masaustunde ozet kutusunun parcasi, mobilde ekranin altinda sabit cubuk */
.sepet-checkout { display: contents; }

@media (max-width: 991px) {
    .sepet-checkout {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 990;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: #FFFFFF;
        box-shadow: 0 -1px 0 #EAEAED, 0 -8px 24px rgba(23, 26, 38, 0.06);

        & .sepet-total {
            flex: 1;
            min-width: 0;
            padding: 0;
        }

        & .sepet-total__icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;

            & svg {
                width: 12px;
                height: 18px;
            }
        }

        & .sepet-total__text { gap: 0; }

        & .sepet-btn {
            flex-shrink: 0;
            width: auto;
            height: 48px;
            margin: 0;
            padding: 0 24px;
        }
    }

    /* sayfanin sonu sabit cubugun altinda kalmasin */
    body:has(.sepet-checkout) { padding-bottom: 72px; }
}

@media (max-width: 768px) {
    .sepet-checkout {
        bottom: 74px;
        padding-bottom: 12px;
    }
}

/* Odeme yontemi */
.sepet-payment {
    margin-top: 30px;

    & .sepet-payment__options {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    & .sepet-payment__option {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 48px 12px 12px;
        background: #FFFFFF;
        border: 2px solid #EAEAED;
        border-radius: 16px;
        cursor: pointer;
        transition: border-color 0.2s, background 0.2s;

        &:hover { border-color: #D5D7E0; }

        /* secim halkasi */
        &::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 16px;
            width: 20px;
            height: 20px;
            margin-top: -10px;
            box-sizing: border-box;
            border: 2px solid #D5D7E0;
            border-radius: 50%;
            transition: border 0.2s;
        }
    }

    & .sepet-payment__option--active {
        border-color: #7844E4;
        background: rgba(120, 68, 228, 0.04);

        &:hover { border-color: #7844E4; }
        &::after { border: 6px solid #7844E4; }
    }

    & .sepet-payment__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: #F6F7FB;

        & img {
            width: 22px;
            height: 22px;
            object-fit: contain;
        }
    }

    & .sepet-payment__info {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;

        & h4 {
            margin: 0;
            font-size: 15px;
            font-weight: 600;
            line-height: 20px;
            color: #33353E;
        }

        & p {
            margin: 0;
            font-size: 13px;
            font-weight: 500;
            line-height: 18px;
            color: #7A7F99;
        }
    }
}

/* Kupon: istege bagli, odeme yontemlerinin altinda sade satir */
.sepet-coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    margin-top: 12px;
    padding: 0 6px 0 14px;
    border-radius: 12px;
    background: #F6F7FB;
    transition: box-shadow 0.2s;

    &:focus-within { box-shadow: inset 0 0 0 2px #7844E4; }

    & svg {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        color: #7A7F99;
    }

    & input {
        flex: 1;
        min-width: 0;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        font-size: 14px;
        font-weight: 600;
        color: #33353E;

        &::placeholder {
            font-weight: 500;
            color: #7A7F99;
        }
    }

    & button {
        flex-shrink: 0;
        height: 36px;
        padding: 0 16px;
        border: 0;
        border-radius: 10px;
        background: #7844E4;
        color: #FFFFFF;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;

        &:hover { background: #6835CC; }
    }

    & .butto-light {
        background: #FFFFFF;
        color: #7A7F99;

        &:hover { background: #EAEAED; }
    }
}

/* Sepet urun kartlari: odeme kartlariyla ayni cerceve, kose ve yazi oranlari */
.sepet-list .sepet-card {
    padding: 16px;
    border: 2px solid #EAEAED;
    border-radius: 16px;
    background: #FFFFFF;

    &:hover {
        border-color: #D5D7E0;
        background: #FFFFFF;
    }

    & .sepet-content { gap: 14px; }

    & .sepet-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;

        & i { font-size: 22px; }
    }

    & .sepet-info {
        & h3 {
            font-size: 13px;
            line-height: 18px;
        }

        & p:first-of-type {
            font-size: 15px;
            line-height: 20px;
            color: #33353E;
        }

        & p:last-of-type {
            font-size: 13px;
            font-weight: 500;
            line-height: 18px;
            color: #7A7F99;
        }
    }

    & .sepet-actions { gap: 12px; }

    & .sepet-delete {
        width: 40px;
        height: 40px;

        & svg {
            width: 20px;
            height: 20px;
        }
    }
}

@media (max-width: 821px) {
    .sepet-list .sepet-card {
        & .sepet-icon {
            width: 44px;
            height: 44px;
        }

        & .sepet-delete {
            width: auto;
            height: 34px;
        }
    }
}

/* Ek paketler: ana kartin altinda tek dolgulu panel, icinde cercevesiz satirlar */
.sepet-list .sepet-extras {
    border: 0;
    border-radius: 16px;
    background: #F6F7FB;

    & .sepet-card {
        padding: 12px 16px;
        border: 0;
        border-radius: 0;
        background: transparent;

        &:hover {
            border: 0;
            background: transparent;
        }
    }

    & .sepet-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;

        & i { font-size: 18px; }
    }

    & .sepet-info {
        & h3 {
            font-size: 13px;
            line-height: 18px;

            & span {
                font-weight: 500;
                color: #7A7F99;
            }
        }

        & p:first-of-type {
            font-size: 14px;
            line-height: 20px;
        }

        & p:last-of-type {
            font-size: 12px;
            line-height: 16px;
        }
    }

    & .sepet-price {
        /* ustu cizili eski fiyat + yaninda kucuk indirim orani */
        & .sepet-price--old {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
            font-size: 12px;
            text-decoration: none;

            & s { color: #C2C4CF; }

            & small {
                font-size: 12px;
                font-weight: 600;
                color: #FF5601;
            }
        }

        & span:not(.sepet-price--old) {
            min-width: 0;
            font-size: 15px;
            color: #33353E;
        }
    }

    & .sepet-delete {
        width: 36px;
        height: 36px;

        & svg {
            width: 18px;
            height: 18px;
        }
    }

    & .sepet-divider {
        width: auto;
        margin: 0 16px;
        background: #E4E5EC;
    }
}

.sepet-group--collapsible.expanded .sepet-extras {
    margin-top: 8px;
    padding: 4px 0;
    border-width: 0;
}

@media (max-width: 821px) {
    .sepet-list .sepet-extras {
        & .sepet-delete {
            width: auto;
            height: 34px;
        }

        /* mobilde de indirim gorunsun: eski fiyat ve yeni fiyat yan yana */
        & .sepet-price {
            flex-direction: row;
            gap: 8px;
        }

        & .sepet-price--old { display: flex; }
    }
}
