/**
 * Nova Premium Cart Page Styles
 * Modern, Clean & Elegant Shopping Cart Design
 */

/* ============================================
   CART PAGE LAYOUT
   ============================================ */

/* Hide unnecessary elements */
.hdzipweb,
.affiliate-banner22,
.altftrst,
.hdgsr,
.hdgzl,
.syfbsks1,
.syfbsks,
.alisdv,
.gsstr,
.gzzl,
.ansyfdn,
.grds,
.ustaciks,
.acjssd,
.link-text {
    display: none !important;
}

/* Main Cart Container */
.sepet {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Left Side - Cart Items */
.sepetleft {
    flex: 1;
    min-width: 300px;
}

/* Right Side - Order Summary */
.sepetright {
    width: 380px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* ============================================
   CART HEADER
   ============================================ */
.sepetbaslik {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d2d5a 100%);
    color: #fff;
    padding: 20px 25px;
    border-radius: 16px 16px 0 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.sepetbaslik .uhinfo,
.sepetbaslik .uhperiyod,
.sepetbaslik .uhtutar {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   CART ITEMS
   ============================================ */
.sepetlist {
    background: rgba(30, 30, 60, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
}

.sepetlist:last-child {
    border-radius: 0 0 16px 16px;
}

.sepetlist:hover {
    background: rgba(40, 40, 80, 0.95);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Promo Label */
.sepetlist .row-label {
    position: absolute;
    top: 10px;
    right: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sepetlist .row-label.green-label {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Cart Item Content */
.sepetlistcon {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Product Info */
.uhinfo {
    flex: 1;
    min-width: 0;
}

.uhinfo h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.uhinfo h5 strong {
    color: #fff;
}

.uhinfo h4 {
    margin: 0;
}

.uhinfo h4 a {
    color: #667eea;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.uhinfo h4 a:hover {
    color: #8b5cf6;
}

.uhinfo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 8px 0 0 0;
}

/* Additional Details */
.cart-additional-details {
    margin-top: 12px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cart-additional-details a {
    color: #667eea;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cart-additional-details a:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #8b5cf6;
}

/* Whois Privacy Checkbox */
.cart-additional-details .checkbox-custom-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    cursor: pointer;
}

.cart-additional-details .checkbox-custom {
    accent-color: #667eea;
}

/* Period Selection */
.uhperiyod {
    width: 160px;
    text-align: center;
}

.uhperiyod h5 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.uhperiyod select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uhperiyod select:hover,
.uhperiyod select:focus {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.1);
    outline: none;
}

.uhperiyod select option {
    background: #1a1a3e;
    color: #fff;
}

/* Amount/Price */
.uhtutar {
    width: 140px;
    text-align: right;
}

.uhtutar h4 {
    color: #10b981;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.uhtutar h4 strong {
    color: #10b981;
}

.uhtutar .amount_spot_view {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.uhtutar .currposleft,
.uhtutar .currposright {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

/* Delete Button */
.uhsil {
    width: 45px;
    text-align: center;
}

.uhsil a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    color: #ef4444;
    font-size: 16px;
    transition: all 0.3s ease;
}

.uhsil a:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: scale(1.1);
}

/* ============================================
   EMPTY CART MESSAGE
   ============================================ */
#empty_list {
    background: rgba(30, 30, 60, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
}

#empty_list i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

#empty_list h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

/* ============================================
   LOADER
   ============================================ */
#basket_loader,
#OrderSummary_loader {
    padding: 40px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 3px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   CONTINUE SHOPPING BUTTON
   ============================================ */
#continueshopbtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin: 30px 0;
    transition: all 0.3s ease;
}

#continueshopbtn:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* ============================================
   PAYMENT LOGOS
   ============================================ */
.paymentlogos {
    margin-top: 30px;
    padding: 25px;
    background: rgba(30, 30, 60, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.paymentlogos img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 0 10px;
}

.paymentlogos img:hover {
    opacity: 1;
}

.paymentlogos span {
    display: block;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* ============================================
   ORDER SUMMARY (RIGHT SIDE)
   ============================================ */
.sepetrightshadow {
    background: rgba(30, 30, 60, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.sepetright .sepetbaslik {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0;
    text-align: center !important;
    padding: 18px;
    border: none;
}

.sepetrightcon {
    padding: 25px;
    background: transparent;
}

/* Summary Table */
.sepetsipinfo {
    width: 100%;
    border-collapse: collapse;
}

.sepetsipinfo tr td {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.sepetsipinfo tr:last-child td {
    border-bottom: none;
}

.sepetsipinfo tr td strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.sepetsipinfo tr td h5 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.sepetsipinfo tr td h5 .amount_spot_view {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

/* Total Amount Payable */
.sepetsipinfo .totalamountinfo {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 12px;
    padding: 25px 15px !important;
    margin-top: 15px;
    border: none !important;
}

.sepetsipinfo .totalamountinfo strong {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sepetsipinfo .totalamountinfo h5 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.sepetsipinfo .totalamountinfo h5 .amount_spot_view {
    justify-content: center;
}

/* ============================================
   COUPON CODE
   ============================================ */
#use_coupon {
    background: transparent !important;
}

#use_coupon td {
    padding: 20px 0 !important;
    text-align: center;
}

#use_coupon a {
    color: #667eea;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

#use_coupon a:hover {
    color: #8b5cf6;
}

.kuponkodu {
    margin-top: 15px;
}

.kuponkodu input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.kuponkodu input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.kuponkodu input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#coupon_result {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
}

#coupon_result.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Discount Rows */
#dealership_discounts tr td,
#coupon_discounts tr td {
    color: #10b981 !important;
}

#dealership_discounts tr td h5,
#coupon_discounts tr td h5 {
    color: #10b981 !important;
}

/* ============================================
   CHECKOUT BUTTONS
   ============================================ */
.sepetright .gonderbtn,
#continue_go {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
}

.sepetright .gonderbtn:hover,
#continue_go:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.45);
}

#continue_block {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 30px;
    background: rgba(100, 100, 120, 0.3);
    border: none;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: 700;
    cursor: not-allowed;
    margin-top: 20px;
}

/* ============================================
   MODALS (DNS & WHOIS)
   ============================================ */
#cart-ns-details,
#cart-whois-details {
    background: #1a1a3e;
    border-radius: 16px;
}

#cart-ns-details .padding20,
#cart-whois-details .padding20 {
    padding: 25px;
}

#cart-ns-details input[type="text"],
#cart-whois-details input[type="text"],
#cart-whois-details select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

#cart-ns-details input[type="text"]:focus,
#cart-whois-details input[type="text"]:focus,
#cart-whois-details select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.red-info,
.blue-info {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.red-info {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.blue-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.red-info p,
.blue-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.modal-foot-btn {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.2);
    text-align: right;
}

.modal-foot-btn .lbtn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-foot-btn .lbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

/* Tab Navigation */
#tab-contact-type .tab {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#tab-contact-type .tab li {
    margin: 0;
}

#tab-contact-type .tab .tablinks {
    display: block;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

#tab-contact-type .tab .tablinks:hover {
    color: #fff;
}

#tab-contact-type .tab .tablinks.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tabcontent {
    display: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .sepet {
        flex-direction: column;
    }

    .sepetright {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .sepet {
        padding: 0 15px;
        margin: 20px auto;
    }

    .sepetlistcon {
        flex-wrap: wrap;
        gap: 15px;
    }

    .uhinfo {
        width: 100%;
    }

    .uhperiyod {
        width: 120px;
    }

    .uhtutar {
        width: auto;
        flex: 1;
    }

    .uhsil {
        width: auto;
    }

    .sepetbaslik {
        padding: 15px 20px;
        font-size: 13px;
    }

    .sepetrightcon {
        padding: 20px;
    }

    .sepetsipinfo .totalamountinfo h5 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .sepetlistcon {
        padding: 15px;
    }

    .uhinfo h5 {
        font-size: 14px;
    }

    .uhperiyod select {
        padding: 8px 12px;
        font-size: 13px;
    }

    .uhtutar h4 {
        font-size: 16px;
    }

    #continueshopbtn {
        width: 100%;
        justify-content: center;
    }

    .cart-additional-details {
        flex-direction: column;
        gap: 10px;
    }

    .cart-additional-details a {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.sepetlist {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.sepetlist:nth-child(1) {
    animation-delay: 0.1s;
}

.sepetlist:nth-child(2) {
    animation-delay: 0.2s;
}

.sepetlist:nth-child(3) {
    animation-delay: 0.3s;
}

.sepetlist:nth-child(4) {
    animation-delay: 0.4s;
}

.sepetlist:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delete animation */
.sepetlist.deleting {
    animation: fadeOutLeft 0.4s ease forwards;
}

@keyframes fadeOutLeft {
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}