/**
 * CC Size Guide - Styles
 */

.cc-sg-wrapper {
    margin-top: 1rem;
    padding-top: 1rem;
    width: 100%;
}

.cc-sg-separator {
    height: 1px;
    background-color: #ebebeb;
    margin-bottom: 1rem;
}

.cc-sg-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #232323;
    color: #232323;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.cc-sg-btn:hover {
    background-color: #232323;
    color: #ffffff;
}

.cc-sg-btn-icon {
    flex-shrink: 0;
}

/* Modal Overlay */
.cc-sg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* Modal Box */
.cc-sg-modal {
    background-color: #ffffff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: ccSgFadeIn 0.3s ease-out;
}

@keyframes ccSgFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal Header */
.cc-sg-modal-header {
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cc-sg-modal-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.cc-sg-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #232323;
}

.cc-sg-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin: -4px;
    color: #4A4A4A;
    transition: transform 0.2s ease;
}

.cc-sg-close-btn:hover {
    transform: scale(1.1);
}

/* Modal Body */
.cc-sg-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

.cc-sg-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 767px) {
    .cc-sg-modal {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}
