/**
 * Copyright © 2015 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */

/* Measuring Guide Button */
.measuring-guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin: 15px 0;
    background-color: #fff;
    border: 2px solid #333;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.measuring-guide-btn:hover {
    background-color: #333;
    color: #fff;
}

.measuring-guide-icon {
    display: inline-flex;
    align-items: center;
}

.measuring-guide-icon svg {
    width: 20px;
    height: 20px;
}

/* Measuring Guide Modal */
.measuring-guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.measuring-guide-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.measuring-guide-modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    margin: 5vh auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 10001;
}

.measuring-guide-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid #f0f0f0;
    background-color: #f8f8f8;
}

.measuring-guide-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.measuring-guide-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.measuring-guide-close:hover {
    color: #333;
}

.measuring-guide-close span {
    line-height: 1;
}

.measuring-guide-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.measuring-guide-intro {
    margin-bottom: 30px;
}

.measuring-guide-intro p {
    margin: 0 0 15px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.measuring-guide-intro p strong {
    color: #333;
    font-weight: 600;
}

.measuring-guide-video {
    margin: 30px 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.measuring-guide-steps {
    margin: 30px 0;
}

.measuring-step {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #333;
    border-radius: 4px;
}

.step-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
}

.measuring-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.measuring-guide-footer {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.measuring-guide-footer p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.measuring-guide-footer p:last-child {
    margin-bottom: 0;
}

.measuring-guide-footer p strong {
    color: #333;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .measuring-guide-modal-content {
        max-width: 95%;
        margin: 2vh auto;
        max-height: 96vh;
    }

    .measuring-guide-modal-header {
        padding: 15px 20px;
    }

    .measuring-guide-title {
        font-size: 20px;
    }

    .measuring-guide-modal-body {
        padding: 20px;
    }

    .measuring-guide-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Magento Modal Override */
.measuring-guide-modal-wrapper._show {
    display: block !important;
}

.measuring-guide-modal-wrapper .modal-inner-wrap {
    background: transparent;
    box-shadow: none;
}




