/* =========================================================
   TP CART ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â custom-cart.css
   Thay thÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â¿ toÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â n bÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ utility class Tailwind trong bÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â£n thiÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â¿t kÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â¿
   gÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“c bÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â±ng BEM class tp-* ÃƒÆ’Ã¢â‚¬Å¾ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“ÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€ Ã¢â‚¬â„¢ khÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â€šÂ¬Ã‚Âºp convention cÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€šÃ‚Â§a theme.
   ========================================================= */

.tp-cart {
    --tp-main: var(--primary-color, #d92027);
    --tp-border: #e5e7eb;
    --tp-text-muted: #6b7280;
    --tp-bg-muted: #f9fafb;
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    /* padding: 24px 16px 60px; */
}

.tp-cart__layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 992px) {
    .tp-cart__layout {
        flex-direction: row;
        align-items: flex-start;
    }
    .tp-cart__main {
        width: 66.6667%;
    }
    .tp-cart__layout--empty .tp-cart__main {
        width: 100%;
    }
    .tp-cart__aside {
        width: 33.3333%;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .tp-cart__heading {
        font-size: 20px!important;
    }

    .tp-cart__summary-title {
        font-size: 16px!important;
        margin-bottom: 15px!important;
    }

    .tp-cart__qty-input {
        height: 35px!important;
        font-size: 15px!important;
    }

    .tp-cart__qty button svg {width: 14px!important;}
}

@media (max-width: 767px) {
    .tp-cart__heading {
        font-size: 20px!important;
    }

    .tp-account__nav {
        width: 100%;
    }

    .tp-cart__summary-title {
        font-size: 16px!important;
        margin-bottom: 15px!important;
    }

    .tp-cart__qty-input {
        height: 35px!important;
        font-size: 15px!important;
    }

    .tp-cart__qty button svg {width: 14px!important;}

    .secondary-footer {
        margin-top: 0!important;
    }
}

.tp-cart__title {
    margin-bottom: 8px;
}

.tp-cart__heading {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px;
}

.tp-cart__count {
    font-size: 14px;
    color: var(--tp-text-muted);
    margin: 0;
}

.tp-cart__box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--tp-border);
    overflow: hidden;
}

/* ---------- toolbar (chÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€šÃ‚Ân tÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â¥t cÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â£ / xÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â³a tÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â¥t cÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â£) ---------- */

.tp-cart__toolbar {
    padding: 16px;
    border-bottom: 1px solid var(--tp-border);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--tp-bg-muted);
}

.tp-cart__toolbar-label {
    font-weight: 500;
    font-size: 14px;
}

.tp-cart__remove-all {
    margin-left: auto;
    background: none;
    border: none;
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0;
}

.tp-cart__remove-all:hover {
    text-decoration: underline;
}

.tp-cart__remove-all:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tp-cart__checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--tp-main);
    border-radius: 4px;
    cursor: pointer;
    margin: 0!important;
}

/* ---------- empty state ---------- */

.tp-cart__empty {
    padding: 48px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--tp-text-muted);
}

.tp-cart__empty-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.tp-cart__empty-text {
    font-size: 18px;
    color: #374151;
}

.tp-cart__empty-action {
    margin-top: 12px;
}

.tp-cart__empty-link {
    color: var(--tp-main);
}

.tp-cart__empty-link:hover {
    text-decoration: underline;
}

/* ---------- danh sÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ch sÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â£n phÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â©m ---------- */

.tp-cart__list {
    display: flex;
    flex-direction: column;
}

.tp-cart__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border-bottom: 1px solid var(--tp-border);
    transition: background-color 0.15s ease;
}

.tp-cart__item:last-child {
    border-bottom: none;
}

.tp-cart__item:hover {
    background: var(--tp-bg-muted);
}

.tp-cart__item.is-updating {
    opacity: 0.5;
    pointer-events: none;
}

@media (min-width: 640px) {
    .tp-cart__item {
        padding: 24px;
        gap: 24px;
    }
}

.tp-cart__item-select {
    display: flex;
    align-items: center;
    padding-top: 32px;
}

@media (min-width: 640px) {
    .tp-cart__item-select {
        padding-top: 0;
    }
}

.tp-cart__item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--tp-border);
    background: var(--tp-bg-muted);
    display: block;
}

@media (min-width: 640px) {
    .tp-cart__item-image {
        width: 96px;
        height: 96px;
    }
}

.tp-cart__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-cart__item-body {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .tp-cart__item-body {
        grid-template-columns: 1fr 1fr;
    }
}

.tp-cart__item-name {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 4px;
    color: inherit;
}

@media (min-width: 640px) {
    .tp-cart__item-name {
        font-size: 16px;
    }
}

.tp-cart__item-name:hover {
    color: var(--tp-main);
}

.tp-cart__item-variant {
    font-size: 13px;
    color: var(--tp-text-muted);
    margin: 0 0 4px;
}

.tp-cart__item-variant-label {
    font-weight: 600;
    color: #374151;
}

.tp-cart__item-price {
    color: var(--tp-main);
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.tp-cart__item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (min-width: 640px) {
    .tp-cart__item-actions {
        flex-direction: column;
        align-items: flex-end;
    }
}

.tp-cart__qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--tp-border);
    border-radius: 8px;
    background: #fff;
}

.tp-cart__qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--tp-text-muted);
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.tp-cart__qty-btn svg {
    width: 16px;
    height: 16px;
}

.tp-cart__qty-btn:hover {
    background: var(--tp-bg-muted);
    color: var(--tp-main);
}

.tp-cart__qty-btn--sub {
    border-radius: 8px 0 0 8px;
    padding: 0;
    margin: unset;
}

.tp-cart__qty-btn--add {
    border-radius: 0 8px 8px 0;
}

.tp-cart__qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tp-cart__qty-input {
    max-width: 40px!important;
    height: 32px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    margin: 0;
    box-shadow: unset!important;
    border: none!important;
}

.tp-cart__remove {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    font-weight: 100;
    margin: 0;
}

.tp-cart__remove svg {
    width: 16px;
    height: 16px;
}

.tp-cart__remove:hover {
    color: #ef4444;
}

.tp-cart__remove:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tp-cart__remove-text {
    display: none;
}

@media (min-width: 640px) {
    .tp-cart__remove-text {
        display: inline;
    }
}

/* ---------- cÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢t tÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â³m tÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚ÂºÃƒâ€šÃ‚Â¯t ÃƒÆ’Ã¢â‚¬Å¾ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“ÃƒÆ’Ã¢â‚¬Â Ãƒâ€šÃ‚Â¡n hÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ng ---------- */

.tp-cart__aside {
    /*display: none;*/
}

@media (min-width: 992px) {
    .tp-cart__aside {
        display: block;
    }
}

.tp-cart__summary {
    position: sticky;
    top: 96px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--tp-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 24px;
}

.tp-cart__summary-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px;
}

.tp-cart__summary-rows {
    font-size: 14px;
}

.tp-cart__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: #4b5563;
}

.tp-cart__summary-label {
    font-weight: 500;
    color: #374151;
}

.tp-cart__summary-value {
    font-weight: 500;
    color: #1f2937;
}

.tp-cart__summary-value--muted {
    color: #6b7280;
    text-align: right;
}

.tp-cart__summary-divider {
    border-top: 1px dashed #d1d5db;
    margin: 16px 0;
}

.tp-cart__summary-row--total {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.tp-cart__summary-total {
    color: var(--tp-main);
}

.tp-cart__summary-note {
    font-size: 12px;
    color: #6b7280;
    text-align: right;
    margin: -4px 0 0;
}

.tp-cart__checkout-btn {
    width: 100%;
    margin-top: 32px;
    background: var(--tp-main);
    color: #fff;
    font-weight: 700;
    padding: 16px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tp-cart__checkout-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.15s ease;
}

.tp-cart__checkout-btn:hover svg {
    transform: translateX(4px);
}

.tp-cart__checkout-btn:active, .tp-cart__checkout-btn:hover {
    transform: scale(0.99);
    color: #fff;
}

.tp-cart__checkout-btn:disabled,
.tp-cart__checkout-btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.tp-cart__payment {
    margin-top: 32px;
}

.tp-cart__payment-title {
    font-size: 12px;
    text-align: center;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 12px;
}

.tp-cart__payment-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    opacity: 0.75;
}

.tp-cart__payment-icon {
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: 4px;
    height: 32px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
}

.tp-cart__secure {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #9ca3af;
}

.tp-cart__secure svg {
    width: 16px;
    height: 16px;
}
div#wrapper {
    min-height: 100vh;
}

main#main {
    min-height: 80vh;
    background: #fff;
}
