@charset "utf-8";
/* ============================================================
   ΕΛΛΗΝΙΚΗ ΑΓΟΡΑ ΧΡΥΣΟΥ — site design system
   Replaces the old Shiphile template CSS (framework.css / layout.css)
   and the per-page <style> blocks.
   ============================================================ */

/* ---- Fonts (self-hosted, greek+latin subsets) ---- */
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/literata-v40-greek_latin-500.f711dfe46a9b.woff2") format('woff2');
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/literata-v40-greek_latin-600.9efbe9f18381.woff2") format('woff2');
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/literata-v40-greek_latin-700.a476840045ca.woff2") format('woff2');
}

/* ---- Tokens ---- */
:root {
  --paper: #faf7f1;        /* warm ivory page background */
  --card: #ffffff;
  --ink: #26211a;          /* near-black warm text */
  --muted: #6e6659;
  --line: #e7dfd1;
  --gold: #a07c1f;         /* gold for text/borders on light bg */
  --gold-deep: #7e6119;    /* accessible gold text */
  --gold-bright: #d9b64a;  /* gold on dark surfaces */
  --gold-btn: #c9a227;     /* button fill */
  --dark: #1d1a14;         /* header / footer / hero */
  --dark-2: #27221a;
  --dark-line: rgba(217, 182, 74, .22);
  --ink-on-dark: #efe9dd;
  --muted-on-dark: #b3aa99;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 1px 2px rgba(38, 33, 26, .06), 0 6px 24px rgba(38, 33, 26, .07);
  --radius: 10px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-y: scroll; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: none; vertical-align: middle; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

.shell { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-gold { background: var(--gold-btn); border-color: var(--gold-btn); color: #241e10; }
.btn-gold:hover { background: #b8931f; border-color: #b8931f; }
.btn-ghost { background: transparent; border-color: rgba(217, 182, 74, .55); color: var(--gold-bright); }
.btn-ghost:hover { border-color: var(--gold-bright); background: rgba(217, 182, 74, .08); }
.btn-ghost-dark { background: transparent; border-color: #cfc5b0; color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(160, 124, 31, .05); }
.btn i { font-size: .92em; }

/* ---- Original brand banner ---- */
.site-banner { background: #ffffff; }
.site-banner a { display: block; max-width: 1171px; margin: 0 auto; }
.site-banner img { display: block; width: 100%; height: auto; margin: 0; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-line);
}
.site-header .shell {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  max-width: 1280px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none !important;
  color: var(--ink-on-dark);
  flex-shrink: 0;
}
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-name {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .06em;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .32em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-top: 2px;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: 10px 11px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--muted-on-dark);
  text-decoration: none !important;
  border-radius: 6px;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--ink-on-dark); }
.site-nav a.active { color: var(--gold-bright); }
.header-phone { flex-shrink: 0; padding: 11px 20px; font-size: 14.5px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  color: var(--ink-on-dark);
  font-size: 18px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

@media (max-width: 950px) {
  .site-header .shell { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-phone { display: none; }
  .site-nav { display: none; flex-basis: 100%; margin: 0; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .site-nav a { padding: 13px 8px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .site-nav li:last-child a { border-bottom: none; }
}

/* ---- Hero ---- */
.hero {
  background: var(--dark);
  background-image: radial-gradient(1100px 460px at 78% -10%, rgba(217, 182, 74, .13), transparent 60%),
                    radial-gradient(700px 380px at 8% 110%, rgba(217, 182, 74, .07), transparent 55%);
  color: var(--ink-on-dark);
  padding: 72px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  gap: 56px;
  align-items: start;
}
.hero-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 700;
  color: #f7f2e7;
  margin-bottom: 20px;
}
.hero p { color: #cfc7b8; font-size: 16.5px; max-width: 56ch; }
.hero p strong { color: #ece4d2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.price-card {
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 22px;
}
.price-card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.price-card-title h2, .price-card-title h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--ink-on-dark);
  margin: 0;
}
.price-card-title span { font-size: 11.5px; color: var(--muted-on-dark); }
.price-card-frame { border-radius: 7px; overflow: hidden; background: #fff; }
.price-card-note { margin: 12px 0 0; font-size: 12px; color: var(--muted-on-dark); }
.price-card-note a { color: var(--gold-bright); }

/* ---- Trust strip ---- */
.trust-strip { border-top: 1px solid var(--dark-line); background: var(--dark-2); }
.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 20px 0;
  list-style: none;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-on-dark);
  font-size: 13.5px;
  line-height: 1.4;
}
.trust-strip i { color: var(--gold-bright); font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.trust-strip b { color: var(--ink-on-dark); font-weight: 600; display: block; }

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section.alt { background: #f3eee3; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3vw, 31px); font-weight: 600; margin-bottom: 12px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .rule {
  display: block;
  width: 52px;
  height: 3px;
  margin: 0 auto 18px;
  background: var(--gold-btn);
  border-radius: 2px;
}

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.info-card i { font-size: 22px; color: var(--gold); margin-bottom: 16px; display: block; }
.info-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: 15px; margin: 0; }
.info-card .info-card-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-bright);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---- Page head (inner pages) ---- */
.page-head {
  background: var(--dark);
  background-image: radial-gradient(900px 320px at 82% -30%, rgba(217, 182, 74, .12), transparent 60%);
  color: var(--ink-on-dark);
  padding: 52px 0 46px;
}
.page-head h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; color: #f7f2e7; margin: 0; }
.page-head p { margin: 10px 0 0; color: var(--muted-on-dark); font-size: 16px; }

/* ---- Coin cards / listing ---- */
.coin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.coin-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color .18s ease, transform .18s ease;
}
.coin-card:hover { border-color: #d3bd7e; transform: translateY(-3px); }
.coin-card-media {
  background: #f5f1e7;
  padding: 26px;
  text-align: center;
  cursor: zoom-in;
}
.coin-card-media img { height: 168px; width: auto; max-width: 100%; object-fit: contain; margin: 0; }
.coin-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.coin-card-body h2, .coin-card-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.coin-card-body h2 a, .coin-card-body h3 a { color: var(--ink); text-decoration: none; }
.coin-card-body h2 a:hover, .coin-card-body h3 a:hover { color: var(--gold-deep); }
.coin-card-desc { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.coin-specs { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13.5px; }
.coin-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.coin-specs dt, .coin-specs .k { color: var(--muted); }
.coin-specs dd, .coin-specs .v { margin: 0; font-weight: 600; text-align: right; }
.coin-card-more { margin-top: 14px; font-weight: 600; font-size: 14px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 48px 0 0; padding: 0; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-deep); }
.pagination .active span { background: var(--dark); border-color: var(--dark); color: var(--gold-bright); }
.pagination .disabled span { color: #c4bbaa; }

/* ---- Coin detail ---- */
.coin-detail { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 44px; align-items: start; }
.coin-detail-media {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.coin-detail-media img { max-height: 340px; width: auto; margin: 0; }
.coin-detail-media figcaption { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.coin-detail-body h1 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 6px; }
.coin-detail-country { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.coin-detail-body .desc { font-size: 15.5px; }
.spec-table { margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table caption {
  text-align: left;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 18px;
  background: #f5f1e7;
  border-bottom: 1px solid var(--line);
}
.spec-table th, .spec-table td { padding: 11px 18px; font-size: 14.5px; text-align: left; border: none; }
.spec-table tr + tr th, .spec-table tr + tr td { border-top: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 500; width: 38%; }
.spec-table td { font-weight: 600; }
.coin-detail-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 26px; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 24px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 18px 24px 22px; color: #4c4539; font-size: 15px; }
.faq-answer strong { color: var(--ink); }
.faq-answer p:last-child { margin-bottom: 0; }

/* CTA panel (faq footer, 404, etc.) */
.cta-panel {
  background: var(--dark);
  color: var(--ink-on-dark);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
  margin-top: 52px;
}
.cta-panel h3 { color: #f7f2e7; font-size: 22px; margin-bottom: 10px; }
.cta-panel p { color: var(--muted-on-dark); max-width: 52ch; margin: 0 auto 24px; }
.cta-panel .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Contact / Find us ---- */
.contact-grid { display: grid; grid-template-columns: minmax(300px, 1fr) 1.2fr; gap: 28px; align-items: stretch; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
.contact-card + .contact-card { margin-top: 22px; }
.contact-card h2, .contact-card h3 { font-size: 16.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.contact-card h2 i, .contact-card h3 i { color: var(--gold); font-size: 15px; }
.contact-line { display: flex; align-items: flex-start; gap: 13px; padding: 7px 0; font-size: 15px; }
.contact-line i { color: var(--gold); width: 18px; text-align: center; margin-top: 4px; flex-shrink: 0; }
.contact-line a { font-weight: 600; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--muted); }
.hours-row .time { font-weight: 600; }
.hours-row .closed { color: #a89e8d; font-weight: 500; }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: none; display: block; }

/* ---- 404 ---- */
.error-wrap { padding: 90px 0; text-align: center; }
.error-wrap .code {
  font-family: var(--serif);
  font-size: 90px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}
.error-wrap h1 { font-size: 26px; margin-bottom: 12px; }
.error-wrap p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.error-wrap .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Image lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 13, 9, .95);
  padding: 24px;
}
.lightbox.open { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.lightbox img { max-width: min(92vw, 760px); max-height: 80vh; width: auto; height: auto; border-radius: 8px; }
.lightbox figcaption { color: #e8e0cf; font-family: var(--serif); font-size: 16px; text-align: center; }
.lightbox .lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #e8e0cf;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.lightbox .lightbox-close:hover { color: var(--gold-bright); }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: var(--muted-on-dark); margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 44px;
  padding: 58px 0 46px;
}
.site-footer h2, .site-footer h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer .contact-line { color: var(--muted-on-dark); }
.site-footer .contact-line i { color: var(--gold-bright); }
.site-footer .contact-line a { color: var(--ink-on-dark); font-weight: 500; }
.site-footer .contact-line a:hover { color: var(--gold-bright); }
.site-footer .hours-row { border-color: rgba(255, 255, 255, .07); }
.site-footer .hours-row .day { color: var(--muted-on-dark); }
.site-footer .hours-row .time { color: var(--ink-on-dark); }
.site-footer .price-card { padding: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}
.footer-bottom a { color: var(--muted-on-dark); }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ---- Legacy admin pages (panel / addCoin / addWatch / watches) ---- */
.wrapper { display: block; position: relative; width: 100%; }
.hoc { display: block; max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.container { padding: 60px 0; }
.clear::before, .clear::after, .group::before, .group::after { display: table; content: ""; }
.clear::after, .group::after { clear: both; }
.row3 { background: var(--paper); }
label, input, textarea, select, button { font-family: inherit; font-size: inherit; }
.panel-page input[type="text"], .panel-page input[type="password"], .panel-page textarea {
  display: block;
  width: 100%;
  max-width: 480px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 950px) {
  .hero { padding: 52px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .card-grid, .steps, .coin-grid { grid-template-columns: repeat(2, 1fr); }
  .coin-detail { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 52px 0; }
  .card-grid, .steps, .coin-grid { grid-template-columns: 1fr; }
  .trust-strip ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-cta .btn { width: 100%; }
  .cta-panel { padding: 34px 22px; }
}
