@import "one3d-main.css";
/* =========================================
   📱 RESPONSIVE & DEVICE FIXES
========================================= */
@supports (-webkit-touch-callout: none) {
    html,
    body {
        height: -webkit-fill-available;
    }
}
@supports (height: 100dvh) {
    html,
    body {
        height: 100dvh;
    }
}
@media (hover: none) and (pointer: coarse) {
    button,
    a {
        min-height: 20px;
        min-width: 20px;
    }
}
input,
select,
textarea {
    font-size: 16px; /* Prevent zoom on iOS */
}
@media (display-mode: standalone) {
    html,
    body {
        height: 100vh;
    }
}
/* -------- Responsive Root Font Sizes -------- */
@media (min-width: 1400px) {
    .one3d-rotate-device {
        display: none!important;
    }
}
@media (min-width: 768px) {
    :root {
        --font-size-base: 18px; /* Tablet */
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    .one3d-rotate-device-img {
        width: 260px;
    }
    .one3d-rotate-device-text {
            font-size: 30px;padding: 0 20%;    margin: 20px auto 0;
    }
}
@media (min-width: 1200px) {
    :root {
        --font-size-base: 20px; /* Desktop */
    }
}
@media (max-width: 767px) {
    :root {
        --font-size-base: 10px; /* Mobile */
    }
    html {
        font-size: 10px; /* Mobile */
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    strong {
        font-weight: var(--fw-600);
    }
    .hidden-xs {
        display: none;
    }
    .hidden-lg {
        display: block;
    }
    .one3d-loader-heading {
        font-size: 7.5rem;
        position: relative;
        top: 0;
    }
    .one3d-progress-percentage {
        font-size: 2rem;
    }
    .one3d-loader-car,
    .one3d-welcome-content {
        width: 100%;
    }
    .one3d-welcome-content {
        top: 10%;
    }
    .one3d-loader-progress-bar {
        height: 4px;
    }
    .one3d-tutorials-desktop {
        display: none;
    }
    .one3d-tutorials-mobile {
        display: block;
    }
    .one3d-welcome-title {
        line-height: var(--line-height-sm);
    }
    .one3d-welcome-copy {
        font-size: 1.4rem;
        margin: 8px 0 0;
        line-height: var(--line-height-sm);
    }
    .one3d-tutorials-text {
        font-weight: var(--fw-400);
    }
    .one3d-hand-gesture-svg {
        position: relative;
        bottom: 28px;
    }
    .one3d-header-mobile-img {
        width: 100%;
        height: 46px;
    }
    .one3d-header {
        padding: 0;
    }
    .one3d-introducing-ai-title {
        margin-top: 30%;
    }
    .one3d-introducing-ai-title,
    .one3d-introducing-ai-copy {
        font-size: 1.6rem;
    }
    .one3d-introducing-ai-copy {
        margin: 0;
    }
    .one3d-ai-chatbot-wrapper {
        width: 100%;
        bottom: 16px;
    }
    .one3d-ai-chatbot-box {
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: var(--color-bg);
        padding: 10px;
    }
    .one3d-ai-disclaimer {
        width: 100%;
        bottom: 0;
        background: var(--color-bg);
        padding: 6px 0;
    }
    .one3d-ai-disclaimer-text {
        font-size: var(--font-size-sm);
    }
    .one3d-ai-chatbot-box-options {
     margin:0;   border: none;
    }
    .one3d-chatbot-form-left {
        width: calc(100% - 90px);
        padding-right: 10px;
    }
    .one3d-chatbot-form-right {
        width: 90px;
    }
    .one3d-speak-btn {
        padding: 0;
        height: 32px; 
        border-radius: var(--radius-xs);
    }
    .one3d-stop-btn {
 padding: 0;
        height: 32px; 
        border-radius: var(--radius-xs); 
border: 1px solid var(--color-text);
background: rgba(var(--color-bg-rgb), 0.37);
box-shadow: none;
    }
    .one3d-chatbot-input{
        height: 32px;
        padding: 0 16px;
        border-radius: var(--radius-xs);
        font-size: var(--font-size-xl);
    }
    .one3d-chatbot-input:-internal-autofill-selected {
        height: 32px;
        padding: 0 16px;
        border-radius: var(--radius-xs);
        font-size: var(--font-size-xl);
    }
    .one3d-speak-btn-text {
        font-size: 1.4rem; color: var(--color-accent);
        margin-right: 4px;
    }
    .one3d-stop-btn-text {
        font-size: 1.4rem;
        margin-right: 4px;
        font-weight: var(--fw-500);
    }
    .one3d-stop-btn-icon {
        width: 16px;
        height: 16px;
    }
    .one3d-speak-btn img {
        filter: invert(34%) sepia(94%) saturate(1669%) hue-rotate(201deg) brightness(93%) contrast(91%);
    }
    .one3d-chatbot-input::placeholder {
        color: var(--color-text);
        opacity: 1;
    }
    .one3d-chatbot-input::-ms-input-placeholder {
        color: var(--color-text);
    }
    .one3d-gradient-animation::after {
        height: 80%;
        width: 100%;
        left: 0;
    }
    .one3d-gradient-animation::before {
        left: 0;
        border-radius: 0;
        width: 100%;
        height: 80%;
    }
    .one3d-chatbot-form-row {
        padding: 4px;
        border-radius: var(--radius-xs);
        background: rgba(var(--color-text-rgb), 0.2);
    }
    .one3d-chatbot-options-li {
        border-radius: var(--radius-xs);
        padding: 6px 10px;
        margin: 4px 4px 8px 0;
        border: 1px solid var(--color-E6E6E6);
        background-color: var(--color-E6E6E6);
        backdrop-filter: blur(var(--radius-xxs));
    }
    .one3d-chatbot-options-text {
        color: var(--color-bg);
        font-size: 1.2rem;
    }
    .one3d-selected {
        background-color: var(--color-333);
        box-shadow: 0 0 1px #f39ca2;
    }
    .one3d-ai-chatbot-box-options:hover::-webkit-scrollbar {
        height: 0px;
    }
    .one3d-book-now-button-box {
            right: auto;
    bottom: auto;
    z-index: 3;
    top: 48px;
    width: 100%;
    background: var(--color-bg);
    text-align: center;
    padding: 4px 10px;
    }
    .one3d-book-now-button {
            width: 100%;
    height: 36px;
    box-shadow: none;
    background-color: transparent;
    }
    .one3d-animated-border-box-glow,
    .one3d-book-now-button-text:before, .one3d-animated-border-box-glow:before,
    .one3d-book-now-button-text:after {
        display: none;
    }
    .one3d-book-now-button-text {
        max-width: 100%;
        width: 100%;
        border-radius: var(--radius-xs);
        background:var(--color-accent);
        font-size: 1.4rem;
    }
    .one3d-variant-details-wrapper {
        top: 100px;
    left: 12px;
    }
    .one3d-variant-data,
    .one3d-variant-price {
        font-size: 1.2rem;
    }
    .one3d-variant-change-button {
        margin: 0 0 0 4px;
        padding: 0px 4px;
        border-radius: var(--radius-xxs);
        border-color: rgba(var(--color-text-rgb), 0.2);
        background-color: rgba(var(--color-text-rgb), 0.2);
    }
    .one3d-variant-change-button-text {
        font-size: 1.2rem;
    }
    .one3d-cc-speaker-box-wrapper {
        right: 12px; 
    left: auto;
    bottom: auto; 
    top: 100px;
    }
    .one3d-cc-speaker-box-row {
        padding: 0;
        background:none;
        box-shadow: none;
    }
    .one3d-cc-speaker-box-left::after {
        display: none;
    }
    .one3d-cc-speaker-box-left {
        padding: 0;
        margin-right: 4px;
    }
    .one3d-cc-box {
        width: 32px;
        height: 32px;
        font-size: 1.4rem;
        border-radius:var(--radius-xs);
        border: 1px solid var(--color-bg);
    }
    .one3d-speaker-box {
 width: 32px;
        height: 32px;
        border-radius:var(--radius-xs);
    }
    .one3d-variant-data {
        margin: 0;
    }
    .one3d-multiple-progress-bars-wrapper {
        top: 100px;
        width: 100%;
    }
    .one3d-multiple-progress-bars-ul {
        width: 100%; 
        padding: 0 6px;
    }
    .one3d-multiple-progress-bar {
        height: 4px;
    }
    .one3d-progress-timer {
        position: absolute;
        width: auto;
        top: 12px;
        left: 12px;
    }
    .one3d-skip-button-box {
        position: absolute;
        width: auto;
        top: 12px;
        right: 12px;
    }
    .one3d-skip-button {
        padding: 0 10px 0 14px;
        height: 26px;
        border-radius: var(--radius-xxs);
    }
    .one3d-skip-button-text {
        font-size: 1.2rem;
        margin-right: 2px;
    }
    .one3d-chevron-right-svg {
        width: 14px;
    }
    .one3d-progress-timer-text {
        font-size: 1.6rem;
        font-weight: var(--fw-500);
    }
    .one3d-multiple-progress-bars-li {
        padding: 0 2px;
    }
    .one3d-gradient-top {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0) 85%);
    }
    .one3d-colorizer-button {
        width: 28px;
        height: 28px;
        border-width: 1px;
    }
    .one3d-colorizer-button .one3d-cross {
        width: 10px;
    }
    .one3d-colorizer-swatches-li {
        width: 36px;
        padding: 2px;
        height: 36px;
        margin: 0 2px;
    }
    .one3d-colorizer-button .one3d-color-paint {
        width: 16px;
    }
    .one3d-colorizer-swatch {
        width: 96%;
        height: 96%;
    }
    .one3d-colorizer-button-paint {
        top: 26%;
    }
    .one3d-colorizer-swatches {
        top: 25%;
    }
    .one3d-colorizer-button-cross {
        right: auto;
        top: auto;
        bottom: -36px;
        left: 50%;
        transform: translateX(-50%);
    }
    .one3d-nudges-description-wrapper,
    .one3d-features-description-wrapper {
        top: 148px;
        padding: 10px;
        border-radius: var(--radius-sm);
        width: calc(100% - 12px);
        border: 1px solid rgba(var(--color-text-rgb), 0.50);
        background: rgba(var(--color-bg-rgb), 0.70);
        box-shadow: 0 4px 11px 0 rgba(var(--color-bg-rgb), 0.25);
        backdrop-filter: blur(var(--radius-sm));
    }
    .one3d-heading-icon {
        width: 20px;
    }
    .one3d-features-description-wrapper {
  padding: 10px 10px 24px 10px;
    }
    .one3d-features-description-content{
        padding: 0 8px 8px 0;
        max-height: 120px;
    }
    .one3d-chevron-down-box {
            bottom: 2px;
    }
    .one3d-sound-panel-wrapper {
        bottom: 26px;
        width: 100%;
    }
    .one3d-sound-panel {
        width: calc(100% - 12px);
        padding: 4px;
        border-radius: var(--radius-xs);
    }
    .one3d-sound-panel-left {
        border-radius: var(--radius-xs);
        padding: 6px 8px;
        width: 76%;
    }
    .one3d-sound-bars {
        width: 160px;
    }
    .one3d-cross-red-box {
        width: 28px;
        height: 28px;
        margin: 0 0 0 6px;
    }
    .one3d-check-tick-black-box {
          width: 28px;
        border-radius: var(--radius-xs);
        height: 28px;
    }
    .one3d-sound-panel-right {
width: 24%;
    }
    .one3d-sound-counter {
        font-size: 1.4rem;
    }
    .one3d-message-send-wrapper {
        width: 100%;
        padding: 10px 10px 0;
        bottom: 24px;
        background: var(--color-bg);
    }
    .one3d-message-send-container {
        width: 100%;
        padding: 4px;
        border-radius: var(--radius-xs);  box-shadow: none;
    }
    .one3d-message-send-left {
        width: calc(100% - 76px);
            padding-right: 8px;
    }
    .one3d-message-send-right {
        width: 76px;
    }
    .one3d-send-button {
        padding: 0;border-radius: var(--radius-xs);height: 32px;
    }
    .one3d-send-button-text {
        font-size: 1.2rem;
        margin-right: 4px;
        font-weight: var(--fw-500);
    }
    .one3fd-paper-send-icon {
        width: 14px;
    }
    .one3d-message-textarea {
        height: 72px;
        padding: 10px;
        font-size: 1.2rem;
        border-radius: var(--radius-xs);
    }
    .one3d-nudges-description-content {
        font-weight: var(--fw-400);
    }
    .one3d-variant-change-panel-desktop {
        display: none;
    }
    .one3d-vc-panel-mobile {
        display: block;
    }
    .one3d-tutorials-text {
        font-weight: var(--fw-400);
    }
    .one3d-tutorials-text strong {
        font-weight: var(--fw-600);
    }
    .one3d-colorizer-button-paint {
        top: 26%;
    }
    .one3d-colorizer-swatches {
        top: 25%;
    }
    .one3d-colorizer-button-cross {
        right: auto;
        top: auto;
        bottom: -36px;
        left: 50%;
        transform: translateX(-50%);
    }
    .sound-wave {
        height: 32px;
    }
    .one3d-no-data {
        font-size: 2rem;
    }
}

/* ========================================
   PORTRAIT MODE OVERLAY FOR MOBILE
   ======================================== */

/* Rotate Prompt - Hidden by default */
.rotate-prompt {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.rotate-prompt-content {
    text-align: center;
    color: white;
    padding: 40px 20px;
    max-width: 400px;
}

.rotate-prompt-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0 10px 0;
    color: #ffffff;
}

.rotate-prompt-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

.rotate-icon {
    font-size: 80px;
    animation: rotate-animation 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes rotate-animation {
    0% { 
        transform: rotate(90deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Show overlay ONLY in landscape mode on mobile devices */
@media screen and (orientation: landscape) and (max-width: 932px) {
    .rotate-prompt {
        display: flex !important;
    }
}

/* Additional breakpoint for tablets in landscape */
@media screen and (orientation: landscape) and (max-height: 600px) and (max-width: 932px) {
    .rotate-prompt {
        display: flex !important;
    }
}
