/* BoxSunday global design system. Keep this file component-level and low-specificity. */
.bs-theme {
  color: var(--bs-navy);
  background: #fff;
}

.bs-container {
  width: 100%;
  max-width: calc(var(--bs-content-width) + (var(--bs-gutter-desktop) * 2));
  padding-inline: var(--bs-gutter-desktop);
  margin-inline: auto;
}

.bs-section {
  position: relative;
  padding-block: var(--bs-section-space);
}

.bs-section--compact {
  padding-block: calc(var(--bs-section-space) * 0.68);
}

.bs-section--spacious {
  padding-block: calc(var(--bs-section-space) * 1.28);
}

.bs-section__eyebrow {
  margin: 0 0 12px;
  font-family: var(--sort-body-font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bs-orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bs-section__heading {
  max-width: 880px;
  margin: 0;
  color: inherit;
}

.bs-section__text {
  max-width: 760px;
  margin-top: 18px;
  color: var(--bs-muted);
}

.bs-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-card);
}

.bs-media {
  overflow: hidden;
  border-radius: var(--bs-radius-media);
}

.bs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--bs-radius-button);
  transition: background-color var(--bs-transition), color var(--bs-transition), border-color var(--bs-transition), transform var(--bs-transition);
}

.bs-button--primary {
  color: #fff;
  background: var(--bs-orange);
}

.bs-button--primary:hover {
  color: #fff;
  filter: brightness(0.96);
}

.bs-button--secondary {
  color: var(--bs-navy);
  background: transparent;
  border-color: var(--bs-navy);
}

.bs-button--secondary:hover {
  color: #fff;
  background: var(--bs-navy);
}

.bs-button:focus-visible,
.bs-card a:focus-visible {
  outline: 3px solid var(--bs-orange);
  outline-offset: 3px;
}

.bs-surface--light {
  background: var(--bs-surface);
}

.bs-surface--navy {
  color: #fff;
  background: var(--bs-navy);
}

.bs-surface--navy .bs-section__text {
  color: #c8d0dc;
}

.bs-grid {
  display: grid;
  gap: 24px;
}

.bs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1199px) {
  .bs-container {
    max-width: calc(var(--bs-content-width) + (var(--bs-gutter-tablet) * 2));
    padding-inline: var(--bs-gutter-tablet);
  }

  .bs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 959px) {
  .bs-container {
    max-width: 100%;
    padding-inline: var(--bs-gutter-mobile);
  }

  .bs-section {
    padding-block: var(--bs-section-space-mobile);
  }

  .bs-section--compact {
    padding-block: calc(var(--bs-section-space-mobile) * 0.72);
  }

  .bs-section--spacious {
    padding-block: calc(var(--bs-section-space-mobile) * 1.2);
  }

  .bs-section__text {
    margin-top: 14px;
  }

  .bs-grid--3,
  .bs-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .bs-grid--2,
  .bs-grid--3,
  .bs-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* BoxSunday V02 Header & Footer */
.header-section {
  --bs-header-accent: var(--bs-orange);
  --bs-header-border: var(--bs-border);
  --bs-header-ink: var(--bs-navy);
}

.header-section .header__container-top-wrap {
  min-height: 68px;
}

.header-section .header__logo-text {
  color: var(--bs-header-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header-section .header__logo-image {
  display: block;
  max-height: 48px;
  object-fit: contain;
}

.header-section .header-nav__menu {
  align-items: center;
}

.header-section .header-nav__menu-item {
  margin-inline: 12px;
}

.header-section .header-nav__menu-item > a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.header-section .header-nav__underline::after {
  height: 2px;
  background-color: var(--bs-header-accent);
  border-radius: 999px;
}

.header-section .header-nav-dropdown-menu__menu,
.header-section .header-nav-dropdown-panel__menu,
.header-section .header-nav-with-images-dropdown-panel,
.header-section .header-super-nav-dropdown-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bs-header-border);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgb(15 29 56 / 12%);
}

.header-section .header-nav-dropdown-menu__menu {
  padding-block: 8px;
}

.header-section .header-nav-dropdown-menu__hero,
.header-section .header-nav-dropdown-panel__link {
  border-radius: 8px;
}

.header-section .header-nav-dropdown-menu__hero:hover,
.header-section .header-nav-dropdown-panel__link:hover {
  color: var(--bs-header-ink);
  background: var(--bs-surface);
}

.header-section .header-action-bar {
  column-gap: 8px;
}

.header-section .header-action-bar .button--icon {
  width: 36px;
  height: 36px;
  border-radius: var(--bs-radius-button);
  transition: background-color var(--bs-transition), color var(--bs-transition), transform var(--bs-transition);
}

.header-section .header-action-bar .button--icon:hover {
  color: var(--bs-header-accent);
  background: var(--bs-surface);
}

.header-section .header-action-bar .button--icon:active {
  transform: translateY(1px);
}

.header-section .header-search-bar__form,
.header-section .header-action-bar__search-bar {
  border-radius: var(--bs-radius-button);
}

.theme-sticky-header--sticky .header-section .header__container {
  box-shadow: 0 8px 24px rgb(15 29 56 / 8%);
}

.header-nav-drawer__content {
  background: #fff;
  border-inline-end: 1px solid var(--bs-border);
  box-shadow: 12px 0 40px rgb(15 29 56 / 12%);
}

.header-nav-drawer__menu-control {
  color: var(--bs-navy);
  font-weight: 500;
}

.header-nav-drawer__submenu {
  background: var(--bs-surface);
}

.header-nav-drawer__menu-icon {
  color: var(--bs-orange);
}

.footer {
  --bs-footer-border: rgb(255 255 255 / 14%);
  --bs-footer-muted: rgb(255 255 255 / 68%);
  border-block-start: 4px solid var(--bs-orange);
}

.footer .footer__inner,
.footer .footer__group {
  width: 100%;
}

.footer .footer__group + .footer__group {
  border-block-start: 1px solid var(--bs-footer-border);
}

.footer .footer__menu-title,
.footer .footer__custom-text-title,
.footer .footer__email-subscribe-title,
.footer .footer__social-media-title {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer .footer__menu-title {
  margin-block-end: 10px;
}

.footer .footer__menu-item {
  padding-block-start: 10px;
}

.footer .footer__menu-item a,
.footer .footer__custom-text-content,
.footer .footer__copyright,
.footer .footer__copyright a,
.footer .footer__icon-text-item {
  color: var(--bs-footer-muted);
}

.footer .footer__menu-item a {
  transition: color var(--bs-transition), transform var(--bs-transition);
}

.footer .footer__menu-item a:hover,
.footer .footer__copyright a:hover {
  color: #fff;
}

.footer .footer__icon-text-item {
  align-items: center;
}

.footer .footer__icon-text-item svg {
  color: var(--bs-orange);
}

.footer .footer__email-subscribe {
  max-width: 720px;
}

.footer .footer__email-subscribe-title {
  margin-block-end: 14px;
}

.footer .field__input {
  min-height: 48px;
  color: var(--bs-navy);
  background: #fff;
  border-color: transparent;
  border-radius: var(--bs-radius-button);
}

.footer .field__input:focus {
  border-color: var(--bs-orange);
}

.footer .footer__email-subscribe .button,
.footer .footer__email-subscribe button {
  min-height: 48px;
  border-radius: var(--bs-radius-button);
}

.footer .footer__copyright-text {
  color: rgb(255 255 255 / 56%);
}

@media (max-width: 959px) {
  .header-section .header__container-top-wrap {
    min-height: 56px;
  }

  .header-section .header__logo-image {
    max-height: 38px;
  }

  .header-nav-drawer__content {
    width: min(88vw, 360px);
  }

  .header-nav-drawer__menu-control {
    min-height: 48px;
  }

  .footer .footer__menu,
  .footer .footer__custom-text {
    width: 100%;
  }

  .footer .footer__menu-title,
  .footer .footer__custom-text-title {
    min-height: 50px;
    margin: 0;
    padding-block: 15px;
  }

  .footer .footer__menu::after {
    background-color: var(--bs-footer-border);
  }

  .footer .footer__menu-title .icon__arrow,
  .footer .footer__menu-title .icon__minus {
    color: var(--bs-orange);
  }

  .footer .footer__custom-text {
    padding-block: 12px 18px;
  }
}

@media (max-width: 420px) {
  .header-section .header-action-bar {
    column-gap: 4px;
  }

  .header-section .header-action-bar .button--icon {
    width: 34px;
    height: 34px;
  }
}
/* BoxSunday V02.1 Navigation polish */
@media (min-width: 960px) {
  .header-section .header-nav__menu-item.has-submenu > .header-nav__underline .header-nav__ellipsis {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .header-section .header-nav__menu-item.has-submenu > .header-nav__underline .header-nav__ellipsis::after {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
    transform-origin: center;
  }

  .header-section .header-nav-dropdown-menu__hero .header-nav__ellipsis,
  .header-section .header-nav-dropdown-panel__hero .header-nav__ellipsis,
  .header-section .header-nav-dropdown-panel__link .header-nav__ellipsis {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
  }

  .header-section .header-nav-dropdown-menu__hero {
    min-height: 42px;
    padding-block: 10px;
  }
}

@media (max-width: 959px) {
  .header-nav-drawer__submenu .header-nav-drawer__menu-control,
  .header-nav-drawer__submenu .header-nav-drawer__menu-link {
    font-size: 14px;
    font-weight: 400;
  }
}
/* BoxSunday V03.1 Product description polish */
.product-detail__info .product-description {
  padding: 18px 0 0 !important;
  color: var(--bs-navy);
  font-size: 15px;
  line-height: 1.65;
}

.product-detail__info .product-description > theme-product-expander,
.product-detail__info .product-description .product-expander__content {
  width: 100%;
}

.product-detail__info .product-description p {
  margin-block: 0 16px;
  color: #33445f;
  font-size: 15px;
  line-height: 1.65;
}

.product-detail__info .product-description h2,
.product-detail__info .product-description h3,
.product-detail__info .product-description h4 {
  margin: 28px 0 12px;
  color: var(--bs-navy);
  font-size: 25px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.product-detail__info .product-description table {
  display: table;
  width: 100%;
  margin: 4px 0 28px;
  overflow: hidden;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid var(--bs-border);
}

.product-detail__info .product-description tbody {
  width: 100%;
}

.product-detail__info .product-description tr {
  border-bottom: 1px solid var(--bs-border);
}

.product-detail__info .product-description th,
.product-detail__info .product-description td {
  padding: 11px 0 !important;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
}

.product-detail__info .product-description th {
  width: 155px;
  padding-right: 20px !important;
  color: var(--bs-navy);
  font-weight: 600;
  text-align: left;
}

.product-detail__info .product-description td {
  color: #42516a;
  font-weight: 400;
}

.product-detail__info .product-description ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 24px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.product-detail__info .product-description li {
  color: #33445f;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 959px) {
  .product-detail__info .product-description {
    padding-top: 14px !important;
    font-size: 14px;
  }

  .product-detail__info .product-description p {
    font-size: 14px;
  }

  .product-detail__info .product-description h2,
  .product-detail__info .product-description h3,
  .product-detail__info .product-description h4 {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 22px;
  }

  .product-detail__info .product-description th {
    width: 118px;
    padding-right: 14px !important;
  }

  .product-detail__info .product-description th,
  .product-detail__info .product-description td {
    padding-block: 9px !important;
    font-size: 13px;
  }

  .product-detail__info .product-description ul {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
/* BoxSunday V05 Product detail layout */
.product-detail__main {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--bs-border);
}

.product-detail__info {
  gap: 14px !important;
}

.product-detail__info > .block-product-title,
.product-detail__info > theme-product-price,
.product-detail__info > .block-product-price {
  margin-bottom: 0;
}

.product-detail > .product-description {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 38px 0 24px !important;
}

.product-detail > .product-description .product-expander__content {
  width: 100%;
}

.product-detail > .product-description > theme-product-expander,
.product-detail > .product-description .product-expander__content {
  display: block;
}

.product-detail > .product-description p {
  max-width: 780px;
  margin: 0 0 18px;
  color: #42516a;
  font-size: 15px;
  line-height: 1.7;
}

.product-detail > .product-description h2,
.product-detail > .product-description h3,
.product-detail > .product-description h4 {
  margin: 34px 0 14px;
  color: var(--bs-navy);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.product-detail > .product-description h2 {
  font-size: 27px;
}

.product-detail > .product-description h3,
.product-detail > .product-description h4 {
  font-size: 21px;
}

.product-detail > .product-description table {
  width: 100%;
  margin: 8px 0 32px;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid var(--bs-border);
}

.product-detail > .product-description tr {
  border-bottom: 1px solid var(--bs-border);
}

.product-detail > .product-description th,
.product-detail > .product-description td {
  padding: 12px 0 !important;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.product-detail > .product-description th {
  width: 190px;
  padding-right: 28px !important;
  color: var(--bs-navy);
  font-weight: 600;
  text-align: left;
}

.product-detail > .product-description td {
  color: #42516a;
  font-weight: 400;
}

.product-detail > .product-description ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.product-detail > .product-description li {
  color: #42516a;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 959px) {
  .product-detail__main {
    padding-bottom: 22px;
  }

  .product-detail > .product-description {
    width: 100%;
    padding: 26px 0 18px !important;
  }

  .product-detail > .product-description p {
    font-size: 14px;
  }

  .product-detail > .product-description h2 {
    margin-top: 28px;
    font-size: 23px;
  }

  .product-detail > .product-description h3,
  .product-detail > .product-description h4 {
    font-size: 19px;
  }

  .product-detail > .product-description th {
    width: 120px;
    padding-right: 14px !important;
  }

  .product-detail > .product-description th,
  .product-detail > .product-description td {
    padding-block: 10px !important;
    font-size: 13px;
  }

  .product-detail > .product-description ul {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
/* BoxSunday V05.1 Product detail alignment */
.product-detail > .product-description {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 34px 0 22px !important;
}

.product-detail > .product-description .product-description__header {
  width: min(100%, 980px);
  margin: 0 0 22px;
  text-align: left;
}

.product-detail > .product-description .product-description__eyebrow {
  margin: 0 0 7px;
  color: var(--bs-orange);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.product-detail > .product-description .product-description__heading {
  margin: 0;
  color: var(--bs-navy);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.product-detail > .product-description .product-expander__content {
  width: min(100%, 980px);
  margin: 0;
}

.product-detail > .product-description p,
.product-detail > .product-description h2,
.product-detail > .product-description h3,
.product-detail > .product-description h4,
.product-detail > .product-description table,
.product-detail > .product-description ul {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 959px) {
  .product-detail > .product-description {
    padding-top: 24px !important;
  }

  .product-detail > .product-description .product-description__header {
    margin-bottom: 16px;
  }

  .product-detail > .product-description .product-description__heading {
    font-size: 25px;
  }
}
/* BoxSunday V05.2 Product detail spacing polish */
.product-detail > .product-description .product-description__header,
.product-detail > .product-description .product-expander__content {
  width: min(100%, 1180px);
}

.product-detail > .product-description p {
  max-width: 900px;
}

.product-detail > .product-description table {
  max-width: 1180px;
}

.product-detail > .product-description th {
  width: 210px;
  padding-right: 34px !important;
}

.product-detail > .product-description td {
  padding-right: 16px !important;
}

.product-detail > .product-description ul {
  max-width: 900px;
  gap: 9px 42px;
}

.product-detail__main {
  column-gap: clamp(36px, 4vw, 68px) !important;
}

@media (min-width: 960px) {
  .product-detail__info {
    padding-top: 4px;
  }
}

@media (max-width: 959px) {
  .product-detail > .product-description .product-description__header,
  .product-detail > .product-description .product-expander__content {
    width: 100%;
  }

  .product-detail > .product-description th {
    width: 124px;
    padding-right: 16px !important;
  }

  .product-detail > .product-description ul {
    max-width: none;
  }
}
