/*
Theme Name: Practical Theme
Template: kadence
*/



/* ════════════════════════════════════════════════════════════════════════════
   PRACTICAL BUNDLE SLIDER
════════════════════════════════════════════════════════════════════════════ */
.pbs-wrap {
    font-family: 'Noah Text', 'Helvetica Neue', Arial, sans-serif;
}

/* ── Tabs ─────────────────────────────────────────────────────────────────── */
.pbs-tabs {
    display: flex;
    gap: 0;
    border-bottom: 0.5px solid rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.pbs-tab {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 9px 20px 10px;
    cursor: pointer;
    color: rgba(0,0,0,.3);
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -0.5px;
    background: transparent !important;
    transition: color 0.18s, border-color 0.18s;
}

.pbs-tab.active { color: #000; border-bottom-color: #d35228; }
.pbs-tab:hover:not(.active) { color: rgba(0,0,0,0.65) !important; }

/* ── Panel + slide visibility ────────────────────────────────────────────── */
.pbs-panel { display: none; }
.pbs-panel.active { display: block; }
.pbs-slide { display: none; }
.pbs-slide.active { display: block; }

/* ── Slide inner — two product units side by side ────────────────────────── */
.pbs-slide-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* ── Each product unit — image left, cards right ─────────────────────────── */
.pbs-prod-unit {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 15px;
    align-items: start;
}

/* Second product unit has a left border divider */
.pbs-prod-unit--second {
    border-left: 0.5px solid rgba(0,0,0,0.1);
    padding-left: 20px;
}

/* ── Product image column ────────────────────────────────────────────────── */
.pbs-prod-col {}

.pbs-img-outer {
    position: relative;
    margin-bottom: 10px;
}

.pbs-img-wrap {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #F2F3F0;
    text-decoration: none;
}

.pbs-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pbs-main-img {
    transition: transform 0.45s ease, opacity 0.10s ease;
}

.pbs-img-wrap:hover .pbs-main-img {
    transform: scale(1.04);
}

.pbs-img-placeholder {
    width: 100%;
    height: 100%;
    background: #252523;
}

.pbs-prod-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
    line-height: 1.2;
}

.pbs-prod-from {
    font-size: 13px;
    color: rgba(0,0,0,0.4);
}

/* ── Colour dots ─────────────────────────────────────────────────────────── */
.pbs-cdots {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 4px;
    z-index: 5;
}

.pbs-cdot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.2);
    display: block;
    cursor: pointer;
    transition: border-color 0.15s;
}

.pbs-cdot.active { border-color: rgba(0,0,0,0.9); }
.pbs-cdot:hover  { border-color: rgba(0,0,0,0.5); }

/* ── Bundle cards column ─────────────────────────────────────────────────── */
.pbs-bcols {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual card — left info / right price+cta */
.pbs-bcard {
    background: #f5f2ec;
    border: 0.5px solid #f5f2ec;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    transition: background 0.18s, border-color 0.18s;
}

.pbs-bcard:hover {
    background: #D8D2C380;
    border-color: rgba(255,255,255,0.18);
}

.pbs-bcard.featured {
    border-color: #d35228;
    background: rgba(211,82,40,0.08);
}

.pbs-bcard.featured:hover {
    background: rgba(211,82,40,0.13);
}

/* Card left */
.pbs-bc-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pbs-bc-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.5);
}

.pbs-bcard.featured .pbs-bc-label {
    color: rgba(211,82,40,0.9);
}

.pbs-bc-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}

.pbs-bc-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1px;
}

.pbs-bc-per {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    font-weight: 400;
}

.pbs-bc-save {
    font-size: 14px;
    font-weight: 700;
    color: #d35228;
}

/* Card right */
.pbs-bc-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.pbs-bc-price-orig {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    text-decoration: line-through;
    font-family: 'Noah', Helvetica Neue, Arial, sans-serif;
    line-height: 1;
}

.pbs-bc-price {
    font-size: 18px;
    font-family: 'Noah', Helvetica Neue, Arial, sans-serif;
    font-weight: 500;
    color: #000;
    line-height: 1;
    letter-spacing: 0.15rem;
    margin: 0;
}

.pbs-bc-cta {
    padding: 5px 10px;
    border-radius: 6px;
    border: 0.5px solid rgba(255,255,255,0.15);
    background: #000 ;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    margin-top: 2px;
}

.pbs-bc-cta:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.pbs-bcard.featured .pbs-bc-cta {
    border-color: #000;
    color: #fff;
    background: #transparent ;
}

.pbs-bcard.featured .pbs-bc-cta:hover {
    background: #d35228 !important;
    color: #fff !important;
    border-color: #d35228;
}

.pbs-bcard.featured .pbs-bc-cta:active {
    background: #d35228 !important;
    color: #fff !important;
    border-color: #d35228;
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
.pbs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.pbs-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pbs-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pbs-dot {
    height: 3px;
    border-radius: 2px;
    background: rgba(0,0,0,0.25);
    cursor: pointer;
    transition: width 0.28s, background 0.28s;
    display: inline-block;
    width: 16px;
}

.pbs-dot.active {
    background: #D35228;
    width: 32px;
}

.pbs-counter {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(0,0,0,0.5);
}

.pbs-nav-btns {
    display: flex;
    gap: 8px;
}

.pbs-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0.5px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.5) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255);
    font-size: 18px;
    transition: all 0.18s;
}

.pbs-nav-btn:hover:not(:disabled) {
    background: rgba(0,0,0,1) !important;
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}

.pbs-nav-btn:disabled {
    opacity: 0.22;
    cursor: default;
}

.wp-site-blocks {
    overflow-x: unset !important;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .pbs-slide-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pbs-bcols {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .pbs-prod-unit--second {
        border-left: none;
        padding-left: 0;
        border-top: 0.5px solid rgba(0,0,0,0.1);
        padding-top: 24px;
    }
}

@media (max-width: 768px) {

    .pbs-img-wrap {
        aspect-ratio: 1;
    }


    /* Stack to single product per slide on mobile */
    .pbs-slide-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Remove second product divider on mobile */
    .pbs-prod-unit--second {
        border-left: none;
        padding-left: 0;
        border-top: 0.5px solid rgba(255,255,255,0.06);
        padding-top: 24px;
    }


    .pbs-prod-unit {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pbs-bcard { padding: 9px 12px; gap: 10px; }
    .pbs-bc-price { font-size: 14px; }
    .pbs-bc-cta { padding: 10px 15px; font-size: 8px; }
    .pbs-prod-name { font-size: 14px; }

    .pbs-bc-label, .pbs-bc-per {
    font-size: 10px;
    }
    
    .pbs-bc-name {
    font-size: 14px;
    }
    
    .pbs-bc-save {
    font-size: 13px;
    }
    
    .pbs-bc-left, .pbs-bc-right {
    gap: 5px;
    }
    
    .pbs-bc-meta {
    display: contents;
    }
    
    

/* Bundle cards horizontal scroll — mobile only */
.pbs-bcols {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.pbs-bcols::-webkit-scrollbar {
    display: none;
}

.pbs-bcard {
    flex-shrink: 0;
    width: 75vw;
    max-width: 250px;
    scroll-snap-align: start;
    grid-template-columns: 45% 1fr auto;
}

.pbs-bc-right {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-top: 0;
    gap: 4px;
}

.pbs-bc-cta {
    margin-top: 4px;
}

}

/* ── "New!" colour swatch badge (shared across all components) ─────────────── */
.pcd-sw-wrap {
    position: relative;
    display: inline-block;
}

.pcd-sw-new {
    position: absolute;
    top: -8px;
    right: -7px;
    background: #d35228;
    color: #fff;
    font-size: 6.5px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 3px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
    font-family: 'Noah Head', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.03em;
}

/* ── "New" product badge (SCF product_feature IDs) ───────────────────────── */
.pcd-prod-new {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #d35228;
    color: #fff;
    font-family: 'Noah Head', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(9px, 0.7vw, 11px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
}

/* Keep color dots visible on bundle slider where dots use top-left. */
.pbs-img-outer .pcd-prod-new {
    left: auto;
    right: 10px;
}

/* Ensure swatch row containers don't clip the badge above */
.ppg-swatches,
.pa-card-swatches,
.prc-swatches,
.pbs-cdots,
.bp-cdots,
.psp-swatches,
.psp-slot-cdots {
    padding-top: 8px;
    overflow: visible;
}