/* Production layer for the static Swadesic landing pages.
   Loaded after styles.css. Real media replaces the wireframe placeholders. */

.brand strong {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-right: 7px;
  vertical-align: -4px;
}

/* Real product media ------------------------------------------------------ */

.feed-media,
.store-card-media,
.store-thumb,
.sell-app-cover,
.sell-app-thumb,
.store-mock-cover,
.float-feed-media,
.reward-image,
.supporter-image,
.proof-media {
  overflow: hidden;
  background: var(--paper-3);
}

.feed-media {
  border: 0;
  padding: 0;
  position: relative;
}

.feed-media img,
.store-card-media img,
.store-thumb img,
.sell-app-cover img,
.sell-app-thumb img,
.store-mock-cover img,
.store-mock-product > div img,
.float-feed-media img,
.reward-image img,
.supporter-image img,
.proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-card {
  text-decoration: none;
}

.store-card-media {
  border-bottom: 1px solid var(--ink);
  padding: 0;
  background: var(--paper-3);
}

.store-card-media img {
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.store-card:hover .store-card-media img {
  transform: scale(1.035);
}

.store-thumb {
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--paper-3);
}

.sell-app-cover,
.store-mock-cover,
.float-feed-media {
  border: 1px solid var(--line);
  padding: 0;
}

.sell-app-thumb,
.store-mock-product > div {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper-3);
}

.store-mock-product > div {
  height: 64px;
  display: block;
  border-bottom: 1px solid var(--line);
}

.store-mock-product > div img {
  display: block;
}

/* The illustrative label stays honest without breaking the visual. */
.media-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(21, 20, 15, 0.72);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

/* Buyer feed: store identity strip under the post image ------------------ */

.feed-card--store {
  padding: 0;
  overflow: hidden;
}

.feed-card--store .feed-media {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
}

.feed-store {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 3px 12px 13px;
  background: var(--white);
  color: var(--ink);
}

.feed-store-avatar {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  margin-top: -32px;
  flex-shrink: 0;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-3);
  box-shadow: 0 3px 10px rgba(21, 20, 15, 0.28);
}

.feed-store-meta {
  min-width: 0;
}

.feed-store-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.2;
}

.feed-store-name img {
  width: 12px;
  height: 12px;
}

.feed-store-handle {
  margin-top: 1px;
  font-size: 9px;
  color: var(--ink-soft);
}

.feed-store-stats {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 9px;
  white-space: nowrap;
  color: var(--ink-soft);
}

.feed-store-stats img {
  width: 9px;
  height: 9px;
}

.reward-image {
  position: relative;
  height: 154px;
  margin: 18px 0 0;
  border: 1px solid var(--ink);
  border-radius: 14px;
}

.supporter-image {
  position: relative;
  height: 142px;
  margin-bottom: 14px;
  border: 1px solid var(--ink);
  border-radius: 14px;
}

.proof-media {
  height: 84px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* Places map: no wireframe stamp ------------------------------------------ */

.map-box::after {
  content: none;
}

.map-label {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 2;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 247, 0.86);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-box {
  background:
    radial-gradient(circle at 72% 26%, rgba(217, 243, 106, 0.28), transparent 26%),
    linear-gradient(90deg, transparent 49.7%, var(--line) 49.7% 50.3%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, var(--line) 49.7% 50.3%, transparent 50.3%),
    linear-gradient(135deg, var(--paper-2), var(--paper-3));
  background-size: 100% 100%, 54px 54px, 54px 54px, 100% 100%;
}

/* Invite form ------------------------------------------------------------- */

.invite-field {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.invite-field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.invite-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.invite-field input::placeholder {
  color: var(--ink-faint);
  font-weight: 400;
}

.invite-field input:focus {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* Section index: keep the approved bottom-left position, add a title -------- */

.section-index-title {
  padding: 0 0 2px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Price and FAQ details --------------------------------------------------- */

.price-detail {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.price-detail summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.price-detail summary::-webkit-details-marker {
  display: none;
}

.price-detail summary::after {
  content: none;
}

.price-detail summary .arrow {
  display: inline-block;
  transition: transform 160ms ease;
}

.price-detail[open] summary .arrow {
  transform: rotate(90deg);
}

.price-detail p {
  max-width: 62ch;
  padding: 0 0 16px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.price-detail table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 12px;
}

.price-detail th,
.price-detail td {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-detail th {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price-detail td:last-child {
  text-align: right;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10px;
}

/* Small production details ------------------------------------------------ */

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-disclosure {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(246, 242, 233, 0.48);
}

.footer-bottom .seed {
  color: rgba(246, 242, 233, 0.78);
}

@media (max-width: 900px) {
  .hero-visual {
    order: 0;
  }
}

@media (max-width: 440px) {
  .brand span {
    display: none;
  }
}

@media (max-width: 620px) {
  .reward-card,
  .invite-card,
  .store-mock,
  .supporter-card,
  .founding-badge {
    transform: none;
  }

  .reward-image {
    height: 132px;
  }

  .supporter-image {
    height: 122px;
  }

  .section-index-title {
    display: none;
  }
}

@media (max-width: 340px) {
  .header-inner {
    gap: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-actions .btn {
    padding: 10px 9px;
    font-size: 9px;
  }

  .header-actions .btn .arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-card:hover .store-card-media img {
    transform: none;
  }
}
