/* Robot Rental Theme - Based on docs.quadruped.de styling */

:root {
    /* Light theme (default) */
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --accent: #34a734;
    --accent-hover: #2d8f2d;
    --border: #d2d2d7;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #2d2d2d;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --accent: #34a734;
    --accent-hover: #45b845;
    --border: #424245;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Theme & Language Toggle Container */
.toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Legacy support */
.theme-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-toggle-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.theme-toggle-btn i {
    font-size: 18px;
    color: var(--text-primary);
}

/* Language Toggle Button */
.lang-toggle-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.lang-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.lang-flag {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

[data-theme="dark"] #theme-icon-light { display: block; }
[data-theme="dark"] #theme-icon-dark { display: none; }
[data-theme="light"] #theme-icon-light { display: none; }
[data-theme="light"] #theme-icon-dark { display: block; }
html:not([data-theme]) #theme-icon-light { display: none; }
html:not([data-theme]) #theme-icon-dark { display: block; }

/* Header */
.site-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.header-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--accent);
}

.header-nav a.nav-active {
    color: var(--accent);
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 24px;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 64px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Robot Grid */
.robots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

/* Robot Card */
.robot-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.robot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--shadow-hover);
}

.robot-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--bg-primary);
    padding: 20px;
}

.robot-info {
    padding: 24px;
}

.robot-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.robot-model {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.robot-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.robot-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.spec-label {
    color: var(--text-secondary);
}

.spec-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* Variant Selector */
.variant-selector {
    margin-bottom: 20px;
}

.variant-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.variant-btn:hover {
    border-color: var(--accent);
}

.variant-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Check Availability Button */
.check-availability-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.check-availability-btn:hover {
    background: var(--accent-hover);
}

.check-availability-btn:active {
    transform: scale(0.98);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(52, 167, 52, 0.15);
}

/* Rental Agreement Download */
.download-link {
    width: 100%;
    padding: 16px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 20px;
}

.download-link:hover {
    background: var(--accent-hover);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.robot-info-display {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.selected-robot {
    font-weight: 500;
    color: var(--accent);
}

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: var(--accent-hover);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 24px 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .header-nav {
        gap: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .robots-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .theme-toggle-container,
    .toggle-container {
        top: 10px;
        right: 10px;
    }
}

/* Contact Section */
#contact {
    margin-top: 64px;
    padding: 48px;
    background: var(--bg-card);
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

#contact h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

#contact p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item i {
    font-size: 20px;
    color: var(--accent);
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent);
}

/* Large Modal */
.modal-large {
    max-width: 800px;
}

/* Availability Header */
.availability-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.availability-robot-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: 10px;
}

.availability-robot-info img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.availability-robot-info .robot-details {
    flex: 1;
}

.availability-robot-info .robot-name {
    font-weight: 600;
    font-size: 16px;
}

.availability-robot-info .robot-price {
    color: var(--accent);
    font-size: 14px;
}

/* Availability Content Layout */
.availability-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
}

@media (max-width: 700px) {
    .availability-content {
        grid-template-columns: 1fr;
    }
}

/* Calendar Section */
.calendar-section {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 20px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-nav h3 {
    font-size: 18px;
    font-weight: 600;
}

.calendar-nav-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s;
}

.calendar-nav-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.calendar-grid {
    margin-bottom: 16px;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-header span {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background: var(--bg-card);
    border: 2px solid transparent;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    border-color: var(--accent);
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.calendar-day.available {
    background: rgba(52, 167, 52, 0.15);
}

.calendar-day.limited {
    background: rgba(255, 193, 7, 0.15);
}

.calendar-day.unavailable {
    background: rgba(220, 53, 69, 0.15);
    cursor: not-allowed;
}

.calendar-day.selected {
    background: var(--accent);
    color: white;
}

.calendar-day.in-range {
    background: rgba(52, 167, 52, 0.3);
}

.calendar-day .availability-count {
    font-size: 9px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.calendar-day.selected .availability-count {
    color: rgba(255, 255, 255, 0.8);
}

.calendar-day .day-number {
    font-weight: 500;
}

.calendar-day .booked-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 8px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.calendar-day.selected .booked-indicator {
    color: rgba(255, 255, 255, 0.7);
}

.calendar-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Modal Variant Selector */
.modal-variant-selector {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.modal-variant-btn {
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-variant-btn:hover {
    border-color: var(--accent);
}

.modal-variant-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Modal Specs */
.modal-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

.modal-spec {
    display: inline-block;
}

.modal-spec strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.legend-dot.available {
    background: rgba(52, 167, 52, 0.5);
}

.legend-dot.limited {
    background: rgba(255, 193, 7, 0.5);
}

.legend-dot.unavailable {
    background: rgba(220, 53, 69, 0.5);
}

/* Date Selection Panel */
.date-selection {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 20px;
}

.date-selection h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.date-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.date-input-group label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.date-input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 14px;
}

.availability-status {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    text-align: center;
}

.availability-status.success {
    background: rgba(52, 167, 52, 0.15);
    color: var(--accent);
}

.availability-status.error {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.availability-status.info {
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
}

.proceed-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.proceed-btn:hover:not(:disabled) {
    background: var(--accent-hover);
}

.proceed-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Hide Sphinx default elements */
.sphinxsidebar,
.related,
.footer {
    display: none !important;
}

/* Multi-Robot Booking Styles */
.robots-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.robot-entry {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 16px;
    position: relative;
}

.robot-entry.primary .robot-entry-display {
    font-weight: 500;
    color: var(--accent);
}

.robot-entry.additional {
    border: 1px solid var(--border);
}

.remove-robot-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    border: none;
    color: #dc3545;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-robot-btn:hover {
    background: #dc3545;
    color: white;
}

.robot-entry-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.robot-select-row,
.date-select-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-group label {
    font-size: 12px;
    color: var(--text-secondary);
}

.field-group select,
.field-group input[type="date"] {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all 0.2s;
}

.field-group select:focus,
.field-group input[type="date"]:focus {
    outline: none;
    border-color: var(--accent);
}

.add-robot-btn {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 2px dashed var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-robot-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 500px) {
    .robot-select-row,
    .date-select-row {
        grid-template-columns: 1fr;
    }
}

/* Selected Robots Section in Availability Modal */
.selected-robots-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: none;
}

.selected-robots-section h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.selected-robots-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.selected-robot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.selected-robot-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.selected-robot-info strong {
    font-size: 14px;
    color: var(--text-primary);
}

.selected-robot-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

.selected-robot-info .robot-price {
    color: var(--accent);
    font-weight: 500;
}

.remove-robot-item-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    border: none;
    color: #dc3545;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-robot-item-btn:hover {
    background: #dc3545;
    color: white;
}

/* Booking Actions */
.booking-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.add-to-list-btn {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-card);
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-list-btn:hover:not(:disabled) {
    background: var(--accent);
    color: white;
}

.add-to-list-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.booking-actions .proceed-btn {
    flex: 1;
}

/* Booking Robots Display */
.booking-robots-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-robot-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: 8px;
}

.booking-robot-item strong {
    color: var(--accent);
    font-size: 14px;
}

.booking-robot-item span {
    font-size: 12px;
    color: var(--text-secondary);
}

.booking-robot-item .robot-price {
    color: var(--text-primary);
    font-weight: 500;
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(52, 167, 52, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.floating-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(52, 167, 52, 0.5);
}

.floating-cart-btn i {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-primary);
}

@media (max-width: 768px) {
    .floating-cart-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-cart-btn i {
        font-size: 20px;
    }

    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* =============================================
   Training Add-ons Section
   ============================================= */

.training-addons {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.training-addons h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.training-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.training-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.training-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.training-option:hover {
    border-color: var(--accent);
}

.training-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}

.training-option input[type="checkbox"]:checked + .training-option-content {
    color: var(--text-primary);
}

.training-option:has(input:checked) {
    border-color: var(--accent);
    background: rgba(52, 167, 52, 0.05);
}

.training-option-content {
    flex: 1;
}

.training-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.training-option-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.training-option-price {
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
    white-space: nowrap;
}

.training-net {
    font-weight: 400;
    font-size: 12px;
    color: var(--text-secondary);
}

.training-option-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.5;
}

.training-option-contact {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.training-option-contact i {
    color: var(--accent);
    font-size: 11px;
}

/* Training badge in selected robots and booking display */
.training-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--accent);
    background: rgba(52, 167, 52, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 2px;
    font-weight: 500;
}

.training-badge i {
    font-size: 10px;
}

@media (max-width: 700px) {
    .training-option-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================================
   FAQ Page Styles
   ============================================= */

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-section {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-section:hover {
    box-shadow: 0 4px 20px var(--shadow);
}

.faq-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.faq-section-header:hover {
    background: rgba(52, 167, 52, 0.03);
}

.faq-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(52, 167, 52, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-section-icon i {
    font-size: 18px;
    color: var(--accent);
}

.faq-section-header h2 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-chevron {
    font-size: 14px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-section.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-section.open .faq-section-body {
    max-height: 1000px;
    padding: 0 24px 24px;
}

.faq-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 12px;
    margin-bottom: 12px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.faq-item-icon i {
    font-size: 14px;
    color: var(--accent);
}

.faq-item-content {
    flex: 1;
}

.faq-item-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-item-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 20px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.faq-cta-btn:hover {
    background: var(--accent-hover);
}

.faq-back-section {
    text-align: center;
    margin-top: 48px;
}

.faq-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.faq-back-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 768px) {
    .faq-section-header {
        padding: 16px;
    }

    .faq-section-header h2 {
        font-size: 17px;
    }

    .faq-section.open .faq-section-body {
        padding: 0 16px 16px;
    }

    .faq-item {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .faq-item-icon {
        width: 32px;
        height: 32px;
    }
}
