/* Return To Sauce — Shared Styles
   Used across skins that opt into the chrome system.
   Individual skins should override heavily for their own aesthetic.
*/

:root {
  --rts-accent: #c5a26f;
  --rts-text: #e8e0d0;
  --rts-bg: #0a0a12;
}

.rts-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(197, 162, 111, 0.15);
  font-size: 0.95rem;
}

.rts-brand {
  font-weight: 600;
  color: var(--rts-accent);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.rts-nav-link {
  color: var(--rts-text);
  text-decoration: none;
  margin-left: 1.25rem;
  opacity: 0.8;
}

.rts-nav-link:hover {
  opacity: 1;
}

.rts-nav-cart-btn {
  background: transparent;
  border: 1px solid var(--rts-accent);
  color: var(--rts-accent);
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  margin-left: 1.5rem;
}

.rts-skin-switcher {
  position: relative;
  display: inline-block;
}

.rts-switcher-toggle {
  background: transparent;
  border: 1px solid rgba(197, 162, 111, 0.4);
  color: var(--rts-accent);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rts-switcher-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #111;
  border: 1px solid var(--rts-accent);
  min-width: 220px;
  z-index: 200;
  padding: 0.5rem 0;
}

.rts-switcher-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  color: var(--rts-text);
  cursor: pointer;
  font-size: 0.95rem;
}

.rts-switcher-option:hover {
  background: #1a1625;
}

.rts-switcher-option.active {
  color: var(--rts-accent);
  font-weight: 600;
}

.rts-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--rts-accent);
}

.rts-btn-primary {
  background: var(--rts-accent);
  color: #0a0a12;
  border-color: var(--rts-accent);
}

.rts-footer {
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
  border-top: 1px solid rgba(197, 162, 111, 0.1);
}

/* Cart drawer (very basic styles for now) */
.rts-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 92vw;
  background: #111;
  border-left: 1px solid var(--rts-accent);
  z-index: 300;
  padding: 1.5rem;
  overflow-y: auto;
}

.rts-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.rts-cart-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--rts-accent);
  cursor: pointer;
}
