.tp-el-content span {
    font-weight: 500;
    color: var(--tp-heading-primary);
}

div.tp-sticky-image {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
}

.tp-event-4-item .tp-event-inner-user img+img,
.tp-event-inner-content .tp-event-inner-user img+img {
    margin-left: -15px;
}

.etn-event-organizers .etn-social a {
    background: transparent;
    font-size: 15px;
    color: #5b5d63;
    width: 0;
    height: 0;
    margin: 0 15px;
    border: none;
}

.etn-event-organizers .etn-social a:hover {
    border: none;
}

.etn-event-search-wrapper .input-group {
    height: 60%;
}

.tp-event-details-breadcrumb-content .alert.alert-danger {
    display: inline-block;
}

.tp-header-user-profile-thumb {
    flex: 0 0 40px;
}


.elementor-button--view-cart,
.elementor-button--checkout,
.buttontp-btn,
.checkout-button,
.tp-cart-update-btn{
    background: #7653A3 !important;
    text-decoration: none !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 19px !important;
    background: #7653A3 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    border: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.elementor-button--view-cart:hover,
.elementor-button--checkout:hover,
.buttontp-btn:hover,
.checkout-button:hover,
.tp-cart-update-btn:hover{
    background: #4A2159 !important;
    color: #FFFFFF !important;
    
}


.tp-cart-list thead {
    background-color: #F1EDF6 !important;
}
.tp-cart-list thead th {
    color: var(--e-global-color-primary) !important;
}

.elementor-menu-cart__product-name.product-name{
    color: var(--e-global-color-ac5a7ea) !important;
    font-size: 20px !important;
    text-decoration: none !important;
}
.elementor-menu-cart__product-name.product-name:hover{
  text-decoration: underline !important;
}
.elementor-menu-cart__product-name.product-name .class-details {
    font-weight: 400 !important;
    font-size: 15px !important;
    color: var(--tp-common-black) !important;
    color: #73757b !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
    font-style: normal !important;
}

.elementor-menu-cart__product-price.product-price {
    font-weight: 400 !important ;
    font-size: 15px !important;
    color: var(--tp-common-black) !important;
    color: #73757b !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
}



.elementor-menu-cart__product-remove {
    bottom:unset !important;
    top:6px !important;
}

.elementor-menu-cart__close-button:after, .elementor-menu-cart__close-button:before {
    background: #e94f4f !important;
}

.elementor-menu-cart__close-button {
    display: none !important;
}


.elementor-menu-cart__subtotal,
.elementor-menu-cart__subtotal .woocommerce-Price-amount.amount {
    color: var(--e-global-color-text) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    line-height: 24px !important;
    margin-bottom: 20px !important;

}

.elementor-menu-cart__subtotal {
    padding:1rem 0 !important;
}

.tp-shop-details-quantity .tp-cart-input[type=number] {
    text-align: center !important;
    padding: 0 30px !important;
    height: 46px !important;
    line-height: 46px !important;
    background-color: #F3F5F6 !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    width: 122px !important;
    color: #000 !important;
    background: #F3F5F6 !important;
}

.tp-shop-details-quantity .tp-cart-plus:hover, .tp-shop-details-quantity .tp-cart-minus:hover{
  background-color: var(--e-global-color-ac5a7ea) !important;
  color: #fff !important;
}
.cart_totals h2 {
    color: var(--e-global-color-ac5a7ea) !important;
    font-size: 18px !important;
}
.woocommerce-cart-form__cart-item .product-name a {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: var(--e-global-color-ac5a7ea)  !important;
}
.woocommerce-cart-form__cart-item .product-name:hover {
    text-decoration: none !important;
}

.tp-cart-coupon-input input {
    height: 38px !important;
}

.tp-acadia-woo-cart table .woocommerce-cart-form__cart-item .qty_button.plus.tp-cart-plus {
    right:20px !important;
}

.cart_totals .order-total {
    padding: 12px 12px !important;
    font-size: 15px !important;
    border-color: #ddd !important;
    text-align: center !important;
    font-weight: 500 !important;
}

.woocommerce-cart-form__cart-item .class-details {
    font-weight: 400 !important;
    font-size: 15px !important;
    color: var(--tp-common-black) !important;
    color: #73757b !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
    font-style: normal !important;
}

/* Global Font Override for Elementor */
:root {
    --e-global-typography-primary-font-family: "museo-sans-rounded" !important;
    --e-global-typography-secondary-font-family: "museo-sans-rounded" !important;
    --e-global-typography-text-font-family: "museo-sans-rounded" !important;
    --e-global-typography-accent-font-family: "museo-sans-rounded" !important;
}

body,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-button .elementor-button,
.elementor-widget-image-box .elementor-image-box-content .elementor-image-box-title,
.elementor-widget-image-box .elementor-image-box-content .elementor-image-box-description,
.elementor-widget-icon-box .elementor-icon-box-content .elementor-icon-box-title,
.elementor-widget-icon-box .elementor-icon-box-content .elementor-icon-box-description,
.elementor-widget-navigation-menu .elementor-nav-menu .elementor-item,
.elementor-widget-navigation-menu .elementor-nav-menu--dropdown .elementor-item,
.elementor-widget-navigation-menu .elementor-nav-menu--dropdown .elementor-sub-item,
.elementor *:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular),
.elementor-widget-container *:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular),
.elementor-widget-container,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
.elementor-widget-container, 
.tutor-wrap p,
.tutor-wrap .tp-course-title,
.tutor-wrap .tp-grid-widget-title,
.tp-breadcrumb__title,
.woocommerce .woocommerce-warning, 
.woocommerce .woocommerce-info {
        font-family: "museo-sans-rounded", sans-serif !important;
}

/* Font Weight Classes */
.font-weight-300 {
    font-weight: 300 !important;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.font-weight-700 {
    font-weight: 700 !important;
}

/* Font Style Classes */
.font-style-normal {
    font-style: normal !important;
}

.font-style-italic {
    font-style: italic !important;
}

/* Contact Form 7 Select Styling */
.wpcf7-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}



.woocommerce-account a {
    text-decoration: none !important;
}



.showcoupon,
.woocommerce-privacy-policy-link {
    color:#4b2159 !important;
    text-decoration: none !important;
}

.showcoupon:hover,
.woocommerce-privacy-policy-link:hover {
    color: #bf96d3 !important;
    text-decoration: none !important;
}

abbr[title] {
    text-decoration: none !important;
}


.profile__tab .nav-tabs .nav-link:hover,
.tp-page-post .woocommerce .profile__tab ul li.is-active
 {
    background-color:#4b2159 !important;
}
.profile__tab .nav-tabs .nav-link:hover a,
.tp-page-post .woocommerce .profile__tab ul li.is-active a {
    color: #fff !important;
}


.woocommerce-account .tp-logout-btn,
.woocommerce-account .tp-btn-cart,
.woocommerce-account .edit,
.woocommerce-account .woocommerce-button,
.woocommerce-checkout .tp-btn-cart {
    background-color:#73529f !important;
    border-color: #73529f !important;
    color: #fff !important;
    border-radius: 6px;
    padding:14px 25px 14px 25px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    line-height: 19px;
}

.woocommerce-account .tp-logout-btn:hover,
.woocommerce-account .tp-btn-cart:hover,
.woocommerce-account .edit:hover,
.woocommerce-account .woocommerce-button:hover,
.woocommerce-checkout .tp-btn-cart:hover {
    background-color: #4a2057 !important;
}


.woocommerce-checkout .tp-page-area .order-review-wrapper .payment_methods.methods .tp-woo-payment-item > label::before {
    background-color: #4a2057 !important;
}
.woocommerce-checkout .tp-page-area .order-review-wrapper .payment_methods.methods .tp-woo-payment-item > input:checked ~ label::after {
    border-color: #4a2057 !important;
}


.tp-order-info-list ul li.tp-order-info-list-subtotal span:last-child,
.tp-order-info-list-subtotal .woocommerce-Price-currencySymbol {
    color: #000 !important;
}

/* Mini Cart Positioning and Close Button */
.admin-bar .elementor-menu-cart__main {
    top: 32px !important; /* Account for admin bar */
    height: calc(100vh) !important;
}

.elementor-menu-cart__close-button {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 20px;
    width: auto !important;
    height: auto !important;
}

.elementor-menu-cart__close-button:after,
.elementor-menu-cart__close-button:before {
    display: none !important;
}

.elementor-menu-cart__close-button:after {
    display: block !important;
    background: url('https://thehonestmidwife.co.uk/app/uploads/2025/02/Screenshot-2025-02-27-at-15.37.35.png') no-repeat center center !important;
    position: static !important;
    background: none !important;
    color: #e94f4f !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transform: none !important;
}

.elementor-menu-cart__close-button:hover:after {
    color: #c41230 !important;
}

.elementor-menu-cart__product-name.product-name a {
    text-decoration: none !important;
}
.elementor-menu-cart__product-name.product-name a:hover {
    text-decoration: none !important;
}
.widget_shopping_cart_content {
    margin-top:2rem;
}

.elementor-menu-cart__subtotal {
    margin-bottom: 0 !important;
}

/* Document Grid Styling */
.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.document-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.document-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.document-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.document-title i {
    color: #e94f4f;
    margin-right: 10px;
}

.document-actions {
    margin-top: 15px;
}

.download-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 20px;
    background-color: #4a2057 !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-button:hover {
    background-color: #371740 !important;
    transform: translateY(-1px);
}

.download-button i {
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .document-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .document-item {
        padding: 15px;
    }
    
    .document-title {
        font-size: 14px;
    }
}

.tp-login-input-box .tp-login-input-label label {
    display: none;
}