@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
  --font-body: "Anonymous Pro", monospace;
  --color-bg1: rgb(248, 221, 255);
  --gradient-bg1: radial-gradient(rgba(245, 211, 253, 1), rgba(219, 204, 223, 1) 100%);
  --color-bg2: rgb(208, 113, 232);
  --color-accent1-bg: rgb(18, 18, 18);
  --color-accent1-fg: rgb(255, 255, 255);
  --color-fg: rgb(0, 0, 0);
  --color-muted: rgba(0, 0, 0, 0.55);
  --color-border: rgba(0, 0, 0, 0.1);
  --page-width: 1600px;
  --spacing-section: 20px;
}

html { font-size: 62.5%; }
body {
  font-family: var(--font-body);
  font-size: calc(1.5rem * 1.05);
  background: var(--gradient-bg1);
  color: var(--color-fg);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #000; color: #fff; padding: 8px 16px; z-index: 999;
}
.skip-link:focus { left: 0; }

/* announcement bar */
.announcement-bar {
  background: var(--color-accent1-bg);
  color: var(--color-accent1-fg);
  text-align: center;
  padding: 10px 20px;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--gradient-bg1);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--color-fg); }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 44px; width: auto; }
.site-nav { flex: 1; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 8px 12px;
  font-size: 1.2rem; letter-spacing: 0.1em; font-weight: 700;
  text-transform: uppercase; color: var(--color-fg); white-space: nowrap;
}
.nav-link:hover { text-decoration: underline; }
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--gradient-bg1); border: 1px solid var(--color-border);
  min-width: 160px; z-index: 200; padding: 8px 0;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 8px 16px;
  font-size: 1.2rem; letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase;
}
.nav-dropdown a:hover { background: rgba(0,0,0,0.06); text-decoration: none; }
.header-icons { display: flex; align-items: center; gap: 12px; }
.header-icon-btn { display: flex; align-items: center; padding: 6px; color: var(--color-fg); }
.header-icon-btn svg { width: 20px; height: 20px; }
.lang-selector {
  font-size: 1.2rem; font-family: inherit; font-weight: 700;
  background: none; border: none; cursor: pointer; padding: 4px 6px; letter-spacing: 0.1em;
}

/* mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: var(--gradient-bg1); overflow-y: auto; padding: 20px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-close { font-size: 2.4rem; line-height: 1; background: none; border: none; cursor: pointer; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  display: block; padding: 12px 0;
  font-size: 1.6rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; border-bottom: 1px solid var(--color-border);
}
.mobile-subnav { display: flex; flex-direction: column; padding: 4px 0 4px 20px; gap: 2px; }
.mobile-subnav a {
  display: block; padding: 8px 0;
  font-size: 1.4rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-muted);
}
.mobile-sub-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; cursor: pointer; }
.mobile-sub-toggle svg { width: 16px; height: 16px; transition: transform 0.2s; }
.mobile-sub-toggle.open svg { transform: rotate(180deg); }

/* hero */
.hero { position: relative; overflow: hidden; line-height: 0; }
.hero img { width: 100%; height: auto; display: block; max-height: 600px; object-fit: cover; }

/* section */
.section { padding: var(--spacing-section) 0; }
.page-width { max-width: var(--page-width); margin: 0 auto; padding: 0 20px; }

/* product grid */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.product-card { position: relative; }
.product-card__image-wrap {
  position: relative; overflow: hidden; border-radius: 2px;
  background: rgba(255,255,255,0.4); aspect-ratio: 1 / 1;
  border: 1px solid var(--color-border);
}
.product-card__image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.04); }
.product-card__info { padding: 10px 4px; }
.product-card__title { font-size: 1.2rem; font-weight: 400; line-height: 1.4; margin-bottom: 6px; }
.product-card__price { font-size: 1.2rem; color: var(--color-muted); }
.product-card__btn {
  margin-top: 8px; width: 100%; padding: 10px;
  background: var(--color-fg); color: #fff;
  font-family: inherit; font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; border: none; border-radius: 2px; transition: opacity 0.2s;
}
.product-card__btn:hover { opacity: 0.8; }

/* footer */
.site-footer {
  background: var(--gradient-bg1);
  border-top: 1px solid var(--color-border);
  padding: 30px 20px;
}
.footer-inner {
  max-width: var(--page-width); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a { display: flex; align-items: center; color: var(--color-fg); opacity: 0.75; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 22px; height: 22px; }
.footer-bottom { font-size: 1.1rem; color: var(--color-muted); text-align: center; }

/* responsive */
@media (max-width: 1199px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 989px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { justify-content: space-between; }
  .site-logo { flex: 1; justify-content: center; }
}
@media (max-width: 749px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .hero img { max-height: 300px; }
}
