/* Samples category pages — self-contained, does not depend on missing tokens */
.cat-page-hero {
    position: relative;
    padding: calc(var(--header-height, 76px) + 56px) var(--section-x, 8%) 72px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 42%, #e8f4fd 100%);
    overflow: hidden;
}
.cat-page-hero-bg {
    position: absolute;
    top: -80px;
    right: -120px;
    width: min(520px, 55vw);
    height: min(520px, 55vw);
    opacity: 0.22;
    pointer-events: none;
    border-radius: 50%;
}
html[dir="rtl"] .cat-page-hero-bg {
    right: auto;
    left: -120px;
}
.cat-page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--content-max, 1200px);
    margin: 0 auto;
}
.cat-page-hero > .breadcrumb {
    position: relative;
    z-index: 2;
    margin: 0 0 22px;
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
}
.cat-page-hero > .breadcrumb a {
    color: var(--primary, #0077b6);
    text-decoration: none;
}
.cat-page-hero > .breadcrumb a:hover {
    color: var(--primary-dark, #005f8a);
    text-decoration: underline;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary, #002d56);
    margin-bottom: 16px;
}
.cat-page-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 900;
    color: var(--secondary, #002d56);
    margin-bottom: 16px;
    line-height: 1.15;
}
.cat-page-hero p {
    color: var(--text-muted, #64748b);
    max-width: var(--readable-max, 760px);
    line-height: 1.7;
    font-size: clamp(1.05rem, 1vw, 1.22rem);
}
.cat-page-stats {
    display: flex;
    gap: 40px;
    margin: 28px 0;
    flex-wrap: wrap;
}
.cat-page-stat-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
}
.cat-page-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cat-sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.cat-sidebar-link {
    padding: 8px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border-light, #e2e8f0);
    text-decoration: none;
    color: var(--secondary, #002d56);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}
.cat-sidebar-link:hover,
.cat-sidebar-link.active {
    background: var(--primary, #0077b6);
    color: #fff;
    border-color: var(--primary, #0077b6);
}
.sample-gallery-section {
    padding: var(--section-y, 80px) var(--section-x, 8%);
}
.sample-gallery-section .section-title {
    text-align: center;
    margin-bottom: 48px;
}
.sample-gallery-section .section-title h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary, #002d56);
}
.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--grid-gap, 28px);
    max-width: var(--page-max, 1600px);
    margin: 0 auto;
}
.sample-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border-light, #e2e8f0);
    opacity: 1;
    transform: none;
    transition: opacity 0.4s, transform 0.4s, box-shadow 0.4s;
}
.sample-card.show {
    opacity: 1;
    transform: none;
}
.sample-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.sample-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}
.sample-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.sample-card:hover .sample-card-img img {
    transform: scale(1.05);
}
.sample-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}
.sample-card:hover .sample-card-overlay {
    opacity: 1;
}
.zoom-btn, .inquiry-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--secondary, #002d56);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.sample-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary, #0077b6);
}
html[dir="rtl"] .sample-badge {
    left: auto;
    right: 12px;
}
.sample-card-info {
    padding: 20px;
}
.sample-card-info h3 {
    font-size: 1.05rem;
    color: var(--secondary, #002d56);
    margin-bottom: 6px;
}
.sample-variant {
    font-size: 0.8rem;
    color: var(--text-muted, #64748b);
}
.sample-cta-section {
    background: linear-gradient(135deg, #0a2a43, #0d3b5e);
    padding: var(--section-y, 80px) var(--section-x, 8%);
    text-align: center;
    color: #fff;
}
.sample-cta-content {
    max-width: 800px;
    margin: 0 auto;
}
.sample-cta-content h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
}
.sample-cta-content p {
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 28px;
}
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}
.lightbox.active {
    display: flex;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-caption {
    color: #fff;
    margin-top: 16px;
}
.lightbox-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.animate-up { animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .cat-page-hero {
        padding: calc(var(--header-height, 76px) + 36px) 5% 56px;
    }
    .cat-page-stats { gap: 24px; }
}
