/* Print & Craft Co. — Products editorial pages */
:root {
    --brand-purple: #C8B6FF;
    --brand-orange: #FFD1B3;
    --brand-pink: #FAD0E6;
    --brand-teal: #B2EBF2;
    --text-dark: #111111;
    --text-light: #FFFFFF;
    --card-dark: #1A1A1A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--text-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Nav (matches the rest of the site) --- */
#mainNav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 5vw; background: var(--text-dark); position: relative; z-index: 10;
}
.nav-brand img { height: 35px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.5rem; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: opacity 0.2s; white-space: nowrap; }
.nav-links a:hover { opacity: 0.65; }
.cart-container { position: relative; display: flex; align-items: center; }
.cart-icon { width: 22px; height: 22px; fill: none; stroke: var(--text-light); stroke-width: 1.5; }
.cart-badge { position: absolute; top: -6px; right: -10px; background: #E93D3D; color: #fff; font-size: 11px; font-weight: 700; border-radius: 50%; min-width: 18px; height: 18px; display: flex; justify-content: center; align-items: center; }

/* --- Editorial hero --- */
.editorial-hero {
    padding: 90px 8vw 60px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.editorial-hero .kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 24px;
}
.editorial-hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.02;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink), var(--brand-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.editorial-hero p {
    max-width: 620px;
    margin: 28px auto 0;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #AAAAAA;
}

.editorial-hero .hero-cta { margin-top: 34px; }

/* --- Gallery --- */
.gallery-section { margin-bottom: 90px; }
.gallery-tabs, .lightbox-cats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.gallery-tabs {
    max-width: 1300px;
    margin: 0 auto 24px;
    padding: 0 5vw;
}
.gallery-tab {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s;
}
.gallery-tab:hover { border-color: #666; color: var(--text-light); }
.gallery-tab.active {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink), var(--brand-purple));
    border-color: transparent;
    color: var(--text-dark);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5vw;
}
.gallery-tile {
    position: relative;
    border: none;
    padding: 0;
    background: var(--card-dark);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}
.gallery-tile img, .gallery-tile video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-tile:hover img, .gallery-tile:hover video { transform: scale(1.05); }
.gallery-tile .tile-cat {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(17,17,17,0.7);
    backdrop-filter: blur(8px);
    color: var(--text-light);
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 50px;
    pointer-events: none;
}
.gallery-tile .tile-more {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0.65);
    backdrop-filter: blur(3px);
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.gallery-tile .play-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(17,17,17,0.65);
    backdrop-filter: blur(6px);
    color: var(--text-light);
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    padding-left: 4px;
    pointer-events: none;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10,10,10,0.94);
    backdrop-filter: blur(12px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 5vw;
}
.lightbox-close {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}
.lightbox-close:hover { color: var(--text-light); }
.lightbox-stage {
    max-width: min(1100px, 84vw);
    max-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-stage img, .lightbox-stage video {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 12px;
    object-fit: contain;
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.06);
    border: 1px solid #333;
    color: var(--text-light);
    width: 46px; height: 46px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.15); }
.lightbox-arrow.prev { left: 3vw; }
.lightbox-arrow.next { right: 3vw; }
.lightbox-count {
    position: absolute;
    bottom: 108px;
    color: #888;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* --- Lightbox thumbnail strip --- */
.lightbox-thumbs {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    display: flex;
    gap: 8px;
    padding: 14px 5vw 18px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.lightbox-thumbs::-webkit-scrollbar { height: 6px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.strip-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 62px; height: 62px;
    padding: 0;
    background: var(--card-dark);
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s;
}
.strip-thumb:hover { opacity: 0.9; }
.strip-thumb.active {
    opacity: 1;
    border-color: var(--brand-pink);
}
.strip-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.strip-thumb .strip-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 11px;
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
    pointer-events: none;
}

/* --- Magazine feature rows --- */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1300px;
    margin: 0 auto 90px;
    padding: 0 5vw;
    align-items: center;
}
.feature:nth-of-type(even) .feature-media { order: 2; }
.feature-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--card-dark);
    aspect-ratio: 4 / 5;
}
.feature-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-media .issue-tag {
    position: absolute; top: 20px; left: 20px;
    background: rgba(17,17,17,0.7);
    backdrop-filter: blur(8px);
    color: var(--text-light);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    padding: 8px 16px; border-radius: 50px;
}
.feature-copy { padding: 6vw 6vw; }
.feature-copy .feature-number {
    font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
    color: #666; text-transform: uppercase; display: block; margin-bottom: 18px;
}
.feature-copy h2 {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink), var(--brand-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.feature-copy p {
    color: #AAAAAA;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 14px;
}
.feature-copy .detail-list {
    list-style: none;
    margin: 22px 0 30px;
    border-top: 1px solid #2a2a2a;
}
.feature-copy .detail-list li {
    display: flex; justify-content: space-between; gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 0.9rem;
}
.feature-copy .detail-list li span:first-child { color: #777; }
.feature-copy .detail-list li span:last-child { color: var(--text-light); font-weight: 600; text-align: right; }

/* --- Buttons --- */
.btn-shop {
    display: inline-block;
    padding: 15px 42px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink), var(--brand-purple));
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.btn-shop:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(200, 182, 255, 0.5); }
.btn-outline {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 11px 26px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-outline:hover { background: var(--text-light); color: var(--text-dark); }

/* --- Category cards (hub page) --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto 90px;
    padding: 0 5vw;
}
.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-dark);
    text-decoration: none;
    color: var(--text-light);
    padding: 26px;
}
.category-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}
.category-card:hover img { transform: scale(1.06); opacity: 0.75; }
.category-card .card-label { position: relative; z-index: 1; }
.category-card h3 {
    font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px;
}
.category-card p { color: #ccc; font-size: 0.9rem; margin-bottom: 14px; }
.category-card .card-cta {
    font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink), var(--brand-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Section headings --- */
.section-heading {
    max-width: 1300px;
    margin: 0 auto 40px;
    padding: 0 5vw;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.section-heading h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.section-heading a { color: #888; font-size: 0.9rem; text-decoration: none; }
.section-heading a:hover { color: var(--text-light); }

/* --- More-categories strip on category pages --- */
.more-strip {
    max-width: 1300px;
    margin: 0 auto 90px;
    padding: 40px 5vw 0;
    border-top: 1px solid #222;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.more-strip span { color: #777; font-size: 0.9rem; margin-right: 8px; }

/* --- Footer (matches site) --- */
.site-footer {
    background: var(--text-dark);
    border-top: 1px solid #222;
    padding: 70px 8vw 30px;
    font-size: 14px;
    margin-top: auto;
}
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 220px));
    justify-content: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto 60px;
}
.site-footer .footer-col h4 {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 20px; color: #666;
}
.site-footer .footer-col ul { list-style: none; }
.site-footer .footer-col ul li { margin-bottom: 12px; }
.site-footer .footer-col ul li a { color: #ccc; text-decoration: none; transition: color 0.2s; }
.site-footer .footer-col ul li a:hover { color: var(--brand-orange); }
.site-footer .footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    color: #666;
    font-size: 12px;
}
.site-footer .footer-bottom a { color: #aaa; text-decoration: none; }
.site-footer .footer-bottom a:hover { color: var(--text-light); }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .site-footer .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .feature { grid-template-columns: 1fr; margin-bottom: 60px; }
    .feature:nth-of-type(even) .feature-media { order: 0; }
    .feature-copy { padding: 30px 2vw 0; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .editorial-hero { padding: 60px 6vw 40px; }
}
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .category-grid { grid-template-columns: 1fr; }
    .category-card { min-height: 300px; }
    .lightbox-arrow.prev { left: 2vw; }
    .lightbox-arrow.next { right: 2vw; }
}
