/*
 * product.css
 * OverSpec Designs — v2
 *
 * Specific styles for individual product pages (e.g. r1-console.html).
 * Restored: Hero, Diamond Matrix, Problem Section, Features, Configurator, FAQ, and Media Queries.
 */

/* ══════════════════════════════════════
   VISUAL & LIFESTYLE COMPONENTS
══════════════════════════════════════ */
.dm-visual { display: flex; flex-direction: column; gap: 15px; }
.main-display-wrapper { position: relative; width: 100%; background: #000; display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; overflow: hidden; cursor: zoom-in; border: 1px solid var(--steel); }
.main-display-wrapper img#dm-main-view { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
#dm-lightbox { display: none; }
#dm-lightbox.open { display: flex !important; }
.main-display-wrapper:hover .zoom-overlay { opacity: 1; }
.lifestyle-section { padding: 120px 0; background: var(--dark-metal); border-top: 1px solid var(--steel); }
.lifestyle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 60px; }
.lifestyle-item { position: relative; background: #000; cursor: zoom-in; overflow: hidden; border: 1px solid var(--steel); transition: border-color 0.3s; }
.lifestyle-item:hover { border-color: var(--orange); }
.lifestyle-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; aspect-ratio: 4/3; }
.lifestyle-item:hover img { transform: scale(1.03); }
.lifestyle-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--orange); }
.lifestyle-item .config-photo-zoom { position: absolute; top: 10px; right: 10px; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.lifestyle-item:hover .config-photo-zoom { opacity: 1; }
.zoom-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; color: var(--white); font-family: var(--font-display); font-size: 18px; text-transform: uppercase; }
.dm-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.dm-thumb-item { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; opacity: 0.55; transition: opacity 0.2s; border: 1px solid transparent; padding: 4px; border-radius: 3px; }
.dm-thumb-item:hover { opacity: 0.85; }
.dm-thumb-item.active { opacity: 1; border-color: var(--orange); }
.dm-thumb-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 2px; display: block; }
.thumb-label { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--aluminum); text-align: center; }
.dm-thumb-item.active .thumb-label { color: var(--orange); }
.color-dot:active { transform: scale(0.9); }
.color-dot:hover { border-color: var(--orange) !important; box-shadow: 0 0 10px rgba(255, 103, 0, 0.3); }

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.hero { min-height: auto; display: flex; align-items: center; padding-top: 100px; padding-bottom: 40px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(to bottom, transparent, var(--black)); pointer-events: none; z-index: 1; }
.hero-glow { position: absolute; top: 30%; right: 5%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,103,0,0.07) 0%, transparent 70%); pointer-events: none; z-index: 1; }
.hero .container { width: 100%; }
.hero-visual { float: right; width: 45%; margin: 0 0 30px 50px; position: relative; animation: slideInRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.hero-content { animation: slideInLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; padding-left: 0; }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
.overline { font-size: 22px; color: var(--orange); letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.overline::before { content: ''; width: 40px; height: 2px; background: var(--orange); }
.hero-title { font-family: var(--font-display); font-size: clamp(48px, 8vw, 72px); font-weight: 900; letter-spacing: 2px; color: var(--silver); text-transform: uppercase; margin-bottom: 20px; line-height: 1.1; }
.hero-subtitle { font-size: 24px; color: var(--aluminum); margin-bottom: 30px; line-height: 1.5; }
.hero-tagline { font-size: 18px; color: var(--steel); margin-bottom: 40px; line-height: 1.8; max-width: 500px; }
.hero-stats { display: flex; gap: 0; margin-bottom: 40px; border: 1px solid var(--steel); background: var(--dark-metal); overflow: hidden; }
.stat { display: flex; flex-direction: column; padding: 18px 28px; flex: 1; border-right: 1px solid var(--steel); position: relative; transition: background 0.3s ease; }
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(255,103,0,0.05); }
.stat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.stat:hover::before { transform: scaleX(1); }
.stat-value { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--orange); line-height: 1; text-shadow: 0 0 20px rgba(255, 103, 0, 0.3); }
.stat-label { font-size: 11px; color: var(--aluminum); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }
.hero-ctas { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-thumbnails { display: flex; gap: 12px; margin-top: 25px; justify-content: center; padding: 0 10px; position: relative; z-index: 5; }
.hero-thumb { flex: 1; max-width: 90px; aspect-ratio: 1/1; cursor: pointer; opacity: 0.45; border: 1px solid var(--steel); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); background: #000; overflow: hidden; position: relative; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(20%); transition: filter 0.3s ease; }
.hero-thumb:hover { opacity: 0.85; border-color: var(--aluminum); transform: translateY(-2px); }
.hero-thumb.active { opacity: 1; border-color: var(--orange); box-shadow: 0 0 15px rgba(255, 103, 0, 0.3); }
.hero-thumb.active img { filter: grayscale(0%); }
.hero-img { width: 100%; height: auto; display: block; border: 1px solid rgba(255,103,0,0.3); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(255,103,0,0.06); transition: opacity 0.2s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); }
.hero-img:hover { border-color: var(--orange); transform: scale(1.015) translateY(-4px); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 80px rgba(255,103,0,0.12); }
.hero-visual::before { content: ''; position: absolute; inset: -1px; background: linear-gradient(135deg, rgba(255,103,0,0.15), transparent 60%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); pointer-events: none; z-index: 1; }
.hero-badge-row { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.hero-badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: var(--aluminum); padding: 5px 10px; border: 1px solid var(--steel); background: rgba(255,255,255,0.02); text-transform: uppercase; }

/* ══════════════════════════════════════
   PROBLEM SECTION & COMPARISON
══════════════════════════════════════ */
.problem-section { padding: 120px 0; background: linear-gradient(180deg, var(--black) 0%, var(--dark-metal) 100%); border-top: 1px solid var(--steel); }
.quality-gap-img { height: 120px; width: auto; margin-bottom: 15px; display: block; margin-left: auto; margin-right: auto; }
.weak-link-box { padding: 30px 20px; border: 2px solid #AA0000; background: rgba(170, 0, 0, 0.1); position: relative; }
.weak-link-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #AA0000; color: white; padding: 4px 12px; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.comparison-card { background: var(--dark-metal); border: 2px solid var(--steel); padding: 50px 40px; position: relative; }
.comparison-card.bad { border-color: #AA0000; }
.comparison-card.good { border-color: var(--orange); background: linear-gradient(135deg, var(--dark-metal) 0%, rgba(255, 103, 0, 0.05) 100%); }
.comparison-label { position: absolute; top: -15px; left: 40px; padding: 5px 20px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.comparison-card.bad .comparison-label { background: #AA0000; color: var(--white); }
.comparison-card.good .comparison-label { background: var(--orange); color: var(--black); }
.comparison-card h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.comparison-list { list-style: none; }
.comparison-list li { font-size: 16px; color: var(--aluminum); margin-bottom: 15px; padding-left: 30px; position: relative; }
.comparison-list li::before { content: '✗'; position: absolute; left: 0; color: #AA0000; font-weight: 700; font-size: 20px; }
.comparison-card.good .comparison-list li::before { content: '✓'; color: var(--orange); }

/* ══════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════ */
.features-section { padding: 120px 0; background: var(--black); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 60px; }
.feature-card { background: var(--dark-metal); border: 1px solid var(--steel); padding: 40px 30px; transition: all 0.4s; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: 0 10px 40px rgba(255, 103, 0, 0.2); }
.feature-number { font-family: var(--font-display); font-size: 14px; color: var(--orange); font-weight: 700; letter-spacing: 2px; margin-bottom: 15px; }
.feature-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--silver); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.feature-card p { color: var(--aluminum); font-size: 15px; line-height: 1.7; }

/* ══════════════════════════════════════
   DIAMOND MATRIX
══════════════════════════════════════ */
.diamond-matrix-section { padding: 120px 0; background: linear-gradient(180deg, var(--black) 0%, var(--dark-metal) 50%, var(--black) 100%); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.dm-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.dm-text h2 { font-family: var(--font-display); font-size: 56px; font-weight: 900; color: var(--silver); margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; }
.dm-text h2 span { color: var(--orange); text-shadow: 0 0 30px rgba(255, 103, 0, 0.5); }
.dm-features { list-style: none; margin-top: 40px; }
.dm-features li { font-size: 18px; color: var(--aluminum); margin-bottom: 25px; padding-left: 40px; position: relative; line-height: 1.6; }
.dm-features li::before { content: '◆'; position: absolute; left: 0; color: var(--orange); font-size: 24px; line-height: 1; }
.dm-features li strong { color: var(--silver); font-weight: 700; }

/* ══════════════════════════════════════
   SPECS SECTION
══════════════════════════════════════ */
.specs-section { padding: 120px 0; background: var(--black); }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 60px; }
.spec-item { background: var(--dark-metal); border: 1px solid rgba(255,255,255,0.06); padding: 28px; border-left: 3px solid var(--orange); transition: all 0.3s; }
.spec-item:hover { background: rgba(255,103,0,0.04); border-left-color: var(--orange-bright); transform: translateX(3px); }
.spec-label { font-size: 11px; color: var(--steel); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; font-weight: 700; }
.spec-value { font-family: var(--font-mono); font-size: 18px; color: var(--silver); font-weight: 700; }

/* ══════════════════════════════════════
   CONFIGURATIONS & PRODUCTS
══════════════════════════════════════ */
.config-section { padding: 120px 0; background: linear-gradient(180deg, var(--black) 0%, var(--dark-metal) 100%); }
.config-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px; border: 1px solid var(--steel); }
.config-card { background: var(--dark-metal); border: none; border-right: 1px solid var(--steel); overflow: hidden; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }
.config-card:last-child { border-right: none; }
.config-card.featured { border-color: transparent; transform: none; background: linear-gradient(170deg, #1f2327 0%, rgba(255,103,0,0.07) 100%); box-shadow: inset 0 0 0 2px var(--orange); z-index: 2; }
.config-badge { position: absolute; top: 0; right: 0; background: var(--orange); color: var(--black); padding: 6px 18px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; z-index: 10; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); }
.config-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255,103,0,0.15); z-index: 3; }
.config-card.featured:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 2px var(--orange), 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255,103,0,0.3); }
.config-card.featured .config-photos { border-left: 2px solid var(--orange); border-right: 2px solid var(--orange); }
.config-header { background: rgba(0,0,0,0.3); padding: 35px 30px; border-bottom: 1px solid rgba(255,255,255,0.06); position: relative; }
.config-card.featured .config-header { background: rgba(255,103,0,0.06); border-bottom-color: rgba(255,103,0,0.2); }
.config-name { font-family: var(--font-display); font-size: 28px; font-weight: 900; color: var(--silver); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.config-tagline { font-size: 13px; color: var(--steel); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1.5px; }
.config-price { font-family: var(--font-display); font-size: 52px; font-weight: 900; color: var(--orange); text-shadow: 0 0 30px rgba(255, 103, 0, 0.2); line-height: 1; }
.config-body { padding: 30px; }
.config-includes { margin-bottom: 25px; }
.config-includes h4 { font-size: 11px; color: var(--steel); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; font-weight: 700; }
.config-includes ul { list-style: none; }
.config-includes li { font-size: 14px; color: var(--aluminum); margin-bottom: 9px; padding-left: 20px; position: relative; line-height: 1.5; }
.config-includes li::before { content: '▸'; position: absolute; left: 0; color: var(--orange); }

/* Config Photos Strip */
.config-photos { background: #000; border-bottom: 1px solid var(--steel); }
.config-photo-main { position: relative; width: 100%; aspect-ratio: 4/3; background: #000; display: flex; align-items: center; justify-content: center; cursor: zoom-in; overflow: hidden; }
.config-photo-main img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.3s; }
.config-photo-main:hover img { transform: scale(1.03); }
.config-photo-zoom { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: var(--white); font-size: 14px; padding: 4px 8px; border: 1px solid var(--steel); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.config-photo-main:hover .config-photo-zoom { opacity: 1; }
.config-photo-thumb-row { display: flex; gap: 2px; padding: 6px; background: #000; }
.config-photo-thumb { flex: 1; aspect-ratio: 4/3; cursor: pointer; opacity: 0.45; border: 1px solid transparent; transition: opacity 0.2s, border-color 0.2s; overflow: hidden; background: #000; }
.config-photo-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.config-photo-thumb:hover { opacity: 0.75; }
.config-photo-thumb.active { opacity: 1; border-color: var(--orange); }

/* Color Selection Box */
.color-selection-box { margin: 20px 0; padding: 15px; background: rgba(106, 113, 120, 0.05); border: 1px solid var(--steel); transition: all 0.4s; }
.color-selection-box.selected-black { background: rgba(0, 0, 0, 0.3); border-color: var(--steel); }
.color-selection-box.selected-orange { background: rgba(255, 103, 0, 0.15); border-color: var(--orange); }
.color-selection-box.selected-yellow { background: rgba(255, 255, 0, 0.1); border-color: #FFFF00; }
.color-selection-box.selected-red { background: rgba(255, 0, 0, 0.1); border-color: #FF0000; }
.color-selection-box.selected-blue { background: rgba(0, 100, 255, 0.15); border-color: #0070FF; }

/* ══════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════ */
.faq-section { padding: 120px 0; background: var(--dark-metal); }
.faq-grid { display: grid; gap: 0; max-width: 900px; margin: 60px auto 0; border: 1px solid rgba(255,255,255,0.06); }
.faq-item { background: var(--black); border: none; border-bottom: 1px solid rgba(255,255,255,0.06); cursor: pointer; transition: background 0.2s; overflow: hidden; }
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: rgba(255,103,0,0.03); }
.faq-item.active { background: rgba(255,103,0,0.04); }
.faq-question { padding: 22px 28px; font-size: 17px; font-weight: 600; color: var(--silver); display: flex; justify-content: space-between; align-items: center; gap: 20px; line-height: 1.4; }
.faq-item.active .faq-question { color: var(--white); border-bottom: 1px solid rgba(255,103,0,0.15); }
.faq-answer { padding: 0 28px 22px 28px; color: var(--aluminum); line-height: 1.8; font-size: 15px; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-icon { color: var(--orange); font-size: 22px; transition: transform 0.3s; flex-shrink: 0; line-height: 1; width: 22px; text-align: center; }
.faq-item.active .faq-icon { transform: rotate(45deg); }


/* ══════════════════════════════════════
   MEDIA QUERIES (Mobile Breakpoints)
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-visual { width: 50%; }
    .dm-content { grid-template-columns: 1fr; gap: 60px; }
    .comparison-grid { grid-template-columns: 1fr; }
    .config-grid { grid-template-columns: 1fr; border: none; gap: 16px; }
    .config-card { border: 1px solid var(--steel); }
    .config-card.featured { order: -1; }
}

@media (max-width: 768px) {
    .hero-thumbnails { gap: 8px; margin-top: 15px; overflow-x: auto; padding-bottom: 5px; justify-content: flex-start; }
    .hero-thumb { min-width: 65px; max-width: 75px; border-width: 1px; }
    
    .lifestyle-section { display: none !important; }
    
    .hero { padding-top: 80px; padding-bottom: 40px; }
    .hero .container { display: flex; flex-direction: column; }
    .hero-visual { float: none; width: 100%; margin: 20px 0 24px 0; }
    
    .hero-title { font-size: clamp(40px, 11vw, 60px); }
    .overline { font-size: 16px; letter-spacing: 1px; white-space: normal; word-break: break-word; }
    .hero-subtitle { font-size: 20px; }
    .hero-tagline { font-size: 16px; }
    .hero-ctas { flex-direction: column; gap: 12px; }
    .hero-stats { flex-direction: row; }
    .stat { padding: 14px 16px; }
    .stat-value { font-size: 26px; }

    .problem-section, .features-section, .diamond-matrix-section, .specs-section, .config-section, .faq-section { padding: 80px 0; }
    .section-header { margin-bottom: 50px; }
    .section-title { font-size: clamp(32px, 9vw, 48px); }
    .section-subtitle { font-size: 17px; }
    .dm-text h2 { font-size: 32px; letter-spacing: 1px; }

    .problem-section [style*="grid-template-columns: 1fr auto 1fr auto 1fr"] { display: flex !important; flex-direction: column !important; gap: 20px !important; }
    .problem-section [style*="font-size: 30px"] { transform: none !important; margin: 4px 0; }
    .weak-link-box { padding-top: 45px; margin-top: 20px; }
    .weak-link-tag { font-size: 10px; white-space: nowrap; padding: 3px 10px; }

    .comparison-grid { gap: 20px; }
    .comparison-card { padding: 40px 24px; }
    .specs-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .spec-item { padding: 20px; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; }
    .config-grid { margin-top: 40px; }
    .config-header { padding: 28px 24px; }
    .config-body { padding: 24px; }
    .config-price { font-size: 42px; }
    
    .faq-question { padding: 18px 22px; font-size: 16px; }
    .faq-answer { padding: 0 22px 18px; font-size: 14px; }
    
    .problem-section .container > div:nth-child(2) { display: none; }
}

@media (max-width: 375px) {
    .hero-title { font-size: clamp(34px, 12vw, 44px); }
    .hero-stats { flex-wrap: wrap; }
    .stat { flex: 1 1 calc(33% - 1px); min-width: 80px; }
    .specs-grid { grid-template-columns: 1fr; }
}
/* ══════════════════════════════════════
   PRODUCT DETAIL PAGE (PDP)
   Moved from r1-console.html inline <style>
   Applies to all product pages using the
   2-column carousel + buy-box layout.
══════════════════════════════════════ */

/* ── Global resets for PDP pages ────── */
html, body { overflow-x: hidden; width: 100%; }
main { width: 100%; overflow-x: hidden; }

/* ── Product Page Layout ─────────────────────────────────── */
.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    max-width: 1280px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 32px 24px 60px;
    align-items: start;
}

@media (max-width: 960px) {
    .pdp-layout {
        grid-template-columns: 1fr;
        padding: 16px 16px 80px;
    }
}

.pdp-carousel,
.pdp-buy-box {
    min-width: 0;
    width: 100%;
}

/* ── Carousel (left column) ── */
.pdp-carousel {
    position: sticky;
    top: 80px;
    padding-right: 32px;
}

@media (max-width: 960px) {
    .pdp-carousel {
        position: static;
        padding-right: 0;
        margin-bottom: 20px;
    }
}

.carousel-main {
    position: relative;
    background: var(--dark-metal, #1A1D20);
    border: 1px solid var(--steel, #6A7178);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: zoom-in;
}

.carousel-main img,
.carousel-main iframe {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
    max-width: 100%;
}

.carousel-main iframe {
    object-fit: unset;
    border: 0;
}

.carousel-video-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0a0a0a;
    cursor: pointer;
}

.carousel-video-placeholder .play-icon {
    width: 64px; height: 64px;
    border: 2px solid var(--orange, #FF6700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange, #FF6700);
    font-size: 24px;
}

.carousel-video-placeholder span {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: var(--aluminum, #B8C0C8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.carousel-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding-bottom: 2px;
}
.carousel-thumbs::-webkit-scrollbar { display: none; }

.carousel-thumb {
    width: 68px; height: 68px;
    border: 1px solid var(--steel, #6A7178);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
    background: var(--dark-metal, #1A1D20);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.carousel-thumb .thumb-video-icon {
    font-size: 20px;
    color: var(--orange, #FF6700);
}

.carousel-thumb.active,
.carousel-thumb:hover {
    border-color: var(--orange, #FF6700);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    width: 44px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 3px;
    transition: background 0.2s, opacity 0.2s;
    opacity: 0.7;
    padding: 0;
}
.carousel-arrow:hover { background: rgba(255,103,0,0.75); opacity: 1; }
.carousel-arrow-prev { left: 10px; }
.carousel-arrow-next { right: 10px; }
.carousel-arrow:disabled { opacity: 0.2; pointer-events: none; }

.carousel-caption {
    min-height: 28px;
    padding: 8px 4px 4px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: var(--orange, #FF6700);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

/* ── Buy Box (right column) ── */
.pdp-buy-box { padding: 0; }

.pdp-title {
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white, #F8F9FA);
    margin: 0 0 10px;
    line-height: 1.1;
    word-break: break-word;
}

@media (max-width: 400px) {
    .pdp-title { font-size: 26px; letter-spacing: 0.5px; }
}

.pdp-subtitle {
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange, #FF6700);
    margin: 0 0 8px;
}

.pdp-fitment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--orange, #FF6700);
    color: var(--orange, #FF6700);
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    letter-spacing: 0.8px;
    border-radius: 2px;
    margin-bottom: 14px;
    max-width: 100%;
    flex-wrap: wrap;
}

.pdp-fitment-badge span { color: var(--white, #F8F9FA); }

.pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 6px;
    flex-wrap: wrap;
}

.pdp-price {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 32px;
    font-weight: 700;
    color: var(--white, #F8F9FA);
}

.pdp-price-note {
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 14px;
    color: var(--success, #00FF88);
}

.pdp-shipping-note {
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 13px;
    color: var(--aluminum, #B8C0C8);
    margin: 0 0 20px;
}

.pdp-divider {
    border: none;
    border-top: 1px solid var(--steel, #6A7178);
    margin: 18px 0;
}

/* ── Configuration Options ── */
.config-label {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: var(--aluminum, #B8C0C8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 10px;
}
.config-label strong { color: var(--white, #F8F9FA); }

.config-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.config-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--steel, #6A7178);
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: transparent;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.config-option:hover { border-color: var(--aluminum, #B8C0C8); }
.config-option.selected {
    border-color: var(--orange, #FF6700);
    background: rgba(255,103,0,0.07);
}

.config-option-radio {
    width: 15px; height: 15px;
    border: 2px solid var(--steel, #6A7178);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s;
}
.config-option.selected .config-option-radio { border-color: var(--orange, #FF6700); }
.config-option.selected .config-option-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--orange, #FF6700);
    border-radius: 50%;
}

.config-option-text { flex: 1; min-width: 0; }

.config-option-name {
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--white, #F8F9FA);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 0;
    line-height: 1.25;
}

.config-option-sub {
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 12px;
    color: var(--aluminum, #B8C0C8);
    margin-top: 1px;
    line-height: 1.3;
}

.config-option-price {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 14px;
    font-weight: 700;
    color: var(--white, #F8F9FA);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 8px;
}

/* ── Color selector ── */
.color-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.color-swatch {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--steel, #6A7178);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
    position: relative;
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.selected {
    border-color: var(--orange, #FF6700);
    box-shadow: 0 0 0 2px rgba(255,103,0,0.3);
}
.color-swatch[data-color="black"] { background: #1a1a1a; box-shadow: inset 0 0 0 1px #444; }

.color-selected-label {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    color: var(--orange, #FF6700);
    margin-bottom: 10px;
    min-height: 16px;
}

/* ── Add to Cart button ── */
.pdp-atc-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--orange, #FF6700);
    color: var(--black, #0A0A0A);
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 10px;
}
.pdp-atc-btn:hover { background: var(--orange-bright, #FF8833); }
.pdp-atc-btn:active { transform: scale(0.99); }

/* ── Urgency line ── */
.pdp-urgency {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    color: var(--orange, #FF6700);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-align: center;
}

/* ── Trust row ── */
.pdp-trust-row {
    display: flex;
    gap: 8px 14px;
    justify-content: center;
    padding: 10px 0;
    flex-wrap: wrap;
}

.pdp-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 12px;
    font-weight: 600;
    color: var(--aluminum, #B8C0C8);
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.pdp-trust-item svg { flex-shrink: 0; }

/* ── Manifest / What's Included ── */
.pdp-manifest {
    background: rgba(255,103,0,0.05);
    border: 1px solid var(--steel, #6A7178);
    border-radius: 3px;
    padding: 14px 16px;
    margin-bottom: 18px;
    padding-left: 1.5rem; 
}
.pdp-manifest h4 {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--orange, #FF6700);
    margin: 0 0 10px;
}
.pdp-manifest p {
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 14px;
    color: var(--aluminum, #B8C0C8);
    line-height: 1.6;
    margin: 0;
}
.pdp-manifest-list li {
    margin-bottom: 0.5rem; 
}

/* ── Stats bar ── */
.pdp-stats {
    display: flex;
    gap: 0;
    border: 1px solid var(--steel, #6A7178);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}
.pdp-stat {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 8px 4px;
    border-right: 1px solid var(--steel, #6A7178);
}
.pdp-stat:last-child { border-right: none; }
.pdp-stat-val {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    font-weight: 700;
    color: var(--orange, #FF6700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pdp-stat-lbl {
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 10px;
    color: var(--aluminum, #B8C0C8);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Below-the-fold sections ── */
.section-divider {
    border: none;
    border-top: 1px solid var(--steel, #6A7178);
    margin: 0;
}
.content-section {
    width: 100%;
    box-sizing: border-box;
    padding: 60px 24px;
}
@media (max-width: 768px) {
    .content-section { padding: 40px 16px; }
}

/* ── Lightbox ── */
#pdp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
#pdp-lightbox.open { display: flex; }
#pdp-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border: 1px solid var(--steel, #6A7178);
}
#pdp-lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    color: var(--white, #F8F9FA);
    font-size: 32px;
    cursor: pointer;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

/* ── Mobile sticky buy bar ── */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--dark-metal, #1A1D20);
    border-top: 1px solid var(--steel, #6A7178);
    padding: 12px 16px;
    z-index: 100;
    gap: 12px;
    align-items: center;
}
@media (max-width: 960px) {
    .mobile-sticky-bar { display: flex; }
}
.mobile-sticky-price {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 20px;
    font-weight: 700;
    color: var(--white, #F8F9FA);
    white-space: nowrap;
}
.mobile-sticky-atc {
    flex: 1;
    padding: 12px;
    background: var(--orange, #FF6700);
    color: var(--black, #0A0A0A);
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
}

/* ══════════════════════════════════════
   SPEAKER DRAWER PAGE — FEATURE CALLOUT
   (used on single-product pages that need
    a key feature highlighted in the buy box
    instead of a config picker)
══════════════════════════════════════ */
.pdp-feature-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,103,0,0.06);
    border: 1px solid rgba(255,103,0,0.3);
    border-left: 3px solid var(--orange, #FF6700);
    border-radius: 3px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.feature-callout-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1.3;
}
.feature-callout-title {
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--orange, #FF6700);
    margin-bottom: 5px;
}
.feature-callout-desc {
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 13px;
    color: var(--aluminum, #B8C0C8);
    line-height: 1.6;
}
