/* Her Everyday Jewelry — shared styles */
:root {
    --ink: #35312c;
    --muted: #6d665e;
    --cream: #f7f3ed;
    --paper: #fffdfa;
    --gold: #80603b;
    --gold-dark: #63492c;
    --line: #e5ddd2;
    --blush: #efe2d9;
    --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 19px/1.7 Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(38px, 4.4vw, 66px); line-height: 1.12; letter-spacing: -1.6px; }
h2 { font-size: clamp(30px, 3vw, 43px); line-height: 1.2; letter-spacing: -.7px; margin-bottom: 18px; }
h3 { font-size: 27px; line-height: 1.3; }
em { font-weight: 400; color: var(--gold); }
p { margin-bottom: 20px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 20; padding: 12px; background: white; }
.skip-link:focus { top: 10px; }
.top-note { text-align: center; background: var(--gold); color: white; padding: 7px 20px; font-size: 16px; letter-spacing: 1.8px; }
.site-header { max-width: 1440px; margin: auto; padding: 26px 5%; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand span { font: 25px/1.2 var(--serif); }
.brand strong { font-weight: 400; color: var(--gold); }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 18px; }
.site-header nav > a { padding: 8px 0; }
.site-header a:hover, .nav-shop summary:hover { color: var(--gold); }
.nav-shop { position: relative; }
.nav-shop summary { list-style: none; padding: 8px 0; }
.nav-shop summary::-webkit-details-marker { display: none; }
.nav-shop summary span { margin-left: 8px; }
.nav-menu { position: absolute; top: 100%; left: -22px; z-index: 10; width: 215px; padding: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 24px #35312c12; }
.nav-menu a { display: block; padding: 8px 12px; }
.nav-menu a:hover { background: var(--cream); }
.hero { max-width: 1440px; margin: 0 auto; min-height: 520px; position: relative; overflow: hidden; background: #f0e9df; display: flex; align-items: center; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f4eee6f5 0%, #f4eee6e8 30%, #f4eee670 48%, transparent 65%); }
.hero-copy { position: relative; z-index: 1; padding: 60px 5.5%; max-width: 650px; }
.hero h1 { margin: 0 0 25px; }
.hero-copy > p:not(.eyebrow) { max-width: 400px; color: #514a42; }
.eyebrow { font: 14px/1.6 Arial, sans-serif; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 27px; padding: 14px 24px; background: var(--gold); color: white; border: 1px solid var(--gold); font-size: 17px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }
.intro-strip { display: flex; justify-content: center; gap: 36px; align-items: center; padding: 22px 5%; border-bottom: 1px solid var(--line); font-size: 16px; letter-spacing: .7px; color: var(--muted); }
.intro-strip span[aria-hidden] { color: var(--gold); font-size: 20px; }
.section-wrap { max-width: 1280px; margin: auto; padding-left: 40px; padding-right: 40px; }
.category-section { padding-top: 76px; padding-bottom: 66px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { font-size: 18px; color: var(--muted); margin: 0 0 4px; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.category-card { display: block; }
.category-art { background: var(--cream); display: grid; place-items: center; aspect-ratio: 1.2; transition: background .2s; }
.category-card:nth-child(2) .category-art, .category-card:nth-child(4) .category-art { background: #f0e7df; }
.category-art img { width: 90px; height: 90px; transition: transform .25s; }
.category-card > span { display: flex; gap: 8px; justify-content: space-between; margin-top: 12px; font-size: 18px; }
.category-card:hover .category-art { background: var(--blush); }
.category-card:hover img { transform: translateY(-5px); }
.shop-section { padding-top: 30px; padding-bottom: 75px; }
.search-label { font-size: 16px; color: var(--muted); min-width: 290px; }
.search-label input { display: block; width: 100%; padding: 11px 15px; margin-top: 5px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); font-size: 17px; color: var(--ink); }
.filter-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0 22px; }
.filter-list button { border: 1px solid var(--line); background: transparent; padding: 9px 18px; color: var(--muted); font-size: 17px; transition: .2s; }
.filter-list button:hover { border-color: var(--gold); color: var(--gold); }
.filter-list button[aria-pressed='true'] { background: var(--gold); border-color: var(--gold); color: white; }
.shop-disclosure { color: var(--muted); font-size: 16px; margin: 20px 0; }
.shop-disclosure a { text-decoration: underline; text-underline-offset: 3px; }
.result-count { font-size: 16px; color: var(--muted); }
.empty-state { border: 1px solid var(--line); background: var(--cream); padding: 42px 24px 44px; text-align: center; }
.small-star { display: block; color: var(--gold); font: 44px/1 var(--serif); margin-bottom: 15px; }
.empty-state h3 { margin-bottom: 12px; }
.empty-state p { max-width: 530px; margin: 0 auto 18px; color: var(--muted); font-size: 18px; }
.text-link { display: inline-block; color: var(--gold); font-size: 17px; border-bottom: 1px solid #b8a48c; padding-bottom: 4px; }
.text-link:hover { color: var(--gold-dark); border-color: var(--gold-dark); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); }
.product-image { background: var(--cream); overflow: hidden; }
.product-image img { width: 100%; aspect-ratio: 6/5; object-fit: contain; transition: transform .25s; }
.product-image:hover img { transform: scale(1.03); }
.product-copy { padding: 25px; display: flex; flex-direction: column; flex: 1; }
.product-copy h3 { font-size: 24px; margin-bottom: 13px; }
.product-copy > p:not(.eyebrow) { font-size: 18px; color: var(--muted); }
.product-copy .button { margin-top: auto; }
.guide-feature { background: var(--blush); margin: 0 auto 75px; padding-top: 44px; padding-bottom: 44px; display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 50px; }
.guide-symbol { font: 150px/1 var(--serif); color: #aa8860; text-align: center; }
.guide-feature p { max-width: 600px; color: #61564c; }
.guide-feature h2 { margin-bottom: 15px; }
.site-footer { background: var(--cream); padding: 46px max(5%, calc((100vw - 1200px) / 2)); border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 35px; }
.footer-brand { font: 26px var(--serif); }
.footer-top p { color: var(--muted); font-size: 17px; margin-top: 10px; }
.footer-links { display: flex; gap: 24px; align-items: flex-start; font-size: 16px; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--gold); }
.disclosure { font-size: 16px; color: var(--muted); margin: 20px 0 28px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 16px; color: var(--muted); }
.collection-intro { padding-top: 40px; padding-bottom: 45px; }
.breadcrumb { font-size: 16px; color: var(--muted); }
.collection-row { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-top: 45px; }
.collection-row > div { max-width: 780px; }
.collection-row h1 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 20px; }
.collection-row p:not(.eyebrow) { color: var(--muted); }
.collection-row > img { flex-shrink: 0; background: var(--cream); width: 180px; height: 180px; padding: 20px; }
.page-intro { padding-top: 65px; padding-bottom: 30px; }
.page-intro > p:last-child { color: var(--muted); max-width: 700px; }
.page-intro h1 { margin-bottom: 25px; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-bottom: 80px; }
.guide-card { border-top: 1px solid var(--line); padding: 30px 28px; background: var(--cream); }
.guide-number { font-size: 14px; color: var(--gold); letter-spacing: 1.5px; display: block; margin-bottom: 20px; }
.guide-card h2 { font-size: 30px; }
.guide-card p { font-size: 18px; color: var(--muted); }
.prose { max-width: 1000px; padding-bottom: 80px; }
.prose h2 { font-size: 28px; margin-top: 35px; }
.prose p { color: var(--muted); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1500px) {
    .hero { border-radius: 2px; }
}
@media (max-width: 950px) {
    .site-header { padding: 22px 30px; }
    .site-header nav { gap: 20px; }
    .brand span { font-size: 21px; }
    .hero { min-height: 500px; }
    .hero-copy { max-width: 560px; }
    .hero::after { background: linear-gradient(90deg, #f4eee6f5 0%, #f4eee6db 45%, #f4eee630 85%); }
    .section-wrap { padding-left: 30px; padding-right: 30px; }
    .category-grid { gap: 12px; }
    .category-art img { width: 70px; height: 70px; }
    .category-card > span { font-size: 16px; }
    .intro-strip { gap: 14px; font-size: 14px; }
    .footer-links { gap: 16px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    body { font-size: 18px; }
    .top-note { font-size: 14px; padding: 7px; }
    .site-header { flex-direction: column; gap: 16px; padding: 20px; }
    .brand span { font-size: 25px; }
    .brand img { width: 35px; height: 35px; }
    .site-header nav { gap: 25px; font-size: 17px; }
    .hero { display: flex; flex-direction: column; min-height: auto; }
    .hero-photo { position: relative; order: 2; height: 245px; object-position: 72% center; }
    .hero::after { display: none; }
    .hero-copy { padding: 38px 24px 36px; background: #f4eee6; max-width: none; width: 100%; }
    .hero h1 { font-size: 43px; letter-spacing: -.9px; }
    .hero-copy > p:not(.eyebrow) { font-size: 18px; }
    .eyebrow { font-size: 14px; letter-spacing: 1.6px; }
    .intro-strip { flex-wrap: wrap; gap: 5px 13px; padding: 15px 20px; font-size: 14px; }
    .intro-strip span:last-child, .intro-strip span:nth-last-child(2) { display: none; }
    .section-wrap { padding-left: 22px; padding-right: 22px; }
    .category-section { padding-top: 45px; padding-bottom: 40px; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 23px; }
    .section-heading > p { font-size: 17px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 15px; }
    .category-card:last-child { grid-column: 1 / -1; }
    .category-card:last-child .category-art { aspect-ratio: 3.2; }
    .category-art img { width: 82px; height: 82px; }
    .category-card > span { font-size: 18px; }
    .search-label { width: 100%; }
    .filter-list { gap: 7px; margin-top: 22px; }
    .filter-list button { font-size: 16px; padding: 8px 12px; }
    .shop-section { padding-top: 12px; padding-bottom: 45px; }
    .empty-state { padding: 30px 20px; }
    .empty-state h3 { font-size: 25px; }
    .product-grid { grid-template-columns: 1fr; }
    .guide-feature { margin-bottom: 45px; grid-template-columns: 1fr; gap: 12px; padding-top: 28px; padding-bottom: 30px; }
    .guide-symbol { font-size: 70px; text-align: left; }
    .footer-top { flex-direction: column; gap: 14px; }
    .footer-links { flex-wrap: wrap; gap: 10px 20px; }
    .site-footer { padding: 35px 22px; }
    .footer-brand { font-size: 24px; }
    .footer-bottom { flex-wrap: wrap; }
    .collection-intro { padding-top: 25px; padding-bottom: 15px; }
    .collection-row { margin-top: 30px; gap: 12px; }
    .collection-row > img { width: 70px; height: 90px; padding: 5px; }
    .collection-row h1 { font-size: 34px; letter-spacing: -.8px; }
    .collection-row p:not(.eyebrow) { font-size: 18px; }
    .page-intro { padding-top: 40px; padding-bottom: 20px; }
    .page-intro h1 { font-size: 39px; letter-spacing: -.9px; }
    .editorial-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 45px; }
    .guide-card { padding: 25px; }
    .prose { padding-bottom: 45px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/*==========================
ERASE WHITE GAP IN PICTURES
==========================*/
.product-image {
    display: block;
    background: #fff;
}

.product-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
    object-fit: contain;
}