.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav-list a {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.header:before {
  z-index: -1;
}

.site-header__nav-list a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: currentColor;
}

.site-header__logo img {
  max-height: 48px;
  height: auto;
  width: auto;
}

.site-header__cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.site-header__actions {
  display: flex;
  align-items: center;
}

.site-header__cart-button:hover,
.site-header__cart-button:focus {
  background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .site-header__inner {
    flex-direction: column;
    gap: 1rem;
  }

  .site-header__nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 30;
}

.cart-overlay[data-open="true"] {
  display: flex;
}

.cart-overlay .cart-panel {
  background: #fff;
  width: min(670px, 100%);
  max-height: 100vh;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-panel__header,
.cart-panel__footer {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-panel__footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 0;
}

.cart-panel__body {
  display: flex;
  flex-direction: column;
  margin-bottom: auto;
  overflow-y: auto;
  padding: 1.5rem;
  place-content: flex-start;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
}

.cart-item__media img {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
}

.cart-item__title {
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-item__controls button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  cursor: pointer;
}

.cart-empty {
  text-align: center;
  padding: 2rem 1rem;
}

.cart-totals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cart-checkout-button {
  width: 100%;
  padding: 1rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
}

.cart-checkout-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 40;
}

.lightbox-overlay[data-open="true"] {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: min(960px, 90vw);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 100000;
  right: 0;
}

.lightbox-content > div {
  max-height: 90vh;
}

.lightbox-content > div video, .lightbox-content > div img {
  max-height: 85vh;
}

.checkout-summary__list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.checkout-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-summary__totals {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.checkout-error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.ecom-enabled {
  overflow-y: auto!important;
}

[data-cart-action="remove"] {
  border: none!important;
  width: auto!important;
  background: linear-gradient(currentColor, currentColor) 0 min(100%, 1.35em) / 100% 1px no-repeat;
    background-position-x: var(--transform-origin-start);
    position: relative;
    text-decoration-line: none;
    transition: background-size var(--animation-primary), color .3s var(--animation-primary);
}

body > div.cart-overlay > div > div.cart-panel__header > button > span.btn-text {
  width: 20px;
  height: 20px;
}

.coupon-code.grid.gap-3.w-full {
  text-align: center;
  padding: 35px 15px 15px!important;
}

[is="hover-button"][name="checkout"] {
  transition: background-color 0.3s;
}

[is="hover-button"][name="checkout"]:hover {
  background-color: #fff;
}

[is="hover-button"][data-cart-close] {
  transition: background-color 0.6s;
}

[is="hover-button"][data-cart-close]:hover {
  background-color: #000;
}

[hidden] {
  display: none!important;
}
