header:has(.alert-promo) {
  padding: 0 !important;

  .contentCenter {
    padding: 10px 0;
  }

  .contentCenter .logo {
    width: 220px;
    height: 100px;
  }

  .certified {
    top: 10px;
  }
}

.alert-promo {
  width: 100%;
  background: #D5E373;
  font-size: 22px;
  padding: 0.2rem;
  text-align: center;
  color: #2C5E21;
  font-family: "brandon-grotesque";
  font-weight: 600;
  text-transform: uppercase;
}

.menu-cart {
  transition: 0.3s ease;
  cursor: pointer;
  position: absolute;
  right: 0;
  width: 66px;
  height: 66px;
  display: flex;
  column-gap: .2rem;
  align-items: center;
  justify-content: center;
  font-family: "brandon-grotesque";
  font-size: 16px;
  background: none;
  border: none;
  top: calc(50% - 30px);
  font-weight: 700;
  color: #638C2E;
  z-index: 10;

  img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: contain;
    min-width: 40px;
    min-height: 40px;
  }
}

body.home .menu-cart,
body.page-id-90 .menu-cart,
body.page-id-290 .menu-cart,
body.page-id-121 .menu-cart {
  opacity: 0;
  pointer-events: none;
}

body.scrolled {
  .menuIcon {
    top: calc(50% - 35px) !important;
  }

  .menu-cart {
    opacity: 1;
    pointer-events: all;
  }

  .logo {
    height: 66px !important;
    width: 193px !important;
  }
}

body.menuOpen {
  .menu-cart {
    opacity: 1;
    top: calc(50% - 60px);
    pointer-events: all;
  }
}

.cart-container {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  position: fixed;
  top: 0;
  bottom: 0;
  right: -110%;
  font-family: "brandon-grotesque";
  transition: 1s linear right;
}

.cartOpen {
  right: 0;
}

.cart-header {
  background-color: #6C8B47;
  color: white;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.cart-title {
  font-size: 42px !important;
  letter-spacing: 2px;
  font-family: Chaumont;
  font-weight: 800;
  margin: .5rem 0 !important;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #000000;

  &:last-child {
    border-bottom: none;
  }
}

.item-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
}

.qty-btn {
  background: white;
  border: none;
  width: 30px;
  height: 33px;
  font-size: 20px;
  cursor: pointer;
  color: #1a1a1a;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background-color: #f5f5f5;
}

.qty-btn.delete-btn {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.qty-btn.delete-btn:hover {
  background-color: linear-gradient(135deg, #dc2626, #b91c1c);
}

.qty-display {
  width: 50px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  border-left: 2px solid #1a1a1a;
  border-right: 2px solid #1a1a1a;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-price {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.subtotal-label {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1a1a1a;
}

.subtotal-price {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

.promo-section {
  margin-bottom: 25px;
}

.promo-label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
  font-weight: 400;
}

.promo-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #1a1a1a;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;
}

.checkout-btn-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-btn {
  text-decoration: none;
  display: inline-block;
  font-family: Chaumont;
  font-weight: bold;
  font-size: 25px;
  text-align: center;
  color: #638C2E;
  background: #d5e373;
  -webkit-clip-path: url(#buttonPath);
  clip-path: url(#buttonPath);
  text-transform: uppercase;
  padding: 15px 57px;
  transition: 0.3s ease;
  border: none;
  margin: 34px 0 0;
}

/* small & big desktop */
@media screen and (min-width:1280px) {}

/* small desktop */
@media screen and (min-width:0) and (max-width:1481px) {}

/* ipad */
@media screen and (min-width:0) and (max-width:1279px) {
  header:has(.alert-promo) {
    .contentCenter .logo {
      width: 100px;
      height: 50px;
    }

    .mobileMenuItems::before {
      height: 145px;
    }
  }

  .alert-promo {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    font-weight: bold;
    box-sizing: border-box;
    position: relative;
  }

  .alert-promo span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 12s linear infinite;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-100%);
    }
  }

  body.menuOpen {
    .menu-cart {
      top: calc(50% - 40px) !important;
    }
  }
}

/* iphone */
@media screen and (min-width:0) and (max-width:809px) {
  header {
    .designed {
      top: 70px !important;
    }
  }

  body.scrolled header .logo {
    width: 100px;
    height: 50px;
  }

  .mobileMenuItems:before {
    height: 145px;
  }
}