/* =====================================================
   Food Experience Catalog – Frontend Styles v1.8.9
   Tone: Teal & Amber on warm ivory
   Palette: Primary (Teal) #168AA3 · Cream #FFFDF8
            Accent (Amber) #E6A33D · Cream-2 #F3EEE2 · Gray #7C8A8D
   Fonts: Plus Jakarta Sans (UI) + JetBrains Mono (technical accents)
===================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* ─── TOUCH TAP-STATE FIX ────────────────────────────
   On touch devices, :hover styles applied on tap have
   no "mouseleave" to clear them, so buttons/links stay
   visually "stuck" in their hover color after you lift
   your finger. Removing the tap highlight box and only
   loosening hover to devices with a real pointer (mouse)
   makes buttons snap back to their normal look the
   moment you release, while desktop hover still works. */
a, button, input, .pc-btn-primary, .pc-btn-ghost, .pc-btn-book,
.pc-swiper-btn, .pc-cat-pill, .pc-hub__item, .pc-share-fb, .pc-share-zalo,
.pc-pagination .page-numbers, .pc-acc-trigger, .pc-related-nav,
.pc-card, .pc-card__link {
    -webkit-tap-highlight-color: transparent;
}

/* ─── TOKENS ─────────────────────────────────────── */
:root {
    --pc-navy:         #168AA3;
    --pc-blue:         #168AA3;
    --pc-sky:          #E6A33D;
    --pc-copper:       #168AA3;
    --pc-gray:         #7C8A8D;

    --pc-text:         var(--pc-navy);
    --pc-text-2:       rgba(22,138,163,.68);
    --pc-text-3:       var(--pc-gray);
    --pc-border:       rgba(124,138,141,.32);
    --pc-border-strong: rgba(124,138,141,.55);
    --pc-white:        #ffffff;
    --pc-bg:           #FFFDF8;
    --pc-bg-2:         #F3EEE2;

    --pc-tint:         rgba(22,138,163,.06);
    --pc-tint-strong:  rgba(22,138,163,.10);
    --pc-copper-tint:  rgba(22,138,163,.10);

    --pc-radius-sm:    2px;
    --pc-radius:       2px;
    --pc-radius-lg:    2px;

    --pc-shadow-sm:    0 1px 2px rgba(22,138,163,.05);
    --pc-shadow:       0 14px 36px rgba(22,138,163,.09);
    --pc-shadow-lg:    0 26px 56px rgba(22,138,163,.16);

    --pc-trans:        .22s ease;
    --pc-font:         'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --pc-font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
    --pc-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ─── ICONS (Lucide renders inline <svg>, keeps class) ── */
[data-lucide], svg.lucide {
    width: 1em;
    height: 1em;
    stroke-width: 2;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* ─── FULL-WIDTH OVERRIDE for GeneratePress ─────── */
.pc-page-wrap {
    width: 100%;
    background: var(--pc-bg) !important;
    min-height: 60vh;
    font-family: var(--pc-font);
    margin-top: 0;
    overflow-x: hidden;
}

.entry-content:has(.pc-page-wrap),
.inside-article:has(.pc-page-wrap) {
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Strip theme content-wrapper top spacing so the hero sits flush under
   the navbar. Scoped with :has() to only affect wrappers that actually
   contain our page, so the navbar's own containers are untouched.
   Also force our own background over the theme's content-area color
   (e.g. GeneratePress "Content Background"), which otherwise bleeds
   through as a mismatched beige around/behind .pc-page-wrap. */
.site-content:has(.pc-page-wrap),
.content-area:has(.pc-page-wrap),
.container:has(.pc-page-wrap),
#main:has(.pc-page-wrap),
main:has(.pc-page-wrap) {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: var(--pc-bg) !important;
}

.pc-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 32px 24px 64px !important;
}

/* ─── BREADCRUMB ─────────────────────────────────── */
.pc-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 13px;
    color: var(--pc-text-3);
    margin-bottom: 32px;
    font-family: var(--pc-font);
}
.pc-breadcrumb a {
    display: inline-flex;
    align-items: center;
    color: var(--pc-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--pc-trans);
}
.pc-bc-sep {
    font-size: 10px;
    width: .7em;
    height: .7em;
    color: var(--pc-border-strong);
    flex-shrink: 0;
}
.pc-breadcrumb span { color: var(--pc-text-2); font-weight: 500; }

/* ─── ARCHIVE HERO (the one deliberate dark moment) ── */
.pc-archive-hero {
    background: linear-gradient(150deg, var(--pc-navy) 0%, #0E6478 60%, var(--pc-blue) 145%);
    border-radius: var(--pc-radius-lg);
    padding: 64px 40px;
    margin: 0 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(22,138,163,.30);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Full-bleed variant: breaks out of any parent max-width so the hero
   spans the full viewport edge-to-edge, flush with the navbar above it. */
.pc-archive-hero--full {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
    border-left: none;
    border-right: none;
}
.pc-archive-hero--full .pc-archive-hero__inner {
    max-width: 1340px;
    margin: 0 auto;
}
/* Once JS has moved the hero to be a direct child of <body>, drop the
   vw/negative-margin math — a plain 100%-width block is already
   correct and immune to any theme wrapper's overflow clipping. */
.pc-archive-hero--full.pc-hero-portaled {
    width: 100%;
    max-width: 100%;
    position: relative;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}
/* Category image background — taller stage, content anchored to the
   bottom so the photo itself stays the focal point */
.pc-archive-hero.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 480px;
    align-items: flex-end;
    padding-bottom: 52px;
}
.pc-archive-hero__overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 0;
}
/* Soft bottom-anchored scrim — keeps the top/middle of the photo fully
   visible and only darkens the strip behind the title for legibility */
.pc-archive-hero.has-image .pc-archive-hero__overlay {
    display: block;
    background:
        linear-gradient(180deg, rgba(20,8,6,0) 0%, rgba(20,8,6,.04) 40%, rgba(30,11,8,.50) 72%, rgba(22,9,7,.86) 100%),
        linear-gradient(0deg, rgba(20,8,6,.30) 0%, transparent 18%);
}
/* Circuit-trace overlay pattern — decorative grid, only suits the
   solid-gradient (no photo) state */
.pc-archive-hero__circuit {
    position: absolute;
    inset: 0;
    opacity: .4;
    background-image:
        linear-gradient(90deg, rgba(194,133,125,.12) 1px, transparent 1px),
        linear-gradient(0deg, rgba(194,133,125,.12) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}
.pc-archive-hero.has-image .pc-archive-hero__circuit { display: none; }
.pc-archive-hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pc-copper) 50%, transparent);
    z-index: 2;
}
/* Corner brackets — engraved-plate signature */
.pc-archive-hero__inner {
    position: relative;
    z-index: 1;
    padding: 28px 34px;
    border-top: 1px solid rgba(22,138,163,.45);
    border-bottom: 1px solid rgba(22,138,163,.45);
}
.pc-archive-hero.has-image .pc-archive-hero__inner {
    border-top-color: rgba(255,255,255,.28);
    border-bottom-color: rgba(255,255,255,.28);
}
.pc-archive-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--pc-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pc-sky);
    margin: 0 0 12px;
}
.pc-archive-hero.has-image .pc-archive-hero__eyebrow { color: rgba(255,255,255,.85); }
.pc-archive-hero__eyebrow::before,
.pc-archive-hero__eyebrow::after {
    content: '';
    width: 20px;
    height: 1px;
    background: currentColor;
    opacity: .5;
}
.pc-archive-hero__icon {
    width: 58px;
    height: 58px;
    background: rgba(255,255,255,.14);
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: var(--pc-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    color: #fff;
}
.pc-archive-hero.has-image .pc-archive-hero__icon {
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255,255,255,.4);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.pc-archive-hero__title {
    font-family: var(--pc-font);
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    font-style: normal;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -.02em;
    text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.pc-archive-hero__desc {
    color: rgba(255,255,255,.68);
    margin: 0;
    font-size: 15px;
    font-family: var(--pc-font);
    letter-spacing: .01em;
}
.pc-archive-hero.has-image .pc-archive-hero__desc {
    color: rgba(255,255,255,.85);
    text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

/* ─── EXPERIENCE GRID ───────────────────────────── */
.pc-grid {
    display: grid;
    gap: 20px;
}
.pc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pc-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ─── EXPERIENCE CARD ─────────────────────────────
   Editorial photo card: the image IS the card, copy
   lives on a permanent scrim so it reads at rest, not
   just on hover. No icon overlay — the interaction is
   the photo breathing and the story unfolding.
──────────────────────────────────────────────────── */
.pc-card {
    position: relative;
    display: block;
    border-radius: var(--pc-radius-lg);
    overflow: hidden;
    background: var(--pc-navy);
    box-shadow: var(--pc-shadow-sm);
    transition: box-shadow .4s ease, transform .4s ease;
    font-family: var(--pc-font);
}

.pc-card__img-wrap {
    display: block;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--pc-tint);
    position: relative;
}
.pc-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.0);
    transition: transform 1.1s cubic-bezier(.16,.7,.3,1), filter .6s ease;
    filter: saturate(1.02);
}

/* Permanent scrim — legible at rest, deepens on hover
   so the zooming photo never fights the type. */
.pc-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35,10,7,.05) 0%, rgba(35,10,7,0) 30%, rgba(35,10,7,.55) 66%, rgba(35,10,7,.92) 100%);
    transition: background .4s ease;
    pointer-events: none;
    z-index: 1;
}

.pc-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    color: rgba(255,255,255,.92);
    font-family: var(--pc-font-mono);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 0;
    line-height: 1;
}
.pc-card__badge::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--pc-sky);
    vertical-align: middle;
}

.pc-card__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.35);
    font-size: 42px;
}

/* Content sits absolutely over the bottom of the photo —
   no separate white body panel. */
.pc-card__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
}
.pc-card__name {
    font-family: var(--pc-font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 19px;
    margin: 0;
    line-height: 1.24;
    letter-spacing: -.005em;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,.25);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pc-card__name a { color: inherit; text-decoration: none; }

/* Always visible — clamped to 1 line so a long short-desc
   never pushes the card taller or overlaps the badge. */
.pc-card__excerpt {
    font-size: 12.5px;
    color: rgba(255,255,255,.82);
    margin: 6px 0 0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-family: var(--pc-font-mono);
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255,255,255,.4);
    transition: gap .3s ease, border-color .3s ease;
}
.pc-card__link [data-lucide], .pc-card__link svg.lucide { font-size: 11px; transition: transform .3s ease; }

/* ─── PAGINATION ─────────────────────────────────── */
.pc-pagination { margin-top: 44px; text-align: center; }
.pc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--pc-radius-sm);
    border: 1.5px solid var(--pc-border);
    color: var(--pc-text-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin: 0 3px;
    transition: var(--pc-trans);
    font-family: var(--pc-font-mono);
}
.pc-pagination .page-numbers.current {
    background: var(--pc-blue);
    border-color: var(--pc-blue);
    color: #fff;
    box-shadow: 0 2px 10px rgba(22,138,163,.32);
}

/* ─── EMPTY ──────────────────────────────────────── */
.pc-empty {
    text-align: center;
    padding: 80px 40px;
    color: var(--pc-text-3);
}
.pc-empty [data-lucide], .pc-empty svg.lucide { font-size: 48px; display: block; margin: 0 auto 16px; color: var(--pc-blue); opacity: .3; }
.pc-empty p { margin: 0; font-size: 16px; font-family: var(--pc-font); }

/* ─── SINGLE HERO ────────────────────────────────── */
.pc-single-hero {
    display: grid;
    grid-template-columns: 52% 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}

/* ─── GALLERY COLUMN ─────────────────────────────── */
.pc-gallery-col {
    position: sticky;
    top: 80px;
    min-width: 0;
}

.pc-gallery-stage {
    border-radius: var(--pc-radius-lg);
    overflow: hidden;
    background: var(--pc-white);
    box-shadow: var(--pc-shadow);
    border: 1px solid var(--pc-border);
}

.pc-swiper-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    background: var(--pc-white);
}
.pc-swiper-main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pc-white);
}
.pc-swiper-main .swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    padding: 20px;
    display: block;
}

.pc-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: var(--pc-radius);
    background: var(--pc-white);
    border: 1.5px solid var(--pc-border);
    color: var(--pc-blue);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--pc-shadow-sm);
    transition: background var(--pc-trans), color var(--pc-trans), box-shadow var(--pc-trans);
    opacity: 0;
}
.pc-swiper-btn--next { right: 14px; }
.pc-swiper-btn--prev { left: 14px; }

.pc-swiper-dots { bottom: 14px !important; }
.pc-swiper-dots .swiper-pagination-bullet {
    background: var(--pc-text-3);
    opacity: .4;
    border-radius: var(--pc-radius-sm);
}
.pc-swiper-dots .swiper-pagination-bullet-active {
    background: var(--pc-blue);
    opacity: 1;
}

.pc-swiper-thumbs {
    padding: 12px 16px;
    background: var(--pc-tint);
    border-top: 1px solid var(--pc-border);
}
.pc-swiper-thumbs .swiper-slide {
    width: 66px !important;
    height: 66px;
    border-radius: var(--pc-radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: .55;
    transition: var(--pc-trans);
    background: var(--pc-white);
}
.pc-swiper-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pc-swiper-thumbs .swiper-slide-thumb-active {
    border-color: var(--pc-blue);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(22,138,163,.22);
}

.pc-feat-img img {
    width: 100%;
    display: block;
    max-height: 520px;
    object-fit: contain;
    padding: 20px;
}
.pc-no-img {
    aspect-ratio: 1;
    max-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pc-tint);
    color: var(--pc-blue);
    font-size: 72px;
    opacity: .25;
}

/* ─── INFO COLUMN ────────────────────────────────── */
.pc-info-col {
    min-width: 0;
    font-family: var(--pc-font);
}

.pc-cats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.pc-cat-pill {
    background: var(--pc-tint);
    color: var(--pc-blue);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: var(--pc-radius-sm);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-family: var(--pc-font-mono);
    border: 1px solid rgba(22,138,163,.22);
    transition: background var(--pc-trans), color var(--pc-trans);
}

.pc-product-title {
    font-family: var(--pc-font);
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 800;
    color: var(--pc-text);
    margin: 0 0 20px;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.pc-short-desc {
    font-family: var(--pc-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--pc-text-2);
    margin: -6px 0 20px;
}
.pc-short-desc p { margin: 0 0 10px; }
.pc-short-desc p:last-child { margin-bottom: 0; }
.pc-short-desc strong { font-weight: 700; color: var(--pc-text); }
.pc-short-desc em { font-style: italic; }
.pc-short-desc ul,
.pc-short-desc ol { margin: 0 0 10px; padding-left: 20px; }
.pc-short-desc a { color: var(--pc-blue); text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   CONNECT HUB — replaces the old excerpt/info block
═══════════════════════════════════════════════════ */
.pc-hub {
    background: var(--pc-white);
    border-radius: var(--pc-radius-lg);
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    border: 1px solid var(--pc-border);
}
.pc-hub::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(22,138,163,.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(22,138,163,.045) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
    mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.pc-hub__header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 18px;
    background: var(--pc-navy);
    border-bottom: 1px solid rgba(22,138,163,.35);
    position: relative;
    z-index: 1;
}
.pc-hub__header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,.14);
    border: 1.5px solid rgba(255,255,255,.55);
    border-radius: var(--pc-radius-sm);
    flex-shrink: 0;
    color: #fff;
    font-size: 13px;
}
.pc-hub__title {
    font-family: var(--pc-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}
.pc-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px;
    padding: 18px;
    position: relative;
    z-index: 1;
}
.pc-hub__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    background: var(--pc-bg);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    text-decoration: none;
    transition: border-color var(--pc-trans), background var(--pc-trans), transform var(--pc-trans);
}
.pc-hub__item-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pc-tint);
    border: 1px solid rgba(22,138,163,.30);
    border-radius: var(--pc-radius-sm);
    color: var(--pc-blue);
    font-size: 15px;
}
.pc-hub__item-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}
.pc-hub__item-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--pc-text-2);
    text-align: center;
    line-height: 1.3;
    letter-spacing: .01em;
    font-family: var(--pc-font);
}

.pc-divider {
    height: 1px;
    background: var(--pc-border);
    margin: 24px 0;
}

/* CTA block */
.pc-cta-block {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.pc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    background: var(--pc-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--pc-radius);
    border: 1.5px solid var(--pc-blue);
    cursor: pointer;
    transition: background var(--pc-trans), border-color var(--pc-trans), box-shadow var(--pc-trans), transform var(--pc-trans);
    font-family: var(--pc-font);
    letter-spacing: .01em;
    box-shadow: 0 2px 14px rgba(22,138,163,.30);
}
.pc-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    background: transparent;
    color: var(--pc-blue);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--pc-radius);
    border: 1.5px solid var(--pc-border);
    cursor: pointer;
    transition: background var(--pc-trans), border-color var(--pc-trans), color var(--pc-trans);
    font-family: var(--pc-font);
}
.pc-btn-book {
    flex: 1 1 100%;
    justify-content: center;
}

/* Share row */
.pc-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--pc-text-3);
    font-family: var(--pc-font);
}
.pc-share-label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pc-share-fb,
.pc-share-zalo {
    width: 34px;
    height: 34px;
    border-radius: var(--pc-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: transform var(--pc-trans), box-shadow var(--pc-trans);
}
.pc-share-fb  { background: #1877f2; color: #fff; }
.pc-share-zalo { background: var(--pc-blue); color: #fff; }

/* ─── SECTION HEADINGS ───────────────────────────── */
.pc-section-heading {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 20px;
    position: relative;
}
.pc-section-heading__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--pc-border) 0%, var(--pc-gray) 50%, var(--pc-border) 100%);
    display: block;
}
.pc-section-heading__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--pc-bg);
    padding: 0 18px;
    position: relative;
    z-index: 1;
}
.pc-section-heading__icon {
    width: 30px;
    height: 30px;
    border-radius: var(--pc-radius-sm);
    background: var(--pc-navy);
    border: 1.5px solid rgba(255,255,255,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}
.pc-section-heading__text {
    font-family: var(--pc-font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--pc-text);
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ─── ACCORDION ──────────────────────────────────── */
.pc-detail-section { margin-bottom: 56px; }

/* ─── BOOKING FORM (Contact Form 7) ─────────────────── */
.pc-booking-section {
    /* Dự phòng cho trình duyệt tự nhảy tới #book-tour (JS tắt, hoặc
       trước khi JS smooth-scroll kịp chạy) — tránh bị header sticky che. */
    scroll-margin-top: 100px;
}
.pc-booking-form-wrap {
    background: var(--pc-white);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius-lg);
    box-shadow: var(--pc-shadow-sm);
    padding: 32px;
}
.pc-booking-form-wrap .wpcf7-form p { margin: 0 0 16px; }
.pc-booking-form-wrap .wpcf7-form label {
    display: block;
    font-family: var(--pc-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--pc-text);
    margin-bottom: 6px;
}
.pc-booking-form-wrap .wpcf7-form input[type="text"],
.pc-booking-form-wrap .wpcf7-form input[type="email"],
.pc-booking-form-wrap .wpcf7-form input[type="tel"],
.pc-booking-form-wrap .wpcf7-form input[type="date"],
.pc-booking-form-wrap .wpcf7-form input[type="number"],
.pc-booking-form-wrap .wpcf7-form select,
.pc-booking-form-wrap .wpcf7-form textarea {
    width: 100%;
    font-family: var(--pc-font);
    font-size: 14px;
    color: var(--pc-text);
    background: var(--pc-bg);
    border: 1.5px solid var(--pc-border);
    border-radius: var(--pc-radius-sm);
    padding: 11px 14px;
    transition: border-color var(--pc-trans), box-shadow var(--pc-trans);
}
.pc-booking-form-wrap .wpcf7-form input:focus,
.pc-booking-form-wrap .wpcf7-form select:focus,
.pc-booking-form-wrap .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--pc-copper);
    box-shadow: 0 0 0 3px var(--pc-tint);
}
.pc-booking-form-wrap .wpcf7-form textarea { min-height: 120px; resize: vertical; }
.pc-booking-form-wrap .wpcf7-form input[type="submit"] {
    font-family: var(--pc-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--pc-white);
    background: var(--pc-copper);
    border: none;
    border-radius: var(--pc-radius-sm);
    padding: 13px 32px;
    cursor: pointer;
    transition: opacity var(--pc-trans), transform var(--pc-trans);
}
.pc-booking-form-wrap .wpcf7-form input[type="submit"]:hover { opacity: .9; }
.pc-booking-form-wrap .wpcf7-form input[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
.pc-booking-form-wrap .wpcf7-spinner { margin-left: 10px; }
.pc-booking-form-wrap .wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
}
.pc-booking-form-wrap .wpcf7-response-output {
    font-family: var(--pc-font);
    font-size: 13px;
    border-radius: var(--pc-radius-sm);
    margin-top: 16px;
    padding: 12px 16px;
}
@media (max-width: 640px) {
    .pc-booking-form-wrap { padding: 20px; }
}

.pc-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: var(--pc-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(22,138,163,.09), 0 1px 4px rgba(22,138,163,.04);
    border: 1px solid var(--pc-border);
}

.pc-acc-item {
    background: var(--pc-white);
    font-family: var(--pc-font);
    border-bottom: 1px solid var(--pc-border);
}
.pc-acc-item:last-child { border-bottom: none; }

.pc-acc-trigger {
    width: 100%;
    display: flex;
    align-items: stretch;
    padding: 0;
    background: var(--pc-bg);
    border: none;
    cursor: pointer;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--pc-trans);
}
.pc-acc-trigger:active,
.pc-acc-trigger:focus:not(:focus-visible) {
    background: var(--pc-tint);
    outline: none;
}
.pc-acc-trigger:focus-visible {
    outline: 2px solid var(--pc-blue);
    outline-offset: -3px;
}
.pc-acc-item.is-open .pc-acc-trigger {
    background: var(--pc-tint-strong);
    box-shadow: inset 3px 0 0 var(--pc-copper);
}

.pc-acc-trigger__inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 14px;
    padding: 18px 22px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.pc-acc-num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.pc-acc-num__badge {
    width: 28px;
    height: 28px;
    border-radius: var(--pc-radius-sm);
    background: var(--pc-tint-strong);
    color: var(--pc-blue);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--pc-font-mono);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .02em;
    transition: background var(--pc-trans), color var(--pc-trans);
    flex-shrink: 0;
    border: 1px solid rgba(22,138,163,.25);
}
.pc-acc-item.is-open .pc-acc-num__badge {
    background: var(--pc-copper);
    color: #fff;
    border-color: var(--pc-copper);
}

.pc-acc-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--pc-text);
    line-height: 1.45;
    letter-spacing: -.01em;
    transition: color var(--pc-trans);
}
.pc-acc-item.is-open .pc-acc-title {
    color: var(--pc-blue);
    font-weight: 700;
}

.pc-acc-chevron {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--pc-radius-sm);
    border: 1.5px solid rgba(22,138,163,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pc-blue);
    font-size: 12px;
    transition: border-color var(--pc-trans), background var(--pc-trans), color var(--pc-trans), transform var(--pc-trans);
    background: var(--pc-tint);
}
.pc-acc-item.is-open .pc-acc-chevron {
    background: var(--pc-copper);
    border-color: var(--pc-copper);
    color: #fff;
    transform: rotate(180deg);
}

.pc-acc-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
}
.pc-acc-item.is-open .pc-acc-panel { max-height: 2000px; }

.pc-acc-body {
    padding: 4px 24px 26px 68px;
    background: transparent;
    color: var(--pc-text-2);
    font-size: 14px;
    line-height: 1.9;
}
.pc-acc-body p:first-child { margin-top: 0; }
.pc-acc-body p:last-child  { margin-bottom: 0; }
.pc-acc-body p { margin: 0 0 10px; }
.pc-acc-body img { max-width: 100%; height: auto; border-radius: var(--pc-radius-sm); margin: 8px 0; }
.pc-acc-body ul, .pc-acc-body ol { padding-left: 20px; margin: 0 0 10px; }
.pc-acc-body li { margin-bottom: 5px; }
.pc-acc-body strong { color: var(--pc-text); font-weight: 700; }
.pc-acc-body table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.pc-acc-body table th,
.pc-acc-body table td { padding: 10px 14px; border: 1px solid var(--pc-border); font-size: 14px; }
.pc-acc-body table th { background: var(--pc-tint); color: var(--pc-navy); font-weight: 700; }
.pc-acc-body table tr:nth-child(even) td { background: var(--pc-tint); }

.pc-acc-item.is-open + .pc-acc-item { border-top: 2px solid var(--pc-border); }

/* ─── RELATED PRODUCTS SECTION ───────────────────── */
.pc-related-section { margin-bottom: 48px; }
.pc-related-wrap { position: relative; }

.pc-related-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: var(--pc-radius);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(2px);
    border: 1.5px solid var(--pc-border);
    color: var(--pc-blue);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: var(--pc-shadow-sm);
    transition: background var(--pc-trans), color var(--pc-trans), box-shadow var(--pc-trans), opacity var(--pc-trans);
}
.pc-related-nav--prev { left: 6px; }
.pc-related-nav--next { right: 6px; }
.pc-related-nav.is-disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.pc-related-wrap--no-overflow .pc-related-nav { display: none; }

.pc-related-scroll {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--pc-blue) var(--pc-tint);
    padding-bottom: 8px;
    margin: 0 -4px;
}
.pc-related-scroll::-webkit-scrollbar { height: 7px; }
.pc-related-scroll::-webkit-scrollbar-track {
    background: var(--pc-tint);
    border-radius: var(--pc-radius);
}
.pc-related-scroll::-webkit-scrollbar-thumb {
    background: var(--pc-sky);
    border-radius: var(--pc-radius);
}

.pc-related-track {
    display: flex;
    gap: 24px;
    padding: 0 4px;
}

.pc-related-card {
    flex: 0 0 calc((100% - 24px * 3) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

.pc-related-section .pc-section-heading__icon {
    background: linear-gradient(135deg, var(--pc-navy) 0%, var(--pc-blue) 100%);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
    .pc-single-hero { grid-template-columns: 1fr 1fr; gap: 36px; }
    .pc-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .pc-grid--4 { grid-template-columns: repeat(2, 1fr); }

    /* [product_catalog] shortcode grids become a snap-scroll row on
       tablet/mobile, with the next card peeking in at the edge —
       the archive template's own grid is untouched. */
    .pc-grid.pc-grid--scroll {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: var(--pc-blue) var(--pc-tint);
        gap: 16px;
        padding: 4px 4px 12px;
        margin: 0 -4px;
    }
    .pc-grid.pc-grid--scroll::-webkit-scrollbar { height: 7px; }
    .pc-grid.pc-grid--scroll::-webkit-scrollbar-track {
        background: var(--pc-tint);
        border-radius: var(--pc-radius);
    }
    .pc-grid.pc-grid--scroll::-webkit-scrollbar-thumb {
        background: var(--pc-sky);
        border-radius: var(--pc-radius);
    }
    .pc-grid.pc-grid--scroll > .pc-card {
        flex: 0 0 auto;
        width: 46%;
        scroll-snap-align: start;
    }
}
@media (max-width: 520px) {
    .pc-grid.pc-grid--scroll > .pc-card { width: 78%; }
}
@media (max-width: 768px) {
    .pc-container { padding: 24px 16px 48px !important; }
    .pc-single-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .pc-gallery-col { position: static; }
    .pc-swiper-main { max-height: 360px; }
    .pc-archive-hero { padding: 40px 24px; }
    .pc-archive-hero.has-image { min-height: 340px; padding-bottom: 36px; }
    .pc-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .pc-grid--2,
    .pc-grid--3,
    .pc-grid--4 { grid-template-columns: 1fr; }
    .pc-cta-block { flex-direction: column; }
    .pc-btn-primary,
    .pc-btn-ghost { justify-content: center; }
    .pc-swiper-main { max-height: 280px; }
    .pc-section-heading__text { font-size: 11px; }
    .pc-section-heading__inner { padding: 0 10px; }
    .pc-archive-hero { border-radius: var(--pc-radius); }
    .pc-hub__grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }

    .pc-related-track { gap: 14px; }
    .pc-related-card { flex-basis: calc((100% - 14px) / 2); }
    .pc-related-card .pc-card__body { padding: 14px 14px 16px; }
    .pc-related-card .pc-card__name { font-size: 13px; }
    .pc-related-card .pc-card__link { font-size: 12px; }
    .pc-related-nav { width: 32px; height: 32px; font-size: 12px; }
    .pc-related-nav--prev { left: 2px; }
    .pc-related-nav--next { right: 2px; }
}

/* ─── PRINT ──────────────────────────────────────── */
@media print {
    .pc-gallery-col { position: static; }
    .pc-swiper-main, .pc-swiper-thumbs,
    .pc-swiper-btn  { display: none; }
    .pc-feat-img    { display: block; }
    .pc-single-hero { grid-template-columns: 1fr; }
    .pc-share-row, .pc-cta-block { display: none; }
    .pc-page-wrap { background: #fff; }
}

/* ═══════════════════════════════════════════════════
   SHORTCODE GRID — [product_catalog]
   Reuses the same .pc-grid / .pc-card design as the
   archive template — no extra rules needed here.
═══════════════════════════════════════════════════ */

/* ─── HOVER EFFECTS — pointer devices only ──────────
   Scoped to (hover: hover) so touch taps never leave
   buttons/links stuck in a hover-colored state; they
   snap back to normal the instant you lift your finger.
───────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
    .pc-breadcrumb a:hover { color: var(--pc-navy); text-decoration: underline; }
    .pc-card:hover {
        box-shadow: var(--pc-shadow-lg);
        transform: translateY(-6px);
    }
    .pc-card:hover .pc-card__img-wrap img { transform: scale(1.08); filter: saturate(1.08); }
    .pc-card:hover .pc-card__scrim { background: linear-gradient(180deg, rgba(35,10,7,.15) 0%, rgba(35,10,7,.05) 26%, rgba(35,10,7,.66) 62%, rgba(35,10,7,.95) 100%); }
    .pc-card__link:hover { gap: 10px; border-color: #fff; }
    .pc-card__link:hover [data-lucide], .pc-card__link:hover svg.lucide { transform: translateX(2px); }
    .pc-pagination .page-numbers:hover {
        background: var(--pc-blue);
        border-color: var(--pc-blue);
        color: #fff;
        box-shadow: 0 2px 10px rgba(22,138,163,.32);
    }
    .pc-gallery-stage:hover .pc-swiper-btn { opacity: 1; }
    .pc-swiper-btn:hover { background: var(--pc-blue); color: #fff; box-shadow: var(--pc-shadow); }
    .pc-cat-pill:hover { background: var(--pc-blue); color: #fff; border-color: var(--pc-blue); }
    .pc-hub__item:hover {
        border-color: var(--pc-copper);
        background: var(--pc-copper-tint);
        transform: translateY(-2px);
        text-decoration: none;
    }
    .pc-hub__item:hover .pc-hub__item-icon {
        color: var(--pc-copper);
        border-color: var(--pc-copper);
        background: var(--pc-copper-tint);
    }
    .pc-btn-primary:hover {
        background: var(--pc-navy);
        border-color: var(--pc-navy);
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 4px 20px rgba(22,138,163,.36);
    }
    .pc-btn-ghost:hover {
        background: var(--pc-tint);
        border-color: var(--pc-blue);
    }
    .pc-share-fb:hover,
    .pc-share-zalo:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 14px rgba(22,138,163,.24);
        color: #fff;
        text-decoration: none;
    }
    .pc-acc-trigger:hover { background: var(--pc-tint); }
    .pc-acc-item.is-open .pc-acc-trigger:hover {
        background: var(--pc-tint-strong);
    }
    .pc-acc-trigger:hover .pc-acc-chevron {
        border-color: var(--pc-blue);
        background: var(--pc-tint-strong);
    }
    .pc-related-nav:hover {
        background: var(--pc-blue);
        color: #fff;
        box-shadow: var(--pc-shadow);
    }
    .pc-related-scroll::-webkit-scrollbar-thumb:hover { background: var(--pc-blue); }
}
