body {
    margin: 0;
    padding: 0;
}
a.action-button {
    cursor: pointer;
}
.header-container {
    background-color: #333;
    color: #fff;
    height: 57px;
}
.header-inner {
    max-width: 1200px;
    position: relative;
    margin: auto;
}
.header-title {
    display: block;
    text-align: center;
    margin: auto;
    height: 57px;
    line-height: 57px;
    font-size: 1.5em;
    max-width: 100%;
    font-weight: 700;
}



.header-side {
    position: absolute;
    top:10px;
    bottom: 10px;
    width: 37px;
}
.header-left {
    left: 10px;
}
.header-right {
    right: 0;
}


.hero-message-container {
    background-color: #f2e0d0;
}

.hero-message {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust column width */
    grid-gap: 20px; /* Adjust gap between grid items */
    padding: 20px; /* Add padding to the container */
}

.hero-message > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.hero-message .logo {
    height: 60px; 
    max-width: none; 
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.hero-message strong {
    font-weight: bold;
}

.hero-message p {
    margin-top: 10px; /* Adjust margin between elements */
}

.hero-message img {
    max-width: 100%; /* Ensure image doesn't exceed container width */
    height: auto; /* Maintain aspect ratio */
}

@media screen and (max-width: 600px) { /* Adjust for mobile screens */
    .hero-message {
        grid-template-columns: 1fr; /* Display one column for smaller screens */
    }
}


.subscription-reminder {
    text-align: left;
    font-weight: 700;
    font-size: 1.2em;
    line-height: 168.1%;
    max-width: 600px;
    margin: 30px auto;
}





.subscriptions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 320px)); /* Adjust column width */
    gap: 20px; /* Adjust gap between cards */
    justify-content: center; /* Align cards to the center */
    margin-bottom: 60px;
}

.subscriptions-container:has(> :only-child) {
    grid-template-columns: repeat(auto-fit, minmax(250px, 600px)); /* Adjust column width */
}

.subscription-container {
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9; /* Add background color */
    border-radius: 8px; /* Add border radius for card appearance */
    padding: 20px; /* Add padding inside the card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
}

.original-price-container {
    color: #505050;
    display: block;
    text-align: center;
    margin-bottom: 20px;   
}

.original-price-container div {
    text-align: center;
}

.original-price-container:last-child{
    margin-bottom: 0;
}


.subscription-title {
    margin-top: 0; /* Remove default margin */
    margin-bottom: 10px;
}

.subscription-subtitle {
    margin-top: 0;
    margin-bottom: 0;
}

.subscription-benefits {
    padding-left: 20px; /* Indent benefits list */
    flex-grow: 1; /* Expand benefits list to fill remaining space */
}



.subscription-benefits li {
    line-height: 168.1%;
    list-style-type: disc;
    padding-bottom: 5px;
}


.subscription-note {
    color: #4d4845;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.subscription-status {
    font-weight: bold;
}
.subscription-button {
    margin-top: auto; /* Align button to the bottom */
}
.subscription-button.is-active {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='13' viewBox='0 0 14 13'%3E%3Cstyle%3E*{fill:%23fff!important}%3C/style%3E%3Cpath d='M5.273 10.08L2.1 7.7l-.8-.6L.1 8.7l.8.6 3.226 2.42-.02.026.807.564.787.59.02-.026.026.02.564-.807.59-.787-.026-.02 6.445-9.207.572-.82-1.64-1.146-.572.82-6.407 9.153z' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: 15px 50%;
}
.subscription-button.is-disabled {
    cursor: default;
}

.button-subscribe.disabled {
    background-color: grey;
}

/* Modal container */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.on {
    display: block;
}

/* Modal content */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}

.modal-content h2, .modal-content div, .modal-content p {
    margin: auto auto 30px auto;
    text-align: center;
}

.qr-code-image img{
    width: 150px;
    height: 150px;
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* Initially hide the tip */
.wechat-tip {
    display: none;
    position: fixed;
    background-color: white; /* Light background color to make the tip stand out */
    padding: 10px;
    border: 1px solid #505050; /* Gold border for visibility */
    color: #333;
    font-size: 24px;
    text-align: center;
    z-index: 1000;
    top: 18px;
    left: 10px;
    right: 10px;
}

/* Show the tip when the "on" class is added */
.wechat-tip.on {
    display: block;
}

/* Style the text inside the tip */
.wechat-tip-text {
    margin: 0;
    padding: 10px;
}

/* Create the triangle pointing to the top right corner with a black outline */
.wechat-tip::before {
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent; 
    border-bottom: 15px solid black;
    content: '';
    right: 10px;
    top: -15px;
    position: absolute;
}

.wechat-tip::after {
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent; 
    border-bottom: 15px solid white;
    content: '';
    right: 10px;
    top: -14px;
    position: absolute;
}

