
/* =====================================================
   09 Sound Detail Page Styles
   ===================================================== */

/* Main Wrapper */
.detail-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Breadcrumb */
.breadcrumb {
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 14px 0;
    text-align: left;
    border-radius: 8px;
    word-break: break-all;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--link-second-color);
    margin: 0 4px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: blue;
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--third-color);
    font-weight: 500;
}

/* Detail Container */
.sound-detail-container {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--main-bg-color);
    padding: 24px 0;
    gap: 32px;
}

.sound-detail-left {
    width: 45%;
    text-align: center;
}

.sound-detail-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.sound-title-detail {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--fourth-color);
    padding: 0 8px;
    word-break: break-word;
    line-height: 1.3;
}

/* Big Button (220x220px) */
.sound-button-detail-wrapper {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px auto;
}

.sound-button-detail-wrapper svg {
    width: 220px;
    height: 220px;
}

/* Stats */
.favorite-count {
    flex-direction: column;
    padding: 16px 0 0 0;
    font-size: 15px;
    color: var(--third-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.favorite-count > div {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.favorite-count p {
    font-size: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.favorite-count strong {
    font-weight: 700;
    color: var(--fourth-color);
}

.favorite-count #sound-description {
    font-weight: 600;
    word-break: break-word;
    color: var(--third-color);
    margin-bottom: 12px;
}


/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.action-button-wrapper {
    flex: 1;
    min-width: 200px;
}

.btn {
    border: none;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
    height: 52px;
    display: inline-flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.button-action-red {
    background-color: #dc3545;
}

.button-action-red:hover {
    background-color: #c82333;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transform: translateY(-1px);
}

.button-action-green {
    background-color: #28a745;
}

.button-action-green:hover {
    background-color: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-1px);
}

.action-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease-in-out;
}

.btn:hover .action-icon {
    animation: pulse-grow 0.4s ease-in-out;
}

@keyframes pulse-grow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Social Sharing */
.social-sharing {
    margin-top: 8px;
    gap: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.social-sharing p {
    margin: 0;
    color: var(--third-color);
    font-size: 15px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #ccc;
    color: var(--white-color);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-icon {
    width: 22px;
    height: 22px;
}

.facebook {
    background-color: #1877f2;
}

.facebook:hover {
    background-color: #0d65d9;
}

.twitter {
    background-color: #000000;
}

.twitter:hover {
    background-color: #333333;
}

.whatsapp {
    background-color: #25d366;
}

.whatsapp:hover {
    background-color: #1ebd57;
}

.copy-link {
    background-color: #6c757d;
}

.copy-link:hover {
    background-color: #5a6268;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Section Headers - Inherits from style.css but adjusts for wrapper padding */
.detail-page-wrapper .see-all-container {
    margin: 32px 0 20px 0;
    padding: 0 0 10px 0;
}

.detail-page-wrapper .see-all-container::after {
    left: 0;
    right: 0;
}

.see-all-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--fourth-color);
    margin: 0;
}

.sound-group {
    display: flex;
    gap: 10px;
    align-items: end;
}

.sound-type-icon {
    width: 28px;
    height: 28px;
}

/* Widget for Related Keywords */
.widget {
    width: 100%;
    margin: 32px 0 24px 0;
}

.widget .sound-group {
    display: flex;
    gap: 10px;
    align-items: end;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--five-bg-color);
    padding-bottom: 10px;
}

.widget h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--fourth-color);
    margin: 0;
}

.widget-content {
    background-color: transparent;
}

/* Related Keywords/Tags */
.related-search {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-search span {
    display: inline-block;
    padding: 10px 18px;
    background-color: var(--five-bg-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--fourth-color);

}

.see-all-icon {
    width: 20px;
    height: 20px;
}

/* Icons */
.favorite-icon {
    width: 16px;
    height: 16px;
}


/* Responsive */
@media (max-width: 768px) {
    .detail-page-wrapper {
        padding: 0 12px;
    }

    .sound-detail-container {
        padding: 16px 0;
        gap: 24px;
    }

    .sound-detail-left {
        flex: none;
        margin-right: 0;
        width: 100%;
    }

    .sound-title-detail {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .favorite-count {
        padding: 12px 8px 0 8px;
    }

    .sound-button-detail-wrapper {
        width: 180px;
        height: 180px;
        margin: 0 auto 16px auto;
    }

    .sound-button-detail-wrapper svg {
        width: 180px;
        height: 180px;
    }

    .action-buttons {
        gap: 10px;
    }

    .action-button-wrapper {
        min-width: 100%;
    }

    .btn {
        height: 48px;
        font-size: 14px;
    }

    .social-sharing {
        padding: 0 8px;
    }

    .social-sharing p {
        font-size: 14px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .share-icon {
        width: 20px;
        height: 20px;
    }

    .see-all-container {
        margin: 24px 0 16px 0;
        padding-bottom: 10px;
    }

    .see-all-container h2 {
        font-size: 20px;
    }

    .widget {
        margin: 24px 0 20px 0;
    }

    .widget h2 {
        font-size: 20px;
    }

    .sound-type-icon {
        width: 24px;
        height: 24px;
    }

    .favorite-icon {
        width: 14px;
        height: 14px;
    }

    .breadcrumb {
        margin: 8px 0 12px 0;
        padding: 12px;
        font-size: 13px;
    }

    .related-search {
        gap: 10px;
    }

    .related-search span {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .sound-detail-container {
        padding: 12px 0;
        gap: 20px;
    }

    .sound-title-detail {
        font-size: 20px;
    }

    .see-all-icon {
        width: 18px;
        height: 18px;
    }

    .see-all-container h2 {
        font-size: 18px;
    }

    .widget h2 {
        font-size: 18px;
    }

    .see-all-container {
        padding-bottom: 8px;
        margin: 20px 0 12px 0;
    }

    .widget {
        margin: 20px 0 16px 0;
    }

    .btn {
        height: 44px;
        font-size: 13px;
        padding: 10px 14px;
    }

    .btn-see-all {
        padding: 6px 14px;
        font-size: 14px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .share-icon {
        width: 18px;
        height: 18px;
    }

    .related-search span {
        padding: 7px 12px;
        font-size: 12px;
    }
}

@media (max-width: 376px) {
    .sound-button-detail-wrapper {
        height: 150px;
        width: 150px;
    }

    .sound-button-detail-wrapper svg {
        height: 150px;
        width: 150px;
    }

    .sound-title-detail {
        font-size: 18px;
    }

    .see-all-container h2 {
        font-size: 16px;
    }

    .widget h2 {
        font-size: 16px;
    }

    .favorite-count {
        font-size: 14px;
    }
}