@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
:root {
    --primary-color: #004469;
    --accent-color: #f8c252;
    --light-bg: #f9f9f9;
    --border-color: #e0e0e0;
    --success: #28a745;
    --discount: #e63946;
}
body, html{
    font-size:16px!important;
}
body{
    height: 100vh!important;
}
@media (max-width: 768px) {
    .col-lg-8{
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
    }

}


.breadcrumb{
    display: none!important;
}

.badges-container{
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-item{
    background-color: #F8F9FA;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}
.cart-item-details-container{
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 1rem;}
.cart-item-detail{
    color: #999;
    font-size: 0.9rem;
    font-weight: 400;
}

.cart-section {
    padding: 40px 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

h1.section-title{
    text-align: left!important;
}
.cart-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 8px;
}
.cart-item > .row{
    margin-right: -5px!important;
    margin-left: -5px!important;
} 

.cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cart-item-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--discount);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
}

.cart-item-image {
      height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 7px;
      overflow: hidden;
}

.cart-item-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.05);
}

.cart-item-details {
    padding: 15px;
}

.cart-item-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

.cart-item-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    font-weight: 400;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    height: 36px;
}

.quantity-btn {
    background: var(--light-bg);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    color: black;
    transition: background 0.2s;
}

.quantity-btn:hover {
    background: var(--border-color);
}

.quantity-input {
    width: 40px!important;
    height: 34px;
    border: none;
    padding: 0px!important;
    border:none!important;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    margin-left: auto;
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.remove-btn:hover {
    transform: scale(1.1);
}

.cart-summary {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    padding: 20px;
    position: sticky;
    top: 20px;
}

.summary-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.summary-discount {
    color: var(--discount);
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.checkout-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 5px!important;
    font-weight: 600;
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 20px;
    transition: background 0.3s, transform 0.2s;
}

.checkout-btn:hover {
    background: #003654;
    transform: translateY(-2px);
}

.promo-form {
    margin-top: 20px;
    position: relative;
}

.promo-input {
    width: 100%!important;
    padding: 10px 100px 10px 15px!important;
    border: 1px solid var(--border-color)!important;
    border-radius: 5px!important;
    font-size: 15px!important;
    height: auto !important;
}

.promo-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 3px!important;
    padding: 5px 15px!important;
    cursor: pointer;
}

.gift-items {
    margin-top: 30px;
}

.gift-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: left!important;
    margin-bottom: 0!important;
}

.gift-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

@media (max-width: 768px) {
    .gift-item{
     padding: 5px!important;
    }
    .gift-item .product-item a{
        max-width: 150px;
    }
    
}

.gift-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
.gift-item form{
    width: 100%;
}
.product-item {
    margin-bottom: 0!important;
}

.gift-item .product-image {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 5px; 
}
.gift-item .badge-area{
   display: none;
}

.gift-item .product-item{
   height: auto!important;
}



.gift-item .product-item{
    display: flex;
    align-items: center;
    gap: 10px;
}
.text-muted{
    font-size: 13px!important;
}
.mt-3{
    margin-top: 1rem!important;
}
.mb-3{
    margin-bottom: 1rem!important;
}
.gift-item .product-item a{
    margin-bottom: 0!important; 
    min-height:auto!important;
    height:auto!important;
}
.gift-item .product-item .text{
    height: auto!important;
    padding: 0!important;
    min-height: auto!important;
}

.gift-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.select-btn {
    margin-left: auto;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    position: absolute;
    right: 10px;
    top: 10px;
    
}

.select-btn:hover {
    background: var(--border-color);
}



.select-btn.selected {
    background: var(--success)!important;
    color: white!important;
    border-color: var(--success)!important;
}

.empty-cart-msg {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-cart-icon {
    font-size: 60px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.continue-shopping {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s;
}

.continue-shopping:hover {
    background: #003654;
}

/* Animation classes */
.fly-to-cart {
    position: fixed;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: fly 1s ease-in-out forwards;
}

@keyframes fly {
    0% {
        transform: scale(0.7);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100vw) scale(0.3);
        opacity: 0;
    }
}

.animate-item {
    animation: fadeInUp 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shake-animation {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.flash-success {
    animation: flashGreen 1s;
}

@keyframes flashGreen {
    0%, 100% { background-color: transparent; }
    50% { background-color: rgba(40, 167, 69, 0.2); }
}

/* Set Ürünleri Stili */
.set-products {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.set-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    text-align: left!important;
}

.set-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.set-products-slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: thin;
}

.set-products-slider::-webkit-scrollbar {
    height: 6px;
}

.set-products-slider::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

.set-product-card {
    min-width: 200px;
    background: var(--light-bg);
    border-radius: 8px;
    padding: 13px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.set-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.set-product-img {
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.set-product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.set-product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 175px;
}

.set-product-price {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    position: relative;
}

.set-product-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
    margin-right: 5px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 8px 0;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: #003654;
}

.offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--discount);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 5;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.mt-4{
    margin-top: 1rem!important;
}

.mt-2{
    margin-top: 0.5rem!important;
}