* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    font-family: Arial, sans-serif;
    background: #fffafc;
    color: #374151;
    line-height: 1.6;
    z-index: 0;
}

/* SAYDAM ÇİÇEK ARKA PLAN */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('../img/flower-bg.png');
    background-repeat: repeat;
    background-size: 800px;
    opacity: 0.10;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #f3d7e3;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(8px);
}

/* =========================
   HEADER / NAV
========================= */
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 20px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-logo,
.brand-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
    background: linear-gradient(135deg, #ffd9e8, #f7d7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    font-size: 22px;
    font-weight: bold;
    color: #c0266d;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.main-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f5c8da;
    transition: 0.25s;
}

.main-nav a:hover {
    background: #ffe6f0;
    color: #be185d;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #f5c8da;
    background: #fff;
    color: #be185d;
    border-radius: 14px;
    font-size: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle:hover {
    background: #ffe6f0;
}

/* =========================
   HERO
========================= */
.hero {
    padding: 70px 0 40px;
}

.hero-box {
    background: linear-gradient(135deg, #fff1f6, #fdf4ff);
    border: 1px solid #f7d3e3;
    border-radius: 30px;
    padding: 55px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(190, 24, 93, 0.08);
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    color: #9d174d;
    margin-bottom: 18px;
}

.hero p {
    color: #4b5563;
    margin-bottom: 24px;
    font-size: 17px;
}

.hero-card {
    background: white;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 14px;
    background: #db2777;
    color: white;
    transition: 0.25s;
}

.btn:hover {
    background: #be185d;
}

.btn-outline {
    background: white;
    color: #be185d;
    border: 1px solid #f3bdd2;
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 65px 0;
}

.section-title {
    font-size: 30px;
    color: #9d174d;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #6b7280;
    margin-bottom: 26px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: white;
    border-radius: 24px;
    padding: 22px;
    border: 1px solid #f7d7e4;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* =========================
   PRODUCTS
========================= */
.product-card {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-wrap {
    height: 260px;
    overflow: hidden;
    background: #fdf2f8;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-title {
    font-size: 20px;
    color: #9d174d;
    margin-bottom: 8px;
}

.product-body p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

.product-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

.price {
    font-weight: bold;
    color: #be185d;
    margin: 10px 0 14px;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fdf2f8;
    color: #be185d;
    font-size: 14px;
    margin-bottom: 12px;
}

/* =========================
   FOOTER
========================= */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    padding: 45px 0;
}

.site-footer {
    margin-top: 60px;
    background: #fff1f6;
    border-top: 1px solid #f4cddd;
}

/* =========================
   PAGE BANNER
========================= */
.page-banner {
    padding: 50px 0 20px;
}

.page-banner-box {
    background: linear-gradient(135deg, #fff1f6, #faf5ff);
    border-radius: 28px;
    padding: 36px;
    border: 1px solid #f3d0df;
}

.page-banner h1 {
    color: #9d174d;
    margin-bottom: 8px;
}

/* =========================
   CATEGORY
========================= */
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.category-list a {
    padding: 10px 16px;
    border-radius: 999px;
    background: white;
    border: 1px solid #f3c5d7;
}

.category-list a.active,
.category-list a:hover {
    background: #fce7f3;
    color: #be185d;
}

/* =========================
   NOTES
========================= */
.note-item {
    margin-bottom: 18px;
}

.note-item h3 {
    color: #9d174d;
    margin-bottom: 6px;
}

.notes-accordion {
    display: grid;
    gap: 16px;
}

.accordion-item {
    background: white;
    border: 1px solid #f3d3df;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #fff1f6, #faf5ff);
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 19px;
    font-weight: bold;
    color: #9d174d;
    cursor: pointer;
    text-align: left;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #ffe8f1, #f7efff);
}

.accordion-icon {
    font-size: 26px;
    line-height: 1;
    color: #be185d;
    min-width: 24px;
    text-align: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fffafc;
}

.accordion-inner {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.note-box {
    padding: 14px 16px;
    background: #fff7fb;
    border: 1px solid #f3d3df;
    border-radius: 16px;
    color: #4b5563;
}

/* =========================
   CONTACT / FORM
========================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-box {
    background: white;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #f3d3df;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #7c2d5d;
}

.form-control {
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid #e7c5d4;
    outline: none;
}

.form-control:focus {
    border-color: #db2777;
}

/* =========================
   ADMIN
========================= */
.admin-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff1f6, #fdf4ff);
}

.admin-card {
    width: min(460px, 92%);
    background: white;
    padding: 32px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.admin-card h1 {
    color: #9d174d;
    margin-bottom: 20px;
    text-align: center;
}

.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #fff1f6;
    padding: 24px;
    border-right: 1px solid #f1cadd;
}

.admin-sidebar h2 {
    color: #9d174d;
    margin-bottom: 18px;
}

.admin-sidebar a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 10px;
    background: white;
    border: 1px solid #f2c9d9;
}

.admin-sidebar a:hover {
    background: #ffe4ef;
}

.admin-content {
    padding: 30px;
    background: #fffafc;
}

.flash {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.flash.success {
    background: #ecfdf5;
    color: #065f46;
}

.flash.error {
    background: #fef2f2;
    color: #991b1b;
}

.table-wrap {
    overflow-x: auto;
    background: white;
    border-radius: 20px;
    border: 1px solid #f0d5df;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #f7e1e8;
}

/* =========================
   IMAGE MODAL
========================= */
.modal-image,
.product-popup-image {
    cursor: zoom-in;
    border-radius: 20px;
}

body.modal-open {
    overflow: hidden;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
}

.image-modal.show {
    display: block;
}

.image-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(3px);
}

.image-modal-content {
    position: relative;
    z-index: 2;
    width: min(920px, 92%);
    margin: 50px auto;
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: modalZoom 0.22s ease;
}

.image-modal-content img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 18px;
    background: #fffafc;
}

.image-modal-caption {
    margin-top: 14px;
    text-align: center;
    color: #9d174d;
    font-weight: bold;
    font-size: 18px;
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    color: #9d174d;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.image-modal-close:hover {
    background: #fff1f6;
}

@keyframes modalZoom {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================
   PRODUCTS PAGE LAYOUT
========================= */
.products-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.products-sidebar {
    background: white;
    border: 1px solid #f3d3df;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 100px;
}

.products-sidebar-title {
    font-size: 22px;
    color: #9d174d;
    margin-bottom: 16px;
}

.products-category-list {
    display: grid;
    gap: 10px;
}

.products-category-list a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff7fb;
    border: 1px solid #f3d3df;
    color: #4b5563;
    transition: 0.25s;
}

.products-category-list a:hover,
.products-category-list a.active {
    background: #fce7f3;
    color: #be185d;
    border-color: #efb7cc;
}

.products-main {
    min-width: 0;
}

.desktop-products-view {
    display: grid;
}

.mobile-products-view {
    display: none;
}

.products-desktop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.products-desktop-grid > .card,
.mobile-accordion-inner .grid-3 > .card {
    height: 100%;
}

.products-empty-card {
    grid-column: 1 / -1;
}

/* =========================
   MOBILE PRODUCTS ACCORDION
========================= */
.mobile-accordion {
    display: grid;
    gap: 14px;
}

.mobile-accordion-item {
    background: #ffffff;
    border: 1px solid #f3d3df;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.mobile-accordion-header {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #fff1f6, #faf5ff);
    color: #9d174d;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.mobile-accordion-icon {
    font-size: 24px;
    line-height: 1;
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.mobile-accordion-inner {
    padding: 16px;
}

.mobile-grid-1 {
    grid-template-columns: 1fr;
}

/* =========================
   TABLET / SMALL DESKTOP
========================= */
@media (max-width: 1200px) {
    .products-desktop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-box,
    .grid-3,
    .contact-grid,
    .footer-grid,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .desktop-products-view {
        display: none;
    }

    .mobile-products-view {
        display: block;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .site-header {
        position: static;
    }

    .nav-wrap {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 14px 0;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 10px;
    }

    .brand-logo,
    .brand-placeholder {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .brand-title {
        font-size: 18px;
        margin: 0 0 2px 0;
    }

    .brand-subtitle {
        font-size: 11px;
        margin: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        margin-top: 8px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 12px 14px;
        border-radius: 18px;
    }

    .hero {
        padding: 24px 0 20px;
    }

    .hero-box {
        grid-template-columns: 1fr;
        padding: 26px 20px;
        gap: 20px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .badge {
        font-size: 13px;
        padding: 7px 12px;
        margin-bottom: 10px;
    }

    .hero-card {
        padding: 20px;
        border-radius: 20px;
    }

    .hero-card h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .btn,
    .btn-outline {
        width: 100%;
        text-align: center;
        padding: 13px 16px;
        font-size: 16px;
    }

    .hero .btn + .btn,
    .hero .btn + .btn-outline,
    .hero .btn-outline + .btn {
        margin-top: 10px;
        margin-left: 0 !important;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .product-image-wrap {
        height: 220px;
    }

    .mobile-accordion-header {
        font-size: 16px;
        padding: 14px 16px;
    }

    .mobile-accordion-inner {
        padding: 14px;
    }
}

/* =========================
   VERY SMALL MOBILE
========================= */
@media (max-width: 480px) {
    .brand-title {
        font-size: 17px;
    }

    .brand-subtitle {
        font-size: 10px;
    }

    .hero-box {
        padding: 22px 16px;
    }

    .hero h1 {
        font-size: 20px;
    }

    .hero p {
        font-size: 14px;
    }

    .main-nav a {
        font-size: 13px;
        padding: 10px 12px;
    }
}
/* =========================
   HEADER SON DÜZELTME
   BUNU DOSYANIN EN ALTINA EKLE
========================= */

/* Masaüstü */
.site-header .nav-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    position: relative !important;
}

.site-header .brand {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.site-header .brand-text {
    display: flex !important;
    flex-direction: column !important;
}

.site-header .main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    width: auto !important;
    margin-top: 0 !important;
}

.site-header .main-nav a {
    display: inline-flex !important;
    width: auto !important;
    text-align: center !important;
}

.site-header .menu-toggle {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border: 1px solid #f5c8da !important;
    background: #fff !important;
    color: #be185d !important;
    border-radius: 14px !important;
    font-size: 24px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
}

/* Mobil */
@media (max-width: 768px) {
    .site-header {
        position: static !important;
    }

    .site-header .nav-wrap {
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 14px 0 !important;
    }

    .site-header .brand {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 10px !important;
    }

    .site-header .brand-logo,
    .site-header .brand-placeholder {
        width: 48px !important;
        height: 48px !important;
        border-radius: 14px !important;
        flex-shrink: 0 !important;
    }

    .site-header .brand-title {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin: 0 0 2px 0 !important;
    }

    .site-header .brand-subtitle {
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    .site-header .menu-toggle {
        display: flex !important;
    }

    .site-header .main-nav {
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 8px !important;
    }

    .site-header .main-nav.active {
        display: flex !important;
    }

    .site-header .main-nav a {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 14px !important;
        border-radius: 18px !important;
    }
}
/* MASAÜSTÜNDE HAMBURGER TAMAMEN GİZLİ */
@media (min-width: 769px) {
    .site-header .menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .site-header .main-nav {
        display: flex !important;
    }
}
/* =========================
   HEADER SON NET DÜZELTME
========================= */

/* Masaüstü */
.site-header .nav-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    position: relative !important;
}

.site-header .brand {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.site-header .main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-left: auto !important;
    width: auto !important;
}

.site-header .menu-toggle {
    display: none !important;
}

/* Masaüstünde kesin kaldır */
@media (min-width: 769px) {
    .site-header .menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
    }

    .site-header .main-nav {
        display: flex !important;
        margin-left: auto !important;
    }
}

/* Mobilde göster */
@media (max-width: 768px) {
    .site-header .nav-wrap {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .site-header .brand {
        flex: 1 1 auto !important;
    }

    .site-header .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 46px !important;
        height: 46px !important;
        font-size: 24px !important;
        border: 1px solid #f5c8da !important;
        background: #fff !important;
        color: #be185d !important;
        border-radius: 14px !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }

    .site-header .main-nav {
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 8px !important;
        margin-left: 0 !important;
    }

    .site-header .main-nav.active {
        display: flex !important;
    }

    .site-header .main-nav a {
        width: 100% !important;
        text-align: center !important;
    }
}