/* ============================================
   BENE CRAFT — stylesheet
   Continuous single gradient runs the full
   height of the document: black at the very
   top of the page, coffee brown at the very
   bottom. It is NOT repeated per-section.
   ============================================ */

:root {
  --black: #0d0b0a;
  --brown-deep: #1c120c;
  --brown-end: #763d08;
  --gold: #c9a35d;
  --gold-bright: #e8cd93;
  --gold-dim: #8a6a3a;
  --orange: #d9822b;
  --cream: #f3ede1;
  --muted: #cdbea3;
  --muted-dim: #a89478;
  --rule: rgba(201, 163, 93, 0.28);
  --container: 1180px;

  --font-display: "Playfair Display", "Noto Serif Georgian", serif;
  --font-body: "Inter", "Noto Sans Georgian", sans-serif;
  --font-ka: "Noto Sans Georgian", "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  /* Fixed to the viewport: looks identical at any scroll position,
     it does not scroll along with the page content. */
  background-image: linear-gradient(
    to bottom,
    var(--black) 0%,
    var(--black) 25%,
    var(--brown-end) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.logo .craft { color: var(--gold); font-weight: 400; }

.nav-contact {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-contact:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 16px 0 60px;
}

.hero-logo {
  width: clamp(340px, 46vw, 480px);
  margin: 0 auto;
}

.hero-production {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 92px);
  letter-spacing: 0.05em;
  margin: 30px 0 0;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Product rows ---------- */

.products {
  padding: 40px 0 60px;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
}

.product-row:not(:last-child) {
  border-bottom: 1px solid rgba(201, 163, 93, 0.12);
}

.product-row.reverse .product-media { order: 2; }
.product-row.reverse .product-copy { order: 1; }

.product-media {
  border-radius: 30px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 6 / 7;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.eyebrow .index {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--orange);
  font-size: 15px;
  letter-spacing: 0.05em;
}

.eyebrow .rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--cream);
  margin: 0 0 20px;
}

.product-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 40ch;
  margin: 0 0 30px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn-buy {
  font-family: var(--font-ka);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--black);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  padding: 12px 30px;
  border-radius: 2px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(201, 163, 93, 0.55);
}

.link-contact {
  font-family: var(--font-ka);
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link-contact:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.contact-details {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 163, 93, 0.12);
}

.contact-details a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 9px 14px;
  border: 1px solid rgba(201, 163, 93, 0.18);
  border-radius: 3px;
  background: rgba(201, 163, 93, 0.04);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.contact-details a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--gold-dim);
  transition: stroke 0.2s ease;
}

.contact-details a .arrow {
  margin-left: auto;
  color: var(--gold-dim);
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-details a:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  background: rgba(201, 163, 93, 0.1);
  transform: translateX(2px);
}

.contact-details a:hover svg { stroke: var(--gold-bright); }
.contact-details a:hover .arrow { color: var(--gold-bright); transform: translateX(3px); }

/* ---------- Footer CTA ---------- */

.footer-cta {
  padding: 100px 0 60px;
  border-top: 1px solid rgba(201, 163, 93, 0.12);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  text-align: left;
  align-items: start;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.footer-logo .logo-text .craft { color: var(--orange); font-weight: 400; }

.footer-logo .copyright {
  font-size: 12px;
  color: var(--muted-dim);
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid rgba(201, 163, 93, 0.12);
  padding-bottom: 14px;
}

.info-row .col-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  white-space: nowrap;
}

.info-row .col-value {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--cream);
  text-align: right;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 163, 93, 0.12);
}

.footer-bottom-bar .made-by {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-dim);
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .product-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0;
  }
  .product-row.reverse .product-media,
  .product-row.reverse .product-copy { order: initial; }

  .footer-columns { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero { padding: 16px 0 40px; }
  .hero-production { margin-top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-media img { transition: none; }
}

/* ---------- Admin edit mode (owner-only, password gated) ---------- */

#admin-edit-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 93, 0.35);
  background: rgba(13, 11, 10, 0.85);
  color: var(--gold-dim);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
}

#admin-edit-btn:hover {
  opacity: 1;
  color: var(--gold-bright);
}

#admin-toolbar {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 11, 10, 0.95);
  border: 1px solid rgba(201, 163, 93, 0.35);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
}

#admin-toolbar button {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--black);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border: none;
  border-radius: 2px;
  padding: 7px 12px;
  cursor: pointer;
}

#admin-toolbar #admin-exit-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(201, 163, 93, 0.3);
}

.admin-editing {
  outline: 1px dashed rgba(201, 163, 93, 0.6);
  outline-offset: 3px;
  background: rgba(201, 163, 93, 0.06);
  cursor: text;
}

@media (max-width: 640px) {
  #admin-toolbar {
    left: 18px;
    right: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
}