* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
    padding: 20px;
    line-height: 1.5;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 24px;
    border-radius: 12px;
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 24px;
}

.quantity-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.quantity-control {
    display: flex;
    align-items: center;
    background-color: #f1f3f4;
    border-radius: 8px;
    padding: 12px 16px;
    gap: 20px;
}

.quantity-btn {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
}

.quantity-btn:hover {
    color: #333;
}

.quantity-number {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    min-width: 20px;
    text-align: center;
}

.price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.price-label {
    font-size: 14px;
    color: #666;
}

.price-amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.info-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: #1976d2;
    font-size: 14px;
}

.info-icon {
    font-size: 16px;
}

.button-section {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.cart-btn {
    flex: 1;
    padding: 16px;
    border: 2px solid #e0e0e0;
    background-color: white;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.cart-btn:hover {
    border-color: #ccc;
    color: #333;
}

.buy-btn {
    flex: 1;
    padding: 16px;
    border: none;
    background-color: #1976d2;
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.buy-btn:hover {
    background-color: #1565c0;
}

.digital-info {
    border-top: 1px solid #e0e0e0;
    padding-top: 24px;
}

.digital-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

.digital-label {
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-circle {
    color: #999;
    font-size: 12px;
}

.digital-format {
    color: #333;
    font-weight: 500;
}

.digital-size {
    color: #666;
    margin-left: auto;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-label {
    color: #666;
    min-width: 80px;
}

.delivery-text {
    color: #333;
}

.delivery-date {
    color: #1976d2;
    font-weight: 500;
}

.delivery-note {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.delivery-note p {
    margin-bottom: 4px;
}

.delivery-note p:last-child {
    margin-bottom: 0;
}

.email-section {
    margin-bottom: 24px;
}

.email-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.email-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: white;
    transition: border-color 0.2s;
}

.email-input:focus {
    outline: none;
    border-color: #1976d2;
}

.email-input::placeholder {
    color: #999;
}

.email-error {
    color: #d32f2f !important;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}.p
ayment-help {
    margin-top: 16px;
    text-align: center;
}

.payment-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.payment-link:hover {
    color: #1976d2;
}.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    margin: 0;
    padding: 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #1976d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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