/* ═══════════════════════════════════════════════════════════════
   VividWalls — Subpage Styles (canvas.html, wallpapers.html)
   Extends styles.css. No layout conflicts.
   ═══════════════════════════════════════════════════════════════ */


/* ── Breadcrumb ── */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 40px;
  margin-top: 20px;
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: var(--color-dark); }
.breadcrumb span { color: var(--color-muted); }


/* ── Subpage hero ── */

.subpage-hero {
  padding-top: 72px;
}

.subpage-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.subpage-hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.subpage-hero-copy p {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.subpage-hero-copy .eyebrow {
  margin-bottom: 16px;
}

/* Hero image stack */
.hero-img-stack {
  position: relative;
  height: 420px;
}

.hero-img-main {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-img-badge,
.hero-img-badge2 {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  text-align: center;
}

.hero-img-badge {
  bottom: 24px;
  left: 24px;
}

.hero-img-badge2 {
  top: 24px;
  right: 24px;
}

.hero-img-badge strong,
.hero-img-badge2 strong {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.hero-img-badge span,
.hero-img-badge2 span {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: 3px;
}


/* ── Section sub-headline ── */

.section-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
}


/* ── Material cards (canvas types) ── */

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.material-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}

.material-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 40px 90px rgba(15,23,42,0.16);
}

.featured-material {
  outline: 2px solid transparent;
  outline-offset: 2px;
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.75)) padding-box,
              var(--gradient-main) border-box;
  border: 2px solid transparent;
}

.featured-label {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}

.material-img {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
}

.material-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  color: #fff;
}

.badge-poly   { background: linear-gradient(90deg, #2563eb, #7c3aed); }
.badge-mixed  { background: linear-gradient(90deg, #7c3aed, #f43f5e); }
.badge-cotton { background: linear-gradient(90deg, #f97316, #f43f5e); }

.material-body {
  padding: 24px;
}

.material-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.material-label h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  margin: 0;
}

.material-price {
  text-align: right;
  flex-shrink: 0;
}

.price-tag {
  display: block;
  font-size: 0.68rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-note {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-dark);
}

.price-note.price-up {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.material-body p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}


/* ── Spec chips ── */

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(15,23,42,0.06);
  color: var(--color-dark);
  white-space: nowrap;
}

.chip svg {
  width: 11px;
  height: 11px;
  opacity: 0.5;
}

.chip-outdoor {
  background: linear-gradient(90deg, rgba(37,99,235,0.12), rgba(124,58,237,0.12));
  color: #2563eb;
}

.chip-indoor {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
}

.cert-chip {
  background: rgba(5,150,105,0.1);
  color: #059669;
}

.chip-sm {
  font-size: 0.68rem;
  padding: 3px 8px;
}

.chip-350 { background: rgba(124,58,237,0.12); color: #7c3aed; }
.chip-450 { background: linear-gradient(90deg, rgba(249,115,22,0.12), rgba(244,63,94,0.12)); color: #f97316; }


/* ── Stretching photos ── */

.stretch-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.stretch-img {
  height: 260px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}


/* ── Frame cards ── */

.frames-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.frame-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}

.frame-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 72px rgba(15,23,42,0.14);
}

.frame-img {
  padding: 20px 16px 12px;
  background: rgba(248,250,252,0.7);
  text-align: center;
}

.frame-img img {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.frame-body {
  padding: 16px;
}

.frame-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.frame-code {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.04em;
}

.frame-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
}

.standard-tag {
  background: rgba(5,150,105,0.12);
  color: #059669;
}

.custom-tag {
  background: rgba(124,58,237,0.1);
  color: #7c3aed;
}

.frame-body h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 6px;
  line-height: 1.3;
}

.frame-body p {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.frame-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.frame-price strong {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--color-dark);
}

.frame-price span {
  font-size: 0.68rem;
  color: var(--color-muted);
}

.frame-note {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--color-muted);
  text-align: center;
  padding: 16px 24px;
  background: rgba(15,23,42,0.04);
  border-radius: 12px;
}


/* ── Pricing legend ── */

.pricing-legend {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 24px 0 36px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--color-muted);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-poly   { background: linear-gradient(90deg, #2563eb, #7c3aed); }
.dot-mixed  { background: linear-gradient(90deg, #7c3aed, #f43f5e); }
.dot-cotton { background: linear-gradient(90deg, #f97316, #f43f5e); }


/* ── Price table images ── */

.price-table-imgs {
  display: flex;
  gap: 20px;
}

.price-table-img {
  border-radius: 20px;
  overflow: hidden;
  flex: 1;
}

.price-table-img img {
  width: 100%;
  display: block;
}


/* ── B2B tiers ── */

.b2b-tiers {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.b2b-tier {
  flex: 1;
  min-width: 120px;
  padding: 20px 16px;
  border-radius: 16px;
  background: rgba(15,23,42,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.b2b-tier strong {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-dark);
  line-height: 1;
}

.b2b-tier span {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.featured-tier {
  background: var(--gradient-main);
  box-shadow: 0 12px 36px rgba(124,58,237,0.22);
}

.featured-tier strong,
.featured-tier span {
  color: #fff;
}

/* B2B feature list (no public percentages) */
.b2b-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.b2b-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-dark);
}

.b2b-feature svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #7c3aed;
}


/* ── Wallpaper type grid ── */

.wallpaper-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
  margin-bottom: 28px;
}

.wallpaper-type-card {
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}

.wallpaper-type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 90px rgba(15,23,42,0.16);
}

.wallpaper-type-img {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
}

.wp-price-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: right;
  color: #fff;
}

.wp-price-overlay strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.wp-price-overlay span {
  font-size: 0.72rem;
  opacity: 0.8;
}

.wallpaper-type-body {
  padding: 24px;
}

.wp-type-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.wp-type-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-dark);
}

.wp-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
}

.wp-badge-pvc  { background: rgba(15,23,42,0.08); color: var(--color-dark); }
.wp-badge-hp   { background: rgba(5,150,105,0.12); color: #059669; }
.wp-badge-vivid {
  background: var(--gradient-main);
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
}

.wallpaper-type-body p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.wp-price-row {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,23,42,0.06);
}

.wp-price-main strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
}

.wp-price-main span {
  font-size: 0.76rem;
  color: var(--color-muted);
  margin-left: 6px;
}


/* ── VIVID WALLS main card ── */

.vivid-main-card {
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 0;
}

.vivid-main-left {
  padding: 48px;
}

.vivid-main-left h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  margin: 12px 0 16px;
}

.vivid-main-left p {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 520px;
}

.vivid-price-tiers {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.vivid-price-tier {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(15,23,42,0.05);
}

.tier-premium {
  background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(244,63,94,0.1));
  border: 1px solid rgba(249,115,22,0.2);
}

.tier-weight {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.tier-weight em {
  font-style: normal;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.tier-price strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-dark);
}

.vivid-main-right {
  position: relative;
}

.vivid-hero-imgs {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.vivid-hero-img {
  background-size: cover;
  background-position: center;
}


/* ── Texture gallery ── */

.texture-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.texture-card {
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}

.texture-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 28px 64px rgba(15,23,42,0.14);
}

.texture-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.texture-body {
  padding: 14px 16px;
}

.texture-body h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.texture-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.texture-price {
  font-size: 0.88rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}




/* ── Responsive ── */

@media (max-width: 1100px) {
  .frames-grid { grid-template-columns: repeat(3, 1fr); }
  .texture-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .subpage-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-stack { height: 280px; }
  .material-grid { grid-template-columns: 1fr; }
  .wallpaper-type-grid { grid-template-columns: 1fr; }
  .vivid-main-card { grid-template-columns: 1fr; }
  .vivid-main-right { height: 240px; position: relative; }
  .vivid-hero-imgs { position: relative; height: 240px; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .frames-grid { grid-template-columns: repeat(2, 1fr); }
  .stretch-photos { grid-template-columns: 1fr; }
  .texture-gallery { grid-template-columns: repeat(2, 1fr); }
  .b2b-tiers { flex-direction: column; }
}

@media (max-width: 600px) {
  .frames-grid { grid-template-columns: 1fr; }
  .texture-gallery { grid-template-columns: repeat(2, 1fr); }
  .pricing-legend { flex-direction: column; align-items: center; }
  .price-table-imgs { flex-direction: column; }
  .vivid-main-left { padding: 28px; }
}
