/* ═══════════════════════════════════════════════════════
   KAZOKU KNIVES — PRODUCT TABS SECTION
   css/b-tabs.css
═══════════════════════════════════════════════════════ */

:root {
    --container: 1240px;
    --white: #FFFFFF;
    --steel: #F4F5F7;
    --indigo: #1A233E;
    --indigo-mid: #222d4e;
    --green: #2D5A42;
    --copper: #BC7C56;
    --text-mid: #5a6275;
    --text-muted: #9099b0;
    --border: #e2e4e9;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* ── SECTION ── */

.b-tabs {
    background: var(--steel);
    padding: 48px 56px 56px;
}
.b-tabs .b-sec__head {
    max-width: var(--container);
    margin: 0 auto 36px;
    padding: 0 40px;
    text-align: center;
}
.b-sec__kicker {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 10px;
    min-height: 1em;
}
.b-sec__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 400;
    color: var(--indigo);
    line-height: 1.1;
    margin-bottom: 12px;
}
.b-sec__title em {
    font-style: italic;
}
.b-sec__sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}
.b-sec__head::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--copper);
    margin: 16px auto 0;
}
/* ── TABS TOP BAR ── */

.b-tabs__top {
    max-width: var(--container);
    margin: 0 auto 24px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border);
}
.b-tabs__nav {
    list-style: none;
    display: flex;
    align-items: flex-end;
    margin-bottom: -1px;
}
.b-tabs__nav a {
    display: block;
    padding: 8px 20px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.b-tabs__nav a:hover {
    color: var(--indigo);
}
.b-tabs__nav li.active a {
    color: var(--indigo);
    border-bottom-color: var(--copper);
}
/* owl arrows injected into .b-tabs__top by JS */

.b-tabs__top .owl-nav {
    display: flex;
    gap: 4px;
    margin: 0;
    padding-bottom: 10px;
    flex-shrink: 0;
}
/* ── TAB BODY ── */

.b-tabs__body {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
/* ═══════════════════════════════════════════════════════
   OWL CAROUSEL — styling only, no fighting Owl internals
═══════════════════════════════════════════════════════ */

.product-carousel {
    position: relative;
}
/* Owl sets opacity:0 during init — force visible */

.owl-carousel.owl-loading {
    opacity: 1 !important;
}
.owl-carousel.owl-hidden {
    opacity: 1 !important;
}
/* Owl wraps each item — padding for card breathing room */

.owl-item {
    padding: 4px 0 8px;
}
/* NAV wrapper — flex row at bottom-right */

.owl-nav {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 16px;
}
.owl-prev, .owl-next {
    width: 36px !important;
    height: 36px !important;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s, border-color 0.2s !important;
    position: static !important;
    margin: 0 !important;
    top: auto !important;
}
.owl-prev:hover, .owl-next:hover {
    background: var(--indigo) !important;
    border-color: var(--indigo) !important;
}
.owl-prev span, .owl-next span {
    display: none !important;
}
.owl-prev::after, .owl-next::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.owl-prev::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231A233E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}
.owl-next::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231A233E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}
.owl-prev:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}
.owl-next:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}
.owl-prev.disabled, .owl-next.disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
}
/* DOTS */

.owl-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 6px;
    margin-top: 16px !important;
    line-height: 1;
}
.owl-dot {
    width: 20px !important;
    height: 3px !important;
    background: var(--border) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    transition: background 0.25s, width 0.25s var(--ease) !important;
}
.owl-dot span {
    display: none !important;
}
.owl-dot.active {
    width: 32px !important;
    background: var(--copper) !important;
}


/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
    .b-tabs .b-sec__head, .b-tabs__top, .b-tabs__body {
        padding: 0 24px;
    }
}
@media (max-width: 640px) {
    .b-tabs {
        padding: 48px 0 56px;
    }
    .b-tabs .b-sec__head, .b-tabs__top, .b-tabs__body {
        padding: 0 16px;
    }
    .b-tabs__nav a {
        padding: 10px 14px 12px;
        font-size: 11px;
    }
}
