/* Fasterpen WooCommerce catalog */
.fp-catalog,
.fp-product-detail {
    --fp-blue: #0651ed;
    --fp-blue-deep: #123fba;
    --fp-brand-dark: #19274e;
    --fp-navy: #0a1128;
    --fp-ink: #25344f;
    --fp-muted: #63718a;
    --fp-line: #dbe6f7;
}

.fp-catalog {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #f8fbff 100%);
    color: var(--fp-ink);
    flex: 1;
    padding: clamp(24px, 3.5vw, 48px) 24px 84px;
}

.fp-catalog a {
    text-decoration: none;
}

.fp-catalog-hero,
.fp-catalog-shell,
.fp-woocommerce-frame {
    max-width: 1400px;
    margin: 0 auto;
}

.fp-catalog-hero {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0,0,0,0.02);
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: center;
    min-height: 430px;
    overflow: hidden;
    padding: clamp(28px, 4vw, 56px);
    position: relative;
}

.fp-catalog-hero::before {
    display: none;
}

.fp-catalog-hero::after {
    display: none;
}

.fp-catalog-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(18px, 3vw, 38px) 0;
    position: relative;
    z-index: 2;
}

.fp-kicker,
.fp-eyebrow {
    align-items: center;
    color: var(--fp-blue);
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    gap: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.fp-catalog-hero .fp-kicker {
    color: var(--fp-blue);
}

.fp-kicker span {
    background: linear-gradient(90deg, #0651ed, #f04438, #ffb400, #13a36b);
    border-radius: 999px;
    height: 4px;
    width: 64px;
}

.fp-catalog-hero h1 {
    color: #0f172a;
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5.4vw, 76px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 18px 0 24px;
    max-width: 720px;
}

.fp-catalog-hero p {
    color: #475569;
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.72;
    margin: 0;
    max-width: 590px;
}

.fp-catalog-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.fp-button {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fp-button:focus-visible,
.fp-category-link:focus-visible,
.fp-text-link:focus-visible,
.fp-chip-link:focus-visible,
.fp-product-card__media:focus-visible,
.fp-product-card h3 a:focus-visible {
    outline: 3px solid rgba(6, 81, 237, .28);
    outline-offset: 3px;
}

.fp-button--primary {
    background: var(--fp-blue);
    box-shadow: 0 8px 20px rgba(6, 81, 237, 0.25);
    color: #ffffff;
}

.fp-button--primary:hover {
    background: #0540bd;
    box-shadow: 0 12px 24px rgba(6, 81, 237, 0.3);
    transform: translateY(-1px);
}

.fp-button--ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #cbd5e1;
    color: #475569;
}

.fp-button--ghost:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.fp-catalog-hero__display {
    align-self: center;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
    min-height: 350px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.fp-catalog-hero__image {
    display: block;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    object-position: center;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
    width: 100%;
}

.fp-catalog-hero__display:hover .fp-catalog-hero__image {
    transform: scale(1.018);
}

.fp-catalog-stat {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 8px;
    bottom: 22px;
    box-shadow: 0 18px 38px rgba(3, 12, 34, 0.1);
    display: flex;
    gap: 13px;
    left: 22px;
    max-width: calc(100% - 44px);
    padding: 14px 18px;
    position: absolute;
}

.fp-catalog-stat strong {
    color: var(--fp-blue);
    font-family: 'Caveat', cursive;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.fp-catalog-stat span {
    color: #34435c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.28;
}

.fp-catalog-shell {
    align-items: start;
    display: grid;
    gap: 32px;
    grid-template-columns: 286px minmax(0, 1fr);
    margin-top: 36px;
}

.fp-category-panel,
.fp-catalog-content,
.fp-woocommerce-frame {
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(216, 226, 242, .86);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(14, 28, 56, .045);
}

.fp-category-panel {
    display: grid;
    gap: 6px;
    padding: 14px;
    position: sticky;
    top: 112px;
}

.fp-category-panel__head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 8px 8px 16px;
}

.fp-category-panel__head span {
    color: var(--fp-navy);
    font-family: 'Caveat', cursive;
    font-size: 31px;
    font-weight: 700;
    line-height: 1;
}

.fp-category-panel__head strong {
    color: var(--fp-muted);
    font-size: 11px;
    font-weight: 650;
}

.fp-category-link {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #263651;
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    min-height: 46px;
    padding: 10px 12px;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.fp-category-link:hover,
.fp-category-link.is-active {
    background: #f6f9ff;
    border-color: #cfdef8;
    color: var(--fp-blue);
}

.fp-category-link__dot {
    background: var(--accent);
    border-radius: 999px;
    height: 10px;
    width: 10px;
}

.fp-category-link span:nth-child(2) {
    font-weight: 700;
    line-height: 1.25;
}

.fp-category-link small {
    color: #7a8aa3;
    font-size: 12px;
    font-weight: 700;
}

.fp-catalog-content {
    padding: clamp(20px, 3vw, 34px);
}

.fp-catalog-toolbar {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.fp-catalog-toolbar h2 {
    color: var(--fp-navy);
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 3.6vw, 54px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 6px 0 0;
}

.fp-catalog-search {
    align-items: center;
    background: #fbfdff;
    border: 1px solid #d1ddf1;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    width: min(360px, 100%);
}

.fp-catalog-search svg {
    fill: none;
    height: 20px;
    stroke: #557092;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 20px;
}

.fp-catalog-search input {
    background: transparent;
    border: 0;
    color: var(--fp-ink);
    flex: 1;
    font: inherit;
    min-width: 0;
    outline: 0;
}

.fp-product-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fp-product-card {
    background: #fff;
    border: 1px solid #e4edf9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fp-product-card:hover {
    border-color: #c8d9f3;
    box-shadow: 0 18px 38px rgba(20, 39, 78, .08);
    transform: translateY(-1px);
}

.fp-product-card__media {
    align-items: center;
    aspect-ratio: 1.16;
    background: #f7faff;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 24px;
}

.fp-product-card__image {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1);
    width: 100%;
}

.fp-product-card:hover .fp-product-card__image {
    transform: scale(1.025);
}

.fp-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 19px 20px 20px;
}

.fp-product-card__meta {
    align-items: center;
    color: var(--fp-blue);
    display: flex;
    font-size: 11px;
    font-weight: 700;
    gap: 10px;
    justify-content: space-between;
    letter-spacing: .08em;
    min-height: 22px;
    text-transform: uppercase;
}

.fp-product-card__meta small {
    color: #8a98ad;
    letter-spacing: 0;
    text-transform: none;
}

.fp-product-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.26;
    margin: 12px 0 9px;
}

.fp-product-card h3 a {
    color: var(--fp-navy);
}

.fp-product-card p {
    color: #5f6f85;
    flex: 1;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 18px;
}

.fp-product-card__actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.fp-text-link {
    color: var(--fp-blue);
    font-size: 14px;
    font-weight: 700;
    transition: color .18s ease;
}

.fp-text-link:hover {
    color: var(--fp-navy);
}

.fp-chip-link {
    background: #edf4ff;
    border: 1px solid #c7d9fa;
    border-radius: 8px;
    color: #0b3ea9;
    font-size: 13px;
    font-weight: 700;
    min-height: 38px;
    padding: 9px 12px;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fp-chip-link:hover {
    background: var(--fp-blue);
    border-color: var(--fp-blue);
    box-shadow: 0 12px 20px rgba(6, 81, 237, 0.18);
    color: #fff;
    transform: translateY(-1px);
}

.fp-empty-state {
    background: #f7faff;
    border: 1px dashed #b9cbed;
    border-radius: 8px;
    color: #50617a;
    font-weight: 700;
    margin: 0;
    padding: 28px;
    text-align: center;
}

.fp-catalog--single {
    padding-top: 56px;
}

.fp-woocommerce-frame {
    padding: clamp(24px, 4vw, 54px);
}

.fp-woocommerce-frame .button,
.fp-woocommerce-frame button.button {
    background-color: var(--fp-blue) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.fp-woocommerce-frame .product_title,
.fp-woocommerce-frame h1.page-title {
    color: var(--fp-navy) !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.fp-woocommerce-frame span.price,
.fp-woocommerce-frame p.price {
    display: none !important;
}

.fp-product-detail {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 46%, #f8fbff 100%);
    color: var(--fp-ink);
    flex: 1;
    padding: clamp(22px, 3vw, 42px) 24px 84px;
}

.fp-detail-breadcrumb,
.fp-detail-hero,
.fp-detail-spec-grid,
.fp-detail-enquiry,
.fp-detail-reviews {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.fp-detail-breadcrumb {
    align-items: center;
    color: #71809a;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    gap: 10px;
    margin-bottom: 20px;
}

.fp-detail-breadcrumb a {
    color: var(--fp-blue);
    text-decoration: none;
}

.fp-detail-hero {
    background:
        linear-gradient(135deg, rgba(25, 39, 78, .98), rgba(6, 81, 237, .9)),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .18), transparent 34%);
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(25, 39, 78, .14);
    display: grid;
    gap: clamp(28px, 4vw, 58px);
    grid-template-columns: minmax(360px, .98fr) minmax(0, 1.02fr);
    min-height: 460px;
    overflow: hidden;
    padding: clamp(28px, 4vw, 56px);
    position: relative;
}

.fp-detail-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 30px 30px;
    content: '';
    inset: 0;
    opacity: .72;
    pointer-events: none;
    position: absolute;
}

.fp-detail-hero__media,
.fp-detail-hero__copy {
    position: relative;
    z-index: 2;
}

.fp-detail-hero__media {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(3, 12, 34, .2);
    display: flex;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
    padding: clamp(18px, 3vw, 36px);
}

.fp-detail-hero__image,
.fp-detail-hero__media img {
    display: block;
    height: auto;
    max-height: 430px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.fp-detail-hero__copy {
    align-self: center;
}

.fp-detail-kicker {
    color: #d8e6ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.fp-detail-hero h1 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4.6vw, 64px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 18px;
}

.fp-detail-hero h1 span {
    display: block;
    font-size: clamp(25px, 3.2vw, 42px);
    margin-top: 8px;
}

.fp-detail-variant {
    color: #ffffff;
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
}

.fp-detail-hero__copy > p:not(.fp-detail-kicker) {
    color: #c7d7f5;
    font-size: 16px;
    line-height: 1.72;
    margin: 0;
    max-width: 620px;
}

.fp-detail-meta {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 26px 0 0;
}

.fp-detail-meta div {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    padding: 14px 16px;
}

.fp-detail-meta dt {
    color: #b9c9e8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.fp-detail-meta dd {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
}

.fp-detail-meta a {
    color: #ffffff;
}

.fp-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.fp-detail-actions .fp-button--primary {
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(8, 19, 55, 0.16);
    color: #0651ed;
}

.fp-detail-actions .fp-button--primary:hover {
    background: #f4f8ff;
    box-shadow: 0 18px 34px rgba(8, 19, 55, 0.2);
    color: #0540bd;
}

.fp-detail-actions .fp-button--ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.42);
    color: #ffffff;
}

.fp-detail-actions .fp-button--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.74);
    color: #ffffff;
}

.fp-detail-spec-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, .9fr);
    margin-top: 28px;
}

.fp-detail-card {
    background: #ffffff;
    border: 1px solid rgba(216, 226, 242, .9);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(14, 28, 56, .045);
    overflow: hidden;
    padding: clamp(22px, 2.5vw, 32px);
    position: relative;
}

.fp-detail-card__marker {
    background: var(--card-accent);
    border-radius: 99px;
    height: 4px;
    margin-bottom: 20px;
    width: 54px;
}

.fp-detail-card h2,
.fp-detail-enquiry h2,
.fp-detail-reviews h2 {
    color: var(--fp-navy);
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 18px;
}

.fp-detail-card ul {
    display: grid;
    gap: 11px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fp-detail-card li {
    color: #46556d;
    line-height: 1.55;
    padding-left: 22px;
    position: relative;
}

.fp-detail-card li::before {
    background: var(--card-accent);
    border-radius: 50%;
    content: '';
    height: 7px;
    left: 0;
    position: absolute;
    top: .55em;
    width: 7px;
}

.fp-detail-enquiry,
.fp-detail-reviews {
    background: #ffffff;
    border: 1px solid rgba(216, 226, 242, .9);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(14, 28, 56, .045);
    margin-top: 28px;
    padding: clamp(24px, 3vw, 40px);
}

.fp-detail-enquiry {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
}

.fp-detail-enquiry__intro p {
    color: #52627d;
    line-height: 1.65;
    margin: 0;
}

.fp-form-notice {
    background: #fff8ed;
    border: 1px solid #f4d3a2;
    border-radius: 8px;
    color: #7b4b0b;
    font-weight: 700;
    margin-top: 20px;
    padding: 12px 14px;
}

.fp-form-notice--success {
    background: #eefbf4;
    border-color: #b8e8cd;
    color: #17663d;
}

.fp-enquiry-form {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fp-enquiry-form label {
    display: grid;
    gap: 7px;
}

.fp-enquiry-form span {
    color: #263651;
    font-size: 13px;
    font-weight: 700;
}

.fp-enquiry-form input,
.fp-enquiry-form textarea {
    background: #fbfdff;
    border: 1px solid #d1ddf1;
    border-radius: 8px;
    color: var(--fp-ink);
    font: inherit;
    min-height: 46px;
    padding: 11px 13px;
    width: 100%;
}

.fp-enquiry-form textarea {
    resize: vertical;
}

.fp-enquiry-form input:focus,
.fp-enquiry-form textarea:focus {
    border-color: var(--fp-blue);
    box-shadow: 0 0 0 3px rgba(6, 81, 237, .12);
    outline: none;
}

.fp-form-wide,
.fp-form-submit {
    grid-column: 1 / -1;
}

.fp-form-submit {
    border: 0;
    cursor: pointer;
    justify-self: start;
}

.fp-detail-reviews .comment-reply-title,
.fp-detail-reviews .woocommerce-Reviews-title {
    color: var(--fp-navy);
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.fp-detail-reviews input,
.fp-detail-reviews textarea,
.fp-detail-reviews select {
    border: 1px solid #d1ddf1;
    border-radius: 8px;
    padding: 10px 12px;
}

.fp-detail-reviews .form-submit input {
    background: var(--fp-blue);
    border: 0;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
}

.fp-detail-reviews .star-rating,
.fp-detail-reviews .star-rating span,
.fp-detail-reviews .comment-form-rating .stars a,
.fp-detail-reviews p.stars a {
    color: #e0a400 !important;
}

.fp-detail-reviews .comment-form-rating .stars a:hover,
.fp-detail-reviews .comment-form-rating .stars a.active,
.fp-detail-reviews p.stars a:hover,
.fp-detail-reviews p.stars a.active {
    color: #f2bf2f !important;
}

@media (max-width: 1180px) {
    .fp-catalog-hero {
        grid-template-columns: 1fr;
    }

    .fp-catalog-hero__display,
    .fp-catalog-hero__image {
        min-height: 360px;
    }

    .fp-catalog-shell {
        grid-template-columns: 1fr;
        margin-top: 24px;
        gap: 24px;
    }

    .fp-catalog-content {
        border-top: 1px solid rgba(216, 226, 242, 0.86);
        border-radius: 8px;
    }

    .fp-category-panel {
        display: flex;
        overflow-x: auto;
        position: relative;
        top: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 4px 16px 12px;
        margin: 0 -16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
        mask-image: linear-gradient(to right, black 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
        scroll-snap-type: x mandatory;
    }

    .fp-category-panel::-webkit-scrollbar {
        height: 4px;
        display: block;
    }

    .fp-category-panel::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    .fp-category-panel::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.02);
        margin: 0 16px;
        border-radius: 4px;
    }

    .fp-category-panel::before {
        display: none;
    }

    .fp-category-link {
        flex: 0 0 auto;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 100px;
        margin-right: 12px;
        margin-left: 0;
        padding: 8px 24px;
        min-height: auto;
        grid-template-columns: auto auto;
        scroll-snap-align: start;
        animation: pillSlide 0.5s ease-out backwards;
    }

    .fp-category-link:nth-child(1) { animation-delay: 0.1s; }
    .fp-category-link:nth-child(2) { animation-delay: 0.2s; }
    .fp-category-link:nth-child(3) { animation-delay: 0.3s; }
    .fp-category-link:nth-child(4) { animation-delay: 0.4s; }

    @keyframes pillSlide {
        from { opacity: 0; transform: translateX(20px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .fp-category-link:first-of-type {
        margin-left: 0;
    }

    .fp-category-link:last-of-type {
        padding-right: 20px;
        margin-right: 16px;
    }

    .fp-category-panel__head {
        display: none;
    }

    .fp-category-link {
        flex: 0 0 auto;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 100px;
        margin-left: 12px;
        padding: 8px 18px;
        min-height: auto;
        grid-template-columns: auto auto;
    }

    .fp-category-link:first-of-type {
        margin-left: 24px;
    }

    .fp-category-link:last-of-type {
        padding-right: 24px; /* Ensure last item isn't cut off */
    }

    .fp-category-link.is-active {
        background: var(--fp-blue);
        border-color: var(--fp-blue);
        color: #ffffff;
    }

    .fp-category-link.is-active small {
        color: rgba(255, 255, 255, 0.8);
    }

    .fp-category-link span:nth-child(2) {
        font-size: 13px;
    }

    .fp-category-link__dot {
        display: none;
    }

    .fp-category-link small {
        display: none; /* Hide count on mobile to keep it tight */
    }

    .fp-detail-hero,
    .fp-detail-spec-grid,
    .fp-detail-enquiry {
        grid-template-columns: 1fr;
    }

    .fp-detail-hero__media {
        min-height: 320px;
    }

    .fp-detail-hero__image,
    .fp-detail-hero__media img {
        max-height: 360px;
    }
}

@media (max-width: 860px) {
    .fp-catalog {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fp-catalog-hero {
        padding: 28px;
    }

    .fp-catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .fp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-product-detail {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fp-detail-hero {
        padding: 28px;
    }

    .fp-detail-meta,
    .fp-enquiry-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .fp-catalog-hero__actions,
    .fp-product-card__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .fp-button,
    .fp-chip-link {
        width: 100%;
        min-height: 40px;
        font-size: 13px;
    }

    .fp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .fp-product-card__body {
        padding: 12px;
    }

    .fp-product-card h3 {
        font-size: 14px;
        margin: 8px 0 6px;
    }

    .fp-product-card p {
        font-size: 12px;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .fp-product-card__meta {
        font-size: 9px;
        gap: 4px;
    }

    .fp-product-card__media {
        padding: 12px;
    }

    .fp-catalog-hero__display,
    .fp-catalog-hero__image {
        min-height: 310px;
    }

    .fp-catalog-stat {
        right: 16px;
    }

    .fp-detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .fp-detail-hero {
        padding: 22px;
    }

    .fp-detail-hero__media {
        min-height: 250px;
        padding: 16px;
    }

    .fp-detail-hero h1 {
        font-size: 34px;
    }

    .fp-detail-hero h1 span {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fp-catalog *,
    .fp-catalog *::before,
    .fp-catalog *::after {
        transition-duration: .01ms !important;
    }
}
