/*
Theme Name: Mimox Atelier
Theme URI: https://mimoxjewrey.com
Author: Mimox
Description: A focused WooCommerce storefront for the Mimox jewelry collection.
Version: 1.0.0
Text Domain: mimox-atelier
*/

:root {
  --ink: #171717;
  --muted: #66645f;
  --line: #deddd8;
  --paper: #ffffff;
  --soft: #f6f5f1;
  --rose: #a64d6d;
  --emerald: #286e5a;
  --blue: #386f9b;
  --content: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.site-shell { min-height: 100vh; }
.site-width { width: min(100% - 48px, var(--content)); margin-inline: auto; }
.announcement {
  padding: 9px 20px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.announcement a { border-bottom: 1px solid rgba(255,255,255,.6); }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); }
.utility-row, .main-row { display: flex; align-items: center; justify-content: space-between; }
.utility-row { min-height: 38px; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.utility-row > div { display: flex; gap: 24px; }
.main-row { min-height: 82px; gap: 28px; }
.brand {
  min-width: 150px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  line-height: 1;
  text-transform: lowercase;
}
.brand small { display: block; margin-top: 7px; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .24em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 38px); }
.primary-nav a { padding: 31px 0 26px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { border-color: var(--ink); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 150px; font-size: 13px; }
.header-actions a { white-space: nowrap; }
.cart-link b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; border: 1px solid var(--ink); border-radius: 50%; font-size: 11px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; font-size: 22px; }

.home-hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  background: #dedbd3 url('assets/images/stud-earrings-hero.jpeg') center 44% / cover no-repeat;
}
.hero-copy { width: min(100% - 48px, var(--content)); margin: 0 auto 56px; color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.38); }
.eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy h1 { max-width: 760px; margin: 0; font-family: Georgia, serif; font-size: clamp(44px, 6vw, 82px); font-weight: 400; line-height: 1.02; }
.hero-copy p { max-width: 590px; margin: 20px 0 28px; font-size: 17px; }
.button, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: #fff; color: var(--ink); }
.button.light { border-color: #fff; background: #fff; color: var(--ink); text-shadow: none; }
.button.light:hover { background: transparent; color: #fff; }

.intro-band { padding: 70px 0 52px; text-align: center; }
.intro-band h2, .section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 54px); font-weight: 400; line-height: 1.1; }
.intro-band p { max-width: 700px; margin: 18px auto 0; color: var(--muted); }
.color-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 26px; margin-top: 30px; }
.color-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; }
.swatch { width: 13px; height: 13px; border: 1px solid rgba(0,0,0,.18); border-radius: 50%; }
.swatch.pink { background: #dc9db4; } .swatch.blue { background: #7baaca; }
.swatch.green { background: #65a98d; } .swatch.purple { background: #9d88bd; }
.swatch.red { background: #b94b55; } .swatch.yellow { background: #e5c75d; }
.swatch.white { background: #fff; }

.collection-section { padding: 0 0 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading a { border-bottom: 1px solid; font-size: 12px; text-transform: uppercase; }
.products-grid, .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 18px;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.product-tile, .woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  list-style: none;
}
.product-tile__image, .woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  margin: 0 0 15px;
  object-fit: cover;
  background: var(--soft);
}
.product-tile__meta { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.product-tile h3, .woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 5px 0 2px; padding: 0; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.35; }
.product-tile .price, .woocommerce ul.products li.product .price { color: var(--ink); font-size: 14px; }
.woocommerce ul.products li.product .button { margin-top: 12px; width: 100%; }

.values-band { padding: 62px 0; background: var(--soft); border-block: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.value h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }
.story-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; }
.story-image { background: #d6d2c8 url('assets/images/earring-collection.png') center / cover no-repeat; }
.story-copy { display: grid; align-content: center; padding: clamp(48px, 7vw, 110px); background: #213e36; color: #fff; }
.story-copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 54px); font-weight: 400; line-height: 1.1; }
.story-copy p { max-width: 540px; color: rgba(255,255,255,.78); }

.content-area { width: min(100% - 48px, 1240px); margin: 0 auto; padding: 62px 0 92px; }
.page-header { max-width: 820px; margin-bottom: 42px; }
.page-header h1 { margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(40px, 5vw, 64px); font-weight: 400; line-height: 1.1; }
.page-copy { max-width: 860px; }
.page-copy h2 { margin: 38px 0 8px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.page-copy p, .page-copy li { color: #3f3e3a; }
.page-copy a { border-bottom: 1px solid; }

.woocommerce .woocommerce-breadcrumb { margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.woocommerce .woocommerce-ordering select { min-height: 42px; border: 1px solid var(--line); padding: 0 34px 0 12px; background: #fff; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr); gap: clamp(36px, 6vw, 96px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product .product_title { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 54px); font-weight: 400; line-height: 1.12; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 20px; }
.woocommerce div.product form.cart .button { min-height: 48px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--line); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 44px; border: 1px solid #c8c7c2; padding: 10px 12px; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--emerald); background: var(--soft); }

.site-footer { padding: 62px 0 28px; background: #171817; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand { font-family: Georgia, serif; font-size: 34px; }
.footer-column h3 { margin: 0 0 15px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-column p, .footer-column a { color: #c6c6c2; font-size: 13px; }
.footer-column a { display: block; margin: 7px 0; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid #3d3d3a; color: #9c9c98; font-size: 11px; }

@media (max-width: 980px) {
  .utility-row { display: none; }
  .main-row { min-height: 68px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; inset: 68px 0 auto; padding: 18px 24px 24px; align-items: stretch; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); background: #fff; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { display: block; padding: 13px 0; }
  .header-actions .account-link { display: none; }
  .products-grid, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-band { grid-template-columns: 1fr; }
  .story-image { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce div.product { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-width, .hero-copy, .content-area { width: min(100% - 28px, var(--content)); }
  .announcement { padding-inline: 14px; font-size: 10px; }
  .brand { min-width: 0; font-size: 27px; }
  .brand small { display: none; }
  .header-actions { min-width: 0; gap: 10px; }
  .home-hero { min-height: 72vh; background-position: 55% center; }
  .hero-copy { margin-bottom: 34px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy p { font-size: 15px; }
  .intro-band { padding: 52px 0 40px; }
  .section-heading { align-items: start; }
  .products-grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
  .product-tile h3, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
  .values-grid { grid-template-columns: 1fr; gap: 30px; }
  .story-image { min-height: 310px; }
  .story-copy { padding: 46px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .content-area { padding-top: 38px; }
}
