/*
|==========================================================================
| OOTACAMUND'S Core V6
| Purchase Module
|==========================================================================
*/


/* ================================================================
   PURCHASE CARD
   ================================================================ */

.oota-purchase-card {

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 22px;

    padding: 34px;

    box-sizing: border-box;

}


/* ================================================================
   PURCHASE HEADER
   ================================================================ */

.oota-purchase-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

    margin-bottom: 28px;

}


/* ================================================================
   PURCHASE TITLE
   Reduced slightly for better visual hierarchy
   ================================================================ */

.oota-purchase-header h3 {

    margin: 0;

    padding: 0;

    color: #252b3d;

    font-size: 34px;

    line-height: 1.2;

    font-weight: 700;

}


/* ================================================================
   STOCK STATUS
   ================================================================ */

.oota-stock {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    color: #087f5b;

    font-size: 18px;

    line-height: 1.4;

    font-weight: 500;

}


.oota-stock.in-stock {

    color: #087f5b;

}


.oota-stock.out-stock {

    color: #b42318;

}


/* ================================================================
   QUANTITY LABEL
   ================================================================ */

.oota-label {

    display: block;

    margin-bottom: 14px;

    color: #6f315d;

    font-size: 19px;

    line-height: 1.4;

    font-weight: 600;

}


/* ================================================================
   QUANTITY BOX
   ================================================================ */

.oota-qty-box {

    display: flex;

    align-items: stretch;

    width: 320px;

    max-width: 100%;

    height: 64px;

    overflow: hidden;

    margin-bottom: 34px;

    border: 1px solid #d9dce1;

    border-radius: 18px;

    background: #ffffff;

    box-sizing: border-box;

}


/* ================================================================
   QUANTITY BUTTONS
   ================================================================ */

.oota-qty-box button {

    width: 88px;

    border: none;

    background: #f7f8fa;

    color: #252b3d;

    font-size: 30px;

    line-height: 1;

    font-weight: 400;

    cursor: pointer;

    transition:

        background 0.2s ease,

        color 0.2s ease;

}


.oota-qty-box button:hover {

    background: #eeeeee;

    color: #252b3d;

}


.oota-qty-box button:active {

    background: #e5e7eb;

}


/* ================================================================
   QUANTITY INPUT
   ================================================================ */

.oota-qty-box input {

    flex: 1;

    min-width: 0;

    border: none;

    border-left: 1px solid #d9dce1;

    border-right: 1px solid #d9dce1;

    outline: none;

    text-align: center;

    color: #252b3d;

    font-size: 24px;

    line-height: 1;

    font-weight: 500;

    background: #ffffff;

}


/* ================================================================
   ADD TO CART BUTTON
   ================================================================ */

.oota-cart-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 64px;

    margin: 0 0 16px;

    padding: 16px 24px;

    border: none;

    border-radius: 16px;

    background: #7b1f7a;

    color: #ffffff;

    font-size: 22px;

    line-height: 1.2;

    font-weight: 700;

    cursor: pointer;

    box-shadow:

        0 10px 24px rgba(123, 31, 122, 0.16);

    transition:

        background 0.2s ease,

        transform 0.2s ease,

        box-shadow 0.2s ease;

}


/* Add To Cart Hover */

.oota-cart-button:hover {

    background: #5f165f;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:

        0 12px 28px rgba(123, 31, 122, 0.22);

}


.oota-cart-button:active {

    background: #4f124f;

    transform: translateY(0);

}


/* ================================================================
   BUY NOW BUTTON
   ================================================================ */

.oota-buy-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 64px;

    margin: 0;

    padding: 16px 24px;

    border: none;

    border-radius: 16px;

    background: #f59a0a;

    color: #ffffff;

    font-size: 22px;

    line-height: 1.2;

    font-weight: 700;

    cursor: pointer;

    box-shadow:

        0 10px 24px rgba(245, 154, 10, 0.16);

    transition:

        background 0.2s ease,

        transform 0.2s ease,

        box-shadow 0.2s ease;

}


/* Buy Now Hover */

.oota-buy-button:hover {

    background: #d98205;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:

        0 12px 28px rgba(245, 154, 10, 0.22);

}


.oota-buy-button:active {

    background: #bd7004;

    transform: translateY(0);

}


/* ================================================================
   DELIVERY / TRUST INFORMATION
   ================================================================ */

.oota-delivery-box {

    margin-top: 34px;

    padding-top: 24px;

    border-top: 1px solid #e8e8e8;

}


/* ================================================================
   DELIVERY ITEM
   ================================================================ */

.oota-delivery-item {

    padding: 12px 0;

    color: #505866;

    font-size: 18px;

    line-height: 1.5;

    font-weight: 400;

}


/* ================================================================
   HIDDEN WOOCOMMERCE FORM
   ================================================================ */

.oota-hidden-form {

    display: none;

}


/* ================================================================
   TABLET
   ================================================================ */

@media (max-width: 1200px) {

    .oota-purchase-card {

        padding: 30px;

    }


    .oota-purchase-header h3 {

        font-size: 30px;

    }


    .oota-stock {

        font-size: 17px;

    }


    .oota-qty-box {

        width: 100%;

    }


    .oota-cart-button,
    .oota-buy-button {

        font-size: 20px;

    }

}


/* ================================================================
   MOBILE
   ================================================================ */

@media (max-width: 767px) {

    .oota-purchase-card {

        padding: 24px 20px;

        border-radius: 18px;

    }


    .oota-purchase-header {

        align-items: flex-start;

        gap: 16px;

        margin-bottom: 24px;

    }


    .oota-purchase-header h3 {

        font-size: 28px;

    }


    .oota-stock {

        font-size: 16px;

        white-space: nowrap;

    }


    .oota-label {

        font-size: 17px;

    }


    .oota-qty-box {

        width: 100%;

        height: 58px;

        margin-bottom: 28px;

    }


    .oota-qty-box button {

        width: 72px;

        font-size: 26px;

    }


    .oota-qty-box input {

        font-size: 21px;

    }


    .oota-cart-button,
    .oota-buy-button {

        min-height: 58px;

        border-radius: 14px;

        font-size: 18px;

    }


    .oota-delivery-box {

        margin-top: 28px;

        padding-top: 20px;

    }


    .oota-delivery-item {

        padding: 10px 0;

        font-size: 16px;

    }

}