/* Admarel product catalogue (FURUNO) */
.pc-page {
    --pc-navy: #2a2e6b;
    --pc-ink: #132a45;
    --pc-muted: #5b6472;
    --pc-line: #e1e7ee;
    --pc-tint: #f4f7fb;
    --pc-accent: #f9b300;
    --pc-accent-ink: #132a45;
    --pc-radius: 12px;
    color: var(--pc-ink);
}

.pc-page *,
.pc-lightbox * {
    box-sizing: border-box;
}

.pc-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b07f00;
}

/* Hero */
.pc-hero {
    padding: 2.5rem 0 2rem;
    background: linear-gradient(180deg, #f4f7fb 0%, #fff 100%);
    border-bottom: 1px solid var(--pc-line);
}

.pc-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.15;
    color: var(--pc-navy);
}

.pc-hero__lead {
    max-width: 760px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--pc-muted);
}

/* Sections */
.pc-section {
    padding: 2.75rem 0;
    scroll-margin-top: 70px;
}

.pc-section--tint {
    background: var(--pc-tint);
}

.pc-section__title {
    margin: 0 0 1.25rem;
    font-size: 1.45rem;
    color: var(--pc-navy);
}

.pc-narrow {
    max-width: 920px;
}

/* Category tiles */
.pc-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.pc-cat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-cat:hover {
    border-color: var(--pc-accent);
    box-shadow: 0 8px 22px rgba(19, 42, 69, 0.08);
}

.pc-cat img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.pc-cat__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pc-cat__name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--pc-navy);
}

.pc-cat__count {
    font-size: 0.88rem;
    color: var(--pc-muted);
}

/* Filters */
.pc-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.pc-filters__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.pc-filters__label {
    margin-right: 0.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pc-muted);
}

.pc-filters__count {
    margin: 0 0 0 auto;
    font-size: 0.9rem;
    color: var(--pc-muted);
}

.pc-chip {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--pc-line);
    border-radius: 999px;
    background: #fff;
    color: var(--pc-ink);
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.pc-chip:hover {
    border-color: var(--pc-navy);
}

.pc-chip.is-active {
    background: var(--pc-navy);
    border-color: var(--pc-navy);
    color: #fff;
}

.pc-empty {
    padding: 1.5rem 0;
    color: var(--pc-muted);
}

/* Product grid & cards */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.pc-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pc-card[hidden] {
    display: none;
}

.pc-card:hover {
    box-shadow: 0 12px 28px rgba(19, 42, 69, 0.1);
    transform: translateY(-2px);
}

.pc-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--pc-line);
}

.pc-card__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pc-card__placeholder {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--pc-navy);
}

.pc-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1.1rem 1.1rem;
}

.pc-card__brand {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b07f00;
}

.pc-card__brand span {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--pc-muted);
}

.pc-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    line-height: 1.3;
}

.pc-card__title a {
    color: var(--pc-navy);
    text-decoration: none;
}

.pc-card__title a:hover {
    text-decoration: underline;
}

.pc-card__summary {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--pc-muted);
}

.pc-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--pc-line);
}

.pc-card__link {
    font-size: 0.88rem;
    color: var(--pc-navy);
    text-decoration: none;
    font-weight: 600;
}

.pc-card__cta {
    padding: 0.45rem 0.8rem;
    border-radius: 6px;
    background: var(--pc-accent);
    color: var(--pc-accent-ink);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pc-card__cta:hover {
    background: #e6a500;
}

/* Buttons */
.pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pc-btn--primary {
    background: var(--pc-accent);
    color: var(--pc-accent-ink);
}

.pc-btn--primary:hover {
    background: #e6a500;
}

.pc-btn--ghost {
    border-color: var(--pc-navy);
    color: var(--pc-navy);
    background: transparent;
}

.pc-btn--ghost:hover {
    background: var(--pc-navy);
    color: #fff;
}

.pc-btn--block {
    width: 100%;
}

/* Product page top */
.pc-product__top {
    padding: 2rem 0 2.5rem;
}

.pc-product__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.pc-gallery__main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 1.25rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: #fff;
    cursor: zoom-in;
}

.pc-gallery__main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pc-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.pc-gallery__thumb {
    flex: 0 0 72px;
    height: 72px;
    padding: 4px;
    border: 2px solid var(--pc-line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.pc-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pc-gallery__thumb.is-active,
.pc-gallery__thumb:hover {
    border-color: var(--pc-accent);
}

.pc-product__title {
    margin: 0 0 0.6rem;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    line-height: 1.2;
    color: var(--pc-navy);
}

.pc-product__tagline {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pc-ink);
}

.pc-product__summary {
    margin: 0 0 1.25rem;
    line-height: 1.65;
    color: var(--pc-muted);
}

.pc-meta {
    display: grid;
    gap: 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid var(--pc-line);
}

.pc-meta > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--pc-line);
    font-size: 0.93rem;
}

.pc-meta dt {
    font-weight: 600;
    color: var(--pc-muted);
}

.pc-meta dd {
    margin: 0;
}

.pc-product__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pc-product__note {
    margin: 0.9rem 0 0;
    font-size: 0.86rem;
    color: var(--pc-muted);
}

/* Product notes (sale restrictions, availability) */
.pc-notes {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #ecd9a8;
    border-left: 4px solid #c8922a;
    border-radius: 8px;
    background: #fdf8ec;
    color: #4a3b1a;
    font-size: 0.92rem;
    line-height: 1.5;
}

.pc-notes__title {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: inherit;
}

.pc-notes p {
    margin: 0;
}

.pc-notes p + p {
    margin-top: 0.4rem;
}

/* Section tabs */
.pc-tabs {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--pc-line);
    border-bottom: 1px solid var(--pc-line);
}

.pc-tabs__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.pc-tabs__inner::-webkit-scrollbar {
    display: none;
}

.pc-tabs a {
    padding: 0.9rem 0;
    color: var(--pc-ink);
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.pc-tabs a:hover {
    border-bottom-color: var(--pc-accent);
}

.pc-tabs a.pc-tabs__cta {
    margin-left: auto;
    color: #b07f00;
}

/* Prose */
.pc-prose {
    font-size: 1.02rem;
    line-height: 1.7;
}

.pc-prose p {
    margin: 0 0 1rem;
}

/* Features */
.pc-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.pc-feature {
    padding: 1.2rem 1.25rem;
    border: 1px solid var(--pc-line);
    border-left: 4px solid var(--pc-accent);
    border-radius: 10px;
    background: #fff;
}

.pc-feature h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    color: var(--pc-navy);
}

.pc-feature p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--pc-muted);
}

/* Specs */
.pc-specs {
    display: grid;
    gap: 1.25rem;
}

.pc-specs__table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.93rem;
}

.pc-specs__table caption {
    padding: 0 0 0.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pc-navy);
}

.pc-specs__table th,
.pc-specs__table td {
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--pc-line);
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}

.pc-specs__table tr:last-child th,
.pc-specs__table tr:last-child td {
    border-bottom: 0;
}

.pc-specs__table th {
    width: 36%;
    background: var(--pc-tint);
    font-weight: 600;
    color: var(--pc-ink);
}

.pc-specs__note {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    color: var(--pc-muted);
}

/* Downloads */
.pc-downloads {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-downloads a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    background: #fff;
    color: var(--pc-ink);
    text-decoration: none;
    font-size: 0.93rem;
    line-height: 1.35;
}

.pc-downloads a:hover {
    border-color: var(--pc-navy);
}

.pc-downloads__icon {
    flex-shrink: 0;
    padding: 0.3rem 0.45rem;
    border-radius: 5px;
    background: #c0392b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* Inquiry */
.pc-inquiry {
    background: var(--pc-navy);
    color: #fff;
}

.pc-inquiry__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
}

.pc-inquiry .pc-section__title {
    color: #fff;
}

.pc-inquiry .pc-eyebrow {
    color: var(--pc-accent);
}

.pc-inquiry__intro p {
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.pc-inquiry__product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0.9rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.pc-inquiry__product img {
    width: 80px;
    height: 64px;
    object-fit: contain;
    padding: 4px;
    border-radius: 6px;
    background: #fff;
}

.pc-inquiry__product div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.95rem;
}

.pc-inquiry__product span {
    font-size: 0.8rem;
    color: var(--pc-accent);
}

.pc-inquiry__form-wrap {
    padding: 1.5rem;
    border-radius: var(--pc-radius);
    background: #fff;
    color: var(--pc-ink);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.pc-form {
    display: grid;
    gap: 0.9rem;
}

.pc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.pc-form__row--tight {
    grid-template-columns: 1fr 96px;
}

.pc-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.pc-field span {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--pc-muted);
}

.pc-field input,
.pc-field textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background: #fff;
    color: var(--pc-ink);
    font: inherit;
    font-size: 0.95rem;
}

.pc-field input:focus,
.pc-field textarea:focus {
    outline: 2px solid rgba(249, 179, 0, 0.55);
    outline-offset: 0;
    border-color: var(--pc-accent);
}

.pc-check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--pc-muted);
}

.pc-check input {
    margin-top: 0.2rem;
}

.pc-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pc-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.93rem;
    line-height: 1.5;
}

.pc-alert ul {
    margin: 0;
    padding-left: 1.1rem;
}

.pc-alert--success {
    background: #e7f6ec;
    color: #1d6b3a;
    border: 1px solid #b8e2c6;
}

.pc-alert--error {
    background: #fdecea;
    color: #9b2c1f;
    border: 1px solid #f5c1ba;
}

.pc-grid--four {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.pc-cat-description {
    margin-top: 2.5rem;
    max-width: 900px;
    line-height: 1.7;
}

/* Sticky mobile CTA */
.pc-sticky-cta {
    display: none;
}

@media (max-width: 900px) {
    .pc-product__grid,
    .pc-inquiry__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    .pc-product__grid > *,
    .pc-inquiry__grid > * {
        min-width: 0;
    }

    .pc-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--pc-line);
        box-shadow: 0 -6px 18px rgba(19, 42, 69, 0.1);
        transform: translateY(110%);
        transition: transform 0.25s ease;
    }

    .pc-sticky-cta.is-visible {
        transform: translateY(0);
    }

    .pc-sticky-cta__title {
        font-weight: 700;
        color: var(--pc-navy);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pc-sticky-cta .pc-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
}

@media (max-width: 600px) {
    .pc-hero {
        padding: 1.75rem 0 1.5rem;
    }

    .pc-section {
        padding: 2rem 0;
    }

    .pc-form__row {
        grid-template-columns: 1fr;
    }

    .pc-form__row--tight {
        grid-template-columns: 1fr 90px;
    }

    .pc-inquiry__form-wrap {
        padding: 1.1rem;
    }

    .pc-specs__table th {
        width: 42%;
    }

    .pc-filters__count {
        margin-left: 0;
        width: 100%;
    }

    .pc-product__actions .pc-btn {
        flex: 1 1 100%;
    }
}

/* Lightbox */
.pc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 4rem;
    background: rgba(10, 18, 33, 0.92);
}

.pc-lightbox[hidden] {
    display: none;
}

.pc-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.pc-lightbox__close,
.pc-lightbox__nav {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
}

.pc-lightbox__close {
    top: 1rem;
    right: 1rem;
}

.pc-lightbox__nav--prev {
    left: 1rem;
}

.pc-lightbox__nav--next {
    right: 1rem;
}

.pc-lightbox__close:hover,
.pc-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

body.pc-lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .pc-lightbox {
        padding: 4rem 0.75rem;
    }

    .pc-lightbox__nav {
        top: auto;
        bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-card,
    .pc-sticky-cta {
        transition: none;
    }
}
