.product-detail-v2 > .breadcrumbs {
    font-size: .8125rem;
    overflow-wrap: anywhere;
}

.product-detail-v2 > .breadcrumbs > span[aria-current] {
    color: var(--color-text);
    font-weight: 650;
}

.product-detail-v2 .product-detail-top {
    align-items: stretch;
    gap: clamp(18px, 3vw, 32px);
    margin-block-start: 18px;
}

.product-detail-v2 .product-detail-media {
    display: flex;
    flex-direction: column;
}

.product-detail-v2 .product-detail-image-frame {
    --gallery-inset: clamp(18px, 4vw, 42px);
    aspect-ratio: 1.22;
    background: linear-gradient(138deg, #fff, #edf0f2);
    border-color: #e2e5e9;
    border-radius: 14px;
    flex: none;
    padding: 0;
}

.product-detail-v2 .product-detail-main-media {
    height: auto;
    inset: var(--gallery-inset);
    position: absolute;
    width: auto;
}

.product-detail-v2 .product-detail-image-frame:not([role="button"]) {
    cursor: default;
}

.product-detail-v2 .product-detail-main-media > .product-detail-main-image {
    mix-blend-mode: multiply;
}

.product-detail-image-zoom {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    bottom: 10px;
    color: #374151;
    display: flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 10px;
    width: 36px;
}

.product-detail-image-zoom svg,
.product-detail-v2 .product-detail-purchase .button-primary svg {
    flex: none;
    height: 16px;
    width: 16px;
}

.product-detail-v2 .product-gallery-thumb {
    background: #f3f5f6;
    border-radius: 8px;
    height: 56px;
    width: 66px;
}

.product-detail-v2 .product-gallery-thumb img {
    mix-blend-mode: multiply;
}

html:has(.product-detail-dialog[open]) {
    overflow: hidden;
}

.product-detail-dialog {
    --product-dialog-surface: #f5f6f7;
    --product-dialog-track: #e8ebee;
    --product-dialog-border: #dde1e5;
    --product-dialog-muted: #505a67;
    position: fixed;
    inset: 0;
    width: min(var(--product-dialog-width, 760px), calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--product-dialog-border);
    border-radius: 16px;
    background: var(--color-white);
    color: var(--color-text);
    box-shadow: 0 16px 54px #141c2b47;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.4;
}

.product-detail-dialog[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.product-detail-dialog::backdrop {
    background: #19212c9e;
}

.product-detail-dialog__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--product-dialog-border);
}

.product-detail-dialog__photo {
    box-sizing: border-box;
    width: 58px;
    height: 58px;
    flex: none;
    padding: 6px;
    border-radius: 9px;
    background: var(--product-dialog-track);
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-detail-dialog__heading {
    flex: 1;
    min-width: 0;
}

.product-detail-dialog__heading h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.product-detail-dialog__heading p {
    margin: 4px 0 0;
    color: var(--product-dialog-muted);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.product-detail-dialog__close {
    align-self: flex-start;
    flex: none;
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 1px solid var(--product-dialog-border);
    border-radius: 8px;
    background: var(--product-dialog-surface);
    cursor: pointer;
}

@media (max-width: 640px) {
    .product-detail-dialog {
        inset: auto 0 0;
        margin: 0 auto;
        width: 100%;
        max-height: calc(100dvh - 16px);
        border-radius: 16px 16px 0 0;
    }

    .product-detail-dialog__header {
        padding: 10px 12px;
        gap: 9px;
    }

    .product-detail-dialog__photo {
        width: 46px;
        height: 46px;
    }

    .product-detail-dialog__heading h2 {
        font-size: 19px;
    }

    .product-detail-dialog__heading p {
        font-size: 12px;
    }
}

@media (pointer: coarse) {
    .product-detail-dialog__close {
        width: 44px;
        height: 44px;
    }
}

.product-detail-v2 .product-detail-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-detail-v2 .product-detail-quick-info {
    border: 1px solid #e0e3e7;
    border-radius: 12px;
    display: grid;
    gap: 10px;
    margin-block-start: auto;
    padding: 12px clamp(12px, 2vw, 17px);
}

.product-detail-v2 .product-detail-quick-info h2 {
    font-size: .9rem;
    font-weight: 750;
    margin: 0;
}

.product-detail-v2 :is(.product-detail-quick-specs, .product-detail-quick-files) {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 112px), 1fr));
    margin: 0;
}

.product-detail-v2 .product-detail-quick-files {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.product-detail-v2 .product-detail-quick-files a {
    align-items: center;
    background: #f5f6f7;
    border-radius: 7px;
    color: #374151;
    display: flex;
    font-size: .8125rem;
    font-weight: 650;
    gap: 7px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 8px 9px;
    text-underline-offset: 3px;
}

.product-detail-v2 .product-detail-quick-files small {
    color: #4b5563;
    flex: none;
    font-size: .6875rem;
    margin-inline-start: auto;
}

.product-detail-v2 .product-detail-quick-specs > div {
    background: #f5f6f7;
    border-radius: 7px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 7px 9px;
}

.product-detail-v2 .product-detail-quick-specs dd {
    font-size: .875rem;
    font-weight: 700;
    margin: 2px 0 0;
}

.product-detail-v2 .product-detail-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
}

.product-detail-v2 .product-detail-quick-links a {
    align-items: center;
    color: #374151;
    display: inline-flex;
    font-size: .8125rem;
    font-weight: 650;
    gap: 6px;
    min-height: 28px;
    text-underline-offset: 3px;
}

.product-detail-v2 :is(.product-detail-quick-links, .product-detail-quick-files) a:hover {
    text-decoration: underline;
}

.product-detail-v2 :is(.product-detail-quick-links, .product-detail-quick-files) svg {
    color: #795500;
    flex: none;
    height: 15px;
    width: 15px;
}

.product-detail-v2 .product-detail-buybox:last-child {
    margin-block-start: auto;
}

.product-detail-v2 :is(.product-content-tabs, [data-product-tab-panel]) {
    scroll-margin-block-start: 120px;
}

.product-content-tabs {
    --product-content-inset: clamp(12px, 2.8vw, 24px);
    border: 1px solid #e0e3e7;
    border-radius: 14px;
}

.product-content-tabs__nav {
    border-bottom: 1px solid #e0e3e7;
    display: flex;
    flex-wrap: wrap;
    gap: 0 12px;
    padding-inline: var(--product-content-inset);
}

.product-content-tabs__link {
    align-items: center;
    border-bottom: 3px solid transparent;
    color: #4b5563;
    display: flex;
    font-weight: 700;
    gap: 7px;
    min-height: 48px;
    padding: 5px 9px;
}

.product-content-tabs__link:is(:hover, [aria-selected="true"]) {
    color: var(--color-text);
    text-decoration: none;
}

.product-content-tabs__link[aria-selected="true"] {
    border-bottom-color: var(--color-brand);
}

.product-content-tabs__link svg {
    flex: none;
    height: 16px;
    width: 16px;
}

.product-content-tabs__link[aria-selected="true"] svg {
    color: #795500;
}

.product-content-tabs > .product-detail-section {
    margin: 0;
    padding: var(--product-content-inset);
    overflow-wrap: anywhere;
}

.product-content-tabs > .product-detail-section[hidden] {
    display: none;
}

.product-content-tabs .product-detail-section h2 {
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 750;
    margin-bottom: 12px;
}

.product-content-tabs .product-detail-description .rich-text > :is(p, ol, ul) {
    max-width: 72ch;
}

.product-content-tabs .product-tech-table tbody tr:nth-child(odd) {
    background: #f7f8f9;
}

.product-content-tabs .product-tech-table tbody td {
    font-weight: 650;
}

.product-content-tabs .product-file-link {
    grid-template-columns: 48px minmax(0, 1fr) auto;
}

.product-content-tabs > .product-questions {
    background: transparent;
    border: 0;
    box-shadow: none;
}

@media (max-width: 480px) {
    .product-content-tabs__nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 6px;
    }

    .product-content-tabs__link {
        font-size: .875rem;
        padding-inline: 5px;
    }

    .product-content-tabs__nav:has(> :last-child:nth-child(3)) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-content-tabs__link svg {
        display: none;
    }
}

.product-detail-v2 .product-detail-summary > :is(.badges, .product-detail-title, .product-detail-meta, .product-detail-short-description) {
    margin: 0;
    min-width: 0;
}

.product-detail-v2 .product-detail-title {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 850;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.product-detail-v2 .product-detail-meta {
    color: #4b5563;
    display: flex;
    flex-wrap: wrap;
    font-size: .8125rem;
    gap: 4px 14px;
}

.product-detail-v2 .product-detail-meta div {
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}

.product-detail-v2 .product-detail-meta a {
    color: var(--color-text);
    font-weight: 700;
}

.product-detail-v2 .product-detail-short-description {
    overflow-wrap: anywhere;
}

.product-detail-v2 .product-detail-short-description__content > :first-child {
    margin-block-start: 0;
}

.product-detail-v2 .product-detail-short-description__content > :last-child {
    margin-block-end: 0;
}

.product-detail-v2 .product-detail-buybox {
    background: #f5f6f7;
    border-color: #e0e3e7;
    border-radius: 14px;
    gap: 12px;
    padding: clamp(13px, 2.3vw, 19px);
}

.product-detail-v2 .product-detail-buybox > .price-stack .price-current {
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.product-detail-v2 .product-detail-buybox > .price-stack .price-current > span {
    letter-spacing: normal;
}

.product-detail-v2 .product-detail-buybox > .availability {
    border-radius: 7px;
    justify-self: start;
    margin: 0;
    max-width: 100%;
}

.product-detail-v2 .product-detail-buybox > .public-coupon-offer {
    margin: 0;
}

.product-detail-v2 .product-detail-buybox > .public-coupon-offer .public-coupon-offer__button {
    border-radius: 8px;
    flex-wrap: wrap;
    min-height: 44px;
}

.product-detail-v2 .product-detail-buybox > .public-coupon-offer .public-coupon-offer__button > strong {
    font-size: .875rem;
    margin-inline-start: auto;
}

.product-detail-v2 .product-detail-buybox > :is(.quantity-shipping-preview, .shipping-notice, .pipe-cutting-configurator) {
    margin-block: 0;
}

.product-detail-v2 .product-detail-purchase {
    align-items: stretch;
    gap: 8px;
    grid-template-columns: max-content minmax(0, 1fr);
    margin: 0;
    max-width: none;
    width: 100%;
}

.product-detail-v2 .product-detail-purchase--single {
    grid-template-columns: minmax(0, 1fr);
}

.product-detail-v2 .product-detail-purchase__label {
    margin: 0;
}

.product-detail-v2 .product-detail-purchase .button-primary {
    align-items: center;
    border-radius: 8px;
    display: flex;
    gap: 7px;
    height: auto;
    justify-content: center;
    min-height: 46px;
    min-width: 0;
    padding-inline: 8px;
}

.product-detail-stepper {
    align-items: stretch;
    background: #fff;
    border: 1px solid #e0e3e7;
    border-radius: 8px;
    display: flex;
    gap: 3px;
    min-height: 46px;
    padding: 2px;
}

.product-detail-stepper input {
    appearance: textfield;
    border: 0;
    border-radius: 4px;
    font: inherit;
    min-width: 0;
    padding: 0;
    text-align: center;
    width: 6ch;
}

.product-detail-stepper input::-webkit-inner-spin-button,
.product-detail-stepper input::-webkit-outer-spin-button {
    appearance: none;
}

.product-detail-stepper button {
    background: #f2f4f6;
    border: 0;
    border-radius: 5px;
    color: var(--color-text);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0;
    width: 31px;
}

.product-detail-v2 .product-detail-stepper button:is(:hover, :focus-visible):not(:disabled) {
    background: #e8ebee;
}

.product-detail-v2 .product-detail-stepper button:disabled {
    background: #f2f4f6;
    color: var(--color-muted);
    cursor: default;
}

.product-detail-stepper span {
    align-self: center;
    color: #4b5563;
    font-size: .8125rem;
}

.product-detail-meter-total {
    color: #4b5563;
    display: flex;
    flex-wrap: wrap;
    font-size: .8125rem;
    gap: 4px 8px;
    grid-column: 1 / -1;
}

.product-detail-meter-total strong {
    color: var(--color-text);
}

@media (max-width: 640px) {
    .product-detail-v2 .product-detail-image-frame {
        aspect-ratio: 1.5;
    }
}

@media (max-width: 390px) {
    .product-detail-v2 .product-detail-purchase .button-primary svg {
        display: none;
    }
}

@media (pointer: coarse) {
    .product-detail-v2 :is(.product-detail-quick-links, .product-detail-quick-files) a {
        min-height: 44px;
    }

    .product-detail-stepper button {
        min-height: 44px;
        width: 40px;
    }
}

.product-detail-v2 .product-recommendations {
    margin-block-start: 28px;
}

.product-recommendations--accessories {
    background: #f7f8f9;
    border: 1px solid #e0e3e7;
    border-radius: 14px;
    padding: clamp(12px, 2.2vw, 22px);
}

.product-recommendations__heading {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    margin-block-end: 12px;
}

.product-recommendations__heading h2 {
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.3;
    margin: 0;
    scroll-margin-block-start: 120px;
}

.product-recommendations__heading p {
    color: #4b5563;
    font-size: .875rem;
    margin: 3px 0 0;
}

.product-recommendations__icon {
    align-items: center;
    background: #fff3d4;
    border-radius: 8px;
    color: #795500;
    display: flex;
    flex: 0 0 36px;
    height: 36px;
    justify-content: center;
}

.product-recommendations__icon svg {
    height: 17px;
    width: 17px;
}

.product-recommendations--accessories .product-card--clean {
    align-content: start;
    background: #fff;
    column-gap: 8px;
    display: grid;
    grid-template-columns: minmax(72px, 30%) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    width: 100%;
}

.product-recommendations--accessories .product-card__image {
    align-self: start;
    aspect-ratio: 1;
    grid-column: 1;
    grid-row: 1 / 4;
    margin: 0;
}

.product-recommendations--accessories :is(.product-card__brand, h3, .product-card-description) {
    grid-column: 2;
}

.product-recommendations--accessories .product-card__brand { grid-row: 1; }
.product-recommendations--accessories h3 { grid-row: 2; }
.product-recommendations--accessories .product-card-description { grid-row: 3; }

.product-recommendations--accessories .product-card-footer {
    grid-column: 1 / -1;
    grid-row: 4;
}

:is(.product-recommendations, .product-discovery__history) :is(.product-card__image-media, .product-thumb.placeholder) {
    padding: 7px;
}

:is(.product-recommendations:not(.product-recommendations--accessories), .product-discovery__history) .product-card__image {
    aspect-ratio: 16 / 9;
}

.product-detail-v2 .product-discovery {
    margin-block-start: 28px;
}

.product-discovery[hidden] {
    display: none;
}

.product-discovery > h2 {
    align-items: center;
    display: flex;
    font-size: 1.25rem;
    font-weight: 750;
    gap: 8px;
    margin: 0 0 12px;
    scroll-margin-block-start: 120px;
}

.product-discovery > h2 svg {
    color: #795500;
    flex: none;
    height: 17px;
    width: 17px;
}

.product-discovery__history {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-discovery__history .product-card--clean {
    height: 100%;
}

.product-discovery .subcategory-grid--compact {
    margin-block: 0;
}

.product-discovery .subcategory-grid--compact > .subcategory-card--highlighted {
    border-color: #e2ab24;
}

.product-discovery .subcategory-card--highlighted small {
    color: #795500;
}

@media (max-width: 400px) {
    .product-discovery .subcategory-grid--compact > .subcategory-card {
        grid-template-columns: minmax(0, 31%) minmax(0, 1fr) 6px;
        min-height: 60px;
    }

    .product-discovery .subcategory-grid--compact > .subcategory-card > .category-image {
        height: 44px;
    }
}
