/* The Sultan of Copper. Palette from the products: porcelain, İznik cobalt and turquoise, copper. */
@font-face { font-family: "Gloock"; src: url("/fonts/gloock-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gloock"; src: url("/fonts/gloock-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Karla"; src: url("/fonts/karla-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karla"; src: url("/fonts/karla-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Karla"; src: url("/fonts/karla-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/fonts/karla-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karla"; src: url("/fonts/karla-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --porcelain: #f4f6f5;
  --white: #ffffff;
  --ink: #1b2230;
  --muted: #586273;
  --line: #d6dcde;
  --cobalt: #1d3a6e;
  --turquoise: #1f7f80;
  --copper: #a85d24;
  --copper-dark: #85461a;
  --display: "Gloock", Georgia, "Times New Roman", serif;
  --text: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Eight-point star tile (two overlapping squares), as on Ottoman İznik tiles. */
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%231d3a6e'/%3E%3Cg transform='translate(16 16)' fill='%231f7f80'%3E%3Crect x='-7' y='-7' width='14' height='14'/%3E%3Crect x='-7' y='-7' width='14' height='14' transform='rotate(45)'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='3' fill='%23f4f6f5'/%3E%3Ccircle cx='0' cy='0' r='2.5' fill='%23a85d24'/%3E%3Ccircle cx='32' cy='0' r='2.5' fill='%23a85d24'/%3E%3Ccircle cx='0' cy='32' r='2.5' fill='%23a85d24'/%3E%3Ccircle cx='32' cy='32' r='2.5' fill='%23a85d24'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquoise); text-underline-offset: 0.15em; }
a:hover { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; border-radius: 2px; }

h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.15; color: var(--cobalt); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin: 0 0 0.35em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.small { font-size: 0.92rem; color: var(--muted); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 32px 20px; }
@media (min-width: 760px) { .section { padding-top: 56px; padding-bottom: 56px; } }
.wrap.section { padding-left: 20px; padding-right: 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--white); padding: 8px 12px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cobalt); font-family: var(--display); font-size: 1.35rem; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.site-header nav ul { list-style: none; display: flex; gap: 4px 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current] { border-bottom-color: var(--copper); color: var(--ink); }

/* Buttons */
.button {
  display: inline-block; padding: 13px 26px; border-radius: 6px; border: 2px solid var(--copper);
  background: var(--copper); color: var(--white); text-decoration: none; font-weight: 600; text-align: center;
}
.button:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: var(--white); }
.button.secondary { background: transparent; color: var(--cobalt); border-color: var(--cobalt); }
.button.secondary:hover { background: var(--cobalt); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Tile band: the one decorative element */
.tile-band { height: 32px; background: var(--tile) repeat-x left center / 32px 32px; }

/* Hero */
.hero { background: var(--white); }
.hero-grid { display: grid; gap: 32px; align-items: end; padding-top: 40px; }
.hero-text { padding-bottom: 32px; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; max-width: 520px; margin-left: auto;
  border-radius: 50% 50% 0 0 / 34% 34% 0 0; /* Ottoman arch */
}
.hero-photo figcaption { max-width: 520px; margin: 10px 0 12px auto; font-size: 0.92rem; text-align: right; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 56px; }
  .hero-text { padding-bottom: 96px; }
}

/* Collections */
.collections { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.collections a { display: block; text-decoration: none; color: var(--ink); }
.collections img { width: 100%; border-radius: 6px; margin-bottom: 12px; }
.collection-name { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--cobalt); }
.collection-count { color: var(--muted); font-size: 0.95rem; }
.collections a:hover .collection-name { text-decoration: underline; }
@media (min-width: 700px) { .collections { grid-template-columns: repeat(3, 1fr); } }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card a { text-decoration: none; color: var(--ink); }
.card img { width: 100%; border-radius: 6px; background: var(--line); margin-bottom: 10px; }
.card h3 { font-weight: 400; font-size: 1rem; }
.card a:hover h3 { text-decoration: underline; }
.card-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; font-size: 0.9rem; color: var(--muted); margin: 0; }
.price { font-family: var(--display); font-size: 1.2rem; color: var(--copper); }
.soldout { color: var(--muted); font-weight: 600; }

/* Facts */
.facts { display: grid; gap: 28px; }
.facts > div { border-top: 3px solid var(--copper); padding-top: 14px; }
.facts p { color: var(--muted); margin: 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.about-teaser p { max-width: 62ch; }

/* Page heads and prose */
.page-head { margin-bottom: 36px; }
.page-head .lead { max-width: 60ch; }
.prose { max-width: 760px; }
.prose p, .prose li { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.6em; }
.table { border-collapse: collapse; width: 100%; max-width: 520px; margin-bottom: 1em; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table th { font-weight: 600; }
.contact-list { padding-left: 1.2em; }

/* Product page */
.crumbs { margin-bottom: 14px; font-size: 0.95rem; }
.product { display: grid; gap: 28px; }
@media (min-width: 860px) {
  .product { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
  .buybox { position: sticky; top: 24px; }
}
.gallery-main { width: 100%; border-radius: 6px; background: var(--line); }
.thumbs { list-style: none; margin: 10px 0 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.thumbs li { flex: 0 0 auto; }
.thumbs a { display: block; border: 2px solid transparent; border-radius: 5px; }
.thumbs a[aria-current] { border-color: var(--copper); }
.thumbs img { width: 52px; height: 65px; object-fit: cover; border-radius: 3px; }
@media (min-width: 860px) { .thumbs { flex-wrap: wrap; overflow: visible; } .thumbs img { width: 64px; height: 80px; } }
.buybox h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.5rem); }
.buy-price { font-family: var(--display); font-size: 2rem; color: var(--copper); margin: 0 0 4px; }
.buy-postage { color: var(--muted); }
.option { display: block; font-weight: 600; margin: 20px 0 6px; }
select { font: inherit; padding: 10px 12px; border: 1px solid var(--muted); border-radius: 6px; background: var(--white); min-width: 220px; max-width: 100%; }
.option-note { color: var(--muted); }
.button.buy { display: block; width: 100%; max-width: 420px; margin-top: 20px; font-size: 1.1rem; padding: 15px 26px; }
.checkout-note { margin-top: 10px; }
.product-info { display: grid; gap: 8px 56px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.product-info h2 { font-size: 1.4rem; }
.product-info p { max-width: 62ch; }
.details { padding-left: 1.2em; margin: 0 0 1.4em; }
@media (min-width: 860px) { .product-info { grid-template-columns: 1.1fr 0.9fr; } }
.related { padding-left: 0; padding-right: 0; }

/* Footer */
.site-footer { background: var(--cobalt); color: #dfe6f0; margin-top: 40px; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 24px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-name { font-family: var(--display); font-size: 1.4rem; color: var(--white); margin-bottom: 6px; }
.footer-head { font-weight: 600; color: var(--white); margin-bottom: 8px; }
.site-footer .small { color: #b9c5d6; }
.copyright { padding-bottom: 28px; margin: 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
