/* Azoogi Product Detail CSS */

/* --- Page Layout & Breadcrumbs --- */

h2, h3, h4{
  font-weight: 500;
}
.product-page-wrapper {
  padding-top: 110px; /* offset for fixed topbar */
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  transition: background 0.4s ease, color 0.4s ease;
}

.pull-right{
      display: flex;
    }

.pull-right a{
  padding-left: 10px;
  
}
.breadcrumbs {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a {
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span {
  opacity: 0.5;
}

/* --- Columns Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 0;
  padding-bottom: 20px;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-gallery {
    grid-template-columns: 1fr !important;
  }
  .gallery-thumbs {
    flex-direction: row !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)) !important;
  }
}

/* --- Gallery & Glow Engine --- */
.product-gallery {
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 16px;
  align-items: start;
}

.gallery-main-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1/1;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

/* Glow Engine container */
.glow-preview-area {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(var(--glow-rgb, 103, 208, 78), 0.08) 0%, transparent 70%);
  transition: background 0.5s ease;
}

.glow-neon-tube {
  width: 70%;
  height: 12px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 0 10px #fff,
              0 0 20px rgba(var(--glow-rgb, 103, 208, 78), 0.8),
              0 0 40px rgba(var(--glow-rgb, 103, 208, 78), 0.5);
  transition: box-shadow 0.5s ease;
  pointer-events: none;
}

/* Curve mockup for 360 degree neon flex styling */
.neon-svg-mockup {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  fill: none;
  stroke: #ffffff;
  stroke-width: 14;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px #fff) 
          drop-shadow(0 0 10px rgba(var(--glow-rgb, 103, 208, 78), 0.8))
          drop-shadow(0 0 25px rgba(var(--glow-rgb, 103, 208, 78), 0.6))
          drop-shadow(0 0 60px rgba(var(--glow-rgb, 103, 208, 78), 0.4));
  transition: filter 0.5s ease;
  pointer-events: none;
}

.gallery-main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0.15; /* overlay image texture behind the neon glow */
  mix-blend-mode: overlay;
  pointer-events: auto;
  cursor: zoom-in;
  transition: transform 0.1s ease-out;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb-card {
  aspect-ratio: 4/3;
  border-radius: 4px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.thumb-card.active, .thumb-card:hover {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-2px);
}

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

/* --- Configurator Details --- */
.product-details-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-title-group h1 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 8px;
}

.product-code {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 12px;
}

.product-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-top: 5px;
}

.meta-badge {
  background: var(--rgba-hover);
  border: 1px solid var(--rgba-line);
  color: var(--ink);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.product-short-desc {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  padding-bottom: 20px;
}

.gallery-actions{
  margin-top: 0!IMPORTANT;
}

.gallery-actions a:hover svg{
  fill: var(--pure-bg);
}
/* Configurator selection blocks */
.config-group {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.config-group-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 200px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.config-options-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-grow: 1;
}

@media (max-width: 600px) {
  .config-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .config-group-title {
    width: auto;
  }
}

.config-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  color: var(--ink);
  padding: 5px  10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.config-btn:hover {
  background: var(--rgba-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.config-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(var(--glow-rgb, 103, 208, 78), 0.15);
  color: var(--pure-bg);
  font-weight: 400;
}

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Length Slider styling */
.slider-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: 6px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-val-box {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--rgba-line);
  outline: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.1s;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* --- Dynamic Load Calculator Panel --- */
.calc-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.calc-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
}

.calc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.metric-value.highlight {
  color: var(--accent);
}

.driver-bar-wrapper {
  margin-top: 12px;
}

.driver-bar-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.driver-bar-bg {
  width: 100%;
  height: 6px;
  background: var(--rgba-line);
  border-radius: 3px;
  overflow: hidden;
}

.driver-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.4s ease;
}

.driver-warning {
  font-size: 11px;
  color: #ff5e5e;
  margin-top: 10px;
  display: none;
}

/* Action CTA */
.gallery-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}

.gallery-actions .btn {
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 4px;
  font-size: 12px;
}

/* --- Specification Tabs --- */
.tabs-container {
  margin: 60px 0;
  border-top: 1px solid var(--line);
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  gap: 32px;
}

.tab-nav-btn {
  background: none;
  border: none;
  color: var(--muted);
  padding: 18px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.tab-nav-btn:hover {
  color: var(--ink);
}

.tab-nav-btn.active {
  color: var(--accent);
}

.tab-nav-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.tabs-content {
  padding: 32px 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Specification Tables */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.spec-table tr {
  border-bottom: 1px solid var(--line);
}

.spec-table td {
  padding: 6px 0;
  font-size: 12px;
}

.product-icons-row img {
  height: 48px !important;
  width: auto;
}

.spec-table td:first-child {
  font-weight: 500;
  color: var(--ink);
  width: 35%;
}

.spec-table td:last-child {
  color: var(--muted);
}

/* Downloads List */
.downloads-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .downloads-list {
    grid-template-columns: 1fr;
  }
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.download-item:hover {
  border-color: var(--accent);
  background: var(--rgba-hover);
  transform: translateY(-2px);
}

.download-item-info {
  display: flex;
  flex-direction: column;
}

.download-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.download-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.download-icon-btn {
  color: var(--accent);
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Quote Form / Spec Inquiry Section --- */
.quote-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, rgba(var(--glow-rgb, 103, 208, 78), 0.01) 100%);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

@media (max-width: 900px) {
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.quote-intro h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 16px;
  line-weight: 1.2;
}

.quote-intro p {
  color: var(--muted);
  font-size: 14px;
  line-weight: 1.6;
}

.quote-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.form-input, .form-textarea {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  color: var(--ink);
  padding: 12px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

:root[data-theme="light"] .form-input, 
:root[data-theme="light"] .form-textarea {
  background: rgba(0, 0, 0, 0.02);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(var(--glow-rgb, 103, 208, 78), 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: var(--pure-bg);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-submit-btn:hover {
  background: var(--ink);
  color: var(--pure-bg);
  transform: translateY(-2px);
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.form-success-message svg {
  color: var(--accent);
  margin-bottom: 16px;
}

.form-success-message h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  margin-bottom: 8px;
}

.form-success-message p {
  color: var(--muted);
  font-size: 14px;
}

/* --- Project Highlights Carousel --- */
.related-projects-section {
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
}

.related-projects-section h3 {
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 500;
}

.projects-small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .projects-small-grid {
    grid-template-columns: 1fr;
  }
}

.proj-small-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.proj-small-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.proj-small-card:hover img {
  transform: scale(1.08);
}

.proj-small-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.proj-small-overlay small {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 4px;
}

.proj-small-overlay h4 {
  font-size: 18px;
  color: #ffffff;
  font-weight: 400;
}

.reset-selection{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.reset-selection a{
  font-size: 10px;
  padding: 5px 10px!important;
  display:flex;
  transition: all .3s;
}

.reset-selection a:hover svg{
  fill: var(--pure-bg);
}

.reset-selection a svg{
  padding-right: 5px;
}

/* Configurator Button Disabled State */
.config-btn:disabled, .config-btn.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  border-color: var(--border-light);
  pointer-events: none;
}

/* Restructured Configurator & Accessories Grid Layouts */
@media (max-width: 960px) {
  .options-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .config-summary-card {
    position: static !important;
  }
}

@media (max-width: 900px) {
  .accessories-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ===========================================================
     PRODUCT CARD GRID — 4 columns
  =========================================================== */
    .prod-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
    }

    @media(max-width:1280px) {
      .prod-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
      }
    }

    @media(max-width:900px) {
      .prod-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }
    }

    @media(max-width:480px) {
      .prod-grid {
        grid-template-columns: 1fr;
      }
    }

    .prod-card {
      position: relative;
      border: 1px solid var(--border-light);
      background: var(--card-bg);
      overflow: hidden;
      border-radius: 3px;
      transition: border-color .25s;
      cursor: pointer;
    }

    .prod-card:hover {
      border-color: var(--accent);
    }

    .prod-card-img {
      position: relative;
      aspect-ratio: 1/1;
      overflow: hidden;
    }

    .prod-swatch {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, var(--sw1, #1c2e17), var(--sw2, #0b0b0b));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .prod-swatch svg {
      width: 38%;
      opacity: .35;
    }

    .prod-card-title {
      padding: 12px 14px 14px;
      font-size: 13.5px;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
      line-height: 1.3;
    }

    .prod-card-title-text {
      flex: 1;
    }

    .prod-card-title .cat-label {
      display: block;
      font-size: 10px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 4px;
    }

    .add-quote-btn {
      background: var(--accent);
      border: 1px solid var(--line);
      color: var(--pure-bg);
      width: 28px;
      height: 28px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all .2s;
      flex-shrink: 0;
      font-size: 16px;
      font-weight: 300;
      padding: 0;
    }

    .add-quote-btn:hover {
      background: var(--card-bg);
      color: var(--ink);
      border-color: var(--accent);
    }

    .add-quote-btn.added {
      background: var(--accent-2);
      color: #fff;
      border-color: var(--accent-2);
    }

    .prod-overlay {
      position: absolute;
      inset: 0;
      padding: 18px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: linear-gradient(180deg, rgba(11, 11, 11, 0.8) 0%, rgba(11, 11, 11, .92) 100%);
      opacity: 0;
      transition: opacity .3s ease;
    }

    .prod-card:hover .prod-overlay,
    .prod-card:focus-within .prod-overlay {
      opacity: 1;
    }

    .spec-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
      width: 100%;
      transform: translateY(8%);
      transition: transform .3s ease;
    }

    .prod-card:hover .spec-list {
      transform: translateY(0);
    }

    .spec-item {
      font-size: 11.5px;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.4;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding-bottom: 6px;
      display: flex;
      justify-content: space-between;
      gap: 8px;
    }

    .spec-item:last-child {
      border-bottom: none;
    }

    .spec-item strong {
      color: #fff;
      font-weight: 500;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .spec-item span {
      text-align: right;
    }

    .p-btn-row {
      display: flex;
      gap: 8px;
    }

    .ov-btn {
      flex: 1;
      text-align: center;
      font-size: 11.5px;
      padding: 9px 6px;
      cursor: pointer;
      border-radius: 2px;
      transition: all .2s;
      border: 1px solid rgba(255, 255, 255, .5);
      color: #fff;
      background: transparent;
    }

    .ov-btn:hover {
      background: rgba(255, 255, 255, .12);
    }

    .ov-btn.solid {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--pure-bg);
      font-weight: 600;
    }

    .ov-btn.solid:hover {
      background: #fff;
      border-color: #fff;
      color: #000;
    }

    .ov-btn.added {
      background: var(--accent-2);
      border-color: var(--accent-2);
    }
