/**
 * WOTO Site Components — Product 4828 reference presentation.
 *
 * Purpose: Central styles for Product Summary, Similar Office Workstations, and
 * Complete Your Workspace.
 * Scope: Loaded only for the approved 18 Workstation product IDs.
 * Related Layout ID: 711.
 * Visual reference: Product 4828.
 * Created: 2026-07-30.
 *
 * Data isolation:
 * These selectors style component classes only and contain no product values.
 *
 * Fallback and rollback:
 * Deactivating WOTO Site Components removes this stylesheet and restores the
 * preserved 4828 Pilot and WoodMart related output.
 *
 * Responsive behavior:
 * Four equal cards appear on desktop, two on tablet, and one at phone widths.
 *
 * Change Log:
 * - 2026-07-30: Created centralized reference-matched component styles.
 */

.woto-central-summary {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #dfe3f0;
    border-radius: 10px;
    background: #fff;
}
.woto-central-summary h2 {
    margin: 0 0 12px;
    color: var(--wd-primary-color);
    font-size: 18px;
    font-weight: 700;
}
.woto-central-summary ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.woto-central-summary li {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: #555a64;
    line-height: 1.5;
}
.woto-central-summary li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--wd-primary-color);
    content: "✓";
    font-weight: 700;
}
.woto-central-summary-highlight {
    padding: 7px 10px 7px 24px !important;
    border-radius: 5px;
    background: color-mix(in srgb, var(--wd-primary-color) 9%, #fff);
    color: #333842 !important;
}
.woto-central-summary-highlight::before {
    top: 7px !important;
    left: 7px !important;
}
.woto-central-summary-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, .55fr);
    gap: 10px;
    margin-top: 16px;
}
.woto-central-summary-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: var(--btn-default-brd-radius);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}
.woto-central-summary-whatsapp {
    background: #25d366;
    color: #07180d !important;
}
.woto-central-summary-email {
    background: var(--wd-primary-color);
    color: #fff !important;
}
.woto-central-summary-phone {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: auto !important;
    padding: 0 !important;
    color: var(--wd-primary-color) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.woto-central-summary-actions a:focus-visible,
.woto-central-carousel button:focus-visible,
.woto-central-product-card a:focus-visible {
    outline: 3px solid var(--wd-primary-color);
    outline-offset: 3px;
}
.woto-central-related-sections {
    width: 100%;
}
.woto-central-carousel + .woto-central-carousel {
    margin-top: 40px;
}
.woto-central-carousel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.woto-central-carousel-heading h2 {
    margin: 0;
}
.woto-central-carousel-controls {
    display: flex;
    gap: 8px;
}
.woto-central-carousel-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--wd-primary-color);
    border-radius: 50%;
    background: #fff;
    color: var(--wd-primary-color);
    cursor: pointer;
}
.woto-central-carousel-controls button:hover,
.woto-central-carousel-controls button:focus {
    background: var(--wd-primary-color);
    color: #fff;
}
.woto-central-carousel-viewport {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.woto-central-carousel-viewport::-webkit-scrollbar {
    display: none;
}
.woto-central-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 20px;
}
.woto-central-product-card {
    display: flex;
    flex: 0 0 calc((100% - 60px) / 4);
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 12px;
    border: 1px solid #dfe3f0;
    border-radius: 10px;
    background: #fff;
    scroll-snap-align: start;
}
.woto-central-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.woto-central-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.woto-central-product-card h3 {
    margin: 14px 0;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}
.woto-central-product-card h3 a {
    color: var(--wd-title-color);
}
.woto-central-view-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 10px 14px;
    border-radius: var(--btn-default-brd-radius);
    background: var(--wd-primary-color);
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}
.woto-central-view-product:hover,
.woto-central-view-product:focus {
    filter: brightness(.9);
}
.woto-central-carousel-pages {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.woto-central-carousel-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid var(--wd-primary-color);
    border-radius: 50%;
    background: #fff;
    color: var(--wd-primary-color);
    font-weight: 700;
    cursor: pointer;
}
.woto-central-carousel-page[aria-current="true"] {
    background: var(--wd-primary-color);
    color: #fff;
}
@media (max-width: 1024px) {
    .woto-central-product-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}
@media (max-width: 600px) {
    .woto-central-summary {
        padding: 16px;
    }
    .woto-central-summary-actions {
        grid-template-columns: 1fr;
    }
    .woto-central-summary-phone {
        grid-column: auto;
    }
    .woto-central-carousel-heading {
        align-items: flex-start;
    }
    .woto-central-carousel-heading h2 {
        font-size: 22px;
    }
    .woto-central-product-card {
        flex-basis: 100%;
    }
}

