/* Arna Search, Cart & PWA */
.arna-quickbar, .arna-search-backdrop { box-sizing: border-box; font-family: inherit; }
.arna-quickbar *, .arna-search-backdrop * { box-sizing: border-box; }
.arna-quickbar svg, .arna-search-backdrop svg {
    display: block; width: 24px; height: 24px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.arna-quickbar {
    position: fixed; z-index: 99990; right: 18px; bottom: 18px;
    display: flex; align-items: center; gap: 10px; padding: 9px;
    direction: rtl; background: rgba(255,255,255,.96);
    border: 1px solid rgba(10,115,108,.14); border-radius: 22px;
    box-shadow: 0 8px 28px rgba(14,47,50,.18);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.arna-quick-action {
    appearance: none; -webkit-appearance: none; display: flex; align-items: center;
    justify-content: center; gap: 9px; min-height: 48px; min-width: 150px;
    padding: 9px 14px; border: 0; border-radius: 15px; text-decoration: none !important;
    font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.2;
    cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
    -webkit-tap-highlight-color: transparent;
}
.arna-quick-action:active { transform: scale(.97); }
.arna-search-trigger { color: #087f78; background: #e9f7f5; box-shadow: inset 0 0 0 1px rgba(8,127,120,.08); }
.arna-search-trigger:hover { background: #dff2ef; }
.arna-cart-action { color: #fff; background: linear-gradient(135deg,#11988d 0%,#08746e 100%); box-shadow: 0 4px 10px rgba(8,116,110,.22); }
.arna-cart-action:hover { color: #fff; background: linear-gradient(135deg,#0c8d83 0%,#06645f 100%); }
.arna-quick-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 10px; }
.arna-search-trigger .arna-quick-icon { background: rgba(8,127,120,.10); }
.arna-cart-action .arna-quick-icon { background: rgba(255,255,255,.16); }
.arna-quick-label { white-space: nowrap; }
.arna-search-backdrop[hidden] { display: none !important; }
.arna-search-backdrop {
    position: fixed; z-index: 100000; inset: 0; display: flex; align-items: center;
    justify-content: center; padding: 20px; background: rgba(8,25,28,.58);
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.arna-search-panel {
    position: relative; width: 100%; max-width: 440px; padding: 28px 20px 22px;
    border: 1px solid rgba(8,127,120,.12); border-radius: 24px; background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.22); text-align: center;
    animation: arna-search-in .2s ease-out;
}
@keyframes arna-search-in { from {opacity:0; transform:translateY(10px) scale(.98)} to {opacity:1; transform:translateY(0) scale(1)} }
.arna-search-close {
    position: absolute; top: 12px; left: 12px; display: flex; align-items: center;
    justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 12px;
    color: #536366; background: #f1f5f5; cursor: pointer;
}
.arna-search-close svg { width: 20px; height: 20px; }
.arna-search-mark {
    display: flex; align-items: center; justify-content: center; width: 58px; height: 58px;
    margin: 2px auto 14px; border-radius: 18px; color: #087f78; background: #e8f7f4;
}
.arna-search-mark svg { width: 30px; height: 30px; stroke-width: 1.7; }
.arna-search-panel h2 { margin: 0 0 9px; color: #173b3b; font-family: inherit; font-size: 20px; font-weight: 800; line-height: 1.5; }
.arna-search-description { margin: 0 auto 20px; max-width: 330px; color: #657779; font-size: 13px; line-height: 1.9; }
.arna-search-form { display: flex; flex-direction: column; gap: 10px; margin: 0; text-align: right; }
.arna-search-form input[type="search"] {
    width: 100%; min-width: 0; height: 52px; margin: 0; padding: 0 15px;
    border: 1px solid #d9e5e4; border-radius: 14px; outline: none; color: #173b3b;
    background: #fbfdfd; box-shadow: none; font-family: inherit; font-size: 14px;
    text-align: right; direction: rtl;
}
.arna-search-form input[type="search"]:focus { border-color: #0a9187; box-shadow: 0 0 0 3px rgba(10,145,135,.12); }
.arna-search-form button {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    min-height: 50px; margin: 0; padding: 12px 16px; border: 0; border-radius: 14px;
    color: #fff; background: linear-gradient(135deg,#11988d 0%,#08746e 100%);
    box-shadow: 0 5px 14px rgba(8,116,110,.2); font-family: inherit; font-size: 15px;
    font-weight: 800; cursor: pointer;
}
.arna-search-form button svg { width: 20px; height: 20px; }
.arna-search-footnote { margin-top: 15px; color: #839293; font-size: 11px; line-height: 1.7; }
body.arna-search-open { overflow: hidden; }
@media (max-width: 767px) {
    body { padding-bottom: calc(82px + env(safe-area-inset-bottom,0px)) !important; }
    .arna-quickbar { right: 12px; left: 12px; bottom: calc(10px + env(safe-area-inset-bottom,0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .arna-quick-action { min-width: 0; width: 100%; padding: 9px 8px; }
}
@media (min-width: 768px) {
    .arna-quickbar { right: 24px; bottom: 24px; }
}
