/* ==========================================================================
   maude — Design System & Shoplazza Theme Overrides
   Replicated from https://getmaude.com/
   ========================================================================== */

@font-face {
  font-family: 'neue_haas_grotesk_text_proRg';
  src: url('https://cdn.shopify.com/s/files/1/1761/2711/files/NeueHaasGroteskTextPro-Regular.woff2?v=1718117653') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas Unica';
  src: url('https://cdn.shopify.com/s/files/1/1761/2711/files/NeueHaasUnicaW1G-Regular_0ffe4fb3-a064-413c-a78d-1fcacc7b10c8.woff2?v=1753275654') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas Unica';
  src: url('https://cdn.shopify.com/s/files/1/1761/2711/files/NeueHaasUnicaW1G-Medium.woff2?v=1679353023') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --maude-olive: #262613;
  --maude-olive-dark: #252612;
  --maude-olive-btn: #383921;
  --maude-olive-border: #3C3C2B;
  --maude-rust: #511500;
  --maude-stone: #E3E0DC;
  --maude-stone-border: #D0CDC8;
  --maude-card-bg: #ECEBE9;
  --maude-cream: #F6F5F3;
  --maude-white: #FFFFFF;
  --maude-taupe: #3D3935;
  --maude-muted: #6E6C66;
  --maude-badge: #570B0B;
  --maude-soldout: #636561;
  --maude-font-heading: 'neue_haas_grotesk_text_proRg', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --maude-font-body: 'Neue Haas Unica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --maude-gutter: 48px;
  --maude-radius-pill: 30px;
}

@media (max-width: 959.98px) {
  :root {
    --maude-gutter: 20px;
  }
}

html,
body.eva {
  font-family: var(--maude-font-body) !important;
  color: var(--maude-olive);
  background-color: var(--maude-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.template-index.eva {
  background-color: var(--maude-olive);
}

body.eva h1,
body.eva h2,
body.eva h3,
body.eva h4,
body.eva h5,
body.eva h6 {
  font-family: var(--maude-font-heading) !important;
  font-weight: 400;
}

body.eva input,
body.eva textarea,
body.eva button,
body.eva select {
  font-family: var(--maude-font-body) !important;
}

/* Remove Eva's default card spacing gaps on index page */
body.template-index .main-content > .card-spacing,
body.template-index .main-content > div[data-section-type] ~ .card-spacing {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

/* Shared container */
.maude-container {
  width: 100%;
  max-width: 100%;
  padding-left: var(--maude-gutter);
  padding-right: var(--maude-gutter);
  margin-left: auto;
  margin-right: auto;
}

/* Shared Pill Buttons */
.maude-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--maude-radius-pill);
  font-family: var(--maude-font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.maude-btn--solid-white {
  background-color: #FFFFFF;
  color: #080912;
  border: 1px solid #FFFFFF;
}

.maude-btn--solid-white:hover {
  background-color: #ECEBE9;
  border-color: #ECEBE9;
  color: #080912;
}

.maude-btn--outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.maude-btn--outline-white:hover {
  background-color: #FFFFFF;
  color: #262613;
  border-color: #FFFFFF;
}

.maude-btn--solid-olive {
  background-color: var(--maude-olive-btn);
  color: #FFFFFF;
  border: 1px solid var(--maude-olive-btn);
}

.maude-btn--solid-olive:hover {
  background-color: var(--maude-olive);
  border-color: var(--maude-olive);
  color: #FFFFFF;
}

/* ==========================================================================
   Announcement Bar (Sticky #511500 Rust)
   ========================================================================== */
[data-section-id="announcement"] {
  position: sticky !important;
  top: 0;
  z-index: 1040 !important;
}

.maude-announcement {
  background: var(--maude-rust);
  color: #FFFFFF;
  min-height: 38px;
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.maude-announcement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  gap: 16px;
}

.maude-announcement__arrow {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.maude-announcement__arrow:hover {
  opacity: 1;
}

.maude-announcement__track {
  flex: 1;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.maude-announcement__slide {
  display: none;
}

.maude-announcement__slide.is-active {
  display: block;
}

.maude-announcement__slide p {
  margin: 0;
}

.maude-announcement__slide a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Header Navigation (Transparent over Hero on Index, Solid #262613 elsewhere)
   ========================================================================== */
[data-section-id="header"] .header__nav {
  background-color: var(--maude-olive);
  color: #FFFFFF;
  border-bottom: none;
}

[data-section-id="header"] .header_grid_layout {
  max-width: 100%;
  padding-left: var(--maude-gutter);
  padding-right: var(--maude-gutter);
  min-height: 70px;
}

[data-section-id="header"] .header__logo {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

[data-section-id="header"] .header__logo-content {
  width: 104px !important;
  display: flex;
  align-items: center;
}

@media (max-width: 959.98px) {
  [data-section-id="header"] .header_grid_layout {
    min-height: 60px;
  }
  [data-section-id="header"] .header__logo-content {
    width: 84px !important;
    margin: 0 auto;
  }
  [data-section-id="header"] .header__overlay-home {
    position: relative !important;
  }
  [data-section-id="header"] .header__overlay-home .header__nav {
    background-color: var(--maude-olive) !important;
  }
  [data-section-id="header"] .header__overlay-home:before {
    display: none !important;
  }
}

/* Transparent overlay on desktop homepage */
@media (min-width: 960px) {
  body.template-index [data-section-id="header"]:not(.header__fixed-open) .header__overlay-home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
  }
  body.template-index [data-section-id="header"]:not(.header__fixed-open) .header__overlay-home:before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 60%, transparent 100%);
  }
  body.template-index [data-section-id="header"]:not(.header__fixed-open) .header__overlay-home .header__nav {
    background-color: transparent !important;
    color: #FFFFFF !important;
  }
  body.template-index [data-section-id="header"].header__fixed-open .header__nav {
    background-color: var(--maude-olive) !important;
    color: #FFFFFF !important;
  }
}

[data-section-id="header"] .header__menu-item-first > div > a,
[data-section-id="header"] .header__submenu-title {
  font-family: var(--maude-font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: lowercase !important;
  letter-spacing: 0.01em !important;
  color: #FFFFFF !important;
}

[data-section-id="header"] .header__menu-item-first:hover > div > a {
  opacity: 0.85;
}

[data-section-id="header"] .header__menu-openable.header__menu-item-first:hover {
  background-color: transparent !important;
  color: #FFFFFF !important;
}

[data-section-id="header"] .header__submenu {
  background-color: var(--maude-cream) !important;
  color: var(--maude-olive) !important;
}

[data-section-id="header"] .header__icons,
[data-section-id="header"] .header__icons a,
[data-section-id="header"] .header__icons i,
[data-section-id="header"] .header__icons svg {
  color: #FFFFFF;
}

[data-section-id="header"] .header__cart_count {
  background-color: #FFFFFF !important;
  color: var(--maude-olive) !important;
  font-weight: 500;
}

/* Mobile drawer styled to match maude */
[data-section-id="header"] .header__drawer {
  background-color: var(--maude-olive) !important;
  color: #FFFFFF !important;
}

[data-section-id="header"] .header__drawer a,
[data-section-id="header"] .header__drawer button {
  color: #FFFFFF !important;
}

/* ==========================================================================
   Global Product Card Styling (Collection, Search, Related Products)
   ========================================================================== */
body:not(.template-index) .product-snippet {
  background-color: var(--maude-card-bg);
  padding-bottom: 18px;
  transition: transform 0.25s ease;
}

body:not(.template-index) .product-snippet__image {
  background-color: var(--maude-card-bg);
}

body:not(.template-index) .product-snippet__img-wrapper {
  background-color: var(--maude-card-bg);
  border-radius: 0 !important;
}

body:not(.template-index) .product-snippet__title-normal {
  padding: 0 14px;
  margin-top: 14px !important;
}

body:not(.template-index) .product-snippet__title-normal a {
  font-family: var(--maude-font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--maude-olive) !important;
  text-transform: lowercase;
}

body:not(.template-index) .product-snippet__price-wrapper {
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--maude-taupe) !important;
}

/* Sale tag maroon pill */
.tw-bg-sale-tag {
  background-color: var(--maude-badge) !important;
  color: #FFFFFF !important;
  border-radius: 4px !important;
  top: 12px !important;
  left: 12px !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

/* Primary & Secondary Eva buttons on Collection / PDP / Cart */
.tw-primary-btn,
.tw-primary-btn-style {
  background-color: var(--maude-olive-btn) !important;
  color: #FFFFFF !important;
  border-radius: 30px !important;
  font-weight: 400 !important;
  text-transform: lowercase !important;
  letter-spacing: 0.02em !important;
}

.tw-primary-btn:hover,
.tw-primary-btn-style:hover {
  background-color: var(--maude-olive) !important;
}

.tw-secondary-btn,
.tw-secondary-btn-style {
  border-radius: 30px !important;
  font-weight: 400 !important;
  text-transform: lowercase !important;
  letter-spacing: 0.02em !important;
  border-color: var(--maude-olive) !important;
  color: var(--maude-olive) !important;
}

/* Collection & Product Page Warm Cream Canvas */
body.template-collection,
body.template-product,
body.template-search,
body.template-cart,
body.template-page {
  background-color: var(--maude-cream) !important;
  color: var(--maude-olive) !important;
}

body.template-product .product-info__title,
body.template-collection h1,
body.template-collection .tw-text-heading {
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

/* Hide Shoplazza product review rating widget below product title */
body.eva .product-info__header .shoplazza-reviews-rating-wrap,
.product-info__header .shoplazza-reviews-rating-wrap {
  display: none !important;
}

/* ==========================================================================
   Maude All Products Catalog Page (/search?view=all)
   ========================================================================== */
.maude-cat {
  padding: 48px 0 72px;
  color: #262613;
}
.maude-cat__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #E1E0DD;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.maude-cat__kicker {
  font-size: 13px;
  color: #6E6C66;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.maude-cat__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #262613;
  display: inline-block;
}
.maude-cat__title {
  font-family: var(--maude-font-heading) !important;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: lowercase;
  margin: 0;
  color: #262613;
}
.maude-cat__search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(38, 38, 19, 0.35);
  padding-bottom: 6px;
  min-width: 240px;
}
.maude-cat__search input {
  border: none !important;
  background: transparent !important;
  color: #262613;
  font-size: 14px;
  flex: 1;
  min-width: 0;
  padding: 4px 8px 4px 0;
  outline: none;
}
.maude-cat__search button {
  border: none;
  background: transparent;
  color: #262613;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
}
.maude-cat__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.maude-cat__pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.maude-cat__pill {
  border: 1px solid #D0CDC8;
  background: transparent;
  color: #262613;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13.5px;
  line-height: 1;
  text-transform: lowercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.maude-cat__pill:hover {
  border-color: #262613;
}
.maude-cat__pill.is-active {
  background: #262613;
  border-color: #262613;
  color: #FFFFFF;
}
.maude-cat__count {
  font-size: 13.5px;
  color: #6E6C66;
  white-space: nowrap;
}
.maude-cat__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 12px;
}
.maude-cat__card {
  background: #ECEBE9;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.maude-cat__media {
  position: relative;
  width: 100%;
  padding-bottom: 104%;
  background: #ECEBE9;
  overflow: hidden;
}
.maude-cat__media a {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}
.maude-cat__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: opacity 0.35s ease, transform 0.5s ease;
  display: block;
}
.maude-cat__media img.is-hover {
  opacity: 0;
}
.maude-cat__media:hover img.is-hover {
  opacity: 1;
  transform: scale(1.02);
}
.maude-cat__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.maude-cat__badge {
  background: #570B0B;
  color: #FFFFFF;
  font-size: 11px;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 4px;
  text-transform: lowercase;
}
.maude-cat__badge--soldout {
  background: #636561;
}
.maude-cat__quickadd {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(38, 38, 19, 0.9);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}
.maude-cat__media:hover .maude-cat__quickadd {
  opacity: 1;
  transform: translateY(0);
}
.maude-cat__info {
  padding: 14px 14px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.maude-cat__name {
  font-size: 15.5px;
  color: #262613;
  text-decoration: none;
  text-transform: lowercase;
  line-height: 1.3;
  margin-bottom: 6px;
}
.maude-cat__name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.maude-cat__price {
  font-size: 13px;
  color: #5C5B55;
  text-decoration: none;
  display: inline-flex;
  gap: 8px;
  margin-top: auto;
}
.maude-cat__compare {
  text-decoration: line-through;
  opacity: 0.55;
}
.maude-cat__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 0;
  color: #6E6C66;
  font-size: 14px;
}
@media (max-width: 1199.98px) {
  .maude-cat__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .maude-cat {
    padding: 28px 0 48px;
  }
  .maude-cat__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .maude-cat__quickadd {
    opacity: 1;
    transform: none;
    width: 30px;
    height: 30px;
  }
  .maude-cat__search {
    width: 100%;
  }
}

/* ==========================================================================
   Footer (5-Column Dark Olive #262613)
   ========================================================================== */
.maude-footer {
  background-color: var(--maude-olive);
  color: #FFFFFF;
  padding: 72px 0 36px;
  font-family: var(--maude-font-body);
}

.maude-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 1.05fr 0.85fr 0.95fr 0.85fr;
  gap: 40px 36px;
  align-items: start;
}

.maude-footer__heading {
  font-family: var(--maude-font-heading) !important;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0 0 18px 0;
  text-transform: lowercase;
  letter-spacing: -0.01em;
}

.maude-footer__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 22px 0;
  max-width: 280px;
}

.maude-footer__form {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  padding-bottom: 10px;
  max-width: 280px;
  transition: border-color 0.2s ease;
}

.maude-footer__form:focus-within {
  border-bottom-color: #FFFFFF;
}

.maude-footer__input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 13.5px;
  padding: 4px 8px 4px 0;
  outline: none;
}

.maude-footer__input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.maude-footer__input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.maude-footer__submit {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 400;
  cursor: pointer;
  padding: 4px 0 4px 12px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.maude-footer__submit:hover {
  opacity: 0.72;
}

.maude-footer__feedback {
  margin-top: 10px;
  font-size: 12.5px;
  min-height: 18px;
}

.maude-footer__feedback.is-success {
  color: #C4E3C2;
}

.maude-footer__feedback.is-error {
  color: #F4B0A8;
}

.maude-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.maude-footer__links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  transition: color 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.maude-footer__links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.maude-footer__help-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.9;
}

.maude-footer__socials {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.maude-footer__socials a {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.maude-footer__socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.maude-footer__bottom {
  margin-top: 56px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.maude-footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.maude-footer__bottom a:hover {
  color: #FFFFFF;
}

@media (max-width: 1100px) {
  .maude-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .maude-footer {
    padding: 48px 0 32px;
  }
  .maude-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .maude-footer__bottom {
    justify-content: flex-start;
    margin-top: 36px;
  }
}
