/* ================================================================
   FLORA V32 PREMIUM UX CORE
   Visual-only refinements. Commerce/data/security logic untouched.
   ================================================================ */

:root {
    --v32-green: #063c29;
    --v32-green-dark: #063c29;
    --v32-text: #063c29;
    --v32-muted: #68736b;
    --v32-border: #dfe7e0;
    --v32-soft: #f6f8f5;
    --v32-soft-green: #eef6f0;
    --v32-radius: 14px;
    --v32-shadow: 0 10px 30px rgba(6,60,41,.07);
}

/* ---------- global usability ---------- */
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
    font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(6, 60, 41, .22);
    outline-offset: 2px;
}

@media (max-width: 760px) {
    button,
    [role="button"],
    input:not([type="checkbox"]):not([type="radio"]),
    select {
        min-height: 44px;
    }

    input[type="checkbox"],
    input[type="radio"] {
        width: 20px;
        height: 20px;
    }
}

/* ---------- login / identity ---------- */
body:has(input[placeholder="ornek@eposta.com"]):has(input[placeholder="Parolanız"]) {
    background:
        radial-gradient(circle at 15% 10%, rgba(6,60,41,.08), transparent 34%),
        linear-gradient(180deg, #f8faf7 0%, #f1f5f1 100%);
}

body:has(input[placeholder="ornek@eposta.com"]) input[placeholder="ornek@eposta.com"],
body:has(input[placeholder="Parolanız"]) input[placeholder="Parolanız"] {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cfd8d1;
    border-radius: 9px;
    background: #fff;
    color: var(--v32-text);
}

body:has(input[placeholder="ornek@eposta.com"]) input[placeholder="ornek@eposta.com"]:focus,
body:has(input[placeholder="Parolanız"]) input[placeholder="Parolanız"]:focus {
    border-color: var(--v32-green);
    box-shadow: 0 0 0 3px rgba(6,60,41,.10);
    outline: none;
}

body:has(input[placeholder="ornek@eposta.com"]) form {
    width: 100%;
}

body:has(input[placeholder="ornek@eposta.com"]) form button[type="submit"] {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 9px;
}

body:has(input[placeholder="ornek@eposta.com"]) input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--v32-green);
}

.flora-v32-auth-note {
    margin: 14px 0 0;
    padding: 12px 14px;
    border: 1px solid #dbe7dc;
    border-radius: 10px;
    background: #f4f8f4;
    color: #526057;
    font-size: 13px;
    line-height: 1.5;
}

/* ---------- category mobile filter disclosure ---------- */
.flora-v32-filter-disclosure {
    display: contents;
}

.flora-v32-filter-disclosure > summary {
    display: none;
}

/* Desktop: <details> semantiginden bagimsiz olarak filtre paneli daima gorunur. */
@media (min-width: 761px) {
    .flora-v32-filter-disclosure,
    .flora-v32-filter-disclosure:not([open]) {
        display: contents;
    }

    .flora-v32-filter-disclosure > summary {
        display: none !important;
    }

    .flora-v32-filter-disclosure > aside,
    .flora-v32-filter-disclosure:not([open]) > aside {
        display: block !important;
    }
}

@media (max-width: 760px) {
    .flora-v32-filter-disclosure {
        display: block;
        margin: 0 0 18px;
        border: 1px solid var(--v32-border);
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--v32-shadow);
        overflow: hidden;
    }

    .flora-v32-filter-disclosure > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 50px;
        padding: 0 15px;
        cursor: pointer;
        color: var(--v32-green-dark);
        font-size: 14px;
        font-weight: 800;
        list-style: none;
    }

    .flora-v32-filter-disclosure > summary::-webkit-details-marker {
        display: none;
    }

    .flora-v32-filter-disclosure > summary::after {
        content: "+";
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--v32-soft-green);
        font-size: 20px;
        line-height: 1;
    }

    .flora-v32-filter-disclosure[open] > summary::after {
        content: "−";
    }

    .flora-v32-filter-disclosure > aside {
        margin: 0 !important;
        border: 0 !important;
        border-top: 1px solid var(--v32-border) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

/* ---------- product detail mobile compacting ---------- */
@media (max-width: 760px) {
    .product-benefits,
    .detail-benefits,
    .product-trust,
    .trust-grid,
    .benefits {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .product-benefits > *,
    .detail-benefits > *,
    .product-trust > *,
    .trust-grid > *,
    .benefits > * {
        min-width: 0;
        padding: 13px !important;
        border: 1px solid var(--v32-border);
        border-radius: 10px;
        background: var(--v32-soft);
    }

    .product-tabs,
    .detail-tabs,
    .tabs-nav,
    [role="tablist"] {
        display: flex !important;
        gap: 6px !important;
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .product-tabs::-webkit-scrollbar,
    .detail-tabs::-webkit-scrollbar,
    .tabs-nav::-webkit-scrollbar,
    [role="tablist"]::-webkit-scrollbar {
        display: none;
    }

    .product-tabs > *,
    .detail-tabs > *,
    .tabs-nav > *,
    [role="tablist"] > * {
        flex: 0 0 auto !important;
        min-height: 44px;
        white-space: nowrap;
    }
}

/* ---------- account mobile ---------- */
@media (max-width: 760px) {
    .mobile-account-nav {
        gap: 8px !important;
        padding-bottom: 16px !important;
        scroll-snap-type: x proximity;
    }

    .mobile-account-nav a {
        min-height: 44px !important;
        padding: 0 15px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 13px !important;
        scroll-snap-align: start;
    }

    .dashboard-card {
        border-radius: 14px !important;
    }

    .dashboard-card strong,
    .store-link,
    .security-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* ---------- admin navigation ---------- */
.flora-admin-nav {
    min-width: 0;
}

.admin-links {
    min-width: 0;
}

@media (max-width: 900px) {
    .flora-admin-nav {
        padding: 12px !important;
    }

    .flora-admin-nav .admin-brand {
        margin-bottom: 10px;
    }

    .flora-admin-nav .admin-links {
        display: flex !important;
        width: 100%;
        gap: 7px !important;
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        padding: 2px 0 6px;
    }

    .flora-admin-nav .admin-links::-webkit-scrollbar {
        display: none;
    }

    .flora-admin-nav .admin-links a {
        flex: 0 0 auto;
        min-height: 44px;
        display: inline-flex !important;
        align-items: center;
        padding: 0 13px !important;
        border: 1px solid #dfe7e0;
        border-radius: 999px;
        background: #fff;
        color: #2d3a30;
        font-size: 13px !important;
        font-weight: 750;
        white-space: nowrap;
    }

    .flora-admin-nav .admin-links a:hover,
    .flora-admin-nav .admin-links a:focus-visible {
        border-color: #a9c9b0;
        background: #f1f7f2;
        color: var(--v32-green-dark);
    }
}

/* ---------- admin mobile content ---------- */
@media (max-width: 760px) {
    [class*="admin"] h1 {
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.06;
    }

    [class*="admin"] h2 {
        line-height: 1.15;
    }

    [class*="admin"] input:not([type="checkbox"]):not([type="radio"]),
    [class*="admin"] select,
    [class*="admin"] textarea {
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        font-size: 14px !important;
    }

    [class*="admin"] textarea {
        min-height: 96px;
    }

    [class*="admin"] button,
    [class*="admin"] a[class*="button"],
    [class*="admin"] a[class*="btn"],
    [class*="admin"] .btn {
        min-height: 44px;
        font-size: 13px !important;
    }

    [class*="admin"] table {
        width: 100%;
        max-width: 100%;
    }

    [class*="admin"] th,
    [class*="admin"] td {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    [class*="admin"] td a,
    [class*="admin"] td span,
    [class*="admin"] td strong,
    [class*="admin"] td small {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    [class*="admin"] [class*="email"],
    [class*="admin"] [class*="guid"],
    [class*="admin"] [class*="user-id"],
    [class*="admin"] [class*="customer"] {
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    [class*="admin"] .table-responsive,
    [class*="admin"] [class*="table-wrap"],
    [class*="admin"] [class*="table-container"] {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ---------- dense admin forms / Admin Site included ---------- */
@media (max-width: 760px) {
    body:has(a[href="/admin/site"]) main input,
    body:has(a[href="/admin/site"]) main select,
    body:has(a[href="/admin/site"]) main textarea {
        font-size: 14px !important;
    }

    body:has(a[href="/admin/site"]) main label,
    body:has(a[href="/admin/site"]) main small {
        font-size: 13px !important;
        line-height: 1.45;
    }

    body:has(a[href="/admin/site"]) main section,
    body:has(a[href="/admin/site"]) main [class*="card"],
    body:has(a[href="/admin/site"]) main [class*="panel"] {
        border-radius: 12px;
    }
}

/* ---------- general mobile text floor in key panels ---------- */
@media (max-width: 430px) {
    .flora-account-shell,
    .flora-search-page,
    .flora-admin-nav,
    [class*="admin"] {
        text-rendering: optimizeLegibility;
    }

    .flora-account-shell p,
    .flora-search-page p,
    [class*="admin"] p {
        line-height: 1.55;
    }
}
/* ================================================================
   FLORA_V32_3_LOGIN_BOX_SIZING_FIX
   Mobile Login horizontal overflow fix.
   ================================================================ */

body:has(input[placeholder="ornek@eposta.com"]) input[placeholder="ornek@eposta.com"],
body:has(input[placeholder="Parolanız"]) input[placeholder="Parolanız"] {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body:has(input[placeholder="ornek@eposta.com"]) form {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

.flora-v32-auth-note {
    box-sizing: border-box;
    max-width: 100%;
}

@media (max-width: 760px) {
    body:has(input[placeholder="ornek@eposta.com"]) input[placeholder="ornek@eposta.com"],
    body:has(input[placeholder="Parolanız"]) input[placeholder="Parolanız"] {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body:has(input[placeholder="ornek@eposta.com"]) form,
    body:has(input[placeholder="ornek@eposta.com"]) form > * {
        min-width: 0;
    }
}

/* ================================================================
   FLORA_V33_VISUAL_POLISH

   1) Hero background image icindeki eski/gomulu yazi izlerini koyu
      gradient ile perdeleyerek tek, temiz hero tipografisi saglar.
   2) Mobil ana navigasyonda ilk menu maddelerinin yarim gorunmesini
      azaltir; yatay kaydirma davranisini korur.
   3) Mobil ana sayfa urunlerini 2 kolon kompakt premium grid yapar.

   Commerce / data / auth / payment logic untouched.
   ================================================================ */

/* ---------- HERO: embedded ghost-text suppression ---------- */

.hero-section {
    isolation: isolate;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(6,60,41,.995) 0%,
            rgba(6,60,41,.985) 28%,
            rgba(6,60,41,.94) 45%,
            rgba(6,60,41,.72) 58%,
            rgba(6,60,41,.24) 72%,
            rgba(6,60,41,0) 88%
        );
}

.hero-content {
    position: relative;
    z-index: 2 !important;
}

.hero-slider-controls {
    z-index: 4 !important;
}

/* ---------- MOBILE NAV: clean first viewport ---------- */

@media (max-width: 700px) {
    .main-nav {
        box-sizing: border-box;
        gap: 14px !important;
        padding-inline: 4px 16px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav > a {
        flex: 0 0 auto;
        min-height: 44px;
        font-size: 13px !important;
        letter-spacing: 0;
        scroll-snap-align: start;
    }

    .hero-section::before {
        background:
            linear-gradient(
                90deg,
                rgba(6,60,41,.995) 0%,
                rgba(6,60,41,.985) 42%,
                rgba(6,60,41,.92) 62%,
                rgba(6,60,41,.55) 78%,
                rgba(6,60,41,.08) 100%
            );
    }

    .hero-content {
        box-sizing: border-box;
        max-width: 100%;
    }

    .hero-content h1,
    .hero-content p {
        text-shadow: 0 1px 2px rgba(0, 0, 0, .16);
    }

    /* ---------- MOBILE PRODUCTS: compact 2-column grid ---------- */

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: stretch;
    }

    .product-card {
        min-width: 0;
        border-radius: 10px;
    }

    .product-image {
        height: 148px !important;
        min-height: 148px;
        padding: 8px !important;
    }

    .product-info {
        min-width: 0;
        padding: 10px !important;
    }

    .product-info h3 {
        min-height: 34px !important;
        margin: 5px 0 !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere;
    }

    .product-category,
    .rating,
    .stock-label {
        font-size: 13px !important;
    }

    .price-area {
        min-height: 38px !important;
        margin-top: 6px !important;
    }

    .price-area strong {
        font-size: 13px !important;
    }

    .add-cart-button {
        min-height: 44px !important;
        padding-inline: 8px;
        font-size: 13px !important;
    }
}

@media (max-width: 430px) {
    .main-nav {
        gap: 12px !important;
    }

    .main-nav > a {
        font-size: 13px !important;
    }

    .product-grid {
        gap: 8px !important;
    }

    .product-image {
        height: 138px !important;
        min-height: 138px;
    }

    .product-info {
        padding: 9px !important;
    }
}

/* ================================================================
   FLORA_V33_1_VISUAL_FINAL

   Final visual corrections after real V31 screenshot inspection:
   - Desktop hero embedded ghost text fully suppressed.
   - Mobile nav opens with 4 complete items instead of a clipped item.
   - Real home merchandising classes use a compact 2-column grid.
   ================================================================ */


/* ---------------------------------------------------------------
   1) DESKTOP HERO
   Background artwork contains old text pixels. Keep the plant art,
   but cover the left/center text-bearing area with an opaque green
   veil. Live HTML text stays above this layer.
   --------------------------------------------------------------- */

@media (min-width: 701px) {
    .hero-section::before {
        background:
            linear-gradient(
                90deg,
                rgba(6,60,41,1) 0%,
                rgba(6,60,41,1) 55%,
                rgba(6,60,41,.995) 62%,
                rgba(6,60,41,.94) 70%,
                rgba(6,60,41,.58) 79%,
                rgba(6,60,41,.15) 88%,
                rgba(6,60,41,0) 96%
            ) !important;
    }
}


/* ---------------------------------------------------------------
   2) MOBILE NAV
   Four complete menu cells per viewport. Horizontal swipe remains
   available for later items, but the initial viewport does not end
   with a visibly chopped label.
   --------------------------------------------------------------- */

@media (max-width: 700px) {
    .main-nav {
        box-sizing: border-box !important;
        display: flex !important;
        gap: 0 !important;
        padding: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-padding-inline: 0 !important;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav > a {
        box-sizing: border-box !important;
        flex: 0 0 25% !important;
        width: 25% !important;
        min-width: 25% !important;
        max-width: 25% !important;
        min-height: 44px !important;
        padding: 0 3px !important;
        justify-content: center !important;
        overflow: hidden;
        color: inherit;
        font-size: 13px !important;
        line-height: 1.1 !important;
        letter-spacing: -.05px;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap !important;
        scroll-snap-align: start;
    }

    .main-nav > a.active::after {
        left: 5px !important;
        right: 5px !important;
    }
}


/* ---------------------------------------------------------------
   3) REAL HOME PRODUCT MERCHANDISING
   The active homepage component uses dynamic-product-* classes.
   Previous V33 product-grid rules targeted the legacy grid only.
   --------------------------------------------------------------- */

@media (max-width: 700px) {
    .dynamic-product-grid {
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        align-items: stretch !important;
    }

    .dynamic-product-card {
        box-sizing: border-box !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        border-radius: 10px !important;
    }

    .dynamic-product-media {
        box-sizing: border-box !important;
        position: relative !important;
        width: 100% !important;
        height: 158px !important;
        min-height: 158px !important;
        max-height: 158px !important;
        overflow: hidden !important;
    }

    .dynamic-product-media > a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .dynamic-product-media > a > img {
        box-sizing: border-box !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        padding: 8px !important;
        object-fit: contain !important;
    }

    .dynamic-product-card .favorite-area {
        top: 6px !important;
        right: 6px !important;
        max-width: 44px !important;
        overflow: visible !important;
    }

    .dynamic-product-card .favorite-area button {
        box-sizing: border-box !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        overflow: hidden !important;
        font-size: 0 !important;
        line-height: 0 !important;
        white-space: nowrap !important;
    }

    .dynamic-product-card .favorite-area button svg {
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
    }

    .dynamic-product-content {
        box-sizing: border-box !important;
        min-width: 0 !important;
        padding: 10px !important;
    }

    .dynamic-category {
        display: block;
        overflow: hidden;
        font-size: 13px !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dynamic-product-name {
        display: -webkit-box !important;
        min-height: 34px !important;
        margin-top: 5px !important;
        overflow: hidden !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow-wrap: anywhere;
    }

    .dynamic-product-bottom {
        box-sizing: border-box !important;
        gap: 5px !important;
        min-width: 0 !important;
        margin-top: 7px !important;
    }

    .dynamic-price strong {
        font-size: 13px !important;
    }

    .dynamic-price del {
        font-size: 13px !important;
    }

    .inspect-link {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .discount-badge,
    .stock-badge {
        max-width: calc(100% - 58px);
        overflow: hidden;
        font-size: 13px !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 430px) {
    .dynamic-product-grid {
        gap: 8px !important;
    }

    .dynamic-product-media {
        height: 145px !important;
        min-height: 145px !important;
        max-height: 145px !important;
    }

    .dynamic-product-content {
        padding: 9px !important;
    }
}

/* ================================================================
   FLORA_V34_COMPLETE_FIX
   Admin identity + WhatsApp + live search.
   ================================================================ */

.flora-v34-admin-badge {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 9500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: #063c29;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    text-decoration: none;
}

.flora-v34-admin-badge:hover {
    background: #063c29;
    color: #fff;
}

.flora-v34-whatsapp {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 9499;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 15px;
    border-radius: 999px;
    background: #063c29;
    box-shadow: 0 9px 25px rgba(0,0,0,.18);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.flora-v34-whatsapp:hover {
    background: #063c29;
    color: #fff;
}

.flora-v34-whatsapp-icon {
    font-size: 17px;
}

.search-area.flora-v34-live-search,
.search-form.flora-v34-live-search,
form.search-area,
form.search-form {
    position: relative;
}

.flora-v34-live-search-host {
    position: relative !important;
}

.flora-v34-search-suggestions {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 9600;
    max-height: 390px;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid #dce5dd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 15px 36px rgba(6,60,41,.16);
}

.flora-v34-search-suggestion {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    column-gap: 8px;
    row-gap: 2px;
    align-items: center;
    padding: 9px 10px;
    border-radius: 8px;
    color: #243026;
    text-decoration: none;
}

.flora-v34-search-suggestion:hover,
.flora-v34-search-suggestion:focus-visible {
    background: #f1f7f2;
    color: #063c29;
}

.flora-v34-search-suggestion strong {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flora-v34-search-suggestion small {
    grid-column: 2;
    color: #7a857c;
    font-size: 13px;
}

.flora-v34-suggestion-kind {
    grid-row: 1 / span 2;
    align-self: center;
    padding: 4px 6px;
    border-radius: 5px;
    background: #eaf3ec;
    color: #063c29;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .05em;
}

.flora-v34-category-suggestion .flora-v34-suggestion-kind {
    background: #edf1e8;
}

.flora-v34-search-empty {
    padding: 10px;
    color: #6f7b72;
    font-size: 13px;
}

.flora-v34-search-all {
    display: block;
    margin-top: 4px;
    padding: 9px 10px;
    border-top: 1px solid #edf1ed;
    color: #063c29;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.benefit-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.benefit-link:hover {
    background: #f4f8f4;
}

@media (max-width: 700px) {
    .flora-v34-admin-badge {
        left: 9px;
        bottom: 9px;
        min-height: 38px;
        padding-inline: 11px;
        font-size: 13px;
    }

    .flora-v34-whatsapp {
        right: 9px;
        bottom: 9px;
        min-height: 44px;
        padding-inline: 12px;
    }

    .flora-v34-whatsapp span:last-child {
        display: none;
    }

    .flora-v34-search-suggestions {
        max-height: 330px;
    }
}

/* ================================================================
   FLORA_V35_1_COMPLETE_PATCH
   ================================================================ */

.flora-v35-whatsapp {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 9500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 15px;
    border-radius: 999px;
    background: #063c29;
    box-shadow: 0 10px 28px rgba(0,0,0,.2);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.flora-v35-category-strip {
    display: flex;
    gap: 8px;
    max-width: 1180px;
    margin: 0 auto 22px;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.flora-v35-category-strip::-webkit-scrollbar { display: none; }

.flora-v35-category-strip a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid #d9e2db;
    border-radius: 999px;
    background: #fff;
    color: #314238;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.flora-v35-category-strip a.active,
.flora-v35-category-strip a:hover {
    background: #063c29;
    border-color: #063c29;
    color: #fff;
}

.flora-v35-categories-page {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
    padding: 28px 0 70px;
}

.v35-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 13px;
}

.v35-breadcrumb a { color: #617068; text-decoration: none; }

.v35-categories-head { margin-bottom: 26px; }
.v35-categories-head > span,
.flora-v35-info-page > span {
    color: #063c29;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.v35-categories-head h1,
.flora-v35-info-page h1 {
    margin: 7px 0 8px;
    font-size: 34px;
}

.v35-categories-head p,
.flora-v35-info-page > p {
    color: #617068;
    line-height: 1.7;
}

.v35-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}

.v35-category-card {
    overflow: hidden;
    border: 1px solid #dce4de;
    border-radius: 14px;
    background: #fff;
    color: #063c29;
    text-decoration: none;
}

.v35-category-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #eef5ee;
}

.v35-category-card > div { padding: 16px; }
.v35-category-card strong { display: block; font-size: 18px; }
.v35-category-card span { display: block; min-height: 38px; margin: 7px 0 13px; color: #6b786f; font-size: 13px; line-height: 1.5; }
.v35-category-card b { color: #063c29; font-size: 13px; }

.v35-admin-panel { margin-bottom: 16px; }
.v35-admin-panel h2 { margin-top: 0; }

.v35-form-grid {
    display: grid;
    gap: 12px;
}

.v35-form-grid.one { grid-template-columns: 1fr; }
.v35-form-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.v35-form-grid.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.v35-form-grid.compact-row { margin-bottom: 10px; }

.v35-form-grid label {
    display: grid;
    gap: 6px;
    color: #354238;
    font-size: 13px;
    font-weight: 800;
}

.v35-form-grid input,
.v35-form-grid textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cfd9d2;
    border-radius: 9px;
    background: #fff;
    color: #1e2921;
    font: inherit;
}

.v35-form-grid textarea { min-height: 140px; resize: vertical; }
.v35-admin-help { color: #68756c; font-size: 13px; }
.v35-save-row { display: flex; justify-content: flex-end; margin-top: 16px; }

.v35-mail-stats {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.v35-mail-stats > div {
    padding: 14px;
    border-radius: 10px;
    background: #f3f7f3;
}

.v35-mail-stats span,
.v35-mail-stats strong { display: block; }
.v35-mail-stats span { color: #718077; font-size: 13px; }
.v35-mail-stats strong { margin-top: 4px; color: #063c29; font-size: 18px; }

.flora-v35-info-page {
    width: min(100% - 40px, 1050px);
    margin: 0 auto;
    padding: 44px 0 70px;
}

.flora-v35-contact-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    margin-top: 24px;
}

.flora-v35-contact-grid article {
    padding: 17px;
    border: 1px solid #dce4de;
    border-radius: 12px;
    background: #fff;
}

.flora-v35-contact-grid strong,
.flora-v35-contact-grid span { display: block; }
.flora-v35-contact-grid span { margin-top: 5px; color: #627069; }

/* Siparislerim artik FloraAccountShell icinde */
.flora-account-shell .flora-orders-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 800px) {
    .v35-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v35-form-grid.two,
    .v35-form-grid.four,
    .flora-v35-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .v35-category-grid { grid-template-columns: 1fr; }
    .v35-category-card img { height: 170px; }
    .flora-v35-whatsapp b { display: none; }
    .flora-v35-whatsapp { width: 46px; padding: 0; justify-content: center; }
}

/* ================================================================
   FLORA_V35_3_MOBILE_OVERFLOW_FIX
   Targeted only: AccessDenied + Odeme Sonucu + WhatsApp floating.
   ================================================================ */
@media (max-width: 520px) {
    body:has(a.primary-link) a.primary-link,
    body:has(a.primary-link) a.primary-link + a {
        box-sizing: border-box !important;
        width: calc(100vw - 44px) !important;
        max-width: calc(100vw - 44px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    section.result-card {
        box-sizing: border-box !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    a.flora-v34-whatsapp,
    a.flora-v35-whatsapp {
        box-sizing: border-box !important;
        right: 12px !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: center !important;
    }
}

/* ================================================================
   FLORA_V35_3E_ACCESSDENIED_MOBILE_FINAL
   V36.1 measured overflow source:
   a.primary-link and its sibling action link.
   This is NOT an overflow-hiding workaround.
   ================================================================ */
@media (max-width: 520px) {
    body:has(a.primary-link) a.primary-link,
    body:has(a.primary-link) a.primary-link + a {
        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: calc(100vw - 48px) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 48px) !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        left: auto !important;
        right: auto !important;
        transform: none !important;

        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body:has(a.primary-link) a.primary-link {
        position: relative !important;
    }

    body:has(a.primary-link) a.primary-link + a {
        position: relative !important;
    }

    body:has(a.primary-link) main,
    body:has(a.primary-link) main > *,
    body:has(a.primary-link) .container,
    body:has(a.primary-link) [class*="access"] {
        box-sizing: border-box !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

/* ================================================================
   FLORA_V37B_SHOPIER_PRODUCT_EXTRAS
   Shopier katalog importu: yerel galeri + teslimat bilgisi
   ================================================================ */
.flora-v37b-product-extras {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 42px;
    display: grid;
    gap: 18px;
}

.flora-v37b-extra-block,
.flora-v37b-shipping {
    box-sizing: border-box;
    min-width: 0;
    border: 1px solid rgba(6,60,41,.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(6,60,41,.06);
}

.flora-v37b-extra-block {
    padding: 22px;
}

.flora-v37b-extra-head span {
    display: block;
    margin-bottom: 5px;
    color: #63816c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.flora-v37b-extra-head h2 {
    margin: 0 0 16px;
    color: #063c29;
    font-size: clamp(20px, 2vw, 28px);
}

.flora-v37b-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.flora-v37b-gallery-item {
    display: block;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: #f5f8f5;
}

.flora-v37b-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.flora-v37b-gallery-item:hover img {
    transform: scale(1.025);
}

.flora-v37b-shipping {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
}

.flora-v37b-shipping > span {
    flex: 0 0 auto;
    font-size: 22px;
}

.flora-v37b-shipping strong {
    display: block;
    margin-bottom: 4px;
    color: #063c29;
}

.flora-v37b-shipping p {
    margin: 0;
    color: #617064;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .flora-v37b-product-extras {
        width: min(100% - 24px, 1180px);
        margin-top: 20px;
    }

    .flora-v37b-extra-block {
        padding: 16px;
    }

    .flora-v37b-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flora-v37b-shipping {
        padding: 16px;
    }
}
/* ================================================================
   FLORA_V37C5_SHOPIER_DESCRIPTION
   Shopier Description -> gerçek FLORA ürün detay görünümü
   ================================================================ */
.flora-v37b-description-text {
    margin: 0;
    color: #46564b;
    font-size: 15px;
    line-height: 1.75;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
/* ================================================================
   FLORA_V37D9_PRODUCT_MAIN_IMAGE_SLIDER
   Shopier gallery -> main product image carousel
   ================================================================ */

.flora-v37d9-main-slider {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #f7faf7;
}

.flora-v37d9-gallery-viewport {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 320px;
    overflow: hidden;
}

.flora-v37d9-main-slider img[data-flora-v37d9-main="true"] {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
}

.flora-v37d9-gallery-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(6, 60, 41, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #063c29;
    box-shadow: 0 8px 24px rgba(6,60,41,.14);
    font: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.flora-v37d9-gallery-prev {
    left: 12px;
}

.flora-v37d9-gallery-next {
    right: 12px;
}

.flora-v37d9-gallery-counter {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(6,60,41,.78);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
}

.flora-v37d9-gallery-thumbs {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 2px 1px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
}

.flora-v37d9-gallery-thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid #dde6df;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
}

.flora-v37d9-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.flora-v37d9-gallery-thumb.active {
    border-color: #063c29;
    box-shadow: 0 0 0 2px rgba(6, 60, 41, .12);
}

@media (max-width: 700px) {
    .flora-v37d9-gallery-viewport {
        min-height: 260px;
    }

    .flora-v37d9-main-slider img[data-flora-v37d9-main="true"] {
        max-height: 480px;
    }

    .flora-v37d9-gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 25px;
    }

    .flora-v37d9-gallery-thumb {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }
}

/* ================================================================
   FLORA V37D.14 - FINAL AUDIT CLOSE
   Remaining mobile tap targets and admin interaction ergonomics.
   ================================================================ */
@media (max-width: 760px) {
    body:has(.flora-admin-nav) main button,
    body:has(.flora-admin-nav) main .primary,
    body:has(.flora-admin-nav) main .secondary,
    body:has(.flora-admin-nav) main .danger {
        min-height: 44px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    body:has(.flora-admin-nav) main .toggle-label {
        position: relative;
        min-height: 44px;
        padding-right: 48px;
        display: flex;
        align-items: center;
    }

    body:has(.flora-admin-nav) main .toggle-label input[type="checkbox"] {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 2;
        width: 44px !important;
        height: 44px !important;
        margin: 0;
        opacity: 0;
        cursor: pointer;
    }

    body:has(.flora-admin-nav) main .toggle-label::before {
        content: "";
        position: absolute;
        right: 12px;
        top: 50%;
        width: 20px;
        height: 20px;
        transform: translateY(-50%);
        border: 1.5px solid #b8c7bb;
        border-radius: 5px;
        background: #fff;
        box-sizing: border-box;
        pointer-events: none;
    }

    body:has(.flora-admin-nav) main .toggle-label:has(input[type="checkbox"]:checked)::before {
        border-color: var(--v32-green);
        background: var(--v32-green);
    }

    body:has(.flora-admin-nav) main .toggle-label:has(input[type="checkbox"]:checked)::after {
        content: "✓";
        position: absolute;
        right: 17px;
        top: 50%;
        transform: translateY(-53%);
        color: #fff;
        font-size: 13px;
        font-weight: 900;
        line-height: 1;
        pointer-events: none;
    }
}

