/* Korea1700 Premium Shopping Mall Design */
/* Font: Pretendard is loaded in head.sub.php */

:root {
    /* Conran Style Palette (Migrated) */
    --conran-blue: #00add8;
    --conran-dark: #2c3e50;
    --conran-black: #1a1a1a;
    --conran-gray-bg: #f9f9f9;
    --conran-border: #e0e0e0;
    --conran-font: 'Pretendard', 'Malgun Gothic', sans-serif;
    --container-width: 1280px;
    /* Aligned with premium max-width */

    /* Premium Theme Palette */
    --primary-color: #ef4444;
    /* Vivid Red */
    --primary-dark: #dc2626;
    --secondary-color: #1e40af;
    /* Deep Blue */
    --secondary-dark: #1e3a8a;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --max-width: 1280px;
    /* Increased to match Conran */
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Layout Override
   ========================================================================== */
#aside {
    display: none;
}

#container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.shop-content.is_index {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 37.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 1.25rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 56.25rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #cbd5e1;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-hero {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 3.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0.625rem 1.25rem rgba(239, 68, 68, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-0.1875rem);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(0.625rem);
}

.btn-outline:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-0.1875rem);
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section-spacing {
    padding: 6rem 0;
}

.bg-light {
    background: var(--bg-light);
}

/* Service Features Strip */
.service-features {
    padding: 1.5rem 0;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.feature-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item .icon-box {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-item .text-box h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #0f172a;
}

.feature-item .text-box p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

/* Specific Colors */
.icon-box.blue {
    background: #eff6ff;
    color: #1e40af;
}

.icon-box.red {
    background: #fff1f2;
    color: #ef4444;
}

.icon-box.green {
    background: #f0fdf4;
    color: #10b981;
}

.icon-box.orange {
    background: #fff7ed;
    color: #f59e0b;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3.75rem;
    height: 0.3125rem;
    background: var(--primary-color);
    border-radius: 0.1875rem;
}

.inner-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   Category / Services Grid
   ========================================================================== */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-0.625rem);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Product Grid (Clean)
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5625rem;
}

.prod-item {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.prod-item:hover {
    box-shadow: 0 0.9375rem 1.875rem rgba(0, 0, 0, 0.1);
    transform: translateY(-0.3125rem);
}

.prod-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #f1f5f9;
}

.prod-info {
    padding: 1.5rem;
}

.prod-cat {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.prod-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.prod-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 64rem) {

    .grid-4,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 48rem) {

    .grid-4,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Member / Auth Pages (Login, Register)
   ========================================================================== */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 2.5rem 1.25rem;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 31.25rem;
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.875rem;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.625rem;
}

.auth-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.auth-form .form-input {
    width: 100%;
    height: 3.125rem;
    padding: 0 0.9375rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.625rem;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.auth-form .form-input:focus {
    background: white;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.1875rem rgba(30, 64, 175, 0.1);
    outline: none;
}

.btn-auth-submit {
    width: 100%;
    height: 3.4375rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0.625rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.625rem;
}

.btn-auth-submit:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0.625rem 1.25rem rgba(30, 64, 175, 0.2);
}

.auth-links {
    margin-top: 1.5625rem;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.auth-links a {
    color: #64748b;
    text-decoration: none;
}

.auth-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Register Terms Box */
.term-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.9375rem;
    height: 9.375rem;
    overflow-y: auto;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.625rem;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

/* Register Form Specific */
.register-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.625rem;
    margin: 1.875rem 0 1.25rem;
}

/* 1. Content Safety */
.detail-content {
    line-height: 1.8;
    color: #334155;
    font-size: 1.05rem;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.25rem auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
}

.detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
}

.detail-content table td,
.detail-content table th {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
}

/* 2. Option Selectors */
.sit_option select {
    width: 100%;
    height: 3.125rem;
    padding: 0 0.9375rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #334155;
    background-color: white;
    margin-bottom: 0.625rem;
    transition: all 0.2s;
}

.sit_option select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.1875rem rgba(30, 64, 175, 0.1);
    outline: none;
}

/* 3. Selected Options List */
#sit_sel_option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-top: 1.25rem;
}

.sit_opt_list {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.9375rem;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.sit_opt_subj {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    width: 100%;
    display: block;
    margin-bottom: 0.3125rem;
}

.opt_count {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    overflow: hidden;
}

.sit_qty_minus,
.sit_qty_plus {
    width: 2rem;
    height: 2rem;
    border: none;
    background: #f1f5f9;
    cursor: pointer;
    color: #64748b;
}

.sit_qty_minus:hover,
.sit_qty_plus:hover {
    background: #e2e8f0;
}

.num_input {
    width: 2.5rem;
    height: 2rem;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-weight: 600;
}

.sit_opt_prc {
    font-weight: 700;
    color: var(--primary-color);
    margin-left: auto;
}

/* 4. Total Price */
#sit_tot_price {
    font-size: 1.25rem;
    text-align: right;
    margin: 1.25rem 0;
    padding-top: 1.25rem;
    border-top: 2px solid #e2e8f0;
    color: #0f172a;
}

#sit_tot_price strong {
    font-size: 1.75rem;
    color: var(--primary-color);
}

/* 5. Tab Content Fixes */
.tab-pane-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.tab-pane-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
    font-weight: 800;
}

.tab-pane-header p {
    color: #64748b;
}

/* ?ъ씠?쒕컮 ?꾩쟾 ?쒓굅 */
#aside {
    display: none;
}

/* 而⑦뀒?대꼫 fullwidth */
#container {
    width: 100%;
    max-width: var(--k1700-content-width);
    padding: 0;
}

/* 硫붿씤 肄섑뀗痢??곸뿭 fullwidth - 17.8125rem left margin ?쒓굅 */
.shop-content.is_index {
    width: 100%;
    max-width: 100%;
    position: static;
    margin-left: 0;
}

/* ==========================================================================
   Premium Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 31.25rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 2rem;
    margin: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 56.25rem;
    padding: 0 2rem;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.4);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 1.125rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.15);
}

.hero-cta .btn-primary {
    background: #ef4444;
    color: white;
    border: 2px solid #ef4444;
}

.hero-cta .btn-primary:hover {
    background: #dc2626;
    transform: translateY(-0.25rem);
    box-shadow: 0 1.25rem 1.875rem rgba(239, 68, 68, 0.4);
}

.hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(0.75rem);
    -webkit-backdrop-filter: blur(0.75rem);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero-cta .btn-outline:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-0.25rem);
    box-shadow: 0 1.25rem 1.875rem rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Section Styling
   ========================================================================== */
.section-spacing {
    padding: 6rem 2rem;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: #0f172a;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.3125rem;
    background: linear-gradient(90deg, #1e40af 0%, #ef4444 100%);
    border-radius: 0.1875rem;
}

/* ==========================================================================
   Premium Category Grid
   ========================================================================== */
.category-quick-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    width: 100%;
    margin: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 75rem;
    margin: 0 auto;
}

.category-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 3.5rem 2.5rem;
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.3125rem;
    background: linear-gradient(90deg, #1e40af 0%, #ef4444 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-0.75rem);
    box-shadow: 0 1.5625rem 3.125rem rgba(30, 64, 175, 0.15);
    border-color: #1e40af;
}

.category-icon {
    display: inline-block;
    padding: 1.25rem;
    background: #eff6ff;
    color: #1e40af;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: #1e40af;
    color: white;
    transform: rotateY(180deg);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
}

.category-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Special Card "Inquiry" */
.category-card.special-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #94a3b8;
}

.category-card.special-card:hover {
    background: white;
    border-color: #334155;
    transform: translateY(-0.5rem);
}

/* ==========================================================================
   Design Studio Section
   ========================================================================== */
.studio-section {
    position: relative;
    background: #1e40af;
    color: white;
    overflow: hidden;
    padding: 8rem 0;
}

.studio-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 37.5rem;
    height: 37.5rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.studio-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.studio-text {
    flex: 1;
}

.studio-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.studio-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 31.25rem;
}

.studio-image {
    flex: 1;
    position: relative;
}

.studio-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 1.5625rem 3.125rem rgba(0, 0, 0, 0.3);
    transform: perspective(62.5rem) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.studio-image:hover img {
    transform: perspective(62.5rem) rotateY(0deg);
}

/* ==========================================================================
   Premium Product Card (for main.10.skin.php)
   ========================================================================== */
.premium-product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-product-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.pp-img-wrap {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f1f5f9;
}

.pp-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-product-card:hover .pp-img-wrap img {
    transform: scale(1.05);
}

/* Badges */
.pp-badge-group {
    position: absolute;
    top: 0.9375rem;
    left: 0.9375rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    z-index: 2;
}

.pp-badge {
    padding: 0.25rem 0.625rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 0.25rem rgba(0, 0, 0, 0.1);
}

.pp-badge.hit {
    background: #ef4444;
    color: white;
}

.pp-badge.new {
    background: #1e40af;
    color: white;
}

.pp-badge.best {
    background: #f59e0b;
    color: white;
}

.pp-badge.sale {
    background: #10b981;
    color: white;
}

.pp-badge.soldout {
    background: #334155;
    color: white;
}

.pp-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pp-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.pp-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.pp-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e40af;
}

.pp-strike {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 0.5rem;
    font-weight: 400;
}

.pp-cart-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.premium-product-card:hover .pp-cart-btn {
    background: #1e40af;
    color: white;
}

/* Responsive Tweaks */
@media (max-width: 64rem) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.25rem;
    }

    .studio-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1.25rem;
    }

    .studio-text p {
        margin: 0 auto 2rem;
    }
}

@media (max-width: 48rem) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .studio-text h2 {
        font-size: 2rem;
    }
}



.category-card:hover .category-icon {
    transform: scale(1.15) rotateY(10deg);
    filter: grayscale(0);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.category-card p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 75rem) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 48rem) {
    .hero-section {
        min-height: 25rem;
        padding: 5rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-spacing {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card {
        padding: 2.5rem 2rem;
    }
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 56.25rem;
    padding: 0 2rem;
    position: relative;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
}

.hero-cta .btn-primary {
    background: #ef4444;
    color: white;
    border: 2px solid #ef4444;
}

.hero-cta .btn-primary:hover {
    background: #dc2626;
    transform: translateY(-0.1875rem);
    box-shadow: 0 1.25rem 1.5625rem rgba(0, 0, 0, 0.15);
}

.hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(0.625rem);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-cta .btn-outline:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-0.1875rem);
}

/* Section Styling */
.section-spacing {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: #0f172a;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3.75rem;
    height: 0.25rem;
    background: linear-gradient(90deg, #1e40af 0%, #ef4444 100%);
    border-radius: 2px;
}

/* Category Grid */
.category-quick-section {
    background: #f8fafc;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: linear-gradient(90deg, #1e40af 0%, #ef4444 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-0.625rem);
    box-shadow: 0 1.25rem 1.5625rem rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.category-card p {
    font-size: 0.875rem;
    color: #475569;
    margin: 0;
}

/* Responsive */
@media (max-width: 62rem) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section {
        min-height: 25rem;
        padding: 5rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 48rem) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* ==========================================================================
   Premium Header Styles
   ========================================================================== */

/* 0. Common */
.inner-container {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    height: 100%;
    position: relative;
    padding: 0 0.9375rem;
    /* Add padding to prevent edge sticking */
    box-sizing: border-box;
}

.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 1. Utility Header */
.header-top {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    height: 2.5rem;
    line-height: 2.5rem;
}

.header-utils {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-utils li a {
    font-size: 0.8125rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.header-utils li a:hover {
    color: #1e40af;
}

.badge {
    background: #ef4444;
    color: white;
    font-size: 0.6875rem;
    padding: 2px 0.375rem;
    border-radius: 0.625rem;
    margin-left: 0.25rem;
}

/* 2. Main Header */
.header-main {
    background: white;
    height: 6.25rem;
    padding: 1.25rem 0;
}

.logo img {
    height: 3.125rem;
    width: auto;
}

.search-bar {
    flex: 1;
    max-width: 37.5rem;
    margin: 0 2.5rem;
}

.search-bar form {
    position: relative;
    display: block;
}

.search-bar input {
    width: 100%;
    height: 3.125rem;
    border: 2px solid #1e40af;
    border-radius: 1.5625rem;
    padding: 0 3.75rem 0 1.5rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-bar input:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(30, 64, 175, 0.1);
}

.search-bar button {
    position: absolute;
    right: 0.375rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: #1e40af;
    color: white;
    border-radius: 50%;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #1e3a8a;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 1.25rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-size: 0.75rem;
    color: #64748b;
}

.contact-info .phone {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
}

/* 3. GNB Header */
.header-gnb {
    background: #1e40af;
    height: 3.3125rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header-gnb .inner-container {
    display: flex;
    align-items: center;
}

.all-menu button {
    background: #1e3a8a;
    height: 3.3125rem;
    padding: 0 1.875rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.gnb-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 1.25rem;
    height: 100%;
}

.gnb-menu li {
    height: 100%;
}

.gnb-menu li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
}

.gnb-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.gnb-menu li.highlight a {
    background: #ef4444;
    color: white;
    font-weight: 700;
}

.gnb-menu li.highlight a:hover {
    background: #dc2626;
}



/* Updated Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 75rem;
    margin: 0 auto;
}

.category-card {
    padding: 2.5rem 1.5rem;
}

.category-card.special-card:hover {
    background: white;
    border-color: #64748b;
}

.hero-title {
    font-family: 'Pretendard', sans-serif;
    line-height: 1.3;
}

.hero-subtitle {
    font-family: 'Pretendard', sans-serif;
}

/* ==========================================================================
   Product Detail Tabs
   ========================================================================== */
.product-tabs-wrapper {
    background: white;
    margin-top: 3.75rem;
    border-top: 1px solid #e2e8f0;
}

.tab-nav-sticky-wrapper {
    background: white;
    width: 100%;
    z-index: 50;
    border-bottom: 2px solid #e2e8f0;
}

.tab-nav-sticky-wrapper.stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0.25rem 0.375rem -1px rgba(0, 0, 0, 0.1);
}

.tab-nav-sticky-wrapper.stuck .tab-nav {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.tab-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.tab-nav li {
    flex: 1;
    text-align: center;
}

.tab-nav li a {
    display: block;
    padding: 1.125rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    border-bottom: 0.1875rem solid transparent;
    transition: all 0.2s;
    position: relative;
    top: 2px;
    /* Pull down to overlap border */
}

.tab-nav li a:hover {
    color: #1e40af;
    background: #f8fafc;
}

.tab-nav li.active a {
    color: #1e40af;
    font-weight: 700;
    border-bottom-color: #1e40af;
    background: white;
}

.tab-nav li a .count {
    font-size: 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 0.5rem;
    border-radius: 0.75rem;
    margin-left: 0.375rem;
}

.tab-nav li.active a .count {
    background: #eff6ff;
    color: #1e40af;
}

/* Tab Content */
.tab-content-container {
    padding: 3.75rem 0;
    min-height: 31.25rem;
}

.tab-pane {
    margin-bottom: 5rem;
    scroll-margin-top: 6.25rem;
}

.tab-pane-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.tab-pane-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.625rem;
}

.tab-pane-header p {
    color: #64748b;
    margin: 0;
}

.detail-content {
    line-height: 1.8;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Delivery Info Box */
.delivery-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.info-group h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-group h4::before {
    content: '';
    display: block;
    width: 0.25rem;
    height: 1rem;
    background: #1e40af;
    border-radius: 2px;
}

.info-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-group li {
    margin-bottom: 0.625rem;
    color: #475569;
    font-size: 0.875rem;
    padding-left: 0.75rem;
    position: relative;
    line-height: 1.6;
}

.info-group li::before {
    content: '';
    position: absolute;
    left: 0;
    color: #94a3b8;
}

@media (max-width: 48rem) {
    .delivery-info-box {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1.875rem;
    }

    .tab-nav li a {
        font-size: 0.875rem;
        padding: 0.875rem 0;
    }
}

/* ==========================================================================
   Premium Board Styles (List Skin)
   ========================================================================== */

/* Board Container */
#bo_list {
    margin-top: 1.25rem;
    font-family: 'Pretendard', sans-serif;
}

/* Category Nav */
#bo_cate {
    margin-bottom: 1.25rem;
}

#bo_cate_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    padding: 0;
    list-style: none;
}

#bo_cate_ul li {
    display: inline-block;
}

#bo_cate_ul a {
    display: block;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 1.25rem;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.875rem;
}

#bo_cate_ul a:hover,
#bo_cate_ul .bo_cate_on {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Top Buttons & Total Count */
#bo_btn_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9375rem;
}

#bo_list_total {
    font-size: 0.875rem;
    color: #666;
}

.btn_bo_user li {
    display: inline-block;
    margin-left: 0.3125rem;
}

.btn_b01 {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    padding: 0.5rem 0.875rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn_b01:hover {
    background: #f1f1f1;
    border-color: #ccc;
}

/* Premium Table Style */
.premium-board-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
}

.premium-board-table th {
    padding: 0.9375rem 0.625rem;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    color: #333;
    font-size: 0.875rem;
    text-align: center;
}

.premium-board-table td {
    padding: 0.9375rem 0.625rem;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.875rem;
    text-align: center;
}

.premium-board-table tr:hover td {
    background-color: #fafafa;
}

/* Specific Columns */
.premium-board-table .td_num2 {
    color: #888;
    width: 3.75rem;
}

.premium-board-table .td_subject {
    text-align: left;
}

.premium-board-table .td_subject a {
    color: #333;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.2s;
}

.premium-board-table .td_subject a:hover {
    color: #e53935;
    text-decoration: underline;
}

.premium-board-table .bo_notice {
    background-color: #fdfdfd;
}

.premium-board-table .notice_icon {
    display: inline-block;
    padding: 2px 0.375rem;
    background: #eee;
    color: #555;
    border-radius: 0.1875rem;
    font-size: 0.6875rem;
    font-weight: normal;
}

.premium-board-table .bo_tit {
    display: block;
    line-height: 1.4;
}

.premium-board-table .bo_cate_link {
    display: inline-block;
    margin-right: 0.3125rem;
    color: #e53935;
    font-size: 0.8125rem;
    font-weight: 600;
}

.premium-board-table .cnt_cmt {
    display: inline-block;
    margin-left: 0.3125rem;
    color: #e53935;
    font-weight: bold;
    font-size: 0.75rem;
}

.premium-board-table .new_icon {
    color: #e53935;
    font-size: 0.625rem;
    vertical-align: super;
}

/* Mobile Responsiveness */
@media (max-width: 48rem) {

    .premium-board-table th,
    .premium-board-table td {
        display: none;
        /* Hide all by default */
    }

    .premium-board-table th.td_subject_head,
    /* Need to add this class in HTML */
    .premium-board-table td.td_subject {
        display: table-cell;
        width: 100%;
        padding: 0.9375rem 0.3125rem;
    }

    .premium-board-table td.td_subject .bo_tit {
        font-size: 1rem;
        margin-bottom: 0.3125rem;
    }

    .premium-board-table td.td_subject .mobile_meta {
        display: block;
        font-size: 0.75rem;
        color: #999;
        margin-top: 0.3125rem;
    }

    .premium-board-table .td_chk {
        /* Checkbox if needed */
        display: table-cell;
        width: 1.875rem;
    }
}

/* ==========================================================================
   Product Detail Page (Premium)
   ========================================================================== */

.product-detail-wrapper {
    max-width: 75rem;
    margin: 2.5rem auto;
    padding: 0 1.25rem;
    position: relative;
    font-family: 'Pretendard', sans-serif;
}

.product-detail-grid {
    display: flex;
    gap: 3.125rem;
    align-items: flex-start;
}

/* Left: Gallery */
.product-gallery {
    width: 37.5rem;
    /* Fixed width for gallery */
    flex-shrink: 0;
}

#sit_pvi_big {
    margin-bottom: 1.25rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.05);
}

#sit_pvi_big img {
    width: 100%;
    display: block;
}

#sit_pvi_thumb {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}

#sit_pvi_thumb li {
    width: 5rem;
    height: 5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

#sit_pvi_thumb li:hover,
#sit_pvi_thumb li.active {
    border-color: #1e40af;
}

#sit_pvi_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Right: Sticky Info Panel */
.product-info-panel {
    flex-grow: 1;
    position: sticky;
    top: 6.25rem;
    /* Header height + buffer */
    align-self: flex-start;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.9375rem;
    line-height: 1.3;
}

.product-desc {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.875rem;
    line-height: 1.6;
}

/* Meta Data Table */
.product-meta-table {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 0;
    margin-bottom: 1.875rem;
}

.meta-row {
    display: flex;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-row .label {
    width: 6.25rem;
    color: #64748b;
    font-weight: 500;
}

.meta-row .value {
    color: #334155;
    flex-grow: 1;
}

/* Option Sections */
.sit_option {
    margin-bottom: 1.5625rem;
}

.sit_option h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: #0f172a;
}

/* Price Display */
.price-display-group {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.875rem;
}

.price-display-group label {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
}

.price-display-group .sell-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ef4444;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.9375rem;
    margin-top: 1.875rem;
}

.btn-cart,
.btn-buy,
.btn-soldout,
.btn-design {
    flex: 1;
    height: 3.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cart {
    background: white;
    border: 2px solid #e2e8f0;
    color: #334155;
}

.btn-cart:hover {
    border-color: #334155;
    background: #f8fafc;
}

.btn-buy {
    background: linear-gradient(135deg, #1e40af 0%, #172554 100%);
    color: white;
    box-shadow: 0 0.625rem 1.25rem rgba(30, 64, 175, 0.2);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.9375rem 1.875rem rgba(30, 64, 175, 0.3);
}

.btn-soldout {
    background: #cbd5e1;
    color: white;
    cursor: not-allowed;
}

.btn-design {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 0.625rem 1.25rem rgba(239, 68, 68, 0.2);
}

.btn-design:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.9375rem 1.875rem rgba(239, 68, 68, 0.3);
}

/* Mobile Responsive */
@media (max-width: 64rem) {
    .product-detail-grid {
        flex-direction: column;
        gap: 1.875rem;
    }

    .product-gallery {
        width: 100%;
        max-width: 37.5rem;
        margin: 0 auto;
    }

    .product-info-panel {
        position: static;
        width: 100%;
    }

    .sticky-container {
        position: static;
    }

    .action-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0.9375rem 1.25rem;
        background: white;
        border-top: 1px solid #e2e8f0;
        z-index: 100;
        margin: 0;
        box-shadow: 0 -0.3125rem 1.25rem rgba(0, 0, 0, 0.1);
    }

    .product-detail-wrapper {
        margin-bottom: 6.25rem;
        /* Space for fixed buttons */
    }
}

/* ==========================================================================
   Design Choice Buttons (Item Page)
   ========================================================================== */
.design-choice-section {
    margin-bottom: 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.design-choice-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.design-choice-section h3::before {
    content: '';
    display: block;
    width: 0.25rem;
    height: 1rem;
    background: #1e40af;
    border-radius: 2px;
}

.design-buttons {
    display: flex;
    gap: 0.9375rem;
}

.btn-design {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.625rem;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    background: white;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.btn-design i {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
}

.btn-design span {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #334155;
}

.btn-design small {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Self Design Button */
.btn-design.self {
    border-color: #e2e8f0;
}

.btn-design.self i {
    color: #3b82f6;
}

.btn-design.self:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-0.25rem);
    box-shadow: 0 0.625rem 0.9375rem rgba(59, 130, 246, 0.1);
}

.btn-design.self:hover span {
    color: #1e40af;
}

/* AI Design Button */
.btn-design.ai {
    background: linear-gradient(145deg, #ffffff 0%, #fefce8 100%);
    border-color: #fef08a;
    position: relative;
    overflow: hidden;
}

.btn-design.ai i {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-design.ai:hover {
    border-color: #f59e0b;
    background: #fffbeb;
    transform: translateY(-0.25rem);
    box-shadow: 0 0.625rem 0.9375rem rgba(245, 158, 11, 0.1);
}

.btn-design.ai:hover span {
    color: #b45309;
}

/* Badge for AI */
.btn-design.ai::after {
    content: 'BETA';
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    font-size: 0.625rem;
    font-weight: 800;
    color: #d97706;
    background: #fef3c7;
    padding: 2px 0.375rem;
    border-radius: 0.25rem;
}

/* ==========================================================================
   Order Page Renewal (orderform.sub.php)
   ========================================================================== */

.order-premium-wrapper {
    max-width: 75rem;
    margin: 3.125rem auto;
    padding: 0 1.25rem;
    font-family: 'Pretendard', sans-serif;
}

.order-title {
    border-bottom: 2px solid #1e293b;
    padding-bottom: 1.25rem;
    margin-bottom: 2.5rem;
}

.order-title h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.order-title h2 span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    top: -0.3125rem;
}

.order-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    max-width: var(--max-width);
    margin: 0 auto;
}

.order-main-section {
    flex: 1;
    min-width: 0;
}

.order-sidebar {
    width: 25rem;
    flex-shrink: 0;
}

.sticky-sidebar {
    position: sticky;
    top: 6.25rem;
}

/* Sections */
.order-section {
    margin-bottom: 3.75rem;
}

.order-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-section h3 {
    font-size: 1.125rem;
    border-bottom-color: #f1f5f9;
    margin-bottom: 1.25rem;
}

/* Table Form (Modernized) */
.tbl_order_form {
    width: 100%;
    border-collapse: collapse;
}

.tbl_order_form th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #475569;
    width: 8.75rem;
    vertical-align: top;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.tbl_order_form td {
    padding: 0.75rem 0.625rem;
    color: #334155;
}

.frm_input {
    height: 3.125rem;
    padding: 0 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 20rem;
    font-size: 0.9375rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

textarea.frm_input {
    height: 6.25rem;
    padding: 0.75rem 1rem;
    max-width: 100%;
}

.frm_input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 0.1875rem rgba(59, 130, 246, 0.1);
}

.frm_address {
    margin-top: 0.5rem;
    max-width: 100%;
}

.btn_address {
    height: 3rem;
    padding: 0 1.25rem;
    background: #334155;
    color: #fff;
    border: 0;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: background 0.2s;
}

.btn_address:hover {
    background: #1e293b;
}

/* Order List Table */
.tbl_order_list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.tbl_order_list th {
    padding: 1rem;
    border-bottom: 2px solid #f1f5f9;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9375rem;
    background: #f8fafc;
    text-align: center;
}

.tbl_order_list td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
    vertical-align: middle;
}

.tbl_order_list .td_prd {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.tbl_order_list .od_img {
    width: 4.375rem;
    height: 4.375rem;
    border-radius: 0.5rem;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
}

.tbl_order_list .od_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tbl_order_list .od_name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.tbl_order_list .od_opt {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

/* Payment Method Cards */
.payment-methods {
    display: flex;
    gap: 0.9375rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.pay-method-card {
    flex: 1;
    min-width: 8.75rem;
    position: relative;
}

.pay-method-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pay-method-card label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.pay-method-card input[type="radio"]:checked+label {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1e40af;
}

.bank-info {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

.bank-row {
    margin-bottom: 0.75rem;
}

.bank-row:last-child {
    margin-bottom: 0;
}

.bank-row label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.375rem;
}

.bank-row .frm_input {
    max-width: 100%;
    height: 2.5rem;
}

/* Sidebar Summary */
.summary-box {
    background: #fff;
    border: 2px solid #0f172a;
    border-radius: 1rem;
    padding: 1.875rem;
}

.summary-box h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: #64748b;
}

.summary-row.total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.summary-row.total span:first-child {
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
}

.summary-row.total .price {
    font-size: 2rem;
    font-weight: 900;
    color: #ef4444;
    line-height: 1;
}

.btn_submit {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #172554 100%);
    color: #fff;
    border: 0;
    padding: 1.25rem 0;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1.875rem;
    cursor: pointer;
    border-radius: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0.625rem 1.25rem rgba(30, 64, 175, 0.2);
}

.btn_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.9375rem 1.875rem rgba(30, 64, 175, 0.3);
}

.btn_cancel {
    width: 100%;
    height: 3rem;
    background: #f1f5f9;
    color: #475569;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.625rem;
}

/* Mobile Responsive */
@media (max-width: 64rem) {
    .order-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .order-sidebar {
        width: 100%;
        position: static;
        margin-top: 2.5rem;
    }

    .sticky-sidebar {
        position: static;
    }

    .tbl_order_form th {
        width: 6.25rem;
        padding-top: 1.375rem;
    }
}

/* ==========================================================================
   Shop Main Page Overhaul - Hero Swiper & Product Sections
   ========================================================================== */

/* Hero Swiper Section */
.hero-swiper-section {
    width: 100%;
    position: relative;
}

.hero-swiper {
    width: 100%;
    height: 31.25rem;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 31.25rem;
}

.hero-badge {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.875rem;
    border-radius: 1.25rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.1em;
}

.hero-slide h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.9375rem;
    text-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.3);
}

.hero-slide p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5625rem;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 1.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(59, 130, 246, 0.35);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    backdrop-filter: blur(0.3125rem);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1.25rem;
}

.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 0.75rem;
    height: 0.75rem;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #3b82f6;
}

/* Section Header Pattern */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.875rem;
}

.section-header .section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.section-header .section-title i {
    color: #3b82f6;
}

.more-link {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.2s;
}

.more-link:hover {
    color: #3b82f6;
}

/* Product Section */
.product-section {
    padding: 3.75rem 0;
}

.product-section.bg-light {
    background: #f8fafc;
}

/* Product Swiper */
.product-swiper {
    position: relative;
    padding: 0 2.8125rem;
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    width: 2.5rem;
    height: 2.5rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.1);
    color: #334155;
}

.product-swiper .swiper-button-next::after,
.product-swiper .swiper-button-prev::after {
    font-size: 0.875rem;
    font-weight: 700;
}

.product-swiper .swiper-button-next {
    right: 0;
}

.product-swiper .swiper-button-prev {
    left: 0;
}

/* Product Card */
.product-card {
    display: block;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.9375rem 1.875rem rgba(0, 0, 0, 0.1);
}

.product-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f1f5f9;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
    margin: 0 0 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info .price {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ef4444;
    margin: 0;
}

/* Mobile Responsive - Hero */
@media (max-width: 64rem) {
    .hero-swiper {
        height: 25rem;
    }

    .hero-slide h2 {
        font-size: 2rem;
    }

    .hero-slide p {
        font-size: 0.9375rem;
    }
}

@media (max-width: 48rem) {
    .hero-swiper {
        height: 20rem;
    }

    .hero-slide {
        padding: 0 1.25rem;
    }

    .hero-slide h2 {
        font-size: 1.625rem;
    }

    .hero-slide p {
        font-size: 0.875rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }

    .product-swiper {
        padding: 0;
    }

    .product-swiper .swiper-button-next,
    .product-swiper .swiper-button-prev {
        display: none;
    }
}

/* ==========================================================================
   Category Dropdown Fix (鍮꾩쫰?섏슦???ㅽ???硫붽? ?쒕∼?ㅼ슫)
   ========================================================================== */

/* Desktop: Full-width mega dropdown */
#category {
    display: none;
    position: fixed;
    /* top = header-top(2.1875rem) + header-main(3.75rem) + header-nav(3.125rem) */
    top: 9.0625rem;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 0;
    padding: 0;
    box-shadow: 0 0.625rem 3.125rem rgba(0, 0, 0, 0.12);
    border: none;
    border-top: 1px solid #e2e8f0;
    z-index: 10001;
    background: #fff;
    /* Thin subtle scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

#category::-webkit-scrollbar {
    width: 0.375rem;
}

#category::-webkit-scrollbar-track {
    background: transparent;
}

#category::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 0.1875rem;
}

#category::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Inner container for mega menu */
#category>h2 {
    display: none;
    /* 鍮꾩쫰?섏슦???ㅽ??쇱? ??댄? ?④? */
}

#category .cate {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 1.5625rem 2.5rem 1.875rem;
    margin: 0 auto;
    max-width: var(--k1700-content-width, 75rem);
    list-style: none;
    position: relative;
}

#category .cate_li_1 {
    float: none;
    width: auto;
    min-height: auto;
    padding: 0 0.9375rem 1.25rem 0;
    border-left: none;
    border-bottom: none;
    border-right: 1px solid #f1f5f9;
}

#category .cate_li_1:last-child {
    border-right: none;
}

#category .cate_li_1_a {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    padding: 0.5rem 0;
    margin: 0 0 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: transparent;
}

#category .cate_li_1_a:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

#category .sub_cate {
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: 0;
    background: transparent;
    padding: 0;
}

#category .cate_li_2 {
    line-height: 1.4;
}

#category .cate_li_2 a {
    display: inline-block;
    font-size: 0.8125rem;
    color: #64748b;
    padding: 0.3125rem 0;
    transition: all 0.15s;
    position: relative;
}

#category .cate_li_2 a:hover {
    color: #3b82f6;
}

/* HOT/NEW ?쒓렇 ?ㅽ???*/
#category .cate_li_2 a .hot,
#category .cate_li_2 a .new {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 1px 0.25rem;
    border-radius: 0.1875rem;
    margin-left: 0.25rem;
    vertical-align: middle;
}

#category .cate_li_2 a .hot {
    background: #fee2e2;
    color: #ef4444;
}

#category .cate_li_2 a .new {
    background: #dbeafe;
    color: #3b82f6;
}

/* Close button - 移댄뀒怨좊━ ?곸뿭 ?곗륫 ?곷떒 */
#category .close_btn {
    position: absolute;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #fff;
    color: #64748b;
    font-size: 1.125rem;
    top: 1.25rem;
    right: calc((100vw - var(--k1700-content-width, 75rem)) / 2 + 0.625rem);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.2s;
    box-shadow: 0 2px 0.5rem rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

#category .close_btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

/* Background overlay */
#category_all_bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 10000;
}

/* ============================================
   Mobile: Left slide-in sidebar style
   ============================================ */
@media (max-width: 64rem) {
    #category {
        top: 0;
        left: 0;
        right: auto;
        width: 20rem;
        max-width: 85vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border-top: none;
    }

    #category>h2 {
        display: block;
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
        padding: 1.25rem;
        margin: 0;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fafc;
    }

    #category .cate {
        display: flex;
        flex-direction: column;
        padding: 0;
        max-width: 100%;
    }

    #category .cate_li_1 {
        padding: 0;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }

    #category .cate_li_1_a {
        padding: 0.9375rem 1.25rem;
        margin: 0;
        border-bottom: none;
        background: #fff;
    }

    #category .sub_cate {
        /* background: #f8fafc; */
        padding: 0.3125rem 0;
    }

    #category .cate_li_2 a {
        display: block;
        padding: 0.625rem 1.25rem 0.625rem 2.1875rem;
    }

    #category .close_btn {
        position: absolute;
        top: 0.9375rem;
        right: 0.9375rem;
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 48rem) {
    #category {
        width: 17.5rem;
    }
}

/* ==========================================================================
   Main Layout Fix (罹≪쿂1 - ?덉씠?꾩썐 源⑥쭚)
   ========================================================================== */

/* Hero Section z-index fix */
.hero-swiper-section {
    position: relative;
    z-index: 1;
}

/* Container constraints */
.inner-container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Fix for content overlapping */
#wrapper {
    position: relative;
    z-index: 5;
}

#hd_wrapper {
    position: relative;
    z-index: 100;
}

#hd_menu {
    position: relative;
    z-index: 10001;
}

/* Section spacing consistency */
.section-spacing {
    padding: 3.75rem 0;
}

/* ==========================================================================
   FAQ & Community Page Fix (罹≪쿂3)
   ========================================================================== */

/* FAQ Page */
#faq_container,
.faq_wr {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}

.faq_wr h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.875rem;
    padding-bottom: 0.9375rem;
    border-bottom: 2px solid #e2e8f0;
}

.faq_wr .faq_list {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.faq_wr .faq_list li {
    border-bottom: 1px solid #e2e8f0;
}

.faq_wr .faq_list li:last-child {
    border-bottom: none;
}

.faq_wr .faq_list a {
    display: block;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    color: #334155;
    transition: background 0.2s;
}

.faq_wr .faq_list a:hover {
    background: #f8fafc;
    color: #3b82f6;
}

/* Community/Board Common */
.board_wr,
#bo_list,
#bo_v,
#bo_w {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}

/* Board Header */
.board_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.875rem;
    padding-bottom: 0.9375rem;
    border-bottom: 2px solid #e2e8f0;
}

.board_head h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* Board Table */
.tbl_head01 {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #334155;
}

.tbl_head01 thead th {
    background: #f8fafc;
    padding: 0.875rem 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.tbl_head01 tbody td {
    padding: 0.875rem 0.625rem;
    font-size: 0.875rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.tbl_head01 tbody td.td_subject {
    text-align: left;
}

.tbl_head01 tbody td.td_subject a {
    color: #334155;
    font-weight: 500;
}

.tbl_head01 tbody td.td_subject a:hover {
    color: #3b82f6;
}

/* Search Form */
.local_sch,
.sch_bar {
    display: flex;
    gap: 0.625rem;
    padding: 1.25rem 0;
}

.local_sch input[type="text"],
.sch_bar input[type="text"] {
    flex: 1;
    max-width: 18.75rem;
    padding: 0.625rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.local_sch input[type="submit"],
.sch_bar input[type="submit"] {
    padding: 0.625rem 1.5rem;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.local_sch input[type="submit"]:hover,
.sch_bar input[type="submit"]:hover {
    background: #2563eb;
}

/* QA List */
#qa_list {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}

/* ==========================================================================
   Product Detail Page Enhancement (?곹뭹 ?곸꽭?섏씠吏)
   ========================================================================== */

/* Main Wrapper */
.product-detail-wrapper {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}

/* Grid Layout: Gallery Left + Info Right */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.125rem;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

#sit_pvi {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

#sit_pvi_big {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
}

#sit_pvi_big img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#sit_pvi_thumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    padding: 0.9375rem;
    border-top: 1px solid #e2e8f0;
}

#sit_pvi_thumb li a {
    display: block;
    width: 4.375rem;
    height: 4.375rem;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: border-color 0.2s;
}

#sit_pvi_thumb li a:hover,
#sit_pvi_thumb li a.active {
    border-color: #3b82f6;
}

#sit_pvi_thumb li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Panel (Sticky) */
.product-info-panel {
    position: relative;
}

.product-info-panel .sticky-container {
    position: sticky;
    top: 6.25rem;
    background: #fff;
    padding: 1.875rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.05);
}

.product-title {
    font-size: 1.625rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 0.625rem;
}

.product-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Meta Table */
.product-meta-table {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.25rem;
    margin-bottom: 1.5625rem;
}

.product-meta-table .meta-row {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.product-meta-table .meta-row:last-child {
    border-bottom: none;
}

.product-meta-table .label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.product-meta-table .value {
    font-size: 0.875rem;
    color: #334155;
    font-weight: 600;
}

/* Price Section */
.price-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5625rem;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
}

.price-main .current {
    font-size: 2rem;
    font-weight: 800;
    color: #ef4444;
}

.price-main .original {
    font-size: 1.125rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Options Section */
.sit_option {
    margin-bottom: 1.25rem;
}

.sit_option h3,
#sit_sel_option h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.625rem;
}

.sit_option select,
.it_option,
.it_supply {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #334155;
    background: #fff;
    transition: border-color 0.2s;
}

.sit_option select:focus,
.it_option:focus,
.it_supply:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Selected Options */
#sit_sel_option ul,
#sit_opt_added {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sit_sel_option li,
.sit_opt_list {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 0.875rem;
    margin-bottom: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.opt_name {
    flex: 1;
    min-width: 9.375rem;
}

.sit_opt_subj {
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
}

.opt_count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sit_qty_minus,
.sit_qty_plus {
    width: 2rem;
    height: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sit_qty_minus:hover,
.sit_qty_plus:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.num_input {
    width: 3.125rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.375rem;
    font-size: 0.875rem;
}

.sit_opt_prc {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
}

.sit_opt_del {
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sit_opt_del:hover {
    background: #ef4444;
    color: #fff;
}

/* Total Price */
#sit_tot_price,
.sit_tot_price {
    background: #0f172a;
    color: #fff;
    padding: 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

#sit_tot_price strong,
.sit_tot_price strong {
    font-size: 2rem;
    font-weight: 800;
    color: #fbbf24;
}

/* Order Buttons */
#sit_ov_btn,
.sit_order_btn {
    display: flex;
    gap: 0.625rem;
}

.sit_btn_cart,
.sit_btn_buy,
.sit_btn_wish {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.sit_btn_cart {
    background: #fff;
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

.sit_btn_cart:hover {
    background: #eff6ff;
}

.sit_btn_buy {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
}

.sit_btn_buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(59, 130, 246, 0.35);
}

.sit_btn_wish {
    width: 3.5rem;
    flex: none;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fee2e2;
}

.sit_btn_wish:hover {
    background: #ef4444;
    color: #fff;
}

/* ========================================
   Product Detail Tabs (#sit_info)
   (Note: These styles are overridden by custom2.css to prevent conflicts
   with the original GNUBoard DOM structure)
   ======================================== */

#sit_info {
    max-width: 75rem;
    margin: 3.75rem auto 0;
    padding: 0 1.25rem;
}

#sit_tab {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.tab_tit {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab_tit li {
    flex: 1;
}

.tab_tit li button {
    width: 100%;
    padding: 1.125rem 1.25rem;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tab_tit li button:hover {
    color: #3b82f6;
    background: #fff;
}

.tab_tit li button.selected {
    color: #3b82f6;
    background: #fff;
}

.tab_tit li button.selected::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.1875rem;
    background: #3b82f6;
}

.item_use_count,
.item_qa_count {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 0.5rem;
    border-radius: 0.625rem;
    margin-left: 0.3125rem;
}

.tab_con {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab_con>li {
    padding: 2.5rem;
}

.tab_con h2.contents_tit {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5625rem;
    padding-bottom: 0.9375rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Product Detail Content */
#sit_inf_explan {
    line-height: 1.8;
    color: #475569;
}

#sit_inf_explan img {
    max-width: 100%;
    height: auto;
}

/* Info Table */
#sit_inf_open {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.875rem;
}

#sit_inf_open th {
    background: #f8fafc;
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
    width: 30%;
}

#sit_inf_open td {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    border: 1px solid #e2e8f0;
}

/* Mobile Responsive - Product Detail */
@media (max-width: 64rem) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }

    .product-info-panel .sticky-container {
        position: static;
    }

    .product-title {
        font-size: 1.375rem;
    }

    #sit_tot_price strong,
    .sit_tot_price strong {
        font-size: 1.625rem;
    }
}

@media (max-width: 48rem) {
    .product-detail-wrapper {
        padding: 1.25rem 0.9375rem;
    }

    .tab_tit {
        flex-wrap: wrap;
    }

    .tab_tit li {
        flex: 1 1 50%;
    }

    .tab_tit li button {
        padding: 0.875rem 0.625rem;
        font-size: 0.8125rem;
    }

    .tab_con>li {
        padding: 1.25rem;
    }

    #sit_ov_btn,
    .sit_order_btn {
        flex-wrap: wrap;
    }

    .sit_btn_cart,
    .sit_btn_buy {
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   Product Detail Page - Bizhows Style (鍮꾩쫰?섏슦???ㅽ????곹뭹 ?곸꽭)
   ========================================================================== */

/* Main layout - 2 column grid */
#sit_ov_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.125rem;
    max-width: var(--k1700-content-width, 75rem);
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
    align-items: start;
}

/* Left column - Product Image */
#sit_pvi {
    position: sticky;
    top: 10rem;
    width: 100%;
}

#sit_pvi_big {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 0.9375rem;
}

#sit_pvi_big img {
    width: 100%;
    height: auto;
    display: block;
}

#sit_pvi_big a {
    display: none;
}

#sit_pvi_big a.visible {
    display: block;
}

#sit_pvi_thumb {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

#sit_pvi_thumb li {
    flex: 0 0 auto;
    width: 4.375rem;
    height: 4.375rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

#sit_pvi_thumb li:hover,
#sit_pvi_thumb li.active {
    border-color: var(--primary-color);
}

#sit_pvi_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right column - Product Info */
#sit_ov {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Product title */
#sit_title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

/* Product description */
#sit_desc {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* Hide option info */
#sit_opt_info {
    display: none;
}

/* Star rating and review */
#sit_star_sns {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    padding: 0.9375rem 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
}

#sit_star_sns .sit_star {
    vertical-align: middle;
}

/* Product info table - bizhows style vertical list */
.sit_info {
    margin-bottom: 1.25rem;
}

.sit_ov_tbl {
    width: 100%;
    border-collapse: collapse;
}

.sit_ov_tbl th {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    text-align: left;
    padding: 0.75rem 0;
    width: 6.25rem;
    vertical-align: top;
}

.sit_ov_tbl td {
    font-size: 0.875rem;
    color: #0f172a;
    padding: 0.75rem 0;
}

.sit_ov_tbl tr {
    border-bottom: 1px solid #f1f5f9;
}

.sit_ov_tbl tr:last-child {
    border-bottom: none;
}

/* Price display - emphasized */
.sit_ov_tbl .tr_price td {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sit_ov_tbl .tr_price td strong {
    font-size: 1.75rem;
}

/* Select options section */
.sit_option {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.sit_option h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.9375rem 0;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #e2e8f0;
}

.sit_option select {
    width: 100%;
    padding: 0.75rem 0.9375rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.sit_option select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Selected options list */
#sit_sel_option {
    margin-bottom: 1.25rem;
}

#sit_sel_option h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.9375rem 0;
}

#sit_opt_added {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sit_opt_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9375rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    margin-bottom: 0.625rem;
}

.sit_opt_list .opt_name {
    flex: 1;
}

.sit_opt_list .opt_count {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.sit_qty_minus,
.sit_qty_plus {
    width: 2rem;
    height: 2rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sit_qty_minus:hover,
.sit_qty_plus:hover {
    background: #f1f5f9;
}

.num_input {
    width: 3.125rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.375rem;
    font-size: 0.875rem;
}

/* Total price */
#sit_tot_price {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

#sit_tot_price strong {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Calculator section - always visible */
#calculator-section,
.calculator-wrapper,
#k1700_calculator {
    display: block;
    visibility: visible;
    opacity: 1;
    position: static;
    transform: none;
}

/* Action buttons - bizhows style */
#sit_ov_btn {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.sit_btn_cart,
.sit_btn_buy {
    flex: 1;
    padding: 1.125rem 1.875rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.sit_btn_cart {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.sit_btn_cart:hover {
    background: #fef2f2;
}

.sit_btn_buy {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.sit_btn_buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.625rem 1.5625rem rgba(239, 68, 68, 0.3);
}

.sit_btn_wish {
    width: 3.5rem;
    height: 3.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #64748b;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.sit_btn_wish:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Free design templates section */
.free-templates-section {
    grid-column: 1 / -1;
    max-width: var(--k1700-content-width, 75rem);
    margin: 2.5rem auto;
    padding: 1.875rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 1rem;
}

.free-templates-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

/* Mobile responsive */
@media (max-width: 64rem) {
    #sit_ov_wrap {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }

    #sit_pvi {
        position: static;
    }
}

@media (max-width: 48rem) {
    #sit_title {
        font-size: 1.375rem;
    }

    #sit_ov_btn {
        flex-direction: column;
    }

    .sit_btn_cart,
    .sit_btn_buy {
        width: 100%;
    }
}

/* Free Design Templates Section */
.free-templates-section {
    margin-top: 1.875rem;
    padding: 1.5625rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 1rem;
    border: 1px solid #bae6fd;
}

.free-templates-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0369a1;
    margin: 0 0 0.625rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.free-templates-section p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.9375rem;
}

.template-grid {
    display: flex;
    gap: 0.9375rem;
    flex-wrap: wrap;
}

.template-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border: 2px solid #0ea5e9;
    border-radius: 0.625rem;
    color: #0369a1;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.template-link:hover {
    background: #0ea5e9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(14, 165, 233, 0.3);
}

.template-link i {
    font-size: 1.125rem;
}

/* Free Templates Section - Outer (Bizhows Style) */
.free-templates-section-outer {
    background: linear-gradient(180deg, #fff9f0 0%, #fff5eb 100%);
    padding: 3.75rem 1.25rem;
    margin-top: 2.5rem;
}

.free-templates-wrap {
    max-width: 75rem;
    margin: 0 auto;
    text-align: center;
}

.free-templates-section-outer h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ea580c;
    margin: 0 0 0.9375rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.free-templates-section-outer p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.875rem;
}

.free-templates-section-outer .template-grid {
    display: flex;
    justify-content: center;
    gap: 0.9375rem;
}

.free-templates-section-outer .template-link {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: #fff;
    border: none;
    padding: 0.9375rem 1.875rem;
    font-size: 1rem;
}

.free-templates-section-outer .template-link:hover {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
    color: #fff;
}

/* ==========================================================================
   Category Breadcrumb Layer (Bizhows Style)
   ========================================================================== */

#sct_location {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    position: relative;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    float: none;
}

.navi_ca_item {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.navi_ca_item:hover {
    color: var(--primary-color, #ef4444);
    text-decoration: underline;
}

#sct_location .go_home {
    color: #64748b;
    padding: 0;
}

#sct_location .go_home:hover {
    color: var(--primary-color, #ef4444);
}

#sct_location i.dividing-line {
    color: #cbd5e1;
    font-size: 0.75rem;
}

/* Category Dropdown Trigger */
.shop_select_to_html .category_title {
    padding: 0.5rem 1.25rem 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

.shop_select_to_html .category_title:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.shop_select_to_html .category_title i {
    color: #94a3b8;
    margin-left: 0.5rem;
    font-size: 0.625rem;
}

/* Dropdown Layer */
.shop_select_to_html .menulist {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    padding: 0.625rem 0;
    max-height: 25rem;
    overflow-y: auto;
    min-width: 12.5rem;
    z-index: 1000;
    top: calc(100% + 0.3125rem);
}

.shop_select_to_html .menulist ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop_select_to_html .menulist ul.wide {
    min-height: auto;
    width: 11.25rem;
    border-right: 1px solid #f1f5f9;
}

.shop_select_to_html .option {
    line-height: 1.4;
    min-height: auto;
    padding: 0;
}

.shop_select_to_html .option a {
    display: block;
    padding: 0.625rem 1.25rem;
    color: #475569;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.15s;
}

.shop_select_to_html .option a:hover {
    background: #f1f5f9;
    color: var(--primary-color, #ef4444);
}

.shop_select_to_html .option.selected a {
    color: var(--primary-color, #ef4444);
    font-weight: 600;
    background: #fef2f2;
}

/* Multi-column layout for categories */
.shop_select_to_html .menulist:has(ul.wide) {
    display: flex;
    min-width: auto;
    width: auto;
}

/* Responsive */
@media (max-width: 48rem) {
    #sct_location {
        padding: 0.5rem 0;
    }

    .shop_select_to_html .category_title {
        font-size: 0.8125rem;
        padding: 0.375rem 0.9375rem 0.375rem 0.625rem;
    }

    .shop_select_to_html .menulist {
        max-height: 18.75rem;
    }
}

/* ==========================================================================
   Shopping Cart & Order Page (Conran Style)
   ========================================================================== */
.cart-premium-wrapper,
.order-premium-wrapper {
    max-width: 1280px;
    margin: 3.125rem auto;
    padding: 0 1.25rem;
    font-family: 'Pretendard', sans-serif;
}

.cart-title,
.order-title {
    border-bottom: 2px solid #111;
    padding-bottom: 1.25rem;
    margin-bottom: 2.5rem;
}

.cart-title h2,
.order-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: flex-end;
    gap: 0.625rem;
    margin: 0;
}

.cart-title h2 span,
.order-title h2 span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
    text-transform: uppercase;
}

/* Layout */
.cart-layout,
.order-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.cart-list-section,
.order-main-section {
    flex: 1;
    min-width: 0;
}

.cart-summary-sidebar,
.order-sidebar {
    width: 20rem;
    flex-shrink: 0;
    position: sticky;
    top: 6.25rem;
}

/* Tables */
.cart-table,
.tbl_order_list,
.tbl_order_form {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Cart Table Specifics */
.cart-table th,
.tbl_order_list th {
    border-bottom: 1px solid #ddd;
    padding: 0.9375rem 0;
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
    text-align: center;
    background: #fff;
}

.cart-table td,
.tbl_order_list td {
    border-bottom: 1px solid #eee;
    padding: 1.25rem 0;
    vertical-align: middle;
    text-align: center;
}

.cart-table .td_prd,
.tbl_order_list .td_prd {
    text-align: left;
    padding-left: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.9375rem;
}

.cart-table .chk_box input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 0;
}

.prd_img_wrap,
.od_img {
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
}

.prd_img_wrap img,
.od_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #eee;
}

.prd_name,
.od_name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: block;
    margin-bottom: 0.3125rem;
}

.prd_opt,
.od_opt {
    font-size: 0.8125rem;
    color: #888;
    line-height: 1.4;
}

/* Order Form Table */
.tbl_order_form th {
    text-align: left;
    padding: 0.9375rem 0.625rem;
    background: #fff;
    font-weight: 600;
    color: #333;
    width: 8.75rem;
    vertical-align: top;
    padding-top: 1.25rem;
}

.tbl_order_form td {
    padding: 0.625rem;
    border-bottom: 1px solid #f1f1f1;
}

/* Form Inputs */
.frm_input {
    height: 2.8125rem;
    padding: 0 0.9375rem;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    border-radius: 0;
}

.frm_input:focus {
    border-color: #111;
    outline: none;
}

/* Sections */
.order-section {
    margin-bottom: 3.125rem;
}

.order-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    border-bottom: 2px solid #111;
    padding-bottom: 0.9375rem;
    margin-bottom: 1.25rem;
    color: #111;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 0.9375rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.pay-method-card {
    flex: 1;
    min-width: 8.75rem;
}

.pay-method-card input[type="radio"] {
    display: none;
}

.pay-method-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    height: 5rem;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    background: #fff;
    transition: all 0.2s;
}

.pay-method-card input[type="radio"]:checked+label {
    border-color: #111;
    background: #111;
    color: #fff;
}

.bank-info {
    background: #f9f9f9;
    padding: 1.25rem;
    border: 1px solid #eee;
}

.bank-info select.frm_input {
    height: 2.1875rem;
    background: #fff;
}

/* Summary Box */
.summary-box {
    border: 1px solid #e5e5e5;
    border-radius: 0;
    background: #f9f9f9;
    padding: 1.875rem;
}

.summary-box h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.9375rem;
    border-bottom: 1px solid #ddd;
    margin-top: 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.9375rem;
    font-size: 0.875rem;
    color: #555;
}

.summary-row.total,
.summary-row.total-row {
    border-top: 1px solid #ddd;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    align-items: center;
}

.summary-row.total span:first-child,
.summary-row.total-row span:first-child {
    font-weight: 700;
    color: #111;
}

.summary-row .price,
.summary-row .total-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e02020;
}

/* Buttons */
.btn-order-all,
.btn_submit {
    display: block;
    width: 100%;
    background: #111;
    color: #fff;
    border: 0;
    padding: 0.9375rem 0;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    cursor: pointer;
    transition: 0.2s;
    height: auto;
    text-align: center;
}

.btn-order-all:hover,
.btn_submit:hover {
    background: #333;
}

.btn-order-sel {
    display: block;
    width: 100%;
    background: #fff;
    color: #111;
    border: 1px solid #111;
    padding: 0.9375rem 0;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.625rem;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-order-sel:hover {
    background: #f5f5f5;
    color: #000;
}

.btn-util {
    padding: 0.5rem 0.9375rem;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-util:hover {
    border-color: #111;
    color: #111;
}

.btn_address {
    padding: 0 0.9375rem;
    height: 2.8125rem;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.cart-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.625rem;
}

.empty-cart {
    padding: 6.25rem 0;
    text-align: center;
    color: #888;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 62rem) {

    .cart-layout,
    .order-layout {
        flex-direction: column;
        gap: 1.25rem;
    }

    .cart-summary-sidebar,
    .order-sidebar {
        width: 100%;
        position: static;
    }
}

/* Item Detail Buttons Visibility - Forced Override */
#sit_ov_btn {
    display: block;
    margin-top: 1.25rem;
    clear: both;
}

.sit_btn_cart,
.sit_btn_buy,
.sit_btn_design {
    display: inline-block;
    height: 3.125rem;
    line-height: 3.125rem;
    padding: 0 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: 0.1875rem;
    cursor: pointer;
    vertical-align: middle;
    box-sizing: border-box;
    margin-bottom: 0.3125rem;
}

.sit_btn_cart {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    width: 48%;
}

.sit_btn_buy {
    background: #333;
    border: 1px solid #333;
    color: #fff;
    width: 48%;
}

.sit_btn_design {
    width: 100%;
    margin-bottom: 0.625rem;
    background: #f1f1f1;
    border: 1px solid #ddd;
    color: #333;
}

.sit_btn_design:hover {
    background: #e1e1e1;
}

.sit_btn_wish {
    display: inline-block;
    width: 3.125rem;
    height: 3.125rem;
    line-height: 3.125rem;
    text-align: center;
    border: 1px solid #ddd;
    color: #999;
    font-size: 1.25rem;
    vertical-align: middle;
}

/* ==========================================================================
   Header Fixes (2026-02-05)
   ========================================================================== */

/* Fix Login Button Overlap */
.hd_login {
    position: absolute;
    right: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.hd_login>li {
    float: left;
    margin: 0 0.5rem;
}

.hd_login>li.login a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    color: #3a8afd;
    border: 1px solid #3a8afd;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.hd_login>li.login a:hover {
    background: #3a8afd;
    color: #fff;
}

/* Search Bar Styling */
#hd_wrapper .hd_sch_wr {
    position: relative;
}

#hd_sch {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    overflow: visible;
    position: relative;
}

#hd_sch #sch_str {
    background: #fff;
    border: none;
    color: #333;
    padding: 0.625rem 3.125rem 0.625rem 0.9375rem;
    width: 100%;
    height: 2.8125rem;
    float: none;
}

#hd_sch #sch_str::placeholder {
    color: #999;
}

#hd_sch #sch_submit {
    position: absolute;
    right: 0;
    top: 0;
    width: 2.8125rem;
    height: 2.8125rem;
    background: #3a8afd;
    color: #fff;
    border: none;
    border-radius: 0 0.25rem 0.25rem 0;
    font-size: 1rem;
    cursor: pointer;
    float: none;
}


/* Main Page No Products Message - Clean Layout */
.item_type_section .no_item {
    text-align: center;
    padding: 1.875rem;
    color: #999;
    font-size: 0.875rem;
    background: #f9f9f9;
    border-radius: 0.5rem;
    margin: 0.625rem 0;
}

/* Quick Service Links Fix */
.sec-quick-links {
    padding: 3.125rem 0;
    background: #f9f9f9;
}

.quick-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.quick-item {
    flex: 1;
    min-width: 17.5rem;
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    padding: 1.5625rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.quick-item:hover {
    border-color: #3a8afd;
    box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.08);
    transform: translateY(-0.1875rem);
}

.quick-icon {
    width: 3.125rem;
    height: 3.125rem;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #3a8afd;
}

.quick-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.3125rem;
}

.quick-content p {
    font-size: 0.8125rem;
    color: #666;
    margin: 0;
}

.quick-arrow {
    margin-left: auto;
    color: #3a8afd;
    font-size: 0.8125rem;
    white-space: nowrap;
}

/* Cart Page Styling */
#sit_tot {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-top: 1.25rem;
}

.sit_btn_cart,
.sit_btn_buy {
    display: inline-block;
    padding: 0.9375rem 1.875rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s;
}

.sit_btn_cart {
    background: #333;
    color: #fff;
}

.sit_btn_cart:hover {
    background: #555;
}

.sit_btn_buy {
    background: #3a8afd;
    color: #fff;
}

.sit_btn_buy:hover {
    background: #2563eb;
}

/* ==========================================================================
   Product Policy Section Styling (Delivery / Exchange)
   ========================================================================== */

.policy-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5625rem;
    margin-top: 0.9375rem;
    color: #334155;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.policy-highlight {
    font-weight: 700;
    color: #ef4444;
    font-size: 1rem;
    margin-bottom: 0.9375rem;
    padding-bottom: 0.9375rem;
    border-bottom: 1px dashed #cbd5e1;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list>li {
    margin-bottom: 0.9375rem;
    padding-left: 1.25rem;
    position: relative;
}

.policy-list>li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6875rem;
    width: 0.375rem;
    height: 0.375rem;
    background: #3b82f6;
    border-radius: 50%;
}

.policy-list>li>strong {
    color: #1e293b;
    display: inline-block;
    min-width: 5rem;
}

.sub-policy-list {
    list-style: none;
    padding: 0.9375rem 0 0 0;
    margin: 0.625rem 0 0 0;
    border-top: 1px dashed #cbd5e1;
}

.sub-policy-list li {
    margin-bottom: 0.625rem;
    padding-left: 0.9375rem;
    position: relative;
    color: #475569;
}

.sub-policy-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    top: 0;
    color: #94a3b8;
}

.sub-policy-list li:last-child {
    margin-bottom: 0;
}

.policy-list.unstyled-list>li {
    padding-left: 0;
}

.policy-list.unstyled-list>li::before {
    display: none;
}