/* ===================================
   PRELOADER
   =================================== */

   .preloader {
    position: fixed;
    inset: 0;
    background: #0a2540;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

/* Pulsing logo */
.preloader-logo {
    height: clamp(30px, 5vh, 48px);
    width: auto;
    animation: preloader-pulse 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(94, 136, 147, 0.45));
}

@keyframes preloader-pulse {
    0%, 100% { opacity: 1;   transform: scale(1);    }
    50%        { opacity: 0.55; transform: scale(0.96); }
}

/* Progress bar track */
.preloader-bar-wrap {
    width: clamp(200px, 40vw, 320px);
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
}

/* Animated fill */
.preloader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #5E8893 0%, #84a1c9 100%);
    border-radius: 4px;
    transition: width 0.35s ease;
    position: relative;
}

/* Subtle shimmer on the fill */
.preloader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
    animation: preloader-shimmer 1.4s linear infinite;
}

@keyframes preloader-shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%);  }
}

/* Percentage label */
.preloader-percent {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
}
/* ===================================
   FONT DECLARATIONS
   =================================== */

   @font-face {
    font-family: 'Söhne';
    src: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/fonts/sohne-buch.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Söhne';
    src: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/fonts/sohne-kraftig.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Söhne';
    src: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/fonts/sohne-halbfett-kursiv.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Söhne';
    src: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/fonts/sohne-dreiviertelfett.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Söhne';
    src: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/fonts/sohne-extrafett.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ===================================
   GLOBAL STYLES
   =================================== */

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

.logo {
    position: fixed;
    top: 70px;
    left: 85px;
    height: 4vh;
    width: auto;
    z-index: 1001;
}

body {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0a2540;
    color: #1a1a1a;
    line-height: 1.6;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0a2540;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 0.5s ease-in-out;
    overflow: hidden;
}

/* Border frame for all pages */
.container::before {
    content: '';
    position: fixed;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
    box-shadow:
        0px 3px 20px 0px rgba(0, 136, 255, 0.25),
        inset 0px 10px 40px 0px rgba(0, 37, 76, 0.3),
        inset 0px -10px 40px 0px rgba(0, 37, 76, 0.2),
        inset 10px 0px 40px 0px rgba(0, 37, 76, 0.2),
        inset -10px 0px 40px 0px rgba(0, 37, 76, 0.2);
}

/* Default/Running background */
.container.bg-running {
    background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/as1.webp');
    background-size: cover;
    background-position: center center;
}

/* Walking background */
.container.bg-walking {
    background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/as3.webp');
    background-size: cover;
    background-position: center center;
}

.container.bg-running-question {
    background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/as4.webp');
    background-size: cover;
    background-position: center center;
}

.container.bg-results {
    background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/as5.webp');
    background-size: cover;
    background-position: center center;
}

.container>* {
    position: relative;
    z-index: 2;
}

/* ===================================
   START PAGE - SPECIAL DESIGN
   =================================== */

.start-page {
    position: fixed;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    width: auto;
    height: auto;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for start page */
.start-page::-webkit-scrollbar {
    width: 6px;
}

.start-page::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.start-page::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.start-page::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Close button */
.close-button {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    opacity: 0.6;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    opacity: 1;
}

.close-button::before,
.close-button::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 2px;
    background: white;
    border-radius: 10px;
}

.close-button::before {
    transform: rotate(45deg);
}

.close-button::after {
    transform: rotate(-45deg);
}

.start-content {
    max-width: 1400px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.start-main-title {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 38px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 100%;
    letter-spacing: 0%;
}

.start-question {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 100%;
    letter-spacing: 0%;
}

.device-selection {
    display: grid;
    grid-template-columns: repeat(2, minmax(450px, 550px));
    gap: 30px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
}

.device-card {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 32px 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Background gradient instead of image */
.device-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: transform 0.4s ease;
}

/* VERY LIGHT glass overlay */
.device-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.12));
    border-radius: inherit;
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 1;
}

/* Card-specific gradient backgrounds */
.device-card:nth-child(1)::before {
    background: linear-gradient(135deg,
            rgba(94, 136, 147, 0.15) 0%,
            rgba(94, 136, 147, 0.08) 50%,
            rgba(255, 255, 255, 0.05) 100%);
}

.device-card:nth-child(2)::before {
    background: linear-gradient(135deg,
            rgba(132, 161, 201, 0.15) 0%,
            rgba(132, 161, 201, 0.08) 50%,
            rgba(255, 255, 255, 0.05) 100%);
}

/* Hover */
.device-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.device-card:hover::before {
    transform: scale(1.05);
}

.device-card:hover::after {
    opacity: 0.85;
}

/* Content layer */
.device-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.device-title {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 18px;
    text-align: left;
    line-height: 100%;
    letter-spacing: 0%;
}

.device-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    text-align: left;
}

.device-features li {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0%;
}

.device-features li:last-child {
    margin-bottom: 0;
}

/* ===================================
   DEVICE IMAGES - CLASS-BASED STYLING
   =================================== */

.device-image {
    position: absolute;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.treadmill-image {
    top: 54%;
    transform: translateY(-50%);
    width: 280px;
    height: 380px;
    right: 0px;
}

.treadmill-image img {
    width: 100%;
    height: 100%;
    max-width: 310px;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
}

.walkingpad-image {
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    height: 500px;
    right: 0px;
}

.walkingpad-image img {
    width: 100%;
    height: 100%;
    max-width: 350px;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.device-button {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #5E8893;
    color: white;
    border: 1px solid #ffffff;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    margin-top: 0px;
    line-height: 100%;
    letter-spacing: 0%;
}

.device-button:hover {
    background: #5E8893;
    transform: translateY(-2px);
    box-shadow: #5E8893;
}

.button-icon {
    font-size: 22px;
}

.button-arrow {
    font-size: 24px;
    margin-left: 10px;
}

/* ===================================
   RESTART BUTTON STYLING
   =================================== */

.content-restart-button {
    position: fixed;
    z-index: 1001;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-restart-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.content-restart-button:active {
    transform: translateY(0);
}

/* ===================================
   PROGRESS DOTS
   =================================== */

.progress-container {
    position: fixed;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.progress-dot.completed {
    background: #4CAF50;
}

/* ===================================
   MAIN CONTENT LAYOUT - DESKTOP
   =================================== */

.main-content {
    position: fixed;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    z-index: 10;
    max-width: none;
    margin: 0;
    padding: 40px 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    overflow: hidden;
    transform: none;
}

.hero-section {
    flex: 1;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.hero-title {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    margin-bottom: -150px;
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 700px;
    max-width: 700px;
    object-fit: contain;
    filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.5));
}

/* Question Container - Desktop Auto-Adjust */
.question-container {
    background: #F5F7F9;
    border-radius: 12px;
    padding: 0;
    width: 100%;
    max-width: 450px;
    min-height: auto;
    max-height: 85vh;
    height: fit-content;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
    border: 3px solid transparent;
    background-image:
        linear-gradient(to right, #5E8893, #5E8893),
        linear-gradient(to right, #5E8893, #5E8893),
        linear-gradient(to bottom,
            #5E8893 0%,
            #5E8893 35%,
            transparent 50%,
            #5E8893 65%,
            #5E8893 100%),
        linear-gradient(to bottom,
            #5E8893 0%,
            #5E8893 35%,
            transparent 50%,
            #5E8893 65%,
            #5E8893 100%),
        linear-gradient(#ffffff, #ffffff);
    background-origin: border-box;
    background-clip: padding-box, padding-box, padding-box, padding-box, padding-box;
    background-position:
        top left,
        bottom left,
        left top,
        right top,
        center;
    background-size:
        100% 2px,
        100% 2px,
        2px 100%,
        2px 100%,
        100% 100%;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Custom scrollbar for question container */
.question-container::-webkit-scrollbar {
    width: 0px;
}

.question-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    margin: 10px 0;
}

.question-container::-webkit-scrollbar-thumb {
    background: #5E8893;
    border-radius: 10px;
}

.question-container::-webkit-scrollbar-thumb:hover {
    background: #4a7a9a;
}

/* Restart button inside question container */
.question-container .content-restart-button {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background-color: #5E8893;
    opacity: 60%;
    color: #FFFFFF;
    border: 1px solid #5E8893;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.question-container .content-restart-button::before {
    content: "↻";
    font-size: 15px;
    font-weight: 500;
}

.question-container .content-restart-button:hover {
    background-color: rgba(90, 143, 180, 0.3);
    transform: translateY(-2px);
}

.question-container .content-restart-button:active {
    transform: translateY(0);
}

.progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin-bottom: 0;
    flex-shrink: 0;
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #5E8893 0%, #5E8893 100%);
    border-radius: 12px 34px 34px 0;
    transition: width 0.4s ease;
    width: 0%;
}

/* ===================================
   QUESTION SECTION
   =================================== */

.question-section {
    margin-bottom: 20px;
    margin-top: 0px;
    padding: 50px 50px 0 50px;
    flex-shrink: 0;
}

.question-intro {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
    display: block;
}

.question-text {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 35px;
}

/* ===================================
   OPTIONS GRID - DESKTOP
   =================================== */

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
    max-height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 50px;
    padding-right: 44px;
    flex: 0 0 auto;
}

.option-card {
    position: relative;
    background: #f8f9fa;
    border: 2px solid #ffffff;
    border-radius: 6px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 70px;
    flex-shrink: 0;
}

.option-card::before {
    content: "";
    position: absolute;
    inset: 0px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    pointer-events: none;
}

.option-card:hover {
    background: #ffffff;
    border: 2px solid #5E8893;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 143, 180, 0.15);
}

.option-card.selected {
    background: #ffffff;
    border-color: #5E8893;
    box-shadow: 0 4px 12px rgba(90, 143, 180, 0.2);
}

.radio-indicator {
    width: 24px;
    height: 24px;
    border: 2px dotted #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    order: 3;
}

.option-card.selected .radio-indicator {
    border-color: #5E8893;
    background: #5E8893;
}

.option-card.selected .radio-indicator::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.option-icon-container {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.option-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.option-icon-fallback {
    font-size: 32px;
}

.option-content {
    flex: 1;
    order: 2;
}

.option-title {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
}

.option-subtitle {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.options-grid::-webkit-scrollbar {
    width: 6px;
}

.options-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.options-grid::-webkit-scrollbar-thumb {
    background: #5E8893;
    border-radius: 10px;
}

.options-grid::-webkit-scrollbar-thumb:hover {
    background: #84a1c9;
}

/* ===================================
   NAVIGATION BUTTONS
   =================================== */

.nav-buttons {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 0 50px 40px 50px;
}

.btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-back {
    background: #ffffff;
    color: #5E8893;
    border: 1px solid #5E8893;
}

.btn-back:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-next {
    background: #5E8893;
    color: white;
}

.btn-next:hover:not(:disabled) {
    background: #5E8893;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #5E8893;
}

.btn-next:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ===================================
   RESULTS CONTAINER - DESKTOP
   =================================== */

.results-container {
    position: fixed;
    top: 45px;
    left: 45px;
    right: 45px;
    bottom: 45px;
    display: flex;
    flex-direction: column;
    padding: 40px;
    padding-top: 80px;
    overflow: visible;
    z-index: 10;
}

.results-top-bar {
    display: none;
}

.result-card .btn-back-mobile {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-decoration: none;
    border: 2px solid #5E8893;
    background-color: #ffffff;
    color: #5E8893;
    box-shadow: 0 4px 12px rgba(90, 143, 180, 0.15);
}

.result-card .btn-back-mobile:hover {
    background-color: #5E8893;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(90, 143, 180, 0.25);
}

.result-card .results-restart {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background-color: #5E8893;
    opacity: 80%;
    color: #FFFFFF;
    border: 1px solid #5E8893;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.result-card .results-restart:hover {
    background-color: rgba(90, 143, 180, 0.3);
    transform: translateY(-2px);
}

.result-card .results-restart:active {
    transform: translateY(0);
}

.results-header {
    text-align: center;
    margin-bottom: 0px;
    flex-shrink: 0;
}

.results-header h2 {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* DESKTOP: Row layout - Image LEFT, Card RIGHT */
.results-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 4vw, 60px);
    width: 100%;
    height: 100%;
    margin: 0;
    flex: 1;
}

.result-card-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    width: 100%;
    flex-shrink: 0;
    justify-content: flex-end;
}

.result-card-buttons .results-restart {
    position: relative;
    top: auto;
    right: auto;
}

.result-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    width: min(500px, 38vw);
    max-width: 500px;
    min-height: 300px;
    max-height: 70vh;
    height: auto;
    border: 3px solid transparent;
    background-image:
        linear-gradient(to right, #5E8893, #5E8893),
        linear-gradient(to right, #5E8893, #5E8893),
        linear-gradient(to bottom,
            #5E8893 0%,
            #5E8893 35%,
            transparent 50%,
            #5E8893 65%,
            #5E8893 100%),
        linear-gradient(to bottom,
            #5E8893 0%,
            #5E8893 35%,
            transparent 50%,
            #5E8893 65%,
            #5E8893 100%),
        linear-gradient(#ffffff, #ffffff);
    background-origin: border-box;
    background-clip: padding-box, padding-box, padding-box, padding-box, padding-box;
    background-position:
        top left,
        bottom left,
        left top,
        right top,
        center;
    background-size:
        100% 2px,
        100% 2px,
        2px 100%,
        2px 100%,
        100% 100%;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    opacity: 1;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    order: 2;
}

/* Custom scrollbar for result card */
.result-card::-webkit-scrollbar {
    width: 8px;
}

.result-card::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    margin: 10px 0;
}

.result-card::-webkit-scrollbar-thumb {
    background: #5E8893;
    border-radius: 10px;
}

.result-card::-webkit-scrollbar-thumb:hover {
    background: #4a7a9a;
}

.result-card:hover {
    transform: translateY(-4px);
}

.result-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    font-weight: 500;
    overflow: visible;
    padding-right: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    max-height: none;
}

.result-content::-webkit-scrollbar {
    width: 0px;
}

.result-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.result-content::-webkit-scrollbar-thumb {
    background: #5E8893;
    border-radius: 10px;
}

.result-content::-webkit-scrollbar-thumb:hover {
    background: #4a7a9a;
}

.result-features {
    list-style: none;
    margin: 0 0 32px 0;
    padding: 0;
    padding-right: 10px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(70vh - 280px);
}

.result-features li {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    padding: 14px 0 14px 36px;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    border-bottom: 1px solid #f1f1f1;
}

.result-features li:last-child {
    border-bottom: none;
}

.result-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    background-image: url('charm_circle-tick.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
}

.result-features li::after {
    content: none;
}

.result-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
    margin-bottom: 20px;
    flex-shrink: 0;
    gap: 16px;
}

.result-name {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    flex: 1;
    min-width: 0;
}

.result-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
    flex-shrink: 0;
}

.result-price-original {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    text-decoration: line-through;
    color: #999;
}

.result-price {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 35px;
    letter-spacing: 0%;
    text-align: right;
    color: #e3002b;
}

.result-actions-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    flex-shrink: 0;
    background: #ffffff;
    position: relative;
    bottom: auto;
    z-index: 5;
}

.product-link {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #5E8893;
    border: 2px solid #5E8893;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(90, 143, 180, 0.25);
    flex: 1;
}

.product-link::after {
    content: "";
    width: 18px;
    height: 18px;
    margin-left: 4px;
    background-image: url('arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.product-link:hover {
    background: #5e8893;
    border-color: #5e8893;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(90, 143, 180, 0.35);
}

/* Image Container - LEFT side on desktop */
.result-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    flex: 1;
    flex-shrink: 0;
    order: 1;
    gap: 20px;
}

.result-image-title {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    text-align: left;
    z-index: 2;
    padding: 0;
    width: 100%;
}

.result-image-title h2 {
    font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 42px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 1.2;
}

.result-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.result-image img {
    width: min(600px, 42vw);
    height: auto;
    max-height: 60vh;
    object-fit: contain;
}

/* ===================================
   COMBO CARD STYLES - DESKTOP
   =================================== */

.result-card--combo {
    width: 100%;
    max-width: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 200px);
}

.result-card--combo .result-content {
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Combo-specific styling */
.combo-grid {
    margin-top: 0px;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    max-height: 350px;
    display: flex;
    flex-direction: column;
}

.combo-grid-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 2;
    flex-shrink: 0;
}

.combo-grid-body {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

.combo-grid-body::-webkit-scrollbar {
    width: 5px;
}

.combo-grid-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.combo-grid-body::-webkit-scrollbar-thumb {
    background: #5E8893;
    border-radius: 10px;
}

.combo-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
}

.combo-grid-cell {
    padding: 14px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    vertical-align: top;
}

.combo-grid-cell:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.combo-grid-cell:empty {
    background: #f8f8f8;
}

.result-title-row--combo {
    flex-wrap: wrap;
}

.result-title-row--combo .result-name {
    font-size: 22px;
    line-height: 1.3;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE - TABLETS PORTRAIT (768px - 1024px)
   =================================== */

@media screen and (max-width: 1024px) and (orientation: portrait) {
    .logo {
        top: 45px;
        left: 45px;
        height: 3vh;
    }

    .container::before {
        top: 25px;
        left: 25px;
        right: 25px;
        bottom: 25px;
        border-width: 4px;
        border-radius: 16px;
    }

    /* Start Page - Tablet */
    .start-page {
        top: 25px;
        left: 25px;
        right: 25px;
        bottom: 25px;
        padding: 30px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .close-button {
        top: 25px;
        right: 25px;
        width: 25px;
        height: 25px;
    }

    .start-content {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .start-main-title {
        font-size: clamp(24px, 3vw, 28px);
        margin-bottom: 12px;
    }

    .start-question {
        font-size: clamp(16px, 2.5vw, 16px);
        margin-bottom: 15px;
    }

    .device-selection {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 650px;
        margin: 0 auto;
        padding: 0px 20px 0px 20px;
    }

    .device-card {
        height: auto;
        min-height: auto;
        max-height: 300px;
        padding: clamp(14px, 2vw, 16px);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .device-card-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 220px;
        max-height: 28vh;
    }

    .device-title {
        font-size: clamp(18px, 2.5vw, 20px);
        margin-bottom: clamp(8px, 1.2vw, 10px);
        flex-shrink: 0;
    }

    .device-features {
        margin-bottom: auto;
        flex: 1;
        overflow: hidden;
    }

    .device-features li {
        font-size: clamp(11px, 1.6vw, 12px);
        margin-bottom: clamp(0px, 0vw, 0px);
        line-height: 0;
    }

    .device-button {
        padding: clamp(7px, 1vw, 8px) clamp(14px, 2vw, 16px);
        font-size: clamp(12px, 1.6vw, 13px);
        flex-shrink: 0;
    }

    .treadmill-image {
        top: auto;
        bottom: clamp(30px, 5vh, 40px);
        transform: none;
        width: clamp(110px, 20vw, 220px);
        height: clamp(100px, 20vh, 180px);
        right: clamp(80px, 0vw, 5px);
    }

    .treadmill-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .walkingpad-image {
        top: auto;
        bottom: clamp(30px, 5vh, 40px);
        transform: none;
        width: clamp(140px, 25vw, 240px);
        height: clamp(150px, 25vh, 210px);
        right: clamp(80px, 2vw, 18px);
    }

    .walkingpad-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    /* Main Content */
    .main-content {
        position: fixed;
        top: 25px;
        left: 25px;
        right: 25px;
        bottom: 25px;
        flex-direction: column;
        padding: 60px 30px 30px 30px;
        gap: 0px;
        justify-content: flex-start;
        overflow: hidden;
        width: auto;
        height: auto;
        max-width: none;
        margin: 0;
        transform: none;
    }

    .hero-section {
        max-width: 100%;
        width: 100%;
        flex: 0 0 auto;
        flex-shrink: 0;
        overflow: hidden;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 26px;
        text-align: center;
        width: 100%;
        margin-bottom: 0;
    }

    .hero-image {
        margin-bottom: 0;
        padding: 5px 0;
        width: 100%;
    }

    .hero-image img {
        max-height: 35vh;
        max-width: 100%;
        width: auto;
        margin: 0 auto;
        display: block;
    }

    .question-container {
        position: relative;
        max-width: 100%;
        width: 80%;
        max-height: max-content;
        height: auto;
        flex: 1;
        overflow-y: hidden;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        padding-right: 0;
        margin: 0 auto;
    }

    .question-container::-webkit-scrollbar {
        width: 0px;
    }

    .question-container .content-restart-button {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .question-section {
        padding: 35px 35px 0 35px;
        flex-shrink: 0;
        margin-bottom: 0px;
    }

    .question-intro {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .question-text {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .options-grid {
        padding: 0 35px;
        gap: 3px;
        max-height: 45vh;
        margin-bottom: 15px;
        overflow-y: auto;
        overflow-x: hidden;
        flex: 0 1 auto;
    }

    .options-grid::-webkit-scrollbar {
        width: 5px;
    }

    .options-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
        margin: 4px 0;
    }

    .options-grid::-webkit-scrollbar-thumb {
        background: #5E8893;
        border-radius: 10px;
    }

    .options-grid::-webkit-scrollbar-thumb:hover {
        background: #4a7a9a;
    }

    .option-card {
        min-height: 55px;
        padding: 10px 18px;
        gap: 14px;
        margin-top: 2px;
    }

    .option-icon-container {
        width: 42px;
        height: 42px;
    }

    .option-title {
        font-size: 15px;
    }

    .option-subtitle {
        font-size: 13px;
    }

    .radio-indicator {
        width: 22px;
        height: 22px;
    }

    .nav-buttons {
        padding: 0 35px 25px 35px;
        gap: 12px;
        flex-shrink: 0;
    }

    .btn {
        padding: 6px 16px;
        font-size: 14px;
    }

    .progress-container {
        top: 60px;
        padding: 14px 24px;
        gap: 12px;
    }

    .progress-dot {
        width: 12px;
        height: 12px;
    }

    /* Results - Tablet Portrait - VERTICAL STACK */
    .results-container {
        position: fixed;
        top: 25px;
        left: 25px;
        right: 25px;
        bottom: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 30px;
        padding-top: 40px;
        overflow: hidden;
        height: auto;
        width: auto;
    }

    .results-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        height: auto;
        max-height: calc(100% - 20px);
        margin: 0;
        overflow: visible;
        flex: 1;
    }

    .result-image-container {
        max-width: 100%;
        height: auto;
        min-height: auto;
        width: 100%;
        order: 1;
        flex-shrink: 0;
        overflow: visible;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        padding: 0 20px;
        gap: 25px;
    }

    .result-image-title {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        text-align: center;
        width: 100%;
        z-index: 2;
        padding: 0;
        margin-bottom: 0;
    }

    .result-image-title h2 {
        font-size: 26px;
        line-height: 1.2;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .result-image {
        margin-top: 0;
        height: auto;
        max-height: 180px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }

    .result-image img {
        max-height: 240px;
        max-width: 350px;
        height: auto;
        width: auto;
        margin: 0 auto;
        object-fit: contain;
    }

    .result-card {
        order: 2;
        max-width: 90%;
        width: min(600px, 90vw);
        max-height: 55vh;
        height: auto;
        padding: 25px 30px;
        margin: 0 auto;
        flex: 0 1 auto;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .result-card::-webkit-scrollbar {
        width: 5px;
    }

    .result-card .results-restart {
        position: absolute;
        top: 20px;
        right: 25px;
        padding: 7px 25px;
        font-size: 11px;
    }

    .result-content {
        max-height: none;
        overflow-y: visible;
        overflow-x: hidden;
        padding-right: 0;
        flex: 1;
    }

    .result-title-row {
        flex-direction: row;
        gap: 12px;
        align-items: flex-start;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .result-name {
        font-size: 22px;
    }

    .result-price-container {
        align-items: flex-end;
    }

    .result-price {
        font-size: 20px;
        text-align: right;
    }

    .result-features {
        max-height: calc(60vh - 240px);
        overflow-y: auto;
        padding-right: 10px;
        margin: 0 0 0px 0;

    }

    .result-price-original {
        font-size: 16px;
        text-align: right;
    }

    .result-features li {
        font-size: 13px;
        padding: 10px 0 10px 30px;
    }

    .result-features li::before {
        width: 18px;
        height: 18px;
    }

    .result-actions-row {
        flex-direction: row;
        gap: 12px;
        padding-top: 15px;
        position: relative;
    }

    .product-link,
    .result-card .btn-back-mobile {
        width: 100%;
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Combo cards */
    .result-card--combo {
        max-width: 90%;
    }

    .combo-grid {
        max-height: none;
    }

    .combo-grid-head {
        font-size: 14px;
        padding: 12px 16px;
    }

    .combo-grid-cell {
        padding: 10px 12px;
        font-size: 12px;
    }

    .result-title-row--combo .result-name {
        font-size: 18px;
    }
    .device-features li img, .device-features li svg {
        width: 25px;
        height: 25px;
        min-width: 25px;
    }
    .result-card-buttons {
        display: flex;
        gap: 12px;
        margin-bottom: 30px;
        width: 100%;
        flex-shrink: 0;
        justify-content: flex-end;
    }
}


/* ===================================
   RESPONSIVE - MOBILE PORTRAIT (320px - 767px)
   =================================== */

@media screen and (max-width: 767px) and (orientation: portrait) {
    .container::before {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        border-width: 3px;
        border-radius: 15px;
    }

    .container.bg-running {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as1-mob.webp');
    }

    .container.bg-walking {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as3-mob.webp');
    }

    .container.bg-running-question {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as2-mob.webp');
    }

    .container.bg-results {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as2-mob.webp');
    }

    .logo {
        top: 35px;
        left: 35px;
        height: 3vh;
    }

    /* Start Page - Mobile Portrait */
    .start-page {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 50px 18px 20px;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .close-button {
        top: 22px;
        right: 22px;
        width: 22px;
        height: 22px;
    }

    .start-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .start-main-title {
        font-size: clamp(18px, 5vw, 26px);
        margin-bottom: 6px;
        line-height: 1.2;
    }

    .start-question {
        font-size: clamp(14px, 3vw, 18px);
        margin-bottom: 14px;
    }

    /* Two cards stacked, full width */
    .device-selection {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .device-card {
        height: auto;
        min-height: 185px;
        max-height: none;
        padding: 16px 14px 14px;
        overflow: visible;
        border-radius: 10px;
    }

    .device-card-content {
        display: flex;
        flex-direction: column;
        min-height: 165px;
        height: 100%;
        overflow: visible;
    }

    .device-title {
        font-size: clamp(18px, 4vw, 22px);
        margin-bottom: 10px;
    }

    .device-features {
        flex: 1;
        margin-bottom: 10px;
        overflow: visible;
    }

    .device-features li {
        font-size: clamp(12px, 2.5vw, 13px);
        margin-bottom: 6px;
        line-height: 1.2;
        gap: 8px;
    }

    .device-features li img,
    .device-features li svg {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px;
        flex-shrink: 0;
    }

    .device-button {
        padding: 5px 18px;
        font-size: clamp(12px, 2.5vw, 15px);
        margin-top: auto;
        flex-shrink: 0;
        border-radius: 50px;
        position: relative;
        z-index: 10;
    }

    /* Product images on cards */
    .treadmill-image {
        top: auto;
        bottom: 30px;
        right: 10px;
        transform: none;
        width: clamp(130px, 22vw, 130px);
        height: clamp(110px, 22vh, 150px);
    }

    .treadmill-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .walkingpad-image {
        top: auto;
        bottom: 30px;
        right: 30px;
        transform: none;
        width: clamp(140px, 28vw, 160px);
        height: clamp(120px, 22vh, 150px);
    }

    .walkingpad-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Main Content - Mobile Portrait */
    .main-content {
        position: fixed;
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        flex-direction: column;
        padding: 50px 20px 20px 20px;
        gap: 0px;
        justify-content: flex-start;
        overflow: hidden;
        width: auto;
        height: auto;
        max-width: none;
        margin: 0;
        transform: none;
    }

    .hero-section {
        max-width: 100%;
        width: 100%;
        flex: 0 0 auto;
        flex-shrink: 0;
        overflow: hidden;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 20px;
        text-align: center;
        width: 100%;
    }

    .hero-image {
        margin-bottom: 0;
        padding: 15px 0;
        width: 100%;
    }

    .hero-image img {
        max-height: 30vh;
        max-width: 100%;
        width: auto;
        margin: 0 auto;
        display: block;
    }

    .question-container {
        position: relative;
        max-width: 100%;
        width: 100%;
        max-height: max-content;
        height: auto;
        flex: 1;
        overflow-y: hidden;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        padding-right: 0;
        margin: 0 auto;
    }

    .question-container::-webkit-scrollbar {
        width: 0px;
    }

    .question-container .content-restart-button {
        top: 15px;
        right: 15px;
        padding: 4px 10px;
        font-size: 10px;
    }

    .question-section {
        padding: 25px 30px 0 30px;
        flex-shrink: 0;
        margin-bottom: 0px;
    }

    .question-intro {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .question-text {
        font-size: 14px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .options-grid {
        padding: 0 30px;
        padding-right: 30px;
        gap: 0px;
        max-height: 45vh;
        margin-bottom: 10px;
        overflow-y: auto;
        flex: 0 1 auto;
    }

    .option-card {
        min-height: 60px;
        padding: 6px 14px;
        gap: 4px;
    }

    .option-icon-container {
        width: 44px;
        height: 44px;
    }

    .option-title {
        font-size: 12px;
    }

    .option-subtitle {
        font-size: 12px;
    }

    .radio-indicator {
        width: 20px;
        height: 20px;
    }

    .nav-buttons {
        padding: 10px 30px 20px 30px;
        gap: 12px;
        flex-shrink: 0;
    }

    .btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .progress-container {
        top: 50px;
        padding: 12px 20px;
        gap: 10px;
    }

    .progress-dot {
        width: 10px;
        height: 10px;
    }

    /* Results - Mobile Portrait - VERTICAL STACK */
    .results-container {
        position: fixed;
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        padding-top: 60px;
        overflow: hidden;
        height: auto;
        width: auto;
    }

    .results-grid {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-height: calc(100% - 20px);
        margin: 0 auto;
        overflow: visible;
        flex: 1;
    }

    .result-image-container {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: none;
        order: 1;
        flex-shrink: 0;
        overflow: visible;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        padding: 0 10px;
        gap: 20px;
    }

    .result-image-title {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        text-align: center;
        width: 100%;
        z-index: 2;
        padding: 0;
        margin-bottom: 0;
    }

    .result-image-title h2 {
        font-size: 20px;
        text-align: center;
        padding-right: 0;
        line-height: 1.2;
    }

    .result-image {
        margin-top: 0;
        width: 100%;
        height: auto;
        max-height: 130px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }

    .result-image img {
        max-height: 180px;
        height: auto;
        width: auto;
        max-width: 200px;
        margin: 0 auto;
        object-fit: contain;
    }

    .result-card {
        order: 2;
        max-width: 100%;
        width: 100%;
        max-height: 58vh;
        height: auto;
        padding: 20px 15px;
        margin: 0 auto;
        flex: 0 1 auto;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .result-card::-webkit-scrollbar {
        width: 4px;
    }

    .result-card .results-restart {
        top: 12px;
        right: 12px;
        padding: 6px 20px;
        font-size: 10px;
    }
    .result-card-buttons {
        display: flex;
        gap: 12px;
        margin-bottom: 24px;
        width: 100%;
        flex-shrink: 0;
        justify-content: flex-end;
    }
    .result-content {
        max-height: none;
        overflow-y: visible;
        overflow-x: hidden;
        padding-right: 0;
        flex: 1;
    }

    .result-title-row {
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .result-name {
        font-size: 18px;
    }

    .result-price-container {
        align-items: flex-end;
    }

    .result-price {
        font-size: 18px;
        text-align: right;
    }

    .result-price-original {
        font-size: 14px;
        text-align: right;
    }

    .result-features {
        max-height: calc(58vh - 220px);
        overflow-y: auto;
        padding-right: 8px;
        margin-bottom: 0px;
    }

    .result-features li {
        font-size: 11px;
        padding: 7px 0 7px 26px;
    }

    .result-features li::before {
        width: 16px;
        height: 16px;
    }

    .result-actions-row {
        flex-direction: row;
        gap: 10px;
        padding-top: 10px;
        position: relative;
    }

    .product-link,
    .result-card .btn-back-mobile {
        width: 100%;
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Combo cards */
    .result-card--combo {
        max-width: 100%;
    }

    .combo-grid {
        max-height: none;
    }

    .combo-grid-head {
        font-size: 13px;
        padding: 10px 12px;
    }

    .combo-grid-cell {
        padding: 8px 10px;
        font-size: 11px;
    }

    .result-title-row--combo .result-name {
        font-size: 16px;
    }
    .option-card.selected .radio-indicator::after {
        content: "✓";
        color: white;
        font-size: 12px;
        font-weight: bold;
    }
    .product-link::after {
        content: "";
        width: 16px;
        height: 16px;
        margin-left: 4px;
        background-image: url(arrow.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        display: inline-block;
    }
}

/* ===================================
   EXTRA SMALL MOBILE (320px - 400px)
   =================================== */

@media screen and (max-width: 400px) {
    .container::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-width: 2px;
    }

    .container.bg-running {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as1-mob.webp');
    }

    .container.bg-walking {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as3-mob.webp');
    }

    .container.bg-running-question {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as2-mob.webp');
    }

    .container.bg-results {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as2-mob.webp');
    }

    .logo {
        top: 30px;
        left: 30px;
        height: 2.5vh;
    }

    .start-page {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 25px 15px;
        padding-top: 50px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .close-button {
        top: 20px;
        right: 20px;
        width: 20px;
        height: 20px;
    }

    .start-content {
        margin-top: 0;
        padding: 0;
    }

    .start-main-title {
        font-size: clamp(16px, 5vw, 20px);
        margin-bottom: 8px;
    }

    .start-question {
        font-size: clamp(10px, 4vw, 16px);
        margin-bottom: 10px;
    }

    .device-selection {
        padding: 20px;
        gap: clamp(10px, 2vw, 12px);
        max-width: 100%;
    }

    .device-card {
        height: clamp(220px, 36vh, 280px);
        max-height: 25vh;
        padding-top: clamp(10px, 3vw, 14px);
        padding-right: clamp(8px, 2.5vw, 12px);
        padding-bottom: clamp(50px, 8vw, 60px);
        padding-left: clamp(8px, 2.5vw, 12px);
        border-radius: 12px;
    }

    .device-card-content {
        min-height: 180px;
        max-height: 30vh;
    }

    .device-title {
        font-size: clamp(15px, 4.8vw, 16px);
        margin-bottom: clamp(5px, 1.5vw, 8px);
    }

    .device-features {
        margin-bottom: auto;
    }

    .device-features li {
        font-size: clamp(9px, 2.8vw, 11px);
        margin-bottom: clamp(2px, 0.8vw, 4px);
        line-height: 100%;
        gap: clamp(4px, 1vw, 6px);
    }

    .device-features li::before {
        width: clamp(12px, 3.2vw, 16px);
        height: clamp(12px, 3.2vw, 16px);
    }

    .device-features li img,
    .device-features li svg {
        width: clamp(12px, 3.2vw, 16px);
        height: clamp(12px, 3.2vw, 16px);
    }

    .device-button {
        padding: clamp(0px, 1vw, 2px) clamp(10px, 3vw, 14px);
        font-size: clamp(10px, 2vw, 12px);
        gap: clamp(4px, 1vw, 6px);
        flex-shrink: 0;
        margin-top: auto;
        position: relative;
        z-index: 10;
    }

    .treadmill-image {
        width: clamp(85px, 31vw, 115px);
        height: clamp(150px, 20vh, 150px);
        right: 0px;
        bottom: clamp(25px, 5vh, 35px);
    }

    .walkingpad-image {
        width: clamp(190px, 32vw, 165px);
        height: clamp(145px, 20vh, 185px);
        right: clamp(2px, 1vw, 8px);
        bottom: clamp(20px, 4vh, 28px);
    }

    .treadmill-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .walkingpad-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .main-content {
        position: fixed;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 70px 15px 15px 15px;
        width: auto;
        height: auto;
        max-width: none;
        overflow: hidden;
    }

    .hero-image img {
        max-height: 22vh;
    }

    .question-container {
        flex: 1;
        overflow-y: auto;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-image img {
        max-height: 300px;
    }

    .question-section {
        padding: 25px 20px 0 20px;
    }

    .question-text {
        font-size: 13px;
    }

    .question-container .content-restart-button {
        top: 15px;
        right: 15px;
        padding: 4px 15px;
        font-size: 9px;
    }

    .options-grid {
        padding: 0 20px;
    }

    .option-card {
        padding: 4px 10px;
        min-height: 50px;
        margin-top: 0px;
    }

    .option-icon-container {
        width: 40px;
        height: 40px;
    }

    .option-title {
        font-size: 11px;
    }

    .option-subtitle {
        font-size: 12px;
    }

    .radio-indicator {
        width: 18px;
        height: 18px;
    }

    .nav-buttons {
        padding: 0 20px 20px 20px;
    }

    .btn {
        font-size: 10px;
        padding: 6px 14px;
    }

    .option-card.selected .radio-indicator::after {
        content: "✓";
        color: white;
        font-size: 10px;
        font-weight: bold;
    }

    /* Results - Extra Small */
    .results-container {
        position: fixed;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 15px;
        padding-top: 60px;
        overflow: hidden;
        height: auto;
        width: auto;
    }

    .results-grid {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-height: calc(100% - 10px);
        margin: 0 auto;
        overflow: visible;
        flex: 1;
    }

    .result-image-container {
        width: 100%;
        height: auto;
        max-height: none;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        flex-shrink: 0;
        position: relative;
        padding: 0 5px;
        gap: 20px;
    }

    .result-image-title {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        text-align: center;
        width: 100%;
        z-index: 2;
        padding: 0;
        margin-bottom: 0;
    }

    .result-image-title h2 {
        font-size: 17px;
        line-height: 1.2;
        text-align: center;
    }

    .result-image {
        height: auto;
        max-height: 100px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }

    .result-image img {
        max-height: 145px;
        height: auto;
        width: auto;
        max-width: 160px;
        margin: 0 auto;
        object-fit: contain;
    }
    .result-card {
        flex: 0 1 auto;
        max-height: 60vh;
        padding: 18px 15px 12px 15px;
        margin: 0 auto;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }
    .result-card-buttons {
        display: flex;
        gap: 12px;
        margin-bottom: 18px;
        width: 100%;
        flex-shrink: 0;
        justify-content: flex-end;
    }
    .result-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: visible;
        padding-right: 0;
        max-width: 100%;
        min-height: 0;
    }

    .result-title-row {
        flex-shrink: 0;
        margin-bottom: 10px;
    }

    .result-name {
        font-size: 16px;
    }

    .result-price {
        font-size: 16px;
    }

    .result-price-original {
        font-size: 12px;
    }

    .result-features {
        list-style: none;
        margin: 0;
        padding: 0;
        padding-right: 8px;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 0;
        max-height: none;
        margin-bottom: 0px;
    }

    .result-features li {
        font-size: 11px;
        padding: 7px 0 7px 24px;
    }

    .result-features li::before {
        width: 15px;
        height: 15px;
    }

    .result-features::-webkit-scrollbar {
        width: 4px;
    }

    .result-features::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .result-features::-webkit-scrollbar-thumb {
        background: #5E8893;
        border-radius: 10px;
    }

    .result-features::-webkit-scrollbar-thumb:hover {
        background: #4a7a9a;
    }

    .result-actions-row {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding-top: 10px;
        flex-shrink: 0;
        background: #ffffff;
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        margin-top: 0;
        border-top: 1px solid #f1f1f1;
        padding-bottom: 0;
    }

    .product-link,
    .result-card .btn-back-mobile {
        font-size: 9px;
        padding: 8px 4px;
    }

    /* Combo cards */
    .result-card--combo {
        max-width: 100%;
        overflow: hidden;
        max-height: 60vh;
    }

    .result-card--combo .result-content {
        overflow: visible;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .result-card--combo .combo-grid {
        flex: 1;
        overflow-y: auto;
        max-height: none;
        padding-right: 4px;
    }
    .result-title-row--combo .result-name {
        font-size: 12px;
    }
}

/* ===================================
   TOUCH DEVICE OPTIMIZATIONS
   =================================== */

@media (hover: none) and (pointer: coarse) {
    .option-card:hover {
        transform: none;
    }

    .option-card:active {
        transform: scale(0.98);
    }

    .btn:hover {
        transform: none;
    }

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

    .device-card:hover {
        transform: none;
    }

    .device-card:active {
        transform: scale(0.98);
    }

    .product-link:hover {
        transform: none;
    }

    .product-link:active {
        transform: scale(0.98);
    }
}


/* ===================================
   LANDSCAPE - TABLET (768px - 1440px) - UPDATED
   =================================== */

   @media screen and (min-width: 768px) and (max-width: 1440px) and (orientation: landscape) {
    .logo {
        top: 45px;
        left: 45px;
        height: 3.5vh;
    }
    .option-icon {
        width: 90%;
        height: 90%;
        object-fit: contain;
    }
    .container::before {
        top: 25px;
        left: 25px;
        right: 25px;
        bottom: 25px;
        border-width: 3px;
    }

    /* Start Page - Tablet Landscape - COMPLETELY FIXED */
    .start-page {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 8px 25px;
        padding-top: 38px;
        overflow-y: auto;
        overflow-x: hidden;
        align-items: center;
    }

    .close-button {
        top: 30px;
        right: 30px;
        width: 25px;
        height: 25px;
    }

    .start-content {
        margin-top: 0;
        padding-top: 0;
        width: 100%;
    }

    .start-main-title {
        font-size: clamp(27px, 2.5vw, 22px);
        margin-bottom: 12px;
    }

    .start-question {
        font-size: clamp(18px, 1.6vw, 14px);
        margin-bottom: 18px;
    }

    .device-selection {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 95%;
        padding: 0 20px;
    }

    /* CRITICAL FIX: Card height and layout */
    .device-card {
        height: auto;
        min-height: auto;
        max-height: calc(100vh - 130px);
        padding: 20px;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }

    .device-card-content {
        min-height: auto;
        max-height: none;
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: visible;
    }

    .device-title {
        font-size: clamp(19px, 2vw, 18px);
        margin-bottom: 6px;
        flex-shrink: 0;
    }

    .device-features {
        margin-bottom: 8px;
        flex: 0 0 auto;
        overflow: visible;
    }

    /* SMALLER ICONS - Key fix */
    .device-features li {
        font-size: clamp(11px, 1.3vw, 12px);
        line-height: 1.3;
        margin-bottom: 3px;
        gap: 6px;
    }

    .device-features li img,
    .device-features li svg {
        width: 33px !important;
        height: 30px !important;
        min-width: 16px;
        flex-shrink: 0;
    }

    .device-button {
        padding: 8px 14px;
        font-size: clamp(10px, 1.5vw, 13px);
        margin-top: auto;
        flex-shrink: 0;
        position: relative;
        z-index: 10;
    }

    /* Device images - FIXED positioning */
    .treadmill-image {
        width: clamp(80px, 20vw, 240px);
        height: clamp(100px, 26vh, 140px);
        right: 10px;
        bottom: 60px;
        top: auto;
        transform: none;
    }

    .walkingpad-image {
        width: clamp(100px, 15vw, 158px);
        height: clamp(80px, 15vh, 110px);
        right: 60px;
        bottom: 60px;
        top: auto;
        transform: none;
    }

    .treadmill-image img{
        width: 135px;
        height: 135px;
        max-width: 140px;
        max-height: 140px;
        object-fit: contain;
    }
    .walkingpad-image img {
        width: 160px;
        height: 160px;
        max-width: 160px;
        max-height: 160px;
        object-fit: contain;
    }

    /* Main Content - Tablet Landscape */
    .main-content {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        flex-direction: row;
        padding: 20px 30px;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    .hero-section {
        flex: 0 0 45%;
        max-width: 45%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 10px;
    }

    .hero-image {
        margin-bottom: 0;
        padding: 0;
    }

    .hero-image img {
        max-height: 55vh;
        max-width: 100%;
    }

    .question-container {
        flex: 0 0 45%;
        max-width: 50%;
        width: 100%;
        max-height: 85vh;
        height: auto;
        overflow-y: auto;
        margin: 0;
    }

    .question-container .content-restart-button {
        top: 15px;
        right: 15px;
        padding: 4px 15px;
        font-size: 10px;
    }

    .question-section {
        padding: 30px 30px 0 30px;
        margin-bottom: 0px;
    }

    .question-intro {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .question-text {
        font-size: 14px;
        margin-top: 25px;
        margin-bottom: 5px;
    }

    .options-grid {
        padding: 20px 30px;
        gap: 0px;
        max-height: 45vh;
        margin-bottom: 0px;
    }

    .option-card {
        min-height: 50px;
        padding: 4px 14px;
        gap: 10px;
        margin-top: 1px;
    }

    .option-icon-container {
        width: 36px;
        height: 36px;
    }

    .option-title {
        font-size: 12px;
    }

    .radio-indicator {
        width: 18px;
        height: 18px;
    }

    .option-card.selected .radio-indicator::after {
        content: "✓";
        color: white;
        font-size: 10px;
        font-weight: bold;
    }

    .nav-buttons {
        padding: 0 30px 25px 30px;
        gap: 10px;
    }

    .btn {
        padding: 5px 10px;
        font-size: 10px;
    }

    .progress-container {
        top: 45px;
        padding: 10px 18px;
        gap: 10px;
    }

    .progress-dot {
        width: 10px;
        height: 10px;
    }

    /* Results - Tablet Landscape */
    .results-container {
        position: fixed;
        top: 20px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px 30px;
        padding-top: 45px;
        overflow: hidden;
    }

    .results-grid {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 25px;
        width: 100%;
        height: 100%;
        max-height: calc(100vh - 80px);
        margin: 0;
        flex: 1;
    }

    .result-image-container {
        flex: 0 0 40%;
        max-width: 40%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: 1;
        padding: 0 15px;
        gap: 12px;
    }

    .result-image-title {
        text-align: center;
        width: 100%;
    }

    .result-image-title h2 {
        font-size: clamp(20px, 2.8vw, 28px);
        line-height: 1.2;
        text-align: center;
        margin-top: revert;
    }

    .result-image {
        width: 100%;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .result-image img {
        max-height: 45vh;
        max-width: 100%;
        object-fit: contain;
    }

    .result-card {
        position: relative;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
        width: min(500px, 38vw);
        max-width: 500px;
        min-height: 225px;
        max-height: 80vh;
        height: auto;
        border: 3px solid transparent;
        background-image:
            linear-gradient(to right, #5E8893, #5E8893),
            linear-gradient(to right, #5E8893, #5E8893),
            linear-gradient(to bottom,
                #5E8893 0%,
                #5E8893 35%,
                transparent 50%,
                #5E8893 65%,
                #5E8893 100%),
            linear-gradient(to bottom,
                #5E8893 0%,
                #5E8893 35%,
                transparent 50%,
                #5E8893 65%,
                #5E8893 100%),
            linear-gradient(#ffffff, #ffffff);
        background-origin: border-box;
        background-clip: padding-box, padding-box, padding-box, padding-box, padding-box;
        background-position:
            top left,
            bottom left,
            left top,
            right top,
            center;
        background-size:
            100% 2px,
            100% 2px,
            2px 100%,
            2px 100%,
            100% 100%;
        background-repeat: no-repeat;
        transition: transform 0.3s ease;
        opacity: 1;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        flex-shrink: 0;
        order: 2;
    }

    .result-card::-webkit-scrollbar {
        width: 4px;
    }

    .result-card::-webkit-scrollbar-thumb {
        background: #5E8893;
        border-radius: 10px;
    }

    .result-card .results-restart {
        position: absolute;
        display: flex !important;
        top: 10px;
        right: 12px;
        padding: 5px 10px;
        font-size: 10px;
        z-index: 20;
    }

    .result-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: visible;
        padding-right: 0;
        max-height: none;
        min-height: 0;
    }

    .result-title-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 15px;
        margin-top: 8px;
        margin-bottom: 12px;
        flex-shrink: 0;
    }

    .result-name {
        font-size: clamp(16px, 2.2vw, 20px);
        font-weight: 600;
        line-height: 1.2;
        flex: 1;
        min-width: 0;
    }

    .result-price-container {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        flex-shrink: 0;
    }

    .result-price-original {
        font-size: clamp(12px, 1.5vw, 14px);
        text-decoration: line-through;
        color: #999;
        line-height: 1;
    }

    .result-price {
        font-size: clamp(18px, 2.5vw, 18px);
        font-weight: 700;
        color: #e3002b;
        line-height: 1.2;
    }

    .result-features {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 290px;
        padding-right: 8px;
        margin: 0 0 12px 0;
    }

    .result-features::-webkit-scrollbar {
        width: 4px;
    }

    .result-features::-webkit-scrollbar-thumb {
        background: #5E8893;
        border-radius: 10px;
    }

    .result-features li {
        font-size: clamp(11px, 1.4vw, 13px);
        padding: 8px 0 8px 26px;
        line-height: 1.4;
        border-bottom: 1px solid #f1f1f1;
    }

    .result-features li:last-child {
        border-bottom: none;
    }

    .result-features li::before {
        width: 16px;
        height: 16px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .result-actions-row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding-top: 0px;
        flex-shrink: 0;
        background: #ffffff;
        margin-top: 7px;
        border-top: 1px solid #f5f5f5;
    }

    .product-link,
    .result-card .btn-back-mobile {
        flex: 1;
        padding: 5px 15px;
        font-size: clamp(9px, 1.3vw, 10px);
        border-radius: 50px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .product-link::after {
        width: 14px;
        height: 14px;
    }

    /* Combo cards */
    .result-card--combo {
        max-width: 550px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }

    .result-card--combo .result-content {
        overflow: visible;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        max-height: none;
    }

    .result-card--combo .result-card-buttons {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 10px;
        flex-shrink: 0;
    }

    .result-card--combo .results-restart {
        display: flex !important;
        position: relative;
        top: auto;
        right: auto;
    }

    .result-card--combo .result-title-row {
        margin-top: 0;
        margin-bottom: 10px;
        flex-shrink: 0;
    }

    .combo-grid {
        display: flex !important;
        flex-direction: column;
        min-height: 150px;
        max-height: none;
        flex: 1;
        overflow: visible;
        border-radius: 8px;
        margin-bottom: 12px;
        background: #fafafa;
    }

    .combo-grid-head {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        font-size: 12px;
        font-weight: 700;
        padding: 10px 14px;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.05);
        border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    }

    .combo-grid-body {
        display: block !important;
        flex: 1;
        overflow-y: auto;
        max-height: 250px;
    }

    .combo-grid-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }

    .combo-grid-cell {
        padding: 10px 14px;
        font-size: 11px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .combo-grid-cell:first-child {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .result-title-row--combo .result-name {
        font-size: clamp(14px, 2vw, 17px);
    }

    .result-card--combo .result-actions-row {
        flex-shrink: 0;
        margin-top: auto;
        padding-top: 0px;
        border-top: 1px solid #f5f5f5;
    }
}

/* ===================================
   LANDSCAPE - MOBILE (up to 767px)
   =================================== */

@media screen and (max-width: 767px) and (orientation: landscape) {
    .logo {
        top: 20px;
        left: 20px;
        height: 4.5vh;
    }

    .container::before {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-width: 2px;
    }

    .container.bg-running {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as1-mob.webp');
    }

    .container.bg-walking {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as3-mob.webp');
    }

    .container.bg-running-question {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as2-mob.webp');
    }

    .container.bg-results {
        background-image: url('https://d23mazdok9zlq6.cloudfront.net/Product_advisory/assets/mobile/as2-mob.webp');
    }

    /* Start Page - Mobile Landscape - COMPLETELY FIXED */
    .start-page {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 5px 15px;
        padding-top: 28px;
        overflow-y: auto;
        overflow-x: hidden;
        align-items: center;
    }

    .close-button {
        top: 10px;
        right: 12px;
        width: 10px;
        height: 10px;
    }

    .start-content {
        margin-top: 0;
        padding: 0;
        width: 100%;
    }

    .start-main-title {
        font-size: clamp(12px, 2.8vw, 16px);
        margin-bottom: 2px;
    }

    .start-question {
        font-size: clamp(9px, 1.8vw, 11px);
        margin-bottom: 5px;
    }

    .device-selection {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
        padding: 0 8px;
    }

    /* CRITICAL FIX: Card layout for mobile landscape - show ALL content */
    .device-card {
        height: auto;
        min-height: auto;
        max-height: calc(100vh - 90px);
        padding: 8px 10px;
        padding-bottom: 8px;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .device-card-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: auto;
        max-height: none;
        overflow: visible;
    }

    .device-title {
        font-size: clamp(11px, 2.2vw, 14px);
        margin-bottom: 4px;
        flex-shrink: 0;
    }

    .device-features {
        margin-bottom: 6px;
        flex: 0 0 auto;
        overflow: visible;
    }

    /* SMALLER ICONS AND TIGHTER SPACING - Key fix */
    .device-features li {
        font-size: clamp(8px, 1.5vw, 10px);
        line-height: 1.2;
        margin-bottom: 2px;
        gap: 4px;
    }

    .device-features li img,
    .device-features li svg {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px;
        flex-shrink: 0;
    }

    .device-features li:last-child {
        margin-bottom: 0;
    }

    /* Ensure button is always visible */
    .device-button {
        padding: 6px 10px;
        font-size: clamp(8px, 1.6vw, 10px);
        margin-top: auto;
        flex-shrink: 0;
        position: relative;
        z-index: 10;
        gap: 4px;
    }

    .device-button .button-icon img {
        width: 14px;
        height: 14px;
    }

    .device-button .button-arrow img {
        width: 12px;
        height: 12px;
    }

    /* Device images - Smaller and better positioned */
    .treadmill-image {
        width: clamp(55px, 13vw, 80px);
        height: clamp(65px, 15vh, 95px);
        bottom: 35px;
        right: 5px;
        top: auto;
        transform: none;
    }

    .walkingpad-image {
        width: clamp(70px, 15vw, 100px);
        height: clamp(55px, 13vh, 80px);
        bottom: 35px;
        right: 5px;
        top: auto;
        transform: none;
    }

    .treadmill-image img,
    .walkingpad-image img {
        width: 126px;
        height: 126px;
        max-width: 140px;
        max-height: 140px;
        object-fit: contain;
    }

    /* Main Content - Mobile Landscape */
    .main-content {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        flex-direction: row;
        padding: 12px 15px;
        gap: 12px;
        justify-content: center;
        align-items: center;
    }

    .hero-section {
        flex: 0 0 40%;
        max-width: 40%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: 16px;
        text-align: center;
        margin-bottom: 6px;
    }

    .hero-image {
        margin-bottom: 0;
        padding: 0;
    }

    .hero-image img {
        max-height: 50vh;
        max-width: 100%;
    }

    .question-container {
        flex: 0 0 55%;
        max-width: 55%;
        width: 100%;
        max-height: 82vh;
        height: auto;
        overflow-y: auto;
        margin: 0;
    }

    .question-container .content-restart-button {
        top: 8px;
        right: 8px;
        padding: 3px 6px;
        font-size: 8px;
    }

    .question-section {
        padding: 18px 12px 0 12px;
        margin-bottom: 6px;
    }

    .question-intro {
        font-size: 8px;
        margin-bottom: 6px;
    }

    .question-text {
        font-size: 11px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .options-grid {
        padding: 0 12px;
        padding-right: 8px;
        gap: 4px;
        max-height: 35vh;
        margin-bottom: 6px;
    }

    .option-card {
        min-height: 38px;
        padding: 5px 8px;
        gap: 6px;
    }

    .option-icon-container {
        width: 28px;
        height: 28px;
    }

    .option-title {
        font-size: 10px;
    }

    .radio-indicator {
        width: 16px;
        height: 16px;
    }

    .option-card.selected .radio-indicator::after {
        font-size: 10px;
    }

    .nav-buttons {
        padding: 0 12px 12px 12px;
        gap: 6px;
    }

    .btn {
        padding: 5px 8px;
        font-size: 10px;
    }

    .progress-container {
        top: 30px;
        padding: 6px 12px;
        gap: 6px;
    }

    .progress-dot {
        width: 7px;
        height: 7px;
    }

    /* Results - Mobile Landscape */
    .results-container {
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 15px;
        padding-top: 28px;
        overflow: hidden;
    }

    .results-grid {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        height: 100%;
        max-height: calc(100vh - 50px);
        margin: 0;
        flex: 1;
    }

    .result-image-container {
        flex: 0 0 35%;
        max-width: 35%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: 1;
        padding: 0 8px;
        gap: 6px;
    }

    .result-image-title h2 {
        font-size: clamp(12px, 2.2vw, 15px);
        line-height: 1.2;
        text-align: center;
    }

    .result-image {
        width: 100%;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .result-image img {
        max-height: 50vh;
        max-width: 100%;
        object-fit: contain;
    }

    .result-card {
        flex: 0 0 60%;
        max-width: 60%;
        width: 100%;
        max-height: calc(100vh - 45px);
        height: auto;
        padding: 10px 12px;
        margin: 0;
        order: 2;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        border-radius: 10px;
    }

    .result-card::-webkit-scrollbar {
        width: 3px;
    }

    .result-card::-webkit-scrollbar-thumb {
        background: #5E8893;
        border-radius: 10px;
    }

    .result-card .results-restart {
        position: absolute;
        display: flex !important;
        top: 5px;
        right: 6px;
        padding: 3px 6px;
        font-size: 7px;
        z-index: 20;
    }

    .result-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: visible;
        padding-right: 0;
        max-height: none;
        min-height: 0;
    }

    .result-title-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
        margin-top: 4px;
        margin-bottom: 6px;
        flex-shrink: 0;
    }

    .result-name {
        font-size: clamp(11px, 1.8vw, 14px);
        font-weight: 600;
        line-height: 1.2;
        flex: 1;
        min-width: 0;
    }

    .result-price-container {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 1px;
        flex-shrink: 0;
    }

    .result-price-original {
        font-size: clamp(8px, 1.2vw, 10px);
        text-decoration: line-through;
        color: #999;
        line-height: 1;
    }

    .result-price {
        font-size: clamp(12px, 2vw, 15px);
        font-weight: 700;
        color: #e3002b;
        line-height: 1.2;
    }

    .result-features {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 150px;
        padding-right: 4px;
        margin: 0 0 6px 0;
    }

    .result-features::-webkit-scrollbar {
        width: 3px;
    }

    .result-features::-webkit-scrollbar-thumb {
        background: #5E8893;
        border-radius: 10px;
    }

    .result-features li {
        font-size: clamp(8px, 1.2vw, 10px);
        padding: 6px 0 6px 18px;
        line-height: 1.3;
        border-bottom: 1px solid #f1f1f1;
    }

    .result-features li:last-child {
        border-bottom: none;
    }

    .result-features li::before {
        width: 11px;
        height: 11px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .result-actions-row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 6px;
        padding-top: 0px;
        flex-shrink: 0;
        background: #ffffff;
        margin-top: auto;
        border-top: 1px solid #f5f5f5;
    }

    .product-link,
    .result-card .btn-back-mobile {
        flex: 1;
        padding: 6px 10px;
        font-size: clamp(8px, 1.1vw, 10px);
        border-radius: 50px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .product-link::after {
        width: 10px;
        height: 10px;
    }

    /* Combo cards */
    .result-card--combo {
        flex: 0 0 60%;
        max-width: 60%;
        width: 100%;
        max-height: calc(100vh - 35px);
        height: auto;
        padding: 10px 12px;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }

    .result-card--combo .result-content {
        overflow: visible;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        max-height: none;
        padding-right: 0;
    }

    .result-card--combo .result-card-buttons {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 6px;
        flex-shrink: 0;
    }

    .result-card--combo .results-restart {
        display: flex !important;
        position: relative;
        top: auto;
        right: auto;
        padding: 3px 6px;
        font-size: 7px;
    }

    .result-card--combo .result-title-row {
        margin-top: 0;
        margin-bottom: 6px;
        flex-shrink: 0;
    }

    .combo-grid {
        display: flex !important;
        flex-direction: column;
        min-height: 80px;
        max-height: none;
        flex: 1;
        overflow: visible;
        border-radius: 6px;
        margin-bottom: 6px;
        background: #fafafa;
    }

    .combo-grid-head {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        font-size: 11px;
        font-weight: 700;
        padding: 6px 8px;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.05);
        border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    }

    .combo-grid-body {
        display: block !important;
        flex: 1;
        overflow-y: auto;
        max-height: 150px;
    }

    .combo-grid-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }

    .combo-grid-cell {
        padding: 6px 8px;
        font-size: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .combo-grid-cell:first-child {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .result-title-row--combo .result-name {
        font-size: clamp(14px, 1.6vw, 13px);
    }

    .result-card--combo .result-actions-row {
        flex-shrink: 0;
        margin-top: auto;
        padding-top: 6px;
        border-top: 1px solid #f5f5f5;
    }
}


/* ===================================
   LANDSCAPE - VERY SHORT (height < 450px)
   =================================== */

@media screen and (orientation: landscape) and (max-height: 450px) {
    .logo {
        top: 30px;
        left: 30px;
        height: 5.5vh;
    }
        .container::before {
            top: 15px;
            left: 15px;
            right: 15px;
            bottom: 15px;
            border-width: 3px;
        }
        .nav-buttons {
            padding: 0 30px 15px 30px;
            gap: 10px;
        }
        .hero-title {
            font-size: 18px;
            text-align: center;
            margin-bottom: 5x;
        }
        .options-grid {
            padding: 0px 30px;
            gap: 0px;
            max-height: 35vh;
            margin-bottom: 10px;
        }
        .close-button {
            top: 15px;
            right: 15px;
            width: 20px;
            height: 20px;
        }
        .question-container .content-restart-button {
            top: 12px;
            right: 12px;
            padding: 2px 5px;
            font-size: 9px;
        }
        .question-section {
            padding: 25px 30px 0 30px;
            margin-bottom: 0px;
        }
        .question-text {
            font-size: 12px;
            margin-top: 20px;
            margin-bottom: 5px;
        }
        .btn {
            padding: 5px 10px;
            font-size: 10px;
        }
        .option-card {
            min-height: 40px;
            padding: 4px 12px;
            gap: 10px;
            margin-top: 0px;
        }
        .question-container {
            flex: 0 0 40%;
            max-width: 50%;
            width: 100%;
            max-height: 85vh;
            height: auto;
            overflow-y: auto;
            margin: 0;
        }
    /* START PAGE - Very Short Landscape Fix */
    .start-page {
        padding: 5px 12px;
        padding-top: 22px;
    }

    .start-main-title {
        font-size: clamp(23px, 2.5vw, 14px);
        margin-bottom: 10px;
    }

    .start-question {
        font-size: clamp(16px, 1.6vw, 10px);
        margin-bottom: 15px;
    }

    .device-selection {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 85%;
        padding: 0 20px;
    }

    .device-card {
        min-height: auto;
        max-height: calc(100vh - 80px);
        padding: 10px 10px;
    }

    .device-title {
        font-size: clamp(15px, 2vw, 12px);
        margin-bottom: 3px;
    }

    .device-features li {
        font-size: clamp(11px, 1.2vw, 9px);
        margin-bottom: 1px;
        line-height: 1.15;
        gap: 3px;
    }

    .device-features li img,
    .device-features li svg {
        width: 35px !important;
        height: 25px !important;
        min-width: 12px;
    }

    .device-button {
        padding: 5px 8px;
        font-size: clamp(10px, 1.4vw, 9px);
    }

    .treadmill-image {
        width: clamp(45px, 11vw, 65px);
        height: clamp(55px, 13vh, 75px);
        bottom: 85px;
        right: 40px;
    }

    .walkingpad-image {
        width: clamp(55px, 13vw, 80px);
        height: clamp(45px, 11vh, 60px);
        bottom: 75px;
        right: 110px;
    }

    /* RESULTS - Very Short Landscape */
    .results-container {
        padding: 10px 12px;
        padding-top: 30px;
    }

    .results-grid {
        gap: 10px;
        max-height: calc(100vh - 40px);
    }

    .result-image-container {
        flex: 0 0 32%;
        max-width: 32%;
        gap: 4px;
    }

    .result-image-title h2 {
        font-size: clamp(18px, 1.8vw, 12px);
    }

    .result-image img {
        max-height: 55vh;
    }

    .result-card {
        flex: 0 0 62%;
        max-width: 50%;
        padding: 30px 20px 20px 20px;
        max-height: calc(100vh - 35px);
        border-radius: 8px;
        min-height: 250px;
    }

    .result-card .results-restart {
        display: flex !important;
        top: 13px;
        right: 15px;
        padding: 5px 15px;
        font-size: 8px;
    }

    .result-title-row {
        margin-top: 2px;
        margin-bottom: 5px;
        gap: 6px;
    }

    .result-name {
        font-size: clamp(9px, 2.6vw, 14px);
    }

    .result-price-original {
        font-size: clamp(7px, 1.1vw, 9px);
    }

    .result-price {
        font-size: clamp(11px, 1.8vw, 14px);
    }

    .result-features {
        max-height: 160px;
        margin-bottom: 5px;
        padding-right: 3px;
    }

    .result-features li {
        font-size: clamp(11px, 1.1vw, 9px);
        padding: 6px 0 6px 16px;
    }

    .result-features li::before {
        width: 9px;
        height: 9px;
    }

    .result-actions-row {
        padding-top: 5px;
        gap: 5px;
        margin-top: 5px;
    }

    .product-link,
    .result-card .btn-back-mobile {
        padding: 6px 8px;
        font-size: clamp(7px, 2vw, 10px);
    }

    .product-link::after {
        width: 8px;
        height: 8px;
    }

    /* Combo card fixes for very short viewports */
    .result-card--combo {
        max-height: calc(100vh - 30px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        max-width: 55%;
        min-height: 266px;

    }

    .result-card--combo .result-content {
        overflow: visible;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        max-height: none;
    }

    .result-card--combo .result-card-buttons {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 5px;
        flex-shrink: 0;
    }

    .result-card--combo .results-restart {
        display: flex !important;
        position: relative;
        top: auto;
        right: auto;
        padding:4px 14px;
        font-size: 9px;
    }

    .combo-grid {
        display: flex !important;
        flex-direction: column;
        min-height: 60px;
        max-height: none;
        flex: 1;
        overflow: visible;
        background: #fafafa;
        border-radius: 5px;
        margin-bottom: 5px;
    }

    .combo-grid-head {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        font-size: 11px;
        font-weight: 700;
        padding: 4px 6px;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .combo-grid-body {
        display: block !important;
        flex: 1;
        overflow-y: auto;
        max-height: 150px;
    }

    .combo-grid-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }

    .combo-grid-cell {
        padding: 4px 6px;
        font-size: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .combo-grid-cell:first-child {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .result-card--combo .result-actions-row {
        flex-shrink: 0;
        margin-top: auto;
        padding-top: 5px;
    }
}


/* ===================================
   LANDSCAPE - EXTRA SHORT (height < 380px)
   =================================== */

@media screen and (orientation: landscape) and (max-height: 380px) {
    .close-button::before, .close-button::after {
        content: '';
        position: absolute;
        width: 9px;
        height: 1px;
        background: white;
        border-radius: 10px;
    }
    /* START PAGE - Extra Short Landscape Fix */
    .start-page {
        padding: 4px 10px;
        padding-top: 18px;
    }

    .close-button {
        top: 15px;
        right: 15px;
        width: 15px;
        height: 15px;
    }
    .hero-title {
        font-size: 18px;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 0px;
    }
    .start-main-title {
        font-size: clamp(20px, 2.2vw, 12px);
        margin-bottom: 5px;
    }

    .start-question {
        font-size: clamp(14px, 1.4vw, 9px);
        margin-bottom: 10px;
    }

    .device-selection {
        gap: 6px;
        padding: 0 4px;
    }

    .device-card {
        min-height: auto;
        max-height: calc(100vh - 65px);
        padding: 5px 10px;
    }

    .device-title {
        font-size: clamp(13px, 1.8vw, 11px);
        margin-bottom: 2px;
    }

    .device-features li {
        font-size: clamp(10px, 1vw, 8px);
        margin-bottom: 1px;
        gap: 2px;
    }

    .device-features li img,
    .device-features li svg {
        width: 30px !important;
        height: 22px !important;
        min-width: 10px;
    }

    .device-button {
        padding: 2px 12px;
        font-size: clamp(10px, 1.2vw, 8px);
    }

    .treadmill-image {
        width: clamp(35px, 9vw, 50px);
        height: clamp(40px, 10vh, 55px);
        right: 50px;
        bottom: 75px;
    }

    .walkingpad-image {
        width: clamp(35px, 9vw, 50px);
        height: clamp(40px, 10vh, 55px);
        right: 120px;
        bottom: 75px;
    }

    /* RESULTS - Extra Short Landscape */
    .results-container {
        padding: 15px 10px;
        padding-top: 30px;
    }

    .results-grid {
        gap: 8px;
    }

    .result-image-container {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .result-image-title h2 {
        font-size: clamp(15px, 1.6vw, 11px);
    }

    .result-image img {
        max-height: 55vh;
    }

    .result-card {
        flex: 0 0 65%;
        max-width: 45%;
        padding: 20px 20px 15px 20px;
        min-height: 230px;
    }

    .result-card .results-restart {
        display: flex !important;
        top: 10px;
        right: 15px;
        padding: 5px 15px;
        font-size: 8px;
    }

    .result-title-row {
        margin-top: 0;
        margin-bottom: 4px;
    }
    .result-title-row--combo .result-name {
        font-size: clamp(12px, 2vw, 14px);
    }
    .result-name {
        font-size: clamp(16px, 1.4vw, 10px);
    }

    .result-price {
        font-size: clamp(15px, 1.6vw, 12px);
    }

    .result-price-original {
        font-size: clamp(10px, 0.9vw, 8px);
    }

    .result-features {
        max-height: 135px;
        margin-bottom: 4px;
    }

    .result-features li {
        font-size: clamp(10px, 1vw, 8px);
        padding: 6px 0 6px 14px;
    }

    .result-features li::before {
        width: 7px;
        height: 7px;
    }

    .result-actions-row {
        padding-top: 4px;
        gap: 10px;
        margin-top: 0px;
    }

    .product-link,
    .result-card .btn-back-mobile {
        padding: 4px 6px;
        font-size: clamp(9px, 0.9vw, 20px);
    }

    .product-link::after {
        width: 6px;
        height: 6px;
        margin-left: 2px;
    }

    /* Combo card fixes */
    .result-card--combo {
        max-height: calc(100vh - 25px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        max-width: 50%;
    }

    .result-card--combo .result-content {
        overflow: visible;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        max-height: none;
    }

    .result-card--combo .result-card-buttons {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 4px;
        flex-shrink: 0;
    }

    .result-card--combo .results-restart {
        display: flex !important;
        position: relative;
        top: auto;
        right: auto;
        padding: 4px 14px;
        font-size: 9px;
    }

    .combo-grid {
        display: flex !important;
        flex-direction: column;
        min-height: 50px;
        max-height: none;
        flex: 1;
        overflow: visible;
        background: #fafafa;
        border-radius: 4px;
        margin-bottom: 4px;
    }

    .combo-grid-head {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        font-size: 12px;
        font-weight: 700;
        padding: 3px 5px;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .combo-grid-body {
        display: block !important;
        flex: 1;
        overflow-y: auto;
        max-height: 90px;
    }

    .combo-grid-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }

    .combo-grid-cell {
        padding: 3px 5px;
        font-size: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .combo-grid-cell:first-child {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .result-card--combo .result-actions-row {
        flex-shrink: 0;
        margin-top: auto;
        padding-top: 4px;
    }
}


/* ===================================
   LANDSCAPE - LARGE SCREENS (1441px+) - UPDATED
   =================================== */

@media screen and (min-width: 1441px) and (orientation: landscape) {
    .results-container {
        position: fixed;
        top: 40px;
        left: 40px;
        right: 40px;
        bottom: 40px;
        display: flex;
        flex-direction: column;
        padding: 25px 50px;
        padding-top: 65px;
        overflow: visible;
    }

    .results-grid {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: clamp(35px, 4vw, 70px);
        width: 100%;
        height: 100%;
        flex: 1;
    }

    .result-image-container {
        flex: 1;
        max-width: 550px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: 1;
        gap: 18px;
    }

    .result-image-title h2 {
        font-size: clamp(28px, 3.5vw, 38px);
        text-align: center;
    }

    .result-image img {
        max-width: min(480px, 38vw);
        max-height: 52vh;
    }

    .result-card {
        flex: 0 0 auto;
        width: min(480px, 34vw);
        max-width: 480px;
        min-height: 280px;
        max-height: 72vh;
        padding: 30px;
        order: 2;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .result-card .results-restart {
        top: 10px;
        right: 18px;
        padding: 7px 14px;
        font-size: 12px;
    }

    .result-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        max-height: none;
        min-height: 0;
    }

    .result-title-row {
        margin-top: 8px;
        margin-bottom: 18px;
        gap: 16px;
    }

    .result-name {
        font-size: clamp(20px, 2.4vw, 24px);
    }

    .result-price-original {
        font-size: clamp(14px, 1.6vw, 16px);
    }

    .result-price {
        font-size: clamp(20px, 2.4vw, 22px);
    }

    .result-features {
        flex: 1;
        max-height: 300px;
        overflow-y: auto;
        margin-bottom: 20px;
    }

    .result-features li {
        font-size: 14px;
        padding: 11px 0 11px 32px;
    }

    .result-features li::before {
        width: 18px;
        height: 18px;
    }

    .result-actions-row {
        padding-top: 18px;
        gap: 12px;
        margin-top: auto;
    }

    .product-link,
    .result-card .btn-back-mobile {
        padding: 11px 22px;
        font-size: 14px;
    }

    .product-link::after {
        width: 16px;
        height: 16px;
    }

    /* Combo Card - Large Screens */
    .result-card--combo {
        width: min(520px, 36vw);
        max-width: 520px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .result-card--combo .result-content {
        max-height: none;
        overflow: visible;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }

    .result-card--combo .result-card-buttons {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 15px;
        flex-shrink: 0;
    }

    .result-card--combo .results-restart {
        display: flex !important;
        position: relative;
        top: auto;
        right: auto;
    }

    .combo-grid {
        display: flex !important;
        flex-direction: column;
        min-height: 150px;
        max-height: none;
        flex: 1;
        overflow: visible;
        background: #fafafa;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .combo-grid-head {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        font-size: 14px;
        font-weight: 700;
        padding: 12px 16px;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.05);
        border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    }

    .combo-grid-body {
        display: block !important;
        flex: 1;
        overflow-y: auto;
        max-height: 300px;
    }

    .combo-grid-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }

    .combo-grid-cell {
        padding: 12px 16px;
        font-size: 13px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .combo-grid-cell:first-child {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .result-title-row--combo .result-name {
        font-size: clamp(18px, 2.2vw, 21px);
    }

    .result-card--combo .result-actions-row {
        flex-shrink: 0;
        margin-top: auto;
        padding-top: 15px;
    }
}
  /* ===================================
   MULTI-PRODUCT SELECTOR — exact match
   =================================== */

.multi-result-card {
    position: relative;
    width: min(560px, 42vw);
    max-width: 560px;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px 30px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Plain white card — no teal gradient border */
    border: none !important;
    background-image: none !important;
    background: #ffffff !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25) !important;
    border-radius: 16px !important;
  }
  
  .multi-result-card::-webkit-scrollbar { width: 5px; }
  .multi-result-card::-webkit-scrollbar-thumb { background: #5E8893; border-radius: 10px; }
  
  /* Neustart — keep existing .results-restart style, just position it */
  .multi-result-card > .results-restart {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
  }
  
  /* ── Thumbnail strip ── */
  .multi-thumb-strip {
    display: flex;
    gap: 10px;
    margin-top: 36px;
    margin-bottom: 0;
    overflow-x: hidden; /* no scroll — thumbs fill the row */
    padding-bottom: 2px;
    flex-shrink: 0;
    width: 100%;
  }
  
  .multi-thumb-strip::-webkit-scrollbar { height: 3px; }
  .multi-thumb-strip::-webkit-scrollbar-thumb { background: #5E8893; border-radius: 3px; }
  
  .multi-thumb {
    flex: 1 1 0;          /* grow equally */
    min-width: 0;         /* allow shrinking below content */
    max-width: none;      /* remove cap so they stretch fully */
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    transition: all 0.22s ease;
    flex-shrink: 1;
    box-sizing: border-box;
  }
  
  .multi-thumb:hover {
    border-color: #5E8893;
    background: #fff;
    box-shadow: 0 4px 14px rgba(94,136,147,0.15);
  }
  
  .multi-thumb--active {
    border-color: #5E8893;
    background: #fff;
    box-shadow: 0 0 0 1px #5E8893, 0 4px 16px rgba(94,136,147,0.15);
  }
  
  .multi-thumb img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
  }
  
  .multi-thumb-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .multi-thumb-name {
    font-family: 'Söhne', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.3;
    word-break: break-word;
  }
  
  .multi-thumb-price {
    font-family: 'Söhne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #e3002b;
    line-height: 1.2;
  }
  
  .multi-thumb-original {
    font-family: 'Söhne', sans-serif;
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
    line-height: 1.2;
  }
  
  /* ── Detail panel ── */
  .multi-detail-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 20px;
    border-top: none;
  }
  
  .multi-detail-name-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 4px;
    flex-shrink: 0;
  }
  
  .multi-detail-name-row .result-name {
    font-family: 'Söhne', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
    min-width: 0;
    line-height: 1.2;
  }
  
  /* Price + strikethrough on same row */
  .multi-detail-name-row .result-price-container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    flex-shrink: 0;
  }
  
  .multi-detail-name-row .result-price {
    font-size: 24px;
    font-weight: 700;
    color: #e3002b;
    line-height: 1.2;
  }
  
  .multi-detail-name-row .result-price-original {
    font-size: 15px;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 400;
    line-height: 1;
  }
  
  /* Features */
  .multi-detail-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    max-height: 300px;
  }
  
  .multi-detail-features::-webkit-scrollbar { width: 4px; }
  .multi-detail-features::-webkit-scrollbar-thumb { background: #5E8893; border-radius: 4px; }
  
  .multi-detail-features li {
    font-family: 'Söhne', sans-serif;
    position: relative;
    padding: 13px 0 13px 32px;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .multi-detail-features li:last-child {
    border-bottom: none;
  }
  
  .multi-detail-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    background-image: url('https://dn8jisvrkmzgn.cloudfront.net/charm_circle-tick.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
  }
  
  /* Bottom actions — reuse existing .result-actions-row + .btn-back-mobile + .product-link styles */
  .multi-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-shrink: 0;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
  }
  
  /* Inherit all button styles from existing classes — no overrides */
  .multi-detail-actions .btn-back-mobile {
    flex: 1;
  }
  
  .multi-detail-actions .product-link {
    flex: 2;
  }
  .multi-result-card.result-card--combo {
    max-height: 70vh !important;
    width: min(500px, 38vw) !important;
    max-width: 500px !important;
    overflow-y: auto !important;
  }
  .multi-detail-panel .combo-grid {
    max-height: none !important;
    flex: 1 !important;
  }
  
  .multi-detail-panel .combo-grid-body {
    max-height: calc(58vh - 280px) !important;
    overflow-y: auto !important;
  }
  /* ── Responsive ── */
  @media screen and (max-width: 1024px) and (orientation: portrait) {
    .multi-result-card {
      width: min(600px, 90vw);
      max-width: 90vw;
      max-height: 56vh;
      padding: 18px 20px;
    }
    .multi-thumb-strip {
        gap: 8px;
        overflow-x: hidden;
        width: 100%;
      }
    
      .multi-thumb {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        padding: 10px 12px;
        gap: 10px;
      }
    
      .multi-thumb img { width: 52px; height: 52px; }
      .multi-thumb-name { font-size: 12px; }
      .multi-thumb-price { font-size: 13px; }
    .multi-detail-name-row .result-name { font-size: 20px; }
    .multi-detail-name-row .result-price { font-size: 20px; }
    .multi-detail-features { max-height: 150px; }
    .multi-detail-features li { font-size: 13px; padding: 10px 0 10px 26px; }
    .multi-result-card.result-card--combo {
        max-height: 55vh !important;
        width: min(600px, 90vw) !important;
        max-width: 90vw !important;
      }
  }
  
  /* ===================================
   MULTI-RESULT CARD — MOBILE FIX ONLY
   =================================== */

@media screen and (max-width: 767px) {
    .multi-result-card {
      width: 100% !important;
      max-width: 100% !important;
      max-height: 58vh !important;
      padding: 10px 14px 14px 14px !important;
      border-radius: 12px !important;
      overflow-y: auto !important;
    }
  
    /* Neustart button smaller on mobile */
    .multi-result-card > .results-restart {
      top: 8px !important;
      right: 10px !important;
      font-size: 9px !important;
      padding: 4px 8px !important;
    }
    .multi-result-card.result-card--combo {
        max-height: 58vh !important;
        width: 100% !important;
        max-width: 100% !important;
      }
    /* Thumb strip — just enough top margin to clear the button */
    .multi-thumb-strip {
        gap: 6px !important;
        margin-top: 24px !important;
        overflow-x: hidden !important;
        width: 100% !important;
      }
  
    /* Thumbs — smaller on mobile */
    .multi-thumb {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 7px 8px !important;
        gap: 7px !important;
        border-radius: 9px !important;
    }
    
  
    .multi-thumb img {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
      }
  
      .multi-thumb-info {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
      }
    
      .multi-thumb-name {
        font-size: 10px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
      }
    
      .multi-thumb-price { font-size: 11px !important; }
      .multi-thumb-original { font-size: 9px !important; }
  
    /* Detail panel */
    .multi-detail-panel {
      margin-top: 10px !important;
      flex: 1;
      min-height: 0;
    }
  
    .multi-detail-name-row {
      margin-bottom: 4px !important;
    }
  
    .multi-detail-name-row .result-name {
      font-size: 15px !important;
    }
  
    .multi-detail-name-row .result-price {
      font-size: 15px !important;
    }
  
    .multi-detail-name-row .result-price-original {
      font-size: 11px !important;
    }
  
    /* Features — remaining space after thumbs + name row + actions */
    .multi-detail-features {
      max-height: calc(58vh - 240px) !important;
      overflow-y: auto !important;
    }
  
    .multi-detail-features li {
      font-size: 11px !important;
      padding: 7px 0 7px 24px !important;
    }
  
    .multi-detail-features li::before {
      width: 16px !important;
      height: 16px !important;
    }
  
    /* Actions row */
    .multi-detail-actions {
      margin-top: 8px !important;
      padding-top: 8px !important;
      gap: 8px !important;
    }
    .multi-detail-panel .combo-grid-body {
        max-height: calc(58vh - 300px) !important;
      }
  }
  
  /* Extra small mobile */
  @media screen and (max-width: 400px) {
    .multi-result-card {
      max-height: 60vh !important;
      padding: 8px 12px 12px 12px !important;
    }
  
    .multi-result-card > .results-restart {
      top: 6px !important;
      right: 8px !important;
      font-size: 8px !important;
      padding: 3px 7px !important;
    }
  
    .multi-thumb-strip {
        gap: 5px !important;
        margin-top: 22px !important;
      }
    
      .multi-thumb {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 6px 6px !important;
        gap: 5px !important;
      }
    
      .multi-thumb img {
        width: 28px !important;
        height: 28px !important;
      }
    
      .multi-thumb-name {
        font-size: 9px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
      }
    
      .multi-thumb-price { font-size: 10px !important; }
  
    .multi-detail-name-row .result-name { font-size: 14px !important; }
    .multi-detail-name-row .result-price { font-size: 14px !important; }
  
    .multi-detail-features {
      max-height: calc(60vh - 230px) !important;
    }
  
    .multi-detail-features li {
      font-size: 10px !important;
      padding: 6px 0 6px 20px !important;
    }
  
    .multi-detail-actions {
      margin-top: 6px !important;
      padding-top: 6px !important;
      gap: 6px !important;
    }
    .multi-result-card.result-card--combo {
        max-height: 60vh !important;
      }
      .multi-detail-panel .combo-grid-body {
        max-height: calc(60vh - 290px) !important;
      }
    
  }
  
  @media screen and (min-width: 768px) and (max-width: 1440px) and (orientation: landscape) {
    .multi-result-card {
      width: min(500px, 38vw);
      max-width: 500px;
      max-height: 80vh;
      padding: 20px 24px;
    }
    .multi-thumb-strip {
        overflow-x: hidden;
        width: 100%;
      }
    
      .multi-thumb {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        padding: 10px 12px;
      }
    
      .multi-thumb img { width: 48px; height: 48px; }
    .multi-detail-features { max-height: 180px; }
    .multi-detail-features li { font-size: 12px; }
    .multi-result-card.result-card--combo {
        max-height: 80vh !important;
        width: min(500px, 38vw) !important;
        max-width: 500px !important;
      }
      .multi-detail-panel .combo-grid-body {
        max-height: calc(80vh - 320px) !important;
      }
  }
  
  @media screen and (min-width: 1441px) {
    .multi-result-card {
      width: min(580px, 36vw);
      max-width: 580px;
      padding: 30px 36px;
    }
    .multi-thumb-strip {
        overflow-x: hidden;
        width: 100%;
      }
    
      .multi-thumb {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
      }
    
      .multi-thumb img { width: 70px; height: 70px; }
      .multi-thumb-name { font-size: 14px; }
    
    .multi-detail-name-row .result-name { font-size: 28px; }
    .multi-detail-features { max-height: 320px; }
    .multi-result-card.result-card--combo {
        max-height: 72vh !important;
        width: min(480px, 34vw) !important;
        max-width: 480px !important;
      }
      .multi-detail-panel .combo-grid-body {
        max-height: calc(72vh - 300px) !important;
      }    
  }
  