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


/* site blocker / cookie modal helpers */
#siteBlocker {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 99998;
}
.site-blocker {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 99998;
}

.cm__popup {
    z-index: 99999 !important;
    position: fixed;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    /* Reset spacing to avoid layout shifts from library defaults */
    margin: 0 !important;
    padding: 30px !important;
    box-sizing: border-box !important;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    width: 480px !important;
    max-width: calc(100vw - 40px) !important;
    height: 480px !important;
    max-height: calc(100vh - 40px) !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Extra safeguard: center any common consent modal classes the UMD library may add */
.cc-window, .cc-popup, .cc-preferences, .cc-modal {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 480px !important;
    max-width: calc(100vw - 40px) !important;
    height: 480px !important;
    max-height: calc(100vh - 40px) !important;
}important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Aggressive fallback: override elements positioned bottom-right via inline styles */
*[style*="bottom: 0"][style*="right: 0"],
*[style*="bottom:0"][style*="right:0"] {
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    position: fixed !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.cm__explain {
    font-size: 0.9em;
    color: rgba(0,0,0,0.6);
    margin-top: 8px;
}

.cm__btn--reject {
    background: transparent;
    color: #d32f2f;
    border: 1px solid rgba(211,47,47,0.12);
}

.cm__btn--prefs {
    background: #1565c0;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    margin-left: 8px;
}

/* Button container - vertikale Anordnung */
.cm__btns, .cm__footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

/* Prominent action buttons for consent modal */
.cm__btn--accept {
    background: linear-gradient(180deg,#1565c0,#0d47a1) !important;
    color: #fff !important;
    padding: 14px 20px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 18px rgba(13,71,161,0.22) !important;
    width: 100% !important;
    order: -1 !important; /* Akzeptieren-Button als erstes */
}
.cm__btn--save {
    background: #0d47a1 !important;
    color: #fff !important;
    padding: 12px 18px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    width: 100% !important;
}
.cm__btn--save--active {
    background: #5f6368 !important; /* darker gray when an option is enabled */
    color: #fff !important;
    box-shadow: none !important;
}
.cm__btn--reject {
    background: transparent !important;
    border: 2px solid rgba(211,47,47,0.18) !important;
    color: #d32f2f !important;
    padding: 12px 18px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    width: 100% !important;
    order: 1 !important; /* Ablehnen-Button als zweites */
}
.cm__btn--accept:focus, .cm__btn--save:focus, .cm__btn--reject:focus{
    outline: 3px solid rgba(21,101,192,0.18) !important;
}

.cm__btn--prefs:focus {
    outline: 3px solid rgba(21, 101, 192, 0.3);
}

.cm__cookie-toggle:focus {
    outline: 3px solid rgba(21, 101, 192, 0.2);
}

.cm__cookie-details {
    margin-top: 12px;
    border-top: 1px solid #e6eef9;
    padding-top: 12px;
}

.cm__cookie-details .cm__cookie-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.cm__cookie-details .cm__cookie-row label {
    font-weight: 700;
}

.cm__cookie-details .cm__cookie-desc {
    color: rgba(0,0,0,0.6);
    font-size: 0.95em;
}

.cm__privacy-link a {
    color: #0d47a1;
    text-decoration: none;
    font-weight: 600;
}

.cm__noscript {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 12px;
    z-index: 100000;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    text-align: center;
    font-size: 0.95em;
}

.cm__noscript a { color: #0d47a1; font-weight: 600; text-decoration: none; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 0;
    color: #2c3e50;
}

.top-nav {
    background: #000;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #1565c0;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.3em;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-svg {
    width: 60px;
    height: 60px;
    display: inline-block;
    line-height: 0;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.logo-word-my { color: #22d3ee; }

.logo-word-main { color: #fff; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-selector label {
    color: white;
    font-weight: 600;
    font-size: 0.95em;
    white-space: nowrap;
}

.language-selector select {
    padding: 8px 12px;
    background: #ffffff;
    color: #1a1a2e;
    border: 1px solid #1565c0;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.3s;
}

.language-selector select:hover {
    background: #1565c0;
    color: white;
}

.account-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s;
}

.account-link:hover {
    background: #1565c0;
    color: white;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 15px;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s;
}



.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    animation: fadeIn 0.3s;
}

.menu-overlay.active {
    display: block;
}

.menu-panel {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    overflow-y: auto;
    transition: left 0.3s;
}

.menu-panel.active {
    left: 0;
}



.menu-header {
    background: #1565c0;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h2 {
    margin: 0;
    font-size: 1.3em;
}

.menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
    transition: transform 0.3s;
}

.menu-close:hover {
    transform: scale(1.2);
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-items li {
    border-bottom: 1px solid #e0e0e0;
}

.menu-items a {
    display: block;
    padding: 18px 25px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.menu-items a:hover {
    background: #f0f8ff;
    color: #1565c0;
    padding-left: 35px;
}



.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin-top: 20px;
}

.gaming-header {
    background: linear-gradient(180deg, #1565c0 0%, #0d47a1 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    border-bottom: 1px solid #0d47a1;
    position: relative;
    overflow: hidden;
}

.gaming-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

.gaming-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0px;
}

.tagline {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.header-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0px;
    background: none;
}

.content {
    padding: 40px 30px;
}

.gaming-content {
    padding: 40px 30px !important;
    background: #f5f5f5;
}

.section {
    margin-bottom: 50px;
}

.section-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1565c0;
    gap: 20px;
}

.section-title {
    font-size: 1.8em;
    color: #1565c0;
    font-weight: 700;
    letter-spacing: 0px;
    margin: 0;
    flex-shrink: 0;
}

.accessories-note {
    font-size: 1.25em;
    color: #1565c0;
    font-style: italic;
    text-align: right;
    margin: 0;
    flex-grow: 1;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accessories-note:hover {
    color: #0d47a1;
    text-decoration-color: #0d47a1;
    transform: scale(1.05);
}

.configurator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.component-group {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.component-group:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #1565c0;
}

.component-group label {
    display: block;
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.component-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s;
    background-color: white;
    color: #2c3e50;
}

.component-group select:hover {
    border-color: #1565c0;
    box-shadow: 0 2px 6px rgba(21, 101, 192, 0.1);
}

.component-group select:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.price-display {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}

.price-display strong {
    color: #1565c0;
    font-weight: 700;
}

.affiliate-btn {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: #1565c0;
    color: white;
    border: 1px solid #1565c0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: none;
}

.affiliate-btn.active {
    display: block;
}

.affiliate-btn:hover {
    background: #0d47a1;
    border-color: #0d47a1;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.compatibility {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.compatibility-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border-radius: 6px;
    gap: 12px;
}

.compatibility-item.compatible {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.compatibility-item.incompatible {
    background: #ffebee;
    border-left: 4px solid #f44336;
}

.compatibility-icon {
    font-size: 1.5em;
    font-weight: bold;
    min-width: 30px;
}

.compatibility-icon.check {
    color: #4caf50;
}

.compatibility-icon.cross {
    color: #f44336;
}

.compatibility-text {
    flex: 1;
}

.compatibility-text strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 3px;
}

.compatibility-text small {
    color: #999;
    font-size: 0.85em;
}

.summary-box {
    background: #f0f7ff;
    color: #2c3e50;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
    border: 1px solid #bbdefb;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.1);
}

.summary-box h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #1565c0;
}

.total-price {
    font-size: 2.5em;
    font-weight: 700;
    margin: 20px 0;
    color: #1565c0;
}

.summary-status {
    font-size: 1.1em;
}

.status-compatible {
    color: #4caf50;
    font-weight: 600;
}

.status-incompatible {
    color: #f44336;
    font-weight: 600;
}

.prebuilt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.prebuilt-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.prebuilt-card:hover {
    border-color: #1565c0;
    box-shadow: 0 8px 16px rgba(21, 101, 192, 0.15);
    transform: translateY(-5px);
}

.prebuilt-card h3 {
    font-size: 1.3em;
    color: #1565c0;
    margin-bottom: 10px;
}

.prebuilt-card p {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 15px;
    flex: 1;
}

.prebuilt-price {
    font-size: 1.8em;
    color: #1565c0;
    font-weight: 700;
    margin-bottom: 15px;
}

.prebuilt-btn {
    padding: 12px;
    background: #1565c0;
    color: white;
    border: 1px solid #1565c0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    display: block;
}

.prebuilt-btn:hover {
    background: #0d47a1;
    border-color: #0d47a1;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.reset-btn {
    padding: 12px 30px;
    background: #1565c0;
    color: white;
    border: 1px solid #1565c0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s;
    margin-bottom: 30px;
}

.reset-btn:hover {
    background: #0d47a1;
    border-color: #0d47a1;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.case-selection-section {
    margin-bottom: 40px;
}

.case-selection-title {
    color: #1565c0;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

.case-gallery-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 15px;
}

.case-gallery {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    min-width: min-content;
}

.case-card {
    flex-shrink: 0;
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.case-card:hover:not(.disabled) {
    transform: translateY(-5px);
}

.case-card-image {
    width: 200px;
    height: 200px;
    background: #e8f4f8;
    border: 2px solid #1565c0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 12px;
    transition: all 0.3s;
    flex-direction: column;
    gap: 8px;
}

.case-card:hover:not(.disabled) .case-card-image {
    background: #d0e8f2;
    border-color: #0d47a1;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.2);
}

.case-card-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.case-card.disabled .case-card-image {
    background: #f0f0f0;
    border-color: #ccc;
}

.case-card.disabled .case-card-name {
    text-decoration: line-through;
    color: #999;
}

.case-card.disabled .case-card-warning {
    color: #d32f2f;
    font-weight: 600;
    font-size: 0.8em;
}

.case-card.selected .case-card-image {
    border-color: #388e3c;
    border-width: 3px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #388e3c;
}

.complete-purchase-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 30px;
}

.complete-purchase-btn {
    flex: 1;
    padding: 16px 30px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s;
    text-align: center;
}

.complete-purchase-btn:hover {
    background: #1565c0;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    transform: translateY(-2px);
}

.budget-builder {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.budget-builder input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 0.95em;
    transition: all 0.3s;
    background-color: white;
    color: #2c3e50;
}

.budget-builder input::placeholder {
    color: #aaa;
}

.budget-builder input:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.budget-btn {
    padding: 12px 30px;
    background: #1565c0;
    color: white;
    border: 1px solid #1565c0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s;
    white-space: nowrap;
}

.budget-btn:hover {
    background: #0d47a1;
    border-color: #0d47a1;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.budget-result {
    width: 100%;
    margin-top: 15px;
    padding: 20px;
    border-radius: 6px;
    display: none;
}

.budget-result.show {
    display: block;
}

.budget-result.success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.budget-result.error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.budget-result h4 {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.budget-result-items {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
}

.budget-result-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.budget-result-item:last-child {
    border-bottom: none;
}

.budget-result-item strong {
    color: #1565c0;
}

.budget-result-item span {
    color: #666;
}

.budget-result-total {
    margin-top: 10px;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 4px;
    text-align: right;
    font-weight: bold;
    color: #2e7d32;
}

.pc-type-selector {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.pc-type-btn {
    padding: 12px 24px;
    background: white;
    color: #1565c0;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s;
}

.pc-type-btn:hover {
    background: #f5f5f5;
    border-color: #1565c0;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.1);
}

.pc-type-btn.active {
    background: #1565c0;
    color: white;
    border-color: #1565c0;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.2);
}

.footer {
    background: #1565c0;
    color: white;
    padding: 30px;
    text-align: center;
    border-top: 1px solid #0d47a1;
    margin-top: 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0 0 15px 0;
    font-size: 0.95em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 0.95em;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-cookie-link {
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .gaming-header h1 {
        font-size: 1.8em;
    }

    .pc-type-selector {
        flex-direction: column;
    }

    .pc-type-btn {
        width: 100%;
    }

    .content {
        padding: 20px 15px;
    }

    .gaming-content {
        padding: 20px 15px !important;
    }

    .section-title {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .configurator-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .component-group {
        padding: 15px;
    }

    .summary-box {
        padding: 20px;
    }

    .total-price {
        font-size: 1.8em;
    }

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

    .budget-builder {
        flex-direction: column;
    }

    .budget-builder input {
        min-width: 100%;
    }

    .budget-btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 350px);
    gap: 30px;
    margin-bottom: 30px;
}

.checkout-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checkout-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.checkout-card.highlighted {
    background: #fff9e6;
    border-color: #ffc107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
}

.checkout-card-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #999;
    font-size: 1.1em;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.checkout-card-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.checkout-component-label {
    font-weight: 600;
    color: #1565c0;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.checkout-component-name {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95em;
    line-height: 1.4;
}

.checkout-component-price {
    color: #2e7d32;
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.checkout-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.checkout-table tr {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.checkout-table tr:last-child {
    border-bottom: none;
}

.checkout-table tr.highlighted {
    background: #fff9e6;
    box-shadow: inset 0 0 15px rgba(255, 193, 7, 0.3);
}

.checkout-table td {
    padding: 18px 15px;
    vertical-align: middle;
}

.component-label {
    font-weight: 600;
    color: #1565c0;
    width: 20%;
    min-width: 150px;
}

.component-name {
    color: #2c3e50;
    flex: 1;
    padding-left: 20px;
}

.component-price {
    text-align: right;
    font-weight: 700;
    color: #00cc66;
    width: 100px;
    padding-right: 20px;
}

.component-action {
    width: 100px;
    text-align: center;
}

.affiliate-btn-small {
    padding: 8px 16px;
    background: #1565c0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s;
}

.affiliate-btn-small:hover {
    background: #0d47a1;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.3);
}

.checkout-content {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
}

.back-link {
    color: #1565c0;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #0d47a1;
}

.prebuilt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 400px);
    gap: 30px;
    margin-top: 30px;
}

.prebuilt-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prebuilt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #999;
    font-size: 1.1em;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.card-description {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-description strong {
    color: #1565c0;
    font-size: 1.2em;
    margin-bottom: 12px;
    display: block;
}

.card-description p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

@media (max-width: 900px) {
    .prebuilt-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .prebuilt-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 200px;
    }
}

.account-container {
    max-width: 500px;
    margin: 0 auto;
}

.account-tab {
    margin-bottom: 40px;
}

.account-tab input[type="radio"] {
    display: none;
}

.account-tab input[type="radio"] ~ .tab-content {
    display: none;
}

.account-tab input[type="radio"]:checked ~ .tab-content {
    display: block;
}

.tab-label {
    display: inline-block;
    padding: 12px 30px;
    background: #f5f5f5;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    border-radius: 6px 6px 0 0;
}

.account-tab input[type="radio"]:checked ~ .tab-label {
    background: #1565c0;
    color: white;
    border-bottom-color: #0d47a1;
}

.tab-content {
    background: white;
    padding: 30px;
    border-radius: 0 6px 6px 6px;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95em;
    transition: all 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.account-btn {
    padding: 14px 30px;
    background: #2e7d32;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
}

.account-btn:hover {
    background: #1b5e20;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.logged-in-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.user-info,
.user-actions {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.user-info h3,
.user-actions h3 {
    color: #1565c0;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.user-info:last-of-type {
    border-bottom: none;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #2c3e50;
}

.info-item label {
    font-weight: 600;
    color: #1565c0;
}

.info-item span {
    color: #666;
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-actions .account-btn {
    margin: 0;
}

@media (max-width: 768px) {
    .top-nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-right {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
    }

    .logo-text {
        display: none;
    }

    .logo {
        gap: 5px;
    }

    .account-link {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    .language-selector label {
        display: none;
    }

    .language-selector select {
        font-size: 0.85em;
        padding: 6px 8px;
    }
}

.accessories-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 30px;
}

.accessories-category {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
}

.accessory-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s;
    width: fit-content;
    align-items: center;
}

.accessory-item:hover {
    border-color: #1565c0;
    box-shadow: 0 4px 8px rgba(21,101,192,0.15);
}

.accessory-name {
    font-size: 0.95em;
    font-weight: 600;
    color: #2c3e50;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.accessory-price {
    font-size: 1.2em;
    font-weight: 700;
    color: #1565c0;
}

.accessory-btn {
    background: #1565c0;
    color: white;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: auto;
}

.accessory-btn:hover {
    background: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(21,101,192,0.3);
}

.accessory-btn.selected {
    background: #4caf50;
}

.accessory-btn.selected:hover {
    background: #388e3c;
}

.accessories-summary {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.accessories-summary h3 {
    color: #1565c0;
    margin-bottom: 15px;
    font-size: 1.1em;
}

#accessories-selected-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    min-height: 30px;
}

.accessory-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    background: white;
    border-radius: 4px;
    border-left: 3px solid #1565c0;
}

.accessory-summary-item span:first-child {
    font-weight: 500;
    color: #2c3e50;
}

.accessory-summary-item span:last-child {
    color: #1565c0;
    font-weight: 600;
}

.accessories-price-display {
    font-size: 1.1em;
    font-weight: 700;
    color: #1565c0;
    padding: 10px;
    background: white;
    border-radius: 4px;
    text-align: right;
}

.accessory-item {
    position: relative;
}

.accessory-image {
    width: 180px;
    height: 180px;
    background: #e8f4f8;
    border: 2px solid #1565c0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    color: #666;
    position: relative;
    transition: all 0.3s;
}

.accessory-image:hover {
    background: #d0e8f2;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.2);
}

.accessory-info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #1565c0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2em;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.accessory-image:hover .accessory-info-icon {
    opacity: 1;
}

.accessory-info-icon:hover {
    background: #0d47a1;
    transform: scale(1.1);
}

.product-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1565c0;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #1565c0;
}

.modal-body {
    color: #2c3e50;
    line-height: 1.8;
}

.modal-body p {
    margin: 15px 0;
}

.accessories-checkout-section {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
}

.accessories-checkout-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 20px;
    border-bottom: 2px solid #1565c0;
    padding-bottom: 15px;
}

.accessories-checkout-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.accessories-checkout-button {
    width: 100%;
    padding: 15px;
    background: #1565c0;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s;
}

.accessories-checkout-button:hover {
    background: #0d47a1;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

@media (max-width: 1024px) {
    .accessories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .menu-overlay {
        display: none;
    }

    .menu-overlay.active {
        display: block;
    }

    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .accessory-item {
        padding: 12px;
    }

    .category-title {
        font-size: 1.1em;
    }
}


