* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
}

.hide {
    display: none;
}

.show {
    display: unset;
}


img {
    width: 100% !important;
    max-width: 1000px !important;
    height: auto;
}

.center-table {
    margin: 0 auto;
    width: 100%;
    clear: both;
    text-align: center;
}

.goto-order,
.product,
.cursor {
    cursor: pointer;
}

/* Parsley */
input.parsley-success,
select.parsley-success,
textarea.parsley-success {
    color: #468847;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
    color: #b94a48;
    background-color: #f2dede;
    border: 1px solid #eed3d7;
}

.parsley-errors-list {
    margin: 2px 0 3px;
    padding: 0;
    list-style-type: none;
    font-size: 0.9em;
    line-height: 0.9em;
    opacity: 0;
    color: #b94a48;

    transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
}

.parsley-errors-list.filled {
    opacity: 1;
}

#payment-method {
    margin: 20px auto;
    max-width: 1000px;
    width: 80%;
    text-align: center;
}

#payment-method label {
    cursor: pointer;
    margin-bottom: 20px;
    font-family: system-ui, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.1;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}
/* #payment-method label input{
    cursor: pointer;

} */

#payment-method label span {
    display: inline-block;
    font-size: 1.5rem;
}

/* Form Styles */
input[name="product"],
.selected {
    display: none;
}

.form-group {
    margin: 15px 0;
}

.form-control {
    max-width: 930px;
    width: 100%;
    padding: 18px 15px; /* Daha büyük padding */
    font-size: 18px; /* Mobilde daha büyük ve okunabilir */
    border: 2px solid #000; /* Daha kalın border */
    border-radius: 0;
    outline: none;
    resize: none;
    min-height: 50px; /* Minimum yükseklik */
    color: #000 !important; /* Tüm form alanları siyah metin */
    background-color: #fff !important; /* Arka plan beyaz */
}

/* Textarea için özel yükseklik */
textarea.form-control {
    min-height: 120px;
}

/* Select elementleri için özel stil - input gibi görünmesi için */
select.form-control {
    appearance: none; /* Varsayılan ok işaretini kaldır */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23000" d="M6 9L1.5 4.5h9L6 9z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px; /* Ok için yer bırak */
    cursor: pointer;
    color: #000 !important; /* Metin rengini siyah yap */
}

/* Select option elementleri için */
select.form-control option {
    color: #000 !important; /* Option metinleri de siyah */
    background-color: #fff !important; /* Arka plan beyaz */
}

.parsley-errors-list {
    font-size: 14px !important;
    margin-top: 5px !important;
}

.phone-info-text {
    margin-top: 5px !important;
    display: block;
    text-align: left;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.phone-info-text span {
    color: tomato;
}

.phone-info-text div {
    font-weight: bold;
    color: #000;
}

.phone-info-text div em {
    font-style: normal;
    color: tomato;
}

.submit-button {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    appearance: none;
}

/* Modern Layout Styles */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.hero-section, .order-section, .footer-section {
    width: 100%;
}

.content-image, .hero-image, .info-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.order-section {
    background: #fff;
    padding: 20px 0;
}

.order-form {
    max-width: 930px;
    margin: 0 auto;
}

.product-selection {
    width: 100%;
    margin-bottom: 20px;
}

.product-option {
    width: 100%;
    margin-bottom: 10px;
}

.product-label {
    display: block;
    cursor: pointer;
    width: 100%;
}

.product-label {
    display: block;
    cursor: pointer;
}

.packet-image, .selected-image {
    width: 100%;
    height: auto;
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

/* Sadece bir resim göster - diğerini tamamen gizle */
.packet-image.hide, .selected-image.hide {
    display: none !important;
}

.packet-image.show, .selected-image.show {
    display: block !important;
}

/* Seçili paket çerçevesi - layout kaymasın diye tüm paketlerde şeffaf çerçeve */
.product-label img {
    border: 6px solid transparent;
    border-radius: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Seçili (checked) paketin görseline belirgin yeşil çerçeve + parıltı */
.product-option input[name=product]:checked + .product-label img {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.45), 0 6px 18px rgba(22, 163, 74, 0.35);
}

.form-section {
    width: 100%;
}

.form-container {
    max-width: 930px;
    margin: 0 auto;
    padding: 20px;
}

.shipment-info, .payment-info {
    text-align: center;
    margin: 0px 0; /* Resim ile form arası boşluk 10px */
}



.submit-section {
    text-align: center;
    margin: 0;
    margin-top: -15px; /* Üstteki boşluğu kaldır */
}

.footer-section {
    margin-top: 20px;
}

/* Clickable Images */
.clickable-image {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.clickable-image:hover {
    opacity: 0.9;
}
