/* Marketplace pages */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.marketplace-storefront {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 250, 238, 0.9) 0%, rgba(255, 245, 220, 0.72) 54%, rgba(56, 34, 10, 0.18) 100%),
    url("../img/geobee-market-product-768w.webp") center / cover no-repeat;
  box-shadow: 0 22px 54px rgba(85, 55, 20, 0.12);
}

.marketplace-storefront::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg width='112' height='96' viewBox='0 0 112 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c98a19' stroke-width='2' stroke-opacity='.13'%3E%3Cpath d='M28 2 54 17v30L28 62 2 47V17z'/%3E%3Cpath d='M84 2 110 17v30L84 62 58 47V17z'/%3E%3Cpath d='M56 49 82 64v30L56 109 30 94V64z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 88% 18%, rgba(19, 138, 69, 0.15), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 197, 60, 0.1));
  opacity: 0.9;
}

.marketplace-storefront > * {
  position: relative;
  z-index: 1;
}

.marketplace-storefront__content {
  display: grid;
  align-content: center;
  gap: 14px;
}

.marketplace-storefront .landing-eyebrow,
.marketplace-catalog-head .landing-eyebrow {
  background: linear-gradient(135deg, #f6b21a, #d98900);
  color: #3b291a;
}

.marketplace-storefront .landing-eyebrow i,
.marketplace-catalog-head .landing-eyebrow i {
  color: #3b291a;
}

.marketplace-storefront h1,
.marketplace-storefront p {
  margin: 0;
}

.marketplace-storefront h1 {
  max-width: 780px;
  color: #2f2116;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.marketplace-storefront p {
  max-width: 720px;
  color: #5f5143;
  font-size: 17px;
  line-height: 1.65;
}

.marketplace-storefront__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketplace-storefront__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
}

.marketplace-storefront__panel div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(138, 86, 0, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.marketplace-storefront__panel strong,
.marketplace-storefront__panel span {
  display: block;
}

.marketplace-storefront__panel strong {
  color: #3b291a;
  font-size: 34px;
  line-height: 1;
}

.marketplace-storefront__panel span {
  margin-top: 8px;
  color: #776554;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
}

.marketplace-category-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, max-content);
  gap: 10px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-color: #c68a2a #fff3cf;
}

.marketplace-category-chip {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #3b291a;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(85, 55, 20, 0.07);
}

.marketplace-category-chip i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff3cf;
  color: #8a5600;
}

.marketplace-category-chip span {
  min-width: 0;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.marketplace-category-chip small {
  align-self: center;
  justify-self: end;
  color: #776554;
  font-weight: 900;
  white-space: nowrap;
}

.marketplace-category-chip:hover,
.marketplace-category-chip:focus-visible,
.marketplace-category-chip.is-active {
  border-color: rgba(19, 138, 69, 0.28);
  background: linear-gradient(135deg, #ffffff, #f1fff6);
  outline: none;
}

.marketplace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(85, 55, 20, 0.07);
}

.marketplace-filters {
  align-items: center;
  margin: 0;
}

main > .marketplace-filters {
  margin: 0 0 22px;
}

.page-product-list .product-grid {
  margin-bottom: 24px;
}

.page-product-list .product-grid:last-child {
  margin-bottom: 0;
}

.page-product-list .product-grid + .panel,
.page-product-list .marketplace-inbox-panel + .pagination {
  margin-top: 24px;
}

.marketplace-page-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #776554;
  font-weight: 800;
  white-space: nowrap;
}

.marketplace-page-size label {
  font-size: 13px;
  margin: 0;
}

.marketplace-page-size select {
  width: auto;
  min-width: 70px;
  min-height: 40px;
  padding: 7px 10px;
  background: #fff;
}

.marketplace-filters .button {
  min-height: 40px;
}

.marketplace-mini-form {
  display: grid;
  gap: 10px;
  width: 100%;
}

.marketplace-mini-form p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.marketplace-mini-form input,
.marketplace-mini-form select,
.marketplace-mini-form textarea {
  width: 100%;
}

.marketplace-contact-card,
.marketplace-report-card {
  align-items: stretch;
  text-align: left;
}

.marketplace-contact-card {
  background:
    linear-gradient(135deg, rgba(255, 249, 235, 0.96), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 14% 0%, rgba(246, 178, 26, 0.18), transparent 34%);
}

.marketplace-report-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(252, 244, 232, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(166, 98, 48, 0.12), transparent 34%);
}

.marketplace-metric-strip,
.marketplace-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketplace-metric-strip {
  margin: 12px 0 4px;
}

.marketplace-metric-strip span,
.marketplace-card-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(217, 137, 0, 0.22);
  background: rgba(255, 248, 230, 0.78);
  color: #4a3428;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.marketplace-metric-strip span {
  padding: 7px 10px;
}

.marketplace-card-metrics span {
  padding: 5px 8px;
}

.marketplace-metric-strip strong {
  color: #2f2116;
}

.marketplace-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.marketplace-dashboard-stats div,
.marketplace-inquiry-row,
.marketplace-report-row {
  padding: 16px;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(85, 55, 20, 0.06);
}

.marketplace-dashboard-stats strong,
.marketplace-dashboard-stats span,
.marketplace-inquiry-row strong,
.marketplace-inquiry-row span {
  display: block;
}

.marketplace-dashboard-stats div {
  display: grid;
  gap: 5px;
}

.marketplace-dashboard-stats strong {
  color: #3b291a;
  font-size: 28px;
}

.marketplace-dashboard-stats span,
.marketplace-inquiry-row span {
  color: #776554;
  font-weight: 800;
}

.marketplace-dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.marketplace-dashboard-tabs .button.is-active {
  border-color: rgba(217, 137, 0, 0.45);
  background: linear-gradient(135deg, #f6b21a, #d98900);
  color: #3b291a;
}

.marketplace-inquiry-row + .marketplace-inquiry-row,
.marketplace-report-row + .marketplace-report-row {
  margin-top: 12px;
}

.marketplace-inquiry-row,
.marketplace-report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.marketplace-inquiry-row > div,
.marketplace-report-row > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.marketplace-inquiry-row p,
.marketplace-report-row p {
  margin: 0;
  color: #4a3428;
  line-height: 1.55;
}

.marketplace-inquiry-row.is-unread {
  border-color: rgba(217, 137, 0, 0.36);
  background: linear-gradient(135deg, rgba(255, 248, 230, 0.96), rgba(255, 255, 255, 0.94));
}

.marketplace-report-row.is-open {
  border-color: rgba(180, 80, 48, 0.28);
  background: linear-gradient(135deg, rgba(255, 246, 238, 0.96), rgba(255, 255, 255, 0.94));
}

.marketplace-report-row span,
.marketplace-report-row small,
.marketplace-inquiry-row small {
  display: block;
  color: #776554;
  font-weight: 800;
}

.marketplace-inquiry-row form,
.marketplace-report-row form {
  flex: 0 0 auto;
}

.marketplace-report-row__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.marketplace-inbox-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.marketplace-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.marketplace-section-head h2,
.marketplace-section-head p {
  margin: 0;
}

.marketplace-section-head p {
  margin-top: 6px;
  color: #776554;
  font-weight: 800;
  line-height: 1.5;
}

.marketplace-catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin: 10px 0 20px;
}

.marketplace-catalog-head h2,
.marketplace-catalog-head p {
  margin: 0;
}

.marketplace-catalog-head h2 {
  color: #2f2116;
  font-size: clamp(26px, 4vw, 38px);
}

.marketplace-catalog-head p {
  color: #776554;
  font-weight: 850;
}

.marketplace-action-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 12px 28px rgba(85, 55, 20, 0.08);
}

.marketplace-action-panel span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b291a;
  font-weight: 900;
}

.marketplace-action-panel p {
  margin: 8px 0 0;
  color: #776554;
  font-size: 13px;
  line-height: 1.45;
}

.marketplace-action-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.marketplace-action-panel__actions .button {
  border-color: rgba(217, 137, 0, 0.28);
  background: linear-gradient(135deg, #fff8e4, #fff0bd);
  color: #7a4a00;
}

.marketplace-action-panel__actions .button:hover,
.marketplace-action-panel__actions .button:focus-visible {
  border-color: rgba(217, 137, 0, 0.48);
  background: linear-gradient(135deg, #ffce3a, #e49100);
  color: #3b291a;
  box-shadow: 0 10px 22px rgba(217, 137, 0, 0.22);
  transform: translateY(-1px);
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(85, 55, 20, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(138, 86, 0, 0.30);
  box-shadow: 0 18px 38px rgba(85, 55, 20, 0.14);
  outline: none;
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #fff3cf;
  color: #8a5600;
  font-size: 46px;
}

.product-card--create {
  border-color: rgba(217, 137, 0, 0.24);
  background:
    radial-gradient(circle at 18% 14%, rgba(246, 178, 26, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(255, 248, 228, 0.96));
}

.product-card--create .product-card__media {
  background: #fff8e4;
  color: #8a5600;
}

.product-card--create:hover,
.product-card--create:focus-visible {
  border-color: rgba(217, 137, 0, 0.42);
}

.product-card__media img,
.product-card__media video,
.product-detail-gallery__main img,
.product-detail-gallery__main video,
.product-detail-gallery__thumb img,
.product-detail-gallery__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-gallery__main img,
.product-detail-gallery__main video {
  object-fit: contain;
}

.product-card__play {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #8a5600;
}

.product-card__body {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 16px;
}

.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.product-badge-row .badge {
  margin: 0;
  max-width: 100%;
  min-height: 30px;
  line-height: 1.2;
  text-transform: none;
}

.product-card h2 {
  margin: 0;
  color: #3b291a;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-card__seller {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border: 1px solid rgba(138, 86, 0, 0.10);
  border-radius: 14px;
  background: #fffaf0;
  color: #5f5143;
  font-size: 13px;
  font-weight: 800;
}

.product-card__seller img,
.product-seller-card img,
.seller-photo-preview img {
  border-radius: 999px;
  object-fit: cover;
}

.product-card__seller img,
.product-card__seller-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

.product-card__seller-avatar {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff3cf;
  color: #8a5600;
  font-size: 18px;
}

.product-card__seller > span:not(.product-card__seller-avatar) {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #3b291a;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card .meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.product-card .price {
  display: flex;
  gap: 8px;
  margin-top: 2px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  line-height: 1.35;
}

.product-card .price span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-card .price i {
  flex: 0 0 auto;
}

.product-card__seller .bi-patch-check-fill {
  color: #138a45;
}

.marketplace-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 16px 16px;
}

.marketplace-card-actions > .button {
  flex: 0 0 auto;
  min-height: 38px;
}

.marketplace-sticky-contact {
  display: none;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.product-detail-gallery,
.product-detail-summary,
.product-seller-panel,
.product-info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 246, 0.98), rgba(255, 244, 212, 0.88)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 42px rgba(85, 55, 20, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.product-detail-summary::before,
.product-seller-panel::before,
.product-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='112' height='96' viewBox='0 0 112 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c98a19' stroke-width='2' stroke-opacity='.16'%3E%3Cpath d='M28 2 54 17v30L28 62 2 47V17z'/%3E%3Cpath d='M84 2 110 17v30L84 62 58 47V17z'/%3E%3Cpath d='M56 49 82 64v30L56 109 30 94V64z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 112px 96px;
  opacity: 0.52;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.16));
}

.product-detail-summary::after,
.product-seller-panel::after,
.product-info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(180deg, rgba(246, 178, 26, 0.18), transparent 42%);
}

.product-detail-summary > *,
.product-seller-panel > *,
.product-info-card > * {
  position: relative;
  z-index: 1;
}

.product-detail-gallery {
  overflow: hidden;
}

.product-detail-gallery__main,
.product-detail-gallery__empty {
  display: grid;
  place-items: center;
  min-height: 420px;
  max-height: min(62vh, 560px);
  background: #fff3cf;
  color: #8a5600;
  font-size: 72px;
}

.product-detail-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(82px, 18vw, 112px);
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 10px;
  scroll-snap-type: x proximity;
  background: #fffdf7;
  scrollbar-color: #c68a2a #fff3cf;
}

.product-detail-gallery__thumb {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff3cf;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.product-detail-gallery__thumb:hover,
.product-detail-gallery__thumb:focus-visible,
.product-detail-gallery__thumb.is-active {
  border-color: #8a5600;
  box-shadow: 0 8px 18px rgba(85, 55, 20, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.product-detail-gallery__thumb span {
  position: absolute;
  inset: auto 8px 8px auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #8a5600;
}

.product-detail-summary {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(20px, 4vw, 36px);
}

.product-detail-summary h1 {
  margin: 0;
  color: #3b291a;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
}

.product-detail-summary p {
  margin: 0;
  color: #5f5143;
  line-height: 1.65;
}

.product-detail-price {
  width: fit-content;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(138, 86, 0, 0.14);
  background: linear-gradient(135deg, #ffe39a, #fff3cf 58%, #fffaf0);
  color: #6d4200;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(138, 86, 0, 0.12);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.product-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.facebook-share-button {
  border-color: #1877f2 !important;
  background: #1877f2 !important;
  color: #ffffff !important;
}

.facebook-share-button:hover {
  border-color: #166fe5 !important;
  background: #166fe5 !important;
  color: #ffffff !important;
}

.whatsapp-share-button {
  border-color: #25d366 !important;
  background: #25d366 !important;
  color: #0b2f18 !important;
}

.whatsapp-share-button:hover {
  border-color: #20bd5a !important;
  background: #20bd5a !important;
  color: #072410 !important;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(180px, 0.65fr));
  gap: 14px;
  align-items: stretch;
}

.product-detail-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.product-detail-card-heading > span,
.product-info-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(138, 86, 0, 0.14);
  background: linear-gradient(135deg, #f6b21a, #ffe8a8);
  color: #4d3100;
  font-size: 20px;
  box-shadow: 0 10px 22px rgba(138, 86, 0, 0.15);
}

.product-detail-card-heading h2,
.product-detail-card-heading p {
  margin: 0;
}

.product-detail-card-heading h2 {
  color: #3b291a;
  font-size: 20px;
}

.product-detail-card-heading p {
  color: #776554;
  font-size: 13px;
  font-weight: 700;
}

.product-seller-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(138, 86, 0, 0.10);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(6px);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-seller-card:hover,
.product-seller-card:focus-visible {
  border-color: rgba(138, 86, 0, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 10px 22px rgba(85, 55, 20, 0.10);
  outline: none;
  transform: translateY(-1px);
}

.product-seller-card img {
  border-radius: 999px;
  object-fit: cover;
}

.product-seller-card img,
.product-seller-card__avatar,
.seller-photo-preview img {
  width: 64px;
  height: 64px;
}

.product-seller-card__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  border-radius: 999px;
  background: #fff3cf;
  color: #8a5600;
  font-size: 28px;
}

.product-seller-card__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.product-seller-card strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3b291a;
}

.product-seller-card p {
  margin: 0;
}

.product-seller-card__verified {
  color: #138a45;
}

.product-seller-bio {
  margin-top: 4px !important;
  padding-top: 8px;
  border-top: 1px solid rgba(138, 86, 0, 0.12);
  color: #5f5143;
  font-size: 13px;
  line-height: 1.6;
}

.product-seller-card__arrow {
  margin-left: auto;
  align-self: center;
  color: #8a5600;
  font-size: 26px;
}

.product-seller-origin {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.product-seller-origin.is-beekeeper {
  border-color: rgba(19, 138, 69, 0.22);
  background: linear-gradient(135deg, rgba(241, 255, 246, 0.9), rgba(255, 250, 240, 0.84));
}

.product-seller-origin__head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.product-seller-origin__head > span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #fff3cf;
  color: #8a5600;
}

.product-seller-origin.is-beekeeper .product-seller-origin__head > span {
  background: #e8f8ee;
  color: #138a45;
}

.product-seller-origin__head strong,
.product-seller-origin__head p {
  margin: 0;
}

.product-seller-origin__head strong {
  color: #3b291a;
  font-size: 15px;
  font-weight: 900;
}

.product-seller-origin__head p {
  margin-top: 3px;
  color: #5f5143;
  font-size: 13px;
  line-height: 1.45;
}

.product-seller-origin__apiaries {
  display: grid;
  gap: 8px;
}

.product-seller-origin__apiaries a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  padding: 9px 10px;
  border: 1px solid rgba(19, 138, 69, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: #2f2116;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.product-seller-origin__apiaries a:hover,
.product-seller-origin__apiaries a:focus-visible {
  border-color: rgba(19, 138, 69, 0.42);
  box-shadow: 0 8px 18px rgba(19, 138, 69, 0.10);
  outline: none;
  transform: translateY(-1px);
}

.product-seller-origin__apiaries i {
  grid-row: span 2;
  color: #138a45;
}

.product-seller-origin__apiaries span {
  font-weight: 900;
  overflow-wrap: anywhere;
}

.product-seller-origin__apiaries small {
  color: #776554;
  font-size: 12px;
  font-weight: 700;
}

.product-info-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 174px;
  padding: 18px;
  border-top: 4px solid rgba(246, 178, 26, 0.72);
}

.product-info-card small {
  color: #776554;
  font-size: 13px;
  font-weight: 800;
}

.product-info-card strong,
.product-info-card__phone {
  color: #3b291a;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-info-card__phone {
  width: fit-content;
  border-bottom: 2px solid rgba(19, 138, 69, 0.24);
  color: #126235;
  font-weight: 900;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.product-info-card__phone:hover,
.product-info-card__phone:focus-visible {
  color: #0d4a27;
  border-color: rgba(19, 138, 69, 0.72);
  outline: none;
}

.seller-photo-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 14px;
  background: #fff8e4;
  color: #3b291a;
  font-weight: 900;
}

.seller-profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.seller-profile-preview-card {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(85, 55, 20, 0.10);
}

.seller-profile-preview-card__photo,
.seller-list-card__photo {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #fff3cf;
  color: #8a5600;
}

.seller-profile-preview-card__photo {
  width: 112px;
  height: 112px;
  font-size: 48px;
}

.seller-profile-preview-card__photo img,
.seller-list-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-profile-preview-card h1,
.seller-list-card h2 {
  margin: 0;
  color: #3b291a;
}

.seller-profile-preview-card p,
.seller-list-card p {
  margin: 6px 0 0;
  color: #5f5143;
  line-height: 1.55;
}

.seller-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.seller-profile-stats div {
  padding: 14px;
  border-radius: 16px;
  background: #fff8e4;
}

.seller-profile-stats strong {
  display: block;
  color: #3b291a;
  font-size: 28px;
  line-height: 1;
}

.seller-profile-stats span,
.seller-profile-preview-card__meta span {
  color: #6d5a47;
  font-size: 13px;
  font-weight: 800;
}

.seller-profile-preview-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-profile-preview-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fffaf0;
}

.seller-profile-preview-card__meta .is-verified,
.seller-list-card .bi-patch-check-fill {
  color: #138a45;
}

.seller-profile-form-card {
  padding: clamp(18px, 3vw, 28px);
}

.seller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.seller-list-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(85, 55, 20, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.seller-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 86, 0, 0.22);
  box-shadow: 0 14px 28px rgba(85, 55, 20, 0.11);
}

.seller-list-card__head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.seller-list-card__photo {
  width: 54px;
  height: 54px;
  font-size: 24px;
}

.seller-list-card__identity {
  min-width: 0;
}

.seller-list-card h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-list-card__bio {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.seller-list-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-list-card__stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #fff8e4;
  color: #5f5143;
  font-size: 12px;
  font-weight: 800;
}

.seller-list-card__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.seller-list-card__products a {
  display: grid;
  gap: 4px;
  color: #3b291a;
  text-decoration: none;
}

.seller-list-card__products img,
.seller-list-card__products span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #fff3cf;
  color: #8a5600;
  object-fit: cover;
}

.seller-list-card__products img {
  width: 100%;
  height: 100%;
}

.seller-list-card__products small {
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-list-card__empty-products {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff8e4;
  color: #7a6654;
  font-size: 12px;
  font-weight: 800;
}

.seller-list-card__actions {
  display: flex;
  justify-content: flex-end;
}

.seller-list-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a5600;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.seller-list-card__link:hover {
  color: #5f3a00;
  text-decoration: underline;
}

@media (min-width: 900px) {
  .marketplace-storefront {
    background:
      linear-gradient(90deg, rgba(255, 250, 238, 0.9) 0%, rgba(255, 245, 220, 0.72) 54%, rgba(56, 34, 10, 0.18) 100%),
      url("../img/geobee-market-product-1280w.webp") center / cover no-repeat;
  }
}

@media (min-width: 1440px) {
  .marketplace-storefront {
    background:
      linear-gradient(90deg, rgba(255, 250, 238, 0.9) 0%, rgba(255, 245, 220, 0.72) 54%, rgba(56, 34, 10, 0.18) 100%),
      url("../img/geobee-market-product-1672w.webp") center / cover no-repeat;
  }
}

@media (max-width: 900px) {
  .marketplace-action-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .marketplace-action-panel__actions {
    justify-content: flex-start;
  }

  .product-detail-hero,
  .product-detail-grid,
  .seller-profile-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-actions,
  .product-detail-actions .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .marketplace-storefront {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 20px;
  }

  .marketplace-storefront h1 {
    font-size: 34px;
  }

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

  .marketplace-storefront__panel div {
    min-height: 92px;
    padding: 12px;
  }

  .marketplace-storefront__panel strong {
    font-size: 26px;
  }

  .marketplace-toolbar,
  .marketplace-catalog-head {
    align-items: stretch;
    flex-direction: column;
  }

  .marketplace-filters,
  .marketplace-filters select,
  .marketplace-filters .button,
  .marketplace-toolbar .marketplace-action-panel__actions,
  .marketplace-toolbar .marketplace-action-panel__actions .button {
    width: 100%;
  }

  .marketplace-filters .marketplace-page-size {
    width: 100%;
    justify-content: flex-start;
  }

  .marketplace-filters .marketplace-page-size select {
    width: auto;
  }

  .marketplace-category-strip {
    grid-auto-columns: minmax(0, 78vw);
  }

  .marketplace-category-chip {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 10px;
  }

  .marketplace-category-chip i {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 620px) {
  .page-product-detail {
    padding-bottom: 88px;
  }

  .marketplace-sticky-contact {
    position: fixed;
    right: 21px;
    bottom: 12px;
    left: 21px;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 8px;
    padding: 9px;
    border: 1px solid rgba(74, 52, 40, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(44, 32, 18, 0.22);
    backdrop-filter: blur(12px);
  }

  .marketplace-sticky-contact__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, #f6b21a, #d98900);
    color: #2f2116;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
  }

  .marketplace-sticky-contact__button--whatsapp {
    background: linear-gradient(135deg, #2ac866, #119447);
    color: #fff;
  }

  .marketplace-sticky-contact__button--message {
    background: #3b291a;
    color: #fff;
  }

  .marketplace-inquiry-row,
  .marketplace-report-row,
  .marketplace-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .marketplace-inquiry-row form,
  .marketplace-report-row form,
  .marketplace-report-row__actions,
  .marketplace-inquiry-row .button,
  .marketplace-report-row__actions .button {
    width: 100%;
  }

  .marketplace-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .marketplace-card-actions > .button {
    width: 100%;
  }

  .marketplace-report-row__actions {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .marketplace-action-panel__actions .button {
    width: 100%;
  }
}
