/* Catalogue and commerce. Checkout remains owned by Tebex.js. */
.interior-page {
  padding-block: 28px 20px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 30px;
  overflow-wrap: anywhere;
}
.breadcrumbs a:hover {
  color: var(--lavender);
}
.category-heading h1 {
  margin-top: 12px;
}
.category-heading .text-content {
  margin-top: 16px;
  max-width: 650px;
  font-size: 13px;
}
.catalogue-heading {
  display: flex;
  justify-content: space-between;
  padding-block: 28px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color 180ms,
    transform 180ms;
  min-width: 0;
}
.product-card:hover {
  border-color: #78618e;
  transform: translateY(-2px);
}
.product-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1.45;
  padding: 25px;
  background: #24232c;
  overflow: hidden;
}
.product-art::after {
  content: "";
  position: absolute;
  height: 1px;
  bottom: 15px;
  inset-inline: 20px;
  background: #66537844;
}
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms;
}
.product-card:hover .product-art img {
  transform: scale(1.045);
}
.item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #a385c0;
  gap: 18px;
  width: 100%;
  min-height: 120px;
}
.item-placeholder .icon {
  width: 66px;
  height: 66px;
  stroke-width: 0.6px;
}
.item-placeholder span {
  font-size: 7px;
  letter-spacing: 0.24em;
  color: #b5a3c7;
}
.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-info .eyebrow {
  font-size: 8px;
  margin-bottom: 9px;
}
.product-info h3 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.product-info h3 a:hover {
  color: var(--lavender);
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  line-height: 1.4;
}
.price strong {
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price del {
  color: var(--muted);
  font-size: 13px;
}
.currency {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.product-details {
  margin-top: 18px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  justify-content: space-between;
  font-size: 12px;
}
.product-details .icon {
  width: 16px;
}
.availability {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.sale-label,
.featured-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #4a2a20;
  border: 1px solid #955334;
  padding: 4px 8px;
  color: #ffbc9f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.featured-label {
  color: #d9bfff;
  background: #322443;
  border-color: #654589;
}
.inline-label {
  display: inline-block;
  position: static;
  margin-top: 18px;
}
.product-list {
  grid-template-columns: 1fr;
}
.product-list .product-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}
.product-list .product-art {
  height: 100%;
  min-height: 180px;
  aspect-ratio: auto;
}
.empty-state {
  padding: 42px 30px;
  background: var(--surface);
  border: 1px dashed var(--line);
  grid-column: 1/-1;
}
.empty-state h2,
.empty-state h3 {
  font-size: 23px;
}
.empty-state p {
  margin-block: 14px 22px;
}
.sidebar-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.sidebar-modules .featured-module {
  grid-column: 1/-1;
}
.package-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 50px;
}
.package-content {
  min-width: 0;
}
.gallery-panels {
  background: #1b1923;
  border: 1px solid var(--line);
}
.gallery-slide {
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 35px;
  border-bottom: 1px solid var(--line);
}
.gallery-slide:last-child {
  border-bottom: 0;
}
.gallery-slide img {
  max-height: 410px;
  object-fit: contain;
}
.gallery-slide iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.gallery-navigation {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.gallery-navigation a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 12px;
}
.gallery-navigation a[aria-current] {
  border-color: var(--purple);
  color: var(--lavender);
  background: #272032;
}
.package-summary {
  position: sticky;
  top: 30px;
  align-self: start;
  padding: 28px 0;
  border-top: 2px solid var(--purple);
}
.package-summary h1 {
  font-size: 34px;
  margin-top: 14px;
}
.package-summary .price {
  padding-block: 12px 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.package-summary .price strong {
  font-size: 32px;
}
.purchase-actions {
  display: grid;
  gap: 10px;
}
.purchase-actions .btn-primary {
  background: var(--orange);
  color: #170b05;
}
.purchase-actions .btn-primary:hover {
  background: #ff7949;
}
.purchase-help {
  font-size: 13px;
  margin-top: 12px;
  color: var(--muted);
}
.purchase-note {
  display: flex;
  gap: 12px;
  padding-block: 24px;
  font-size: 13px;
  color: var(--muted);
}
.purchase-note .icon {
  color: var(--lavender);
  width: 16px;
}
.package-summary > .text-link {
  font-size: 12px;
}
.package-description {
  padding-block: 36px;
}
.package-description h2 {
  margin-block: 8px 24px;
}
.gift-section {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}
.gift-section summary {
  cursor: pointer;
  color: var(--lavender);
  min-height: 44px;
  font-size: 13px;
}
.gift-section label {
  margin-top: 10px;
}
.gift-section .btn {
  margin-top: 12px;
}
.basket-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(480px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  color: var(--text);
  background: #19171f;
  border: 0;
  border-left: 1px solid #5c466f;
  padding: 30px;
  overflow-y: auto;
}
.basket-dialog::backdrop {
  background: #070609b3;
}
body:has(.basket-dialog[open]) {
  overflow: hidden;
}
.basket-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}
.basket-dialog-header h2 {
  font-size: 27px;
  margin-top: 8px;
}
.basket-dialog-header h2 span {
  color: var(--muted);
  font-size: 18px;
}
.icon-button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  background: var(--secondary);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 3px;
}
.basket-item {
  display: flex;
  align-items: start;
  gap: 15px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.basket-item-icon {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 52px;
  background: #282131;
  color: var(--lavender);
}
.basket-item-info {
  flex: 1;
  min-width: 0;
}
.basket-item-info > a:first-child {
  display: block;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.basket-item-info > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.remove-item {
  display: inline-block;
  min-height: 30px;
  padding-top: 8px;
  color: #ffae92;
  font-size: 12px;
  text-decoration: underline;
}
.basket-item-price {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}
.basket-item-price small {
  font-size: 11px;
  color: var(--muted);
}
.basket-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}
.basket-total > span {
  color: var(--muted);
  font-size: 13px;
}
.basket-total strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}
.basket-total strong small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.basket-dialog > .btn {
  margin-top: 22px;
}
.continue-shopping {
  display: block;
  text-align: center;
  margin: 20px auto 0;
  min-height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
}
.empty-basket {
  text-align: center;
  padding: 65px 0 25px;
}
.empty-basket > .icon {
  width: 42px;
  height: 42px;
  color: var(--lavender);
  margin-bottom: 24px;
}
.empty-basket h3 {
  font-size: 25px;
}
.empty-basket p {
  margin: 18px auto 25px;
  font-size: 13px;
  max-width: 310px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 50px;
}
.checkout-items h1 {
  margin-block: 12px 28px;
}
.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--purple);
  padding: 28px;
  align-self: start;
}
.checkout-summary h2 {
  font-size: 22px;
}
.checkout-summary > p {
  margin-block: 18px;
  font-size: 13px;
}
.checkout-summary .btn {
  margin-top: 12px;
}
.checkout-status {
  color: #ffbc9f;
}
.checkout-status:empty {
  margin: 0;
}
.checkout-line {
  padding: 24px 0;
  border-block: 1px solid var(--line);
  margin-top: -1px;
}
.checkout-line-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.checkout-line h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.checkout-line .line-price {
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
}
.checkout-line-controls {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.checkout-line-controls label {
  font-size: 12px;
}
.checkout-line-controls input {
  width: 84px !important;
}
.checkout-line-controls .btn {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 12px;
}
.checkout-line-controls .remove-item {
  min-height: 44px;
  padding: 12px;
}
.package-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-top: 10px;
  color: var(--muted);
}
.coupon-section {
  margin-top: 30px;
}
.coupon-section h2 {
  font-size: 19px;
  margin-bottom: 18px;
}
.coupon-section .btn {
  white-space: nowrap;
}
.coupon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  margin-top: 15px;
}
.coupon-row a {
  text-decoration: underline;
  color: #ffb295;
  padding: 10px;
}
.cms-page {
  max-width: 800px;
  margin-inline: auto;
}
.cms-page > h1 {
  margin-bottom: 30px;
}
.tier-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--purple);
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tier-card h2 {
  font-size: 22px;
  margin-block: 12px 18px;
}
.tier-card .text-content {
  font-size: 13px;
}
.tier-actions {
  margin-top: auto;
  padding-top: 24px;
}
.tier-actions .btn {
  margin-top: 18px;
}
.tier-grid {
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.payment-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.payment-row:last-child {
  border-bottom: 0;
}
.payment-row > div {
  flex: 1;
  min-width: 0;
}
.payment-row img {
  flex-shrink: 0;
  border-radius: 2px;
}
.payment-row div > span,
.payment-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.payment-price {
  flex-shrink: 0;
  font-size: 13px;
}
.account-link {
  min-width: 44px;
}

.product-buyline {
  margin-top: auto;
  padding-top: 6px;
}
.product-no-art .product-art {
  background: #201f28;
}
.product-no-art .item-placeholder {
  min-height: 80px;
}
.product-no-art .item-placeholder .icon {
  width: 48px;
  height: 48px;
}
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .package-layout,
  .checkout-layout {
    gap: 30px;
  }
  .package-summary h1 {
    font-size: 30px;
  }
}
@media (max-width: 820px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-info {
    padding: 16px;
  }
  .product-info h3 {
    font-size: 16px;
  }
  .product-art {
    padding: 20px;
  }
  .package-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
  }
  .gallery-slide {
    min-height: 280px;
    padding: 22px;
  }
  .package-summary h1 {
    font-size: 25px;
  }
  .package-summary {
    padding-block: 22px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    max-width: none;
  }
}
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-info {
    padding: 14px;
  }
  .product-info h3 {
    font-size: 15px;
  }
  .price strong {
    font-size: 20px;
  }
  .product-art {
    aspect-ratio: 1.12;
    padding: 20px;
  }
  .product-details {
    font-size: 12px;
    padding: 10px;
    gap: 6px;
  }
  .product-details .icon {
    width: 14px;
  }
  .sale-label,
  .featured-label {
    top: 9px;
    left: 9px;
    font-size: 11px;
  }
  .product-list {
    grid-template-columns: 1fr;
  }
  .product-list .product-card {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .product-list .product-art {
    min-height: 180px;
    padding: 12px;
  }
  .product-list .sale-label {
    font-size: 10px;
    inset-inline: 5px;
    padding-inline: 4px;
  }
  .sidebar-modules {
    grid-template-columns: 1fr;
  }
  .package-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .package-summary {
    position: static;
    order: -1;
    width: 100%;
    padding-top: 22px;
  }
  .package-summary h1 {
    font-size: 32px;
  }
  .package-summary .price {
    padding-block: 5px 20px;
    margin-bottom: 20px;
  }
  .purchase-note {
    padding-block: 20px;
  }
  .package-gallery {
    margin-top: 26px;
  }
  .gallery-slide {
    min-height: 290px;
    padding: 26px;
  }
  .package-description {
    padding-block: 28px;
  }
  .basket-dialog {
    padding: 24px 20px;
  }
  .basket-item {
    gap: 12px;
  }
  .basket-item-icon {
    min-width: 36px;
    height: 45px;
  }
  .basket-item-price {
    font-size: 12px;
  }
  .basket-item-price small {
    display: block;
  }
  .checkout-line-header {
    gap: 12px;
  }
  .checkout-line h2 {
    font-size: 16px;
  }
  .checkout-line .line-price {
    font-size: 13px;
  }
  .checkout-summary {
    padding: 24px;
  }
  .tier-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 374px) {
  .product-grid:not(.product-list) {
    grid-template-columns: 1fr;
  }
  .product-art {
    aspect-ratio: 1.5;
  }
  .product-info h3 {
    font-size: 18px;
  }
}
