@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --font-main: "Manrope", "Outfit", "Segoe UI", sans-serif;
  --font-title: "Cormorant Garamond", "Times New Roman", serif;
  --primary: #240440;
  --accent: #3a0a66;
  --btn-wave-dark: #220440;
  --btn-wave-light: #ebe2f1;
  --btn-market-ring: rgba(58, 10, 102, 0.28);
  --btn-market-line-dark: rgba(36, 4, 64, 0.13);
  --btn-market-line-light: rgba(255, 255, 255, 0.22);
  --bg: #fbfafc;
  --text: #0f172a;
  --text-muted: #5b6476;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 24px 60px rgba(36, 4, 64, 0.12);
  --shadow-soft: 0 12px 30px rgba(36, 4, 64, 0.1);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --announce-height: 0px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at 10% 20%, rgba(58, 10, 102, 0.08), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(36, 4, 64, 0.12), transparent 45%), var(--bg);
  color: var(--text);
  line-height: 1.7;
}

p,
small,
li,
label,
a,
span {
  font-family: var(--font-main);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
}

h4,
h5,
h6 {
  font-family: var(--font-title);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.page-content {
  position: relative;
  z-index: 1;
  background: var(--bg);
  width: 100%;
  overflow-x: hidden;
}

body.header-fixed .page-content {
  padding-top: var(--header-height);
}

.icon-button {
  --icon-button-bg: #ffffff;
  --icon-button-bg-hover: rgba(36, 4, 64, 0.08);
  --icon-button-border: transparent;
  --icon-button-border-hover: var(--border);
  --icon-button-color: var(--text);
  --icon-button-color-hover: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-button-color);
  border: 1px solid var(--icon-button-border);
  background: var(--icon-button-bg);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--icon-button-border-hover);
  background: var(--icon-button-bg-hover);
  color: var(--icon-button-color-hover);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.text-button {
  font-weight: 600;
  color: var(--text);
}

.primary-button,
.outline-button {
  --btn-bg: var(--button-bg, var(--btn-wave-dark));
  --btn-bg-hover: var(--button-bg-hover, var(--accent));
  --btn-text: #ffffff;
  --btn-border: var(--btn-bg);
  font-family: var(--font-main);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease,
    color 0.2s ease;
  text-decoration: none;
}

.primary-button:hover,
.outline-button:hover,
.primary-button:focus-visible,
.outline-button:focus-visible {
  transform: translateY(-1px);
  text-decoration: none;
}

.primary-button:focus-visible,
.outline-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--btn-market-ring);
}

.primary-button:active,
.outline-button:active {
  transform: translateY(0);
}

.primary-button {
  --btn-bg: var(--button-bg, var(--btn-wave-dark));
  --btn-bg-hover: var(--button-bg-hover, var(--accent));
  --btn-text: #ffffff;
  --btn-border: var(--btn-bg);
  box-shadow: var(--shadow-soft);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
  box-shadow: 0 18px 35px rgba(36, 4, 64, 0.18);
}

.outline-button {
  --btn-bg: #ffffff;
  --btn-bg-hover: rgba(36, 4, 64, 0.08);
  --btn-text: var(--btn-wave-dark);
  --btn-border: var(--btn-wave-dark);
}

.outline-button:hover,
.outline-button:focus-visible {
  background: var(--btn-bg-hover);
  color: var(--btn-wave-dark);
}

.icon-button:hover,
.icon-button:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  text-decoration: none;
}

/* Shared circular "View" control for product card hover overlays */
.hover-view-button {
  --hover-view-size: clamp(70px, 7vw, 86px);
  width: var(--hover-view-size);
  height: var(--hover-view-size);
  min-width: var(--hover-view-size);
  min-height: var(--hover-view-size);
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: clamp(0.76rem, 0.95vw, 0.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.hover-view-button > span {
  line-height: 1;
}

.hover-view-button svg,
.hover-view-button [class*="icon"] {
  display: none !important;
}

@media (max-width: 1200px) {
  html,
  body,
  body > * {
    max-width: 100%;
  }

  .container {
    width: 100%;
    padding-left: clamp(12px, 2.4vw, 22px);
    padding-right: clamp(12px, 2.4vw, 22px);
  }

  html,
  body {
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  * {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  *::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
