/* Product detail modern UI – scoped to .itb-pdp only */

/* Centered content shell – matches header --itb-maxw (1680px) */
.itb-home.itb-product-page .layout-main.have-sidebar {
    display: block !important;
    max-width: 1680px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    grid-template-columns: none !important;
    box-sizing: border-box;
}

.itb-home.itb-product-page .content-area,
.itb-home.itb-product-page .shopify-section.product,
.itb-home.itb-product-page .product-default {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.itb-home.itb-product-page .left-categories {
    display: none !important;
}

/* Soften parent theme chrome around the new PDP – keep centered shell */
.template-product .layout-main,
.template-product .layout-main.have-sidebar,
.template-product .content-area,
.template-product .shopify-section.product,
.template-product .product-default,
.layout-main.have-sidebar .content-area,
.product-default {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.product-default > .itb-pdp {
    width: 100%;
}

.itb-pdp {
    --itb-red: #e31e24;
    --itb-green: #22a45d;
    --itb-black: #1a1a1a;
    --itb-gray: #6b7280;
    --itb-border: #e5e7eb;
    --itb-cream: #f7f1e8;
    --itb-row: #f5f5f5;
    --itb-specs-bg: #f9f9f9;
    --itb-pdp-maxw: 1680px;
    font-family: 'Poppins', sans-serif;
    color: var(--itb-black);
    max-width: var(--itb-pdp-maxw);
    width: 100%;
    margin: 0 auto;
    padding: 16px 0 48px;
    box-sizing: border-box;
    background: #fff;
}

.itb-pdp *,
.itb-pdp *::before,
.itb-pdp *::after {
    box-sizing: border-box;
}

.itb-pdp a {
    text-decoration: none;
}

/* Breadcrumb */
.itb-pdp-breadcrumb {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #9ca3af;
}

.itb-pdp-breadcrumb li {
    display: flex;
    align-items: center;
}

.itb-pdp-breadcrumb li + li::before {
    content: ">";
    margin-right: 6px;
    color: #c4c4c4;
}

.itb-pdp-breadcrumb a {
    color: #9ca3af;
}

.itb-pdp-breadcrumb a:hover {
    color: var(--itb-red);
}

.itb-pdp-breadcrumb li:last-child a,
.itb-pdp-breadcrumb li:last-child span {
    color: var(--itb-red);
}

/* Top 3-column grid */
.itb-pdp-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(260px, 0.85fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 36px;
}

/* Gallery */
.itb-pdp-gallery {
    min-width: 0;
}

.itb-pdp-main-image {
    position: relative;
    border: 1px solid var(--itb-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1 / 1;
}

.itb-pdp-main-image .product-gallery,
.itb-pdp-main-image .carousel-wrapper,
.itb-pdp-main-image .swiper-container,
.itb-pdp-main-image .swiper-wrapper,
.itb-pdp-main-image .swiper-slide {
    height: 100% !important;
    width: 100% !important;
}

.itb-pdp-main-image .swiper-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.itb-pdp-main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.itb-pdp-main-image .carousel-navigation {
    display: none !important;
}

.itb-pdp-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.itb-pdp-thumbs .swiper-slide,
.itb-pdp-thumb {
    width: 64px !important;
    height: 64px !important;
    flex: 0 0 64px;
    border: 1px solid var(--itb-border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    padding: 0 !important;
    margin: 0 !important;
}

.itb-pdp-thumbs .swiper-slide-active,
.itb-pdp-thumbs .swiper-slide-thumb-active,
.itb-pdp-thumb.is-active {
    border-color: var(--itb-red);
    border-width: 2px;
}

.itb-pdp-thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.itb-pdp-thumbs .product-thumbnail,
.itb-pdp-thumbs .swiper-container,
.itb-pdp-thumbs .swiper-wrapper {
    width: 100% !important;
    height: auto !important;
}

.itb-pdp-thumbs .flex-container {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch !important;
}

.itb-pdp-thumbs .product-thumbnail-nav-prev,
.itb-pdp-thumbs .product-thumbnail-nav-next {
    display: none !important;
}

.itb-pdp-thumbs .swiper-container-vertical {
    height: auto !important;
}

.itb-pdp-thumbs .swiper-container-vertical .swiper-wrapper {
    flex-direction: row !important;
    transform: none !important;
    flex-wrap: wrap;
    gap: 10px;
}

.itb-pdp-share {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.itb-pdp-share .product-widget-item-icon,
.itb-pdp-share .product-widget-item-text {
    color: #9ca3af !important;
}

.itb-pdp-share .sli {
    font-size: 18px;
}

/* Product info */
.itb-pdp-info {
    min-width: 0;
}

.itb-pdp-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px;
    color: var(--itb-black);
}

.itb-pdp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    font-size: 13px;
    color: var(--itb-gray);
    margin-bottom: 14px;
}

.itb-pdp-stock {
    color: var(--itb-green) !important;
    font-weight: 600;
}

.itb-pdp-stock::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--itb-green);
    margin-right: 6px;
    vertical-align: middle;
}

.itb-pdp-price {
    margin: 0 0 18px;
}

.itb-pdp-price .money,
.itb-pdp-price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--itb-red);
}

.itb-pdp-price-note {
    font-size: 13px;
    color: var(--itb-gray);
    font-weight: 400;
    margin-left: 4px;
}

.itb-pdp-actions,
.itb-pdp-actions.product-add-cart-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 12px;
    margin: 0 0 24px !important;
    width: 100%;
}

.itb-pdp-actions > .input-label {
    display: none !important;
}

.itb-pdp-qty,
.itb-pdp-actions .itb-pdp-qty {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: stretch !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    overflow: hidden;
    background: #fff !important;
    height: 48px !important;
    min-height: 48px !important;
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    margin: 0 !important;
    float: none !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.itb-pdp-qty-btn {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 48px !important;
    border: 0 !important;
    background: #fff !important;
    color: #111 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.itb-pdp-qty-btn:hover {
    background: #f3f4f6 !important;
    color: #e31e24 !important;
}

.itb-pdp-qty-input,
.itb-pdp-qty input.itb-pdp-qty-input,
.itb-pdp-qty input[data-number] {
    flex: 1 1 auto !important;
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 48px !important;
    min-height: 48px !important;
    text-align: center !important;
    border: 0 !important;
    border-left: 1px solid #d1d5db !important;
    border-right: 1px solid #d1d5db !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #111 !important;
    position: static !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.itb-pdp-qty-input::-webkit-outer-spin-button,
.itb-pdp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

.itb-pdp-cart-form,
.itb-pdp-actions form.itb-pdp-cart-form,
.itb-pdp-actions form.product-add-cart,
.itb-pdp-actions form.quantity-buttoncart {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
}

.itb-pdp-btn-cart,
.itb-pdp-actions .itb-pdp-btn-cart.product-add-cart,
button.itb-pdp-btn-cart {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    background: #111111 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 24px !important;
    margin: 0 !important;
    float: none !important;
    line-height: 1 !important;
}

.itb-pdp-btn-cart .sli,
.itb-pdp-btn-cart em {
    display: none !important;
}

.itb-pdp-btn-cart:hover {
    background: #000 !important;
    opacity: 0.92;
    color: #fff !important;
}

/* Order details */
.itb-pdp-order {
    border: 1px solid var(--itb-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.itb-pdp-order-title {
    margin: 0;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--itb-row);
    color: var(--itb-black);
    border-bottom: 1px solid var(--itb-border);
}

.itb-pdp-order table {
    width: 100%;
    border-collapse: collapse;
    border: 0 !important;
    margin: 0;
}

.itb-pdp-order td {
    padding: 11px 16px;
    font-size: 13px;
    border: 0 !important;
    border-bottom: 1px solid #eee !important;
    vertical-align: top;
    background: #fff !important;
}

.itb-pdp-order tr:last-child td {
    border-bottom: 0 !important;
}

.itb-pdp-order td:first-child {
    color: var(--itb-gray);
    font-weight: 500;
    width: 46%;
}

.itb-pdp-order td:first-child strong {
    font-weight: 500;
    color: var(--itb-gray);
}

.itb-pdp-order td:last-child {
    color: var(--itb-black);
    font-weight: 600;
    text-align: left;
}

/* Seller */
.itb-pdp-seller-wrap {
    min-width: 0;
    background: transparent !important;
    padding: 0 !important;
}

.itb-pdp-seller {
    background: var(--itb-cream);
    border-radius: 12px;
    padding: 22px 20px;
    min-width: 0;
}

.itb-pdp-seller-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a66b2b;
    margin-bottom: 10px;
}

.itb-pdp-seller-name,
.itb-pdp .itb-pdp-seller-name.product-vendor {
    display: block !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.35;
    margin: 0 0 8px;
    color: var(--itb-black);
}

.itb-pdp-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--itb-green);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.itb-pdp-verified::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--itb-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.itb-pdp-addr-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.itb-pdp-addr {
    font-size: 13px;
    color: var(--itb-gray);
    line-height: 1.45;
    margin-bottom: 16px;
}

.itb-pdp-seller-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.itb-pdp-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    border: 0 !important;
    padding: 10px 14px !important;
    text-align: center;
    line-height: 1.2;
}

.itb-pdp-btn-contact {
    background: var(--itb-red) !important;
    color: #fff !important;
}

.itb-pdp-btn-contact .sli,
.itb-pdp-btn-contact em {
    display: none !important;
}

.itb-pdp-btn-contact:hover {
    opacity: 0.92;
    color: #fff !important;
}

.itb-pdp-btn-wa {
    background: #25d366 !important;
    color: #fff !important;
}

.itb-pdp-btn-wa:hover {
    opacity: 0.92;
    color: #fff !important;
}

.itb-pdp-btn-profile {
    background: #fff !important;
    color: var(--itb-black) !important;
    border: 1px solid var(--itb-black) !important;
}

.itb-pdp-btn-profile:hover {
    background: #f9fafb !important;
}

.itb-pdp-phone-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.itb-pdp-phone-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--itb-border);
}

.itb-pdp-phone-row svg {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
}

.itb-pdp-trust {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.itb-pdp-trust li {
    position: relative;
    padding-left: 16px;
    font-size: 13px;
    color: #374151;
    line-height: 1.4;
}

.itb-pdp-trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.itb-pdp-trust li.is-green::before { background: var(--itb-green); }
.itb-pdp-trust li.is-red::before { background: var(--itb-red); }
.itb-pdp-trust li.is-dark::before { background: var(--itb-black); }

/* Description + specs split – match mockup (dark left / light right) */
.itb-pdp-about {
    display: grid !important;
    grid-template-columns: 1.05fr 1fr !important;
    align-items: stretch;
    border: 0 !important;
    border-radius: 14px;
    overflow: hidden;
    margin: 8px 0 48px !important;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.itb-pdp-desc {
    background: #1a1a1a !important;
    color: #fff !important;
    padding: 40px 42px !important;
    margin: 0 !important;
    border: 0 !important;
    min-height: 100%;
}

.itb-pdp-desc-label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #e31e24 !important;
    margin: 0 0 14px !important;
}

.itb-pdp-desc-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    margin: 0 0 18px !important;
    color: #fff !important;
    line-height: 1.3 !important;
}

.itb-pdp-desc-body,
.itb-pdp-desc-body.description-update {
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: #e8e8e8 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.itb-pdp-desc-body *,
.itb-pdp-desc-body p,
.itb-pdp-desc-body span,
.itb-pdp-desc-body div,
.itb-pdp-desc-body strong,
.itb-pdp-desc-body b {
    color: #e8e8e8 !important;
    background: transparent !important;
}

.itb-pdp-desc-body p {
    margin: 0 0 12px !important;
}

.itb-pdp-desc-body strong,
.itb-pdp-desc-body b {
    color: #fff !important;
    font-weight: 700 !important;
}

/* Hide duplicate product-details tables inside description text */
.itb-pdp-desc-body table,
.itb-pdp-desc-body .table {
    display: none !important;
}

.itb-pdp-desc-body ul,
.itb-pdp-desc-body ol {
    margin: 18px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.itb-pdp-desc-body ul li,
.itb-pdp-desc-body ol li {
    position: relative !important;
    padding-left: 18px !important;
    margin: 0 0 12px !important;
    color: #fff !important;
    list-style: none !important;
}

.itb-pdp-desc-body ul li::before,
.itb-pdp-desc-body ol li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #e31e24 !important;
}

.itb-pdp-specs {
    background: #f7f7f7 !important;
    padding: 40px 42px !important;
    margin: 0 !important;
    border: 0 !important;
    min-height: 100%;
}

.itb-pdp-specs-title {
    margin: 0 0 22px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #1a1a1a !important;
}

.itb-pdp-specs-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 40px !important;
    width: 100% !important;
}

.itb-pdp-spec-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 16px !important;
    padding: 14px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e4e4e4 !important;
    background: transparent !important;
    font-size: 13px !important;
    margin: 0 !important;
}

.itb-pdp-spec-label {
    color: #8a8a8a !important;
    font-weight: 400 !important;
    flex: 1 1 auto;
    text-align: left !important;
}

.itb-pdp-spec-value {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    text-align: right !important;
    flex: 0 1 48%;
}

/* Related products */
.itb-pdp-related {
    margin-bottom: 40px;
}

.itb-pdp-related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.itb-pdp-related-head h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.itb-pdp-related-link {
    color: #e31e24 !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.itb-pdp-related-link:hover {
    text-decoration: underline;
}

.itb-pdp-related-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

@media (min-width: 1400px) {
    .itb-pdp-related-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    }
}

.itb-pdp-card {
    border: 1px solid #ececec !important;
    border-radius: 10px !important;
    overflow: hidden;
    background: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none !important;
}

.itb-pdp-card:hover {
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1) !important;
}

.itb-pdp-card:hover .itb-pdp-card-title,
.itb-pdp-card:hover .itb-pdp-card-title a {
    color: #e31e24 !important;
}

.itb-pdp-card-image {
    aspect-ratio: 1 / 1;
    background: #f0f0f0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.itb-pdp-card-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
}

.itb-pdp-card-body {
    padding: 14px 14px 16px !important;
    background: #fff !important;
}

.itb-pdp-card-title {
    margin: 0 0 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #1a1a1a !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    transition: color 0.2s ease;
}

.itb-pdp-card-title a {
    color: inherit !important;
}

.itb-pdp-card-title a:hover {
    color: #e31e24 !important;
}

.itb-pdp-card-price,
.itb-pdp-card-price .money {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #e31e24 !important;
}

.itb-pdp-card .product-item-rating,
.itb-pdp-card .product-group-buttons,
.itb-pdp-card .save-retail {
    display: none !important;
}

/* Related tags */
.itb-pdp-tags {
    margin-top: 12px;
    padding-top: 8px;
}

.itb-pdp-tags-title {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
}

.itb-pdp-tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.itb-pdp-tags-list a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.itb-pdp-tags-list a:hover {
    border-color: var(--itb-red);
    color: var(--itb-red);
}

.itb-pdp .mobile-info,
.itb-pdp .show-for-small-only.accordion,
.itb-pdp .lbldes {
    display: none !important;
}

.itb-pdp-related-grid:empty {
    display: none;
}

.itb-pdp .quantity-buttoncart {
    margin: 0 !important;
}

.itb-pdp .product-add-cart-container {
    margin: 0 !important;
}

/* Override theme vertical thumbnail carousel inside new layout */
.itb-pdp .product-thumbnail.show-for-large,
.itb-pdp .product-thumbnail {
    display: block !important;
    width: 100% !important;
}

.itb-pdp-thumbs .swiper-container {
    overflow: visible !important;
}

.itb-pdp .product-vendor img {
    max-height: 36px;
    width: auto;
    float: none;
    margin: 8px 0 0;
}

/* Tablet */
@media (max-width: 1100px) {
    .itb-home.itb-product-page .layout-main.have-sidebar {
        padding: 0 16px !important;
    }

    .itb-pdp {
        padding: 14px 0 40px;
    }

    .itb-pdp-top {
        grid-template-columns: 1fr 1fr;
    }

    .itb-pdp-seller-wrap {
        grid-column: 1 / -1;
    }

    .itb-pdp-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobile / small display */
@media (max-width: 767px) {
    .itb-home.itb-product-page .layout-main.have-sidebar {
        max-width: 100% !important;
        padding: 0 12px !important;
    }

    .itb-pdp {
        max-width: 100%;
        padding: 12px 0 36px;
    }

    .itb-pdp-top {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 24px;
    }

    .itb-pdp-title {
        font-size: 22px;
    }

    .itb-pdp-price .money,
    .itb-pdp-price-amount {
        font-size: 22px;
    }

    .itb-pdp-actions,
    .itb-pdp-actions.product-add-cart-container {
        flex-wrap: nowrap !important;
        align-items: stretch !important;
    }

    .itb-pdp-qty {
        flex: 0 0 140px !important;
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        height: 48px !important;
    }

    .itb-pdp-cart-form,
    .itb-pdp-btn-cart {
        flex: 1 1 auto !important;
        width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
    }

    .itb-pdp-order td {
        font-size: 12px;
        padding: 9px 12px;
    }

    .itb-pdp-about {
        grid-template-columns: 1fr !important;
        border-radius: 12px;
    }

    .itb-pdp-desc,
    .itb-pdp-specs {
        padding: 24px 20px !important;
    }

    .itb-pdp-desc-title {
        font-size: 20px !important;
    }

    .itb-pdp-specs-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .itb-pdp-related-head h3 {
        font-size: 20px;
    }

    .itb-pdp-related-grid {
        display: flex !important;
        grid-template-columns: none;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .itb-pdp-card {
        flex: 0 0 68%;
        max-width: 240px;
        scroll-snap-align: start;
    }

    .itb-pdp-main-image {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .itb-pdp-card {
        flex-basis: 78%;
    }

    .itb-pdp-thumbs .swiper-slide,
    .itb-pdp-thumb {
        width: 56px !important;
        height: 56px !important;
        flex-basis: 56px;
    }
}

@media print, screen and (min-width: 50.0625em) {
    .product-info-container {
        padding-left: 0.3333%;
    }
}
