
/* =========================================
   IMPRINT PRODUCT CARDS
   Uniform product images and company logos
   ========================================= */

.imprint-pc-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Lora', Georgia, serif;
    color: #101828;
    box-sizing: border-box;
}

/* PRODUCT GRID */
.imprint-pc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* CARD */
.imprint-pc-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(16, 24, 40, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.imprint-pc-card:hover {
    transform: translateY(-5px) scale(1.025);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.22);
    position: relative;
    z-index: 2;
}

.imprint-pc-card:focus-within {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.18);
    position: relative;
    z-index: 2;
}

/* CARD HEADER */
.imprint-pc-card-head {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px 4px;
}

.imprint-pc-label {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 5px;
    background: #eaf5ff;
    color: #174d73;
    font-size: 10px;
    font-weight: 500;
}

.imprint-pc-category {
    font-size: 11px;
    color: #475467;
    text-align: right;
}

/* =========================================
   PRODUCT IMAGE AREA
   Every product image uses the same frame
   ========================================= */

.imprint-pc-gallery {
    position: relative;
    width: calc(100% - 26px);
    height: 245px;
    min-height: 245px;
    margin: 6px 13px 0;
    border: 1px solid #1680ff;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

/* Product images and carousel slides */
.imprint-pc-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 12px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
}

/* Preserve hidden carousel slides */
.imprint-pc-image[hidden] {
    display: none !important;
}

.imprint-pc-no-image {
    color: #98a2b3;
    font-size: 14px;
    text-align: center;
}

/* IMAGE CAROUSEL CONTROLS */
.imprint-pc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 1px solid #e4e7ec;
    border-radius: 50%;
    background: #fff;
    color: #101828;
    font-size: 23px;
    line-height: 22px;
    box-shadow: 0 1px 5px #00000018;
    cursor: pointer;
}

.imprint-pc-prev {
    left: 8px;
}

.imprint-pc-next {
    right: 8px;
}

.imprint-pc-dots {
    position: absolute;
    bottom: 7px;
    left: 0;
    right: 0;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.imprint-pc-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
}

.imprint-pc-dot.is-active {
    background: #087cff;
}

/* =========================================
   PRODUCT CONTENT
   ========================================= */

.imprint-pc-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    padding: 16px 14px 13px;
    text-align: center;
    box-sizing: border-box;
}

.imprint-pc-content h3 {
    font-family: 'Lora', Georgia, serif;
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 9px;
    font-weight: 700;
    color: #111827;
}

.imprint-pc-sku {
    font-size: 11px;
    line-height: 1.5;
    margin: 0 0 15px;
    color: #101828;
}

.imprint-pc-description {
    font-size: 12px;
    line-height: 1.65;
    color: #344054;
    margin: 0 auto 12px;
    max-width: 440px;
}

.imprint-pc-description p {
    margin: 0 0 8px;
}

/* =========================================
   COMPANY LOGO AREA
   Every logo uses an identical display box
   ========================================= */

.imprint-pc-logo-wrap {
    width: 100%;
    height: 96px;
    min-height: 96px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto 0 12px;
    padding: 8px 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Clickable logo container */
.imprint-pc-logo-link {
    width: 220px;
    max-width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
}

.imprint-pc-logo-link:focus-visible {
    outline: 2px solid #087cff;
    outline-offset: 4px;
    border-radius: 3px;
}

/* All company logos share the same dimensions */
.imprint-pc-logo {
    display: block;
    width: 220px;
    height: 72px;
    max-width: 100%;
    max-height: 72px;
    flex: 0 1 auto;
    object-fit: contain;
    object-position: center;
}

/* Optional company name */
.imprint-pc-company {
    font-size: 13px;
    font-weight: 600;
    margin: auto 0 12px;
}

/* =========================================
   VIEW PRODUCT BUTTON
   ========================================= */

.imprint-pc-view-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    flex-shrink: 0;
    box-sizing: border-box;
    margin-top: auto;
    padding: 9px 12px;
    border: 1px solid #087cff;
    border-radius: 5px;
    color: #087cff;
    background: #fff;
    text-decoration: none;
    font-family: 'Lora', Georgia, serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    transition: background 0.18s ease, color 0.18s ease;
}

.imprint-pc-view-button:hover,
.imprint-pc-view-button:focus {
    background: #087cff;
    color: #fff;
}

/* =========================================
   PAGINATION
   ========================================= */

.imprint-pc-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    justify-content: center;
    margin: 28px 0 18px;
}

.imprint-pc-pagination a,
.imprint-pc-pagination span {
    min-width: 34px;
    height: 34px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #d0d5dd;
    border-radius: 5px;
    background: #fff;
    color: #344054;
    text-decoration: none;
    font-size: 12px;
}

.imprint-pc-pagination .current {
    background: #087cff;
    border-color: #087cff;
    color: #fff;
}

.imprint-pc-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 35px;
}

/* BOX SIZING */
.imprint-pc-wrap *,
.imprint-pc-wrap *::before,
.imprint-pc-wrap *::after {
    box-sizing: border-box;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {
    .imprint-pc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .imprint-pc-gallery {
        height: 225px;
        min-height: 225px;
    }

    .imprint-pc-logo-wrap {
        height: 96px;
        min-height: 96px;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {
    .imprint-pc-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .imprint-pc-card {
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
    }

    .imprint-pc-gallery {
        height: 240px;
        min-height: 240px;
    }

    .imprint-pc-content {
        padding: 15px 13px 13px;
    }

    .imprint-pc-content h3 {
        font-size: 16px;
    }

    .imprint-pc-logo-wrap {
        height: 96px;
        min-height: 96px;
    }

    .imprint-pc-logo-link,
    .imprint-pc-logo {
        max-width: 100%;
    }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    .imprint-pc-card,
    .imprint-pc-view-button {
        transition: none;
    }

    .imprint-pc-card:hover,
    .imprint-pc-card:focus-within {
        transform: none;
    }
}
