.wallpaper-page {
  color: #fff7dc;
}

.wallpaper-page a {
  color: inherit;
}

.wallpaper-page .site-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(216, 182, 93, 0.45);
  color: #fff7dc;
}

.wallpaper-hero {
  padding: 44px 0 26px;
}

.wallpaper-hero__inner {
  display: grid;
  gap: 22px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.wallpaper-eyebrow {
  color: #d8b65d;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.wallpaper-title {
  color: #fff5c7;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.wallpaper-lead {
  color: rgba(255, 250, 230, 0.82);
  font-size: 1.04rem;
  line-height: 1.8;
  margin: 14px 0 0;
  max-width: 720px;
}

.wallpaper-logo {
  max-width: min(360px, 42vw);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.38));
}

.wallpaper-panel {
  background: linear-gradient(145deg, rgba(42, 18, 70, 0.86), rgba(14, 10, 31, 0.9));
  border: 1px solid rgba(216, 182, 93, 0.5);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  padding: 20px;
}

.wallpaper-banner {
  border: 1px solid rgba(216, 182, 93, 0.35);
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}

.wallpaper-banner img {
  display: block;
  height: auto;
  width: 100%;
}

.wallpaper-filter {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin-bottom: 24px;
}

.wallpaper-filter label {
  color: #f2d98b;
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
}

.wallpaper-filter select,
.wallpaper-form input,
.wallpaper-form textarea {
  background: rgba(7, 5, 22, 0.72);
  border: 1px solid rgba(216, 182, 93, 0.5);
  border-radius: 8px;
  color: #fff7dc;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.wallpaper-filter option {
  color: #1b1234;
}

.wallpaper-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wallpaper-list {
  display: grid;
  gap: 16px;
}

.wallpaper-card {
  background: rgba(15, 10, 36, 0.78);
  border: 1px solid rgba(216, 182, 93, 0.42);
  border-radius: 8px;
  color: #fff7dc;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.wallpaper-card:hover {
  border-color: rgba(255, 224, 133, 0.86);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  color: #fff7dc;
  transform: translateY(-2px);
}

.wallpaper-card__image {
  background: #130b2c;
  display: block;
  overflow: hidden;
  position: relative;
}

.wallpaper-card__image img {
  aspect-ratio: 3 / 4;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wallpaper-card__body {
  padding: 13px 14px 15px;
}

.wallpaper-card__title {
  color: #ffe08a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.wallpaper-card__text {
  color: rgba(255, 250, 230, 0.74);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 7px 0 0;
}

.wallpaper-rich-text p {
  margin: 0 0 0.7rem;
}

.wallpaper-rich-text p:last-child {
  margin-bottom: 0;
}

.wallpaper-rich-text ul,
.wallpaper-rich-text ol {
  margin: 0.45rem 0 0.75rem;
  padding-left: 1.25rem;
}

.wallpaper-row-card {
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 14px;
}

.wallpaper-row-card .wallpaper-card__image {
  border-radius: 8px;
}

.wallpaper-meta {
  color: rgba(255, 250, 230, 0.72);
  font-size: 0.9rem;
  margin-top: 9px;
}

.wallpaper-price {
  align-items: center;
  background: linear-gradient(90deg, #b8892d, #f2d98b);
  border-radius: 999px;
  color: #231332;
  display: inline-flex;
  font-weight: 800;
  margin-top: 12px;
  min-height: 34px;
  padding: 6px 14px;
}

.wallpaper-detail {
  background-position: top center;
  background-repeat: repeat-x;
  background-size: auto 429px;
  padding: 34px 0 42px;
}

.wallpaper-detail__card {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
}

.wallpaper-detail__image {
  background: linear-gradient(145deg, rgba(216, 182, 93, 0.75), rgba(92, 45, 130, 0.8));
  border-radius: 8px;
  padding: 3px;
}

.wallpaper-detail__image img {
  border-radius: 6px;
  display: block;
  height: auto;
  width: 100%;
}

.wallpaper-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.wallpaper-form label {
  color: #f2d98b;
  font-weight: 700;
  margin-bottom: 6px;
}

.wallpaper-discount__row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.wallpaper-discount__message {
  color: rgba(255, 250, 230, 0.72);
  display: block;
  font-size: 0.9rem;
  margin-top: 7px;
  min-height: 22px;
}

.wallpaper-discount__message.is-success {
  color: #bdf5c3;
}

.wallpaper-discount__message.is-error {
  color: #ffb8b8;
}

.wallpaper-price-summary {
  background: rgba(6, 4, 20, 0.42);
  border: 1px solid rgba(216, 182, 93, 0.35);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 14px;
}

.wallpaper-price-row {
  align-items: center;
  color: rgba(255, 250, 230, 0.84);
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.wallpaper-price-row strong {
  color: #fff7dc;
}

.wallpaper-price-row.is-discount strong {
  color: #bdf5c3;
}

.wallpaper-price-row.is-total {
  border-top: 1px solid rgba(216, 182, 93, 0.25);
  margin-top: 3px;
  padding-top: 12px;
}

.wallpaper-price-row.is-total span,
.wallpaper-price-row.is-total strong {
  color: #ffe08a;
  font-size: 1.08rem;
  font-weight: 800;
}

.wallpaper-price-message {
  border-radius: 8px;
  font-size: 0.92rem;
  padding: 9px 10px;
}

.wallpaper-price-message.is-error {
  background: rgba(140, 34, 52, 0.22);
  color: #ffb8b8;
}

.wallpaper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.wallpaper-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.wallpaper-empty {
  color: rgba(255, 250, 230, 0.74);
  padding: 22px;
  text-align: center;
}

.wallpaper-profile {
  padding: 42px 0 64px;
}

.wallpaper-profile-toolbar {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  margin-bottom: 22px;
}

.wallpaper-profile-search {
  align-items: end;
  background: rgba(17, 13, 27, 0.72);
  border: 1px solid rgba(216, 182, 93, 0.35);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  padding: 16px;
}

.wallpaper-profile-search:nth-child(2) {
  grid-template-columns: 1fr 1fr auto;
}

.wallpaper-profile-alert,
.wallpaper-profile-summary,
.wallpaper-profile-help,
.wallpaper-profile-card {
  background: linear-gradient(135deg, rgba(21, 16, 34, 0.96), rgba(50, 28, 61, 0.92));
  border: 1px solid rgba(216, 182, 93, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.wallpaper-profile-alert {
  color: #ffe8a8;
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.wallpaper-profile-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
  padding: 18px;
}

.wallpaper-profile-summary span,
.wallpaper-profile-meta dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.wallpaper-profile-summary strong {
  color: #ffe8a8;
  display: block;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.wallpaper-profile-grid {
  display: grid;
  gap: 18px;
}

.wallpaper-profile-card {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(180px, 260px) 1fr;
  padding: 18px;
}

.wallpaper-profile-card__image {
  align-self: start;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.wallpaper-profile-card__image img {
  aspect-ratio: 3 / 4;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wallpaper-profile-card__body {
  min-width: 0;
}

.wallpaper-profile-card__top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wallpaper-profile-card h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.25;
  margin: 0 0 8px;
}

.wallpaper-profile-status,
.wallpaper-profile-code {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  line-height: 1.2;
  max-width: 100%;
  padding: 7px 11px;
}

.wallpaper-profile-status {
  background: rgba(216, 182, 93, 0.18);
  color: #ffe8a8;
}

.wallpaper-profile-code {
  border: 1px solid rgba(216, 182, 93, 0.35);
  color: rgba(255, 255, 255, 0.78);
  overflow-wrap: anywhere;
}

.wallpaper-profile-accent {
  color: #d8b65d;
  font-weight: 700;
  margin: 0 0 8px;
}

.wallpaper-profile-meta {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.wallpaper-profile-meta div {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
}

.wallpaper-profile-meta dd {
  color: #fff;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.wallpaper-profile-help {
  margin-top: 26px;
  padding: 20px;
}

.wallpaper-profile-help h2 {
  color: #ffe8a8;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.wallpaper-profile-help p {
  color: rgba(255, 255, 255, 0.78);
}

.wallpaper-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
}

.wallpaper-pagination a,
.wallpaper-pagination span {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(216, 182, 93, 0.45);
  border-radius: 8px;
  color: #fff7dc;
  display: inline-flex;
  min-height: 38px;
  min-width: 38px;
  justify-content: center;
  padding: 6px 11px;
  text-decoration: none;
}

.wallpaper-pagination .is-active {
  background: #d8b65d;
  color: #211531;
  font-weight: 800;
}

@media (max-width: 991px) {
  .wallpaper-hero__inner {
    grid-template-columns: 1fr;
  }

  .wallpaper-logo {
    max-width: 320px;
  }

  .wallpaper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wallpaper-hero {
    padding-top: 28px;
  }

  .wallpaper-filter {
    grid-template-columns: 1fr;
  }

  .wallpaper-grid,
  .wallpaper-detail__card {
    grid-template-columns: 1fr;
  }

  .wallpaper-profile-toolbar,
  .wallpaper-profile-search,
  .wallpaper-profile-search:nth-child(2),
  .wallpaper-profile-summary,
  .wallpaper-profile-card,
  .wallpaper-profile-meta {
    grid-template-columns: 1fr;
  }

  .wallpaper-profile-card__image {
    margin: 0 auto;
    max-width: 260px;
    width: 100%;
  }

  .wallpaper-discount__row {
    grid-template-columns: 1fr;
  }

  .wallpaper-row-card {
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 10px;
  }

  .wallpaper-panel {
    padding: 14px;
  }
}
