/* ── TBC Header ── */

.tbc-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    pointer-events: none;
}
.admin-bar .tbc-header {
    top: 32px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

/* @media (min-width: 1660px) {
    .header-container {
        padding-left: 10rem;
        padding-right: 10rem;
    }

    .tbc-left-sidebar {
        left: calc(10rem + 25px) !important;
    }
} */

/* ── Logo ── */
.tbc-header-logo {
    pointer-events: auto;
    width: 80px;
    display: block;
}

.tbc-header-logo img {
    width: 100%;
    height: auto;
}

/* ── Header Actions ── */
.tbc-header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    pointer-events: auto;
}

/* ── Bag Toggle ── */
.tbc-bag-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.tbc-bag-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tbc-bag-icon {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.tbc-bag-icon svg {
    width: 26px;
    height: auto;
    display: block;
}

.tbc-bag-toggle:hover .tbc-bag-icon {
    opacity: 0.7;
}

/* ── Menu Toggle ── */
.tbc-menu-toggle {
    pointer-events: auto;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1001;
    outline: none;
}

.tbc-menu-icon {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.tbc-menu-icon svg {
    width: 35px;
    height: auto;
    display: block;
}

/* ── Off-Canvas Menu ── */
.tbc-offcanvas-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    max-width: 50%;
    height: 100vh;
    background-color: #000000;
    z-index: 2000;
    display: flex;
    align-items: center;
    transform: translateX(100%);
    visibility: hidden;
}

.tbc-menu-close {
    position: absolute;
    top: 3.5rem;
    left: 4rem;
    z-index: 2001;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
}

.tbc-close-icon {
    display: inline-flex;
    align-items: center;
    filter: brightness(0) invert(1);
    transition: transform 0.3s cubic-bezier(0.87, 0, 0.13, 1);
}

.tbc-close-icon svg {
    width: 26px;
    height: auto;
    display: block;
}

.tbc-menu-close:hover .tbc-close-icon {
    transform: scale(1.15) rotate(90deg);
}

.tbc-offcanvas-bag {
    position: absolute;
    top: 3.75rem;
    right: 10rem;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tbc-offcanvas-bag .tbc-bag-icon {
    filter: brightness(0) invert(1);
}

.tbc-offcanvas-bag:hover .tbc-bag-icon {
    opacity: 0.7;
    transform: scale(1.1);
}

/* ── Menu List ── */
.tbc-menu-inner {
    width: 100%;
}

.tbc-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tbc-menu-item {
    padding-left: 7rem;
    overflow: hidden;
}

.tbc-menu-link {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--tbc-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    transform: translateY(100%);
    transition: color 0.3s ease;
}

.tbc-menu-link::after {
    content: '';
    position: absolute;
    top: calc(50% - 4px);
    left: -15px;
    width: calc(100% + 30px);
    height: 4px;
    background-color: var(--tbc-pink);
    transform: scaleX(0) translateY(50%);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tbc-menu-link:hover::after,
.tbc-menu-link.is-active::after {
    transform: scaleX(1) translateY(50%);
}

/* ── Left Sidebar ── */
.tbc-left-sidebar {
    position: fixed;
    left: 30px;
    top: 0;
    height: 100vh;
    width: 30px;
    z-index: 50;
    pointer-events: none;
}

@media (max-width: 1440px) {
    .tbc-left-sidebar {
        left: 25px;
    }
}

.tbc-sidebar-text {
    position: absolute;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
    pointer-events: auto;
    font-family: var(--tbc-font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;
    white-space: nowrap;
    opacity: 0.95;
    color: #ffffff;
    transition: color 0.4s ease;
}

.tbc-social-icons {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: #ffffff;
}

.tbc-social-icons a {
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tbc-social-icons a:hover {
    opacity: 1;
    transform: scale(1.15) translateY(-2px);
}

/* SVG social icons use currentColor — control via color property on sidebar */
.tbc-social-icons svg {
    width: 24px;
    height: auto;
    display: block;
}

/* ── Dynamic Sidebar States ── */
.tbc-left-sidebar.is-dark .tbc-sidebar-text {
    color: var(--tbc-color-text);
}

.tbc-left-sidebar.is-dark .tbc-social-icons {
    color: var(--tbc-color-text);
}

.tbc-left-sidebar.is-light .tbc-sidebar-text {
    color: #ffffff;
}

.tbc-left-sidebar.is-light .tbc-social-icons {
    color: #ffffff;
}

/* ── Dynamic Header States ── */
.tbc-header.is-light .tbc-header-logo img {
    filter: brightness(0) invert(1);
}

.tbc-header .tbc-menu-icon {
    filter: brightness(0) invert(1);
}

.tbc-header .tbc-bag-toggle .tbc-bag-icon {
    filter: brightness(0) invert(1);
}

/* body.home .tbc-header:not(.sticky-header) .tbc-menu-icon,
body.home .tbc-header:not(.sticky-header) .tbc-bag-toggle .tbc-bag-icon,
.single-product .tbc-header:not(.sticky-header) .tbc-menu-icon,
.single-product .tbc-header:not(.sticky-header) .tbc-bag-toggle .tbc-bag-icon, */
body.tbc-header-icons-dark .tbc-header:not(.sticky-header) .tbc-menu-icon,
body.tbc-header-icons-dark .tbc-header:not(.sticky-header) .tbc-bag-toggle .tbc-bag-icon {
	filter: brightness(0);
}
body.home .tbc-header .tbc-header-logo{
    opacity: 0 !important;
    pointer-events: none;
}

/* .tbc-header.is-dark .tbc-header-logo img {
    filter: brightness(0);
}

.tbc-header.is-dark .tbc-menu-icon {
    filter: brightness(0);
}

.tbc-header.is-dark .tbc-bag-toggle .tbc-bag-icon {
    filter: brightness(0);
} */
header{
    background: transparent;
	transition-duration: 0.5s;
}
header.sticky-header{
    background: rgb(0 0 0 / 50%);
    /* backdrop-filter: blur(3px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%); */
}
/* ── Responsive ── */
@media (max-width: 1024px) {
    .tbc-left-sidebar {
        display: none;
    }

    /* Tablet gap (769–1024px): the offcanvas panel sits at 50% width here
       (only ≤768px goes full-bleed, below), and at the desktop padding/font
       size a two-word item like "Breakout Stories" wraps to 2 lines — which
       breaks the active/hover underline (::after, vertically centered on
       the link) by cutting straight across the gap between the two lines
       instead of sitting on one line of text. Shrinking padding/font here
       keeps every item on one line up to 1024px. */
    .tbc-menu-item {
        padding-left: 4rem;
    }

    .tbc-menu-link {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .tbc-offcanvas-menu {
        max-width: 100vw;
    }

    .tbc-menu-item {
        padding-left: 3rem;
    }

    .tbc-menu-link {
        font-size: 1.2rem;
    }

    .tbc-menu-close {
        left: 2rem;
    }

    .tbc-offcanvas-bag {
        right: 2rem;
    }
}

/* Small phones (≤400px): even the 768px padding/font above still wraps
   "Breakout Stories" to 2 lines on the narrowest screens — same underline-
   through-the-gap issue as the tablet range above. */
@media (max-width: 400px) {
    .tbc-menu-item {
        padding-left: 1.75rem;
    }

    .tbc-menu-link {
        font-size: 1.05rem;
    }
}