/*--- WHATSAPP START ---*/
/* --- BUTTON START --- */
.wpBtn {
    font-family: Roboto;
    position: fixed;
    z-index: 2;
    bottom: 40px;
    right: 25px;
    display: flex;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgb(37, 211, 102);
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

    .wpBtn svg {
        width: 40px;
        height: 40px;
        color: white;
        margin-top: 5px;
    }

    .wpBtn:hover {
        background-color: rgb(50, 230, 116);
    }

#check {
    display: none;
}

/* checkbox işaretliyse popup aç */
    #check:checked ~ .popup {
        display: block;
    }
/* --- BUTTON END --- */


/* --- POPUP START --- */
.popup {
    font-family: Roboto;
    position: fixed;
    z-index: 2;
    bottom: 110px;
    right: 25px;
    display: none;
    width: 310px;
    height: 230px;
    background-color: #efe8e0;
    animation: smooth-popup 0.4s linear;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 30px 0px;
    border-radius: 16px;
}

@keyframes smooth-popup {
    0% {
        opacity: 0;
        margin-bottom: -20px;
    }

    100% {
        opacity: 1;
        margin-bottom: 0px;
    }
}

.wpTop {
    display: flex;
    align-items: center;
    width: 310px;
    height: 80px;
    border-radius: 16px 16px 0 0;
    background-color: rgb(0, 128, 105);
}

.topIn {
    display: flex;
    margin-left: 20px;
}

.foto {
    display: flex;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.topIn img {
    width: 30px;
}

.topIn h1 {
    font-size: 16px;
    color: #fff;
    margin: 3px 0 0 15px;
    font-weight: 500;
}

.topIn p {
    font-weight: 300;
}

.youMsg {
    display: flex;
    width: 160px;
    height: 65px;
    border-radius: 16px;
    background-color: #fff;
    margin: 20px 0 0 20px;
    align-items: center;
    justify-content: center;
    padding-left: 3px;
}

    .youMsg p {
        overflow: hidden;
        padding: 5px;
        font-weight: 300;
    }

.wpChatBtn {
    display: flex;
    width: 85%;
    height: 35px;
    margin: 16px auto 0;
    background-color: #fff;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
}

    .wpChatBtn input {
        padding: 0 3px 0 10px;
        width: 85%;
        font-weight: 500;
        border: none;
    }

        .wpChatBtn input:focus {
            outline: none;
        }

    .wpChatBtn svg {
        width: 18px;
        height: 18px;
        color: #fff;
    }

.wpSendBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 30px;
    background-color: rgb(37, 211, 102);
    border-radius: 20px;
}










.tellBtn {
    font-family: Roboto;
    position: fixed;
    z-index: 2;
    bottom: 120px;
    right: 25px;
    display: flex;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    background-color: rgb(25, 190, 90);
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

    .tellBtn svg {
        width: 25px;
        height: 25px;
        color: white;
        margin-top: 5px;
    }

    .tellBtn:hover {
        background-color: var(--themeColorBoom);
    }
    /*--- WHATSAPP END ---*/

























/* --- LEDJI CART SYSTEM STYLES --- */
/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .cart-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: #121214;
    color: #fff;
    z-index: 99999;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

    .cart-drawer.active {
        transform: translateX(0);
    }

/* Drawer Header */
.cart-header {
    padding: 20px 24px;
    background: #1a1a1e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

    .cart-header-title i {
        color: var(--themeColor, #00d2ff);
    }

.cart-close-btn {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .cart-close-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

/* Drawer Body */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Empty Cart State */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #888;
    gap: 15px;
    padding: 40px 0;
}

    .cart-empty i {
        font-size: 4rem;
        color: rgba(255, 255, 255, 0.15);
    }

    .cart-empty p {
        font-size: 1rem;
        margin: 0;
    }

/* Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    transition: border-color 0.2s ease;
}

    .cart-item:hover {
        border-color: rgba(255, 255, 255, 0.15);
    }

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    background: #000;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

    .cart-item-name:hover {
        color: var(--themeColor, #00d2ff);
    }

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--themeColorBoom);
}

.cart-item-price-tl {
    font-size: 0.8rem;
    color: #aaa;
    font-weight: normal;
    margin-left: 4px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.cart-qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.2s;
}

    .cart-qty-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.cart-qty-val {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}

    .cart-item-remove:hover {
        background: rgba(255, 77, 77, 0.15);
    }

/* Customer Note Box */
.cart-note-container {
    margin-top: 10px;
}

.cart-note-label {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 6px;
    display: block;
}

.cart-note-textarea {
    width: 100%;
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 0.85rem;
    resize: vertical;
    min-height: 60px;
    outline: none;
    transition: border-color 0.2s;
}

    .cart-note-textarea:focus {
        border-color: var(--themeColor, #00d2ff);
    }

/* Drawer Footer */
.cart-footer {
    padding: 20px 24px;
    background: #1a1a1e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.cart-total-label {
    font-size: 1rem;
    color: #aaa;
}

.cart-total-values {
    text-align: right;
}

.cart-total-usd {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--themeColorBoom, #00ff88);
}

.cart-total-tl {
    font-size: 0.9rem;
    color: #888;
    display: block;
}

.cart-send-btn {
    width: 100%;
    padding: 14px;
    background: #25d366; /* WhatsApp Green */
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

    .cart-send-btn:hover {
        background: #20bd5a;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    .cart-send-btn i {
        font-size: 1.3rem;
    }

.cart-clear-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    align-self: center;
    transition: color 0.2s;
}

    .cart-clear-btn:hover {
        color: #ff4d4d;
    }

/* Badge on Header Cart Icon */
.cart-trigger-btn {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: 10px;
    right: 0px;
    background: #ff3b30;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: justify;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    animation: cartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartPop {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* Modal Popup for Reset Cart Confirmation */
.cart-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

    .cart-confirm-modal.active {
        opacity: 1;
        visibility: visible;
    }

.cart-confirm-box {
    background: #1e1e24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.2s ease;
}

.cart-confirm-modal.active .cart-confirm-box {
    transform: scale(1);
}

.cart-confirm-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cart-confirm-desc {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cart-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cart-confirm-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cart-confirm-btn-yes {
    background: #ff3b30;
    color: #fff;
}

.cart-confirm-btn-no {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cart-confirm-btn:hover {
    opacity: 0.9;
}

/* Product Card Add to Cart Button (Product List) */
.btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--themeColor, #00d2ff);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-top: 8px;
}

    .btn-add-to-cart:hover {
        background: var(--themeColorBoom, #00ff88);
        color: #fff;
        transform: translateY(-1px);
    }
/*--- CART END ---*/


























/*--- CART VIEW START ---*/
.cartview-container {
    max-width: 1080px;
    margin: 40px auto;
    padding: 0 20px;
}

.cartview-card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.cartview-header {
    background: #fff;
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cartview-code-badge {
    background: var(--themeColorBoom);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.cartview-date {
    color: #aaa;
    font-size: 0.9rem;
}

.cartview-body {
    padding: 30px;
}

.cartview-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

    .cartview-table th {
        background: #f1f1f1;
        color: #888;
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 1px;
        padding: 14px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

.cartview-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    color: #000;
}

.cartview-prod-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: #000;
}

.cartview-prod-link {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.cartview-prod-link:hover {
    color: var(--themeColor, #00d2ff);
}

.cartview-note-box {
    background: #fff;
    /*border-left: 4px solid var(--themeColorBoom, #00ff88);*/
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.cartview-note-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--themeColorBoom, #00ff88);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cartview-note-content {
    color: #000;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap;
    margin: 0;
}

.cartview-summary {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.cartview-summary-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #aaa;
}

.cartview-summary-total {
    text-align: right;
}

.cartview-total-usd {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--themeColorBoom, #00ff88);
}

.cartview-total-tl {
    font-size: 1rem;
    color: #888;
}

@media (max-width: 768px) {
    .cartview-table th:nth-child(3),
    .cartview-table td:nth-child(3) {
        display: none;
    }
    
    .cartview-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
/*--- CART VIEW END ---*/