@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --container-space: 120px;

    --red: #AA292E;
    --red-dark: #7E1E22;
    --red-light: #C23035;
    --red-glow: rgba(170,41,46,0.18);
    --grey-dark: #141416;
    --grey-mid: #252528;
    --grey-card: #2E2E32;
    --grey-light: #8E8E93;
    --white: #FFFFFF;
    --silver: #C4C4C6;
    --off-white: #F5F5F5;
    --neutral-off-white: #e7e7e7;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--off-white);
    color: var(--grey-dark);
    font-family: 'Barlow', sans-serif;
    margin-top: 20px;
    overflow-x: hidden;
}

/* ─ NAV ── */
nav {
    align-items: center;
    background: rgba(20,20,22,0.96);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(170,40,45,0.2);
    display: flex;
    justify-content: space-between;
    padding: 15px 120px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
.nav-logo {
    align-items: center;
    display: flex;
    text-decoration: none;
}
.nav-logo img {
    filter: brightness(1.1);
    height: 45px;
    mix-blend-mode: screen;
    padding-bottom: 7px;
    padding-top: 5px;
    transition: filter 0.3s;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}
.nav-links a {
    color: var(--silver);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem; 
    letter-spacing: 2px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s;
}
.nav-links a::after {
    background: var(--red);
    bottom: -5px;
    content: ''; 
    height: 2px; 
    left: 0;
    position: absolute;
    transition: width 0.3s;
    width: 0;
}
.nav-links a:hover {
    color: var(--white);
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a.active {
    color: var(--white);
}
.nav-links a.active::after {
    width: 100%;
}
.nav-cta {
    background: var(--red);
    border: none;
    clip-path: polygon(
        8px 0%,
        100% 0%,
        calc(100% - 8px) 100%,
        0% 100%
    );
    color: var(--white);
    cursor: pointer;
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 9px 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
    background: var(--red-light);
    transform: translateY(-1px);
}

/* ── HAMBURGER MENU ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 200;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--silver);
    transition: all 0.3s ease;
    border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown list */
.mobile-menu {
    background: rgba(14,14,16,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(170,40,45,0.2);
    display: flex;
    flex-direction: column;
    left: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 20px;
    position: absolute;
    right: 0;
    top: 100%;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
    z-index: 150;
}
.mobile-menu.open {
    max-height: 420px;
    opacity: 1;
    padding: 6px 20px 16px;
}
.mobile-menu a {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--silver);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    padding: 14px 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--red);
}
.mobile-menu .mobile-cta {
    background: var(--red);
    border: none;
    border-bottom: none;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-top: 12px;
    padding: 13px 24px;
    text-align: center;
    text-decoration: none;
}
/* ── KILL SIDEBAR LAYOUT ── */
.detail-header{
    background:transparent;
    border-bottom:none;
    position:static;
    padding: 35px 0 0;
}
.product-hero-strip{
    margin:10px 0 30px;
    padding-bottom:14px;
    border-bottom:1px solid #ececec;
}
.product-hero-strip{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 0 18px;
    margin-bottom:20px;
    font-family:'Barlow Condensed',sans-serif;
    font-size:.72rem;
    font-weight:600;
    letter-spacing:4px;
    text-transform:uppercase;
    color:var(--red);
}
.breadcrumb .sep{
    color: var(--red);
}
.product-hero-strip span{
    font-family:'Barlow Condensed',sans-serif;
    font-size:12px;
    font-weight:600;
    letter-spacing:4px;
    text-transform:uppercase;
    color:#AA292E;
}

.item-name{
    font-size:48px;
    line-height:1;
}
.item-cat-label{
    margin-bottom:12px;
}
.item-header{
    padding-bottom:24px;
}
.item-desc{
    margin-top:14px;
}
.related-panel-title{
    color:#666;
    font-weight:700;
}
.item-cta-primary{
    min-height:56px;
}
.item-cta-secondary{
  min-width:56px;
}

@media(max-width:1100px){
    .item-name{
    font-size:40px;
}
}
@media (max-width: 768px) {
    :root {
        --container-space: 20px;
    }
    nav {
        padding: 12px 20px;
    }
    .nav-links {
        display: none;
    }
    .nav-cta {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .main-content {
        padding: 0 20px !important;
    }
}
@media(max-width:700px){
    .item-name{
    font-size:34px;
  }
}

.page-wrapper {
    display: block !important;
}
.sidebar {
    display: none !important;
}
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100% !important;
}

/* ── 3-COLUMN ITEM LAYOUT ── */
.item-outer {
    display: grid;
    grid-template-columns: 420px 1fr 300px;
    gap: 36px;
    padding: 24px 0 64px;
    align-items: start;
}

/* COL 1 — IMAGE */
.item-img-col {
    position: relative;
    top: 24px;
}

.item-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    color: #888;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color .2s;
}
.item-back-link:hover {
    color: #c0392b;
}
.item-img-main {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 420px;
}
.item-img-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}
.item-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ccc;
}
.item-img-placeholder i {
    font-size: 44px;
}
.item-img-placeholder span {
    font-size: 12px;
    font-family: 'Barlow', sans-serif;
}
.gallery-window{
    overflow:hidden;
    width:100%;
    height:100%;
}
.gallery-track{
    display:flex;
    transition:.35s;
}
.gallery-slide{
    flex:0 0 100%;
}
.gallery-slide img{
    width:100%;
    height:100%;
    object-fit:contain;
    padding:24px;
}
.gallery-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:white;
    box-shadow:0 5px 18px rgba(0,0,0,.15);
    cursor:pointer;
    z-index:10;
    transition:.2s;
}
.gallery-btn:hover{
    background:#c0392b;
    color:white;
}
.prev{
    left:14px;
}
.next{
   right:14px;
}
.gallery-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:16px;
}
.gallery-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#ccc;
    cursor:pointer;
}
.gallery-dot.active{
    background:#c0392b;
}
.gallery-btn.hidden,
.gallery-dots.hidden{
    display:none;
}

/* variant thumbnails */
.item-variants-section{
  margin-top:24px;
}
.variant-cards{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.variant-card{
  border:1px solid #e4e4e4;
  background:#fff;
  border-radius:10px;
  padding:14px 16px;
  min-width:160px;
  cursor:pointer;
  text-align:left;
  transition:.25s;
}
.variant-card:hover{
  border-color:#c0392b;
}
.variant-card.active{
  border-color:#c0392b;
  background:#fff7f6;
}
.variant-card-name{
  font-weight:600;
  font-size:14px;
}
.variant-card-specs{
  margin-top:4px;
  font-size:12px;
  color:#777;
}
.item-variant-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.variant-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}
.variant-thumb-img {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    border: 2px solid #e8e8e8;
    background: #f7f7f7;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color .2s;
}
.variant-thumb-img.has-color::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--swatch-color);
}
.variant-card-name {
    align-items: center;
    display: flex;
    gap: 8px;
}
.variant-card-name .variant-color-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.variant-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.variant-thumb-img i {
    color: #ccc;
    font-size: 18px;
}
.variant-thumb.active .variant-thumb-img,
.variant-thumb:hover .variant-thumb-img {
    border-color: #c0392b;
}
.variant-thumb-label {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    color: #888;
    text-align: center;
    max-width: 60px;
    line-height: 1.2;
}
.variant-thumb.active .variant-thumb-label {
    color: #c0392b;
    font-weight: 600;
}

/* COL 2 — INFO */
.item-info-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    top: 24px;
}
.item-badge {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 4px;
}
.item-cat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #c0392b;
    margin-bottom: 6px;
}
.item-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 34px;
    letter-spacing: .03em;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 4px;
}
.item-variant-active {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #c0392b;
}
.item-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.65;
}
.item-header {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 18px;
}

.item-section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 10px;
}
.item-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.item-spec-tag {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    background: #f3f3f3;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 6px 14px;
}
.item-detail-table {
    width: 100%;
    border-collapse: collapse;
}
.item-detail-table tr {
    border-bottom: 1px solid #f3f3f3;
}
.item-detail-table tr:last-child {
    border-bottom: none;
}
.item-detail-table td {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    padding: 10px 0;
    vertical-align: top;
}
.item-detail-table td:first-child {
    color: #999;
    width: 120px;
}
.item-detail-table td:last-child {
    color: #222;
    font-weight: 500;
}

.item-includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.item-includes-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: #444;
}
.item-includes-list li i {
    color: #c0392b;
    font-size: 12px;
    flex-shrink: 0;
}

.item-cta-row {
    display: flex;
    gap: 12px;
    padding-top: 4px;
}
.item-cta-primary {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #c0392b; color: #fff;
    font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 14px 24px; border-radius: 8px; text-decoration: none;
    transition: background .2s;
}
.item-cta-primary:hover {
    background: #a93226;
}
.item-cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #333;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1.5px solid #ddd;
    text-decoration: none;
    transition: border-color .2s;
}
.item-cta-secondary:hover {
    border-color: #333;
}

/* COL 3 — RELATED PANEL */
.item-related-col {
    border-left: 1px solid #ebebeb;
    padding-left: 28px;
    position: relative;
    top: 24px;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}
.item-related-col::-webkit-scrollbar {
    width: 3px;
}
.item-related-col::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}
.related-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    padding-right: 25px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #f5f5f3;
    z-index: 1;
}
.related-panel-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: #aaa;
}
.related-panel-count {
    font-family: 'Barlow', sans-serif;
    font-size: 12px; color: #bbb;
}
.related-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-right: 25px;
}
.related-mini-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    text-decoration: none;
    text-align:left;
    transition: border-color .2s, transform .15s;
    display: flex;
    flex-direction: column;
}
.related-mini-card:hover {
    border-color: #c0392b;
    transform: translateY(-2px);
}
.related-mini-card.active-card {
    border-color: #c0392b;
    background: #fff8f7;
}
.related-mini-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.related-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}
.related-mini-img i {
    color: #ccc;
    font-size: 20px;
}
.related-mini-body {
    padding: 8px 10px 10px;
}
.related-mini-name {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-mini-card.active-card .related-mini-name {
    color: #c0392b;
}
.related-mini-spec {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    color: #aaa;
}

/* NOT FOUND */
.item-not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 0;
    font-family: 'Barlow', sans-serif;
    color: #bbb;
}
.item-not-found i {
    font-size: 48px;
}
.item-not-found h3 {
    font-size: 20px;
    font-weight: 600;
    color: #555;
}
.item-not-found p {
    font-size: 14px;
    color: #999;
}

@media (max-width: 1100px) {
    .item-outer {
        grid-template-columns: 1fr 1fr;
    }
    .item-related-col {
        display: none;
    }
}
@media (max-width: 700px) {
    .item-outer {
        grid-template-columns: 1fr; gap: 24px;
    }
    .item-img-col, .item-info-col {
        position: static;
    }
    .main-content {
        padding: 0 20px !important;
    }
    .item-img-main {
        min-height: 0;
    }
}