.toggle {
    margin-top: 2rem;
    color: hsl(234, 14%, 74%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.toggle-btn {
    margin: 0 1rem;
}
.checkbox {
    display: none;
}

.title-centered {
  margin-top: 55px;
  margin-bottom: 0;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  font-size: 30px;
  font-weight: 600;
}

.sub {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 1.6rem;
    width: 3.3rem;
    border-radius: 1.6rem;
    padding: 0.3rem;
    border: 2px solid;
}
.circle {
    background-color: #fff;
    height: 1.4rem;
    width: 1.4rem;
    border-radius: 50%;
}
.checkbox:checked + .sub {
    justify-content: flex-end;
}

.cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 1rem;
}

.card {
    background: #fff;
    color: hsl(233, 13%, 49%);
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    width: 90%;
    max-width: 350px;
    box-shadow: -5px 5px 15px 1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.cards .card.active {
    background: linear-gradient(
        135deg,
        rgb(95 240 255) 0%, 
		rgb(52 102 231) 100%);
    color: #fff;
    z-index: 1;
}
.card-gr {
    background: #fff;
    color: hsl(233, 13%, 49%);
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    width: 90%;
    max-width: 350px;
    box-shadow: -5px 5px 15px 1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.cards .card-gr.active {
    background: linear-gradient(
        135deg,
        #79CDCD 0%,
        #20B2AA 100%
    );
    color: #fff;
    z-index: 1;
}
.card-gr.active .price {
    color: #fff;
}
ul {
    margin: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
ul li {
    list-style-type: none;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.8rem 0;
    text-align: center;
    word-break: break-word;
}
/* 使 .click-checkout (a 标签) 占据 <li> 的完整宽度 */
ul li > .click-checkout {
    display: block; /* 确保a标签是块级元素 */
    width: 100%; /* 占据li的宽度 */
}

ul li.price {
    font-size: 2.5rem;
    color: hsl(232, 13%, 33%);
}
/* 针对 Lifetime 价格的特殊调整，防止1024px屏幕下掉行 */
@media (min-width: 992px) and (max-width: 1024px) {
    #master.price {
        font-size: 2.2rem; /* 缩小字体以避免掉行 */
    }
}


.card.active .price {
    color: #fff;
}

.btn {
    height: 3.6rem;
    /* 移除固定的 width 和 max-width */
    width: 100%; /* 让按钮占据其父元素（a标签）的100%宽度 */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: linear-gradient(
        135deg,
        rgb(95 240 255) 0%, 
		rgb(52 102 231) 100%);
    color: #fff;
    outline: none;
    border: 0;
    font-weight: bold;
}
.active-btn {
    background: #fff;
    color: hsl(200.61deg 66.58% 54.38%)
}
.btn:hover {
    transform: scale(1.05);
    color: #ffffff;
}
.active-btn:hover {
    background: #fff;
    color: hsl(237, 63%, 64%);
    transform: scale(1.05);
}
.btn-gr {
    height: 3.6rem;
    /* 移除固定的 width 和 max-width */
    width: 100%; /* 让按钮占据其父元素（a标签）的100%宽度 */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: linear-gradient(
        135deg,
        #79CDCD 0%,
        #20B2AA 100%
    );
    color: #fff;
    outline: none;
    border: 0;
    font-weight: bold;
}
.active-btn-gr {
    background: #fff;
    color: #00CDCD;
}
.btn-gr:hover {
    transform: scale(1.05);
    color: #ffffff;
}
.active-btn-gr:hover {
    background: #fff;
    color: #00CDCD;
    transform: scale(1.05);
}
.bottom-bar {
    border-bottom: 2px solid hsla(240, 8%, 85%, 0.582);
}
.card.active .bottom-bar {
    border-bottom: 2px solid hsla(240, 8%, 85%, 0.253);
}
.pack {
    font-size: 1.3rem;
}
.discount {
    position: absolute;
    top: -4px;
    right: 10px;
    width: 45px;
    height: 48px;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    background-image: url(/assets/img/icon-tag.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 0 6px 0 0;
}
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    padding: 10px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.payment-methods img {
    max-width: 100%;
    height: auto;
    width: 80px;
    max-height: 52px;
    object-fit: contain;
    flex-shrink: 1;
    flex-grow: 0;
}

@media (max-width: 768px) {
    .payment-methods {
        gap: 10px;
    }
    .payment-methods img {
        width: 60px;
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .payment-methods {
        gap: 8px;
    }
    .payment-methods img {
        width: 45px;
        max-height: 30px;
    }
}
.py05 {
    padding-top: 5px;
    padding-bottom: 5px;
}
.pt05 {
    padding-top: 5px;
}
.notes {
    padding: 20px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.notes p {
    font-size: 18px;
}
.sale_faqs p {
    font-size: 18px !important;
}

/* 媒体查询 - 针对不同屏幕尺寸进行调整 */

/* 小尺寸手机 (例如：宽度小于 375px) */
@media (max-width: 374px) {
    ul {
        margin: 1rem;
    }
    ul li.price {
        font-size: 2rem;
    }
    .btn {
        font-size: 0.9rem;
    }
}

/* 中等尺寸手机 (例如：宽度在 375px 到 767px 之间) */
@media (min-width: 375px) and (max-width: 767px) {
    .card {
        width: 95%;
    }
}

/* 平板电脑 (例如：宽度在 768px 到 991px 之间) - 每行一个卡片 */
@media (min-width: 768px) and (max-width: 991px) {
    .cards {
        justify-content: center;
        padding: 2rem;
    }
    .card {
        width: 90%; /* 确保每行一个 */
        margin: 0 auto 2rem auto; /* 居中并保持间距 */
    }
    .cards .card.active {
        transform: scale(1.05); /* 稍微放大 */
    }
}


/* 桌面及以上 (例如：宽度大于 992px) - 多列布局 */
@media (min-width: 992px) {
    .cards {
        gap: 2rem;
        padding: 3rem;
    }
    .card {
        flex: 1;
        max-width: 30%; /* 限制每张卡片的最大宽度，以显示三列 */
        margin-bottom: 0;
    }
    .cards .card.active {
        transform: scale(1.1);
    }
}

.toggle {
    margin-top: 1rem;
    flex-direction: column;
}

@media (min-width: 768px) {
    .toggle {
        flex-direction: row;
        margin-top: 2rem;
    }
}

.payment-methods {
    padding: 0 10px;
}

.buy-one-wrapper {
        position: relative;
        margin: 20px 0;
    }
    
    .buy-one-container {
        background-color: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .buy-one-content {
        display: flex;
        align-items: center;
        width: 100%;
    }
    
    .buy-one-header {
        width: 80%;
        padding-right: 30px;
        box-sizing: border-box;
    }
    
    .buy-one-title {
        font-size: 30px;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
        margin-top: 0;
    }
    
    .buy-one-subtitle {
        font-size: 18px;
        color: #666;
        line-height: 1.5;
        margin-bottom: 0;
    }
    
    .buy-one-discount {
        position: absolute;
        top: -25px;
        right: -30px;
        background-color: #FF8247;
        color: white;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 20px;
        font-weight: bold;
        z-index: 10;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }
    
    .buy-one-button {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #3CB371;
        color: white !important;
        padding: 12px 25px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s;
        margin-left: 75px;
		margin-top: 30px;
        flex-shrink: 0;
    }
    
    .buy-one-button:hover {
        background-color: #FF8247;
    }
    
    .buy-one-icon {
        margin-right: 8px;
    }

    @media (max-width: 768px) {
        .buy-one-content {
            flex-direction: column;
        }
        
        .buy-one-header {
            width: 100%;
            padding-right: 0;
            margin-bottom: 20px;
        }
        
        .buy-one-title {
            font-size: 28px;
        }
        
        .buy-one-subtitle {
            font-size: 16px;
        }
        
        .buy-one-button {
            margin-left: 0;
            width: 100%;
        }
        
        .buy-one-discount {
            font-size: 16px;
            padding: 6px 15px;
        }
    }

    @media (max-width: 480px) {
        .buy-one-container {
            padding: 20px;
        }
        
        .buy-one-title {
            font-size: 24px;
        }
        
        .buy-one-button {
            font-size: 16px;
            padding: 12px 25px;
        }
    }