@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Gabarito', sans-serif;
  background-color: #fff;
  color: #111;
  font-weight: 700;
}
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  cursor: pointer; /* her yerde pointer */
}
#siparis-formu,
#siparis-formu * {
  cursor: default; /* form ve içeriği: normal imleç */
}
.container img {
  width: 100%;
  display: block;
}

.form-wrapper {
  background-color: #fff;
  border-radius: 0;
  padding: 0 10px 0 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 10px;
}

.form-wrapper h2 {
  background-color: var(  --renk);
  color: #fff;
  font-size: 27px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  border-radius: 0;
  margin: -20px -20px 20px -20px;
  letter-spacing: 0.5px;
}
label {
    font-size: 18px;
    color: #6b6666;
    font-weight: 500;
    padding-bottom: 36px;
}
/* Grup başlığı */
.form-wrapper label.group-title {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
  margin-top: 10px;
}

/* Radio group alanı */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 0 11px 1px rgba(0,0,0,0.05), 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 15px;
  border-radius: 0;
  background-color: #fefefe;
  margin-bottom: 20px;
}

/* Tek radio seçeneği görünümü */
.radio-option {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 0;
  position: relative;
  cursor: pointer !important;
  background: #fff;
  transition: all 0.2s ease;
}

.radio-option:hover {
  background-color: #fff6ed;
  cursor: pointer !important;
}

.radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 22px;
  height: 22px;
  cursor: pointer !important;
  border: 1px solid var(  --renk);
  border-radius: 50%;
  background-color: #fff;
  margin-right: 15px;
  position: relative;
  flex-shrink: 0;
}

.radio-option input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 1px;
  width: 18px;
  height: 18px;
  background-color: var(  --renk);
  border-radius: 50%;
} 

.radio-option span {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: #111;
  cursor: pointer !important;
}

.free-shipping {
  display: inline-block;
  background: var(  --renk);
  color: white !important;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 0;
  font-weight: 500;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 500;
  background-color: #fff;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 11px 1px rgba(0,0,0,0.05), 0 4px 10px rgba(0, 0, 0, 0.08);
  outline: none;
  transition: box-shadow 0.2s;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  margin-bottom: 10px;
  margin-top: 4px;
}

/* Hover ve focus görünüm */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 2px var(  --renk), 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Select için ok işareti */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}

/* Textarea özel */
textarea {
  min-height: 120px;
  resize: vertical;
  font-family: 'Poppins', sans-serif;
}


/* Submit butonu */
button[type="submit"] {
  width: 100%;
  background: var(  --renk);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

button[type="submit"] img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1); /* SVG'yi beyaza çevirir */
}


button[type="submit"]:hover {
  background: #000000;
  cursor: pointer !important;
}
.kampanya-bar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #010101;
  padding: 10px 15px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.kampanya-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.kampanya-sol {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.countdown-wrapper {
  display: flex;
  gap: 2px;
}

.countdown-box {
  background: #fff;
  color: var(  --renk);
  padding: 5px 10px;
  border-radius: 0;
  text-align: center;
  font-weight: 700;
  min-width: 32px;
}

.countdown-box span {
  display: block;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0;
}

.countdown-box small {
  font-size: 11px;
  color: #555;
  font-weight: 500;
}

.btn-siparis {
  background: #ffffff;
  color: var(  --renk);
  font-weight: 600;
  padding: 0px 12px;
  border-radius: 0;
  text-decoration: none;
  font-size: 14px;
  border: 2px solid #fff;
  transition: 0.2s;
}

.btn-siparis:hover {
  background: #ffe5d6;
}

.kampanya-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kalan-stok {
    font-size: 12px;
    color: #f0f0f0; /* açık renk yazı */
    margin-bottom: 4px;
    font-weight: 400;
    opacity: 0.85;
}

.input-wrapper {
    position: relative;
    margin-bottom: 0;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    width: 100%;
    padding-right: 30px;
    border: none;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    color: #b0b0b0;
}
::placeholder {
    color: #b0b0b0; /* Gri ton */
    opacity: 1;  /* Firefox için gerekli */
}

input::placeholder,
textarea::placeholder {
    color: #b0b0b0;
}


.input-wrapper.valid input,
.input-wrapper.valid textarea,
.input-wrapper.valid select {
    border-color: green;
}

.input-wrapper.invalid input,
.input-wrapper.invalid textarea,
.input-wrapper.invalid select {
    border-color: red;
}

.input-wrapper.valid::after {
    content: "✔";
    color: green;
    position: absolute;
    right: 2px;
    top: 40px;
    font-size: 20px;
}

.input-wrapper.invalid::after {
    content: "❗";
    color: red;
    position: absolute;
    right: 2px;
    top: 37px;
    font-size: 20px;
}

.hata-mesaji {
    color: #fff;
    background: red;
    font-size: 13px;
    margin-top: -10px;
    padding: 3px 6px;
    display: none;
    border-radius: 0px 0 4px 4px;
    margin-bottom: 20px;
  }
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
    box-shadow: 0 0 11px 1px rgb(0 0 0 / 15%), 0 4px 10px rgba(0, 0, 0, 0.08);
}
 
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

/* Modal box */
.modal-box {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header,
.modal-footer {
    padding: 1rem;
    background: #f5f5f5;
}

.modal-header {
    font-size: 1.25rem;
    font-weight: bold;
}

.modal-body {
    padding: 1rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-footer .btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-light {
    background: #e0e0e0;
    color: #333;
}

.btn-success {
    background: #28a745;
    color: #fff;
}

.btn-success:disabled {
    background: #94d3a2;
    cursor: not-allowed;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check input {
    margin-right: 0.5rem;
}

