@import url('https://fonts.googleapis.com/css2?family=Lora:wght@700&family=Poppins:wght@500&display=swap');

/* Black and white only. Mirrors the AKOLLMAN Squarespace layout. */
:root {
  --white: #ffffff;
  --black: #000000;
  --grey-tile: #ececec;
  --grey-text: #8a8a8a;
  --grey-line: #cfcfcf;
  --display: "Lora", Georgia, "Times New Roman", serif;   /* headers, big name: 700 */
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;  /* body, nav, buttons, footer: 500 */
  --gutter: 58px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}

/* Header */
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--black);
  position: relative;
}
.brand img { height: 54px; width: auto; }
.nav-wrap { display: flex; align-items: center; gap: 30px; }
.site-nav { display: flex; gap: 22px; }
.site-nav a, .cart {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a { padding: 2px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--black); }
.cart { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; }
.cart svg { width: 22px; height: 22px; }
.menu-toggle, .menu-button { display: none; }

/* Banner 1: giant wordmark */
.wordmark {
  padding: 92px var(--gutter) 100px;
  border-bottom: 1px solid var(--black);
}
.wordmark h1 {
  font-size: 6vw;
  white-space: nowrap;
  text-align: center;
}
.wordmark h1 span { display: inline; }

/* Section headings like AKOLLMAN's h2 */
.section { padding: 54px var(--gutter) 64px; text-align: center; }
.section h2 { font-size: 59px; margin-bottom: 28px; }

/* Outline buttons with an arrow */
.buttons { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 22px; }
.btn {
  display: inline-block;
  padding: 15px 21px;
  border: 1px solid var(--black);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--black); color: var(--white); }
.btn.light { border-color: var(--white); color: var(--white); }
.btn.light:hover { background: var(--white); color: var(--black); }

/* Grey placeholder grid */
.grid { display: grid; gap: 20px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.tile {
  aspect-ratio: 434 / 502;
  background: var(--grey-tile);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  color: var(--grey-text);
  font-family: var(--sans);
  font-size: 14px;
  text-align: center;
}
.item { text-align: left; }
.item .tile { aspect-ratio: 310 / 413; }
.item .name {
  font-family: var(--display); font-weight: 700;
  font-size: 16px; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--grey-text);
  margin: 22px 0 4px;
}
.item .price { font-family: var(--sans); color: var(--grey-text); margin: 0; }

.custom-line { margin: 26px 0 0; font-size: 15px; }
.custom-line a, a.inline { border-bottom: 1px solid var(--black); }

/* Full-bleed photo banner placeholders, AKOLLMAN proportions (1440 x 502) */
.banner-ph {
  width: 100%;
  aspect-ratio: 1440 / 502;
  background: var(--grey-tile);
  color: var(--grey-text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 15px;
}
.banner-magpies .banner-ph { margin-top: 40px; }

/* Full-bleed photo banners, shown in greyscale (black and white site) */
.banner-photo { display: block; width: 100%; aspect-ratio: 1440 / 502; overflow: hidden; background: var(--grey-tile); }
.banner-photo img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.color-photos .banner-photo img { filter: none; }
/* Focal points: keep face and necklace in frame */
.banner-photo.top img { object-position: 70% 10%; }
.banner-photo.under img { object-position: 30% 0%; }
.banner-magpies .banner-photo { margin-top: 40px; }

/* Banner 2: full-bleed magpie strip, framed by rules */
.banner-magpies {
  border-top: 1px solid var(--black);
  padding: 54px 0 64px;
  text-align: center;
}
.banner-magpies h2 { font-size: 59px; padding: 0 var(--gutter); margin-bottom: 40px; }
.banner-magpies .strip { width: 100%; padding: 0 20px; }
.banner-magpies .strip img { width: 100%; }

/* Footer: black block, white type */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 70px var(--gutter) 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 120px;
  font-size: 14.3px;
}
.site-footer h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 16px; letter-spacing: 0.01em; text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-direction: column; line-height: 1.35; }
.site-footer nav a { text-decoration: underline; text-transform: uppercase; }
.site-footer .legal { grid-column: 1 / -1; color: #bdbdbd; }

/* Inner pages */
.page { padding: 34px var(--gutter) 96px; }
.page .grid.four { gap: 34px 20px; }
.page .lede { text-align: center; font-size: 15px; margin: 0 0 34px; }
.page-title { padding: 54px var(--gutter) 0; text-align: center; }
.page-title h1 { font-size: 59px; }
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.contact-form label { font-size: 14px; display: grid; gap: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  font: 500 15px var(--sans);
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 0;
  color: var(--black);
  appearance: none;
  width: 100%;
  min-width: 0;
}
.contact-form button { justify-self: start; margin-top: 6px; }

/* Mobile */
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .site-header { height: 82px; }
  .brand img { height: 44px; }
  .nav-wrap { gap: 20px; }
  .cart { margin-left: 0; order: 1; }
  .menu-button {
    display: block; order: 2; width: 36px; height: 20px; cursor: pointer;
    background: linear-gradient(var(--black), var(--black)) top / 100% 1.5px no-repeat,
                linear-gradient(var(--black), var(--black)) bottom / 100% 1.5px no-repeat;
  }
  .site-nav {
    display: none;
    position: absolute; top: 82px; left: 0; right: 0; z-index: 5;
    flex-direction: column; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--black);
    padding: 8px var(--gutter) 16px;
  }
  .site-nav a { padding: 10px 0; font-size: 16px; border: 0; }
  .menu-toggle:checked ~ .site-nav { display: flex; }

  .wordmark { padding: 34px var(--gutter) 58px; }
  .wordmark h1 { white-space: normal; line-height: 0.96; text-align: left; }
  .wordmark h1 span { display: block; }
  .section h2, .banner-magpies h2, .page-title h1 { font-size: 40px; }
  .grid.four { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .page .grid.four { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .item .name { font-size: 13px; margin-top: 14px; }
  .item .price { font-size: 14px; }
  .banner-magpies .strip { padding: 0 6px; }
  .banner-ph { aspect-ratio: 390 / 410; }
  .banner-magpies .banner-ph { margin-top: 28px; }
  .banner-photo { aspect-ratio: 390 / 410; }
  .banner-photo.top img { object-position: 90% 50%; }
  .banner-photo.under img { object-position: 14% 50%; }
  .banner-magpies .banner-photo { margin-top: 28px; }
  .site-footer { grid-template-columns: 1fr; gap: 34px; padding: 50px var(--gutter) 40px; }
}

/* ---- Live store (preview build) ---- */
.product-card { display: block; color: inherit; }
.tile.photo { padding: 0; background: var(--grey-tile); overflow: hidden; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.product-card:hover .tile.photo img { opacity: .85; }
.products .item .name, .products .item .price { color: var(--black); }
.shop-now .products .item { text-align: left; }
.shop-now .products .tile { aspect-ratio: 310 / 413; }

.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; padding-top: 54px; }
.product-gallery { display: grid; gap: 14px; }
.product-gallery img { width: 100%; background: var(--grey-tile); }
.product-info { position: sticky; top: 24px; }
.product-info h1 { font-size: 40px; margin-bottom: 14px; }
.product-price { font-size: 18px; margin: 0 0 26px; }
.product-options { margin: 0 0 24px; max-width: none; }
.product-info .btn { width: 100%; text-align: center; }
.btn:disabled { opacity: .45; cursor: default; background: transparent; color: var(--black); }
.added { min-height: 1.6em; margin: 12px 0 0; }
.product-desc { margin: 18px 0 24px; border-top: 1px solid var(--black); padding-top: 18px; }
.product-desc p { margin: 0 0 10px; }

.cart-page { max-width: 860px; margin: 0 auto; }
.cart-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--grey-line); }
.cart-row img { width: 110px; aspect-ratio: 310 / 413; object-fit: cover; background: var(--grey-tile); }
.cart-row .name { font-family: var(--display); font-weight: 700; text-transform: uppercase; margin: 0 0 4px; }
.cart-row .variant, .cart-row .price { margin: 0; font-size: 14px; }
.cart-row .variant { color: #555; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { font: 500 15px var(--sans); background: none; border: 1px solid var(--black); width: 34px; height: 34px; cursor: pointer; color: var(--black); }
.qty button.remove { width: auto; border: 0; border-bottom: 1px solid var(--black); height: auto; padding: 0; margin-left: 8px; font-size: 13px; }
.cart-total { text-align: right; padding-top: 26px; }
.cart-total p { margin: 0 0 6px; font-size: 17px; }
.cart-total .note { font-size: 13px; color: #555; margin-bottom: 20px; }
.checkout-msg { min-height: 1.4em; font-size: 14px; }

@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .product-info { position: static; }
  .product-info h1 { font-size: 30px; }
  .cart-row { grid-template-columns: 80px 1fr; }
  .cart-row img { width: 80px; }
  .qty { grid-column: 2; }
  .cart-total .btn { width: 100%; text-align: center; }
}

/* Contact form (live site) */
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form select {
  background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 2px solid #000; outline-offset: 2px; }
.contact-form .btn { background: transparent; cursor: pointer; justify-self: start; }
.contact-form .btn:hover { background: var(--black); color: var(--white); }
.contact-form .btn:disabled { opacity: .45; cursor: default; background: transparent; color: var(--black); }
.form-status { margin: 4px 0 0; font-size: 15px; min-height: 1.4em; }
.form-status.ok { border-left: 3px solid #000; padding-left: 12px; }
.form-status.error { border-left: 3px solid #000; padding-left: 12px; text-decoration: underline; text-decoration-style: dotted; }
