/*==================================
Cart
===================================*/

.eco-cart {

  padding: 25px 0 70px;

}



.eco-cart-layout {

  display: grid;

  grid-template-columns: minmax(0, 1.7fr) 390px;

  gap: 30px;

  align-items: start;

}



.eco-cart-list {

  display: flex;

  flex-direction: column;

  gap: 22px;

}



.eco-cart-sidebar {

  position: sticky;

  top: 25px;

}



/*==================================
Header
===================================*/

.eco-cart-header {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 35px;

  padding: 25px 30px;

  border-radius: 20px;

  background: #fff;

  border: 1px solid #ececec;

  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);

}



.eco-cart-header h1 {

  margin: 0;

  font-size: 34px;

  font-weight: 700;

  color: #222;

}



.eco-cart-header h1 i {

  color: #ff6b35;

  margin-right: 10px;

}



.eco-cart-header p {

  margin-top: 8px;

  color: #777;

  font-size: 15px;

}

.eco-shopping-btn {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 14px 24px;

  border-radius: 12px;

  background: #fff3ed;

  color: #ff6b35;

  font-weight: 700;

  transition: .35s;

  text-decoration: none;

}



.eco-shopping-btn:hover {

  background: #ff6b35;

  color: #fff;

  transform: translateY(-3px);

}

main.main {

  background: #f6f7fb;

}

@media(max-width:991px) {

  .eco-cart-layout {

    grid-template-columns: 1fr;

  }

  .eco-cart-sidebar {

    position: relative;

    top: 0;

  }

}

@media(max-width:767px) {

  .eco-cart {

    padding: 15px 0 90px;

  }

  .eco-cart-header {

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;

    padding: 20px;

  }

  .eco-cart-header h1 {

    font-size: 26px;

  }

  .eco-shopping-btn {

    width: 100%;

    justify-content: center;

  }

}

/*==================================
Cart Product Card
===================================*/

.eco-cart-item {

  display: flex;

  gap: 22px;

  padding: 22px;

  background: #fff;

  border-radius: 22px;

  border: 1px solid #ececec;

  transition: .35s;

  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);

}



.eco-cart-item:hover {

  transform: translateY(-4px);

  border-color: #ff6b35;

  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);

}



/* Image */

.eco-cart-image {

  width: 150px;

  min-width: 150px;

  height: 150px;

  border-radius: 18px;

  overflow: hidden;

  background: #fafafa;

  border: 1px solid #eee;

}



.eco-cart-image img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: .4s;

}



.eco-cart-item:hover img {

  transform: scale(1.08);

}



/* Content */

.eco-cart-content {

  flex: 1;

  display: flex;

  flex-direction: column;

}



/* Top */

.eco-cart-top {

  display: flex;

  justify-content: space-between;

  gap: 20px;

}



.eco-cart-top h3 {

  margin: 0;

  font-size: 22px;

  line-height: 1.4;

  font-weight: 700;

  color: #222;

}



/* Rating */

.eco-cart-rating {

  margin-top: 10px;

  color: #ffb400;

  font-size: 16px;

}



.eco-cart-rating span {

  color: #777;

  margin-left: 10px;

  font-size: 14px;

}



/* Stock */

.eco-stock {

  background: #e9fff0;

  color: #16a34a;

  padding: 8px 15px;

  border-radius: 50px;

  font-size: 13px;

  font-weight: 700;

  white-space: nowrap;

}



/* Delivery */

.eco-delivery {

  margin-top: 18px;

  color: #0b7c45;

  font-weight: 600;

}



.eco-delivery i {

  color: #ff6b35;

  margin-right: 8px;

}



/* Bottom */

.eco-cart-bottom {

  margin-top: auto;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding-top: 22px;

}



/* Price */

.eco-price {

  font-size: 34px;

  font-weight: 800;

  color: #111;

}



/* Remove */

.eco-remove {

  height: 48px;

  padding: 0 22px;

  border: none;

  border-radius: 12px;

  background: #fff1f1;

  color: #ef4444;

  font-weight: 700;

  transition: .35s;

}



.eco-remove:hover {

  background: #ef4444;

  color: #fff;

}

@media(max-width:767px) {

  .eco-cart-item {

    flex-direction: column;

    padding: 16px;

    gap: 18px;

  }



  .eco-cart-image {

    width: 120px;

    height: 120px;

    min-width: 120px;

    margin: auto;

  }



  .eco-cart-top {

    flex-direction: column;

    gap: 15px;

  }



  .eco-cart-top h3 {

    text-align: center;

    font-size: 18px;

  }



  .eco-stock {

    width: fit-content;

    margin: auto;

  }



  .eco-cart-rating {

    text-align: center;

  }



  .eco-delivery {

    text-align: center;

  }



  .eco-cart-bottom {

    flex-direction: column;

    gap: 18px;

  }



  .eco-price {

    font-size: 28px;

  }



  .eco-remove {

    width: 100%;

  }

}

/*==================================
Summary
===================================*/

.eco-summary {

  background: #fff;

  border-radius: 22px;

  border: 1px solid #ececec;

  overflow: hidden;

  box-shadow: 0 15px 35px rgba(0, 0, 0, .06);

}



.eco-summary-header {

  padding: 24px;

  border-bottom: 1px solid #ececec;

  display: flex;

  justify-content: space-between;

  align-items: center;

}



.eco-summary-header h3 {

  margin: 0;

  font-size: 22px;

  font-weight: 700;

}



.eco-summary-header h3 i {

  color: #ff6b35;

  margin-right: 8px;

}



.eco-summary-header span {

  padding: 8px 14px;

  background: #fff3ed;

  border-radius: 30px;

  color: #ff6b35;

  font-size: 13px;

  font-weight: 700;

}



/* Coupon */

.eco-coupon-box {

  display: flex;

  gap: 10px;

  padding: 22px;

}



.eco-coupon-box input {

  flex: 1;

  height: 48px;

  border: 1px solid #ddd;

  border-radius: 12px;

  padding: 0 15px;

}



.eco-coupon-box input:focus {

  outline: none;

  border-color: #ff6b35;

}



.eco-coupon-box button {

  width: 90px;

  border: none;

  border-radius: 12px;

  background: #ff6b35;

  color: #fff;

  font-weight: 700;

}



/* Body */

.eco-summary-body {

  padding: 0 24px 24px;

}



.eco-summary-row {

  display: flex;

  justify-content: space-between;

  padding: 15px 0;

  border-bottom: 1px dashed #ececec;

}



.eco-summary-row:last-child {

  border: none;

}



.eco-summary-row span {

  color: #666;

}



.eco-summary-row strong {

  font-size: 16px;

}



.eco-success {

  color: #16a34a;

}



/* Total */

.eco-total {

  margin: 0 24px;

  padding: 20px;

  border-radius: 16px;

  background: linear-gradient(135deg, #fff7ef, #fffdf9);

  border: 2px solid #ffe4d4;

  display: flex;

  justify-content: space-between;

  align-items: center;

}



.eco-total span {

  font-weight: 600;

}



.eco-total strong {

  font-size: 30px;

  color: #ff6b35;

  font-weight: 800;

}



/* Trust */

.eco-trust {

  padding: 24px;

  display: grid;

  gap: 15px;

}



.eco-trust div {

  display: flex;

  align-items: center;

  gap: 12px;

  color: #555;

  font-weight: 500;

}



.eco-trust i {

  width: 36px;

  height: 36px;

  border-radius: 50%;

  background: #fff3ed;

  color: #ff6b35;

  display: flex;

  align-items: center;

  justify-content: center;

}



/* Button */

.eco-checkout-btn {

  margin: 0 24px;

  height: 58px;

  border-radius: 16px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 24px;

  background: linear-gradient(135deg, #ff6b35, #ff8b2b);

  color: #fff;

  font-size: 17px;

  font-weight: 700;

  text-decoration: none;

  transition: .35s;

  box-shadow: 0 12px 30px rgba(255, 107, 53, .25);

}



.eco-checkout-btn:hover {

  color: #fff;

  transform: translateY(-3px);

}



/* Bottom */

.eco-safe-payment {

  padding: 22px;

  text-align: center;

  color: #16a34a;

  font-size: 14px;

  font-weight: 600;

}



.eco-safe-payment i {

  margin-right: 8px;

}

@media(max-width:767px) {

  .eco-summary {

    margin-top: 20px;

  }

  .eco-summary-header {

    padding: 18px;

  }

  .eco-summary-header h3 {

    font-size: 18px;

  }

  .eco-coupon-box {

    padding: 18px;

    flex-direction: column;

  }

  .eco-coupon-box button {

    width: 100%;

    height: 48px;

  }

  .eco-summary-body {

    padding: 0 18px 18px;

  }

  .eco-total {

    margin: 0 18px;

    padding: 18px;

  }

  .eco-total strong {

    font-size: 24px;

  }

  .eco-trust {

    padding: 18px;

  }

  .eco-checkout-btn {

    margin: 0 18px;

  }

}

/*==================================
Empty Cart
===================================*/

.eco-empty-cart {

  background: #fff;

  border-radius: 24px;

  padding: 80px 40px;

  text-align: center;

  border: 1px solid #ececec;

  box-shadow: 0 20px 45px rgba(0, 0, 0, .05);

}



.eco-empty-icon {

  width: 140px;

  height: 140px;

  margin: auto;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: linear-gradient(135deg, #fff3ed, #fff9f4);

  margin-bottom: 30px;

}



.eco-empty-icon i {

  font-size: 60px;

  color: #ff6b35;

}



.eco-empty-cart h2 {

  font-size: 34px;

  margin-bottom: 18px;

  font-weight: 700;

  color: #222;

}



.eco-empty-cart p {

  max-width: 520px;

  margin: auto;

  color: #777;

  line-height: 1.8;

  font-size: 16px;

}



.eco-empty-actions {

  display: flex;

  justify-content: center;

  gap: 18px;

  margin-top: 40px;

}

.eco-primary-btn {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 16px 34px;

  border-radius: 14px;

  text-decoration: none;

  color: #fff;

  font-weight: 700;

  background: linear-gradient(135deg, #ff6b35, #ff8c2b);

  transition: .35s;

  box-shadow: 0 15px 35px rgba(255, 107, 53, .25);

}



.eco-primary-btn:hover {

  color: #fff;

  transform: translateY(-4px);

}



.eco-secondary-btn {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 16px 34px;

  border-radius: 14px;

  border: 2px solid #ececec;

  color: #333;

  text-decoration: none;

  font-weight: 700;

  transition: .35s;

}



.eco-secondary-btn:hover {

  border-color: #ff6b35;

  color: #ff6b35;

}

.eco-empty-cart {

  position: relative;

  overflow: hidden;

}



.eco-empty-cart::before {

  content: "";

  position: absolute;

  width: 320px;

  height: 320px;

  border-radius: 50%;

  background: #ff6b35;

  opacity: .05;

  top: -160px;

  left: -100px;

}



.eco-empty-cart::after {

  content: "";

  position: absolute;

  width: 250px;

  height: 250px;

  border-radius: 50%;

  background: #22c55e;

  opacity: .05;

  bottom: -120px;

  right: -80px;

}

@media(max-width:767px) {

  .eco-empty-cart {

    padding: 45px 20px;

  }

  .eco-empty-icon {

    width: 100px;

    height: 100px;

  }

  .eco-empty-icon i {

    font-size: 42px;

  }

  .eco-empty-cart h2 {

    font-size: 24px;

  }

  .eco-empty-cart p {

    font-size: 14px;

  }

  .eco-empty-actions {

    flex-direction: column;

  }

  .eco-primary-btn,

  .eco-secondary-btn {

    width: 100%;

    justify-content: center;

  }

}

/*==================================
Trust Section
===================================*/

.eco-trust-section {

  margin-top: 50px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

}



.eco-trust-card {

  background: #fff;

  border-radius: 20px;

  padding: 28px;

  text-align: center;

  border: 1px solid #ececec;

  transition: .35s;

  box-shadow: 0 10px 25px rgba(0, 0, 0, .05);

}



.eco-trust-card:hover {

  transform: translateY(-6px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);

}



.eco-trust-card i {

  width: 70px;

  height: 70px;

  border-radius: 50%;

  background: #fff3ed;

  display: flex;

  justify-content: center;

  align-items: center;

  margin: auto auto 20px;

  color: #ff6b35;

  font-size: 28px;

}



.eco-trust-card h5 {

  margin-bottom: 12px;

  font-size: 18px;

  font-weight: 700;

}



.eco-trust-card p {

  color: #777;

  margin: 0;

  font-size: 14px;

  line-height: 1.7;

}

/*==================================
Payment
===================================*/

.eco-payment-section {

  margin-top: 40px;

  background: #fff;

  border-radius: 22px;

  padding: 30px;

  border: 1px solid #ececec;
  
  z-index: 9;

}



.eco-payment-section h4 {

  margin-bottom: 25px;

  font-size: 22px;

  font-weight: 700;

}



.eco-payment-icons {

  display: flex;

  gap: 18px;

  flex-wrap: wrap;

}



.eco-payment-item {

  width: 75px;

  height: 60px;

  border-radius: 16px;

  background: #fafafa;

  border: 1px solid #eee;

  display: flex;

  justify-content: center;

  align-items: center;

  transition: .35s;

}



.eco-payment-item:hover {

  border-color: #ff6b35;

}



.eco-payment-item i {

  font-size: 30px;

  color: #444;

}

/*==================================
Sticky Checkout
===================================*/

.eco-mobile-checkout {

  display: none;

}



@media(max-width:767px) {

  .eco-mobile-checkout {

    position: fixed;

    left: 0;

    right: 0;

    bottom: 0;

    background: #fff;

    padding: 14px 16px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    z-index: 99999;

    box-shadow: 0 -10px 30px rgba(0, 0, 0, .12);

  }



  .eco-mobile-left {

    display: flex;

    flex-direction: column;

  }



  .eco-mobile-left small {

    color: #888;

    font-size: 12px;

  }



  .eco-mobile-left strong {

    font-size: 22px;

    font-weight: 800;

    color: #111;

  }



  .eco-mobile-btn {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 14px 24px;

    border-radius: 14px;

    background: linear-gradient(135deg, #ff6b35, #ff8b2b);

    color: #fff;

    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 12px 30px rgba(255, 107, 53, .30);

  }



  .eco-mobile-btn:hover {

    color: #fff;

  }

}

@media(max-width:991px) {

  .eco-trust-section {

    grid-template-columns: repeat(2, 1fr);

  }

}

@media(max-width:767px) {

  .eco-trust-section {

    grid-template-columns: 1fr;

    gap: 15px;

  }

  .eco-payment-section {

    padding: 20px;

  }

  .eco-payment-icons {

    justify-content: center;

  }

  .eco-payment-item {

    width: 65px;

    height: 55px;

  }

}

/*==================================
Premium Background
===================================*/

main.main {

  position: relative;

  overflow: hidden;

  background:
    radial-gradient(circle at top left, #fff7f2, #f7f8fc 40%, #f4f6fa 100%);

  isolation: isolate;

}

main.main::before {

  content: "";

  position: absolute;

  width: 550px;

  height: 550px;

  left: -220px;

  top: -180px;

  border-radius: 50%;

  background: linear-gradient(135deg, #ff6b35, #ffb347);

  opacity: .05;

  filter: blur(70px);

  pointer-events: none;

  z-index: -1;

  animation: blobOne 18s linear infinite;

}

main.main::after {

  content: "";

  position: absolute;

  width: 450px;

  height: 450px;

  right: -180px;

  bottom: -180px;

  border-radius: 50%;

  background: #22c55e;

  opacity: .04;

  filter: blur(70px);

  pointer-events: none;

  z-index: -1;

  animation: blobTwo 20s linear infinite;

}

/*==================================
Glass Cards
===================================*/

.eco-cart-header,
.eco-cart-item,
.eco-summary,
.eco-payment-section,
.eco-trust-card {

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  background: rgba(255, 255, 255, .92);

}

.eco-cart-item,
.eco-summary,
.eco-trust-card {

  transition:

    transform .35s,

    box-shadow .35s,

    border-color .35s;

}

.eco-cart-item:hover,
.eco-summary:hover,
.eco-trust-card:hover {

  transform: translateY(-6px);

  box-shadow: 0 25px 55px rgba(0, 0, 0, .08);

}

.eco-cart-image {

  overflow: hidden;

}

.eco-cart-image img {

  transition: .45s;

}

.eco-cart-item:hover img {

  transform: scale(1.08);

}

.eco-price,
.eco-total strong {

  background:

    linear-gradient(135deg, #ff6b35, #ffb347);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

}

.eco-checkout-btn,
.eco-mobile-btn {

  position: relative;

  overflow: hidden;

}

.eco-checkout-btn::before,
.eco-mobile-btn::before {

  content: "";

  position: absolute;

  top: 0;

  left: -120%;

  width: 60%;

  height: 100%;

  background:

    linear-gradient(120deg,

      transparent,

      rgba(255, 255, 255, .35),

      transparent);

}

.eco-checkout-btn:hover::before,
.eco-mobile-btn:hover::before {

  animation: buttonShine .8s;

}

.eco-trust-card i {

  transition: .35s;

}

.eco-trust-card:hover i {

  transform:

    translateY(-8px) rotate(8deg) scale(1.08);

}

.eco-remove {

  transition: .35s;

}

.eco-remove:hover {

  transform: translateY(-2px);

}

.eco-coupon-box input {

  transition: .35s;

}

.eco-coupon-box input:focus {

  box-shadow:

    0 0 0 4px rgba(255, 107, 53, .08);

}

.eco-cart-item {

  position: relative;

}

.eco-cart-item::after {

  content: "";

  position: absolute;

  inset: 0;

  background:

    linear-gradient(90deg,

      transparent,

      rgba(255, 255, 255, .28),

      transparent);

  transform: translateX(-100%);

  pointer-events: none;

}

.eco-cart-item:hover::after {

  animation: shimmer 1.2s linear;

}

::-webkit-scrollbar {

  width: 10px;

}

::-webkit-scrollbar-track {

  background: #f5f5f5;

}

::-webkit-scrollbar-thumb {

  background: #ff6b35;

  border-radius: 20px;

}

::-webkit-scrollbar-thumb:hover {

  background: #eb5c25;

}

.eco-cart-header,
.eco-cart-item,
.eco-summary,
.eco-trust-card,
.eco-payment-section {

  animation: fadeUp .7s ease both;

}

::selection {

  background: #ff6b35;

  color: #fff;

}

.eco-cart-item,
.eco-summary,
.eco-trust-card {

  will-change: transform;

  transform: translateZ(0);

  backface-visibility: hidden;

}

@keyframes buttonShine {

  0% {

    left: -120%;

  }

  100% {

    left: 120%;

  }

}

@keyframes shimmer {

  0% {

    transform: translateX(-100%);

  }

  100% {

    transform: translateX(100%);

  }

}

@keyframes fadeUp {

  from {

    opacity: 0;

    transform: translateY(35px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}

@keyframes blobOne {

  0% {

    transform: translate(0, 0);

  }

  50% {

    transform: translate(40px, 45px);

  }

  100% {

    transform: translate(0, 0);

  }

}

@keyframes blobTwo {

  0% {

    transform: translate(0, 0);

  }

  50% {

    transform: translate(-45px, -40px);

  }

  100% {

    transform: translate(0, 0);

  }

}
