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

/* ==========================================================================
   Whetalk / Catalk 2026 Modern Premium E-Commerce & Point Shop Theme
   ========================================================================== */

:root {
    --shop-yellow: #86D43A;
    --shop-yellow-hover: #72BD2E;
    --shop-yellow-light: #F3FBEB;
    --shop-yellow-border: #BCEB98;
    --shop-amber: #F59E0B;
    --shop-amber-dark: #D97706;
    --shop-brown: #371D1E;
    --shop-primary: #4F46E5;
    --shop-primary-light: #EEF2FF;
    --shop-primary-dark: #4338CA;
    --shop-accent: #6366F1;
    --shop-success: #10B981;
    --shop-danger: #EF4444;
    --shop-bg: #F8FAFD;
    --shop-card-bg: #FFFFFF;
    --shop-border: #E8ECF2;
    --shop-border-subtle: #F1F4F8;
    --shop-text: #191F28;
    --shop-text-secondary: #4E5968;
    --shop-text-muted: #8B95A1;
    --shop-radius-sm: 8px;
    --shop-radius-md: 14px;
    --shop-radius-lg: 20px;
    --shop-radius-xl: 28px;
    --shop-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shop-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
    --shop-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08);
    --shop-shadow-hover: 0 20px 42px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
}

/* Base resets & typography */
html, body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
    background-color: var(--shop-bg) !important;
    color: var(--shop-text) !important;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

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

* {
    box-sizing: border-box;
}

/* ==========================================================================
   Top Header & Navigation Bar
   ========================================================================== */
#hd {
    background: #FFFFFF !important;
    border-bottom: 1px solid var(--shop-border) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
}

#hd #hd_h1,
#hd #skip_to_container {
    display: none !important;
}

/* Modern Top Utility Bar */
.modern-shop-topbar {
    background: #FAFBFC;
    border-bottom: 1px solid #EDF1F6;
    font-size: 12.5px;
    color: var(--shop-text-muted);
    padding: 8px 0;
}
.modern-shop-topbar .topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-slogan {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.topbar-slogan .slogan-badge {
    background: #EFF6FF;
    color: #2563EB;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 11px;
}
.topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.topbar-links li a {
    color: var(--shop-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}
.topbar-links li a:hover {
    color: var(--shop-text);
}
.topbar-point-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--shop-yellow-light);
    border: 1px solid var(--shop-yellow-border);
    padding: 3px 10px;
    border-radius: 12px;
    color: var(--shop-brown);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.topbar-point-badge .coin-icon {
    font-size: 13px;
}

/* Main Header Row */
.modern-shop-main-header {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
.shop-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.shop-brand-logo-box {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(254, 229, 0, 0.35);
    flex-shrink: 0;
}
.shop-brand-info {
    display: flex;
    flex-direction: column;
}
.shop-brand-title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.shop-brand-sub {
    font-size: 11.5px;
    font-weight: 600;
    color: #6B7280;
    letter-spacing: -0.2px;
}

/* "Whetalk 메신저로 가기" Button */
.btn-return-catalk {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%);
    color: #371D1E !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 3px 10px rgba(254, 229, 0, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-return-catalk:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(254, 229, 0, 0.45);
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%);
}
.btn-return-catalk .icon {
    font-size: 15px;
}

/* Search Bar */
.modern-shop-search {
    flex: 1;
    max-width: 480px;
}
.modern-shop-search form {
    display: flex;
    align-items: center;
    position: relative;
    background: #F1F4F8;
    border-radius: 24px;
    border: 1.5px solid transparent;
    transition: all 0.25s ease;
    padding: 2px 4px 2px 16px;
}
.modern-shop-search form:focus-within {
    background: #FFFFFF;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.modern-shop-search input[type="text"] {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 8px 10px 0;
    font-size: 13.5px;
    color: var(--shop-text);
    outline: none;
    font-family: inherit;
}
.modern-shop-search input::placeholder {
    color: #94A3B8;
}
.modern-shop-search button[type="submit"] {
    border: none;
    background: var(--shop-primary);
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.modern-shop-search button[type="submit"]:hover {
    background: var(--shop-primary-dark);
    transform: scale(1.05);
}

/* Header Right Actions */
.modern-shop-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.action-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #F8FAFD;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    color: var(--shop-text);
    font-size: 17px;
    transition: all 0.2s ease;
}
.action-cart-btn:hover {
    background: #FFFFFF;
    border-color: var(--shop-primary);
    color: var(--shop-primary);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-sm);
}
.action-cart-btn .cart-badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #FFFFFF;
}

.action-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.action-auth-btn.login-btn {
    background: #FFFFFF;
    border: 1px solid var(--shop-border);
    color: var(--shop-text);
}
.action-auth-btn.login-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}
.action-auth-btn.register-btn {
    background: var(--shop-primary);
    color: #FFFFFF;
    border: 1px solid var(--shop-primary);
}
.action-auth-btn.register-btn:hover {
    background: var(--shop-primary-dark);
}

/* Category & Filter Navigation Bar */
.modern-shop-menubar {
    border-top: 1px solid #F1F4F8;
    background: #FFFFFF;
}
.modern-shop-menubar .menubar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.modern-shop-menubar .menubar-inner::-webkit-scrollbar {
    display: none;
}
.menu-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #4B5563;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}
.menu-chip-link:hover {
    color: var(--shop-primary);
}
.menu-chip-link.active {
    color: var(--shop-primary);
    border-bottom-color: var(--shop-primary);
    font-weight: 700;
}
.menu-chip-link .chip-emoji {
    font-size: 15px;
}

/* Hide legacy GNUboard nav elements */
#tnb, #hd_wrapper, #hd_menu, #side_menu {
    display: none !important;
}

/* ==========================================================================
   Page Content Wrapper
   ========================================================================== */
#wrapper {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
#container {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 24px 20px 60px !important;
    float: none !important;
}
.shop-content {
    width: 100% !important;
    float: none !important;
}

/* Hide old left aside on index */
#aside {
    display: none !important;
}

/* ==========================================================================
   Modern Hero Section (Main Page)
   ========================================================================== */
.shop-hero-section {
    position: relative;
    border-radius: var(--shop-radius-xl);
    overflow: hidden;
    margin-bottom: 36px;
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
    box-shadow: 0 16px 36px rgba(49, 46, 129, 0.2);
    color: #FFFFFF;
    padding: 44px 40px;
}

/* Ambient glow blobs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.55;
}
.hero-glow-1 {
    width: 320px;
    height: 320px;
    background: #86D43A;
    top: -80px;
    right: 15%;
    opacity: 0.35;
}
.hero-glow-2 {
    width: 280px;
    height: 280px;
    background: #EC4899;
    bottom: -60px;
    left: 20%;
    opacity: 0.25;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.hero-text {
    flex: 1;
    max-width: 600px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #86D43A;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.hero-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.8px;
}
.hero-title span {
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}
.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    padding: 7px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
}

/* Hero Right: Point Balance / Login Card */
.hero-side-card {
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--shop-radius-lg);
    padding: 24px;
    color: var(--shop-text);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}
.hero-side-card .card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.hero-side-card .card-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-side-card .card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #E0E7FF;
    color: #4338CA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.hero-side-card .card-nick {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}
.hero-side-card .card-status {
    font-size: 12px;
    color: #6B7280;
}
.hero-side-card .card-point-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
}
.hero-side-card .card-point-label {
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
    margin-bottom: 4px;
}
.hero-side-card .card-point-val {
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hero-side-card .card-point-val .coin {
    font-size: 20px;
}
.hero-side-card .btn-quick-catalk {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%);
    color: #371D1E;
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.35);
    transition: all 0.2s ease;
}
.hero-side-card .btn-quick-catalk:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(254, 229, 0, 0.45);
}

/* ==========================================================================
   Modern Product Section & Cards Grid
   ========================================================================== */
.modern-section {
    margin-bottom: 44px;
}
.modern-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--shop-border);
}
.section-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.section-title-wrap h2 {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}
.section-title-wrap p {
    font-size: 13.5px;
    color: #64748B;
    margin: 0;
}
.section-more-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--shop-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.section-more-link:hover {
    color: var(--shop-primary-dark);
}

/* Modern Card Grid */
.modern-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

/* Modern Card Item */
.modern-item-card {
    background: #FFFFFF;
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shop-shadow-sm);
    position: relative;
}
.modern-item-card:hover {
    transform: translateY(-6px);
    border-color: #CBD5E1;
    box-shadow: var(--shop-shadow-hover);
}

/* Card Top Badges */
.card-badge-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
    letter-spacing: 0.3px;
}
.card-badge-tag.tag-recommend {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
}
.card-badge-tag.tag-best {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

/* Card Thumbnail */
.card-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background: #FAFBFC;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--shop-border-subtle);
}
.card-thumb-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.card-thumb-inner img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.modern-item-card:hover .card-thumb-inner img {
    transform: scale(1.08);
}

/* Card Body Content */
.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-category-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--shop-primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}
.card-point-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--shop-yellow-light);
    border: 1px solid var(--shop-yellow-border);
    color: var(--shop-brown);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    margin-bottom: 14px;
    width: fit-content;
}
.card-price-wrap {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 14px;
}
.card-price-current {
    font-size: 21px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.5px;
}
.card-price-origin {
    font-size: 13px;
    color: #94A3B8;
    text-decoration: line-through;
}

/* Card Action Buttons */
.card-actions-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-card-buy {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%);
    color: #371D1E;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(254, 229, 0, 0.25);
}
.btn-card-buy:hover {
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.4);
}
.btn-card-cart {
    width: 38px;
    height: 38px;
    background: #F8FAFD;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}
.btn-card-cart:hover {
    background: #FFFFFF;
    border-color: var(--shop-primary);
    color: var(--shop-primary);
    transform: translateY(-1px);
}

/* Override YoungCart default sct_wrap / smt_20 styles */
.sct_wrap {
    margin-bottom: 40px !important;
}
.sct_wrap > header {
    display: none !important;
}
.sctrl {
    display: none !important;
}
.sct_sns {
    display: none !important;
}
.sct_star {
    display: none !important;
}

/* ==========================================================================
   Modern Product Detail Page (shop/item.php)
   ========================================================================== */
#sit_ov_wrap {
    background: #FFFFFF !important;
    border-radius: var(--shop-radius-xl) !important;
    border: 1px solid var(--shop-border) !important;
    padding: 32px !important;
    box-shadow: var(--shop-shadow-md) !important;
    margin-bottom: 36px !important;
}
#sit_pvi {
    background: #FAFBFC !important;
    border-radius: var(--shop-radius-lg) !important;
    border: 1px solid var(--shop-border-subtle) !important;
    padding: 24px !important;
}
#sit_pvi img {
    border-radius: 12px !important;
}
#sit_title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
}
#sit_desc {
    color: #64748B !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
}
.sit_ov_tbl {
    border-top: 1.5px solid var(--shop-border) !important;
    border-bottom: 1.5px solid var(--shop-border) !important;
}
.sit_ov_tbl th {
    color: #64748B !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    padding: 12px 10px !important;
}
.sit_ov_tbl td {
    color: #111827 !important;
    font-size: 14.5px !important;
    padding: 12px 10px !important;
}
.sit_ov_tbl td strong {
    font-size: 24px !important;
    color: #0F172A !important;
    font-weight: 800 !important;
}

/* Detail Buy & Cart Buttons */
#sit_ov_btn {
    display: flex !important;
    gap: 12px !important;
    margin-top: 24px !important;
}
.sit_btn_buy {
    flex: 1 !important;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%) !important;
    color: #371D1E !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    height: 52px !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(254, 229, 0, 0.4) !important;
    transition: all 0.2s ease !important;
}
.sit_btn_buy:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(254, 229, 0, 0.5) !important;
}
.sit_btn_cart {
    flex: 1 !important;
    background: #FFFFFF !important;
    border: 2px solid var(--shop-border) !important;
    color: var(--shop-text) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    height: 52px !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.sit_btn_cart:hover {
    border-color: var(--shop-primary) !important;
    color: var(--shop-primary) !important;
    background: #F8FAFD !important;
}
.sit_btn_wish {
    width: 52px !important;
    height: 52px !important;
    background: #FFFFFF !important;
    border: 2px solid var(--shop-border) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748B !important;
    font-size: 20px !important;
    transition: all 0.2s ease !important;
}
.sit_btn_wish:hover {
    border-color: #EF4444 !important;
    color: #EF4444 !important;
}

/* Tabs */
#sit_tab {
    margin-bottom: 30px !important;
}
#sit_tab ul {
    display: flex !important;
    border-bottom: 2px solid var(--shop-border) !important;
    gap: 8px !important;
}
#sit_tab li {
    flex: 1 !important;
}
#sit_tab a {
    display: block !important;
    text-align: center !important;
    padding: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #64748B !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px !important;
}
#sit_tab .sit_tab_on a {
    color: var(--shop-primary) !important;
    border-bottom-color: var(--shop-primary) !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   Modern Cart & Order Form (shop/cart.php, shop/orderform.php)
   ========================================================================== */
#sod_bsk,
#sod_frm {
    background: #FFFFFF !important;
    border-radius: var(--shop-radius-xl) !important;
    border: 1px solid var(--shop-border) !important;
    padding: 32px !important;
    box-shadow: var(--shop-shadow-md) !important;
}
.tbl_head01 th {
    background: #FAFBFC !important;
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 14px 10px !important;
    border-bottom: 1.5px solid var(--shop-border) !important;
}
.tbl_head01 td {
    padding: 14px 10px !important;
    border-bottom: 1px solid var(--shop-border-subtle) !important;
    color: #1E293B !important;
}
#sod_bsk_tot {
    background: #F8FAFD !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: var(--shop-radius-lg) !important;
    padding: 24px !important;
    margin: 24px 0 !important;
}
.btn_submit {
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%) !important;
    color: #371D1E !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    padding: 14px 32px !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(254, 229, 0, 0.4) !important;
    transition: all 0.2s ease !important;
}
.btn_submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(254, 229, 0, 0.5) !important;
}

/* ==========================================================================
   Modern Footer
   ========================================================================== */
#ft {
    background: #FFFFFF !important;
    border-top: 1px solid var(--shop-border) !important;
    padding: 44px 0 32px !important;
    color: var(--shop-text-muted) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}
#ft #ft_wr {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    float: none !important;
    width: 100% !important;
}
.modern-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid #F1F4F8;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-brand-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}
.footer-nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav-links a {
    color: #475569;
    font-weight: 600;
    font-size: 13.5px;
}
.footer-nav-links a:hover {
    color: var(--shop-primary);
}

.modern-footer-body {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-company-text {
    flex: 1;
    max-width: 720px;
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.7;
}
.footer-company-text span {
    margin-right: 12px;
    display: inline-block;
}
.footer-company-text b {
    color: #334155;
    font-weight: 600;
}
.footer-copyright {
    margin-top: 16px;
    font-size: 12px;
    color: #94A3B8;
}

/* Hide old footer elements */
#ft_company, #ft_link, #ft_copy, #sidx_lat {
    display: none !important;
}

/* ==========================================================================
   Mobile Responsive Optimizations (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .modern-shop-topbar {
        display: none !important;
    }
    .modern-shop-main-header {
        padding: 10px 14px;
        gap: 10px;
    }
    .shop-brand-title {
        font-size: 17px;
    }
    .shop-brand-logo-box {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .btn-return-catalk {
        padding: 6px 12px;
        font-size: 12px;
    }
    .modern-shop-search {
        display: none; /* toggleable on mobile */
    }
    .modern-shop-menubar .menubar-inner {
        padding: 0 12px;
    }
    .menu-chip-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    #container {
        padding: 14px 12px 80px !important;
    }

    /* Hero section on mobile */
    .shop-hero-section {
        padding: 24px 20px;
        border-radius: var(--shop-radius-lg);
        margin-bottom: 24px;
    }
    .hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-desc {
        font-size: 13.5px;
        margin-bottom: 16px;
    }
    .hero-side-card {
        width: 100%;
        padding: 18px;
    }

    /* Product Grid on mobile: 2 columns */
    .modern-item-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .modern-item-card {
        border-radius: var(--shop-radius-md);
    }
    .card-thumb-wrap {
        padding-top: 85%;
    }
    .card-body {
        padding: 12px;
    }
    .card-title {
        font-size: 14px;
        height: 38px;
        margin-bottom: 4px;
    }
    .card-point-pill {
        font-size: 11px;
        padding: 2px 6px;
        margin-bottom: 8px;
    }
    .card-price-current {
        font-size: 16px;
    }
    .btn-card-buy {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 10px;
    }
    .btn-card-cart {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 12px;
    }

    /* Fixed Bottom Mobile App Bar */
    .mobile-shop-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #FFFFFF;
        border-top: 1px solid var(--shop-border);
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 1000;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    }
    .mobile-shop-bottom-bar .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: #64748B;
        font-size: 11px;
        font-weight: 600;
        text-decoration: none;
        position: relative;
    }
    .mobile-shop-bottom-bar .bottom-nav-item.active {
        color: var(--shop-primary);
    }
    .mobile-shop-bottom-bar .bottom-nav-item .nav-icon {
        font-size: 18px;
    }
    .mobile-shop-bottom-bar .bottom-nav-badge {
        position: absolute;
        top: -3px;
        right: -6px;
        background: #EF4444;
        color: #FFFFFF;
        font-size: 10px;
        font-weight: 800;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #sit_ov_wrap,
    #sod_bsk,
    #sod_frm {
        padding: 18px !important;
        border-radius: var(--shop-radius-lg) !important;
    }
}

/* ==========================================================================
   Catalk Mobile Messenger Layout Integration
   ========================================================================== */
body {
    background-color: #EFEFEF !important;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
}

.catalk-shop-app {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
}

@media (min-width: 481px) {
    body {
        padding: 10px 0;
    }
    .catalk-shop-app {
        min-height: calc(100vh - 20px);
        border-radius: 20px;
        overflow: hidden;
    }
}

.catalk-shop-body {
    flex: 1;
    padding: 14px 14px 75px !important;
    background: #FFFFFF;
}

.catalk-shop-body .modern-item-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.catalk-shop-body .modern-item-card {
    border-radius: 16px;
    border: 1px solid #ECECEC;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.catalk-shop-body .card-thumb-wrap {
    padding-top: 85%;
}

.catalk-shop-body .card-body {
    padding: 12px 10px;
}

.catalk-shop-body .card-title {
    font-size: 13.5px;
    height: 38px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.catalk-shop-body .card-point-pill {
    font-size: 11px;
    padding: 2px 6px;
    margin-bottom: 8px;
}

.catalk-shop-body .card-price-current {
    font-size: 16px;
}

.catalk-shop-body .btn-card-buy {
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 10px;
}

.catalk-shop-body .btn-card-cart {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

/* Subpage responsiveness in Catalk Mobile */
.catalk-shop-body #sit_ov_wrap,
.catalk-shop-body #sod_bsk,
.catalk-shop-body #sod_frm,
.catalk-shop-body #smb_my {
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.catalk-shop-body #sit_pvi {
    padding: 12px !important;
    text-align: center;
}

.catalk-shop-body #sit_pvi img {
    max-width: 100% !important;
    height: auto !important;
}

.catalk-shop-body #sit_ov_btn {
    display: flex !important;
    gap: 8px !important;
}

.catalk-shop-body .sit_btn_buy,
.catalk-shop-body .sit_btn_cart {
    height: 46px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
}

.catalk-shop-body .tbl_head01 {
    width: 100% !important;
}
.catalk-shop-body .tbl_head01 th,
.catalk-shop-body .tbl_head01 td {
    padding: 10px 6px !important;
    font-size: 12.5px !important;
}

/* Catalk Mobile Shop Subpage Header */
.catalk-subpage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 14px;
    background: #FFFFFF;
    border-bottom: 1px solid #ECECEC;
    position: sticky;
    top: 0;
    z-index: 90;
}
.catalk-subpage-header .btn-back,
.catalk-subpage-header .btn-home,
.catalk-subpage-header .btn-sub-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #191919;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.catalk-subpage-header .btn-back:hover,
.catalk-subpage-header .btn-home:hover,
.catalk-subpage-header .btn-sub-cart:hover {
    background-color: #F2F2F4;
}
.catalk-subpage-header .subpage-title {
    font-size: 16px;
    font-weight: 700;
    color: #191919;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
    text-align: center;
}

/* ==========================================================================
   Catalk Mobile Item Detail (item.php) Purchase Bar & Option Drawer
   ========================================================================== */
#hd_login_msg {
    display: none !important;
}

#sit {
    padding-bottom: 145px !important;
}

/* 1. 하단 구매하기 고정 바 (하단 네비게이션 탭 60px 바로 위에 도킹) */
.btn_option_wr {
    position: fixed !important;
    bottom: 60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 480px !important;
    width: 100% !important;
    padding: 10px 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid #EAEAEA !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06) !important;
    z-index: 95 !important;
    box-sizing: border-box !important;
}

.btn_option_wr .btn_cart_op {
    width: 100% !important;
    height: 48px !important;
    line-height: 48px !important;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%) !important;
    color: #371D1E !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 3px 12px rgba(254, 229, 0, 0.38) !important;
    transition: transform 0.15s ease, opacity 0.15s ease !important;
    padding: 0 !important;
    display: block !important;
    text-align: center !important;
}

.btn_option_wr .btn_cart_op:active {
    transform: scale(0.98) !important;
    opacity: 0.92 !important;
}

/* 2. 구매하기 클릭 시 올라오는 옵션/수량/결제 서랍 */
#btn_option {
    display: none;
    position: fixed !important;
    bottom: 60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 480px !important;
    width: 100% !important;
    background: #FFFFFF !important;
    border-top: 1px solid #ECECEC !important;
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.15) !important;
    z-index: 105 !important;
    box-sizing: border-box !important;
}

#btn_option .btn_close {
    position: absolute !important;
    top: -26px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 64px !important;
    height: 26px !important;
    margin-left: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #ECECEC !important;
    border-bottom: none !important;
    border-radius: 12px 12px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #666666 !important;
    box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.04) !important;
}

#btn_option .btn_close:hover {
    color: #191919 !important;
}

#btn_option .sl_option {
    max-height: 280px !important;
    overflow-y: auto !important;
    padding: 16px 16px 14px !important;
}

#btn_option .sit_option h3 {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #444444 !important;
    margin-bottom: 8px !important;
}

#btn_option .sit_op_sl select {
    width: 100% !important;
    height: 42px !important;
    border-radius: 10px !important;
    border: 1px solid #E0E0E0 !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    background: #F8F9FA !important;
}

#btn_option #sit_opt_added {
    margin: 8px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#btn_option .sit_opt_list {
    background: #F9FAFB !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    margin-bottom: 8px !important;
    border: 1px solid #EFEFEF !important;
}

#btn_option .opt_name {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #191919 !important;
    margin-bottom: 8px !important;
}

#btn_option .opt_count {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#btn_option .sit_qty_minus,
#btn_option .sit_qty_plus {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    border: 1px solid #D5D5D8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    color: #333 !important;
    cursor: pointer !important;
}

#btn_option .num_input {
    width: 44px !important;
    height: 32px !important;
    text-align: center !important;
    border: 1px solid #D5D5D8 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #191919 !important;
}

#btn_option .sit_opt_prc {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #795700 !important;
    margin-left: auto !important;
}

#btn_option #sit_tot_price {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #191919 !important;
    text-align: right !important;
    padding: 10px 0 !important;
    border-top: 1px solid #F0F0F0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#btn_option #sit_ov_btn {
    display: flex !important;
    gap: 8px !important;
    margin-top: 8px !important;
    text-align: center !important;
}

#btn_option #sit_btn_cart {
    flex: 1 !important;
    height: 48px !important;
    border-radius: 12px !important;
    background: #F2F2F4 !important;
    color: #191919 !important;
    border: 1px solid #E0E0E0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    line-height: normal !important;
}

#btn_option #sit_btn_buy {
    flex: 1.5 !important;
    height: 48px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%) !important;
    color: #371D1E !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 3px 10px rgba(254, 229, 0, 0.35) !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    line-height: normal !important;
}

#btn_option #sit_btn_wish {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    background: #F2F2F4 !important;
    border: 1px solid #E0E0E0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #666666 !important;
    font-size: 18px !important;
    float: none !important;
    margin: 0 !important;
    line-height: normal !important;
}

/* 상단 헤더 홈 이동 버튼 */
.btn-header-home {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: #F4F4F5 !important;
    color: #191919 !important;
    border-radius: 50% !important;
    border: 1px solid #ECECEC !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}
.btn-header-home:hover {
    background: #86D43A !important;
    color: #371D1E !important;
    border-color: #86D43A !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(254, 229, 0, 0.4) !important;
}
.btn-header-home:active {
    transform: scale(0.95) !important;
}

/* ==========================================================================
   Catalk Modern Order & Checkout UI (shop/orderform.php)
   ========================================================================== */

/* 주문서 페이지에서는 하단 4탭 네비게이션 숨김 (결제 액션바 최하단 밀착) */
.catalk-shop-app:has(#sod_frm) .catalk-tail {
    display: none !important;
}

#sod_frm.catalk-orderform-wrapper {
    padding: 12px 14px 110px !important;
    background: #F8FAFD;
}

#sod_frm .catalk-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #ECEEF2;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    margin-bottom: 14px;
    overflow: hidden;
}

#sod_frm .card-head {
    padding: 13px 16px;
    background: #FAFBFC;
    border-bottom: 1px solid #F1F3F6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#sod_frm .card-head-title {
    font-size: 15px;
    font-weight: 700;
    color: #191F28;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

#sod_frm .card-head-title svg {
    color: #4E5968;
}

#sod_frm .card-count-badge {
    background: #F2F4F6;
    color: #4E5968;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 2px;
}

#sod_frm .card-content {
    padding: 16px;
}

/* 주문 상품 목록 */
.catalk-order-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalk-order-item-card {
    padding: 12px 0;
    border-bottom: 1px solid #F4F6F8;
}
.catalk-order-item-card:first-child {
    padding-top: 0;
}
.catalk-order-item-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.catalk-order-item-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.catalk-order-item-thumb {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    background: #F8F9FA;
    border: 1px solid #ECEEF2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalk-order-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalk-order-item-details {
    flex: 1;
    min-width: 0;
}

.catalk-order-item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #191F28;
    line-height: 1.35;
    margin-bottom: 4px;
    word-break: break-all;
}

.catalk-order-point-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FFF9E6;
    color: #D97706;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.catalk-order-item-opt {
    font-size: 12px;
    color: #6B7684;
    margin-bottom: 4px;
}

.catalk-order-item-subrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.catalk-order-qty-label {
    font-size: 12.5px;
    color: #8B95A1;
}

.catalk-order-subtotal {
    font-size: 16px;
    font-weight: 800;
    color: #191F28;
}

.catalk-item-cp-btn, .catalk-btn-coupon {
    background: #EEF2FF;
    color: #4F46E5;
    border: 1px solid #E0E7FF;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.catalk-item-cp-btn:hover, .catalk-btn-coupon:hover {
    background: #E0E7FF;
}

/* 입력 필드 공통 */
.catalk-form-row {
    margin-bottom: 14px;
}
.catalk-form-row:last-child {
    margin-bottom: 0;
}

.catalk-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4E5968;
    margin-bottom: 6px;
}
.catalk-form-label .req {
    color: #EF4444;
    font-weight: 700;
}

.catalk-form-input, .catalk-form-select {
    width: 100% !important;
    height: 44px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    border: 1.5px solid #E5E8EB !important;
    font-size: 14.5px !important;
    color: #191F28 !important;
    background: #FFFFFF !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.catalk-form-input:focus, .catalk-form-select:focus {
    border-color: #86D43A !important;
    box-shadow: 0 0 0 3px rgba(254, 229, 0, 0.25) !important;
}

.catalk-form-hint {
    display: block;
    font-size: 11.5px;
    color: #8B95A1;
    margin-top: 5px;
}

.catalk-memo-accordion {
    margin-top: 14px;
    border-top: 1px dashed #E5E8EB;
    padding-top: 12px;
}

.btn-memo-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 12.5px;
    color: #6B7684;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 600;
}

.catalk-form-textarea {
    width: 100% !important;
    height: 72px !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    border: 1.5px solid #E5E8EB !important;
    font-size: 13.5px !important;
    color: #191F28 !important;
    resize: none !important;
    box-sizing: border-box !important;
    outline: none !important;
}
.catalk-form-textarea:focus {
    border-color: #86D43A !important;
    box-shadow: 0 0 0 3px rgba(254, 229, 0, 0.25) !important;
}

/* 쿠폰 카드 */
.catalk-coupon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.catalk-coupon-res {
    font-size: 13px;
    font-weight: 700;
    color: #4F46E5;
}

/* 포인트 카드 */
.catalk-point-card {
    border: 1px solid #BCEB98 !important;
}

.catalk-my-point-pill {
    background: #F3FBEB;
    color: #2D6308;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid #BCEB98;
}

.catalk-point-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.catalk-point-input-box {
    position: relative;
    flex: 1;
}

.catalk-point-input {
    width: 100% !important;
    height: 44px !important;
    padding: 0 32px 0 14px !important;
    border-radius: 10px !important;
    border: 1.5px solid #E5E8EB !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #191F28 !important;
    text-align: right !important;
    box-sizing: border-box !important;
    outline: none !important;
}
.catalk-point-input:focus {
    border-color: #86D43A !important;
    box-shadow: 0 0 0 3px rgba(254, 229, 0, 0.25) !important;
}

.catalk-point-unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 700;
    color: #8B95A1;
}

.catalk-btn-use-all-point {
    height: 44px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    border: none !important;
    background: #371D1E !important;
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    transition: opacity 0.15s ease !important;
}
.catalk-btn-use-all-point:active {
    opacity: 0.85;
}

.catalk-point-desc {
    font-size: 11.5px;
    color: #8B95A1;
    margin-top: 6px;
}

/* 결제 수단 타일 그리드 */
.catalk-pay-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.catalk-pay-tile {
    border: 1.5px solid #E5E8EB;
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
    user-select: none;
}

.catalk-pay-tile input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

.catalk-pay-tile:hover {
    border-color: #CBD5E1;
}

.catalk-pay-tile.active,
.catalk-pay-tile:has(input:checked) {
    border-color: #86D43A !important;
    background: #FFFDE8 !important;
    box-shadow: 0 3px 10px rgba(254, 229, 0, 0.3) !important;
}

.pay-tile-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.pay-tile-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #191F28;
    line-height: 1.2;
}

.catalk-bank-deposit-card {
    margin-top: 12px;
    padding: 14px;
    background: #F8FAFD;
    border-radius: 12px;
    border: 1px solid #E5E8EB;
}

.bank-deposit-head {
    margin-bottom: 12px;
}
.bank-badge {
    background: #EEF2FF;
    color: #4F46E5;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}
.bank-sub {
    font-size: 11.5px;
    color: #6B7684;
    margin-left: 6px;
}
.catalk-bank-single {
    font-size: 13.5px;
    font-weight: 700;
    color: #191F28;
    padding: 10px 12px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E5E8EB;
}

/* 금액 요약 */
.catalk-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 13.5px;
    color: #4E5968;
}

.catalk-sum-row .sum-free {
    color: #10B981;
    font-weight: 700;
}

.catalk-sum-row .minus-val {
    color: #EF4444;
    font-weight: 700;
}

.catalk-sum-divider {
    height: 1px;
    background: #E5E8EB;
    margin: 10px 0;
}

.catalk-final-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
}

.final-price-label {
    font-size: 15px;
    font-weight: 800;
    color: #191F28;
}

.final-price-box {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.final-price-val {
    font-size: 24px;
    font-weight: 900;
    color: #371D1E;
}

.final-price-unit {
    font-size: 15px;
    font-weight: 700;
    color: #191F28;
}

/* 하단 고정 결제 바 (Sticky Bottom Action Bar) */
.catalk-sticky-paybar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    border-top: 1px solid #ECEEF2 !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
    z-index: 1000 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
    box-sizing: border-box !important;
}

.catalk-sticky-paybar #display_pay_button {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    text-align: center !important;
}

.catalk-sticky-paybar #show_req_btn {
    width: 100% !important;
    display: block !important;
}

.catalk-sticky-paybar #show_pay_btn {
    display: none !important;
}

.catalk-sticky-paybar .btn_submit,
.catalk-sticky-paybar input[type="button"].btn_submit {
    width: 100% !important;
    height: 50px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%) !important;
    color: #371D1E !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(254, 229, 0, 0.45) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    box-sizing: border-box !important;
    line-height: normal !important;
}
.catalk-sticky-paybar .btn_submit:active {
    transform: scale(0.98) !important;
}

.catalk-sticky-paybar .btn_cancel {
    display: inline-block !important;
    font-size: 12px !important;
    color: #8B95A1 !important;
    text-decoration: underline !important;
    margin-top: 4px !important;
    background: none !important;
    border: none !important;
    padding: 2px !important;
}

.catalk-pay-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    color: #8B95A1;
    margin: 3px 0 0;
}

/* 로딩 오버레이 */
.catalk-pay-loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.catalk-loading-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: #86D43A;
    border-radius: 50%;
    animation: catalk-spin 0.8s linear infinite;
}

@keyframes catalk-spin {
    to { transform: rotate(360deg); }
}

.catalk-loading-text {
    color: #FFFFFF;
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
    margin-top: 14px;
    line-height: 1.45;
}







/* ==========================================================================
   Catalk Modern Cart UI (.catalk-cart-wrapper)
   ========================================================================== */

/* 장바구니 페이지 진입 시 하단 기본 탭 네비게이션 숨김 (주문 CTA 집중) */
body:has(.catalk-cart-focused-page) .catalk-tail,
.catalk-cart-focused-page ~ .catalk-tail {
    display: none !important;
}

.catalk-cart-wrapper {
    padding: 14px 16px 110px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* 1. 상단 일괄 선택 및 삭제 액션바 */
.catalk-cart-top-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    border: 1px solid #EAEFF5 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.catalk-custom-chk-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    user-select: none !important;
}

.catalk-custom-chk {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

.chk-custom-box {
    width: 20px !important;
    height: 20px !important;
    border-radius: 6px !important;
    border: 1.8px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.18s ease !important;
    box-sizing: border-box !important;
}

.chk-custom-box::after {
    content: "" !important;
    width: 5px !important;
    height: 9px !important;
    border: solid transparent !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    margin-top: -2px !important;
    transition: border-color 0.18s ease !important;
}

.catalk-custom-chk:checked + .chk-custom-box {
    background: #86D43A !important;
    border-color: #86D43A !important;
}

.catalk-custom-chk:checked + .chk-custom-box::after {
    border-color: #371D1E !important;
}

.catalk-cart-top-bar .chk-text {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
}

.catalk-cart-top-bar .chk-count {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748B !important;
}

.catalk-cart-batch-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.btn-cart-batch {
    height: 30px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
}

.btn-cart-batch:hover {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
}

/* 2. 장바구니 상품 카드 */
.catalk-cart-items-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.catalk-cart-card {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 14px !important;
    border: 1px solid #EAEFF5 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.catalk-card-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid #F1F5F9 !important;
}

.card-item-tag {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #D97706 !important;
    background: #F3FBEB !important; border: 1px solid #BCEB98 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
}

.btn-card-del {
    background: none !important;
    border: none !important;
    padding: 4px !important;
    color: #94A3B8 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: color 0.15s ease, background 0.15s ease !important;
}

.btn-card-del:hover {
    color: #EF4444 !important;
    background: #FEE2E2 !important;
}

.catalk-card-body {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
}

.catalk-cart-thumb {
    width: 80px !important;
    height: 80px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #F8FAFC !important;
    border: 1px solid #F1F5F9 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.catalk-cart-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.catalk-cart-details {
    flex: 1 !important;
    min-width: 0 !important;
}

.catalk-cart-item-title {
    display: block !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    line-height: 1.38 !important;
    text-decoration: none !important;
    margin-bottom: 6px !important;
    word-break: break-all !important;
}

.catalk-cart-item-options {
    font-size: 12px !important;
    color: #64748B !important;
    background: #F8FAFC !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    margin-bottom: 6px !important;
    border: 1px solid #F1F5F9 !important;
    line-height: 1.4 !important;
}

.catalk-cart-point-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #D97706 !important;
    background: #FFFBEB !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #FDE68A !important;
}

.catalk-card-foot {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 12px !important;
    padding-top: 10px !important;
    border-top: 1px dashed #F1F5F9 !important;
}

.catalk-card-qty-box {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.qty-text {
    font-size: 13px !important;
    color: #475569 !important;
}

.btn-mod-options {
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    color: #475569 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.catalk-card-price-box .price-val {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #1E293B !important;
}

/* 3. 주문 금액 요약 카드 */
.catalk-cart-summary-card {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    margin-top: 14px !important;
    border: 1px solid #EAEFF5 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

.summary-card-title {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #1E293B !important;
    margin: 0 0 12px !important;
}

.summary-line {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13.5px !important;
    color: #64748B !important;
    margin-bottom: 8px !important;
}

.summary-line .summary-value {
    font-weight: 600 !important;
    color: #1E293B !important;
}

.summary-line .summary-value.is-free {
    color: #10B981 !important;
    font-weight: 700 !important;
}

.summary-line.point-line .point-val {
    color: #D97706 !important;
    font-weight: 700 !important;
}

.summary-hr {
    height: 1px !important;
    background: #F1F5F9 !important;
    margin: 12px 0 !important;
}

.summary-line.total-line {
    margin-bottom: 0 !important;
}

.total-label {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #1E293B !important;
}

.total-val {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #371D1E !important;
}

/* 4. 하단 고정 결제 바 (.catalk-sticky-cartbar) */
.catalk-sticky-cartbar {
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 480px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid #EAEFF5 !important;
    padding: 10px 16px env(safe-area-inset-bottom, 10px) !important;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.05) !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
}

.sticky-cartbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.sticky-cart-summary {
    display: flex !important;
    flex-direction: column !important;
}

.sticky-qty-line {
    font-size: 12px !important;
    color: #64748B !important;
}

.sticky-total-line {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #1E293B !important;
}

.btn-sticky-buy {
    height: 48px !important;
    padding: 0 24px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%) !important;
    color: #371D1E !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(254, 229, 0, 0.4) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    flex-shrink: 0 !important;
}

.btn-sticky-buy:active {
    transform: scale(0.98) !important;
}

/* 5. 빈 장바구니 화면 (Empty State) */
.catalk-cart-empty {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 60px 20px !important;
    text-align: center !important;
    border: 1px solid #EAEFF5 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
    margin: 20px 0 !important;
}

.empty-icon-circle {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    background: #F8FAFC !important;
    border: 1px solid #F1F5F9 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 18px !important;
}

.empty-headline {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1E293B !important;
    margin: 0 0 6px !important;
}

.empty-subtext {
    font-size: 13.5px !important;
    color: #64748B !important;
    margin: 0 0 24px !important;
}

.btn-go-shopping {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 46px !important;
    padding: 0 22px !important;
    background: linear-gradient(135deg, #95DC4B 0%, #72BD2E 100%) !important;
    color: #371D1E !important;
    border-radius: 12px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(254, 229, 0, 0.4) !important;
    transition: transform 0.15s ease !important;
}

.btn-go-shopping:active {
    transform: scale(0.98) !important;
}

/* 6. 옵션 수정 모달 오버레이 */
.mod_option_bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 9998 !important;
}

.catalk-mod-option-modal {
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 480px !important;
    background: #FFFFFF !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 20px 20px 30px !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}


/* ==========================================================================
   Catalk Modern Wishlist UI (.catalk-wish-wrapper)
   ========================================================================== */

/* 위시리스트 페이지 진입 시 하단 글로벌 탭 숨김 (CTA 바 포커스) */
body:has(.catalk-wish-wrapper) .catalk-tail,
.catalk-wish-wrapper ~ .catalk-tail {
    display: none !important;
}

.catalk-wish-wrapper {
    padding: 14px 16px 110px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.catalk-wish-card {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 14px !important;
    border: 1px solid #EAEFF5 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease !important;
}

.catalk-wish-card.is-soldout {
    opacity: 0.65 !important;
    background: #F8FAFC !important;
}

.wish-date-pill {
    font-size: 11px !important;
    color: #94A3B8 !important;
    font-weight: 500 !important;
    background: #F1F5F9 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    display: inline-block !important;
}

.card-item-tag.is-soldout {
    color: #EF4444 !important;
    background: #FEE2E2 !important;
}

.card-item-tag.is-option {
    color: #2563EB !important;
    background: #EFF6FF !important;
}

.sticky-actions-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-sticky-cart {
    height: 48px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    background: #F1F5F9 !important;
    color: #1E293B !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    border: 1px solid #E2E8F0 !important;
    cursor: pointer !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.btn-sticky-cart:hover {
    background: #E2E8F0 !important;
}

.btn-sticky-cart:active {
    transform: scale(0.98) !important;
}

.catalk-wish-empty {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 60px 20px !important;
    text-align: center !important;
    border: 1px solid #EAEFF5 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
    margin: 20px 0 !important;
}


/* ==========================================================================
   Catalk Modern Shop Footer (.catalk-shop-footer)
   ========================================================================== */
.catalk-shop-footer {
    display: block !important;
    background: #F8FAFC !important;
    border-top: 1px solid #E2E8F0 !important;
    padding: 24px 18px 40px !important;
    margin: 32px -14px -75px !important;
    width: calc(100% + 28px) !important;
    font-size: 12px !important;
    color: #64748B !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 10 !important;
}

/* 탭바나 스티키 액션바가 있는 페이지에서의 하단 안전 패딩 */
.catalk-shop-footer.has-tail-nav {
    padding-bottom: 96px !important;
}

.catalk-shop-footer.has-sticky-bar {
    padding-bottom: 120px !important;
}

/* 1. CS 고객센터 카드 */
.footer-cs-card {
    background: #FFFFFF !important;
    border: 1px solid #EAEFF5 !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.cs-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 6px !important;
}

.cs-card-title {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #1E293B !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.cs-card-badge {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #16A34A !important;
    background: #DCFCE7 !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.cs-card-badge::before {
    content: "" !important;
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #16A34A !important;
    display: inline-block !important;
}

.cs-phone {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #1E293B !important;
    margin-bottom: 4px !important;
    display: block !important;
    text-decoration: none !important;
    letter-spacing: -0.3px !important;
}

.cs-hours {
    font-size: 11px !important;
    color: #94A3B8 !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
}

.cs-btn-chat {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    height: 38px !important;
    background: #F1F5F9 !important;
    color: #334155 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
    box-sizing: border-box !important;
}

.cs-btn-chat:hover {
    background: #E2E8F0 !important;
}

.cs-btn-chat:active {
    background: #CBD5E1 !important;
    transform: scale(0.99) !important;
}

/* 2. 정책 / 약관 링크 바 */
.footer-policy-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px 10px !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.footer-policy-link {
    font-size: 11.5px !important;
    color: #64748B !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.footer-policy-link:hover {
    color: #1E293B !important;
}

.footer-policy-link.is-bold {
    font-weight: 800 !important;
    color: #1E293B !important;
}

.footer-policy-divider {
    color: #CBD5E1 !important;
    font-size: 10px !important;
    user-select: none !important;
}

/* 3. 사업자 정보 아코디언 */
.footer-biz-wrap {
    margin-bottom: 14px !important;
}

.footer-biz-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 6px 0 !important;
    background: none !important;
    border: none !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    cursor: pointer !important;
    text-align: left !important;
}

.footer-biz-toggle .toggle-icon {
    font-size: 10px !important;
    transition: transform 0.2s ease !important;
    color: #94A3B8 !important;
}

.footer-biz-toggle.active .toggle-icon {
    transform: rotate(180deg) !important;
}

.footer-biz-content {
    font-size: 11px !important;
    color: #94A3B8 !important;
    line-height: 1.65 !important;
    padding-top: 6px !important;
    display: none;
}

.footer-biz-content p {
    margin: 0 0 3px !important;
}

.footer-biz-content strong {
    color: #64748B !important;
    font-weight: 600 !important;
}

.biz-info-btn {
    display: inline-block !important;
    font-size: 10.5px !important;
    color: #3B82F6 !important;
    text-decoration: none !important;
    margin-left: 4px !important;
    font-weight: 600 !important;
}

.biz-info-btn:hover {
    text-decoration: underline !important;
}

/* 4. 에스크로 구매안전 배지 */
.footer-escrow-badge {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    font-size: 10.5px !important;
    color: #64748B !important;
    line-height: 1.45 !important;
}

.footer-escrow-badge svg {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    color: #3B82F6 !important;
}

/* 5. 저작권 */
.footer-copyright {
    font-size: 10.5px !important;
    color: #94A3B8 !important;
    text-align: center !important;
    margin-top: 10px !important;
    line-height: 1.5 !important;
}

.footer-copyright p {
    margin: 0 0 2px !important;
}

.footer-copyright .disclaimer-text {
    font-size: 9.5px !important;
    color: #A0AEC0 !important;
}


/* ============================================================ */
/* Whetalk Modern Content & Policy Pages (이용약관 / 개인정보처리방침) */
/* ============================================================ */
.catalk-policy-container {
    padding: 4px 0 20px !important;
}

/* 1. 상단 세그먼트 탭 전환 바 */
.catalk-policy-tab-bar {
    display: flex !important;
    gap: 6px !important;
    background: #F1F5F9 !important;
    padding: 4px !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
}

.policy-tab-item {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #64748B !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.policy-tab-item:hover {
    color: #1E293B !important;
}

.policy-tab-item.is-active {
    background: #FFFFFF !important;
    color: #1E293B !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

.policy-tab-item.is-active svg {
    color: #F59E0B !important;
}

/* 2. 상단 히어로 배너 카드 (shop/index.php 배너 스타일 완벽 일체화) */
.catalk-policy-hero-card {
    background: linear-gradient(135deg, #F3FBEB 0%, #DEF5C8 100%) !important;
    border: 1px solid #BCEB98 !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

.policy-hero-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 6px !important;
}

.policy-hero-badge {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #795700 !important;
    background: #FFFFFF !important;
    padding: 3px 9px !important;
    border-radius: 10px !important;
    border: 1px solid #BCEB98 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.policy-hero-sub {
    font-size: 11px !important;
    color: #8A6500 !important;
    font-weight: 600 !important;
}

.policy-hero-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #371D1E !important;
    margin-bottom: 3px !important;
    letter-spacing: -0.3px !important;
}

.policy-hero-desc {
    font-size: 12.5px !important;
    color: #6C5200 !important;
    line-height: 1.5 !important;
}

/* 3. 메인 정책 문서 카드 */
.catalk-policy-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 20px 18px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.policy-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 14px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #F1F5F9 !important;
}

.policy-meta-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.policy-status-pill {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #059669 !important;
    background: #ECFDF5 !important;
    border: 1px solid #A7F3D0 !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
}

.policy-date-label {
    font-size: 12px !important;
    color: #94A3B8 !important;
    font-weight: 500 !important;
}

.policy-admin-edit-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #64748B !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    padding: 4px 9px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.policy-admin-edit-btn:hover {
    color: #1E293B !important;
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
}

/* 4. 정책 본문 타이포그래피 */
.catalk-policy-content-body {
    font-size: 13.5px !important;
    line-height: 1.85 !important;
    color: #334155 !important;
    word-break: break-all !important;
}

.catalk-policy-content-body p {
    margin: 0 0 12px 0 !important;
}

.catalk-policy-content-body h1,
.catalk-policy-content-body h2,
.catalk-policy-content-body h3,
.catalk-policy-content-body h4 {
    color: #0F172A !important;
    font-weight: 700 !important;
    margin-top: 22px !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}

.catalk-policy-content-body h2 {
    font-size: 15px !important;
    padding-left: 8px !important;
    border-left: 3px solid #F59E0B !important;
}

.catalk-policy-content-body h3 {
    font-size: 14px !important;
}

.catalk-policy-content-body table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 14px 0 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.catalk-policy-content-body th,
.catalk-policy-content-body td {
    border: 1px solid #E2E8F0 !important;
    padding: 8px 10px !important;
    text-align: left !important;
}

.catalk-policy-content-body th {
    background: #F8FAFC !important;
    color: #1E293B !important;
    font-weight: 600 !important;
}

.catalk-policy-content-body ul,
.catalk-policy-content-body ol {
    padding-left: 20px !important;
    margin: 8px 0 14px !important;
}

.catalk-policy-content-body li {
    margin-bottom: 4px !important;
}

.catalk-policy-content-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
}
