.single-product main { padding: 0; margin: 0; }
.single-product .woocommerce { padding: 0 !important; }

.bp-product h1::after, .bp-product h2::after, .bp-product h3::after,
.bp-product h4::after, .bp-product h5::after, .bp-product h6::after { display: none !important; }
.bp-product h1, .bp-product h2, .bp-product h3,
.bp-product h4, .bp-product h5, .bp-product h6 { margin-bottom: 0; }

.bp-product__breadcrumbs {
    display: flex; align-items: center; gap: 10px;
    max-width: 1724px; margin: 21px auto 24px; padding: 0 20px;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif; font-size: 14px; line-height: 16px;
    color: #000;
}
.bp-product__breadcrumbs a { color: #000; text-decoration: none; }
.bp-product__breadcrumbs a:hover { color: #e82693; }
.bp-product__breadcrumbs-sep {
    display: inline-flex; width: 9px; height: 18px; color: #a7a7a7;
}
.bp-product__breadcrumbs-sep svg { width: 100%; height: 100%; }
.bp-product__breadcrumbs-current { color: #a7a7a7; }

.bp-product {
    max-width: 1724px;
    margin: 0 auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 262px 1fr;
    gap: 40px;
    font-family: "Open Sans", sans-serif;
}

.bp-product__sidebar { font-family: "Open Sans", sans-serif; display: flex; flex-direction: column; gap: 32px; }
.bp-product__sidebar .bp-shop__cats { margin-bottom: 0; }
.bp-product__sidebar .bp-shop__filters-title { margin-top: 0; }
.bp-product__sidebar .bp-shop__filter-group { margin-bottom: 28px; }
.bp-product__sidebar .bp-shop__filter-group:last-child { margin-bottom: 0; }
.bp-product__sidebar .bp-shop__color-list { gap: 14px 16px; }
.bp-product__sidebar .bp-shop__plain-list { gap: 10px; }
.bp-product__main { min-width: 0; }

.bp-product__top {
    display: grid;
    grid-template-columns: 544px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 48px;
}
.bp-product__top > * { min-width: 0; }

.bp-product__gallery { min-width: 0; max-width: 100%; }
.bp-product__gallery-main {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    aspect-ratio: 544 / 515;
    position: relative;
    overflow: hidden;
}
.bp-product__gallery-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 28px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.bp-product__gallery-slide.is-active { opacity: 1; pointer-events: auto; }
.bp-product__gallery-slide img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
}
.bp-product__gallery-thumbs-wrap {
    position: relative;
    margin-top: 16px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.bp-product__gallery-thumbs {
    display: flex; gap: 16px; flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.bp-product__gallery-thumbs::-webkit-scrollbar { display: none; }
.bp-product__gallery-thumbs-wrap.has-slider .bp-product__gallery-thumbs {
    flex-wrap: nowrap;
    padding: 0 36px;
    scroll-padding: 0 36px;
    cursor: grab;
    user-select: none;
}
.bp-product__gallery-thumbs-wrap.has-slider .bp-product__gallery-thumbs.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.bp-product__gallery-thumbs-wrap.has-slider .bp-product__gallery-thumb img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.bp-product__gallery-thumb {
    width: 116px; height: 72px;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 4px;
    cursor: pointer;
    transition: border-color .15s ease;
    display: flex; align-items: center; justify-content: center;
}
.bp-product__gallery-thumb img {
    max-width: 100%; max-height: 100%; object-fit: contain; display: block;
}
.bp-product__gallery-thumb.is-active,
.bp-product__gallery-thumb:hover { border-color: #e82693; }
.bp-product__gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #212529;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
    z-index: 2;
}
.bp-product__gallery-nav:hover { background: #e82693; color: #fff; border-color: #e82693; }
.bp-product__gallery-nav[hidden] { display: none; }
.bp-product__gallery-nav svg { width: 16px; height: 16px; }
.bp-product__gallery-nav--prev { left: 0; }
.bp-product__gallery-nav--next { right: 0; }

.bp-product__info {
    position: relative;
    display: flex; flex-direction: column; gap: 20px;
    padding-right: 56px;
}
.bp-product__wishlist {
    position: absolute; top: 0; right: 0;
    width: 40px; height: 40px;
    border: 0; background: transparent; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    color: #0e1318;
}
.bp-product__wishlist:hover { color: #e82693; }
.bp-product__wishlist.is-active svg { fill: #e82693; stroke: #e82693; }

.bp-product__title {
    font-family: "Open Sans", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 38.4px;
    color: #212529;
    margin: 0;
    max-width: 586px;
}
.bp-product__title-sku { font-weight: 400; }

.bp-product__sku {
    font-family: "Open Sans", sans-serif;
    font-size: 12px; line-height: 18px;
    color: #444;
    margin: 0;
}
.bp-product__short-desc {
    font-family: "Open Sans", sans-serif;
    font-size: 16px; line-height: 24px;
    color: #000;
    margin: 0;
}
.bp-product__short-desc p { margin: 0; }

.bp-product__price {
    display: flex; align-items: flex-end; gap: 8px;
    margin: 0;
    font-family: "Open Sans", sans-serif;
}
.bp-product__price-prefix,
.bp-product__price-suffix {
    font-size: 18px; line-height: 22px; font-weight: 500;
    color: #0e1318;
}
.bp-product__price-value {
    font-size: 26px; line-height: 32px; font-weight: 700;
    color: #eb0084;
}

.bp-product__colors { display: flex; flex-direction: column; gap: 15px; }
.bp-product__colors-label {
    font-size: 16px; line-height: 22.86px;
    color: #0e1318; margin: 0;
}
.bp-product__colors-row { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-product__color {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    background-clip: padding-box;
    transition: transform .12s ease, box-shadow .12s ease;
}
.bp-product__color.is-light { border-color: rgba(44,62,80,0.5); }
.bp-product__color:hover { transform: translateY(-1px); }
.bp-product__color.is-selected { box-shadow: 0 0 0 2px #e82693, 0 0 0 4px #fff; }
.bp-product__color-check {
    position: absolute; left: 50%; top: 60%;
    width: 16px; height: 8px;
    border-bottom: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
    opacity: 0;
    transition: opacity .12s ease;
    pointer-events: none;
}
.bp-product__color.is-selected .bp-product__color-check { opacity: 1; }
.bp-product__color.is-light.is-selected .bp-product__color-check {
    border-color: #0e1318;
}
.bp-product__color-selected {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 14px; line-height: 20px;
    color: #0e1318;
    margin: 0;
}
.bp-product__color-selected strong { font-weight: 600; }

.bp-product__buy {
    display: flex; align-items: flex-end; gap: 16px;
    flex-wrap: wrap;
}
.bp-product__qty-group { display: flex; flex-direction: column; gap: 15px; }
.bp-product__qty-label {
    font-size: 16px; line-height: 22.86px; color: #0e1318;
}
.bp-product__qty {
    width: 80px; height: 50px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #0e1318;
    box-sizing: border-box;
    outline: none;
    -moz-appearance: textfield;
}
.bp-product__qty::-webkit-outer-spin-button,
.bp-product__qty::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}
.bp-product__qty:focus { border-color: #e82693; }
.bp-product__submit {
    flex: 1 1 auto;
    min-width: 280px;
    height: 50px;
    background: #e82693;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    cursor: pointer;
    transition: background .2s ease;
}
.bp-product__submit:hover { background: #c91f7d; color: #fff; }
.bp-product__submit-sub { display: block; font-size: 12px; font-weight: 400; opacity: .9; margin-top: 2px; }
.bp-product__cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.bp-product__quote-btn {
    flex: 1 1 280px;
    min-width: 280px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 18px;
    background: #fff;
    color: #e82693;
    border: 2px solid #e82693;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    box-sizing: border-box;
    transition: background .2s ease, color .2s ease;
}
.bp-product__quote-btn:hover { background: #e82693; color: #fff; }
.bp-product__quote-hint {
    margin: 4px 0 0;
    padding: 12px 14px;
    background: #fff8e1;
    border-left: 3px solid #f5c518;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}
.bp-product__quote-hint strong { color: #e82693; }

.bp-product__tabs {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 48px;
}
.bp-product__tabs-nav {
    display: flex; gap: 0;
}
.bp-product__tab {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 18px 16px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px; line-height: 20px;
    color: #444;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    transition: color .15s ease, border-color .15s ease;
}
.bp-product__tab:hover { color: #e6007e; }
.bp-product__tab.is-active {
    color: #e6007e;
    border-bottom-color: #e6007e;
}

.bp-product__tabs-panes { padding: 24px 0 32px; }
.bp-product__tab-pane { display: none; }
.bp-product__tab-pane.is-active { display: block; }

.bp-product__stock-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.bp-product__stock-table thead tr { background: #e5e7eb; }
.bp-product__stock-table thead th {
    height: 56px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px; line-height: 24px; font-weight: 400;
    color: #364153;
    text-align: center;
    padding: 0 12px;
}
.bp-product__stock-table thead th:first-child { border-radius: 5px 0 0 5px; padding-left: 24px; }
.bp-product__stock-table thead th:last-child  { border-radius: 0 5px 5px 0; }
.bp-product__stock-table th.is-left,
.bp-product__stock-table td.is-left { text-align: left; }
.bp-product__stock-table tbody td {
    height: 96px;
    padding: 0 12px;
    text-align: center;
    color: #101828;
    font-size: 16px; line-height: 24px;
    vertical-align: middle;
}
.bp-product__stock-table tbody td:first-child { padding-left: 24px; }
.bp-product__stock-table tbody tr:nth-child(even) { background: #f3f4f6; }
.bp-product__stock-row { display: flex; align-items: center; gap: 16px; }
.bp-product__stock-thumb {
    width: 48px; height: 48px;
    border-radius: 4px;
    object-fit: cover;
    background: #fff;
    border: 1px solid #dee2e6;
}
.bp-product__stock-code { font-size: 16px; line-height: 24px; color: #101828; }
.bp-product__stock-color { font-size: 14px; line-height: 20px; color: #4a5565; }
.bp-product__stock-eta-date { font-size: 12px; line-height: 16px; color: #6a7282; }

.bp-product__attrs-table {
    width: 100%;
    border-collapse: collapse;
}
.bp-product__attrs-table th,
.bp-product__attrs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
    font-size: 14px;
    line-height: 20px;
}
.bp-product__attrs-table th { font-weight: 600; color: #212529; width: 240px; background: #f3f4f6; }
.bp-product__attrs-table td { color: #444; }

.bp-product__empty {
    color: #777272;
    font-size: 16px;
    text-align: center;
    padding: 32px 0;
}

.bp-product__related { margin: 60px 0 0; }
.bp-product__related-title {
    font-family: "Open Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 38.4px;
    color: #212529;
    text-align: center;
    margin: 0 0 32px;
}
.bp-product__related-wrap {
    position: relative;
    display: flex; align-items: stretch; gap: 16px;
}
.bp-product__related-list {
    list-style: none; margin: 0; padding: 4px 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 260px);
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1 1 0;
    scroll-snap-type: x mandatory;
}
.bp-product__related-list::-webkit-scrollbar { height: 6px; }
.bp-product__related-list::-webkit-scrollbar-thumb { background: #dee2e6; border-radius: 3px; }
.bp-product__related-list > li.product { width: 260px !important; margin: 0 !important; float: none !important; scroll-snap-align: start; }

.bp-product__related-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #212529;
    z-index: 2;
    transition: background .15s ease, color .15s ease;
}
.bp-product__related-arrow:hover { background: #e82693; color: #fff; border-color: #e82693; }
.bp-product__related-arrow--prev { left: -22px; }
.bp-product__related-arrow--next { right: -22px; }

@media (max-width: 1199px) {
    .bp-product { grid-template-columns: 1fr; }
    .bp-product__sidebar { order: 2; }
    .bp-product__main { order: 1; }
    .bp-product__top { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 767px) {
    .bp-product__top { grid-template-columns: 1fr; }
    .bp-product__info { padding-right: 0; }
    .bp-product__title { font-size: 24px; line-height: 32px; }
    .bp-product__related-arrow--prev { left: 0; }
    .bp-product__related-arrow--next { right: 0; }
}
