@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

/* ==========================================================================
   Crew — Single product page (Figma node 41:1669)
   Loaded only on product pages, and every rule is scoped under body.crew-pdp
   (the class is added only while the new layout is switched on).
   ========================================================================== */

body.crew-pdp {
    --crew-navy: #030883;
    --crew-title: #2b386f;
    --crew-gray: #f0eeed;
    --crew-pill: #f0f0f0;
    --crew-muted: #6b6e74;
    --crew-red: #ff3333;
    --crew-gold: #ffc933;
    --crew-gap: 64px;
}

/* ---------- Width / rhythm ---------- */

body.crew-pdp .single-breadcrumbs-wrapper,
body.crew-pdp .single-product-page > .container,
body.crew-pdp .product-tabs-wrapper .container,
body.crew-pdp .related-and-upsells {
    max-width: 1270px;
    margin-inline: auto;
}

/* ---------- Breadcrumb (real WooCommerce/WoodMart breadcrumb) ---------- */

body.crew-pdp .single-breadcrumbs-wrapper {
    /* WoodMart's content wrapper adds 40px on top; Figma has the breadcrumb 8px below the header */
    margin-top: -40px;
    padding-block: 24px 56px;
}

body.crew-pdp .single-breadcrumbs-wrapper .wd-products-nav {
    display: none;
}

body.crew-pdp .wd-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 16.6px;
    line-height: 16px;
}

body.crew-pdp .wd-breadcrumbs a {
    color: #555;
}

body.crew-pdp .wd-breadcrumbs a:hover {
    color: var(--crew-navy);
}

body.crew-pdp .wd-breadcrumbs .wd-last {
    color: #141414;
}

body.crew-pdp .wd-breadcrumbs .wd-delimiter {
    display: inline-block;
    width: 7px;
    height: 12px;
    margin: 0 4px;
    font-size: 0;
    background: #969696;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M7 0v12L0 6z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M7 0v12L0 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

html:not([dir='rtl']) body.crew-pdp .wd-breadcrumbs .wd-delimiter {
    transform: scaleX(-1);
}

/* ---------- Product block: gallery (right) + summary (left) ---------- */

body.crew-pdp .product-image-summary-inner.wd-grid-g {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 32px;
    align-items: start;
}

body.crew-pdp .product-image-summary-inner > .wd-grid-col {
    --wd-col-lg: 1;
    --wd-col-md: 1;
    --wd-col-sm: 1;
    grid-column: auto;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
    margin: 0;
}

/* Gallery: one main image + thumbnail column */

body.crew-pdp .woocommerce-product-gallery {
    display: flex;
    flex-direction: row;
    gap: 14px;
    width: 100%;
    margin: 0;
}

body.crew-pdp .woocommerce-product-gallery .wd-gallery-images {
    flex: 1 1 0;
    min-width: 0;
    order: 1;
}

/* RTL: the thumbnail column sits on the outer (right) edge, main image to its left */
body.crew-pdp .woocommerce-product-gallery .wd-gallery-thumb {
    flex: 0 0 152px;
    width: 152px;
    order: 0;
}

body.crew-pdp .woocommerce-product-gallery .wd-gallery-images .wd-carousel-inner,
body.crew-pdp .woocommerce-product-gallery .wd-gallery-images .wd-carousel {
    border-radius: 20px;
    background: var(--crew-gray);
    overflow: hidden;
}

body.crew-pdp .woocommerce-product-gallery .wd-gallery-images .wd-carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 530px;
    background: var(--crew-gray);
}

/* the price row already carries the discount badge, so WoodMart's label on the image is hidden */
body.crew-pdp .woocommerce-product-gallery .product-labels {
    display: none;
}

body.crew-pdp .woocommerce-product-gallery .wd-gallery-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

body.crew-pdp .woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item {
    aspect-ratio: 152 / 167;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 20px;
    background: var(--crew-gray);
    cursor: pointer;
}

body.crew-pdp .woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item.wd-thumb-active {
    border-color: var(--crew-navy);
}

body.crew-pdp .woocommerce-product-gallery .wd-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

/* ---------- Summary ---------- */

body.crew-pdp .summary.entry-summary {
    text-align: start;
}

body.crew-pdp .summary-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0;
    margin: 0;
}

body.crew-pdp .summary-inner > * {
    margin: 0;
}

body.crew-pdp .summary-inner .product_title {
    color: var(--crew-title);
    font-family: 'Almarai', Arial, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    text-align: start;
}

/* WoodMart product brand logo (real brand taxonomy) */

body.crew-pdp .summary-inner .wd-product-brands {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    text-align: start;
}

body.crew-pdp .summary-inner .wd-product-brands a {
    display: inline-block;
    padding: 0;
    border: 0;
    background: none;
}

body.crew-pdp .summary-inner .wd-product-brands img {
    display: block;
    width: auto;
    max-width: 120px;
    max-height: 40px;
    object-fit: contain;
}

/* Rating */

body.crew-pdp .crew-pdp-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    line-height: 1;
}

body.crew-pdp .crew-pdp-rating__score b {
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
}

body.crew-pdp .crew-pdp-rating__count {
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
}

body.crew-pdp .crew-pdp-stars {
    display: inline-block;
    flex: none;
    width: 152px;
    height: 24.7px;
    background: linear-gradient(to right, var(--crew-gold) var(--p, 0%), #e2e2e2 var(--p, 0%));
    -webkit-mask: url('../images/star.svg') left top / 30.4px 24.7px repeat-x;
    mask: url('../images/star.svg') left top / 30.4px 24.7px repeat-x;
}

html[dir='rtl'] body.crew-pdp .crew-pdp-stars {
    background: linear-gradient(to left, var(--crew-gold) var(--p, 0%), #e2e2e2 var(--p, 0%));
    -webkit-mask-position: right top;
    mask-position: right top;
}

/* Price (real WooCommerce price html; badge only when on sale) */

body.crew-pdp .summary-inner p.price,
body.crew-pdp .summary-inner .woocommerce-variation-price .price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
    color: #000;
    font-size: 32px;
    font-weight: 400;
    line-height: 36px;
}

body.crew-pdp .summary-inner .price .woocommerce-Price-amount,
body.crew-pdp .summary-inner .price bdi {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

body.crew-pdp .summary-inner .price ins {
    order: -1;
    background: none;
    color: #000;
    text-decoration: none;
}

body.crew-pdp .summary-inner .price del {
    color: #999;
    opacity: 1;
}

body.crew-pdp .summary-inner .price .screen-reader-text {
    display: none;
}

body.crew-pdp .crew-pdp-badge {
    order: 3;
    padding: 6px 14px;
    border-radius: 62px;
    background: rgba(255, 51, 51, 0.1);
    color: #f33;
    font-size: 12px;
    line-height: 16px;
    direction: ltr;
}

/* Short description */

body.crew-pdp .woocommerce-product-details__short-description {
    color: #404040;
    font-size: 16px;
    line-height: 22px;
}

body.crew-pdp .woocommerce-product-details__short-description > *:last-child {
    margin-bottom: 0;
}

/* Third-party installment widget (Tabby): kept, softened */

body.crew-pdp #tabbyPromo {
    border-radius: 20px;
    overflow: hidden;
}

/* ---------- Add to cart row: [quantity] [Add to cart] [wishlist] ---------- */

body.crew-pdp .summary-inner form.cart:not(.variations_form),
body.crew-pdp .summary-inner .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 0;
}

body.crew-pdp .summary-inner .quantity {
    order: 1;
    direction: ltr;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 122px;
    width: 122px;
    height: 52px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 62px;
    background: var(--crew-pill);
}

body.crew-pdp .summary-inner .quantity .minus,
body.crew-pdp .summary-inner .quantity .plus {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: #000;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

body.crew-pdp .summary-inner .quantity input.qty {
    width: 30px;
    height: 24px;
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: #000;
    font-size: 16px;
    text-align: center;
    -moz-appearance: textfield;
}

body.crew-pdp .summary-inner .quantity input.qty::-webkit-outer-spin-button,
body.crew-pdp .summary-inner .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.crew-pdp .summary-inner .single_add_to_cart_button {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    height: 52px;
    min-height: 0;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-radius: 62px;
    background: var(--crew-navy);
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    transition: opacity 0.2s;
}

body.crew-pdp .summary-inner .single_add_to_cart_button:hover {
    background: var(--crew-navy);
    opacity: 0.9;
}

body.crew-pdp .summary-inner .single_add_to_cart_button.disabled,
body.crew-pdp .summary-inner .single_add_to_cart_button:disabled {
    opacity: 0.45;
}

/* WoodMart wishlist button, drawn as the Figma pink heart */

body.crew-pdp .summary-inner .wd-wishlist-btn {
    order: 3;
    flex: 0 0 48px;
    margin: 0;
}

body.crew-pdp .summary-inner .wd-wishlist-btn > a {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 40px;
    background: #ffeaea;
    font-size: 0;
}

body.crew-pdp .summary-inner .wd-wishlist-btn .wd-action-icon,
body.crew-pdp .summary-inner .wd-wishlist-btn .wd-action-text {
    display: none;
}

body.crew-pdp .summary-inner .wd-wishlist-btn > a::before {
    content: '';
    position: absolute;
    inset: 12px;
    background: var(--crew-red);
    -webkit-mask: url('../images/heart.svg') center / 24px 20px no-repeat;
    mask: url('../images/heart.svg') center / 24px 20px no-repeat;
}

body.crew-pdp .summary-inner .wd-wishlist-btn.wd-added > a::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.6 4.6 0 0 1 8-3 4.6 4.6 0 0 1 8 3c0 5.8-8 11-8 11z'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.6 4.6 0 0 1 8-3 4.6 4.6 0 0 1 8 3c0 5.8-8 11-8 11z'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
}

/* WoodMart "Buy now" (quick buy): kept, as a quiet secondary action below the row */

body.crew-pdp .summary-inner .wd-buy-now-btn {
    order: 5;
    flex: 1 1 100%;
    height: 48px;
    min-height: 0;
    margin: 0;
    border: 1px solid var(--crew-navy);
    border-radius: 62px;
    background: transparent;
    box-shadow: none;
    color: var(--crew-navy);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
}

body.crew-pdp .summary-inner .wd-buy-now-btn:hover {
    background: var(--crew-navy);
    color: #fff;
}

/* Compare + meta: kept, quiet */

body.crew-pdp .summary-inner .wd-compare-btn {
    margin: 0;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
}

body.crew-pdp .summary-inner .product_meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
}

body.crew-pdp .summary-inner .product_meta > span {
    margin: 0;
}

body.crew-pdp .summary-inner .social-share {
    display: none;
}

/* ---------- Variations (native WooCommerce form, styled) ---------- */

body.crew-pdp .summary-inner table.variations {
    width: 100%;
    margin: 0 0 20px;
    border: 0;
}

body.crew-pdp .summary-inner table.variations th.label,
body.crew-pdp .summary-inner table.variations td.label {
    padding: 0 0 8px;
}

body.crew-pdp .summary-inner table.variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

body.crew-pdp .summary-inner table.variations label {
    color: #000;
    font-size: 16px;
    font-weight: 700;
}

body.crew-pdp .summary-inner table.variations select {
    width: 100%;
    height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 62px;
    background-color: var(--crew-pill);
    box-shadow: none;
    color: #000;
    font-family: inherit;
    font-size: 16px;
}

body.crew-pdp .summary-inner .reset_variations {
    display: inline-block;
    margin-top: 8px;
    color: var(--crew-navy);
    font-size: 14px;
}

body.crew-pdp .summary-inner .woocommerce-variation-availability p,
body.crew-pdp .summary-inner p.stock {
    margin: 0;
    color: var(--crew-muted);
    font-size: 14px;
}

body.crew-pdp .summary-inner p.stock.out-of-stock {
    color: #d33;
}

body.crew-pdp .summary-inner .single_variation_wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---------- Tabs (native WooCommerce tabs: description / specs / reviews / FAQ) ---------- */

body.crew-pdp .product-tabs-wrapper {
    margin-top: 64px;
    padding: 0;
    border: 0;
    background: none;
}

body.crew-pdp .woocommerce-tabs .wd-nav-wrapper {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.crew-pdp .woocommerce-tabs .wd-nav-tabs {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li {
    position: relative;
    flex: 1 1 0;
    margin: 0;
    text-align: center;
}

body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li > a {
    display: block;
    padding: 22px 8px 20px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
    text-transform: none;
}

body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li.active > a,
body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li > a:hover {
    color: var(--crew-navy);
}

body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li.active > a {
    font-weight: 700;
}

body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li::after,
body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li > a::after {
    display: none;
}

body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li.active {
    box-shadow: inset 0 -2px 0 var(--crew-navy);
}

body.crew-pdp .woocommerce-tabs .woocommerce-Tabs-panel {
    padding-top: 32px;
}

body.crew-pdp .woocommerce-tabs .wd-accordion-title {
    display: none;
}

@media (min-width: 1025px) {
    body.crew-pdp .woocommerce-tabs .wd-accordion-title {
        display: none;
    }
}

/* Description / additional information content */

body.crew-pdp .woocommerce-Tabs-panel--description,
body.crew-pdp .woocommerce-Tabs-panel--additional_information {
    color: #404040;
    font-size: 16px;
    line-height: 26px;
}

/* ---------- Reviews (real WooCommerce reviews) as 2-column cards ---------- */

body.crew-pdp #reviews .wd-rating-summary-wrap,
body.crew-pdp #reviews .wd-reviews-heading {
    display: none;
}

body.crew-pdp #reviews.woocommerce-Reviews {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0;
}

body.crew-pdp #reviews #comments {
    order: 1;
}

body.crew-pdp #reviews #review_form_wrapper {
    order: 2;
}

body.crew-pdp #reviews #comments,
body.crew-pdp #reviews #review_form_wrapper {
    flex: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.crew-pdp #reviews .commentlist > li.wd-col {
    width: auto;
    max-width: none;
    flex: none;
}

body.crew-pdp #review_form .form-submit .submit {
    height: 47px;
    padding: 0 40px;
    border: 0;
    border-radius: 100px;
    background: var(--crew-navy);
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
}

body.crew-pdp #reviews .commentlist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.crew-pdp #reviews .commentlist > li {
    margin: 0;
    padding: 0;
    border: 0;
}

body.crew-pdp #reviews .commentlist .comment_container {
    display: block;
    height: 100%;
    padding: 28px 32px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background: #fff;
}

body.crew-pdp #reviews .commentlist .comment_container > img,
body.crew-pdp #reviews .commentlist .avatar {
    display: none;
}

body.crew-pdp #reviews .commentlist .comment-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

body.crew-pdp #reviews .commentlist .star-rating {
    order: 1;
    float: none;
    margin: 0;
}

body.crew-pdp #reviews .commentlist .comment-text > p.meta {
    order: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 22px;
}

body.crew-pdp #reviews .commentlist .woocommerce-review__dash,
body.crew-pdp #reviews .commentlist .woocommerce-review__published-date {
    display: none;
}

body.crew-pdp #reviews .commentlist .woocommerce-review__verified {
    order: 2;
    display: inline-block;
    width: 20px;
    height: 20px;
    overflow: hidden;
    border-radius: 50%;
    background: #12a84a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
    font-size: 0;
}

body.crew-pdp #reviews .commentlist .description {
    order: 3;
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    line-height: 22px;
}

body.crew-pdp #reviews .commentlist .description p {
    margin: 0;
}

body.crew-pdp #reviews .commentlist .wd-review-likes {
    order: 4;
}

body.crew-pdp #reviews .commentlist > li[hidden] {
    display: none;
}

body.crew-pdp .crew-pdp-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 278px;
    max-width: 100%;
    height: 47px;
    margin: 20px auto 0;
    border: 0;
    border-radius: 100px;
    background: var(--crew-navy);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

/* review form */

body.crew-pdp #review_form_wrapper {
    margin-top: 40px;
}

/* ---------- FAQ tab ---------- */

body.crew-pdp .crew-pdp-faq {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.crew-pdp .crew-pdp-faq__item {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 23px;
    background: rgba(62, 80, 158, 0.02);
}

body.crew-pdp .crew-pdp-faq__item h3 {
    margin: 0;
    font-size: inherit;
}

body.crew-pdp .crew-pdp-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 24px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--crew-muted);
    font-family: inherit;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    text-align: start;
    text-transform: none;
    cursor: pointer;
}

body.crew-pdp .crew-pdp-faq__q:hover {
    color: var(--crew-navy);
}

body.crew-pdp .crew-pdp-faq__q i {
    position: relative;
    flex: none;
    width: 13px;
    height: 13px;
    transition: transform 0.25s;
}

body.crew-pdp .crew-pdp-faq__q i::before,
body.crew-pdp .crew-pdp-faq__q i::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 5.5px;
    height: 2px;
    background: #3e509e;
}

body.crew-pdp .crew-pdp-faq__q i::after {
    transform: rotate(90deg);
}

body.crew-pdp .crew-pdp-faq__q[aria-expanded='true'] i {
    transform: rotate(45deg);
}

body.crew-pdp .crew-pdp-faq__a {
    padding: 0 24px 24px;
    color: var(--crew-muted);
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
}

body.crew-pdp .crew-pdp-faq__a[hidden] {
    display: none;
}

body.crew-pdp .crew-pdp-faq__a p {
    margin: 0;
}

/* ---------- Payments band ---------- */

body.crew-pdp .crew-pdp-pay {
    width: var(--crew-vw, 100vw);
    margin: 64px calc(50% - var(--crew-vw, 100vw) / 2) 0;
    padding: 64px 20px;
    background: rgba(243, 244, 248, 0.8);
    text-align: center;
}

body.crew-pdp .crew-pdp-pay__inner {
    max-width: 1100px;
    margin: 0 auto;
}

body.crew-pdp .crew-pdp-pay h2 {
    margin: 0 0 17px;
    color: var(--crew-navy);
    font-family: inherit;
    font-size: 40px;
    font-weight: 700;
    line-height: 41.6px;
}

body.crew-pdp .crew-pdp-pay p {
    margin: 0 0 27px;
    color: var(--crew-muted);
    font-size: 22px;
    font-weight: 300;
    line-height: 25.6px;
}

body.crew-pdp .crew-pdp-pay ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 55.87px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.crew-pdp .crew-pdp-pay li {
    margin: 0;
}

body.crew-pdp .crew-pdp-pay img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ---------- Related products (WooCommerce related logic, WoodMart carousel) ---------- */

body.crew-pdp .related-and-upsells {
    margin-top: 64px;
}

body.crew-pdp .related-products .title,
body.crew-pdp .related-products .element-title {
    margin: 0 0 40px;
    color: var(--crew-navy);
    font-family: inherit;
    font-size: 40px;
    font-weight: 700;
    line-height: 42px;
    text-align: start;
}


/* Related-product cards: WoodMart's card markup restyled to the Figma product card */

body.crew-pdp .related-products {
    position: relative;
}

body.crew-pdp .related-products .wd-carousel {
    --wd-gap: 20px;
}

body.crew-pdp .related-products .wd-product {
    padding: 0;
    border: 0 !important;
    box-shadow: none !important;
    background: none;
}

body.crew-pdp .related-products .wd-product::before,
body.crew-pdp .related-products .wd-product::after,
body.crew-pdp .related-products .wd-product-wrapper::before,
body.crew-pdp .related-products .wd-product-wrapper::after {
    display: none !important;
}

body.crew-pdp .related-products .wd-carousel-inner,
body.crew-pdp .related-products .wd-carousel-item {
    border: 0;
    box-shadow: none;
}

/* the arrows are positioned against the whole section (next to the heading) */
body.crew-pdp .related-products .wd-carousel-inner {
    position: static;
}

body.crew-pdp .related-products .wd-product-wrapper {
    display: block;
    height: auto;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

body.crew-pdp .related-products .wd-product-thumb {
    position: relative;
    margin-bottom: 11px;
    aspect-ratio: 295 / 298;
    overflow: hidden;
    border-radius: 20px;
    background: var(--crew-gray);
}

body.crew-pdp .related-products .wd-product-img-link {
    display: block;
    height: 100%;
}

body.crew-pdp .related-products .wd-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

body.crew-pdp .related-products .wd-product-grid-slider-nav,
body.crew-pdp .related-products .wd-product-cats,
body.crew-pdp .related-products .wd-product-footer .wd-action-buttons {
    display: none;
}

/* wishlist heart (WoodMart button) top-left of the tile */
body.crew-pdp .related-products .wd-buttons {
    position: absolute;
    top: 8px;
    left: 8px;
    right: auto;
    z-index: 2;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
}

body.crew-pdp .related-products .wd-wishlist-btn {
    margin: 0;
}

body.crew-pdp .related-products .wd-wishlist-btn > a {
    position: relative;
    display: block;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

body.crew-pdp .related-products .wd-wishlist-btn .wd-action-icon,
body.crew-pdp .related-products .wd-wishlist-btn .wd-action-text {
    display: none;
}

body.crew-pdp .related-products .wd-wishlist-btn > a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--crew-red);
    -webkit-mask: url('../images/heart.svg') center / 20px 17px no-repeat;
    mask: url('../images/heart.svg') center / 20px 17px no-repeat;
}

/* sale label kept (WoodMart), drawn as the pink pill */
body.crew-pdp .related-products .product-labels {
    position: absolute;
    inset: auto 12px 12px auto;
    z-index: 2;
}

body.crew-pdp .related-products .product-label {
    position: static;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 6px 14px;
    border-radius: 62px;
    background: rgba(255, 51, 51, 0.1);
    color: #f33;
    font-size: 12px;
    line-height: 16px;
}

/* title row: title (start) + cart icon (end); then rating; then price */
body.crew-pdp .related-products .product-element-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'title cart' 'rating rating' 'price price';
    align-items: start;
    gap: 11px 8px;
    margin: 0 !important; /* WoodMart's hover style pulls this block up by 48px */
    padding: 0;
    text-align: start;
}

body.crew-pdp .related-products .wd-product-header,
body.crew-pdp .related-products .wd-product-footer,
body.crew-pdp .related-products .wd-add-btn {
    display: contents;
}

body.crew-pdp .related-products .wd-entities-title {
    grid-area: title;
    margin: 0;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

body.crew-pdp .related-products .wd-entities-title a {
    color: #000;
}

body.crew-pdp .related-products .star-rating {
    grid-area: rating;
    justify-self: start;
    margin: 0;
    font-size: 14px;
}

body.crew-pdp .related-products .wrap-price {
    grid-area: price;
}

body.crew-pdp .related-products .wrap-price .price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    color: #000;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
}

body.crew-pdp .related-products .wrap-price .price ins {
    order: -1;
    background: none;
    color: #000;
    text-decoration: none;
}

body.crew-pdp .related-products .wrap-price .price del {
    color: #999;
    opacity: 1;
}

body.crew-pdp .related-products .wd-add-btn .add-to-cart-loop {
    grid-area: cart;
    display: block;
    position: relative;
    visibility: visible;
    opacity: 1;
    transform: none;
    width: 32px;
    height: 28px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: url('../images/cart.svg') left center / 61px 20.25px no-repeat;
    box-shadow: none;
    font-size: 0;
    overflow: hidden;
    text-indent: -999px;
}

body.crew-pdp .related-products .wd-add-btn .add-to-cart-loop::before,
body.crew-pdp .related-products .wd-add-btn .add-to-cart-loop::after {
    display: none;
}

body.crew-pdp .related-products .added_to_cart {
    display: none;
}

/* carousel arrows next to the heading (top, start-opposite), pagination dots hidden */
body.crew-pdp .related-products .wd-nav-arrows {
    position: absolute;
    top: 9px;
    left: 0;
    z-index: 3;
    display: flex;
    gap: 16px;
    width: auto;
    height: auto;
    margin: 0;
}

body.crew-pdp .related-products .wd-nav-arrows .wd-btn-arrow {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    color: #000;
}

body.crew-pdp .related-products .wd-nav-arrows .wd-btn-arrow.wd-disabled {
    opacity: 0.25;
}

body.crew-pdp .related-products .wd-nav-pagin-wrap {
    display: none;
}

/* ---------- "Why Crew" ---------- */

body.crew-pdp .crew-pdp-why {
    margin-top: 64px;
}

body.crew-pdp .crew-pdp-why__inner {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

body.crew-pdp .crew-pdp-why header {
    max-width: 833px;
    margin: 0 auto 32px;
    text-align: center;
    letter-spacing: 0.25px;
}

body.crew-pdp .crew-pdp-why header h2 {
    margin: 0 0 16px;
    color: var(--crew-navy);
    font-family: inherit;
    font-size: 40px;
    font-weight: 700;
}

body.crew-pdp .crew-pdp-why header p {
    margin: 0;
    color: var(--crew-muted);
    font-size: 24px;
    line-height: 32px;
}

body.crew-pdp .crew-pdp-why__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

body.crew-pdp .crew-pdp-why__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 16px;
    border-radius: 24px;
    background: var(--crew-pill);
    text-align: center;
    letter-spacing: 0.15px;
}

body.crew-pdp .crew-pdp-why__icon {
    position: relative;
    width: 108px;
    height: 108px;
    margin-bottom: 10px;
}

body.crew-pdp .crew-pdp-why__icon > img:first-child {
    position: absolute;
    inset: 0;
    width: 108px;
    height: 108px;
}

body.crew-pdp .crew-pdp-why__glyph {
    position: absolute;
    max-width: none;
}

body.crew-pdp .crew-pdp-why__mask {
    position: absolute;
    left: 22.11px;
    top: 25.64px;
    width: 63.27px;
    height: 56.68px;
    background: #fff;
    -webkit-mask: var(--mask) -4.613px -2.636px / 72.035px 61.95px no-repeat;
    mask: var(--mask) -4.613px -2.636px / 72.035px 61.95px no-repeat;
}

body.crew-pdp .crew-pdp-why__card h3 {
    margin: 0;
    color: var(--crew-navy);
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.7;
}

body.crew-pdp .crew-pdp-why__card.is-accent h3 {
    color: #3e509e;
}

body.crew-pdp .crew-pdp-why__card p {
    max-width: 260px;
    margin: 0;
    color: var(--crew-muted);
    font-size: 16px;
    line-height: 1.8;
    text-wrap: balance;
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1024px) {
    body.crew-pdp .product-image-summary-inner.wd-grid-g {
        grid-template-columns: minmax(0, 1fr);
    }

    body.crew-pdp .summary-inner .product_title {
        font-size: 32px;
    }

    body.crew-pdp .woocommerce-product-gallery {
        flex-direction: column;
    }

    body.crew-pdp .woocommerce-product-gallery .wd-gallery-thumb {
        flex: none;
        width: 100%;
        order: 2;
    }

    body.crew-pdp .woocommerce-product-gallery .wd-gallery-images .wd-carousel-item {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    body.crew-pdp .related-products .element-title,
    body.crew-pdp .crew-pdp-pay h2,
    body.crew-pdp .crew-pdp-why header h2 {
        font-size: 32px;
    }

    body.crew-pdp .crew-pdp-why__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li > a {
        font-size: 17px;
    }
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 640px) {
    body.crew-pdp .single-breadcrumbs-wrapper {
        padding-block: 16px 20px;
    }

    body.crew-pdp .summary-inner .product_title {
        font-size: 26px;
    }

    body.crew-pdp .summary-inner p.price {
        font-size: 26px;
    }

    body.crew-pdp .summary-inner form.cart:not(.variations_form),
    body.crew-pdp .summary-inner .woocommerce-variation-add-to-cart {
        gap: 10px;
    }

    body.crew-pdp .summary-inner .quantity {
        flex-basis: 104px;
        width: 104px;
        padding: 0 14px;
    }

    body.crew-pdp .summary-inner .single_add_to_cart_button {
        padding: 0 10px;
        font-size: 15px;
        white-space: nowrap;
    }

    body.crew-pdp .summary-inner .wd-wishlist-btn {
        flex-basis: 44px;
    }

    body.crew-pdp .summary-inner .wd-wishlist-btn > a {
        width: 44px;
        height: 44px;
    }

    body.crew-pdp .woocommerce-tabs .wd-nav-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    body.crew-pdp .woocommerce-tabs .wd-nav-tabs > li {
        flex: 0 0 auto;
        padding-inline: 8px;
    }

    body.crew-pdp #reviews .commentlist {
        grid-template-columns: minmax(0, 1fr);
    }

    body.crew-pdp #reviews .commentlist .comment_container {
        padding: 20px;
    }

    body.crew-pdp .crew-pdp-pay {
        padding: 40px 16px;
    }

    body.crew-pdp .crew-pdp-pay h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    body.crew-pdp .crew-pdp-pay p,
    body.crew-pdp .crew-pdp-why header p {
        font-size: 16px;
        line-height: 1.6;
    }

    body.crew-pdp .crew-pdp-pay ul {
        gap: 20px 28px;
    }

    body.crew-pdp .crew-pdp-pay img {
        width: auto;
        max-height: 44px;
    }

    body.crew-pdp .crew-pdp-why__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.crew-pdp .crew-pdp-faq__q {
        padding: 16px;
        font-size: 17px;
    }

    body.crew-pdp .crew-pdp-faq__a {
        padding: 0 16px 16px;
        font-size: 16px;
    }
}
