@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/static/woff2/Pretendard-Light.woff2') format('woff2');
    font-weight: 300; font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/static/woff2/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/static/woff2/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal;
}
@font-face {
    font-family: 'Barlow';
    src: url('https://fonts.googleapis.com/css2?family=Barlow:wght@600&display=swap');
    font-weight: 600;
    font-style: normal;
}

/* Main Section Container */
.product-suggestion-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 1440px;
    max-width: 100%;
    margin: 120px auto 0;
    padding: 0;
    opacity: 1;
    transform: none;
}

.product-suggestion-section.visible {
    opacity: 1;
    transform: none;
}

/* Section Title (fallback) */
.product-suggestion-section-title {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #000000;
    margin: 0;
    text-align: center;
}

/* Header Section */
.product-suggestion-header-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    gap: 48px;
    width: 1440px;
    max-width: 100%;
    height: 52px;
    opacity: 0;
    transform: translateY(24px);
}

.product-suggestion-header-title {
    width: 310px;
    height: 52px;
    font-family: 'Barlow', 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #242424;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.product-suggestion-header-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 24px;
    width: 519px;
    height: 32px;
    filter: drop-shadow(0px 2px 32px rgba(0, 0, 0, 0.07));
    border-radius: 88px;
}

.platform-logo {
    height: 32px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.platform-logo img {
    height: 32px;
    object-fit: contain;
}

.platform-logo.shopee {
    width: 97px;
}

.platform-logo.lazada {
    width: 147px;
}

.platform-logo.tiktok {
    width: 179px;
}

.divider {
    width: 1px;
    height: 15px;
    background-color: #E3E4E6;
    flex-shrink: 0;
}

/* List Card Section */
.product-suggestion-list-card-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 0 80px;
    gap: 40px;
    width: 1440px;
    max-width: 100%;
    height: 592px;
}

/* Feature Image */
.product-suggestion-feature-image {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
    width: 560px;
    height: 560px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
}

.product-suggestion-feature-image::before,
.product-suggestion-card-picture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-position: inherit;
    background-repeat: inherit;
    background-size: inherit;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-suggestion-feature-image::after,
.product-suggestion-card-picture::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.18));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.product-suggestion-feature-image > * {
    position: relative;
    z-index: 1;
}

.product-suggestion-feature-image:hover::before,
.product-suggestion-card-item:hover .product-suggestion-card-picture::before {
    transform: scale(1.15);
}

.product-suggestion-feature-image:hover::after,
.product-suggestion-card-item:hover .product-suggestion-card-picture::after {
    opacity: 1;
}

.product-suggestion-tagline {
    width: 521px;
    font-family: 'Barlow', 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 72px;
    line-height: 130%;
    letter-spacing: 0.036em;
    color: rgba(255, 255, 255, 0.45);
    -webkit-text-stroke: 1.5px #ffffff;
    text-shadow: 0px 4px 42px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
}

/* Card List Wrapper (scrollable container) */
.product-suggestion-card-list-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 680px;
    height: 592px;
    flex-grow: 1;
    opacity: 0;
    transform: translateY(24px);
}

.product-suggestion-section.visible .product-suggestion-header-section {
    animation: productSuggestionFadeUp 4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.product-suggestion-section.visible .product-suggestion-feature-image {
    animation: productSuggestionFadeUp 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.product-suggestion-section.visible .product-suggestion-tagline {
    animation: productSuggestionTaglineReveal 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1s;
}

.product-suggestion-section.visible .product-suggestion-card-list-wrapper {
    animation: productSuggestionFadeUp 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.75s;
}

@keyframes productSuggestionFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes productSuggestionTaglineReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Card List (scrollable inner) */
.product-suggestion-card-list {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    gap: 20px;
    width: 680px;
    height: 560px;
    overflow: hidden;
    scroll-behavior: auto;
}

.product-suggestion-card-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 680px;
    height: 560px;
    flex: 0 0 680px;
}

/* Card Item (wrapper for card + divider) */
.product-suggestion-card-item {
    width: 680px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Card */
.product-suggestion-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 20px;
    width: 680px;
    height: 160px;
}

/* Card Picture */
.product-suggestion-card-picture {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 10px;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    overflow: hidden;
    position: relative;
}

/* Card Info */
.product-suggestion-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    width: 500px;
    min-width: 0;
    height: auto;
    flex-grow: 1;
}

.product-suggestion-card-name {
    width: 500px;
    font-family: 'Barlow', 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #000000;
    overflow-wrap: anywhere;
}

/* Pricing */
.product-suggestion-card-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    width: 500px;
}
.product-suggestion-card-meta-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.product-suggestion-card-original-price {
    font-family: 'Barlow', 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0.035em;
    text-decoration: line-through;
    color: #C0C0C2;
}

.product-suggestion-card-volume {
    font-family: 'Barlow', 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #C0C0C2;
    margin: 0;
}

.product-suggestion-card-discount-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    width: 500px;
}

.product-suggestion-card-discount-pct {
    font-family: 'Barlow', 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #FF2B2B;
}

.product-suggestion-card-sale-price {
    font-family: 'Barlow', 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #242424;
    flex-grow: 1;
    overflow-wrap: anywhere;
}

/* Divider */
.product-suggestion-card-divider {
    width: 680px;
    height: 0;
    border-top: 1px solid #E8E8E8;
    flex-shrink: 0;
}

/* Pagination */
.product-suggestion-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px 0 0;
    gap: 8px;
    width: 680px;
    height: 32px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #EFEFEF;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: var(--primary-color);
}

/* Empty State */
.product-suggestion-empty-state {
    text-align: center;
    padding: 60px 20px;
    border-radius: 18px;
    margin: 20px 0;
}

.product-suggestion-empty-state h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-suggestion-empty-state p {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
}

/* Responsive: 1200px - 1439px */
@media (min-width: 1200px) and (max-width: 1439px) {
    .product-suggestion-section {
        width: 100%;
        padding: 0;
        gap: 44px;
    }

    .product-suggestion-header-section {
        width: 100%;
        padding: 0 40px;
        gap: 32px;
    }

    .product-suggestion-header-links {
        width: auto;
        gap: 12px;
    }

    .platform-logo.shopee {
        width: 70px;
    }

    .platform-logo.lazada {
        width: 100px;
    }

    .platform-logo.tiktok {
        width: 120px;
    }

    .product-suggestion-list-card-section {
        width: 100%;
        padding: 0 40px;
        gap: 32px;
        height: 532px;
    }

    .product-suggestion-feature-image {
        width: 500px;
        height: 500px;
    }

    .product-suggestion-tagline {
        width: 100%;
        font-size: 58px;
    }

    .product-suggestion-card-list-wrapper {
        width: auto;
        min-width: 0;
        height: 532px;
    }

    .product-suggestion-card-list {
        width: 100%;
        height: 500px;
    }

    .product-suggestion-card-group,
    .product-suggestion-card-item,
    .product-suggestion-card,
    .product-suggestion-card-divider,
    .product-suggestion-pagination {
        width: 100%;
    }

    .product-suggestion-card-group {
        flex: 0 0 100%;
        height: 500px;
    }

    .product-suggestion-card {
        height: 146px;
    }

    .product-suggestion-card-picture {
        width: 146px;
        height: 146px;
    }

    .product-suggestion-card-info,
    .product-suggestion-card-name,
    .product-suggestion-card-pricing,
    .product-suggestion-card-meta-row,
    .product-suggestion-card-discount-row {
        width: 100%;
    }
}

/* Responsive: 768px - 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    .product-suggestion-section {
        width: 100%;
        padding: 0;
        gap: 48px;
        margin-top: 64px;
    }

    .product-suggestion-header-section {
        width: 100%;
        height: 36px;
        padding: 0 24px;
        gap: 48px;
    }

    .product-suggestion-header-title {
        height: 36px;
        font-family: 'Pretendard', sans-serif;
        font-weight: 600;
        font-size: 28px;
        line-height: 130%;
        letter-spacing: 0.035em;
        width: 235px;
    }

    .product-suggestion-header-links {
        width: 193px;
        height: 32px;
        gap: 24px;
    }

    .product-suggestion-section .platform-logo img {
        width: 100%;
        height: 32px;
        object-fit: contain;
    }

    .product-suggestion-section .platform-logo.shopee,
    .product-suggestion-section .platform-logo.lazada,
    .product-suggestion-section .platform-logo.tiktok {
        height: 32px;
        overflow: hidden;
    }

    .product-suggestion-section .platform-logo.shopee {
        width: 32px;
        --platform-logo-mobile-width: 97px;
    }

    .product-suggestion-section .platform-logo.lazada {
        width: 40px;
        --platform-logo-mobile-width: 147px;
    }

    .product-suggestion-section .platform-logo.tiktok {
        width: 25px;
        --platform-logo-mobile-width: 179px;
    }

    .product-suggestion-section .platform-logo.shopee img,
    .product-suggestion-section .platform-logo.lazada img,
    .product-suggestion-section .platform-logo.tiktok img {
        width: var(--platform-logo-mobile-width);
        height: 32px;
        max-width: none;
        object-fit: contain;
        object-position: left center;
    }

    .product-suggestion-list-card-section {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 24px;
        gap: 40px;
        height: auto;
    }

    .product-suggestion-feature-image {
        width: 720px;
        max-width: 100%;
        height: 720px;
    }

    .product-suggestion-tagline {
        width: 521px;
        max-width: 100%;
        font-family: 'Pretendard', sans-serif;
        font-size: 72px;
        line-height: 130%;
        letter-spacing: 0.035em;
    }

    .product-suggestion-card-list-wrapper {
        width: 720px;
        max-width: 100%;
        height: auto;
    }

    .product-suggestion-card-list {
        width: 100%;
        height: auto;
        overflow: hidden;
        flex-direction: row;
        gap: 20px;
    }

    .product-suggestion-card-group {
        width: 100%;
        height: auto;
        flex: 0 0 100%;
    }

    .product-suggestion-card-item {
        width: 100%;
    }

    .product-suggestion-card {
        width: 100%;
        height: 160px;
        gap: 20px;
    }

    .product-suggestion-card-picture {
        width: 160px;
        height: 160px;
    }

    .product-suggestion-card-info {
        flex: 1 1 0;
        width: 540px;
        min-width: 0;
        gap: 12px;
    }

    .product-suggestion-card-name {
        width: 100%;
        font-family: 'Pretendard', sans-serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 130%;
        letter-spacing: 0.035em;
    }

    .product-suggestion-card-pricing {
        width: 100%;
        gap: 8px;
    }

    .product-suggestion-card-meta-row {
        width: 100%;
    }

    .product-suggestion-card-discount-row {
        width: 100%;
        gap: 8px;
    }

    .product-suggestion-card-original-price {
        font-family: 'Pretendard', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 130%;
        letter-spacing: 0.035em;
    }

    .product-suggestion-card-volume {
        font-family: 'Pretendard', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0.035em;
    }

    .product-suggestion-card-discount-pct,
    .product-suggestion-card-sale-price {
        font-family: 'Pretendard', sans-serif;
        font-weight: 600;
        font-size: 22px;
        line-height: 130%;
        letter-spacing: 0.035em;
    }

    .product-suggestion-card-divider {
        width: 100%;
    }

    .product-suggestion-pagination {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive: < 768px */
@media (max-width: 767px) {
    .product-suggestion-section {
        padding: 0 16px;
        gap: 32px;
        margin: 64px auto 0;
    }

    .product-suggestion-header-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 20px;
        height: auto;
    }

    .product-suggestion-header-title {
        font-family: 'Pretendard', sans-serif;
        font-weight: 600;
        font-size: 24px;
        line-height: 130%;
        height: 31px;
        width: 100%;
    }

    .product-suggestion-header-links {
        width: 169px;
        gap: 24px;
        height: 24px;
        flex-wrap: nowrap;
    }

    .product-suggestion-section .platform-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .product-suggestion-section .platform-logo.shopee,
    .product-suggestion-section .platform-logo.lazada,
    .product-suggestion-section .platform-logo.tiktok {
        height: 24px;
        overflow: hidden;
    }

    .product-suggestion-section .platform-logo.shopee {
        width: 24px;
        --platform-logo-mobile-width: 73px;
    }

    .product-suggestion-section .platform-logo.lazada {
        width: 30px;
        --platform-logo-mobile-width: 110px;
    }

    .product-suggestion-section .platform-logo.tiktok {
        width: 19px;
        --platform-logo-mobile-width: 134px;
    }

    .product-suggestion-section .platform-logo.shopee img,
    .product-suggestion-section .platform-logo.lazada img,
    .product-suggestion-section .platform-logo.tiktok img {
        width: var(--platform-logo-mobile-width);
        height: 24px;
        max-width: none;
        object-fit: contain;
        object-position: left center;
    }

    .product-suggestion-list-card-section {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 24px;
        height: auto;
    }

    .product-suggestion-feature-image {
        justify-content: space-between;
        width: 343px;
        max-width: 100%;
        height: 343px;
        padding: 12px;
        opacity: 1;
    }

    .product-suggestion-tagline {
        width: 189px;
        font-family: 'Pretendard', sans-serif;
        font-weight: 700;
        font-size: 26px;
        line-height: 130%;
    }

    .product-suggestion-card-list-wrapper {
        width: 343px;
        max-width: 100%;
        height: auto;
        touch-action: pan-y;
    }

    .product-suggestion-card-list {
        width: 100%;
        height: auto;
        overflow: hidden;
        flex-direction: row;
        gap: 20px;
    }

    .product-suggestion-card-group {
        width: 100%;
        height: auto;
        flex: 0 0 100%;
        gap: 20px;
    }

    .product-suggestion-card-item {
        width: 100%;
    }

    .product-suggestion-card {
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        height: 80px;
    }

    .product-suggestion-card-picture {
        width: 80px;
        height: 80px;
        padding: 10px;
        opacity: 1;
    }

    .product-suggestion-card-info,
    .product-suggestion-card-pricing,
    .product-suggestion-card-discount-row {
        width: 100%;
    }

    .product-suggestion-card-info {
        flex: 1 1 0;
        min-width: 0;
        gap: 8px;
    }

    .product-suggestion-card-pricing {
        gap: 4px;
    }

    .product-suggestion-card-meta-row {
        width: 100%;
    }

    .product-suggestion-card-name {
        font-family: 'Pretendard', sans-serif;
        font-weight: 500;
        font-size: 13px;
        line-height: 130%;
        letter-spacing: 0.035em;
        width: 100%;
    }

    .product-suggestion-card-original-price {
        font-family: 'Pretendard', sans-serif;
        font-weight: 400;
        font-size: 12px;
        line-height: 130%;
        letter-spacing: 0.035em;
    }

    .product-suggestion-card-volume {
        font-size: 12px;
    }

    .product-suggestion-card-discount-pct {
        font-family: 'Pretendard', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 130%;
        letter-spacing: 0.035em;
    }

    .product-suggestion-card-sale-price {
        font-family: 'Pretendard', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 130%;
        letter-spacing: 0.035em;
    }

    .product-suggestion-card-divider {
        width: 100%;
    }

    .product-suggestion-pagination {
        width: 56px;
        height: 28px;
        padding: 20px 0 0;
        justify-content: center;
    }

    .product-suggestion-pagination .dot {
        width: 8px;
        height: 8px;
    }
}
