.sgpd-container {
    max-width: 100%;
    margin: 0 auto;
}

.sgpd-header {
    margin-bottom: 30px;
}

.sgpd-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333;
}

.sgpd-separator {
    height: 2px;
    background: #e0e0e0;
    margin: 20px 0;
}

.sgpd-main {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.sgpd-media {
    flex: 1;
    max-width: 500px;
}

.sgpd-featured-image {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.sgpd-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sgpd-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sgpd-thumb {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.sgpd-thumb:hover,
.sgpd-thumb.active {
    border-color: var(--sgpd-primary, #1a1a1a);
}

.sgpd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sgpd-details {
    flex: 1;
}

.sgpd-summary {
    margin-bottom: 30px;
}

.sgpd-summary h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

.sgpd-summary p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.sgpd-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sgpd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--sgpd-primary, #1a1a1a);
    color: var(--sgpd-text-light, #ffffff);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.sgpd-btn:hover {
    background-color: var(--sgpd-hover, #333333);
    color: var(--sgpd-text-light, #ffffff);
}

.sgpd-btn i {
    font-size: 16px;
}

.sgpd-tabs-wrapper {
    margin-top: 30px;
}

.sgpd-tabs-nav {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.sgpd-tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.sgpd-tab-btn:hover {
    color: var(--sgpd-primary, #1a1a1a);
}

.sgpd-tab-btn.active {
    color: var(--sgpd-primary, #1a1a1a);
}

.sgpd-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--sgpd-primary, #1a1a1a);
}

.sgpd-tabs-content {
    min-height: 100px;
}

.sgpd-tab-content {
    display: none;
    color: #666;
    line-height: 1.6;
}

.sgpd-tab-content.active {
    display: block;
}

.sgpd-tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sgpd-tag-list li {
    background: #f5f5f5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.sgpd-tag-list a {
    color: #333;
    text-decoration: none;
}

.sgpd-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.sgpd-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    flex: 1;
    padding: 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sgpd-nav-link:hover {
    background: #f0f0f0;
}

.sgpd-nav-next {
    justify-content: flex-end;
    text-align: right;
}

.sgpd-nav-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sgpd-nav-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.sgpd-nav-product {
    font-size: 16px;
    font-weight: 600;
}

.sgpd-inquiry {
    margin: 60px 0;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

.sgpd-inquiry-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333;
}

.sgpd-form {
    margin-top: 30px;
}

.sgpd-field {
    margin-bottom: 20px;
}

.sgpd-form input[type="text"],
.sgpd-form input[type="email"],
.sgpd-form input[type="tel"],
.sgpd-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
    color: #333;
    background-color: #fff;
}

.sgpd-form input:focus,
.sgpd-form textarea:focus {
    outline: none;
    border-color: var(--sgpd-primary, #1a1a1a);
}

.sgpd-form textarea {
    resize: vertical;
    min-height: 120px;
}

.sgpd-submit {
    width: 100%;
    padding: 16px 32px;
    background-color: var(--sgpd-primary, #1a1a1a);
    color: var(--sgpd-text-light, #ffffff);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sgpd-submit:hover {
    background-color: var(--sgpd-hover, #333333);
}

.sgpd-notice {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.sgpd-notice.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sgpd-notice.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.sgpd-related {
    margin: 60px 0;
}

.sgpd-related-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333;
}

.sgpd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.sgpd-related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sgpd-related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sgpd-related-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sgpd-related-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.sgpd-related-item h4 {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

@media (max-width: 1024px) {
    .sgpd-main {
        flex-direction: column;
        gap: 30px;
    }

    .sgpd-media {
        max-width: 100%;
    }

    .sgpd-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sgpd-title {
        font-size: 24px;
    }

    .sgpd-main {
        gap: 20px;
    }

    .sgpd-actions {
        flex-direction: column;
    }

    .sgpd-btn {
        width: 100%;
        justify-content: center;
    }

    .sgpd-tabs-nav {
        flex-direction: row;
        gap: 10px;
    }

    .sgpd-tab-btn {
        flex: 1;
        text-align: center;
        padding: 14px 10px;
        font-size: 14px;
    }

    .sgpd-nav {
        flex-direction: column;
        gap: 20px;
    }

    .sgpd-nav-next {
        text-align: left;
        justify-content: flex-start;
    }

    .sgpd-inquiry {
        padding: 20px;
    }

    .sgpd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sgpd-title {
        font-size: 20px;
    }

    .sgpd-inquiry-title,
    .sgpd-related-title {
        font-size: 20px;
    }

    .sgpd-thumbnails {
        gap: 8px;
    }

    .sgpd-thumb {
        width: 60px;
        height: 60px;
    }

    .sgpd-related-grid {
        grid-template-columns: 1fr;
    }

    .sgpd-related-item img {
        height: 180px;
    }
}
