/* HP Carousel Micro-site - Mobile-first CSS */

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Design Tokens */
:root {
    /* Colors */
    --hp-blue: #024ad8;
    --bg-global: #efefef;
    --card-bg: #ffffff;
    --text: #111111;
    --muted: #6b6b6b;
    --border: #e6e6e6;

    /* Color chips (coloris) */
    --chip-1: #6381a0;
    --chip-2: #999999;
    --chip-3: #333333;

    /* Typography */
    --font-sans: 'Forma DJR Micro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    /* Typography scales */
    --h1-size: 19px;
    --h1-lh: 24px;
    --h1-w: 500;
    --h1-tracking: 0;
    --h3-size: 10px;
    --h3-lh: 13px;
    --h3-w: 500;
    --h3-tracking: 0;
    --h2-size: 14px;
    --h2-lh: 13px;
    --h2-w: 500;
    --h2-tracking: -0.02em;
    --body-size: 9px;
    --body-lh: 13px;
    --body-w: 500;
    --body-tracking: -0.01em;

    /* Layout */
    --radius-card: 20px;
    --gap-screen: 36px;
    --pad-logo: 10px;
    --pad-card: 30px;

    /* Components */
    --pill-w: 132px;
    --pill-h: 22px;
    --pill-radius: 11px;
    --dot-size: 6px;
    --dot-gap: 8px;
    --container-max: 480px;
    --vh: 1vh;
}

/* Webfonts */
@font-face {
    font-family: 'Forma DJR Micro';
    src: url('./assets/fonts/forma-djr-micro-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Base styles */
body {
    font-family: var(--font-sans);
    background-color: var(--bg-global);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

/* Typography */
h1 {
    font: var(--h1-w) var(--h1-size) / var(--h1-lh) var(--font-sans);
    letter-spacing: var(--h1-tracking);
    color: var(--text);
    margin: 0;
}

h2 {
    font: var(--h2-w) var(--h2-size) / var(--h2-lh) var(--font-sans);
    letter-spacing: var(--h2-tracking);
    color: var(--text);
}

h3 {
    font: var(--h3-w) var(--h3-size) / var(--h3-lh) var(--font-sans);
    letter-spacing: var(--h3-tracking);
    color: var(--text);
    font-weight: bold;
    margin: 0px 0 0 0;
}

p {
    font: var(--body-w) var(--body-size) / var(--body-lh) var(--font-sans);
    letter-spacing: var(--body-tracking);
    color: var(--text);
    margin: 0;
}

li {
    font: var(--body-w) var(--body-size) / var(--body-lh) var(--font-sans);
    letter-spacing: -1%;
    color: var(--text);
    line-height: 100%;
    margin: 0;
    font-weight: 600;
}

.blue-list {
    color: var(--hp-blue);
    font-size: 10px;
}

a {
    color: var(--hp-blue);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid var(--hp-blue);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    min-height: calc(var(--vh, 1vh) * 100);
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Carousel */
.carousel {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
    align-items: stretch;
    height: 100%;
}

.carousel::-webkit-scrollbar {
    display: none;
}

/* Slides */
.slide {
    flex: 0 0 calc(100vw - 80px);
    min-width: calc(100vw - 80px);
    max-width: 360px;
    height: calc(var(--vh, 1vh) * 92);
    scroll-snap-align: center;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: center;
}

/* Slide header (HP logo zone) */
.slide-header {
    padding: var(--pad-logo);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.slide-header-officejet {
    padding-bottom: 0;
}

.slide-header .hp-logo {
    height: 30px;
    width: auto;
}

.title-group {
    display: flex;
    gap: 10px;
}

.slide-header .title-group h1 {
    margin-top: 4px;
    font-weight: bold;
}

/* Slide content */
.slide-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    overscroll-behavior-y: contain;
}

/* ScanJet - first product slide: add vertical gap between blocks */
body.scanjet .slide .slide-content.gap-10 {
    gap: 10px;
}

/* Wolf Security badges styling for ScanJet */
body.scanjet .wolf-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.wolf-badge-text {
    font-size: 8px;
    letter-spacing: 0%;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

/* Tailles visuels produits par gamme */
body.officejet .product-image img {
    width: 200px;
    height: auto;
}

body.laserjet .product-image img {
    width: 260px;
    height: auto;
}

/* Rendre les slides scrollables verticalement sur petits écrans si le contenu déborde */
@media (max-width: 375px) and (max-height: 667px) {
    .slide,
    .wolf-intro-slide {
        overflow-y: auto; /* n'affiche le scroll que si nécessaire */
        -webkit-overflow-scrolling: touch; /* inertie iOS */
    }

    /* Fixer la pagination sur petits écrans pour éviter qu'elle scroll avec le contenu */
    .slide .pagination {
        position: fixed !important;
        bottom: 40px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10;
    }

    /* Pagination Wolf Security reste relative sur petits écrans */
    .wolf-intro-slide .pagination {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 20px auto 0 !important;
        display: none !important;
    }

    /* S'assurer que la slide Wolf Security est scrollable */
    .wolf-intro-slide {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Fixer la forme géométrique du bas uniquement sur la slide Wolf Security */
    .wolf-intro-slide .shape-bottom-right {
        position: fixed !important;
        bottom: 0 !important;
        right: 0 !important;
    }

    /* Masquer complètement les formes géométriques sur les autres slides */
    .slide .geometric-shapes,
    .slide .shape-bottom-right,
    .slide .shape-top-left {
        display: none !important;
    }

    /* S'assurer que la forme géométrique de Wolf Security ne reste pas visible derrière les autres slides */
    .slide:not(.wolf-intro-slide) .geometric-shapes,
    .slide:not(.wolf-intro-slide) .shape-bottom-right,
    .slide:not(.wolf-intro-slide) .shape-top-left {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Masquer toutes les formes géométriques par défaut sur petits écrans */
    .shape-bottom-right,
    .shape-top-left {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Masquer complètement la forme géométrique de Wolf Security sur petits écrans */
    .wolf-intro-slide .shape-bottom-right {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Ajouter de l'espace en bas pour permettre le scroll vers le texte "swipez" */
    .wolf-intro-slide .content {
        padding-bottom: 120px !important;
    }
}

/* OfficeJet page: remove top padding only */
body.officejet .slide-content {
    padding-top: 0;
}

/* Wolf Security intro slide - full page */
.wolf-intro-slide {
    /* Full-bleed first slide */
    flex: 0 0 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    scroll-snap-align: center;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Ensure next slide (centered) doesn't reveal Wolf on the left */
    margin-right: 20px; /* complements gap: 20px on mobile */
    align-self: stretch;
}

/* Last slide margin to prevent sticking to screen edge */
.last-slide {
    margin-right: 40px; /* complements gap: 20px on mobile */
}

.wolf-intro-slide .geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.wolf-intro-slide .shape-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 150px 52px 0 0;
    border-color: var(--hp-blue) transparent transparent transparent;
}

.wolf-intro-slide .shape-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 60px;
    background: var(--hp-blue);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.wolf-intro-slide .header {
    padding: 40px 20px 0 20px;
    text-align: right;
}

.wolf-intro-slide .hp-logo {
    height: 40px;
    width: auto;
}

.wolf-intro-slide .content {
    flex: 1;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    overscroll-behavior-y: contain;
}

@supports (height: 100dvh) {
    .slide {
        height: calc(100dvh * 0.92);
    }

    .wolf-intro-slide {
        height: 100dvh;
    }

    .container {
        min-height: 100dvh;
        height: 100dvh;
    }
}

@media (max-width: 430px) {
    .wolf-intro-slide {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .wolf-intro-slide .header {
        padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
    }

    .wolf-intro-slide .content {
        padding: 20px;
        gap: 16px;
    }

    .wolf-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wolf-feature {
        display: block;
    }

    .wolf-feature-text {
        margin-bottom: 12px;
    }

    .wolf-feature-chips {
        justify-content: flex-start;
        margin-bottom: 12px;
    }

    body.officejet .recycled-note {
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        padding: 0 16px;
        margin-top: 12px;
        font-size: 8px;
        line-height: 10px;
        text-align: center;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
        hyphens: auto;
        overflow-x: hidden;
    }
}

.wolf-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0 20px;
}

.wolf-empty-header {
    grid-column: 1;
    grid-row: 1;
}

.wolf-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badges {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.service-item .icon {
    width: 35px;
}

.wolf-feature {
    display: contents;
}

.wolf-feature-text {
    grid-column: 1;
    margin-bottom: 25px;
}

.wolf-feature:last-of-type .wolf-feature-text {
    margin-bottom: 15px;
}

.wolf-feature-chips {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.wolf-intro-slide h1 {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 10px;
    color: var(--text);
}

.wolf-badge img {
    width: 40px;
    height: 40px;
}

.wolf-badge span {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text);
}

.wolf-feature-text {
    flex: 1;
}

.wolf-feature h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 16px;
}

.wolf-feature p {
    font-size: 9px;
    line-height: 11px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.wolf-feature-chips {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 5px;
}

.wolf-chip {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.wolf-chip.essential {
    background-color: var(--chip-2);
}
.wolf-chip.pro {
    background-color: var(--chip-2);
}

.wolf-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;

    background: #e9e9e9;
    color: var(--text);
    padding: 12px 16px;
    border-radius: 25px 0 0 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;

    max-width: 200px;
    align-self: flex-end;
    margin-left: auto;
    margin-right: -20px;
    line-height: 12px;
    font-weight: bold;
}

.wolf-cta img {
    width: 24px;
}

/* Regular intro slide for cards */
.intro-slide .slide-content {
    text-align: center;
    padding: var(--pad-card) var(--pad-card) calc(var(--pad-card) + 20px);
}

.intro-slide h1 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 20px;
}

.wolf-security {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.swipe-indicator {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--muted);
    font-size: 10px;
}

.swipe-indicator::after {
    content: '→';
    font-size: 12px;
}

/* Product image */
.product-image {
    text-align: center;
    margin: 0 0 12px 0;
    position: relative; /* allow overlay badges */
}

.product-image-officejet {
    margin: 0;
}

.product-image img {
    width: 290px;
    height: auto;
    max-width: 100%;
}

/* Function badges (LaserJet only) */
.function-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: #fff;
    border: 2px solid #019ee2;
    color: #019ee2;
    padding: 6px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.function-badge.mono {
    border-color: #999999;
    color: #999999;
}

.function-badge.right {
    left: auto;
    right: 10%;
    transform: none;
}

/* Features grid */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.feature-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.feature-group-inner {
    display: flex;
    flex-direction: column;
    gap: r0px;
}

.feature-group h2 {
    font-weight: bold;
}

.feature-group ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Usage pill */
.usage-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background-color: var(--hp-blue);
    color: white;
    border-radius: var(--pill-radius);
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
}

.usage-pill:hover,
.usage-pill:focus {
    background-color: #0239c4;
    text-decoration: none;
    color: white;
}

.usage-pill-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 14px auto;
    gap: 2px;
}

/* Services row */
.services-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 15px;
    position: relative;
    margin-bottom: 8px;
}

/* OfficeJet: prevent extra vertical space below services-row by removing the extra 1fr track */
body.officejet .services-row {
    grid-template-rows: auto; /* single row only */
    gap: 0 15px; /* no vertical gap, keep 15px between columns */
}

/* And avoid children forcing two rows */
body.officejet .services-row .service-item {
    grid-row: auto;
    display: flex; /* disable subgrid behavior */
    flex-direction: column;
}

.service-item {
    display: grid;
    grid-template-rows: auto auto auto; /* title, badges, extra */
    row-gap: 20px;
    text-align: center;
    position: relative;
    align-content: start;
}

/* badges row */
.service-item .badges {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    gap: 8px 8px;
}

.service-item .badges img:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
}

/* ScanJet: badges inline in a single row */
body.scanjet .service-item .badges {
    display: flex;
    gap: 10px;
}
body.scanjet .service-item .badges img:nth-child(3) {
    grid-column: auto;
    justify-self: auto;
}

/* ScanJet: services-row must have only two columns, image fills the second column */
body.scanjet .services-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto; /* single row */
    align-items: center; /* vertically center items in the row */
}
body.scanjet .services-row .service-item {
    grid-row: auto;
    display: flex;
    flex-direction: column;
    justify-content: center; /* center content vertically within each column */
}
body.scanjet .services-row .service-item img[alt='Détail produit'] {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block; /* remove baseline gap below image */
}

/* extra row below badges */
.service-item .service-extra {
    display: flex;
    justify-content: center;
    /* Reduce the grid row-gap (8px) to an effective 2px just above this block */
    margin-top: -6px;
}

/* Séparateurs centrés entre les colonnes */
.service-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(-15px / 2);
    bottom: 50%;
    transform: translateY(50%);
    width: 1px;
    height: 52px;
    background-color: #000;
}

.service-item h2 {
    text-align: center;
    font-weight: bold;
    font-size: 12px;
}

/* Color chips */
.color-chips {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

/* Center the Coloris chip vertically within its service item */
.services-row .service-item:nth-child(3) {
    grid-template-rows: auto 1fr;
    position: relative;
}
.services-row .service-item:nth-child(3) .color-chips {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    margin-bottom: 0;
}

/* OfficeJet: render Coloris chips in a pyramid (1 on top, 2 below) */
body.officejet .services-row .service-item:nth-child(3) .color-chips.pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.officejet .services-row .service-item:nth-child(3) .color-chips.pyramid .chips-row.top {
    display: flex;
    justify-content: center;
}
body.officejet .services-row .service-item:nth-child(3) .color-chips.pyramid .chips-row.bottom {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.color-chip {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.color-chip.chip-1 {
    background-color: var(--chip-1);
}
.color-chip.chip-2 {
    background-color: var(--chip-2);
}
.color-chip.chip-3 {
    background-color: var(--chip-3);
}

/* Consumables list */
.consumables-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.consumable-item {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 4px;
    font-size: 8px;
}

.consumable-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    align-self: flex-start;
}

.consumable-item-text {
    letter-spacing: -0.06em;
}

.consumable-item-title {
    font-size: 15px;
    font-weight: bold;
}

/* Guarantee block */
.guarantee-block {
    text-align: center;
}

.guarantee-link {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.guarantee-link:hover,
.guarantee-link:focus {
    transform: scale(1.02);
    text-decoration: none;
}

.guarantee-link img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

/* New CTA style for 3 years guarantee */
.guarantee-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #efefef;
    border-radius: 8px;
    padding: 8px 10px;
    min-width: 158px;
    min-height: 53px;
    max-width: 160px;
    width: 100%;
    position: relative;
    cursor: pointer;
    margin-bottom: 30px;
}

.guarantee-cta .icon-3ans {
    width: 36px;
    height: auto;
    flex-shrink: 0;
}

.guarantee-cta .text {
    text-align: left;
    font-weight: 500;
    font-size: 10px;
    line-height: 9px;
    color: #000000;
}

.guarantee-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.guarantee-cta .caption {
    text-align: left;
    font-size: 7px;
    line-height: 9px;
    color: #000000;
}

/* Decorative hand cursor overlapping bottom center */
.guarantee-cta::after {
    content: '';
    position: absolute;
    left: 12%;
    bottom: -10px; /* half outside */
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background: url('assets/icons/hand-cursor.svg') no-repeat center / contain;
    pointer-events: none;
}

/* Pagination dots - inside each card */
.slide .pagination {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--dot-gap);
    background-color: rgba(2, 74, 216, 0.1);
    padding: 3px 6px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.wolf-intro-slide .pagination {
    position: relative;
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--dot-gap);
    background-color: rgba(2, 74, 216, 0.1);
    padding: 3px 6px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

body.officejet .slide .pagination {
    position: sticky;
    bottom: 20px;
    left: auto;
    transform: none;
    align-self: center;
    margin-top: auto;
}

body.officejet .slide-content {
    padding-bottom: 90px;
}

.dot {
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    background-color: rgba(2, 74, 216, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.dot.active {
    background-color: rgba(2, 74, 216, 1);
}

/* OfficeJet: recycled note under pagination */
body.officejet .recycled-note {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 8px;
    line-height: 10px;
    color: var(--muted);
    white-space: nowrap;
}

/* OfficeJet: group pagination + note for consistent positioning */
body.officejet .pagination-stack {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
body.officejet .pagination-stack .pagination {
    position: static; /* override card absolute */
    left: auto;
    transform: none;
}

/* Responsive adjustments */
@media (min-width: 480px) {
    .slide {
        flex: 0 0 400px;
        min-width: 400px;
        max-width: 400px;
        height: 86vh;
    }

    .wolf-intro-slide {
        flex: 0 0 100vw;
        min-width: 100vw;
        max-width: 100vw;
        height: 100vh;
        margin-right: calc((100vw - 400px) / 2);
    }

    .carousel {
        justify-content: center;
        padding: 40px;
    }
}

@media (min-width: 768px) {
    :root {
        --gap-screen: 40px;
        --pad-card: 40px;
    }
}
