.wcc-cart-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
}

.wcc-cart-items {
  flex: 2;
  min-width: 300px;
}
.wcc-cart-items h2 {
  font-size: 22px;
  margin-bottom: 20px;
}
.wcc-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  gap: 15px;
}

.wcc-thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}
.wcc-info {
  flex: 1;
}
.wcc-name {
  font-weight: 600;
  font-size: 15px;
  color: #111;
}
.wcc-code {
  color: #d00;
  font-size: 13px;
}
.wcc-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 60px;
  max-height: 115px;
  gap: 8px;
}
.wcc-qty-input {
  width: 80px;
  text-align: center;
  border: none;
  border-radius: 6px;
  height: 40px;
  font-size: 16px;
  -moz-appearance: textfield;
}
.wcc-qty-input::-webkit-outer-spin-button,
.wcc-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.wcc-qty-btn {
  background: none;
  border: none;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  color: #000 !important;
  line-height: 1;
  padding: 0;
  background-color: transparent !important;
}
.wcc-price {
  text-align: right;
  font-weight: 600;
  color: #111;
}
.wcc-remove {
  color: #000;
  font-size: 22px;
  text-decoration: none;
  padding: 0 8px;
  background-color: transparent !important;
}

@media (max-width:1024px) {
  .wcc-item {
    display: grid;
    grid-template-areas: 'thumb info info info' '. code code code' '. quantity price remove';
    grid-template-columns: 1fr auto auto auto;
  }

  .wcc-thumb{
    grid-area: thumb;
    min-width: 70px;
  }

  .wcc-info{
    grid-area: info;
  }

  .wcc-code{
    grid-area: code;
  }

  .wcc-quantity{
    grid-area: quantity;
  }

  

  .wcc-price{
    grid-area: price;
  }

  .wcc-remove{
    grid-area: remove;
  }
}

@media (max-width: 428px) {
  .wcc-quantity{
    flex-direction: column;
    width: unset;
  }
}

.wcc-summary {
  flex: 1;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

@media (min-widtth: 768px) {
  .wcc-summary {
    min-width: 280px;
  }
}

.wcc-summary h3 {
  margin-bottom: 20px;
  font-size: 18px;
}
.wcc-coupon input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 20px;
}
.wcc-totals p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 15px;
}
.wcc-total {
  font-weight: 700;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.wcc-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.wcc-btn {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s;
}
.wcc-btn-whatsapp {
  background: #25d366;
}
.wcc-btn-whatsapp:hover {
  background: #1ebe5b;
  color: #fff;
}
.wcc-btn-contact-toggle {
  background: #d00;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  padding: 12px 0;
  cursor: pointer;
  transition: background 0.2s;
  flex: none;
  width: 100%;
}
.wcc-btn-contact-toggle:hover {
  background: #b50000;
}

.wcc-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center!important;
  justify-content: center !important;
  z-index: 9999;
  backdrop-filter: blur(4px);
  width: 100%;	
  overflow: scroll;
}

.wcc-popup-overlay label,.wcc-popup-overlay  .nf-form-fields-required{
  color: #fff;
}

.wcc-popup-overlay.active {
  display: flex;
}
.wcc-popup-content {
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  transform:translateY(30%) ;
}

.wcc-popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.wcc-popup-close:hover {
  transform: scale(1.2);
}

.wcc-popup-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.wcc-popup-content input,
.wcc-popup-content textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  font-family: "Inter", sans-serif;
}
.wcc-popup-content textarea {
  resize: vertical;
  min-height: 100px;
}
.wcc-popup-content button {
  background: #004696;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.wcc-popup-content button:hover {
  background: #003a7d;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


@media (max-width: 768px) {
  .wcc-cart-layout {
    flex-direction: column;
  }
  .wcc-summary {
    order: -1;
  }
  .wcc-popup-content {
    border-radius: 20px 20px 0 0;
    padding: 25px 20px;
  }
}
