﻿body {
    background: linear-gradient(180deg, #1362ab 0%, #120d23 100%), #bac9d7;
    color: white;
}

.devices-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Product Tabs */
.tabs-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 384px;
    width: 100%;
    background: rgba(30, 64, 175, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.tab-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: white;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s;
}

    .tab-button.active {
        background: white;
        color: #1e3a8a;
    }

    .tab-button svg {
        width: 16px;
        height: 16px;
    }

/* Product Content */
.product-content {
    display: none;
}

    .product-content.active {
        display: block;
    }

.product-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1.125rem;
    color: #bfdbfe;
    line-height: 1.7;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .product-title {
        font-size: 4rem;
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-image {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

    .product-image img {
        width: 100%;
        height: auto;
        border-radius: 0.5rem;
    }

/* Features */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #4ade80;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.feature-text {
    color: #bfdbfe;
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
}

/* Pricing */
.price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.crossed-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 1.5rem;
    font-weight: 500;
}

.order-button {
    width: 100%;
    background: #4ade80;
    color: #1e3a8a;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

    .order-button:hover {
        background: #22c55e;
        transform: translateY(-1px);
    }

.secondary-button {
    width: 100%;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
}

    .secondary-button:hover {
        border-color: rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.1);
    }

.price-footer {
    color: #bfdbfe;
    font-size: 0.875rem;
    line-height: 1.4;
}

.subscription-note {
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #4ade80;
    text-align: center;
}

/* Limited Offer */
.limited-offer-small {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    text-align: right;
    display: block;
    width: fit-content;
    margin-left: auto;
}

/* Guarantee Badge */
.guarantee-badge {
    padding: 0.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    color: #4ade80;
    text-align: center;
    font-weight: 500;
}

/* Out of stock Badge */
.out-of-stock-badge {
    padding: 0.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
}

/* Requirements */
.requirement-grid {
    display: grid;
    gap: 1rem;
}

.requirement-item {
    background: rgba(30, 64, 175, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.requirement-text {
    font-weight: 500;
}

.requirement-description {
    color: #bfdbfe;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Additional Info */
.info-item {
    color: #bfdbfe;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

    .info-item:before {
        content: "• ";
    }

/* Installation specific styling */
.feature-item.installation-item {
    display: block;
    margin-bottom: 1rem;
}

    .feature-item.installation-item .feature-text {
        padding-left: 0;
    }

        .feature-item.installation-item .feature-text:before {
            content: "• ";
            color: #60a5fa;
            font-weight: bold;
            margin-right: 0.5rem;
        }

/* YouTube Video Card */
.video-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 0.5rem;
    }

/* Comparison Section */
.comparison-section {
    margin-top: 4rem;
}

.comparison-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comparison-card {
    text-align: center;
}

.comparison-icon {
    width: 48px;
    height: 48px;
    color: #60a5fa;
    margin: 0 auto 0.5rem;
}

.comparison-product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.comparison-subtitle {
    color: #bfdbfe;
    margin-bottom: 1rem;
}

.comparison-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.comparison-features {
    margin-bottom: 1rem;
}

.comparison-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

    .comparison-feature svg {
        width: 16px;
        height: 16px;
        color: #4ade80;
    }

    .comparison-feature span {
        color: #bfdbfe;
        font-size: 0.875rem;
    }

.select-button {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .select-button.primary {
        background: #3b82f6;
        color: white;
        border-color: #3b82f6;
    }

    .select-button.secondary {
        background: transparent;
        color: white;
    }

    .select-button:hover {
        background: #60a5fa;
        color: white;
    }

/* Subscription Info Section */
.subscription-info-section {
    margin-bottom: 3rem;
}

.subscription-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}

.subscription-info-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

.subscription-info-text {
    color: #bfdbfe;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.875rem;
}

.subscription-benefits {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .subscription-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.benefit-icon {
    width: 20px;
    height: 20px;
    color: #4ade80;
    flex-shrink: 0;
}

.benefit-item span {
    color: #bfdbfe;
    font-size: 0.875rem;
}

/* Social Proof Section */
.social-proof-section {
    margin: 3rem 0;
}

.social-proof-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.customer-count {
    margin-bottom: 1.5rem;
}

.count-number {
    font-size: 3rem;
    font-weight: bold;
    color: #4ade80;
    display: block;
    margin-bottom: 0.5rem;
}

.count-text {
    font-size: 1.125rem;
    color: #bfdbfe;
    font-weight: 500;
}

.trust-indicators {
    display: grid;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .trust-indicators {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    color: #bfdbfe;
    font-size: 0.875rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.375rem;
}

/* ===== ORDER FORM SPECIFIC STYLES (PREFIXED WITH solar-) ===== */

/* Step Indicator */
.solar-step-indicator {
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.solar-steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.solar-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #bfdbfe;
    flex: 1;
    justify-content: center;
}

    .solar-step.active {
        color: white;
    }

.solar-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.solar-step.active .solar-step-number {
    background: #348fe2;
    color: white;
}

.solar-step.completed .solar-step-number {
    background: #4ade80;
    color: white;
}

.solar-step-content {
    display: flex;
    flex-direction: column;
}

.solar-step-title {
    font-weight: bold;
    font-size: 0.875rem;
}

.solar-step-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

.solar-step-arrow {
    color: #60a5fa;
    margin: 0 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .solar-step-arrow {
        display: none;
    }
}

/* Glass Card for Forms */
.solar-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Form Styles */
.solar-form-label {
    color: #bfdbfe;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.solar-form-control,
.solar-form-select {
    background: rgba(30, 64, 175, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    padding: 0.75rem;
}

    .solar-form-control:focus,
    .solar-form-select:focus {
        background: rgba(30, 64, 175, 0.4);
        border-color: #3b82f6;
        box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
        color: white;
    }

    .solar-form-control::placeholder {
        color: #9ca3af;
    }

    .solar-form-select option {
        background: #1e3a8a;
        color: white;
    }

.solar-form-group {
    position: relative;
}

.solar-required {
    color: #ef4444;
}

.solar-email-validation {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ef4444;
}

/* Buttons */
.solar-btn-primary {
    background: #348fe2;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .solar-btn-primary:hover {
        background: #2563eb;
        transform: translateY(-1px);
    }

/* Order Summary */
.solar-order-summary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.solar-summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.solar-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #bfdbfe;
}

    .solar-summary-item.total {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 0.75rem;
        margin-top: 1rem;
        font-weight: 600;
        font-size: 1.125rem;
        color: white;
    }

    .solar-summary-item.discount {
        color: #4ade80;
    }

/* Urgency Box */
.solar-urgency-box {
    background: linear-gradient(45deg, #92400e, #b45309);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
}

.solar-urgency-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Trust Badges */
.solar-trust-badges {
    margin: 1.5rem 0;
}

.solar-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #4ade80;
    font-size: 0.875rem;
}

/* Testimonial */
.solar-testimonial {
    background: rgba(30, 64, 175, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.solar-testimonial-text {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: #bfdbfe;
}

.solar-testimonial-author {
    font-size: 0.875rem;
    color: #9ca3af;
}


/* Payment option styles */
.solar-payment-option {
    position: relative;
}

.solar-payment-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.solar-payment-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(30, 64, 175, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.solar-payment-radio:checked + .solar-payment-label {
    background: rgba(30, 64, 175, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
}

.solar-payment-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.3);
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.solar-payment-content {
    flex: 1;
}

.solar-payment-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.solar-payment-desc {
    font-size: 0.875rem;
    color: #bfdbfe;
}

/* Card payment form */
.solar-card-payment-form {
    background: rgba(30, 64, 175, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

/* Additional styles for delivery options */
.solar-delivery-option {
    position: relative;
}

.solar-delivery-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.solar-delivery-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(30, 64, 175, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.solar-delivery-radio:checked + .solar-delivery-label {
    background: rgba(30, 64, 175, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
}

.solar-delivery-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.3);
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.solar-delivery-content {
    flex: 1;
}

.solar-delivery-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.solar-delivery-desc {
    font-size: 0.875rem;
    color: #bfdbfe;
}

.solar-delivery-price {
    font-weight: 600;
    font-size: 1.125rem;
    margin-left: 1rem;
}

/* Customer info styles */
.solar-customer-info {
    background: rgba(30, 64, 175, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.solar-info-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.solar-info-item {
    font-size: 0.875rem;
    color: #bfdbfe;
    margin-bottom: 0.25rem;
}

#zasilkovna-selected-display {
    background-color: #2563eb; /* Use the blue from .solar-btn-primary or .btn-primary */
    color: #fff;
    border: 1px solid #2563eb;
    border-radius: 0.375rem;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(37,99,235,0.05);
    transition: background 0.2s, color 0.2s;
}