* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #f5f3ef;
    color: #222;
    font-family: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

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

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 252, 247, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e7dfd6;
}

.header-wrap {
    max-width: 1640px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    flex-shrink: 0;
}

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

.logo-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8f6a4e, #d3b091);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 22px;
    color: #2d241d;
}

.logo-text small {
    font-size: 12px;
    color: #88796b;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.main-nav a {
    position: relative;
    font-size: 15px;
    color: #40362d;
    font-weight: 600;
    padding: 8px 0;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: #9a6a45;
}

.main-nav a.active {
    color: #9a6a45;
    font-weight: 800;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: #9a6a45;
}

/* Page Layout */
.hero-section {
    padding: 28px 0 60px;
}

.page-frame {
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    gap: 28px;
    align-items: start;
}

.side-rail {
    min-height: 300px;
}

.ad-box {
    position: sticky;
    top: 92px;
    border: 1px dashed #ccbcae;
    border-radius: 18px;
    background: #f9f6f1;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a18f81;
    text-align: center;
    padding: 20px;
}

.ad-box span {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ad-box small {
    font-size: 13px;
}

.content-area {
    min-width: 0;
}

/* Home Hero */
.hero-card {
    background: linear-gradient(135deg, #f6ede4 0%, #ead8c6 100%);
    border: 1px solid #e4d5c7;
    border-radius: 28px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 24px;
    align-items: center;
    box-shadow: 0 14px 40px rgba(68, 45, 24, 0.08);
}

.hero-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    color: #9a6a45;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hero-text h1 {
    margin: 0 0 14px;
    font-size: 44px;
    line-height: 1.2;
    color: #2f241d;
}

.hero-text p:last-child {
    margin: 0;
    font-size: 16px;
    color: #5c4c40;
    line-height: 1.8;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.perfume-visual {
    width: 220px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.perfume-cap {
    width: 74px;
    height: 44px;
    border-radius: 12px 12px 6px 6px;
    background: linear-gradient(180deg, #4d4137, #2e261f);
    margin-bottom: -6px;
    z-index: 2;
}

.perfume-body {
    width: 200px;
    height: 220px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(215,188,158,0.55));
    border: 1px solid rgba(124, 93, 63, 0.2);
    box-shadow: inset 0 0 40px rgba(255,255,255,0.45);
}

/* Sections */
.content-section {
    margin-top: 34px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7dfd6;
}

.section-title-row h2 {
    margin: 0;
    font-size: 30px;
    color: #2c241d;
}

.more-link {
    color: #8d6242;
    font-size: 14px;
    font-weight: 700;
}

.more-link:hover,
.read-more:hover {
    color: #6f4a32;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.post-card {
    background: #fffdfa;
    border: 1px solid #eadfd4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(61, 40, 24, 0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(61, 40, 24, 0.08);
}

.post-thumb {
    position: relative;
    display: block;
    height: 190px;
    background: linear-gradient(135deg, #ead8c6, #c5a78a);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-thumb-placeholder {
    width: 100%;
    height: 100%;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.35), transparent 34%),
        linear-gradient(135deg, #9a6a45, #d3b091);
}

.post-thumb-placeholder span {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255,255,255,.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
}

.post-card-body {
    padding: 18px 18px 20px;
}

.post-card-body h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.4;
    color: #2d241d;
}

.post-card-body h3 a:hover {
    color: #9a6a45;
}

.post-card-body p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.7;
    color: #635548;
}

.read-more {
    font-size: 14px;
    font-weight: 700;
    color: #916542;
}

/* Common Post Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #9a6a45;
    font-size: 13px;
    font-weight: 700;
}

.post-meta span,
.post-meta a {
    display: inline-flex;
    align-items: center;
    color: #9a6a45;
}

.post-meta a:hover {
    color: #6f4a32;
}

.post-meta span:not(:last-child)::after,
.post-meta a:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: #c7b6a5;
}

/* Sample Thumbnails */
.thumb-review-1 { background: linear-gradient(135deg, #edd8d0, #cda88d); }
.thumb-review-2 { background: linear-gradient(135deg, #f5d9a8, #b8d9d2); }
.thumb-review-3 { background: linear-gradient(135deg, #e7c8d9, #c7b3e6); }
.thumb-review-4 { background: linear-gradient(135deg, #d9c1a5, #8f715d); }

.thumb-notes-1 { background: linear-gradient(135deg, #ffe1a6, #e0c07a); }
.thumb-notes-2 { background: linear-gradient(135deg, #ebe7e1, #bbb0a8); }
.thumb-notes-3 { background: linear-gradient(135deg, #f4d1b2, #d28f67); }

.thumb-season-1 { background: linear-gradient(135deg, #f6d7df, #caa3bb); }
.thumb-season-2 { background: linear-gradient(135deg, #b9e0e6, #7fc1cb); }
.thumb-season-3 { background: linear-gradient(135deg, #d7b38d, #886247); }
.thumb-season-4 { background: linear-gradient(135deg, #d8cce3, #8e799d); }

.thumb-brand-1 { background: linear-gradient(135deg, #d8c6b4, #8f705c); }
.thumb-brand-2 { background: linear-gradient(135deg, #f0dfcf, #c79b7a); }
.thumb-brand-3 { background: linear-gradient(135deg, #c9b8aa, #5c4a3f); }
.thumb-brand-4 { background: linear-gradient(135deg, #e6d9c8, #927764); }

.thumb-gift-1 { background: linear-gradient(135deg, #f3c9d7, #d8a06e); }
.thumb-gift-2 { background: linear-gradient(135deg, #f6dfc8, #d4a373); }
.thumb-gift-3 { background: linear-gradient(135deg, #d9c8f0, #9c7bb5); }
.thumb-gift-4 { background: linear-gradient(135deg, #f4d7c6, #c58972); }

/* Latest / Popular */
.dual-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.list-box {
    background: #fffdfa;
    border: 1px solid #eadfd4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(61, 40, 24, 0.05);
}

.list-box-head {
    padding: 18px 20px;
    border-bottom: 1px solid #efe6dd;
    background: #fcf7f2;
}

.list-box-head h3 {
    margin: 0;
    font-size: 22px;
    color: #2d241d;
}

.post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-list li {
    padding: 16px 20px;
    border-bottom: 1px solid #f1e8df;
}

.post-list li:last-child {
    border-bottom: none;
}

.post-list li a {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #352b24;
    margin-bottom: 6px;
    line-height: 1.45;
}

.post-list li a:hover {
    color: #9a6a45;
}

.post-list li span {
    font-size: 13px;
    color: #8b7a6b;
}

/* Footer */
.site-footer {
    margin-top: 60px;
    background: #2f261f;
    color: #efe6dd;
}

.footer-inner {
    max-width: 1640px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-inner h3 {
    margin: 0 0 8px;
}

.footer-inner p {
    margin: 0;
    color: #c9b8aa;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e9dbcf;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1400px) {
    .page-frame {
        grid-template-columns: 1fr;
    }

    .side-rail {
        display: none;
    }
}

@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .header-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        gap: 16px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .main-nav a {
        flex-shrink: 0;
    }

    .hero-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dual-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 18px;
    }

    .page-frame {
        padding: 0 14px;
    }

    .hero-card {
        border-radius: 20px;
        padding: 22px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .perfume-visual {
        width: 180px;
    }

    .perfume-body {
        width: 170px;
        height: 190px;
    }

    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .section-title-row h2 {
        font-size: 24px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .post-thumb {
        height: 180px;
    }

    .post-card-body h3 {
        font-size: 20px;
    }

    .post-meta {
        font-size: 12px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}