/* PRICE POINT — SHARED CYBER THEME */

:root {
  color-scheme: dark;

  --primary: #8aff60;
  --primary-hover: #adff8e;
  --primary-light: #173526;

  --blue: #65cfff;
  --blue-dark: #12334b;
  --blue-light: #112a3c;

  --text: #effff7;
  --muted: #acc2b9;
  --background: #060d0c;
  --surface: #0e1b19;
  --border: #2a4540;
  --shadow: 0 18px 48px rgb(0 0 0 / 25%);
}

body {
  color: var(--text);
  background-color: var(--background);
  background-image:
    radial-gradient(
      ellipse at top right,
      rgb(38 145 255 / 9%),
      transparent 50%
    ),
    linear-gradient(
      rgb(138 255 96 / 2%) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgb(101 207 255 / 2%) 1px,
      transparent 1px
    );

  background-size: auto, 56px 56px, 56px 56px;
}

.site-header {
  background: #08120e;
  border-top: 3px solid var(--primary);
  border-bottom-color: var(--border);
}

.logo,
.saved-link {
  color: var(--text);
}

.logo span {
  color: var(--primary);
}

.saved-count {
  color: var(--primary);
  background: var(--primary-light);
}

.main-nav {
  border-color: var(--border);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* SEARCH AND FORM CONTROLS */

.search-form input,
.form-field input,
.form-field select {
  color: var(--text);
  background: #091810;
  border-color: #496451;
}

input::placeholder {
  color: var(--muted);
}

.search-form button,
.button-primary,
.retailer-button {
  color: #071208;
  background: var(--primary);
  border-color: var(--primary);
}

.search-form button:hover,
.button-primary:hover,
.retailer-button:hover {
  color: #071208;
  background: var(--primary-hover);
}

.button-secondary {
  color: var(--blue);
  background: #10242d;
  border-color: #36596a;
}

.button-secondary:hover {
  color: var(--text);
  background: #193b4a;
  border-color: var(--blue);
}

.search-form:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 10px;
}

/* BROWSE LAYOUT */

.section-soft {
  background: rgb(8 19 14 / 75%);
}

.browse-title {
  color: var(--text);
}

.filter-panel {
  background: #101e17;
  border-color: #345144;
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow);
}

.filter-error {
  color: #ffb5b5;
}

.demo-notice {
  color: #d5e9ff;
  background: #102637;
  border-color: #365b73;
}

/* PRODUCT CARDS */

.product-card {
  color: var(--text);
  background: #0e1a16;
  border-color: var(--border);
}

.product-card:hover {
  box-shadow: 0 14px 32px rgb(0 0 0 / 30%);
}

.product-visual {
  background:
    radial-gradient(
      circle at center,
      #214333,
      transparent 75%
    ),
    #0b1612;
}

.product-title a {
  color: var(--text);
}

.product-title a:hover {
  color: var(--primary);
}

.demo-badge {
  color: #d5e9ff;
  background: #17364d;
}

.offer-row {
  background: #09130f;
  border-color: var(--border);
}

.offer-price {
  color: var(--text);
}

.price-label {
  color: #b8ffba;
  background: #193c25;
}

.retailer-button:disabled {
  color: #b8c8c0;
  background: #263930;
  border-color: transparent;
  cursor: default;
}

.compare-link,
.collection-link,
.section-link {
  color: var(--blue);
}

.save-button {
  color: var(--text);
  background: #14271d;
  border-color: #3c5948;
}

.save-button:hover,
.save-button[aria-pressed="true"] {
  color: var(--primary);
  background: #1b3825;
  border-color: var(--primary);
}

.empty-state {
  background: #0d1914;
  border-color: #3a5747;
}

/* FOOTER */

.site-footer {
  background: #050b08;
}

.site-footer .logo {
  color: var(--text);
}

.site-footer .logo span {
  color: var(--primary);
}

.footer-bottom {
  border-color: var(--border);
}

/* KEYBOARD ACCESS AND MOTION */

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover,
  .button:hover {
    transform: none;
  }
}
/* PRODUCT DETAILS */

#product-loading {
  margin-top: 24px;
  color: var(--muted);
}

#product-demo-notice {
  margin-top: 24px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: 40px;
  margin-top: 32px;
}

.detail-visual {
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 32px;
  background:
    radial-gradient(circle, #214333, transparent 75%),
    #0b1612;
  border: 1px solid var(--border);
  border-radius: 22px;
}

.detail-visual .product-placeholder {
  font-size: 7rem;
}

.detail-visual img {
  width: 100%;
  height: 280px;
  object-fit: contain;
}

.detail-title {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  overflow-wrap: anywhere;
}

.detail-price-box {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  padding: 20px;
  background: #102119;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.detail-price-box > span {
  color: var(--muted);
  font-size: .85rem;
}

.detail-price-box strong {
  color: var(--primary);
  font-size: 1.8rem;
}

.detail-price-box p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.detail-section {
  margin-top: 52px;
}

.comparison-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.comparison-table {
  width: 100%;
  min-width: 950px;
  border-collapse: collapse;
  text-align: left;
  background: #0d1914;
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  color: var(--blue);
  font-size: .8rem;
  background: #10221b;
}

.comparison-table td {
  font-size: .85rem;
}

.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table .retailer-button {
  min-width: 130px;
}

.offer-seller {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .75rem;
}

.comparison-table .price-label {
  display: block;
  width: fit-content;
  margin-top: 8px;
}

.specification-list {
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.specification-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  padding: 16px 20px;
  background: #0d1914;
}

.specification-row + .specification-row {
  border-top: 1px solid var(--border);
}

.specification-row dt {
  color: var(--muted);
}

.specification-row dd {
  margin: 0;
  overflow-wrap: anywhere;
}

#product-error .button {
  margin-top: 20px;
}

@media (max-width: 700px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-visual {
    min-height: 240px;
  }

  .detail-visual img {
    height: 210px;
  }

  .specification-row {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
}
/* SAVED PRODUCTS */

.saved-grid {
  margin-top: 24px;
}

.saved-price {
  display: block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 1.4rem;
}

.saved-grid .product-body > .button {
  display: flex;
  width: 100%;
  margin-top: 16px;
}

.saved-remove {
  width: 100%;
  margin-top: 12px;
}

#saved-empty,
#saved-error {
  margin-top: 24px;
}

#saved-empty .button {
  margin-top: 20px;
}

#saved-summary {
  color: var(--muted);
  font-size: .9rem;
}
/* COLLECTION DETAILS */

.collection-intro {
  margin-top: 28px;
  margin-bottom: 24px;
}

.collection-criteria {
  margin-top: 24px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.collection-criteria h2 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.collection-criteria p {
  color: var(--muted);
}

.collection-criteria p:last-child {
  margin-bottom: 0;
}

.collection-reason {
  padding: 12px;
  color: var(--text);
  font-size: .82rem;
  background: var(--blue-light);
  border-radius: 8px;
}

#collection-grid {
  margin-top: 24px;
}

#collection-count {
  color: var(--muted);
}

#collection-empty,
#collection-error {
  margin-top: 24px;
}

#collection-error .button {
  margin-top: 20px;
}
/* COLLECTIONS LISTING */

.collections-filter {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  align-items: end;
  gap: 18px;
  margin-block: 28px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

#all-collections-grid .collection-card {
  background: linear-gradient(145deg, #183044, #101c25);
  border-color: #385365;
}

.collection-card-title {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.4;
}

#collections-status {
  color: var(--muted);
  font-size: .9rem;
}

#all-collections-grid {
  margin-top: 22px;
}

@media (max-width: 700px) {
  .collections-filter {
    grid-template-columns: 1fr;
  }
}
/* DEALS PAGE */

.deals-intro {
  max-width: 820px;
}

.deals-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 28px;
}

.deals-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.deals-tab:hover {
  border-color: var(--blue);
}

.deals-tab[aria-current="page"] {
  color: #071208;
  background: var(--primary);
  border-color: var(--primary);
}

#deals-description {
  margin-top: 12px;
  margin-bottom: 0;
}

#deals-status {
  color: var(--muted);
  font-size: .9rem;
}

#deals-grid {
  margin-top: 22px;
}

#deals-empty,
#deals-error {
  margin-top: 24px;
}

#deals-empty .button {
  margin-top: 20px;
}

.deals-explainer {
  margin-top: 36px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 12px;
}

.deals-explainer h2 {
  font-size: 1.1rem;
}

.deals-explainer p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 500px) {
  .deals-tab {
    flex: 1;
    padding-inline: 12px;
    font-size: .8rem;
  }
}
/* BUYING GUIDE CARDS */

.guide-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 14px;
}

.guide-card-title {
  margin-bottom: 14px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.guide-card-title a {
  color: var(--text);
  text-decoration: none;
}

.guide-card-title a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.guide-excerpt {
  color: var(--muted);
  font-size: .9rem;
}

.guide-date {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .78rem;
}

.guide-card .collection-link {
  margin-top: auto;
}

#guides-status {
  color: var(--muted);
}

#all-guides-grid,
#guides-empty,
#guides-error {
  margin-top: 24px;
}
/* BUYING GUIDE ARTICLE */

.article-container {
  max-width: 860px;
}

.article-header {
  margin-top: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  max-width: 780px;
  line-height: 1.15;
}

.article-excerpt {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-meta {
  color: var(--muted);
  font-size: .82rem;
}

.article-section {
  margin-top: 34px;
}

.article-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}

.article-section p,
.article-section li {
  color: var(--muted);
  line-height: 1.9;
}

.article-section ul {
  padding-left: 24px;
}

.article-section li + li {
  margin-top: 10px;
}

.article-action {
  margin-top: 40px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.article-action h2 {
  font-size: 1.3rem;
}

.article-action p {
  color: var(--muted);
}

#guide-error {
  margin-top: 28px;
}

#guide-error .button {
  margin-top: 20px;
}
/* ABOUT PAGE */

.about-intro {
  max-width: 850px;
  padding-block: 20px;
}

.about-intro .button {
  margin-top: 12px;
}

.about-reading {
  max-width: 850px;
}

.about-reading > p,
.about-panel p,
.about-steps p {
  color: var(--muted);
  line-height: 1.85;
}

.about-steps {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  padding-left: 26px;
}

.about-steps li {
  padding-left: 10px;
}

.about-steps li::marker {
  color: var(--primary);
  font-weight: 700;
}

.about-steps h3 {
  margin-bottom: 10px;
}

.about-steps p {
  margin-bottom: 0;
}

.about-panel {
  margin-top: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.about-panel h3:not(:first-child) {
  margin-top: 28px;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .about-panel {
    padding: 20px;
  }
}
/* CONTACT PAGE */

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
  gap: 28px;
  margin-top: 30px;
}

.contact-panel {
  min-width: 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.contact-panel h2 {
  font-size: 1.4rem;
}

.contact-panel h3 {
  margin-top: 26px;
  font-size: 1rem;
}

.contact-panel > p {
  color: var(--muted);
}

#contact-form {
  margin-top: 22px;
}

#contact-fields {
  display: grid;
  gap: 20px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#contact-fields:disabled {
  opacity: .6;
}

#contact-fields:disabled button {
  cursor: not-allowed;
}

.form-field textarea {
  width: 100%;
  min-height: 150px;
  padding: 14px;
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  background: #091810;
  border: 1px solid #496451;
  border-radius: 9px;
  resize: vertical;
}

.form-field textarea::placeholder {
  color: var(--muted);
}

#contact-status {
  margin: 20px 0 0;
  color: var(--blue);
  font-size: .85rem;
}

#contact-status:empty {
  display: none;
}

@media (max-width: 750px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 22px;
  }
}
/* Product comparison: retailer-specific colours. */
#offers-table-body tr[data-retailer="jumia"] > td {
  background: #fff7ed;
  color: #252018;
  border-bottom: 1px solid #ead6bf;
}

#offers-table-body tr[data-retailer="kilimall"] > td {
  background: #fff2e7;
  color: #252018;
  border-bottom: 1px solid #e8cbb3;
}

#offers-table-body tr[data-retailer] > td {
  padding: 20px 16px;
  vertical-align: top;
}

#offers-table-body tr[data-retailer="jumia"] > td:first-child {
  border-left: 5px solid #f68b1e;
}

#offers-table-body tr[data-retailer="kilimall"] > td:first-child {
  border-left: 5px solid #ff6600;
}

/* Retailer name badges. */
#offers-table-body tr[data-retailer] > td:first-child > strong {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 7px;
  font-weight: 800;
}

#offers-table-body tr[data-retailer="jumia"] > td:first-child > strong {
  background: #f68b1e;
  color: #17110b;
}

#offers-table-body tr[data-retailer="kilimall"] > td:first-child > strong {
  background: #171717;
  color: #fff;
  border-bottom: 3px solid #ff6600;
}

#offers-table-body tr[data-retailer] .offer-seller {
  display: block;
  margin-top: 10px;
  color: #595047;
}

#offers-table-body tr[data-retailer] > td:nth-child(2) > strong {
  color: #171717;
  font-size: 20px;
}

#offers-table-body tr[data-retailer] .price-label {
  display: block;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 8px;
  background: #e3f2e7;
  color: #205c36;
  border-radius: 6px;
  font-size: 12px;
}

/* Affiliate buttons. */
#offers-table-body tr[data-retailer] .retailer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 9px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

#offers-table-body tr[data-retailer="jumia"] .retailer-button {
  background: #f68b1e;
  color: #17110b;
  border: 1px solid #b6600a;
}

#offers-table-body tr[data-retailer="kilimall"] .retailer-button {
  background: #171717;
  color: #fff;
  border: 1px solid #ff6600;
  box-shadow: inset 0 -3px #ff6600;
}

#offers-table-body tr[data-retailer] a.retailer-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

#offers-table-body tr[data-retailer] .retailer-button:focus-visible {
  outline: 3px solid #1749b5;
  outline-offset: 3px;
}

#offers-table-body tr[data-retailer] button:disabled {
  background: #e8dfd4;
  color: #62564a;
  border: 1px dashed #897969;
  box-shadow: none;
  cursor: not-allowed;
}