/*
Theme Name: Regen Labs
Theme URI: https://www.regenlabs.in/
Author: Code6 Technologies
Author URI: https://code6technologies.com/
Description: Custom WooCommerce WordPress Theme for Regen Labs.
Version: 1.0.0
Text Domain: regenlabs
*/

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}



a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}



button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}




/* =========================================
   SHOP PRODUCT PRICE
========================================= */

.product__content .price {
    margin: 12px 0 20px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

/* Regular price */
.product__content .price .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 700;
        color: var(--tg-color-yellow-light);
}

/* Sale price */
.product__content .price ins {
    text-decoration: none;
}

.product__content .price ins .woocommerce-Price-amount {
    font-weight: 700;
}

/* Old / regular price */
.product__content .price del {
    opacity: 0.55;
    margin-right: 8px;
}

.product__content .price del .woocommerce-Price-amount {
    font-size: 15px;
    font-weight: 400;
}

/* =========================================
   SINGLE PRODUCT - PREMIUM PRICE & CART
========================================= */

.single-product-price {
    margin: 18px 0 28px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Current Price */
.single-product-price .woocommerce-Price-amount {
    font-size: 30px;
    font-weight: 700;
    color: var(--tg-color-yellow-light);
}

/* Sale Price */
.single-product-price ins {
    text-decoration: none;
}

.single-product-price ins .woocommerce-Price-amount {
    font-weight: 700;
    color: var(--tg-color-yellow-light);
}

/* Old Price */
.single-product-price del {
    margin-right: 12px;
    opacity: 0.45;
}

.single-product-price del .woocommerce-Price-amount {
    font-size: 19px;
    font-weight: 500;
}


/* =========================================
   ADD TO CART AREA
========================================= */

.single-product-cart {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}


/* WooCommerce Cart Form */
.single-product-cart form.cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
}


/* =========================================
   QUANTITY
========================================= */

.single-product-cart .quantity {
    display: flex;
    align-items: center;
}

.single-product-cart .quantity .qty {
    width: 70px;
    height: 54px;
    padding: 0 10px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
}

.single-product-cart .quantity .qty:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}


/* =========================================
   ADD TO CART BUTTON
========================================= */

.single-product-cart .single_add_to_cart_button {
     min-height: 54px;
    padding: 0 34px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #111 !important;
    color: #fff;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.single-product-cart .single_add_to_cart_button:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.single-product-cart .single_add_to_cart_button:active {
    transform: translateY(0);
}


/* =========================================
   OUT OF STOCK
========================================= */

.single-product-cart .out-of-stock {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #777;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================
   PRODUCT SHORT DESCRIPTION
========================================= */

.product-short-description {
    margin-top: 20px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.product-short-description p {
    margin-bottom: 12px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .single-product-price {
        margin: 15px 0 22px;
        font-size: 24px;
    }

    .single-product-price .woocommerce-Price-amount {
        font-size: 24px;
    }

    .single-product-price del .woocommerce-Price-amount {
        font-size: 16px;
    }

    .single-product-cart {
        margin-top: 20px;
        padding-top: 20px;
    }

    .single-product-cart form.cart {
        width: 100%;
        gap: 10px;
    }

    .single-product-cart .quantity {
        flex: 0 0 auto;
    }

    .single-product-cart .quantity .qty {
        width: 65px;
        height: 50px;
    }

    .single-product-cart .single_add_to_cart_button {
        flex: 1;
        min-height: 50px;
        padding: 0 20px;
        font-size: 13px;
    }

    .product-short-description {
        font-size: 15px;
        line-height: 1.7;
    }
}



/* =========================================
   CART NOTIFICATION
========================================= */

.regenlabs-cart-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 999999;

    width: 390px;
    max-width: calc(100vw - 30px);

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 18px;

    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);

    transition:
        opacity .35s ease,
        visibility .35s ease,
        transform .35s ease;
}

.regenlabs-cart-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.regenlabs-notification-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111;
    color: #fff;

    font-size: 18px;
    font-weight: 700;
}

.regenlabs-notification-content {
    flex: 1;
    min-width: 0;
}

.regenlabs-notification-content strong {
    display: block;

    margin-bottom: 3px;

    color: #111;

    font-size: 15px;
    font-weight: 700;
}

.regenlabs-notification-content span {
    display: block;

    color: #777;

    font-size: 13px;
    line-height: 1.5;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.regenlabs-cart-notification > a {
    color: #111;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    text-decoration: underline;
}

.regenlabs-cart-notification > a:hover {
    opacity: .6;
}

#regenlabs-notification-close {
    width: 25px;
    height: 25px;

    padding: 0;

    border: 0;
    background: transparent;

    color: #999;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;
}

#regenlabs-notification-close:hover {
    color: #111;
}


/* MOBILE */

@media (max-width: 575px) {

    .regenlabs-cart-notification {
        top: 15px;
        right: 15px;
        left: 15px;

        width: auto;
        max-width: none;

        padding: 14px;
    }

    .regenlabs-notification-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .regenlabs-cart-notification > a {
        display: none;
    }

    .regenlabs-notification-content strong {
        font-size: 14px;
    }

    .regenlabs-notification-content span {
        font-size: 12px;
    }
}


body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    font-weight: 700;  transition: all 0.3s ease;
    font-size: 18px;
}

a.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover {
    color: #fff !important;  transition: all 0.3s ease;
    text-decoration: none;
    background:var(--tg-theme-primary) !important;
}


.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox], .wc-block-components-radio-control .wc-block-components-radio-control__input {padding: 0;}



/* =========================================
   PREMIUM HEADER ACTIONS
========================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* COMMON BUTTON */

.header-action-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 46px;

    color: #111;
    text-decoration: none;

    transition:
        color .3s ease,
        transform .3s ease;
}

.header-action-btn:hover {
    color: #777;
}


/* =========================================
   SEARCH
========================================= */

.header-search {
    display: flex;
    align-items: center;
}

.search-toggle {
    width: 46px;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    cursor: pointer;
}

.search-toggle i {
    font-size: 18px;
    font-weight: 400;
}

.search-toggle:hover {
    transform: translateY(-2px);
}


/* =========================================
   ACCOUNT
========================================= */

.header-account {
    display: flex;
    align-items: center;
}

.header-account .header-action-btn {
    gap: 8px;

    padding: 0 12px;
}

.header-account i {
    font-size: 20px;
    font-weight: 400;
}

.account-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .1px;
}


/* =========================================
   CART
========================================= */

.header-cart {
    display: flex;
    align-items: center;
}

.cart-link {
    width: 46px;
}

.cart-link i {
    font-size: 18px;
    font-weight: 400;
}

.cart-link:hover {
    transform: translateY(-2px);
}


/* =========================================
   CART COUNT
========================================= */

.cart-count {
    position: absolute;

    top: 3px;
    right: 1px;

    min-width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 4px;

    border-radius: 50%;

    background: #111;
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;

    line-height: 1;
}


/* =========================================
   HOVER EFFECT
========================================= */

.header-search,
.header-account,
.header-cart {
    transition: transform .3s ease;
}

.header-search:hover,
.header-account:hover,
.header-cart:hover {
    transform: translateY(-1px);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .header-actions {
        gap: 2px;
    }

    .header-action-btn {
        height: 42px;
    }

    .search-toggle,
    .cart-link {
        width: 40px;
    }

    .header-account .header-action-btn {
        width: 40px;
        padding: 0;
    }

    .account-text {
        display: none;
    }

    .header-account i {
        font-size: 22px;
    }

    .cart-link i,
    .search-toggle i {
        font-size: 20px;
    }

}



/* =========================================
   SEARCH OVERLAY
========================================= */

.regenlabs-search-overlay {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: 130px;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.regenlabs-search-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* SEARCH BOX */

.regenlabs-search-box {
    position: relative;

    width: 700px;
    max-width: calc(100% - 30px);

    padding: 45px 45px 50px;

    background: #fff;

    border-radius: 14px;

    box-shadow: 0 30px 80px rgba(0, 0, 0, .20);

    transform: translateY(-25px);

    transition: transform .35s ease;
}

.regenlabs-search-overlay.active
.regenlabs-search-box {
    transform: translateY(0);
}


/* CLOSE */

.regenlabs-search-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f5f5f5;
    color: #111;

    cursor: pointer;

    transition: all .3s ease;
}

.regenlabs-search-close:hover {
    background: #111;
    color: #fff;
    transform: rotate(90deg);
}


/* LABEL */

.regenlabs-search-label {
    display: block;

    margin-bottom: 15px;

    color: #888;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* FORM */

.regenlabs-search-form {
    display: flex;
    align-items: center;

    border-bottom: 2px solid #111;
}

.regenlabs-search-form input[type="search"] {
    width: 100%;

    height: 65px;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #111;

    font-size: 24px;
    font-weight: 500;
}

.regenlabs-search-form input[type="search"]::placeholder {
    color: #aaa;
}


/* SEARCH BUTTON */

.regenlabs-search-form button {
    width: 55px;
    height: 55px;

    flex: 0 0 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #111;
    color: #fff;

    font-size: 18px;

    cursor: pointer;

    transition: all .3s ease;
}

.regenlabs-search-form button:hover {
    background: #333;
    transform: scale(1.05);
}


/* MOBILE */

@media (max-width: 767px) {


  
    .regenlabs-search-overlay {
        padding-top: 80px;
    }

    .regenlabs-search-box {
        padding: 40px 25px 35px;
    }

    .regenlabs-search-form input[type="search"] {
        height: 55px;
        font-size: 18px;
    }

    .regenlabs-search-form button {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }

}


/* =========================================================
   REGEN LABS - PREMIUM MY ACCOUNT
========================================================= */

.woocommerce-account .main-area {
    background: #fff;
}

.woocommerce-account .woocommerce {
    padding-top: 20px;
}


/* =========================================================
   ACCOUNT LAYOUT
========================================================= */

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 260px;
    float: left;

    margin-right: 40px;

    padding: 12px;

    background: #f8f8f8;

    border: 1px solid #ededed;
    border-radius: 16px;

    box-shadow: 0 12px 40px rgba(0, 0, 0, .04);
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 300px);
    float: right;

    min-height: 420px;

    padding: 35px;

    background: #fff;

    border: 1px solid #ededed;
    border-radius: 16px;

    box-shadow: 0 12px 40px rgba(0, 0, 0, .04);
}


/* =========================================================
   NAVIGATION
========================================================= */

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 3px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 50px;

    padding: 0 16px;

    border-radius: 10px;

    color: #555;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.woocommerce-account
.woocommerce-MyAccount-navigation li a:hover {
    color: #111;

    background: #fff;

    transform: translateX(3px);
}


/* ACTIVE */

.woocommerce-account
.woocommerce-MyAccount-navigation li.is-active a {

    background: #111;

    color: #fff;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}


/* =========================================================
   DASHBOARD
========================================================= */

.woocommerce-account
.woocommerce-MyAccount-content
> p:first-child {

    margin: 0 0 30px;

    color: #555;

    font-size: 16px;
    line-height: 1.8;
}

.woocommerce-account
.woocommerce-MyAccount-content
> p:first-child a {

    color: #111;

    font-weight: 700;

    text-decoration: underline;
}


/* =========================================================
   HEADINGS
========================================================= */

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {

    margin-bottom: 20px;

    color: #111;

    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}


/* =========================================================
   TABLE
========================================================= */

.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-table {

    width: 100%;

    border-collapse: separate;
    border-spacing: 0;

    overflow: hidden;

    border: 1px solid #e9e9e9;
    border-radius: 12px;
}

.woocommerce-account
.woocommerce-orders-table th,
.woocommerce-account
.woocommerce-orders-table td {

    padding: 16px 18px;

    border-bottom: 1px solid #ededed;

    font-size: 14px;

    text-align: left;
}

.woocommerce-account
.woocommerce-orders-table th {

    background: #f8f8f8;

    color: #222;

    font-weight: 700;
}

.woocommerce-account
.woocommerce-orders-table tr:last-child td {

    border-bottom: 0;
}

.woocommerce-account
.woocommerce-orders-table td {

    color: #666;
}


/* =========================================================
   BUTTONS
========================================================= */

.woocommerce-account
.woocommerce-MyAccount-content
.button,
.woocommerce-account
.woocommerce-MyAccount-content
.woocommerce-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 24px;

    border: 0;
    border-radius: 8px;

    background: #111;

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        background .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.woocommerce-account
.woocommerce-MyAccount-content
.button:hover,
.woocommerce-account
.woocommerce-MyAccount-content
.woocommerce-button:hover {

    background: #333;

    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}


/* =========================================================
   FORM FIELDS
========================================================= */

.woocommerce-account
.woocommerce-MyAccount-content
.woocommerce-form-row {

    margin-bottom: 22px;
}

.woocommerce-account
.woocommerce-MyAccount-content
label {

    display: block;

    margin-bottom: 8px;

    color: #222;

    font-size: 13px;
    font-weight: 600;
}

.woocommerce-account
.woocommerce-MyAccount-content
input.input-text,
.woocommerce-account
.woocommerce-MyAccount-content
input[type="text"],
.woocommerce-account
.woocommerce-MyAccount-content
input[type="email"],
.woocommerce-account
.woocommerce-MyAccount-content
input[type="password"],
.woocommerce-account
.woocommerce-MyAccount-content
input[type="tel"],
.woocommerce-account
.woocommerce-MyAccount-content
select,
.woocommerce-account
.woocommerce-MyAccount-content
textarea {

    width: 100%;

    min-height: 52px;

    padding: 0 15px;

    border: 1px solid #dedede;

    border-radius: 8px;

    background: #fff;

    color: #222;

    font-size: 14px;

    outline: none;

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.woocommerce-account
.woocommerce-MyAccount-content
textarea {

    min-height: 130px;

    padding-top: 14px;
}

.woocommerce-account
.woocommerce-MyAccount-content
input:focus,
.woocommerce-account
.woocommerce-MyAccount-content
select:focus,
.woocommerce-account
.woocommerce-MyAccount-content
textarea:focus {

    border-color: #111;

    box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
}


/* =========================================================
   LOGIN / REGISTER
========================================================= */

.woocommerce-account .u-columns {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 30px;

    margin-top: 10px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {

    width: auto !important;

    padding: 35px;

    border: 1px solid #e8e8e8;

    border-radius: 16px;

    background: #fff;

    box-shadow: 0 15px 45px rgba(0, 0, 0, .05);
}

.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2 {

    margin-bottom: 25px;

    font-size: 24px;
}


/* =========================================================
   REMEMBER ME
========================================================= */

.woocommerce-account
.woocommerce-form-login__rememberme {

    display: inline-flex !important;

    align-items: center;

    gap: 8px;

    margin: 0 0 20px;

    color: #666 !important;

    font-size: 13px !important;
}

.woocommerce-account
.woocommerce-form-login__rememberme input {

    width: 16px !important;
    height: 16px !important;

    min-height: auto !important;
}


/* =========================================================
   LOST PASSWORD
========================================================= */

.woocommerce-account
.woocommerce-LostPassword {

    margin-top: 18px;
}

.woocommerce-account
.woocommerce-LostPassword a {

    color: #555;

    font-size: 13px;

    text-decoration: underline;
}

.woocommerce-account
.woocommerce-LostPassword a:hover {

    color: #111;
}


/* =========================================================
   NOTICES
========================================================= */

.woocommerce-account
.woocommerce-message,
.woocommerce-account
.woocommerce-info,
.woocommerce-account
.woocommerce-error {

    margin-bottom: 25px;

    padding: 15px 18px;

    border: 0;

    border-radius: 10px;

    background: #f7f7f7;

    color: #333;

    font-size: 14px;
}


/* =========================================================
   ADDRESS BOX
========================================================= */

.woocommerce-account
.woocommerce-Addresses {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 25px;
}

.woocommerce-account
.woocommerce-Address {

    padding: 25px;

    border: 1px solid #e8e8e8;

    border-radius: 14px;

    background: #fff;

    box-shadow: 0 10px 35px rgba(0, 0, 0, .04);
}

.woocommerce-account
.woocommerce-Address-title {

    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.woocommerce-account
.woocommerce-Address-title h3 {

    margin: 0;

    font-size: 18px;
}

.woocommerce-account
.woocommerce-Address-title a {

    color: #111;

    font-size: 12px;
    font-weight: 700;

    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .woocommerce-account
    .woocommerce-MyAccount-navigation {

        width: 100%;

        float: none;

        margin: 0 0 25px;
    }

    .woocommerce-account
    .woocommerce-MyAccount-content {

        width: 100%;

        float: none;
    }

}


@media (max-width: 767px) {

    .woocommerce-account
    .woocommerce-MyAccount-content {

        padding: 22px 18px;
    }

    .woocommerce-account
    .woocommerce-MyAccount-navigation {

        padding: 8px;
    }

    .woocommerce-account
    .woocommerce-MyAccount-navigation li a {

        min-height: 46px;

        font-size: 13px;
    }

    .woocommerce-account .u-columns {

        grid-template-columns: 1fr;

        gap: 20px;
    }

    .woocommerce-account .u-column1,
    .woocommerce-account .u-column2 {

        padding: 25px 20px;
    }

    .woocommerce-account
    .woocommerce-Addresses {

        grid-template-columns: 1fr;
    }

    .woocommerce-account
    .woocommerce-orders-table {

        display: block;

        overflow-x: auto;

        white-space: nowrap;
    }

}

.woocommerce-account .woocommerce-MyAccount-content {
    
    width: 65% !important;
}

.woocommerce .col2-set::after, .woocommerce .col2-set::before, .woocommerce-page .col2-set::after, .woocommerce-page .col2-set::before{display:none !important;}



.woocommerce-cart .wc-block-grid__product-image {
    height: 300px;
}

.woocommerce-cart .wc-block-grid__product-image  img{
    height: 300px !important;
    object-fit: cover;
}

.woocommerce-cart .wc-block-grid__product-title {font-size: 18px;}

.woocommerce-cart .wc-block-grid__product-price {    font-size: 16px;
    font-weight: 700; color:var(--tg-color-yellow-light);}


.woocommerce-cart  .add_to_cart_button.ajax_add_to_cart  {
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 25px;
}


.woocommerce-cart  .add_to_cart_button.ajax_add_to_cart:hover {
   color: #fff;
   background:var(--tg-theme-primary) ;
}


/* =========================================================
   REGEN LABS - PREMIUM 404 PAGE
========================================================= */

.regenlabs-404-area {
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px 0;

    background: #fff;
}

.regenlabs-404-content {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


/* 404 NUMBER */

.regenlabs-404-number {
    margin-bottom: 5px;

    color: #111;

    font-size: clamp(110px, 18vw, 220px);
    font-weight: 800;

    line-height: .85;

    letter-spacing: -10px;

    opacity: .06;

    user-select: none;
}


/* LABEL */

.regenlabs-404-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #777;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* TITLE */

.regenlabs-404-title {
    margin: 0 0 18px;

    color: #111;

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;

    line-height: 1.2;
}


/* TEXT */

.regenlabs-404-text {
    max-width: 560px;

    margin: 0 auto 30px;

    color: #777;

    font-size: 16px;
    line-height: 1.8;
}


/* SEARCH */

.regenlabs-404-search {
    max-width: 560px;

    height: 58px;

    display: flex;
    align-items: center;

    margin: 0 auto 25px;

    padding: 0 7px 0 20px;

    border: 1px solid #e1e1e1;

    border-radius: 8px;

    background: #fff;

    box-shadow: 0 10px 35px rgba(0, 0, 0, .05);

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.regenlabs-404-search:focus-within {

    border-color: #111;

    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.regenlabs-404-search input[type="search"] {

    width: 100%;
    height: 100%;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #111;

    font-size: 14px;
}

.regenlabs-404-search input::placeholder {
    color: #aaa;
}

.regenlabs-404-search button {

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 7px;

    background: #111;

    color: #fff;

    font-size: 16px;

    cursor: pointer;

    transition: all .3s ease;
}

.regenlabs-404-search button:hover {

    background: #333;

    transform: translateY(-1px);
}


/* BUTTONS */

.regenlabs-404-buttons {

    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}

.regenlabs-404-buttons .tg-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 50px;

    padding: 0 25px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: all .3s ease;
}


/* SECONDARY BUTTON */

.regenlabs-404-buttons .tg-btn-border {

    border: 1px solid #ddd;

    background: #fff;

    color: #111;
}

.regenlabs-404-buttons .tg-btn-border:hover {

    border-color: #111;

    background: #111;

    color: #fff;
}


/* ICON */

.regenlabs-404-buttons i {
    font-size: 15px;
}


/* MOBILE */

@media (max-width: 767px) {

      .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
}

    .regenlabs-404-area {

        min-height: 550px;

        padding: 70px 20px;
    }

    .regenlabs-404-number {

        font-size: 120px;

        letter-spacing: -5px;
    }

    .regenlabs-404-title {

        font-size: 30px;
    }

    .regenlabs-404-text {

        font-size: 14px;
        line-height: 1.7;
    }

    .regenlabs-404-search {

        height: 54px;
    }

    .regenlabs-404-buttons {

        flex-direction: column;
    }

    .regenlabs-404-buttons .tg-btn {

        width: 100%;
    }

}


.copyright__content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.copyright__content .payment-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 15px;
    padding: 0;
    list-style: none;
}

.copyright__content .policyLink {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.copyright__content .policyLink li {
    margin: 0;
}

.copyright__content .policyLink a {
       text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}
.copyright__content .policyLink a:hover {color: var(--tg-theme-primary);}

.copyright__content p {
    margin: 0;
    text-align: center;
        font-size: 15px;
}



.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0px 20px;
    color: #333;
    line-height: 1.8;
}

.legal-page h1 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #111;
}

.legal-page h2 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 12px;
    color: #111;
}

.legal-page p {
    margin-bottom: 16px;
}

.legal-page ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.legal-page li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 30px 18px;
    }

    .legal-page h1 {
        font-size: 30px;
    }

    .legal-page h2 {
        font-size: 20px;
    }
}


/* =========================================
   ADD TO CART SUCCESS POPUP
========================================= */

.cart-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.cart-success-overlay.active {
    display: flex;
}

.cart-success-popup {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: cartPopupShow 0.3s ease;
}

@keyframes cartPopupShow {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close */
.cart-success-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

/* Success Icon */
.cart-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

/* Title */
.cart-success-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

/* Message */
.cart-success-message {
    margin: 0 0 22px;
    color: #6b7280;
    font-size: 15px;
}

/* Product */
.cart-success-product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 22px;
}

.cart-success-product img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-success-product-info {
    flex: 1;
}

.cart-success-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 5px;
}

.cart-success-product-price {
    font-size: 15px;
    font-weight: 700;
    color: #16a34a;
}

/* Buttons */
.cart-success-buttons {
    display: flex;
    gap: 10px;
}

.cart-success-buttons a {
    flex: 1;
    padding: 13px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.cart-continue-btn {
    background: #f3f4f6;
    color: #111827;
}

.cart-view-btn {
    background: #111827;
    color: #ffffff;
}

.cart-view-btn:hover {
    background: #000000;
}

/* Mobile */
@media (max-width: 480px) {

    .cart-success-popup {
        padding: 24px 18px;
        max-width: 360px;
    }

    .cart-success-title {
        font-size: 21px;
    }

    .cart-success-buttons {
        flex-direction: column;
    }

    .cart-success-buttons a {
        width: 100%;
    }
}


/* =====================================
   REGENLABS - WOOCOMMERCE PAYMENT PAGES
===================================== */

/* Main checkout container */
body.woocommerce-order-pay .woocommerce,
body.woocommerce-order-received .woocommerce {
    max-width: 1140px;
    margin: 60px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* Page background */
body.woocommerce-order-pay,
body.woocommerce-order-received {
    background: #fff;
}

/* Notices */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-notice--success {
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 15px;
}

/* Order details table */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.woocommerce table.shop_table th {
    background: #f1f5f9;
    color: #1d2939;
    font-weight: 600;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e5eaf0;
    text-align: left;
}

.woocommerce table.shop_table tr:last-child th,
.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Payment methods */
.woocommerce #payment {
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    padding: 22px;
    margin-top: 25px;
}

.woocommerce #payment ul.payment_methods {
    border-bottom: 1px solid #e5eaf0;
    padding: 15px 0 22px;
}

.woocommerce #payment .payment_box {
    background: #edf4f8;
    border-radius: 8px;
    padding: 16px;
}

/* Buttons */
.woocommerce #payment #place_order,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: #176b58;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 15px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce #payment #place_order:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #105343;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Order received success message */
.woocommerce .woocommerce-notice--success {
    background: #eaf7ef;
    color: #176b43;
    border: 1px solid #c7ebd4;
    font-size: 17px;
    font-weight: 600;
}

/* Order overview */
.woocommerce ul.order_details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 30px 0;
}

.woocommerce ul.order_details li {
    flex: 1 1 150px;
    float: none;
    margin: 0;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    line-height: 1.8;
    font-size: 13px !important;
    padding:15 !important;
}

#btn-razorpay, #btn-razorpay-cancel{
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    body.woocommerce-order-pay .woocommerce,
    body.woocommerce-order-received .woocommerce {
        margin: 25px 12px;
        padding: 20px 15px;
        border-radius: 12px;
    }

    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .woocommerce ul.order_details {
        display: block;
    }

    .woocommerce ul.order_details li {
        margin-bottom: 12px;
        width: auto;
        padding: 14px;
    }

    .woocommerce #payment {
        padding: 15px;
    }

    .woocommerce #payment #place_order {
        width: 100%;
        float: none;
    }
}


.single-product-coupon {
    background: #f7f6f2;
    border: 1px dashed #b79a62;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.single-product-coupon strong {
    display: block;
    color: #795d2c;
    font-size: 17px;
}

.single-product-coupon p {
    margin: 6px 0;
}

.single-product-coupon .coupon-code {
    display: inline-block;
    padding: 7px 14px;
    border: 1px dashed #b79a62;
    font-weight: 700;
    letter-spacing: 1px;
}


.re-sold-out-message {
    display: inline-block;
    background-color: #dc3545;
    color: #ffffff;
    padding: 12px 25px;
    margin: 15px 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
}



/* WooCommerce Product Gallery */
.wc-custom-gallery {
    width: 100%;
    max-width: 100%;
}

/* Main Image Container */
.wc-gallery-main {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 15px;
}

/* Main Product Image */
.wc-gallery-main-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

/* Thumbnail Layout */
.wc-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

/* Individual Thumbnail Button */
.wc-gallery-thumb {
    width: 85px;
    height: 85px;
    flex: 0 0 85px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease;
}

/* Thumbnail Image */
.wc-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hover Effect */
.wc-gallery-thumb:hover {
    border-color: #222;
}

/* Active Thumbnail */
.wc-gallery-thumb.is-active {
    border: 2px solid #222;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Keyboard Accessibility */
.wc-gallery-thumb:focus-visible {
    outline: 2px solid #1769ff;
    outline-offset: 3px;
}

/* Mobile Responsive */
@media (max-width: 575px) {
    .wc-gallery-main {
        min-height: 230px;
        padding: 10px;
    }

    .wc-gallery-main-image {
        max-height: 400px;
    }

    .wc-gallery-thumbnails {
        gap: 8px;
    }

    .wc-gallery-thumb {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }
}


/* Main image zoom container */
.wc-gallery-main {
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

/* Smooth zoom effect */
.wc-gallery-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.4s ease;
    transform-origin: center center;
}

/* Desktop hover zoom */
@media (hover: hover) and (pointer: fine) {
    .wc-gallery-main:hover .wc-gallery-main-image {
        transform: scale(1.7);
    }
}
