/* VOLNEXO: cool brand surfaces, coral commerce actions.
   Scoped to the storefront, product view and basket; campaign artwork stays independent. */
:root {
  --brand-v5-page: #fbfaff;
  --brand-v5-surface: #f0edf8;
  --brand-v5-line: #e1dced;
  --brand-v5-muted: #6c647d;
  --brand-v5-commerce: #cf3048;
  --brand-v5-commerce-hover: #b9253d;
  --brand-v5-commerce-ink: #b4253b;
  --brand-v5-commerce-soft: #fff0f2;
  --brand-v5-commerce-line: #efc7cf;
}

body {
  background: var(--brand-v5-page);
  font-size: 1rem;
}

/* A distinct, quiet header behind the search field and the red basket. */
.announcement {
  background: #eae5f5;
  color: #554b6c;
  border-bottom: 1px solid #e1daee;
}

.announcement-divider {
  background: #cbc2df;
}

.site-header {
  background: linear-gradient(115deg, #f0ebf9 0%, #f6f3fc 48%, #eeeff9 100%);
}

.site-header .header-main {
  gap: 32px;
}

.site-header .search-form {
  height: 54px;
  padding: 4px 5px 4px 16px;
  border: 1px solid #d8d0e8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 12px #33265406;
  transition: border-color .18s, box-shadow .18s;
}

.site-header .search-form:focus-within {
  border-color: #7770ca;
  box-shadow: 0 0 0 3px #5c55b614, 0 3px 12px #33265406;
}

.site-header .search-form > .icon {
  color: #776b8e;
}

.site-header .search-form input {
  font-size: 1rem;
}

.site-header .search-form input::placeholder {
  color: #776f84;
}

.site-header .search-form .icon-btn {
  width: 44px;
  height: 44px;
  padding: 12px;
  flex: none;
}

.site-header .search-submit {
  min-width: 78px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 9px;
  background: #ebe6f6;
  color: #44335f;
  font-size: .875rem;
  font-weight: 600;
  flex: none;
}

.site-header .search-submit:hover {
  background: #dfd7f0;
  color: #35264d;
}

.site-header .header-actions {
  gap: 14px;
}

.site-header .header-action {
  min-width: 44px;
  min-height: 48px;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .875rem;
  transition: background .18s, color .18s, box-shadow .18s;
}

.site-header #wishlistBtn:hover {
  background: #e8e2f4;
  color: #5543a2;
}

.site-header #wishlistBtn[aria-pressed="true"] {
  background: var(--brand-v5-commerce-soft);
  color: var(--brand-v5-commerce-ink);
}

.site-header .wishlist-count {
  top: 1px;
  right: 0;
  min-width: 20px;
  height: 20px;
  padding-inline: 4px;
  font-size: .75rem;
}

.site-header #cartBtn {
  min-height: 50px;
  gap: 9px;
  padding: 11px 16px;
  background: var(--brand-v5-commerce);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 5px 14px #9a213820;
}

.site-header #cartBtn:hover {
  background: var(--brand-v5-commerce-hover);
  color: #fff;
  box-shadow: 0 6px 17px #9a21382a;
}

.site-header #cartBtn .action-label {
  display: inline;
}

.site-header #cartBtn .cart-count {
  width: auto;
  min-width: 24px;
  height: 24px;
  padding-inline: 6px;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-v5-commerce-ink);
  font-size: .75rem;
  line-height: 1;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  flex: none;
}

.site-header .menu-toggle {
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid #ddd5eb;
  border-radius: 10px;
  background: #ffffff99;
  color: #40354e;
}

.site-header .menu-toggle:hover,
.site-header .menu-toggle[aria-expanded="true"] {
  background: #e6dff2;
}

.site-header .nav-border {
  background: #ffffff5c;
  border-top-color: #e3dced;
  border-bottom-color: #dbd4e8;
}

.site-header .main-nav {
  height: 60px;
  gap: 12px;
}

.site-header .main-nav button,
.site-header .nav-journal {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #534b62;
  font-size: .875rem;
  flex: none;
}

.site-header .main-nav .nav-all {
  padding-inline: 14px;
  border-right: 0;
  background: #e9e3f4;
  color: #403253;
}

.site-header .main-nav button:hover,
.site-header .nav-journal:hover {
  background: #eae4f5;
  color: #4c3a85;
}

.site-header .main-nav button.is-active {
  background: var(--brand-v5-commerce-soft);
  color: var(--brand-v5-commerce-ink);
  box-shadow: inset 0 0 0 1px var(--brand-v5-commerce-line);
}

/* Soft surfaces give the catalogue and editorial blocks their own rhythm. */
.category-photo {
  background: #efebf7;
  border: 1px solid #e7e1f0;
  border-radius: 12px;
}

.category-tile:hover .category-photo {
  background: #e7e0f2;
}

.category-tile.is-active .category-photo {
  background: var(--brand-v5-commerce-soft);
  border-color: var(--brand-v5-commerce-line);
  box-shadow: inset 0 0 0 2px var(--brand-v5-commerce);
}

.category-tile.is-active .category-label-text {
  color: var(--brand-v5-commerce-ink);
}

.category-label-text,
.categories-section .text-link {
  font-size: .875rem;
}

.categories-section .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.discovery-card,
.discovery-card:nth-child(2) {
  background: #edeaf7;
  border: 1px solid #e2dced;
}

.discovery-copy .btn,
.editorial-copy .btn,
.second-copy .btn {
  min-height: 44px;
  font-size: .875rem;
}

.catalog-section {
  background: #f0eef7;
  border-block: 1px solid #e3deee;
}

.catalog-tab {
  min-height: 44px;
  color: #696275;
  font-size: .875rem;
}

.catalog-tab[aria-pressed="true"] {
  color: var(--brand-v5-commerce-ink);
  border-bottom-color: var(--brand-v5-commerce);
}

.catalog-tab:hover {
  color: var(--brand-v5-commerce-ink);
}

.filter-toggle,
.select-wrap select,
.filter-panel select {
  min-height: 44px;
  border-color: #d9d2e5;
  border-radius: 8px;
  font-size: .875rem;
}

.select-wrap > .icon {
  top: 15px;
}

.filter-toggle:hover,
.filter-toggle[aria-expanded="true"] {
  background: var(--brand-v5-commerce-soft);
  color: var(--brand-v5-commerce-ink);
  border-color: var(--brand-v5-commerce-line);
}

.filter-panel {
  border-color: #ded6eb;
  border-radius: 12px;
  box-shadow: 0 4px 18px #37285605;
}

.filter-panel label,
.filter-panel > .text-button {
  font-size: .875rem;
}

.filter-panel > .text-button,
.price-filter input {
  min-height: 44px;
}

.price-filter input {
  accent-color: var(--brand-v5-commerce);
}

.filter-chip {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--brand-v5-commerce-line);
  border-radius: 8px;
  background: var(--brand-v5-commerce-soft);
  color: var(--brand-v5-commerce-ink);
  font-size: .75rem;
}

.product-card {
  border-color: #e5dfed;
  box-shadow: 0 2px 8px #2f204205;
}

.product-card:hover {
  border-color: #cec2e1;
  box-shadow: 0 13px 30px #3523470d;
}

.product-card .product-badge:not(.is-used) {
  background: #eeebf7;
  color: #554b75;
}

.product-card .product-badge {
  max-width: calc(100% - 76px);
  font-size: .75rem;
}

.product-card .favorite-btn {
  width: 44px;
  height: 44px;
  right: 8px;
  top: 8px;
  border: 1px solid #eee8f4;
}

.product-card .favorite-btn:hover,
.product-card .favorite-btn[aria-pressed="true"],
.product-dialog .detail-favorite[aria-pressed="true"] {
  background: var(--brand-v5-commerce-soft);
  border-color: var(--brand-v5-commerce-line);
  color: var(--brand-v5-commerce-ink);
}

.product-card .add-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 9px;
}

.product-card .add-btn,
.product-dialog .detail-add,
.cart-dialog #cartSummary > .btn {
  background: var(--brand-v5-commerce);
  color: #fff;
  box-shadow: 0 3px 9px #9a213815;
}

.product-card .add-btn:hover:not(:disabled),
.product-dialog .detail-add:hover:not(:disabled),
.cart-dialog #cartSummary > .btn:hover:not(:disabled) {
  background: var(--brand-v5-commerce-hover);
  color: #fff;
}

.product-dialog .detail-add,
.product-dialog .detail-favorite,
.cart-dialog #cartSummary > .btn,
.pending-details {
  min-height: 44px;
  font-size: .875rem;
}

.pending-details {
  background: #f3f0fa;
  border-color: #ded5ed;
  color: #554b75;
}

.pending-details:hover {
  background: #e9e2f5;
  border-color: #bdb0d8;
  color: #403253;
}

.category-count,
.product-meta,
.product-subtitle,
.card-specs dt,
.results-row,
.demo-note {
  color: #70697d;
  font-size: .75rem;
}

.product-meta .condition-label:not(.is-used) {
  color: #686275;
}

.editorial-computing {
  background: #eeebf7;
}

.second-life {
  background: #e8e6f2;
}

.journal-card {
  border-color: #e2dced;
}

.journal-card:hover {
  box-shadow: 0 13px 30px #3523470d;
}

.journal-photo {
  background: var(--brand-v5-surface);
}

.product-dialog .detail-topline,
.cart-dialog .drawer-head {
  background: #f4f0fa;
  border-bottom-color: var(--brand-v5-line);
}

.product-dialog .detail-tablist button {
  font-size: .875rem;
}

.product-dialog .detail-tablist button[aria-selected="true"] {
  border-bottom-color: var(--brand-v5-commerce);
  color: var(--brand-v5-commerce-ink);
}

.product-dialog .gallery-thumb[aria-pressed="true"] {
  border-color: var(--brand-v5-commerce);
  box-shadow: 0 0 0 1px var(--brand-v5-commerce);
}

.product-dialog .modal-close {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

@media (max-width: 980px) {
  .site-header .header-main {
    gap: 20px;
  }
}

@media (max-width: 660px) {
  .site-header .header-main {
    gap: 0;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .site-header .header-actions {
    gap: 8px;
  }

  .site-header .header-action {
    padding: 10px;
  }

  .site-header #cartBtn {
    min-height: 48px;
    padding: 10px;
    gap: 7px;
  }

  /* Keep the basket's accessible name when the visible label is compacted. */
  .site-header #cartBtn .action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .site-header #cartBtn .cart-count {
    min-width: 22px;
    height: 22px;
    padding-inline: 5px;
    border-radius: 7px;
  }

  .site-header .search-form {
    margin-top: 14px;
    height: 54px;
    gap: 7px;
    padding-left: 13px;
  }

  .site-header .search-submit {
    min-width: 72px;
    padding-inline: 11px;
  }

  .site-header .main-nav {
    height: 56px;
    gap: 8px;
  }

  .site-header .main-nav.is-open {
    height: auto;
    gap: 8px;
    padding-block: 12px;
  }

  .site-header .main-nav.is-open button,
  .site-header .main-nav.is-open .nav-journal {
    min-height: 44px;
  }

  .filter-panel {
    border-radius: 10px;
  }

  .product-card .add-btn {
    border-radius: 8px;
  }

  .category-photo {
    border-radius: 10px;
  }
}

@media (max-width: 380px) {
  .site-header .header-main > .brand {
    font-size: 1.5rem;
    gap: 7px;
    letter-spacing: -1px;
  }

  .site-header .header-actions {
    gap: 4px;
  }

  .site-header #cartBtn {
    padding-inline: 7px;
    gap: 5px;
  }

  .product-card .add-btn {
    width: 100%;
  }

  .product-card .add-btn > span {
    font-size: .875rem;
  }
}
