/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header-top {
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 30px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    border-color: #3498db;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.search-bar button:hover {
    color: #3498db;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #bdc3c7;
    transform: translateY(-2px);
}

/* GNB Navigation */
.gnb-navigation {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.gnb-navigation .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gnb-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.gnb-item {
    position: relative;
}

.gnb-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 25px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.gnb-link:hover {
    color: #3498db;
    background: #fff;
}

.gnb-link i:first-child {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.gnb-link .fa-chevron-down {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.gnb-item:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* Tagline in GNB */
.gnb-navigation .tagline {
    background: none;
    padding: 0;
    text-align: right;
    margin-left: auto;
}

.gnb-navigation .tagline p {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding: 20px 25px;
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.gnb-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-content {
    display: flex;
    padding: 30px;
    gap: 40px;
}

.submenu-section {
    flex: 1;
}

.submenu-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
}

.submenu-section ul {
    list-style: none;
}

.submenu-section li {
    margin-bottom: 8px;
}

.submenu-section a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.submenu-section a:hover {
    color: #3498db;
}

/* 서브메뉴 위치 조정 */
.gnb-item:nth-child(1) .submenu {
    left: 0;
}

.gnb-item:nth-child(2) .submenu {
    left: -100px;
}

.gnb-item:nth-child(3) .submenu {
    left: -200px;
}

.gnb-item:nth-child(4) .submenu {
    left: -300px;
}

.tagline {
    background: #ecf0f1;
    padding: 10px 0;
    text-align: center;
}

.tagline p {
    color: #666;
    font-size: 14px;
}

/* Book Placeholder */
.book-placeholder {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.book-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Book placeholder sizes */
.book-placeholder {
    width: 140px;
    height: 200px;
    margin: 0 auto;
}

.book-placeholder.wide {
    width: 300px;
    height: 200px;
}

.book-placeholder.small {
    width: 80px;
    height: 120px;
}

/* Main Banner */
.main-banner {
    padding: 10px 0;
}

.banner-slide {
    position: relative;
}

.banner-placeholder {
    background: linear-gradient(135deg, #ddd 0%, #f5f5f5 100%);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
}

.banner-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.indicator.active {
    background: #3498db;
    border-color: #3498db;
    transform: scale(1.2);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.view-all {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #2980b9;
}

/* New Content Carousel */
.content-carousel {
    position: relative;
    margin-bottom: 40px;
}

.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
}

.content-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    height: auto;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    transform: none;
    box-shadow: none;
}

.content-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: stretch;
    flex-shrink: 0;
    margin-bottom: 15px;
    padding: 0;
}

.content-image .book-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    margin: 0;
}

/* Carousel Navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: #3498db;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
    left: -10px;
    right: auto;
}

.carousel-arrow.right {
    right: -10px;
}

/* Promotional Banners */
.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.promo-banner .banner-placeholder {
    height: 150px;
    font-size: 14px;
}

/* Lecture Content */
.lecture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.lecture-item {
    display: flex;
    gap: 15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    padding: 15px;
    transition: all 0.3s ease;
    min-height: 200px;
    align-items: stretch;
}

.lecture-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lecture-image {
    flex: 0 0 140px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lecture-image .book-placeholder {
    width: 140px;
    height: 200px;
}

.lecture-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: space-between;
    min-height: 200px;
}

.lecture-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
    margin-bottom: -20px;
}

.lecture-info .subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.2em;
    margin-top: 2px;
}

.lecture-info .description {
    color: #666;
    font-size: 12px;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lecture-info .price {
    font-weight: 600;
    color: #e74c3c;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

.lecture-info .seller {
    color: #666;
    font-size: 12px;
    margin: 0;
    line-height: 1.2;
}

.lecture-info .rating {
    color: #f39c12;
    font-size: 12px;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lecture-info .rating-left {
    display: flex;
    align-items: center;
}

.lecture-info .rating i {
    font-size: 11px;
    margin-right: 3px;
}

/* Popular Content */
.popular-list {
    margin-bottom: 20px;
}

.popular-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: none;
    transition: all 0.3s ease;
    min-height: 180px;
    align-items: flex-start;
    position: relative;
}

.popular-item:hover {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0 -15px;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-image {
    position: relative;
    flex: 0 0 140px;
    margin-top: 15px;
}

.popular-image .book-placeholder.large {
    width: 140px;
    height: 200px;
}

.popular-image .book-placeholder.small {
    width: 80px;
    height: 120px;
}

.popular-image .trend-indicator {
    position: absolute;
    top: 0;
    left: 0;
    background: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
}

/* Popular Content Typography - Unified System */
.popular-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 180px;
    justify-content: space-between;
    margin-top: 15px;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ranking-label {
    background: #3498db;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.popular-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.popular-info .description {
    color: #666;
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.popular-info .rating {
    color: #f39c12;
    font-size: 13px;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.popular-info .rating i {
    font-size: 12px;
    margin-right: 3px;
}

.content-type-tag {
    display: inline-block;
    background: #ecf0f1;
    color: #666;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin: 0;
    transition: all 0.3s ease;
}

.content-type-tag:hover {
    background: #3498db;
    color: white;
}

/* Promotional Banner 3 */
.promotional-banner-3 {
    margin-top: 30px;
}

.promotional-banner-3 .banner-placeholder {
    height: 200px;
    font-size: 14px;
}

/* Main Bottom Banner */
.main-bottom-banner {
    padding:0;
    background: #f8f9fa;
    margin-top: 60px;
}

.bottom-banner-placeholder {
    background: linear-gradient(135deg, #ddd 0%, #f5f5f5 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 100%;
}

.bottom-banner-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    gap: 30px;
}

.company-info p {
    margin-bottom: 5px;
    font-size: 14px;
}

.copyright {
    border-top: 1px solid #34495e;
    padding-top: 20px;
}

.copyright p {
    font-size: 12px;
    color: #bdc3c7;
    line-height: 1.6;
}

/* Utility Classes */
.full-width {
    width: 100%;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-image {
        height: 35px;
        max-width: 150px;
    }
    
    .search-bar {
        max-width: 100%;
    }
    
    .gnb-navigation .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .gnb-menu {
        flex-direction: column;
        display: none;
    }
    
    .gnb-menu.active {
        display: flex;
    }
    
    .gnb-link {
        padding: 15px 20px;
        border-bottom: 1px solid #e5e5e5;
        justify-content: space-between;
    }
    
    .gnb-link .fa-chevron-down {
        transform: rotate(0deg);
    }
    
    .gnb-item.active .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        min-width: auto;
        display: none;
    }
    
    .gnb-item.active .submenu {
        display: block;
    }
    
    .submenu-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .submenu-section h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .submenu-section a {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .gnb-navigation .tagline {
        text-align: center;
        margin-left: 0;
        padding: 15px 20px;
        border-top: 1px solid #e5e5e5;
    }
    
    /* Mobile Banner Adjustments */
    .banner-placeholder {
        height: 300px;
    }
    
    .banner-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Mobile Typography Adjustments */
    .content-card {
        height: auto;
        min-height: 380px;
    }
    
    .content-image {
        height: 240px;
        margin-bottom: 12px;
        padding: 0;
    }
    
    .content-image .book-placeholder {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        margin: 0;
    }
    
    .carousel-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 160px;
    }
    
    .carousel-container {
        overflow-x: auto;
        gap: 15px;
    }
    
    .content-info {
        height: auto;
        min-height: 120px;
        gap: 6px;
        padding: 0;
    }
    
    .content-info h3 {
        font-size: 14px;
        margin-top: 0;
        min-height: 2.4em;
        margin-bottom: 0;
    }
    
    .subtitle {
        font-size: 12px;
        min-height: 1.2em;
    }
    
    .price {
        font-size: 13px;
    }
    
    .seller {
        font-size: 11px;
    }
    
    .rating {
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .rating-left {
        display: flex;
        align-items: center;
    }
    
    .content-type-tag {
        font-size: 10px;
    }
    
    .popular-item {
        min-height: 160px;
        position: relative;
        gap: 15px;
        padding: 10px 0;
        border-bottom: none;
    }
    
    .popular-image {
        margin-top: 12px;
        flex: 0 0 100px;
    }
    
    .popular-image .book-placeholder.large {
        width: 100px;
        height: 140px;
    }
    
    .popular-image .trend-indicator {
        position: absolute;
        top: 0;
        left: 0;
        background: #e74c3c;
        color: white;
        padding: 1px 4px;
        border-radius: 8px;
        font-size: 9px;
        font-weight: 600;
        z-index: 10;
    }
    
    .popular-info {
        min-height: 140px;
        margin-top: 12px;
        gap: 2px;
    }
    
    .title-row {
        gap: 6px;
        margin-bottom: 3px;
    }
    
    .ranking-label {
        font-size: 11px;
        padding: 1px 5px;
        min-width: 18px;
    }
    
    .popular-info h3 {
        font-size: 15px;
    }
    
    .rating-row {
        margin-top: auto;
    }
    
    .popular-info .subtitle {
        font-size: 13px;
    }
    
    .popular-info .description {
        font-size: 9px;
    }
    
    .popular-info .price {
        font-size: 14px;
    }
    
    .popular-info .rating {
        font-size: 12px;
    }
    
    .lecture-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .lecture-item {
        flex-direction: column;
        min-height: auto;
        gap: 12px;
        padding: 12px;
    }
    
    .lecture-image {
        flex: none;
        height: 160px;
    }
    
    .lecture-image .book-placeholder {
        width: 120px;
        height: 160px;
    }
    
    .lecture-info {
        min-height: auto;
        gap: 3px;
    }
    
    .lecture-info h3 {
        font-size: 15px;
        min-height: 2.4em;
    }
    
    .lecture-info .subtitle {
        font-size: 13px;
        min-height: 1.2em;
    }
    
    .lecture-info .description {
        font-size: 11px;
    }
    
    .lecture-info .price {
        font-size: 13px;
    }
    
    .lecture-info .seller {
        font-size: 11px;
    }
    
    .lecture-info .rating {
        font-size: 11px;
    }
    
    .lecture-info .rating-left {
        display: flex;
        align-items: center;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .gnb-navigation {
        position: relative;
    }
    
    .gnb-navigation .container {
        position: relative;
    }
    
    .main-bottom-banner {
        padding: 30px 0;
        margin-top: 40px;
    }
    
    .bottom-banner-placeholder {
        height: 150px;
        font-size: 16px;
    }
    
    .section-action-btn {
        padding: 6px 12px;
        font-size: 12px;
        margin: 12px auto 0;
    }
    
    /* Mobile Active Menu */
    .gnb-item.active-menu .gnb-link {
        background: #e3f2fd;
        color: #1976d2;
        border-left: 3px solid #1976d2;
    }
    
    .submenu a.active-link {
        background: #e3f2fd;
        color: #1976d2;
        font-weight: 600;
        padding: 10px 15px;
        margin: 0 -15px;
        border-radius: 0;
    }
}

/* Content Card Typography - Unified System */
.content-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: auto;
    min-height: 140px;
    position: relative;
    flex: 1;
}

.content-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
    margin-bottom: -20px;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.2em;
}

.price {
    font-weight: 600;
    color: #e74c3c;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-weight: normal;
    font-size: 13px;
}

.seller {
    color: #666;
    font-size: 12px;
    margin: 0;
    line-height: 1.2;
}

.rating {
    color: #f39c12;
    font-size: 12px;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rating-left {
    display: flex;
    align-items: center;
}

.rating i {
    font-size: 11px;
    margin-right: 3px;
}

.content-type-tag {
    display: inline-block;
    background: #ecf0f1;
    color: #666;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin: 0;
    transition: all 0.3s ease;
} 

/* Section Action Buttons */
.section-action-btn {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e5e5e5;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 15px auto 0;
    width: fit-content;
}

.section-action-btn:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

.section-action-btn.primary {
    background: #f8f9fa;
    color: #666;
    border-color: #e5e5e5;
}

.section-action-btn.primary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
} 

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.back-btn:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

.back-btn i {
    font-size: 12px;
} 