/* ================================================================== */
/*  Badge Product Selector — Custom Product Page  v3.3.0              */
/*  Light theme · Wide layout · Premium product page · Animated       */
/* ================================================================== */

/* ------------------------------------------------------------------ */
/*  Reset — override Betheme / theme layout                           */
/* ------------------------------------------------------------------ */
body.bps-custom-page {
    margin: 0;
    padding: 0;
    background: #f5f6fa;
    color: #1a1a2e;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

body.bps-custom-page * {
    box-sizing: border-box;
}

/* Ensure Betheme elements play nicely with our layout */
body.bps-custom-page .top_bar_left,
body.bps-custom-page .top_bar_right,
body.bps-custom-page #Side_slide,
body.bps-custom-page .mfn-loaders {
    /* leave theme header/footer visible */
}

body.bps-custom-page #Wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

body.bps-custom-page #Content {
    padding: 0 !important;
}

/* ------------------------------------------------------------------ */
/*  Container                                                         */
/* ------------------------------------------------------------------ */
.bpp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.bpp-container-narrow {
    max-width: 900px;
}

/* ------------------------------------------------------------------ */
/*  Header                                                            */
/* ------------------------------------------------------------------ */
.bpp-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

body.admin-bar .bpp-header {
    top: 32px;
}

.bpp-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.bpp-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.bpp-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.bpp-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -.01em;
}

.bpp-header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bpp-header-nav a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}

.bpp-header-nav a:hover {
    color: #1a1a2e;
}

.bpp-cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.bpp-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #7c5cff;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ------------------------------------------------------------------ */
/*  Breadcrumb                                                        */
/* ------------------------------------------------------------------ */
.bpp-breadcrumb {
    padding: 16px 0;
    background: #f5f6fa;
    position: relative;
    z-index: 1;
}

/* Push content below Betheme sticky header —
   The theme #Header is position:fixed/sticky, so our first content element
   must be offset by the header height. JS below will refine this at runtime. */
body.bps-custom-page .bpp-breadcrumb {
    padding-top: 120px;   /* safe CSS fallback for ~header height */
}

body.bps-custom-page #Content {
    padding: 0 !important;
}

body.bps-custom-page .section_wrapper,
body.bps-custom-page .sections_group {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.bpp-breadcrumb .bpp-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.bpp-breadcrumb a {
    color: #9ca3af;
    text-decoration: none;
    transition: color .2s;
}

.bpp-breadcrumb a:hover {
    color: #7c5cff;
}

.bpp-breadcrumb svg {
    color: #d1d5db;
    flex-shrink: 0;
}

.bpp-breadcrumb span {
    color: #1a1a2e;
    font-weight: 600;
}

/* ------------------------------------------------------------------ */
/*  Mobile-only product title (hidden on desktop)                     */
/* ------------------------------------------------------------------ */
.bpp-mobile-title {
    display: none;
    text-align: center;
    padding: 0 0 8px;
}
.bpp-mobile-title .bpp-mobile-kicker {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #7c5cff;
    margin-bottom: 6px;
    opacity: .75;
}
.bpp-mobile-title h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.15;
    color: #1a1a2e;
}

/* ------------------------------------------------------------------ */
/*  Hero — Two column layout                                          */
/* ------------------------------------------------------------------ */
.bpp-main {
    padding: 0 0 48px;
}

.bpp-hero {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: start;
}

/* ------------------------------------------------------------------ */
/*  Gallery — Premium layout with vertical thumbs (desktop)           */
/* ------------------------------------------------------------------ */
.bpp-gallery {
    position: sticky;
    top: 88px;
    display: grid;
    grid-template-columns: 68px 1fr;
    grid-template-rows: 1fr auto;
    gap: 12px;
}

body.admin-bar .bpp-gallery {
    top: 120px;
}

/* -- Vertical thumbnail sidebar ------------------------------------ */
.bpp-gallery-sidebar {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px;
}

.bpp-gallery-sidebar::-webkit-scrollbar {
    display: none;
}

.bpp-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    padding: 4px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}

.bpp-thumb:hover {
    border-color: #c8cad0;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.bpp-thumb.active {
    border-color: #7c5cff;
    box-shadow: 0 0 0 3px rgba(124,92,255,.15);
}

.bpp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* -- Main image viewport ------------------------------------------- */
.bpp-gallery-viewport {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.bpp-main-img {
    display: block;
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    padding: 20px;
    transition: opacity .25s ease;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

/* -- Hover zoom overlay -------------------------------------------- */
.bpp-zoom-overlay {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 250%;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity .2s ease;
    cursor: zoom-in;
    border-radius: 16px;
}

.bpp-gallery-viewport.bpp-zooming .bpp-zoom-overlay {
    opacity: 1;
    pointer-events: auto;
}

.bpp-gallery-viewport.bpp-zooming .bpp-main-img {
    opacity: 0;
}

/* -- Navigation arrows (appear on hover) --------------------------- */
.bpp-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s ease, transform .2s ease, box-shadow .2s ease;
    color: #1a1a2e;
    padding: 0;
}

.bpp-gallery-viewport:hover .bpp-gallery-nav {
    opacity: 1;
}

.bpp-gallery-nav:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
    transform: translateY(-50%) scale(1.1);
}

.bpp-gallery-nav--prev { left: 12px; }
.bpp-gallery-nav--next { right: 12px; }

/* -- Counter badge ------------------------------------------------- */
.bpp-gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    z-index: 3;
    pointer-events: none;
}

.bpp-no-image {
    color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* -- Stock pills (full width below gallery) ----------------------- */
.bpp-stock-pills {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 4px;
}

/* Stock pills */
.bpp-stock-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.bpp-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 6px 12px;
    border-radius: 20px;
}

.bpp-pill svg {
    flex-shrink: 0;
}

.bpp-pill-stock {
    color: #10b981;
    border-color: rgba(16,185,129,.2);
    background: rgba(16,185,129,.04);
}

.bpp-pill-stock svg {
    color: #10b981;
}

/* ------------------------------------------------------------------ */
/*  Selector column                                                   */
/* ------------------------------------------------------------------ */
.bpp-selector-col {
    min-width: 0;
}

/* Override the selector's max-width when inside the product page layout */
.bpp-selector-col .bps-selector {
    max-width: 100%;
    margin: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* ------------------------------------------------------------------ */
/*  Section blocks                                                    */
/* ------------------------------------------------------------------ */
.bpp-section {
    padding: 56px 0;
}

.bpp-section-alt {
    background: #fff;
}

/* Section title with accent bar (matching badge.studio) */
.bpp-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 28px;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bpp-title-bar {
    display: inline-block;
    width: 4px;
    height: 28px;
    background: #7c5cff;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/*  About section — card container                                    */
/* ------------------------------------------------------------------ */
.bpp-about-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.bpp-about-content {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
}

.bpp-about-content p {
    margin: 0 0 16px;
}

.bpp-about-content p:last-child {
    margin-bottom: 0;
}

.bpp-about-content strong {
    color: #1a1a2e;
}

.bpp-about-content em {
    color: #6b7280;
}

.bpp-about-content ul,
.bpp-about-content ol {
    padding-left: 20px;
    margin: 0 0 16px;
}

.bpp-about-content li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.bpp-about-content li::marker {
    color: #7c5cff;
}

.bpp-about-content code {
    background: rgba(124,92,255,.06);
    color: #7c5cff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* ------------------------------------------------------------------ */
/*  Product Details — two-column cards                                */
/* ------------------------------------------------------------------ */
.bpp-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.bpp-details-card {
    background: #f5f6fa;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.bpp-details-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #eef0f6;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7280;
}

.bpp-details-card-header svg {
    color: #7c5cff;
}

/* Included card — purple accent header */
.bpp-included-header {
    background: rgba(124,92,255,.06);
    border-bottom-color: rgba(124,92,255,.12);
    color: #7c5cff;
}

.bpp-included-header svg {
    color: #7c5cff;
}

/* ---- Specs list (left column) ---- */
.bpp-specs-list {
    padding: 4px 0;
}

.bpp-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #eef0f6;
    transition: background .15s;
}

.bpp-spec-row:last-child {
    border-bottom: none;
}

.bpp-spec-row:hover {
    background: rgba(124,92,255,.02);
}

.bpp-spec-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bpp-spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(124,92,255,.08);
    flex-shrink: 0;
}

.bpp-spec-icon svg {
    color: #7c5cff;
}

.bpp-spec-label {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
}

.bpp-spec-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: right;
}

/* ---- What's Included (right column) ---- */
.bpp-included-list {
    padding: 4px 0;
}

.bpp-included-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #eef0f6;
    transition: background .15s;
}

.bpp-included-item:last-child {
    border-bottom: none;
}

.bpp-included-item:hover {
    background: rgba(124,92,255,.02);
}

.bpp-included-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(124,92,255,.08);
    flex-shrink: 0;
    margin-top: 2px;
}

.bpp-included-icon svg {
    color: #7c5cff;
}

.bpp-included-info {
    flex: 1;
    min-width: 0;
}

.bpp-included-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.bpp-included-info span {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
}

.bpp-included-check {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ------------------------------------------------------------------ */
/*  Fitting Instructions                                              */
/* ------------------------------------------------------------------ */

/* Tabs */
.bpp-fitting-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: #eef0f6;
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
}

.bpp-fitting-tab {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    transition: all .2s;
    white-space: nowrap;
}

.bpp-fitting-tab:hover {
    color: #1a1a2e;
}

.bpp-fitting-tab.active {
    background: #7c5cff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(124,92,255,.25);
}

/* Panels */
.bpp-fitting-panel {
    display: none;
}

.bpp-fitting-panel.active {
    display: block;
}

/* Fitting card */
.bpp-fitting-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.bpp-fitting-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 28px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    border-bottom: 1px solid #eef0f6;
}

.bpp-fitting-header svg {
    color: #7c5cff;
}

/* Steps grid */
.bpp-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 24px 28px;
}

.bpp-step-item {
    display: flex;
    gap: 14px;
    padding: 16px 20px 16px 0;
}

.bpp-step-item:nth-child(even) {
    padding: 16px 0 16px 20px;
    border-left: 1px solid #eef0f6;
}

.bpp-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(124,92,255,.08);
    color: #7c5cff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.bpp-step-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.bpp-step-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
}

/* Fitting note */
.bpp-fitting-note {
    margin: 0 28px 20px;
    padding: 12px 18px;
    background: rgba(124,92,255,.04);
    border: 1px solid rgba(124,92,255,.1);
    border-radius: 10px;
    font-size: 13px;
    color: #7c5cff;
    line-height: 1.5;
}

.bpp-fitting-note strong {
    color: #6b4edb;
}

/* ------------------------------------------------------------------ */
/*  Trust bar                                                         */
/* ------------------------------------------------------------------ */
.bpp-trust-bar {
    padding: 48px 0;
    background: #eef0f6;
}

.bpp-trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bpp-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.bpp-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(124,92,255,.08);
    flex-shrink: 0;
}

.bpp-trust-icon svg {
    color: #7c5cff;
}

.bpp-trust-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.bpp-trust-item span {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.45;
}

/* ------------------------------------------------------------------ */
/*  Related products                                                  */
/* ------------------------------------------------------------------ */
.bpp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bpp-related-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: all .25s ease;
}

.bpp-related-card:hover {
    border-color: #c8cad0;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    transform: translateY(-3px);
}

.bpp-related-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bpp-related-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform .3s;
}

.bpp-related-card:hover .bpp-related-img img {
    transform: scale(1.05);
}

.bpp-no-image-sm {
    color: #d1d5db;
}

.bpp-related-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bpp-related-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.bpp-related-price {
    font-size: 13px;
    color: #7c5cff;
    font-weight: 700;
}

/* ------------------------------------------------------------------ */
/*  Footer                                                            */
/* ------------------------------------------------------------------ */
.bpp-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 48px 0 0;
}

.bpp-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.bpp-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bpp-footer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.bpp-footer-tagline {
    color: rgba(255,255,255,.5);
    font-size: 13px;
    margin: 0;
}

.bpp-footer-links {
    display: flex;
    gap: 24px;
}

.bpp-footer-links a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color .2s;
}

.bpp-footer-links a:hover {
    color: #fff;
}

.bpp-footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.bpp-footer-bottom span {
    color: rgba(255,255,255,.35);
    font-size: 12px;
}

/* ------------------------------------------------------------------ */
/*  Delivery Hero Card                                                */
/* ------------------------------------------------------------------ */
.bpp-delivery-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.bpp-delivery-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.bpp-delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124,92,255,.1);
}

.bpp-delivery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
}

.bpp-delivery-uk::before {
    background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
    animation: bpp-shimmer 2.5s ease-in-out infinite;
}

.bpp-delivery-world::before {
    background: linear-gradient(90deg, #7c5cff, #a78bfa, #c4b5fd);
    animation: bpp-shimmer 2.5s ease-in-out infinite .5s;
}

@keyframes bpp-shimmer {
    0%, 100% { opacity: .7; }
    50% { opacity: 1; }
}

.bpp-delivery-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(16,185,129,.02));
}

.bpp-delivery-world .bpp-delivery-icon-wrap {
    background: linear-gradient(135deg, rgba(124,92,255,.08), rgba(124,92,255,.02));
}

.bpp-delivery-icon {
    color: #10b981;
    animation: bpp-truck-bounce 3s ease-in-out infinite;
}

.bpp-delivery-world .bpp-delivery-icon {
    color: #7c5cff;
    animation: bpp-globe-spin 8s linear infinite;
}

@keyframes bpp-truck-bounce {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(3px) translateY(-1px); }
    75% { transform: translateX(-2px) translateY(1px); }
}

@keyframes bpp-globe-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bpp-delivery-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: rgba(16,185,129,.08);
    animation: bpp-pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

.bpp-pulse-world {
    background: rgba(124,92,255,.08);
}

@keyframes bpp-pulse-ring {
    0% { transform: scale(.9); opacity: .6; }
    50% { transform: scale(1.1); opacity: 0; }
    100% { transform: scale(.9); opacity: 0; }
}

.bpp-delivery-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bpp-delivery-badge {
    display: inline-flex;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #10b981;
    background: rgba(16,185,129,.08);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 4px;
}

.bpp-badge-world {
    color: #7c5cff;
    background: rgba(124,92,255,.08);
}

.bpp-delivery-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.bpp-delivery-time {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -.02em;
}

.bpp-delivery-world .bpp-delivery-time {
    background: linear-gradient(135deg, #7c5cff, #6244e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bpp-delivery-sub {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.bpp-delivery-speed {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #f3f4f6;
}

.bpp-speed-bar {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.bpp-speed-fill {
    position: absolute;
    top: 0;
    left: -40%;
    height: 100%;
    width: 40%;
    border-radius: 3px;
    animation: bpp-speed-slide 2s ease-in-out infinite;
}

.bpp-speed-fast {
    background: linear-gradient(90deg, transparent, #10b981, #34d399, transparent);
}

.bpp-speed-intl {
    background: linear-gradient(90deg, transparent, #7c5cff, #a78bfa, transparent);
    animation-delay: .8s;
}

@keyframes bpp-speed-slide {
    0% { left: -40%; }
    100% { left: 100%; }
}

.bpp-delivery-notes {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.bpp-delivery-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 10px 18px;
    border-radius: 10px;
}

.bpp-delivery-note svg {
    color: #9ca3af;
    flex-shrink: 0;
}

.bpp-delivery-note strong {
    color: #1a1a2e;
}

/* ------------------------------------------------------------------ */
/*  Responsive                                                        */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .bpp-mobile-title {
        display: block !important;
    }

    .bps-product-title {
        display: none !important;
    }

    .bpp-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bpp-gallery {
        position: static;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bpp-gallery-sidebar {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 0;
        scrollbar-width: thin;
    }

    .bpp-gallery-viewport {
        grid-column: 1;
        grid-row: 1;
    }

    .bpp-stock-pills {
        grid-row: 3;
    }

    .bpp-gallery-nav {
        opacity: .85;
        width: 36px;
        height: 36px;
    }

    .bpp-zoom-overlay {
        display: none;
    }

    .bpp-details-grid {
        grid-template-columns: 1fr;
    }

    .bpp-trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .bpp-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bpp-delivery-hero {
        grid-template-columns: 1fr;
    }

    .bpp-steps-grid {
        grid-template-columns: 1fr;
    }

    .bpp-step-item:nth-child(even) {
        padding: 16px 20px 16px 0;
        border-left: none;
    }
}

@media (max-width: 640px) {
    .bpp-header-inner {
        height: 56px;
        padding: 0 16px;
    }

    .bpp-container {
        padding: 0 16px;
    }

    .bpp-hero {
        gap: 16px;
    }

    .bpp-gallery-viewport {
        border-radius: 12px;
        min-height: 220px;
    }

    .bpp-main-img {
        max-height: 380px;
    }

    .bpp-thumb {
        width: 52px;
        height: 52px;
    }

    .bpp-gallery-nav {
        width: 32px;
        height: 32px;
    }

    .bpp-gallery-nav--prev { left: 8px; }
    .bpp-gallery-nav--next { right: 8px; }

    .bpp-about-card {
        padding: 20px;
        border-radius: 12px;
    }

    .bpp-trust-items {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bpp-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .bpp-section {
        padding: 36px 0;
    }

    .bpp-section-title {
        font-size: 20px;
    }

    .bpp-footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .bpp-footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }

    .bpp-fitting-tabs {
        width: 100%;
    }

    .bpp-fitting-tab {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
    }

    .bpp-steps-grid {
        padding: 16px 20px;
    }

    .bpp-fitting-note {
        margin: 0 16px 16px;
    }

    .bpp-delivery-card {
        padding: 24px 20px;
    }

    .bpp-delivery-time {
        font-size: 20px;
    }

    .bpp-delivery-notes {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
}

/* ================================================================== */
/*  SCROLL-REVEAL ANIMATION ENGINE  v3.3.0                            */
/*  Heavy animation — entrance reveals, stagger, hover depth          */
/* ================================================================== */

/* ---- Base reveal states ------------------------------------------ */
.bpp-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .8s cubic-bezier(.215,.61,.355,1),
                transform .8s cubic-bezier(.215,.61,.355,1);
    transition-delay: var(--bpp-delay, 0s);
    will-change: opacity, transform;
}

.bpp-reveal.bpp-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Direction variants */
.bpp-reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity .7s cubic-bezier(.215,.61,.355,1),
                transform .7s cubic-bezier(.215,.61,.355,1);
    transition-delay: var(--bpp-delay, 0s);
    will-change: opacity, transform;
}

.bpp-reveal-left.bpp-revealed {
    opacity: 1;
    transform: translateX(0);
}

.bpp-reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity .7s cubic-bezier(.215,.61,.355,1),
                transform .7s cubic-bezier(.215,.61,.355,1);
    transition-delay: var(--bpp-delay, 0s);
    will-change: opacity, transform;
}

.bpp-reveal-right.bpp-revealed {
    opacity: 1;
    transform: translateX(0);
}

.bpp-reveal-scale {
    opacity: 0;
    transform: scale(.88);
    transition: opacity .8s cubic-bezier(.215,.61,.355,1),
                transform .8s cubic-bezier(.215,.61,.355,1);
    transition-delay: var(--bpp-delay, 0s);
    will-change: opacity, transform;
}

.bpp-reveal-scale.bpp-revealed {
    opacity: 1;
    transform: scale(1);
}

/* Fade-up with slight rotation (used for cards) */
.bpp-reveal-tilt {
    opacity: 0;
    transform: translateY(40px) rotate(1.5deg);
    transition: opacity .7s cubic-bezier(.215,.61,.355,1),
                transform .7s cubic-bezier(.215,.61,.355,1);
    transition-delay: var(--bpp-delay, 0s);
    will-change: opacity, transform;
}

.bpp-reveal-tilt.bpp-revealed {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* ---- Section title — accent bar grow animation ------------------- */
.bpp-section-title .bpp-title-bar {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .6s cubic-bezier(.34,1.56,.64,1);
    transition-delay: .15s;
}

.bpp-section-title.bpp-revealed .bpp-title-bar {
    transform: scaleY(1);
}

/* Title text fade in from left */
.bpp-section-title {
    overflow: hidden;
}

/* ---- About card — enhanced hover --------------------------------- */
.bpp-about-card {
    transition: transform .4s cubic-bezier(.215,.61,.355,1),
                box-shadow .4s cubic-bezier(.215,.61,.355,1),
                border-color .3s;
}

.bpp-about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
    border-color: rgba(124,92,255,.2);
}

/* ---- Spec rows — cascading reveal -------------------------------- */
.bpp-spec-row {
    transition: background .15s, transform .3s ease, opacity .5s ease;
    transition-delay: var(--bpp-delay, 0s);
}

.bpp-spec-row:hover {
    background: rgba(124,92,255,.04);
    transform: translateX(4px);
}

.bpp-spec-row:hover .bpp-spec-icon {
    transform: scale(1.15) rotate(-5deg);
    background: rgba(124,92,255,.15);
}

.bpp-spec-icon {
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s;
}

/* ---- Included items — enhanced hover ----------------------------- */
.bpp-included-item {
    transition: background .15s, transform .3s ease;
}

.bpp-included-item:hover {
    background: rgba(124,92,255,.04);
    transform: translateX(4px);
}

.bpp-included-item:hover .bpp-included-icon {
    transform: scale(1.15);
    background: rgba(124,92,255,.15);
}

.bpp-included-icon {
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s;
}

.bpp-included-item:hover .bpp-included-check {
    animation: bpp-check-pop .4s cubic-bezier(.34,1.56,.64,1);
}

@keyframes bpp-check-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ---- Details cards — depth & polish ------------------------------ */
.bpp-details-card {
    transition: transform .4s cubic-bezier(.215,.61,.355,1),
                box-shadow .4s cubic-bezier(.215,.61,.355,1);
}

.bpp-details-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.06);
}

/* ---- Fitting tab — enhanced active transition -------------------- */
.bpp-fitting-tab {
    transition: all .3s cubic-bezier(.215,.61,.355,1);
    position: relative;
    overflow: hidden;
}

.bpp-fitting-tab::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.bpp-fitting-tab.active::after {
    opacity: 1;
}

.bpp-fitting-tab.active {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(124,92,255,.35);
}

/* Fitting panel — slide transition */
.bpp-fitting-panel {
    display: none;
    opacity: 0;
    transform: translateY(16px);
}

.bpp-fitting-panel.active {
    display: block;
    animation: bpp-panel-in .5s cubic-bezier(.215,.61,.355,1) forwards;
}

@keyframes bpp-panel-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fitting card — hover depth */
.bpp-fitting-card {
    transition: transform .4s cubic-bezier(.215,.61,.355,1),
                box-shadow .4s cubic-bezier(.215,.61,.355,1);
}

.bpp-fitting-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
}

/* ---- Step items — number pop animation --------------------------- */
.bpp-step-num {
    transition: transform .3s cubic-bezier(.34,1.56,.64,1),
                background .3s, color .3s;
}

.bpp-step-item:hover .bpp-step-num {
    transform: scale(1.2);
    background: #7c5cff;
    color: #fff;
}

/* Step number entrance spin */
.bpp-step-num.bpp-num-revealed {
    animation: bpp-num-pop .6s cubic-bezier(.34,1.56,.64,1) forwards;
    animation-delay: var(--bpp-delay, 0s);
}

@keyframes bpp-num-pop {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    60% { transform: scale(1.2) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ---- Delivery cards — enhanced ambient animation ----------------- */
.bpp-delivery-card {
    transition: transform .4s cubic-bezier(.215,.61,.355,1),
                box-shadow .4s cubic-bezier(.215,.61,.355,1);
}

.bpp-delivery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(124,92,255,.12);
}

.bpp-delivery-card:hover .bpp-delivery-icon-wrap {
    transform: scale(1.08);
}

.bpp-delivery-icon-wrap {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}

/* Delivery time number — count-up shimmer on reveal */
.bpp-delivery-time.bpp-revealed {
    animation: bpp-time-glow 1.5s ease-out forwards;
}

@keyframes bpp-time-glow {
    0% { opacity: 0; transform: translateY(10px); filter: blur(4px); }
    40% { opacity: 1; filter: blur(0); }
    100% { transform: translateY(0); }
}

/* ---- Trust items — icon entrance animation ----------------------- */
.bpp-trust-icon {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1),
                background .3s;
}

.bpp-trust-item:hover .bpp-trust-icon {
    transform: scale(1.15) rotate(-8deg);
    background: rgba(124,92,255,.15);
}

.bpp-trust-icon.bpp-icon-revealed {
    animation: bpp-icon-entrance .6s cubic-bezier(.34,1.56,.64,1) forwards;
    animation-delay: var(--bpp-delay, 0s);
}

@keyframes bpp-icon-entrance {
    0% { transform: scale(0) rotate(-90deg); opacity: 0; }
    70% { transform: scale(1.15) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Trust bar subtle bg animation */
.bpp-trust-bar {
    position: relative;
    overflow: hidden;
}

.bpp-trust-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(124,92,255,.03) 0%, transparent 70%);
    animation: bpp-trust-glow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bpp-trust-glow {
    0%, 100% { transform: translate(-10%, -10%) scale(1); }
    50% { transform: translate(10%, 10%) scale(1.1); }
}

/* ---- Related products — 3D perspective hover --------------------- */
.bpp-related-card {
    transition: transform .45s cubic-bezier(.215,.61,.355,1),
                box-shadow .45s cubic-bezier(.215,.61,.355,1),
                border-color .3s;
    transform-style: preserve-3d;
}

.bpp-related-card:hover {
    border-color: rgba(124,92,255,.2);
    box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 0 0 1px rgba(124,92,255,.08);
    /* 3D tilt applied via JS */
}

.bpp-related-card:hover .bpp-related-img img {
    transform: scale(1.08);
}

.bpp-related-card:hover .bpp-related-name {
    color: #7c5cff;
}

.bpp-related-name {
    transition: color .3s;
}

.bpp-related-card:hover .bpp-related-price {
    animation: bpp-price-pulse .6s ease-in-out;
}

@keyframes bpp-price-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ---- Floating accent particles (CSS only) on alt sections -------- */
.bpp-section-alt {
    position: relative;
    overflow: hidden;
}

.bpp-section-alt::before,
.bpp-section-alt::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(124,92,255,.03);
    pointer-events: none;
    animation: bpp-float 12s ease-in-out infinite;
}

.bpp-section-alt::before {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -80px;
}

.bpp-section-alt::after {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
    animation-delay: -6s;
}

@keyframes bpp-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: .5; }
    33% { transform: translate(20px, -20px) scale(1.1); opacity: .8; }
    66% { transform: translate(-10px, 15px) scale(.95); opacity: .6; }
}

/* ---- Gradient divider between sections --------------------------- */
.bpp-section + .bpp-section-alt,
.bpp-section-alt + .bpp-section {
    border-top: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.bpp-section + .bpp-section-alt::before,
.bpp-section-alt + .bpp-section::before {
    /* Keep the floating circles but also add a top gradient line */
}

/* ---- Smooth section separators ----------------------------------- */
.bpp-section {
    position: relative;
}

/* ---- Enhanced breadcrumb — subtle slide in ----------------------- */
.bpp-breadcrumb .bpp-container > * {
    animation: bpp-bread-in .5s cubic-bezier(.215,.61,.355,1) both;
}

.bpp-breadcrumb .bpp-container > *:nth-child(1) { animation-delay: .05s; }
.bpp-breadcrumb .bpp-container > *:nth-child(2) { animation-delay: .1s; }
.bpp-breadcrumb .bpp-container > *:nth-child(3) { animation-delay: .15s; }
.bpp-breadcrumb .bpp-container > *:nth-child(4) { animation-delay: .2s; }
.bpp-breadcrumb .bpp-container > *:nth-child(5) { animation-delay: .25s; }

@keyframes bpp-bread-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Gallery — entrance animation -------------------------------- */
.bpp-gallery-viewport {
    animation: bpp-gallery-in .7s cubic-bezier(.215,.61,.355,1) .1s both;
}

@keyframes bpp-gallery-in {
    from { opacity: 0; transform: scale(.95); }
    to   { opacity: 1; transform: scale(1); }
}

.bpp-gallery-sidebar .bpp-thumb {
    animation: bpp-thumb-in .4s cubic-bezier(.215,.61,.355,1) both;
}

.bpp-gallery-sidebar .bpp-thumb:nth-child(1)  { animation-delay: .2s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(2)  { animation-delay: .26s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(3)  { animation-delay: .32s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(4)  { animation-delay: .38s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(5)  { animation-delay: .44s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(6)  { animation-delay: .5s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(7)  { animation-delay: .56s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(8)  { animation-delay: .62s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(9)  { animation-delay: .68s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(10) { animation-delay: .74s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(11) { animation-delay: .80s; }
.bpp-gallery-sidebar .bpp-thumb:nth-child(12) { animation-delay: .86s; }

@keyframes bpp-thumb-in {
    from { opacity: 0; transform: translateY(10px) scale(.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Fitting note — subtle pulse --------------------------------- */
.bpp-fitting-note {
    animation: bpp-note-pulse 4s ease-in-out infinite;
}

@keyframes bpp-note-pulse {
    0%, 100% { border-color: rgba(124,92,255,.1); }
    50% { border-color: rgba(124,92,255,.25); }
}

/* ---- Responsive: reduce motion for prefers-reduced-motion -------- */
@media (prefers-reduced-motion: reduce) {
    .bpp-reveal,
    .bpp-reveal-left,
    .bpp-reveal-right,
    .bpp-reveal-scale,
    .bpp-reveal-tilt {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .bpp-section-title .bpp-title-bar {
        transform: scaleY(1) !important;
        transition: none !important;
    }

    .bpp-step-num.bpp-num-revealed,
    .bpp-trust-icon.bpp-icon-revealed,
    .bpp-gallery-viewport,
    .bpp-gallery-sidebar .bpp-thumb,
    .bpp-breadcrumb .bpp-container > * {
        animation: none !important;
        opacity: 1 !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
