/* Shiri Diamonds consent UI: shared across the five markets and ring sizers. */
.privacy-consent,.privacy-choices{--sd-text:#26231f;--sd-surface:#fff;--sd-soft:#f7f3ec;--sd-muted:#716b63;--sd-heading:#28241f;--sd-accent:#8e6f40;--sd-border:#e6dccd;font-family:Arial,sans-serif;box-sizing:border-box;}
.privacy-consent *, .privacy-choices * {box-sizing:border-box;}
.privacy-consent {
    position: fixed;
    z-index: 11000;
    right: 18px;
    bottom: 18px;
    left: 18px;
    max-width: 820px;
    margin: auto;
    padding: 18px;
    color: var(--sd-text);
    background: var(--sd-surface);
    border: 1px solid rgba(128,93,49,.14);
    border-radius: 14px;
    box-shadow: 0 18px 55px rgba(36,28,18,.15), 0 2px 8px rgba(36,28,18,.05);
}
.privacy-consent[hidden] { display: none !important; }
.privacy-consent__main { display: flex; align-items: center; gap: 22px; }
.privacy-consent__copy { flex: 1; min-width: 0; }
.privacy-consent__copy strong { display: block; margin-bottom: 5px; color: var(--sd-heading); font-size: 1rem; }
.privacy-consent__copy p { margin: 0; color: var(--sd-muted); font-size: .875rem; line-height: 1.55; }
.privacy-consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.privacy-consent button {
    min-height: 40px;
    padding: 8px 15px;
    color: var(--sd-heading);
    background: var(--sd-soft);
    border: 1px solid var(--sd-border);
    border-radius: 9px;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.privacy-consent button:hover { transform: translateY(-1px); border-color: rgba(128,93,49,.35); }
.privacy-consent button.is-accent { color: #fff; background: var(--sd-accent); border-color: var(--sd-accent); }
.privacy-consent button.is-link { min-height: auto; padding: 7px 8px; background: transparent; border-color: transparent; color: var(--sd-accent); }
.privacy-consent__settings { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--sd-border); }
.privacy-consent__settings[hidden] { display: none !important; }
.privacy-consent__settings label { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; margin: 0; }
.privacy-consent__settings b, .privacy-consent__settings small { display: block; }
.privacy-consent__settings b { color: var(--sd-heading); font-size: .9rem; }
.privacy-consent__settings small { margin-top: 2px; color: var(--sd-muted); font-size: .78rem; line-height: 1.45; }
.privacy-consent__settings input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--sd-accent); }
.privacy-consent__settings .privacy-gpc { color: var(--sd-accent); }
.privacy-consent .privacy-save { margin-top: 8px; }
.privacy-choices {
    position: fixed;
    z-index: 10990;
    right: clamp(10px, 2vw, 50px);
    bottom: 10px;
    left: auto;
    padding: 7px 11px;
    color: var(--sd-muted);
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(128,93,49,.15);
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(36,28,18,.10);
    font: inherit;
    font-size: .75rem;
    cursor: pointer;
}
.privacy-choices:hover { color: var(--sd-accent); }
.privacy-consent button:focus-visible,
.privacy-choices:focus-visible { outline: 3px solid rgba(128,93,49,.22); outline-offset: 2px; }
@media (max-width: 767.98px) {
    .privacy-consent { right: 10px; bottom: 10px; left: 10px; padding: 15px; }
    .privacy-consent__main { display: block; }
    .privacy-consent__actions { justify-content: stretch; margin-top: 14px; }
    .privacy-consent__actions button:not(.is-link) { flex: 1 1 45%; }
    .privacy-consent__actions .is-link { flex: 1 0 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .privacy-consent button { transition: none; }
}

/* English privacy control stack: back-to-top above Privacy choices. */
.has-privacy-choices #toTop {
    bottom: 52px;
}




.privacy-consent[dir="rtl"] .privacy-consent__actions{justify-content:flex-start;}
.privacy-consent[dir="rtl"] .privacy-consent__settings{text-align:right;}

/* Floating tools: one right-hand stack, clear of WhatsApp on the left. */
.privacy-choices {
    position: fixed;
    left: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    max-width: min(190px, calc(100vw - 24px));
    z-index: 10990;
}
.btn_accessibility {
    position: fixed !important;
    left: auto !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    top: auto !important;
    bottom: calc(63px + env(safe-area-inset-bottom)) !important;
}
.has-privacy-choices #toTop {
    position: fixed;
    left: auto;
    right: max(12px, env(safe-area-inset-right));
    top: auto;
    bottom: calc(131px + env(safe-area-inset-bottom));
}
@media (max-width: 767.98px) {
    .privacy-choices { padding: 7px 9px; font-size: .7rem; }
    .btn_accessibility { bottom: calc(61px + env(safe-area-inset-bottom)) !important; }
    .has-privacy-choices #toTop { bottom: calc(126px + env(safe-area-inset-bottom)); }
}

/* Correct native accessibility control (.a11y-tools), including small screens.
   Privacy bottom -> accessibility middle -> back to top; WhatsApp stays left. */
.has-privacy-choices .privacy-choices{
  position:fixed !important;left:auto !important;right:max(12px,env(safe-area-inset-right)) !important;
  bottom:calc(12px + env(safe-area-inset-bottom)) !important;z-index:10990;
}
.has-privacy-choices .a11y-tools{
  position:fixed !important;left:auto !important;right:max(12px,env(safe-area-inset-right)) !important;
  bottom:calc(68px + env(safe-area-inset-bottom)) !important;z-index:11020;
}
.has-privacy-choices #toTop{
  position:fixed !important;left:auto !important;right:max(12px,env(safe-area-inset-right)) !important;
  bottom:calc(138px + env(safe-area-inset-bottom)) !important;z-index:11010;
}
@media(max-width:767.98px){
  .has-privacy-choices .a11y-tools{bottom:calc(66px + env(safe-area-inset-bottom)) !important}
  .has-privacy-choices #toTop{bottom:calc(135px + env(safe-area-inset-bottom)) !important}
}
