/* Project-owned storefront styles. Loaded after the theme so it can override it. */

/* Temporary text wordmark, shown until a site logo is configured in settings. */
.site-wordmark {
    color: var(--black);
    display: inline-block;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.dark .site-wordmark {
    color: var(--white);
}

/* .header-area (partials/header-hero.blade.php) sits on a dark hero and
   already sets its own nav-link color to white; the text wordmark is a
   project component the vendor rule doesn't reach, so it needs the same
   treatment here. */
.header-area .site-wordmark {
    color: var(--white);
}

/* The offcanvas logo box is sized for a fixed-width image; let the text wordmark
   use its own width and wrap instead of overflowing into the close button. */
.offset-logo:has(.site-wordmark) {
    width: auto;
    max-width: 160px;
}

.offset-logo .site-wordmark {
    font-size: 18px;
    white-space: normal;
}

/* == header navigation == */
/* The theme only opens .dp-menu on :hover, leaving it unreachable by
   keyboard. Mirror the hover state on focus-within so Tab navigation can
   reach the dropdown links. */
.main-menu li.menu-item-has-children:focus-within > ul.dp-menu {
    opacity: 1;
    pointer-events: all;
}

/* == breadcrumb == */
.breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.breadcrumb li:not(:first-child)::before {
    content: "/";
    color: var(--secondary);
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb li.is-current span {
    color: var(--primary);
    font-weight: 500;
}

/* == product grid == */
/* Modelled on the theme's works-12-wrapper mechanics (plain responsive
   columns, fixed aspect-ratio image box), not on .team-8-wrapper, which is
   hard-coded for exactly five items. */
.product-grid {
    display: grid;
    gap: 44px 10px;
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1199px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Staggered look reproduced with a repeating cycle, never fixed nth-child
   positions, so it still works past the fifth item and across page
   boundaries. */
.product-grid > *:nth-child(4n+2) {
    margin-top: 60px;
}

.product-grid > *:nth-child(4n+4) {
    margin-top: 30px;
}

@media (max-width: 767px) {
    .product-grid > *:nth-child(n) {
        margin-top: 0;
    }
}

/* Card visuals mirror the theme's team-8-box look (thumb overflow hidden,
   scale(1.1) hover, title line, secondary line), authored as a project
   component rather than by reusing the team classes. */
.product-card {
    pointer-events: none;
}

.product-card__thumb-link {
    display: block;
    pointer-events: auto;
}

.product-card__thumb {
    position: relative;
    aspect-ratio: 100/82;
    overflow: hidden;
    background-color: var(--border);
}

.product-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-card__thumb img {
    transform: scale(1.1);
}

/* Reserved for a later promotions issue; product-card.blade.php never
   renders this yet because campaignLabel stays empty until promotions
   exist. */
.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 3px;
    background-color: var(--action);
    color: var(--white);
    font-size: 12px;
    line-height: 1.4;
}

.product-card__content {
    margin-top: 15px;
    pointer-events: auto;
}

.product-card__brand {
    display: block;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary);
}

.product-card__title {
    margin: 4px 0 0;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.05em;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
}

.product-card__title a:hover {
    color: var(--secondary);
}

.product-card__price {
    display: block;
    margin-top: 6px;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 16px;
    color: var(--primary);
}

.product-card__price-compare {
    margin-left: 8px;
    color: var(--secondary);
    text-decoration: line-through;
    font-size: 14px;
}

.product-card__availability {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
}

.product-card__availability--warning {
    color: var(--action);
}

/* The theme has no error/critical design token (--primary/--secondary/
   --action are its only semantic colors), so this is a deliberate one-off
   rather than a missed var(--...) reference. */
.product-card__availability--critical {
    color: #C0392B;
}

/* == pagination == */
/* A project-owned name, not the bare .pagination class: almost every
   .pagination selector in the vendor CSS is swiper slider pagination. */
.pagination-nav {
    margin-top: 60px;
}

@media (max-width: 991px) {
    .pagination-nav {
        margin-top: 40px;
    }
}

.pagination-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Prev/Next controls reuse the bordered-pill button language of
   .work-details-area .pagination a, the theme's only non-swiper
   pagination markup. */
.pagination-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 24px;
    border: 1px solid var(--border);
    border-radius: 90px;
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font_bdogrotesk), sans-serif;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.pagination-control:hover {
    background-color: var(--primary);
    border-color: transparent;
    color: var(--white);
}

.dark .pagination-control:hover {
    color: var(--black);
}

.pagination-control.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font_bdogrotesk), sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

.pagination-page:hover {
    background-color: var(--border);
}

.pagination-page.is-current {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 500;
}

.dark .pagination-page.is-current {
    color: var(--black);
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--secondary);
}

/* == empty state == */
.empty-state {
    padding: 80px 20px;
    text-align: center;
}

.empty-state__title {
    margin: 0;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 20px;
}

.empty-state__description {
    margin: 8px 0 0;
    color: var(--secondary);
}

/* == category toolbar == */
/* Filter shell (F09-T05, filled in by #96) and sort control (F09-T06),
   built from scratch: the theme ships no isotope/filter/sort UI at all. */
.category-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    /* team-8-wrapper's own boxes are position: static (vendor CSS), and by
       design (grid-column: 4 on the first box, large negative margin-top on
       the rest, section 3.1) they visually float up over whatever precedes
       them — the art direction of the five hero cards only; the overflow
       grid below them does not float. Without a stacking context here,
       that later-in-DOM static content paints over this toolbar too,
       making the sort control unclickable.
       position + z-index (no vendor file touched) keeps it on top. */
    position: relative;
    z-index: 1;
}

.category-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    color: var(--secondary);
}

.category-toolbar__filters-label {
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.category-toolbar__filters-placeholder {
    font-size: 14px;
}

.category-toolbar__sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.category-toolbar__sort-label {
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 14px;
    color: var(--secondary);
}

.category-toolbar__sort-select {
    height: 42px;
    padding: 0 36px 0 16px;
    border: 1px solid var(--border);
    border-radius: 90px;
    background-color: transparent;
    color: var(--primary);
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 14px;
}

/* Auto-submitting the select on change would be a JS-only interaction; the
   button keeps the form usable with keyboard/no-JS, so it stays visible
   rather than being hidden behind progressive enhancement. */
.category-toolbar__sort-submit {
    height: 42px;
    padding: 0 20px;
    border: 1px solid var(--border);
    border-radius: 90px;
    background-color: transparent;
    color: var(--primary);
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.category-toolbar__sort-submit:hover {
    background-color: var(--primary);
    border-color: transparent;
    color: var(--white);
}

.dark .category-toolbar__sort-submit:hover {
    color: var(--black);
}

/* == team-8-box availability (storefront.catalog.categories.default only) == */
/* Mirrors .product-card__availability's warning/critical tone split; a
   separate class because team-8-box is vendor markup (name/post only) with
   no availability slot of its own. */
.team-8-box__availability {
    display: inline-block;
    margin-top: 4px;
    font-size: 14px;
}

.team-8-box__availability--warning {
    color: var(--action);
}

.team-8-box__availability--critical {
    color: #C0392B;
}

/* The vendor -150px top margin on .team-8-wrapper-box pulls the first hero
   card up over the toolbar above it on wide viewports; cancel it there so the
   sort control never sits on top of a product photo. */
@media (min-width: 1200px) {
    .category-toolbar + .team-8-wrapper-box {
        margin-top: 0;
    }
}

/* == category product overflow grid (storefront.catalog.categories.default only) == */
/* Continues the listing after the five team-8 hero cards (page 1) and carries
   the whole listing on later pages. Spacing separates it from the team-8
   block above; the grid itself is the shared .product-grid. */
.product-grid--category-overflow {
    margin-top: 120px;
}

@media (max-width: 1199px) {
    .product-grid--category-overflow {
        margin-top: 80px;
    }
}

@media (max-width: 767px) {
    .product-grid--category-overflow {
        margin-top: 40px;
    }
}

/* == product gallery == */
/* New design work (#38): the purchased theme has no gallery of its own.
   The cover image sits in the hero's own .section-thumb
   (temp/storefront-theme/tuttourundetay2-2.html); this is the thumbnail
   rail for the remaining images, sharing the storefront image ratio from
   docs/reference/storefront-theme-conventions.md section 4. */
/* The vendor .hero-area-service-details .section-thumb img rule only sets
   width: 100% (no height/aspect-ratio), so the browser reserves a box from
   the <img> width/height attributes alone; those attributes cannot match
   every source photo's exact ratio, so this pins the box to the same
   storefront ratio the rest of the gallery uses and crops with object-fit,
   avoiding layout shift once the real (non-square) image loads. */
.hero-area-service-details .section-thumb {
    aspect-ratio: 100/82;
    overflow: hidden;
}

.hero-area-service-details .section-thumb img {
    height: 100%;
    object-fit: cover;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.product-gallery__thumb {
    display: block;
    aspect-ratio: 100/82;
    overflow: hidden;
    background-color: var(--border);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.product-gallery__thumb:hover img {
    opacity: 0.8;
}

/* == product info == */
/* New design work (#39): brand/price/stock info block, rendered between the
   breadcrumb and the gallery thumbnail rail. Mirrors .product-card's price
   language (docs/reference/storefront-theme-conventions.md section 3.2). */
.product-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.product-detail__brand {
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary);
}

.product-detail__price {
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 22px;
    color: var(--primary);
}

.product-detail__price-compare {
    margin-left: 8px;
    color: var(--secondary);
    text-decoration: line-through;
    font-size: 16px;
}

.product-detail__stock {
    font-size: 14px;
}

.product-detail__stock--warning {
    color: var(--action);
}

/* Same one-off critical color as .product-card__availability--critical: the
   theme has no error/critical design token of its own. */
.product-detail__stock--critical {
    color: #C0392B;
}

/* == variant selector == */
/* New design work (#39): color/image/text swatches, one group per
   product_group_options dimension. Links are real anchors to sibling
   variant URLs (F09-T11); unavailable combinations render as a disabled
   <span>, never as a link to an invented URL
   (docs/reference/catalog-variant-architecture-decisions.md). */
.product-options {
    margin-top: 24px;
}

.product-options__group {
    margin-top: 16px;
}

.product-options__label {
    display: block;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary);
}

.product-options__values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.product-options__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s;
}

.product-options__value--color_swatch,
.product-options__value--image_swatch {
    padding: 0;
    width: 40px;
    overflow: hidden;
}

.product-options__value:hover {
    border-color: var(--primary);
}

.product-options__value.is-selected {
    border-color: var(--primary);
    border-width: 2px;
}

.product-options__value.is-unavailable {
    opacity: 0.35;
    cursor: default;
    position: relative;
}

.product-options__value.is-unavailable::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, transparent calc(50% - 1px), var(--secondary), transparent calc(50% + 1px));
}

.product-options__swatch {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.product-options__swatch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-options__text {
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 14px;
    white-space: nowrap;
}

/* == product specifications == */
/* F09-T13: reuses the theme's own approach-area-service-details-page
   section (temp/storefront-theme/tuttourundetay2-2.html), which the owner
   had already set aside for this purpose, instead of a new project
   component. approach-box ships as a 3-column row (60px number + title +
   text); the row number is dropped here by owner decision, so this
   overrides it down to a 2-column row (title + text) at every breakpoint
   the vendor rule defines one for. Everything else in the section
   (.approach-wrapper-box, .approach-wrapper, .approach-box .title/.text,
   .service-9__info) is unmodified vendor styling. */
.approach-area-service-details-page .approach-box {
    grid-template-columns: 1fr 360px;
}

@media only screen and (max-width: 1919px) {
    .approach-area-service-details-page .approach-box {
        grid-template-columns: 1fr 395px;
    }
}

@media only screen and (max-width: 1399px) {
    .approach-area-service-details-page .approach-box {
        grid-template-columns: 1fr;
    }
}

/* == admin product preview pricing (admin-only, shared show.blade.php) == */
.admin-preview-pricing {
    margin: 40px 0;
    padding: 30px;
    border: 1px solid var(--border);
}

.admin-preview-pricing__fields {
    display: grid;
    gap: 20px;
    margin-top: 20px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 767px) {
    .admin-preview-pricing__fields {
        grid-template-columns: 1fr;
    }
}

.admin-preview-pricing__fields dt {
    font-size: 13px;
    color: var(--secondary);
}

.admin-preview-pricing__fields dd {
    margin: 4px 0 0;
    font-weight: 500;
}

.admin-preview-pricing__variable {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.admin-preview-pricing__counts {
    margin-top: 6px;
    font-size: 13px;
    color: var(--secondary);
}

/* == related products == */
/* Placeholder area (#40): reserves the .product-grid / .product-card
   contract #35 established, plus the empty-state fallback #36 established,
   for #53's real related-products query. */
.product-related .product-grid,
.product-related .empty-state {
    margin-top: 40px;
}

/* == self-hosted fonts == */
/* DM Sans replaces the Google Fonts @import that was removed from style.css (#150).
   The variable font keeps the 100-1000 weight range the theme expects. */
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../fonts/dm-sans/dm-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../fonts/dm-sans/dm-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "DM Sans";
    font-style: italic;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../fonts/dm-sans/dm-sans-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "DM Sans";
    font-style: italic;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../fonts/dm-sans/dm-sans-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* == dangling vendor asset references == */
/* The theme classes below point at files the purchase did not ship (#150).
   None of them is used by the storefront layout; drop the dead URLs so no
   404 request can ever be made if one is adopted later. */
.go-top-writer,
.light.go-top-writer {
    background-image: none;
}

.sonny_progressbar .targetBar.loader {
    background-image: none;
}

/* The vendor mask sprite was hosted on GitHub and was removed from style.css.
   Without the mask the pseudo-element would be a solid cover, so hide it. */
.btn-hover-mask::after {
    display: none;
}

/* == error pages == */
/* Extends the theme's .error-area block (404.html) for the shared storefront
   error and system pages. The vendor box is a fixed 100vh; the 404 page adds a
   category list, so it must be allowed to grow. The vendor header is absolutely
   positioned, hence the top padding. */
.error-area-inner {
    height: auto;
    min-height: 100vh;
    padding: 140px 0 80px;
}

.error-area__text {
    max-width: 520px;
    margin: 24px auto 0;
}

.error-area__links {
    margin-top: 56px;
}

.error-area__links-heading {
    font-size: 18px;
    margin-bottom: 16px;
}

.error-area__links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.error-area__links a {
    text-decoration: underline;
}

/* == content pages == */
/* Managed content pages (storefront.pages.*). The theme's page-title is a
   140px display size meant for the home page; legal and trust page titles are
   long, so scale them down. */
.content-page-title .page-title {
    font-size: 72px;
    line-height: 80px;
    letter-spacing: -2px;
    overflow-wrap: anywhere;
}

@media only screen and (max-width: 991px) {
    .content-page-title .page-title {
        font-size: 48px;
        line-height: 56px;
        letter-spacing: 0;
    }
}

@media (max-width: 575px) {
    .content-page-title .page-title {
        font-size: 32px;
        line-height: 40px;
    }
}

.content-page__body {
    max-width: 860px;
    padding-top: 40px;
}

/* The theme sets font-size and line-height on p itself, so the body size has
   to be set on the elements, not inherited from the container. */
.content-page__body p,
.content-page__body li {
    font-size: 18px;
    line-height: 1.7;
}

.content-page__body > :first-child {
    margin-top: 0;
}

.content-page__body h2,
.content-page__body h3,
.content-page__body h4,
.content-page__body h5,
.content-page__body h6 {
    margin: 2em 0 0.6em;
    line-height: 1.25;
}

.content-page__body h2 {
    font-size: 32px;
}

.content-page__body h3 {
    font-size: 24px;
}

.content-page__body h4 {
    font-size: 20px;
}

.content-page__body p,
.content-page__body ul,
.content-page__body ol,
.content-page__body blockquote,
.content-page__body table {
    margin: 0 0 1.2em;
}

.content-page__body ul,
.content-page__body ol {
    padding-left: 1.4em;
}

.content-page__body ul {
    list-style: disc;
}

.content-page__body ol {
    list-style: decimal;
}

.content-page__body a {
    text-decoration: underline;
}

.content-page__body blockquote {
    padding-left: 20px;
    border-left: 2px solid var(--border);
    color: var(--secondary);
}

.content-page__body table {
    width: 100%;
    border-collapse: collapse;
}

.content-page__body th,
.content-page__body td {
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 12px;
    border: 1px solid var(--border);
    text-align: left;
}

.content-page__body img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 575px) {
    .content-page__body {
        padding-top: 24px;
    }

    .content-page__body p,
    .content-page__body li {
        font-size: 16px;
    }

    .content-page__body h2 {
        font-size: 26px;
    }
}

/* Imprint company identification block (storefront.pages.imprint). */
.content-page__facts {
    margin: 0 0 1.2em;
}

.content-page__facts dt {
    margin-top: 1em;
    font-weight: 600;
}

.content-page__facts dd {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* == home slider == */
/* Managed slider (storefront.home.slider). Swiper markup and the bullet styling
   (.testimonial-4-pagination) come from the theme; only the slide frame, the
   text scrim, and the bullet spacing are project rules. */
.home-slider {
    position: relative;
    /* The site header is absolutely positioned: 80px tall, 70px up to 1199px (.header-area-2__inner). */
    padding-top: 80px;
}

@media only screen and (max-width: 1199px) {
    .home-slider {
        padding-top: 70px;
    }
}

.home-slider__swiper {
    overflow: hidden;
}

.home-slider__slide {
    position: relative;
    aspect-ratio: 16 / 7;
    min-height: 360px;
    max-height: 80vh;
    overflow: hidden;
    background-color: #1c1c1c;
}

.home-slider__media,
.home-slider__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-slider__image {
    object-fit: cover;
}

.home-slider__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

.home-slider__content {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 1;
    display: grid;
    gap: 12px;
    justify-items: start;
    padding-bottom: 48px;
    color: #fff;
}

.home-slider__title {
    margin: 0;
    max-width: 14em;
    color: #fff;
    font-family: var(--font_bdogrotesk);
    font-size: clamp(32px, 5vw, 80px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.home-slider__subtitle {
    margin: 0;
    max-width: 36em;
    color: #fff;
    font-size: clamp(16px, 1.6vw, 22px);
    line-height: 1.4;
}

.home-slider .home-slider__button {
    color: #fff;
    white-space: normal;
}

.home-slider .home-slider__pagination {
    justify-content: center;
    margin-top: 20px;
}

@media only screen and (max-width: 767px) {
    .home-slider__slide {
        aspect-ratio: 4 / 5;
        min-height: 0;
    }

    .home-slider__content {
        padding-bottom: 32px;
    }
}

/* == content blocks == */
/* Managed content, trust, and FAQ blocks (storefront.partials.content-blocks)
   plus guide links and the homepage category list. Plain markup, no JS: the
   FAQ uses native <details>. */
.content-block__title,
.content-faq__title,
.guide-links__title,
.home-categories__title {
    margin: 0;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 40px;
    line-height: 1.15;
}

.content-block__body {
    padding-top: 24px;
}

.content-trust__list {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-trust__item {
    padding-top: 20px;
    border-top: 1px solid var(--border, #d9d9d9);
}

.content-trust__title {
    margin: 0 0 8px;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 20px;
}

.content-trust__text.content-page__body,
.content-faq__answer.content-page__body {
    max-width: none;
    padding-top: 0;
}

.content-trust__text p {
    margin: 0;
    color: var(--secondary);
    font-size: 16px;
    line-height: 1.5;
}

.content-faq__list {
    max-width: 860px;
    margin-top: 24px;
}

.content-faq__item {
    border-bottom: 1px solid var(--border, #d9d9d9);
}

.content-faq__question {
    padding: 20px 0;
    cursor: pointer;
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 20px;
    line-height: 1.4;
}

.content-faq__question:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.content-faq__answer {
    padding: 0 0 20px;
}

.content-faq__answer p {
    margin: 0 0 1em;
    font-size: 17px;
    line-height: 1.6;
}

.guide-kind {
    margin: 0 0 12px;
    color: var(--secondary);
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.guide-links__list,
.home-categories__list {
    display: grid;
    gap: 16px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.guide-links__list {
    grid-template-columns: repeat(3, 1fr);
}

.guide-links__link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 20px;
    border: 1px solid var(--border, #d9d9d9);
    color: inherit;
}

.guide-links__link:hover,
.guide-links__link:focus-visible {
    border-color: currentColor;
}

.guide-links__link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.guide-links__kind {
    color: var(--secondary);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.guide-links__name {
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 20px;
    line-height: 1.3;
}

.home-categories__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 16px;
}

.home-categories__link {
    display: block;
    color: inherit;
}

.home-categories__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 100 / 82;
    margin-bottom: 12px;
}

.home-categories__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-categories__link:hover .home-categories__thumb img,
.home-categories__link:focus-visible .home-categories__thumb img {
    transform: scale(1.05);
}

.home-categories__name {
    font-family: var(--font_bdogrotesk), sans-serif;
    font-size: 24px;
}

@media (max-width: 991px) {
    .content-trust__list,
    .guide-links__list,
    .home-categories__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-block__title,
    .content-faq__title,
    .guide-links__title,
    .home-categories__title {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .content-trust__list,
    .guide-links__list,
    .home-categories__list {
        grid-template-columns: 1fr;
    }
}
