/* ============================================
   Programmatic SEO - Print Landing Pages
   ============================================ */

.print-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 15px 60px;
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Page Title (허브/카테고리 h1) */
.print-page > h1 {
    font-size: 26px;
    margin-bottom: 20px;
}

/* Breadcrumb */
.print-breadcrumb {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}
.print-breadcrumb a {
    color: #666;
    text-decoration: none;
    vertical-align: 0px;
}
.print-breadcrumb a:hover {
    text-decoration: underline;
}
.print-breadcrumb .sep {
    margin: 0 6px;
    color: #ccc;
}
.print-breadcrumb .current {
    color: #333;
}

/* Hero */
.print-hero {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.print-hero__image {
    flex: 0 0 300px;
}
.print-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
}
.print-hero__info {
    flex: 1;
}
.print-hero__info h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
}
.print-hero__price {
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
}
.print-hero__price-label {
    font-size: 13px;
    color: #666;
    display: block;
    margin-bottom: 2px;
}
.print-hero__price-value {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}
.print-hero__price-qty {
    font-size: 13px;
    color: #888;
    margin-left: 4px;
}
.print-hero__specs {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 6px 12px;
    font-size: 14px;
    margin-bottom: 20px;
}
.print-hero__specs dt {
    color: #888;
    font-weight: 400;
}
.print-hero__specs dd {
    margin: 0;
    font-weight: 500;
}

/* CTA Button */
.print-cta {
    display: inline-block;
    padding: 12px 28px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}
.print-cta:hover {
    background: #1a252f;
    color: #fff;
    text-decoration: none;
}
.print-cta--large {
    padding: 16px 40px;
    font-size: 17px;
}

/* Sections */
.print-section {
    margin-bottom: 36px;
}
.print-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
}
.print-section__text {
    font-size: 14px;
    color: #555;
}

/* Material Details */
.print-material__details {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 4px 12px;
    font-size: 14px;
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
}
.print-material__details dt {
    color: #888;
}
.print-material__details dd {
    margin: 0;
}

/* Price Table */
.print-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.print-price-table th {
    background: #f8f9fa;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}
.print-price-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}
.print-price-table tbody tr:hover {
    background: #fafafa;
}
.print-price-note {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* Link Cards (Related Sizes / Materials) */
.print-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.print-link-card {
    display: block;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: border-color 0.2s, background 0.2s;
}
.print-link-card:hover {
    border-color: #2c3e50;
    background: #f8f9fa;
    text-decoration: none;
    color: #333;
}
.print-link-card__size {
    font-weight: 600;
    display: block;
}
.print-link-card__label {
    font-size: 11px;
    color: #888;
}
.print-link-card__name {
    font-weight: 500;
}

/* FAQ */
.print-faq__item {
    margin-bottom: 16px;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 4px;
}
.print-faq__item h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
}
.print-faq__item p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* Bottom CTA */
.print-bottom-cta {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

/* Category Page */
.print-category__desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 24px;
}
.print-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}
.print-product-card {
    display: block;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.print-product-card:hover {
    border-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #333;
}
.print-product-card__paper {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}
.print-product-card__meta {
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 8px;
}

/* Hub Page */
.print-hub__desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 24px;
}
.print-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.print-category-card {
    display: block;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.print-category-card:hover {
    border-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #333;
}
.print-category-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.print-category-card__desc {
    font-size: 13px;
    color: #666;
}

/* 404 */
.print-404 {
    text-align: center;
    padding: 80px 0;
}
.print-404 h1 {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .print-hero {
        flex-direction: column;
    }
    .print-hero__image {
        flex: none;
        max-width: 280px;
    }
    .print-hero__info h1 {
        font-size: 18px;
    }
    .print-hero__price-value {
        font-size: 20px;
    }
    .print-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* ============================================
   Inline Work Guide (print/product.ejs)
   ============================================ */
.print-guide-inline {
    position: relative;
}

.print-guide-inline__content {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.print-guide-inline__content.is-expanded {
    max-height: none;
}

.print-guide-inline__fade {
    position: relative;
    height: 80px;
    margin-top: -80px;
    background: linear-gradient(to bottom, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%);
    pointer-events: none;
    border-radius: 0 0 8px 8px;
}

.print-guide-inline__toggle {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 4px;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.print-guide-inline__toggle:hover {
    background: #f0f0f0;
    color: #333;
}

.print-guide-inline__more {
    margin-top: 20px;
    text-align: center;
}

.print-guide-inline__notice {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

/* Finishing Descriptions (SEO) */
.print-finishing-desc {
    margin-bottom: 20px;
}

.print-finishing-desc__item {
    margin-bottom: 14px;
    line-height: 1.7;
    font-size: 14px;
    color: #444;
}

.print-finishing-desc__item:last-child {
    margin-bottom: 0;
}

.print-finishing-desc .print-section__tone,
.print-finishing-desc .print-section__note {
    margin: 4px 0 0 0;
    font-size: 13px;
}

.print-finishing-desc__name {
    font-weight: 700;
    color: #222;
}

.print-finishing-desc__sep {
    color: #999;
}

.print-finishing-desc__notice {
    margin-top: 10px;
    font-size: 13px;
    color: #888;
    font-style: italic;
}

/* Finishing Options */
.print-after-banner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    margin-top: 20px;
    border: 1.5px solid var(--after-border);
    border-radius: 10px;
    background: var(--after-bg);
    cursor: pointer;
    transition: background 0.15s;
    gap: 14px;
    box-sizing: border-box;
}

.print-after-banner:hover {
    background: var(--after-bg-hover);
}

.print-after-banner__text {
    font-size: 20px;
    font-weight: 700;
    color: var(--after-text);
    letter-spacing: 0.5px;
}

.print-after-banner__arrow {
    font-size: 24px;
    font-weight: 700;
    color: var(--after-text);
}

.print-after-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.print-after-tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--after-text);
    background: var(--after-bg);
    border: 1px solid var(--after-border);
    padding: 6px 16px;
    border-radius: 20px;
}

/* FORPLI / NAPLE: 오렌지 (#ff6f00) */
.print-page--forpli .print-section {
    --after-bg: #fff5ee;
    --after-bg-hover: #ffedde;
    --after-border: #ffc9a0;
    --after-text: #c45000;
}

/* PLABER: 블루 (#0064e6) */
.print-page--pluber .print-section {
    --after-bg: #eef4ff;
    --after-bg-hover: #ddeaff;
    --after-border: #a0c4f0;
    --after-text: #0050b8;
}
