/* ============================================
   픽토여행사 - 메인 스타일시트
   Modern, fast, clean travel agency design
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: #1a1a2e;
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 900px; }

/* Responsive helpers */
.pc-only { display: block; }
.mobile-only { display: none !important; }

@media (max-width: 900px) {
    .pc-only { display: none !important; }
    .mobile-only { display: flex !important; }
}

/* ===== Mobile Top Utility ===== */
#mobile-util {
    display: none;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    padding: 6px 16px;
}
#mobile-util .util-inner {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}
#mobile-util a { color: #555; font-weight: 500; }

@media (max-width: 900px) {
    #mobile-util { display: block; }
}

/* ===== Header ===== */
#header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s;
}
#header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.hd-inner { max-width: 1280px; margin: 0 auto; }

/* Top Utility */
.hd-util {
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    padding: 8px 20px;
}
.util-wrap {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
}
.util-wrap a { color: #666; }
.util-wrap a:hover { color: #e74c3c; }
.util-wrap .sep { color: #ddd; font-size: 11px; }

/* Main Header */
.hd-main {
    display: grid;
    grid-template-columns: 200px 1fr 260px;
    align-items: center;
    padding: 16px 20px;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.hd-logo a { display: inline-block; }
.hd-logo img { max-height: 65px; width: auto; }

/* Search */
.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}
.search-form input {
    flex: 1;
    padding: 12px 48px 12px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
    background: #f8f9fa;
}
.search-form input:focus {
    border-color: #e74c3c;
    background: #fff;
    box-shadow: 0 4px 20px rgba(231,76,60,0.1);
}
.search-form button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.search-form button:hover { background: #c0392b; }

/* Header Actions */
.hd-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
    position: relative;
    transition: color 0.2s;
}
.action-item:hover { color: #e74c3c; }
.action-item i { font-size: 20px; }
.action-item .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
}

/* Mobile menu button */
.mobile-menu-btn {
    font-size: 24px;
    color: #333;
    padding: 8px;
}

@media (max-width: 900px) {
    .hd-main {
        grid-template-columns: 1fr auto;
        padding: 12px 16px;
        gap: 12px;
    }
    .hd-search {
        grid-column: 1 / -1;
        order: 3;
    }
    .search-form input { padding: 10px 44px 10px 16px; font-size: 14px; }
}

/* ===== Navigation ===== */
#gnb {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}
.gnb-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.gnb-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}
.gnb-list > li > a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    position: relative;
    transition: color 0.2s;
}
.gnb-list > li > a:hover,
.gnb-list > li:hover > a { color: #e74c3c; }

.gnb-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s;
}
.gnb-list > li:hover > a::after { width: 70%; }

/* Dropdown */
.has-sub { position: relative; }
.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s;
    z-index: 50;
}
.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
}
.sub-menu li a:hover {
    background: #fff5f5;
    color: #e74c3c;
    padding-left: 24px;
}

@media (max-width: 900px) {
    #gnb { display: none; }
}

/* ===== Mobile Category Bar ===== */
#mobile-cats {
    border-bottom: 1px solid #eee;
    background: #fff;
    overflow: hidden;
}
.cat-scroll {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
    white-space: nowrap;
}
.cat-pill:hover, .cat-pill.active {
    background: #e74c3c;
    color: #fff;
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}
.mobile-menu-overlay.open .mobile-menu-panel { transform: translateX(0); }

.mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.mm-logo { height: 36px; width: auto; }
.mm-close { font-size: 22px; color: #666; padding: 4px; }

.mm-user, .mm-login-btns { padding: 16px 20px; border-bottom: 1px solid #eee; }
.mm-user { display: flex; align-items: center; gap: 10px; color: #333; }
.mm-login-btns { display: flex; gap: 8px; }
.mm-login-btns .btn-login {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #e74c3c;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}
.mm-login-btns .btn-register {
    flex: 1;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 500;
}

.mm-nav { padding: 12px 0; }
.mm-nav > a, .mm-cat-main {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}
.mm-nav > a:hover, .mm-cat-main:hover { background: #f8f8f8; color: #e74c3c; }
.mm-sub-list { padding: 0 0 8px 20px; }
.mm-sub-list a { display: block; padding: 8px 20px; font-size: 13px; color: #888; }
.mm-sub-list a:hover { color: #e74c3c; }
.mm-divider { height: 1px; background: #eee; margin: 8px 20px; }
.mm-nav > a i { margin-right: 10px; width: 20px; text-align: center; color: #aaa; }

body.menu-open { overflow: hidden; }

/* ===== Hero Banner ===== */
.hero-banner {
    width: 100%;
    overflow: hidden;
}
.banner-slide {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
}
.banner-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    filter: brightness(0.55);
}
.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.banner-text {
    text-align: center;
    color: #fff;
}
.banner-sub {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 12px;
    font-weight: 300;
}
.banner-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 24px;
}
.btn-banner {
    display: inline-block;
    padding: 14px 40px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-banner:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231,76,60,0.35);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .banner-slide { height: 55vh; min-height: 300px; }
    .banner-title { font-size: 1.8rem; }
    .btn-banner { padding: 12px 30px; font-size: 14px; }
}

/* ===== Quick Links ===== */
.quick-links {
    padding: 40px 0;
    background: #fff;
}
.ql-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.ql-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    border-radius: 16px;
    transition: all 0.3s;
}
.ql-item:hover {
    background: #fff5f5;
    transform: translateY(-4px);
}
.ql-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff6b6b, #e74c3c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(231,76,60,0.25);
}
.ql-item span { font-size: 13px; font-weight: 600; color: #333; }

@media (max-width: 768px) {
    .ql-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .ql-icon { width: 48px; height: 48px; font-size: 18px; }
    .quick-links { padding: 24px 0; }
}

/* ===== Section Headers ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}
.section-header.center {
    flex-direction: column;
    text-align: center;
    border: none;
    gap: 8px;
}
.section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
}
.section-header h2 i { margin-right: 8px; color: #e74c3c; }
.section-badge {
    display: inline-block;
    padding: 4px 16px;
    background: #e74c3c;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}
.section-desc { color: #888; font-size: 14px; }
.btn-more {
    font-size: 14px;
    color: #888;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}
.btn-more:hover { color: #e74c3c; }
.btn-more i { font-size: 12px; margin-left: 4px; }

/* ===== Event Section ===== */
.section-event {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5f6 0%, #ffe8ec 100%);
    overflow: hidden;
}
.section-bg-deco {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(231,76,60,0.06);
}

.event-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.event-video {
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    aspect-ratio: 4/3;
}
.event-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.event-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    flex: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.event-card:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 25px rgba(231,76,60,0.12);
}
.event-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.event-card-info { flex: 1; min-width: 0; }
.event-card-info h3 {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.event-card-info p {
    font-size: 13px;
    color: #888;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.event-arrow { color: #ccc; font-size: 14px; flex-shrink: 0; }

@media (max-width: 900px) {
    .event-layout { grid-template-columns: 1fr; }
    .section-event { padding: 40px 0; }
}

/* ===== Product Cards ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-grid.list-grid {
    grid-template-columns: repeat(4, 1fr);
}
.recomm-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .card-img img { transform: scale(1.05); }

.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}
.badge.hit { background: linear-gradient(135deg, #3ec1d3, #239aa8); }
.badge.pick { background: linear-gradient(135deg, #ffb722, #e59c00); }
.badge.new { background: linear-gradient(135deg, #2dd49f, #1aa87b); }
.badge.hot { background: linear-gradient(135deg, #ff5081, #db3663); }

.badge-soldout {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-category {
    font-size: 12px;
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 6px;
}
.card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
    word-break: keep-all;
}
.card-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #e74c3c;
    margin-top: 12px;
}

@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .product-grid,
    .product-grid.list-grid,
    .recomm-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-body { padding: 12px; }
    .card-title { font-size: 13px; }
    .card-price { font-size: 1rem; }
}

/* ===== Recomm Section ===== */
.section-recomm {
    padding: 60px 0;
    background: linear-gradient(180deg, #fff5f5 0%, #fff 100%);
}
.recomm-card { border: 1px solid #ffe0e4; }
.recomm-card:hover { border-color: #ffb3bc; }

/* ===== Product Sections ===== */
.section-products { padding: 50px 0; }

/* ===== Special Tour Section ===== */
.section-special {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #0f1923 0%, #1a2a4a 50%, #2c3e6b 100%);
    padding: 70px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
}
.special-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}
.special-deco-1, .special-deco-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}
.special-deco-1 {
    width: 350px; height: 350px;
    background: rgba(255,0,106,0.2);
    top: -100px; left: 10%;
}
.special-deco-2 {
    width: 400px; height: 400px;
    background: rgba(0,210,255,0.15);
    bottom: -150px; right: 10%;
}

.special-box {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.special-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.special-header h2 { color: #fff; font-size: 1.3rem; font-weight: 700; }
.special-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e74c3c, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.special-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.special-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}
.special-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.special-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.special-card-img img { width: 100%; height: 100%; object-fit: cover; }
.special-card-body { padding: 14px; }
.special-card-body h3 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.special-price { font-size: 15px; font-weight: 800; color: #e74c3c; }

.special-more { text-align: center; margin-top: 20px; }
.btn-special-more {
    display: inline-block;
    padding: 10px 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}
.btn-special-more:hover {
    background: #fff;
    color: #1a2a4a;
}

@media (max-width: 900px) {
    .special-inner { grid-template-columns: 1fr; }
    .section-special { padding: 40px 16px; }
}
@media (max-width: 500px) {
    .special-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
#footer {
    background: #1a1a2e;
    color: #aaa;
    padding: 50px 0 30px;
}
.ft-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.ft-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }

.ft-company {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.ft-details p { font-size: 13px; line-height: 2; color: #888; }
.ft-details b { color: #aaa; }
.ft-links { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ft-links a { font-size: 13px; color: #888; }
.ft-links a:hover { color: #fff; }
.ft-links .privacy b { color: #e74c3c; }
.ft-links span { color: #555; font-size: 11px; }
.ft-copyright { margin-top: 20px; font-size: 12px; color: #666; }

.guarantee-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 14px;
}
.guarantee-box h3 {
    font-size: 14px;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 8px;
}
.guarantee-box h3 i { margin-right: 8px; color: #e74c3c; }
.guarantee-box p { font-size: 13px; color: #888; line-height: 1.6; }

@media (max-width: 768px) {
    .ft-main { grid-template-columns: 1fr; gap: 24px; }
    #footer { padding: 30px 0 90px; }
}

/* ===== Mobile Bottom Nav ===== */
#mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 90;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
}
.bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: #999;
    padding: 4px 12px;
}
.bnav-item i { font-size: 20px; }
.bnav-item.active { color: #e74c3c; }

/* ===== Page Styles ===== */
.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-top: 20px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 13px;
    color: #999;
}
.breadcrumb a:hover { color: #e74c3c; }

/* Subcat bar */
.subcat-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.subcat-pill {
    padding: 8px 18px;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
}
.subcat-pill:hover, .subcat-pill.active { background: #e74c3c; color: #fff; }

/* List toolbar */
.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.item-count { font-size: 14px; color: #888; }
.item-count b { color: #333; }
.sort-options { display: flex; gap: 12px; }
.sort-options a {
    font-size: 13px;
    color: #999;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}
.sort-options a.active, .sort-options a:hover {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

@media (max-width: 768px) {
    .list-toolbar { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ===== Product Detail ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }

.pd-main-img {
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4/3;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pd-thumb {
    width: 72px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.pd-thumb.active, .pd-thumb:hover { border-color: #e74c3c; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-badges { display: flex; gap: 6px; margin-bottom: 12px; }
.pd-category { font-size: 13px; color: #e74c3c; font-weight: 600; }
.pd-title { font-size: 1.5rem; font-weight: 700; line-height: 1.4; margin: 8px 0 20px; word-break: keep-all; }

.pd-price-box { margin-bottom: 20px; }
.pd-price { font-size: 2rem; font-weight: 800; color: #e74c3c; }
.pd-original-price { font-size: 1rem; color: #bbb; text-decoration: line-through; margin-top: 4px; }
.pd-soldout { padding: 12px; background: #fff5f5; color: #e74c3c; border-radius: 8px; font-weight: 600; margin-bottom: 16px; }

.pd-meta { border-top: 1px solid #eee; padding-top: 16px; margin-bottom: 24px; }
.meta-row { display: flex; padding: 6px 0; font-size: 14px; }
.meta-label { width: 80px; color: #999; flex-shrink: 0; }

.pd-actions { display: flex; gap: 10px; }
.btn-cart {
    flex: 1;
    padding: 14px 24px;
    background: #e74c3c;
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-cart:hover { background: #c0392b; }
.btn-cart.disabled { background: #ccc; cursor: not-allowed; }
.btn-wish {
    width: 52px;
    height: 52px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 20px;
    color: #e74c3c;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-wish:hover { border-color: #e74c3c; background: #fff5f5; }
.btn-inquiry {
    padding: 14px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
}
.btn-inquiry:hover { border-color: #333; color: #333; }

@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; gap: 24px; }
    .pd-title { font-size: 1.2rem; }
    .pd-price { font-size: 1.5rem; }
}

/* Tabs */
.pd-tabs { margin-bottom: 50px; }
.tab-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    gap: 0;
}
.tab-btn {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #999;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { color: #e74c3c; border-bottom-color: #e74c3c; }
.tab-panel { display: none; padding: 30px 0; }
.tab-panel.active { display: block; }
.product-description { line-height: 1.8; }
.product-description img { max-width: 100%; height: auto; margin: 10px 0; }
.product-info-table table { width: 100%; border-collapse: collapse; }
.product-info-table th, .product-info-table td {
    padding: 12px 16px;
    border: 1px solid #eee;
    font-size: 14px;
}
.product-info-table th { background: #f8f9fa; width: 140px; font-weight: 600; color: #555; }
.no-content { color: #999; padding: 30px 0; text-align: center; }
.no-content a { color: #e74c3c; font-weight: 600; }

.related-products { margin-bottom: 50px; }
.section-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }

/* ===== Auth Pages ===== */
.page-auth { padding: 60px 20px; display: flex; justify-content: center; }
.auth-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.auth-box.wide { max-width: 560px; }
.auth-box h1 { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 30px; }

.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.required { color: #e74c3c; }
.auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s;
}
.auth-form input:focus { border-color: #e74c3c; outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn-primary {
    display: block;
    width: 100%;
    padding: 14px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    margin-top: 8px;
}
.btn-primary:hover { background: #c0392b; }

.auth-links { text-align: center; margin-top: 20px; font-size: 14px; color: #888; }
.auth-links a { color: #e74c3c; font-weight: 600; }

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}
.alert-error { background: #fff5f5; color: #e74c3c; border: 1px solid #ffe0e0; }
.alert-success { background: #f0fff4; color: #27ae60; border: 1px solid #d4f5e0; }

@media (max-width: 500px) {
    .form-row { grid-template-columns: 1fr; }
    .auth-box { padding: 24px; }
}

/* ===== Event Page ===== */
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.event-grid-card {
    background: linear-gradient(135deg, #fff5f6, #ffe8ec);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.event-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(231,76,60,0.12);
}
.egc-content { padding: 24px; }
.egc-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e74c3c;
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}
.egc-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.egc-content p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 12px; }
.egc-date { font-size: 13px; color: #aaa; }

@media (max-width: 768px) { .event-grid { grid-template-columns: 1fr; } }

/* ===== Notice Page ===== */
.notice-list { border-top: 2px solid #333; }
.notice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}
.notice-item:hover { background: #f8f8f8; }
.ni-content h3 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.ni-date { font-size: 13px; color: #aaa; }
.notice-item > i { color: #ccc; }

/* ===== View Page ===== */
.view-article { padding: 24px 0; }
.view-article h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.view-meta { display: flex; gap: 16px; color: #999; font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid #eee; margin-bottom: 24px; }
.view-meta i { margin-right: 4px; }
.view-content { line-height: 1.8; font-size: 15px; }
.view-content img { max-width: 100%; }
.view-nav { padding: 30px 0; text-align: center; }
.btn-list {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid #333;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-list:hover { background: #333; color: #fff; }

/* ===== Cart Page ===== */
.cart-list { border-top: 2px solid #333; }
.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}
.cart-item img { width: 100px; height: 75px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.ci-name { font-weight: 600; display: block; margin-bottom: 4px; }
.ci-name:hover { color: #e74c3c; }
.ci-cat { font-size: 12px; color: #999; display: block; margin-bottom: 4px; }
.ci-price { font-weight: 700; color: #e74c3c; }
.ci-soldout { display: inline-block; padding: 2px 8px; background: #f0f0f0; color: #999; border-radius: 4px; font-size: 12px; margin-left: 8px; }
.btn-remove { color: #ccc; font-size: 16px; padding: 8px; }
.btn-remove:hover { color: #e74c3c; }

.cart-summary { background: #f8f9fa; padding: 24px; border-radius: 12px; margin-top: 24px; }
.cs-row { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 15px; }
.cs-total { font-size: 1.4rem; font-weight: 800; color: #e74c3c; }
.cs-actions { text-align: center; }

/* ===== Mypage ===== */
.mypage-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
.mp-profile {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #fff5f5, #ffe8ec);
    border-radius: 20px;
    align-self: start;
    position: sticky;
    top: 100px;
}
.mp-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 12px;
}
.mp-profile h2 { font-size: 1.2rem; margin-bottom: 4px; }
.mp-email { font-size: 13px; color: #888; margin-bottom: 16px; }
.mp-stats { display: flex; gap: 20px; justify-content: center; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.3rem; font-weight: 700; color: #e74c3c; }
.stat-label { font-size: 12px; color: #888; }

.mp-section { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid #eee; margin-bottom: 16px; }
.mp-section h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.mp-section h3 i { margin-right: 8px; color: #e74c3c; }

.mp-item-list { display: flex; flex-direction: column; gap: 12px; }
.mp-item { display: flex; align-items: center; gap: 12px; }
.mp-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.mp-item-info { flex: 1; }
.mp-item-info a { font-size: 14px; font-weight: 500; display: block; margin-bottom: 2px; }
.mp-item-info a:hover { color: #e74c3c; }
.mp-item-price { font-size: 13px; color: #e74c3c; font-weight: 600; }

.mp-quick-links { display: flex; gap: 10px; flex-wrap: wrap; }
.mp-quick-links a {
    padding: 10px 18px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}
.mp-quick-links a:hover { border-color: #e74c3c; color: #e74c3c; }
.mp-quick-links a i { margin-right: 6px; }

@media (max-width: 768px) {
    .mypage-layout { grid-template-columns: 1fr; }
    .mp-profile { position: static; }
}

/* ===== Inquiry ===== */
.inquiry-form .form-group { margin-bottom: 16px; }
.inquiry-form label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.inquiry-form input, .inquiry-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: #e74c3c; outline: none; }
.inquiry-form textarea { resize: vertical; min-height: 150px; }
.inquiry-item-info {
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}
.inquiry-item-info i { color: #e74c3c; margin-right: 8px; }

/* ===== Search Page ===== */
.search-box-big { max-width: 600px; margin: 0 auto 40px; }
.search-box-big form {
    display: flex;
    gap: 10px;
}
.search-box-big input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 16px;
}
.search-box-big input:focus { border-color: #e74c3c; outline: none; }
.search-box-big button {
    padding: 14px 28px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.search-box-big button:hover { background: #c0392b; }

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #ccc;
}
.empty-state i { font-size: 48px; margin-bottom: 16px; display: block; }
.empty-state p { font-size: 18px; color: #999; margin-bottom: 8px; }
.empty-state span { font-size: 14px; color: #bbb; }
.empty-state .btn-primary { display: inline-block; width: auto; margin-top: 20px; padding: 12px 30px; }

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 40px 0;
}
.pg-num, .pg-prev, .pg-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
}
.pg-num:hover, .pg-prev:hover, .pg-next:hover { background: #f0f0f0; }
.pg-num.active { background: #e74c3c; color: #fff; }

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { margin-right: 8px; }
.toast-error { background: #e74c3c; }

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Section Hotel ===== */
.section-hotel { background: #fafafa; padding: 50px 0; }

/* ===== Print ===== */
@media print {
    #header, #footer, #mobile-bottom-nav, .mobile-menu-overlay { display: none !important; }
}


/* ============================================
   PINK PETAL THEME UPGRADE
   ============================================ */

/* Floating Petals */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(ellipse at center, #ffb3c6 0%, #ff8fa3 50%, transparent 70%);
    border-radius: 50% 0 50% 50%;
    opacity: 0;
    animation: petalFall linear infinite;
}

.petal::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
    opacity: 0.7;
}

@keyframes petalFall {
    0% {
        opacity: 0;
        transform: translateY(-10vh) rotate(0deg) translateX(0);
    }
    10% { opacity: 0.7; }
    90% { opacity: 0.5; }
    100% {
        opacity: 0;
        transform: translateY(105vh) rotate(720deg) translateX(80px);
    }
}

.p1  { left: 5%;  width: 12px; height: 12px; animation-duration: 12s; animation-delay: 0s; }
.p2  { left: 15%; width: 18px; height: 18px; animation-duration: 15s; animation-delay: 2s; }
.p3  { left: 25%; width: 10px; height: 10px; animation-duration: 18s; animation-delay: 4s; }
.p4  { left: 35%; width: 14px; height: 14px; animation-duration: 13s; animation-delay: 1s; }
.p5  { left: 45%; width: 16px; height: 16px; animation-duration: 16s; animation-delay: 5s; }
.p6  { left: 55%; width: 11px; height: 11px; animation-duration: 14s; animation-delay: 3s; }
.p7  { left: 65%; width: 20px; height: 20px; animation-duration: 17s; animation-delay: 7s; }
.p8  { left: 75%; width: 13px; height: 13px; animation-duration: 11s; animation-delay: 2s; }
.p9  { left: 85%; width: 15px; height: 15px; animation-duration: 19s; animation-delay: 6s; }
.p10 { left: 92%; width: 12px; height: 12px; animation-duration: 14s; animation-delay: 0.5s; }
.p11 { left: 10%; width: 9px;  height: 9px;  animation-duration: 20s; animation-delay: 8s; }
.p12 { left: 40%; width: 17px; height: 17px; animation-duration: 13s; animation-delay: 4.5s; }
.p13 { left: 60%; width: 11px; height: 11px; animation-duration: 16s; animation-delay: 9s; }
.p14 { left: 80%; width: 14px; height: 14px; animation-duration: 15s; animation-delay: 1.5s; }
.p15 { left: 50%; width: 19px; height: 19px; animation-duration: 18s; animation-delay: 10s; }

/* Pink Theme Colors */
body {
    background: linear-gradient(180deg, #fff9fb 0%, #fff 5%, #fff 90%, #fff5f7 100%);
}

#content {
    position: relative;
    z-index: 1;
}

/* Search - pink accent */
.search-form input:focus {
    border-color: #ff6b8a;
    box-shadow: 0 4px 20px rgba(255,107,138,0.15);
}
.search-form button {
    background: linear-gradient(135deg, #ff6b8a, #ff4d6d);
}
.search-form button:hover {
    background: linear-gradient(135deg, #ff4d6d, #e63956);
}

/* Header action hover */
.action-item:hover { color: #ff4d6d; }

/* Nav pink underline */
.gnb-list > li > a::after { background: #ff4d6d; }
.gnb-list > li:hover > a { color: #ff4d6d; }
.sub-menu li a:hover { background: #fff5f7; color: #ff4d6d; }

/* Mobile category pills */
.cat-pill:hover, .cat-pill.active {
    background: linear-gradient(135deg, #ff6b8a, #ff4d6d);
    color: #fff;
}

/* Pink badges */
.section-badge.pink {
    background: linear-gradient(135deg, #ff6b8a, #ff4d6d);
}
.section-badge.pink i { margin-right: 6px; }

/* Quick Links - Pink gradient icons */
.ql-icon {
    background: linear-gradient(135deg, #ff8fa3, #ff4d6d);
    box-shadow: 0 4px 15px rgba(255,77,109,0.3);
}
.ql-item:hover { background: #fff5f7; }

/* Event Section - Enhanced Pink */
.section-event {
    background: linear-gradient(135deg, #fff0f3 0%, #ffe4ec 40%, #ffd6e0 100%);
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}
.section-event::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,77,109,0.08);
}
.section-event::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,143,163,0.1);
}

.event-video {
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(255,77,109,0.2);
}

.event-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,200,210,0.5);
    border-radius: 18px;
    padding: 18px 22px;
}
.event-card:hover {
    background: #fff;
    border-color: #ff8fa3;
    box-shadow: 0 8px 30px rgba(255,77,109,0.15);
    transform: translateX(8px);
}

.event-card-num {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff8fa3, #ff4d6d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

/* Recomm Section - Pink bg */
.section-recomm {
    background: linear-gradient(180deg, #fff5f7 0%, #ffe8ee 50%, #fff5f7 100%);
    position: relative;
    overflow: hidden;
}
.section-recomm::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,143,163,0.08);
}

.recomm-card {
    border: 1px solid #ffe0e8;
    background: rgba(255,255,255,0.9);
}
.recomm-card:hover {
    border-color: #ffb3c6;
    box-shadow: 0 12px 35px rgba(255,77,109,0.12);
}

/* Card category and price pink */
.card-category { color: #ff4d6d; }
.card-price { color: #ff4d6d; }

/* Special tour - pink accents */
.special-icon {
    background: linear-gradient(135deg, #ff4d6d, #ff8fa3);
}
.special-icon.cruise {
    background: linear-gradient(135deg, #4d8bff, #6da3ff);
}
.special-price { color: #ff4d6d; }

/* Product card hover glow */
.product-card:hover {
    box-shadow: 0 12px 35px rgba(255,77,109,0.1);
}

/* Buttons pink */
.btn-banner {
    background: linear-gradient(135deg, #ff4d6d, #ff6b8a);
}
.btn-banner:hover {
    background: linear-gradient(135deg, #e63956, #ff4d6d);
    box-shadow: 0 8px 25px rgba(255,77,109,0.4);
}

/* Subcat pills */
.subcat-pill:hover, .subcat-pill.active {
    background: linear-gradient(135deg, #ff6b8a, #ff4d6d);
}

/* Sort active */
.sort-options a.active, .sort-options a:hover {
    color: #ff4d6d;
    border-bottom-color: #ff4d6d;
}

/* Product detail price */
.pd-price { color: #ff4d6d; }
.pd-category { color: #ff4d6d; }

/* Buttons */
.btn-cart {
    background: linear-gradient(135deg, #ff4d6d, #ff6b8a);
}
.btn-cart:hover {
    background: linear-gradient(135deg, #e63956, #ff4d6d);
}
.btn-wish { color: #ff4d6d; }
.btn-wish:hover { border-color: #ff4d6d; background: #fff5f7; }

.btn-primary {
    background: linear-gradient(135deg, #ff4d6d, #ff6b8a);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #e63956, #ff4d6d);
}

/* Auth links */
.auth-links a { color: #ff4d6d; }
.no-content a { color: #ff4d6d; }

/* Pagination active */
.pg-num.active { background: #ff4d6d; }

/* Tab active */
.tab-btn.active, .tab-btn:hover { color: #ff4d6d; border-bottom-color: #ff4d6d; }

/* Mobile bottom nav active */
.bnav-item.active { color: #ff4d6d; }

/* Mobile menu */
.mm-login-btns .btn-login {
    background: linear-gradient(135deg, #ff4d6d, #ff6b8a);
}

/* Alert */
.alert-error { background: #fff5f7; color: #ff4d6d; border-color: #ffe0e8; }

/* Footer guarantee icon */
.guarantee-box h3 i { color: #ff6b8a; }

/* Badge colors - keep but softer */
.badge.hit { background: linear-gradient(135deg, #3ec1d3, #239aa8); }
.badge.pick { background: linear-gradient(135deg, #ff8fa3, #ff4d6d); }
.badge.new { background: linear-gradient(135deg, #2dd49f, #1aa87b); }
.badge.hot { background: linear-gradient(135deg, #ff6b8a, #e63956); }

/* Swiper bullets pink */
.swiper-pagination-bullet-active {
    background: #ff4d6d !important;
}

/* Event grid cards */
.event-grid-card {
    background: linear-gradient(135deg, #fff5f7, #ffe4ec, #ffd6e0);
}
.event-grid-card:hover {
    box-shadow: 0 8px 25px rgba(255,77,109,0.15);
}
.egc-badge {
    background: linear-gradient(135deg, #ff4d6d, #ff6b8a);
}

/* Scroll header shadow pink tint */
#header.scrolled {
    box-shadow: 0 2px 20px rgba(255,77,109,0.08);
}

/* Mobile util */
#mobile-util a:hover { color: #ff4d6d; }

/* Section bg deco remove old */
.section-bg-deco { display: none; }

/* Hotel section */
.section-hotel {
    background: linear-gradient(180deg, #fff 0%, #fff9fb 100%);
}

/* Toast */
.toast { background: linear-gradient(135deg, #ff4d6d, #ff6b8a); }
.toast-error { background: #333; }

/* Reduce petals on mobile for performance */
@media (max-width: 768px) {
    .petal:nth-child(n+8) { display: none; }
}


/* Category count in dropdown */
.cat-count {
    display: inline-block;
    background: #ffe0e8;
    color: #ff4d6d;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 6px;
}

/* Footer guarantee expandable */
.guarantee-box { cursor: pointer; transition: all 0.3s; }
.guarantee-box:hover { background: rgba(255,255,255,0.08); }
.guarantee-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0;
}
.guarantee-box.expanded .guarantee-detail {
    max-height: 200px;
    padding-top: 12px;
}
.guarantee-detail p { font-size: 13px; color: #999; line-height: 1.8; margin: 0; }
.guarantee-detail b { color: #ccc; }
.guarantee-note { margin-top: 8px !important; font-size: 12px !important; color: #777 !important; }
.toggle-icon { float: right; font-size: 12px; transition: transform 0.3s; color: #666; }
.guarantee-box.expanded .toggle-icon { transform: rotate(180deg); }

/* Footer bottom bar */
.ft-bottom {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 20px;
    text-align: center;
}
.ft-bottom-inner { max-width: 1280px; margin: 0 auto; }
.ft-bottom p { font-size: 13px; color: #777; margin: 0; }
.ft-bottom strong { color: #aaa; }

/* Footer details spans */
.ft-details span { font-size: 13px; color: #888; margin-right: 12px; line-height: 2.2; }
.ft-details b { color: #aaa; margin-right: 4px; }

/* Event card with image */
.event-card-img {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}
.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure product cards are always visible (GSAP fallback) */
.product-card, .special-card, .recomm-card, .event-card {
    opacity: 1 !important;
}

/* Admin link in footer */
.ft-admin-link { font-size: 11px; color: #555; margin-top: 10px; display: inline-block; }
.ft-admin-link:hover { color: #ff4d6d; }


/* Nav Icons */
.nav-icon {
    margin-right: 6px;
    font-size: 13px;
    opacity: 0.7;
}
.gnb-list > li > a:hover .nav-icon,
.gnb-list > li:hover > a .nav-icon {
    opacity: 1;
}

/* Mobile cat pill icons */
.cat-pill i {
    margin-right: 4px;
    font-size: 12px;
}


/* ============================================
   ENHANCED MOBILE RESPONSIVENESS
   ============================================ */

/* Small mobile (375px and below) */
@media (max-width: 400px) {
    .banner-slide { height: 45vh; min-height: 250px; }
    .banner-title { font-size: 1.5rem; }
    .banner-sub { font-size: 12px; letter-spacing: 2px; }
    .btn-banner { padding: 10px 24px; font-size: 13px; }

    .ql-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .ql-icon { width: 42px; height: 42px; font-size: 16px; border-radius: 12px; }
    .ql-item span { font-size: 11px; }
    .ql-item { padding: 12px 4px; }

    .section-header h2 { font-size: 1.2rem; }
    .section-header.center h2 { font-size: 1.3rem; }
    .section-badge { font-size: 10px; padding: 3px 12px; }

    .card-body { padding: 10px; }
    .card-title { font-size: 12px; -webkit-line-clamp: 2; }
    .card-category { font-size: 10px; }
    .card-price { font-size: 0.9rem; margin-top: 8px; }

    .event-layout { gap: 16px; }
    .event-card { padding: 12px 14px; gap: 10px; border-radius: 14px; }
    .event-card-img { width: 60px; height: 60px; border-radius: 10px; }
    .event-card-info h3 { font-size: 13px; }
    .event-card-info p { font-size: 11px; }

    .special-box { padding: 20px 16px; }
    .special-header h2 { font-size: 1.1rem; }
    .special-card-body { padding: 10px; }
    .special-card-body h3 { font-size: 12px; }
    .special-price { font-size: 13px; }

    .page-title { font-size: 1.4rem; }

    .ft-company { font-size: 1.1rem; }
    .ft-details span { font-size: 11px; }
}

/* Tablet (768-1024) */
@media (min-width: 768px) and (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hd-main { grid-template-columns: 160px 1fr 200px; }
    .special-grid { grid-template-columns: 1fr 1fr; }
}

/* Event section mobile fix */
@media (max-width: 900px) {
    .event-layout {
        grid-template-columns: 1fr;
    }
    .event-video {
        aspect-ratio: 16/9;
        max-height: 300px;
    }
    .event-list {
        gap: 8px;
    }
    .section-event {
        padding: 40px 0 50px;
    }
}

/* Product detail mobile */
@media (max-width: 600px) {
    .product-detail { gap: 20px; }
    .pd-title { font-size: 1.1rem; }
    .pd-price { font-size: 1.3rem; }
    .pd-actions { flex-wrap: wrap; }
    .btn-cart { flex: 1 1 100%; order: 1; }
    .btn-wish { order: 2; }
    .btn-inquiry { flex: 1; order: 3; }
    .pd-thumbs { gap: 6px; }
    .pd-thumb { width: 56px; height: 42px; }

    .tab-nav { overflow-x: auto; flex-wrap: nowrap; }
    .tab-btn { white-space: nowrap; padding: 12px 16px; font-size: 14px; }

    .search-box-big form { flex-direction: column; }
    .search-box-big button { width: 100%; }

    .form-row { grid-template-columns: 1fr; }
}

/* Cart mobile */
@media (max-width: 600px) {
    .cart-item { flex-wrap: wrap; }
    .cart-item img { width: 80px; height: 60px; }
    .ci-name { font-size: 13px; }
}

/* Mypage mobile */
@media (max-width: 600px) {
    .mp-profile { padding: 20px; }
    .mp-avatar { width: 56px; height: 56px; font-size: 22px; }
}

/* Improve touch targets on mobile */
@media (max-width: 900px) {
    .gnb-list > li > a { padding: 12px 16px; }
    .sub-menu li a { padding: 12px 20px; }
    .bnav-item { padding: 6px 16px; }
    .action-item { padding: 4px 8px; }

    /* Better mobile header spacing */
    .hd-logo img { max-height: 50px; }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .banner-slide { height: 60vh; }
    #mobile-bottom-nav { padding-bottom: 4px; }
}

/* Video player styles */
.event-video-player, .banner-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading state for videos */
.event-video {
    background: linear-gradient(135deg, #1a1a2e, #2c3e6b);
    position: relative;
}


/* Ensure footer doesn't get hidden behind mobile nav */
@media (max-width: 900px) {
    #footer { padding-bottom: 70px; }
}

/* Fix potential overflow issues */
.container { overflow-x: hidden; }
main { overflow-x: hidden; }

/* Image loading placeholder */
.card-img {
    background: linear-gradient(135deg, #f8f8f8, #eee);
}


/* VIDEO FIX - ensure videos are visible and playing */
.event-video {
    position: relative;
    background: #000;
}
.event-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide {
    position: relative;
    background: #000;
}
.banner-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

/* Remove any z-index issues */
.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}
.banner-overlay * {
    pointer-events: auto;
}


/* Short page spacing - ensure footer doesn't stick to content */
#content {
    min-height: calc(100vh - 200px);
    padding-bottom: 60px;
}

/* Event page minimum height */
.page-event, .page-search, .page-notice, .page-auth, .page-inquiry, .page-cart {
    min-height: 50vh;
}

/* List page subcategory counts */
.subcat-pill .subcat-count {
    display: inline-block;
    background: rgba(255,77,109,0.15);
    color: #ff4d6d;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 4px;
}


/* === New: Logo === */
.img-logo { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; }
@media (max-width: 768px) { .logo-img { height: 28px; } }

/* === New: Product Total Price === */
.pd-price-label { font-size: 13px; color: #888; }
.pd-total-price-box { background: linear-gradient(135deg, #fff5f7, #ffeef2); border: 2px solid #ff4d6d; border-radius: 12px; padding: 16px 20px; margin: 16px 0; text-align: center; }
.total-price-label { font-size: 13px; color: #888; }
.total-price-value { font-size: 28px; font-weight: 800; color: #ff4d6d; }

/* === New: Product Booking === */
.pd-booking { border-top: 1px solid #f0f0f0; padding-top: 16px; margin-top: 16px; }
.booking-people { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.booking-people label { font-size: 14px; font-weight: 600; color: #555; }
.people-selector { display: inline-flex; align-items: center; gap: 12px; }
.people-selector .btn-minus, .people-selector .btn-plus { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ddd; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #555; }
.people-selector .btn-minus:hover, .people-selector .btn-plus:hover { background: #ff4d6d; color: #fff; border-color: #ff4d6d; }
.people-selector input { width: 40px; text-align: center; font-size: 18px; font-weight: 700; border: none; background: transparent; }
.booking-actions { display: flex; gap: 10px; margin-top: 12px; }
.btn-book { flex: 1; padding: 14px 24px; background: linear-gradient(135deg, #ff6b8a, #ff4d6d); color: #fff; border: none; border-radius: 12px; cursor: pointer; font-size: 16px; font-weight: 700; box-shadow: 0 4px 16px rgba(255,77,109,0.3); }
.btn-book:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,77,109,0.4); }
.btn-book.disabled { background: #ccc; cursor: default; box-shadow: none; }
.btn-wish-detail { width: 50px; height: 50px; border-radius: 12px; border: 1px solid #ddd; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #ff4d6d; }
.btn-wish-detail:hover { background: #fff5f7; border-color: #ff4d6d; }
.btn-inquiry-detail { width: 100%; padding: 12px; margin-top: 10px; border: 1px solid #ddd; border-radius: 10px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; color: #555; display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-inquiry-detail:hover { border-color: #ff4d6d; color: #ff4d6d; background: #fff5f7; }
.btn-inquiry-detail i { color: #ff4d6d; }
.pd-soldout { padding: 12px; background: #fce4ec; color: #c62828; border-radius: 8px; text-align: center; font-weight: 600; margin: 12px 0; }

/* === New: Order Page === */
.order-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.order-section { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #f0f0f0; }
.order-section-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.order-section-title i { color: #ff4d6d; margin-right: 8px; }
.order-fields { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: flex; flex-direction: column; gap: 6px; }
.field-row label { font-size: 14px; font-weight: 600; color: #555; }
.field-row label .required { color: #ff4d6d; }
.field-row input, .field-row textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.field-row input:focus, .field-row textarea:focus { border-color: #ff4d6d; outline: none; }
.order-right { position: sticky; top: 100px; }
.order-pay-section { padding: 0 !important; overflow: hidden; }
.order-total-display { background: linear-gradient(135deg, #1a1a2e, #16213e); padding: 24px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.order-total-display span { font-size: 15px; color: rgba(255,255,255,0.8); }
.order-total-display strong { font-size: 28px; font-weight: 800; color: #ff6b8a; }
.pay-row { display: flex; align-items: flex-start; padding: 16px 24px; border-bottom: 1px solid #f0f0f0; gap: 16px; }
.pay-row:last-child { border-bottom: none; }
.pay-row > label { width: 100px; min-width: 100px; font-size: 13px; font-weight: 600; color: #666; padding-top: 10px; }
.pay-row > label .required { color: #ff4d6d; }
.pay-value { flex: 1; }
.pay-value input[type="text"] { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.radio-label-inline { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.radio-label-inline input[type="radio"] { accent-color: #ff4d6d; }
.radio-label-inline i { color: #ff4d6d; }
.mileage-input { display: flex; align-items: center; gap: 8px; }
.mileage-input input { width: 100px; padding: 10px; border: 2px solid #ddd; border-radius: 8px; font-size: 16px; font-weight: 700; text-align: center; }
.mileage-info { margin-top: 8px; font-size: 13px; color: #888; }
.mileage-info b { color: #ff4d6d; }
.btn-point-use { padding: 10px 16px; background: #ff4d6d; color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.bank-display { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f8f9fa; border-radius: 8px; font-size: 14px; font-weight: 600; }
.bank-display i { color: #ff4d6d; }
.order-buttons { display: flex; gap: 12px; margin-top: 16px; }
.btn-order-submit { flex: 1; padding: 16px; background: linear-gradient(135deg, #ff6b8a, #ff4d6d); color: #fff; border: none; border-radius: 12px; cursor: pointer; font-size: 17px; font-weight: 700; }
.btn-order-cancel { flex: 0 0 100px; padding: 16px; background: #f0f0f0; color: #666; border: none; border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 600; }
.order-item-price { font-weight: 700; color: #ff4d6d; text-align: center; }
.order-people-selector { display: inline-flex; align-items: center; gap: 12px; }
.btn-minus-sm, .btn-plus-sm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #ddd; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.btn-minus-sm:hover, .btn-plus-sm:hover { background: #ff4d6d; color: #fff; border-color: #ff4d6d; }

/* === New: Order Complete === */
.page-order-complete { padding: 30px 0 60px; }
.order-complete-header { text-align: center; padding: 40px 0 30px; }
.oc-icon { font-size: 60px; color: #2dd49f; margin-bottom: 16px; }
.order-detail-table { width: 100%; border-collapse: collapse; }
.order-detail-table th { width: 120px; padding: 12px 16px; background: #fafafa; font-size: 14px; font-weight: 600; color: #555; border-bottom: 1px solid #eee; text-align: left; }
.order-detail-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid #eee; }
.badge-status { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-pending { background: #fff3e0; color: #e65100; }
.badge-confirmed { background: #e8f5e9; color: #2e7d32; }
.badge-deposited { background: #e3f2fd; color: #1565c0; }
.badge-cancelled { background: #fce4ec; color: #c62828; }
.text-danger { color: #e53935; }

/* === New: Mypage Order History === */
.order-history-list { display: flex; flex-direction: column; gap: 12px; }
.order-history-item { background: #f8f9fa; border-radius: 12px; padding: 16px; border: 1px solid #eee; }
.ohi-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ohi-id { font-size: 13px; font-weight: 700; color: #555; }
.ohi-product { font-size: 14px; font-weight: 600; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ohi-bottom { display: flex; justify-content: space-between; }
.ohi-price { font-size: 16px; font-weight: 700; color: #ff4d6d; }
.ohi-date { font-size: 12px; color: #999; }
.ohi-depart { font-size: 12px; color: #2e7d32; margin-top: 6px; }

/* === New: Mypage Stats (page-mypage only) === */
.page-mypage .mp-stats { display: flex; flex-direction: column; gap: 0; background: #fff; border-radius: 12px; border: 1px solid #eee; overflow: hidden; margin-bottom: 20px; }
.page-mypage .mp-stats .stat { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid #f0f0f0; }
.page-mypage .mp-stats .stat:last-child { border-bottom: none; }
.page-mypage .mp-stats .stat-label { font-size: 14px; font-weight: 600; color: #555; order: -1; }
.page-mypage .mp-stats .stat-num { font-size: 14px; font-weight: 700; color: #ff4d6d; }

/* === New: Footer extras (not overriding backup) === */
#footer .ft-guarantee-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
#footer .ft-guarantee-icon { width: 24px; height: 24px; min-width: 24px; background: transparent; border-radius: 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#footer .ft-guarantee-icon img { width: 24px; height: 24px; }
#footer .ft-guarantee-icon i { display: none; }
#footer .ft-guarantee-content h3 { color: #fff; font-size: 14px; margin-bottom: 6px; }
#footer .ft-guarantee-content p { color: #bbb; font-size: 12px; line-height: 1.6; }
#footer .ft-guarantee-content b { color: #ff8fa3; }
#footer .ft-cert-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; background: linear-gradient(135deg, #ff6b8a, #ff4d6d); color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; margin-top: 12px; box-shadow: 0 4px 16px rgba(255,77,109,0.3); }

/* === New: Hide Stars === */
.card-stars, .stars-display, .review-link, .pc-rating { display: none !important; }

/* === New: Event text ellipsis === */
.section-event .event-card-info h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.section-event .event-card-info p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* === New: Mobile order === */
@media (max-width: 768px) {
    .order-two-col { grid-template-columns: 1fr; }
    .order-right { position: static; }
    .pay-row { flex-direction: column; gap: 8px; padding: 14px 18px; }
    .pay-row > label { width: auto; padding-top: 0; }
    .order-buttons { flex-direction: column; }
}

/* === Inquiry Board === */
.page-inquiry .container.narrow { max-width: 800px; }
.inquiry-write { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #eee; margin-bottom: 24px; }
.inquiry-write h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.inquiry-write h3 i { color: #ff4d6d; margin-right: 8px; }
.inq-field { margin-bottom: 12px; }
.inq-field input, .inq-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.inq-field input:focus, .inq-field textarea:focus { border-color: #ff4d6d; outline: none; }
.btn-inq-submit { padding: 12px 24px; background: #ff4d6d; color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; }
.inquiry-list h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.inquiry-list h3 i { color: #ff4d6d; margin-right: 8px; }
.inquiry-item { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #eee; margin-bottom: 12px; }
.inquiry-item.answered { border-left: 3px solid #2dd49f; }
.inq-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.inq-badge { padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.badge-wait { background: #fff3e0; color: #e65100; }
.badge-done { background: #e8f5e9; color: #2e7d32; }
.inq-subject { font-size: 15px; font-weight: 700; flex: 1; }
.inq-date { font-size: 12px; color: #999; }
.inq-content { font-size: 14px; color: #555; line-height: 1.6; padding: 12px 0; border-top: 1px solid #f0f0f0; }
.inq-answer { background: #f0faf5; border-radius: 8px; padding: 14px; margin-top: 10px; }
.inq-answer-label { font-size: 13px; font-weight: 700; color: #2e7d32; margin-bottom: 6px; }
.inq-answer-label i { margin-right: 4px; }
.inq-answer-content { font-size: 14px; color: #333; line-height: 1.6; }
.inq-reply-form { margin-top: 10px; }
.inq-reply-form textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; box-sizing: border-box; margin-bottom: 8px; }
.btn-reply { padding: 8px 16px; background: #2e7d32; color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.inq-writer { font-size: 11px; color: #999; display: block; margin-top: 8px; }

/* === Sub Menu Fix === */
.gnb-list .sub-menu li a {
    white-space: nowrap !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 8px !important;
}
.gnb-list .sub-menu li a .cat-count {
    flex-shrink: 0 !important;
}

/* === event-video-contain === */
.section-event .event-video {
    background: #000 !important;
}
.section-event .event-video video {
    object-fit: contain !important;
}

/* === banner-video-fix === */
.banner-slide video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: unset !important;
    min-height: unset !important;
    transform: none !important;
    object-fit: cover !important;
}

/* === event-page-fix === */
.event-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}
.event-grid-card {
    overflow: hidden !important;
}
.egc-img {
    height: 200px !important;
    overflow: hidden !important;
}
.egc-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr !important;
    }
}


/* === event-overlap-fix-v2 === */
.section-event .event-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
}
.section-event .event-video,
.section-event .event-list {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}


/* === shop-icon-design === */
.shop-icon {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 4px;
}
.icon-hit { background: #fff3e0; color: #e65100; }
.icon-pick { background: #fce4ec; color: #c62828; }
.icon-new { background: #e3f2fd; color: #1565c0; }
.icon-hot { background: #f3e5f5; color: #7b1fa2; }

/* === event-match-height === */
.section-event .event-layout {
    align-items: stretch !important;
}
.section-event .event-video {
    display: flex !important;
}
.section-event .event-video video {
    height: 100% !important;
}
.section-event .event-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.section-event .event-card {
    flex: 1 !important;
}

/* === badge-above-price === */
.card-body {
    display: flex !important;
    flex-direction: column !important;
}
.card-bottom {
    order: -1 !important;
    margin-bottom: 4px !important;
}
.card-price {
    margin-top: auto !important;
}

/* === Inquiry Board === */
.page-inquiry .container.narrow, .page-inquiry-write .container.narrow, .page-inquiry-view .container.narrow { max-width: 800px; }
.inquiry-board { background: #fff; border-radius: 12px; border: 1px solid #eee; overflow: hidden; }
.inq-table { width: 100%; border-collapse: collapse; }
.inq-table th { padding: 12px 16px; background: #fafafa; font-size: 13px; font-weight: 600; color: #888; border-bottom: 2px solid #eee; text-align: left; }
.inq-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.inq-table tr:hover { background: #f8f9fa; }
.th-status { width: 80px; text-align: center; }
.th-writer { width: 80px; }
.th-date { width: 100px; }
.td-subject { font-weight: 600; }
.no-data { text-align: center; padding: 40px; color: #999; }
.inq-badge { padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.badge-wait { background: #fff3e0; color: #e65100; }
.badge-done { background: #e8f5e9; color: #2e7d32; }
.inq-btn-wrap { padding: 16px; text-align: right; }
.btn-inq-write { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; background: #ff4d6d; color: #fff; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 700; }
.inq-pagination { display: flex; justify-content: center; gap: 4px; padding: 16px; }
.inq-pagination a { padding: 6px 12px; border-radius: 6px; font-size: 13px; color: #666; text-decoration: none; }
.inq-pagination a.active { background: #ff4d6d; color: #fff; }

.inquiry-write-form { background: #fff; border-radius: 12px; padding: 30px; border: 1px solid #eee; }
.inq-field { margin-bottom: 16px; }
.inq-field label { display: block; font-size: 14px; font-weight: 600; color: #555; margin-bottom: 6px; }
.inq-field label .required { color: #ff4d6d; }
.inq-field input, .inq-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.inq-field input:focus, .inq-field textarea:focus { border-color: #ff4d6d; outline: none; }
.inq-form-actions { display: flex; gap: 12px; }
.btn-inq-submit { padding: 14px 30px; background: #ff4d6d; color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn-inq-cancel { padding: 14px 30px; background: #f0f0f0; color: #666; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 600; text-align: center; }

.inquiry-view-card { background: #fff; border-radius: 12px; padding: 30px; border: 1px solid #eee; margin-bottom: 16px; }
.inq-view-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.inq-view-header h2 { font-size: 18px; margin: 8px 0; }
.inq-view-meta { font-size: 13px; color: #999; display: flex; gap: 16px; }
.inq-view-content { font-size: 14px; line-height: 1.8; color: #333; padding: 20px 0; }
.inq-view-answer { background: #f0faf5; border-radius: 8px; padding: 20px; margin-top: 16px; }
.inq-answer-label { font-size: 14px; font-weight: 700; color: #2e7d32; margin-bottom: 8px; }
.inq-answer-label i { margin-right: 4px; }
.inq-answer-content { font-size: 14px; color: #333; line-height: 1.6; }
.inq-view-private { text-align: center; padding: 40px; color: #999; }
.inq-view-private i { font-size: 32px; margin-bottom: 12px; display: block; color: #ddd; }
.inq-reply-form { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee; }
.btn-reply { padding: 10px 20px; background: #2e7d32; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.inq-view-actions { text-align: center; }
.btn-inq-back { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; background: #f0f0f0; color: #555; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; }

@media (max-width: 768px) {
    .th-writer, .th-date { display: none; }
    .inq-table td:nth-child(3), .inq-table td:nth-child(4) { display: none; }
}



/* === event-mobile-stack === */
@media (max-width: 768px) {
    .section-event .event-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .section-event .event-video {
        width: 100% !important;
    }
    .section-event .event-list {
        width: 100% !important;
    }
}


/* === cert-btn-mobile === */
@media (max-width: 768px) {
    #footer .ft-right { text-align: center !important; }
    #footer .ft-cert-btn { display: flex !important; justify-content: center !important; width: 100% !important; }
}





/* === Inquiry Mobile === */
.inq-table { width: 100% !important; border-collapse: collapse !important; }
.inq-table th, .inq-table td { vertical-align: middle !important; padding: 12px 8px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.th-status, .inq-table td:nth-child(1) { width: 70px !important; text-align: center !important; }
.th-subject, .inq-table td:nth-child(2) { max-width: 120px !important; }
.th-writer, .inq-table td:nth-child(3) { width: 70px !important; text-align: center !important; }
.th-date, .inq-table td:nth-child(4) { width: 90px !important; text-align: center !important; }

@media (max-width: 768px) {
    .inq-table thead { display: none !important; }
    .inq-table tr {
        display: flex !important;
        flex-wrap: wrap !important;
        padding: 12px 10px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .inq-table td {
        display: inline !important;
        padding: 0 !important;
        border: none !important;
        width: auto !important;
        max-width: none !important;
        font-size: 13px !important;
    }
    .inq-table td:nth-child(1) { order: 1 !important; }
    .inq-table td:nth-child(2) { order: 2 !important; flex: 1 !important; font-weight: 600 !important; min-width: 0 !important; }
    .inq-table td:nth-child(3) { order: 3 !important; color: #999 !important; font-size: 11px !important; }
    .inq-table td:nth-child(4) { order: 4 !important; color: #999 !important; font-size: 11px !important; }
}

/* === Inquiry Delete === */
.btn-inq-delete { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; background: #e53935; color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-inq-delete:hover { background: #c62828; }
.inq-view-actions { display: flex; gap: 12px; justify-content: center; }

/* === Point History === */
.point-history { display: flex; flex-direction: column; gap: 8px; }
.point-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f8f9fa; border-radius: 8px; }
.pi-left { display: flex; flex-direction: column; gap: 2px; }
.pi-content { font-size: 14px; font-weight: 600; color: #333; }
.pi-date { font-size: 12px; color: #999; }
.pi-point { font-size: 16px; font-weight: 800; }
.pi-point.plus { color: #2e7d32; }
.pi-point.minus { color: #e53935; }

/* === Reviews === */
.review-write { background: #f8f9fa; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.review-write h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.rv-input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; margin-bottom: 8px; box-sizing: border-box; }
.rv-textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; resize: vertical; box-sizing: border-box; margin-bottom: 8px; }
.rv-bottom { display: flex; justify-content: space-between; align-items: center; }
.rv-rating-input { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.rv-select { padding: 6px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.btn-rv-submit { padding: 10px 20px; background: #ff4d6d; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-item { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 16px; }
.rv-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.rv-stars { color: #ffb722; }
.rv-writer { font-weight: 600; }
.rv-date { color: #999; margin-left: auto; }
.rv-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.rv-body { font-size: 14px; color: #555; line-height: 1.6; }

/* === Review Notice === */
.review-notice { background: #fff3e0; border-radius: 8px; padding: 12px 16px; font-size: 13px; color: #e65100; margin-bottom: 16px; }
.review-notice i { margin-right: 6px; }

/* === Reply Edit/Delete === */
.inq-answer-actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-edit-reply { padding: 6px 14px; background: #fff; border: 1px solid #2e7d32; color: #2e7d32; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-edit-reply:hover { background: #2e7d32; color: #fff; }
.btn-del-reply { padding: 6px 14px; background: #fff; border: 1px solid #e53935; color: #e53935; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-del-reply:hover { background: #e53935; color: #fff; }

/* === Order History Table === */
.order-table-wrap { overflow-x: auto; }
.order-hist-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.order-hist-table th { padding: 10px 8px; background: #f5f5f5; font-weight: 600; color: #666; border-bottom: 2px solid #ddd; white-space: nowrap; text-align: center; }
.order-hist-table td { padding: 12px 8px; border-bottom: 1px solid #f0f0f0; text-align: center; white-space: nowrap; }
.order-hist-table tr:hover { background: #f8f9fa; }
.order-hist-table .td-id { font-weight: 700; color: #333; }

/* === Order Detail Page === */
.page-order-detail { padding: 30px 0 60px; }
.od-id-box { background: #e3f2fd; border: 1px solid #90caf9; border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #1565c0; font-weight: 600; margin-bottom: 20px; }
.od-section { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.od-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.od-product-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.od-product-table th { padding: 10px 8px; background: #fafafa; font-weight: 600; color: #888; border-bottom: 2px solid #eee; text-align: center; }
.od-product-table td { padding: 14px 8px; border-bottom: 1px solid #f0f0f0; text-align: center; }
.td-product-name { text-align: left !important; font-weight: 600; }
.od-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.od-info-table { width: 100%; border-collapse: collapse; }
.od-info-table th { width: 100px; padding: 10px 12px; font-size: 14px; font-weight: 600; color: #555; border-bottom: 1px solid #f0f0f0; text-align: left; }
.od-info-table td { padding: 10px 12px; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.od-amount-box { background: #fff; padding: 20px; }
.od-amount-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.od-amount-row .amt-total { color: #ff4d6d; font-size: 18px; }
.od-amount-row .amt-danger { color: #e53935; }
.od-amount-row.highlight { background: #fff5f7; margin: 4px -12px; padding: 10px 12px; border-radius: 6px; }
.od-amount-divider { border-top: 1px solid #eee; margin: 8px 0; }
@media (max-width: 768px) {
    .od-two-col { grid-template-columns: 1fr; }
    .od-product-table th, .od-product-table td { padding: 8px 4px; font-size: 12px; }
    .order-hist-table th, .order-hist-table td { font-size: 11px; padding: 8px 4px; }
}

/* === od-product-table-fix === */
.od-product-table th, .od-product-table td {
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}
.od-product-table .td-product-name {
    text-align: left !important;
    white-space: normal !important;
    max-width: 250px !important;
}
@media (max-width: 768px) {
    .od-product-table { font-size: 11px !important; }
    .od-product-table th, .od-product-table td { padding: 8px 4px !important; }
    .od-product-table .td-product-name { max-width: 120px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap !important; }
}

/* === Profile Edit === */
.page-profile { padding: 30px 0 60px; }
.profile-section { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #eee; margin-bottom: 16px; }
.profile-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.profile-section h3 i { color: #ff4d6d; margin-right: 8px; }
.pf-field { margin-bottom: 12px; }
.pf-field label { display: block; font-size: 14px; font-weight: 600; color: #555; margin-bottom: 4px; }
.pf-field label .required { color: #ff4d6d; }
.pf-field input { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.pf-field input:disabled { background: #f5f5f5; color: #999; }
.pf-field input:focus { border-color: #ff4d6d; outline: none; }
.btn-pf-save { padding: 12px 24px; background: #ff4d6d; color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-pf-save:hover { background: #e8445f; }
.withdraw-section { border-color: #fce4ec; }
.withdraw-warn { font-size: 13px; color: #e53935; margin-bottom: 12px; }
.btn-pf-withdraw { padding: 12px 24px; background: #e53935; color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-pf-withdraw:hover { background: #c62828; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; background: #f0f0f0; color: #555; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; }
.alert-success { background: #e8f5e9; color: #2e7d32; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fce4ec; color: #c62828; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
