* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #fff7f7 0%, #f0f7ff 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    background: white;
    position: relative;
    margin-bottom: 20px;
}

.product-showcase {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.product-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    color: #ff5500;
    font-size: 22px;
    font-weight: bold;
}

.product-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 25px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
    height: 400px;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
    color: #ff5500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #ff5500;
}

.product-intro {
    text-align: center;
    margin: 25px 0;
}

.product-intro img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.form-section {
    padding: 30px 40px 100px;
}

.panel-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.panel-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 15px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

input,
select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
}

select {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M6 8L0 0h12L6 8z' fill='%23999'/%3E%3C/svg%3E") no-repeat calc(100% - 15px) center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

select:focus {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M6 8L0 0h12L6 8z' fill='%23ff5500'/%3E%3C/svg%3E") no-repeat calc(100% - 15px) center;
    background-size: 12px;
}

input:focus,
select:focus {
    border-color: #ff5500;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.2);
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 6px;
    display: none;
}

.photo-upload {
    border: 2px dashed #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
    position: relative;
    margin-bottom: 25px;
}

.photo-upload:hover {
    border-color: #ff5500;
    background: #fffaf7;
}

.photo-upload i {
    font-size: 40px;
    color: #ff8c00;
    margin-bottom: 15px;
}

.photo-preview {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    display: none;
    margin: 15px auto;
}

.file-size-info {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    display: block;
}

.file-size-info .highlight {
    color: #ff5500;
    font-weight: bold;
}

.file-size-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 85, 0, 0.1);
    color: #ff5500;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 500;
}

.btn {
    padding: 16px;
    background: linear-gradient(to right, #ff5500, #ff8c00);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn:hover {
    background: linear-gradient(to right, #ff4400, #ff7b00);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    transform: translateY(-2px);
}

.btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.success-message {
    background: #e8f8ef;
    border: 1px solid #2ecc71;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    display: none;
}

.success-message i {
    color: #2ecc71;
    font-size: 40px;
    margin-bottom: 15px;
}

.info-panel {
    background: linear-gradient(135deg, #ff5500 0%, #ff8c00 100%);
    color: white;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo i {
    margin-right: 10px;
    font-size: 32px;
    color: white;
}

.features {
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature i {
    font-size: 22px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature p {
    font-size: 14px;
    opacity: 0.9;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 30px;
    background: linear-gradient(to right, #ff5500, #ff8c00);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-btn:hover {
    background: linear-gradient(to right, #ff4400, #ff7b00);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.5);
}

.floating-btn i {
    font-size: 20px;
}

.telegram-btn {
    padding: 16px 30px;
    background: linear-gradient(to right, #0088cc, #0088cc);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    margin: 20px auto;
    width: fit-content;
}

.telegram-btn:hover {
    background: linear-gradient(to right, #0077b3, #0077b3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
}

@media (min-width: 769px) {
    .container {
        flex-direction: row;
    }

    .info-panel {
        flex: 1;
    }

    .right-content {
        width: 100%;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .product-carousel {
        max-width: 100%;
    }

    .product-showcase,
    .form-section {
        padding: 20px 25px;
    }

    .carousel-slide img {
        height: 300px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .floating-btn {
        padding: 14px 25px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }

    .telegram-btn {
        padding: 14px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        height: 250px;
    }

    .product-title {
        font-size: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .product-price {
        font-size: 20px;
    }

    .panel-title {
        font-size: 24px;
    }

    .floating-btn {
        padding: 12px 20px;
        font-size: 14px;
        bottom: 10px;
        right: 10px;
    }

    .telegram-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.validation-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    animation: slideDown 0.5s ease-out;
    display: none;
}

@keyframes slideDown {
    from {
        top: -50px;
        opacity: 0;
    }

    to {
        top: 20px;
        opacity: 1;
    }
}

.api-response {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    animation: slideDown 0.5s ease-out;
    display: none;
    max-width: 90%;
    word-break: break-word;
    text-align: center;
}

.api-response.error {
    background: #ff6b6b;
}

.size-warning {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 10px;
    margin-top: 10px;
    border-radius: 0 4px 4px 0;
    display: none;
}

.payment-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.payment-option {
    flex: 1;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.payment-option:hover {
    border-color: #ff5500;
    background-color: #fffaf7;
}

.payment-option.selected {
    border-color: #ff5500;
    background-color: #fffaf7;
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.2);
}

.payment-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.payment-icon.alipay {
    color: #1677ff;
}

.payment-icon.wechat {
    color: #07c160;
}

.payment-text {
    font-weight: 600;
    font-size: 16px;
}

.payment-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.photo-upload.drag-over {
    border-color: #ff5500;
    background-color: #fffaf7;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.3);
    transform: scale(1.02);
}