﻿/* ============================================================
   AKS Laces & Patches Ã¢â‚¬â€ site stylesheet
   One file for the shop pages and the legal pages.
   ============================================================ */

:root {
  --pink: #EE9EA9;
  --pink-dark: #d97f8b;
  --pink-deep: #c4677a;
  --pink-soft: #FFF6F7;
  --pink-line: #F6DDE1;
  --ink: #2C2C2C;
  --ink-soft: #5A5A5A;
  --muted: #7A7A7A;
  --line: #ECECEC;
  --bg: #FAFAFA;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 2px 14px rgba(0, 0, 0, .05);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, .09);
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a { color: var(--pink-deep); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 22px; }

/* ---------------- header ---------------- */

header.site {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: contain;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-text strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: .6px;
}

.brand-text span {
  font-size: 11px;
  font-weight: 600;
  color: #8A8A8A;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-top: 5px;
}

nav.main { display: flex; align-items: center; gap: 26px; }

nav.main a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

nav.main a:hover { color: var(--pink-deep); }

nav.main a.active {
  color: var(--pink-deep);
  border-bottom-color: var(--pink);
}

.header-cta {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.header-cta:hover { background: var(--pink-dark); }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: #F3D9DD;
  padding: 92px 0 100px;
  text-align: center;
}

/* The photograph, held back so the text stays readable. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: .18;
}

/* Warm wash over the photo. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(255, 255, 255, .55) 0%,
      rgba(238, 158, 169, .45) 55%,
      rgba(238, 158, 169, .70) 100%);
}

.hero > .wrap { position: relative; z-index: 2; }

.hero h1 {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -1px;
  color: #3A2226;
  text-shadow: 0 1px 14px rgba(255, 255, 255, .8);
}

.hero p.lede {
  margin: 0 auto 32px;
  max-width: 600px;
  font-size: 18px;
  color: #522F35;
  text-shadow: 0 1px 10px rgba(255, 255, 255, .75);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, transform .1s;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 4px 16px rgba(214, 100, 120, .3); }
.btn-primary:hover { background: var(--pink-dark); }

.btn-outline { background: #fff; color: var(--pink-deep); border: 1.5px solid var(--pink); }
.btn-outline:hover { background: var(--pink-soft); }

.btn-ghost { background: rgba(255, 255, 255, .75); color: var(--ink); border: 1.5px solid rgba(255, 255, 255, .95); }
.btn-ghost:hover { background: #fff; }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---------------- sections ---------------- */

section.band { padding: 68px 0; }
section.band.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: 40px; }

.section-head h2 {
  margin: 0 0 10px;
  font-size: 31px;
  letter-spacing: -.5px;
}

.section-head p {
  margin: 0 auto;
  max-width: 580px;
  color: var(--muted);
  font-size: 16.5px;
}

/* ---------------- controls ---------------- */

.controls {
  display: grid;
  grid-template-columns: 1fr 210px 200px;
  gap: 12px;
  margin-bottom: 20px;
}

.controls input,
.controls select {
  font: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.controls input:focus,
.controls select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(238, 158, 169, .2);
}

.count { color: var(--muted); font-size: 14px; margin: 0 0 20px; }

/* ---------------- product grid ---------------- */

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F3F3F3;
  overflow: hidden;
}

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

.card-media .noimg {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: #C4C4C4; font-size: 13px;
}

.badge {
  position: absolute;
  top: 11px; left: 11px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 4px 11px;
  border-radius: 20px;
  text-transform: uppercase;
}

.tag-out {
  position: absolute;
  top: 11px; right: 11px;
  background: rgba(44, 44, 44, .82);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 7px;
}

.card h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--pink-deep); }

.meta { color: var(--muted); font-size: 12.5px; margin: 0; }

.price { font-weight: 800; font-size: 17.5px; color: var(--pink-deep); margin: 3px 0 0; }
.price small { font-weight: 600; font-size: 12px; color: var(--muted); }

.buy {
  margin-top: auto;
  display: block;
  text-align: center;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.buy:hover { background: var(--pink-dark); }

.buy[disabled], .buy.out {
  background: #E8E8E8;
  color: #9A9A9A;
  pointer-events: none;
}

.empty { color: var(--muted); padding: 50px 0; text-align: center; }

/* ---------------- forms ---------------- */

.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.field { margin-bottom: 17px; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.field textarea { min-height: 92px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(238, 158, 169, .2);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }

.err {
  background: #FDECEE;
  border-left: 3px solid #D9534F;
  color: #A33;
  padding: 13px 16px;
  border-radius: 9px;
  font-size: 14px;
  margin-bottom: 18px;
}

.err:empty { display: none; }

/* ---------------- option chips ---------------- */

.opt-label {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 9px;
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }

.chip {
  padding: 10px 17px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: inherit;
}

.chip:hover { border-color: var(--pink); }

.chip.sel {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

/* ---------------- lace detail ---------------- */

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.detail-image {
  background: #F3F3F3;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
}

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

.detail h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.6px; }

.detail .price { font-size: 26px; margin: 14px 0 20px; }

.spec {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.spec li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { font-weight: 600; }

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 2px solid var(--line);
  margin: 6px 0 20px;
  font-size: 15px;
  color: var(--muted);
}

.total-row strong { font-size: 24px; color: var(--pink-deep); font-weight: 800; }

/* ---------------- order summary / confirmation ---------------- */

.summary {
  background: var(--pink-soft);
  border: 1px solid var(--pink-line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 24px;
}

.summary h3 { margin: 0 0 14px; font-size: 15px; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); }

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 14.5px;
}

.summary-row span:first-child { color: var(--muted); }
.summary-row span:last-child { font-weight: 600; text-align: right; }

.confirmed { text-align: center; padding: 30px 0 10px; }

.tick {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: #EAF8EF;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}

.tick svg { width: 46px; height: 46px; stroke: #2E9E5B; }

.confirmed h1 { margin: 0 0 12px; font-size: 32px; letter-spacing: -.5px; }

.confirmed > p { color: var(--muted); font-size: 16.5px; max-width: 520px; margin: 0 auto 8px; }

.order-no {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--pink-line);
  border-radius: var(--radius-sm);
  padding: 14px 26px;
  margin: 22px 0 26px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--pink-deep);
}

/* ---------------- info / legal pages ---------------- */

main.doc { padding: 68px 0 80px; }

.card-doc {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 32px;
  margin-bottom: 22px;
}

.doc h2 { margin: 0 0 8px; font-size: 26px; }
.doc h3 { margin: 28px 0 10px; font-size: 17px; }
.doc h3:first-of-type { margin-top: 16px; }
.doc p { margin: 0 0 14px; color: var(--ink-soft); }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 24px; color: var(--ink-soft); }
.doc li { margin-bottom: 8px; }
.doc .updated { font-size: 13px; color: #9A9A9A; margin-bottom: 24px; }

.callout {
  background: var(--pink-soft);
  border-left: 3px solid var(--pink);
  border-radius: 9px;
  padding: 16px 18px;
  margin: 0 0 20px;
}

.callout p { margin: 0; color: var(--ink); font-size: 15px; }

.doc table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }

.doc th, .doc td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.doc th {
  background: #FCFCFC;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #888;
}

.doc td { color: var(--ink-soft); }

/* ---------------- contact / about blocks ---------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.feature-list { list-style: none; margin: 0; padding: 0; }

.feature-list li {
  display: flex;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15.5px;
}

.feature-list li:last-child { border-bottom: 0; }

.feature-list .dot {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-deep);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  margin-top: 2px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  text-align: center;
}

.contact-card .ic { font-size: 26px; margin-bottom: 10px; }
.contact-card h3 { margin: 0 0 6px; font-size: 16px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.contact-card a { text-decoration: none; font-weight: 600; }

/* ---------------- footer ---------------- */

footer.site {
  background: #2C2C2C;
  color: #C9C9C9;
  padding: 52px 0 34px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

footer.site h4 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

footer.site p { margin: 0 0 10px; font-size: 14.5px; color: #B4B4B4; }

footer.site a { color: #D8D8D8; text-decoration: none; font-size: 14.5px; }
footer.site a:hover { color: var(--pink); }

footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 9px; }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 10px; }
.footer-brand strong { color: #fff; font-size: 16px; }

.footer-bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  color: #8E8E8E;
}

/* ---------------- responsive ---------------- */

@media (max-width: 900px) {
  .detail, .two-col { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 34px; }
}

@media (max-width: 760px) {
  .header-inner { height: auto; padding: 13px 0; flex-wrap: wrap; }
  nav.main { gap: 16px; order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  nav.main a { font-size: 14px; white-space: nowrap; }
  .header-cta { padding: 9px 15px; font-size: 13px; }
  .brand img { width: 38px; height: 38px; }
  .brand-text strong { font-size: 19px; }
  .brand-text span { font-size: 10px; letter-spacing: .9px; }

  .hero { padding: 62px 0 68px; }
  .hero h1 { font-size: 27px; }
  .hero p.lede { font-size: 15.5px; }

  section.band { padding: 44px 0; }
  main.doc { padding: 44px 0 60px; }
  .section-head h2 { font-size: 24px; }

  .controls { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 13px; }
  .card h3 { font-size: 14px; }
  .price { font-size: 15.5px; }
  .buy { font-size: 13.5px; padding: 10px; }
  .card-body { padding: 12px 12px 13px; }

  .panel, .card-doc { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .detail h1 { font-size: 23px; }
  .confirmed h1 { font-size: 25px; }
}
