/*
Theme Name: Virtual Store
Theme URI: https://example.com/virtual-store
Author: Developer
Author URI: https://example.com
Description: 虚拟商城 H5 主题 - 复刻 xuni.8j.ink 的虚拟商品自动发货商城
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: virtual-store
Tags: e-commerce, virtual-products, h5, mobile-first
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.vstore-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0 100px;
    min-height: 100vh;
    background: #f5f5f5;
    border-radius: 12px 12px 0 0;
}

.vstore-search-box {
    padding: 12px 16px;
    background: #fff;
    margin: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.vstore-search-inner {
    position: relative;
    width: 100%;
}

.vstore-search-input {
    width: 100%;
    padding: 10px 70px 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
    background: #fff;
}

.vstore-search-input:focus {
    border-color: #ff5252;
}

.vstore-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.vstore-shop-card {
    background: #ffffff;
    padding: 16px;
    margin: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}

.vstore-shop-info {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.vstore-shop-logo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
    border: 2px solid rgba(255, 82, 82, 0.5);
}

.vstore-shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vstore-shop-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
}

.vstore-shop-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vstore-shop-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.vstore-contact-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 82, 82, 0.3);
}

.vstore-shop-desc {
    font-size: 12px;
    color: #666666;
    line-height: 1.4;
    margin: 4px 0;
}

.vstore-shop-ratings {
    display: flex;
    gap: 16px;
    font-size: 12px;
}

.vstore-rating-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.vstore-rating-label {
    color: #666666;
    font-size: 12px;
}

.vstore-rating-value {
    color: #ff4d4f;
    font-weight: 700;
    font-size: 14px;
}

.vstore-products {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vstore-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;
}

.vstore-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vstore-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.06);
}

.vstore-product-card:active {
    transform: translateY(-2px) scale(0.98);
}

.vstore-product-image {
    width: 100%;
    padding-top: 100%;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.vstore-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.vstore-product-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vstore-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    margin-bottom: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vstore-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 8px;
}

.vstore-price {
    font-size: 16px;
    font-weight: 700;
    color: #ff4d4f;
}

.vstore-sales {
    font-size: 11px;
    color: #999999;
}

.vstore-empty {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    padding: 60px 20px;
}

.vstore-load-more {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
    color: #999;
    font-size: 14px;
}

.vstore-load-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #ff5252;
    border-radius: 50%;
    animation: vstore-spin 0.8s linear infinite;
}

@keyframes vstore-spin {
    to { transform: rotate(360deg); }
}

.vstore-load-end {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 0;
    color: #bbb;
    font-size: 13px;
}

.vstore-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.vstore-modal-overlay.active {
    display: flex;
}

.vstore-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px 24px;
    width: 90%;
    max-width: 380px;
    position: relative;
    animation: vstore-modal-in 0.25s ease;
}

@keyframes vstore-modal-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.vstore-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.vstore-modal-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 24px;
}

.vstore-modal-input {
    display: flex;
    align-items: center;
    background: #f0f2f5;
    border-radius: 10px;
    padding: 0 14px;
    margin-bottom: 14px;
    height: 48px;
}

.vstore-modal-input svg {
    width: 20px;
    height: 20px;
    color: #999;
    flex-shrink: 0;
}

.vstore-modal-input input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 10px;
    font-size: 15px;
    color: #333;
    outline: none;
    height: 100%;
}

.vstore-modal-input input::placeholder {
    color: #bbb;
}

.vstore-modal-captcha-row {
    display: flex;
    align-items: center;
    background: #f0f2f5;
    border-radius: 10px;
    padding: 0 14px;
    margin-bottom: 14px;
    height: 48px;
}

.vstore-modal-captcha-row svg {
    width: 20px;
    height: 20px;
    color: #999;
    flex-shrink: 0;
}

.vstore-modal-captcha-row input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 10px;
    font-size: 15px;
    color: #333;
    outline: none;
    height: 100%;
}

.vstore-modal-captcha-row input::placeholder {
    color: #bbb;
}

.vstore-modal-captcha-img {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ff5252;
    letter-spacing: 4px;
    cursor: pointer;
    user-select: none;
    padding: 0 8px;
}

.vstore-modal-submit {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
}

.vstore-modal-submit:active {
    transform: scale(0.98);
}

.vstore-modal-submit:disabled {
    opacity: 0.7;
}

.vstore-modal-footer {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: #999;
}

.vstore-modal-footer a {
    color: #ff5252;
    text-decoration: none;
    cursor: pointer;
}

.vstore-modal-footer a:hover {
    text-decoration: underline;
}

.vstore-modal-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.vstore-modal-error.show {
    display: block;
}

.vstore-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    max-width: 680px;
    margin: 0 auto;
}

.vstore-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 12px;
    color: #999;
    transition: color 0.3s;
    text-decoration: none;
}

.vstore-nav-item.active {
    color: #ff5252;
}

.vstore-nav-icon {
    width: 24px;
    height: 24px;
}

.vstore-nav-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.vstore-nav-label {
    font-size: 11px;
    font-weight: 500;
}

.vstore-detail-page {
    padding: 0 0 10px 0;
    background: #f5f5f5;
}

body.single-vstore_product .vstore-container {
    padding-bottom: 80px;
}

.vstore-detail-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #ffffff;
    position: relative;
}

.vstore-detail-back-btn {
    position: absolute;
    left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    text-decoration: none;
    color: #333;
}

.vstore-detail-back-btn svg {
    width: 20px;
    height: 20px;
}

.vstore-detail-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
    color: #111827;
}

.vstore-detail-share-btn {
    position: absolute;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
}

.vstore-detail-share-btn svg {
    width: 20px;
    height: 20px;
}

.vstore-detail-banner {
    width: 100%;
    background: #ffffff;
    margin-bottom: 8px;
}

.vstore-detail-banner img {
    width: 100%;
    display: block;
}

.vstore-detail-card {
    background: #ffffff;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.vstore-detail-price-card {
    padding: 12px 16px 16px;
}

.vstore-detail-price-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
}

.vstore-detail-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.vstore-detail-price {
    display: flex;
    align-items: baseline;
}

.vstore-detail-price-symbol {
    font-size: 14px;
    color: #ff4d4f;
    font-weight: 700;
}

.vstore-detail-price-value {
    font-size: 24px;
    color: #ff4d4f;
    font-weight: 700;
    line-height: 1;
}

.vstore-detail-original-price {
    font-size: 14px;
    color: #999999;
    text-decoration: line-through;
    line-height: 1.6;
}

.vstore-detail-sales {
    font-size: 12px;
    color: #999999;
    line-height: 1.6;
}

.vstore-detail-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.5;
    margin: 0;
}

.vstore-detail-delivery-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vstore-detail-delivery-label {
    color: #000;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.8;
}

.vstore-detail-delivery-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vstore-delivery-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.vstore-delivery-tag-auto {
    background: #e6f7ff;
    color: #1890ff;
}

.vstore-delivery-tag-manual {
    background: #fff7e6;
    color: #fa8c16;
}

.vstore-delivery-tag-type {
    background: #fff1f0;
    color: #ff4d4f;
}

.vstore-delivery-tag-stock {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.vstore-detail-notice-card {
    padding: 12px 16px;
}

.vstore-detail-notice-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vstore-detail-notice-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.vstore-detail-notice-text {
    color: #f97316;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
    text-align: center;
}

.vstore-detail-shop-card {
    padding: 16px;
}

.vstore-detail-shop-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vstore-detail-shop-avatar {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 82, 82, 0.5);
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
}

.vstore-detail-shop-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70px;
}

.vstore-detail-shop-name {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    line-height: 1.3;
}

.vstore-detail-shop-desc {
    font-size: 12px;
    color: #666666;
    line-height: 1.3;
    margin: 2px 0;
}

.vstore-detail-shop-ratings {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #333333;
}

.vstore-detail-shop-ratings strong {
    color: #ff4d4f;
    font-weight: 700;
}

.vstore-detail-shop-actions {
    display: flex;
    gap: 55px;
    margin-top: 12px;
    justify-content: center;
}

.vstore-detail-shop-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(255, 82, 82, 0.3);
    cursor: pointer;
}

.vstore-detail-shop-enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(255, 82, 82, 0.3);
}

.vstore-detail-desc-card {
    background: #ffffff;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.vstore-detail-desc-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.vstore-detail-desc-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.vstore-detail-desc-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
}

.vstore-detail-desc-content p {
    margin: 8px 0;
}

.vstore-detail-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 12px 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    max-width: 680px;
    margin: 0 auto;
}

.vstore-detail-footer-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.vstore-detail-vip-btn {
    flex: 1;
    border: none;
    border-radius: 24px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.4);
    transition: all 0.3s ease;
}

.vstore-detail-vip-btn:active {
    transform: scale(0.98);
}

.vstore-detail-buy-btn {
    flex: 1;
    border: none;
    border-radius: 24px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.vstore-detail-buy-btn:active {
    transform: scale(0.98);
}

.vstore-contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.vstore-contact-modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 90%;
    text-align: center;
    position: relative;
}

.vstore-contact-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.vstore-contact-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.vstore-contact-modal-img {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.vstore-contact-modal-tip {
    margin-top: 12px;
    color: #64748b;
    font-size: 14px;
}

.vstore-pay-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.vstore-pay-modal-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    position: relative;
}

.vstore-pay-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.vstore-pay-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e293b;
}

.vstore-pay-modal-qr {
    margin: 0 auto 16px;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
}

.vstore-pay-modal-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vstore-pay-modal-amount {
    font-size: 16px;
    color: #334155;
    margin-bottom: 8px;
}

.vstore-pay-modal-amount strong {
    color: #e53935;
    font-size: 20px;
}

.vstore-pay-modal-tip {
    color: #64748b;
    font-size: 13px;
}

.vstore-orders-page,
.vstore-profile-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 100px;
}

/* 个人中心欢迎页 */
.vstore-profile-welcome {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px 100px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vstore-welcome-card {
    background: #fff;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    width: 100%;
    border: none;
}

.vstore-welcome-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.vstore-welcome-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.vstore-welcome-subtitle {
    font-size: 14px;
    color: #999;
    margin: 0 0 32px;
}

.vstore-welcome-buttons {
    display: flex;
    gap: 12px;
}

.vstore-welcome-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.vstore-welcome-btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.vstore-welcome-btn-primary:hover {
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
    transform: translateY(-1px);
}

.vstore-welcome-btn-secondary {
    background: #f5f5f5;
    color: #ff6b6b;
}

.vstore-welcome-btn-secondary:hover {
    background: #eee;
}

/* 弹窗样式 */
.vstore-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vstore-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.vstore-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: none;
}

.vstore-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    outline: none;
}

.vstore-modal-close:hover {
    background: #eee;
    color: #333;
}

.vstore-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px;
    text-align: center;
}

.vstore-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vstore-modal-input {
    position: relative;
}

.vstore-modal-input input {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: background-color 0.3s;
    box-sizing: border-box;
    background: #f5f5f5;
}

.vstore-modal-input input:focus {
    background: #eee;
}

.vstore-modal-captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vstore-modal-captcha-row > span {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.vstore-modal-captcha-row .vstore-captcha-q {
    color: #ff6b6b;
    font-weight: 600;
}

.vstore-modal-captcha-row input {
    flex: 1;
    min-width: 80px;
}

.vstore-captcha-refresh-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s;
    flex-shrink: 0;
}

.vstore-captcha-refresh-btn:hover {
    background: #eee;
    color: #ff6b6b;
}

.vstore-modal-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    outline: none;
}

.vstore-modal-submit:hover {
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    transform: translateY(-1px);
}

.vstore-modal-error {
    background: #fff2f0;
    border: none;
    color: #cf1322;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.vstore-page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #ffffff;
    position: relative;
    margin-bottom: 12px;
    border-radius: 12px;
}

.vstore-page-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
    color: #111827;
}

.vstore-page-back-btn {
    position: absolute;
    left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    text-decoration: none;
    color: #333;
}

.vstore-page-back-btn svg {
    width: 20px;
    height: 20px;
}

.vstore-order-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.vstore-order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.vstore-order-id {
    font-size: 12px;
    color: #999;
}

.vstore-order-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.vstore-order-status.completed {
    background: #f6ffed;
    color: #52c41a;
}

.vstore-order-status.pending {
    background: #fff7e6;
    color: #ff9800;
}

.vstore-order-product {
    display: flex;
    gap: 12px;
    align-items: center;
}

.vstore-order-product img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.vstore-order-product-info {
    flex: 1;
}

.vstore-order-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.vstore-order-product-price {
    font-size: 14px;
    font-weight: 700;
    color: #ff4d4f;
}

.vstore-profile-header {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
}

.vstore-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.5);
    margin: 0 auto 12px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vstore-profile-avatar svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.vstore-profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.vstore-profile-menu {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.vstore-profile-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.vstore-profile-menu-item:last-child {
    border-bottom: none;
}

.vstore-profile-menu-item svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #999;
    stroke-width: 2;
}

body.page-template-page-login .vstore-container,
body.page-template-page-register .vstore-container,
body.page-template-page-forgot .vstore-container,
body.page-template-page-reset-password .vstore-container,
body.page-template-page-password .vstore-container {
    max-width: 100%;
    background: #f5f5f5;
    border-radius: 0;
    padding: 0;
}

body.page-template-page-login .vstore-bottom-nav,
body.page-template-page-register .vstore-bottom-nav,
body.page-template-page-forgot .vstore-bottom-nav,
body.page-template-page-reset-password .vstore-bottom-nav,
body.page-template-page-password .vstore-bottom-nav {
    display: none !important;
}

.vstore-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.vstore-auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.vstore-auth-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.vstore-auth-logo svg {
    width: 32px;
    height: 32px;
}

.vstore-auth-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 4px;
}

.vstore-auth-desc {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin: 0 0 24px;
}

.vstore-auth-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.vstore-auth-alert-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
}

.vstore-auth-alert-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.vstore-auth-field {
    margin-bottom: 16px;
}

.vstore-auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.vstore-auth-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.vstore-auth-field input:focus {
    border-color: #ff5252;
}

.vstore-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vstore-auth-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    margin-bottom: 20px;
}

.vstore-forgot-link {
    color: #ff5252;
    text-decoration: none;
}

.vstore-forgot-link:hover {
    text-decoration: underline;
}

.vstore-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vstore-captcha-row input {
    flex: 1;
}

.vstore-captcha-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    flex-shrink: 0;
}

.vstore-captcha-refresh:hover {
    background: #eee;
    color: #ff5252;
}

.vstore-auth-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.vstore-auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
}

.vstore-auth-btn:active {
    transform: scale(0.98);
}

.vstore-auth-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 13px;
    color: #999;
}

.vstore-auth-footer a {
    color: #ff5252;
    font-weight: 600;
    text-decoration: none;
}

.vstore-auth-home-link {
    color: #999 !important;
    font-weight: 400 !important;
}

.vstore-auth-home-link:hover {
    color: #ff5252 !important;
}

.vstore-profile-card {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.vstore-profile-avatar-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.5);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
}

.vstore-profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vstore-profile-user-info {
    color: #fff;
}

.vstore-profile-username {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.vstore-profile-email {
    font-size: 13px;
    opacity: 0.85;
}

.vstore-profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.vstore-profile-menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5252;
}

.vstore-profile-menu-icon svg {
    width: 20px;
    height: 20px;
}

.vstore-profile-menu-arrow {
    margin-left: auto;
    width: 16px;
    height: 16px;
    color: #ccc;
}

.vstore-profile-logout {
    margin-top: 24px;
}

.vstore-profile-logout-btn {
    display: block;
    text-align: center;
    padding: 14px;
    background: #fff;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.vstore-order-delivery {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.vstore-order-delivery-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.vstore-order-delivery-content {
    font-size: 13px;
    color: #333;
    word-break: break-all;
    font-family: monospace;
}

.vstore-order-time {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

.vstore-order-status.cancelled {
    background: #f5f5f5;
    color: #999;
}

.vstore-empty-icon {
    margin-bottom: 12px;
    color: #ccc;
}

.vstore-empty-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

.vstore-vip-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    border: 1px solid #ffe082;
}

.vstore-vip-entry-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vstore-vip-entry-icon {
    color: #f59e0b;
    display: flex;
    align-items: center;
}

.vstore-vip-entry-name {
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
}

.vstore-vip-entry-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vstore-vip-entry-status {
    font-size: 13px;
    color: #b45309;
    font-weight: 500;
}

.vstore-vip-entry-status.active {
    color: #059669;
}

.vstore-vip-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 16px 100px;
}

.vstore-vip-status {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.vstore-vip-status.vstore-vip-active {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fbbf24;
}

.vstore-vip-status.vstore-vip-inactive {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.vstore-vip-status-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
}

.vstore-vip-active .vstore-vip-status-icon {
    color: #92400e;
}

.vstore-vip-inactive .vstore-vip-status-icon {
    color: #6b7280;
}

.vstore-vip-status-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.vstore-vip-status-expire {
    font-size: 13px;
    color: #92400e;
}

.vstore-vip-status-desc {
    font-size: 13px;
    color: #6b7280;
}

.vstore-vip-card {
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.vstore-vip-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
}

.vstore-vip-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.vstore-vip-icon-default {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.vstore-vip-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.vstore-vip-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}

.vstore-vip-price-symbol {
    font-size: 16px;
    color: #fbbf24;
    font-weight: 600;
}

.vstore-vip-price-value {
    font-size: 32px;
    color: #fbbf24;
    font-weight: 700;
}

.vstore-vip-duration {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.vstore-vip-methods {
    margin-bottom: 20px;
}

.vstore-vip-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.vstore-vip-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px 16px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.vstore-vip-plan:hover {
    border-color: #fbbf24;
}

.vstore-vip-plan-selected {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.vstore-vip-plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vstore-vip-plan-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 0 10px 0 10px;
}

.vstore-vip-plan-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.vstore-vip-plan-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vstore-vip-plan-info {
    flex: 1;
    min-width: 0;
}

.vstore-vip-plan-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.vstore-vip-plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 2px;
}

.vstore-vip-plan-price-symbol {
    font-size: 13px;
    color: #f59e0b;
    font-weight: 600;
}

.vstore-vip-plan-price-value {
    font-size: 22px;
    color: #f59e0b;
    font-weight: 700;
}

.vstore-vip-plan-price-original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 4px;
}

.vstore-vip-plan-duration {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.vstore-vip-plan-desc {
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.4;
}

.vstore-vip-methods {
    margin-bottom: 20px;
}

.vstore-vip-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.vstore-vip-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px 16px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.vstore-vip-plan:hover {
    border-color: #fbbf24;
}

.vstore-vip-plan-selected {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.vstore-vip-plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vstore-vip-plan-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 0 10px 0 10px;
}

.vstore-vip-plan-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.vstore-vip-plan-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vstore-vip-plan-info {
    flex: 1;
    min-width: 0;
}

.vstore-vip-plan-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.vstore-vip-plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 2px;
}

.vstore-vip-plan-price-symbol {
    font-size: 13px;
    color: #f59e0b;
    font-weight: 600;
}

.vstore-vip-plan-price-value {
    font-size: 22px;
    color: #f59e0b;
    font-weight: 700;
}

.vstore-vip-plan-price-original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 4px;
}

.vstore-vip-plan-duration {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.vstore-vip-plan-desc {
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.4;
}

.vstore-vip-methods {
    margin-bottom: 20px;
}

.vstore-vip-method-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.vstore-vip-method {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.vstore-vip-method-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.vstore-vip-method-icon {
    color: #ff5252;
    display: flex;
    align-items: center;
}

.vstore-vip-method-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

.vstore-vip-pay-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.vstore-vip-card-form {
    display: flex;
    gap: 10px;
}

.vstore-vip-card-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.vstore-vip-card-input:focus {
    border-color: #ff5252;
}

.vstore-vip-card-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.vstore-vip-features {
    margin-bottom: 20px;
}

.vstore-vip-feature-list {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

.vstore-vip-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #374151;
}

.vstore-vip-feature-item:last-child {
    border-bottom: none;
}

.vstore-detail-delivery-content-card {
    padding: 16px;
}

.vstore-detail-delivery-content-header {
    margin-bottom: 12px;
}

.vstore-detail-delivery-content-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.vstore-detail-delivery-content-body {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.8;
    color: #374151;
    word-break: break-all;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.vstore-detail-delivery-content-locked {
    text-align: center;
    padding: 30px 20px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
}

.vstore-delivery-locked-icon {
    color: #9ca3af;
    margin-bottom: 12px;
}

.vstore-delivery-locked-text {
    color: #6b7280;
    font-size: 14px;
}

.vstore-delivery-locked-text p {
    margin: 0 0 12px;
}

.vstore-delivery-locked-text a {
    color: #ff5252;
    text-decoration: none;
    font-weight: 500;
}

.vstore-delivery-locked-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.vstore-delivery-locked-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: #fff !important;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 82, 82, 0.3);
}

.vstore-delivery-locked-buy-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.vstore-delivery-locked-btn:active {
    transform: scale(0.96);
}

.vstore-delivery-locked-btn:focus {
    outline: none !important;
    border: none !important;
}

.vstore-detail-footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.vstore-footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    transition: color 0.2s;
}

.vstore-footer-nav-item:hover,
.vstore-footer-nav-item:active {
    color: #ff5252;
}

.vstore-footer-nav-item svg {
    stroke: currentColor;
}

@media (max-width: 480px) {
    .vstore-container {
        padding: 0 0 90px;
    }

    body.single-vstore_product .vstore-container {
        padding-bottom: 80px;
    }

    .vstore-product-grid {
        gap: 8px;
        padding: 0 8px;
    }

    .vstore-product-info {
        padding: 8px;
    }

    .vstore-price {
        font-size: 14px;
    }

    .vstore-auth-card {
        padding: 24px 20px;
    }

    .vstore-auth-title {
        font-size: 20px;
    }

    .vstore-auth-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .vstore-auth-card {
        max-width: 400px;
        padding: 28px 24px;
    }
}

/* 电脑端弹窗加大 */
@media (min-width: 769px) {
    .vstore-modal-content {
        max-width: 400px;
        max-height: 85vh;
        padding: 40px 32px;
    }
    .vstore-modal-title {
        font-size: 24px;
        margin-bottom: 32px;
    }
    .vstore-modal-input input {
        padding: 16px 18px;
        font-size: 15px;
    }
    .vstore-modal-submit {
        padding: 16px;
        font-size: 16px;
    }
}
