/*
Theme Name: Aum Castlemedspa
Theme URI: https://aumcreate.com
Author: AumCreate
Author URI: https://aumcreate.com
Description: A child theme of AumCreate, customized for the Castlemedspa project.
Version: 1.0.0
Template: aumcreate
Text Domain: aum-castlemedspa
*/



.hero-title {
    position: relative;
    display: inline-block;
    margin: 0;
    line-height: 1.2;
}

.hero-title .underline {
    display: inline-block;
    animation: blink 1s step-end infinite;
    position: relative;
    bottom: 0.25em;
}

@keyframes blink {

    from,
    to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.cart_totals .shop_table tr.shipping,
.cart_totals .shop_table tr.cart-subtotal {
    display: none;
}


/* ======== Plugins Start ======== */

.woocommerce-MyAccount-membership {
    margin: 0 0 2em;
}

.woocommerce-table--membership {
    width: 100%;
    margin-bottom: 1.5em;
    border: 1px solid #e5e5e5;
    border-collapse: collapse;
}

.woocommerce-table--membership th,
.woocommerce-table--membership td {
    padding: 0.75em;
    border: 1px solid #e5e5e5;
    text-align: left;
}

.woocommerce-table--membership th {
    width: 30%;
    font-weight: 600;
}

.membership-renew {
    margin-top: 1.5em;
}

.membership-levels-list {
    list-style: none;
    padding-left: 0;
}

.membership-levels-list li {
    padding: 0.5em 0;
    border-bottom: 1px solid #eee;
}

.membership-levels-list li:last-child {
    border-bottom: none;
}

.membership-levels-list .button {
    margin-left: 1em;
}


/* 待预约项目列表 */
.beauty_service-top {
    background-color: #fff3f2;
}

.beauty_service-top .info-modules {
    margin-top: 30px;
}

.beauty_service-top .info-module {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    border-radius: 12px;
}

.beauty_service-top .module-image {
    flex: 0 0 80px;
    margin-right: 20px;
}

.beauty_service-top .module-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.beauty_service-top .module-content h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 18px;
    font-weight: 300;
}

.beauty_service-top .module-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 12px;
}

.beauty_service-top-left {
    padding: 40px 0;
}

.beauty_service-top-left h1 {
    color: #000;
    font-size: 30px;
    font-weight: 300;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .beauty_service-top .info-module {
        flex-direction: column;
        text-align: center;
    }

    .beauty_service-top .module-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
}


.beauty_service-top .aum-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.booking-cart-container {
    margin: 40px 0;
}

.beauty_service-top-right {
    width: 50%;
    height: 100%;
}

.beauty-services-container {
    margin: 40px 0;
}

.service-thumbnail-wrapper {
    width: 100%;
    height: 200px;
    position: relative;
}

.service-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-meta {
    position: absolute;
    right: 10px;
    top: 10px;
}

.membership-restriction-badge {
    margin: 10px 0;
}

.membership-restriction-badge .badge-text {
    display: inline-block;
    padding: 3px 6px;
    font-size: 12px;
    background: #e1b9b7;
    color: white;
    border-radius: 4px;
}

.membership-restriction-badge .badge-icon {
    display: block;
    margin-bottom: 5px;
}

.membership-restriction-badge .badge-icon .aumicon {
    font-size: 20px;
    margin-right: 5px;
}

.service-meta .duration {
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    padding: 4px 12px;
    background-color: #e1b9b7;
}

.item-meta span {
    display: inline-block;
    margin-right: 15px;
    color: #666;
    font-size: 14px;
}

/* 加载动画 */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    animation: rotate 2s linear infinite;
}

.spinner circle {
    stroke: #db8c87;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* 错误提示 */
.error-message {
    text-align: center;
    padding: 30px;
    color: #e74c3c;
}

.error-message svg {
    margin-bottom: 15px;
}

.retry-button {
    margin-top: 15px;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* 待预约列表样式 */
.wishlist-items {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eee;
}

.wishlist-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.wishlist-item:hover {
    background-color: #f9f9f9;
}

.service-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.item-details {
    flex: 1;
}

.service-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.item-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #777;
}

.remove-item {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.remove-item:hover {
    color: #e74c3c;
}

.wishlist-actions {
    text-align: right;
    padding: 10px 15px;
}

#clear-all {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
}

#clear-all:hover {
    color: #e74c3c;
}


/* 预约表单 */
.booking-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.submit-booking {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.submit-booking:hover {
    background: #45a049;
}

/* 空状态 */
.empty-cart-message {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 18px;
}

/* 登录提示 */
.booking-login-required {
    max-width: 400px;
    margin: 50px auto;
    text-align: center;
}

.booking-login-required p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* 会员信息样式 */
.aum-user-dropdown-menu .membership-info-header {
    font-weight: bold;
    color: var(--primary);
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
    pointer-events: none;
}

.aum-user-dropdown-menu .membership-info-sub {
    color: #666;
    font-size: 0.9em;
    padding: 5px 20px;
    pointer-events: none;
}

.aum-user-dropdown-menu .menu-item-separator {
    display: block;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 8px 0;
    padding: 0 !important;
    pointer-events: none;
}

.woocommerce-MyAccount-navigation-link--dashboard,
.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation-link--edit-address {
    display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    height: fit-content;
}

/* ======== Plugins End ======== */



/* ======== Elementor Widget Start ======== */

.aum-button-color>a:hover span {
    color: #fff !important;
}


.novuskin-contact-form .form-row p br {
    display: none !important;
}
/* ======== Elementor Widget End ======== */