/* =====================================================
   SIZE GUIDE – LIN XÉN
===================================================== */

/* ================= OVERLAY & MODAL ================= */

.lx-size-guide-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lx-size-guide-modal {
    background: #fff;
    width: min(920px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 14px;
    padding: 24px;
    position: relative;
}

.lx-size-guide-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #111;
}

.lx-size-guide-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.lx-size-guide-note {
    font-size: 13px;
    color: #777;
    margin-bottom: 18px;
}

/* ================= CONTENT LAYOUT ================= */

.lx-size-guide-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

/* ================= TABLE ================= */

.lx-size-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.lx-size-guide-table th,
.lx-size-guide-table td {
    border: 1px solid #eee;
    padding: 8px 10px;
    text-align: center;
}

.lx-size-guide-table th {
    background: #fafafa;
    font-weight: 600;
}

.lx-size-guide-table td:first-child,
.lx-size-guide-table th:first-child {
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}

/* ================= ILLUSTRATION ================= */

.lx-size-guide-illustration img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.lx-size-guide-illustration ul {
    font-size: 13px;
    color: #555;
    padding-left: 16px;
    line-height: 1.5;
}

/* ================= CTA – VIEW SIZE GUIDE ================= */

.lx-size-guide-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 8px;
    padding: 12px 14px;
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    background: #fafafa;
}

.lx-size-guide-cta:hover {
    background: #f5f5f5;
    border-color: #d1d5db;
}

.lx-size-guide-icon {
    font-size: 20px;
    line-height: 1;
}

.lx-size-guide-text {
    flex: 1;
    line-height: 1.25;
}

.lx-size-guide-text strong {
    display: block;
    font-size: 14px;
    color: #111;
}

.lx-size-guide-text small {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.lx-size-guide-arrow {
    font-size: 18px;
    color: #9ca3af;
    transition: transform .2s ease;
}

.lx-size-guide-cta:hover .lx-size-guide-arrow {
    transform: translateX(2px);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .lx-size-guide-content {
        grid-template-columns: 1fr;
    }

    .lx-size-guide-modal {
        padding: 20px 16px;
    }

    .lx-size-guide-title {
        font-size: 18px;
    }
}
/* =====================================================
   FIX: RESPECT [hidden] ATTRIBUTE
===================================================== */

.lx-size-guide-overlay[hidden] {
    display: none !important;
}
/* ================= RANGE CELL ================= */

.lx-range {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    font-size: 13px;
}

.lx-range-mid {
    font-size: 12px;
    color: #9ca3af;
    margin: 2px 0;
}
/* ================= SIZE ASSISTANT ================= */

.lx-size-assistant {
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #fafafa;
}

.lx-size-assistant-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.lx-size-assistant-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.lx-size-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lx-size-field label {
    font-size: 12px;
    color: #555;
}

.lx-size-field input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.lx-size-submit {
    margin-top: 12px;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #111;
    color: #fff;
    font-size: 14px;
}

.lx-size-result {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px dashed #ddd;
    font-size: 14px;
    text-align: center;
}
/* SIZE ASSISTANT BUTTON – GOLD LUXURY */

.lx-size-submit {
    margin-top: 12px;
    padding: 11px 14px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #D6B46A;
    cursor: pointer;
    background: linear-gradient(
        to bottom,
        #FAF6EE,
        #F2E6C9
    );
    color: #7A5A12;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .2px;
    transition: all .2s ease;
}

.lx-size-submit:hover {
    background: linear-gradient(
        to bottom,
        #F2E6C9,
        #E8D7A8
    );
    border-color: #C8A94F;
}
