/* Hide drawer and backdrop by default (desktop) */

/* PC Drawer Styles - Show by default */

.ev-pc-drawer__open {
  cursor: pointer;
}

.ec-headerNav__item a {
  position: relative;
  display: inline-block;
}

.ev-header__cart-badge {
  position: absolute;
  top: -6px;
  right: -11px;
  background: #DB002F;
  color: #fff;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1;
  padding: 2px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .ev-header__cart-badge {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    top: -4px;
    right: -9px;
  }
}

.ev-pc-drawer,
.ev-pc-drawer__backdrop {
  display: none;
}

.ev-pc-drawer__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
  transition: opacity 0.3s;
  opacity: 1;
}

.ev-pc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 500px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), opacity 0.2s;
  overflow-y: auto;
  overflow-x: hidden;
  pointer-events: auto;
}



.ev-pc-drawer__listContent{
  margin-left: 30px;
}

.ev-pc-drawer__container-content {
  padding: 0 20px;
}

.ev-pc-drawer__container {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

.ev-pc-drawer__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10000;
  cursor: pointer;
}

.ev-pc-drawer__nav {
  margin-top: 48px;
}

.ev-pc-drawer__section {
  margin-bottom: 20px;
}

.ev-pc-drawer__sectionTitle {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  font-style: italic;
}

.ev-pc-drawer__list {
  list-style: none;
  padding: 0;
  margin-bottom: 60px;
}

.ev-pc-drawer__listBrands {
  list-style: none;
  padding: 0;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ev-pc-drawer__item {
  font-size: 15px;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-pc-drawer__itemBrands {
  font-size: 15px;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-pc-drawer__top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 32px;
}

.ev-pc-drawer__logo {
  width: 140px;
  margin: 0 auto 8px auto;
  display: block;
}

.ev-pc-drawer__tagline {
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  margin-bottom: 24px;
  text-align: center;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.ev-pc-drawer__iconRow {
  margin-top: 80px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin-bottom: 24px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin-bottom: 60px;

}

.ev-pc-drawer__iconBtn {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 4px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

.ev-pc-drawer__iconBtn:first-child {
  padding-left: 0;
}

.ev-pc-drawer__iconBtn:last-child {
  padding-right: 0;
}

.ev-pc-drawer__iconBtn img {
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0;
  box-sizing: content-box;
}

.ev-pc-drawer__iconBtn:first-child img{
  width: 44px;
  height: 44px;
}

.ev-pc-drawer__iconBtn:nth-child(2) img{
  width: 33px;
  height: 42.43px;
}

.ev-pc-drawer__iconBtn:nth-child(3) img{
  width: 43px;
  height: 40.95px;
}

.ev-pc-drawer__iconBtn:nth-child(4) img{
  width: 44px;
  height: 44px;
}

.ev-pc-drawer__iconLabel {
  color: #fff;
  font-size: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0;
}

.ev-pc-drawer__searchForm {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ev-pc-drawer__searchInput {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 23px;
  padding: 0 48px 0 20px;
  font-size: 13px;
  color: #444;
  background: #fff;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin: 0;
}

.ev-pc-drawer__searchBtn {
  background: none;
  border: none;
  outline: none;
  position: absolute;
  right: 32px;
  z-index: 2;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  height: 46px;
}

.ev-pc-drawer__searchBtn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(0.5);
}

.ev-pc-drawer__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin: 24px 0 16px 0;
  width: 100%;
  justify-content: flex-start;
}

.ev-pc-drawer__pill {
  display: inline-block;
  width: 210px !important;
  height: 46px !important;
  color: #FFFFFF !important;
  width: calc(50% - 10px);
  box-sizing: border-box;
  border: 1px solid #6F6F6F;
  background: transparent;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  border-radius: 32px;
  padding: 10px 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  text-align: center;
  line-height: 25px;
}

.ev-pc-drawer__pill:hover, .ev-pc-drawer__pill:active,
.ev-pc-drawer__pill:focus {
  background: #fff;
  color: #B8002D !important;
}

.ev-pc-drawer__pills-divider {
  width: 100%;
  height: 1px;
  background: #fff;
  border: none;
  margin-left: 0;
  margin-right: 0;
  margin-top: 24px;
  margin-bottom: 24px;
}

.ev-pc-drawer__chevron {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}

.ev-pc-drawer__category-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.ev-pc-drawer__category-label {
  margin-left: 20px;
}

.ev-pc-drawer__category-label-sub {
  font-size: 12px;
  color: #A7A7A7;
  display: inline-block;
  margin-left: 20px;
}

.ev-pc-drawer__category-item {
  padding: 0;
  margin-left: 20px;

}

.drawer-category-items-wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.ev-pc-drawer__category-toggle {
  display: inline-block;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 12px 0;
  cursor: pointer;
  text-align: left;
  position: relative;
}

.ev-pc-drawer__category-img-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
}

.ev-pc-drawer__category-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}

.ev-pc-drawer__category-label {
  flex: 1;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.02em;
}

.ev-pc-drawer__category-chevron {
  font-size: 32px;
  color: #fff;
  margin-left: 8px;
  transition: transform 0.2s;
  font-weight: bold;
}

.ev-pc-drawer__category-toggle.open .ev-pc-drawer__category-chevron {
  content: '−';
}

.ev-pc-drawer__product-list {
  padding-left: 56px;
  margin: 0;
  list-style: none;
  background: none;
}

.ev-pc-drawer__product-item {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  padding: 10px 0 10px 0;
}

.ev-pc-drawer__product-item a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Mobile Drawer Styles - Hidden by default */
@media (max-width: 768px) {
  .ev-mobile-drawer__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    transition: opacity 0.3s;
  }

  .ev-mobile-drawer__backdrop.active {
    display: block;
    opacity: 1;
  }

  .ev-mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(120, 0, 30, 0.92);
    z-index: 9999;
    box-shadow: none;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), opacity 0.2s;
    padding: 0 20px;
    overflow-y: auto;
    pointer-events: none;
  }

  .ev-mobile-drawer.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .ev-mobile-drawer__container {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .ev-mobile-drawer__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10000;
    cursor: pointer;
  }

  .ev-mobile-drawer__nav {
    margin-top: 48px;
  }

  .ev-mobile-drawer__section {
    margin-bottom: 20px;
  }

  .ev-mobile-drawer__sectionTitle {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
  }

  .ev-mobile-drawer__list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .ev-mobile-drawer__item {
    font-size: 15px;
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ev-mobile-drawer__top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 32px;
  }

  .ev-mobile-drawer__logo {
    width: 140px;
    margin: 0 auto 8px auto;
    display: block;
  }

  .ev-mobile-drawer__tagline {
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 24px;
    text-align: center;
    opacity: 0.7;
    letter-spacing: 0.05em;
  }

  .ev-mobile-drawer__iconRow {
    margin-top: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .ev-mobile-drawer__iconBtn {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 4px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
  }

  .ev-mobile-drawer__iconBtn:first-child {
    padding-left: 0;
  }

  .ev-mobile-drawer__iconBtn:last-child {
    padding-right: 0;
  }

  .ev-mobile-drawer__iconBtn img {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    filter: brightness(0) invert(1);
    border-radius: 0;
    border: none;
    background: transparent;
    padding: 0;
    box-sizing: content-box;
  }

  .ev-mobile-drawer__iconLabel {
    color: #fff;
    font-size: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0;
  }

  .ev-mobile-drawer__searchForm {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ev-mobile-drawer__searchInput {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 23px;
    padding: 0 48px 0 20px;
    font-size: 13px;
    color: #444;
    background: #fff;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 0;
  }

  .ev-mobile-drawer__searchBtn {
    background: none;
    border: none;
    outline: none;
    position: absolute;
    right: 32px;
    z-index: 2;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    height: 46px;
  }

  .ev-mobile-drawer__searchBtn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(0.5);
  }

  .ev-mobile-drawer__searchForm {
    position: relative;
  }

  .ev-mobile-drawer__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin: 24px 0 16px 0;
    width: 100%;
    justify-content: flex-start;
  }

  .ev-mobile-drawer__pill {
    width: calc(50% - 10px);
    box-sizing: border-box;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    border-radius: 32px;
    padding: 10px 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    text-align: center;
  }

  .ev-mobile-drawer__pill:active,
  .ev-mobile-drawer__pill:focus {
    background: #fff;
    color: #B8002D;
  }

  .ev-mobile-drawer__pills-divider {
    width: 100vw;
    height: 1px;
    background: #fff;
    border: none;
    margin-left: -20px;
    margin-right: -20px;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  

  .ev-mobile-drawer__category-list {
    padding: 0;
    margin: 0;
  }

  .ev-mobile-drawer__category-item {
    padding: 0;
    margin: 0;
  }

  

  .ev-mobile-drawer__category-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 12px 0;
    cursor: pointer;
    text-align: left;
    position: relative;
  }

  .ev-mobile-drawer__category-img-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    flex-shrink: 0;
  }

  .ev-mobile-drawer__category-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
  }

  .ev-mobile-drawer__category-label {
    flex: 1;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.02em;
  }

  .ev-mobile-drawer__category-chevron {
    font-size: 32px;
    color: #fff;
    margin-left: 8px;
    transition: transform 0.2s;
    font-weight: bold;
  }

  .ev-mobile-drawer__category-toggle.open .ev-mobile-drawer__category-chevron {
    content: '−';
  }

  .ev-mobile-drawer__product-list {
    padding-left: 56px;
    margin: 0;
    list-style: none;
    background: none;
  }

  .ev-mobile-drawer__product-item {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ev-mobile-drawer__product-item a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
}

.ev-mobile-drawer__chevron {
  width: 4.4px;
  height: 8px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
  color: orange;
}

@media (max-width: 500px) {
  .ev-pc-drawer {
    width: 100vw;
    right: 0;
    left: 0;
    margin: 0;
    transform: translateX(0);
    box-sizing: border-box;
  }
  
  .ev-pc-drawer__container {
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .ev-pc-drawer__container-content {
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
  }

  .ev-pc-drawer__pill {
    font-size: 14px;
    width: 160px !important;
  }

  .ev-pc-drawer__pills {
    padding: 5px;
    gap: 10px 10px;
    align-items: center;
    justify-content: space-between;
  }
}