/* ========================================
   Provador Virtual - Modal Styles
   ======================================== */

/* CSS Variables */
:root {
    --pv-primary-color: #000000;
    --pv-secondary-color: #ffffff;
    --pv-text-color: #333333;
    --pv-border-color: #e1e1e1;
    --pv-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --pv-transition: all 0.3s ease;
}

/* ========================================
   Button Styles
   ======================================== */
.pv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--pv-primary-color);
    color: var(--pv-secondary-color);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pv-transition);
    margin: 10px 0;
}

.pv-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pv-button-icon {
    animation: pendulum-swing 2s ease-in-out infinite;
}

@keyframes pendulum-swing {
    0% {
        transform: rotate(-20deg);
    }

    50% {
        transform: rotate(20deg);
    }

    100% {
        transform: rotate(-20deg);
    }
}

/* ========================================
   Modal Backdrop
   ======================================== */
.pv-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pv-modal-backdrop.pv-active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* ========================================
   Modal Container
   ======================================== */
.pv-modal {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    max-width: 948px;
    width: 95vw;
    height: 90vh;
    max-height: 600px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.pv-modal-backdrop.pv-active .pv-modal {
    transform: scale(1);
}

/* ========================================
   Modal Header Elements
   ======================================== */
.pv-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--pv-transition);
}

.pv-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.pv-modal-logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: #ffffff;
    padding: 15px;
    border-radius: 0 0 20px 0;
    box-shadow: 1px 4px 4px rgba(0, 0, 0, 0.1);
    max-width: 138px;
}

.pv-modal-logo img {
    max-height: 50px;
    width: auto;
}

/* ========================================
   Progress Indicators
   ======================================== */
.pv-progress-wrapper {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.pv-progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d9d9d9;
    transition: var(--pv-transition);
}

.pv-progress-dot.pv-progress-active {
    background: var(--pv-primary-color);
    width: 16px;
    height: 16px;
}

/* ========================================
   Step Container
   ======================================== */
.pv-step {
    display: none;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pv-step.pv-step-active {
    display: block;
    opacity: 1;
}

.pv-step-content {
    display: flex;
    height: 100%;
}

.pv-step[data-step="3"] .pv-step-content {
    flex-direction: row;
}

.pv-step[data-step="3"] .pv-step-left {
    flex: 0 0 40%;
    max-width: 400px;
}

.pv-step[data-step="3"] .pv-step-right {
    flex: 1;
    padding: 0px;
    background: #ffffff;
}

.pv-recommendation-header {
    position: absolute;
    text-align: center;
    margin-top: 30px;
    margin-left: 10px;
    z-index: 1;
}

.pv-measurements-drawer {
    display: none;
    transition: max-width 0.3s ease;
    margin-bottom: 15px;
}

.pv-measurements-drawer.pv-open {
    display: block;
    flex-wrap: nowrap;
    position: absolute;
    background: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.514) 0px 3px 36px;
    backdrop-filter: blur(9px);
    box-sizing: border-box;
    transform: translateX(0px);
    transform-style: preserve-3d;
    will-change: transform;
    transition-duration: 0.5s;
    transition-timing-function:
        cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transition-property: transform;
    width: 345px;
    height: calc(65%);
    max-height: 250px;
    z-index: 2;
    background: #f9f9f9;
    margin-top: 18%;
}

.pv-measurements-toggle-close {
    width: 38px;
    height: 57px;
    border: none;
    background: rgb(75, 75, 75);
    font-size: 24px;
    color: rgb(255, 255, 255);
    position: absolute;
    margin-top: -42%;
    padding: 0px 6px 0px 0px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 0px 38px 38px 0px;
    right: -38px;
    cursor: pointer;
}

.pv-step-left {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pv-step-right {
    flex: 1;
    background: #f5f5f5;
    padding: 45px 40px 80px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.pv-product-image {
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ========================================
   Step Header
   ======================================== */
.pv-step-header {
    margin-bottom: 30px;
}

.pv-step-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--pv-text-color);
}

.pv-step-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   Form Fields
   ======================================== */
.pv-field-group {
    margin-bottom: 20px;
}

.pv-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--pv-text-color);
    font-size: 14px;
}

.pv-field-help {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.pv-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pv-input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--pv-border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--pv-transition);
}

.pv-input:focus {
    outline: none;
    border-color: var(--pv-primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.pv-input-unit {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

/* ========================================
   Gender Selection
   ======================================== */
.pv-gender-buttons {
    display: flex;
    gap: 10px;
}

.pv-gender-btn {
    flex: 1;
    padding: 12px;
    background: #fff;
    border: 2px solid var(--pv-border-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pv-transition);
}

.pv-gender-btn:hover {
    border-color: var(--pv-primary-color);
}

.pv-gender-btn.pv-gender-active {
    background: var(--pv-primary-color);
    color: var(--pv-secondary-color);
    border-color: var(--pv-primary-color);
}

/* ========================================
   Body Shape Visualization
   ======================================== */
.pv-body-shape-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-body-shape {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.pv-body-shape img {
    height: 100%;
    z-index: -1;
    position: relative;
}

.pv-body-with-indicators .pv-body-shape {}

.pv-skin-tones {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pv-skin-btn {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--pv-transition);
}

.pv-skin-btn:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.pv-skin-btn.pv-skin-active {
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Body Adjustments
   ======================================== */
.pv-adjustment-preview {
    margin-bottom: 20px;
    text-align: center;
}

.pv-body-shape-small {
    max-width: 120px;
    height: auto;
}

.pv-adjustment-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.pv-adjust-btn {
    width: 25px;
    height: 25px;
    background: var(--pv-primary-color);
    color: var(--pv-secondary-color);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--pv-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-adjust-btn:hover {
    transform: scale(1.1);
}

.pv-adjustment-info {
    flex: 1;
}

.pv-adjustment-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.pv-adjustment-dots {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.pv-dot {
    width: 10px;
    height: 10px;
    background: #d9d9d9;
    border-radius: 50%;
}

.pv-dot.pv-dot-active {
    background: var(--pv-primary-color);
    width: 14px;
    height: 14px;
}

.pv-adjustment-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
}

.pv-adjustment-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--pv-primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.pv-adjustment-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--pv-primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* ========================================
   Step Footer / Buttons
   ======================================== */
.pv-step-footer {
    margin-top: 8px;
}

.pv-btn {
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--pv-transition);
}

.pv-btn-primary {
    background: var(--pv-primary-color);
    color: var(--pv-secondary-color);
}

.pv-btn-danger {
    border: 1px solid var(--pv-primary-color);
}

.pv-btn-primary:hover {
    opacity: 0.9;
}

.pv-btn-secondary {
    background: #ffffff;
    color: var(--pv-primary-color);
    border: 2px solid var(--pv-primary-color);
}

.pv-btn-secondary:hover {
    background: var(--pv-primary-color);
    color: var(--pv-secondary-color);
}

/* ========================================
   Loading State
   ======================================== */
.pv-loading {
    text-align: center;
    padding: 60px 20px;
}

.pv-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--pv-primary-color);
    border-radius: 50%;
    animation: pv-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes pv-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ========================================
   Recommendation Result
   ======================================== */

.pv-recommendation-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.pv-recommended-size {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pv-size-badge {
    background: linear-gradient(135deg, #68E2C1 0%, #5EBC7B 100%);
    color: #ffffff;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 32px;
    font-weight: 700;
}

.pv-size-badge.pv-no-size {
    background: linear-gradient(135deg, #ED4848 0%, #C53030 100%) !important;
}

.pv-size-badge.pv-yellow-badge {
    background: linear-gradient(135deg, #F1B51A 0%, #E8A000 100%);
}

.pv-recommended-icon {
    animation: pv-pulse 2s ease-in-out infinite;
}

@keyframes pv-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   Measurements Drawer
   ======================================== */
.pv-measurements-toggle {
    display: flex;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    width: 118px;
    height: 55px;
    opacity: 1;
    outline: none;
    text-decoration: none;
    margin: 10px 0px;
    background: rgb(242, 242, 242);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 36px;
    border-style: none;
    border-radius: 0px 28px 28px 0px;
    cursor: pointer;
    position: absolute;
    transition: 2s;
    right: unset;
    top: 40%;
    z-index: 1;
}

.pv-measurements-toggle:hover {
    background: #e9e9e9;
}

.pv-measurements-drawer h3 {
    margin: 18px 0px;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.pv-measurements-list {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.pv-measurement-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.pv-measurement-name {
    font-weight: 600;
    color: #666;
}

.pv-measurement-value {
    font-weight: 700;
    color: var(--pv-primary-color);
}

/* ========================================
   Fit Visualization
   ======================================== */
.pv-fit-visualization {
    position: absolute;
    margin-left: 20%;
    height: 100%;
}

.pv-fit-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pv-fit-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

/* ========================================
   Other Sizes Carousel
   ======================================== */
.pv-other-sizes {
    position: absolute;
    margin-top: 47%;
    width: 100%;
    margin-left: 10px;
}

.pv-other-sizes-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.pv-sizes-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.pv-size-card {
    position: relative;
    min-width: 38px;
    padding: 6px 12px;
    background: #ffffff;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--pv-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-size-card:hover {
    border-color: var(--pv-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pv-size-card.pv-active {
    border-color: var(--pv-primary-color);
    background: rgba(0, 0, 0, 0.02);
}

.pv-size-card.pv-recommended {
    border-color: #68E2C1;
}

.pv-size-card.pv-recommended.pv-yellow-card {
    border-color: #F1B51A;
}

.pv-size-card-name {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.pv-size-card-icon {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* ========================================
   Error State
   ======================================== */
.pv-error-state {
    text-align: center;
    padding: 60px 20px;
}

.pv-error-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.pv-error-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.pv-error-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   Modal Footer
   ======================================== */
.pv-modal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--pv-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: #999;
}

.pv-footer-link {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
}

.pv-footer-link:hover {
    color: var(--pv-primary-color);
}

.pv-footer-divider {
    color: #ccc;
}

.pv-footer-powered {
    color: #999;
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 768px) {

    /* Modal base */
    .pv-modal {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    /* Logo */
    .pv-modal-logo {
        max-width: 80px;
        padding: 10px;
    }

    .pv-modal-logo img {
        max-height: 30px;
    }

    /* Close button */
    .pv-modal-close {
        width: 35px;
        height: 35px;
        top: 45px;
        right: 10px;
        font-size: 20px;
    }

    /* Steps content */
    .pv-step-content {
        flex-direction: column;
        height: 100%;
    }

    .pv-step-left,
    .pv-step-right {
        flex: none;
    }

    .pv-step-left {
        height: 40%;
        min-height: 180px;
    }

    .pv-step-right {
        padding: 15px;
        padding-bottom: 70px;
        flex: 1;
        overflow-y: auto;
    }

    .pv-step-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .pv-step-description {
        font-size: 13px;
    }

    .pv-step-header {
        margin-bottom: 20px;
    }

    /* Step 3 - Recommendation */
    .pv-step[data-step="3"] .pv-step-content {
        flex-direction: column;
        position: relative;
    }

    /* Esconder completamente o step-left no mobile */
    .pv-step[data-step="3"] .pv-step-left {
        display: none !important;
    }

    .pv-step[data-step="3"].manual-edit-open .pv-step-left {
        display: block !important;
        text-align: center;
    }

    .pv-step[data-step="3"] .pv-step-right {
        flex: 1;
        padding: 15px;
        padding-top: 15px;
        position: relative;
        height: 100%;
        background: #ffffff;
    }

    .pv-step[data-step="3"].manual-edit-open .pv-step-right {
        padding: 0px;
    }

    /* Recommendation header */
    .pv-recommendation-header {
        position: relative !important;
        text-align: center;
        margin: 0 0 0 0;
        width: 30%;
        top: 30px;
    }

    /* CORREÇÃO: Fit visualization */
    .pv-fit-visualization {
        position: relative !important;
        margin: -107px 0;
        margin-left: 0 !important;
        height: 100% !important;
        min-height: 300px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        top: 20%;
    }

    /* CORREÇÃO: Body with indicators */
    .pv-body-with-indicators {
        position: relative !important;
        display: inline-block;
        max-width: 200px !important;
        width: auto !important;
        height: auto !important;
        margin: 0 auto;
        padding: 0;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .pv-body-shape {
        padding-left: 45px;
    }

    /* Fit indicators */
    .pv-fit-indicator {
        position: absolute;
        width: auto;
        height: 0 !important;
        margin-left: 25% !important;
    }

    .pv-fit-bust {
        top: 26% !important;
        right: 20px !important;
    }

    .pv-fit-waist {
        top: 37% !important;
        right: 20px !important;
    }

    .pv-fit-hip {
        top: 48% !important;
        right: 20px !important;
    }

    .pv-fit-icon {
        width: 16px;
        height: 16px;
    }

    .pv-fit-label {
        font-size: 10px;
    }

    /* Measurements toggle */
    .pv-measurements-toggle {
        top: 65%;
        transform: translateY(-50%);
        width: 100px;
        height: 50px;
        font-size: 12px;
    }

    /* Measurements drawer */
    .pv-measurements-drawer.pv-open {
        width: 90vw !important;
        max-width: 300px !important;
        height: auto !important;
        max-height: 45vh !important;
        margin-top: 0 !important;
        top: 65% !important;
        transform: translateY(-50%);
        left: 0;
    }

    .pv-measurements-toggle-close {
        margin-top: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 50px;
        margin-right: 2px;
    }

    .pv-measurements-drawer h3 {
        font-size: 16px;
        margin: 12px 0;
    }

    .pv-measurements-list {
        padding: 15px;
        gap: 8px;
    }

    .pv-measurement-item {
        padding: 8px;
        font-size: 13px;
    }

    /* Other sizes carousel */
    .pv-other-sizes {
        position: fixed !important;
        width: 100%;
        bottom: 60px;
    }

    .pv-other-sizes-label {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .pv-sizes-carousel {
        gap: 8px;
        padding: 8px 0;
    }

    .pv-size-card {
        min-width: 28px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .pv-size-card-name {
        font-size: 14px;
    }

    /* Size badge */
    .pv-size-badge {
        font-size: 22px;
        padding: 12px 24px;
    }

    /* Manual edit */
    .pv-manual-edit-container {
        flex-direction: column;
        gap: 15px;
    }

    .pv-manual-edit-body {
        flex: none;
        height: 150px;
    }

    .pv-manual-edit-panel {
        padding: 15px 15px 50px 15px !important;
    }

    .pv-manual-edit-panel h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .pv-manual-field {
        grid-template-columns: 70px 1fr auto;
        gap: 8px;
        font-size: 13px;
    }

    .pv-manual-input {
        width: 80px;
        padding: 6px 10px;
        font-size: 14px;
    }

    /* Adjustment groups */
    .pv-adjustment-group {
        flex-wrap: wrap;
        padding: 12px;
        gap: 10px;
    }

    .pv-adjustment-label {
        font-size: 13px;
    }

    /* Buttons */
    .pv-btn {
        padding: 12px;
        font-size: 14px;
    }

    .pv-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Gender buttons */
    .pv-gender-buttons {
        gap: 8px;
    }

    .pv-gender-btn {
        padding: 10px;
        font-size: 13px;
    }

    /* Field inputs */
    .pv-input {
        padding: 10px;
        font-size: 14px;
    }

    /* Progress wrapper */
    .pv-progress-wrapper {
        bottom: 35px;
        gap: 8px;
        position: fixed;
    }

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

    .pv-progress-dot.pv-progress-active {
        width: 14px;
        height: 14px;
    }

    /* Hide desktop only elements */
    .pv-desktop-only {
        display: none !important;
    }

    /* Skin tones */
    .pv-skin-tones {
        left: 10px;
        margin-top: 30px;
        gap: 3px;
    }

    .pv-skin-btn {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
}

/* ========================================
   Responsive - Extra Small Mobile
   ======================================== */
@media (max-width: 375px) {
    .pv-modal-logo {
        max-width: 70px;
        padding: 8px;
    }

    .pv-modal-logo img {
        max-height: 25px;
    }

    .pv-body-with-indicators {
        max-width: 180px !important;
    }

    .pv-measurements-drawer.pv-open {
        width: 95vw !important;
        max-width: 280px !important;
    }

    .pv-step-title {
        font-size: 16px;
    }

    .pv-size-badge {
        font-size: 20px;
        padding: 10px 20px;
    }

    .pv-step-right {
        padding: 12px;
        padding-bottom: 60px;
    }

    .pv-fit-visualization {
        min-height: 250px;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {

    .pv-modal-backdrop,
    .pv-button {
        display: none !important;
    }
}

/* ========================================
   Accessibility
   ======================================== */
.pv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible */
.pv-button:focus-visible,
.pv-btn:focus-visible,
.pv-gender-btn:focus-visible,
.pv-adjust-btn:focus-visible {
    outline: 3px solid var(--pv-primary-color);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Desktop only */
.pv-desktop-only {
    display: flex;
}

@media (max-width: 768px) {}

/* Fit indicators sobre o manequim */
.pv-body-with-indicators {
    display: inline-block;
    position: absolute;
    width: 240px;
    height: auto;
}

.pv-fit-indicator {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: -1px;
    transition: 500ms;
}

.pv-fit-indicator-line.ideal {
    fill: rgb(104, 226, 193);
}

.pv-fit-indicator-line.slightly_snug {
    fill: rgb(104, 226, 193);
}

.pv-fit-indicator-line.loose {
    fill: rgb(98, 144, 234);
}

.pv-fit-indicator-line.very_loose {
    fill: rgb(241, 181, 26);
}

.pv-fit-indicator-line.snug {
    fill: rgb(237, 72, 72);
}

.pv-fit-indicator-line.tight {
    fill: rgb(237, 72, 72);
}

.st0 {
    fill: #231F20;
}

.st1 {
    opacity: 0.3;
    fill: #231F20;
    enable-background: new;
}

.st2 {
    fill: #231F20;
    fill-opacity: 0;
}

.st3 {
    opacity: 0.1;
    fill: #231F20;
}

.pv-fit-indicator-legend {
    margin-left: 105%;
}

.pv-fit-bust {
    top: 25%;
}

.pv-fit-waist {
    top: 35%;
}

.pv-fit-hip {
    top: 45%;
}

/* Painel de edição manual */
.pv-manual-edit-panel {
    padding: 35px;
    max-width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.pv-manual-edit-panel h3 {
    font-size: 20px;
    margin: 0 0 20px 0;
}

.pv-manual-error-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pv-error-icon-small {
    font-size: 24px;
    flex-shrink: 0;
}

.pv-error-content {
    flex: 1;
}

.pv-error-content strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #856404;
    margin-bottom: 5px;
}

.pv-error-content p {
    font-size: 13px;
    color: #856404;
    margin: 0;
    line-height: 1.4;
}

.pv-manual-edit-container {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.pv-manual-edit-body {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-body-shape-edit {
    max-width: 100%;
    max-height: 400px;
}

.pv-manual-edit-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pv-manual-field {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px;
    align-items: center;
}

.pv-manual-field label {
    font-weight: 600;
    font-size: 14px;
}

.pv-manual-input {
    padding: 8px 12px;
    border: 1px solid var(--pv-border-color);
    border-radius: 4px;
    font-size: 16px;
    width: 100px;
}

.pv-manual-unit {
    font-size: 14px;
    color: #666;
}

.pv-manual-range {
    grid-column: 2 / 4;
    width: 100%;
}

@media (max-width: 768px) {}

/* Size card click effect */
.pv-size-card {
    transition: all 0.3s ease;
}

.pv-size-card:hover,
.pv-size-card.pv-active {
    border-color: var(--pv-primary-color);
    background: rgba(0, 0, 0, 0.05);
}

/* SVG Body Groups */
.group-NORMAL .path-NORMAL {
    opacity: 1;
}

.group-LOOSE .path-NORMAL {
    opacity: 0.3;
}

.group-LARGE .path-NORMAL {
    opacity: 0.1;
}