/*
 Theme Name:   Barberry Child
 Theme URI:    https://loveamethystrose.com
 Description:  Child theme for Barberry — transition theme for Love Amethyst Rose
 Author:       Love Amethyst Rose
 Template:     barberry
 Version:      1.1.0
 Text Domain:  barberry-child
*/


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

.site-content.woocommerce-sidebar-active ul.products.columns-4 > .product {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
}

ul.products li.product .product-inner .product-details .product-title {
    max-width: 100%;
}

ul.products li.product .product-inner .product-details .price {
    display: flex;
}

ul.products li.product .product-inner .product-details {
    display: block;
}

/* Uniform product image heights */
.product-image {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}

.product-image a.loop-thumbnail,
.product-image a.loop-thumbnail.product-thumbnail-single {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.product-image a.loop-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.product-image .footer-section {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 2;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

.product-image:hover .footer-section {
    opacity: 1 !important;
}


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

.quantity {
    margin-bottom: 20px;
}

.afterpay-paragraph {
    margin-top: -13px !important;
}

.select2-container--default .select2-selection--single {
    height: 50px;
}


/* ==========================================================================
   Labels & Form Fields
   ========================================================================== */

.label.abovefield {
    display: inline-block;
    padding: 0.33333rem 0.5rem;
    border-radius: 0;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
    cursor: default;
    background: transparent;
    color: #fefefe;
    width: 100%;
}

.label {
    background-color: transparent;
}

.label.abovefield .thwepof-input-field {
    width: 100%;
}


/* ==========================================================================
   Header & Loading
   ========================================================================== */

#bb-container {
    opacity: 1 !important;
}

#header-loader-under-bar,
#nprogress {
    display: none !important;
}



/* ==========================================================================
   Homepage
   ========================================================================== */

.home-main-container {
    margin: 0 auto;
    float: none;
    padding: 20px;
    max-width: 800px;
}

.hp-call-2-action .vc_cta3-content h2 {
    font-size: 1.5em;
}

.hp-call-2-action .vc_cta3-content p {
    font-size: .95em;
}

.hp-call-2-action .vc_cta3-content h2,
.hp-call-2-action .vc_cta3-content p {
    color: #000;
}

.hp-call-2-action .vc_cta3_content-container {
    background-color: rgba(255, 255, 255, .95);
    padding: 20px;
    position: relative;
    left: -20px;
    min-width: 250px;
    bottom: -140px;
    display: table;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, .1);
}

.hp-call-2-action.vc_general.vc_cta3 {
    padding-top: 250px;
    margin-bottom: 100px;
}

.dk-banner-bg .slider-content {
    opacity: 1;
    background-color: rgba(0, 0, 0, .32);
    padding: 10px;
}


/* ==========================================================================
   Content & Blog
   ========================================================================== */

.copy-standard .wp-block-image {
    margin-bottom: 30px;
}

.copy-standard img {
    width: 100%;
}

.copy-standard a {
    color: #b97ebb;
}

.lar-link-list a {
    text-decoration: underline;
}

.lar-heading {
    line-height: 2em;
    margin-bottom: 1em;
}

.lar-story-img {
    max-width: 600px;
    margin: 20px auto !important;
    border-radius: 20px !important;
}

.wp-block-query-pagination {
    padding-top: 20px;
}


/* ==========================================================================
   Affirmation Hero
   ========================================================================== */

.l8-affirmation-hero {
    width: 90vw;
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 15px;
    background-attachment: fixed;
}

.l8-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.l8-affirmation-text {
    font-size: 24px;
    color: white;
    text-align: center;
}


/* ==========================================================================
   Facebook Embed
   ========================================================================== */

.facebook-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.facebook-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


/* ==========================================================================
   3D Canvas
   ========================================================================== */

.image-3d-canvas {
    border: none;
    margin-bottom: 60px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5);
}


/* ==========================================================================
   Paywall
   ========================================================================== */

.wc_ppp_paywall {
    max-width: 650px;
    margin: 0 auto;
}


/* ==========================================================================
   Events Plugin (MEP)
   ========================================================================== */

.mep-default-sidrbar-events-schedule ul.mep_event_date_sch li a {
    width: 100%;
    display: block;
}

div.df-dtl h3 {
    font-size: 1.3rem;
}

div.df-dtl p {
    font-size: 1.1rem;
}

.mep-default-feature-date-location .df-ico {
    margin-top: 14px !important;
}

.mep-default-theme div.mep-default-feature-date,
.mep-default-theme div.mep-default-feature-time,
.mep-default-theme div.mep-default-feature-location {
    padding: 15px !important;
}

div.mep-default-feature-content p,
div.mep-default-feature-content b,
div.mep-default-feature-content ul,
div.mep-default-feature-content ul li {
    font-size: 1.2rem;
}

.mep-events-wrapper.wrapper {
    padding-top: 180px;
}

[data-bg-image]:before {
    display: none;
}

div.mpStyle select.formControl {
    background-image: none !important;
}

div.mpwem_style select.formControl {
    background-position: -20px;
    padding-left: 30px !important;
}


/* ==========================================================================
   Events Registration (MPWEM)
   ========================================================================== */

.lar-event-cta-t {
    margin: 40px;
}

.lar-event-cta-t a {
    width: 100%;
    font-size: 1.3rem;
    text-transform: uppercase !important;
}

@media only screen and (min-width: 10px) {
    .mpwem_style a:not(.mp_wp_editor) {
        color: #fff;
    }
}

.mpwem_registration_area .mpwem_booking_panel .mpwem_form_submit_area button[type=submit] {
    /* overflow: hidden; — commented out intentionally */
}

@media only screen and (min-width: 10px) {
    div.superSlider .sliderPopup {
        z-index: 99999999999;
    }
}

.mpwem_summery {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.mpwem_summery .total {
    width: 100%;
}

.mpwem_summery ._themeButton {
    width: 100%;
}

.mpwem_registration_area .mpwem_booking_panel .mpwem_form_submit_area .total {
    text-align: center;
}


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

@media only screen and (max-width: 750px) {
    .single-product header.site-header .header-inner {
        position: relative !important;
    }

    .product_summary_bottom .quantity {
        margin-bottom: 20px !important;
    }
}


/* ==========================================================================
   WooCommerce Order Pay
   ========================================================================== */

.woocommerce-page.woocommerce-order-pay .page-title.entry-title {
    color: #333 !important;
}
