:root{
  --jaikas-ivory:#fcfaf6;
  --jaikas-paper:#fffdfa;
  --jaikas-satin:#f7f1e9;
  --jaikas-ink:#30251b;
  --jaikas-muted:#725f50;
  --jaikas-gold:#a8752c;
  --jaikas-gold-soft:#c7aa7e;
  --jaikas-line:#e1d2c2;
}


/* v1.2.3 — HOME logo sizing matched to the approved homepage reference.
   Scope is intentionally HOME header only. Top contact-bar branding and
   catalog/shop headers keep their existing proportions. */
@media (min-width:981px){
  body.home .jehome-header-inner{
    grid-template-columns:280px minmax(0,1fr) 120px !important;
  }
  body.home .jehome-header-inner > .jehome-logo{
    width:280px !important;
    max-width:280px !important;
  }
  body.home .jehome-header-inner > .jehome-logo .jaikas-brand-lockup-image{
    width:280px !important;
    max-width:280px !important;
    height:auto !important;
  }
}
@media (min-width:1180px){
  body.home .jehome-header-inner{
    grid-template-columns:300px minmax(0,1fr) 120px !important;
  }
  body.home .jehome-header-inner > .jehome-logo,
  body.home .jehome-header-inner > .jehome-logo .jaikas-brand-lockup-image{
    width:300px !important;
    max-width:300px !important;
  }
}

/* The existing storefront logo link keeps its exact URL/position. Only its
   visible contents are rendered as the approved Jaika's Jewelry lockup. */
header a[class$="-logo"],
header a[class*="-logo "]{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:auto !important;
  max-width:min(340px,54vw) !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  text-decoration:none !important;
  line-height:1 !important;
}
header a[class$="-logo"]::before,
header a[class*="-logo "]::before,
header a[class$="-logo"]::after,
header a[class*="-logo "]::after{content:none !important;display:none !important;}

/* v1.2.1: never hide a split legacy logo unless PHP has actually replaced
   the complete logo contents. This prevents a partial "JEWELRY" remnant. */
header .jecol-logo .jaikas-brand-lockup-image,
header .jehome-logo .jaikas-brand-lockup-image,
header .jaikas-account-logo .jaikas-brand-lockup-image{
  visibility:visible !important;
  opacity:1 !important;
}

.jaikas-brand-lockup-image{
  display:block !important;
  width:320px !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  object-fit:contain !important;
}
.jaikas-brand-lockup-inline{
  width:min(285px,78vw) !important;
  margin-inline:auto !important;
}
.jaikas-brand-mark{display:flex !important;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;}
.jaikas-brand-suffix{display:inline-block;color:#8b704f;font:700 10px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap;}
.jaikas-brand-mark .jaikas-brand-lockup-inline{margin-inline:0 !important;}

/* Contact method cards remain evenly distributed after the obsolete public
   email is removed. */
@media (min-width:1000px){
  .jecontact-methods-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media (max-width:760px){
  header a[class$="-logo"],header a[class*="-logo "]{max-width:min(270px,66vw) !important;}
  .jaikas-brand-lockup-image{width:255px !important;}
  .jaikas-brand-lockup-inline{width:min(230px,80vw) !important;}
}
@media (max-width:390px){
  header a[class$="-logo"],header a[class*="-logo "]{max-width:min(220px,64vw) !important;}
  .jaikas-brand-lockup-image{width:210px !important;}
}

/* Standalone white-label WooCommerce account shell. The normal theme template
   is not rendered on /my-account/, so Twenty Twenty-Five / WordPress footer
   residue cannot appear. */
body.jaikas-account-body{
  margin:0;
  background:var(--jaikas-ivory);
  color:var(--jaikas-ink);
  font-family:Arial,Helvetica,sans-serif;
}
.jaikas-account-shell{min-height:100vh;background:linear-gradient(180deg,#fff 0,#fff 92px,var(--jaikas-ivory) 92px);}
.jaikas-account-header{
  position:sticky;top:0;z-index:60;
  border-bottom:1px solid #eadfD3;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px);
}
.jaikas-account-container{width:min(1220px,calc(100% - 48px));margin:0 auto;}
.jaikas-account-header-inner{min-height:86px;display:grid;grid-template-columns:285px 1fr auto;align-items:center;gap:28px;}
.jaikas-account-logo{display:inline-flex;align-items:center;width:320px;max-width:100%;text-decoration:none;}
.jaikas-account-logo img{display:block;width:100%;height:auto;}
.jaikas-account-nav{display:flex;justify-content:center;align-items:center;gap:28px;}
.jaikas-account-nav a{color:#45372c;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.12em;white-space:nowrap;}
.jaikas-account-nav a:hover,.jaikas-account-nav a:focus-visible{color:var(--jaikas-gold);}
.jaikas-account-tools{display:flex;align-items:center;gap:16px;}
.jaikas-account-tools a{display:grid;place-items:center;width:34px;height:34px;color:#45372c;text-decoration:none;position:relative;}
.jaikas-account-tools svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;}
.jaikas-account-main{padding:72px 0 92px;}
.jaikas-account-hero{text-align:center;margin:0 auto 42px;max-width:760px;}
.jaikas-account-hero .jaikas-brand-lockup-inline{margin-bottom:24px !important;}
.jaikas-account-hero h1{margin:0;font:400 clamp(40px,6vw,68px)/1.02 Georgia,'Times New Roman',serif;letter-spacing:.025em;color:#4a3521;}
.jaikas-account-hero p{margin:18px auto 0;color:#79695a;font-size:14px;line-height:1.75;max-width:620px;}
.jaikas-account-rule{width:74px;height:1px;margin:25px auto 0;background:var(--jaikas-gold);}
.jaikas-account-panel{background:#fff;border:1px solid var(--jaikas-line);padding:clamp(24px,4vw,50px);box-shadow:0 18px 55px rgba(74,53,33,.055);}
.jaikas-account-footer{border-top:1px solid var(--jaikas-line);background:#fff;padding:34px 0 40px;}
.jaikas-account-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;}
.jaikas-account-footer img{display:block;width:205px;height:auto;}
.jaikas-account-footer a{color:#6f5539;text-decoration:none;font-size:13px;}

/* WooCommerce account area */
.jaikas-account-panel .woocommerce{font-size:14px;color:#40342a;}
.jaikas-account-panel .woocommerce::after{content:"";display:block;clear:both;}
.jaikas-account-panel .woocommerce-notices-wrapper:empty{display:none;}
.jaikas-account-panel .woocommerce-message,
.jaikas-account-panel .woocommerce-info,
.jaikas-account-panel .woocommerce-error{margin:0 0 24px !important;padding:16px 18px !important;border:1px solid var(--jaikas-line) !important;border-top:2px solid var(--jaikas-gold) !important;background:#fcf8f2 !important;color:#4b3a2a !important;list-style:none !important;}
.jaikas-account-panel .woocommerce-MyAccount-navigation{float:left;width:25%;padding-right:32px;box-sizing:border-box;}
.jaikas-account-panel .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--jaikas-line);background:#fcfaf7;}
.jaikas-account-panel .woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid var(--jaikas-line);}
.jaikas-account-panel .woocommerce-MyAccount-navigation li:last-child{border-bottom:0;}
.jaikas-account-panel .woocommerce-MyAccount-navigation a{display:block;padding:15px 18px;color:#4b3a2a;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.jaikas-account-panel .woocommerce-MyAccount-navigation .is-active a,
.jaikas-account-panel .woocommerce-MyAccount-navigation a:hover{background:#efe4d6;color:#7c5729;}
.jaikas-account-panel .woocommerce-MyAccount-content{float:right;width:75%;box-sizing:border-box;}
.jaikas-account-panel h2,.jaikas-account-panel h3{font-family:Georgia,'Times New Roman',serif;color:#4a3521;font-weight:400;}
.jaikas-account-panel form.login,.jaikas-account-panel form.register,.jaikas-account-panel form.woocommerce-form{border:1px solid var(--jaikas-line) !important;padding:28px !important;border-radius:0 !important;background:#fff;}
.jaikas-account-panel .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;}
.jaikas-account-panel .u-column1,.jaikas-account-panel .u-column2{width:auto !important;float:none !important;}
.jaikas-account-panel label{display:block;margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6a5848;}
.jaikas-account-panel input.input-text,
.jaikas-account-panel input[type="text"],
.jaikas-account-panel input[type="email"],
.jaikas-account-panel input[type="password"],
.jaikas-account-panel input[type="tel"],
.jaikas-account-panel select,
.jaikas-account-panel textarea{box-sizing:border-box;width:100%;min-height:48px;padding:12px 13px;border:1px solid #cdbba8 !important;border-radius:0 !important;background:#fff !important;color:#30251b !important;font:inherit;box-shadow:none !important;}
.jaikas-account-panel button.button,
.jaikas-account-panel a.button,
.jaikas-account-panel input.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px !important;border:1px solid #30251b !important;border-radius:0 !important;background:#30251b !important;color:#fff !important;font-size:11px !important;font-weight:700 !important;letter-spacing:.09em !important;text-transform:uppercase;text-decoration:none !important;box-shadow:none !important;}
.jaikas-account-panel button.button:hover,.jaikas-account-panel a.button:hover,.jaikas-account-panel input.button:hover{background:#7c5729 !important;border-color:#7c5729 !important;}
.jaikas-account-panel a{color:#7a592f;}
.jaikas-account-panel table.shop_table{width:100%;border-collapse:collapse;border:1px solid var(--jaikas-line) !important;border-radius:0 !important;}
.jaikas-account-panel table.shop_table th,.jaikas-account-panel table.shop_table td{padding:14px !important;border-color:var(--jaikas-line) !important;}
.jaikas-account-panel address{border:1px solid var(--jaikas-line);padding:18px;font-style:normal;line-height:1.7;}

@media (max-width:980px){
  .jaikas-account-header-inner{grid-template-columns:1fr auto;gap:16px;min-height:78px;}
  .jaikas-account-nav{display:none;}
  .jaikas-account-logo{width:255px;}
  .jaikas-account-main{padding-top:52px;}
}
@media (max-width:760px){
  .jaikas-account-container{width:min(100% - 28px,1220px);}
  .jaikas-account-logo{width:215px;}
  .jaikas-account-tools{gap:7px;}
  .jaikas-account-tools a{width:30px;height:30px;}
  .jaikas-account-panel{padding:22px 18px;}
  .jaikas-account-panel .woocommerce-MyAccount-navigation,
  .jaikas-account-panel .woocommerce-MyAccount-content{float:none;width:100%;padding:0;}
  .jaikas-account-panel .woocommerce-MyAccount-navigation{margin-bottom:28px;}
  .jaikas-account-panel .u-columns{grid-template-columns:1fr;}
  .jaikas-account-footer-inner{align-items:flex-start;flex-direction:column;}
}
