/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #000;
    line-height: 1.6;
    background-color: #fff;
}

.header-three{
	display:none;
}
#container{
	max-width:1920px;
	margin:0 auto;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}


a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Top Bar */
.top-bar {
    background-color: #000;
    padding: 15px 0;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.for-creators-btn {
    background-color: #fff;
    color: #000;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.for-creators-btn:hover {
    background-color: #f0f0f0;
}

/* Header */
.main-header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-section {
    flex: 0 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo-p {
    color: #ff0000;
    font-size: 24px;
    font-weight: bold;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #666;
}

.nav-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* 드롭다운 메뉴 */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    padding: 10px 0;
    margin-top: 0;
    z-index: 1000;
}

.dropdown-menu li {
    list-style: none;
    position: relative;
}

.dropdown-menu > li > a {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    color: #000;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    transition: background-color 0.2s ease;
}

.dropdown-menu > li > a:hover {
    background-color: #f5f5f5;
    color: #000;
}

.menu-english {
    display: block;
    line-height: 1.4;
}

.menu-korean {
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-top: 2px;
}

/* 서브메뉴가 있는 항목 */
.dropdown-item-with-submenu {
    position: relative;
}

.dropdown-item-with-submenu > .dropdown-link {
    position: relative;
    display: block;
    padding: 10px 20px;
    padding-right: 40px;
    color: #000;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    transition: background-color 0.2s ease;
}

.dropdown-item-with-submenu > .dropdown-link > span:first-child {
    display: flex;
    flex-direction: column;
}

.dropdown-item-with-submenu > .dropdown-link .menu-english {
    display: block;
    line-height: 1.4;
    font-weight: 500;
}

.dropdown-item-with-submenu > .dropdown-link .menu-korean {
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-top: 2px;
}

.dropdown-item-with-submenu > .dropdown-link i {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 10px;
    color: #666;
}

.dropdown-item-with-submenu:hover > .dropdown-link {
    background-color: #f5f5f5;
}

.dropdown-item-with-submenu .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    padding: 10px 0;
    margin-left: -5px;
    z-index: 1001;
}

.dropdown-item-with-submenu:hover .submenu {
    display: block;
}

.dropdown-item-with-submenu .submenu:hover {
    display: block;
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    color: #000;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.submenu a:hover {
    background-color: #f5f5f5;
    color: #000;
}

.submenu .menu-english {
    display: block;
    line-height: 1.4;
}

.submenu .menu-korean {
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-top: 2px;
}

/* 구분선 */
.dropdown-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 8px 0;
    padding: 0;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.buyer-login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #000;
    transition: color 0.3s ease;
}

.buyer-login:hover {
    color: #666;
}

.buyer-login i {
    font-size: 16px;
}

.cart-icon {
    position: relative;
    font-size: 20px;
    color: #000;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: #666;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff0000;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #000;
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    background-color: #ff0000;
    color: #fff;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    color:#fff;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background-color: #fff;
}

.content-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 0.75fr 1.3fr;
    gap: 20px;
    align-items: stretch;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000;
}

/* Curated Collections */
.collection-cards {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex: 1;
    align-items: stretch;
}

.collection-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
	border-radius:20px;
    text-decoration: none;
    color: inherit;
}

.collection-card:hover {
    transform: translateY(-5px);
}

.collection-image {
    width: 100%;
	
	min-width:200px;
    flex: 1;
    overflow: hidden;
    background-color: #f5f5f5;
    min-height: 0;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
	margin-bottom:0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    padding: 0px;
    font-size: 18px;
    font-weight: 500;
	text-align:center;
}

/* Browse by Category */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
	height:100%;
	width:100%;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;

}

.category-btn img{
	height:25px;
	margin-bottom:10px;
}
.category-btn i {
    font-size: 25px;
    margin-bottom: 10px;
    color: transparent;
    -webkit-text-stroke: 1px #000;
    stroke-width: 1px;
}

.category-btn span {
    font-size: 14px;
    font-weight: 500;
}

/* Why Prizm K */
.feature-cards {
    display: flex;
    flex-direction: row;
    gap: 10px;
	height:200px;
    align-items: stretch;
}

.feature-card {
    flex: 1;
    padding:15px 10px;
	text-align:center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background-color: #f0f0f0;
}

.feature-icon {
    margin-bottom: 10px;
	height:40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 32px;
    color: transparent;
    -webkit-text-stroke: 1px #000;
    stroke-width: 1px;
}

.feature-icon img {
    height: 40px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
    line-height: 1.4;
    word-break: break-word;
    hyphens: auto;
}

.feature-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    word-break: break-word;
    hyphens: auto;
}

/* Footer */
.main-footer {
    background-color: #fff;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-link {
    font-size: 14px;
    color: #000;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #666;
}

.newsletter {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    width: 250px;
    outline: none;
}

.newsletter-input:focus {
    border-color: #000;
}

.newsletter-btn {
    padding: 10px 25px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .nav-list {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }

    .nav-list {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-title {
        font-size: 28px;
        padding: 0 20px;
    }

    .hero-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* 모바일에서 Curated Collections 세로 배열 */
    .collection-cards {
        flex-direction: column;
    }
    
    /* 모바일에서 Why Prizm K 세로 배열 */
    .feature-cards {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .newsletter {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input {
        width: 100%;
    }
}


@media only screen and (max-width: 767px) {

	.category-grid{
		grid-template-columns:repeat(2, 1fr);
	}
	
	.main-footer{
		position:fixed;
		bottom:0;
		width:100%;
		padding:15px 0;
	}
	.feature-cards{
		height:auto;
	}
	
	.buyer-login span{
		display:none;
	}
	
	/* 로그인페이지 */
	.pk-login-wrapper #login_fs{
		text-align:center;
	}

	.content-column{
		align-items:center;
	}
	
	.main-content{
		padding-bottom:60px;
	}
}
