@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,300..800&display=swap');

body.peptivex-cart-page,
body.peptivex-cart-page *,
body.peptivex-cart-page *::before,
body.peptivex-cart-page *::after,
body.peptivex-cart-page button,
body.peptivex-cart-page input,
body.peptivex-cart-page select,
body.peptivex-cart-page textarea {
  font-family: "Google Sans Flex", "Inter", Arial, sans-serif !important;
}

.peptivex-cart-page .entry-title,
.peptivex-cart-page .page-title,
.peptivex-cart-page .woocommerce > h2:first-child {
  display: none !important;
}

.peptivex-cart-page .site-main,
.peptivex-cart-page .content-area,
.peptivex-cart-page main,
.peptivex-cart-page .entry-content {
  max-width: none !important;
}

.pvx-cart-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 88px;
  color: #151515;
  box-sizing: border-box;
}

.pvx-cart-shell * { box-sizing: border-box; }

.pvx-cart-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 32px;
}

.pvx-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.pvx-cart-heading h1,
.pvx-empty-cart h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 600;
}

.pvx-cart-heading p,
.pvx-empty-cart p {
  margin: 14px 0 0;
  color: #6d6d6d;
  font-size: 16px;
}

.pvx-continue {
  color: #151515;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.pvx-continue span { margin-left: 7px; }

.pvx-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 36px;
  align-items: start;
}

.pvx-cart-main,
.pvx-cart-summary {
  border: 1px solid #e8e8e8;
  background: #fff;
  border-radius: 20px;
}

.pvx-cart-list { padding: 4px 28px; }

.pvx-cart-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #ededed;
}

.pvx-cart-item:last-child { border-bottom: 0; }

.pvx-product-image {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  background: #f6f6f4;
}

.pvx-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pvx-product-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.pvx-product-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.pvx-product-topline h2 {
  margin: 2px 0 6px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 600;
}

.pvx-product-topline h2 a { color: inherit; text-decoration: none !important; }
.pvx-item-meta { color: #777; font-size: 14px; }
.pvx-item-meta dl, .pvx-item-meta p { margin: 0; }

.pvx-line-price {
  font-size: 18px;
  font-weight: 650;
  white-space: nowrap;
}

.pvx-product-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pvx-qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  height: 42px;
  overflow: hidden;
  background: #fff;
}

.pvx-qty-btn {
  width: 39px;
  height: 40px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #181818 !important;
  font-size: 21px !important;
  line-height: 40px !important;
  cursor: pointer;
  box-shadow: none !important;
}

.pvx-qty-wrap .quantity { margin: 0 !important; }
.pvx-qty-wrap .qty {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 600;
  box-shadow: none !important;
  -moz-appearance: textfield;
}
.pvx-qty-wrap .qty::-webkit-outer-spin-button,
.pvx-qty-wrap .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pvx-remove {
  color: #777 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-size: 14px !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  border-radius: 0 !important;
}
.pvx-remove:hover { color: #151515 !important; background: transparent !important; }

.pvx-cart-tools {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 22px 28px 28px;
  border-top: 1px solid #ededed;
  background: #fafafa;
  border-radius: 0 0 20px 20px;
}

.pvx-coupon { display: flex; gap: 8px; flex: 1; max-width: 440px; }
.pvx-coupon input {
  width: 100% !important;
  height: 46px !important;
  padding: 0 16px !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.pvx-secondary-btn,
.pvx-update-cart {
  min-height: 46px !important;
  padding: 0 18px !important;
  border: 1px solid #151515 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #151515 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

.pvx-cart-summary {
  position: sticky;
  top: 28px;
  padding: 30px;
  box-shadow: 0 18px 55px rgba(0,0,0,.06);
}

.pvx-cart-summary h2 {
  margin: 0 0 22px;
  font-size: 28px;
  letter-spacing: -.03em;
}

.pvx-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
  font-size: 15px;
  border-bottom: 1px solid #ededed;
}

.pvx-summary-row strong { text-align: right; font-weight: 600; }
.pvx-discount-row { color: #47633a; }

.pvx-total-row {
  align-items: flex-end;
  padding: 22px 0;
  border-bottom: 0;
  font-size: 17px;
}
.pvx-total-row strong { font-size: 25px; letter-spacing: -.02em; }
.pvx-total-row small { display: block; color: #777; font-size: 11px; font-weight: 400; }

.pvx-checkout-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 24px !important;
  border: 1px solid #151515 !important;
  border-radius: 999px !important;
  background: #151515 !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
  transition: transform .2s ease, opacity .2s ease;
}
.pvx-checkout-btn:hover { opacity: .9; transform: translateY(-1px); }

.pvx-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  color: #737373;
  font-size: 12px;
}
.pvx-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
  font-size: 10px;
}

.pvx-shipping-block .woocommerce-shipping-totals,
.pvx-shipping-block tr,
.pvx-shipping-block th,
.pvx-shipping-block td { display: block; width: 100%; }
.pvx-shipping-block ul { list-style: none; padding: 0; margin: 12px 0; }
.pvx-shipping-block li { margin: 7px 0; }

.pvx-empty-cart {
  max-width: 760px;
  padding-top: 100px;
  text-align: center;
}
.pvx-empty-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
}
.pvx-empty-cart p { max-width: 520px; margin: 16px auto 28px; }
.pvx-shop-btn { width: auto !important; min-width: 210px; display: inline-flex !important; }

.peptivex-cart-page .woocommerce-message,
.peptivex-cart-page .woocommerce-info,
.peptivex-cart-page .woocommerce-error {
  width: min(1320px, calc(100% - 48px));
  margin: 24px auto 0 !important;
  border-radius: 12px;
}

/* Avoid duplicate default WooCommerce checkout button if a theme/plugin adds one through the hook. */
.pvx-cart-summary .wc-proceed-to-checkout { display: none !important; }

@media (max-width: 980px) {
  .pvx-cart-shell { width: min(100% - 32px, 1320px); padding-top: 44px; }
  .pvx-cart-grid { grid-template-columns: 1fr; }
  .pvx-cart-summary { position: static; }
}

@media (max-width: 680px) {
  .pvx-cart-shell { width: min(100% - 24px, 1320px); padding: 30px 0 56px; }
  .pvx-cart-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .pvx-cart-item { grid-template-columns: 96px minmax(0, 1fr); gap: 15px; padding: 22px 0; }
  .pvx-product-image { width: 96px; height: 112px; }
  .pvx-product-topline { flex-direction: column; gap: 8px; }
  .pvx-product-topline h2 { font-size: 18px; }
  .pvx-line-price { font-size: 16px; }
  .pvx-cart-list { padding: 2px 16px; }
  .pvx-cart-tools { flex-direction: column; padding: 18px 16px 20px; }
  .pvx-coupon { max-width: none; }
  .pvx-update-cart { width: 100%; }
  .pvx-cart-summary { padding: 24px 20px; }
  .pvx-product-actions { flex-wrap: wrap; }
}
