@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-accent: #C5A059;
    --color-border: #e0e0e0;
    --color-button-text: #ffffff;

    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

input,
button,
select,
textarea {
    font-family: inherit;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 300;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-text);
    color: var(--color-button-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--color-accent);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Header */
header {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid transparent;
}

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

.logo-img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    display: block;
}

/* Hero Slideshow */
.hero {
    width: 100%;
    height: 50vh;
    /* Reduced from 70vh */
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
    background-color: #f5f5f5;
    /* Fallback */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Keep logo fully visible */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding: 40px;
    /* Padding for logo breathing room */
    background-color: #fff;
    /* Assuming white background for logo slide */
}

/* Specific styling for product slides if we want them cover instead of contain */
.hero-slide.fit-cover {
    object-fit: contain;
    padding: 0;
    background-color: #fff;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    mix-blend-mode: difference;
    /* Text visible on both light/dark */
    pointer-events: none;
    /* Let clicks pass through */
}

/* Hide content if we just want image slider */
.hero-content.hidden {
    display: none;
}

/* Product Grid */
.collection-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-color: #f5f5f5;
    margin-bottom: var(--spacing-sm);
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.02);
}

.product-info {
    text-align: center;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--color-text-light);
}

/* Details Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.detail-info h1 {
    margin-bottom: 0.5rem;
}

.detail-price {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.detail-desc {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.options {
    margin-bottom: var(--spacing-md);
}

.option-group {
    margin-bottom: 1rem;
}

.option-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.option-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    background: transparent;
    border-radius: 0;
    -webkit-appearance: none;
    font-family: inherit;
    cursor: pointer;
}

/* Footer */
/* Footer */
.site-footer {
    background-color: #fafafa;
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
    margin-top: 80px;
    color: var(--color-text);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section a {
    display: block;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero-title {
        font-size: 2rem;
    }

    header .container,
    footer .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Detail Images */
.detail-images-container {
    margin-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 150px;
}

.detail-image {
    width: 100%;
    /* Enlarge to fill container */
    max-width: 860px;
    /* Standard readable width */
    height: auto;
    display: block;
    margin-bottom: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Dropdown Navigation */
nav {
    display: flex;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.dropdown>a {
    margin-left: 0 !important;
    padding-bottom: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown-content a {
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    margin-left: 0 !important;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: #000;
}


.dropdown:hover .dropdown-content {
    display: block;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    border-radius: 50%;
    transition: background-color 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}