/* vnchk-shop-styles */
:root {

    --vnchk-ink: var(--nhatdx-ink, #342A22);
    --vnchk-muted: var(--nhatdx-muted, #827669);
    --vnchk-line: var(--nhatdx-line, #EAE6E1);
    --vnchk-blue: var(--nhatdx-primary, #AA6729);
    --vnchk-blue-dark: var(--nhatdx-primary-dark, #945A24);
    --vnchk-blue-mist: #F9F5F0;
    --vnchk-amber: var(--nhatdx-warning, #B7732E);
    --vnchk-amber-mist: #FAF4ED;
    --vnchk-sale: var(--nhatdx-price, #884726);
    --vnchk-save: var(--nhatdx-success, #1d8a52);
    --vnchk-save-mist: #eaf7ef;
}

.woocommerce-message:has(.vnacc-notice),
.woocommerce-error:has(.vnacc-notice),
.woocommerce-error:has(.vnacc-notice) > li,
.message-wrapper:has(.vnacc-notice),
.message-container:has(.vnacc-notice) {
    background: transparent !important; border: 0 !important; box-shadow: none !important; min-height: 0 !important;
    text-align: left !important; color: inherit !important; outline: 0 !important; list-style: none !important;
    padding: 0 !important; max-width: none !important; width: auto !important;
}
.woocommerce-error:has(.vnacc-notice) > li,
.message-container:has(.vnacc-notice) { margin: 0 !important; }
.woocommerce-message:has(.vnacc-notice),
.woocommerce-error:has(.vnacc-notice),
.message-wrapper:has(.vnacc-notice) { margin: 0 0 12px !important; }
.woocommerce-message:has(.vnacc-notice)::before,
.woocommerce-error:has(.vnacc-notice)::before,
.woocommerce-error:has(.vnacc-notice) > li::before,
.message-container:has(.vnacc-notice)::before { display: none !important; content: none !important; }
.message-container:has(.vnacc-notice) > i,
.message-container:has(.vnacc-notice) > .message-icon { display: none !important; }

.vnacc-notice {
    display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; text-align: left;
    background: linear-gradient(135deg, #f0fbf4, #e2f5e9); border: 1px solid #bfe6cf; border-left: 5px solid #1e9e5a;
    border-radius: 12px; padding: 14px 16px; box-shadow: 0 6px 18px rgba(30,158,90,.10);
    animation: vnchkNoticeIn .4s cubic-bezier(.2,.8,.2,1) both;
}
.vnacc-notice::before {
    content: ""; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
    background: #1e9e5a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 19px no-repeat;
    box-shadow: 0 0 0 6px rgba(30,158,90,.14);
}
.vnacc-notice-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.woocommerce-checkout .vnacc-notice-close {
    flex: 0 0 auto; width: 26px; height: 26px; min-height: 0; margin: 0 0 0 6px !important; padding: 0 !important;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    background: transparent !important; border: 0 !important; border-radius: 50% !important; box-shadow: none !important;
    color: inherit !important; opacity: .5; font-size: 19px !important; line-height: 1 !important; font-weight: 400 !important;
    text-transform: none !important; transition: opacity .15s, background .15s;
}
.woocommerce-checkout .vnacc-notice-close:hover { opacity: 1; background: rgba(0,0,0,.06) !important; }
.vnacc-notice-title { font-size: 15px; font-weight: 800; color: #146c3e; line-height: 1.35; }
.vnacc-notice-text { font-size: 13.5px; font-weight: 400; color: #3f5f4c; line-height: 1.6; }
.vnacc-notice-text a { color: inherit; font-weight: 700; text-decoration: underline; }
.vnacc-notice.vnacc-notice--warn {
    background: linear-gradient(135deg, #FCF9F5, #F8F2E9); border-color: #E4D5C3; border-left-color: #9A502B;
    box-shadow: 0 6px 18px rgba(154,80,43,.10);
}
.vnacc-notice.vnacc-notice--warn::before {
    background: #9A502B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6.5v7'/%3E%3Cpath d='M12 17.5h.01'/%3E%3C/svg%3E") center / 19px no-repeat;
    box-shadow: 0 0 0 6px rgba(154,80,43,.14);
}
.vnacc-notice--warn .vnacc-notice-title { color: #773E22; }
.vnacc-notice--warn .vnacc-notice-text { color: #6b4a3a; }

.vnacc-notice.vnacc-notice--info {
    background: linear-gradient(135deg, #FBF9F6, #F8F2EB); border-color: #EEE2D3; border-left-color: #AA6729;
    box-shadow: 0 6px 18px rgba(170,103,41,.10);
}
.vnacc-notice.vnacc-notice--info::before {
    background: #AA6729 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L2 12V2h10l8.6 8.6a2 2 0 0 1 0 2.8z'/%3E%3Cline x1='3' y1='21' x2='21' y2='3'/%3E%3C/svg%3E") center / 19px no-repeat;
    box-shadow: 0 0 0 6px rgba(170,103,41,.14);
}
.vnacc-notice--info .vnacc-notice-title { color: #5F4531; }
.vnacc-notice--info .vnacc-notice-text { color: #79634C; }
@keyframes vnchkNoticeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.coupon-error-notice { display: block; margin-top: 8px; color: #a33a2a; font-size: 13px; line-height: 1.5; }
.woocommerce-cart .checkout-breadcrumbs,
.woocommerce-checkout .checkout-breadcrumbs,
.woocommerce-cart .woocommerce-checkout-steps,
.woocommerce-checkout .woocommerce-checkout-steps,
.woocommerce-cart .wc-checkout-steps,
.woocommerce-checkout .wc-checkout-steps { display: none !important; }

.vnchk-steps {
    display: flex; align-items: stretch; gap: 0; width: 100%; box-sizing: border-box;
    list-style: none !important; margin: 0 0 22px !important; padding: 0 !important; counter-reset: none;
}

.vnchk-steps li.vnchk-step {
    flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 11px;
    margin: 0 !important; padding: 0 !important; list-style: none !important;
}
.vnchk-steps li.vnchk-step::before,
.vnchk-steps li.vnchk-step::after { content: none !important; }
.vnchk-steps li.vnchk-step:last-child { flex: 0 1 auto; }
.vnchk-step-line {
    flex: 1 1 auto; min-width: 18px; height: 2px; margin: 0 3px; border-radius: 2px;
    background: var(--vnchk-line);
}
.vnchk-step.is-done .vnchk-step-line { background: var(--vnchk-save); }

.vnchk-step-dot {
    position: relative; z-index: 1; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    background: #fff; border: 2px solid var(--vnchk-line); color: var(--vnchk-muted);
    font-size: 14px; font-weight: 800; line-height: 1;
}
.vnchk-step-text { flex: 0 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vnchk-step-name {
    font-size: 13.5px; font-weight: 700; color: var(--vnchk-muted); line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vnchk-step-note {
    font-size: 11.5px; color: #ADA49B; line-height: 1.35;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.vnchk-step.is-current .vnchk-step-dot {
    background: var(--vnchk-blue); border-color: var(--vnchk-blue); color: #fff;
    box-shadow: 0 0 0 5px rgba(170,103,41,.14);
}
.vnchk-step.is-current .vnchk-step-name { color: var(--vnchk-ink); }

.vnchk-step.is-done .vnchk-step-dot {
    background: var(--vnchk-save); border-color: var(--vnchk-save); color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center; background-size: 17px;
}
.vnchk-step.is-done .vnchk-step-name { color: var(--vnchk-save); }

@media (max-width: 700px) {
    .vnchk-steps li.vnchk-step { position: relative; flex-direction: column; text-align: center; gap: 7px; padding: 0 2px; }
    .vnchk-steps li.vnchk-step:last-child { flex: 1 1 0; }
    .vnchk-step-text { align-items: center; }
    .vnchk-step-name { font-size: 12px; white-space: normal; }
    .vnchk-step-note { display: none; }
    .vnchk-step-line {
        position: absolute; left: calc(50% + 23px); right: calc(-50% + 23px); top: 18px;
        width: auto; margin: 0; flex: none;
    }
}
.woocommerce-cart .cart-empty,
.woocommerce-cart .return-to-shop,
.woocommerce-cart .wc-empty-cart-message { display: none !important; }

.woocommerce-cart .vnchk-empty {
    max-width: 620px; margin: 0 auto; padding: 8px 0 24px; box-sizing: border-box;
    font-family: var(--nx-font, Tahoma, Verdana, sans-serif);
}
.woocommerce-cart .vnchk-empty * { box-sizing: border-box; }
.woocommerce-cart .vnchk-empty-card {
    background: #fff; border: 1px solid var(--vnchk-line); border-radius: 16px;
    padding: 40px 32px 34px; text-align: center; box-shadow: 0 10px 30px rgba(52,42,34,.05);
}
.vnchk-empty-art {
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px;
    animation: vnchkFloat 3.2s ease-in-out infinite;
}
.vnchk-empty-art svg { display: block; max-width: 100%; height: auto; }
@keyframes vnchkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .vnchk-empty-art { animation: none; } }

.woocommerce-cart .vnchk-empty-title {
    margin: 6px 0 8px !important; font-size: 22px; font-weight: 800; color: var(--vnchk-ink);
    line-height: 1.35; text-transform: none; letter-spacing: normal;
}
.woocommerce-cart .vnchk-empty-text {
    margin: 0 auto 26px !important; max-width: 420px; font-size: 14.5px; color: var(--vnchk-muted); line-height: 1.7;
}
.vnchk-empty-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.woocommerce-cart a.vnchk-empty-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-width: 240px; height: 50px; padding: 0 28px; border-radius: 999px;
    background: var(--vnchk-blue); color: #fff !important; text-decoration: none !important;
    font-size: 15.5px; font-weight: 800; line-height: 1; white-space: nowrap;
    box-shadow: 0 8px 20px rgba(170,103,41,.25); transition: background .15s, box-shadow .15s, transform .15s;
}
.woocommerce-cart a.vnchk-empty-primary:hover {
    background: var(--vnchk-blue-dark); box-shadow: 0 10px 24px rgba(170,103,41,.3); transform: translateY(-1px);
}
.woocommerce-cart a.vnchk-empty-primary:focus-visible { outline: 2px solid var(--vnchk-blue); outline-offset: 3px; }
.woocommerce-cart a.vnchk-empty-secondary {
    color: var(--vnchk-muted) !important; font-size: 13.5px; font-weight: 600;
    text-decoration: none !important; border-bottom: 1px dashed #D8D0C8; padding-bottom: 1px;
}
.woocommerce-cart a.vnchk-empty-secondary:hover { color: var(--vnchk-blue) !important; border-bottom-color: var(--vnchk-blue); }

@media (max-width: 600px) {
    .woocommerce-cart .vnchk-empty-card { padding: 30px 20px 26px; border-radius: 14px; }
    .woocommerce-cart .vnchk-empty-title { font-size: 19px; }
    .woocommerce-cart a.vnchk-empty-primary { width: 100%; min-width: 0; }
}
