/*
Theme Name: Aeon
Description: Child of Hello Elementor. Design system for a pre-owned luxury watch dealer: restrained palette, generous space, and pages built around proof of authenticity rather than claims.
Author: 360 Digit technologies
Template: hello-elementor
Version: 1.0.0
Text Domain: aeon

Palette:
  ink      #14161A   near-black, for type and the header band
  ink-soft #4A4F58   secondary text
  brass    #B08D57   the single accent. Used sparingly: rules, links, one button
  paper    #FAF8F5   warm off-white ground, softer than pure white for photography
*/

:root{
  --ink:#14161A;
  --ink-soft:#4A4F58;
  --brass:#B08D57;
  --brass-soft:#C9A978;
  --paper:#FAF8F5;
  --paper-2:#F2EFE9;
  --line:rgba(20,22,26,.12);
  --s1:.5rem; --s2:1rem; --s3:1.5rem; --s4:2rem; --s6:3rem; --s8:4rem; --s12:6rem;
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --r-sm:4px; --r-md:8px; --r-lg:16px;
  --max:1280px;
}

body{
  font-family:var(--sans);
  font-size:16.5px;
  line-height:1.65;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
body::selection{background:var(--brass);color:#fff}

h1,h2,h3,.h1,.h2,.h3{
  font-family:var(--serif);
  font-weight:500;
  line-height:1.12;
  letter-spacing:-.01em;
  color:var(--ink);
}
h1{font-size:clamp(2.2rem,5vw,3.6rem)}
h2{font-size:clamp(1.7rem,3.4vw,2.5rem)}
h3{font-size:clamp(1.2rem,2vw,1.55rem)}
h4{font-family:var(--sans);font-size:.78rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}

a{color:var(--ink);text-decoration-color:var(--brass);text-underline-offset:3px}
a:hover{color:var(--brass)}

/* a kicker, for the line above a heading */
.aeon-kicker{display:block;font-family:var(--sans);font-size:.72rem;font-weight:600;
  letter-spacing:.18em;text-transform:uppercase;color:var(--brass);margin-bottom:.6em}

.aeon-lead{font-size:clamp(1.02rem,1.5vw,1.18rem);color:var(--ink-soft);max-width:68ch}

/* the single accent button */
.aeon-btn,.wp-block-button__link,.elementor-button{
  display:inline-block;font-family:var(--sans);font-size:.82rem;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;padding:14px 26px;border-radius:var(--r-sm);
  background:var(--ink);color:#fff;border:1px solid var(--ink);text-decoration:none;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.aeon-btn:hover,.wp-block-button__link:hover,.elementor-button:hover{background:var(--brass);border-color:var(--brass);color:#fff}
.aeon-btn--ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.aeon-btn--ghost:hover{background:var(--ink);border-color:var(--ink);color:#fff}

/* a hairline rule, used to separate blocks the way a watch listing does */
.aeon-rule{height:1px;background:var(--line);border:0;margin:var(--s8) 0}

/* ---------- WooCommerce, brought into the same language ---------- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{text-align:left}
.woocommerce ul.products li.product a img{border-radius:var(--r-sm);background:var(--paper-2)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--serif);font-size:1.12rem;font-weight:500;padding:.6em 0 .2em;letter-spacing:0
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price{color:var(--ink);font-weight:600;font-size:1rem}
.woocommerce ul.products li.product .price del{color:var(--ink-soft);opacity:.6;font-weight:400}
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale{
  background:var(--brass);color:#fff;border-radius:2px;font-size:.68rem;font-weight:600;
  letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;min-height:0;line-height:1.6
}
.woocommerce .star-rating span::before,.woocommerce .star-rating::before{color:var(--brass)}

/* archive chrome */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select{font-size:.9rem;color:var(--ink-soft)}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{border-color:var(--line);color:var(--ink)}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ink);color:#fff;border-color:var(--ink)}

/* the single product page: proof, laid out as labelled facts */
.woocommerce div.product .product_title{font-family:var(--serif);font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:.2em}
.aeon-facts{width:100%;border-collapse:collapse;margin:var(--s4) 0;font-size:.95rem}
.aeon-facts th,.aeon-facts td{text-align:left;padding:12px 0;border-bottom:1px solid var(--line);vertical-align:top}
.aeon-facts th{font-family:var(--sans);font-size:.72rem;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-soft);width:42%}

/* a quiet notice for the pre-launch state */
.aeon-note{background:var(--paper-2);border-left:3px solid var(--brass);padding:14px 18px;
  font-size:.88rem;color:var(--ink-soft);margin:var(--s6) 0}

/* accessibility: one visible focus ring everywhere */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--brass);outline-offset:2px
}

/* ---------- Elementor, brought under the brand ----------
   Setting the global kit handles new widgets; these rules catch anything
   Elementor still paints from its own defaults, and keep the two consistent. */
body .elementor-widget-heading .elementor-heading-title{color:var(--ink);font-family:var(--serif);font-weight:500;line-height:1.12;letter-spacing:-.01em}
body .elementor-widget-text-editor{color:var(--ink-soft)}
body .elementor-widget-text-editor p{margin-top:0}
body .elementor-button{
  background:var(--ink);color:#FAF8F5;border-radius:var(--r-sm);
  font:600 13px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;padding:15px 26px;
  border:1px solid var(--ink);transition:background .18s ease,border-color .18s ease,color .18s ease;
}
body .elementor-button:hover{background:var(--brass);border-color:var(--brass);color:#fff}
body .elementor-widget-button .elementor-button-content-wrapper{justify-content:flex-start}

/* the theme prints its own page header above an Elementor hero: on the front
   page it duplicates the hero's own heading, so it goes */
body.home .page-header{display:none}
.elementor-kit-11 a{color:inherit}

/* keep the container gutters comfortable on a phone */
@media(max-width:767px){
  body .elementor-section,body .e-con{padding-left:18px;padding-right:18px}
  body .elementor-button{width:100%;text-align:center;margin-bottom:10px}
}

/* ---------- the header, which Hello Elementor leaves bare ----------
   Elementor's Theme Builder (a header/footer you drag together) is a Pro
   feature, so the header is styled here instead: a slim bar, name left, menu
   right. It stays editable in the usual WordPress menu screen. */
body .site-header{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:99}
body .site-header .header-inner{max-width:1180px;margin:0 auto;padding:0 24px;display:flex;align-items:center;
  justify-content:space-between;gap:24px;min-height:74px}
body .site-header .site-title a,body .site-header .site-branding a{
  font-family:var(--serif);font-size:1.55rem;font-weight:500;letter-spacing:.01em;color:var(--ink);text-decoration:none
}
body .site-header .site-title a:hover{color:var(--brass)}
body .site-header .site-description{display:none}
body .site-header nav ul{display:flex;align-items:center;gap:26px;margin:0;padding:0;list-style:none}
body .site-header nav li a{
  font:600 .78rem/1 var(--sans);letter-spacing:.13em;text-transform:uppercase;color:var(--ink);text-decoration:none
}
body .site-header nav li a:hover,body .site-header nav li.current-menu-item > a{color:var(--brass)}
body .site-header .menu-toggle{background:none;border:1px solid var(--line);border-radius:var(--r-sm);
  padding:10px 12px;cursor:pointer}
@media(max-width:1023px){
  body .site-header .header-inner{min-height:64px}
  body .site-header nav ul{display:none}
  body .site-header nav.is-open ul{display:flex;flex-direction:column;align-items:flex-start;
    position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:1px solid var(--line);
    padding:20px 24px;gap:18px}
  body .site-header nav{position:relative}
}

/* Elementor columns are set in percentages for desktop; without this they stay
   narrow on a phone and the text crushes into a column */
@media(max-width:1023px){
  body .e-con{--width:100%}
  body .e-con > .e-con{width:100% !important;flex-basis:100% !important}
}

/* ---------- multi-column rows ----------
   Elementor's flex children do not reliably take a width, so these rows are
   grids, driven by a class set on the container in the editor. */
/* An Elementor container renders as an outer .e-con with a .e-con-inner flex
   row inside it, and the children live in the INNER one. Putting the grid on the
   outer element alone leaves a single grid item wrapping everything, so the grid
   has to be applied to the inner row.
   body-prefixed because Elementor sets .e-con-inner{display:flex} itself. */
body .aeon-grid > .e-con-inner{display:grid;gap:34px;align-items:start;flex-wrap:nowrap}
@media(min-width:1024px){
  body .aeon-grid--4 > .e-con-inner{grid-template-columns:repeat(4,minmax(0,1fr))}
  body .aeon-grid--3 > .e-con-inner{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:600px) and (max-width:1023px){
  body .aeon-grid--4 > .e-con-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .aeon-grid--3 > .e-con-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
}
