/* EvoCars: product pages only. */
body.single-product .evc-product-facts dt,
body.single-product .evc-product-facts dd {
    padding: 0;
    border: 0;
    font: inherit;
}
body.single-product #main div.product .summary > .price .amount {
    font-size: inherit;
    line-height: inherit;
}
body.single-product #main div.product > .related > h2 {
    border: 0;
}
/* Keep the draft's review toolbar usable on narrow screens. */
@media (max-width: 767px) {
    body.single-product #wpvibe-preview-banner {
        padding: 8px 12px !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        font-size: 11px !important;
    }
    body.single-product #wpvibe-preview-banner .wpvibe-info {
        display: none !important;
    }
    body.single-product #wpvibe-preview-banner .wpvibe-btn {
        padding: 5px 8px !important;
        font-size: 11px !important;
        white-space: nowrap;
    }
}
body.single-product {
    --evc-product-ink: #17191d;
    --evc-product-muted: #666d78;
    --evc-product-line: #e6e8ed;
    --evc-product-accent: #d71935;
}
body.single-product #primary #cb-content {
    padding: 0 30px 56px;
}
body.single-product #main.product-layout {
    width: 100%;
    max-width: none;
    padding-top: 24px;
}
body.single-product #main > div.product {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    color: var(--evc-product-ink);
}
body.single-product #main > div.product::before,
body.single-product #main > div.product::after {
    display: none;
}
body.single-product .evc-shop-back {
    margin: 0 0 22px;
    font: 400 14px/1.5 Roboto, sans-serif;
}
body.single-product .evc-shop-back a {
    color: var(--evc-product-muted);
    text-decoration: none;
}
body.single-product .evc-shop-back a:hover {
    color: var(--evc-product-accent);
}
body.single-product .evc-product-media {
    min-width: 0;
}
body.single-product #main div.product .evc-product-media div.images {
    float: none;
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    margin: 0;
    border: 1px solid var(--evc-product-line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
body.single-product .evc-product-media .woocommerce-product-gallery__wrapper {
    margin: 0;
}
body.single-product .evc-product-media .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    cursor: pointer;
}
body.single-product .evc-product-media .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain;
    margin: 0;
}
body.single-product .evc-product-media .woocommerce-product-gallery__trigger,
body.single-product .evc-product-media .zoomImg {
    display: none !important;
}
body.single-product .evc-gallery-hint {
    margin: 12px 0 0;
    color: var(--evc-product-muted);
    font: 400 13px/1.5 Roboto, sans-serif;
    text-align: center;
}
body.single-product #main div.product > div.summary {
    display: block;
    position: relative;
    top: auto;
    float: none;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 28px;
    margin: 0;
    border: 1px solid var(--evc-product-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 36px rgba(20,25,35,.035);
}
body.single-product .evc-product-eyebrow {
    margin: 0 0 14px;
    color: var(--evc-product-muted);
    font: 700 11px/1.4 Roboto, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}
body.single-product .evc-product-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 15px;
}
body.single-product .evc-product-labels span {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 5px;
    background: #f2f3f5;
    color: #505763;
    font: 400 12px/1.35 Roboto, sans-serif;
}
body.single-product #main div.product .product_title {
    margin: 0 0 22px;
    padding: 0;
    color: var(--evc-product-ink);
    font: 700 clamp(25px, 2.4vw, 34px)/1.16 Roboto, sans-serif;
    letter-spacing: -.025em;
    text-transform: none;
    overflow-wrap: anywhere;
}
body.single-product #main div.product .summary > .price {
    margin: 0 0 24px;
    padding: 0;
    color: var(--evc-product-ink);
    font: 700 32px/1.2 Roboto, sans-serif;
    letter-spacing: -.025em;
}
body.single-product #main div.product .summary > .price del {
    color: var(--evc-product-muted);
    font-size: 19px;
    font-weight: 400;
}
body.single-product #main div.product .summary > .price ins {
    background: transparent;
    text-decoration: none;
}
body.single-product .evc-product-facts {
    margin: 0 0 24px;
    padding: 0;
    border-top: 1px solid var(--evc-product-line);
}
body.single-product .evc-product-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--evc-product-line);
    font: 400 14px/1.4 Roboto, sans-serif;
}
body.single-product .evc-product-facts dt {
    margin: 0;
    color: var(--evc-product-muted);
}
body.single-product .evc-product-facts dd {
    margin: 0;
    color: var(--evc-product-ink);
    text-align: right;
}
body.single-product #main div.product form.cart {
    margin: 0;
    padding: 0;
}
body.single-product #main div.product .summary .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    float: none;
    width: 100%;
    height: auto;
    min-height: 56px;
    margin: 0;
    padding: 16px 20px;
    border: 1px solid var(--evc-product-accent);
    border-radius: 8px;
    background: var(--evc-product-accent);
    box-shadow: 0 4px 12px rgba(215,25,53,.13);
    color: #fff;
    font: 700 16px/1.35 Roboto, sans-serif;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
    transition: background-color .18s ease, box-shadow .18s ease;
}
body.single-product #main div.product .summary .single_add_to_cart_button::after {
    content: '';
    position: static;
    flex: 0 0 8px;
    box-sizing: border-box;
    width: 8px;
    height: 8px;
    margin: 0 2px 0 0;
    padding: 0;
    border: 0;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    background: none;
    opacity: 1;
    color: inherit;
    transform: rotate(45deg);
}
body.single-product #main div.product .summary .single_add_to_cart_button:hover {
    border-color: #b61129;
    background: #b61129;
    box-shadow: 0 6px 16px rgba(215,25,53,.2);
}
body.single-product .evc-merchant-note {
    margin: 10px 0 0;
    color: var(--evc-product-muted);
    font: 400 12px/1.5 Roboto, sans-serif;
    text-align: center;
}
body.single-product .evc-product-category {
    margin: 22px 0 0;
    color: var(--evc-product-muted);
    font: 400 12px/1.5 Roboto, sans-serif;
}
body.single-product .evc-product-category a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.single-product #main div.product > .woocommerce-tabs,
body.single-product #main div.product > .related,
body.single-product #main div.product > .upsells {
    grid-column: 1 / -1;
    float: none;
    width: 100%;
    margin: 0;
}
body.single-product #main div.product > .related {
    padding-top: 32px;
    border-top: 1px solid var(--evc-product-line);
}
body.single-product #main div.product .related > h2,
body.single-product #main div.product .upsells > h2 {
    margin: 0 0 24px;
    padding: 0;
    color: var(--evc-product-ink);
    font: 700 24px/1.25 Roboto, sans-serif;
    letter-spacing: -.02em;
    text-transform: none;
}
body.single-product #main div.product .related > h2::after,
body.single-product #main div.product .related > h2::before {
    display: none;
}
body.single-product #main div.product .related ul.products,
body.single-product #main div.product .upsells ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.single-product #main div.product .related ul.products::before,
body.single-product #main div.product .related ul.products::after {
    display: none;
}
body.single-product #main div.product .related ul.products li.product,
body.single-product #main div.product .upsells ul.products li.product {
    float: none;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--evc-product-line);
    border-radius: 12px;
    background: #fff;
}
body.single-product #main div.product .related ul.products li.product img,
body.single-product #main div.product .upsells ul.products li.product img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    margin: 0 0 16px;
}
body.single-product #main div.product .related .woocommerce-loop-product__title,
body.single-product #main div.product .upsells .woocommerce-loop-product__title {
    margin: 0 0 12px;
    padding: 0;
    font: 700 16px/1.4 Roboto, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}
body.single-product #main div.product .related .price {
    display: block;
    margin: 0;
    font: 700 18px/1.3 Roboto, sans-serif;
    color: var(--evc-product-ink);
}
body.single-product .evc-product-media a:focus-visible,
body.single-product .evc-shop-back a:focus-visible,
body.single-product #main div.product .single_add_to_cart_button:focus-visible {
    outline: 3px solid var(--evc-product-accent);
    outline-offset: 4px;
}
/* Product gallery: a full-width image and four readable thumbnails below it. */
body.single-product #main div.product .evc-product-media .flex-viewport {
    float: none;
    width: 100%;
    margin: 0;
}
body.single-product #main div.product .evc-product-media .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    float: none;
    width: 100% !important;
    max-width: none;
    max-height: none;
    overflow: visible;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
body.single-product #main div.product .evc-product-media .flex-control-thumbs li {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}
body.single-product #main div.product .evc-product-media .flex-control-thumbs img {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    padding: 4px;
    border: 2px solid var(--evc-product-line);
    border-radius: 8px;
    background: #fff;
    opacity: .8;
    cursor: pointer;
}
body.single-product #main div.product .evc-product-media .flex-control-thumbs img.flex-active,
body.single-product #main div.product .evc-product-media .flex-control-thumbs img:hover {
    border-color: var(--evc-product-accent);
    opacity: 1;
}
body.single-product .woocommerce-product-details__short-description {
    order: 0;
    padding: 0;
    margin: 0 0 22px;
    color: #505763;
    font: 400 15px/1.65 Roboto, sans-serif;
}
body.single-product .woocommerce-product-details__short-description p {
    margin: 0;
    font: inherit;
}
body.single-product #main div.product > .evc-product-story {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 40px;
    grid-column: 1 / -1;
    box-sizing: border-box;
    width: 100%;
    padding: 32px;
    border: 1px solid var(--evc-product-line);
    border-radius: 16px;
    background: #f7f8fa;
}
body.single-product .evc-product-story-copy,
body.single-product .evc-product-story-aside {min-width: 0;}
body.single-product #main .evc-product-story-copy h2,
body.single-product #main .evc-product-story-copy h3 {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    color: var(--evc-product-ink);
    font: 700 25px/1.25 Roboto, sans-serif;
    letter-spacing: -.02em;
    text-transform: none;
}
body.single-product #main .evc-product-story-copy h3 {font-size: 19px;}
body.single-product #main .evc-product-story-copy h2::after,
body.single-product #main .evc-product-story-copy h2::before {display: none;}
body.single-product .evc-product-story-copy p,
body.single-product .evc-product-story-copy ul {
    margin: 0 0 18px;
    color: #444c56;
    font: 400 16px/1.75 Roboto, sans-serif;
}
body.single-product .evc-product-story-copy p.evc-product-eyebrow {
    color: var(--evc-product-muted);
    font: 700 11px/1.4 Roboto, sans-serif;
}
body.single-product .evc-product-story-copy > :last-child {margin-bottom: 0;}
body.single-product .evc-product-story-aside {
    align-self: center;
    padding: 16px;
    border: 1px solid var(--evc-product-line);
    border-radius: 12px;
    background: #fff;
}
body.single-product .evc-product-story-aside figure {margin: 0;}
body.single-product .evc-product-story-aside img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}
body.single-product .evc-product-story-aside figcaption {
    padding-top: 12px;
    color: var(--evc-product-muted);
    font: 400 13px/1.5 Roboto, sans-serif;
}
body.single-product .evc-story-gallery-link {
    display: inline-flex;
    gap: 12px;
    margin-top: 14px;
    color: var(--evc-product-ink);
    font: 700 14px/1.5 Roboto, sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 767px) {
    body.single-product #main div.product > .evc-product-story {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 22px;
        border-radius: 12px;
    }
    body.single-product #main div.product .evc-product-media .flex-control-thumbs {gap: 6px; margin-top: 10px;}
    body.single-product #main div.product .evc-product-media .flex-control-thumbs img {padding: 2px; border-radius: 5px;}
}

@media (max-width: 1100px) {
    body.single-product #main > div.product {gap: 28px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);}
    body.single-product #main div.product > div.summary {padding: 22px;}
}
@media (max-width: 767px) {
    body.single-product #primary #cb-content {width: 100%; padding: 0 18px 36px; margin: 0;}
    body.single-product #main.product-layout {padding: 18px 0 0;}
    body.single-product #main > div.product {display: flex; flex-direction: column; gap: 24px;}
    body.single-product .evc-shop-back {margin-bottom: 16px; font-size: 13px;}
    body.single-product .evc-product-media {width: 100%;}
    body.single-product #main div.product .evc-product-media div.images {padding: 10px; border-radius: 12px;}
    body.single-product .evc-product-media .woocommerce-product-gallery__image a {min-height: 240px;}
    body.single-product .evc-product-media .woocommerce-product-gallery__image img {max-height: 460px;}
    body.single-product #main div.product > div.summary {position: static; top: auto; padding: 22px; border-radius: 12px;}
    body.single-product #main div.product .product_title {font-size: 27px; line-height: 1.18;}
    body.single-product #main div.product .summary > .price {font-size: 30px;}
    body.single-product #main div.product > .related {padding-top: 24px;}
    body.single-product #main div.product .related ul.products,
    body.single-product #main div.product .upsells ul.products {grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px;}
    body.single-product #main div.product .related ul.products li.product,
    body.single-product #main div.product .upsells ul.products li.product {padding: 10px; border-radius: 8px;}
    body.single-product #main div.product .related .woocommerce-loop-product__title {font-size: 14px; line-height: 1.35;}
}
@media (prefers-reduced-motion: reduce) {
    body.single-product #main div.product .single_add_to_cart_button {transition: none;}
}
