/* ======================================================
   ASHAPURA DIGITAL PRODUCT CATALOGUE
   Single Product Functional UI
====================================================== */

.single-product .adpc-related-products {
    clear: both;
    margin-top: 48px;
}

.single-product .adpc-related-products h2 {
    margin-bottom: 28px;
}


/* ------------------------------------------------------
   CATEGORY ABOVE PRODUCT TITLE
------------------------------------------------------ */

.single-product .adpc-product-category {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-product .adpc-product-category a {
    text-decoration: none;
}


/* ------------------------------------------------------
   PRODUCT TITLE
------------------------------------------------------ */

.single-product div.product .summary .product_title {
    margin: 0 0 18px !important;
    font-size: 38px !important;
    line-height: 1.2;
}


/* ------------------------------------------------------
   PRICE
------------------------------------------------------ */

.single-product .summary > .price {
    display: block;
    margin: 0 0 20px !important;
    font-size: 27px !important;
    font-weight: 600;
}


/* ------------------------------------------------------
   SHORT DESCRIPTION
------------------------------------------------------ */

.single-product
.woocommerce-product-details__short-description {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.75;
}


/* ------------------------------------------------------
   KEEP VARIATIONS
------------------------------------------------------ */

.single-product form.variations_form {
    margin-top: 20px;
    margin-bottom: 0;
}

.single-product table.variations {
    margin-bottom: 10px !important;
}

.single-product table.variations th,
.single-product table.variations td {
    vertical-align: middle;
}

.single-product table.variations .label {
    padding-right: 20px !important;
}

.single-product table.variations .label label {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/*
 * IMPORTANT:
 * Do not hide .variations_form.
 * Hide only WooCommerce purchase controls.
 */
.single-product
.woocommerce-variation-add-to-cart
.quantity {
    display: none !important;
}

.single-product
.woocommerce-variation-add-to-cart
.single_add_to_cart_button {
    display: none !important;
}


/*
 * Simple products.
 */
.single-product
form.cart:not(.variations_form)
.quantity,

.single-product
form.cart:not(.variations_form)
.single_add_to_cart_button {
    display: none !important;
}


/* ------------------------------------------------------
   SELECTED VARIATION PRICE
------------------------------------------------------ */

.single-product
.woocommerce-variation-price {
    margin: 15px 0 5px;
}

.single-product
.woocommerce-variation-price
.price {
    font-size: 25px !important;
    font-weight: 600 !important;
}


/* Hide empty native variation button container spacing */
.single-product
.woocommerce-variation-add-to-cart {
    min-height: 0 !important;
    margin: 0 !important;
}


/* ------------------------------------------------------
   ORDER NOW
------------------------------------------------------ */

.adpc-order-section {
    width: 100%;
    margin: 24px 0 25px;
}

.adpc-order-now-button {
    width: 100%;
    max-width: 380px;
    min-height: 56px;

    padding: 14px 30px !important;

    font-size: 16px !important;
    font-weight: 600 !important;

    text-transform: uppercase;
    letter-spacing: 2px;

    cursor: pointer;
}

.adpc-order-error {
    max-width: 380px;

    margin-bottom: 12px;
    padding: 10px 14px;

    border: 1px solid #d7b5b5;

    background: #fff5f5;

    font-size: 14px;
}


/* ------------------------------------------------------
   PRODUCT META
------------------------------------------------------ */

.single-product .product_meta {
    margin-top: 15px;
    padding-top: 20px;

    border-top: 1px solid rgba(0,0,0,.12);

    font-size: 14px;
    line-height: 1.8;
}

.single-product .product_meta > span {
    display: inline-block;
    margin-right: 18px;
}


/* ======================================================
   ORDER POPUP
====================================================== */

.adpc-popup-overlay {
    position: fixed;

    inset: 0;

    z-index: 9999999;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(0, 0, 0, 0.62);
}

body.adpc-popup-open {
    overflow: hidden;
}

.adpc-popup {
    position: relative;

    width: 100%;
    max-width: 560px;

    max-height: calc(100vh - 50px);

    overflow-y: auto;

    padding: 42px;

    background: #fff;

    border-radius: 8px;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.22);
}


/* Close */
.adpc-popup-close {
    position: absolute;

    top: 12px;
    right: 15px;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 0;

    background: transparent;

    font-size: 31px;
    line-height: 38px;

    cursor: pointer;
}


/* Heading */
.adpc-popup-small-title {
    display: block;

    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.adpc-popup h3 {
    margin: 0 0 24px;

    font-size: 27px;
    line-height: 1.3;
}


/* Product details */
.adpc-popup-product-card {
    margin-bottom: 22px;

    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.adpc-popup-row {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 13px 0;

    border-bottom: 1px solid #eeeeee;
}

.adpc-popup-variation-row[hidden] {
    display: none !important;
}

.adpc-popup-row:last-child {
    border-bottom: 0;
}

.adpc-popup-label {
    flex: 0 0 90px;

    font-size: 14px;
}

.adpc-popup-row strong {
    text-align: right;
}

.adpc-popup-price {
    font-size: 18px;
}


/* Instructions */
.adpc-popup-instructions {
    margin-bottom: 20px;

    font-size: 15px;
    line-height: 1.7;
}


/* Contact */
.adpc-popup-contact {
    margin: 20px 0;
}

.adpc-popup-contact > div {
    margin: 9px 0;
}

.adpc-popup-contact span {
    display: inline-block;

    min-width: 75px;

    font-weight: 600;
}


/* Buttons */
.adpc-popup-actions {
    display: flex;

    gap: 12px;

    margin-top: 25px;
}

.adpc-popup-actions .button {
    flex: 1;

    padding: 13px 20px;

    text-align: center;
}


/* ------------------------------------------------------
   MOBILE
------------------------------------------------------ */

@media (max-width: 767px) {

    .single-product .product_title {
        font-size: 29px !important;
    }

    .single-product .summary > .price {
        font-size: 23px !important;
    }

    .adpc-order-now-button {
        max-width: none;
    }

    .adpc-popup {
        padding: 35px 22px 25px;
    }

    .adpc-popup-actions {
        flex-direction: column;
    }

    .adpc-popup-row {
        flex-direction: column;

        gap: 3px;
    }

    .adpc-popup-row strong {
        text-align: left;
    }
}

/* =====================================================
   PRODUCT VARIATION - REMOVE EMPTY AREA
===================================================== */

/* Remove Astra/WooCommerce border around empty variation area */
.single-product .single_variation_wrap,
.single-product .single_variation,
.single-product .woocommerce-variation {
    border: 0 !important;
}

/* Before variation selection */
.single-product .single_variation:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Selected variation area */
.single-product .woocommerce-variation-price {
    border: 0 !important;
    padding: 0 !important;
    margin: 15px 0 10px !important;
}

/* Remove unnecessary separator lines */
.single-product .single_variation_wrap::before,
.single-product .single_variation_wrap::after,
.single-product .single_variation::before,
.single-product .single_variation::after {
    display: none !important;
    content: none !important;
}

/* Don't reserve height when no variation is selected */
.single-product .single_variation_wrap {
    min-height: 0 !important;
}

/* =====================================================
   SINGLE PRODUCT - ASTRA HEADER FIX
===================================================== */

/*
 * Normal pages can keep transparent header.
 * Product detail page must use normal header flow.
 */
.single-product.ast-theme-transparent-header #masthead,
.single-product.ast-theme-transparent-header .site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 999 !important;
}

/* Header background on product page */
.single-product .ast-primary-header-bar {
    background: #fbf8f0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Header inner wrapper */
.single-product .ast-primary-header-bar .site-primary-header-wrap {
    min-height: 90px !important;
    align-items: center !important;
}

/* Logo */
.single-product .site-branding,
.single-product .ast-site-identity {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.single-product .custom-logo-link img,
.single-product .site-logo-img img {
    max-height: 75px !important;
    width: auto !important;
}

/* Desktop menu */
.single-product .main-header-menu > .menu-item > .menu-link {
    color: #333333 !important;
}

/* Hover / active */
.single-product .main-header-menu > .menu-item:hover > .menu-link,
.single-product .main-header-menu > .current-menu-item > .menu-link {
    color: #737a32 !important;
}

/* Product page content spacing */
.single-product #content {
    padding-top: 40px !important;
}

.single-product .site-main {
    margin-top: 0 !important;
}

.single-product .ast-woo-product-category {
    display: none !important;
}

/* Hide WooCommerce variation reset/clear link */
.single-product .reset_variations {
    display: none !important;
}

.single-product .ast-woo-product-category,
.single-product .reset_variations {
    display: none !important;
}

/* Hide top product category on single product page */
.single-product-category {
    display: none !important;
}

/* =====================================================
   SINGLE PRODUCT - FORCE PRODUCT TITLE DISPLAY
===================================================== */

.single-product div.product .summary .product_title,
.single-product div.product .product_title,
.single-product .summary h1.product_title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 0 18px !important;
    padding: 0 !important;

    font-size: 38px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;

    color: #333333 !important;
    text-indent: 0 !important;
    overflow: visible !important;
}
/************************************/
/* =====================================================
   WOOCOMMERCE SHOP / CATEGORY - ASTRA HEADER FIX
===================================================== */

/*
 * Pages covered:
 * /shop/
 * /product-category/xxx/
 * /product-tag/xxx/
 */

/* -----------------------------------------------------
   HEADER MUST STAY IN NORMAL FLOW
----------------------------------------------------- */

body.woocommerce-shop.ast-theme-transparent-header #masthead,
body.tax-product_cat.ast-theme-transparent-header #masthead,
body.tax-product_tag.ast-theme-transparent-header #masthead {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    z-index: 999 !important;
}


/* =====================================================
   ABOVE HEADER WRAPPER - LOGO ROW
===================================================== */

/*
 * This wrapper is currently causing the huge blank/logo area.
 */
body.woocommerce-shop .ast-above-header-wrap,
body.tax-product_cat .ast-above-header-wrap,
body.tax-product_tag .ast-above-header-wrap {
    display: block !important;

    width: 100% !important;

    height: 95px !important;
    min-height: 95px !important;
    max-height: 95px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: #fbf8f0 !important;
}


/* Actual above-header bar */
body.woocommerce-shop .ast-above-header-bar,
body.tax-product_cat .ast-above-header-bar,
body.tax-product_tag .ast-above-header-bar {
    width: 100% !important;

    height: 95px !important;
    min-height: 95px !important;
    max-height: 95px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fbf8f0 !important;
}


/* Astra grid containers */
body.woocommerce-shop .ast-above-header-wrap .ast-builder-grid-row-container,
body.woocommerce-shop .ast-above-header-wrap .ast-builder-grid-row,

body.tax-product_cat .ast-above-header-wrap .ast-builder-grid-row-container,
body.tax-product_cat .ast-above-header-wrap .ast-builder-grid-row,

body.tax-product_tag .ast-above-header-wrap .ast-builder-grid-row-container,
body.tax-product_tag .ast-above-header-wrap .ast-builder-grid-row {
    width: 100% !important;

    height: 95px !important;
    min-height: 95px !important;
    max-height: 95px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: center !important;
}


/* Center section */
body.woocommerce-shop .site-header-above-section-center,
body.tax-product_cat .site-header-above-section-center,
body.tax-product_tag .site-header-above-section-center {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    height: 95px !important;
    min-height: 95px !important;
    max-height: 95px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =====================================================
   LOGO
===================================================== */

body.woocommerce-shop .ast-above-header-wrap .site-branding,
body.woocommerce-shop .ast-above-header-wrap .ast-site-identity,

body.tax-product_cat .ast-above-header-wrap .site-branding,
body.tax-product_cat .ast-above-header-wrap .ast-site-identity,

body.tax-product_tag .ast-above-header-wrap .site-branding,
body.tax-product_tag .ast-above-header-wrap .ast-site-identity {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;

    height: 95px !important;
    min-height: 95px !important;
    max-height: 95px !important;

    margin: 0 !important;
    padding: 0 !important;
}


body.woocommerce-shop .ast-above-header-wrap .custom-logo-link,
body.tax-product_cat .ast-above-header-wrap .custom-logo-link,
body.tax-product_tag .ast-above-header-wrap .custom-logo-link {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: 80px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Actual large 2780 x 1688 logo image */
body.woocommerce-shop .ast-above-header-wrap img.custom-logo,
body.tax-product_cat .ast-above-header-wrap img.custom-logo,
body.tax-product_tag .ast-above-header-wrap img.custom-logo {
    display: block !important;

    width: auto !important;
    height: 75px !important;

    max-width: 160px !important;
    max-height: 75px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    object-fit: contain !important;
}


/* =====================================================
   PRIMARY HEADER - MENU ROW
===================================================== */

body.woocommerce-shop .ast-main-header-wrap,
body.tax-product_cat .ast-main-header-wrap,
body.tax-product_tag .ast-main-header-wrap {
    width: 100% !important;

    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fbf8f0 !important;
}


body.woocommerce-shop .ast-primary-header-bar,
body.tax-product_cat .ast-primary-header-bar,
body.tax-product_tag .ast-primary-header-bar {
    width: 100% !important;

    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fbf8f0 !important;

    border-top: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}


/* Primary header inner grid */
body.woocommerce-shop .site-primary-header-wrap,
body.tax-product_cat .site-primary-header-wrap,
body.tax-product_tag .site-primary-header-wrap {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;

    margin: 0 auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    align-items: center !important;
}


/* Menu navigation */
body.woocommerce-shop .main-header-bar-navigation,
body.tax-product_cat .main-header-bar-navigation,
body.tax-product_tag .main-header-bar-navigation {
    height: 60px !important;
}


/* Menu items */
body.woocommerce-shop .main-header-menu > .menu-item > .menu-link,
body.tax-product_cat .main-header-menu > .menu-item > .menu-link,
body.tax-product_tag .main-header-menu > .menu-item > .menu-link {
    display: flex !important;

    align-items: center !important;

    height: 60px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    color: #333333 !important;
}


/* Hover/current */
body.woocommerce-shop .main-header-menu > .menu-item:hover > .menu-link,
body.woocommerce-shop .main-header-menu > .current-menu-item > .menu-link,

body.tax-product_cat .main-header-menu > .menu-item:hover > .menu-link,
body.tax-product_cat .main-header-menu > .current-menu-item > .menu-link,

body.tax-product_tag .main-header-menu > .menu-item:hover > .menu-link,
body.tax-product_tag .main-header-menu > .current-menu-item > .menu-link {
    color: #737a32 !important;
}


/* =====================================================
   SHOP / CATEGORY CONTENT
===================================================== */

body.woocommerce-shop #content,
body.tax-product_cat #content,
body.tax-product_tag #content {
    padding-top: 35px !important;
}

/* =====================================================
   ADPC - SINGLE PRODUCT RESPONSIVE FIX
   Tablet + Mobile
===================================================== */


/* -----------------------------------------------------
   SINGLE PRODUCT MAIN AREA
----------------------------------------------------- */

@media (max-width: 1024px) {

    .single-product #content {
        padding-top: 30px !important;
    }

    .single-product div.product {
        padding-left: 20px;
        padding-right: 20px;
    }

    .single-product div.product .summary {
        margin-bottom: 30px;
    }

}


/* -----------------------------------------------------
   MOBILE PRODUCT PAGE
----------------------------------------------------- */

@media (max-width: 767px) {

    /* Main product container */
    .single-product div.product {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }


    /* Product image */
    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .woocommerce-product-gallery__wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 25px !important;
    }

    .single-product div.product .woocommerce-product-gallery img {
        max-width: 100% !important;
        height: auto !important;
    }


    /* Product summary */
    .single-product div.product .summary {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }


    /* Category */
    .single-product .adpc-product-category {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
    }


    /* Product title */
    .single-product div.product .summary .product_title,
    .single-product div.product .product_title,
    .single-product .summary h1.product_title {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px !important;
        font-size: 28px !important;
        line-height: 1.25 !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }


    /* Main price */
    .single-product .summary > .price {
        margin-bottom: 16px !important;
        font-size: 22px !important;
        line-height: 1.4 !important;
    }


    /* Short description */
    .single-product
    .woocommerce-product-details__short-description {
        margin-bottom: 20px !important;
        font-size: 15px !important;
        line-height: 1.65 !important;
    }


    /* -------------------------------------------------
       VARIATION / ATTRIBUTE SECTION
    ------------------------------------------------- */

    .single-product form.variations_form {
        width: 100% !important;
        margin-top: 15px !important;
    }

    .single-product table.variations {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .single-product table.variations tr,
    .single-product table.variations th,
    .single-product table.variations td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .single-product table.variations .label {
        padding: 0 0 7px !important;
    }

    .single-product table.variations .label label {
        display: block !important;
        font-size: 13px !important;
        letter-spacing: .8px !important;
    }

    .single-product table.variations select {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 46px !important;
        box-sizing: border-box !important;
    }


    /* Selected variation price */
    .single-product .woocommerce-variation-price {
        margin: 12px 0 8px !important;
    }

    .single-product
    .woocommerce-variation-price
    .price {
        font-size: 22px !important;
        line-height: 1.4 !important;
    }


    /* -------------------------------------------------
       ORDER NOW BUTTON
    ------------------------------------------------- */

    .adpc-order-section {
        width: 100% !important;
        margin: 20px 0 22px !important;
    }

    .adpc-order-now-button {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 52px !important;
        padding: 13px 18px !important;
        box-sizing: border-box !important;
        font-size: 15px !important;
        letter-spacing: 1.3px !important;
    }


    /* Product meta */
    .single-product .product_meta {
        margin-top: 15px !important;
        padding-top: 15px !important;
        font-size: 13px !important;
        line-height: 1.7 !important;
    }

    .single-product .product_meta > span {
        display: block !important;
        margin: 0 0 5px !important;
    }


    /* =================================================
       PRODUCT TABS
    ================================================= */

    .single-product .woocommerce-tabs {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 35px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }


    /* Tab navigation */
    .single-product .woocommerce-tabs ul.tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        margin: 0 0 20px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }


    /* Individual tabs */
    .single-product .woocommerce-tabs ul.tabs li {
        flex: 1 1 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }


    .single-product .woocommerce-tabs ul.tabs li a {
        display: block !important;
        width: 100% !important;
        padding: 13px 15px !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
    }


    /* Tab content */
    .single-product .woocommerce-tabs .panel {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
    }


    .single-product .woocommerce-tabs .panel h2 {
        font-size: 22px !important;
        line-height: 1.35 !important;
        margin-bottom: 15px !important;
    }


    .single-product .woocommerce-tabs .panel p,
    .single-product .woocommerce-tabs .panel li {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }


    /* Images/content inside tabs */
    .single-product .woocommerce-tabs .panel img {
        max-width: 100% !important;
        height: auto !important;
    }


    /* Tables inside product information */
    .single-product .woocommerce-tabs .panel table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }


    /* =================================================
       RELATED PRODUCTS
    ================================================= */

    .single-product .adpc-related-products {
        width: 100% !important;
        margin-top: 35px !important;
    }

    .single-product .adpc-related-products h2 {
        margin-bottom: 20px !important;
        font-size: 24px !important;
        line-height: 1.3 !important;
    }


    /* =================================================
       ORDER POPUP
    ================================================= */

    .adpc-popup-overlay {
        position: fixed !important;
        inset: 0 !important;

        align-items: center !important;
        justify-content: center !important;

        width: 100vw !important;
        height: 100vh !important;

        padding: 15px !important;
        box-sizing: border-box !important;

        overflow: hidden !important;
    }


    .adpc-popup {
        position: relative !important;

        width: 100% !important;
        max-width: 100% !important;

        max-height: calc(100vh - 30px) !important;

        margin: 0 !important;

        padding: 38px 20px 22px !important;

        box-sizing: border-box !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        border-radius: 8px !important;
    }


    /* Popup close button */
    .adpc-popup-close {
        top: 8px !important;
        right: 9px !important;

        width: 38px !important;
        height: 38px !important;

        font-size: 28px !important;
        line-height: 38px !important;
    }


    /* Popup heading */
    .adpc-popup-small-title {
        margin-bottom: 5px !important;
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
    }

    .adpc-popup h3 {
        margin-bottom: 18px !important;
        padding-right: 25px !important;

        font-size: 23px !important;
        line-height: 1.3 !important;
    }


    /* Popup product card */
    .adpc-popup-product-card {
        width: 100% !important;
        margin-bottom: 18px !important;
        box-sizing: border-box !important;
    }


    /* Popup rows */
    .adpc-popup-row {
        display: flex !important;
        flex-direction: column !important;

        gap: 4px !important;

        width: 100% !important;
        padding: 11px 0 !important;

        box-sizing: border-box !important;
    }


    .adpc-popup-label {
        flex: none !important;
        width: 100% !important;

        font-size: 13px !important;
    }


    .adpc-popup-row strong {
        width: 100% !important;

        text-align: left !important;

        font-size: 14px !important;
        line-height: 1.5 !important;

        overflow-wrap: anywhere !important;
    }


    .adpc-popup-price {
        font-size: 17px !important;
    }


    /* Instructions */
    .adpc-popup-instructions {
        margin-bottom: 18px !important;
        font-size: 14px !important;
        line-height: 1.65 !important;
    }


    /* Contact */
    .adpc-popup-contact {
        margin: 17px 0 !important;
    }

    .adpc-popup-contact > div {
        margin: 8px 0 !important;
        line-height: 1.6 !important;
        overflow-wrap: anywhere !important;
    }

    .adpc-popup-contact span {
        display: block !important;
        min-width: 0 !important;
        margin-bottom: 2px !important;
    }


    /* Popup buttons */
    .adpc-popup-actions {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        gap: 10px !important;

        margin-top: 20px !important;
    }


    .adpc-popup-actions .button {
        display: block !important;

        width: 100% !important;
        flex: none !important;

        box-sizing: border-box !important;

        padding: 12px 16px !important;
        text-align: center !important;
    }

}


/* =====================================================
   VERY SMALL MOBILE - 375px
===================================================== */

@media (max-width: 380px) {

    .single-product div.product {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .single-product div.product .summary .product_title,
    .single-product div.product .product_title,
    .single-product .summary h1.product_title {
        font-size: 26px !important;
    }

    .adpc-popup-overlay {
        padding: 10px !important;
    }

    .adpc-popup {
        max-height: calc(100vh - 20px) !important;
        padding: 35px 17px 18px !important;
    }

    .adpc-popup h3 {
        font-size: 21px !important;
    }

}
@media (max-width: 767px) {
    .single-product .product_title {
        font-size: 29px !important;
    }
}
