/* Beryl 7 (GL-MT3600BE) product page — layout aligned with gl-inet.com/products/gl-mt3600be/ */

body.product-detail {
  background: #fff !important;
  color: #333;
  line-height: 1.65;
}

body.product-detail a:hover {
  color: #00a173;
}

/* ——— Product chrome ——— */
.pdp-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 4rem;
}

.pdp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0 0.25rem;
  font-size: 0.875rem;
  color: #666;
}

.pdp-breadcrumb a {
  color: #00a173;
  font-weight: 600;
}

.pdp-breadcrumb-sep {
  color: #bbb;
  user-select: none;
}

.pdp-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: center;
  padding: 0.65rem 0 1.25rem;
  margin: 0 0 0.25rem;
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #eaeaea;
  backdrop-filter: blur(8px);
}

.pdp-subnav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #333 !important;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.pdp-subnav a:hover {
  color: #00a173 !important;
  border-bottom-color: #00a173;
}

/* Hero */
.pdp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: center;
  padding: 1.5rem 0 3rem;
}

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

.pdp-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.15;
}

.pdp-hero-sub {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #444;
}

.pdp-hero-h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.pdp-btn-shop {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  background: #00a173;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.pdp-btn-shop:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.pdp-hero-lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #444;
}

.pdp-hero-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.pdp-hero-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

.pdp-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00a173;
}

.pdp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.pdp-text-link {
  color: #00a173;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Gallery */
.pdp-gallery {
  position: relative;
}

.pdp-gallery-main {
  aspect-ratio: 1;
  max-height: 420px;
  margin: 0 auto;
  background: linear-gradient(160deg, #e8f5f0 0%, #f0f4f8 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pdp-gallery-main img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.pdp-gallery-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pdp-gallery-nav button {
  padding: 0.4rem 1rem;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.85rem;
}

.pdp-gallery-nav button:hover {
  border-color: #00a173;
  color: #00a173;
}

.pdp-thumbs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.pdp-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #f5f5f5;
}

.pdp-thumb.is-active {
  border-color: #00a173;
}

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

/* Wi-Fi 7 band */
.pdp-wifi-band {
  background: linear-gradient(135deg, #0d4a3c 0%, #0a6b52 40%, #00a173 100%);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin: 0 -24px 0;
}

.pdp-wifi-band h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pdp-wifi-band .pdp-wifi-mbps {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
}

/* Feature tiles */
.pdp-features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid #eee;
}

.pdp-features--row4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .pdp-features {
    grid-template-columns: repeat(3, 1fr);
  }
  .pdp-features--row4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .pdp-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pdp-feature-tile {
  text-align: center;
  padding: 0.75rem 0.5rem;
}

.pdp-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.65rem;
  color: #00a173;
}

.pdp-feature-tile h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.pdp-feature-tile p {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

.pdp-feature-inline {
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
  color: #555 !important;
}

/* Section titles */
.pdp-section-title {
  text-align: center;
  margin: 3rem 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #111;
}

.pdp-section-lead {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: #555;
}

/* Alternating rows */
.pdp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid #eee;
}

.pdp-split:nth-child(even) .pdp-split-visual {
  order: 2;
}

.pdp-split:nth-child(even) .pdp-split-copy {
  order: 1;
}

@media (max-width: 900px) {
  .pdp-split,
  .pdp-split:nth-child(even) .pdp-split-visual,
  .pdp-split:nth-child(even) .pdp-split-copy {
    grid-template-columns: 1fr;
    order: unset !important;
  }
}

.pdp-split-visual {
  border-radius: 8px;
  background: linear-gradient(145deg, #e5f4ef, #eef2f6);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pdp-split-visual img {
  max-width: 85%;
  max-height: 240px;
  object-fit: contain;
}

.pdp-split-copy h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}

.pdp-split-copy p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

.pdp-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #777;
}

.pdp-split-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* Use-case tabs */
.pdp-tabs-wrap {
  margin: 2rem 0 3rem;
}

.pdp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 2rem;
}

.pdp-tab {
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.pdp-tab:hover {
  color: #00a173;
}

.pdp-tab.is-active {
  color: #00a173;
  border-bottom-color: #00a173;
}

.pdp-tab-panel {
  display: none;
  max-width: 800px;
  margin: 0 auto;
}

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

.pdp-tab-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: #111;
}

.pdp-tab-panel p {
  margin: 0;
  color: #444;
  font-size: 0.98rem;
}

.pdp-tab-panel h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}

.pdp-tab-panel h4:first-child {
  margin-top: 0;
}

/* YouTube row */
.pdp-yt-title {
  text-align: center;
  margin: 3rem 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #111;
}

.pdp-yt-sub {
  text-align: center;
  margin: 0 0 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.pdp-yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pdp-yt-grid--six {
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 1100px) {
  .pdp-yt-grid--six {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pdp-yt-grid {
    grid-template-columns: 1fr;
  }
}

.pdp-yt-more-wrap {
  text-align: center;
  margin: 1rem 0 2.5rem;
}

.pdp-yt-more-link {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid #00a173;
  color: #00a173 !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 2px;
}

.pdp-yt-more-link:hover {
  background: #00a173;
  color: #fff !important;
}

.pdp-yt-card {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}

.pdp-yt-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pdp-yt-card a {
  color: inherit;
  display: block;
}

.pdp-yt-thumb {
  aspect-ratio: 16/9;
  background: #222 center / cover no-repeat;
  position: relative;
}

.pdp-yt-thumb--placeholder {
  background: linear-gradient(135deg, #1a2a24 0%, #0d4a3c 100%) !important;
}

.pdp-yt-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.pdp-yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 0, 0, 0.88);
  border-radius: 12px;
  z-index: 1;
}

.pdp-yt-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.pdp-yt-card h4 {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: #222;
}

/* Beta quotes */
.pdp-beta-title {
  text-align: center;
  margin: 3rem 0 1.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #111;
}

.pdp-beta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pdp-beta-grid--seven {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1100px) {
  .pdp-beta-grid--seven {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pdp-beta-grid {
    grid-template-columns: 1fr;
  }
}

.pdp-beta-card {
  padding: 1.25rem;
  background: #f8faf9;
  border: 1px solid #e8ece9;
  border-radius: 6px;
}

.pdp-beta-card p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: #444;
}

.pdp-beta-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: #00a173;
}

/* Model comparison */
.pdp-compare {
  margin: 3rem 0;
  padding: 2.5rem 1.5rem;
  background: #f7f7f7;
  border-radius: 8px;
}

.pdp-compare h2 {
  text-align: center;
  margin: 0 0 2rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111;
}

.pdp-compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .pdp-compare-grid {
    grid-template-columns: 1fr;
  }
}

.pdp-compare-col {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.25rem;
}

.pdp-compare-col h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.pdp-compare-col .pdp-compare-tag {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #666;
}

.pdp-compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #00a173;
  padding: 0.5rem;
}

.pdp-compare .pdp-specs-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.pdp-compare .pdp-specs-table-wrap th {
  width: 22%;
  background: #fafafa;
  font-weight: 700;
  color: #444;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.pdp-compare .pdp-specs-table-wrap td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  color: #222;
  vertical-align: top;
}

.pdp-compare .pdp-specs-table-wrap tr:last-child th,
.pdp-compare .pdp-specs-table-wrap tr:last-child td {
  border-bottom: none;
}

.pdp-compare-subtitle {
  text-align: center;
  margin: 2rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
}

.pdp-compare-check-wrap {
  margin-bottom: 0;
}

.pdp-compare-check {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.pdp-compare-check th,
.pdp-compare-check td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.pdp-compare-check thead th {
  background: #f0f0f0;
  font-weight: 700;
  color: #333;
}

.pdp-compare-check tbody th[scope="row"] {
  text-align: left;
  background: #fafafa;
  font-weight: 600;
  color: #444;
  max-width: 42%;
}

.pdp-compare-check .pdp-check {
  color: #00a173;
  font-weight: 700;
}

/* Tech specs */
.pdp-specs {
  margin: 3rem 0 2rem;
}

.pdp-specs h2 {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111;
}

.pdp-specs-table-wrap {
  overflow-x: auto;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.pdp-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pdp-specs th,
.pdp-specs td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.pdp-specs th {
  width: 32%;
  background: #fafafa;
  font-weight: 700;
  color: #444;
}

.pdp-specs tr:last-child th,
.pdp-specs tr:last-child td {
  border-bottom: none;
}

.pdp-specs-tools {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #444;
}

.pdp-specs-tools a {
  color: #00a173;
  font-weight: 600;
  margin-right: 0.35rem;
}
