/* Line Detail Page Shared Styles */

/* Breadcrumb */
.breadcrumb-section {
    padding: 120px 0 20px;
    background: var(--color-cream);
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--color-gold);
    gap: 12px;
}

/* Hero Section */
.line-hero {
    --line-hero-image: none;
    padding: 60px 0;
    background-color: #3c2d24;
    background-image: linear-gradient(135deg, rgba(47, 36, 23, 0.82), rgba(80, 32, 51, 0.62)), var(--line-hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.line-hero-content {
    position: relative;
    z-index: 1;
}

.line-hero-content h1 {
    font-size: 3.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.line-subtitle {
    font-size: 1.3rem;
    color: rgba(253, 247, 235, 0.85);
    font-weight: 400;
}

/* Content Section */
.line-content-section {
    padding: 80px 0;
    background: var(--color-beige);
}

.line-description,
.line-features,
.line-products,
.line-specs,
.line-gallery,
.line-cta {
    margin-bottom: 60px;
}

.line-description h2,
.line-features h2,
.line-products h2,
.line-specs h2,
.line-gallery h2 {
    font-size: 2.5rem;
    color: var(--color-carbon);
    margin-bottom: 30px;
    font-weight: 700;
}

.line-description p,
.line-features p,
.line-products p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(47, 36, 23, 0.75);
    margin-bottom: 20px;
}

.line-features h3,
.line-products h3 {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin: 40px 0 20px;
    font-weight: 600;
}

.feature-block,
.product-group {
    margin-bottom: 32px;
}

.feature-block h3::before {
    content: "\2022 ";
}

.product-group h3::before {
    content: "\2022 ";
}

.detail-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    color: rgba(47, 36, 23, 0.75);
}

.detail-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.detail-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.spec-item {
    text-align: center;
    padding: 30px;
    background: var(--color-cream);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: var(--color-beige);
    transform: translateY(-5px);
}

.spec-item .spec-icon-frame {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.spec-item .spec-icon-frame i,
.spec-item .spec-icon-frame .spec-icon {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
}

.spec-item .spec-icon-frame .spec-icon--fallback {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.35rem;
    line-height: 1;
    color: var(--color-gold);
}

.spec-item .spec-icon-frame .spec-icon--image {
    background-color: var(--color-gold);
    -webkit-mask-image: var(--spec-icon-url);
    mask-image: var(--spec-icon-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.spec-item h4 {
    font-size: 1.2rem;
    color: var(--color-carbon);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-wrap: balance;
}

.spec-item p {
    font-size: 1rem;
    color: rgba(47, 36, 23, 0.7);
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    padding: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: none;
}

/* CTA */
.line-cta {
    text-align: center;
    padding: 60px;
    background: var(--color-cream);
    border-radius: 8px;
}

.line-cta h2 {
    font-size: 2.5rem;
    color: var(--color-carbon);
    margin-bottom: 20px;
    font-weight: 700;
}

.line-cta p {
    font-size: 1.1rem;
    color: rgba(47, 36, 23, 0.7);
    margin-bottom: 30px;
}

.line-cta .btn {
    font-size: 1.1rem;
    padding: 18px 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .line-hero-content h1 {
        font-size: 2.5rem;
    }

    .line-subtitle {
        font-size: 1.1rem;
    }

    .line-description h2,
    .line-features h2,
    .line-products h2,
    .line-specs h2,
    .line-gallery h2 {
        font-size: 2rem;
    }

    .line-features h3,
    .line-products h3 {
        font-size: 1.5rem;
    }

    .specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .line-cta {
        padding: 40px 20px;
    }

    .line-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb-section {
        padding: 100px 0 15px;
    }

    .line-hero-content h1 {
        font-size: 2rem;
    }

    .line-subtitle {
        font-size: 1rem;
    }

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

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