/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ========================================================================== 
   Author's custom styles
   ========================================================================== */

:root {
  --brand-red: #ed0017;
  --text-color: #202124;
  --border-color: #e6e6e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text-color);
  font-family: "Roboto", Arial, sans-serif;
}

body::before {
  position: fixed;
  z-index: 30;
  visibility: hidden;
  background: rgb(20 22 27 / 48%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s;
}

body:has(.account-area:hover)::before,
body:has(.account-area:focus-within)::before,
body:has(.account-area.is-open)::before {
  visibility: visible;
  opacity: 1;
}

body.is-searching::before {
  visibility: visible;
  background: rgb(24 25 29 / 42%);
  backdrop-filter: blur(3px) grayscale(.2);
  opacity: 1;
  pointer-events: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.header-container {
  padding-right: 0;
  padding-left: 0;
}

.header-main {
  position: relative;
  padding: 13px 0 14px;
  background: #fff;
}

.header-search-column {
  --search-offset: 28px;
  position: relative;
}

.header-main.search-is-open .header-search-column {
  z-index: 65;
}

.header-main.search-is-open .account-area {
  z-index: auto;
}

.header-search-column::after {
  position: absolute;
  z-index: 1;
  bottom: -5px;
  left: var(--search-offset);
  width: calc(100% - var(--search-offset));
  height: 26px;
  background: #fff;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity .18s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}

.header-main.search-is-open .header-search-column::after {
  opacity: 1;
  transform: scaleY(1);
}

.header-main::after,
.category-nav::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 100vw;
  border-bottom: 1px solid var(--border-color);
  content: "";
  transform: translateX(50%);
  pointer-events: none;
}

.header-logo {
  display: block;
  width: 175px;
}

.header-logo img {
  display: block;
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.header-search {
  position: relative;
  z-index: 2;
  display: flex;
  height: 50px;
  margin-left: 28px;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 16px;
  background: #fff;
  transform-origin: center;
  transition: border-color .22s ease, border-radius .22s ease, box-shadow .22s ease, transform .22s ease;
}

.header-search:focus-within,
.header-main.search-is-open .header-search {
  border-color: var(--brand-red);
  border-bottom-color: transparent;
  border-radius: 18px 18px 0 0;
  box-shadow:
    0 -2px 0 4px rgb(237 0 23 / 9%),
    -9px -4px 24px -10px rgb(26 10 13 / 24%),
    9px -4px 24px -10px rgb(26 10 13 / 24%);
  transform: translateY(9px) scale(1.035, 1.09);
  animation: search-focus-forward .32s cubic-bezier(.18, .82, .22, 1) both;
}

@keyframes search-focus-forward {
  0% { transform: translateY(0) scale(.985, 1); }
  65% { transform: translateY(10px) scale(1.042, 1.105); }
  100% { transform: translateY(9px) scale(1.035, 1.09); }
}

.header-search input {
  min-width: 0;
  flex: 1;
  padding: 0 22px;
  border: 0;
  outline: 0;
  font: 400 16px/1 "Roboto", Arial, sans-serif;
}

.header-search input::placeholder {
  color: #999;
}

.header-search button {
  width: 58px;
  flex: 0 0 58px;
  border: 0;
  background: var(--brand-red);
  color: #fff;
  cursor: pointer;
}

.header-search button img {
  width: 27px;
  filter: brightness(0) invert(1);
}

.search-mega-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% - 9px);
  left: 50%;
  visibility: hidden;
  width: min(1200px, calc(100vw - 24px));
  max-height: calc(100vh - 116px);
  overflow: auto;
  border: 1px solid rgb(226 226 228 / 92%);
  border-radius: 19px;
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 26px 70px rgb(11 12 16 / 28%);
  opacity: 0;
  overscroll-behavior: contain;
  pointer-events: none;
  transform: translate(-50%, -14px) scale(.985);
  transform-origin: top center;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility .28s;
}

.header-main.search-is-open .search-mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.header-main.search-is-open .search-mega-menu::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(660px, 58%);
  height: 1px;
  background: #fff;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.search-mega-skeleton {
  position: absolute;
  z-index: 8;
  display: grid;
  visibility: hidden;
  min-height: 100%;
  grid-template-columns: .9fr 1.08fr 1.22fr;
  grid-template-rows: minmax(505px, 1fr) 78px;
  background: #fff;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s;
}

.search-mega-menu.is-loading .search-mega-skeleton {
  visibility: visible;
  opacity: 1;
  animation: skeleton-panel-in .16s ease both;
}

.search-skeleton-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 13px;
  padding: 27px 27px 24px;
  border-right: 1px solid #eeeeef;
}

.search-skeleton-column:last-child { border-right: 0; }

.skeleton-line,
.skeleton-pills i,
.skeleton-card-grid i,
.skeleton-product {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(105deg, #f0f0f2 20%, #fafafa 38%, #f0f0f2 56%);
  background-size: 220% 100%;
  animation: search-skeleton-shimmer 1.15s linear infinite;
}

.skeleton-line { width: 88%; height: 13px; }
.skeleton-heading { width: 42%; height: 18px; margin-bottom: 5px; }
.skeleton-line-short { width: 54%; }
.skeleton-line-medium { width: 72%; }

.skeleton-divider {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: #eeeeef;
}

.skeleton-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.skeleton-pills i { width: 63px; height: 31px; border-radius: 16px; }
.skeleton-pills i:nth-child(2) { width: 78px; }
.skeleton-pills i:nth-child(4) { width: 86px; }

.skeleton-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.skeleton-card-grid i { height: 118px; border-radius: 10px; }
.search-skeleton-products { gap: 9px; }
.skeleton-product { width: 100%; height: 88px; border: 1px solid #f0f0f1; border-radius: 10px; }

.search-skeleton-shortcuts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  border-top: 1px solid #eeeeef;
  background: #fff;
}

.search-skeleton-shortcuts span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-right: 1px solid #eeeeef;
}

.search-skeleton-shortcuts span:last-child { border-right: 0; }

.search-skeleton-shortcuts i,
.search-skeleton-shortcuts b {
  display: block;
  background: linear-gradient(105deg, #f0f0f2 20%, #fafafa 38%, #f0f0f2 56%);
  background-size: 220% 100%;
  animation: search-skeleton-shimmer 1.15s linear infinite;
}

.search-skeleton-shortcuts i { width: 30px; height: 30px; border-radius: 50%; }
.search-skeleton-shortcuts b { width: 92px; height: 22px; border-radius: 6px; }

@keyframes search-skeleton-shimmer {
  from { background-position: 110% 0; }
  to { background-position: -110% 0; }
}

@keyframes skeleton-panel-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.search-mega-grid {
  display: grid;
  grid-template-columns: .9fr 1.08fr 1.22fr;
}

.search-mega-column {
  min-width: 0;
  padding: 24px 26px 20px;
  border-right: 1px solid #ececee;
}

.search-mega-column:last-child { border-right: 0; }

.search-mega-column h2,
.search-mega-column h3 {
  display: flex;
  align-items: center;
  margin: 0;
  color: #25262a;
}

.search-mega-column h2 { gap: 9px; font-size: 15px; }
.search-mega-column h3 { gap: 8px; font-size: 13px; }
.search-mega-column h2 img { width: 20px; }
.search-mega-column h3 img { width: 17px; }
.search-mega-column h2 img,
.search-mega-column h3 img { filter: invert(14%) sepia(99%) saturate(6348%) hue-rotate(350deg) brightness(101%); }

.smart-search-list {
  display: grid;
  gap: 1px;
  margin-top: 12px;
}

.smart-search-item {
  display: grid;
  min-height: 35px;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 7px;
  border-radius: 7px;
  font-size: 12px;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.smart-search-item:hover,
.smart-search-item:focus-visible {
  background: #fff3f4;
  color: var(--brand-red);
  outline: none;
  transform: translateX(3px);
}

.smart-search-item > img { width: 16px; opacity: .72; }
.smart-search-item b { color: #8d8f95; font-size: 14px; }
.smart-search-item.is-primary span { color: var(--brand-red); font-weight: 700; }

.search-mega-group {
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid #ececee;
}

.recent-searches,
.ai-search-group > div,
.popular-brands > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.recent-searches button,
.ai-search-group button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #e7e7e9;
  border-radius: 8px;
  background: #fff;
  color: #65666b;
  font: 500 10px "Roboto", sans-serif;
  cursor: pointer;
}

.recent-searches button:hover,
.ai-search-group button:hover { border-color: #ef9aa3; color: var(--brand-red); }

.search-trends { display: grid; gap: 8px; }
.search-trends h3 { margin-bottom: 2px; }
.search-trends a { display: flex; align-items: center; gap: 9px; color: #4f5055; font-size: 11px; }
.search-trends a b { color: var(--brand-red); font-size: 15px; }

.quick-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 15px;
}

.quick-discovery-grid a {
  display: flex;
  min-width: 0;
  min-height: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 9px 7px 10px;
  border: 1px solid #e8e8ea;
  border-radius: 10px;
  text-align: center;
  transition: border-color .17s ease, box-shadow .17s ease, transform .17s ease;
}

.quick-discovery-grid a:hover,
.quick-discovery-grid a:focus-visible {
  border-color: #ef9aa3;
  box-shadow: 0 7px 18px rgb(75 25 30 / 9%);
  outline: none;
  transform: translateY(-2px);
}

.quick-discovery-grid span { display: grid; width: 100%; height: 73px; place-items: center; }
.quick-discovery-grid img { width: 100%; height: 100%; object-fit: contain; }
.quick-discovery-grid strong { min-height: 25px; font-size: 10px; line-height: 1.25; }

.popular-brands a {
  display: grid;
  min-height: 34px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #e7e7e9;
  border-radius: 18px;
  color: #3e4147;
  font-size: 10px;
  font-weight: 800;
}

.popular-brands a:hover { border-color: var(--brand-red); color: var(--brand-red); }

.search-resume-heading,
.personal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-resume-heading > a { font-size: 24px; line-height: 1; }

.resume-product {
  display: grid;
  min-height: 85px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 9px;
  border: 1px solid #e7e7e9;
  border-radius: 10px;
}

.resume-product > img { width: 68px; height: 66px; object-fit: contain; }
.resume-product > span { display: grid; min-width: 0; grid-template-columns: auto auto; align-items: end; gap: 2px 7px; }
.resume-product strong { grid-column: 1 / -1; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.resume-product small { grid-column: 1 / -1; color: #85868b; font-size: 9px; }
.resume-product del { color: #999; font-size: 9px; }
.resume-product b { color: var(--brand-red); font-size: 14px; }
.resume-product em { padding: 8px 10px; border-radius: 6px; background: #fff0f2; color: var(--brand-red); font-size: 9px; font-style: normal; font-weight: 700; }

.personal-title { margin: 18px 0 10px; }
.personal-title a { color: var(--brand-red); font-size: 9px; font-weight: 700; }

.search-product-list { display: grid; gap: 7px; }
.search-product-list article {
  display: grid;
  min-height: 78px;
  grid-template-columns: 68px minmax(0, 1fr) 86px;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid #e8e8ea;
  border-radius: 9px;
}

.search-product-list article > img { width: 64px; height: 62px; object-fit: contain; }
.search-product-list article > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.search-product-list article > div:nth-child(2) strong { font-size: 10px; line-height: 1.3; }
.search-product-list article > div:nth-child(2) span { color: #f3a400; font-size: 9px; }
.search-product-list article span small { color: #929399; }
.search-product-list article > div:last-child { align-items: flex-end; }
.search-product-list article del { color: #999; font-size: 8px; }
.search-product-list article b { color: var(--brand-red); font-size: 13px; }
.search-product-list article > div:last-child small { color: #28984a; font-size: 8px; }
.search-product-list button { min-height: 23px; padding: 0 8px; border: 0; border-radius: 5px; background: var(--brand-red); color: #fff; font: 700 8px "Roboto", sans-serif; cursor: pointer; }
.search-product-list button.is-added { background: #209447; }

.compare-search-products {
  display: grid;
  min-height: 52px;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 8px 11px;
  border: 1px solid #e7e7e9;
  border-radius: 9px;
}

.compare-search-products > img { width: 21px; }
.compare-search-products > span { display: flex; flex-direction: column; gap: 2px; }
.compare-search-products strong { font-size: 10px; }
.compare-search-products small { color: #8b8c91; font-size: 8px; }
.compare-search-products > b { font-size: 20px; font-weight: 400; }

.search-mega-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 78px;
  align-items: center;
  border-top: 1px solid #e7e7e9;
  background: #fff;
}

.search-mega-shortcuts a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 9px 14px;
  border-right: 1px solid #ececee;
}

.search-mega-shortcuts a:last-child { border-right: 0; }
.search-mega-shortcuts img { width: 29px; filter: invert(14%) sepia(99%) saturate(6348%) hue-rotate(350deg) brightness(101%); }
.search-mega-shortcuts span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.search-mega-shortcuts strong { font-size: 11px; white-space: nowrap; }
.search-mega-shortcuts small { overflow: hidden; color: #8b8c91; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .header-search,
  .search-mega-menu,
  .smart-search-item,
  .quick-discovery-grid a {
    scroll-behavior: auto;
    transition: none;
  }

  .header-main.search-is-open .header-search { animation: none; }
  .search-mega-menu.is-loading .search-mega-skeleton,
  .skeleton-line,
  .skeleton-pills i,
  .skeleton-card-grid i,
  .skeleton-product,
  .search-skeleton-shortcuts i,
  .search-skeleton-shortcuts b { animation: none; }
}

.header-actions,
.account-link,
.action-pill {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 8px;
  margin-left: 10px;
}

.account-link {
  gap: 10px;
  min-width: 150px;
  min-height: 44px;
  padding: 0 12px 0 7px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.account-link:hover,
.account-link:focus {
  border-color: #c9c9c9;
  box-shadow: 0 4px 12px rgb(0 0 0 / 7%);
  outline: 0;
}

.action-icon-round {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
}

.account-link .action-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #f7f7f7;
}

.action-icon img,
.action-pill > img {
  width: 22px;
}

.account-copy {
  display: flex;
  flex-direction: column;
}

.account-copy strong,
.account-copy small {
  white-space: nowrap;
}

.account-copy strong {
  font-size: 14px;
}

.account-copy small {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}

.chevron {
  width: 18px;
  margin-left: auto;
}

.account-area {
  position: relative;
  z-index: 40;
}

.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  visibility: hidden;
  width: 310px;
  padding: 18px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgb(0 0 0 / 20%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.account-menu::before {
  position: absolute;
  top: -7px;
  right: 28px;
  width: 13px;
  height: 13px;
  border-top: 1px solid #e7e7e7;
  border-left: 1px solid #e7e7e7;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.account-area:hover .account-menu,
.account-area:focus-within .account-menu,
.account-area.is-open .account-menu,
.account-menu:target {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.account-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}

.account-avatar {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 50%;
  background: #fff0f2;
}

.account-avatar img {
  width: 23px;
  filter: invert(13%) sepia(99%) saturate(5934%) hue-rotate(348deg) brightness(98%);
}

.account-menu-head div {
  display: flex;
  flex-direction: column;
}

.account-menu-head strong {
  font-size: 15px;
}

.account-menu-head span {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}

.account-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 14px 0;
}

.account-auth-actions a {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--brand-red);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}

.account-auth-actions img {
  width: 18px;
}

.account-login-button {
  background: var(--brand-red);
  color: #fff;
}

.account-login-button img {
  filter: brightness(0) invert(1);
}

.account-register-button {
  color: var(--brand-red);
}

.account-register-button img {
  filter: invert(13%) sepia(99%) saturate(5934%) hue-rotate(348deg) brightness(98%);
}

.account-menu-links {
  border-top: 1px solid #eee;
}

.account-menu-links a {
  display: grid;
  min-height: 43px;
  grid-template-columns: 21px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.account-menu-links a:hover {
  color: var(--brand-red);
}

.account-menu-links img {
  width: 20px;
}

.account-menu-links b {
  color: #999;
  font-size: 20px;
  font-weight: 400;
}

.account-menu-note {
  margin: 13px 0 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #fafafa;
  color: #777;
  font-size: 11px;
  line-height: 1.5;
}

.action-pill {
  min-height: 44px;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.cart-link b {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
}

.category-nav {
  position: relative;
  z-index: 20;
  background: #fff;
}

.category-nav::after {
  border-bottom-color: #eee;
}

.category-scroll {
  display: flex;
  height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-scroll a {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 15px;
}

.category-scroll a:hover {
  color: var(--brand-red);
}

.all-categories {
  display: flex;
  align-items: center;
  gap: 12px;
}

.all-categories img {
  width: 25px;
}

.nav-divider {
  width: 1px;
  height: 28px;
  flex: 0 0 1px;
  background: #e3e3e3;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  visibility: hidden;
  width: 100%;
  grid-template-columns: 285px minmax(0, 1fr);
  border: 1px solid #e6e6e6;
  border-top: 0;
  border-radius: 0 0 15px 15px;
  background: #fff;
  box-shadow: 0 14px 35px rgb(0 0 0 / 10%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.category-nav:has(.category-link:hover) .mega-menu,
.category-nav:has(.category-link:focus) .mega-menu,
.category-nav.is-open .mega-menu,
.mega-menu:hover,
.mega-menu:focus-within,
.mega-menu:target {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega-sidebar {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 18px 10px;
  border-right: 1px solid #e8e8e8;
}

.mega-side-links {
  display: flex;
  flex-direction: column;
}

.category-link.is-active {
  color: var(--brand-red);
}

.category-link.is-active:not(.all-categories) {
  font-weight: 600;
}

.mega-side-link {
  display: grid;
  min-height: 56px;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-right: 1px solid #c7b2ff;
  border-left: 1px solid #c7b2ff;
  color: #47484d;
  font-size: 14px;
}

.mega-side-link:first-child {
  border-top: 1px solid #c7b2ff;
  border-radius: 4px 4px 0 0;
}

.mega-side-link:nth-child(3) {
  border-bottom: 1px solid #c7b2ff;
  border-radius: 0 0 4px 4px;
}

.mega-side-link.active {
  position: relative;
  background: linear-gradient(90deg, #fff 0%, #fff0f2 100%);
  color: var(--brand-red);
}

.mega-side-link.active::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -11px;
  width: 3px;
  background: var(--brand-red);
  content: "";
}

.mega-side-link img,
.mega-heading img,
.mega-category-grid img {
  width: 23px;
}

.mega-side-link.active img,
.mega-heading img,
.mega-category-grid img {
  filter: invert(13%) sepia(99%) saturate(5934%) hue-rotate(348deg) brightness(98%);
}

.mega-side-link b,
.mega-category-grid b {
  color: #777;
  font-size: 22px;
  font-weight: 400;
}

.mega-benefit {
  display: grid;
  margin: auto 12px 4px;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 20px 14px;
  border-radius: 12px;
  background: #fff7f7;
  font-size: 12px;
}

.benefit-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #ffdfe2;
  color: var(--brand-red);
  font-weight: 700;
}

.mega-benefit strong {
  font-size: 13px;
}

.mega-benefit p {
  margin: 5px 0 8px;
  color: #666;
  line-height: 1.5;
}

.mega-benefit a {
  color: var(--brand-red);
  font-weight: 500;
}

.mega-content {
  min-width: 0;
  padding: 22px 26px 20px;
}

.mega-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mega-heading h2 {
  margin: 0;
  font-size: 21px;
}

.mega-heading a {
  margin-left: 8px;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 600;
}

.mega-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.mega-category-grid a {
  display: grid;
  min-height: 51px;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #e7e7e7;
  border-radius: 9px;
  background: linear-gradient(120deg, #fff, #fafafa);
  font-size: 12px;
}

.mega-category-grid a:hover {
  border-color: #f4aab2;
  color: var(--brand-red);
}

.mega-banners {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mega-banner {
  display: flex;
  min-height: 125px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 44% 18px 24px;
  border: 1px solid #eadede;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
}

.creative-banner {
  background-image: url("../img/mega-menu/creative-banner.png");
}

.party-banner {
  background-image: url("../img/mega-menu/party-banner.png");
}

.mega-banner strong {
  font-size: 18px;
}

.mega-banner span {
  margin: 5px 0 11px;
  color: #555;
  font-size: 12px;
  line-height: 1.4;
}

.mega-banner b {
  padding: 7px 13px;
  border-radius: 4px;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.site-footer {
  margin-top: 48px;
  color: #34363b;
  font-size: 12px;
}

.promo-copy,
.newsletter-content {
  display: flex;
  flex-direction: column;
}

.footer-promo {
  display: grid;
  min-height: 108px;
  margin-top: 12px;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 9px;
  background: linear-gradient(110deg, #080808, #191919 50%, #070707);
  color: #fff;
}

.app-promo,
.newsletter {
  display: flex;
  align-items: center;
}

.app-promo {
  gap: 20px;
  padding: 10px 24px 0 42px;
  border-right: 1px solid #444;
}

.phone-mockup {
  position: relative;
  width: 92px;
  height: 105px;
  flex: 0 0 92px;
  overflow: hidden;
  padding: 18px 8px 8px;
  border: 3px solid #aaa;
  border-radius: 16px 16px 0 0;
  background: #fff;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 700;
  transform: rotate(-9deg) translateY(10px);
}

.phone-mockup::before {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 28px;
  height: 5px;
  border-radius: 5px;
  background: #111;
  content: "";
  transform: translateX(-50%);
}

.phone-mockup i {
  display: block;
  height: 30px;
  margin: 9px 0 6px;
  border-radius: 5px;
  background: linear-gradient(120deg, #ffe4e7, #ff9faa);
}

.phone-mockup b {
  color: #333;
  font-size: 8px;
}

.promo-copy > strong,
.newsletter-content > strong {
  font-size: 14px;
}

.promo-copy > span,
.newsletter-content > span {
  margin: 3px 0 9px;
  color: #ccc;
  font-size: 10px;
}

.store-buttons {
  display: flex;
  gap: 8px;
}

.store-buttons a {
  display: grid;
  min-width: 105px;
  grid-template-columns: 18px 1fr;
  padding: 5px 8px;
  border: 1px solid #888;
  border-radius: 5px;
  font-size: 9px;
}

.store-buttons b,
.store-buttons small {
  grid-column: 2;
}

.store-buttons small {
  font-size: 7px;
  text-transform: uppercase;
}

.newsletter {
  gap: 15px;
  padding: 16px 34px;
}

.newsletter-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border: 1px solid #666;
  border-radius: 50%;
}

.newsletter-icon img {
  width: 23px;
  filter: brightness(0) invert(1);
}

.newsletter-content {
  width: 100%;
}

.newsletter form {
  display: flex;
  height: 34px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  padding: 0 12px;
  border: 0;
  border-radius: 5px 0 0 5px;
  outline: 0;
  font: 11px "Roboto", sans-serif;
}

.newsletter button {
  min-width: 92px;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}

.footer-main {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr) 1.35fr;
  padding: 34px 24px 16px;
}

.footer-brand-column,
.footer-link-column {
  padding: 0 18px;
  border-right: 1px solid #e9e9e9;
}

.footer-logo img {
  width: 145px;
  height: 55px;
  object-fit: contain;
}

.footer-brand-column > p {
  margin: 14px 0 20px;
  color: #666;
  font-size: 11px;
  line-height: 1.7;
}

.brand-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}

.brand-features img {
  width: 18px;
  filter: invert(13%) sepia(99%) saturate(5934%) hue-rotate(348deg) brightness(98%);
}

.footer-social {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
}

.footer-social > div {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-social a {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-weight: 700;
}

.footer-link-column {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-link-column h3,
.seller-card h3 {
  margin: 0 0 5px;
  color: #222;
  font-size: 13px;
}

.footer-link-column a {
  color: #666;
  font-size: 11px;
}

.footer-link-column a:hover {
  color: var(--brand-red);
}

.seller-card {
  margin-left: 18px;
  padding: 17px;
  border: 1px solid #ddd;
  border-radius: 9px;
}

.seller-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.seller-card h3 img,
.blog-button img {
  width: 21px;
  filter: invert(13%) sepia(99%) saturate(5934%) hue-rotate(348deg) brightness(98%);
}

.seller-primary,
.seller-secondary,
.report-button,
.blog-button {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding: 0 12px;
  border: 1px solid var(--brand-red);
  border-radius: 6px;
  color: var(--brand-red);
  font-weight: 600;
}

.seller-primary {
  background: var(--brand-red);
  color: #fff;
}

.seller-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fafafa;
}

.seller-phone img {
  width: 25px;
  filter: invert(13%) sepia(99%) saturate(5934%) hue-rotate(348deg) brightness(98%);
}

.seller-phone div {
  display: flex;
  flex-direction: column;
}

.seller-phone strong {
  font-size: 14px;
}

.seller-phone span {
  font-size: 9px;
}

.report-button {
  justify-content: center;
}

.seller-card > p {
  color: #666;
  font-size: 9px;
  line-height: 1.6;
}

.seller-card > p b {
  color: var(--brand-red);
}

.blog-button {
  justify-content: center;
  gap: 8px;
  border: 0;
  background: #fff0f2;
}

.footer-trust-row {
  display: flex;
  max-width: 660px;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 44px;
  margin: 0 auto 15px;
  padding: 12px 24px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.trust-badge,
.etbis {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-badge > img {
  width: 45px;
  filter: invert(13%) sepia(99%) saturate(5934%) hue-rotate(348deg) brightness(98%);
}

.trust-badge span,
.etbis span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 9px;
}

.qr-placeholder {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 8px 8px;
  color: #fff;
  font-size: 25px;
}

.footer-bottom {
  display: grid;
  min-height: 58px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 10px;
}

.payment-logos {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 18px;
  font-style: italic;
}

.payment-logos b:first-child {
  color: #143b9f;
}

.payment-logos .mastercard {
  color: #e60012;
  letter-spacing: -9px;
}

.secure-shopping {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
}

.secure-shopping img {
  width: 17px;
}

@media (max-width: 1399.98px) {
  .header-search-column { --search-offset: 10px; }

  .header-search {
    margin-left: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .account-link {
    min-width: auto;
  }

  .action-pill {
    padding: 0 11px;
  }

  .footer-columns {
    grid-template-columns: 1.35fr repeat(4, 1fr);
  }

  .seller-card {
    grid-column: 1 / -1;
    margin: 24px 18px 0;
  }

}

@media (max-width: 991.98px) {
  .header-main .row {
    flex-wrap: wrap !important;
  }

  .header-logo {
    width: 150px;
  }

  .header-logo img {
    height: 55px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-search-column {
    --search-offset: 0px;
    order: 3;
    flex: 0 0 100%;
  }

  .header-search {
    height: 52px;
    margin-left: 0;
  }

  .header-main.search-is-open .header-search {
    animation: none;
    transform: translateY(8px) scale(1.012, 1.07);
  }

  .header-search-column::after { bottom: -6px; height: 24px; }

  .search-mega-menu {
    top: calc(100% - 8px);
    width: calc(100vw - 20px);
    max-height: calc(100vh - 155px);
  }

  .search-mega-grid { grid-template-columns: 1fr 1fr; }
  .search-mega-skeleton { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 78px; }
  .search-skeleton-products { grid-column: 1 / -1; border-top: 1px solid #eeeeef; }
  .search-skeleton-shortcuts { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow: hidden; }
  .search-discovery { border-right: 0; }
  .search-recommendations { grid-column: 1 / -1; border-top: 1px solid #ececee; }
  .search-mega-shortcuts { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; }

  .category-scroll {
    justify-content: flex-start;
  }

  .mega-menu {
    display: none;
  }

  .footer-promo {
    grid-template-columns: 1fr;
  }

  .app-promo {
    border-right: 0;
    border-bottom: 1px solid #444;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .footer-brand-column {
    grid-row: span 2;
  }

  .seller-card {
    grid-column: 1 / -1;
  }

}

@media (max-width: 575.98px) {
  .header-actions {
    gap: 7px;
  }

  .header-main.search-is-open .header-search {
    transform: translateY(7px) scale(1, 1.055);
  }

  .search-mega-menu {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 150px);
    border-radius: 14px;
  }

  .search-mega-grid { grid-template-columns: 1fr; }
  .search-mega-skeleton { grid-template-columns: 1fr; }
  .search-mega-skeleton { grid-template-rows: auto auto auto 74px; }
  .search-skeleton-column { padding: 22px 18px; border-right: 0; border-bottom: 1px solid #eeeeef; }
  .search-skeleton-products { grid-column: auto; }
  .search-skeleton-shortcuts { grid-template-columns: repeat(5, 165px); }
  .search-mega-column { padding: 20px 18px; border-right: 0; border-bottom: 1px solid #ececee; }
  .search-recommendations { grid-column: auto; }
  .quick-discovery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-product-list article { grid-template-columns: 58px minmax(0, 1fr) 78px; }
  .search-product-list article > img { width: 54px; }
  .search-mega-shortcuts { grid-template-columns: repeat(5, 165px); }

  .account-copy,
  .chevron,
  .action-pill span {
    display: none;
  }

  .action-icon-round,
  .action-pill {
    width: 43px;
    min-width: 43px;
    min-height: 43px;
    padding: 0;
    justify-content: center;
  }

  .account-link {
    min-width: 43px;
  }

  .cart-link {
    position: relative;
  }

  .cart-link b {
    position: absolute;
    top: -3px;
    right: -3px;
  }

  .site-footer {
    margin-top: 30px;
  }

  .app-promo {
    padding-left: 18px;
  }

  .phone-mockup {
    width: 72px;
    flex-basis: 72px;
  }

  .store-buttons {
    flex-wrap: wrap;
  }

  .newsletter {
    padding: 18px;
  }

  .newsletter-icon {
    display: none;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    padding: 28px 18px;
  }

  .footer-brand-column,
  .footer-link-column {
    padding: 0 4px 24px;
    border-right: 0;
    border-bottom: 1px solid #e9e9e9;
  }

  .footer-brand-column {
    grid-row: auto;
  }

  .seller-card {
    grid-column: auto;
    margin: 0;
  }

  .footer-trust-row {
    margin-right: 14px;
    margin-left: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    text-align: center;
  }

  .payment-logos,
  .secure-shopping {
    justify-self: center;
  }

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */

}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
