.siteHeader {
  position: sticky;
  top: -36px;
  z-index: 40;
  width: 100%;
  color: var(--tt-ink, #101820);
  font-family: "Quicksand", Arial, sans-serif;
}

.announcement {
  position: relative;
  z-index: 4;
  height: 36px;
  background: var(--tt-cream, #efe7d5);
}

.announcement a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.announcement a:hover svg { transform: translateX(3px); }
.announcement svg { transition: transform 160ms ease; }

.stickyHeader {
  position: relative;
  z-index: 40;
  height: 120px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(103, 103, 103, 0.05);
}

.desktopUtility {
  position: relative;
  display: flex;
  height: 84px;
  align-items: center;
  justify-content: space-between;
  padding: 0 58px;
  border-bottom: 1px solid #f1f1f1;
}

.desktopLogo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 200px;
  height: 35px;
  transform: translate(-50%, -50%);
}

.desktopLogo img,
.mobileLogo img { width: 100%; height: 100%; object-fit: contain; }

.desktopActions,
.mobileActions { display: flex; align-items: center; }
.desktopActions { gap: 27px; }

.iconButton,
.mobileToggle {
  position: relative;
  display: grid;
  width: 28px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.iconButton svg { width: 25px; height: 25px; }
.iconButton:focus-visible,
.mobileToggle:focus-visible,
.desktopNav a:focus-visible,
.desktopNav button:focus-visible,
.megaPanel button:focus-visible,
.megaPanel a:focus-visible,
.mobileMenu a:focus-visible,
.mobileMenu button:focus-visible,
.drawerPanel button:focus-visible {
  outline: 2px solid #101820;
  outline-offset: 3px;
}

.cartButton > span {
  position: absolute;
  top: -2px;
  right: -7px;
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  place-items: center;
  border-radius: 50%;
  background: #101820;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
}

.desktopNav {
  display: flex;
  height: 36px;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
}

.desktopNav a,
.desktopNav button {
  position: relative;
  display: flex;
  height: 36px;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #444950;
  font-size: 14px;
  font-weight: 500;
  line-height: 36px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.desktopNav a::after,
.desktopNav button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #101820;
  content: "";
  opacity: 0;
  transform: scaleX(0.75);
  transition: opacity 140ms ease, transform 140ms ease;
}

.desktopNav a:hover::after,
.desktopNav button:hover::after,
.desktopNav .activeNav::after { opacity: 1; transform: scaleX(1); }
.desktopNav .activeNav svg { transform: rotate(180deg); }
.desktopNav svg { transition: transform 150ms ease; }

.megaPanel {
  position: absolute;
  top: 120px;
  right: 0;
  left: 0;
  z-index: 35;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 5px rgba(18, 18, 18, 0.05);
  animation: revealMenu 150ms ease both;
}

@keyframes revealMenu {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.megaPanel button,
.megaPanel a { font-family: inherit; text-decoration: none; }
.typePanel { height: 475px; padding: 32px 0 30px; }
.typeGrid {
  display: grid;
  width: min(1226px, calc(100% - 80px));
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.typeCard,
.iconCard {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #101820;
  cursor: pointer;
}

.typeCard {
  height: 332px;
  overflow: hidden;
  border-radius: 10px;
  background: #e0ceaa;
  font-size: 14px;
  line-height: 32px;
}

.typeImage {
  position: relative;
  display: block;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.typeImage img { object-fit: cover; transition: transform 400ms ease; }
.typeCard:hover .typeImage img { transform: scale(1.025); }

.sizeQuiz,
.sizeQuizCart {
  border: 2px solid #e0ceaa;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.sizeQuiz {
  width: max-content;
  max-width: calc(100% - 40px);
  margin: 31px auto 0;
  padding: 9px 10px;
  box-shadow: inset 0 5px 0 #e0ceaa;
}

.sizeQuiz button,
.sizeQuizCart button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.iconPanel { height: 201px; padding-top: 44px; }
.iconGrid {
  display: grid;
  width: 706px;
  max-width: calc(100% - 60px);
  margin: 0 auto;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.iconCard { gap: 7px; font-size: 14px; line-height: 20px; }
.iconImage { position: relative; display: block; width: 76px; height: 76px; }
.iconImage img { object-fit: contain; transition: transform 200ms ease; }
.iconCard:hover .iconImage img { transform: translateY(-2px); }

.collectionsPanel { height: 448px; padding: 30px 0; }
.collectionColumns {
  display: grid;
  width: 586px;
  max-width: calc(100% - 60px);
  margin: 0 auto;
  grid-template-columns: 1.2fr 1.1fr 1fr;
}

.collectionColumn { min-height: 387px; padding: 0 30px; border-left: 1px solid #e3e3e3; }
.collectionColumn:first-child { padding-left: 0; border-left: 0; }
.collectionColumn p { margin: 0 0 12px; color: #888c91; font-size: 14px; line-height: 20px; text-transform: uppercase; }
.collectionColumn a {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #31383e;
  font-size: 14px;
  line-height: 35px;
  text-align: left;
  cursor: pointer;
}
.collectionColumn a:hover { text-decoration: underline; text-underline-offset: 3px; }
.colorDot { width: 11px; height: 11px; border: 1px solid #d4d4d4; border-radius: 50%; }

.searchPanel {
  position: absolute;
  top: 120px;
  right: 0;
  left: 0;
  z-index: 38;
  max-height: calc(100dvh - 120px);
  overflow: auto;
  border-top: 1px solid #eee;
  background: #fff;
  box-shadow: 0 8px 18px rgb(16 24 32 / 12%);
}

.searchInputRow {
  display: grid;
  width: min(760px, calc(100% - 48px));
  min-height: 70px;
  align-items: center;
  margin: 0 auto;
  grid-template-columns: 28px 1fr 32px;
}

.searchInputRow input {
  height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101820;
  font-size: 20px;
}

.searchInputRow button { display: grid; height: 32px; padding: 0; place-items: center; border: 0; background: transparent; }
.searchResults { display: grid; width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 4px 0 22px; }
.searchResults > a { display: grid; min-height: 72px; align-items: center; gap: 14px; border-top: 1px solid #eee; grid-template-columns: 56px 1fr 24px; text-decoration: none; }
.searchResults img, .searchPlaceholder { width: 56px; height: 56px; background: #f4f4f4; object-fit: contain; }
.searchResults small { display: block; color: #777; font-size: 9px; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.searchResults strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; }
.searchResults > p { padding: 20px 0; border-top: 1px solid #eee; font-size: 13px; text-align: center; }

.mobileBar,
.mobileMenu { display: none; }

.drawerRoot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  color: #101820;
  font-family: "Quicksand", Arial, sans-serif;
}

.drawerBackdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(16, 24, 32, 0.5);
  cursor: default;
  animation: backdropIn 200ms ease both;
}

.drawerPanel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(460px, 100vw);
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  animation: drawerIn 200ms ease both;
}

@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.drawerHeader {
  position: relative;
  display: grid;
  min-height: 74px;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #f1f1f1;
  grid-template-columns: 36px 1fr 72px;
}

.drawerHeader h2 { grid-column: 2; margin: 0; font-size: 27px; font-weight: 600; line-height: 1; text-align: center; }
.drawerHeader > svg { justify-self: start; }
.drawerClose {
  grid-column: 3;
  justify-self: end;
  display: flex;
  height: 29px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 2px solid #101820;
  background: #fff;
  font-size: 13px;
  line-height: 25px;
  letter-spacing: 0.2px;
  cursor: pointer;
}
.drawerClose svg { display: none; }
.drawerScroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; }

.emptyCart { padding: 19px 20px 0; }
.emptyCart > h3 { margin: 0; font-size: 23px; font-weight: 500; line-height: 1.25; text-align: center; }
.startShopping {
  display: block;
  margin: 30px auto 39px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #74777b;
  font-size: 18px;
  cursor: pointer;
}
.startShopping:hover { color: #101820; text-decoration: underline; text-underline-offset: 4px; }

.recommendations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.recommendation { min-width: 0; text-align: center; }
.recommendationVisual { overflow: hidden; border: 2px solid #ededed; border-radius: 13px; background: #f7f7f7; }
.recommendationImage { position: relative; height: 191px; background: #fff; }
.recommendationImage img { object-fit: contain; padding: 16px; }
.heart { position: absolute; top: 14px; right: 10px; color: #efa6ad; fill: #fff; }
.recommendationVisual p {
  display: flex;
  height: 69px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 13px;
  line-height: 17px;
}
.recommendationVisual strong { padding: 0 4px; border-radius: 9px; background: #000; color: #fff; font-size: 13px; line-height: 18px; }
.recommendation h4 { min-height: 58px; margin: 22px 4px 4px; color: #74777b; font-size: 19px; font-weight: 400; line-height: 1.55; }
.price { margin-bottom: 15px; font-size: 16px; font-weight: 600; }
.addButton,
.checkoutButton {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 24px;
  background: #0c0c0c;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.7px;
  cursor: pointer;
}
.addButton:hover,
.checkoutButton:hover { background: #2c3339; }

.sizeQuizCart { margin: 30px 0; padding: 13px 10px 9px; box-shadow: inset 0 5px 0 #e0ceaa; }
.servicePanel { padding: 17px 20px; border-radius: 8px 8px 0 0; background: #eef3f4; color: #6e7378; }
.servicePanel p { display: flex; align-items: center; gap: 18px; margin: 0; font-size: 14px; line-height: 44px; }
.servicePanel svg { flex: 0 0 auto; color: #101820; }

.filledCart { padding: 20px; }
.cartSummary { margin: 0 0 18px; color: #74777b; font-size: 14px; text-align: center; }
.cartLines { border-top: 1px solid #e6e6e6; }
.cartRow { display: grid; padding: 20px 0; border-bottom: 1px solid #e6e6e6; grid-template-columns: 96px 1fr; gap: 16px; }
.cartRowImage { position: relative; width: 96px; height: 112px; overflow: hidden; border-radius: 8px; background: #f7f7f7; }
.cartRowImage img { object-fit: contain; }
.cartRowContent h3 { margin: 0 0 5px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.cartRowContent > p { margin: 0 0 12px; color: #74777b; font-size: 13px; }
.rowBottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quantity { display: grid; height: 34px; border: 1px solid #cfd1d2; grid-template-columns: 32px 32px 32px; }
.quantity button { padding: 0; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.quantity span { display: grid; place-items: center; border-right: 1px solid #e1e1e1; border-left: 1px solid #e1e1e1; font-size: 13px; }
.removeButton { margin-top: 8px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #74777b; font-size: 12px; cursor: pointer; }
.subtotal { display: flex; justify-content: space-between; margin: 24px 0 14px; font-size: 19px; }
.checkoutNote { margin: 10px 0 0; color: #74777b; font-size: 11px; line-height: 1.4; text-align: center; }
.filledCart .sizeQuizCart { margin-top: 24px; }

@media (max-width: 989px) {
  .siteHeader { top: -51px; }
  .announcement { height: 51px; }
  .announcement a { width: 330px; margin: 0 auto; gap: 8px; font-size: 12px; line-height: 16px; }
  .announcement a span { max-width: 286px; }
  .stickyHeader { height: 60px; }
  .desktopUtility, .desktopNav, .megaPanel { display: none; }
  .mobileBar {
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px 0 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(103, 103, 103, 0.05);
  }
  .mobileLogo { display: block; width: 150px; height: 26px; }
  .mobileActions { gap: 13px; }
  .mobileActions .iconButton { width: 29px; }
  .mobileToggle { width: 32px; height: 32px; }
  .mobileToggleOpen { border: 1.5px solid #101820; }
  .mobileMenu {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    z-index: 30;
    display: block;
    height: calc(100dvh - 111px);
    overflow-y: auto;
    visibility: hidden;
    background: #fff;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 200ms ease, opacity 200ms ease, visibility 200ms;
  }
  .searchPanel { top: 60px; max-height: calc(100dvh - 111px); }
  .searchInputRow, .searchResults { width: calc(100% - 30px); }
  .searchInputRow { min-height: 62px; }
  .searchInputRow input { height: 46px; font-size: 16px; }
  .mobileMenuOpen { visibility: visible; opacity: 1; transform: translateX(0); }
  .mobileMenuLinks { padding: 21px 20px 17px; background: #faf7f4; }
  .mobileMenuItem > button,
  .mobileMenuItem > a {
    display: grid;
    width: 100%;
    min-height: 69px;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #343a40;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
    text-decoration: none;
    grid-template-columns: 53px 1fr 24px;
    cursor: pointer;
  }
  .mobileMenuItem img { width: 48px; height: 48px; object-fit: contain; filter: grayscale(1); opacity: 0.72; }
  .mobileMenuItem > a { grid-template-columns: 53px 1fr; }
  .mobileMenuItem svg { justify-self: end; transition: transform 150ms ease; }
  .rotatedChevron { transform: rotate(90deg); }
  .mobileSubmenu { display: grid; padding: 0 0 10px 54px; }
  .mobileSubmenu a { padding: 8px 10px; color: #4f5459; font-size: 14px; line-height: 20px; text-decoration: none; }
  .mobileLogin {
    display: flex;
    width: 100%;
    height: 81px;
    align-items: center;
    gap: 14px;
    padding: 0 30px;
    border: 0;
    background: #fff;
    color: #30363b;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
  }
}

@media (max-width: 520px) {
  .drawerHeader { min-height: 68px; grid-template-columns: 32px 1fr 34px; }
  .drawerHeader h2 { font-size: 24px; }
  .drawerClose { width: 32px; height: 32px; padding: 0; }
  .drawerClose span { display: none; }
  .drawerClose svg { display: block; }
  .emptyCart { padding-right: 14px; padding-left: 14px; }
  .startShopping { margin-bottom: 28px; }
  .recommendations { gap: 10px; }
  .recommendationImage { height: 168px; }
  .recommendation h4 { min-height: 70px; margin-top: 14px; font-size: 16px; }
  .addButton { font-size: 13px; }
  .servicePanel { padding-right: 14px; padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .megaPanel, .drawerBackdrop, .drawerPanel { animation-duration: 1ms; }
  .mobileMenu, .announcement svg, .desktopNav svg, .typeImage img, .iconImage img { transition-duration: 1ms; }
}
