/* ===== ANA KART ===== */
.vesta-m2-row,
.vesta-measure-box,
.vesta-cta-wrap,
.vesta-usp-list {
  background: #f7f3ec;
}

/* ===== ÜST FİYAT ===== */
.vesta-m2-row {
  padding: 22px 24px 10px;
  border: 1px solid #e6ddd1;
  border-bottom: none;
  border-radius: 18px 18px 0 0;
}

.vesta-m2-price {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 800;
  color: #d71920 !important;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.vesta-m2-price sup {
  font-size: 20px;
  position: relative;
  top: -0.55em;
}


/* ===== ÖLÇÜ ALANI ===== */
.vesta-measure-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 24px 18px;
  border-left: 1px solid #e6ddd1;
  border-right: 1px solid #e6ddd1;
}

.vesta-measure-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/* ===== TOGGLE ===== */
.vesta-unit-toggle {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 5px;
  margin-left: 105px;
}

.vesta-unit-toggle button {
  border: none;
  background: transparent;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  color: #555;
}

.vesta-unit-toggle button.active {
  background: #fff;
  color: #111;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ===== INPUT ===== */
.vesta-measure-inputs {
  width: 100%;
  margin-top: 18px;
  display: flex;
  gap: 14px;
}

.vesta-input-group {
  width: 100%;
}

.vesta-input-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.vesta-input-group input {
  width: 100%;
  height: 50px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
}

.vesta-input-error {
  border-color: #d71920 !important;
  box-shadow: 0 0 0 3px rgba(215,25,32,0.12) !important;
}

/* ===== INFO ===== */
.vesta-measure-note {
  position: relative;
  width: 100%;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}

.vesta-info-btn {
  width: 20px;
  height: 20px;
  border: 1.5px solid #333;
  border-radius: 50%;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.vesta-info-popover {
  display: none;
  position: absolute;
  top: 34px;
  left: 0;
  width: 320px;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
  z-index: 50;
}

.vesta-measure-note.is-open .vesta-info-popover {
  display: block;
}

/* ===== CTA ===== */
.vesta-cta-wrap {
  padding: 0 24px 18px;
  border-left: 1px solid #e6ddd1;
  border-right: 1px solid #e6ddd1;
}

.vesta-add-to-cart-btn {
  width: 100%;
  height: 58px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #ff7a00, #ff9f2f);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255,122,0,0.26);
  transition: 0.25s;
}

.vesta-add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,122,0,0.35);
}

/* ===== USP - TEK TEMİZ YAPI ===== */
.vesta-usp-list {
  padding: 0 24px 24px;
  border: 1px solid #e6ddd1;
  border-top: none;
  border-radius: 0 0 18px 18px;
  margin-top: 0;

  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
}

.vesta-usp-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;

  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

.vesta-usp-icon {
  flex: 0 0 24px !important;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;

  display: inline-flex !important;
  align-items: flex-start !important;
  justify-content: center !important;

  font-size: 17px;
  line-height: 1.5;
  margin: 0 !important;
  padding: 0 !important;
}

.vesta-usp-text,
.vesta-usp-item > span:last-child {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;

  line-height: 1.5 !important;
  white-space: normal !important;
  word-break: normal !important;
}

#vesta-date-range {
  display: inline !important;
  font-weight: 700 !important;
  color: #333;
  white-space: nowrap !important;
}

/* ===== NUMUNE KARTI ===== */
.vesta-sample-card {
  margin-top: 18px;
  background: #f7f3ec;
  border: 1px solid #e6ddd1;
  border-radius: 18px;
  padding: 24px;
}

.vesta-sample-title {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}

.vesta-sample-subtitle {
  font-size: 15px;
  color: #111;
  margin-bottom: 22px;
}

.vesta-sample-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 14px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 24px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.vesta-sample-btn:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}

.vesta-sample-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vesta-sample-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #111;
}

.vesta-sample-icon {
  width: 24px;
  font-size: 22px;
  line-height: 1;
}

/* ===== POPUP ===== */
body.vesta-popup-open {
  overflow: hidden;
}

.vesta-custom-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
}

.vesta-custom-popup-inner {
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.45s ease;
  position: relative;
  overflow-y: auto;
}

.vesta-custom-popup.is-open {
  pointer-events: auto;
}

.vesta-custom-popup.is-open .vesta-custom-popup-inner {
  transform: translateX(0);
}

.vesta-popup-close {
  position: absolute;
  right: 28px;
  top: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #f2f2f2;
  font-size: 30px;
  cursor: pointer;
}

.vesta-popup-content {
  padding: 70px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .vesta-m2-price {
    font-size: 24px;
  }


  .vesta-unit-toggle {
    margin-left: 0;
    margin-top: 12px;
  }

  .vesta-measure-inputs {
    flex-direction: column;
  }

  .vesta-usp-list {
    padding: 0 20px 22px;
  }

  .vesta-popup-content {
    padding: 50px 24px;
  }
}

.vesta-m2-price::after {
  content: none !important;
  display: none !important;
}

.vesta-m2-price .vesta-price-suffix {
  color: #111 !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .vesta-m2-price .vesta-price-suffix {
    font-size: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .vesta-m2-row,
  .vesta-measure-box,
  .vesta-cta-wrap,
  .vesta-usp-list,
  .vesta-sample-card {
    width: 100%;
    max-width: 100%;
  }

  .vesta-measure-box {
    align-items: flex-start;
    gap: 14px;
  }

  .vesta-unit-toggle {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .vesta-m2-row,
  .vesta-measure-box,
  .vesta-cta-wrap,
  .vesta-usp-list,
  .vesta-sample-card,
  .vesta-add-to-cart-btn,
  .vesta-sample-btn {
    width: 100%;
    max-width: 100%;
  }

  .vesta-measure-box {
    align-items: stretch;
  }

  .vesta-measure-title,
  .vesta-unit-toggle,
  .vesta-measure-note,
  .vesta-info-popover {
    max-width: 100%;
  }

  .vesta-info-popover {
    width: min(320px, calc(100vw - 48px));
  }

  .vesta-popup-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .vesta-popup-left,
  .vesta-popup-right {
    width: 100%;
    max-width: 100%;
    padding: 24px;
  }

  .vesta-popup-measure-line {
    grid-template-columns: 1fr;
  }

  .vesta-popup-total-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .vesta-crop-preview-wrap,
  .vesta-crop-preview {
    width: 100%;
    max-width: 100%;
  }

  .vesta-crop-preview {
    height: auto;
    aspect-ratio: 3 / 2;
  }
}