/* Local Variable Open Sans Font Tanımı */
@font-face {
    font-family: 'Open Sans';
    src: url('OpenSans-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 300 800;
    font-stretch: 75% 100%;
    font-display: swap;
}

:root {
    --bg: #f7efe9;
    --accent: #b85c74;
    --ink: #2f2a2b;
    --muted: #756b6d;
    --card: #fff;
    --line: #eadede;
}

*, *::before, *::after, body, input, button, select, textarea {
    box-sizing: border-box;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    width: min(1180px, 92%);
    margin: auto;
}

.top {
    padding: 34px 0 18px;
    text-align: center;
}

.logo {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.search {
    margin: 22px auto 0;
    max-width: 720px;
    display: flex;
    background: #fff;
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.search input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 14px;
    font-size: 16px;
}

.btn {
    border: 0;
    border-radius: 14px;
    padding: 13px 20px;
    font-weight: 700;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
}

.btn-alt {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

.hero-note {
    text-align: center;
    color: var(--muted);
    margin: 8px auto 34px;
}

.section {
    padding: 30px 0;
}

.section h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px;
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.cat, .product {
    background: var(--card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(95, 59, 68, 0.05);
    transition: transform 0.2s ease;
}

.cat:hover, .product:hover {
    transform: translateY(-4px);
}

.cat img {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.cat span {
    display: block;
    padding: 16px 18px;
    font-size: 20px;
    font-weight: 600;
}

.seo {
    background: rgba(255, 255, 255, 0.62);
    padding: 26px;
    border-radius: 24px;
    line-height: 1.75;
    color: var(--muted);
}

.product img {
    height: 260px;
    width: 100%;
    object-fit: cover;
}

.pbody {
    padding: 18px;
}

.pname {
    font-size: 21px;
    font-weight: 700;
    margin: 0;
}

.pname a {
    color: inherit;
}

.price {
    font-size: 20px;
    font-weight: 800;
    margin-top: 8px;
    color: var(--accent);
}

.delivery {
    font-size: 13px;
    margin: 8px 0;
    color: #3f7b5e;
}

.actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.actions .btn {
    flex: 1;
    text-align: center;
}

.footer {
    margin-top: 50px;
    background: #292426;
    color: #eee;
    padding: 36px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer a {
    display: block;
    margin: 8px 0;
    color: #ddd;
}

.adslot {
    border: 1px dashed #a99b9e;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    color: #b9afb1;
    margin-top: 22px;
}

.detail {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    padding: 30px 0;
}

.gallery-main {
    height: 560px;
    border-radius: 28px;
    object-fit: cover;
    width: 100%;
    background: var(--card);
}

.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow: auto;
}

.thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}

.panel {
    background: var(--card);
    border-radius: 28px;
    padding: 28px;
}

.panel h1 {
    font-size: 38px;
    font-weight: 700;
    margin-top: 0;
}

.field {
    margin: 14px 0;
}

.field label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 7px;
}

.field input, .field select, .field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 13px;
    background: var(--card);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.datecards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.datecard {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 11px;
    cursor: pointer;
}

.datecard input {
    width: auto;
}

.checkout {
    max-width: 760px;
    margin: 40px auto;
    background: var(--card);
    border-radius: 28px;
    padding: 30px;
}

.steps {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.step {
    flex: 1;
    background: #eee5e6;
    border-radius: 99px;
    height: 8px;
}

.step.on {
    background: var(--accent);
}

.hidden {
    display: none !important;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.73);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
}

.modal.open {
    display: flex;
}

.modal img {
    max-height: 88vh;
    max-width: 90vw;
    border-radius: 18px;
}

.admin {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: #241f21;
    color: #fff;
    padding: 28px 20px;
}

.sidebar a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    margin: 4px 0;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.adminmain {
    padding: 28px;
    background: #f4f1f1;
}

.adminbox {
    background: var(--card);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table td, .table th {
    padding: 11px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.miniimg {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.notice {
    padding: 12px;
    background: #eef8f1;
    border-radius: 12px;
    margin-bottom: 12px;
}

.login {
    max-width: 430px;
    margin: 10vh auto;
    background: var(--card);
    padding: 32px;
    border-radius: 26px;
}

@media (max-width: 850px) {
    .grid4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail {
        grid-template-columns: 1fr;
    }
    .gallery-main {
        height: 410px;
    }
    .admin {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: relative;
    }
    .footer-grid, .row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .grid4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cat img {
        height: 130px;
    }
    .product img {
        height: 190px;
    }
    .logo {
        font-size: 34px;
    }
    .detail {
        gap: 16px;
    }
    .panel {
        padding: 20px;
    }
    .panel h1 {
        font-size: 30px;
    }
}