/*
################
Main CSS Code
################
*/


/*
################
Astra Theme
################
*/
/* Drop shadow for the main header */
#ast-fixed-header .main-header-bar {
	box-shadow: 0 1px 2px rgba(130, 36, 227,.2) !important;
}

/* Blog Meta and Category align to bottom of post */
div.post-content.ast-grid-common-col h2.entry-title.ast-blog-single-element {
	height: 145px;
 }
 div.post-content.ast-grid-common-col .ast-blog-single-element.ast-blog-meta-container,
 div.post-content.ast-grid-common-col .ast-blog-single-element.ast-taxonomy-container {
	 margin-bottom: 0px;
 }

/**
 * Stick Footer to Bottom when Page Content is less than window height
 * @link https://wpastra.com/docs/how-to-stick-footer-to-bottom-when-page-content-is-less/
 */
 #page {
	display: flex;
	flex-direction: column;
	 min-height: 100vh;
 }
 .admin-bar #page{
	 min-height: calc(100vh - 32px);
 }
 #page .site-content{
	flex-grow: 1;
 }
/* END Stick Footer to Bottom */

/* Remove the default Astra WooCommerce account page content margin */
.ast-modern-woo-account-page .entry-content {
    margin-top: unset;
}

/*
################
Twenty20 Image Before-After Plugin
################
*/
.twentytwenty-horizontal .twentytwenty-handle {
	top: 30% !important;
}
.twentytwenty-horizontal .twentytwenty-before-label,
.twentytwenty-horizontal .twentytwenty-after-label {
	bottom: unset;
	top: 0 !important;
}

/*
################
Gravity Forms
################
*/
.gfield.gfield--type-section h3.gsection_title {
	margin-bottom: 0px;
}

.gfield.gfield--type-section .gsection_description {
	padding-top: 0px;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

/*
################
WooCommerce Pages
################
*/
body.woocommerce-page {
	background-color: #ffffff;
}

/* WooCommerce My Account Dashboard */
/* Hide default WooCommerce address display */
body.woocommerce-account .woocommerce-MyAccount-content .u-columns,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set,
body.woocommerce-account .woocommerce-MyAccount-content .addresses {
    display: none;
}

/* Dashboard card styling */
body.woocommerce-account .dashboard-card {
    background-color: #fff;
    border-radius: 5px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    border: solid 1px rgba(130, 36, 227, .5);
    padding: 30px;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

body.woocommerce-account .dashboard-card h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
}

body.woocommerce-account .account-info,
body.woocommerce-account .address-info {
    margin-bottom: 25px;
}

body.woocommerce-account .account-info p,
body.woocommerce-account .address-info p {
    margin-bottom: 5px;
    line-height: 1.5;
}

body.woocommerce-account .account-actions,
body.woocommerce-account .address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

body.woocommerce-account .button.edit-button,
body.woocommerce-account .button.change-password-button,
body.woocommerce-account .button.manage-payment-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    text-align: center;
    min-height: auto;
    height: auto;
    float: none;
    width: auto;
    box-shadow: none;
    line-height: 1.5;
}

body.woocommerce-account .button:hover {
    background-color: #eee;
    color: #333;
    border-color: #ddd;
}

body.woocommerce-account .manage-payment-button {
    width: 100%;
    margin-top: 5px;
    box-sizing: border-box;
}

body.woocommerce-account .loyalty-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #f0f0f0;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

body.woocommerce-account .promo-card h2 {
    margin-top: 30px;
    margin-bottom: 10px;
}

body.woocommerce-account .promo-card p {
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}

body.woocommerce-account .view-pricing {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

body.woocommerce-account .view-pricing:hover {
    text-decoration: underline;
    color: #ff6b6b;
}

/* Support Section - Full Width */
body.woocommerce-account .support-section {
    width: 100%;
    background-color: #0F172A;
    color: white;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 5px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
    border: solid 5px #8224E3;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

body.woocommerce-account .support-section h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #8224E3;
}

body.woocommerce-account .support-info {
    margin-bottom: 25px;
}

body.woocommerce-account .support-info p {
    margin-bottom: 10px;
    line-height: 1.5;
    color: white;
}

body.woocommerce-account .support-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: auto;
}

body.woocommerce-account .support-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    text-align: center;
}

body.woocommerce-account .support-button:hover {
    background-color: #eee;
    color: #333;
    border-color: #ddd;
}

/*
################
Desktop Breakpoint
################
*/
@media ( min-width: 1201px ) {

}

/*
################
Tablet Breakpoint
################
*/
/*@media ( min-width: 545px ) and ( max-width: 921px ) {*/
@media (max-width: 1200px) {

}
@media (max-width: 922px) {

}

/*
################
Mobile Breakpoint
################
*/
@media ( max-width: 544px ) {

}
