@import './reviews.css';
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');

/* Enable smooth scrolling */
.woocommerce-Reviews {
    scroll-behavior: smooth;
}

.woocommerce .product .woocommerce-product-rating .star-rating {
    margin-top: 0;
    margin-right: 10px;
}

/* Capitalize Product Page Product Name */
.product_title.entry-title {
    text-transform: capitalize;
}

/* Links in short description should have underline */
.woocommerce .product .woocommerce-product-details__short-description a {
    text-decoration: underline;
}

/**
  * Added flex properties to add the increment and decrement buttons besides the input
  * Adjusted the width, removed gaps and
  * Increased font size for the '-' and '+' icons
  */
.single-product div.product form.cart .quantity {
    display: flex;
    gap: 0px;
    font-size: 20px;
}

/**
  * Added flex properties for layout adjustment and alignment
  * Reduced the width for aesthetics
  * Removed right and left border to make it look like it's a single container
  * Increased the height
  */
.single-product div.product form.cart .quantity .qty {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #fff;
    border-right: none;
    border-radius: 0px;
    border-left: none;
}
.single-product div.product form.cart .quantity .qty:focus {
    outline: none;
    box-shadow: none;
}

/* Centering quantity input while also keeping it compatible with customiser */
.woocommerce.single .quantity input[name='quantity'] {
    padding: var(--formfieldpadding);
}

.meckeys-quantity-input-actions {
    background-color: #fff;
    border-color: var(--formfieldbordercolor);
    border-width: var(--formfieldborderwidth);
    border-style: solid;
    border-radius: 0px; /* should be attached cleanly to input */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* no select  */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/**
 * Added background and border color 
 * Removed the left border 
 * Adjusted width 
 */
.meckeys-add-to-cart-plus {
    border-left: none;
    width: 25px;
}

/**
 * Added background and border color 
 * Removed the right border 
 * Adjusted width 
 */
.meckeys-add-to-cart-minus {
    border-right: none;
    width: 25px;
}

.woocommerce-verification-required {
    grid-row: 1;
}

.woocommerce .nv-shop .related ul.products:not(.tns-slider) {
    margin-bottom: 0px;
    grid-gap: 0px 30px;
}

/* .related h2 {
    text-align: center;
} */

section > h2 {
    text-align: center;
}

.woocommerce .nv-shop .related ul.products:not(.tns-slider) li.product {
    width: 90% !important;
}

#estimateOutput {
    line-height: 1.8;
}

.mailToContactAnchor {
    text-decoration: underline;
    color: #ff0000;
    white-space: nowrap;
}

.mailToContactAnchor:hover {
    opacity: 0.7;
    color: #ff0000;
}

.estimatedOutputSpan {
    color: #ff0000;
    font-weight: 500;
}

/* .woocommerce div.product p.price,
.woocommerce div.product p.price ins,
.woocommerce ul.products li.product a.woocommerce-loop-product__link > h2,
.woocommerce ul.products li.product a.woocommerce-loop-product__link > h3 {
    font-weight: 400;
    text-transform: var(--bodytexttransform);
    letter-spacing: var(--bodyletterspacing);
    font-size: var(--bodyfontsize);
} */

.related .nv-product-content {
    letter-spacing: var(--bodyletterspacing);
    text-align: center;
}

.availability_date {
    text-transform: capitalize;
    letter-spacing: var(--bodyletterspacing);
}

.availability_date {
    color: #f48642;
}

.preorder-gift-icon-color {
    color: #f48642;
    margin-right: 5px;
}

.nv-single-product-top .product_title {
    margin-bottom: 10px;
}

/* Product / Category both */

.woocommerce ul.products li.product .price,
.woocommerce-Price-amount {
    color: #666;
}

.woocommerce ul.products li.product .star-rating {
    letter-spacing: 0;
    font-size: 1em;
    color: #f1c40f;
}

/* Alignment */
.woocommerce ul.products li.product a.woocommerce-loop-product__link > h2 {
    padding-bottom: 0px;
    margin: 0 0 6px;
}
.nv-product-content > .advanced-rating-wraper {
    margin: 0 0 6px;
}

del small.woocommerce-price-suffix {
    display: none;
}

.gst-invoice-icon-color {
    color: #5cbb70;
    margin-right: 10px;
    font-size: 15px;
    margin-top: 5px;
}

.shop-container p.price {
    margin-bottom: 10px;
}

.product-attributes-wrapper {
    margin-bottom: 10px;
}

.product-attributes-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 5px;
}

@media screen and (min-width: 768px) {
    .nv-single-product-top {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        display: grid;
        grid-template-columns: 48% 48%; /* Switched the column widths */
        grid-template-rows: auto;
    }

    .woocommerce #content div.product div.images,
    .woocommerce div.product div.images,
    .woocommerce-page #content div.product div.images,
    .woocommerce-page div.product div.images {
        float: left;
        width: 48%;
        width: auto;
        float: none !important;
        overflow: hidden;
        grid-column: 1; /* Changed from 2 to 1 */
        grid-row: 1;
        position: -webkit-sticky;
        position: sticky;
        top: 105px;
        bottom: 100px;
        height: fit-content;
    }

    .woocommerce #content div.product div.summary,
    .woocommerce div.product div.summary,
    .woocommerce-page #content div.product div.summary,
    .woocommerce-page div.product div.summary {
        float: left;
        width: 100%;
        clear: none;
        grid-column: 2; /* Changed from 1 to 2 */
        grid-row: 1;
        height: fit-content;
    }

    body > .wrapper:not(.et-fb-iframe-ancestor) {
        overflow: visible !important;
    }
}
#pincodeInput {
    border-style: solid;
    border-color: var(--formfieldbordercolor);
    border-width: var(--formfieldborderwidth);
    border-radius: var(--formfieldborderradius, 3px);
    background: var(--formfieldbgcolor);
    color: var(--formfieldcolor);
    padding: var(--formfieldpadding);
    text-transform: var(--formfieldtexttransform);
    font-weight: var(--formfieldfontweight);
    font-family: var(--bodyfontfamily);
    font-size: var(--formfieldfontsize);
    letter-spacing: var(--formfieldletterspacing);
    line-height: var(--formfieldlineheight);
}
.single_add_to_cart_button {
    width: 300px;
    max-width: 300px;
}
.woocommerce.single .entry-summary > form.cart {
    width: 100%;
}

.variations_form > div {
    width: 100%;
}

/* Icons Carousel Wrapper */
.mk-icons-carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 25px;
    gap: 10px;
}

.mk-icons-carousel-container {
    overflow: hidden;
    flex: 1;
}

.mk-single-product-icons {
    display: flex;
    gap: 7px;
    transition: transform 0.3s ease;
    width: max-content;
    justify-content: center;
}

/* Carousel Navigation Buttons */
.mk-carousel-btn {
    background: none;
    width: 10px;
    height: 10px;
    min-width: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: all 0.2s ease;
    z-index: 5;
    padding: 0px;
}

hr {
    border: 1px solid;
}

.mk-carousel-btn:hover {
    background: none;
    color: black;
}

.mk-icons-carousel-title {
    font-size: 16px;
    font-weight: 600;
    color: black;
    margin-bottom: 20px;
}

.mk-carousel-btn:active {
    transform: scale(0.95);
}

/* Ensures icons are evenly spaced and properly aligned */
.mk-single-product-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    position: relative;
    cursor: pointer;
    padding-bottom: 10px;
}

/* Icon Styling */
.mk-single-product-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.toolTipPara {
    font-size: 12px;
}

.toolTipLinkIcons {
    display: none;
}

/* Tooltip Styling */
.onClickToolTipDisplay {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
    width: max-content;
    max-width: 200px;
    text-align: center;
    transition:
        opacity 0.3s ease-in-out,
        visibility 0.3s ease-in-out;
    z-index: 10;
}

.toolTipPara {
    margin-bottom: 0;
}

.toolTipLinkIcons {
    color: #42a5f5;
    text-decoration: underline;
    margin-top: 5px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.toolTipLinkIcons:hover {
    color: #64b5f6;
    text-decoration: underline;
}

.onClickToolTipDisplay p {
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #f1f1f1;
}

/* Tooltip Arrow - Hidden */
.onClickToolTipDisplay::after {
    display: none;
}

/* Show Tooltip on Hover */
.mk-single-product-icon:hover .onClickToolTipDisplay {
    visibility: visible;
    opacity: 1;
}

/* Responsive Carousel Adjustments */
@media (max-width: 900px) {
    .mk-single-product-icon {
        width: 85px;
    }
    .mk-single-product-icon img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 700px) {
    .mk-carousel-btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .mk-single-product-icon {
        width: 70px;
    }
    .mk-single-product-icon img {
        width: 40px;
        height: 40px;
    }
    .toolTipPara {
        font-size: 11px;
    }

    .onClickToolTipDisplay {
        font-size: 10px;
        padding: 6px;
        max-width: 150px;
    }
    .mk-icons-carousel-title {
        font-size: 14px;
        font-weight: 600;
        color: black;
    }
}

/* Hide tooltip completely on mobile */
@media (max-width: 800px) {
    .onClickToolTipDisplay {
        display: none !important;
    }
}
@media screen and (max-width: 480px) {
    .woocommerce ul.products {
        max-width: 100%;
        margin: 0px;
        padding-top: 0px;
        align-items: center;
        display: flex !important;
        justify-content: center;
        flex-direction: column;
    }
}

/* TODO: Doesnt work for smaller varitaion size */
table.variations td.label {
    line-height: 60px !important;
}

.wc-block-grid__product-rating .star-rating span:before {
    color: #f1c40f !important;
}

/* Product Price Revamp  */

.woocommerce-price-suffix {
    display: none;
}

.woocommerce div.product p.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Sale price styling (for discounted products) */
.woocommerce div.product p.price ins {
    font-size: 26px;
    font-weight: 600;
    text-decoration: none;
    order: 1;
}

/* Regular price styling (for products without discount) */
.woocommerce div.product p.price .woocommerce-Price-amount {
    font-size: 26px;
    font-weight: 600;
}

/* Original price styling (for discounted products) */
.woocommerce div.product p.price del {
    font-size: 14px;
    font-weight: 400;
    /* color: #999; */
    order: 2;
    position: relative;
}

/* Override the regular price font size when it's inside del (slashed price) */
.woocommerce div.product p.price del .woocommerce-Price-amount {
    font-size: 14px;
    font-weight: 400;
}

/* Add MRP label before the original price */
.woocommerce div.product p.price del::before {
    content: 'MRP ';
    font-weight: 400;
}

/* Style the discount percentage */
.woocommerce div.product p.price .discount-percentage {
    color: #ff6b35;
    font-size: 14px;
    font-weight: 500;
    order: 3;
    margin-left: 0px;
}
/* Delivery Date revamp  */
#pincodeInput {
    background: #fff;
    border-radius: 10px 0px 0px 10px;
    border: 0.5px solid #929ab5;
    border-right: 0px;
    font-size: 16px;
    font-weight: 500;
    padding-left: 20px;
    width: 100%;
    height: 48px;
}

#pincodeInput::placeholder {
    color: #929ab5;
}

#pincodeButton {
    flex-grow: 0;
    border-radius: 0px 10px 10px 0px;
    border: 0.5px solid #929ab5;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: rgb(146, 154, 181);
    border-left: 0px;
    background: white;
    color: #fb641b;
    font-size: 16px;
    padding: 0px;
    padding-right: 0px;
    padding-right: 20px;
    font-weight: 500;
}

.th-padding-delivery-estimate {
    padding: 0px;
}

/* Revamp Breadcrumbs  */

.woocommerce .woocommerce-breadcrumb a {
    text-decoration: underline;
}

.woocommerce .woocommerce-breadcrumb {
    font-size: 16px;
    font-weight: 300 !important;
}

.woocommerce .woocommerce-breadcrumb .nv-breadcrumb-delimiter {
    padding: 0 8px;
    font-size: 12px;
}

/* Product Attributes Revamp */
.product-attributes-wrapper {
    margin-bottom: 20px;
}
.product-attribute-label {
    background-color: #e7e9ee;
    font-size: 10px;
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    border-radius: 14px;
    text-transform: uppercase;
}
/* Product Page Product Title Revamp  */
.woocommerce div.product .product_title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#delivery-estimate-wrapper,
#delivery-estimate-single-product-wrapper {
    margin-top: 30px;
    width: 100%;
}

/** Offer panel **/
.awdr_discount_bar {
    margin: 0px;
    padding: 0px !important;
    margin-bottom: 20px !important;
    background: none !important;
    display: flex;

}
.awdr_discount_bar .awdr_discount_bar_content{
    background: none;
    line-height: 150%;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    color: #000 !important;
}
.woocommerce div.product .woocommerce-product-rating {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0px;
    margin-bottom: 30px;
}

.woocommerce-review-link {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 10%;
    padding-top: 5px;
    font-family: Poppins;
}

.woocommerce .star-rating {
    font-size: 1.2em;
}

.woocommerce .star-rating {
    color: #ffcc00;
}

@media screen and (max-width: 768px) {
    .woocommerce div.product .woocommerce-product-rating {
        margin-bottom: 10px;
    }

    .woocommerce-review-link {
        letter-spacing: 0px;
    }
}

.cutomBackInStockStyling {
    display: flex;
    height: 48px;
    background: #FFF;
}

#wc_bis_email {
    width: 100%;
    padding-left: 22px;
    border-radius: 10px;
    border: 0.5px solid #929AB5;
    border-right: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    font-size: 16px;
    background: #FFF;
}

#wc_bis_email:focus {
    box-shadow: none;
}

.single_variation_wrap > .woocommerce-variation >.woocommerce-variation-availability > .out-of-stock, .nv-index-posts > .product > .nv-single-product-top > .summary > .out-of-stock{
    color: #FF0000;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

.bis-notify-text {
    color:#666666;
    font-size: 14px;
    margin-bottom: 2px;
}

.woocommerce-variation-availability {
   margin-top: 5px;
}


#wc_bis_product_form {
    margin-top: 5px;
}

#wc_bis_email::placeholder {
    color: #929ab5;
}

.wc_bis_variation_wrapper > .cutomBackInStockStyling > .wc_bis_send_form:hover {
    border: 0.5px solid #929AB5;
    border-left: none;
    background: unset !important;
    color: #FB641B;
}

.summary .cutomBackInStockStyling > .wc_bis_send_form {
    flex-grow: 0;
    border-radius: 0px 10px 10px 0px;
    border: 0.5px solid #929ab5;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: rgb(146, 154, 181);
    border-left: 0px;
    background: white;
    color: #fb641b;
    font-size: 16px;
    padding: 0px;
    padding-right: 0px;
    padding-right: 20px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.summary > .cutomBackInStockStyling > .wc_bis_send_form:hover {
    border: 0.5px solid #929ab5;
    background: white;
    border-left: 0px;
    color: #fb641b;
}

/* .wc_bis_variation_wrapper {
    margin-top: 30px;
} */

.bis-waitlist-box {
    display: flex;
    gap: 20px;
    padding-left: 28px;
    padding-right: 28px;
    border-radius: 16px;
    padding-top: 22px;
    padding-bottom: 22px;

    border: 1px solid #FFD6A8;

    background: linear-gradient(
        135deg,
        #FFF7ED 0%,
        #FFEFE8 100%
    );
    margin-bottom: 20px;
}

.bis-icon {
    min-width: 40px;
    height: 40px;
    flex-shrink: 0;

    background: #FFE8D2;
    color: #F97316;

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

    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
}

.bis-waitlist-box {
    align-items: flex-start; /* push everything to top */
}

.bis-icon {
    align-self: flex-start;  /* force top-left */
    margin-top: 2px;         /* optional fine tuning */

    width: 40px;
    height: 40px;
    min-width: 40px;

    flex-shrink: 0;
}

.bis-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
}

.bis-description {
    margin: 0 0 16px 0;
    color: #4A5565;
    line-height: 22.75px;
    font-size: 14px;
}

.bis-link {
    color: #FB641B;
    font-weight: 500;
    text-decoration: none;
    line-height: 20px;
}

.bis-link:hover {
    text-decoration: underline;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock{
    color: #405C00;
    font-size: 16px !important;
    font-weight: 500;
}

.variations > tbody > tr > .woo-variation-items-wrapper > .image-variable-items-wrapper > .image-variable-item {
    height: 50px;
    width: 50px;
}

.woo-variation-items-wrapper > .image-variable-items-wrapper > .image-variable-item > .variable-item-contents {
    height: 50px;
    width: 50px;
}

@media (max-width: 768px) {

  .single_variation_wrap > .woocommerce-variation >.woocommerce-variation-availability > .out-of-stock, .nv-index-posts > .product > .nv-single-product-top > .summary > .out-of-stock {
    color: #FF0000;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
  }

  .bis-waitlist-box {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .bis-title {
    font-size: 13px;
  }

  .bis-description {
    font-size: 13px;
    line-height: 20px;
  }

  .bis-notify-text {
    font-size: 12px;
  }

  .bis-link {
    font-size: 13px;
  }

  .cutomBackInStockStyling {
    height: auto;
  }

  #wc_bis_email {
    font-size: 14px;
    padding-left: 14px;
  }

  .wc_bis_send_form {
    font-size: 14px;
  }
}