/* Product detail purchase hierarchy — total is definitive, installment is supporting information. */
.product-page .buy-panel {
  padding: 20px;
  border: 1px solid #dce6f0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(215, 25, 47, .045), transparent 34%),
    #fff;
  box-shadow: 0 16px 38px rgba(18, 32, 48, .08);
}

.product-page .buy-panel .brand-line {
  display: none !important;
}

.product-page .buy-panel > h1 {
  margin: 0;
  color: #141e2b;
  font-size: clamp(27px, 2.35vw, 37px);
  font-weight: 820;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.product-page .buy-panel > h1 + p {
  max-width: 65ch;
  margin: 11px 0 0;
  color: #607086;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.62;
}

.product-page .buy-panel .buy-price {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 17px 18px;
  border: 1px solid #f0d6db;
  border-radius: 17px;
  background: linear-gradient(135deg, #fff 0%, #fff6f7 100%);
  box-shadow: inset 4px 0 0 #d7192f;
}

.product-page .buy-panel .buy-price .total {
  order: 1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin: 0;
  color: #141e2b;
  line-height: 1.08;
}

.product-page .buy-panel .buy-price .total span {
  flex-basis: 100%;
  color: #6a7789;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .065em;
  line-height: 1;
  text-transform: uppercase;
}

.product-page .buy-panel .buy-price .total strong {
  color: #141e2b;
  font-size: clamp(32px, 2.85vw, 40px);
  font-weight: 900;
  letter-spacing: -.025em;
}

.product-page .buy-panel .buy-price .monthly {
  order: 2;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 5px;
  margin: 0;
  padding-top: 11px;
  border-top: 1px solid #eadfe2;
  color: #b52236;
  font-size: clamp(22px, 1.95vw, 27px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.product-page .buy-panel .buy-price .monthly::before {
  content: "3 taksitte aylık ödeme";
  flex-basis: 100%;
  margin-bottom: 5px;
  color: #69778a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .065em;
  line-height: 1;
  text-transform: uppercase;
}

.product-page .buy-panel .buy-price .monthly em,
.product-page .buy-panel .buy-price .monthly span {
  color: #b52236;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

.product-page .buy-panel .buy-price .old-price--detail {
  order: -1;
  margin: 0;
  font-size: 11.5px;
}

.product-page .buy-panel .yk-product-campaign {
  order: -2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 43px;
  margin: -5px -6px 2px;
  padding: 8px 10px;
  border: 1px solid rgba(215, 25, 47, .18);
  border-radius: 13px;
  background: linear-gradient(105deg, #fff 0%, #fff0f3 60%, #ffe5ea 100%);
  color: #b5122b;
}

.product-page .buy-panel .yk-product-campaign__copy {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.product-page .buy-panel .yk-product-campaign__copy > i {
  display: grid;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 10px;
  background: #e31b36;
  color: #fff;
  box-shadow: 0 6px 14px rgba(215, 25, 47, .2);
}

.product-page .buy-panel .yk-product-campaign__copy > span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.product-page .buy-panel .yk-product-campaign__copy b {
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.15;
}

.product-page .buy-panel .yk-product-campaign__copy small {
  color: #7b5660;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
}

.product-page .buy-panel .yk-product-campaign > strong {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid rgba(215, 25, 47, .14);
  border-radius: 999px;
  background: #fff;
  color: #d7192f;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.product-page .buy-panel .buy-price > p {
  order: 3;
  margin: 0;
  color: #607086;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.product-page .buy-panel .feature-grid {
  gap: 9px;
  margin-top: 14px;
}

.product-page .buy-panel .feature {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 47px;
  padding: 11px 12px;
  border-color: #dce6f0;
  border-radius: 13px;
  background: #fff;
  color: #1b2634;
  font-size: 13px;
  font-weight: 760;
  box-shadow: 0 4px 12px rgba(18, 32, 48, .025);
}

.product-page .buy-panel .feature i {
  flex: 0 0 auto;
  color: #d7192f;
}

.product-page .buy-panel .compatibility-toggle {
  min-height: 53px;
  margin-top: 11px;
  border-color: #cdddec;
  border-radius: 13px;
  background: #f6f9fc;
  color: #172231;
}

.product-page .buy-panel .compatibility-toggle:hover {
  border-color: #93b5d3;
  background: #eff6fb;
}

.product-page .buy-panel .actions {
  gap: 10px;
  margin-top: 14px;
}

.product-page .buy-panel .product-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-page .buy-panel .yk-product-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  border: 1px solid #bfe4d1;
  border-radius: 13px;
  background: #eefaf4;
  color: #08794b;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.product-page .buy-panel .yk-product-whatsapp:hover {
  border-color: #15965f;
  background: #15965f;
  color: #fff;
}

.product-page .buy-panel .actions a,
.product-page .buy-panel .actions button {
  min-height: 48px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .product-page .buy-panel {
    position: static;
    padding: 16px;
    border-radius: 17px;
  }

  .product-page .buy-panel > h1 {
    font-size: clamp(25px, 7vw, 31px);
  }

  .product-page .buy-panel .buy-price {
    padding: 15px 16px;
  }

  .product-page .buy-panel .buy-price .total strong {
    font-size: 32px;
  }

  .product-page .buy-panel .buy-price .monthly {
    font-size: 23px;
  }

  .product-page .buy-panel .yk-product-campaign {
    min-height: 40px;
    margin-inline: -5px;
    padding: 7px 8px;
  }

  .product-page .buy-panel .yk-product-campaign__copy b {
    font-size: 11.5px;
  }

  .product-page .buy-panel .yk-product-campaign__copy small {
    font-size: 8.5px;
  }

  .product-page .buy-panel .yk-product-campaign > strong {
    font-size: 10.5px;
  }
}

@media (max-width: 390px) {
  .product-page .buy-panel .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-page .buy-panel .product-actions {
    grid-template-columns: 1fr 1fr;
  }

  .product-page .buy-panel .yk-product-whatsapp {
    grid-column: 1 / -1;
  }
}

.yk-product-options {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid #cadced;
  border-radius: 15px;
  background: linear-gradient(145deg, #f7fbff, #fff);
}

.yk-product-options__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.yk-product-options__head span {
  color: #df1f3d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.yk-product-options__head b {
  color: #182434;
  font-size: 13px;
}

.yk-product-option {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.yk-product-option + .yk-product-option {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #dbe6ef;
}

.yk-product-option legend {
  width: 100%;
  margin-bottom: 8px;
  color: #182434;
  font-size: 13px;
  font-weight: 850;
}

.yk-product-option legend small {
  margin-left: 5px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #fff0f3;
  color: #d91d3b;
  font-size: 9px;
}

.yk-product-option__values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.yk-product-option__value {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 53px;
  padding: 9px 10px;
  border: 1px solid #d3e0eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.yk-product-option__value input {
  width: 17px;
  height: 17px;
  margin: 0 9px 0 0;
  accent-color: #df1f3d;
  flex: 0 0 auto;
}

.yk-product-option__value span {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.yk-product-option__value b {
  min-width: 0;
  color: #172333;
  font-size: 12px;
  line-height: 1.3;
}

.yk-product-option__value small {
  flex: 0 0 auto;
  color: #657389;
  font-size: 10px;
  font-weight: 800;
}

.yk-product-option__value.is-selected {
  border-color: #0f9a83;
  background: #eefaf7;
  box-shadow: 0 0 0 2px rgba(15, 154, 131, .1);
}

.yk-product-option__error {
  display: none;
  align-items: center;
  gap: 7px;
  margin: 8px 0 0;
  padding: 8px 10px;
  border: 1px solid #f3b8c2;
  border-radius: 10px;
  background: #fff3f5;
  color: #b91431;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.yk-product-option__error::before {
  content: "!";
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #df1f3d;
  color: #fff;
  font-size: 11px;
}

.yk-product-option.has-error .yk-product-option__error {
  display: flex;
}

.yk-product-option.has-error .yk-product-option__values {
  padding: 4px;
  border-radius: 14px;
  box-shadow: 0 0 0 2px rgba(223, 31, 61, .16);
}

@media (max-width: 520px) {
  .yk-product-options {
    padding: 12px;
  }

  .yk-product-option__values {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  .yk-product-options {
    border-color: #344658;
    background: #111d29;
  }

  .yk-product-options__head b,
  .yk-product-option legend,
  .yk-product-option__value b {
    color: #f5f8fb;
  }

  .yk-product-option__value {
    border-color: #3c4c5c;
    background: #172330;
  }

  .yk-product-option__value.is-selected {
    border-color: #2dc4a8;
    background: #102e2a;
  }

  .yk-product-option__error {
    border-color: #7c3442;
    background: #351923;
    color: #ffc6cf;
  }

  .yk-product-option__value small {
    color: #b8c5d2;
  }
}
