/*
Theme Name: Mio&Gem
Theme URI: https://mioandgem.com
Author: Mio&Gem
Description: WordPress/WooCommerce theme rebuilt from the Mio&Gem Shopify storefront.
Version: 0.2.0
Text Domain: mioandgem
*/

:root {
  --mg-ink: #2a1f26;
  --mg-muted: #6b5a64;
  --mg-blush: #bc93ab;
  --mg-blush-soft: #f5eff3;
  --mg-gold: #b49a6a;
  --mg-line: #e6dce2;
  --mg-paper: #fffdfb;
  --brand-font: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --brand-font-heading: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mg-ink);
  background: var(--mg-paper);
  font-family: var(--brand-font);
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mg-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.mg-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(42, 31, 38, .09);
  background: rgba(255, 253, 251, .94);
  backdrop-filter: blur(14px);
}
.mg-header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.mg-logo {
  font-family: var(--brand-font-heading);
  font-size: 25px;
  letter-spacing: .04em;
  text-decoration: none;
}
.mg-nav { display: flex; justify-content: center; gap: 28px; }
.mg-nav a, .mg-header-actions a {
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
}
.mg-header-actions { display: flex; align-items: center; gap: 14px; }
.mg-lang { color: var(--mg-muted); }
.mg-main { min-height: 65vh; }
.mg-content { width: min(820px, calc(100% - 40px)); margin: 56px auto 80px; }
.mg-content-wide { width: min(1180px, calc(100% - 40px)); margin: 48px auto 80px; }
.mg-title, .entry-title {
  font-family: var(--brand-font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .01em;
}
.mg-title { font-size: clamp(34px, 5vw, 62px); }
.entry-title { font-size: clamp(30px, 4vw, 48px); }
.mg-hero {
  padding: 110px 20px;
  text-align: center;
  background: linear-gradient(145deg, #f8f1f5, #fffdfb 55%, #f3ede3);
}
.mg-hero p { max-width: 650px; margin: 18px auto 28px; color: var(--mg-muted); }
.mg-button, button, input[type="submit"], .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--mg-ink);
  border-radius: 4px;
  color: #fff;
  background: var(--mg-ink);
  text-decoration: none;
  cursor: pointer;
}
.entry-content h2, .entry-content h3 { font-family: var(--brand-font-heading); font-weight: 400; }
.entry-content a { text-underline-offset: 3px; }
.mg-article-meta { margin: -16px 0 30px; color: var(--mg-muted); font-size: 13px; }
.mg-site-footer { padding: 52px 0; border-top: 1px solid var(--mg-line); color: var(--mg-muted); }
.mg-footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--brand-font-heading); font-size: 18px; }
.woocommerce ul.products li.product .price { color: var(--mg-ink); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--mg-ink); }

@media (max-width: 760px) {
  .mg-shell { width: min(100% - 24px, 1180px); }
  .mg-header-inner { min-height: 64px; grid-template-columns: 1fr auto; gap: 14px; }
  .mg-nav { display: none; }
  .mg-header-actions { gap: 10px; }
  .mg-header-actions a { font-size: 12px; }
  .mg-hero { padding: 72px 18px; }
  .mg-content, .mg-content-wide { width: min(100% - 28px, 820px); margin-top: 34px; }
  .mg-footer-inner { flex-direction: column; }
}
