/* Aishariya — shop, checkout, thank-you, 404 pages + PDP review widget and
   recently-viewed/related rows. Reuses the site's existing tokens
   (--aish-green/--aish-maroon/--aish-gold/--font-display/--font-body) and the
   homepage's .aish-new__card product-card component wherever a card is shown,
   per "use the homepage card layout" direction. */

.aish-page-hero {
  padding: 56px clamp(16px, 3vw, 48px) 32px;
  text-align: center;
}
.aish-page-hero__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.04em;
  color: var(--ink);
}
.aish-page-hero__sub { margin: 0; font-family: var(--aish-body); font-size: 14px; color: rgba(15, 15, 15, 0.6); }

/* ------------------------------------------------------------------ shop */
.aish-shop { padding: 0 0 var(--aish-pad-desk); }
.aish-shop__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 clamp(16px, 3vw, 48px) 28px;
  border-bottom: 1px solid var(--line);
  margin: 0 clamp(16px, 3vw, 48px) 32px;
}
.aish-shop__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.aish-shop__chip {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--aish-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.aish-shop__chip:hover { border-color: var(--aish-green); }
.aish-shop__chip.is-active { background: var(--aish-green); border-color: var(--aish-green); color: var(--n-white); }
.aish-shop__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--aish-body);
  font-size: 12px;
  color: rgba(15, 15, 15, 0.6);
}
.aish-shop__sort select {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--aish-body);
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.aish-shop__count { padding: 0 clamp(16px, 3vw, 48px) 20px; font-family: var(--aish-body); font-size: 12px; color: rgba(15, 15, 15, 0.5); }
.aish-shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  padding: 0 clamp(16px, 3vw, 48px);
}
.aish-shop__empty {
  display: none;
  padding: 80px 24px;
  text-align: center;
  font-family: var(--aish-body);
  font-size: 14px;
  color: rgba(15, 15, 15, 0.55);
}
@media (max-width: 1024px) {
  .aish-shop__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .aish-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
}

/* ------------------------------------------------------- PDP: recently viewed / related rows */
.aish-pdp__rowsection { padding: var(--aish-pad-desk) 0; }
.aish-pdp__rowsection + .aish-pdp__rowsection { padding-top: 0; }
.aish-pdp__rowsection .aish-new__head { padding: 0 clamp(16px, 3vw, 48px); }
.aish-pdp__rowsection .aish-new__title { font-family: var(--font-display); }

/* ---------------------------------------------------------------- reviews: write box */
.aish-pdp__reviewbox {
  max-width: 560px;
  margin: 0 auto 3rem;
  padding: 28px clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
}
.aish-pdp__reviewbox__title { margin: 0 0 4px; font-family: var(--font-display); font-size: 18px; font-weight: 400; letter-spacing: 0.02em; color: var(--ink); text-align: center; }
.aish-pdp__reviewbox__sub { margin: 0 0 20px; font-family: var(--aish-body); font-size: 12px; color: rgba(15, 15, 15, 0.55); text-align: center; }

.aish-starinput { display: flex; justify-content: center; gap: 6px; margin-bottom: 20px; }
.aish-starinput__star {
  border: 0;
  background: none;
  padding: 2px;
  cursor: pointer;
  color: rgba(15, 15, 15, 0.25);
  transition: color 0.15s ease, transform 0.15s ease;
}
.aish-starinput__star svg { width: 26px; height: 26px; display: block; }
.aish-starinput__star.is-lit { color: var(--aish-gold); }
.aish-starinput__star:hover { transform: scale(1.12); }

.aish-pdp__reviewbox__field { margin-bottom: 14px; }
.aish-pdp__reviewbox__field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--aish-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 15, 15, 0.55);
}
.aish-pdp__reviewbox__field input,
.aish-pdp__reviewbox__field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 10px 12px;
  font-family: var(--aish-body);
  font-size: 13px;
  color: var(--ink);
  resize: vertical;
}
.aish-pdp__reviewbox__field textarea { min-height: 90px; }
.aish-pdp__reviewbox__submit {
  width: 100%;
  border: 0;
  background: var(--aish-green);
  color: var(--n-white);
  font-family: var(--aish-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.aish-pdp__reviewbox__submit:hover { background: var(--aish-maroon); }
.aish-pdp__reviewbox__thanks {
  display: none;
  text-align: center;
  font-family: var(--aish-body);
  font-size: 13px;
  color: var(--aish-green);
  padding: 10px 0 0;
}
.aish-pdp__reviewbox.is-submitted .aish-pdp__reviewbox__form { display: none; }
.aish-pdp__reviewbox.is-submitted .aish-pdp__reviewbox__thanks { display: block; }

/* --------------------------------------------------------------- checkout */
.aish-co { padding: 40px clamp(16px, 3vw, 48px) var(--aish-pad-desk); }
.aish-co__title { margin: 0 0 32px; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3vw, 32px); letter-spacing: 0.03em; color: var(--ink); }
.aish-co__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) {
  .aish-co__grid { grid-template-columns: 1fr; gap: 40px; }
}

.aish-co__section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.aish-co__section:last-child { border-bottom: 0; margin-bottom: 0; }
.aish-co__section-title { margin: 0 0 18px; font-family: var(--aish-body); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }

.aish-co__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aish-co__field { display: flex; flex-direction: column; gap: 6px; }
.aish-co__field--full { grid-column: 1 / -1; }
.aish-co__field label { font-family: var(--aish-body); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: rgba(15, 15, 15, 0.55); }
.aish-co__field input,
.aish-co__field select,
.aish-co__field textarea {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 11px 12px;
  font-family: var(--aish-body);
  font-size: 13px;
  color: var(--ink);
}
.aish-co__field textarea { min-height: 70px; resize: vertical; }
@media (max-width: 520px) {
  .aish-co__fields { grid-template-columns: 1fr; }
}

.aish-co__payment { display: flex; flex-direction: column; gap: 10px; }
.aish-co__payment-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  padding: 13px 16px;
  cursor: pointer;
  font-family: var(--aish-body);
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.aish-co__payment-opt:has(input:checked) { border-color: var(--aish-green); }
.aish-co__payment-opt input { accent-color: var(--aish-green); }
.aish-co__card-fields { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.aish-co__card-fields .aish-co__field:first-child { grid-column: 1 / -1; }

.aish-co__place {
  width: 100%;
  border: 0;
  background: var(--aish-green);
  color: var(--n-white);
  font-family: var(--aish-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.aish-co__place:hover { background: var(--aish-maroon); }

.aish-co__summary { border: 1px solid var(--line); padding: 24px; position: sticky; top: 24px; }
.aish-co__summary-title { margin: 0 0 18px; font-family: var(--aish-body); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.aish-co-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.aish-co-row:first-child { padding-top: 0; }
.aish-co-row__img { width: 60px; height: 74px; object-fit: cover; flex: none; background: var(--surface-alt); }
.aish-co-row__body { flex: 1; min-width: 0; }
.aish-co-row__name { margin: 0 0 8px; font-family: var(--aish-head); font-size: 13px; font-weight: 400; line-height: 1.3; color: var(--ink); }
.aish-co-row__controls { display: flex; gap: 10px; margin-bottom: 8px; }
.aish-co-row__field { display: flex; flex-direction: column; gap: 4px; font-family: var(--aish-body); font-size: 10px; color: rgba(15, 15, 15, 0.5); }
.aish-co-row__field select { border: 1px solid var(--line-strong); background: var(--surface); font-size: 11px; padding: 5px 6px; color: var(--ink); }
.aish-co-row__field--qty .aish-qty { height: 26px; }
.aish-co-row__field--qty .aish-qty__btn { width: 22px; height: 24px; font-size: 12px; }
.aish-co-row__field--qty .aish-qty__input { width: 26px; height: 24px; font-size: 11px; }
.aish-co-row__foot { display: flex; align-items: center; justify-content: space-between; }
.aish-co-row__price { font-family: var(--aish-body); font-size: 12px; font-weight: 600; color: var(--aish-green); }
.aish-co-row__remove { border: 0; background: none; padding: 0; font-family: var(--aish-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(15, 15, 15, 0.45); cursor: pointer; }
.aish-co-row__remove:hover { color: var(--aish-maroon); }

.aish-co__totals { margin-top: 8px; padding-top: 16px; }
.aish-co__totals-row { display: flex; align-items: center; justify-content: space-between; font-family: var(--aish-body); font-size: 13px; color: rgba(15, 15, 15, 0.7); padding: 6px 0; }
.aish-co__totals-row--grand { font-size: 15px; font-weight: 700; color: var(--ink); padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); }

.aish-co__empty { text-align: center; padding: 100px 24px; font-family: var(--aish-body); }
.aish-co__empty p { margin: 0 0 20px; font-size: 14px; color: rgba(15, 15, 15, 0.6); }
.aish-co__empty a {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.aish-co__empty a:hover { background: var(--aish-green); border-color: var(--aish-green); color: var(--n-white); }

/* -------------------------------------------------------------- thank you */
.aish-ty { max-width: 620px; margin: 0 auto; padding: 72px clamp(16px, 3vw, 48px) var(--aish-pad-desk); text-align: center; }
.aish-ty__icon { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: var(--aish-green); color: var(--n-white); display: flex; align-items: center; justify-content: center; }
.aish-ty__icon svg { width: 30px; height: 30px; }
.aish-ty__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: 0.03em; color: var(--ink); }
.aish-ty__sub { margin: 0 0 6px; font-family: var(--aish-body); font-size: 14px; color: rgba(15, 15, 15, 0.65); }
.aish-ty__order-id { margin: 0 0 40px; font-family: var(--aish-body); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--aish-green); }
.aish-ty__summary { border: 1px solid var(--line); padding: 24px; text-align: left; margin-bottom: 32px; }
.aish-ty__row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.aish-ty__row:first-child { padding-top: 0; }
.aish-ty__row:last-of-type { border-bottom: 0; }
.aish-ty__row img { width: 52px; height: 64px; object-fit: cover; flex: none; background: var(--surface-alt); }
.aish-ty__row-body { flex: 1; min-width: 0; font-family: var(--aish-body); font-size: 12.5px; color: var(--ink); }
.aish-ty__row-body b { display: block; margin-bottom: 3px; font-family: var(--aish-head); font-weight: 400; font-size: 13.5px; }
.aish-ty__totals-row { display: flex; justify-content: space-between; font-family: var(--aish-body); font-size: 13px; padding: 6px 0; color: rgba(15, 15, 15, 0.7); }
.aish-ty__totals-row--grand { font-weight: 700; color: var(--ink); font-size: 14.5px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.aish-ty__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.aish-ty__actions a {
  padding: 13px 28px;
  font-family: var(--aish-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.aish-ty__actions a.is-primary { background: var(--aish-green); border: 1px solid var(--aish-green); color: var(--n-white); }
.aish-ty__actions a.is-primary:hover { background: var(--aish-maroon); border-color: var(--aish-maroon); }
.aish-ty__actions a.is-secondary { border: 1px solid var(--ink); color: var(--ink); }
.aish-ty__actions a.is-secondary:hover { background: var(--ink); color: var(--n-white); }
.aish-ty__empty { font-family: var(--aish-body); font-size: 14px; color: rgba(15, 15, 15, 0.6); margin-bottom: 32px; }

/* --------------------------------------------------------------------- 404 */
.aish-404 { max-width: 640px; margin: 0 auto; padding: 96px clamp(16px, 3vw, 48px) 60px; text-align: center; }
.aish-404__code { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(72px, 12vw, 128px); line-height: 1; letter-spacing: 0.06em; color: var(--aish-green); }
.aish-404__title { margin: 12px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: 0.02em; color: var(--ink); }
.aish-404__sub { margin: 0 0 36px; font-family: var(--aish-body); font-size: 14px; color: rgba(15, 15, 15, 0.6); }
.aish-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.aish-404__actions a {
  padding: 13px 28px;
  font-family: var(--aish-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.aish-404__actions a.is-primary { background: var(--aish-green); border: 1px solid var(--aish-green); color: var(--n-white); }
.aish-404__actions a.is-primary:hover { background: var(--aish-maroon); border-color: var(--aish-maroon); }
.aish-404__actions a.is-secondary { border: 1px solid var(--ink); color: var(--ink); }
.aish-404__actions a.is-secondary:hover { background: var(--ink); color: var(--n-white); }
