/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Child theme for Hello Elementor
Author: Your Name
Template: hello-elementor
Version: 1.0.0
*/

/* =========================================
   WooCommerce Category Slider
========================================= */

.vx-cat-slider {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 0 42px;
}


/* =========================================
   VIEWPORT
========================================= */

.vx-cat-viewport {
    width: 100%;
    overflow: hidden;
}


/* =========================================
   TRACK
========================================= */

.vx-cat-track {
    display: flex;
    align-items: flex-start;

    width: 100%;

    gap: 24px;

    transition: transform 0.5s ease;

    will-change: transform;
}


/* =========================================
   ITEM
========================================= */

.vx-cat-item {
    flex: 0 0 calc((100% - 120px) / 6);
    min-width: 0;
}


/* =========================================
   LINK
========================================= */

.vx-cat-link {
    display: block;

    width: 100%;

    text-align: center;

    text-decoration: none !important;
}


/* =========================================
   IMAGE
========================================= */

.vx-cat-image {
    width: 100%;
    aspect-ratio: 1 / 1;

    background: #f7f9f8;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.vx-cat-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    transition: transform 0.3s ease;
}


.vx-cat-link:hover .vx-cat-image img {
    transform: scale(1.05);
}


/* =========================================
   CATEGORY NAME
========================================= */

.vx-cat-name {
    margin-top: 10px;

    font-size: 16px;
    font-weight: 500;

    line-height: 1.3;

    color: #292929;

    text-align: center;
}


/* =========================================
   ARROWS
========================================= */

.vx-cat-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    padding: 0;

    border: 1px solid #235d2a !important;
    border-radius: 50%;

    background: #ffffff;
    color: #555555 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);

    transition:
        color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.vx-cat-prev {
    left: 0;
}


.vx-cat-next {
    right: 0;
}


.vx-cat-arrow:hover {
    color: #fff !important;

    background-color: #235d2a !important;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.15);

    transform:
        translateY(-50%)
        scale(1.05);
}
.vx-cat-arrow:focus {
	color: #fff !important;

    background-color: #235d2a !important;
}


.vx-cat-arrow i {
    font-size: 15px;
    line-height: 1;
}


/* Disabled arrow */

.vx-cat-arrow:disabled {
    opacity: 0.35;

    cursor: default;

    box-shadow: none;
}

.vx-cat-arrow:disabled:hover {
    color: #555555;

    transform: translateY(-50%);
}


/* =========================================
   TABLET
   4 ITEMS
========================================= */

@media (max-width: 1024px) {

    .vx-cat-slider {
        padding: 0 40px;
    }

    .vx-cat-track {
        gap: 20px;
    }

    .vx-cat-item {
        flex: 0 0 calc((100% - 60px) / 4);
    }

}


/* =========================================
   MOBILE
   2 ITEMS
========================================= */

@media (max-width: 767px) {

    .vx-cat-slider {
        padding: 0 38px;
    }

    .vx-cat-track {
        gap: 14px;
    }

    .vx-cat-item {
        flex: 0 0 calc((100% - 14px) / 2);
    }

    .vx-cat-image {
        border-radius: 14px;
    }

    .vx-cat-name {
        margin-top: 8px;
        font-size: 14px;
    }

    .vx-cat-arrow {
        width: 32px;
        height: 32px;
    }

    .vx-cat-arrow i {
        font-size: 12px;
    }

}


/* =========================================
   WooCommerce Quantity + Add To Cart
   ========================================= */

/* .woocommerce div.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: nowrap !important;
}
 */

/* =========================================
   QUANTITY WRAPPER
   ========================================= */

.woocommerce div.product form.cart .quantity {
    display: flex !important;
    align-items: center !important;

    width: auto !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================
   MINUS + PLUS BUTTON
   ========================================= */

.woocommerce div.product form.cart
.quantity .vx-qty-minus,

.woocommerce div.product form.cart
.quantity .vx-qty-plus {

    width: 40px !important;
    min-width: 40px !important;

    height: 40px !important;
    min-height: 40px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 3px !important;

    background: #D85776 !important;
    color: #ffffff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 18px !important;
    font-weight: 600 !important;

    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow: none !important;

    transition: background 0.2s ease;
}


/* Hover */

.woocommerce div.product form.cart
.quantity .vx-qty-minus:hover,

.woocommerce div.product form.cart
.quantity .vx-qty-plus:hover {

    background: #D85776 !important;
    color: #ffffff !important;
}


/* =========================================
   NUMBER INPUT
   ========================================= */

.woocommerce div.product form.cart
.quantity input.qty {

    width: 80px !important;
    min-width: 80px !important;

    height: 40px !important;
    min-height: 40px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid #dddddd !important;
    border-radius: 0 !important;

    background: #ffffff !important;
    color: #222222 !important;

    text-align: center !important;

    font-size: 16px !important;
    font-weight: 400 !important;

    line-height: 40px !important;

    box-shadow: none !important;

    -moz-appearance: textfield !important;
}


/* Remove browser number arrows */

.woocommerce div.product form.cart
.quantity input.qty::-webkit-inner-spin-button,

.woocommerce div.product form.cart
.quantity input.qty::-webkit-outer-spin-button {

    -webkit-appearance: none !important;
    margin: 0 !important;
}


/* =========================================
   ADD TO CART BUTTON
   ========================================= */
/* 
.woocommerce div.product form.cart
.single_add_to_cart_button {

    height: 40px !important;

    flex: 1 !important;

    margin: 0 !important;

    padding: 0 30px !important;

    border: 0 !important;
    border-radius: 4px !important;

    background: #006b1b !important;
    color: #ffffff !important;

    font-size: 16px !important;
    font-weight: 500 !important;

    line-height: 40px !important;

    text-align: center !important;

    box-shadow: none !important;

    cursor: pointer !important;

    white-space: nowrap !important;
}


.woocommerce div.product form.cart
.single_add_to_cart_button:hover {

    background: #005714 !important;
    color: #ffffff !important;
} */


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .woocommerce div.product form.cart {

        gap: 8px !important;

    }

    .woocommerce div.product form.cart
    .quantity .vx-qty-minus,

    .woocommerce div.product form.cart
    .quantity .vx-qty-plus {

        width: 38px !important;
        min-width: 38px !important;

        height: 38px !important;
        min-height: 38px !important;

    }

    .woocommerce div.product form.cart
    .quantity input.qty {

        width: 55px !important;
        min-width: 55px !important;

        height: 38px !important;
        min-height: 38px !important;

    }

/*     .woocommerce div.product form.cart
    .single_add_to_cart_button {

        height: 38px !important;

        line-height: 38px !important;

        padding: 0 12px !important;

        font-size: 14px !important;

    } */
}




/* Custom thank you */

/* =========================================================
   Natural Health Life 1
   Custom WooCommerce Thank You Page
   ========================================================= */

.nhl-thankyou-page {
    --nhl-primary: #235D2A;
    --nhl-secondary: #87BD4D;
    --nhl-dark: #1D3022;
    --nhl-text: #26352A;
    --nhl-muted: #718078;
    --nhl-light: #F3F8F4;
    --nhl-border: #E2EAE4;
    --nhl-white: #ffffff;

    background: #f8faf8;
    color: var(--nhl-text);
    font-family: "Hind Siliguri", sans-serif;

    padding: 60px 20px 80px;
}


/* Container */

.nhl-thankyou-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   Success Section
   ========================================================= */

.nhl-success-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.nhl-success-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--nhl-light);
    border: 1px solid #dcebdd;
    border-radius: 50%;
}

.nhl-success-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: var(--nhl-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nhl-success-label {
    display: inline-block;

    color: var(--nhl-primary);
    font-size: 14px;
    font-weight: 700;

    margin-bottom: 8px;
}

.nhl-success-section h1 {
    margin: 0 0 12px;

    color: var(--nhl-dark);
    font-size: 34px;
    line-height: 1.35;
    font-weight: 700;
}

.nhl-success-section p {
    max-width: 600px;
    margin: 0 auto 18px;

    color: var(--nhl-muted);
    font-size: 16px;
    line-height: 1.8;
}

.nhl-order-number {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 8px 16px;

    background: var(--nhl-white);
    border: 1px solid var(--nhl-border);
    border-radius: 30px;

    color: var(--nhl-muted);
    font-size: 14px;
}

.nhl-order-number strong {
    color: var(--nhl-primary);
}


/* =========================================================
   Cards
   ========================================================= */

.nhl-card {
    background: var(--nhl-white);
    border: 1px solid var(--nhl-border);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(35, 93, 42, 0.05);
}


/* =========================================================
   Main Grid
   ========================================================= */

.nhl-order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr);
    gap: 24px;

    align-items: start;
}


/* =========================================================
   Card Header
   ========================================================= */

.nhl-order-summary {
    overflow: hidden;
}

.nhl-card-header {
    padding: 25px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--nhl-border);
}

.nhl-card-label {
    display: block;

    color: var(--nhl-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;

    margin-bottom: 5px;
}

.nhl-card-header h2,
.nhl-timeline-heading h2 {
    margin: 0;

    color: var(--nhl-dark);
    font-size: 22px;
    font-weight: 700;
}

.nhl-order-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 12px;

    background: #f1f8f2;
    border-radius: 30px;

    color: var(--nhl-primary);
    font-size: 13px;
    font-weight: 600;
}

.nhl-order-status span {
    width: 7px;
    height: 7px;
    display: block;

    background: var(--nhl-secondary);
    border-radius: 50%;
}


/* =========================================================
   Product
   ========================================================= */

.nhl-products {
    padding: 5px 28px;
}

.nhl-product-row {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;

    gap: 15px;
    align-items: center;

    padding: 20px 0;

    border-bottom: 1px solid var(--nhl-border);
}

.nhl-product-image {
    width: 68px;
    height: 68px;

    overflow: hidden;

    background: #f5f7f5;
    border-radius: 12px;
}

.nhl-product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.nhl-product-info h3 {
    margin: 0 0 5px;

    color: var(--nhl-dark);
    font-size: 16px;
    font-weight: 600;
}

.nhl-product-info span {
    color: var(--nhl-muted);
    font-size: 13px;
}

.nhl-product-price {
    color: var(--nhl-primary);
    font-size: 16px;
    font-weight: 700;
}


/* =========================================================
   Totals
   ========================================================= */

.nhl-order-totals {
    padding: 20px 28px 25px;
}

.nhl-total-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 8px 0;

    color: var(--nhl-muted);
    font-size: 14px;
}

.nhl-total-row strong {
    color: var(--nhl-text);
}

.nhl-grand-total {
    margin-top: 10px;
    padding-top: 18px;

    border-top: 1px dashed var(--nhl-border);

    color: var(--nhl-dark);
    font-size: 17px;
}

.nhl-grand-total strong {
    color: var(--nhl-primary);
    font-size: 22px;
}


/* =========================================================
   Side Cards
   ========================================================= */

.nhl-side-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nhl-info-card {
    display: flex;
    gap: 15px;

    padding: 22px;
}

.nhl-info-icon {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--nhl-light);
    border-radius: 12px;
}

.nhl-info-icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: var(--nhl-primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nhl-info-card h3 {
    margin: 0 0 5px;

    color: var(--nhl-dark);
    font-size: 16px;
    font-weight: 700;
}

.nhl-info-card p {
    margin: 2px 0;

    color: var(--nhl-muted);
    font-size: 13px;
    word-break: break-word;
}

.nhl-info-card address {
    margin: 8px 0 0;

    color: var(--nhl-muted);
    font-size: 13px;
    line-height: 1.7;

    font-style: normal;
}


/* =========================================================
   COD
   ========================================================= */

.nhl-cod-card {
    display: flex;
    gap: 15px;

    padding: 22px;

    background: #f4f9f4;
    border: 1px solid #dcebdd;
    border-radius: 18px;
}

.nhl-cod-icon {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--nhl-primary);
    color: #fff;

    border-radius: 12px;

    font-size: 18px;
    font-weight: 700;
}

.nhl-cod-card span {
    display: block;

    margin-bottom: 4px;

    color: var(--nhl-secondary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nhl-cod-card h3 {
    margin: 0 0 5px;

    color: var(--nhl-primary);
    font-size: 16px;
}

.nhl-cod-card p {
    margin: 0;

    color: var(--nhl-muted);
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   Timeline
   ========================================================= */

.nhl-timeline-card {
    margin-top: 24px;
    padding: 28px;
}

.nhl-timeline-heading {
    margin-bottom: 28px;
}

.nhl-timeline {
    display: flex;
    align-items: flex-start;
}

.nhl-step {
    flex: 1;

    display: flex;
    align-items: center;
    gap: 12px;
}

.nhl-step-icon {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1f4f1;
    color: #87938a;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;
}

.nhl-step.active .nhl-step-icon {
    background: var(--nhl-primary);
    color: #fff;
}

.nhl-step strong {
    display: block;

    color: var(--nhl-dark);
    font-size: 14px;
}

.nhl-step span {
    display: block;

    margin-top: 3px;

    color: var(--nhl-muted);
    font-size: 12px;
}

.nhl-step-line {
    flex: 0 0 60px;

    height: 1px;

    margin: 21px 12px 0;

    background: var(--nhl-border);
}


/* =========================================================
   Meta
   ========================================================= */

.nhl-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: 24px;

    background: var(--nhl-white);
    border: 1px solid var(--nhl-border);
    border-radius: 18px;
}

.nhl-meta-grid > div {
    padding: 20px;

    border-right: 1px solid var(--nhl-border);
}

.nhl-meta-grid > div:last-child {
    border-right: 0;
}

.nhl-meta-grid span {
    display: block;

    margin-bottom: 5px;

    color: var(--nhl-muted);
    font-size: 10px;
    letter-spacing: .7px;
}

.nhl-meta-grid strong {
    color: var(--nhl-dark);
    font-size: 14px;
}


/* =========================================================
   Buttons
   ========================================================= */

.nhl-thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 12px;

    margin-top: 30px;
}

.nhl-btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 24px;

    border-radius: 10px;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 600;

    transition: all .2s ease;
}

.nhl-btn-primary {
    background: var(--nhl-primary);
    color: #fff !important;
}

.nhl-btn-primary:hover {
    background: #1b4b21;
    color: #fff !important;
    transform: translateY(-1px);
}

.nhl-btn-secondary {
    background: #fff;
    color: var(--nhl-primary) !important;

    border: 1px solid var(--nhl-border);
}

.nhl-btn-secondary:hover {
    border-color: var(--nhl-primary);
    color: var(--nhl-primary) !important;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .nhl-thankyou-page {
        padding: 35px 14px 50px;
    }


    .nhl-success-section {
        margin-bottom: 30px;
    }

    .nhl-success-icon {
        width: 65px;
        height: 65px;
    }

    .nhl-success-icon svg {
        width: 31px;
        height: 31px;
    }

    .nhl-success-section h1 {
        font-size: 25px;
        line-height: 1.4;
    }

    .nhl-success-section p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* Main Grid */

    .nhl-order-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .nhl-order-summary,
    .nhl-side-column {
        width: 100%;
    }


    /* Header */

    .nhl-card-header {
        padding: 20px;
        align-items: flex-start;
        gap: 12px;
    }

    .nhl-card-header h2,
    .nhl-timeline-heading h2 {
        font-size: 19px;
    }

    .nhl-order-status {
        font-size: 11px;
        padding: 6px 9px;
    }


    /* Products */

    .nhl-products {
        padding: 0 20px;
    }

    .nhl-product-row {
        grid-template-columns: 55px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 16px 0;
    }

    .nhl-product-image {
        width: 55px;
        height: 55px;
    }

    .nhl-product-info h3 {
        font-size: 14px;
    }

    .nhl-product-info span {
        font-size: 12px;
    }

    .nhl-product-price {
        font-size: 14px;
    }


    /* Totals */

    .nhl-order-totals {
        padding: 18px 20px 22px;
    }

    .nhl-grand-total strong {
        font-size: 19px;
    }


    /* Side */

    .nhl-info-card,
    .nhl-cod-card {
        padding: 18px;
        border-radius: 15px;
    }


    /* Timeline */

    .nhl-timeline-card {
        padding: 20px;
    }

    .nhl-timeline {
        display: block;
    }

    .nhl-step {
        gap: 12px;
    }

    .nhl-step-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .nhl-step-line {
        width: 1px;
        height: 25px;

        margin: 0 0 0 19px;
    }


    /* Meta */

    .nhl-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nhl-meta-grid > div {
        padding: 15px;

        border-bottom: 1px solid var(--nhl-border);
    }

    .nhl-meta-grid > div:nth-child(2) {
        border-right: 0;
    }

    .nhl-meta-grid > div:nth-child(3),
    .nhl-meta-grid > div:nth-child(4) {
        border-bottom: 0;
    }


    /* Buttons */

    .nhl-thankyou-actions {
        flex-direction: column;
        gap: 10px;

        margin-top: 22px;
    }

    .nhl-btn {
        width: 100%;
    }
}


@media (max-width: 420px) {

    .nhl-success-section h1 {
        font-size: 22px;
    }

    .nhl-card-header {
        flex-direction: column;
    }

    .nhl-product-row {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .nhl-product-price {
        grid-column: 2;
        margin-top: -8px;
    }
}









