/* ---- public shop (customer-facing) ---- */

body.public {
  background: #fff9f3;
}

.pheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.pbrand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
}

.pwa-top {
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}

.hero {
  background: linear-gradient(135deg, var(--brand-soft), #fdf3dc 60%, #fff);
  text-align: center;
  padding: 2.2rem 1.2rem 1.8rem;
}

.hero h1 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
  color: var(--ink);
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.chips {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
}

.chip-f {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.chip-f.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  padding: 0.4rem 1.2rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(43, 35, 32, 0.1);
}

.pthumb {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--brand-soft), #fff8ec);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.pthumb .ph { font-size: 3rem; opacity: 0.85; }

.pcard.sold .pthumb img { filter: grayscale(0.9); opacity: 0.75; }

.psold {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(179, 38, 30, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pbody { padding: 0.75rem 0.9rem 0.9rem; display: flex; flex-direction: column; gap: 0.3rem; }

.pname { font-size: 0.98rem; line-height: 1.35; }

.pcat {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.prow { display: flex; justify-content: space-between; align-items: center; margin-top: 0.15rem; }

.pprice { font-size: 1.15rem; font-weight: 800; color: var(--brand); }

.pstock.ok { color: var(--ok); font-size: 0.78rem; font-weight: 700; }

.pempty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-weight: 600;
}

/* item page */
.idetail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.4rem 1.2rem;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1fr;
  gap: 1.6rem;
  align-items: start;
}

.igal {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft), #fff8ec);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.igal img { width: 100%; height: 100%; object-fit: cover; }

.iph { font-size: 5rem; }

.iinfo { display: flex; flex-direction: column; gap: 0.6rem; }

.icat {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.iinfo h1 { margin: 0; font-size: 1.6rem; line-height: 1.25; }

.iprice { font-size: 1.8rem; font-weight: 800; color: var(--brand); }

.iava { font-weight: 700; font-size: 0.95rem; }
.iava.ok { color: var(--ok); }
.iava.out { color: var(--bad); }

.idesc { margin: 0.2rem 0 0.4rem; color: var(--muted); line-height: 1.55; }

.iorder {
  display: inline-block;
  background: #25d366;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.iorder.off {
  background: var(--bad-soft);
  color: var(--bad);
  box-shadow: none;
  cursor: not-allowed;
}

.inote { margin: 0; color: var(--muted); font-size: 0.8rem; }

.iback { color: var(--brand); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

.irel-h { max-width: 1000px; margin: 0.4rem auto 0.6rem; padding: 0 1.2rem; font-size: 1.2rem; }
.irel { padding-top: 0; }

.wafloat {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 3.4rem;
  height: 3.4rem;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  z-index: 10;
}

.pfooter {
  text-align: center;
  padding: 2rem 1rem 4.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.pfooter strong { color: var(--brand); }

@media (max-width: 700px) {
  .idetail { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.4rem; }
}

/* ---- landing page (big-jewellery-brand style) ---- */

.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 138, 45, 0.16), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(180, 83, 58, 0.14), transparent 45%),
    linear-gradient(160deg, #fffaf3, #fdf3dc 55%, #f6e8e3);
  padding: 3rem 1.2rem 0;
  text-align: center;
  overflow: hidden;
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-kicker {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  margin: 0.5rem 0 0.4rem;
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--ink);
  animation: fadeUp 0.7s ease 0.12s both;
}

.hero p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 1.05rem;
  animation: fadeUp 0.7s ease 0.24s both;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.36s both;
}

.cta {
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover { transform: translateY(-2px); }
.cta.gold { background: linear-gradient(135deg, var(--gold), #e0a84f); color: #fff; box-shadow: 0 6px 18px rgba(201, 138, 45, 0.4); }
.cta.green { background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* featured card marquee — auto-scrolls, pauses on hover */
.marquee {
  margin-top: 2rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.mtrack {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.6rem 0 1.4rem;
  animation: scrollX 34s linear infinite;
}

.marquee:hover .mtrack { animation-play-state: paused; }

@keyframes scrollX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.mcard {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(43, 35, 32, 0.07);
  transition: transform 0.2s ease;
}

.mcard:hover { transform: translateY(-4px); }

.mcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mname {
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 0.7rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mprice { color: var(--brand); font-weight: 800; font-size: 0.9rem; padding: 0.1rem 0.7rem 0.6rem; }

/* sections */
.sec { max-width: 1100px; margin: 0 auto; padding: 2.2rem 1.2rem 1rem; }

.sec.alt { max-width: none; background: #fdf6ee; }
.sec.alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.sec-h {
  text-align: center;
  font-size: 1.5rem;
  margin: 0 0 1.2rem;
  color: var(--ink);
}

/* scroll-reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.vis { opacity: 1; transform: translateY(0); }

/* location */
.locgrid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.2rem;
  align-items: stretch;
}

.locinfo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
}

.locrow { display: flex; gap: 0.9rem; align-items: flex-start; line-height: 1.5; }
.locrow a { color: var(--brand); text-decoration: none; font-weight: 600; }
.lico { font-size: 1.4rem; }

.map {
  width: 100%;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.map.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.1rem;
  background: repeating-linear-gradient(45deg, #fff, #fff 14px, #fdf6ee 14px, #fdf6ee 28px);
}

/* contact */
.contactgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.ccard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ccard:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(43, 35, 32, 0.09); }

.cico { font-size: 1.9rem; }
.cico.wa { color: #25d366; }
.cico.ig { color: #d6336c; }

.ccard strong { font-size: 1rem; }
.ccard span:last-child { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 700px) {
  .hero h1 { font-size: 1.7rem; }
  .locgrid { grid-template-columns: 1fr; }
  .mcard { width: 160px; }
}

.brandrow { display: flex; align-items: center; gap: 0.55rem; }

.brandlogo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(91, 30, 46, 0.35);
}
