:root {
  --ink: #121925;
  --paper: #f4f5ff;
  --ice: #a6edff;
  --violet: #5133ad;
  --muted: #575c65;
  font-family: Inter, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #825af4; outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - clamp(36px, 11vw, 144px))); margin-inline: auto; }
header { background: #10132a; color: #fff; border-bottom: 1px solid #ffffff26; }
.topbar, .brand, nav, .language { display: flex; align-items: center; }
.topbar { min-height: 78px; gap: 24px; justify-content: space-between; }
.brand { text-decoration: none; color: inherit; gap: 15px; letter-spacing: .10em; font-size: .85rem; font-weight: 750; }
.brand b { color: var(--ice); }
.brand small { display: block; margin-top: 3px; font-size: .75rem; letter-spacing: .18em; color: #c5c4cb; }
.emblem { width: 38px; height: 38px; flex: 0 0 38px; }
nav { gap: clamp(20px, 4vw, 56px); }
nav a { color: white; text-decoration: none; padding-block: 12px; }
nav a:hover { color: var(--ice); }
.language { border: 1px solid #ffffff38; padding: 3px; gap: 3px; }
.language button { min-width: 42px; min-height: 38px; padding-inline: 7px; border: 0; color: white; background: transparent; font: inherit; font-size: .875rem; cursor: pointer; }
.language button[aria-pressed="true"] { background: var(--ice); color: var(--ink); font-weight: 750; }
.hero { display: grid; align-items: center; background: #171d27; color: white; min-height: clamp(510px, 68svh, 720px); position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #111722 4%, #111722eb 28%, #11172279 60%, #11172218), url("images/rhinestones.webp") 67% center / cover no-repeat; }
.hero-body { padding-block: 68px 76px; }
.eyebrow, .category { color: var(--ice); font-size: .875rem; font-weight: 750; letter-spacing: .15em; margin: 0; }
h1, h2, h3 { font-family: Georgia, "Songti SC", serif; font-weight: 400; }
h1 { margin: 21px 0; font-size: clamp(3.3rem, 8.1vw, 7.8rem); line-height: .96; letter-spacing: -.056em; }
h1 em { color: var(--ice); font-weight: inherit; }
.hero-copy { margin: 0 0 29px; max-width: 32rem; color: #e1e1e6; font-size: 1.08rem; line-height: 1.55; }
.cta { display: inline-flex; align-items: center; min-height: 50px; padding: 12px 23px; background: var(--ice); color: var(--ink); text-decoration: none; font-weight: 750; }
.cta:hover { background: #d2f6ff; }
.catalog { padding-block: clamp(54px, 7vw, 98px); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 25px; margin-bottom: 28px; }
h2 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.35rem); line-height: 1.05; letter-spacing: -.05em; }
.section-heading p { margin: 0; color: var(--muted); font-size: .875rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.product { background: #ffffff; border: 1px solid #dfdcfa; }
.product img { display: block; width: 100%; height: auto; aspect-ratio: 1.64; object-fit: cover; background: #1b2029; }
.product-body { padding: 22px clamp(16px, 2vw, 27px) 27px; }
.category { color: var(--violet); }
h3 { margin: 10px 0; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.07; letter-spacing: -.035em; }
.product-body > p:last-child { color: var(--muted); line-height: 1.52; margin: 0; }
.contact { background: #24224a; color: white; padding-block: clamp(49px, 6vw, 80px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.contact h2 { margin-top: 11px; }
.address-block { border-left: 1px solid var(--ice); padding: 8px 0 8px 23px; }
.company { margin: 0 0 10px; font-weight: 750; }
address { font-style: normal; line-height: 1.5; }
.secondary-address { color: #d3d5da; margin: 7px 0 0; font-size: .875rem; }
footer { background: #10132a; color: #d4d5db; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 25px; font-size: .875rem; }
@media (max-width: 740px) {
  .topbar { min-height: 70px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero::before { background-position: 60% center; }
}
@media (max-width: 380px) {
  .topbar { gap: 12px; }
  .brand { letter-spacing: .04em; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Catalog styling */
.hero::before {
  background:
    radial-gradient(ellipse at 43% 100%, #6145d261, transparent 55%),
    linear-gradient(90deg, #11152efb 3%, #121631ed 26%, #141b47a0 53%, #161b510d 92%),
    url("images/rhinestones.webp") 67% center / cover no-repeat;
}
.hero { border-bottom: 4px solid #8b74ed; }
.hero h1 { font-family: Inter, system-ui, "Microsoft YaHei", sans-serif; font-weight: 780; letter-spacing: -.07em; }
.hero h1 em { font-style: normal; color: #b4bbff; }
.cta { border-radius: .55rem; }
.language, .language button { border-radius: .45rem; }
.product {
  overflow: hidden;
  border-radius: 1.125rem;
  box-shadow: 0 11px 25px #40379412;
  border-bottom: 3px solid #9a89ec;
}
.product:nth-child(2) { border-bottom-color: #65bce9; }
.product:nth-child(3) { border-bottom-color: #7061d7; }
.product h3, .section-heading h2, .contact h2 {
  font-family: Inter, system-ui, "Microsoft YaHei", sans-serif;
  font-weight: 730;
}
.contact { background: linear-gradient(120deg, #161d36, #332565 100%); }

.category-nav {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.category-nav a {
  color: var(--violet);
  background: #fff;
  border: 1px solid #dfdcfa;
  border-radius: .55rem;
  padding: 10px 15px;
  font-size: .875rem;
  font-weight: 750;
}
.category-nav a:hover { color: var(--ink); background: var(--ice); }
.product-group {
  border-top: 1px solid #dfdcfa;
  padding-top: clamp(24px, 4vw, 48px);
  margin-top: clamp(28px, 5vw, 60px);
  scroll-margin-top: 20px;
}
.product-group .section-heading { margin-bottom: 20px; }
.product-group h3 {
  margin: 0;
  font: 750 clamp(1.35rem, 3vw, 2.35rem) / 1.15 Inter, system-ui, sans-serif;
}
.product img { background: #ecebf4; object-position: center 58%; }
#hot-paper img, #accessories img { object-fit: contain; }
.product img[src="images/boat-shoes.webp"] { object-position: center 77%; }
.product h4 { margin: 0; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.about { padding-block: clamp(44px, 7vw, 82px); background: #e9e7ff; }
.about p { margin: 0; line-height: 1.65; }
.footer-inner a { color: var(--ice); }
@media (max-width: 740px) {
  .topbar { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 12px; }
  .topbar nav { display: flex; flex-wrap: wrap; grid-column: 1 / -1; grid-row: 2; }
  .language { grid-column: 2; grid-row: 1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-body { padding: 13px 12px; }
}

#rhinestone-designs img, #decorative-foils img { object-fit: contain; }

.about .contact-grid { align-items: start; }
.about .eyebrow { color: var(--violet); margin-bottom: 11px; }
.about-copy { display: grid; gap: 16px; }
.buying-guide { padding-block: clamp(45px, 7vw, 86px); }
.buying-guide-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 5vw, 68px); align-items: start; }
.buying-guide .cta { margin-top: 20px; }
.buying-questions { display: grid; gap: 10px; }
.buying-questions details { background: #fff; border: 1px solid #dfdcfa; border-radius: .8rem; }
.buying-questions summary { padding: 15px 18px; font-weight: 700; cursor: pointer; }
.buying-questions details p { color: var(--muted); padding: 0 18px 18px; margin: 0; line-height: 1.6; }
@media (max-width: 740px) {
  .buying-guide-layout { grid-template-columns: 1fr; }
}

.contact-bar { background: #202743; border-bottom: 1px solid #ffffff20; }
.contact-bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; padding-block: 6px; }
.contact-bar a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: #ecf0fb; font-size: .875rem; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.contact-bar a:hover { color: var(--ice); text-decoration: underline; }
.contact-bar svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--ice); }
.emblem { width: 50px; height: 50px; flex-basis: 50px; border-radius: 9px; }
.topbar nav { gap: 4px clamp(12px, 2.2vw, 32px); }
.topbar nav a { white-space: nowrap; }
@media (max-width: 930px) {
  .topbar { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 12px; }
  .topbar nav { display: flex; flex-wrap: wrap; grid-column: 1 / -1; grid-row: 2; }
  .language { grid-column: 2; grid-row: 1; }
}
.footer-email { display: inline-flex; align-items: center; gap: 7px; overflow-wrap: anywhere; }
.footer-email svg { width: 17px; height: 17px; flex: 0 0 17px; }

.site-footer { background: #10132a; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) minmax(0, 1.05fr);
  gap: 32px clamp(22px, 4vw, 58px);
  padding-block: clamp(36px, 5vw, 66px);
}
.footer-identity p { max-width: 28ch; margin: 16px 0 0; line-height: 1.6; }
.footer-grid h2 { margin: 4px 0 15px; color: white; font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links a, .footer-contact a, .footer-base a { color: #d4d5db; text-decoration: none; font-size: .875rem; line-height: 1.55; }
.footer-links a:hover, .footer-contact a:hover, .footer-base a:hover { color: var(--ice); text-decoration: underline; }
.footer-contact a { display: inline-flex; align-items: flex-start; gap: 9px; overflow-wrap: anywhere; }
.footer-contact svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; color: var(--ice); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 17px; border-top: 1px solid #ffffff25; }
.footer-base small { font-size: .875rem; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .footer-identity { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
