/* KriyaLuxe V10.102 — primary brand treatment.
   Header tagline has been removed in header.php for all screen sizes.
   Loaded after V10.70 and V10.72 CSS to override their narrow mobile wordmark rules.
   No checkout, product, stock or customer-account behaviour changes. */
.krl-header .krl-brand { gap:14px; min-width:0; flex-shrink:0; align-items:center; }
.krl-header .krl-brand > img {
  display:block; width:76px!important; height:76px!important;
  flex:0 0 76px!important; min-width:76px!important;
  object-fit:contain; object-position:center;
}
.krl-header .krl-brand > .krl-wordmark {
  display:block!important; font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(24px,2.2vw,30px)!important;
  font-weight:500!important; letter-spacing:.10em!important;
  line-height:1.1!important; white-space:nowrap!important;
  overflow:visible!important; width:auto!important; max-width:none!important;
}
.krl-header .krl-brand > .krl-wordmark strong { font-weight:400; color:#ac8850; }
/* The legacy tagline must not reappear if cached markup survives a stylesheet update. */
.krl-header .krl-brand small {display:none!important;visibility:hidden!important;}
.krl-footer .krl-footer-grid > section:first-child > img {
  width:136px!important; height:136px!important;
  max-width:100%; object-fit:contain;
}
.krl-footer .krl-footer-grid > section:first-child > h3 {
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(23px,2vw,29px); font-weight:500;
  letter-spacing:.07em; line-height:1.18;
  margin-top:12px;
}
@media (min-width:701px) and (max-width:950px) {
  .krl-header .krl-brand {gap:11px;}
  .krl-header .krl-brand > img {width:62px!important;height:62px!important;flex-basis:62px!important;min-width:62px!important;}
  .krl-header .krl-brand > .krl-wordmark {font-size:24px!important;letter-spacing:.06em!important;}
}
@media (max-width:700px) {
  /* Preserve two compact rows. Put the brand on the same row as account/favorites/bag;
     move only the department toggle beside the existing search field. */
  .krl-header .krl-header-inner {
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) 135px!important;
    grid-template-areas:'brand brand actions' 'toggle search search'!important;
    column-gap:8px!important; row-gap:7px!important;
    align-items:center!important;
    padding:9px 0!important;
  }
  .krl-header .krl-brand {
    grid-area:brand!important;display:flex!important;
    align-items:center!important;gap:7px!important;
    min-width:0!important;width:100%!important;max-width:100%!important;
    overflow:hidden!important;flex:none!important;
  }
  .krl-header .krl-brand > img {
    width:49px!important;height:49px!important;
    flex:0 0 49px!important;min-width:49px!important;
  }
  .krl-header .krl-brand > .krl-wordmark {
    display:block!important;min-width:0!important;width:auto!important;
    max-width:100%!important;overflow:hidden!important;
    white-space:nowrap!important;
    font-size:clamp(17px,5vw,23px)!important;
    letter-spacing:.025em!important;line-height:1.15!important;
  }
  .krl-header .krl-actions {grid-area:actions!important;}
  .krl-header .krl-mobile-toggle {grid-area:toggle!important;}
  .krl-header .krl-search {grid-area:search!important;width:100%!important;min-width:0!important;}
  .krl-footer .krl-footer-grid > section:first-child > img {
    width:112px!important;height:112px!important;
  }
  .krl-footer .krl-footer-grid > section:first-child > h3 {font-size:24px;}
}
@media (max-width:370px) {
  .krl-header .krl-header-inner {
    grid-template-columns:36px minmax(0,1fr) 129px!important;
    column-gap:6px!important;
  }
  .krl-header .krl-brand {gap:5px!important;}
  .krl-header .krl-brand > img {
    width:41px!important;height:41px!important;
    min-width:41px!important;flex:0 0 41px!important;
  }
  .krl-header .krl-brand > .krl-wordmark {
    font-size:15.5px!important;letter-spacing:.012em!important;
  }
}
@media (max-width:335px) {
  .krl-header .krl-brand > img {
    width:38px!important;height:38px!important;
    min-width:38px!important;flex-basis:38px!important;
  }
  .krl-header .krl-brand > .krl-wordmark {font-size:14.5px!important;letter-spacing:0!important;}
}
