/* Lavita cursor — gold rim + bright gold fill (fine pointer / mouse) */
:root {
  /* Light theme: cream rim area, soft gold center */
  --lavita-cursor-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='8.5' fill='%23f5e6c8' stroke='%23c5a880' stroke-width='2'/%3E%3Ccircle cx='18' cy='18' r='3.4' fill='%23d4b896'/%3E%3C/svg%3E") 18 18, auto;
  --lavita-cursor-pointer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='14' fill='%23f5e6c8' stroke='%23c5a880' stroke-width='2'/%3E%3Ccircle cx='22' cy='22' r='4.8' fill='%23d4b896'/%3E%3C/svg%3E") 22 22, pointer;

  /* Dark theme: brighter gold fill inside ring (no dark / muddy center) */
  --lavita-cursor-default-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='9' fill='%23f6e2b0' stroke='%23f0d9a0' stroke-width='2.4'/%3E%3Ccircle cx='18' cy='18' r='4' fill='%23ffe9b8'/%3E%3C/svg%3E") 18 18, auto;
  --lavita-cursor-pointer-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='14' fill='%23f6e2b0' stroke='%23f0d9a0' stroke-width='2.2'/%3E%3Ccircle cx='22' cy='22' r='5.2' fill='%23ffe9b8'/%3E%3C/svg%3E") 22 22, pointer;
}

@media (hover: hover) and (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: var(--lavita-cursor-default) !important;
  }

  a,
  button,
  label,
  select,
  summary,
  option,
  [role="button"],
  [role="tab"],
  [role="menuitem"],
  [role="option"],
  [role="switch"],
  [role="checkbox"],
  [role="radio"],
  [role="link"],
  [role="slider"],
  [tabindex]:not([tabindex="-1"]),
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="color"],
  input[type="range"],
  input[type="image"],
  .cursor-pointer,
  [onclick],
  [data-filter],
  [data-tab],
  [data-page],
  [data-product-id],
  [data-order-id],
  .filter-btn,
  .nav-link,
  .btn,
  .btn-luxury,
  .btn-luxury-secondary,
  .btn-luxury-danger,
  .btn-sm,
  .btn-xs,
  .btn-outline,
  .product-card,
  .product-btn,
  .social-icon-btn,
  .theme-icon-toggle,
  .hamburger-btn,
  .drawer-visual-item,
  .drawer-close-btn,
  .modal-close,
  .portal-tab-btn,
  .shop-look-hotspot,
  .shop-look-carousel-btn,
  .shop-look-dot,
  .home-journal-card,
  .article-open-from-list,
  .article-back-link,
  .legal-trigger,
  .toggle-filter-btn,
  .logo-container,
  .swatch,
  .homepage-swatch-circle,
  .admin-tab-link,
  .admin-nav-group-label + * a,
  .card-link,
  .link-card {
    cursor: var(--lavita-cursor-pointer) !important;
  }

  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="url"],
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"],
  input:not([type]),
  textarea,
  [contenteditable="true"],
  [contenteditable=""] {
    cursor: text !important;
  }

  :disabled,
  [disabled],
  .disabled,
  [aria-disabled="true"] {
    cursor: not-allowed !important;
  }

  html[data-theme="dark"] *,
  html[data-theme="dark"] *::before,
  html[data-theme="dark"] *::after,
  [data-theme="dark"] *,
  [data-theme="dark"] *::before,
  [data-theme="dark"] *::after {
    cursor: var(--lavita-cursor-default-dark) !important;
  }

  html[data-theme="dark"] a,
  html[data-theme="dark"] button,
  html[data-theme="dark"] label,
  html[data-theme="dark"] select,
  html[data-theme="dark"] summary,
  html[data-theme="dark"] [role="button"],
  html[data-theme="dark"] [role="tab"],
  html[data-theme="dark"] [role="link"],
  html[data-theme="dark"] [tabindex]:not([tabindex="-1"]),
  html[data-theme="dark"] .product-card,
  html[data-theme="dark"] .btn,
  html[data-theme="dark"] .btn-luxury,
  html[data-theme="dark"] .filter-btn,
  html[data-theme="dark"] .theme-icon-toggle,
  html[data-theme="dark"] .hamburger-btn,
  html[data-theme="dark"] .modal-close,
  html[data-theme="dark"] .portal-tab-btn,
  html[data-theme="dark"] .drawer-visual-item,
  [data-theme="dark"] a,
  [data-theme="dark"] button,
  [data-theme="dark"] label,
  [data-theme="dark"] select,
  [data-theme="dark"] summary,
  [data-theme="dark"] [role="button"],
  [data-theme="dark"] [role="tab"],
  [data-theme="dark"] [role="link"],
  [data-theme="dark"] [tabindex]:not([tabindex="-1"]),
  [data-theme="dark"] .product-card,
  [data-theme="dark"] .btn,
  [data-theme="dark"] .btn-luxury,
  [data-theme="dark"] .filter-btn,
  [data-theme="dark"] .theme-icon-toggle,
  [data-theme="dark"] .hamburger-btn,
  [data-theme="dark"] .modal-close,
  [data-theme="dark"] .portal-tab-btn,
  [data-theme="dark"] .drawer-visual-item {
    cursor: var(--lavita-cursor-pointer-dark) !important;
  }

  html[data-theme="dark"] input[type="text"],
  html[data-theme="dark"] input[type="search"],
  html[data-theme="dark"] input[type="email"],
  html[data-theme="dark"] input[type="tel"],
  html[data-theme="dark"] input[type="password"],
  html[data-theme="dark"] input[type="number"],
  html[data-theme="dark"] textarea,
  html[data-theme="dark"] [contenteditable="true"],
  [data-theme="dark"] input[type="text"],
  [data-theme="dark"] input[type="search"],
  [data-theme="dark"] input[type="email"],
  [data-theme="dark"] input[type="tel"],
  [data-theme="dark"] input[type="password"],
  [data-theme="dark"] input[type="number"],
  [data-theme="dark"] textarea,
  [data-theme="dark"] [contenteditable="true"] {
    cursor: text !important;
    caret-color: #f6e2b0;
  }

  html[data-theme="dark"] :disabled,
  html[data-theme="dark"] [disabled],
  [data-theme="dark"] :disabled,
  [data-theme="dark"] [disabled] {
    cursor: not-allowed !important;
  }
}

/* Phone + Bluetooth mouse / S Pen */
@media (any-pointer: fine) {
  html[data-theme="dark"] *,
  [data-theme="dark"] * {
    cursor: var(--lavita-cursor-default-dark) !important;
  }

  html[data-theme="dark"] a,
  html[data-theme="dark"] button,
  html[data-theme="dark"] .product-card,
  html[data-theme="dark"] .btn,
  html[data-theme="dark"] .hamburger-btn,
  html[data-theme="dark"] .theme-icon-toggle,
  [data-theme="dark"] a,
  [data-theme="dark"] button,
  [data-theme="dark"] .product-card,
  [data-theme="dark"] .btn,
  [data-theme="dark"] .hamburger-btn,
  [data-theme="dark"] .theme-icon-toggle {
    cursor: var(--lavita-cursor-pointer-dark) !important;
  }

  html[data-theme="dark"] input,
  html[data-theme="dark"] textarea,
  [data-theme="dark"] input,
  [data-theme="dark"] textarea {
    cursor: text !important;
    caret-color: #f6e2b0;
  }
}
