/**
 * WYI Inspire Wellness - Frontend Styles
 * Styled to match the pricing page design
 */

/* Main Wrapper */
.wyi-iw-shop-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

/* Product Groups */
.wyi-iw-product-groups {
    margin-bottom: 60px;
}

.wyi-iw-product-group {
    margin-bottom: 50px;
}

.wyi-iw-group-title {
    font-family: Roboto;
    font-size: 32px;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.wyi-iw-group-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #2db474;
    margin: 20px auto 0;
}

.wyi-iw-group-description {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    text-align: center;
    margin: 15px auto 30px;
    max-width: 800px;
}

/* Products List */
.wyi-iw-products-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.wyi-iw-product-item {
    background-color: #fff;
    border:1px solid #fff;
    padding: 5px 30px;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.wyi-iw-product-item:hover {
    border: 1px solid #00000021;
    box-shadow: 1px 1px 10px #00000026;
}

.wyi-iw-product-content {
    display: flex;
    justify-content: space-between;
    align-items: top;
    margin-bottom: 5px;
    gap: 20px;
}

.wyi-iw-product-info {
    flex: 1;
}

.wyi-iw-product-name {
    font-family: Roboto;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wyi-iw-product-link {    color: #333;    text-decoration: none;    transition: color 0.3s ease;}.wyi-iw-product-link:hover {    color: #c9a677;}

.wyi-iw-product-short-description {
    font-size: 14px;
    color: #777;
    margin: 5px 0 0 0;
    line-height: 1.5;
    font-style: italic;
}

.wyi-iw-product-desc {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.6;
}

.wyi-iw-product-price {
    min-width: 180px;
    text-align: right;
}

.wyi-iw-price-amount {
    font-family: Roboto;
    font-size: 17px;
    color: #2db474;
    font-weight: 400;
}

/* Product Actions */
.wyi-iw-product-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.wyi-iw-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    font-family: 'Open Sans', sans-serif;
}

.wyi-iw-btn-details {
    background-color: transparent;
    color: #333;
    border: 2px solid #e5e5e5;
}

.wyi-iw-btn-details:hover {
    background-color: #f5f5f5;
    border-color: #d5d5d5;
    color: #333;
}

.wyi-iw-btn-reserve {
    background-color: #2db474;
    color: #fff;
    border: 2px solid #2db474;
}

.wyi-iw-btn-reserve:hover {
    background-color: #197f4f;
    border-color: #197f4f;
}

.wyi-iw-btn-reserve:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Terms and Conditions Section */
.wyi-iw-terms-section {
    margin: 60px 0;
    padding: 40px;
    background-color: #f9f9f9;
    border-left: 4px solid #2db474;
}

.wyi-iw-terms-content {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.wyi-iw-terms-content h3,
.wyi-iw-terms-content h4 {
    font-family: Roboto;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.wyi-iw-terms-content p {
    margin-bottom: 15px;
}

.wyi-iw-terms-content ul,
.wyi-iw-terms-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.wyi-iw-terms-content li {
    margin-bottom: 10px;
}

.wyi-iw-terms-content strong {
    color: #333;
}

/* Q&A Section */
.wyi-iw-qa-section {
    margin: 60px 0;
}

.wyi-iw-qa-title {
    font-family: Roboto;
    font-size: 32px;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.wyi-iw-qa-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #2db474;
    margin: 20px auto 0;
}

.wyi-iw-qa-list {
    max-width: 900px;
    margin: 0 auto;
}

.wyi-iw-qa-item {
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    background-color: #fff;
}

.wyi-iw-qa-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wyi-iw-qa-question:hover {
    background-color: #fafafa;
}

.wyi-iw-qa-question h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.wyi-iw-qa-toggle {
    font-size: 24px;
    color: #2db474;
    font-weight: 300;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.wyi-iw-qa-item.active .wyi-iw-qa-toggle {
    transform: rotate(45deg);
}

.wyi-iw-qa-answer {
    display: none;
    padding: 0 25px 20px;
    border-top: 1px solid #f5f5f5;
}

.wyi-iw-qa-item.active .wyi-iw-qa-answer {
    display: block;
}

.wyi-iw-qa-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 15px 0 0;
}

/* No Products Message */
.wyi-iw-no-products {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.wyi-iw-no-products p {
    font-size: 16px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wyi-iw-product-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .wyi-iw-product-price {
        text-align: left;
        margin: 10px 0;
        min-width: 100%;
    }

    .wyi-iw-product-actions {
        flex-direction: column;
        width: 100%;
    }

    .wyi-iw-btn {
        width: 100%;
        text-align: center;
    }

    .wyi-iw-group-title,
    .wyi-iw-qa-title {
        font-size: 20px;
    }

    .wyi-iw-terms-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .wyi-iw-product-item {
        padding: 20px 15px;
    }

    .wyi-iw-product-name {
        font-size: 14px;
    }

    .wyi-iw-price-amount {
        font-size: 15px;
    }

    .wyi-iw-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Loading State */
.wyi-iw-btn-reserve.loading {
    position: relative;
    color: transparent;
}

.wyi-iw-btn-reserve.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: wyi-iw-spin 0.6s linear infinite;
}

@keyframes wyi-iw-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.wyi-iw-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #2db474;
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: wyi-iw-slideIn 0.3s ease;
}

@keyframes wyi-iw-slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Product Description Expandable */
.wyi-iw-product-description-wrapper {
    margin-top: 10px;
}

.wyi-iw-product-description-content {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wyi-iw-product-description-content.collapsed {
    max-height: 0px;
    position: relative;
}

.wyi-iw-product-description-content.collapsed:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.wyi-iw-product-description-content.expanded {
    max-height: 1000px;
}

.wyi-iw-description-toggle-btn {
    background: transparent;
    color: #2db474;
    border: none;
    padding: 5px 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.wyi-iw-description-toggle-btn:hover {
    color: #0d7c47;
}

.wyi-iw-product-description-content p {
    margin-bottom: 10px;
}

.wyi-iw-product-description-content strong {
    font-weight: 600;
    color: #333;
}

.wyi-iw-product-description-content ul,
.wyi-iw-product-description-content ol {
    margin: 10px 0;
    padding-left: 20px;
}

.wyi-iw-product-description-content li {
    margin-bottom: 5px;
}
use
    /* Product Name Link */
.wyi-iw-product-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wyi-iw-product-link:hover {
    color: #c9a677;
}

/* Group Description HTML Formatting */
.wyi-iw-group-description p {
    margin-bottom: 15px;
}

.wyi-iw-group-description p:last-child {
    margin-bottom: 0;
}

.wyi-iw-group-description strong,
.wyi-iw-group-description b {
    font-weight: 600;
    color: #333;
}

.wyi-iw-group-description em,
.wyi-iw-group-description i {
    font-style: italic;
}

.wyi-iw-group-description ul,
.wyi-iw-group-description ol {
    margin: 15px auto;
    padding-left: 20px;
    max-width: 800px;
    text-align: left;
}

.wyi-iw-group-description li {
    margin-bottom: 8px;
}

.wyi-iw-group-description a {
    color: #2cb473;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 800;
}

.wyi-iw-group-description a:hover {
    color: #0d894e;
}

.wyi-iw-group-description h4,
.wyi-iw-group-description h5,
.wyi-iw-group-description h6 {
    font-family: Roboto;
    color: #333;
    margin: 20px 0 10px;
}

.wyi-iw-group-description br {
    line-height: 1.8;
}
