@charset "UTF-8";
/* ═══════════════════════════════════════
   helalvar.com — main.css (v3 — clean rewrite)
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── TOKENS ── */
:root {
  --black: #0F172A;
  --off-black: #1E293B;
  --mid: #1E293B;
  --muted: #475569;
  --rule: #64748B;
  --surface: #F1F5F9;
  --white: #FFFFFF;
  --page-bg: #FFFFFF;
  --green: #10B981;
  --green-dim: #059669;
  --green-bg: #ECFDF5;
  --green-text: #065F46;
  --amber: #F59E0B;
  --amber-bg: #FFFBEB;
  --red: #EF4444;
  --red-bg: #FEF2F2;

  --f-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1200px;
  --pad: clamp(20px, 5vw, 60px);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  --sh-xs: 0 1px 3px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .04);
  --sh-sm: 0 4px 6px rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .03);
  --sh-md: 0 10px 25px rgba(0, 0, 0, .06), 0 4px 8px rgba(0, 0, 0, .04);
  --sh-lg: 0 20px 50px rgba(0, 0, 0, .08), 0 8px 20px rgba(0, 0, 0, .04);

  --nav-h: 64px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--f-sans);
  background: var(--page-bg);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: var(--f-sans);
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--f-sans);
}

ul,
ol {
  list-style: none;
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ── TYPOGRAPHY ── */
.display-2xl {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.display-xl {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.display-lg {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.display-md {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.text-sm {
  font-size: 14px;
}

.text-xs {
  font-size: 12px;
}

.label-sm {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

.btn-lg {
  font-size: 16px;
  padding: 14px 28px;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
}

.btn-xs {
  font-size: 12px;
  padding: 6px 12px;
}

.btn-icon {
  padding: 8px;
  width: 36px;
  height: 36px;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-primary:hover {
  background: var(--off-black);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-green:hover {
  background: var(--green-dim);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--rule);
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--surface);
}

.btn-ghost {
  background: transparent;
  color: var(--mid);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--black);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

/* ── FORMS ── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--off-black);
  margin-bottom: 6px;
}

.form-label .hint {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}

.form-ctrl {
  width: 100%;
  border: 1.5px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  appearance: none;
}

.form-ctrl:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .1);
}

.form-ctrl::placeholder {
  color: var(--muted);
}

textarea.form-ctrl {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

select.form-ctrl {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.badge-green {
  background: var(--green-bg);
  color: var(--green-text);
}

.badge-amber {
  background: var(--amber-bg);
  color: #92400E;
}

.badge-dark {
  background: var(--black);
  color: var(--white);
}

.badge-gray {
  background: var(--surface);
  color: var(--mid);
  border: 1px solid var(--rule);
}

/* ── ALERTS ── */
.alert {
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.6;
  border: 1px solid;
}

.alert-success {
  background: var(--green-bg);
  border-color: #A7F3D0;
  color: var(--green-text);
}

.alert-error {
  background: var(--red-bg);
  border-color: #FECACA;
  color: #991B1B;
}

.alert-info {
  background: var(--amber-bg);
  border-color: #FDE68A;
  color: #78350F;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  font-size: 26px; 
  font-weight: 800;
  letter-spacing: -1.5px; /* Tighter */
  color: var(--black);
  flex-shrink: 0;
  gap: 0; /* No gap */
}

.nav-logo span {
  color: var(--green);
  margin-left: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  padding: 6px 12px;
  border-radius: var(--r-md);
  transition: color .15s, background .15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
  background: var(--surface);
}

.nav-links a.nav-cta {
  color: var(--green);
  font-weight: 600;
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-ham {
  display: none;
  padding: 6px;
  color: var(--black);
  border-radius: var(--r-sm);
}

.nav-ham:hover {
  background: var(--surface);
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--white);
  flex-direction: column;
  padding: calc(var(--nav-h) + 20px) 24px 40px;
  overflow-y: auto;
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.drawer-cta {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-ham {
    display: flex;
  }

  .nav-r .btn-ghost {
    display: none;
  }
}

/* ── MAIN OFFSET ── */
main {
  padding-top: var(--nav-h);
}

/* ── HERO ── */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, #f8fafc 0%, #ecfdf5 60%, #f8fafc 100%);
  text-align: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 40px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 28px;
  box-shadow: var(--sh-xs);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.hero-title {
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--mid);
  font-size: 17px;
  line-height: 1.7;
}

/* Search */
.search-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.search-box {
  display: flex;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 20px;
  box-shadow: var(--sh-md);
  transition: box-shadow .2s, border-color .2s;
}

.search-box:focus-within {
  border-color: var(--green);
  box-shadow: var(--sh-lg);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--black);
  background: transparent;
  min-width: 0;
}

.search-box input::placeholder {
  color: var(--muted);
}

/* ── MARQUEE ── */
.marquee-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  overflow: hidden;
  background: var(--white);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: scrollLeft 35s linear infinite;
}

.marquee-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.marquee-item::after {
  content: '\00b7';
  color: var(--rule);
  font-size: 18px;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

/* ── SECTION HEADER ── */
.section-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-hd-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.see-all:hover {
  opacity: .8;
}

/* ── REVIEW CARD ── */
.r-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.r-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: transparent;
}

.r-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.r-card-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.r-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--mid);
  flex-shrink: 0;
}

.r-name {
  font-size: 12px;
  font-weight: 400;
  color: var(--mid);
  margin-top: 2px;
}

.r-store {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}

.r-star {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 1px;
}

.r-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--off-black);
  font-style: italic;
  padding-left: 12px;
  border-left: 2px solid var(--rule);
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.r-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.r-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.r-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  padding: 3px 9px;
  border-radius: var(--r-sm);
}

.r-tag.green {
  background: var(--green-bg);
  color: var(--green-text);
}

.r-time {
  font-size: 11px;
  color: var(--muted);
}

/* Live indicator */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.2);
  }
}

/* ── BRAND CARD ── */
.b-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s;
}

.b-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: transparent;
}

.b-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--amber-bg);
  color: #92400E;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b-name {
  font-size: 15px;
  font-weight: 700;
}

.b-count {
  font-size: 12px;
  color: var(--muted);
}

.b-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

.b-rating {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
}

.b-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--green-bg);
  color: var(--green-text);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ── CRITERIA CARD ── */
.crit-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .2s, transform .2s;
}

.crit-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}

.crit-icon {
  font-size: 28px;
}

.crit-title {
  font-size: 18px;
  font-weight: 700;
}

.crit-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--surface);
  text-align: center;
  padding: 80px 0;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.cta-title {
  margin-bottom: 12px;
}

.cta-sub {
  color: var(--mid);
  font-size: 17px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--white);
  border-top: 1px solid var(--rule);
  padding: 64px 0 40px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-logo span {
  color: var(--green);
}

.footer-logo-icon {
  width: 24px;
  height: 24px;
  background: var(--green);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.footer-logo-icon svg {
  width: 13px;
  height: 13px;
}

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 60px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
  display: block;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--mid);
  transition: color .15s;
}

.footer-col ul li a:hover {
  color: var(--black);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 32px;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 48px 0 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── GRIDS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: .1s;
}

.delay-2 {
  transition-delay: .2s;
}

.delay-3 {
  transition-delay: .3s;
}

/* ── STORE PAGE ── */
.store-header-wrap {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--rule);
}

.store-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.store-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  background: var(--surface);
  font-size: 26px;
  font-weight: 700;
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.store-name {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.store-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.store-url {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
}

.store-url:hover {
  color: var(--black);
}

.store-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 480px;
  margin-top: 12px;
}

.score-box {
  background: var(--green);
  color: white;
  border-radius: var(--r-xl);
  padding: 20px 28px;
  text-align: center;
  min-width: 140px;
}

.score-num {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.score-lbl {
  font-size: 13px;
  font-weight: 600;
  opacity: .85;
  margin-top: 4px;
}

.crit-bars {
  margin-top: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
}

.crit-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.crit-bar-row:last-child {
  margin-bottom: 0;
}

.crit-bar-name {
  font-size: 13px;
  color: var(--off-black);
  width: 100px;
  flex-shrink: 0;
}

.crit-bar-track {
  flex: 1;
  height: 6px;
  background: var(--rule);
  border-radius: 3px;
  overflow: hidden;
}

.crit-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width .8s ease;
}

.crit-bar-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0 80px;
}

.reviews-layout.no-sidebar {
  grid-template-columns: 1fr;
  gap: 0;
}

.reviews-layout.no-sidebar aside {
  display: none;
}

.review-card-full {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: box-shadow .2s;
  margin-bottom: 16px;
}

.review-card-full:hover {
  box-shadow: var(--sh-sm);
}

.rcf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.rcf-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rcf-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 700;
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcf-name {
  font-size: 12px;
  font-weight: 400;
  color: var(--mid);
}

.rcf-meta {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}

.rcf-stars {
  font-size: 13px;
  color: var(--amber);
}

.rcf-body {
  font-size: 15px;
  color: var(--off-black);
  line-height: 1.7;
  margin-bottom: 14px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.rcf-reply {
  background: var(--surface);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 14px 16px;
  margin-top: 14px;
}

.rcf-reply-from {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-text);
  margin-bottom: 6px;
}

.rcf-reply-body {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

/* ── TOAST NOTIFICATIONS ── */
#toast-container {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 90%;
  max-width: 400px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.4s ease;
}

.toast-success { background: rgba(16, 185, 129, 0.95); border-color: rgba(255, 255, 255, 0.2); }
.toast-error   { background: rgba(239, 68, 68, 0.95); border-color: rgba(255, 255, 255, 0.2); }

.toast-icon { font-size: 18px; }
.toast-msg { flex: 1; }
.toast-close {
  background: none;
  border: none;
  color: var(--white);
  opacity: 0.6;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}
.toast-close:hover { opacity: 1; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── PHP FLASH ALERTS ── */
.alert {
  padding: 14px 20px;
  border-radius: var(--r-xl);
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}
.alert-success { background: var(--green-bg); color: var(--green-text); border-color: #A7F3D0; }
.alert-error   { background: var(--red-bg); color: var(--red); border-color: #FECACA; }
.alert-warning { background: var(--amber-bg); color: var(--amber); border-color: #FDE68A; }
.alert-info    { background: var(--surface); color: var(--mid); border-color: var(--rule); }

/* ── STORE METRICS & BARS ── */
.header-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.h-metric-item { display: flex; flex-direction: column; gap: 6px; }
.h-metric-top { display: flex; align-items: center; gap: 8px; }
.h-metric-icon { font-size: 14px; }
.h-metric-label { font-size: 12px; font-weight: 700; color: var(--muted); flex: 1; }
.h-metric-val { font-size: 12px; font-weight: 700; color: var(--black); }
.h-metric-track { height: 4px; background: var(--surface); border-radius: 2px; overflow: hidden; }
.h-metric-fill { height: 100%; background: var(--green); border-radius: 2px; }

@media (max-width: 768px) {
  .header-metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
}

.dist-bar-wrap { margin-top: 20px; }
.dist-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.dist-lbl { font-size: 11px; color: var(--mid); width: 14px; text-align: right; flex-shrink: 0; }
.dist-track { flex: 1; height: 5px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.dist-fill { height: 100%; background: var(--green); border-radius: 3px; }

@media (max-width: 900px) {
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  .store-header {
    grid-template-columns: 1fr;
  }
  .score-box {
    max-width: 200px;
  }
}

/* ── STAR RATING ── */
.star-picker {
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.star-picker input {
  display: none;
}

.star-picker label {
  font-size: 30px;
  color: var(--rule);
  cursor: pointer;
  transition: color .12s;
}

.star-picker input:checked~label,
.star-picker label:hover,
.star-picker label:hover~label {
  color: var(--amber);
}

/* ── PAGE CARDS (auth, etc.) ── */
.page-card {
  max-width: 480px;
  margin: 60px auto;
  padding: 0 var(--pad);
}

.card-box {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--sh-sm);
}

/* ── MISC UTILITIES ── */
.text-green {
  color: var(--green);
}

.text-muted {
  color: var(--muted);
}

.text-mid {
  color: var(--mid);
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 4px;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.w-full {
  width: 100%;
}

/* ── SCORE RANKING LIST (Helalvar Skoru) ── */
.score-list { display: flex; flex-direction: column; gap: 12px; }

.score-list-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: 16px 20px; transition: box-shadow .2s, border-color .2s;
  text-decoration: none; color: inherit;
}
.score-list-item:hover { box-shadow: var(--sh-md); border-color: transparent; }

.score-list-rank {
  font-size: 13px; font-weight: 700; color: var(--muted);
  width: 24px; text-align: center; flex-shrink: 0;
}
.score-list-rank.top { color: var(--green); }

.score-list-logo {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: var(--mid); flex-shrink: 0;
}

.score-list-info { flex: 1; min-width: 0; }
.score-list-name { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.score-list-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.score-list-star { color: var(--amber); margin-right: 3px; }

.score-list-badges { display: flex; gap: 6px; flex-shrink: 0; }

.score-box-sm {
  background: var(--green); color: white; border-radius: var(--r-md);
  width: 52px; height: 52px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.score-box-sm .num { font-size: 18px; font-weight: 800; line-height: 1; }
.score-box-sm .lbl { font-size: 8px; font-weight: 600; opacity: .8; text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }

/* Low score colors */
.score-box-sm.mid  { background: var(--amber); }
.score-box-sm.low  { background: #94A3B8; }

/* ── CRITERIA CARD with SVG ICON ── */
.crit-card {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-xl);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.crit-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); border-color: var(--green); }

.crit-icon-wrap {
  width: 48px; height: 48px; background: var(--green-bg); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.crit-icon-wrap svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.crit-title { font-size: 17px; font-weight: 700; }
.crit-desc  { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* ── GIRIS / AUTH PAGE ── */
.auth-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 40px var(--pad);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-xl); padding: 48px 40px;
  box-shadow: var(--sh-md);
}
.auth-logo {
  text-align: center; margin-bottom: 32px;
  font-size: 32px; /* Increased 30% from 24px approx */
  font-weight: 800; letter-spacing: -1px;
}
.auth-logo span { color: var(--green); }
.auth-title { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.auth-sub   { font-size: 14px; color: var(--mid); text-align: center; line-height: 1.65; margin-bottom: 32px; }
.auth-otp-inputs { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.auth-otp-inputs input {
  width: 52px; height: 56px; text-align: center; font-size: 22px; font-weight: 700;
  border: 2px solid var(--rule); border-radius: var(--r-lg); outline: none;
  transition: border-color .15s;
}
.auth-otp-inputs input:focus { border-color: var(--green); }

/* ── WRITE REVIEW PAGE ── */
.review-write-wrap { max-width: 800px; margin: 0 auto; padding: 48px var(--pad) 80px; }
.review-write-section {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-xl); padding: 32px; margin-bottom: 20px;
}
.review-write-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}

/* Star picker — improved */
.star-picker { display: flex; gap: 6px; }
.star-picker input { display: none; }
.star-picker label {
  font-size: 36px; color: var(--rule); cursor: pointer;
  transition: color .12s, transform .12s; display: block; line-height: 1;
}
.star-picker label:hover { transform: scale(1.15); }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: var(--amber); }

/* Mini score select */
.score-select-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; }
.score-select-row input { display: none; }
.score-select-row label {
  display: flex; align-items: center; justify-content: center;
  height: 40px; border: 1.5px solid var(--rule); border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; color: var(--mid);
  cursor: pointer; transition: all .15s;
}
.score-select-row input:checked + label {
  background: var(--green); color: white; border-color: var(--green);
}
.score-select-row label:hover { border-color: var(--green); color: var(--green); }

/* Char counter */
.char-counter { font-size: 12px; color: var(--muted); text-align: right; margin-top: 6px; }
.char-counter.ok { color: var(--green); }

/* ── ADMIN STYLES ── */
.admin-stat {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: 28px 32px;
}
.admin-stat-lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 8px; }
.admin-stat-num { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.admin-stat-num.green { color: var(--green); }

/* ── RESPONSIVE MOBILE ── */
@media (max-width: 768px) {
  .auth-card { padding: 32px 24px; }
  .score-list-item { padding: 14px 16px; gap: 12px; }
  .score-list-badges { display: none; }
  .score-box-sm { width: 44px; height: 44px; }
  .score-box-sm .num { font-size: 16px; }
  .review-write-section { padding: 24px 20px; }
  .crit-card { padding: 24px; }
  .score-select-row { grid-template-columns: repeat(5,1fr); gap: 4px; }
  
  /* Compact Store Header for Mobile */
  .store-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
  }
  .store-header > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .store-logo { width: 48px; height: 48px; font-size: 24px; }
  .store-name { font-size: 22px; }
  .store-meta { flex-wrap: wrap; }
  .store-desc { grid-column: 1 / span 2; margin-top: 8px; font-size: 14px; }
  .btn-wrap-mobile { grid-column: 1 / span 2; margin-top: 12px; }
  .score-box { padding: 12px; min-width: 70px; }
  .score-num { font-size: 24px; }
}

/* ── REVIEW ACTIONS ── */
.btn-edit { color: var(--mid); }
.btn-edit:hover { color: var(--black); background: var(--surface); }
.btn-delete { color: #94A3B8; }
.btn-delete:hover { color: var(--red); background: #FEF2F2; }

/* ── SEARCH AUTOCOMPLETE ── */
.search-wrap { position: relative; }
.search-suggestions {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  z-index: 1000; overflow: hidden; display: none;
}
.suggestion-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  cursor: pointer; transition: background .15s; text-decoration: none; color: inherit;
}
.suggestion-item:hover { background: var(--surface); }
.suggestion-logo {
  width: 32px; height: 32px; border-radius: 6px; background: var(--surface);
  border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--mid); flex-shrink: 0;
}
.suggestion-info { flex: 1; min-width: 0; }
.suggestion-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.suggestion-type { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }

/* ── FOOTER LOGO FIX ── */
.footer-logo {
  font-size: 26px; 
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--black);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.footer-logo span {
  color: var(--green);
}

/* ── REVIEW SCREENSHOTS ── */
.rc-screenshot {
  margin-top: 16px; 
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.rc-screenshot img {
  max-width: 120px;
  max-height: 120px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--rule);
  object-fit: cover;
  transition: transform .2s ease;
}
.rc-screenshot:hover img {
  transform: scale(1.03);
}
.rc-screenshot::after {
  content: "\1f50d"; 
  position: absolute; bottom: 6px; right: 6px;
  background: rgba(255,255,255,0.9); width: 24px; height: 24px;
  border-radius: 50%; font-size: 12px; display: flex;
  align-items: center; justify-content: center;
  box-shadow: var(--sh-sm);
}

/* Modal Lightbox */
#screenshotModal {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(15, 23, 42, 0.9); z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 40px; cursor: pointer;
}
#screenshotModal img {
  max-width: 90%; max-height: 90%;
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  cursor: default;
}

/* Home Card Screenshot */
.r-screenshot {
  margin-top: 12px;
  width: 44px !important; height: 44px !important;
  border-radius: 6px;
  border: 1.5px solid var(--rule);
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.r-screenshot img {
  width: 100% !important; height: 100% !important; object-fit: cover !important;
}


/* ── FOOTER LOGO FIX ── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  font-size: 26px; 
  font-weight: 800;
  letter-spacing: -1.5px; /* Tighter */
  color: var(--black);
  margin-bottom: 12px;
  gap: 0; /* No gap */
  line-height: 1;
}
.footer-logo span {
  color: var(--green);
  margin-left: 0;
}

/* ── Öne Çıkan Mağazalar Vitrin ── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .featured-grid { grid-template-columns: 1fr; }
}
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(245,158,11,0.15); }
  50%       { box-shadow: 0 8px 32px rgba(245,158,11,0.30); }
}
.featured-card-gold {
  animation: goldPulse 3s ease-in-out infinite;
}