/* ==================================================== */
/* 1. STIL BUTON GHID MARIMI (GHOST - CONTURAT)         */
/* ==================================================== */
#show-size-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Spatiu intre icon si text */
    
    width: 100%;
    box-sizing: border-box;
    margin-top: 15px;
    margin-bottom: 10px;
    
    /* Design "Ghost" (Fundal Alb + Contur Negru) */
    background-color: #fff; 
    color: #222; 
    border: 1px solid #222; 
    
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

#show-size-guide:hover {
    background-color: #f5f5f5;
    color: #000;
    border-color: #000;
}

/* ==================================================== */
/* 2. STILURI MODAL (FIX SAMSUNG & SAFARI)              */
/* ==================================================== */
.sg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    backdrop-filter: blur(2px);
}

.sg-content {
    background: #fff;
    color: #222;
    width: 100%;
    max-width: 500px;
    
    /* Inaltime dinamica pentru a evita bara de jos */
    max-height: 65vh; 
    max-height: 65dvh; 
    
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.sg-scroll-area {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 40px 20px 100px 20px; 
    flex: 1;
}

#close-size-guide {
    position: absolute; top: 10px; right: 10px;
    background: #f0f0f0; color: #000; border: none;
    font-size: 22px; cursor: pointer; width: 32px; height: 32px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    padding-bottom: 3px; z-index: 10;
}

/* ==================================================== */
/* 3. STILURI TABEL                                     */
/* ==================================================== */
.ghid-marimi h3 { text-align: center; font-size: 18px; margin-bottom: 20px; text-transform: uppercase; color: #000; }
.table-container { width: 100%; overflow-x: auto; margin-bottom: 20px; border: 1px solid #eee; border-radius: 4px; }
table { width: 100%; min-width: 100%; border-collapse: collapse; margin-bottom: 0; }
th { background-color: #f4f4f4; padding: 12px; color: #000; font-weight: 700; text-align: center; border-bottom: 1px solid #ddd; position: sticky; top: 0; }
td { padding: 12px; text-align: center; border-bottom: 1px solid #eee; font-size: 14px; white-space: nowrap; color: #333; }
.info-note-wrapper { width: 100%; display: block; }