/**
 * Sepet: tam sayfa liste/özet, kampanya çubuğu, mini sepet (header ajax)
 */

.cart-empty-alert,
.payment-success-alert {
    text-align: center;
}

.basketpage-items .basketpage-item {
    padding: 30px;
    border-radius: 0;
    background: #fff;
    border: 1px solid #e2e2e2;
    margin-bottom: 10px;
}

.basketpage-items .basketpage-item:last-child {
    margin: 0;
}

.bpitem-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.bpitem-right {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bpitem-right .bpitem-trash,
.bpitem-right .bpitem-quantity,
.bpitem-right .bpitem-price {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
}

.bpitem-img {
    border: 1px solid #e2e2e2;
    border-radius: 0;
    padding: 0;
}

.bpitem-img .img-auto {
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.agecart-ozet {
    padding: 30px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #fafafa;
}

.ageozet-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.03em;
    color: #000;
    border-top: 0 !important;
    padding: 0.7rem 0 !important;
}

.ageozet-text2 {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.03em;
    color: #181818;
    border-top: 0 !important;
    text-align: end;
}

.ageozet-text3 {
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.03em;
    color: #181818;
    padding: 20px 0 !important;
}

.final {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.03em;
    color: #181818;
}

.ageozet-text4 {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.03em;
    color: #a1a1a1;
}

.ageozet-final {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.payment-final-buttons-1 .btn-complete {
    background: #181818;
    border-color: #181818;
    padding: 15px 18px;
    font-size: 14px;
    border-radius: 0;
}

.payment-final-buttons-1 .btn-complete:hover {
    background: #181818;
    border-color: #181818;
}

.ageindirim-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.03em;
    color: #181818;
}

p.ageindirim-sub {
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.03em;
    color: #a1a1a1;
    padding-top: 8px;
    padding-bottom: 20px;
}

.ageindirim {
    margin-top: 40px;
}

.agecart {
    width: 100%;
    background: transparent;
    border-radius: 0;
}

tr.agecart-2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 35px;
    width: 40%;
}

td.td-product {
    flex: 2;
}

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

td.td-quantity {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.td-product .p-info {
    padding-top: 20px;
    padding-left: 15px;
}

td.td-total-price {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agesepet-title {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: -0.03em;
    color: #181818;
    background: none;
    padding: 25px 0;
}

.agesepet-title h5 {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.03em;
    color: #181818;
}

.shopping-cart-1 {
    border: 1px solid #e2e2e2;
    border-radius: 0;
    background: #fff;
}

.shopping-cart-1 td {
    padding: 0;
}

.td-product .product {
    margin-left: 0;
}

.td-product .image {
    border: none;
    padding: 0;
    height: max-content;
}

.td-product .p-info a {
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: normal;
    letter-spacing: -0.03em;
    color: #000;
}

.td-total-price .value {
    font-weight: 500;
    font-size: 16px;
    line-height: normal;
    letter-spacing: -0.53px;
    color: #000;
}

.shopping-cart-1 .td-total-price .old-value {
    color: #575757;
    font-size: 13px;
    font-weight: 400;
}

.shopping-cart-1 .td-total-price {
    gap: 10px;
    line-height: normal;
}

.product-quantity .btn:hover {
    background: transparent;
}

.agecartbody {
    display: flex;
    border-bottom: 1px solid #e2e2e2;
    padding: 0 25px;
}

.agecartbody:last-child {
    border-bottom: 0;
}

.agesepet-ep2 {
    display: flex;
    width: 60%;
    flex-direction: row-reverse;
}

.p-info .variants {
    font-weight: 300;
    font-size: 12px;
    line-height: normal;
    letter-spacing: -0.03em;
    color: #575757;
    padding-top: 5px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
}

.sepet-promosyon-bilgi {
    color: #0a7608;
    background: #adeca77d;
    padding: 10px;
    font-size: 11px;
    border-radius: 5px;
    margin-bottom: 0.4rem;
}

.agesepetcek {
    text-align: end;
}

.agesepetcek2 {
    padding: 0.75rem 0 !important;
}

.fastpay-body .steps,
.order-summary-v2 .td-product .product,
.payment-steps-1,
.pre-compare-wrapper .list-wrapper .list,
.shopping-cart-1 .td-product .product {
    display: flex;
    flex-direction: row;
}

.shopping-cart-1 .sepet-product-quantity .btn {
    width: 20px;
    height: 42px;
    font-size: 10px;
    padding: 0 !important;
}

.shopping-cart-1 .sepet-product-quantity input {
    width: 25px;
    height: 30px;
    font-size: 13px;
}

.sepet-product-quantity .btn {
    background: #fff;
    color: #484848;
    border-color: transparent !important;
    font-size: 11px;
    font-weight: 500;
    width: 30px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 0 !important;
}

.td-quantity .btn-remove img {
    width: 35px;
    height: 100%;
}

td.td-quantity .btn-remove {
    padding: 0;
    border: none;
}

.sepet-product-quantity {
    justify-content: center;
    display: flex;
    align-items: center;
    border: 1px solid #e2e2e2;
    width: fit-content;
    padding: 0 8px;
    border-radius: 0;
    gap: 10px;
}

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

.sepet-product-quantity .btn.sepet-btn-minus {
    border-radius: 0 !important;
    padding: 20px;
}

a.btn.sepet-btn-minus {
    background: none;
}

.sepet-td-price input.sepet-form-control {
    height: 42px;
    padding: 0;
    text-align: center;
    border: none !important;
}

.shopping-cart-1 .td-product .product .image .img-auto {
    border-radius: 0;
    width: 100px;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

a.btn.sepet-btn-plus {
    background: none;
}

.sepet-product-quantity .btn.sepet-btn-plus {
    border-radius: 0 !important;
    padding: 20px;
}

.card-body .sticky-sidebar-992-2 {
    margin-bottom: 0;
}

.p-g-mod-base-content {
    border: none;
}

.bpdefault-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 10px;
}

.bpdefault-title h4 {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.03em;
    color: #181818;
    line-height: normal;
}

.bpdefault-title span {
    line-height: normal;
    font-weight: 300;
    font-size: 13px;
    letter-spacing: -0.03em;
    color: #666;
}

.bpgift-form input {
    font-size: 15px;
    font-weight: 400;
    height: 52px;
    padding-left: 15px;
    border-right: 0;
    border-radius: 10px 0 0 10px;
}

.bpgift-form button {
    font-size: 13px;
    font-weight: 500;
    background: #000;
    border-color: #000;
    padding: 0 24px;
    border-radius: 0 10px 10px 0;
    text-transform: uppercase;
}

.basketpage-giftblock {
    margin-bottom: 1.5rem;
}

.basketpage-giftblock .input-group .form-control {
    border-radius: 10px 0 0 10px;
}

.pcarts1-card {
    padding: 25px;
    border: 1px solid #e2e2e2;
    border-radius: 0;
    background: #fff;
}

.pcart-table-item {
    border-bottom: 1px solid #e2e2e2;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcarts1-table .pcart-table-item:last-child {
    border: none;
    padding: 10px 0 0;
}

.pcart-table-item .row {
    width: 100%;
}

.pcart-table-item .row .col-12 {
    padding: 0;
}

.pcartitem-right,
.pcartitem-left {
    display: flex;
    height: 100%;
    align-items: center;
}

.pcartitem-right {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.pcart-table-title1 {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.03em;
    color: #000;
    margin: 0;
}

.pcart-table-title2 {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: -0.03em;
    color: #181818;
}

.pcart-table-titlefinal {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.03em;
}

.payment-cart-summary-1 .summary tfoot .final,
.pcart-table-titlefinal {
    color: #181818;
}

.pcart-table-title3 {
    font-weight: 400;
    font-size: 12px;
    letter-spacing: -0.03em;
    color: #a1a1a1;
}

.pcarts1-table {
    margin-bottom: 15px;
}

.pcart-table-item .col-6 {
    padding: 0;
}

.payment-cart-summary-1 .summary {
    background: transparent;
}

.payment-summary-section {
    margin-bottom: 15px !important;
}

.pcart-tab .p-list-button {
    background: #fafafa;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    padding: 10px 15px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
}

.payment-cart-summary-1 .summary tfoot th {
    border: 0;
    padding: 0;
}

.payment-cart-summary-1 .summary tfoot tr {
    display: flex;
    border-bottom: 1px solid #e2e2e2;
    padding: 10px 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.payment-cart-summary-1 .summary tfoot tr:last-child {
    border: none;
    padding: 10px 0 0;
}

.pcart-tab .p-list {
    background: #fafafa;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    padding: 5px;
}

.pcart-tab .p-list th,
.pcart-tab .p-list td {
    border: none;
}

.pcart-tab .p-list tbody tr {
    border-top: 1px solid #e2e2e2;
}

/* Kampanya çubuğu */
.campaign-count-block {
    padding: 10px;
    border: 1px dashed #000;
    background: #00000017;
    margin: 10px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.campaign-count-block .icon {
    position: absolute;
    left: -3%;
    bottom: -22%;
    opacity: 0.3;
}

.campaign-count-block .icon svg {
    width: 52px;
    height: 100%;
}

.campaign-count-block .progress {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 8px;
    position: relative;
    z-index: 2;
    border-radius: 200px;
    background: #b8b8b8;
    border: 1px solid #e2e2e2;
}

.payment-cart-summary-1 .campaign-count-block .progress {
    margin-top: 5px;
}

.campaign-count-block .progress .inside {
    height: 4px;
    background: #fff;
    width: 0;
    transition: width 0.3s ease;
}

.payment-cart-summary-1 .campaign-count-block {
    margin: 0 0 10px;
    padding: 7px;
    font-size: 13px;
}

.campaign-count-block .title {
    color: unset;
    font-size: unset;
    margin: unset;
    padding: unset;
    font-weight: unset;
}

.payment-cart-summary-1 .campaign-count-block .icon {
    opacity: 0.2;
    bottom: -22%;
    left: -6%;
}

/* Hediye çeki modülü (p-g-mod-t-39) */
.p-g-mod.p-g-mod-t-39 .p-g-mod-body input {
    padding: 0.275rem 0.7rem !important;
    height: 45px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 0;
    line-height: normal;
}

.p-g-mod.p-g-mod-t-39 .p-g-mod-body .btn-secondary {
    font-weight: 500;
    background: #181818;
    border-color: #181818;
    padding: 9px 16px;
    border-radius: 0;
    font-size: 11px;
}

/* Ajax özet (header) */
.ajax-ozet-bottom {
    padding: 15px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #f4f4f4;
}

.ajax-ozet-bottom .total-price {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.ajax-ozet-bottom .gotocart,
.ajax-ozet-bottom .gotopayment {
    display: block;
    text-align: center;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #ebebeb;
    color: #000;
}

.ajax-ozet-bottom .gotopayment {
    background: #181818;
    color: #fff;
    border-color: #181818;
}

.header-cart-summary-1 .table th {
    font-size: 12px !important;
    font-weight: 500;
}

.header-cart-summary-1 .buttons {
    display: flex;
    flex-direction: column;
    margin-right: 12px;
}

.header-cart-summary-1 .buttons .btn {
    font-size: 12px !important;
    padding: 5px 3px !important;
    margin: 5px;
    background: var(--add-cart-list-bg);
    color: var(--add-cart-list);
    transition: all var(--transition-time);
}

.header-cart-summary-1 .buttons .btn:hover {
    background: var(--add-cart-list-bg-hover);
    color: var(--add-cart-list-hover);
}

.header-cart-summary-1 .buttons .btn-color-2 {
    background: var(--buy-now-bg);
    color: var(--buy-now);
    transition: all var(--transition-time);
}

.header-cart-summary-1 .buttons .btn-color-2:hover {
    background: var(--buy-now-bg-hover);
    color: var(--buy-now-hover);
}

.header-cart-summary-1 .buttons .btn-color-2 i {
    font-size: 8px;
    padding-left: 3px;
}

/* Header mini sepet — yan panel */
header.desktop .header-cart-hover .nav-link::after {
    display: none;
}

header.desktop .header-cart-hover {
    position: relative;
    display: flex;
    flex: 1;
    height: 100%;
}

header.desktop .header-cart-hover .dropdown-menu {
    display: none !important;
    border: 0;
    border-radius: 0;
    background-color: #fff;
    width: 400px;
    left: inherit;
    right: -400px;
    top: 0;
    position: fixed;
    border-radius: 0;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0;
    height: 100%;
    z-index: 1003;
    transition: all 0.4s;
    flex-direction: column;
}

header.desktop .header-cart-hover .dropdown-menu.active {
    display: flex !important;
    right: 0;
    opacity: 1;
}

.header-cart-hover .dropdown-menu .top-header {
    background: transparent;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
    flex-shrink: 0;
}

.header-cart-hover .dropdown-menu .top-header .title {
    font-size: 16px;
    padding: 5px 0;
    font-weight: 500;
}

.header-cart-hover .dropdown-menu .close-cart {
    color: #555;
    cursor: pointer;
}

.header-cart-hover .products {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.header-cart-hover .summary {
    flex-shrink: 0;
    border-top: 1px solid #ebebeb;
    background: #fff;
}

.header-cart-hover .btn-remove {
    border: none;
    width: 32px;
    height: auto;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-left: 10px;
    background: transparent !important;
    margin-right: 3px;
    padding: 0;
}

.header-cart-hover .btn-remove img {
    width: 27px;
    height: 100%;
}

.ajax-shopping-cart {
    padding: 0;
    max-height: 550px;
    overflow-y: auto;
    flex: 1;
}

.ajax-cart-empty {
    font-size: 13px !important;
    text-align: center;
    padding: 20px 0;
}

.ajax-shopping-cart .product {
    display: flex;
    margin-bottom: 10px;
    border: 1px solid #f4f4f4;
    background: #fff;
    padding: 6px;
}

.ajax-shopping-cart .product:last-child {
    margin-bottom: 10px;
    border: 1px solid #f4f4f4;
    background: #fff;
    padding: 6px;
}

.ajax-shopping-cart .product .image {
    flex: unset;
    max-width: 112.5px;
    margin-right: 8px;
}

.ajax-shopping-cart .product .image img {
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    height: 140px;
}

.ajax-shopping-cart .product .price {
    font-size: 12px;
    text-align: left;
    margin-top: 7px;
    color: #575757;
    font-weight: 400;
}

.ajax-shopping-cart .product .price .value b {
    font-weight: 500;
    color: #000;
}

.ajax-shopping-cart .product .info {
    flex: 3;
    text-align: left;
    padding-top: 6px;
}

.ajax-shopping-cart .product .info .name {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.ajax-shopping-cart .product .info .variants {
    display: flex;
    margin: 3px 0 0;
    gap: 14px;
    line-height: normal;
}

.ajax-shopping-cart .product .info .variants .variant {
    font-size: 12px;
    color: #575757;
    font-weight: 300;
}

.ajax-shopping-cart .product .info .variants .variant .name {
    color: #575757;
    font-size: 12px;
    font-weight: 300;
}

@media (max-width: 991px) {
    .td-quantity .btn-remove img {
        width: 33px;
    }

    .basket-page-style .p-g-b-c-1 {
        padding-left: 10px;
    }

    .basket-page-style .p-g-b-c-0 {
        padding-right: 10px;
    }

    .shopping-cart-1 .td-total-price {
        flex: 1;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 2px;
        line-height: normal;
    }

    .shopping-cart-1 .sepet-product-quantity input {
        font-size: 12px;
    }

    .shopping-cart-1 .sepet-product-quantity .btn {
        width: 16px;
        font-size: 8px;
    }

    .agesepet-ep2 td.td-quantity {
        flex: unset;
        margin-left: 15px;
    }

    .shopping-cart-1 .td-total-price .old-value {
        font-size: 12px;
    }

    .td-total-price .value {
        font-size: 15px;
    }

    td.sepet-td-price {
        flex: 1;
    }

    .td-product .product {
        margin-left: 0;
    }

    tr.agecart-2 {
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
        padding: 0;
    }

    .agesepet-ep2 {
        width: 100%;
        margin-top: 15px;
    }

    .td-product .p-info a {
        font-size: 15px !important;
    }

    .td-product .p-info {
        padding-top: 10px;
    }

    .agecartbody {
        flex-direction: column;
        padding: 20px;
    }
}