/* Theorayne header + footer — premium. Place at assets/css/layout-premium.css (loaded after mega-menu.css) */
:root{--lp-ink:#141414;--lp-brass:#a98550;--lp-line:#e8e6e2}

/* ---------- Announcement ---------- */
body .announcement-bar{background:var(--lp-ink);color:#d6d3cd;font-size:12px;letter-spacing:.03em}
body .announcement-wrapper{display:flex;justify-content:space-between;align-items:center;min-height:38px}
body .announcement-right{display:flex;gap:22px}
body .announcement-right a{color:#d6d3cd;transition:color .2s}
body .announcement-right a:hover{color:#fff}

/* ---------- Header: nav left, logo centre, icons right ---------- */
body .header{background:#fff;border-bottom:1px solid var(--lp-line)}
body .header .header-wrapper{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;min-height:80px}
body .header .mobile-toggle{grid-column:1;grid-row:1;justify-self:start;color:var(--lp-ink)}
body .header .header-nav{grid-column:1;grid-row:1;justify-self:start}
body .header .logo{grid-column:2;grid-row:1;justify-self:center;display:flex;align-items:center}
body .header .header-actions{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:4px}

body .header .header-nav ul{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0}
body .header .header-nav a{position:relative;display:inline-flex;align-items:center;gap:3px;padding:8px 0;font-size:13.5px;font-weight:500;letter-spacing:.02em;color:var(--lp-ink)}
body .header .header-nav a::after{content:"";position:absolute;left:0;bottom:3px;width:0;height:1px;background:var(--lp-brass);transition:width .25s ease}
body .header .header-nav a:hover::after{width:100%}
body .header .header-nav a[href$="sale.php"]{color:var(--lp-brass)}

body .header .icon-btn,body .header .cart-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;color:var(--lp-ink);font-size:20px;transition:color .2s}
body .header .icon-btn:hover,body .header .cart-btn:hover{color:var(--lp-brass)}
body .header .cart-count{position:absolute;top:6px;right:3px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--lp-brass);color:#fff;font-size:10px;font-weight:600;line-height:16px;text-align:center}

@media (max-width:1180px){
  body .header .header-nav ul{gap:20px}
  body .header .header-nav a{font-size:13px}
  body .header .header-nav li:first-child{display:none}
}

/* ---------- Mobile menu: typography only (open/close logic untouched) ---------- */
body .mobile-menu .mobile-menu-header h3{font-family:'Bodoni Moda',Georgia,serif;font-weight:400;font-size:1.5rem}
body .mobile-menu > ul > li > a{font-family:'Bodoni Moda',Georgia,serif;font-weight:400;font-size:1.25rem;color:var(--lp-ink)}
body .mobile-menu .mm-sub a{font-family:Inter,sans-serif;font-size:15px;color:#55534f}

/* Header: compact on scroll + current page */
body .header{transition:box-shadow .25s ease}
body .header .header-wrapper{transition:min-height .25s ease}
body .header.is-scrolled{box-shadow:0 1px 0 var(--lp-line),0 8px 24px rgba(0,0,0,.04)}
body .header.is-scrolled .header-wrapper{min-height:66px}
body .header .logo img{transition:height .25s ease}
body .header .header-nav a.is-current::after{width:100%}

/* ---------- Footer (own classes: .ft-*) ---------- */
.ft{background:#141414;color:#bdbab4;overflow:hidden;font-family:Inter,system-ui,sans-serif;font-size:14px;line-height:1.6}
.ft *,.ft *::before,.ft *::after{box-sizing:border-box}
.ft a{color:inherit;text-decoration:none}
.ft :focus-visible{outline:2px solid var(--lp-brass);outline-offset:3px}
.ft-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.ft-top{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:end;padding:clamp(56px,7vw,96px) 0 clamp(40px,5vw,64px);border-bottom:1px solid rgba(255,255,255,.12)}
.ft .ft-lead{margin:0;max-width:17em;font-family:'Bodoni Moda',Georgia,serif;font-weight:400;font-size:clamp(1.8rem,3.2vw,2.8rem);line-height:1.12;letter-spacing:-.01em;color:#fff}
.ft-side__label{margin:0 0 6px;color:#bdbab4}
.ft-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.ft .ft-btn{display:inline-flex;align-items:center;height:48px;padding:0 26px;border:1px solid rgba(255,255,255,.35);color:#fff;font-weight:500;transition:background .25s,color .25s,border-color .25s}
.ft .ft-btn:hover{background:#fff;color:var(--lp-ink);border-color:#fff}

.ft-news{display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.5)}
.ft-news:focus-within{border-bottom-color:var(--lp-brass)}
.ft-news input{flex:1;min-width:0;background:transparent;border:0;color:#fff;padding:14px 0;font:inherit}
.ft-news input::placeholder{color:#8f8c86}
.ft-news input:focus{outline:none}
.ft-news button{background:none;border:0;color:#fff;font:inherit;font-weight:600;cursor:pointer;padding:0 0 0 16px;transition:color .2s}
.ft-news button:hover{color:var(--lp-brass)}
.ft-news__msg{margin:10px 0 0;color:#d6d3cd}

.ft-cols{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:40px;padding:clamp(40px,5vw,64px) 0}
.ft-logo{display:inline-block;color:#fff}
.ft-social{display:flex;gap:10px;margin-top:24px}
.ft .ft-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:#fff;font-size:17px;transition:border-color .2s,color .2s}
.ft .ft-social a:hover{border-color:var(--lp-brass);color:var(--lp-brass)}
.ft .ft-col h3{margin:0 0 18px;font-family:'Bodoni Moda',Georgia,serif;font-weight:400;font-size:1.15rem;letter-spacing:0;text-transform:none;color:#fff}
.ft-col ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.ft .ft-col a{color:#bdbab4;transition:color .2s}
.ft .ft-col a:hover{color:#fff}

.ft-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 16px;padding:20px 0;border-top:1px solid rgba(255,255,255,.12);font-size:13px;color:#8f8c86}
.ft-bottom p{margin:0}
.ft-bottom__links{display:flex;gap:22px}
.ft .ft-bottom a{color:#8f8c86;transition:color .2s}
.ft .ft-bottom a:hover{color:#fff}

/* Oversized wordmark, cropped at the bottom edge */
.ft-word{margin:0 0 -.12em;padding-top:.04em;text-align:center;white-space:nowrap;user-select:none;font-family:'Bodoni Moda',Georgia,serif;font-size:clamp(4rem,16.5vw,17rem);line-height:.8;letter-spacing:-.03em;color:#201f1d}

@media (max-width:900px){
  .ft-top{grid-template-columns:1fr;align-items:start}
  .ft-actions{justify-content:flex-start}
  .ft-cols{grid-template-columns:repeat(3,1fr)}
  .ft-brand{grid-column:1/-1}
}
@media (max-width:560px){
  .ft-cols{grid-template-columns:1fr 1fr}
  .ft-bottom{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){body .header,body .header *,.ft *{transition:none!important}}

/* ---------- Mobile header fix: keep the logo truly centred ---------- */
@media (max-width:700px){
  body .header .header-wrapper{min-height:64px;gap:8px}
  body .header.is-scrolled .header-wrapper{min-height:58px}
  body .header .logo img{height:36px!important}
  body .header .header-actions{gap:0}
  body .header .icon-btn,body .header .cart-btn{width:36px;height:40px;font-size:19px}
  /* wishlist stays reachable from the mobile menu */
  body .header .header-actions a[href$="wishlist.php"]{display:none}
}
/* closed drawer must not cast a shadow onto the page */
body .mobile-menu[aria-hidden="true"]{box-shadow:none}
