/* =========================================================
   DLPT CART & CHECKOUT LONG CHAU STYLE (BRAND IDENTITY)
   ========================================================= */

/* Chung */
.dlpt-cc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    font-family: inherit;
    color: #333;
}
.dlpt-cc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}
.dlpt-cc-left {
    flex: 1;
    min-width: 0;
}
.dlpt-cc-right {
    width: 380px;
    position: sticky;
    top: 20px;
}

/* Các Box (Trắng, viền cong) */
.dlpt-cc-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.dlpt-cc-box-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

/* Khối Miễn phí vận chuyển (Cart & Checkout Header) */
.dlpt-cc-free-shipping-bar {
    background: #037b30;
    color: #ffffff;
    padding: 12px;
    text-align: center;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    font-size: 14px;
    margin: -20px -20px 20px -20px;
}

/* Danh sách sản phẩm giỏ hàng */
.dlpt-cart-items-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    gap: 15px;
}
.dlpt-header-select-all {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}
.dlpt-header-price {
    flex: 0 0 110px;
    text-align: center;
}
.dlpt-header-qty {
    flex: 0 0 90px;
    text-align: center;
}
.dlpt-header-remove {
    flex: 0 0 30px;
}

.dlpt-cart-item {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    gap: 15px;
}
.dlpt-cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.dlpt-item-product-meta {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}
.dlpt-item-img {
    flex: 0 0 70px;
}
.dlpt-item-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    display: block;
}
.dlpt-item-info {
    flex: 1;
    min-width: 150px;
}
.dlpt-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dlpt-item-price {
    flex: 0 0 110px;
    font-weight: 700;
    color: #166534;
    font-size: 15px;
    text-align: center;
}
.dlpt-item-qty {
    flex: 0 0 90px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    height: 32px;
    width: 90px;
    background: #fff;
}
.dlpt-item-qty button {
    background: transparent;
    border: none !important;
    width: 30px;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 0;
    height: 100%;
}
.dlpt-item-qty input {
    width: 30px !important;
    text-align: center;
    border: none !important;
    font-size: 14px;
    font-weight: 600;
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
    -moz-appearance: textfield;
    background: transparent;
}
.dlpt-item-qty input::-webkit-outer-spin-button,
.dlpt-item-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.dlpt-item-unit {
    flex: 0 0 80px;
    width: 80px !important;
    margin-left: 0;
    height: 32px;
    border: 1px solid #ddd !important;
    border-radius: 20px;
    padding: 0 10px !important;
    font-size: 13px;
    outline: none;
    background: #fff;
}
.dlpt-item-remove {
    flex: 0 0 30px;
    color: #999;
    background: transparent;
    border: none !important;
    cursor: pointer;
    padding: 5px !important;
    transition: color 0.2s;
    text-align: right;
}
.dlpt-item-remove:hover {
    color: #ef4444;
}

/* Tabs Giao Hàng */
.dlpt-delivery-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 20px;
}
.dlpt-delivery-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}
.dlpt-delivery-tab.active {
    background: #166534;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Form Fields */
.dlpt-cc-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.dlpt-cc-form-group {
    flex: 1;
}
.dlpt-cc-input {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff !important;
    color: #334155 !important;
}
.dlpt-cc-input:focus {
    border-color: #166534 !important;
    box-shadow: 0 0 0 1px rgba(22, 101, 52, 0.1) !important;
}

/* Summary Right Column */
.dlpt-summary-box {
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    border-bottom: none;
}
.dlpt-summary-box::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: radial-gradient(circle at center top, #fff 8px, transparent 9px);
    background-size: 16px 12px;
    background-repeat: repeat-x;
    z-index: 2;
}

.dlpt-promo-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4fcf7;
    color: #166534;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
}
.dlpt-promo-btn svg {
    stroke: #166534;
}

/* Coupon Form Styling */
#dlpt-coupon-form form {
    display: flex !important;
    gap: 8px !important;
    background: #f8fafc !important;
    padding: 6px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 30px !important;
    align-items: center !important;
    margin-bottom: 20px;
}
#dlpt-coupon-form input.dlpt-cc-input {
    border: none !important;
    background: transparent !important;
    padding: 8px 15px !important;
    flex: 1 !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 16px !important;
    margin: 0 !important;
}
#dlpt-coupon-form button,
#dlpt-coupon-form button[type="button"],
#dlpt-coupon-form button[type="submit"] {
    background: #166534 !important;
    background-color: #166534 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 10px 24px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: background 0.2s !important;
    height: auto !important;
    width: auto !important;
    line-height: 1.2 !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: none !important;
}
#dlpt-coupon-form button:hover,
#dlpt-coupon-form button[type="button"]:hover,
#dlpt-coupon-form button[type="submit"]:hover {
    background: #14532d !important;
    background-color: #14532d !important;
    color: #fff !important;
}

.dlpt-summary-line {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 16px; /* Increased from 14px */
    color: #4b5563;
    margin-bottom: 16px;
    text-align: left !important;
    width: 100% !important;
}
.dlpt-summary-line strong {
    color: #111827;
    font-weight: 600;
}
.dlpt-summary-line .dlpt-discount-text {
    color: #ea580c;
    font-weight: 600;
}
.dlpt-info-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #9ca3af;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    margin-left: 5px;
    cursor: help;
}

.dlpt-summary-line.total {
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    margin-top: 18px;
    font-size: 18px; /* Increased from 16px */
    font-weight: 700;
    color: #111827;
}
.dlpt-price-group-col {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.dlpt-price-original-strike {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 15px; /* Increased from 13px */
    font-weight: 500;
}
.dlpt-total-price {
    color: #166534;
    font-size: 22px; /* Increased from 20px */
    font-weight: 700;
}

.dlpt-cc-submit-btn {
    width: 100% !important;
    background: #166534 !important;
    color: #fff !important;
    border: none !important;
    padding: 16px !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    margin-bottom: 15px !important;
    transition: background 0.2s !important;
    text-align: center !important;
    display: block !important;
}
.dlpt-cc-submit-btn:hover {
    background: #14532d !important;
}
.dlpt-cc-terms {
    text-align: center;
    font-size: 14px; /* Increased from 12px */
    color: #64748b;
    line-height: 1.5;
}
.dlpt-cc-terms a {
    color: #111827;
    text-decoration: underline;
    font-weight: 500;
}

/* Ẩn thông tin Toggle */
.dlpt-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-top: 15px;
}
.dlpt-toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}
.dlpt-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.dlpt-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}
.dlpt-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .dlpt-toggle-slider {
    background-color: #166534;
}
input:checked + .dlpt-toggle-slider:before {
    transform: translateX(20px);
}

/* Header Cart Back link */
.dlpt-back-to-shop {
    color: #166534;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .dlpt-cc-grid {
        flex-direction: column;
    }
    .dlpt-cc-right {
        width: 100%;
        position: relative;
        top: 0;
    }
    .dlpt-cc-form-row {
        flex-direction: column;
        gap: 15px;
    }
    .dlpt-cart-items-header {
        display: none;
    }
    
    .dlpt-cc-container {
        padding: 10px;
    }
    .dlpt-back-to-shop {
        font-size: 18px !important;
    }
    .dlpt-cc-free-shipping-bar {
        font-size: 16px !important;
        padding: 14px 10px !important;
    }
    .dlpt-cart-item {
        display: block !important;
        position: relative !important;
        padding-left: 95px !important; /* space for 80px image + 15px gap */
        padding-right: 35px !important; /* space for absolute delete button */
        padding-bottom: 20px !important;
        min-height: 80px !important;
    }
    .dlpt-item-product-meta {
        display: block !important;
        width: auto !important;
        flex: none !important;
        margin: 0 !important;
    }
    .dlpt-item-img {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 80px !important;
        height: 80px !important;
    }
    .dlpt-item-img img {
        width: 80px !important;
        height: 80px !important;
        display: block !important;
    }
    .dlpt-item-info {
        display: block !important;
        width: auto !important;
        flex: none !important;
    }
    .dlpt-item-title {
        font-size: 18px !important; /* Large text for elderly */
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 0 8px 0 !important;
    }
    .dlpt-item-remove {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 35px !important;
        height: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    .dlpt-item-remove svg {
        width: 24px !important;
        height: 24px !important;
    }
    .dlpt-item-price {
        display: inline-block !important;
        vertical-align: middle !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        color: #166534 !important;
    }
    .dlpt-item-qty {
        display: inline-flex !important;
        vertical-align: middle !important;
        margin-left: 12px !important;
        margin-top: 0 !important;
        height: 32px !important;
        width: 90px !important;
        border: 1px solid #ddd !important;
        border-radius: 20px !important;
        background: #fff !important;
    }
    .dlpt-item-qty button {
        width: 28px !important;
        font-size: 18px !important;
        height: 100% !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .dlpt-item-qty input {
        width: 32px !important;
        font-size: 15px !important;
        height: 100% !important;
        padding: 0 !important;
        text-align: center !important;
    }
    .dlpt-item-qty-readonly {
        display: inline-block !important;
        vertical-align: middle !important;
        margin-left: 12px !important;
        margin-top: 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #111 !important;
    }
}

/* =========================================================
   NEW CHECKOUT FORM STYLES
   ========================================================= */

.two-cols {
    display: flex;
    gap: 15px;
}
.two-cols .dlpt-cc-form-group {
    flex: 1;
    min-width: 0;
}

.dlpt-cc-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    margin-top: 10px;
}
.dlpt-cc-section-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0fdf4; /* light green background */
    color: #166534; /* brand green icon color */
}
.dlpt-cc-section-icon {
    width: 16px;
    height: 16px;
}

.dlpt-cc-divider {
    border-bottom: 1px solid #f1f5f9;
    margin: 25px 0;
}
.dlpt-cc-divider-dashed {
    border-bottom: 1px dashed #cbd5e1;
    margin: 20px 0;
}

/* Custom styled select dropdown wrapper & arrow */
.dlpt-select-wrapper {
    position: relative;
    width: 100%;
}
.dlpt-cc-select {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    outline: none !important;
    background-color: #fff !important;
    color: #334155 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.dlpt-cc-select:disabled {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #cbd5e1 !important;
    cursor: not-allowed !important;
}
.dlpt-cc-select:focus {
    border-color: #166534 !important;
    box-shadow: 0 0 0 1px rgba(22, 101, 52, 0.1) !important;
}
.dlpt-select-wrapper::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    transition: transform 0.2s ease;
}

/* Radio buttons row */
.dlpt-cc-radio-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.dlpt-cc-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}
.dlpt-cc-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.dlpt-cc-radio-custom {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}
.dlpt-cc-radio-label input[type="radio"]:checked + .dlpt-cc-radio-custom {
    border-color: #166534; /* Green border matching brand design */
}
.dlpt-cc-radio-custom::after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #166534; /* Green dot */
}
.dlpt-cc-radio-label input[type="radio"]:checked + .dlpt-cc-radio-custom::after {
    display: block;
}
.dlpt-cc-radio-text {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

/* Stylized textarea group */
.dlpt-cc-textarea-group {
    position: relative !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    margin-top: 20px !important;
    background: #fff !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.dlpt-cc-textarea-group:focus-within {
    border-color: #166534 !important;
    box-shadow: 0 0 0 1px rgba(22, 101, 52, 0.1) !important;
}
.dlpt-cc-textarea-label {
    position: absolute !important;
    top: -10px !important;
    left: 12px !important;
    background: #fff !important;
    padding: 0 5px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
}
.dlpt-cc-textarea {
    width: 100% !important;
    min-height: 80px !important;
    border: none !important;
    outline: none !important;
    font-size: 14px !important;
    color: #334155 !important;
    resize: none !important;
    font-family: inherit !important;
    padding: 5px 0 0 0 !important;
    margin-top: 2px !important;
}
.dlpt-cc-textarea::placeholder {
    color: #64748b !important;
}

@media (max-width: 768px) {
    .two-cols {
        flex-direction: column;
        gap: 15px;
    }
}

/* Payment Selector Styling */
.dlpt-cc-payment-list {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin-top: 10px;
}
.dlpt-cc-payment-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}
.dlpt-cc-payment-item:last-child {
    border-bottom: none;
}
.dlpt-cc-payment-item:hover {
    background-color: #f8fafc;
}
.dlpt-cc-payment-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.dlpt-cc-payment-radio {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.dlpt-cc-payment-item input[type="radio"]:checked + .dlpt-cc-payment-radio {
    border-color: #166534;
}
.dlpt-cc-payment-radio::after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #166534;
}
.dlpt-cc-payment-item input[type="radio"]:checked + .dlpt-cc-payment-radio::after {
    display: block;
}
.dlpt-cc-payment-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-right: 15px;
    background: #fff;
    color: #166534;
    flex-shrink: 0;
    transition: border-color 0.2s;
}
.dlpt-cc-payment-item input[type="radio"]:checked ~ .dlpt-cc-payment-icon-wrap {
    border-color: #166534;
}
.dlpt-cc-payment-icon {
    width: 20px;
    height: 20px;
}
.dlpt-cc-payment-text {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

/* Custom Header Mini-Cart Styles */
.dlpt-header-cart-container {
    position: relative;
    display: inline-block;
    font-family: system-ui, -apple-system, sans-serif;
}
.dlpt-header-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgb(204 204 204 / 20%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 10px;
    border-radius: 30px;
    color: #216b32 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
    cursor: pointer;
}
.dlpt-header-cart-btn:hover {
    background: rgb(204 204 204 / 30%);
}
.dlpt-cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.dlpt-cart-icon-wrap svg {
    color: currentColor;
}
.dlpt-cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff7a00;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 1.5px solid #fff; /* matching white border for overlay style */
}
.dlpt-cart-btn-text {
    color: currentColor;
}

/* Dropdown Panel - Replaced by Off-Canvas Drawer */
.dlpt-header-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.dlpt-header-cart-container.active .dlpt-header-cart-overlay {
    opacity: 1;
    visibility: visible;
}

.dlpt-header-cart-drawer,
.dlpt-header-cart-drawer * {
    box-sizing: border-box !important;
}

.dlpt-header-cart-drawer {
    position: fixed;
    right: 0;
    top: 0;
    width: 325px !important;
    max-width: 100% !important;
    height: 100vh !important;
    background: #fff !important;
    z-index: 99999 !important;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15) !important;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.dlpt-header-cart-container.active .dlpt-header-cart-drawer {
    transform: translateX(0) !important;
}

.dlpt-header-cart-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.dlpt-header-cart-drawer-header .drawer-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}
.dlpt-header-cart-drawer-close {
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px !important;
    transition: color 0.2s !important;
}
.dlpt-header-cart-drawer-close:hover {
    color: #ef4444 !important;
}

.dlpt-header-cart-drawer-inner {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    padding: 20px !important;
}
.dlpt-mini-cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}
.dlpt-mini-cart-empty p {
    margin: 10px 0 0;
    font-size: 14px;
}
.dlpt-mini-cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}
.dlpt-mini-cart-items-list::-webkit-scrollbar {
    width: 4px;
}
.dlpt-mini-cart-items-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dlpt-mini-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}
.dlpt-mini-cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.dlpt-mini-item-img {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.dlpt-mini-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dlpt-mini-item-info {
    flex: 1;
    min-width: 0;
}
.dlpt-mini-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dlpt-mini-item-title a {
    color: #1e293b;
    text-decoration: none;
}
.dlpt-mini-item-title a:hover {
    color: #166534;
}
.dlpt-mini-item-meta {
    font-size: 13px;
    color: #64748b;
}
.dlpt-mini-qty {
    font-weight: 700;
    color: #0f172a;
}
.dlpt-mini-multiplier {
    margin: 0 4px;
}
.dlpt-mini-price {
    font-weight: 600;
    color: #166534;
}
.dlpt-mini-item-remove {
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    text-decoration: none !important;
}
.dlpt-mini-item-remove:hover {
    color: #ef4444 !important;
}

/* Footer & Subtotal */
.dlpt-mini-cart-footer {
    border-top: 1px solid #f1f5f9;
    margin-top: 12px;
    padding-top: 12px;
}
.dlpt-mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.dlpt-mini-cart-subtotal .label {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
}
.dlpt-mini-cart-subtotal .value {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}
.dlpt-mini-cart-checkout-btn {
    display: block;
    width: 100%;
    background: #166534;
    color: #fff !important;
    text-align: center;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: background 0.2s;
    box-sizing: border-box;
}
.dlpt-mini-cart-checkout-btn:hover {
    background: #15803d;
}

@media (max-width: 768px) {
    .dlpt-header-cart-drawer {
        width: 290px !important;
    }
}

