/*
 * Makerique Boutique theme for OpenCart 4
 * Copyright (c) 2026 Heliopsy. All Rights Reserved.
 * https://makerique.com
 * SPDX-License-Identifier: LicenseRef-Proprietary
 * Proprietary and confidential. Unauthorized copying, distribution, or
 * modification of this file, by any means, is strictly prohibited.
 */

/* =========================================================================
   Makerique Boutique : product-page social share buttons
   Styled off the theme tokens (--mr-*); no per-network brand colours so the
   row stays on-brand. Circular icon buttons that lift on hover.
   ========================================================================= */

.mr-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.mr-share__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mr-muted-foreground, #6b625b);
  margin-inline-end: 0.15rem;
}

.mr-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--mr-border, rgba(0, 0, 0, 0.12));
  background: var(--mr-card, #fff);
  color: var(--mr-foreground, #1c1917);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.mr-share__btn:hover,
.mr-share__btn:focus-visible {
  background: var(--mr-primary, #9e5842);
  border-color: var(--mr-primary, #9e5842);
  color: var(--mr-primary-foreground, #fff);
  transform: translateY(-2px);
  outline: none;
}

/* Copy-link feedback: a brief success tint after the URL is copied. */
.mr-share__btn--copy.is-copied {
  background: var(--mr-success, #396843);
  border-color: var(--mr-success, #396843);
  color: #fff;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .mr-share__btn {
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .mr-share__btn:hover,
  .mr-share__btn:focus-visible {
    transform: none;
  }
}
