/* Single product v2 — Figma 172:658 / 185:1044 */

body.hp-v2 .hp2,
body.pp-v2 .edw-eimai,
body.pp-v2 .ast-container,
body.pp-v2 .site-content,
body.pp-v2 .pp-product {
    max-width: 100%;
    overflow-x: clip;
}

body.pp-v2 .woocommerce-breadcrumb,
body.pp-v2 .ast-breadcrumbs-wrapper,
body.pp-v2 .summary.entry-summary,
body.pp-v2 .woocommerce-product-gallery,
body.pp-v2 #generate_pdf:not(.pp-datasheet) {
    display: none !important;
}

body.pp-v2.woocommerce div.product,
body.pp-v2 .pp-product {
    margin: 0;
    padding: 0;
    float: none;
    width: 100%;
}

body.pp-v2 .woocommerce-notices-wrapper {
    width: min(1400px, calc(100% - 48px));
    margin: 12px auto 0;
}

.pp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 18px 0 24px;
    font-family: "Geom", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--hp2-gray-mid);
}

.pp-crumbs a {
    color: var(--hp2-gray-mid);
    text-decoration: none;
}

.pp-crumbs__current {
    color: var(--hp2-gray-dark-1);
}

.pp-hero {
    display: grid;
    grid-template-columns: 333px minmax(0, 1fr) 511px;
    grid-template-areas:
        "gallery title title"
        "gallery copy panel";
    column-gap: 22px;
    row-gap: 8px;
    align-items: stretch;
    margin-bottom: 56px;
}

.pp-gallery {
    grid-area: gallery;
}

.pp-gallery__main {
    width: 333px;
    height: 324px;
    overflow: hidden;
    background: #fff;
}

.pp-gallery__main img,
.pp-gallery__image {
    display: block;
    width: 333px;
    height: 324px;
    max-width: none;
    object-fit: contain;
    object-position: center;
}

.pp-gallery__thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    width: 333px;
}

.pp-gallery__arrow {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.pp-gallery__arrow img {
    display: block;
    width: 24px;
    height: 24px;
}

.pp-gallery__arrow--prev img {
    transform: rotate(-90deg);
}

.pp-gallery__arrow--next img {
    transform: rotate(90deg);
}

.pp-gallery__track {
    display: flex;
    gap: 14px;
    overflow: hidden;
    flex: 1;
}

.pp-gallery__thumb {
    flex: 0 0 73px;
    width: 73px;
    height: 70px;
    padding: 0;
    border: 0;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
}

.pp-gallery__thumb.is-active {
    opacity: 1;
}

.pp-gallery__thumb img {
    display: block;
    width: 73px;
    height: 70px;
    max-width: none;
    object-fit: contain;
}

.pp-hero__copy {
    grid-area: copy;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pp-title {
    grid-area: title;
    margin: 0 0 8px;
    max-width: 730px;
    font-family: "Geom", sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 1.15;
    color: var(--hp2-gray-dark-2);
}

.pp-sku {
    margin: 0 0 16px;
    font-family: "Geom", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--hp2-gray-light-3);
}

.pp-excerpt,
.pp-excerpt p {
    margin: 0 0 18px;
    font-family: "Geom", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    color: var(--hp2-gray-mid);
}

.pp-energy {
    display: block;
    width: 66px;
    height: 35px;
    padding: 0;
    margin: 18px 0 24px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.pp-energy img {
    display: block;
    width: 66px;
    height: 35px;
    object-fit: contain;
}

.pp-datasheet,
body.pp-v2 #generate_pdf.pp-datasheet {
    display: inline-flex !important;
    align-items: center;
    gap: 11px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    background: transparent;
    font-family: "Geom", sans-serif;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 16px;
    color: var(--hp2-gray-mid);
    text-align: start;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.pp-datasheet img {
    display: block;
    width: 24px;
    height: 24px;
}

@media (min-width: 769px) {
    .pp-hero__copy {
        min-height: 280px;
    }

    .pp-hero__copy .pp-datasheet,
    body.pp-v2 .pp-hero__copy #generate_pdf.pp-datasheet {
        margin-top: auto !important;
        margin-bottom: 0 !important;
    }
}

.pp-panel {
    grid-area: panel;
    width: 511px;
    min-height: 249px;
    border: 1px solid var(--hp2-gray-light-2);
    background: rgba(238, 239, 241, 0.5);
    padding: 20px 16px 18px;
}

.pp-panel--buy {
    background: rgba(238, 239, 241, 0.2);
}

.pp-guest {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pp-guest__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.pp-guest__copy {
    margin: 0;
    max-width: 282px;
    font-family: "Geom", sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.35;
    color: var(--hp2-gray-mid);
}

.pp-wholesale {
    position: relative;
    flex: 0 0 92px;
    width: 92px;
    height: 85px;
    overflow: hidden;
}

.pp-wholesale span {
    position: absolute;
}

.pp-wholesale img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 49px;
    padding: 0 16px;
    font-family: "Geom", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 15px;
    text-align: center;
    text-decoration: none !important;
    border: 1px solid transparent;
}

.pp-btn img {
    display: block;
    flex: 0 0 auto;
}

.pp-btn--solid img {
    width: 24px;
    height: 24px;
}

.pp-btn--ghost img {
    width: 22px;
    height: 22px;
}

.pp-btn--cart img {
    width: 22px;
    height: 22px;
}

.pp-btn--solid {
    background: var(--hp2-gray-dark-2);
    color: var(--hp2-gray-light-1) !important;
}

.pp-btn--solid:hover,
.pp-btn--solid:focus {
    background: var(--hp2-gray-dark-2);
    opacity: 0.88;
}

.pp-btn--ghost {
    background: transparent;
    border-color: var(--hp2-gray-mid);
    color: var(--hp2-gray-dark-1) !important;
}

.pp-btn--ghost:hover,
.pp-btn--ghost:focus,
.pp-datasheet:hover,
.pp-datasheet:focus {
    background: transparent;
    opacity: 0.75;
}

.pp-btn--cart {
    height: 54px;
    width: 100%;
}

.pp-buy__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--hp2-gray-light-3);
    font-family: "Geom", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--hp2-gray-mid);
}

.pp-buy__row img {
    flex: 0 0 auto;
    width: auto;
    height: auto;
}

.pp-buy__row img[src*="icon-minus"] {
    width: 19px;
    height: 21px;
}

.pp-buy__row img[src*="icon-plus"] {
    width: 21px;
    height: 21px;
}

.pp-buy__row strong {
    font-weight: 600;
    color: var(--hp2-gray-dark-1);
}

.pp-buy__qty {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0 18px;
    font-family: "Geom", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--hp2-gray-mid);
}

.pp-buy__qty input[type="number"] {
    width: 54px;
    height: 32px;
    border: 1px solid var(--hp2-gray-light-3);
    background: #fff;
    text-align: center;
    font-family: "Geom", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--hp2-gray-dark-1);
    box-shadow: none;
    -moz-appearance: textfield;
}

.pp-buy__qty input[type="number"]::-webkit-outer-spin-button,
.pp-buy__qty input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pp-buy__cta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
}

.pp-buy__price,
.pp-buy__price .amount,
.pp-buy__price bdi {
    margin: 0;
    font-family: "Geom", sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1;
    color: var(--hp2-gray-dark-2);
}

.pp-tabs {
    margin: 48px 0 72px;
    max-width: 861px;
}

.pp-tabs__nav {
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
    border-bottom: 0;
}

.pp-tabs__tab {
    position: relative;
    padding: 0 0 12px;
    border: 0;
    background: transparent;
    font-family: "Geom", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--hp2-gray-dark-2);
    cursor: pointer;
}

.pp-tabs__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--hp2-gray-dark-2);
}

.pp-tabs__panel {
    display: none;
    font-family: "Geom", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.45;
    color: var(--hp2-gray-mid);
}

.pp-tabs__panel.is-active {
    display: block;
}

.pp-tabs__panel p {
    margin: 0 0 1em;
}

.pp-tabs__panel ul {
    margin: 0 0 1em 1.2em;
}

body.pp-v2 table.woocommerce-product-attributes {
    width: 100%;
    border: 0;
    margin: 0;
}

body.pp-v2 table.woocommerce-product-attributes tr,
body.pp-v2 table.woocommerce-product-attributes tr:nth-child(even),
body.pp-v2 table.woocommerce-product-attributes tr:nth-child(odd),
body.pp-v2 table.woocommerce-product-attributes th,
body.pp-v2 table.woocommerce-product-attributes td,
body.pp-v2 table.shop_attributes tr:nth-child(even) th,
body.pp-v2 table.shop_attributes tr:nth-child(even) td {
    border: 0;
    border-bottom: 1px solid var(--hp2-gray-light-2);
    padding: 10px 0;
    background: transparent !important;
    font-family: "Geom", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--hp2-gray-mid);
}

body.pp-v2 table.woocommerce-product-attributes th {
    width: 38%;
    text-align: left;
}

.pp-related {
    padding: 12px 0 72px;
    overflow: hidden;
    max-width: 100%;
}

.pp-related .hp2-title {
    margin-bottom: 48px;
}

@media (max-width: 1200px) {
    .pp-hero {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "title title"
            "gallery copy"
            "panel panel";
    }

    .pp-panel,
    .pp-gallery__main,
    .pp-gallery__main img,
    .pp-gallery__thumbs {
        width: 100%;
    }

    .pp-gallery__main,
    .pp-gallery__main img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .pp-hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "gallery"
            "title"
            "copy"
            "panel";
    }

    .pp-title {
        font-size: 26px;
        grid-area: title;
    }

    .pp-buy__cta {
        grid-template-columns: 1fr;
    }
}
