/*
Theme Name: Hana Hayaly
Theme URI: https://hanahayaly.com
Author: Bit&Bits for Hana Hayaly
Description: Light, editorial WooCommerce theme for Hana Hayaly one-of-a-kind jewelry. Cream and cashmere pink, emerald and champagne gold, the signature logo, pre-order requests for pieces that have found a home. Works with Elementor (free) and the Hana Hayaly POS plugin.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: Proprietary
Text Domain: hana-hayaly
*/

/* Palette from the brand board: cream, cashmere light pink, cashmere pink, emerald, champagne gold.
   Emerald replaces black for deep sections and buttons. Warm brown ink for text. */
:root {
  --paper: #F8F1EB;
  --paper-2: #EFE2DA;
  --blush: #E3C9BE;
  --rose: #975F5E;
  --champagne: #A88042;
  --champagne-light: #DCC090;
  --gold-text: #7A5C26;
  --emerald: #0F3B2C;
  --emerald-2: #164634;
  --ink: #2B2320;
  --ink-2: #4E4440;
  --ink-3: #6F625E;
  --line: #E6D3C9;
  --ok: #3C7351;
  --night-ink: #E6D9CC;
  --display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1380px;
}
html[dir="rtl"], body.rtl {
  --display: 'Amiri', 'Cormorant Garamond', Georgia, serif;
  --body: 'IBM Plex Sans Arabic', 'Hanken Grotesk', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--rose); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--emerald); color: #fff; padding: 10px 16px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
.eyebrow { font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-text); margin: 0; }
.rtl .eyebrow { letter-spacing: 0; font-size: 13.5px; }
.display, h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.rtl .display, .rtl h1, .rtl h2, .rtl h3 { line-height: 1.3; letter-spacing: 0; }
.display em, h1 em, h2 em { font-style: italic; }
.lede { font-size: 17px; line-height: 1.7; font-weight: 300; color: var(--ink-2); max-width: 34em; margin: 0; }
.prose { max-width: 720px; }
.prose p, .prose li { font-weight: 300; color: var(--ink-2); }
.prose h2 { font-size: 34px; margin: 1.4em 0 .4em; }

/* Buttons */
.btn, .button, button.button, a.button, input[type="submit"], .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit, .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 32px;
  border: 1px solid var(--emerald); border-radius: 0; background: var(--emerald); color: var(--paper);
  text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; line-height: 1.2;
}
.btn:hover, .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, input[type="submit"]:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--emerald); color: var(--paper); border-color: var(--emerald); }
.btn.light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn.light:hover { background: var(--paper); color: var(--emerald); }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt { background: var(--emerald); color: var(--paper); }
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--rose); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; }
.rtl .btn, .rtl .button { letter-spacing: 0; font-size: 14px; }
.link { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.rtl .link { letter-spacing: 0; font-size: 14px; }

/* Announcement and header */
.announce { background: var(--emerald); color: var(--champagne-light); text-align: center; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; padding: 10px var(--gutter); }
.rtl .announce { letter-spacing: 0; font-size: 13px; }
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 88px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 30px); }
.main-nav a { text-decoration: none; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; padding-block: 8px; display: inline-block; }
.rtl .main-nav a { letter-spacing: 0; font-size: 14.5px; }
.main-nav .current-menu-item > a, .main-nav a:hover { color: var(--rose); }
.main-nav .sub-menu { display: none; }
.brand-logo { display: block; line-height: 0; justify-self: center; }
.brand-logo img { height: clamp(46px, 5.6vw, 76px); width: auto; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 16px; font-size: 12px; letter-spacing: 0.12em; }
.tools a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tools svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.cart-count[hidden] { display: none; }
.cart-count { min-width: 18px; height: 18px; border-radius: 9px; background: var(--emerald); color: var(--paper); font-size: 10.5px; display: inline-grid; place-items: center; padding: 0 5px; letter-spacing: 0; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
@media (max-width: 900px) {
  .hdr { grid-template-columns: auto 1fr auto; min-height: 68px; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding-block: 14px; display: block; border-bottom: 1px solid var(--line); }
  .tools .hide-sm { display: none; }
  .brand-logo img { height: 44px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--blush); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding: clamp(40px, 7vw, 120px) var(--gutter); }
.hero .eyebrow { color: #6E5323; }
.hero h1 { font-size: clamp(56px, 7vw, 116px); line-height: 0.98; }
.rtl .hero h1 { font-size: clamp(44px, 5vw, 80px); }
.hero .lede { color: #2E2624; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-top: 8px; }
.hero-media { position: relative; display: flex; justify-content: center; align-items: flex-end; padding: clamp(32px, 5vw, 72px) var(--gutter) 0; }
.arch { position: relative; width: 100%; max-width: 560px; aspect-ratio: 4 / 5; border: 2px solid var(--champagne); border-bottom: 0; border-radius: 50% 50% 0 0 / 34% 34% 0 0; overflow: hidden; background: var(--paper-2); box-shadow: 0 0 0 10px var(--blush), 0 0 0 11px var(--champagne); }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero .arch img { animation: hh-settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hh-settle { from { transform: scale(1.06); } to { transform: none; } }
.plate { position: absolute; inset-inline-start: calc(var(--gutter) + 18px); bottom: 24px; background: var(--emerald); color: var(--paper); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; min-width: 220px; }
.plate .no { font-size: 11px; letter-spacing: 0.2em; color: var(--champagne-light); text-transform: uppercase; }
.plate .nm { font-family: var(--display); font-size: 24px; line-height: 1.15; }
.plate:hover { color: var(--champagne-light); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; padding-top: 28px; }
}

/* Sections */
section.block { padding-block: clamp(72px, 9vw, 128px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(40px, 5vw, 72px); margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-block: 56px; border-bottom: 1px solid var(--line); }
.fact .big { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--champagne); display: block; margin-bottom: 10px; }
.fact h3 { font-size: 26px; margin-bottom: 8px; }
.fact p { margin: 0; color: var(--ink-2); font-weight: 300; font-size: 15px; }
.tint { background: var(--blush); }
.tint .eyebrow { color: #6E5323; }
.tint .lede { color: #2E2624; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split h2 { font-size: clamp(44px, 5.4vw, 80px); }
.stack { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.pair { display: grid; grid-template-columns: 3fr 2fr; gap: 18px; align-items: end; }
.pair .arch { max-width: none; box-shadow: none; }
.pair img.plain { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
blockquote.brand-quote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.35; max-width: 26em; padding-inline-start: 22px; border-inline-start: 1px solid var(--champagne); }
.emerald { background: var(--emerald); color: var(--paper); }
.emerald .eyebrow { color: var(--champagne-light); }
.emerald .lede { color: var(--night-ink); }
.emerald a:hover { color: var(--champagne-light); }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.trio a { position: relative; display: block; overflow: hidden; }
.trio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.trio a:hover img { transform: scale(1.04); }
.trio span { position: absolute; inset-inline-start: 18px; bottom: 16px; font-family: var(--display); font-size: 22px; color: #fff; text-shadow: 0 1px 16px rgba(0,0,0,.45); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; width: 100%; }
.steps li { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.steps b { font-weight: 500; }
.steps span { font-size: 15px; font-weight: 300; color: var(--ink-2); }
.steps small { font-family: var(--display); font-size: 22px; color: var(--champagne); }
.private { text-align: center; }
.private .inner { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.private h2 { font-size: clamp(40px, 5vw, 68px); }
.private .btn { background: var(--champagne); border-color: var(--champagne); color: #fff; }
.private .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--emerald); }
.places { display: flex; flex-direction: column; }
.place { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding-block: 22px; border-top: 1px solid var(--line); }
.place:last-child { border-bottom: 1px solid var(--line); }
.place h3 { font-size: 28px; }
.place .city { align-self: center; font-size: 11.5px; letter-spacing: 0.2em; color: var(--gold-text); text-transform: uppercase; }
.place p { margin: 0; color: var(--ink-2); font-weight: 300; font-size: 15px; grid-column: 1 / -1; }
.stones-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.stones-row a { border: 1px solid var(--line); padding: 10px 18px; text-decoration: none; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; background: #fff; }
.stones-row a:hover { border-color: var(--emerald); color: var(--emerald); }

/* Footer */
.site-footer { background: var(--emerald); color: var(--night-ink); padding-block: 72px 36px; }
.fcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 40px; }
.fcols h4 { margin: 0 0 14px; font-family: var(--body); font-weight: 400; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne-light); }
.fcols ul { list-style: none; margin: 0; padding: 0; }
.fcols a { display: block; text-decoration: none; font-size: 14px; font-weight: 300; padding-block: 5px; }
.fcols a:hover { color: #fff; }
.fbrand img { height: 64px; width: auto; display: block; margin-bottom: 14px; }
.fbase { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid #2E5A49; font-size: 12px; letter-spacing: 0.08em; }

/* Pages */
.page-head { padding-block: 56px 32px; }
.page-head h1 { font-size: clamp(40px, 5vw, 68px); }
.content-area { padding-block: 0 96px; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: var(--max); }
.entry-content > .alignfull { max-width: none; }
.elementor-full { padding: 0; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .legend { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.rtl .field label, .rtl .legend { letter-spacing: 0; font-size: 13px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="password"], input[type="search"], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  min-height: 52px; border: 1px solid #D9C4BB; background: #fff; padding: 12px 14px; font-size: 15px; border-radius: 0; width: 100%;
}
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--emerald); outline: none; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.radios { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; }
.radios label { display: flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.radios input { accent-color: var(--emerald); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }
.notice-box { background: var(--paper-2); padding: 22px 24px; border-inline-start: 2px solid var(--champagne); }

/* WooCommerce: product grid */
.woocommerce ul.products, ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 48px 22px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; display: flex; flex-direction: column; gap: 4px; position: relative; }
.woocommerce ul.products li.product a img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; margin: 0 0 14px; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hh-media { overflow: hidden; display: block; position: relative; margin-bottom: 14px; }
.hh-media img { margin: 0 !important; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--display); font-weight: 500; font-size: 25px !important; line-height: 1.15; padding: 0 !important; margin: 2px 0 0; color: var(--ink); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title { color: var(--rose); }
.woocommerce ul.products li.product .price { color: var(--ink) !important; font-size: 15px !important; margin: 4px 0 0 !important; }
.woocommerce ul.products li.product .button { display: none; }
.hh-no { font-size: 10.5px; letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.hh-stones { font-size: 14px; font-weight: 300; color: var(--ink-2); margin: 0; }
.hh-where { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin: 2px 0 0; }
.hh-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }
.hh-dot.shop { background: var(--champagne); }
.hh-dot.sold { background: var(--ink-3); }
.hh-tag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; background: var(--emerald); color: var(--paper); padding: 6px 11px; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; }
.woocommerce span.onsale { background: var(--rose); border-radius: 0; min-height: 0; min-width: 0; padding: 6px 10px; line-height: 1; font-size: 11px; font-weight: 500; top: 14px; right: 14px; left: auto; }
.hh-sold img { filter: saturate(.55); opacity: .85; }
.shop-head { padding-block: 56px 28px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.shop-head h1 { font-size: clamp(44px, 5vw, 72px); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin: 0 0 32px; font-size: 13px; color: var(--ink-3); }
.woocommerce .woocommerce-ordering select { min-height: 44px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { padding: 10px 14px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--emerald); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chips a { border: 1px solid var(--line); padding: 9px 16px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; background: #fff; }
.chips a.on, .chips a:hover { background: var(--emerald); color: var(--paper); border-color: var(--emerald); }

/* WooCommerce: single product */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); align-items: start; padding-block: 28px 80px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.summary { display: flex; flex-direction: column; gap: 18px; }
.woocommerce div.product .product_title { font-size: clamp(46px, 4.6vw, 72px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink) !important; font-size: 28px !important; margin: 0; }
.woocommerce div.product .woocommerce-product-details__short-description { font-weight: 300; color: var(--ink-2); font-size: 16px; }
.woocommerce div.product form.cart { margin: 0 !important; display: flex; gap: 10px; }
.woocommerce div.product form.cart .quantity { display: none; }
.woocommerce div.product form.cart .button { flex: 1; min-height: 58px; }
.woocommerce div.product .stock { display: none; }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--ink-3); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid var(--emerald); }
.related > h2, .upsells > h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 32px; }
.woocommerce-product-gallery__wrapper img { background: var(--paper-2); }
.woocommerce div.product div.images .flex-control-thumbs li { width: 22%; margin: 1.5% 1.5% 0 0; }
.hh-pdp-meta { display: flex; flex-direction: column; gap: 6px; }
.hh-status { background: var(--paper-2); border-inline-start: 2px solid var(--champagne); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.hh-status div { display: flex; align-items: center; gap: 10px; }
.hh-small { font-size: 13px; color: var(--ink-3); }
.hh-ask { width: 100%; }
@media (max-width: 900px) { .woocommerce div.product { grid-template-columns: 1fr; } }

/* Pre-order */
.preorder { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.preorder h2 { font-size: 34px; }
.preorder-band { padding-block: 88px; }
.preorder-band h2 { font-size: clamp(34px, 4vw, 56px); }

/* WooCommerce: cart, checkout, account, notices */
.woocommerce-cart .wrap, .woocommerce-checkout .wrap, .woocommerce-account .wrap { padding-block: 0 96px; }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--line); background: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line); padding: 14px 12px; }
.woocommerce-cart table.cart img { width: 80px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; max-width: 440px; }
.woocommerce-checkout #payment { background: var(--paper-2); border-radius: 0; }
.woocommerce-checkout #payment div.payment_box { background: #fff; color: var(--ink-2); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--emerald); background: #fff; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--emerald); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: 100%; float: none; }
@media (min-width: 900px) { .woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; } .woocommerce-checkout #customer_details { grid-column: 1; } .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Inline icons inside buttons */
.btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn:has(svg) { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Collections ---------- */
.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.coll-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.coll-img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); border-radius: 46% 46% 0 0 / 26% 26% 0 0; }
.coll-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.coll-card:hover .coll-img img { transform: scale(1.04); }
.coll-name { font-family: var(--display); font-size: 26px; margin-top: 10px; }
.coll-count { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.emerald .coll-count { color: var(--champagne-light); }
.emerald .coll-img { background: rgba(255,255,255,.06); }
.hh-coll-line a, .hh-stone-links a, .hh-cd-line a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hh-cd-line { margin: 4px 0 0; }

/* Collection and stone page header */
.story-head { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: 26px 0 46px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.story-head h1 { font-size: clamp(44px, 6vw, 84px); margin: 6px 0 0; }
.story-head .eyebrow a { text-decoration: none; }
.story-head .arch { max-width: 340px; box-shadow: none; }
.stone-head .story-art { max-width: 300px; }
.story-art .stone-art { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .story-head { grid-template-columns: 1fr; } .story-head .story-art { max-width: 220px; } }

/* ---------- Stones ---------- */
.stone-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px 24px; margin: 4px 0; }
.stone-facts dt { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.stone-facts dd { margin: 3px 0 0; font-size: 15px; font-weight: 300; }
.stone-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 20px; }
.stone-index a { border: 1px solid var(--line); background: #fff; padding: 8px 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.stone-index a:hover { background: var(--emerald); color: var(--paper); border-color: var(--emerald); }
.stone-list { display: flex; flex-direction: column; }
.stone-row { display: grid; grid-template-columns: 170px minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: 38px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.stone-row h2 { font-size: clamp(32px, 3.4vw, 46px); margin: 0; }
.stone-row h2 a { text-decoration: none; }
.stone-row p { margin: 0; font-weight: 300; color: var(--ink-2); }
.stone-swatch .stone-art { width: 100%; height: auto; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.stone-swatch:hover .stone-art { transform: translateY(-4px) rotate(-3deg); }
.stone-pieces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stone-pieces img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
@media (max-width: 900px) { .stone-row { grid-template-columns: 110px 1fr; } .stone-pieces { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); } }
.stone-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 20px 16px; }
.stone-strip a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; }
.stone-strip .stone-art { width: 100%; max-width: 130px; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.stone-strip a:hover .stone-art { transform: translateY(-5px) rotate(-4deg); }
.stone-strip b { font-family: var(--display); font-weight: 400; font-size: 21px; }
.stone-strip span { font-size: 12.5px; font-weight: 300; color: #4A3D38; }

/* ---------- Custom design ---------- */
.cd-home .arch { overflow: hidden; }
.cd-badge { position: absolute; bottom: 28px; inset-inline-start: 0; background: var(--emerald); color: var(--paper); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; padding: 10px 16px; }
.upload-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 28px 18px; border: 1.5px dashed var(--champagne); background: var(--paper); cursor: pointer; transition: background .3s; }
.upload-drop:hover, .upload-drop.has-file { background: #F3E7DF; }
.upload-drop b { font-family: var(--display); font-weight: 400; font-size: 24px; }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-ic svg { width: 30px; height: 30px; fill: none; stroke: var(--rose); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.why h3 { font-size: 28px; margin: 0 0 8px; }
.why p { margin: 0; font-weight: 300; }
.why a { text-decoration: underline; text-underline-offset: 4px; }
.faq-wrap h2 { font-size: clamp(36px, 4vw, 56px); margin: 12px 0 28px; }
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 24px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--champagne); font-family: var(--body); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; font-weight: 300; color: var(--ink-2); max-width: 60em; }
